/* リシャール共通UI
 * data-rf：申込 / data-mp：マイページ / data-cq：問い合わせ
 * :where()で適用先を限定し、元のCSSの優先度を保つ。
 * 共通の文字・主要ボタンは末尾で調整。
 */

/* 申込フォーム */
@font-face {
  font-family: HandNote;
  src: url("../fonts/form-renewal/Yomogi-Regular.ttf") format("truetype");
  font-display: swap;
}

:where([data-rf]) body {
  margin: 0px;
  font: 16px / 1.65 "Zen Maru Gothic", sans-serif;
}

:where([data-rf]) button,
:where([data-rf]) input,
:where([data-rf]) select {
  font: inherit;
}

:where([data-rf]) button {
  cursor: pointer;
}

:where([data-rf]) a {
  color: inherit;
  text-decoration: none;
}

:where([data-rf]) .head {
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

:where([data-rf]) .logo {
  height: auto;
}

:where([data-rf]) nav {
  display: flex;
}

:where([data-rf]) main {
  margin: auto;
}

:where([data-rf]) .button {
  border: 0px;
  font-weight: 700;
  padding: 13px 24px;
  font-size: 15px;
}

:where([data-rf]) input,
:where([data-rf]) select {
  border: 1px solid rgb(217, 209, 198);
  border-radius: 8px;
  padding: 12px 13px;
  min-width: 0px;
  width: 100%;
  height: 48px;
}

:where([data-rf]) input::placeholder {
  font-size: 14px;
}

:where([data-rf]) .item {
  border: 1px solid rgb(229, 220, 209);
  border-radius: 12px;
  padding: 16px;
}

@media (max-width: 650px) {
  :where([data-rf]) body {
    font-size: 15px;
  }

  :where([data-rf]) nav {
    display: none;
  }
}

:where([data-rf]) body {
  color: rgb(75, 57, 45);
}

:where([data-rf]) header {
  border-top-color: rgb(69, 204, 90);
  border-bottom-color: rgb(228, 237, 204);
}

:where([data-rf]) nav a {
  color: rgb(75, 57, 45);
}

:where([data-rf]) input,
:where([data-rf]) select {
  color: rgb(75, 57, 45);
  border-color: rgb(211, 196, 163);
}

:where([data-rf]) input::placeholder {
  color: rgb(149, 137, 119);
}

:where([data-rf]) body.rf-completion {
  --bg: #ffffff !important;
}

:where([data-rf]) header,
:where([data-rf]) input,
:where([data-rf]) select {
  background: rgb(255, 255, 255);
}

:where([data-rf]) .head {
  height: 62px;
}

:where([data-rf]) .logo {
  width: 122px;
}

:where([data-rf]) nav {
  font-size: 12px;
  gap: 23px;
}

@media (max-width: 650px) {
  :where([data-rf]) .head {
    height: 55px;
  }

  :where([data-rf]) .logo {
    width: 106px;
  }

  :where([data-rf]) .item {
    padding: 14px;
  }
}

:where([data-rf]) .button {
  background: rgb(69, 204, 90);
  color: rgb(75, 57, 45);
  border-radius: 24px;
}

:where([data-rf]) .item {
  background: rgb(255, 255, 255);
  border-color: rgb(200, 214, 156);
}

:where([data-rf]) main,
:where([data-rf]) .head {
  max-width: 1000px;
  padding: 0px 26px;
}

:where([data-rf]) .rf-completion .button {
  border-radius: 26px;
  min-height: 46px;
}

:where([data-rf]) .button {
  transition: opacity 0.3s;
  background-color: initial;
  opacity: 1;
}

:where([data-rf]) .rf-completion .button {
  background: var(--accent);
}

:where([data-rf]) .button:focus-visible {
  outline: rgb(75, 57, 45) solid 2px;
  outline-offset: 4px;
}

:where([data-rf]) input:focus,
:where([data-rf]) select:focus {
  outline: rgb(69, 204, 90) solid 2px;
  outline-offset: 1px;
}

:where([data-rf]) nav a {
  cursor: default;
}

@media (hover: hover) and (pointer: fine) {
  :where([data-rf]) .button:hover {
    opacity: 0.5;
  }

  :where([data-rf]) a[href]:hover {
    opacity: 0.5;
    transition: opacity 0.3s;
  }
}

@media (max-width: 650px) {
  :where([data-rf]) main,
  :where([data-rf]) .head {
    padding: 0px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :where([data-rf]) .button,
  :where([data-rf]) a[href] {
    transition: none;
  }
}

/* 完了画面・発送案内 */
:where([data-rf]) .receipt {
  padding: 15px 20px;
  background: var(--tint);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 16px 0px;
}

:where([data-rf]) .receipt span {
  font-size: 13px;
}

:where([data-rf]) .receipt strong {
  font-size: 24px;
  letter-spacing: 0.05em;
}

:where([data-rf]) .prep-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

:where([data-rf]) .prep-card {
  border: 1px solid rgb(221, 212, 198);
  border-radius: 12px;
  padding: 22px;
  min-width: 0px;
}

:where([data-rf]) .prep-card h3 {
  padding-bottom: 12px;
  border-bottom: 1px solid rgb(228, 222, 206);
}

:where([data-rf]) .rf-completion .rf-print-button {
  display: inline-block;
  text-align: center;
  margin: 10px 0px;
  min-width: 200px;
  padding: 13px 24px;
  border: 0px;
  border-radius: 24px;
  background: var(--accent);
  color: rgb(255, 255, 255);
  font-size: 18px;
  font-weight: 500;
}

@media (max-width: 650px) {
  :where([data-rf]) .rf-completion .rf-print-button {
    display: block;
    min-width: 0px;
    width: 100%;
  }
}

:where([data-rf]) .rf-print-button .rf-print-icon {
  width: 22px;
  height: 22px;
  margin-right: 8px;
  vertical-align: -0.25em;
}

:where([data-rf]) .hand-note {
  border: 1px solid rgb(221, 212, 198);
}

:where([data-rf]) .dispatch-address {
  border-radius: 10px;
}

:where([data-rf]) .label-example {
  border: 1px dashed rgb(181, 168, 143);
  border-radius: 9px;
  padding: 14px 18px;
  margin-top: 17px;
}

:where([data-rf]) .label-example p {
  font-size: 13px;
}

:where([data-rf]) .label-example strong {
  font-size: 17px;
}

:where([data-rf]) .after-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

:where([data-rf]) .signature {
  min-height: 100px;
  align-items: stretch;
}

:where([data-rf]) .signature > * {
  padding: 18px 12px;
  margin: 0px;
  display: flex;
  align-items: center;
}

:where([data-rf]) .signature > b {
  border-right: 1px solid rgb(136, 136, 136);
}

:where([data-rf]) .signature .seal {
  align-self: stretch;
  align-items: center;
  justify-content: center;
}

@media (max-width: 650px) {
  :where([data-rf]) .receipt {
    display: block;
    padding: 14px 16px;
  }

  :where([data-rf]) .receipt span {
    display: block;
    font-size: 12px;
    margin-bottom: 2px;
  }

  :where([data-rf]) .receipt strong {
    font-size: 23px;
  }

  :where([data-rf]) .prep-grid,
  :where([data-rf]) .after-grid {
    gap: 16px;
  }

  :where([data-rf]) .signature {
    grid-template-columns: 60px 1fr 45px;
    min-height: 90px;
    font-size: 12px;
  }

  :where([data-rf]) .signature > * {
    padding: 14px 8px;
  }
}

@media print {
  html:where([data-rf]),
  :where([data-rf]) body {
    background: white;
    color: rgb(17, 17, 17);
    font-size: 10pt;
  }

  :where([data-rf]) header {
    display: none !important;
  }

  :where([data-rf]) .signature {
    min-height: 92px;
  }
}

:where([data-rf]) body {
  background: rgb(255, 255, 255);
}

:where([data-rf]) .variant-title {
  margin: 22px 0px 5px;
  font-size: 26px;
  line-height: 1.45;
  display: inline-block;
  border-bottom: 3px solid var(--accent);
  padding-bottom: 4px;
}

:where([data-rf]) .variant-sub {
  font-size: 13px;
  margin: 6px 0px 24px;
}

:where([data-rf]) .dispatch-title {
  font-size: 24px;
  margin: 34px 0px 9px;
}

:where([data-rf]) .complete-success {
  border: 1px solid rgb(200, 214, 156);
  border-radius: 16px;
  padding: 26px 28px;
  margin: 18px 0px 24px;
}

:where([data-rf]) .success-top {
  display: flex;
  gap: 18px;
  align-items: center;
}

:where([data-rf]) .complete-success h2 {
  font-size: 22px;
  margin: 0px 0px 7px;
  line-height: 1.5;
}

:where([data-rf]) .complete-success p {
  font-size: 14px;
  margin: 9px 0px;
  line-height: 1.9;
}

:where([data-rf]) .complete-success .receipt {
  margin: 18px 0px 14px;
}

:where([data-rf]) .step-body {
  font-size: 14px;
  line-height: 1.9;
}

:where([data-rf]) .step-body p {
  margin: 9px 0px;
  font-size: 14px;
}

:where([data-rf]) .step-body h4 {
  font-size: 16px;
  margin: 18px 0px 10px;
}

:where([data-rf]) .step-body .prep-grid {
  margin-top: 0px;
}

:where([data-rf]) .prep-card .intro {
  font-size: 12px;
  color: rgb(117, 99, 79);
}

:where([data-rf]) .carrier-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 21px 0px;
}

:where([data-rf]) .carrier {
  padding: 20px;
  border: 1px solid rgb(222, 215, 201);
  border-radius: 10px;
  min-width: 0px;
}

:where([data-rf]) .carrier h4 {
  margin: 0px 0px 13px;
}

:where([data-rf]) .carrier .small {
  font-size: 12px;
  margin: 5px 0px;
}

:where([data-rf]) .carrier .phone {
  font-size: 22px;
  letter-spacing: 0.02em;
  margin: 3px 0px 9px;
}

:where([data-rf]) .carrier .phone a {
  color: rgb(75, 57, 45);
}

:where([data-rf]) .carrier .source-link {
  display: inline-block;
  margin: 10px 0px 0px;
  font-size: 13px;
  text-decoration: underline;
}

:where([data-rf]) .numbering {
  border-left: 3px solid var(--accent);
  padding: 10px 16px;
  margin: 15px 0px 20px;
  background: var(--tint);
  border-radius: 0px 8px 8px 0px;
}

:where([data-rf]) .numbering h4 {
  margin: 0px 0px 7px;
  font-size: 15px;
}

:where([data-rf]) .numbering p {
  font-size: 13px;
  margin: 5px 0px;
}

:where([data-rf]) .after-grid h4 {
  margin-top: 0px;
}

:where([data-rf]) .document-review {
  border: 1px solid rgb(214, 206, 191);
  border-radius: 12px;
  margin: 25px 0px;
  padding: 0px 20px;
  scroll-margin-top: 20px;
}

:where([data-rf]) .document-review > summary {
  padding: 18px 0px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
}

:where([data-rf]) .home-row {
  text-align: center;
  margin: 25px 0px 12px;
}

:where([data-rf]) .home-button {
  display: inline-block;
  border: 1px solid rgb(222, 215, 202);
  border-radius: 23px;
  padding: 10px 28px;
  font-size: 14px;
  transition: opacity 0.3s;
}

:where([data-rf]) .home-button:hover {
  opacity: 0.65;
}

:where([data-rf]) .flow-nav {
  display: none;
}

:where([data-rf]) .flow-fold {
  border: 1px solid rgb(200, 214, 156);
  border-radius: 12px;
  margin-bottom: 15px;
  scroll-margin-top: 20px;
}

:where([data-rf]) .flow-fold > summary {
  list-style: none;
  padding: 17px 22px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}

:where([data-rf]) .flow-fold > summary::-webkit-details-marker {
  display: none;
}

:where([data-rf]) .flow-fold > summary::after {
  content: "＋";
  margin-left: auto;
  font-size: 21px;
  font-weight: 400;
  color: rgb(117, 99, 79);
}

:where([data-rf]) .flow-fold[open] > summary::after {
  content: "−";
}

:where([data-rf]) .flow-fold .step-body {
  padding: 0px 22px 22px;
}

:where([data-rf]) .rf-completion .complete-success {
  padding: 20px 25px;
}

:where([data-rf]) .rf-completion .success-top {
  justify-content: space-between;
  gap: 20px;
}

:where([data-rf]) .rf-completion .receipt {
  margin: 0px;
  background: var(--tint);
  padding: 12px 18px;
  min-width: 255px;
}

:where([data-rf]) .rf-completion .receipt span {
  display: block;
}

:where([data-rf]) .rf-completion .receipt strong {
  font-size: 22px;
}

:where([data-rf]) .rf-completion .complete-success h2 {
  font-size: 21px;
}

:where([data-rf]) .rf-completion .flow-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 22px 0px;
}

:where([data-rf]) .flow-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  padding: 11px 12px;
  border: 1px solid rgb(216, 210, 198);
  background: rgb(255, 255, 255);
  border-radius: 10px;
  font-size: 13px;
}

:where([data-rf]) .rf-completion .dispatch-title {
  margin-top: 28px;
}

:where([data-rf]) .rf-completion .prep-card {
  padding: 18px;
}

@media (max-width: 650px) {
  :where([data-rf]) .variant-title {
    font-size: 24px;
    margin-top: 18px;
  }

  :where([data-rf]) .variant-sub {
    font-size: 12px;
    margin-bottom: 17px;
  }

  :where([data-rf]) .complete-success {
    padding: 20px 17px;
  }

  :where([data-rf]) .complete-success h2 {
    font-size: 20px;
  }

  :where([data-rf]) .success-top {
    gap: 12px;
  }

  :where([data-rf]) .complete-success p {
    font-size: 13px;
  }

  :where([data-rf]) .complete-success .receipt {
    padding: 13px 15px;
  }

  :where([data-rf]) .dispatch-title {
    font-size: 22px;
    margin-top: 29px;
  }

  :where([data-rf]) .step-body {
    font-size: 14px;
  }

  :where([data-rf]) .prep-grid,
  :where([data-rf]) .carrier-list,
  :where([data-rf]) .after-grid {
    grid-template-columns: 1fr;
  }

  :where([data-rf]) .prep-card {
    padding: 17px 14px;
  }

  :where([data-rf]) .carrier {
    padding: 18px 15px;
  }

  :where([data-rf]) .carrier h4 {
    font-size: 16px;
  }

  :where([data-rf]) .carrier .phone {
    font-size: 22px;
  }

  :where([data-rf]) .carrier .source-link {
    font-size: 13px;
  }

  :where([data-rf]) .numbering {
    padding: 10px 13px;
  }

  :where([data-rf]) .numbering p {
    font-size: 13px;
  }

  :where([data-rf]) .document-review {
    padding: 0px 12px;
  }

  :where([data-rf]) .document-review > summary {
    font-size: 16px;
  }

  :where([data-rf]) .home-row {
    margin-top: 23px;
  }

  :where([data-rf]) .home-button {
    font-size: 14px;
    padding: 10px 28px;
    min-width: 160px;
  }

  :where([data-rf]) .flow-fold > summary {
    padding: 16px 14px;
  }

  :where([data-rf]) .flow-fold .step-body {
    padding: 0px 14px 18px;
  }

  :where([data-rf]) .rf-completion .complete-success {
    padding: 18px 16px;
  }

  :where([data-rf]) .rf-completion .success-top {
    display: block;
  }

  :where([data-rf]) .rf-completion .receipt {
    margin: 13px 0px 11px;
    min-width: 0px;
  }

  :where([data-rf]) .rf-completion .flow-nav {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 19px 0px;
  }

  :where([data-rf]) .flow-nav a {
    justify-content: flex-start;
    padding: 10px 12px;
    font-size: 12px;
  }

  :where([data-rf]) .rf-completion .prep-grid {
    gap: 12px;
  }
}

:where([data-rf]) .guide-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

:where([data-rf]) .prep-card h3 {
  display: flex;
  align-items: center;
  gap: 11px;
}

:where([data-rf]) .prep-card h3 .guide-icon {
  width: 38px;
  height: 38px;
}

:where([data-rf]) .external-icon {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-left: 5px;
  vertical-align: -2px;
}

:where([data-rf]) .source-link {
  min-height: 30px;
}

:where([data-rf]) .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0px, 0px, 0px, 0px);
  white-space: nowrap;
  border: 0px;
}

:where([data-rf]) .phone a,
:where([data-rf]) .dispatch-address a {
  color: rgb(75, 57, 45);
  text-decoration: underline;
  text-underline-offset: 4px;
}

:where([data-rf]) .phone a {
  padding: 2px 0px;
}

:where([data-rf]) .phone.ip-phone {
  font-size: 18px;
}

:where([data-rf]) .flow-fold > summary:focus-visible,
:where([data-rf]) a:focus-visible {
  outline: rgb(75, 57, 45) solid 2px;
  outline-offset: 3px;
}

:where([data-rf]) .home-button {
  color: rgb(133, 121, 107);
  background: rgb(255, 255, 255);
  font-weight: 400;
}

@media (max-width: 650px) {
  :where([data-rf]) .prep-grid .prep-card:nth-child(2) {
    order: -1;
  }

  :where([data-rf]) .flow-fold > summary > .guide-icon {
    width: 25px;
    height: 25px;
  }

  :where([data-rf]) .flow-fold > summary {
    font-size: 16px;
  }

  :where([data-rf]) .prep-card h3 .guide-icon {
    width: 34px;
    height: 34px;
  }

  :where([data-rf]) .prep-card h3 {
    gap: 10px;
  }
}

:where([data-rf]) .dispatch-title {
  margin-bottom: 20px !important;
}

