/* ==================================================
   料金表ページ：ページ共通設定・FV
   ファイル：css/pages/price.css

   下層ページ共通規格
   ・FV最低高さ：360px
   ・全面背景写真＋白の透過レイヤー
   ・英字見出し＋ページタイトルを中央配置
   ・固定ヘッダー分の余白はFV内部に確保
================================================== */


/* ==================================================
   01：ページ共通
================================================== */

.page-price {
  --price-blue: #0272d4;
  --price-navy: #142f53;
  --price-text: #40536a;
  --price-pale: #f0f7fd;
  --price-white: #fff;

  --price-serif:
    "Zen Old Mincho",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;

  --price-sans:
    "Zen Old Mincho", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;

  --price-font-en:
    Georgia,
    "Times New Roman",
    serif;

  --price-content-width: 1200px;
  --price-gutter: clamp(20px, 4vw, 64px);

  /* 固定ヘッダー */
  --price-header-offset: var(--header-total-height, 88px);

  /* 下層FV共通規格 */
  --price-fv-height: 360px;
  --price-fv-padding-top: 40px;
  --price-fv-padding-bottom: 80px;
  --price-fv-gutter: 32px;

  /* 背景写真の表示位置 */
  --price-photo-position: center 50%;

  margin: 0;

  color: var(--price-text);
  background: var(--price-white);
}

.page-price .nobo-price-fv,
.page-price .nobo-price-fv::before,
.page-price .nobo-price-fv::after,
.page-price .nobo-price-fv *,
.page-price .nobo-price-fv *::before,
.page-price .nobo-price-fv *::after,
.page-price .nobo-breadcrumb,
.page-price .nobo-breadcrumb::before,
.page-price .nobo-breadcrumb::after,
.page-price .nobo-breadcrumb *,
.page-price .nobo-breadcrumb *::before,
.page-price .nobo-breadcrumb *::after {
  box-sizing: border-box;
}

/*
   ヘッダー分の余白はFV内部で確保するため、
   main側の上余白は解除。
*/
.page-price .site-main {
  margin-top: 0;
  padding-top: 0;
}

/* ページ内リンク先と固定ヘッダーの間隔 */
.page-price .site-main [id] {
  scroll-margin-top: calc(var(--price-header-offset) + 24px);
}


/* ==================================================
   02：FV全体
================================================== */

.page-price .nobo-price-fv {
  position: relative;
  isolation: isolate;

  display: grid;
  place-items: center;

  width: 100%;
  min-height: var(--price-fv-height);
  margin: 0;
  padding:
    calc(
      var(--price-header-offset)
      + var(--price-fv-padding-top)
    )
    var(--price-fv-gutter)
    var(--price-fv-padding-bottom);

  overflow: hidden;

  color: var(--price-navy);
  background: #eef3f7;
  font-family: var(--price-serif);
}


/* ==================================================
   03：全面背景写真
================================================== */

.page-price .nobo-price-fv__visual {
  position: absolute;
  z-index: 0;
  inset: 0;

  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;

  overflow: hidden;

  background: #eef3f7;

  pointer-events: none;
  user-select: none;
}

.page-price .nobo-price-fv__image {
  display: block;

  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;

  border: 0;
  border-radius: 0;

  object-fit: cover;
  object-position: var(--price-photo-position);
}


/* ==================================================
   04：白の透過レイヤー
   背景全体に重ね、中央の見出しを読みやすくする
================================================== */

.page-price .nobo-price-fv__overlay {
  position: absolute;
  z-index: 1;
  inset: 0;

  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;

  background: linear-gradient(
    90deg,
    rgb(255 255 255 / 58%) 0%,
    rgb(255 255 255 / 82%) 50%,
    rgb(255 255 255 / 58%) 100%
  );

  pointer-events: none;
}


/* ==================================================
   05：見出しエリア
================================================== */

.page-price .nobo-price-fv__inner {
  position: relative;
  z-index: 2;

  display: block;

  width: 100%;
  max-width: var(--price-content-width);
  min-width: 0;
  margin-inline: auto;
  padding: 0;

  text-align: center;
}

.page-price .nobo-price-fv__content {
  grid-column: auto;

  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 0;

  text-align: center;
}


/* ==================================================
   06：英字見出し
================================================== */

.page-price .nobo-price-fv__eyebrow {
  margin: 0 0 12px;
  padding: 0;

  color: var(--price-blue);
  font-family: var(--price-font-en);
  font-size: clamp(12px, 1.1vw, 15px);
  font-style: normal;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.16em;

  overflow-wrap: anywhere;
}


/* ==================================================
   07：ページタイトル
================================================== */

.page-price .nobo-price-fv__title {
  position: relative;

  margin: 0;
  padding: 0;

  border: 0;
  background: none;

  color: var(--price-navy);
  font-family: var(--price-serif);
  font-size: clamp(32px, 3.2vw, 46px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.12em;
  text-decoration: none;

  overflow-wrap: anywhere;
  text-wrap: balance;
}

/* 旧タイトルの下線装飾を解除 */
.page-price .nobo-price-fv__title::before,
.page-price .nobo-price-fv__title::after {
  content: none;
}


/* ==================================================
   08：リード文・説明文
   既存HTMLに残っている場合の表示用

   FVの高さを統一する場合は、
   文章をFV下の導入セクションへ移動する。
================================================== */

.page-price .nobo-price-fv__lead {
  max-width: 900px;
  margin: 22px auto 0;
  padding: 0;

  color: var(--price-blue);
  font-family: var(--price-serif);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.045em;

  overflow-wrap: anywhere;
}

.page-price .nobo-price-fv__lead span {
  display: inline-block;
  max-width: 100%;
}

.page-price .nobo-price-fv__description {
  max-width: 900px;
  margin: 8px auto 0;
  padding: 0;

  color: var(--price-navy);
  font-family: var(--price-serif);
  font-size: clamp(13px, 1.15vw, 16px);
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.035em;

  overflow-wrap: anywhere;
}


/* ==================================================
   09：旧FV装飾
   共通規格に合わせて背景英字・波形は非表示
================================================== */

.page-price .nobo-price-fv__background-word,
.page-price .nobo-price-fv__wave {
  display: none;
}


/* ==================================================
   10：タブレット
   FV最低高さ360pxを維持
================================================== */

@media (min-width: 768px) and (max-width: 1100px) {
  .page-price {
    --price-header-offset: var(--header-total-height, 74px);
  }
}


/* ==================================================
   11：スマートフォン
   全面写真＋中央見出し・FV最低高さ360pxを維持
================================================== */

@media (max-width: 767px) {
  .page-price {
    --price-header-offset: var(--header-total-height, 68px);
  }

  .page-price .nobo-price-fv__lead {
    margin-top: 20px;

    font-size: 20px;
    line-height: 1.8;
    letter-spacing: 0.025em;
  }

  .page-price .nobo-price-fv__description {
    margin-top: 12px;

    font-size: 14px;
    line-height: 1.9;
    letter-spacing: 0.025em;
  }
}

/* ==================================================
   パンくず
   料金ページ内だけに適用
================================================== */

.page-price .nobo-breadcrumb {
  position: relative;

  margin: 0;
  padding: 16px 0 24px;

  color: var(--price-text);
  background: var(--price-white);

  font-family: var(--price-sans);
}

.page-price .nobo-breadcrumb__inner {
  width: min(
    var(--price-content-width),
    calc(100% - var(--price-gutter) * 2)
  );
  margin-inline: auto;
}

.page-price .nobo-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.page-price .nobo-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  min-width: 0;
  margin: 0;
  padding: 0;

  font-size: 12px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.025em;
  overflow-wrap: anywhere;
}