:where([data-rf]) .toc-icon {
  display: none;
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

:where([data-rf]) .toc-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

:where([data-rf]) .toc-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

:where([data-rf]) .rf-completion .toc-icon {
  display: block;
}

:where([data-rf]) .flow-nav a {
  min-height: 54px;
}

:where([data-rf]) .rf-completion .flow-nav a {
  justify-content: center;
}

:where([data-rf]) .flow-fold > summary > img.guide-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

:where([data-rf]) .hand-note {
  font-weight: 400;
  font-family: HandNote, sans-serif !important;
  line-height: 1.75 !important;
  background: rgb(255, 254, 249) !important;
}

:where([data-rf]) .hand-note .note-sign {
  display: flex;
  align-items: center;
  gap: 12px;
}

:where([data-rf]) .carrier-logo {
  display: block;
  height: 34px;
  max-width: 190px;
  width: auto;
  object-fit: contain;
  object-position: left center;
  margin: 0px 0px 14px;
}

:where([data-rf]) .carrier[data-carrier="post"] .carrier-logo {
  height: 26px;
  width: auto;
  max-width: 180px;
  background: rgb(204, 0, 51);
  padding: 7px 10px;
  border-radius: 3px;
  box-sizing: content-box;
}

:where([data-rf]) .carrier[data-carrier="yamato"] .carrier-logo {
  height: 44px;
}

:where([data-rf]) .carrier h4 {
  font-size: 18px;
}

:where([data-rf]) .phone a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

:where([data-rf]) .phone-drawing {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

:where([data-rf]) .ip-phone .phone-drawing {
  width: 23px;
  height: 23px;
}

:where([data-rf]) .source-link.web-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  margin-top: 17px;
  border-radius: 10px;
  background: rgb(69, 204, 90);
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  transition: opacity 0.3s;
}

:where([data-rf]) .web-action:hover {
  opacity: 0.65;
}

:where([data-rf]) .web-action .external-icon {
  width: 17px;
  height: 17px;
  margin-left: 0px;
  flex-shrink: 0;
}

:where([data-rf]) .dispatch-address {
  max-width: 540px;
  width: 100%;
  margin: 28px auto 8px;
  background: rgb(247, 253, 232);
  border: 1px solid rgb(200, 214, 156);
  padding: 24px 28px !important;
}

:where([data-rf]) .dispatch-address p {
  margin: 12px 0px;
  font-size: 19px !important;
  line-height: 1.8 !important;
}

:where([data-rf]) .dispatch-address .address-phone {
  font-size: 15px !important;
}

:where([data-rf]) .dispatch-address a {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

:where([data-rf]) .after-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 54px;
  font-size: 18px !important;
}

:where([data-rf]) .after-heading img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

@media (max-width: 650px) {
  :where([data-rf]) .toc-icon {
    width: 29px;
    height: 29px;
  }

  :where([data-rf]) .rf-completion .flow-nav a {
    min-height: 57px;
  }

  :where([data-rf]) .flow-nav .toc-label {
    font-size: 12px;
    line-height: 1.45;
  }

  :where([data-rf]) .flow-fold > summary > img.guide-icon {
    width: 28px;
    height: 28px;
  }

  :where([data-rf]) .dispatch-address {
    margin-top: 20px;
    padding: 20px 17px !important;
  }

  :where([data-rf]) .dispatch-address p {
    font-size: 18px !important;
  }

  :where([data-rf]) .dispatch-address .address-phone {
    font-size: 14px !important;
  }

  :where([data-rf]) .source-link.web-action {
    font-size: 15px;
    padding: 12px 10px;
  }

  :where([data-rf]) .after-heading {
    gap: 12px;
    font-size: 17px !important;
  }

  :where([data-rf]) .carrier-logo {
    height: 30px;
  }

  :where([data-rf]) .carrier[data-carrier="yamato"] .carrier-logo {
    height: 34px;
  }
}

:where([data-rf]) .rf-completion .flow-nav a {
  position: static;
  padding: 10px 12px;
  gap: 9px;
}

:where([data-rf]) .flow-fold > summary {
  gap: 12px;
}

:where([data-rf]) .hand-note {
  width: 100%;
  max-width: 280px;
  min-height: 350px;
  border-radius: 2px;
  box-shadow: rgb(242, 240, 231) 3px 4px 0px;
  transform: rotate(-0.5deg);
  margin: 16px auto !important;
  font-size: 18px !important;
  padding: 19px 18px !important;
}

:where([data-rf]) .hand-note-title {
  font-size: 21px;
}

:where([data-rf]) .hand-note .note-sign {
  margin-top: 9px;
}

:where([data-rf]) .stamp-wrap {
  width: 55px;
  height: 55px;
  display: inline-block;
  position: static;
  transform: rotate(-6deg);
}

:where([data-rf]) .stamp-seal {
  display: block;
  width: 55px;
  height: 55px;
}

:where([data-rf]) .dispatch-address {
  text-align: center;
}

:where([data-rf]) .document-review > summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

:where([data-rf]) .document-review > summary::-webkit-details-marker {
  display: none;
}

:where([data-rf]) .document-review > summary::after {
  content: "＋";
  margin-left: auto;
  color: rgb(117, 99, 79);
  font-size: 22px;
  font-weight: 400;
}

:where([data-rf]) .document-review[open] > summary::after {
  content: "−";
}

:where([data-rf]) .document-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

:where([data-rf]) .carrier-service {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0px 0px 14px;
}

:where([data-rf]) .carrier-service h4 {
  margin: 0px;
  font-size: 18px;
}

:where([data-rf]) .shipping-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: rgb(247, 253, 232);
  border: 1px solid rgb(213, 223, 182);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
}

:where([data-rf]) .shipping-free-icon {
  width: 28px;
  height: 26px;
  flex-shrink: 0;
}

@media (max-width: 650px) {
  :where([data-rf]) .rf-completion .flow-nav a {
    padding: 9px 10px;
    gap: 7px;
    justify-content: flex-start;
  }

  :where([data-rf]) .flow-fold > summary {
    gap: 10px;
  }

  :where([data-rf]) .hand-note {
    max-width: 268px;
    min-height: 335px;
    font-size: 17px !important;
    padding: 17px 14px !important;
  }

  :where([data-rf]) .hand-note-title {
    font-size: 20px;
  }

  :where([data-rf]) .carrier-service {
    gap: 9px;
  }

  :where([data-rf]) .carrier-service h4 {
    font-size: 17px;
  }

  :where([data-rf]) .shipping-badge {
    font-size: 11px;
    padding: 4px 7px;
  }

  :where([data-rf]) .shipping-free-icon {
    width: 25px;
    height: 24px;
  }
}

:where([data-rf]) header {
  border-top: 0px !important;
  border-bottom: 0px !important;
}

:where([data-rf]) .prep-grid {
  align-items: start;
}

:where([data-rf]) .prep-card {
  align-self: start;
}

:where([data-rf]) .dispatch-address {
  margin-top: 12px !important;
}

:where([data-rf]) .address-title {
  text-align: center;
  font-size: 20px !important;
  margin: 26px 0px 12px !important;
}

:where([data-rf]) .numbering {
  display: flex;
  align-items: center;
  gap: 20px;
}

:where([data-rf]) .numbering-illustration {
  width: 110px;
  height: 95px;
  object-fit: contain;
  flex-shrink: 0;
}

:where([data-rf]) .web-action .phone-drawing {
  display: block;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: rgb(255, 255, 255);
  padding: 2px;
  border-radius: 6px;
}

:where([data-rf]) .after-heading img[src*="money-passbook"] {
  width: 66px;
  height: 66px;
}

@media (max-width: 650px) {
  :where([data-rf]) .address-title {
    font-size: 18px !important;
  }

  :where([data-rf]) .numbering {
    gap: 12px;
    align-items: flex-start;
  }

  :where([data-rf]) .numbering-illustration {
    width: 78px;
    height: 78px;
  }

  :where([data-rf]) .numbering h4 {
    font-size: 14px;
  }

  :where([data-rf]) .after-heading img[src*="money-passbook"] {
    width: 58px;
    height: 58px;
  }
}

:where([data-rf]) * {
  box-sizing: border-box;
}

:where([data-rf]) body.rf-completion {
  margin: 0px;
  font-family: "Zen Maru Gothic", sans-serif;
  color: rgb(34, 34, 34);
  font-size: 10pt;
}

/* 申込書・発送準備リスト */
:where([data-rf]) .print-sheet {
  background: rgb(255, 255, 255);
  width: 210mm;
  min-height: 297mm;
  padding: 10mm;
  margin: 15px auto;
  box-shadow: rgb(204, 204, 204) 0px 1px 12px;
}

:where([data-rf]) .sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5pt solid rgb(68, 68, 68);
  padding-bottom: 3mm;
  margin-bottom: 3mm;
}

:where([data-rf]) .sheet-head h1 {
  font-size: 18pt;
  margin: 0px;
  line-height: 1.3;
}

:where([data-rf]) .sheet-head span {
  font-size: 9pt;
}

:where([data-rf]) .meta {
  display: flex;
  justify-content: space-between;
  gap: 3mm;
  margin-bottom: 3mm;
  font-size: 10pt;
}

:where([data-rf]) .meta b {
  font-size: 11pt;
}

:where([data-rf]) .products {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 9pt;
}

:where([data-rf]) .products td,
:where([data-rf]) .products th {
  border: 0.5pt solid rgb(136, 136, 136);
  padding: 0.35mm 1.4mm;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.13;
  vertical-align: middle;
}

:where([data-rf]) .products th {
  font-size: 9pt;
  background: rgb(244, 244, 244);
  height: 7mm;
}

:where([data-rf]) .products tbody tr {
  height: 5.6mm;
}

:where([data-rf]) .products td:first-child {
  text-align: center;
  font-size: 8pt;
}

:where([data-rf]) .total {
  border-width: 0px 1px 1px;
  border-style: none solid solid;
  border-color: currentcolor rgb(136, 136, 136) rgb(136, 136, 136);
  border-image: none;
  padding: 1.4mm 3mm;
  text-align: right;
  font-size: 10pt;
  margin: 0px 0px 3mm;
}

:where([data-rf]) .comment {
  display: grid;
  grid-template-columns: 23mm 1fr;
  border: 1px solid rgb(136, 136, 136);
  min-height: 12mm;
  font-size: 9pt;
  margin-top: 3mm;
}

:where([data-rf]) .comment b {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(244, 244, 244);
  border-right: 1px solid rgb(136, 136, 136);
}

:where([data-rf]) .comment div {
  padding: 2mm 3mm;
  overflow-wrap: anywhere;
  line-height: 1.25;
}

:where([data-rf]) .warning {
  font-size: 9pt;
  margin: 3mm 0px 2mm;
  font-weight: 700;
}

:where([data-rf]) .consent {
  font-size: 10pt;
  border: 1px solid rgb(136, 136, 136);
  padding: 1.5mm 3mm;
}

:where([data-rf]) .signature {
  display: grid;
  grid-template-columns: 25mm 1fr 27mm;
  height: 23mm;
  border-width: 0px 1px 1px;
  border-style: none solid solid;
  border-color: currentcolor rgb(136, 136, 136) rgb(136, 136, 136);
  border-image: none;
}

:where([data-rf]) .signature b {
  font-size: 11pt;
  background: rgb(244, 244, 244);
  border-right: 1px solid rgb(136, 136, 136);
  display: flex;
  justify-content: center;
  align-items: center;
}

:where([data-rf]) .signature .seal {
  border-left: 1px solid rgb(187, 187, 187);
  text-align: center;
  padding-top: 2mm;
  font-size: 10pt;
}

:where([data-rf]) .signature .seal small {
  display: block;
  font-size: 8pt;
  margin-top: 12mm;
}

:where([data-rf]) .sheet-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 3mm;
  font-size: 7.5pt;
}

:where([data-rf]) .easy-count {
  display: flex;
  border: 1px solid rgb(136, 136, 136);
  margin: 10mm 0px 6mm;
  height: 20mm;
  align-items: center;
  font-size: 12pt;
}

:where([data-rf]) .easy-count b {
  width: 40%;
  padding: 5mm;
  background: rgb(244, 244, 244);
}

:where([data-rf]) .easy-count span {
  padding: 5mm;
}

:where([data-rf]) .easy .comment {
  min-height: 30mm;
}

:where([data-rf]) .easy .signature {
  height: 36mm;
}

:where([data-rf]) .easy .warning {
  margin-top: 10mm;
}

:where([data-rf]) .easy .sheet-footer {
  margin-top: 6mm;
}

:where([data-rf]) .checklist h2 {
  font-size: 13pt;
  margin: 7mm 0px 3mm;
  border-bottom: 1px solid rgb(170, 170, 170);
  padding-bottom: 2mm;
}

:where([data-rf]) .checks {
  list-style: none;
  margin: 0px;
  padding: 0px;
}

:where([data-rf]) .checks li {
  display: flex;
  gap: 3mm;
  margin: 3mm 0px;
  line-height: 1.65;
}

:where([data-rf]) .check-box {
  border: 1px solid rgb(102, 102, 102);
  width: 4mm;
  height: 4mm;
  margin-top: 1mm;
  flex-shrink: 0;
}

:where([data-rf]) .ship-address {
  text-align: center;
  border: 1px solid rgb(153, 153, 153);
  padding: 5mm;
  margin: 5mm 0px;
  font-size: 12pt;
  line-height: 1.7;
}

:where([data-rf]) .contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5mm;
  line-height: 1.8;
  font-size: 10pt;
}

:where([data-rf]) .checklist .qr-contacts {
  grid-template-columns: minmax(0px, 1fr) minmax(0px, 1fr);
  gap: 4mm;
  font-size: 9pt;
  line-height: 1.4;
}

:where([data-rf]) .qr-contact {
  display: grid;
  grid-template-columns: minmax(0px, 1fr) 32mm;
  gap: 2mm 3mm;
  align-items: start;
  padding: 3mm;
  border: 1px solid rgb(170, 170, 170);
  break-inside: avoid;
}

:where([data-rf]) .qr-carrier {
  grid-column: 1 / -1;
  font-size: 9pt;
}

:where([data-rf]) .qr-contact-text {
  min-width: 0px;
}

:where([data-rf]) .qr-contact-text p {
  margin: 2mm 0px 0px;
  font-size: 8.5pt;
  line-height: 1.5;
}

:where([data-rf]) .qr-contact-text > span {
  font-size: 8pt;
  font-weight: 700;
}

:where([data-rf]) .qr-web {
  text-align: center;
}

:where([data-rf]) .qr-web > b {
  display: block;
  margin: 0px 0px 1.5mm;
  font-size: 8pt;
  line-height: 1.5;
  white-space: nowrap;
}

:where([data-rf]) .qr-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32mm;
  height: 32mm;
  background: rgb(255, 255, 255);
}

:where([data-rf]) .shipping-qr {
  display: block;
  width: 32mm;
  height: 32mm;
  max-width: none;
  margin: 0px;
  background: rgb(255, 255, 255);
}

@media screen and (max-width: 650px) {
  :where([data-rf]) .checklist .qr-contacts {
    grid-template-columns: minmax(0px, 1fr);
  }

  :where([data-rf]) .qr-contact {
    padding: 12px;
  }
}

@media print {
  :where([data-rf]) .checklist .qr-contacts {
    grid-template-columns: minmax(0px, 1fr) minmax(0px, 1fr);
  }

  :where([data-rf]) .qr-contact {
    break-inside: avoid;
  }
}

:where([data-rf]) .notes {
  font-size: 9pt;
  line-height: 1.6;
}

:where([data-rf]) .checklist .sheet-footer {
  margin-top: 6mm;
}

@media screen and (max-width: 820px) {
  :where([data-rf]) .print-sheet {
    margin: 12px;
    width: 210mm;
  }
}

:where([data-rf]) .exact .sheet-head {
  padding-bottom: 2mm;
}

:where([data-rf]) .exact .sheet-head h1 {
  font-size: 16pt;
}

:where([data-rf]) .exact .products td {
  padding: 0.2mm 1.4mm;
}

:where([data-rf]) .exact .products tbody tr {
  height: 5.6mm;
}

:where([data-rf]) .exact .total {
  padding: 1mm 3mm;
  margin-bottom: 2mm;
}

:where([data-rf]) .exact .comment {
  min-height: 10mm;
  margin-top: 2mm;
}

:where([data-rf]) .exact .comment div {
  padding: 1mm 3mm;
}

:where([data-rf]) .exact .warning {
  margin: 2mm 0px 1.5mm;
}

:where([data-rf]) .exact .consent {
  padding: 1mm 3mm;
  font-size: 9pt;
}

:where([data-rf]) .exact .signature {
  height: 20mm;
}

:where([data-rf]) .exact .signature .seal small {
  margin-top: 9mm;
}

:where([data-rf]) .exact .products th {
  height: 6mm;
}

:where([data-rf]) .exact .sheet-head,
:where([data-rf]) .exact .meta {
  margin-bottom: 1.5mm;
}

:where([data-rf]) .exact .sheet-footer {
  margin-top: 1.5mm;
}

/* 入力・確認画面 */
:where([data-rf]) .rf {
  --accent: #eabf0c;
  --tint: #fffad5;
  --line: #d6ddba;
  --bg: #ffffff;
  background: rgb(255, 255, 255);
  color: rgb(75, 57, 45);
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 16px;
}

:where([data-rf]) .rf-exact {
  --accent: #eb932d;
  --tint: #fdf5db;
}

:where([data-rf]) .rf-main {
  max-width: 950px;
  margin: auto;
  padding: 20px 0px 40px;
}

:where([data-rf]) .rf-site-header {
  border: 0px;
  background: rgb(255, 255, 255);
}

:where([data-rf]) .rf-site-header .head {
  max-width: 950px;
  margin: auto;
  padding: 12px 0px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

:where([data-rf]) .rf-title {
  display: inline-block;
  margin: 15px 0px 6px;
  padding-bottom: 6px;
  border-bottom: 3px solid var(--accent);
  font-size: 28px;
  line-height: 1.45;
}

:where([data-rf]) .rf-page-intro {
  margin: 5px 0px 25px;
  font-size: 14px;
}

:where([data-rf]) .rf-login-card,
:where([data-rf]) .rf-form-card {
  border: 1px solid rgb(216, 217, 200);
  border-radius: 16px;
  background: rgb(255, 255, 255);
  padding: 26px 30px;
  margin: 20px 0px;
}

:where([data-rf]) .rf-login-card {
  max-width: 100%;
}

:where([data-rf]) .rf-login-card h2,
:where([data-rf]) .rf-section-title {
  font-size: 21px;
  margin: 0px 0px 19px;
}

:where([data-rf]) .rf-section-title:not(:first-child) {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgb(235, 230, 219);
}

:where([data-rf]) .rf-switch-link {
  font-size: 14px;
  color: rgb(108, 89, 71);
  text-underline-offset: 5px;
}

:where([data-rf]) .rf-field {
  display: grid;
  grid-template-columns: 175px minmax(0px, 1fr);
  gap: 18px;
  align-items: start;
  margin: 0px;
  padding: 18px 0px;
  border-bottom: 1px solid rgb(239, 235, 227);
}

:where([data-rf]) .rf .box-label {
  font-weight: 700;
  padding-top: 10px;
  font-size: 15px;
}

:where([data-rf]) .rf .box-input,
:where([data-rf]) .rf-input-area {
  min-width: 0px;
  position: relative;
  line-height: 1.8;
}

:where([data-rf]) .rf input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]),
:where([data-rf]) .rf select {
  border: 1px solid rgb(201, 197, 186);
  border-radius: 8px;
  background: rgb(255, 255, 255);
  color: rgb(75, 57, 45);
  font-style: inherit;
  font-variant: inherit;
  font-weight: inherit;
  font-stretch: inherit;
  line-height: inherit;
  font-family: inherit;
  font-optical-sizing: inherit;
  font-size-adjust: inherit;
  font-kerning: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-language-override: inherit;
  font-size: 16px;
  padding: 10px 12px;
  min-height: 46px;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0px;
}

:where([data-rf]) .rf input:focus {
  outline: rgb(181, 201, 167) solid 2px;
  outline-offset: 2px;
}

:where([data-rf]) .rf select:focus {
  outline-offset: 2px;
}

:where([data-rf]) .rf input::placeholder {
  color: rgb(156, 147, 136);
  opacity: 1;
  font-weight: 400;
}

:where([data-rf]) .rf input[type="email"],
:where([data-rf]) .rf input[type="password"] {
  width: 100%;
  max-width: 520px;
}

:where([data-rf]) .rf input[name="comment"] {
  width: 100%;
}

:where([data-rf]) .rf input[name="jyusyo_shicyouson"],
:where([data-rf]) .rf input[name="jyusyo_banchi"],
:where([data-rf]) .rf input[name="jyusyo_pref"],
:where([data-rf]) .rf input[name="jyusyo_hoka"] {
  width: 100%;
}

:where([data-rf]) .rf-name-row .box-input {
  display: flex;
  gap: 12px;
}

:where([data-rf]) .rf-name-row input {
  width: calc(50% - 6px);
}

:where([data-rf]) .rf-compact-row input,
:where([data-rf]) .rf-compact-row select {
  width: auto;
  max-width: 29%;
}

:where([data-rf]) .rf input[type="radio"],
:where([data-rf]) .rf input[type="checkbox"] {
  accent-color: rgb(130, 99, 75);
  width: 18px;
  height: 18px;
  margin: 0px 6px 0px 0px;
  vertical-align: middle;
}

:where([data-rf]) .rf .rf-newsletter-row .box-input {
  padding-top: 10px;
  font-size: 14px;
}

:where([data-rf]) .rf .box-input p {
  margin: 10px 0px 0px;
  font-size: 13px;
}

:where([data-rf]) .rf button,
:where([data-rf]) .rf input[type="button"] {
  font: inherit;
  cursor: pointer;
}

:where([data-rf]) .rf .submitbtn {
  border: 0px;
  border-radius: 10px;
  background: var(--accent);
  color: rgb(255, 255, 255);
  padding: 13px 28px;
  font-weight: 700;
  min-height: 46px;
}

/* 入力画面の申込ボタン：文字の上下位置を調整 */
:where([data-rf]) .rf.rf-input .btncenter input.submitbtn:not(#loginbtn) {
  padding-block: 0;
  line-height: 1.5;
}

:where([data-rf]) .rf #loginbtn,
:where([data-rf]) .rf .rf-add-product {
  border-radius: 10px;
  padding: 13px 28px;
  font-weight: 700;
  min-height: 46px;
}

:where([data-rf]) .rf #loginbtn {
  background: rgb(69, 204, 90);
  color: rgb(255, 255, 255);
  border: 0px;
  width: auto;
  min-width: 150px;
}

:where([data-rf]) .rf .btncenter {
  text-align: center;
  margin: 25px 0px;
}

:where([data-rf]) .rf .cancelbtn {
  background: rgb(255, 255, 255);
  color: rgb(121, 102, 78);
  border: 1px solid rgb(186, 168, 142);
  border-radius: 10px;
  padding: 13px 20px;
  margin: 6px;
}

:where([data-rf]) .rf button:hover,
:where([data-rf]) .rf input[type="button"]:hover {
  opacity: 0.7;
}

:where([data-rf]) .rf #loginbtn:hover {
  background: rgb(69, 204, 90);
  color: rgb(255, 255, 255);
  opacity: 0.7;
}

:where([data-rf]) .rf-products-field {
  display: block;
}

:where([data-rf]) .rf-products-field > .box-label {
  margin: 0px 0px 12px;
}

:where([data-rf]) .rf .entry_row {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgb(229, 223, 209);
  border-radius: 11px;
  margin: 10px 0px;
  padding: 14px 12px;
}

:where([data-rf]) .rf .entry_no {
  width: 30px;
  text-align: center;
  font-size: 14px;
  color: rgb(140, 117, 88);
  flex-shrink: 0;
}

:where([data-rf]) .rf .entry-div {
  display: grid;
  grid-template-columns: minmax(0px, 1.4fr) minmax(0px, 1.2fr) minmax(90px, 0.6fr);
  gap: 12px;
  flex: 1 1 0%;
  min-width: 0px;
}

:where([data-rf]) .rf .brand-div,
:where([data-rf]) .rf .item-div,
:where([data-rf]) .rf .color-div {
  min-width: 0px;
  position: relative;
}

:where([data-rf]) .rf .entry-div input,
:where([data-rf]) .rf .entry-div select {
  width: 100%;
}

:where([data-rf]) .rf .rf-add-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0px;
}

:where([data-rf]) .rf .rf-add-product {
  background: rgb(255, 255, 255);
  color: rgb(122, 90, 50);
  border: 1px solid var(--accent);
}

:where([data-rf]) .rf .rf-row-count {
  font-size: 13px;
}

:where([data-rf]) .rf .suggestbox {
  position: absolute;
  top: 100%;
  left: 0px;
  width: 100%;
  background: rgb(255, 255, 255);
  border-radius: 6px;
  z-index: 20;
  font-size: 14px;
}

:where([data-rf]) .rf .suggestbox:empty {
  border: 0px;
}

:where([data-rf]) .rf .suggestbox:not(:empty) {
  border: 1px solid rgb(199, 185, 159);
}

:where([data-rf]) .rf .suggestbox div {
  padding: 7px 10px;
}

:where([data-rf]) .rf .suggestbox .select {
  background: rgb(255, 250, 213);
}

:where([data-rf]) .rf #goukei {
  text-align: right;
}

:where([data-rf]) .rf #goukei input {
  width: 90px;
}

:where([data-rf]) .rf .entry_header {
  display: flex;
  gap: 15px;
  padding: 6px 14px;
  font-size: 13px;
}

:where([data-rf]) .rf .entry_header span {
  flex: 1 1 0%;
}

:where([data-rf]) .rf-terms object {
  display: block;
  width: 100%;
  max-width: 100%;
}

:where([data-rf]) .rf-terms {
  margin: 20px 0px;
  border: 1px solid rgb(229, 223, 209);
  border-radius: 12px;
  padding: 18px;
}

:where([data-rf]) .rf .kakunin_short {
  display: none;
}

:where([data-rf]) .rf-confirm .kakunin {
  min-width: 0px;
}

:where([data-rf]) .rf-confirm .kakunin input[readonly] {
  background: rgb(250, 249, 245);
  border-color: rgb(230, 225, 214);
}

:where([data-rf]) .rf-confirm .kakunin input[type="text"][readonly] {
  max-width: 100%;
}

:where([data-rf]) .rf-confirm .box-row {
  min-width: 0px;
}

:where([data-rf]) .rf-completion {
  background: rgb(255, 255, 255);
}

:where([data-rf]) .rf-completion .print-sheet {
  width: 100%;
  max-width: 720px;
  min-height: 0px;
  padding: 18px;
  margin: 20px auto;
  box-shadow: none;
  border: 1px solid rgb(221, 214, 201);
}

:where([data-rf]) .rf-completion .checklist {
  display: none;
}

@media screen {
  :where([data-rf]) body.rf-completion {
    color: rgb(75, 57, 45);
    font-size: 16px;
    line-height: 1.65;
  }

  :where([data-rf]) .rf-completion .variant-title {
    font-size: 28px;
  }

  :where([data-rf]) .rf-completion .variant-sub {
    font-size: 14px;
  }

  :where([data-rf]) .rf-completion .print-sheet {
    color: rgb(34, 34, 34);
    font-size: 10pt;
    line-height: 1.65;
  }

  :where([data-rf]) .rf-reprint .checklist {
    display: block;
  }
}

@media screen and (max-width: 650px) {
  :where([data-rf]) .rf-completion .variant-title {
    font-size: 24px;
  }
}

:where([data-rf]) .rf-completion .rf-print-value {
  display: none !important;
}

:where([data-rf]) .rf-completion .rf-print-text {
  white-space: normal;
  overflow-wrap: anywhere;
}

:where([data-rf]) .rf-completion .document-review {
  margin-top: 24px;
}

@media (max-width: 650px) {
  :where([data-rf]) .rf-main {
    padding: 16px 20px 35px;
  }

  :where([data-rf]) .rf-site-header .head {
    padding: 10px 20px;
  }

  :where([data-rf]) .rf-title {
    font-size: 24px;
  }

  :where([data-rf]) .rf-login-card,
  :where([data-rf]) .rf-form-card {
    padding: 21px 17px;
    border-radius: 13px;
  }

  :where([data-rf]) .rf-field {
    grid-template-columns: minmax(0px, 1fr);
    gap: 8px;
    padding: 16px 0px;
  }

  :where([data-rf]) .rf .box-label {
    padding-top: 0px;
    font-size: 14px;
  }

  :where([data-rf]) .rf-login-row > .box-label {
    display: none;
  }

  :where([data-rf]) .rf .rf-login-row .box-input {
    width: 100%;
  }

  :where([data-rf]) .rf input[name="zip"] {
    max-width: 160px;
  }

  :where([data-rf]) .rf input[name="sonota"] {
    max-width: 120px;
  }

  :where([data-rf]) .rf .rf-compact-row .box-input {
    display: flex;
    gap: 5px;
    flex-wrap: nowrap;
  }

  :where([data-rf]) .rf .rf-compact-row input,
  :where([data-rf]) .rf .rf-compact-row select {
    flex: 1 1 0px;
    min-width: 0px;
    max-width: none;
    padding: 10px 6px;
  }

  :where([data-rf]) .rf .entry_row {
    align-items: flex-start;
    gap: 7px;
    padding: 13px 9px;
  }

  :where([data-rf]) .rf .entry_no {
    width: 21px;
    margin-top: 12px;
  }

  :where([data-rf]) .rf .entry-div {
    grid-template-columns: minmax(0px, 1fr);
    gap: 9px;
  }

  :where([data-rf]) .rf .entry_header {
    display: none;
  }

  :where([data-rf]) .rf .rf-add-row {
    flex-direction: column;
    gap: 8px;
  }

  :where([data-rf]) .rf .submitbtn {
    width: 100%;
    padding: 13px 9px;
  }

  :where([data-rf]) .rf #loginbtn {
    width: auto;
    min-width: 150px;
  }

  :where([data-rf]) .rf .cancelbtn {
    width: 100%;
    margin: 6px 0px;
  }

  :where([data-rf]) .rf .entry-div input {
    min-width: 0px;
  }

  :where([data-rf]) .rf-completion .print-sheet {
    padding: 10px;
    font-size: 9pt;
  }

  :where([data-rf]) .rf-completion .products {
    font-size: 7pt;
  }

  :where([data-rf]) .rf-completion .meta {
    flex-wrap: wrap;
  }

  :where([data-rf]) .rf-completion .sheet-head h1 {
    font-size: 14pt;
  }

  :where([data-rf]) .rf-completion .signature {
    grid-template-columns: 20% 1fr 20%;
  }
}

:where([data-rf]) .rf-entry-options {
  display: grid;
  gap: 20px;
  align-items: start;
  margin: 20px 0px;
}

:where([data-rf]) .rf-entry-options .rf-login-card {
  margin: 0px;
  padding: 22px 24px;
}

:where([data-rf]) .rf-login-form .rf-field {
  display: block;
  border: 0px;
  padding: 7px 0px;
}

:where([data-rf]) .rf-login-form .box-input0 {
  min-width: 0px;
}

:where([data-rf]) .rf-login-form input[type="email"],
:where([data-rf]) .rf-login-form input[type="password"] {
  width: 100%;
  max-width: none;
}

:where([data-rf]) .rf-login-form .btncenter {
  margin: 15px 0px 10px;
}

:where([data-rf]) .rf-login-form > p {
  margin: 12px 0px 0px;
  font-size: 13px;
}

:where([data-rf]) .rf .rf-section-title:first-of-type {
  padding-top: 0px;
  border-top: 0px;
}

:where([data-rf]) body.rf-completion {
  background: rgb(255, 255, 255);
}

:where([data-rf]) body.rf-completion {
  --bg: #ffffff;
}

:where([data-rf]) .rf-completion .flow-fold {
  background: rgb(255, 255, 255);
}

@media (max-width: 650px) {
  :where([data-rf]) .rf-entry-options {
    grid-template-columns: minmax(0px, 1fr);
  }

  :where([data-rf]) .rf-entry-options .rf-login-card {
    padding: 21px 17px;
  }
}

:where([data-rf]) .rf .rf-postcode-row .box-input {
  display: flex;
  align-items: center;
  gap: 6px;
}

:where([data-rf]) .rf .rf-postcode-row input[name="jyusyo_postno1"] {
  width: 85px;
}

:where([data-rf]) .rf .rf-postcode-row input[name="jyusyo_postno2"] {
  width: 100px;
}

:where([data-rf]) .rf #hyoudai {
  display: grid;
  grid-template-columns: minmax(0px, 1.4fr) minmax(0px, 1.2fr) minmax(90px, 0.6fr);
  gap: 12px;
  padding-left: 54px;
}

@media (max-width: 650px) {
  :where([data-rf]) .rf #hyoudai {
    display: none;
  }
}

:where([data-rf]) .rf-completion .numbering {
  background: rgb(255, 255, 255);
  border: 1px solid rgb(222, 215, 201);
  border-radius: 8px;
}

:where([data-rf]) .rf-completion .hand-note-name {
  min-width: 0px;
  overflow-wrap: anywhere;
}

:where([data-rf]) .rf-completion .stamp-wrap {
  flex-shrink: 0;
}

:where([data-rf]) .rf-entry-options {
  grid-template-columns: minmax(0px, 1fr);
}

:where([data-rf]) .rf-new-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 30px 0px 14px;
}

:where([data-rf]) .rf-new-intro h2 {
  margin: 0px;
  font-size: 20px;
}

:where([data-rf], [data-cq]) .rf-point-icon {
  width: 40px;
  height: 30px;
  flex-shrink: 0;
}

@media (max-width: 650px) {
  :where([data-rf]) .rf-new-intro {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 25px;
  }

  :where([data-rf]) .rf-new-intro h2 {
    font-size: 19px;
  }
}

:where([data-rf]) .rf #errormess {
  margin: 20px 0px;
  padding: 16px 20px;
  border: 2px solid rgb(163, 55, 40);
  border-radius: 10px;
  background: rgb(255, 255, 255);
  color: rgb(120, 41, 30);
  font-size: 14px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

:where([data-rf]) .rf #errormess ul {
  margin: 0px;
  padding-left: 1.4em;
}

:where([data-rf]) .rf #errormess li {
  margin: 3px 0px;
}

:where([data-rf]) .rf #errormess:empty {
  display: none;
}

@media (max-width: 650px) {
  :where([data-rf]) .rf #errormess {
    padding: 13px 15px;
    font-size: 13px;
  }
}

:where([data-rf]) .rf-page-intro:has(+ .rf-page-switch) {
  margin-bottom: 8px;
}

:where([data-rf]) .rf-page-switch {
  margin: 0px 0px 25px;
}

:where([data-rf]) .rf-page-switch .rf-switch-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

:where([data-rf]) .rf-page-switch .rf-switch-link span {
  text-decoration: underline;
  text-underline-offset: 5px;
}

:where([data-rf]) .rf-confirm .btncenter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
}

:where([data-rf]) .rf-confirm .btncenter .submitbtn {
  order: 1;
  margin: 0px;
}

:where([data-rf]) .rf-confirm .btncenter .cancelbtn {
  order: 2;
  margin: 0px;
}

@media (min-width: 651px) {
  :where([data-rf]) .rf-confirm .btncenter .submitbtn {
    width: 320px;
    max-width: 100%;
  }
}

:where([data-rf]) .rf .rf-login-card,
:where([data-rf]) .rf .rf-form-card {
  border: 1.5px solid rgb(183, 181, 166);
}

:where([data-rf]) .rf input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]),
:where([data-rf]) .rf select {
  border-width: 1.5px;
  border-color: rgb(164, 155, 142);
}

:where([data-rf]) .rf input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):focus,
:where([data-rf]) .rf select:focus {
  border-color: rgb(121, 102, 78);
  outline: none;
  box-shadow: rgb(121, 102, 78) 0px 0px 0px 1.5px inset;
}

:where([data-rf]) .rf .rf-field {
  border-bottom-color: rgb(213, 206, 195);
}

:where([data-rf]) .rf .entry_row {
  border-color: rgb(183, 181, 166);
}

:where([data-rf]) .rf .rf-section-title,
:where([data-rf]) .rf .rf-section-title:first-of-type,
:where([data-rf]) .rf .rf-section-title:not(:first-child) {
  background: var(--tint);
  color: rgb(75, 57, 45);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 700;
  border: 0px;
  border-radius: 4px;
  margin: 26px 0px 6px;
}

:where([data-rf]) .rf .rf-section-title:first-of-type {
  margin-top: 0px;
}

:where([data-rf]) .rf .rf-password-reset {
  text-align: right;
}

:where([data-rf]) .rf .rf-password-reset a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

:where([data-rf]) .rf .rf-section-title,
:where([data-rf]) .rf .rf-section-title:first-of-type,
:where([data-rf]) .rf .rf-section-title:not(:first-child) {
  display: table;
  width: auto;
  padding: 7px 13px;
}

:where([data-rf]) .rf.rf-input select[name="b_nen"] {
  max-width: none;
}

:where([data-rf]) .rf.rf-input input[name="sonota"] {
  width: 170px;
  max-width: 100%;
}

@media (max-width: 650px) {
  :where([data-rf]) .rf .rf-section-title,
  :where([data-rf]) .rf .rf-section-title:first-of-type,
  :where([data-rf]) .rf .rf-section-title:not(:first-child) {
    font-size: 14px;
  }

  :where([data-rf]) .rf.rf-input select[name="b_nen"] {
    padding-right: 22px;
  }
}

:where([data-rf]) .rf.rf-input #loginbtn,
:where([data-rf]) .rf.rf-input #loginbtn:hover {
  background: var(--accent);
  color: rgb(255, 255, 255);
  border-radius: 999px;
  width: 60%;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  height: 48px;
  min-height: 48px;
  padding: 0 28px;
  line-height: 1.5;
}

:where([data-rf]) .rf.rf-input .btncenter .submitbtn:not(#loginbtn) {
  background: rgb(69, 204, 90);
  color: rgb(255, 255, 255);
  width: 60%;
}

:where([data-rf]) .rf-password-control {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

:where([data-rf]) .rf .rf-password-control input {
  width: 0px;
  flex: 1 1 0%;
  min-width: 0px;
  max-width: none;
}

:where([data-rf]) .rf-password-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  height: 44px;
  border: 1px solid rgb(199, 189, 176);
  border-radius: 8px;
  background: rgb(255, 255, 255);
  color: rgb(121, 102, 78);
  cursor: pointer;
}

:where([data-rf]) .rf input[type="radio"]:focus,
:where([data-rf]) .rf input[type="checkbox"]:focus {
  outline: none;
  box-shadow: none;
}

:where([data-rf]) .rf-input .rf-product-row {
  background: rgb(255, 255, 255);
}

:where([data-rf]) .rf-input .rf-product-row.rf-row-tinted {
  background: rgb(255, 253, 247);
}

:where([data-rf]) .rf.rf-input .entry_no {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgb(211, 154, 87);
  border-radius: 6px;
  color: rgb(128, 84, 33);
  font-size: 17px;
  font-weight: 700;
  background: rgb(255, 255, 255);
}