.page-price .nobo-breadcrumb__item::before,
.page-price .nobo-breadcrumb__item::after {
  content: none;
}

/* 区切り矢印 */
.page-price .nobo-breadcrumb__item
  + .nobo-breadcrumb__item::before {
  content: "";

  flex: 0 0 5px;
  width: 5px;
  height: 5px;

  border-top: 1px solid #8ca6bd;
  border-right: 1px solid #8ca6bd;

  transform: rotate(45deg);
}

.page-price .nobo-breadcrumb__link,
.page-price .nobo-breadcrumb__link:visited {
  color: var(--price-blue);

  text-decoration: none;
  text-underline-offset: 0.25em;

  transition: color 180ms ease;
}

.page-price .nobo-breadcrumb__link::before,
.page-price .nobo-breadcrumb__link::after {
  content: none;
}

.page-price .nobo-breadcrumb__current {
  color: var(--price-text);
}

.page-price .nobo-breadcrumb__link:focus-visible {
  outline: 2px solid var(--price-blue);
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .page-price .nobo-breadcrumb__link:hover {
    color: var(--price-navy);
    text-decoration: underline;
  }
}

/* ==================================================
   タブレット
================================================== */

@media (max-width: 1024px) {
  .page-price {
    --price-gutter: 28px;
    --price-header-offset: 80px;
  }

  .nobo-price-fv {
    min-height: 400px;
    padding-bottom: 80px;
  }

  .nobo-price-fv__visual {
    width: 46%;
  }

  .nobo-price-fv__overlay {
    width: 47%;
  }

  .nobo-price-fv__inner {
    grid-template-columns: 38% minmax(0, 1fr);
  }

  .nobo-price-fv__content {
    padding-left: 20px;
  }

  .nobo-price-fv__background-word {
    font-size: 130px;
  }

  .nobo-price-fv__title {
    font-size: 42px;
  }

  .nobo-price-fv__lead {
    font-size: 22px;
  }

  .nobo-price-fv__description {
    font-size: 14px;
  }
}

/* ==================================================
   スマートフォン
   上段：写真／下段：見出し
================================================== */

@media (max-width: 767px) {
  .page-price {
    --price-gutter: 20px;
    --price-header-offset: 72px;
    --price-mobile-photo-height: clamp(190px, 53vw, 280px);
  }

  .nobo-price-fv {
    display: block;

    min-height: 0;
    padding: var(--price-header-offset) 0 58px;
  }

  .nobo-price-fv__visual {
    position: relative;
    inset: auto;

    width: 100%;
    height: var(--price-mobile-photo-height);
  }

  .nobo-price-fv__image {
    object-position: var(--price-photo-position);
  }

  /* 写真下端を背景になじませる */
  .nobo-price-fv__overlay {
    inset: var(--price-header-offset) 0 auto;

    width: 100%;
    height: var(--price-mobile-photo-height);

    background: linear-gradient(
      180deg,
      rgb(240 247 253 / 0%) 58%,
      rgb(240 247 253 / 35%) 82%,
      #f0f7fd 100%
    );
  }

  .nobo-price-fv__background-word {
    top: auto;
    right: -4px;
    bottom: 58px;

    font-size: clamp(100px, 26vw, 160px);
  }

  .nobo-price-fv__inner {
    display: block;
  }

  .nobo-price-fv__content {
    padding: 20px 0 10px;
  }

  .nobo-price-fv__eyebrow {
    margin-bottom: 10px;

    font-size: 11px;
    letter-spacing: 0.16em;
  }

  .nobo-price-fv__title {
    padding-bottom: 18px;

    font-size: 36px;
    letter-spacing: 0.12em;
  }

  .nobo-price-fv__title::after {
    width: 38px;
  }

  .nobo-price-fv__lead {
    margin-top: 18px;

    font-size: clamp(18px, 4.8vw, 22px);
    line-height: 1.8;
    letter-spacing: 0.025em;
  }

  .nobo-price-fv__description {
    margin-top: 10px;

    font-size: 13px;
    line-height: 1.9;
    letter-spacing: 0.015em;
  }

  .nobo-price-fv__wave {
    height: 48px;
  }

  .page-price .nobo-breadcrumb {
    padding: 12px 0 20px;
  }

  .page-price .nobo-breadcrumb__list {
    gap: 6px 10px;
  }

  .page-price .nobo-breadcrumb__item {
    gap: 10px;
    font-size: 11px;
  }
}

/* ==================================================
   動きを抑える設定
================================================== */

@media (prefers-reduced-motion: reduce) {
  .page-price .nobo-breadcrumb__link {
    transition: none;
  }
}


/* ==================================================
   料金表：矯正治療の料金
   price.css の末尾に追加
================================================== */

.nobo-ortho-fees {
  --fees-blue: #0272d4;
  --fees-navy: #142f53;
  --fees-text: #40536a;
  --fees-line: #b8d7ef;
  --fees-heading-bg: #e4f1f8;
  --fees-row-bg: #f9fcff;

  --fees-serif:
    "Zen Old Mincho",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;

  --fees-sans:
    "Zen Old Mincho", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;

  padding: 56px 0 76px;

  color: var(--fees-text);
  background: #fff;

  font-family: var(--fees-serif);
  font-weight: 500;
  line-height: 1.8;

  scroll-margin-top: calc(var(--price-header-offset, 100px) + 24px);
}

.nobo-ortho-fees,
.nobo-ortho-fees *,
.nobo-ortho-fees *::before,
.nobo-ortho-fees *::after {
  box-sizing: border-box;
}

.nobo-ortho-fees__inner {
  width: min(
    1200px,
    calc(100% - var(--price-gutter, 32px) * 2)
  );
  margin-inline: auto;
}

/* ==================================================
   セクション見出し
================================================== */

.nobo-ortho-fees__header {
  margin-bottom: 24px;
  text-align: center;
}

.nobo-ortho-fees__eyebrow {
  margin: 0 0 12px;

  color: var(--fees-blue);

  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.23em;
}