:where([data-rf]) .rf.rf-input #goukei {
  font-size: 18px;
  font-weight: 700;
}

:where([data-rf]) .rf.rf-input #goukei input {
  font-size: 18px;
}

:where([data-rf]) .rf.rf-input .rf-add-product {
  border: 1px solid var(--accent);
}

:where([data-rf]) .rf-save-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 0px 0px 24px;
}

:where([data-rf]) .rf-save-actions button {
  border: 1.5px solid var(--accent);
  color: var(--accent);
  background: rgb(255, 255, 255);
  border-radius: 10px;
  padding: 11px 16px;
  min-height: 46px;
  font-style: inherit;
  font-variant: inherit;
  font-weight: inherit;
  font-stretch: inherit;
  line-height: inherit;
  font-family: inherit;
  font-optical-sizing: inherit;
  font-size-adjust: inherit;
  font-kerning: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-language-override: inherit;
  font-size: 14px;
  cursor: pointer;
}

@media (max-width: 650px) {
  :where([data-rf]) .rf.rf-input #loginbtn,
  :where([data-rf]) .rf.rf-input .btncenter .submitbtn:not(#loginbtn) {
    width: 100%;
  }
}

:where([data-rf]) .rf .rf-new-intro {
  justify-content: center;
  align-items: center;
}

:where([data-rf]) .rf .rf-new-intro h2 {
  text-align: center;
}

:where([data-rf]) .rf .rf-page-switch,
:where([data-rf]) .rf .rf-logout-link {
  text-align: right;
}

:where([data-rf]) .rf .rf-logout-link a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

:where([data-rf]) .rf .rf-login-heading {
  background: transparent;
  border: 0px;
  padding: 0px;
  font-size: 21px;
  margin: 0px 0px 19px;
}

:where([data-rf]) .rf .rf-address-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

:where([data-rf]) .rf .rf-address-fields br {
  display: none;
}

:where([data-rf]) .rf .rf-address-fields input[name="jyusyo_pref"] {
  width: 100px;
}

:where([data-rf]) .rf .rf-address-fields input[name="jyusyo_shicyouson"] {
  width: calc(100% - 106px);
}

:where([data-rf]) .rf .rf-address-fields input[name="jyusyo_banchi"],
:where([data-rf]) .rf .rf-address-fields input[name="jyusyo_hoka"] {
  width: 100%;
}

:where([data-rf]) .rf.rf-input .rf-add-product {
  background: rgb(75, 57, 45);
  border-color: rgb(75, 57, 45);
  color: rgb(255, 255, 255);
}

:where([data-rf]) .rf .rf-save-actions button {
  border-color: rgb(75, 57, 45);
  color: rgb(75, 57, 45);
  background: rgb(255, 255, 255);
}

:where([data-rf]) .rf .rf-add-row {
  position: relative;
  flex-direction: column;
  gap: 8px;
}

:where([data-rf]) .rf .rf-row-count {
  color: rgb(121, 102, 78);
}

:where([data-rf]) .rf.rf-input #goukei {
  text-align: right;
}

:where([data-rf]) .rf.rf-input #goukei input {
  text-align: center;
}

:where([data-rf]) .rf.rf-input .rf-add-product {
  width: 220px;
  height: 58px;
  max-width: 100%;
  padding: 0px 12px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.9;
  border-radius: 10px;
}

@media (max-width: 768px) {
  :where([data-rf]) .rf.rf-input .rf-add-product {
    width: 180px;
  }
}

:where([data-rf]) .rf-progress {
  display: block;
  max-width: 540px;
  margin: 8px auto 16px;
}

:where([data-rf]) .rf-progress ol {
  display: flex;
  list-style: none;
  padding: 0px;
  margin: 0px;
  gap: 20px;
}

:where([data-rf]) .rf-progress li {
  position: relative;
  flex: 1 1 0%;
  text-align: center;
  border: 1px solid rgb(214, 206, 196);
  border-radius: 8px;
  background: rgb(255, 255, 255);
  color: rgb(121, 102, 78);
  padding: 6px;
  font-size: 14px;
}

:where([data-rf]) .rf-progress li:not(:last-child)::after {
  content: "›";
  position: absolute;
  right: -15px;
  color: rgb(121, 102, 78);
}

:where([data-rf]) .rf-progress li.is-current {
  background: rgb(75, 57, 45);
  border-color: rgb(75, 57, 45);
  color: rgb(255, 255, 255);
  font-weight: 700;
}

:where([data-rf]) .rf.rf-input select[name="b_nen"] {
  width: 120px;
  flex: 1.4 1 0px;
}

:where([data-rf]) .rf.rf-input select[name="b_tuki"],
:where([data-rf]) .rf.rf-input select[name="b_hi"] {
  width: 85px;
  max-width: none;
}

:where([data-rf]) .rf-count-unit {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  max-width: 100%;
}

:where([data-rf]) .rf-confirm .rf-confirm-value {
  display: inline-block;
  padding: 5px 0px;
  margin-right: 8px;
  font-size: 16px;
  overflow-wrap: anywhere;
}

:where([data-rf]) .rf-confirm .rf-confirm-intro {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 24px;
}

:where([data-rf]) .rf-confirm .rf-birth-confirm .box-input {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

:where([data-rf]) .rf-confirm .rf-birth-value {
  min-width: 42px;
  margin: 0px;
}

:where([data-rf]) .rf-confirm .rf-birth-value:first-of-type {
  min-width: 60px;
}

:where([data-rf]) .rf-confirm .btncenter .cancelbtn {
  width: auto;
  max-width: 100%;
  border: 1.5px solid rgb(75, 57, 45);
  color: rgb(75, 57, 45);
  background: rgb(255, 255, 255);
  font-size: 14px;
  font-weight: 400;
  padding: 11px 16px;
  min-height: 46px;
}

:where([data-rf]) .rf .rf-choice-readonly {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 18px;
}

:where([data-rf]) .rf .rf-choice-readonly input:disabled {
  opacity: 1;
  cursor: default;
}

:where([data-rf]) .rf .rf-confirm-gender {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

:where([data-rf]) .rf.rf-confirm .entry_no {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgb(211, 154, 87);
  border-radius: 6px;
  color: rgb(128, 84, 33);
  font-size: 17px;
  font-weight: 700;
  background: rgb(255, 255, 255);
  flex-shrink: 0;
}

:where([data-rf]) .rf.rf-confirm .entry_row {
  padding: 9px 12px;
  margin: 6px 0px;
}

:where([data-rf]) .rf.rf-confirm .entry-div {
  gap: 6px;
}

:where([data-rf]) .rf.rf-confirm .entry-div .rf-confirm-value {
  padding: 2px 0px;
  margin: 0px;
  line-height: 1.5;
}

@media (max-width: 650px) {
  :where([data-rf]) .rf.rf-confirm .entry-div {
    gap: 3px;
  }
}

:where([data-rf]) .rf-confirm .rf-confirm-source,
:where([data-rf]) .rf-confirm .rf-choice-source {
  display: none !important;
}

:where([data-rf]) .rf .rf-product-row[hidden],
:where([data-rf]) .rf-password-toggle[aria-pressed="false"] .rf-eye-slash {
  display: none;
}

:where([data-rf]) .rf-password-toggle:focus-visible {
  outline: rgb(75, 57, 45) solid 2px;
  outline-offset: 3px;
}

:where([data-rf]) .rf-site-footer {
  --wave-height: clamp(24px,5vw,72px);
  position: relative;
  margin-top: calc(36px + var(--wave-height));
  padding: 28px 20px 24px;
  background: rgb(75, 57, 45);
  color: rgb(255, 255, 255);
  text-align: center;
  font: 14px / 1.8 "Zen Maru Gothic", sans-serif;
}

:where([data-rf]) .rf-footer-wave {
  position: absolute;
  left: 0px;
  top: calc(1px - var(--wave-height));
  display: block;
  width: 100%;
  height: var(--wave-height);
  color: rgb(75, 57, 45);
}

:where([data-rf]) .rf-site-footer img {
  display: block;
  width: 116px;
  height: auto;
  margin: 0px auto 10px;
  filter: brightness(0) invert(1);
}

:where([data-rf]) .rf-site-footer p {
  margin: 6px 0px;
}

:where([data-rf]) .rf-site-footer .rf-footer-company {
  margin: 18px 0px 12px;
  font-size: 13px;
}

:where([data-rf]) .rf-site-footer small {
  font-size: 12px;
}

:where([data-rf]) .rf-footer-permit {
  display: inline-block;
  white-space: nowrap;
  font-size: clamp(10px, 3.1vw, 13px);
}

:where([data-rf]) .rf.rf-input input[name="sonota"],
:where([data-rf]) .rf.rf-input input[name="goukei"] {
  text-align: right;
  padding-right: 14px;
}

:where([data-rf]) .rf-mail-message {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

:where([data-rf]) .rf-mail-icon {
  width: 28px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 3px;
  color: rgb(75, 57, 45);
}

:where([data-rf]) .rf-completion .rf-signature-reminder {
  margin: 0px 0px 20px;
  text-align: left;
}

:where([data-rf]) .rf-completion .rf-signature-reminder strong {
  font-size: 16px;
  font-weight: 500;
  color: rgb(235, 147, 45);
}

@media (max-width: 650px) {
  :where([data-rf]) .rf-site-footer {
    padding: 24px 12px;
  }

  :where([data-rf]) .rf .rf-progress {
    margin: 6px auto 12px;
  }

  :where([data-rf]) .rf .rf-progress li {
    font-size: 13px;
    padding: 5px;
  }

  :where([data-rf]) .rf.rf-input .rf-entry-options {
    margin-bottom: 0px;
  }

  :where([data-rf]) .rf.rf-input .rf-new-intro {
    margin-top: 18px;
  }
}

@media print {
  :where([data-rf]) .rf-site-footer {
    display: none !important;
  }
}

:where([data-rf]) .rf #errormess h2 {
  margin: 0px 0px 8px;
  font-size: 18px;
  line-height: 1.5;
}

:where([data-rf]) .rf #errormess .rf-error-intro {
  margin: 8px 0px;
}

:where([data-rf]) .rf #errormess a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* マイページ */
@media screen {
  :where([data-mp]) * {
    box-sizing: border-box;
  }

  html:where([data-mp]) {
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
  }

  :where([data-mp]) body.mp {
    margin: 0px;
    background: rgb(255, 255, 255);
    color: var(--ink);
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 16px;
    line-height: 1.75;
  }

  :where([data-mp]) button,
  :where([data-mp]) input,
  :where([data-mp]) select {
    font: inherit;
  }

  :where([data-mp]) button,
  :where([data-mp]) a,
  :where([data-mp]) select {
    -webkit-tap-highlight-color: transparent;
  }

  :where([data-mp]) button {
    cursor: pointer;
    color: inherit;
    background: none;
  }

  :where([data-mp]) a {
    color: inherit;
    text-decoration: none;
  }

  :where([data-mp]) a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  :where([data-mp]) button:focus-visible,
  :where([data-mp]) a:focus-visible,
  :where([data-mp]) select:focus-visible {
    outline: 3px solid var(--olive-hover);
    outline-offset: 4px;
  }

  :where([data-mp]) h1,
  :where([data-mp]) h2,
  :where([data-mp]) h3,
  :where([data-mp]) p {
    margin: 0px;
  }

  :where([data-mp]) [hidden] {
    display: none !important;
  }

  :where([data-mp]) body.mp main {
    max-width: 1000px;
    padding: 0px 20px;
    margin: 0px auto;
  }

  :where([data-mp]) .page-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    padding-top: 30px;
    margin-bottom: 26px;
  }

  :where([data-mp]) .page-heading h1 {
    font-size: 28px;
    line-height: 1.5;
    font-weight: 700;
    border-bottom: 3px solid #82D8D8;
    padding-bottom: 7px;
  }

  :where([data-mp]) .page-heading .mp-button {
    font-size: 14px;
    min-height: 40px;
    padding: 7px 16px;
  }

  /* カード・見出し */
  :where([data-mp]) .mp-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgb(255, 255, 255);
    margin-bottom: 24px;
    min-width: 0px;
  }

  :where([data-mp]) .mp-card h2 {
    font-size: 21px;
    line-height: 1.6;
    font-weight: 700;
  }

  :where([data-mp]) .mp-card h3 {
    font-size: 17px;
    line-height: 1.6;
  }

  :where([data-mp]) .mp-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 10px 20px;
    border-radius: 999px;
    line-height: 1.5;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    border: 1px solid transparent;
    white-space: normal;
  }

  :where([data-mp]) .mp-button:hover {
    text-decoration: none;
  }

  :where([data-mp]) .primary {
    background: var(--olive);
    color: rgb(255, 255, 255);
  }

  :where([data-mp]) .primary:hover:not(:disabled) {
    background: var(--olive);
    opacity: 0.75;
  }

  :where([data-mp]) .primary:disabled {
    background: rgb(226, 229, 218);
    color: rgb(113, 111, 102);
    cursor: not-allowed;
  }

  :where([data-mp]) .secondary {
    background: rgb(255, 255, 255);
    border-color: var(--olive);
    color: var(--olive-hover);
  }

  :where([data-mp]) .secondary:hover {
    background: var(--sage);
  }

  :where([data-mp]) .bottom-return {
    display: flex;
    justify-content: center;
    margin: 28px 0px;
  }

  @media (max-width: 650px) {
    :where([data-mp]) body.mp {
      font-size: 15px;
    }

    :where([data-mp]) body.mp main {
      padding: 0px 18px;
    }

    :where([data-mp]) .page-heading {
      padding-top: 24px;
      gap: 12px;
      margin-bottom: 22px;
    }

    :where([data-mp]) .page-heading h1 {
      font-size: 24px;
    }

    :where([data-mp]) .mp-card {
      padding: 22px 18px;
      border-radius: 12px;
    }

    :where([data-mp]) .mp-card h2 {
      font-size: 19px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    html:where([data-mp]) {
      scroll-behavior: auto;
    }
  }

  :where([data-mp]) .field-caption {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
  }

  :where([data-mp]) .flow-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
  }

  :where([data-mp]) .flow-actions .primary {
    width: min(100%, 540px);
  }

  :where([data-mp]) .flow-actions .secondary {
    width: auto;
    min-width: 150px;
  }

  :where([data-mp]) .scroll-hint {
    font-size: 12px;
    color: var(--muted);
    margin: 12px 0px 6px;
	text-align: right;
  }

  :where([data-mp]) .flow-progress {
    display: block;
    max-width: 540px;
    margin: 24px auto 16px;
  }

  :where([data-mp]) .flow-progress ol {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0px;
    padding: 0px;
  }

  :where([data-mp]) .flow-progress li {
    position: relative;
    flex: 1 1 0px;
    text-align: center;
    border: 1px solid rgb(214, 206, 196);
    border-radius: 8px;
    background: rgb(255, 255, 255);
    color: rgb(121, 102, 78);
    padding: 6px;
    font-size: 14px;
  }

  :where([data-mp]) .flow-progress li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -15px;
    top: 50%;
    width: 10px;
    height: 14px;
    transform: translateY(-50%);
    background: rgb(121, 102, 78);
    mask: url("/images/renewal-ui/phosphor/caret-right.svg") center center / contain no-repeat;
  }

  :where([data-mp]) .flow-progress [aria-current="step"] {
    background: #4b392d;
    border-color: #4b392d;
    color: rgb(255, 255, 255);
    font-weight: 700;
  }

  :where([data-mp]) .flow-progress + .page-heading {
    padding-top: 0px;
  }

  :where([data-mp]) .flow-actions.confirm-actions {
    flex-direction: column;
    gap: 28px;
  }

  :where([data-mp]) .confirm-actions .secondary {
    align-self: center;
    min-width: 0px;
    padding-inline: 28px;
  }

  :where([data-mp]) .visually-hidden {
    width: 1px;
    height: 1px;
    padding: 0px;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0px;
    position: absolute !important;
  }

  :where([data-mp]) .mp-password-control {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0px;
    width: 100%;
  }

  :where([data-mp]) .mp-password-control input {
    width: 0px;
    flex: 1 1 0px;
    min-width: 0px;
  }

  :where([data-mp]) .mp-password-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    height: 36px;
    padding: 0px;
    border: 0px;
    border-radius: 4px;
    background: rgb(255, 255, 255);
    color: var(--olive-hover);
    cursor: pointer;
  }

  :where([data-mp]) .mp-password-toggle .rf-eye-slash {
    display: none;
  }

  :where([data-mp]) .mp-password-toggle[aria-pressed="true"] .rf-eye-slash {
    display: block;
  }

  @media (max-width: 650px) {
    :where([data-mp]) .flow-actions {
      flex-direction: column;
    }

    :where([data-mp]) .flow-actions .primary {
      width: 100%;
    }

    :where([data-mp]) .flow-actions .secondary {
      align-self: center;
    }

    :where([data-mp]) .flow-progress {
      margin: 20px auto 12px;
    }

    :where([data-mp]) .flow-progress li {
      font-size: 13px;
      padding: 5px;
    }
  }

  :root:where([data-mp]) {
    --text: #4b392d;
    --olive: #617454;
    --olive-hover: #4f6143;
    --ivory: #fbf9ed;
    --sage: #eef2e5;
    --footer: #4b392d;
    --content-width: 1080px;
  }

  :where([data-mp]) .mp,
  :where([data-mp]) .mp-top-olive {
    --ink: #4b392d;
    --accent: #617454;
    --accent-dark: #4f6143;
    --soft: #fbf9ed;
    --line: #d9ddcf;
    --muted: #756c60;
  }

  :where([data-mp]) .top-header,
  :where([data-mp]) .mp-header {
    background: rgb(255, 255, 255);
    border-top: 0px;
    border-right: 0px;
    border-left: 0px;
    border-image: none;
    border-bottom: 1px solid var(--line);
  }

  :where([data-mp]) .top-header-inner,
  :where([data-mp]) .mp-head {
    max-width: 1200px;
    min-height: 68px;
    padding: 8px 24px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }

  :where([data-mp]) .top-header .brand img,
  :where([data-mp]) .mp-head > a img {
    display: block;
    width: 110px;
    height: auto;
  }

  :where([data-mp]) .desktop-header-links {
    display: none;
  }

  :where([data-mp]) .page-heading h1 .heading-unit {
    display: inline-block;
  }

  :where([data-mp]) .page-logout {
    display: flex;
    justify-content: center;
    margin: 64px 0px 56px;
  }

  :where([data-mp]) .page-logout .logout-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 520px;
    min-height: 48px;
    padding: 10px 20px;
    border: 1px solid var(--olive);
    border-radius: 4px;
    background: rgb(255, 255, 255);
    color: var(--olive-hover);
    font: 500 18px / 1.5 "Zen Maru Gothic", sans-serif;
    text-align: center;
    text-decoration: none;
  }

  :where([data-mp]) .page-logout .logout-button:hover {
    background: var(--sage);
  }

  :where([data-mp]) .breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin: 24px 0px 0px;
    padding: 16px 0px 0px;
    border-top: 1px solid var(--line);
    font: 12px / 1.8 "Zen Maru Gothic", sans-serif;
    color: var(--muted);
  }

  :where([data-mp]) .breadcrumbs a {
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  :where([data-mp]) .site-footer {
    color: rgb(255, 255, 253);
    font-family: "Zen Maru Gothic", sans-serif;
  }

  :where([data-mp]) .site-footer-wave-space {
    display: flex;
    align-items: flex-end;
    height: max(85px, 9.44444vw);
  }

  :where([data-mp]) .site-footer-wave {
    width: 100%;
    aspect-ratio: 2880 / 272;
    margin-bottom: -1px;
    background: var(--footer);
    mask: url("/images/renewal-ui/footer-wave.png") center center / 100% 100% no-repeat;
  }

  :where([data-mp]) .site-footer-body {
    background: var(--footer);
    padding: 32px 20px 36px;
    text-align: center;
  }

  :where([data-mp]) .site-footer-logo {
    display: block;
    width: 120px;
    height: auto;
    margin: 0px auto 18px;
  }

  :where([data-mp]) .site-footer-copyright {
    font-size: 12px;
    line-height: 1.9;
    margin: 0px;
  }

  :where([data-mp]) .site-footer-company {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.9;
    margin: 22px 0px 0px;
  }

  :where([data-mp]) .site-footer-permit {
    white-space: nowrap;
    font-size: clamp(9px, 3vw, 12px);
  }

  :where([data-mp]) .site-footer a:focus-visible {
    outline: rgb(255, 255, 255) solid 3px;
    outline-offset: 5px;
  }

  :where([data-mp]) .rf-reprint {
    --line: #d9ddcf;
    --muted: #756c60;
    color: var(--text);
  }

  :where([data-mp]) .rf-reprint > header {
    background: rgb(255, 255, 255);
    border-bottom: 1px solid var(--line);
  }

  :where([data-mp]) .rf-reprint .head {
    max-width: 1200px;
    min-height: 68px;
    padding: 8px 24px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  :where([data-mp]) .rf-reprint .head .logo {
    width: 110px;
    height: auto;
  }

  :where([data-mp]) .rf-reprint .variant-title {
    border-color: #82D8D8;
    font-size: 28px;
    line-height: 1.5;
  }

  :where([data-mp]) .rf-reprint .variant-sub {
    font-size: 14px;
    line-height: 1.8;
  }

  :where([data-mp]) .rf-reprint .preview-note {
    font-size: 16px;
    line-height: 1.75;
  }

  :where([data-mp]) .rf-reprint .rf-print-button {
    background: var(--olive);
    color: rgb(255, 255, 255);
    font-size: 18px;
    font-weight: 500;
    border-radius: 999px;
    min-height: 48px;
  }

  :where([data-mp]) .rf-reprint .reprint-back {
    border-color: var(--olive);
    color: var(--olive-hover);
    background: rgb(255, 255, 255);
    border-radius: 999px;
    font: 500 14px / 1.6 "Zen Maru Gothic", sans-serif;
  }

  @media screen and (max-width: 960px) {
    :where([data-mp]) .top-header-inner,
    :where([data-mp]) .mp-head,
    :where([data-mp]) .rf-reprint .head {
      padding-right: 88px;
    }
  }

  @media screen and (min-width: 961px) {
    :where([data-mp]) .top-header-inner,
    :where([data-mp]) .mp-head {
      min-height: 80px;
    }

    :where([data-mp]) .top-header .brand img,
    :where([data-mp]) .mp-head > a img {
      width: 145px;
    }

    :where([data-mp]) .desktop-header-links {
      display: flex;
      gap: 24px;
      font-size: 14px;
    }

    :where([data-mp]) .desktop-header-links a {
      text-decoration: none;
    }
  }

  @media (max-width: 650px) {
    :where([data-mp]) .breadcrumbs {
      font-size: 11px;
    }

    :where([data-mp]) .rf-reprint .variant-title {
      font-size: 24px;
    }

    :where([data-mp]) .rf-reprint .head {
      padding-left: 18px;
    }

    :where([data-mp]) .rf-reprint .head .logo {
      width: 100px;
    }
  }

  :where([data-mp]) body.menu-open {
    overflow: hidden;
  }

  :where([data-mp]) .top-header-inner,
  :where([data-mp]) .mp-head,
  :where([data-mp]) .head {
    position: relative;
  }

  :where([data-mp]) .site-menu-toggle,
  :where([data-mp]) .site-menu-close {
    position: absolute;
    top: 0px;
    right: 0px;
    display: block;
    width: 75px;
    height: 68px;
    min-height: 68px;
    margin: 0px;
    padding: 0px;
    border: 0px;
    border-radius: 0px 0px 0px 14px;
    background: rgb(69, 204, 90);
    color: rgb(255, 255, 253);
    font-family: "Zen Maru Gothic", sans-serif;
    cursor: pointer;
  }

  :where([data-mp]) .site-menu-toggle:focus-visible,
  :where([data-mp]) .site-menu-close:focus-visible {
    outline: rgb(75, 57, 45) solid 3px;
    outline-offset: -5px;
  }

  :where([data-mp]) .site-menu-symbol {
    position: absolute;
    top: 18px;
    left: 0px;
    width: 100%;
  }

  :where([data-mp]) .site-menu-symbol > span {
    display: block;
    width: 60%;
    height: 3px;
    margin: 0px auto;
    border-radius: 1.5px;
    background: currentcolor;
  }

  :where([data-mp]) .site-menu-symbol > span + span {
    margin-top: 8px;
  }

  :where([data-mp]) .site-menu-caption {
    position: absolute;
    bottom: 14px;
    left: 0px;
    width: 100%;
    text-align: center;
    font: 700 10px / 1.2 sans-serif;
    letter-spacing: 0.03em;
  }

  :where([data-mp]) .site-menu-close .site-menu-symbol {
    top: 24px;
  }

  :where([data-mp]) .site-menu-close .site-menu-symbol > span {
    transform: rotate(15deg);
  }

  :where([data-mp]) .site-menu-close .site-menu-symbol > span + span {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    margin-top: 0px;
    transform: rotate(-15deg);
  }

  :where([data-mp]) .site-menu {
    position: fixed;
    inset: 0px;
    width: 100%;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0px;
    padding: 0px;
    border: 0px;
    border-radius: 0px;
    background: rgb(247, 253, 232);
    color: rgb(75, 57, 45);
    box-sizing: border-box;
    overflow-y: auto;
    overscroll-behavior: contain;
    font: 500 13px / 1.85 "Zen Maru Gothic", sans-serif;
  }

  :where([data-mp]) .site-menu::backdrop {
    background: rgb(247, 253, 232);
  }

  :where([data-mp]) .site-menu-inner {
    width: 100%;
    max-width: 560px;
    margin: 0px auto;
    padding: 85px 20px 24px;
    box-sizing: border-box;
  }

  :where([data-mp]) .site-menu-heading {
    position: absolute;
    inset: 0px 0px auto;
    height: 68px;
  }

  :where([data-mp]) .site-menu-heading > a {
    display: block;
    width: 110px;
    margin: 24px auto 0px;
  }

  :where([data-mp]) .site-menu-heading img {
    display: block;
    width: 110px;
    height: auto;
    max-width: 100%;
  }

  :where([data-mp]) .site-menu nav {
    display: block;
  }

  :where([data-mp]) .site-menu ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
  }

  :where([data-mp]) .site-menu li {
    margin: 0px;
    padding: 0px;
  }

  :where([data-mp]) .site-menu a {
    color: inherit;
    text-decoration: none;
  }

  :where([data-mp]) .site-menu-links li + li {
    margin-top: 6px;
  }

  :where([data-mp]) .site-menu-links a {
    display: block;
    min-height: 54px;
    padding: 15px 8px;
    border-radius: 6px;
    background: rgb(255, 255, 253);
    text-align: center;
    box-sizing: border-box;
  }

  :where([data-mp]) .site-menu .site-menu-actions {
    display: grid;
    grid-template-columns: minmax(0px, 1fr) minmax(0px, 1fr);
    gap: 12px;
    margin-top: 16px;
  }

  :where([data-mp]) .site-menu .site-menu-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 12px 5px;
    border-radius: 6px;
    background: rgb(69, 204, 90);
    color: #fff;
    text-align: center;
    font-weight: 700;
    box-sizing: border-box;
  }

  :where([data-mp]) .site-menu a:focus-visible {
    outline: rgb(75, 57, 45) solid 3px;
    outline-offset: 2px;
  }

  @media (hover: hover) {
    :where([data-mp]) .site-menu-links a:hover {
      color: rgb(40, 123, 53);
      background: rgb(255, 255, 255);
    }

    :where([data-mp]) .site-menu-actions a:hover,
    :where([data-mp]) .site-menu-toggle:hover,
    :where([data-mp]) .site-menu-close:hover {
      background: rgb(53, 158, 70);
    }
  }

  @media screen and (max-width: 960px) {
    :where([data-mp]) .top-header-inner {
      min-height: 68px;
      padding-right: 88px;
    }

    :where([data-mp]) .mp-head {
      min-height: 68px;
      padding-right: 88px;
    }

    :where([data-mp]) .head {
      min-height: 68px;
      padding-right: 88px;
    }

    :where([data-mp]) .head .site-menu-toggle {
      margin: 0px;
    }
  }

  @media screen and (min-width: 961px) {
    :where([data-mp]) .site-menu-toggle {
      display: none;
    }
  }

  :where([data-mp]) body.mp-top-olive {
    margin: 0px;
    background: rgb(255, 255, 255);
    color: var(--text);
    font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;
    overflow-wrap: break-word;
  }

  :where([data-mp]) .mp-top-olive button,
  :where([data-mp]) .mp-top-olive select {
    font: inherit;
  }

  :where([data-mp]) .mp-top-olive button,
  :where([data-mp]) .mp-top-olive a {
    -webkit-tap-highlight-color: transparent;
  }

  :where([data-mp]) .mp-top-olive button {
    cursor: pointer;
  }

  :where([data-mp]) .mp-top-olive a {
    color: inherit;
    text-underline-offset: 0.22em;
  }

  :where([data-mp]) .mp-top-olive img {
    display: block;
    max-width: 100%;
    height: auto;
  }

  :where([data-mp]) .mp-top-olive h1,
  :where([data-mp]) .mp-top-olive h2,
  :where([data-mp]) .mp-top-olive p,
  :where([data-mp]) .mp-top-olive dl,
  :where([data-mp]) .mp-top-olive dd {
    margin: 0px;
  }

  :where([data-mp]) .mp-top-olive ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
  }

  :where([data-mp]) .mp-top-olive a:focus-visible,
  :where([data-mp]) .mp-top-olive button:focus-visible,
  :where([data-mp]) .mp-top-olive select:focus-visible,
  :where([data-mp]) .mp-top-olive summary:focus-visible {
    outline: 3px solid var(--olive-hover);
    outline-offset: 4px;
  }

  :where([data-mp]) .mp-top-olive .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0px;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0px;
  }

  :where([data-mp]) .mp-top-olive .skip-link {
    position: absolute;
    top: -100px;
    left: 12px;
    z-index: 20;
    padding: 8px 16px;
    background: rgb(255, 255, 255);
  }

  :where([data-mp]) .mp-top-olive .skip-link:focus {
    top: 8px;
  }

  :where([data-mp]) .mp-top-olive .icon {
    display: inline-block;
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    background: #4b392d;
    mask-position: center center;
    mask-size: contain;
    mask-repeat: no-repeat;
  }

  :where([data-mp]) .mp-top-olive .icon-chevron {
    width: 18px;
    height: 18px;
    mask-image: url("/images/renewal-ui/phosphor/caret-right.svg");
  }

  :where([data-mp]) .mp-top-olive .icon-user {
    mask-image: url("/images/renewal-ui/phosphor/user.svg");
  }

  :where([data-mp]) .mp-top-olive .icon-mail {
    mask-image: url("/images/renewal-ui/phosphor/envelope-simple.svg");
  }

  :where([data-mp]) .mp-top-olive .icon-lock {
    mask-image: url("/images/renewal-ui/phosphor/lock-simple.svg");
  }

  :where([data-mp]) .mp-top-olive .top-content {
    width: min(100% - 32px, var(--content-width));
    margin-inline: auto;
  }

  :where([data-mp]) .mp-top-olive .page-heading {
    padding: 20px 8px 0px;
    margin-bottom: 12px;
  }

  :where([data-mp]) .mp-top-olive .greeting {
    margin-bottom: 2px;
    font-size: 14px;
    line-height: 1.6;
  }

  :where([data-mp]) .mp-top-olive h1 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.035em;
  }

  /* 査定状況 */
  :where([data-mp]) .mp-top-olive .assessment-section {
    position: relative;
    padding: 14px;
    background: var(--ivory);
    border-radius: 14px;
  }

  :where([data-mp]) .mp-top-olive #assessment-content {
    position: relative;
  }

  :where([data-mp]) .mp-top-olive .assessment-art {
    position: relative;
    height: 72px;
    margin-bottom: 8px;
    pointer-events: none;
  }

  :where([data-mp]) .mp-top-olive .report-illustration {
    width: 72px;
    height: 72px;
    object-fit: contain;
  }

  :where([data-mp]) .mp-top-olive .botanical-illustration {
    position: absolute;
    top: -10px;
    right: -8px;
    width: 90px;
    height: 135px;
    object-fit: contain;
    opacity: 0.7;
  }

  :where([data-mp]) .mp-top-olive .assessment-copy {
    position: relative;
  }

  :where([data-mp]) .mp-top-olive .assessment-section h2 {
    font-size: 22px;
    line-height: 1.5;
    font-weight: 700;
    letter-spacing: 0.015em;
  }

  :where([data-mp]) .mp-top-olive .assessment-description {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.75;
  }

  :where([data-mp]) .mp-top-olive .mobile-break {
    display: none;
  }

  :where([data-mp]) .mp-top-olive .assessment-meta {
    display: grid;
    gap: 4px;
    margin: 14px 0px;
    padding-top: 10px;
    border-top: 1px solid rgb(206, 210, 191);
    font-size: 14px;
    line-height: 1.6;
  }

  :where([data-mp]) .mp-top-olive .assessment-meta > div {
    display: flex;
    flex-wrap: wrap;
    column-gap: 8px;
  }

  :where([data-mp]) .mp-top-olive .assessment-meta dd {
    font-weight: 500;
  }

  :where([data-mp]) .mp-top-olive .action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    padding: 7px 15px;
    border: 1px solid var(--olive);
    border-radius: 999px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
  }

  :where([data-mp]) .mp-top-olive .primary-action {
    position: relative;
    width: 100%;
    min-height: 54px;
    padding-inline: 32px;
    color: rgb(255, 255, 255);
    background: var(--olive);
  }

  :where([data-mp]) .mp-top-olive .primary-action > .icon {
    position: absolute;
    right: 16px;
  }

  :where([data-mp]) .mp-top-olive .outline-action {
    color: var(--olive-hover);
    background: rgb(255, 255, 255);
  }

  :where([data-mp]) .mp-top-olive .section-heading {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
  }

  :where([data-mp]) .mp-top-olive .section-description {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.7;
  }

  :where([data-mp]) .mp-top-olive .reprint-section,
  :where([data-mp]) .mp-top-olive .account-section {
    margin-inline: 8px;
  }

  :where([data-mp]) .mp-top-olive .reprint-section {
    margin-top: 26px;
  }

  :where([data-mp]) .mp-top-olive .reprint-list {
    margin-top: 10px;
    border-top: 1px solid var(--line);
  }

  :where([data-mp]) .mp-top-olive .reprint-item {
    display: grid;
    grid-template-columns: minmax(0px, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px 0px;
    border-bottom: 1px solid var(--line);
  }

  :where([data-mp]) .mp-top-olive .record-info {
    min-width: 0px;
    font-size: 14px;
    line-height: 1.5;
  }

  :where([data-mp]) .mp-top-olive .application-number {
    font-weight: 500;
  }

  :where([data-mp]) .mp-top-olive .reprint-item .action-button {
    min-width: 138px;
    padding-inline: 12px;
  }

  :where([data-mp]) .mp-top-olive .account-section {
    margin-top: 28px;
  }

  :where([data-mp]) .mp-top-olive .account-links {
    margin-top: 10px;
  }

  :where([data-mp]) .mp-top-olive .account-links li {
    border-bottom: 1px solid var(--line);
  }

  :where([data-mp]) .mp-top-olive .account-links a {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 58px;
    padding: 8px 0px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
  }

  :where([data-mp]) .mp-top-olive .icon-badge {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--sage);
    color: var(--olive-hover);
  }

  :where([data-mp]) .mp-top-olive .account-links a > .icon {
    width: 17px;
    height: 17px;
    margin-left: auto;
    color: var(--olive-hover);
  }

  :where([data-mp]) .mp-top-olive .empty-message {
    padding-block: 18px;
    font-size: 17px;
    line-height: 1.8;
    font-weight: 500;
  }

  :where([data-mp]) .mp-top-olive .success-note {
    margin-bottom: 18px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--sage);
    font-size: 14px;
  }

  :where([data-mp]) .mp-top-olive .mock-tools {
    border-top: 1px dashed var(--line);
    padding: 16px 20px;
    background: rgb(255, 255, 255);
    font-size: 12px;
  }

  :where([data-mp]) .mp-top-olive .mock-tools details {
    max-width: var(--content-width);
    margin-inline: auto;
  }

  :where([data-mp]) .mp-top-olive .mock-tools summary {
    cursor: pointer;
  }

  :where([data-mp]) .mp-top-olive .mock-tools-inner {
    padding-top: 12px;
  }

  :where([data-mp]) .mp-top-olive .mock-tools select {
    display: block;
    width: min(100%, 340px);
    margin: 5px 0px 12px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: rgb(255, 255, 255);
    color: var(--text);
  }

  :where([data-mp]) .mp-top-olive .mock-tools p + p {
    margin-top: 8px;
  }

  @media (hover: hover) {
    :where([data-mp]) .mp-top-olive .primary-action:hover {
      background: var(--olive-hover);
    }

    :where([data-mp]) .mp-top-olive .outline-action:hover,
    :where([data-mp]) .mp-top-olive .account-links a:hover {
      background: var(--sage);
    }
  }

  @media (max-width: 359px) {
    :where([data-mp]) .mp-top-olive .top-content {
      width: calc(100% - 32px);
    }

    :where([data-mp]) .mp-top-olive .assessment-section {
      padding: 18px 16px;
    }

    :where([data-mp]) .mp-top-olive .assessment-section h2 {
      font-size: 21px;
    }

    :where([data-mp]) .mp-top-olive .mobile-break {
      display: initial;
    }

    :where([data-mp]) .mp-top-olive .reprint-item {
      gap: 8px;
    }

    :where([data-mp]) .mp-top-olive .reprint-item .action-button {
      min-width: 127px;
      padding-inline: 8px;
    }

    :where([data-mp]) .mp-top-olive .record-info {
      font-size: 13px;
    }

    :where([data-mp]) .mp-top-olive .account-links a {
      gap: 10px;
      font-size: 14px;
    }

    :where([data-mp]) .mp-top-olive .icon-badge {
      width: 38px;
      height: 38px;
      flex-basis: 38px;
    }
  }

  @media (min-width: 650px) {
    :where([data-mp]) .mp-top-olive .mobile-break {
      display: none;
    }

    :where([data-mp]) .mp-top-olive .top-content {
      width: min(100% - 80px, var(--content-width));
    }

    :where([data-mp]) .mp-top-olive .page-heading {
      padding: 32px 0px 0px;
      margin-bottom: 24px;
    }

    :where([data-mp]) .mp-top-olive .reprint-section,
    :where([data-mp]) .mp-top-olive .account-section {
      margin-inline: 0px;
    }

    :where([data-mp]) .mp-top-olive h1 {
      font-size: 32px;
    }

    :where([data-mp]) .mp-top-olive .greeting {
      font-size: 16px;
    }

    :where([data-mp]) .mp-top-olive .assessment-section {
      padding: 28px;
    }

    :where([data-mp]) .mp-top-olive #assessment-content {
      display: grid;
      grid-template-columns: 82px minmax(0px, 1fr);
      column-gap: 24px;
      align-items: center;
    }

    :where([data-mp]) .mp-top-olive .assessment-art {
      align-self: start;
      height: 90px;
      margin: 0px;
      position: static;
    }

    :where([data-mp]) .mp-top-olive .report-illustration {
      width: 82px;
      height: 82px;
    }

    :where([data-mp]) .mp-top-olive .botanical-illustration {
      top: -14px;
      right: -18px;
      width: 100px;
      height: 150px;
      opacity: 0.4;
    }

    :where([data-mp]) .mp-top-olive .assessment-section h2 {
      font-size: 25px;
    }

    :where([data-mp]) .mp-top-olive .assessment-description {
      font-size: 16px;
    }

    :where([data-mp]) .mp-top-olive .assessment-meta {
      font-size: 15px;
      margin-bottom: 0px;
    }

    :where([data-mp]) .mp-top-olive .primary-action {
      grid-column: 2;
      margin-top: 20px;
      max-width: 360px;
    }

    :where([data-mp]) .mp-top-olive .reprint-item {
      padding-block: 22px;
    }

    :where([data-mp]) .mp-top-olive .section-heading {
      font-size: 25px;
    }

    :where([data-mp]) .mp-top-olive .section-description {
      font-size: 15px;
    }

    :where([data-mp]) .mp-top-olive .record-info {
      font-size: 16px;
    }

    :where([data-mp]) .mp-top-olive .account-links a {
      font-size: 17px;
      min-height: 74px;
    }
  }

  @media (min-width: 961px) {
    :where([data-mp]) .mp-top-olive #assessment-content {
      grid-template-columns: 82px minmax(0px, 1fr) 270px;
      column-gap: 26px;
      padding-right: 80px;
    }

    :where([data-mp]) .mp-top-olive .assessment-section h2 {
      font-size: 27px;
    }

    :where([data-mp]) .mp-top-olive .assessment-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px 18px;
    }

    :where([data-mp]) .mp-top-olive .assessment-meta > div + div {
      border-left: 1px solid rgb(206, 210, 191);
      padding-left: 18px;
    }

    :where([data-mp]) .mp-top-olive .primary-action {
      grid-area: 1 / 3;
      margin-top: 0px;
    }

    :where([data-mp]) .mp-top-olive .botanical-illustration {
      top: -20px;
      right: -14px;
      width: 96px;
      height: 158px;
      opacity: 0.6;
    }

    :where([data-mp]) .mp-top-olive .section-intro {
      display: flex;
      flex-wrap: wrap;
      align-items: baseline;
      column-gap: 24px;
    }

    :where([data-mp]) .mp-top-olive .section-description {
      margin-top: 0px;
    }

    :where([data-mp]) .mp-top-olive .record-info {
      display: grid;
      grid-template-columns: 1fr 1.1fr 1fr;
      align-items: center;
      gap: 24px;
    }

    :where([data-mp]) .mp-top-olive .record-info > p + p {
      border-left: 1px solid var(--line);
      padding-left: 24px;
    }

    :where([data-mp]) .mp-top-olive .reprint-item .action-button {
      min-width: 190px;
      margin-left: 20px;
    }

    :where([data-mp]) .mp-top-olive .account-links {
      display: grid;
      grid-template-columns: repeat(3, minmax(0px, 1fr));
      margin-top: 20px;
    }

    :where([data-mp]) .mp-top-olive .account-links li {
      border-bottom: 0px;
    }

    :where([data-mp]) .mp-top-olive .account-links li + li {
      border-left: 1px solid var(--line);
      padding-left: 20px;
      margin-left: 20px;
    }

    :where([data-mp]) .mp-top-olive .account-links a {
      font-size: 16px;
      gap: 12px;
    }
  }

  :where([data-mp]) .mp-top-olive .assessment-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px 8px;
    text-align: center;
  }

  :where([data-mp]) .mp-top-olive .empty-notice-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 84px;
    height: 84px;
    border: 1px solid rgb(217, 221, 207);
    border-radius: 50%;
    background: rgb(255, 255, 255);
    color: var(--olive);
  }

  :where([data-mp]) .mp-top-olive .empty-notice-icon .icon {
    width: 44px;
    height: 44px;
  }

  :where([data-mp]) .mp-top-olive .assessment-empty h2 {
    font-size: 20px;
    line-height: 1.8;
  }

  :where([data-mp]) .mp-top-olive .assessment-empty p {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.8;
  }

  @media (min-width: 650px) {
    :where([data-mp]) .mp-top-olive .assessment-empty {
      flex-direction: row;
      gap: 28px;
      padding: 24px;
      min-height: 180px;
      text-align: left;
    }
  }

  :where([data-mp]) .mp-live main > div,
  :where([data-mp]) .mp-live .mp-form-card {
    min-width: 0px;
  }

  /* 入力欄 */
  :where([data-mp]) .mp-live .box-row {
    display: grid;
    grid-template-columns: 150px minmax(0px, 1fr);
    gap: 20px;
    padding: 18px 0px;
    border-bottom: 1px solid var(--line);
  }

  :where([data-mp]) .mp-live .box-label {
    padding-top: 9px;
    font-size: 15px;
    font-weight: 500;
  }

  :where([data-mp]) .mp-live .box-input,
  :where([data-mp]) .mp-live .box-input0,
  :where([data-mp]) .mp-live .box-input1 {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    min-width: 0px;
  }

  :where([data-mp]) .mp-live .box-input br,
  :where([data-mp]) .mp-live .box-input0 br,
  :where([data-mp]) .mp-live .box-input1 br {
    display: none;
  }

  :where([data-mp]) .mp-live .box-input > label[for="last_name"],
  :where([data-mp]) .mp-live .box-input > label[for="first_name"] {
    display: none;
  }

  :where([data-mp]) .mp-live .field-wrap {
    display: flex;
    flex: 1 1 120px;
    flex-direction: column;
    gap: 2px;
    min-width: 0px;
    border: 1px solid rgb(170, 169, 147);
    border-radius: 8px;
    padding: 7px 12px;
    background: rgb(255, 255, 255);
  }

  :where([data-mp]) .mp-live .field-wrap:focus-within {
    border-color: var(--olive);
  }

  :where([data-mp]) .mp-live .field-wrap input,
  :where([data-mp]) .mp-live .field-wrap select {
    min-width: 0px;
    width: 100%;
    height: 29px;
    border: 0px;
    border-radius: 0px;
    padding: 0px;
    background: transparent;
    color: var(--ink);
    font: 16px / 1.6 "Zen Maru Gothic", sans-serif;
  }

  :where([data-mp]) .mp-live .field-wrap input:focus,
  :where([data-mp]) .mp-live .field-wrap select:focus {
    outline: none;
    box-shadow: none;
  }

  :where([data-mp]) .mp-live .number-field {
    justify-content: center;
    min-height: 48px;
  }

  :where([data-mp]) .mp-live .row-phone .field-wrap,
  :where([data-mp]) .mp-live .row-birthday .field-wrap {
    flex: 1 1 0px;
  }

  :where([data-mp]) .mp-live .row-phone .box-input > span,
  :where([data-mp]) .mp-live .row-birthday .box-input > span {
    display: none;
  }

  :where([data-mp]) .mp-live .row-phone .box-input,
  :where([data-mp]) .mp-live .row-birthday .box-input {
    flex-wrap: nowrap;
    gap: 8px;
  }

  :where([data-mp]) .mp-live .row-address .box-input {
    display: grid;
    grid-template-columns: 1fr;
  }

  :where([data-mp]) .mp-live .single-field {
    display: block;
  }

  :where([data-mp]) .mp-live .single-field > .box-label {
    display: none;
  }

  :where([data-mp]) .mp-live .single-field .field-wrap {
    flex-basis: 100%;
  }

  :where([data-mp]) .mp-live .mp-password-toggle svg {
    width: 22px;
    height: 22px;
  }

  /* エラー表示 */
  :where([data-mp]) .mp-live .server-error {
    max-width: 900px;
    padding: 16px 20px;
    margin: 20px auto;
    border: 1px solid rgb(163, 55, 40);
    border-radius: 10px;
    color: rgb(120, 41, 30);
    font-size: 14px;
    line-height: 1.8;
    overflow-wrap: anywhere;
  }

  :where([data-mp]) .mp-live .server-error:empty,
  :where([data-mp]) .mp-live .server-error[hidden] {
    display: none;
  }

  :where([data-mp]) .mp-live .server-error:focus {
    outline: none;
  }

  :where([data-mp]) .mp-live .server-error div,
  :where([data-mp]) .mp-live .server-error ul {
    border: 0px;
    outline: 0px;
    box-shadow: none;
    margin-block: 0px;
    padding-block: 0px;
  }

  :where([data-mp]) .mp-live .server-error ul {
    padding-left: 1.4em;
  }

  :where([data-mp]) .mp-live .h3title {
    font-size: 19px;
    line-height: 1.7;
    margin: 0px 0px 20px;
  }
  /* 申込番号・申込日：スマホだけ改行 */