.nobo-ortho-fees__title {
  position: relative;

  margin: 0;
  padding: 0 0 22px;

  border: 0;
  background: none;

  color: var(--fees-navy);

  font-family: var(--fees-serif);
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-decoration: none;
}

.nobo-ortho-fees__title::before {
  content: none;
}

.nobo-ortho-fees__title::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;

  width: 48px;
  height: 2px;
  margin-inline: auto;

  background: #79b9e8;
}

/* ==================================================
   税込表記
================================================== */

.nobo-ortho-fees__tax-note {
  margin: 0 0 14px;

  color: var(--fees-text);

  font-family: var(--fees-sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;
  text-align: right;
}

/* ==================================================
   治療別のグループ
================================================== */

.nobo-ortho-fees__group {
  margin: 0;
  padding: 0;

  scroll-margin-top: calc(var(--price-header-offset, 100px) + 24px);
}

.nobo-ortho-fees__group + .nobo-ortho-fees__group {
  margin-top: 48px;
}

.nobo-ortho-fees__group-title {
  margin: 0 0 14px;
  padding: 0;

  border: 0;
  background: none;

  color: var(--fees-navy);

  font-family: var(--fees-serif);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.nobo-ortho-fees__group-title::before,
.nobo-ortho-fees__group-title::after {
  content: none;
}

/* ==================================================
   料金表
================================================== */

.nobo-ortho-fees__table-wrap {
  width: 100%;
  min-width: 0;
}

.nobo-ortho-fees__table {
  width: 100%;
  margin: 0;

  border: 1px solid var(--fees-line);
  border-collapse: collapse;
  border-spacing: 0;

  table-layout: fixed;

  color: var(--fees-text);
  background: #fff;

  font-family: var(--fees-serif);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
}

/* 治療内容・料金の列幅 */
.nobo-ortho-fees__col-treatment {
  width: 52%;
}

.nobo-ortho-fees__col-price {
  width: 48%;
}

.nobo-ortho-fees__table th,
.nobo-ortho-fees__table td {
  padding: 12px 24px;

  border: 1px solid var(--fees-line);

  vertical-align: middle;
  overflow-wrap: anywhere;
}

/* 表の見出し */
.nobo-ortho-fees__table thead th {
  padding-block: 13px;

  color: var(--fees-navy);
  background: var(--fees-heading-bg);

  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-align: center;
}

/* 治療内容 */
.nobo-ortho-fees__table tbody th {
  color: var(--fees-text);
  background: #fff;

  font-weight: 500;
  letter-spacing: 0.025em;
  text-align: center;
}

/* 料金 */
.nobo-ortho-fees__table tbody td {
  color: var(--fees-navy);
  background: #fff;

  text-align: right;
}

/* 行を追いやすくする淡い背景 */
.nobo-ortho-fees__table tbody tr:nth-child(even) > * {
  background: var(--fees-row-bg);
}

/* ==================================================
   金額・補足
================================================== */

.nobo-ortho-fees__price {
  display: inline-block;

  font-variant-numeric: tabular-nums;
  letter-spacing: 0.035em;
  white-space: nowrap;
}

/* 狭い画面では価格帯の区切りで折り返し可能 */
.nobo-ortho-fees__price-range {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;

  max-width: 100%;

  font-variant-numeric: tabular-nums;
  letter-spacing: 0.035em;
}

.nobo-ortho-fees__price-range > span {
  white-space: nowrap;
}

.nobo-ortho-fees__treatment-note {
  font-size: 0.9em;
}

/* ==================================================
   表の下の案内
================================================== */

.nobo-ortho-fees__note {
  margin: 24px 0 0;

  color: var(--fees-text);

  font-family: var(--fees-sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.025em;
  text-align: center;
  overflow-wrap: anywhere;
}

/* ==================================================
   タブレット
================================================== */

@media (max-width: 1024px) {
  .nobo-ortho-fees {
    padding: 44px 0 60px;
  }

  .nobo-ortho-fees__table {
    font-size: 15px;
  }

  .nobo-ortho-fees__table th,
  .nobo-ortho-fees__table td {
    padding: 11px 18px;
  }

  .nobo-ortho-fees__group + .nobo-ortho-fees__group {
    margin-top: 40px;
  }
}

/* ==================================================
   スマートフォン
================================================== */

@media (max-width: 767px) {
  .nobo-ortho-fees {
    padding: 32px 0 48px;
  }

  .nobo-ortho-fees__inner {
    width: calc(100% - 32px);
  }

  .nobo-ortho-fees__header {
    margin-bottom: 20px;
  }

  .nobo-ortho-fees__eyebrow {
    margin-bottom: 10px;

    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .nobo-ortho-fees__title {
    padding-bottom: 18px;

    font-size: 28px;
    letter-spacing: 0.055em;
  }

  .nobo-ortho-fees__title::after {
    width: 38px;
  }

  .nobo-ortho-fees__tax-note {
    margin-bottom: 12px;
    font-size: 11px;
  }

  .nobo-ortho-fees__group + .nobo-ortho-fees__group {
    margin-top: 32px;
  }

  .nobo-ortho-fees__group-title {
    margin-bottom: 12px;

    font-size: 21px;
    line-height: 1.6;
    letter-spacing: 0.025em;
  }

  .nobo-ortho-fees__col-treatment {
    width: 54%;
  }

  .nobo-ortho-fees__col-price {
    width: 46%;
  }

  .nobo-ortho-fees__table {
    font-size: 13px;
    line-height: 1.75;
  }

  .nobo-ortho-fees__table th,
  .nobo-ortho-fees__table td {
    padding: 11px 10px;
  }

  .nobo-ortho-fees__table thead th {
    padding-block: 11px;

    font-size: 12px;
    letter-spacing: 0.025em;
  }

  .nobo-ortho-fees__table tbody th {
    letter-spacing: 0;
  }

  .nobo-ortho-fees__price,
  .nobo-ortho-fees__price-range {
    letter-spacing: 0;
  }

  .nobo-ortho-fees__treatment-note {
    display: block;
    margin-top: 2px;

    font-size: 11px;
    line-height: 1.7;
  }

  .nobo-ortho-fees__note {
    margin-top: 20px;

    font-size: 12px;
    line-height: 1.9;
    text-align: left;
  }
}


/* ==================================================
   料金表：お支払い方法
================================================== */

.nobo-payment {
  --payment-blue: #0272d4;
  --payment-navy: #142f53;
  --payment-text: #40536a;
  --payment-line: #bfd9ed;
  --payment-pale: #edf7fd;
  --payment-white: #fff;

  --payment-serif:
    "Zen Old Mincho",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;

  --payment-sans:
    "Zen Old Mincho", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;

  padding: 64px 0 76px;

  color: var(--payment-text);
  background: var(--payment-white);

  font-family: var(--payment-sans);
  font-size: 16px;
  line-height: 1.9;
  overflow-wrap: anywhere;

  scroll-margin-top: calc(var(--price-header-offset, 100px) + 24px);
}

.nobo-payment,
.nobo-payment *,
.nobo-payment *::before,
.nobo-payment *::after {
  box-sizing: border-box;
}

.nobo-payment :where(h2, h3, p, dl, dt, dd, ul) {
  margin: 0;
}

.nobo-payment__inner {
  width: min(
    1200px,
    calc(100% - var(--price-gutter, 32px) * 2)
  );
  margin-inline: auto;
}

/* ==================================================
   セクション見出し
================================================== */

.nobo-payment__header {
  margin-bottom: 36px;
  text-align: center;
}

.nobo-payment__title {
  padding: 0;
  border: 0;
  background: none;

  color: var(--payment-navy);

  font-family: var(--payment-serif);
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-decoration: none;
}

.nobo-payment__title::before,
.nobo-payment__title::after {
  content: none;
}

.nobo-payment__eyebrow {
  position: relative;

  margin-top: 10px;
  padding-bottom: 18px;

  color: var(--payment-blue);

  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.22em;
}

.nobo-payment__eyebrow::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;

  width: 44px;
  height: 2px;
  margin-inline: auto;

  background: #79b9e8;
}

.nobo-payment__lead {
  margin-top: 22px;

  color: var(--payment-navy);

  font-family: var(--payment-serif);
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

/* ==================================================
   支払い方法一覧
================================================== */

.nobo-payment__list {
  padding: 0;
  border: 1px solid var(--payment-line);

  background: var(--payment-white);
}

.nobo-payment__row {
  display: grid;
  grid-template-columns: minmax(0, 30%) minmax(0, 1fr);
}

.nobo-payment__row + .nobo-payment__row {
  border-top: 1px solid var(--payment-line);
}

/* 左側：支払い方法 */
.nobo-payment__method {
  display: flex;
  align-items: center;

  min-width: 0;
  padding: 28px 30px;

  border-right: 1px solid var(--payment-line);

  color: var(--payment-navy);
  background: var(--payment-pale);

  font-family: var(--payment-serif);
  font-size: clamp(18px, 1.7vw, 23px);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.035em;
}

/* 右側：説明 */
.nobo-payment__detail {
  min-width: 0;
  padding: 28px 32px;
}

.nobo-payment__text {
  font-size: 15px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.025em;
}

.nobo-payment__text + .nobo-payment__text {
  margin-top: 12px;
}

.nobo-payment__small {
  margin-top: 16px;

  font-size: 13px;
  line-height: 1.85;
}

/* ==================================================
   クレジットカードのブランド
   現在は文字表示／後からロゴ画像へ差し替え可能
================================================== */

.nobo-payment__brands {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;

  margin-top: 22px;
  padding: 0;

  list-style: none;
}

.nobo-payment__brand {
  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 1 auto;
  min-width: 92px;
  max-width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 10px 14px;

  border: 1px solid #d5e3ee;
  border-radius: 4px;

  color: var(--payment-navy);
  background: var(--payment-white);

  text-align: center;
}

.nobo-payment__brand-name {
  display: block;

  font-family: var(--payment-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
}

/* ロゴ画像に差し替えた場合 */
.nobo-payment__brand img {
  display: block;

  width: auto;
  height: auto;
  max-width: 110px;
  max-height: 40px;
  margin: 0;
  padding: 0;

  border: 0;
  border-radius: 0;

  object-fit: contain;
}

/* ==================================================
   デンタルローンの注意事項
================================================== */

.nobo-payment__notes {
  margin-top: 18px;
  padding-left: 1.3em;

  font-size: 13px;
  line-height: 1.9;
  list-style: disc;
}

.nobo-payment__notes li {
  padding-left: 2px;
}

.nobo-payment__notes li + li {
  margin-top: 6px;
}

.nobo-payment__notes li::marker {
  color: var(--payment-blue);
}

/* ==================================================
   デンタルローン詳細リンク
   HTMLのコメント解除後に適用
================================================== */

.nobo-payment__loan-link {
  position: relative;
  isolation: isolate;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  max-width: 100%;
  min-height: 52px;
  margin-top: 22px;
  padding: 12px 22px;

  overflow: hidden;

  border: 1px solid var(--payment-blue);
  border-radius: 5px;

  color: var(--payment-white);
  background: var(--payment-blue);

  font-family: var(--payment-serif);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.025em;
  text-align: center;
  text-decoration: none;

  -webkit-tap-highlight-color: transparent;

  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.nobo-payment__loan-link:visited {
  color: var(--payment-white);
}

.nobo-payment__loan-link > * {
  position: relative;
  z-index: 1;
}

.nobo-payment__loan-link > span {
  min-width: 0;
}

.nobo-payment__loan-link::after {
  content: none;
}

.nobo-payment__loan-arrow {
  display: block;
  flex: 0 0 20px;

  width: 20px;
  height: 20px;
}

/* 光が流れる演出 */
.nobo-payment__loan-link::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -50%;
  left: 0;

  width: 45%;
  height: 200%;

  background: linear-gradient(
    90deg,
    transparent,
    rgb(255 255 255 / 35%),
    transparent
  );

  opacity: 0;
  transform: translateX(-250%) skewX(-20deg);
  animation: nobo-payment-shine 5s ease-in-out infinite;

  pointer-events: none;
}

@keyframes nobo-payment-shine {
  0%,
  65% {
    opacity: 0;
    transform: translateX(-250%) skewX(-20deg);
  }

  68% {
    opacity: 1;
  }

  85% {
    opacity: 1;
    transform: translateX(350%) skewX(-20deg);
  }

  86%,
  100% {
    opacity: 0;
    transform: translateX(350%) skewX(-20deg);
  }
}

.nobo-payment__loan-link:focus-visible {
  outline: 3px solid var(--payment-navy);
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .nobo-payment__loan-link:hover {
    border-color: #005eaf;
    background: #005eaf;
    box-shadow: 0 6px 18px rgb(2 114 212 / 18%);
  }
}

/* ==================================================
   ご契約前の案内
================================================== */

.nobo-payment__notice {
  margin-top: 24px;
  padding: 26px 30px;

  border-left: 3px solid #8cc5eb;
  border-radius: 0 4px 4px 0;

  background: var(--payment-pale);
}

.nobo-payment__notice-title {
  margin: 0 0 10px;
  padding: 0;

  border: 0;
  background: none;

  color: var(--payment-navy);

  font-family: var(--payment-serif);
  font-size: clamp(18px, 1.8vw, 23px);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.025em;
  text-decoration: none;
}

.nobo-payment__notice-title::before,
.nobo-payment__notice-title::after {
  content: none;
}

.nobo-payment__notice-text {
  font-size: 14px;
  line-height: 1.95;
}

.nobo-payment__notice-note {
  margin-top: 10px;

  font-size: 12px;
  line-height: 1.85;
}

/* ==================================================
   タブレット
================================================== */

@media (max-width: 1024px) {
  .nobo-payment {
    padding: 48px 0 60px;
  }

  .nobo-payment__method {
    padding: 24px;
    font-size: 19px;
  }

  .nobo-payment__detail {
    padding: 24px;
  }

  .nobo-payment__text {
    font-size: 14px;
  }

  .nobo-payment__brands {
    gap: 8px;
  }

  .nobo-payment__brand {
    min-width: 82px;
    min-height: 52px;
    padding: 8px 12px;
  }

  .nobo-payment__brand-name {
    font-size: 13px;
  }
}

/* ==================================================
   スマートフォン
================================================== */

@media (max-width: 767px) {
  .nobo-payment {
    padding: 36px 0 48px;
    font-size: 14px;
  }

  .nobo-payment__inner {
    width: calc(100% - 32px);
  }

  .nobo-payment__header {
    margin-bottom: 26px;
  }

  .nobo-payment__title {
    font-size: 28px;
    letter-spacing: 0.06em;
  }

  .nobo-payment__eyebrow {
    margin-top: 8px;
    padding-bottom: 15px;

    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .nobo-payment__eyebrow::after {
    width: 36px;
  }

  .nobo-payment__lead {
    margin-top: 18px;

    font-size: 14px;
    line-height: 1.9;
    letter-spacing: 0.02em;
  }

  .nobo-payment__row {
    grid-template-columns: minmax(0, 1fr);
  }

  .nobo-payment__method {
    padding: 14px 18px;

    border-right: 0;
    border-bottom: 1px solid var(--payment-line);

    font-size: 18px;
    line-height: 1.6;
  }

  .nobo-payment__detail {
    padding: 20px 18px;
  }

  .nobo-payment__text {
    font-size: 13px;
    line-height: 1.95;
    letter-spacing: 0.015em;
  }

  .nobo-payment__small {
    margin-top: 14px;
    font-size: 12px;
  }

  .nobo-payment__brands {
    margin-top: 18px;
    gap: 8px;
  }

  .nobo-payment__brand {
    flex: 1 1 100px;
    min-width: 0;
    min-height: 50px;
    padding: 9px 10px;
  }

  .nobo-payment__brand-name {
    font-size: 12px;
  }

  .nobo-payment__brand img {
    max-width: min(100%, 100px);
    max-height: 34px;
  }

  .nobo-payment__notes {
    margin-top: 16px;
    font-size: 12px;
  }

  .nobo-payment__loan-link {
    display: flex;

    width: 100%;
    min-height: 54px;
    margin-top: 20px;
    padding: 12px 14px;
    gap: 10px;

    font-size: 14px;
  }

  .nobo-payment__notice {
    margin-top: 20px;
    padding: 20px 18px;
  }

  .nobo-payment__notice-title {
    margin-bottom: 10px;

    font-size: 18px;
    line-height: 1.7;
  }

  .nobo-payment__notice-text {
    font-size: 13px;
  }

  .nobo-payment__notice-note {
    font-size: 11px;
  }
}

/* ==================================================
   動きを抑える設定
================================================== */

@media (prefers-reduced-motion: reduce) {
  .nobo-payment__loan-link {
    transition: none;
  }

  .nobo-payment__loan-link::before {
    content: none;
    animation: none;
  }
}

/* ==================================================
   料金表：医療費控除
================================================== */

.nobo-medical-deduction {
  --deduction-blue: #0272d4;
  --deduction-navy: #142f53;
  --deduction-text: #394b60;
  --deduction-muted: #59697a;
  --deduction-line: #c7d9e8;

  --deduction-serif:
    "Zen Old Mincho",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;

  --deduction-sans:
    "Zen Old Mincho", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;

  position: relative;
  padding-block: clamp(56px, 7vw, 100px);

  color: var(--deduction-text);
  background: #fff;

  font-family: var(--deduction-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.95;
  letter-spacing: 0.025em;

  overflow-wrap: anywhere;
  scroll-margin-top: calc(var(--price-header-offset, 100px) + 24px);
}

.nobo-medical-deduction,
.nobo-medical-deduction *,
.nobo-medical-deduction *::before,
.nobo-medical-deduction *::after {
  box-sizing: border-box;
}

/* ==================================================
   コンテンツ幅
================================================== */

.nobo-medical-deduction__inner {
  width: min(
    1200px,
    calc(100% - var(--price-gutter, 32px) * 2)
  );
  margin-inline: auto;
}

/* ==================================================
   セクション見出し
================================================== */

.nobo-medical-deduction__header {
  margin: 0 0 clamp(32px, 4vw, 48px);
  text-align: left;
}

.nobo-medical-deduction__eyebrow {
  margin: 0 0 12px;

  color: var(--deduction-blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.15em;
}

.nobo-medical-deduction__title {
  position: relative;
  margin: 0;
  padding: 0 0 20px;

  border: 0;
  background: none;

  color: var(--deduction-blue);
  font-family: var(--deduction-serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.07em;
  text-align: left;
}

.nobo-medical-deduction__title::before {
  content: none;
}

.nobo-medical-deduction__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;

  width: 48px;
  height: 2px;

  background: var(--deduction-blue);
  pointer-events: none;
}

.nobo-medical-deduction__lead {
  margin: 22px 0 0;

  color: var(--deduction-text);
  font-size: inherit;
  font-weight: 400;
  line-height: 1.95;
}

/* ==================================================
   各説明ブロック
================================================== */

.nobo-medical-deduction__body {
  margin: 0;
  padding: 0;
}

.nobo-medical-deduction__group {
  margin: 0;
  padding: 0 0 clamp(28px, 3vw, 40px);

  border: 0;
  border-bottom: 1px dashed var(--deduction-line);
  background: transparent;
  box-shadow: none;
}

.nobo-medical-deduction__group + .nobo-medical-deduction__group {
  padding-top: clamp(28px, 3vw, 40px);
}

.nobo-medical-deduction__heading {
  margin: 0 0 16px;
  padding: 0;

  border: 0;
  background: none;

  color: var(--deduction-navy);
  font-family: var(--deduction-serif);
  font-size: clamp(21px, 2vw, 26px);
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0.04em;
  text-align: left;
}

/* 共通見出し装飾の干渉を防止 */
.nobo-medical-deduction__heading::before,
.nobo-medical-deduction__heading::after {
  content: none;
}

/* ==================================================
   本文
================================================== */

.nobo-medical-deduction__text {
  margin: 0;

  color: var(--deduction-text);
  font-size: inherit;
  font-weight: 400;
  line-height: 1.95;
}

.nobo-medical-deduction__text + .nobo-medical-deduction__text {
  margin-top: 14px;
}

/* ==================================================
   箇条書き
================================================== */

.nobo-medical-deduction__list {
  display: grid;
  gap: 10px;

  margin: 18px 0 0;
  padding: 0 0 0 1.35em;

  list-style: disc outside;
}

.nobo-medical-deduction__list > li {
  display: list-item;
  margin: 0;
  padding: 0 0 0 0.2em;

  color: var(--deduction-text);
  font-size: inherit;
  line-height: 1.9;
}

.nobo-medical-deduction__list > li::marker {
  color: var(--deduction-blue);
  font-size: 0.85em;
}

/* 共通CSSによる箇条書き装飾の重複を防止 */
.nobo-medical-deduction__list > li::before,
.nobo-medical-deduction__list > li::after {
  content: none;
}

/* ==================================================
   注記
================================================== */

.nobo-medical-deduction__note {
  margin: 18px 0 0;
  padding-left: 1em;
  text-indent: -1em;

  color: var(--deduction-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.015em;
}

/* ==================================================
   下部案内・国税庁へのリンク
================================================== */

.nobo-medical-deduction__footer {
  margin: 0;
  padding-top: clamp(24px, 3vw, 36px);
}

.nobo-medical-deduction__footer .nobo-medical-deduction__text {
  font-size: 14px;
  line-height: 1.9;
}

.nobo-medical-deduction__link {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;

  max-width: 100%;
  min-height: 44px;
  margin-top: 14px;
  padding-block: 8px;

  border: 0;
  border-radius: 2px;

  color: var(--deduction-blue);
  background: transparent;
  box-shadow: none;

  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;

  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;

  -webkit-tap-highlight-color: transparent;

  transition: color 180ms ease;
}

.nobo-medical-deduction__link:visited {
  color: var(--deduction-blue);
}

.nobo-medical-deduction__link::before,
.nobo-medical-deduction__link::after {
  content: none;
}

.nobo-medical-deduction__link-note {
  font-size: 12px;
  font-weight: 400;
}

.nobo-medical-deduction__link:focus-visible {
  outline: 2px solid var(--deduction-blue);
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .nobo-medical-deduction__link:hover {
    color: var(--deduction-navy);
  }
}

/* ==================================================
   タブレット
================================================== */

@media (max-width: 1024px) {
  .nobo-medical-deduction {
    font-size: 15px;
  }
}

/* ==================================================
   スマートフォン
================================================== */

@media (max-width: 767px) {
  .nobo-medical-deduction {
    padding-block: 48px;
    font-size: 14px;
    line-height: 1.9;
    letter-spacing: 0.015em;
  }

  .nobo-medical-deduction__inner {
    width: calc(100% - 40px);
  }

  .nobo-medical-deduction__header {
    margin-bottom: 30px;
  }

  .nobo-medical-deduction__eyebrow {
    margin-bottom: 10px;
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .nobo-medical-deduction__title {
    padding-bottom: 16px;
    font-size: 27px;
    letter-spacing: 0.04em;
  }

  .nobo-medical-deduction__title::after {
    width: 36px;
  }

  .nobo-medical-deduction__lead {
    margin-top: 18px;
    line-height: 1.9;
  }

  .nobo-medical-deduction__group {
    padding-bottom: 26px;
  }

  .nobo-medical-deduction__group + .nobo-medical-deduction__group {
    padding-top: 26px;
  }

  .nobo-medical-deduction__heading {
    margin-bottom: 12px;
    font-size: 20px;
    line-height: 1.65;
    letter-spacing: 0.025em;
  }

  .nobo-medical-deduction__text {
    line-height: 1.9;
  }

  .nobo-medical-deduction__list {
    gap: 10px;
    margin-top: 14px;
  }

  .nobo-medical-deduction__list > li {
    line-height: 1.85;
  }

  .nobo-medical-deduction__note {
    margin-top: 14px;
    font-size: 12px;
  }

  .nobo-medical-deduction__footer {
    padding-top: 24px;
  }

  .nobo-medical-deduction__footer .nobo-medical-deduction__text,
  .nobo-medical-deduction__link {
    font-size: 13px;
  }

  .nobo-medical-deduction__link {
    margin-top: 12px;
  }
}

/* ==================================================
   動きを抑える設定
================================================== */

@media (prefers-reduced-motion: reduce) {
  .nobo-medical-deduction__link {
    transition: none;
  }
}


/* ==================================================
   料金表：無料相談へのご案内
================================================== */

.nobo-price-consultation {
  --price-cta-blue: #0272d4;
  --price-cta-blue-hover: #005eb5;
  --price-cta-navy: #102c50;
  --price-cta-photo-position: center;

  --price-cta-serif:
    "Zen Old Mincho",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;

  --price-cta-sans:
    "Zen Old Mincho", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;

  padding-block: clamp(32px, 4vw, 56px) clamp(64px, 7vw, 100px);

  color: #fff;
  background: #fff;
  font-family: var(--price-cta-sans);

  scroll-margin-top: calc(var(--price-header-offset, 100px) + 24px);
}

.nobo-price-consultation,
.nobo-price-consultation *,
.nobo-price-consultation *::before,
.nobo-price-consultation *::after {
  box-sizing: border-box;
}

/* ==================================================
   コンテンツ幅・パネル
================================================== */

.nobo-price-consultation__inner {
  width: min(
    1200px,
    calc(100% - var(--price-gutter, 32px) * 2)
  );
  margin-inline: auto;
}

.nobo-price-consultation__panel {
  position: relative;
  isolation: isolate;

  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;

  min-height: 460px;
  overflow: hidden;

  border-radius: 10px;
  background: var(--price-cta-navy);
}

/* ==================================================
   背景写真
================================================== */

.nobo-price-consultation__visual {
  position: absolute;
  z-index: 0;
  inset: 0 auto 0 0;

  width: 62%;
  overflow: hidden;
  pointer-events: none;
}

.nobo-price-consultation__image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;

  border: 0;
  border-radius: 0;

  object-fit: cover;
  object-position: var(--price-cta-photo-position);
}

/* 写真と紺色の背景を自然につなぐ */
.nobo-price-consultation__overlay {
  position: absolute;
  z-index: 1;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgb(16 44 80 / 0%) 18%,
    rgb(16 44 80 / 18%) 32%,
    rgb(16 44 80 / 85%) 46%,
    var(--price-cta-navy) 59%
  );

  pointer-events: none;
}

/* ==================================================
   相談案内
================================================== */

.nobo-price-consultation__content {
  position: relative;
  z-index: 2;
  grid-column: 2;

  min-width: 0;
  padding: clamp(36px, 4vw, 56px) clamp(24px, 3vw, 40px);

  text-align: center;
  overflow-wrap: anywhere;
}

.nobo-price-consultation__eyebrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;

  margin: 0 0 22px;

  color: #e2ebf6;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.2em;
}

.nobo-price-consultation__eyebrow::before {
  content: none;
}

.nobo-price-consultation__eyebrow::after {
  content: "";
  width: 44px;
  height: 1px;
  background: rgb(255 255 255 / 40%);
}

.nobo-price-consultation__title {
  margin: 0;
  padding: 0;

  border: 0;
  background: none;

  color: #fff;
  font-family: var(--price-cta-serif);
  font-size: clamp(27px, 2.65vw, 36px);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0.025em;
  text-align: center;
}

.nobo-price-consultation__title::before,
.nobo-price-consultation__title::after {
  content: none;
}

.nobo-price-consultation__title > span {
  display: block;
}

.nobo-price-consultation__description {
  margin: 20px 0 0;

  color: #edf3fa;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.95;
  letter-spacing: 0.025em;
}

/* ==================================================
   WEB予約・電話
================================================== */

.nobo-price-consultation__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;

  width: 100%;
  margin: 26px auto 0;
}

.nobo-price-consultation__button {
  position: relative;
  isolation: isolate;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  min-width: 0;
  min-height: 82px;
  padding: 14px 10px;
  overflow: hidden;

  border: 1px solid transparent;
  border-radius: 5px;

  font-family: var(--price-cta-sans);
  text-align: center;
  text-decoration: none;

  cursor: pointer;
  -webkit-tap-highlight-color: transparent;

  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.nobo-price-consultation__button::after {
  content: none;
}

.nobo-price-consultation__button-icon {
  position: relative;
  z-index: 1;

  display: block;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;

  color: inherit;
}

.nobo-price-consultation__button-body {
  position: relative;
  z-index: 1;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;

  min-width: 0;
}

.nobo-price-consultation__button-caption {
  display: block;

  font-size: 10px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.025em;
}

.nobo-price-consultation__button-label {
  display: block;

  font-size: 21px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

.nobo-price-consultation__button-number {
  display: block;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.65vw, 23px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  white-space: nowrap;
  font-variant-numeric: lining-nums tabular-nums;
}

/* WEB予約 */
.nobo-price-consultation__button--web,
.nobo-price-consultation__button--web:visited {
  border-color: var(--price-cta-blue);
  color: #fff;
  background: var(--price-cta-blue);
  box-shadow: 0 4px 16px rgb(0 0 0 / 12%);
}

/* 電話 */
.nobo-price-consultation__button--tel,
.nobo-price-consultation__button--tel:visited {
  border-color: #fff;
  color: var(--price-cta-navy);
  background: #fff;
  box-shadow: 0 4px 16px rgb(0 0 0 / 8%);
}

.nobo-price-consultation__button--tel::before {
  content: none;
}

/* ==================================================
   WEB予約ボタン：光が横切る演出
================================================== */

.nobo-price-consultation__button--web::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -30% auto -30% 0;

  width: 45%;

  background: linear-gradient(
    90deg,
    transparent,
    rgb(255 255 255 / 12%) 25%,
    rgb(255 255 255 / 42%) 50%,
    rgb(255 255 255 / 12%) 75%,
    transparent
  );

  opacity: 0;
  transform: translateX(-180%) skewX(-20deg);
  pointer-events: none;

  animation: nobo-price-cta-shine 5.5s ease-in-out infinite;
}

@keyframes nobo-price-cta-shine {
  0%,
  65% {
    opacity: 0;
    transform: translateX(-180%) skewX(-20deg);
  }

  68% {
    opacity: 1;
  }

  88% {
    opacity: 1;
    transform: translateX(340%) skewX(-20deg);
  }

  89%,
  100% {
    opacity: 0;
    transform: translateX(340%) skewX(-20deg);
  }
}

/* ==================================================
   操作時の表示
================================================== */

.nobo-price-consultation__button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .nobo-price-consultation__button:hover {
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 8px 22px rgb(0 0 0 / 20%);
  }

  .nobo-price-consultation__button--web:hover {
    border-color: var(--price-cta-blue-hover);
    color: #fff;
    background: var(--price-cta-blue-hover);
  }

  .nobo-price-consultation__button--tel:hover {
    border-color: #e8f3ff;
    color: var(--price-cta-navy);
    background: #e8f3ff;
  }
}

/* ==================================================
   診療時間
================================================== */

.nobo-price-consultation__hours {
  margin: 18px 0 0;

  color: #edf3fa;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.025em;
}

.nobo-price-consultation__hours-note {
  display: block;
  margin-top: 4px;

  color: #d0ddeb;
  font-size: 11px;
  line-height: 1.8;
}

/* ==================================================
   タブレット
================================================== */

@media (min-width: 768px) and (max-width: 1100px) {
  .nobo-price-consultation__panel {
    grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.35fr);
  }

  .nobo-price-consultation__visual {
    width: 58%;
  }

  .nobo-price-consultation__overlay {
    background: linear-gradient(
      90deg,
      rgb(16 44 80 / 0%) 8%,
      rgb(16 44 80 / 40%) 25%,
      rgb(16 44 80 / 94%) 39%,
      var(--price-cta-navy) 55%
    );
  }

  .nobo-price-consultation__content {
    padding: 40px 24px;
  }

  .nobo-price-consultation__title {
    font-size: 28px;
  }

  .nobo-price-consultation__description br {
    display: none;
  }

  .nobo-price-consultation__actions {
    grid-template-columns: minmax(0, 1fr);
    max-width: 340px;
  }

  .nobo-price-consultation__button {
    min-height: 74px;
  }

  .nobo-price-consultation__button-number {
    font-size: 24px;
  }
}

/* ==================================================
   スマートフォン
================================================== */

@media (max-width: 767px) {
  .nobo-price-consultation {
    padding-block: 24px 56px;
  }

  .nobo-price-consultation__inner {
    width: calc(100% - 32px);
  }

  .nobo-price-consultation__panel {
    display: block;
    min-height: 0;
    border-radius: 8px;
  }

  .nobo-price-consultation__visual {
    position: relative;
    inset: auto;

    width: 100%;
    height: 240px;
  }

  .nobo-price-consultation__image {
    object-position: center 45%;
  }

  .nobo-price-consultation__overlay {
    inset: 0 0 auto;
    height: 241px;

    background: linear-gradient(
      180deg,
      rgb(16 44 80 / 0%) 35%,
      rgb(16 44 80 / 25%) 60%,
      var(--price-cta-navy) 100%
    );
  }

  .nobo-price-consultation__content {
    margin-top: -20px;
    padding: 0 20px 32px;
  }

  .nobo-price-consultation__eyebrow {
    gap: 12px;
    margin-bottom: 18px;

    font-size: 10px;
    letter-spacing: 0.16em;
  }

  .nobo-price-consultation__title {
    font-size: clamp(22px, 5.8vw, 30px);
    line-height: 1.65;
    letter-spacing: 0.01em;
  }

  .nobo-price-consultation__description {
    margin-top: 16px;

    font-size: 13px;
    line-height: 1.9;
    text-align: left;
  }

  .nobo-price-consultation__description br {
    display: none;
  }

  .nobo-price-consultation__actions {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;

    max-width: 400px;
    margin-top: 24px;
  }

  .nobo-price-consultation__button {
    min-height: 76px;
    padding: 12px 16px;
    gap: 14px;
  }

  .nobo-price-consultation__button-icon {
    flex-basis: 26px;
    width: 26px;
    height: 26px;
  }

  .nobo-price-consultation__button-caption {
    font-size: 11px;
  }

  .nobo-price-consultation__button-label {
    font-size: 22px;
  }

  .nobo-price-consultation__button-number {
    font-size: 26px;
  }

  .nobo-price-consultation__hours {
    margin-top: 18px;
    font-size: 11px;
  }

  .nobo-price-consultation__hours-note {
    font-size: 10px;
  }
}

/* ==================================================
   動きを抑える設定
================================================== */

@media (prefers-reduced-motion: reduce) {
  .nobo-price-consultation__button {
    transition: none;
  }

  .nobo-price-consultation__button--web::before {
    content: none;
    animation: none;
  }

  .nobo-price-consultation__button:hover {
    transform: none;
  }
}
/* ==================================================
   料金表（4列：治療内容・期間・回数・料金）
   - PC・タブレット：表のまま（狭い幅では横スクロール）
   - スマホ（〜767px）：1行ずつカードに組み替え、料金まで縦に並べて一度に見えるようにする
================================================== */
.page-price .nobo-ortho-fees__visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.page-price .nobo-ortho-fees__group {
  min-width: 0;
}

.page-price .nobo-ortho-fees__table-wrap--four-columns {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-price .nobo-ortho-fees__table-wrap--four-columns:focus-visible {
  outline: 2px solid #0272d4;
  outline-offset: 3px;
}

.page-price .nobo-ortho-fees__table--four-columns {
  width: 100%;
  min-width: 660px;
  table-layout: fixed;
}

.page-price .nobo-ortho-fees__table--four-columns col.nobo-ortho-fees__col-treatment { width: 32%; }
.page-price .nobo-ortho-fees__table--four-columns col.nobo-ortho-fees__col-duration  { width: 23%; }
.page-price .nobo-ortho-fees__table--four-columns col.nobo-ortho-fees__col-visits    { width: 20%; }
.page-price .nobo-ortho-fees__table--four-columns col.nobo-ortho-fees__col-price     { width: 25%; }

.page-price .nobo-ortho-fees__table--four-columns :is(th, td) {
  box-sizing: border-box;
  padding: 16px 12px;
  vertical-align: middle;
}

.page-price .nobo-ortho-fees__table--four-columns thead th:not(:first-child),
.page-price .nobo-ortho-fees__table--four-columns td.nobo-ortho-fees__duration,
.page-price .nobo-ortho-fees__table--four-columns td.nobo-ortho-fees__visits {
  text-align: center;
  white-space: nowrap;
}

.page-price .nobo-ortho-fees__table--four-columns tbody th {
  text-align: left;
}

.page-price .nobo-ortho-fees__table--four-columns .nobo-ortho-fees__treatment-note {
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
}

.page-price .nobo-ortho-fees__table--four-columns tbody td:last-child {
  text-align: right;
  white-space: nowrap;
}

.page-price .nobo-ortho-fees__table--four-columns .nobo-ortho-fees__price-range {
  display: inline;
  white-space: nowrap;
}

/* 「表が収まらない場合は…」：表のまま表示するタブレット幅だけ出す */
.page-price .nobo-ortho-fees__scroll-hint {
  display: none;
  margin: 8px 0 0;
  font-size: 12px;
  text-align: right;
  color: #476079;
}

@media (min-width: 768px) and (max-width: 900px) {
  .page-price .nobo-ortho-fees__scroll-hint {
    display: block;
  }

  .page-price .nobo-ortho-fees__table--four-columns :is(th, td) {
    padding: 12px 10px;
    font-size: 14px;
  }
}

/* スマホ：カード表示 */
@media (max-width: 767px) {
  .page-price .nobo-ortho-fees__table-wrap--four-columns {
    overflow: visible;
  }

  .page-price .nobo-ortho-fees__table--four-columns,
  .page-price .nobo-ortho-fees__table--four-columns tbody {
    display: block;
    min-width: 0;
    border: 0;
    background: transparent;
  }

  /* 見出し行は読み上げ用に残して非表示（各項目に見出しを付けるため） */
  .page-price .nobo-ortho-fees__table--four-columns thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .page-price .nobo-ortho-fees__table--four-columns colgroup {
    display: none;
  }

  .page-price .nobo-ortho-fees__table--four-columns tr {
    display: block;
    border: 1px solid var(--fees-line);
    background: #fff;
  }

  .page-price .nobo-ortho-fees__table--four-columns tr + tr {
    margin-top: 10px;
  }

  .page-price .nobo-ortho-fees__table--four-columns :is(th, td) {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border: 0;
    font-size: 15px;
  }

  /* 治療内容（カードの見出し） */
  .page-price .nobo-ortho-fees__table--four-columns tbody th {
    display: block;
    background: var(--fees-heading-bg);
    color: var(--fees-navy);
    font-weight: 700;
  }

  .page-price .nobo-ortho-fees__table--four-columns tbody td {
    border-top: 1px dashed var(--fees-line);
    text-align: right;
    white-space: normal;
  }

  .page-price .nobo-ortho-fees__table--four-columns tbody tr:nth-child(even) > * {
    background: inherit;
  }

  .page-price .nobo-ortho-fees__table--four-columns tbody tr:nth-child(even) > th {
    background: var(--fees-heading-bg);
  }

  /* 各項目の見出し */
  .page-price .nobo-ortho-fees__table--four-columns td::before {
    flex-shrink: 0;
    color: #476079;
    font-size: 13px;
    font-weight: 500;
    text-align: left;
  }

  .page-price .nobo-ortho-fees__table--four-columns td:nth-of-type(1)::before { content: "治療期間目安"; }
  .page-price .nobo-ortho-fees__table--four-columns td:nth-of-type(2)::before { content: "治療回数目安"; }
  .page-price .nobo-ortho-fees__table--four-columns td:nth-of-type(3)::before { content: "料金（税込）"; }

  /* 料金を強調 */
  .page-price .nobo-ortho-fees__table--four-columns td:nth-of-type(3) {
    font-size: 17px;
    font-weight: 700;
  }
}