:where([data-mp]) .mp-live .h3title > br.br_sp {
  display: none;
}

@media (max-width: 650px) {
  :where([data-mp]) .mp-live .h3title > br.br_sp {
    display: inline;
  }
}

  :where([data-mp]) .mp-live h4 {
    font-size: 16px;
    margin: 22px 0px 8px;
  }

  :where([data-mp]) .mp-live .caption-div,
  :where([data-mp]) .mp-live .miss_ex {
    line-height: 1.9;
    font-size: 14px;
  }

  :where([data-mp]) .mp-live .miss_ex ul {
    margin-top: 12px;
    padding-left: 1.3em;
  }

  :where([data-mp]) .mp-live .miss_ex a,
  :where([data-mp]) .mp-live .box-input a {
    text-decoration: underline;
    text-underline-offset: 4px;
    color: var(--olive-hover);
  }

  :where([data-mp]) .mp-live .mp-form-card {
    margin-top: 18px;
  }

  :where([data-mp]) .mp-live form > br,
  :where([data-mp]) .mp-live .mp-form-card > br,
  :where([data-mp]) .mp-live #data > br {
    display: none;
  }

  :where([data-mp]) .mp-live .btncenter,
  :where([data-mp]) .mp-live form > div[align="center"] {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 24px;
  }

  :where([data-mp]) .mp-live input.mp-button {
    width: auto;
    max-width: 100%;
    white-space: normal;
  }

  :where([data-mp]) .mp-live .submitbtn,
  :where([data-mp]) .mp-live .mp-button.primary {
    min-width: min(100%, 260px);
  }

  :where([data-mp]) .mp-live .submitbtn {
    min-height: 48px;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--olive);
    color: rgb(255, 255, 255);
    font: 500 18px / 1.5 "Zen Maru Gothic", sans-serif;
    cursor: pointer;
  }

  :where([data-mp]) .mp-live .mp-form-card .submitbtn {
    width: min(100%, 540px);
  }

  :where([data-mp]) .mp-live .mp-button.secondary {
    min-width: 0px;
  }

  :where([data-mp]) .mp-live .confirm-actions .primary {
    width: min(100%, 540px);
  }

  :where([data-mp]) .mp-live .confirm-actions .secondary {
    padding-inline: 28px;
  }

  :where([data-mp]) .mp-live .confirm-actions input {
    margin: 0px;
  }

  :where([data-mp]) .mp-live .mp-button:disabled {
    background: rgb(226, 229, 218);
    color: rgb(113, 111, 102);
    cursor: not-allowed;
  }

  :where([data-mp]) .mp-live input[type="checkbox"],
  :where([data-mp]) .mp-live input[type="radio"] {
    accent-color: var(--olive);
  }

  :where([data-mp]) .mp-live input[type="checkbox"]:not(.mp-held-control),
  :where([data-mp]) .mp-live input[type="radio"] {
    width: 18px;
    height: 18px;
  }

  :where([data-mp]) .mp-live .block {
    margin: 22px 0px;
  }

  :where([data-mp]) .mp-live .block:first-of-type {
    margin-top: 0px;
  }

  :where([data-mp]) .mp-live #check {
    margin: 20px 0px;
  }

  :where([data-mp]) .mp-live #check label {
    line-height: 1.9;
    cursor: pointer;
  }

  :where([data-mp]) .mp-live #check > input {
    margin-right: 8px;
  }

  :where([data-mp]) .mp-live .f14-b,
  :where([data-mp]) .mp-live .f14-s {
    font-size: 15px;
    font-weight: 500;
  }

  :where([data-mp]) .mp-live .f14-r,
  :where([data-mp]) .mp-live .attention,
  :where([data-mp]) .mp-live .attention_r {
    font-size: 14px;
    line-height: 1.9;
  }

  :where([data-mp]) .mp-live.mp-login .mp-form-card,
  :where([data-mp]) .mp-live.mp-login .login-help {
    max-width: 650px;
    margin-inline: auto;
  }

  :where([data-mp]) .mp-live .login-help {
    text-align: right;
    font-size: 14px;
    margin-bottom: 28px;
  }

  :where([data-mp]) .mp-live .login-help p {
    margin-top: 14px;
  }

  :where([data-mp]) .mp-live .login-help a {
    color: var(--olive-hover);
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  :where([data-mp]) .mp-live .choice-card {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 13px;
    margin: 10px 0px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgb(255, 255, 255);
  }

  :where([data-mp]) .mp-live .choice-card:has(input:checked) {
    background: var(--ivory);
    border-color: var(--olive);
  }

  :where([data-mp]) .mp-live .choice-card > input[type="radio"] {
    flex: 0 0 auto;
    margin: 5px 0px 0px;
  }

  :where([data-mp]) .mp-live .choice-card label {
    flex: 1 1 0%;
    min-width: 0px;
  }

  :where([data-mp]) .mp-live:not(.mp-confirm) #check > br {
    display: none;
  }

  :where([data-mp]) .mp-live textarea[readonly] {
    width: 100%;
    min-height: 96px;
    height: 140px;
    margin: 12px 0px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--ivory);
    color: var(--ink);
    font: 15px / 1.8 "Zen Maru Gothic", sans-serif;
    resize: vertical;
    box-sizing: border-box;
  }

  :where([data-mp]) .mp-live textarea[readonly]:focus {
    outline: none;
    border-color: var(--olive);
  }

  :where([data-mp]) .mp-live table.shohin {
    width: 100%;
    max-width: 100%;
    border-collapse: separate;
    border-spacing: 0px;
    margin: 20px 0px;
    font-size: 14px;
  }

  :where([data-mp]) .mp-live:not(.mp-live-reprint) main table {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  :where([data-mp]) .mp-live table.shohin td,
  :where([data-mp]) .mp-live table.shohin th {
    padding: 13px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
  }

  :where([data-mp]) .mp-live table.shohin th {
    background: var(--ivory);
    font-weight: 500;
  }

  :where([data-mp]) .mp-live table.shohin .price {
    text-align: right;
    white-space: nowrap;
  }

  :where([data-mp]) .mp-live table.has-sale-column {
    min-width: 640px;
    margin: 0px;
  }

  :where([data-mp]) .mp-live .table-scroll {
    overflow-x: auto;
    max-width: 100%;
    min-width: 0px;
    overscroll-behavior-x: contain;
  }

  :where([data-mp]) .mp-live .has-sale-column th:first-child,
  :where([data-mp]) .mp-live .has-sale-column td:first-child:not([colspan]) {
    position: sticky;
    left: 0px;
    z-index: 1;
    min-width: 64px;
    text-align: center;
    background: rgb(255, 255, 255);
    box-shadow: 1px 0 0 var(--line);
  }

  :where([data-mp]) .mp-live .has-sale-column th:first-child {
    background: var(--ivory);
    z-index: 2;
  }

  :where([data-mp]) .mp-live .has-sale-column td.mark {
    font-size: 0px;
  }

  :where([data-mp]) .mp-live .has-sale-column td.mark b {
    display: none;
  }

  :where([data-mp]) .mp-live .checkblock {
    margin: 24px 0px;
    padding: 18px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--ivory);
    display: flex;
    gap: 10px;
    align-items: flex-start;
  }

  :where([data-mp]) .mp-live .checkblock input {
    flex: 0 0 auto;
    margin-top: 5px;
  }

  :where([data-mp]) .mp-live .checkblock .attention {
    font-size: 14px;
  }

  :where([data-mp]) .mp-live .bank,
  :where([data-mp]) .mp-live .banknumber {
    margin: 16px 0px;
    font-size: 15px;
    line-height: 2;
  }

  :where([data-mp]) .mp-live .bank table {
    max-width: 100%;
  }

  :where([data-mp]) .mp-live .has-confirm-value > input,
  :where([data-mp]) .mp-live .has-confirm-value > span,
  :where([data-mp]) .mp-live .has-confirm-value > br {
    display: none;
  }

  :where([data-mp]) .mp-live .mp-confirm-value {
    font-size: 16px;
    line-height: 1.8;
    overflow-wrap: anywhere;
  }

  :where([data-mp]) .mp-live .mp-held-control {
    display: none !important;
  }

  /* 銀行選択・口座番号：表示調整 20261021 */
  :where([data-mp]) .mp-live #bankpage {
    margin: 18px 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 18px;
    overflow: visible;
    min-width: 0;
  }
  :where([data-mp]) .mp-live #bankpage #contents,
  :where([data-mp]) .mp-live #bankpage .mainbox {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
  }
  :where([data-mp]) .mp-live #bankpage h2 {
    font-size: 18px;
    margin: 0 0 14px;
  }
  :where([data-mp]) .mp-live #bankpage table {
    width: 100%;
    max-width: 100%;
    font-size: 14px;
  }
  :where([data-mp]) .mp-live #bankpage input[type="button"] {
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #fff;
    color: var(--ink);
    font: 16px "Zen Maru Gothic", sans-serif;
  }
  :where([data-mp]) .mp-live #bankpage #edit > br { display: none; }
  :where([data-mp]) .mp-live #bankpage :is(#bank_table2, #bank_table3, #bank_table5, #bank_table6) {
    display: block;
    width: 100%;
    max-width: 700px;
    margin: 18px 0 0;
  }
  :where([data-mp]) .mp-live #bankpage :is(#bank_table2, #bank_table3, #bank_table5, #bank_table6) > tbody {
    display: block;
  }
  :where([data-mp]) .mp-live #bankpage :is(#bank_table2, #bank_table3, #bank_table5, #bank_table6) > tbody > tr {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 8px 16px;
    padding: 10px 0;
    align-items: start;
  }
  :where([data-mp]) .mp-live #bankpage :is(#bank_table2, #bank_table3, #bank_table5, #bank_table6) > tbody > tr > :is(td, th) {
    display: block;
    min-width: 0;
    width: auto;
    padding: 0;
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
    font-weight: 400;
    line-height: 1.8;
  }
  :where([data-mp]) .mp-live #bankpage :is(#bank_table2, #bank_table3, #bank_table5, #bank_table6) > tbody > tr > th {
    font-weight: 500;
    word-break: keep-all;
  }
  :where([data-mp]) .mp-live #bankpage :is(#bank_table2, #bank_table3, #bank_table5, #bank_table6) > tbody > tr > td > br {
    display: none;
  }

  /* 金融機関・支店の五十音。元の表のセルとボタンをそのまま配置する。 */
  :where([data-mp]) .mp-live #bankpage :is(#bank_table1, #bank_table4) {
    display: block;
    width: 100%;
    max-width: 620px;
    margin: 14px 0 0;
  }
  :where([data-mp]) .mp-live #bankpage :is(#bank_table1, #bank_table4) > tbody {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 8px 6px;
  }
  :where([data-mp]) .mp-live #bankpage :is(#bank_table1, #bank_table4) > tbody > tr { display: contents; }
  :where([data-mp]) .mp-live #bankpage :is(#bank_table1, #bank_table4) > tbody > tr:nth-child(1) { --bank-row: 1; }
  :where([data-mp]) .mp-live #bankpage :is(#bank_table1, #bank_table4) > tbody > tr:nth-child(2) { --bank-row: 2; }
  :where([data-mp]) .mp-live #bankpage :is(#bank_table1, #bank_table4) > tbody > tr:nth-child(3) { --bank-row: 3; }
  :where([data-mp]) .mp-live #bankpage :is(#bank_table1, #bank_table4) > tbody > tr:nth-child(4) { --bank-row: 4; }
  :where([data-mp]) .mp-live #bankpage :is(#bank_table1, #bank_table4) > tbody > tr:nth-child(5) { --bank-row: 5; }
  :where([data-mp]) .mp-live #bankpage :is(#bank_table1, #bank_table4) > tbody > tr:nth-child(-n+5) > td {
    display: block;
    grid-row: var(--bank-row);
    min-width: 0;
    padding: 0;
    text-align: center;
    font-size: 0;
  }
  :where([data-mp]) .mp-live #bankpage :is(#bank_table1, #bank_table4) > tbody > tr > td:nth-child(1) { grid-column: 1; }
  :where([data-mp]) .mp-live #bankpage :is(#bank_table1, #bank_table4) > tbody > tr > td:nth-child(2) { grid-column: 2; }
  :where([data-mp]) .mp-live #bankpage :is(#bank_table1, #bank_table4) > tbody > tr > td:nth-child(3) { grid-column: 3; }
  :where([data-mp]) .mp-live #bankpage :is(#bank_table1, #bank_table4) > tbody > tr > td:nth-child(4) { grid-column: 4; }
  :where([data-mp]) .mp-live #bankpage :is(#bank_table1, #bank_table4) > tbody > tr > td:nth-child(5) { grid-column: 5; }
  :where([data-mp]) .mp-live #bankpage :is(#bank_table1, #bank_table4) > tbody > tr > td:nth-child(6) { grid-column: 6; }
  :where([data-mp]) .mp-live #bankpage :is(#bank_table1, #bank_table4) > tbody > tr > td:nth-child(7) { grid-column: 7; }
  :where([data-mp]) .mp-live #bankpage :is(#bank_table1, #bank_table4) > tbody > tr > td:nth-child(8) { grid-column: 8; }
  :where([data-mp]) .mp-live #bankpage :is(#bank_table1, #bank_table4) > tbody > tr > td:nth-child(9) { grid-column: 9; }
  :where([data-mp]) .mp-live #bankpage :is(#bank_table1, #bank_table4) > tbody > tr > td:nth-child(10) { grid-column: 10; }
  :where([data-mp]) .mp-live #bankpage :is(#bank_table1, #bank_table4) input.kanab {
    width: 100%;
    max-width: 56px;
    min-width: 0;
    min-height: 44px;
    padding: 4px 0;
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
  }
  :where([data-mp]) .mp-live #bankpage input.kanab:disabled {
    color: #a0a294;
    border-color: #e1e4d9;
    background: #f5f5ef;
    cursor: default;
  }
  :where([data-mp]) .mp-live #bankpage #bank_table4 #button_td {
    display: block;
    grid-column: 1 / -1;
    grid-row: 6;
    padding: 6px 0 0;
    text-align: left;
  }
  :where([data-mp]) .mp-live #bankpage #button_td > br { display: none; }

  /* 一覧は、候補が少なくても横幅を確保する。1件なら高さも短くする。 */
  :where([data-mp]) .mp-live #bankpage :is(#bank_select, #branch) {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 480px;
    height: 220px;
    min-height: 160px;
    margin: 8px 0 0;
    padding: 8px;
    border: 1px solid rgb(170, 169, 147);
    border-radius: 6px;
    font: 16px "Zen Maru Gothic", sans-serif;
  }
  :where([data-mp]) .mp-live #bankpage :is(#bank_select, #branch):has(option:only-child) {
    min-height: 64px;
    height: 64px;
  }
  :where([data-mp]) .mp-live #bankpage input[type="button"]:is(.button_return, .button_next, .button_confirmation) {
    min-width: 80px;
    min-height: 44px;
    margin: 14px 4px 0 0;
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    vertical-align: middle;
  }
  :where([data-mp]) .mp-live #bankpage input[type="button"]:is(.button_next, .button_confirmation) {
    color: #fff;
    border-color: var(--olive);
    background: var(--olive);
  }
  :where([data-mp]) .mp-live #bankpage #bank_table6 .button_return { display: block; }

  /* 口座番号は外側のfield-wrapだけを枠にする。入力値・送信項目は維持。 */
  :where([data-mp]) .mp-live .banknumber .field-wrap {
    width: 100%;
    max-width: 360px;
  }
  :where([data-mp]) .mp-live .banknumber .field-wrap input {
    width: 100%;
    min-width: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    max-width: 100%;
    min-height: 44px;
    font: 16px "Zen Maru Gothic", sans-serif;
    padding: 6px 12px;
  }

  :where([data-mp]) .mp-live #bankpage select:focus {
    outline: none;
    border-color: var(--olive);
  }
  :where([data-mp]) .mp-live .banknumber .field-wrap input:focus {
    outline: none;
  }

  :where([data-mp]) .mp-top-olive .page-heading {
    display: block;
  }

  :where([data-mp]) .mp-top-olive .page-heading h1 {
    border: 0px;
    padding-bottom: 0px;
  }

  :where([data-mp]) .mp-top-olive .live-assessment-list {
    margin-top: 18px;
  }

  :where([data-mp]) .mp-top-olive .live-assessment-list li + li {
    margin-top: 12px;
  }

  :where([data-mp]) .mp-top-olive .live-assessment-list a {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
    text-decoration: none;
  }

  :where([data-mp]) .mp-top-olive .live-record-text {
    font-size: 14px;
    line-height: 1.8;
    min-width: 0px;
    overflow-wrap: anywhere;
  }

  :where([data-mp]) .mp-top-olive .live-record-action {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    border: 1px solid var(--olive);
    border-radius: 999px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    white-space: nowrap;
  }

  :where([data-mp]) .mp-top-olive .live-assessment-list .live-record-action {
    background: var(--olive);
    color: rgb(255, 255, 255);
  }

  :where([data-mp]) .mp-top-olive .live-reprint-list li {
    padding: 18px 0px;
    border-bottom: 1px solid var(--line);
  }

  :where([data-mp]) .mp-top-olive .live-reprint-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-decoration: none;
  }

  :where([data-mp]) .mp-top-olive .live-reprint-list .live-record-action {
    color: var(--olive-hover);
    font-size: 16px;
    padding-inline: 16px;
  }

  :where([data-mp]) .mp-top-olive #assessment-content {
    display: grid;
    grid-template-columns: 82px minmax(0px, 1fr);
    padding-right: 80px;
  }

  :where([data-mp]) .mp-top-olive #assessment-content .assessment-copy {
    min-width: 0px;
  }

  @media (max-width: 650px) {
    :where([data-mp]) .mp-live .box-row {
      display: block;
      padding-block: 16px;
    }

    :where([data-mp]) .mp-live .box-label {
      padding: 0px;
      margin-bottom: 10px;
    }

    :where([data-mp]) .mp-live .mp-form-card {
      padding: 22px 18px;
    }

    :where([data-mp]) .mp-live .field-wrap {
      flex-basis: 100px;
    }

    :where([data-mp]) .mp-live .single-field .field-wrap {
      flex-basis: 100%;
    }

    :where([data-mp]) .mp-live .mp-form-card .submitbtn,
    :where([data-mp]) .mp-live .confirm-actions .primary {
      width: 100%;
      min-width: 0px;
    }

    :where([data-mp]) .mp-live .mp-button {
      max-width: 100%;
    }

    :where([data-mp]) .mp-live #bankpage { padding: 14px 10px; }
    :where([data-mp]) .mp-live #bankpage :is(#bank_table2, #bank_table3, #bank_table5) > tbody > tr {
      grid-template-columns: minmax(0, 1fr);
      gap: 6px;
    }
    :where([data-mp]) .mp-live #bankpage #bank_table6 > tbody > tr {
      grid-template-columns: 108px minmax(0, 1fr);
      gap: 10px;
    }
    :where([data-mp]) .mp-live #bankpage :is(#bank_table1, #bank_table4) > tbody {
      grid-template-columns: repeat(5, minmax(0, 1fr));
      grid-template-rows: repeat(5, auto) 12px repeat(5, auto);
      gap: 6px 4px;
    }
    :where([data-mp]) .mp-live #bankpage :is(#bank_table1, #bank_table4) > tbody > tr:nth-child(-n+5) > td:nth-child(n+6) {
      grid-row: calc(var(--bank-row) + 6);
    }
    :where([data-mp]) .mp-live #bankpage :is(#bank_table1, #bank_table4) > tbody > tr > td:nth-child(6) { grid-column: 1; }
    :where([data-mp]) .mp-live #bankpage :is(#bank_table1, #bank_table4) > tbody > tr > td:nth-child(7) { grid-column: 2; }
    :where([data-mp]) .mp-live #bankpage :is(#bank_table1, #bank_table4) > tbody > tr > td:nth-child(8) { grid-column: 3; }
    :where([data-mp]) .mp-live #bankpage :is(#bank_table1, #bank_table4) > tbody > tr > td:nth-child(9) { grid-column: 4; }
    :where([data-mp]) .mp-live #bankpage :is(#bank_table1, #bank_table4) > tbody > tr > td:nth-child(10) { grid-column: 5; }
    :where([data-mp]) .mp-live #bankpage #bank_table4 #button_td {
      grid-row: 12;
      grid-column: 1 / -1;
    }

    :where([data-mp]) .mp-live .banknumber {
      overflow-wrap: anywhere;
    }

    :where([data-mp]) .mp-live .box-input > .attention {
      width: 100%;
    }

    :where([data-mp]) .mp-top-olive #assessment-content {
      display: block;
      padding-right: 0px;
    }

    :where([data-mp]) .mp-top-olive .live-assessment-list a {
      display: block;
    }

    :where([data-mp]) .mp-top-olive .live-assessment-list .live-record-action {
      display: flex;
      width: 100%;
      margin-top: 12px;
    }

    :where([data-mp]) .mp-top-olive .live-reprint-list .live-record-action {
      font-size: 15px;
      padding: 8px 12px;
    }

    :where([data-mp]) .mp-top-olive .live-record-text {
      font-size: 13px;
    }
  }

  :where([data-mp]) .mp-live-reprint .top-header,
  :where([data-mp]) .mp-live-reprint .site-footer {
    font-family: "Zen Maru Gothic", sans-serif;
  }

  :where([data-mp]) .mp-live-reprint .mp-button {
    border-radius: 999px;
    font-family: "Zen Maru Gothic", sans-serif;
  }
}

@media print {
  :where([data-mp]) .mp-live > .top-header,
  :where([data-mp]) .mp-live .site-footer,
  :where([data-mp]) .mp-live .site-menu,
  :where([data-mp]) .mp-live .site-menu-toggle,
  :where([data-mp]) .mp-live .bottom-return,
  :where([data-mp]) .mp-live .breadcrumbs,
  :where([data-mp]) .mp-live .flow-progress {
    display: none !important;
  }
}

:where([data-mp]) .mp-live .btncenter > .attention,
:where([data-mp]) .mp-live div[align="center"] > .attention,
:where([data-mp]) .mp-live div[align="center"] > .attention_r {
  display: block;
  text-align: left;
  margin: 16px 0 24px 0;
}

/* 問い合わせ */
:root:where([data-cq]) {
  --ink: #4b392d;
  --green: #45cc5a;
  --line: #d6cec4;
  --muted: #796b60;
  --pale: #f5fbf2;
  --error: #9f332b;
}

:where([data-cq]) * {
  box-sizing: border-box;
}

:where([data-cq]) body {
  margin: 0px;
  background: rgb(255, 255, 255);
  color: var(--ink);
  font: 400 16px / 1.75 "Zen Maru Gothic", sans-serif;
}

:where([data-cq]) button,
:where([data-cq]) input,
:where([data-cq]) textarea {
  font: inherit;
}

:where([data-cq]) a {
  color: inherit;
  text-underline-offset: 4px;
}

:where([data-cq]) button,
:where([data-cq]) a {
  -webkit-tap-highlight-color: transparent;
}

:where([data-cq]) [hidden] {
  display: none !important;
}

:where([data-cq]) h1,
:where([data-cq]) h2,
:where([data-cq]) p {
  margin: 0px;
}

/* ヘッダー・進行表示 */
:where([data-cq]) .cq-header {
  border-bottom: 1px solid rgb(238, 232, 223);
}

:where([data-cq]) .cq-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1040px;
  min-height: 84px;
  margin: auto;
  padding: 0px 24px;
}

:where([data-cq]) .cq-logo {
  display: block;
  width: 116px;
  height: auto;
}

:where([data-cq]) .cq-main {
  max-width: 1000px;
  margin: auto;
  padding: 0px 24px;
}

:where([data-cq]) .cq-progress {
  max-width: 540px;
  margin: 28px auto 24px;
}

:where([data-cq]) .cq-progress ol {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0px;
  padding: 0px;
}

:where([data-cq]) .cq-progress li {
  position: relative;
  flex: 1 1 0%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px;
  color: var(--muted);
  background: rgb(255, 255, 255);
  text-align: center;
  font-size: 14px;
}

:where([data-cq]) .cq-progress li:not(:last-child)::after {
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  content: "›";
  color: var(--muted);
  font-size: 22px;
}

:where([data-cq]) .cq-progress [aria-current="step"] {
  border-color: var(--green);
  background: var(--green);
  color: rgb(255, 255, 255);
  font-weight: 700;
}

:where([data-cq]) .cq-title {
  width: fit-content;
  max-width: 100%;
  margin-bottom: 24px;
  padding-bottom: 7px;
  border-bottom: 3px solid var(--green);
  font-size: 28px;
  line-height: 1.5;
  font-weight: 700;
}

:where([data-cq]) .cq-intro {
  margin: 0px 0px 26px;
}

:where([data-cq]) .cq-intro p + p {
  margin-top: 12px;
}

:where([data-cq]) .cq-faq {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--ink);
}

/* 入力項目 */
:where([data-cq]) .cq-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
}

:where([data-cq]) .cq-group {
  margin: 0px 0px 28px;
}

:where([data-cq]) .cq-label {
  display: block;
  margin-bottom: 12px;
  font-weight: 500;
}

:where([data-cq]) .cq-fieldset {
  min-width: 0px;
  margin: 0px 0px 28px;
  padding: 0px;
  border: 0px;
}

:where([data-cq]) .cq-fieldset legend {
  padding: 0px;
  margin-bottom: 12px;
  font-weight: 500;
}

:where([data-cq]) .cq-required {
  display: inline-block;
  margin-left: 9px;
  color: var(--error);
  font-size: 11px;
  font-weight: 400;
}

:where([data-cq]) .cq-radio-options {
  display: flex;
  gap: 12px;
}

:where([data-cq]) .cq-radio-option {
  display: flex;
  flex: 1 1 0%;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  cursor: pointer;
}

:where([data-cq]) .cq-radio-option input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 5px 0px 0px;
  accent-color: rgb(130, 99, 75);
}

:where([data-cq]) .cq-radio-option:has(input:checked) {
  border-color: rgb(121, 102, 78);
  box-shadow: inset 0 0 0 1px rgb(121, 102, 78);
  background: var(--pale);
}

:where([data-cq]) .cq-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0px;
  border: 1px solid rgb(185, 172, 160);
  border-radius: 8px;
  padding: 9px 13px;
  background: rgb(255, 255, 255);
}

:where([data-cq]) .cq-field input,
:where([data-cq]) .cq-field textarea {
  display: block;
  width: 100%;
  min-width: 0px;
  padding: 0px;
  border: 0px;
  border-radius: 0px;
  background: transparent;
  color: var(--ink);
  font: 400 16px / 1.65 "Zen Maru Gothic", sans-serif;
  outline: none;
  box-shadow: none;
}

:where([data-cq]) .cq-field input {
  height: 30px;
}

:where([data-cq]) .cq-field textarea {
  min-height: 190px;
  resize: vertical;
}

:where([data-cq]) .cq-field:focus-within {
  border-color: rgb(121, 102, 78);
  box-shadow: inset 0 0 0 1.5px rgb(121, 102, 78);
}

:where([data-cq]) .cq-count {
  margin-top: 6px;
  text-align: right;
  font-size: 12px;
  color: var(--muted);
}

:where([data-cq]) .cq-count.is-over {
  color: var(--error);
}

:where([data-cq]) .cq-field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

:where([data-cq]) .cq-help {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

:where([data-cq]) .cq-help p + p {
  margin-top: 5px;
}

:where([data-cq]) .cq-sales-note {
  margin-top: 18px;
  font-size: 13px;
}

:where([data-cq]) .cq-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  margin-top: 32px;
}

:where([data-cq]) .cq-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  max-width: 100%;
  padding: 11px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  font: 500 18px / 1.5 "Zen Maru Gothic", sans-serif;
  transition: opacity 0.2s;
}

:where([data-cq]) .cq-primary {
  width: min(100%, 540px);
  color: rgb(255, 255, 255);
  background: var(--green);
}

:where([data-cq]) .cq-secondary {
  width: auto;
  color: var(--ink);
  background: rgb(255, 255, 255);
  border-color: rgb(138, 121, 104);
}

@media (hover: hover) {
  :where([data-cq]) .cq-button:hover {
    opacity: 0.75;
  }

  :where([data-cq]) .cq-faq:hover {
    color: rgb(39, 124, 53);
  }
}

:where([data-cq]) button:focus-visible,
:where([data-cq]) a:focus-visible {
  outline: rgb(38, 125, 53) solid 2px;
  outline-offset: 4px;
}

:where([data-cq]) #errormess {
  margin-bottom: 24px;
  padding: 18px 22px;
  border: 1px solid var(--error);
  border-radius: 10px;
  color: var(--error);
  font-size: 14px;
  line-height: 1.85;
}

:where([data-cq]) #errormess ul {
  margin: 8px 0px 0px;
  padding-left: 1.4em;
}

:where([data-cq]) .cq-confirm {
  margin: 0px;
}

:where([data-cq]) .cq-confirm > div {
  display: grid;
  grid-template-columns: 180px minmax(0px, 1fr);
  gap: 24px;
  padding: 20px 0px;
  border-bottom: 1px solid rgb(230, 223, 215);
}

:where([data-cq]) .cq-confirm > div:first-child {
  padding-top: 0px;
}

:where([data-cq]) .cq-confirm dt {
  font-weight: 500;
}

:where([data-cq]) .cq-confirm dd {
  margin: 0px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

:where([data-cq]) .cq-confirm-note {
  margin-bottom: 24px;
}

:where([data-cq]) .cq-success-icon {
  display: block;
  width: 60px;
  height: 60px;
  margin: 0px auto 24px;
  color: var(--green);
}

:where([data-cq]) .cq-finished {
  text-align: center;
  padding-top: 8px;
}

:where([data-cq]) .cq-finished > p + p {
  margin-top: 18px;
}

:where([data-cq]) .cq-follow-up {
  margin-top: 28px;
  padding: 22px;
  border-radius: 8px;
  background: rgb(250, 248, 244);
  font-size: 14px;
  text-align: left;
}

:where([data-cq]) .cq-follow-up h2 {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 500;
}

:where([data-cq]) .cq-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0px 0px;
  padding-top: 16px;
  border-top: 1px solid rgb(230, 223, 215);
  color: var(--muted);
  font-size: 12px;
}

/* フッター */
:where([data-cq]) .cq-footer {
  position: relative;
  margin-top: 100px;
  padding: 24px 16px;
  background: var(--ink);
  color: rgb(255, 255, 255);
  text-align: center;
}

:where([data-cq]) .cq-footer-wave {
  position: absolute;
  left: 0px;
  top: 1px;
  transform: translateY(-100%);
  width: 100%;
  height: clamp(24px, 5vw, 72px);
  color: var(--ink);
}

:where([data-cq]) .cq-footer-logo {
  display: block;
  width: 116px;
  height: auto;
  margin: 0px auto 12px;
}

:where([data-cq]) .cq-footer p {
  font-size: 13px;
}

:where([data-cq]) .cq-footer-company {
  margin: 20px 0px 12px;
}

:where([data-cq]) .cq-footer-permit {
  display: inline-block;
  white-space: nowrap;
  font-size: clamp(10px, 2.9vw, 13px);
}

:where([data-cq]) .cq-footer small {
  font-size: 12px;
}

/* メニュー */
:where([data-cq]) .cq-menu-toggle,
:where([data-cq]) .cq-menu-close {
  position: relative;
  display: block;
  flex: 0 0 75px;
  width: 75px;
  height: 68px;
  padding: 0px;
  border: 0px;
  border-radius: 0px 0px 0px 14px;
  background: var(--green);
  color: rgb(255, 255, 253);
  cursor: pointer;
}

:where([data-cq]) .cq-menu-toggle {
  align-self: flex-start;
}

:where([data-cq]) .cq-menu-symbol {
  position: absolute;
  display: block;
  top: 18px;
  left: 20%;
  width: 60%;
  height: 14px;
}

:where([data-cq]) .cq-menu-symbol::before,
:where([data-cq]) .cq-menu-symbol::after {
  position: absolute;
  left: 0px;
  right: 0px;
  height: 3px;
  border-radius: 1.5px;
  background: currentcolor;
  content: "";
}

:where([data-cq]) .cq-menu-symbol::before {
  top: 0px;
}

:where([data-cq]) .cq-menu-symbol::after {
  top: 11px;
}

:where([data-cq]) .cq-menu-caption {
  position: absolute;
  bottom: 14px;
  left: 0px;
  width: 100%;
  font: 500 clamp(10px, 2.782vw, 12px) Outfit, sans-serif;
  letter-spacing: 0.1em;
}

:where([data-cq]) .cq-menu {
  position: fixed;
  inset: 0px;
  width: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0px;
  padding: 0px;
  border: 0px;
  overflow-y: auto;
  background: rgb(247, 253, 232);
  color: var(--ink);
}

:where([data-cq]) .cq-menu::backdrop {
  background: transparent;
}

:where([data-cq]) .cq-menu-inner {
  padding: 85px 5% 30px;
}

:where([data-cq]) .cq-menu-header {
  height: 0px;
}

:where([data-cq]) .cq-menu-header > a {
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 31px;
}

:where([data-cq]) .cq-menu-header img {
  display: block;
  width: 100px;
  height: auto;
}

:where([data-cq]) .cq-menu-close {
  position: absolute;
  top: 0px;
  right: 0px;
}

:where([data-cq]) .cq-menu-close .cq-menu-symbol {
  top: 24px;
  height: 3px;
}

:where([data-cq]) .cq-menu-close .cq-menu-symbol::before {
  top: 0px;
  transform: rotate(15deg);
}

:where([data-cq]) .cq-menu-close .cq-menu-symbol::after {
  top: 0px;
  transform: rotate(-15deg);
}

:where([data-cq]) .cq-menu-links,
:where([data-cq]) .cq-menu-actions {
  display: grid;
  max-width: 520px;
  margin: 0px auto;
  padding: 0px;
  list-style: none;
  font-size: clamp(12px, 3.245vw, 16px);
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.9;
}

:where([data-cq]) .cq-menu-links {
  grid-template-columns: 1fr;
  gap: 6px;
  margin-bottom: 16px;
}

:where([data-cq]) .cq-menu-links a {
  display: block;
  width: 100%;
  padding: 15px 8px;
  border-radius: 6px;
  background: rgb(255, 255, 253);
  color: var(--ink);
  text-align: center;
  text-decoration: none;
}

:where([data-cq]) .cq-menu-actions {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

:where([data-cq]) .cq-menu-actions a {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 56px;
  padding: 16px 8px;
  border-radius: 6px;
  background: var(--green);
  color: rgb(255, 255, 253);
  text-align: center;
  text-decoration: none;
}

:where([data-cq]) body.cq-menu-open {
  overflow: hidden;
}

@media (min-width: 961px) {
  :where([data-cq]) .cq-menu-toggle {
    display: none;
  }
}

@media (max-width: 650px) {
  :where([data-cq]) .cq-header-inner {
    min-height: 72px;
    padding: 0px 0px 0px 20px;
  }

  :where([data-cq]) .cq-main {
    padding: 0px 18px;
  }

  :where([data-cq]) .cq-progress {
    margin: 22px auto;
  }

  :where([data-cq]) .cq-progress li {
    font-size: 13px;
    padding: 5px;
  }

  :where([data-cq]) .cq-title {
    font-size: 24px;
    margin-bottom: 22px;
  }

  :where([data-cq]) .cq-intro {
    font-size: 15px;
  }

  :where([data-cq]) .cq-card {
    padding: 24px 18px;
    border-radius: 14px;
  }

  :where([data-cq]) .cq-radio-options {
    flex-direction: column;
  }

  :where([data-cq]) .cq-radio-option {
    padding: 12px;
    font-size: 15px;
  }

  :where([data-cq]) .cq-field-pair {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  :where([data-cq]) .cq-field textarea {
    min-height: 180px;
  }

  :where([data-cq]) .cq-confirm > div {
    display: block;
    padding: 18px 0px;
  }

  :where([data-cq]) .cq-confirm dt {
    margin-bottom: 8px;
    font-size: 14px;
  }

  :where([data-cq]) .cq-confirm dd {
    font-size: 16px;
  }

  :where([data-cq]) .cq-footer {
    margin-top: 78px;
  }

  :where([data-cq]) .cq-finished {
    text-align: left;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :where([data-cq]) .cq-button {
    transition: none;
  }
}

/* 共通の文字と操作部品。画面表示にだけ適用する。 */
@media screen {
  html[data-rf] body,
  html[data-mp] body,
  html[data-cq] body {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.8;
  }

  html[data-rf] .rf-title,
  html[data-rf] .variant-title,
  html[data-mp] .page-heading h1,
  html[data-cq] .cq-title {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.6;
  }

  html[data-rf] .rf-section-title,
  html[data-rf] .rf-new-intro h2,
  html[data-rf] .rf-login-heading,
  html[data-rf] .dispatch-title,
  html[data-rf] .prep-card h3,
  html[data-mp] .mp-card h2,
  html[data-mp] .mp-card h3,
  html[data-mp] .assessment-section h2,
  html[data-mp] .section-heading,
  html[data-cq] .cq-follow-up h2 {
    font-weight: 500;
  }

  /* 入力欄は16pxを保つ。主要ボタンは指定の18px・500。 */
  .ru-main-button,
  .ru-home {
    font-size: 18px !important;
    font-weight: 500 !important;
  }

  .ru-main-button {
    border-radius: 999px;
    min-height: 48px;
  }

  /* 用紙内の本文は画面でも従来の太さを維持する。 */
  html[data-rf] .print-sheet {
    font-weight: 400;
  }

  /* 同じ役割の「トップに戻る」は、画面のテーマ色によらず共通。 */
  .ru-home {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: min(100%, 540px);
    max-width: 100%;
    min-height: 48px;
    padding: 11px 28px;
    border: 1px solid #4b392d !important;
    border-radius: 999px;
    background: #fff !important;
    color: #4b392d !important;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: opacity .2s ease;
  }

  .ru-home:hover {
    background: #fff !important;
    color: #4b392d !important;
    opacity: .75;
    text-decoration: none;
  }
}

@media screen and (max-width: 650px) {
  html[data-rf] .rf-title,
  html[data-rf] .variant-title,
  html[data-mp] .page-heading h1,
  html[data-cq] .cq-title {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ru-home {
    transition: none;
  }
}

/* パンくず：ブランドページの文字・リンク装飾に統一 */
:where([data-mp]) .breadcrumbs,
:where([data-cq]) .cq-breadcrumbs {
  font-family: "Outfit", "Zen Maru Gothic", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: #4b392d;
  gap: 4px;
}

:where([data-mp]) .breadcrumbs a,
:where([data-cq]) .cq-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

/* ブランドページで使っている家のマーク */
:where([data-mp]) .breadcrumbs::before,
:where([data-cq]) .cq-breadcrumbs::before {
  content: "";
  width: 21px;
  height: 18px;
  flex-shrink: 0;
  background: url("/images/renewal/icon_home.png") center / contain no-repeat;
}
/* きっちり買取：PCは従来の表、650px以下は商品ごとのコンパクト表示。 */
:where([data-mp]) .mp-live .mp-mobile-sale-label,
:where([data-mp]) .mp-live .mp-mobile-item-color {
  display: none;
}

@media screen and (max-width: 650px) {
  :where([data-mp]) .mp-live .mp-compact-hint {
    display: none;
  }

  :where([data-mp]) .mp-live .mp-compact-scroll {
    overflow: visible;
  }

  :where([data-mp]) .mp-live table.shohin.mp-compact-assessment {
    display: block;
    min-width: 0;
    width: 100%;
    margin: 0;
    font-size: 14px;
  }

  :where([data-mp]) .mp-live .mp-compact-assessment > tbody,
  :where([data-mp]) .mp-live .mp-compact-assessment > thead,
  :where([data-mp]) .mp-live .mp-compact-assessment > tfoot {
    display: block;
  }

  /* 表の見出しは読み上げ用に保持する。 */
  :where([data-mp]) .mp-live .mp-compact-assessment .mp-item-heading {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  :where([data-mp]) .mp-live .mp-compact-assessment .mp-item-row {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 3px 10px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
  }

  :where([data-mp]) .mp-live .mp-compact-assessment .mp-item-row > td {
    display: block;
    min-width: 0;
    padding: 0;
    border: 0;
    position: static;
    box-shadow: none;
    background: transparent;
    line-height: 1.6;
    overflow-wrap: anywhere;
  }

  :where([data-mp]) .mp-live .mp-compact-assessment .mp-item-row > td.mark {
    grid-column: 1;
    grid-row: 1 / 4;
  }

  :where([data-mp]) .mp-live .has-sale-column.mp-compact-assessment .mp-item-row > td:first-child:not([colspan]) {
    position: static;
    min-width: 0;
    width: auto;
    background: transparent;
    box-shadow: none;
  }

  :where([data-mp]) .mp-live .mp-compact-assessment .mp-item-row > td:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    font-size: 12px;
    color: var(--muted);
    align-self: center;
  }

  :where([data-mp]) .mp-live .mp-compact-assessment .mp-item-row > td:nth-child(2)::before {
    content: "No.";
  }

  :where([data-mp]) .mp-live .mp-compact-assessment .mp-item-row > td:nth-child(3) {
    grid-column: 2 / -1;
    grid-row: 2;
    font-weight: 500;
  }

  :where([data-mp]) .mp-live .mp-compact-assessment .mp-item-row > td:nth-child(4) {
    grid-column: 2 / -1;
    grid-row: 3;
    font-size: 13px;
  }

  :where([data-mp]) .mp-live .mp-compact-assessment .mp-item-row > td:nth-child(5) {
    display: none;
  }

  :where([data-mp]) .mp-live .mp-compact-assessment .mp-item-row > td.price {
    grid-column: 3;
    grid-row: 1;
    font-weight: 500;
    white-space: nowrap;
  }

  :where([data-mp]) .mp-live .mp-compact-assessment .mp-item-row > td.price::after {
    content: " 円";
    font-size: 12px;
    font-weight: 400;
  }

  :where([data-mp]) .mp-live .mp-compact-assessment .mp-mobile-sale-control {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 44px;
    min-height: 52px;
    margin: 0;
    cursor: pointer;
  }

  :where([data-mp]) .mp-live.mp-confirm .mp-compact-assessment .mp-mobile-sale-control {
    cursor: default;
  }

  :where([data-mp]) .mp-live .mp-compact-assessment .mp-mobile-sale-label {
    display: block;
    font-size: 12px;
    line-height: 1.2;
    color: var(--ink);
  }

  :where([data-mp]) .mp-live .mp-compact-assessment .mp-mobile-sale-control input {
    margin: 0;
  }

  :where([data-mp]) .mp-live .mp-compact-assessment .mp-mobile-item-color {
    display: inline;
  }

  :where([data-mp]) .mp-live .mp-compact-assessment .mp-item-total {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 16px 0;
  }

  :where([data-mp]) .mp-live .mp-compact-assessment .mp-item-total > td {
    min-width: 0;
    padding: 0;
    border: 0;
    font-weight: 500;
  }
}
/* 査定手続き：説明文の指さしイラスト */
:where([data-mp]) .mp-live .mp-choice-note {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  max-width: 100%;
  vertical-align: top;
}

:where([data-mp]) .mp-live .mp-choice-note .mp-point-icon {
  display: block;
  flex: 0 0 26px;
  width: 26px;
  height: 19.5px;
  margin-top: 3px;
}

:where([data-mp]) .mp-live .mp-choice-note > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* 査定確認：ご選択内容と売却・返送の結果表示。 */
:where([data-mp]) .mp-live .confirm-selection {
  margin: 22px 0 10px;
  padding: 18px 20px;
  border: 1px solid var(--olive);
  border-radius: 8px;
  background: var(--ivory);
}
:where([data-mp]) .mp-live .confirm-selection-caption {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}
:where([data-mp]) .mp-live .confirm-selection-title {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
}
:where([data-mp]) .mp-live .confirm-selection-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 5px 0 0;
  font-size: 14px;
  line-height: 1.9;
}
:where([data-mp]) .mp-live .confirm-selection-note svg {
  flex: 0 0 26px;
  width: 26px;
  height: 19.5px;
  margin-top: 3px;
}
:where([data-mp]) .mp-live .confirm-selection-note > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
:where([data-mp]) .mp-live .confirm-edit-help {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
:where([data-mp]) .mp-live .confirm-sale-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 54px;
  padding: 5px 7px;
  border: 1px solid var(--olive);
  border-radius: 4px;
  background: var(--olive);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  cursor: default;
}
:where([data-mp]) .mp-live .confirm-sale-status.is-return {
  border-color: #b4a79a;
  background: #fff;
  color: var(--ink);
}
:where([data-mp]) .mp-live .confirm-sale-status .status-tick {
  font-size: 13px;
}
@media screen and (max-width: 650px) {
  :where([data-mp]) .mp-live .confirm-selection { padding: 16px; }
  :where([data-mp]) .mp-live .mp-compact-assessment .confirm-sale-status {
    width: 44px;
    min-width: 0;
    padding: 5px 3px;
    gap: 2px;
    font-size: 12px;
  }
  :where([data-mp]) .mp-live .mp-compact-assessment .confirm-sale-status .status-tick {
    font-size: 12px;
  }
}

/* 英数字の入力・確認表示：対象欄だけフォントを統一 */
@media screen {
:is(html[data-rf], html[data-mp], html[data-cq]) input:not([type="hidden"]):is(
  [type="email"], [type="password"],
  [name^="email"], [name="e_mail"], [name^="pass"],
  [name^="denwa"], [name^="jyusyo_postno"],
  [name="zip"], [name="account"]
),
html[data-rf] .rf-confirm input:is(
  [type="email"], [type="password"],
  [name^="email"], [name="e_mail"], [name^="pass"],
  [name^="denwa"], [name^="jyusyo_postno"],
  [name="zip"], [name="account"]
) + .rf-confirm-value,
html[data-mp] .mp-confirm .has-confirm-value:has(input:is(
  [type="email"], [type="password"],
  [name^="email"], [name="e_mail"], [name^="pass"],
  [name^="denwa"], [name^="jyusyo_postno"],
  [name="zip"], [name="account"]
)) > .mp-confirm-value,
html[data-mp] .mp-live #bankpage #bank_table6 > tbody > tr:nth-child(2) > td,
html[data-mp] .mp-live #bankpage #bank_table6 > tbody > tr:nth-child(4) > td,
html[data-cq] .cq-confirm [data-contact-value="e_mail"] {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Zen Maru Gothic", sans-serif !important;
}

/* 入力前の案内文は従来の字体を維持 */
:is(html[data-rf], html[data-mp], html[data-cq]) input:not([type="hidden"]):is(
  [type="email"], [type="password"],
  [name^="email"], [name="e_mail"], [name^="pass"],
  [name^="denwa"], [name^="jyusyo_postno"],
  [name="zip"], [name="account"]
)::placeholder {
  font-family: "Zen Maru Gothic", sans-serif !important;
}
}
