/* ==================================================
   当院の矯正歯科
   ファイル：css/pages/orthodontics.css
   対象：FV・パンくず
================================================== */

/* ==================================================
   FV：基本設定
================================================== */

.nobo-orthodontics-fv {
  --orthodontics-blue: #0272d4;
  --orthodontics-navy: #142f53;
  --orthodontics-serif:
    "Zen Old Mincho",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;

  --orthodontics-fv-height: 360px;
  --orthodontics-fv-photo-position: center 50%;

  /* 固定ヘッダーがFVに重なる場合の余白 */
  --orthodontics-fv-header-space: 88px;

  position: relative;
  isolation: isolate;

  display: grid;
  place-items: center;

  width: 100%;
  min-height: var(--orthodontics-fv-height);
  margin: 0;
  padding:
    calc(var(--orthodontics-fv-header-space) + 40px)
    32px
    80px;

  overflow: hidden;

  color: var(--orthodontics-navy);
  background: #eef3f7;
  font-family: var(--orthodontics-serif);


}

.nobo-orthodontics-fv,
.nobo-orthodontics-fv *,
.nobo-orthodontics-fv *::before,
.nobo-orthodontics-fv *::after {
  box-sizing: border-box;
}

/* ==================================================
   背景写真
================================================== */

.nobo-orthodontics-fv__visual {
  position: absolute;
  z-index: 0;
  inset: 0;

  margin: 0;
  padding: 0;

  overflow: hidden;
  pointer-events: none;
}

.nobo-orthodontics-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(--orthodontics-fv-photo-position);
}

/* ==================================================
   白の透過レイヤー
   写真を残しながら中央の見出しを読みやすくする
================================================== */

.nobo-orthodontics-fv__overlay {
  position: absolute;
  z-index: 1;
  inset: 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;
}

/* ==================================================
   見出し
================================================== */

.nobo-orthodontics-fv__inner {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 1200px;
  min-width: 0;
  margin-inline: auto;

  text-align: center;
}

.nobo-orthodontics-fv__eyebrow {
  margin: 0 0 12px;
  padding: 0;

  color: var(--orthodontics-blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(12px, 1.1vw, 15px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.16em;

  overflow-wrap: anywhere;
}

.nobo-orthodontics-fv__title {
  position: relative;

  margin: 0;
  padding: 0;

  border: 0;
  background: none;

  color: var(--orthodontics-navy);
  font-family: var(--orthodontics-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;
}

.nobo-orthodontics-fv__title::before {
  content: none;
}


/* ==================================================
   パンくず
   このページ内に限定して指定
================================================== */

.page-orthodontics .nobo-breadcrumb {
  position: relative;

  width: 100%;
  margin: 0;
  padding: 0;

  border-bottom: 1px solid #d5e5f3;

  color: #485563;
  background: #fff;
  font-family:
    "Zen Old Mincho", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;
}

.page-orthodontics .nobo-breadcrumb,
.page-orthodontics .nobo-breadcrumb *,
.page-orthodontics .nobo-breadcrumb *::before,
.page-orthodontics .nobo-breadcrumb *::after {
  box-sizing: border-box;
}

.page-orthodontics .nobo-breadcrumb__inner {
  width: 100%;
  max-width: 1264px;
  min-width: 0;
  margin-inline: auto;
  padding-inline: 32px;
}

.page-orthodontics .nobo-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;

  min-height: 48px;
  margin: 0;
  padding: 8px 0;

  list-style: none;
}

.page-orthodontics .nobo-breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 14px;

  min-width: 0;
  margin: 0;
  padding: 0;

  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.025em;
}

/* 項目間の区切り */
.page-orthodontics .nobo-breadcrumb__item + .nobo-breadcrumb__item::before {
  content: "";

  display: block;
  flex: 0 0 5px;

  width: 5px;
  height: 5px;

  border-top: 1px solid #7baed8;
  border-right: 1px solid #7baed8;

  transform: rotate(45deg);
}

.page-orthodontics .nobo-breadcrumb__link {
  display: inline-flex;
  align-items: center;

  min-height: 32px;
  padding: 2px 0;

  color: #0272d4;
  text-decoration: none;
  text-underline-offset: 0.2em;

  -webkit-tap-highlight-color: transparent;
}

.page-orthodontics .nobo-breadcrumb__link:visited {
  color: #0272d4;
}

.page-orthodontics .nobo-breadcrumb__link:focus-visible {
  outline: 2px solid #0272d4;
  outline-offset: 3px;
}

.page-orthodontics .nobo-breadcrumb__current {
  color: #485563;
  overflow-wrap: anywhere;
}

@media (hover: hover) and (pointer: fine) {
  .page-orthodontics .nobo-breadcrumb__link:hover {
    text-decoration: underline;
  }
}

/* ==================================================
   タブレット
================================================== */

@media (min-width: 768px) and (max-width: 1100px) {
  .nobo-orthodontics-fv {
    --orthodontics-fv-height: 320px;

    padding-inline: 28px;
    padding-bottom: 64px;
  }

  .page-orthodontics .nobo-breadcrumb__inner {
    padding-inline: 28px;
  }
}

/* ==================================================
   スマートフォン
================================================== */

@media (max-width: 767px) {
  .nobo-orthodontics-fv {
    --orthodontics-fv-height: 260px;
    --orthodontics-fv-header-space: 68px;

    padding:
      calc(var(--orthodontics-fv-header-space) + 32px)
      20px
      56px;

    border-radius: 0 0 50% 50% / 0 0 7% 7%;
  }

  .nobo-orthodontics-fv__eyebrow {
    margin-bottom: 10px;

    font-size: 11px;
    letter-spacing: 0.13em;
  }

  .nobo-orthodontics-fv__title {
    font-size: clamp(28px, 7.5vw, 34px);
    line-height: 1.6;
    letter-spacing: 0.07em;
  }

  .nobo-orthodontics-fv__title::after {
    width: 46px;
    margin-top: 17px;
  }

  .page-orthodontics .nobo-breadcrumb__inner {
    padding-inline: 20px;
  }

  .page-orthodontics .nobo-breadcrumb__list {
    min-height: 44px;
    gap: 4px 10px;
    padding-block: 6px;
  }

  .page-orthodontics .nobo-breadcrumb__item {
    gap: 10px;
    font-size: 11px;
  }
}

/* ==================================================
   小さなスマートフォン
================================================== */

@media (max-width: 359px) {
  .nobo-orthodontics-fv {
    padding-inline: 16px;
  }

  .nobo-orthodontics-fv__title {
    font-size: 26px;
    letter-spacing: 0.05em;
  }

  .page-orthodontics .nobo-breadcrumb__inner {
    padding-inline: 16px;
  }
}



/* ==================================================
   当院の矯正歯科：目次
================================================== */

.nobo-orthodontics-toc {
  --toc-blue: #0272d4;
  --toc-navy: #142f53;
  --toc-text: #485563;
  --toc-line: #c8e0f7;
  --toc-serif:
    "Zen Old Mincho",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;

  position: relative;
  isolation: isolate;

  width: 100%;
  margin: 0;
  padding: 44px 32px 64px;
  overflow: hidden;

  color: var(--toc-navy);
  background: linear-gradient(180deg, #fbfdff 0%, #edf5fd 100%);
  font-family: var(--toc-serif);
}

.nobo-orthodontics-toc,
.nobo-orthodontics-toc *,
.nobo-orthodontics-toc::before,
.nobo-orthodontics-toc::after,
.nobo-orthodontics-toc *::before,
.nobo-orthodontics-toc *::after {
  box-sizing: border-box;
}

/* ==================================================
   背景の曲線装飾
================================================== */

.nobo-orthodontics-toc::before,
.nobo-orthodontics-toc::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 100px;

  width: 520px;
  height: 240px;

  border: 1px solid rgb(2 114 212 / 8%);
  border-radius: 50%;

  pointer-events: none;
}

.nobo-orthodontics-toc::before {
  left: -280px;
  transform: rotate(15deg);
}

.nobo-orthodontics-toc::after {
  right: -280px;
  transform: rotate(-15deg);
}

.nobo-orthodontics-toc__background-word {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 50%;
  transform: translateX(-50%);

  display: block;
  margin: 0;

  color: rgb(2 114 212 / 4%);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(72px, 12vw, 180px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.06em;
  white-space: nowrap;

  pointer-events: none;
  user-select: none;
}

/* ==================================================
   コンテンツ幅
================================================== */

.nobo-orthodontics-toc__inner {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 1200px;
  min-width: 0;
  margin-inline: auto;
}

/* ==================================================
   見出し
================================================== */

.nobo-orthodontics-toc__header {
  margin: 0 0 24px;
  text-align: center;
}

.nobo-orthodontics-toc__eyebrow {
  margin: 0 0 4px;

  color: var(--toc-blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.16em;
}

.nobo-orthodontics-toc__title {
  margin: 0;
  padding: 0;

  border: 0;
  background: none;

  color: var(--toc-navy);
  font-family: var(--toc-serif);
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.16em;
}

.nobo-orthodontics-toc__title::before,
.nobo-orthodontics-toc__title::after {
  content: none;
}

.nobo-orthodontics-toc__lead {
  margin: 8px 0 0;

  color: var(--toc-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.035em;
  overflow-wrap: anywhere;
}

/* ==================================================
   目次カード
================================================== */

.nobo-orthodontics-toc__nav {
  padding: 12px 32px;

  border: 1px solid #e1edf8;
  border-radius: 6px;

  background: #fff;
  box-shadow: 0 6px 24px rgb(20 47 83 / 4%);
}

.nobo-orthodontics-toc .nobo-orthodontics-toc__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.nobo-orthodontics-toc__item {
  min-width: 0;
  margin: 0;
  padding: 0;

  border-bottom: 1px solid var(--toc-line);
}

/* 最後の項目は横幅いっぱいに配置 */
.nobo-orthodontics-toc__item--wide {
  grid-column: 1 / -1;
  border-bottom: 0;
}

.nobo-orthodontics-toc__link {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 16px;

  width: 100%;
  min-height: 66px;
  padding: 12px 4px;

  color: var(--toc-navy);
  background: transparent;
  text-decoration: none;

  -webkit-tap-highlight-color: transparent;

  transition:
    color 200ms ease,
    background-color 200ms ease;
}

.nobo-orthodontics-toc__link:visited {
  color: var(--toc-navy);
}

.nobo-orthodontics-toc__link::before,
.nobo-orthodontics-toc__link::after {
  content: none;
}

.nobo-orthodontics-toc__number {
  color: #5b9fe4;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.035em;
}

.nobo-orthodontics-toc__text {
  min-width: 0;

  font-size: 19px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.025em;
  overflow-wrap: anywhere;
}

.nobo-orthodontics-toc__arrow {
  display: block;
  width: 24px;
  height: 24px;

  color: var(--toc-blue);

  transition: transform 200ms ease;
}

/* ==================================================
   小児矯正ページへの案内
================================================== */

.nobo-orthodontics-toc__children {
  display: grid;
  grid-template-columns:
    64px
    minmax(0, 1fr)
    minmax(150px, 0.6fr)
    auto;
  align-items: center;
  gap: 24px;

  width: 100%;
  margin-top: 24px;
  padding: 24px 28px;

  border: 1px solid #bcd9f4;
  border-radius: 5px;

  color: var(--toc-navy);
  background: rgb(255 255 255 / 42%);
  text-decoration: none;

  -webkit-tap-highlight-color: transparent;

  transition:
    border-color 200ms ease,
    background-color 200ms ease;
}

.nobo-orthodontics-toc__children:visited {
  color: var(--toc-navy);
}

.nobo-orthodontics-toc__children::before,
.nobo-orthodontics-toc__children::after {
  content: none;
}

.nobo-orthodontics-toc__children-icon {
  display: block;

  width: 64px;
  height: auto;
  max-width: 100%;
  margin: 0;

  object-fit: contain;
}

.nobo-orthodontics-toc__children-heading {
  min-width: 0;
}

.nobo-orthodontics-toc__children-eyebrow {
  margin: 0 0 5px;

  color: var(--toc-blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.14em;
}

.nobo-orthodontics-toc__children-title {
  margin: 0;
  padding: 0;

  border: 0;
  background: none;

  color: var(--toc-navy);
  font-family: var(--toc-serif);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.025em;
  overflow-wrap: anywhere;
}

.nobo-orthodontics-toc__children-title::before,
.nobo-orthodontics-toc__children-title::after {
  content: none;
}

.nobo-orthodontics-toc__children-description {
  min-width: 0;
  margin: 0;
  padding-left: 20px;

  border-left: 1px solid var(--toc-line);

  color: var(--toc-text);
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.025em;
}

.nobo-orthodontics-toc__children-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  min-height: 46px;
  padding: 10px 18px;

  border: 1px solid var(--toc-blue);
  border-radius: 2px;

  color: var(--toc-blue);
  background: #fff;

  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  white-space: nowrap;

  transition:
    color 200ms ease,
    background-color 200ms ease;
}

.nobo-orthodontics-toc__children-button svg {
  display: block;
  flex: 0 0 20px;

  width: 20px;
  height: 20px;

  transition: transform 200ms ease;
}

/* ==================================================
   フォーカス・ホバー
================================================== */

.nobo-orthodontics-toc__link:focus-visible,
.nobo-orthodontics-toc__children:focus-visible {
  outline: 2px solid var(--toc-blue);
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .nobo-orthodontics-toc__link:hover {
    color: var(--toc-blue);
    background: #f5faff;
  }

  .nobo-orthodontics-toc__link:hover
    .nobo-orthodontics-toc__arrow {
    transform: translateY(3px);
  }

  .nobo-orthodontics-toc__children:hover {
    border-color: var(--toc-blue);
    background: #fff;
  }

  .nobo-orthodontics-toc__children:hover
    .nobo-orthodontics-toc__children-button {
    color: #fff;
    background: var(--toc-blue);
  }

  .nobo-orthodontics-toc__children:hover
    .nobo-orthodontics-toc__children-button svg {
    transform: translateX(3px);
  }
}

/* ==================================================
   リンク先：固定ヘッダーとの重なりを防ぐ
================================================== */

.page-orthodontics :where(
  #orthodontics-about,
  #orthodontics-policy,
  #orthodontics-reasons,
  #orthodontics-consultation,
  #orthodontics-menu,
  #orthodontics-comparison,
  #orthodontics-flow
) {
  scroll-margin-top: 108px;
}

/* ==================================================
   タブレット
================================================== */

@media (min-width: 768px) and (max-width: 1100px) {
  .nobo-orthodontics-toc {
    padding-inline: 28px;
  }

  .nobo-orthodontics-toc__nav {
    padding-inline: 24px;
  }

  .nobo-orthodontics-toc .nobo-orthodontics-toc__list {
    column-gap: 24px;
  }

  .nobo-orthodontics-toc__link {
    grid-template-columns: 42px minmax(0, 1fr) 22px;
    gap: 12px;
  }

  .nobo-orthodontics-toc__text {
    font-size: 17px;
  }

  .nobo-orthodontics-toc__children {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 16px 20px;
    padding: 22px 24px;
  }

  .nobo-orthodontics-toc__children-icon {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 56px;
  }

  .nobo-orthodontics-toc__children-heading {
    grid-column: 2;
    grid-row: 1;
  }

  .nobo-orthodontics-toc__children-description {
    grid-column: 2;
    grid-row: 2;
    padding-left: 0;
    border-left: 0;
  }

  .nobo-orthodontics-toc__children-description br {
    display: none;
  }

  .nobo-orthodontics-toc__children-button {
    grid-column: 3;
    grid-row: 1 / 3;
  }
}

/* ==================================================
   スマートフォン
================================================== */

@media (max-width: 767px) {
  .nobo-orthodontics-toc {
    padding: 32px 16px 40px;
  }

  .nobo-orthodontics-toc__background-word {
    top: 12px;
    font-size: clamp(60px, 16vw, 100px);
  }

  .nobo-orthodontics-toc__header {
    margin-bottom: 20px;
  }

  .nobo-orthodontics-toc__eyebrow {
    font-size: 11px;
  }

  .nobo-orthodontics-toc__title {
    font-size: 28px;
  }

  .nobo-orthodontics-toc__lead {
    font-size: 14px;
    letter-spacing: 0.015em;
  }

  .nobo-orthodontics-toc__nav {
    padding: 8px 16px;
    border-radius: 4px;
  }

  .nobo-orthodontics-toc .nobo-orthodontics-toc__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .nobo-orthodontics-toc__link {
    grid-template-columns: 36px minmax(0, 1fr) 20px;
    gap: 10px;

    min-height: 60px;
    padding: 12px 0;
  }

  .nobo-orthodontics-toc__number {
    font-size: 27px;
  }

  .nobo-orthodontics-toc__text {
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: 0;
  }

  .nobo-orthodontics-toc__arrow {
    width: 20px;
    height: 20px;
  }

  .nobo-orthodontics-toc__children {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;

    margin-top: 18px;
    padding: 20px 16px;
  }

  .nobo-orthodontics-toc__children-icon {
    width: 44px;
  }

  .nobo-orthodontics-toc__children-eyebrow {
    margin-bottom: 3px;
    font-size: 10px;
  }

  .nobo-orthodontics-toc__children-title {
    font-size: 17px;
    line-height: 1.65;
    letter-spacing: 0;
  }

  .nobo-orthodontics-toc__children-description {
    grid-column: 1 / -1;

    padding: 0;
    border: 0;

    font-size: 13px;
    text-align: center;
  }

  .nobo-orthodontics-toc__children-description br {
    display: none;
  }

  .nobo-orthodontics-toc__children-button {
    grid-column: 1 / -1;
    justify-self: stretch;

    min-height: 46px;
    padding-inline: 14px;
  }

  .page-orthodontics :where(
    #orthodontics-about,
    #orthodontics-policy,
    #orthodontics-reasons,
    #orthodontics-consultation,
    #orthodontics-menu,
    #orthodontics-comparison,
    #orthodontics-flow
  ) {
    scroll-margin-top: 84px;
  }
}

/* ==================================================
   動きを抑える設定
================================================== */

@media (prefers-reduced-motion: reduce) {
  .nobo-orthodontics-toc__link,
  .nobo-orthodontics-toc__arrow,
  .nobo-orthodontics-toc__children,
  .nobo-orthodontics-toc__children-button,
  .nobo-orthodontics-toc__children-button svg {
    transition: none;
  }

  .nobo-orthodontics-toc__link:hover
    .nobo-orthodontics-toc__arrow,
  .nobo-orthodontics-toc__children:hover
    .nobo-orthodontics-toc__children-button svg {
    transform: none;
  }
}


/* ==================================================
   当院の矯正歯科：矯正治療について
================================================== */

.nobo-orthodontics-about {
  --about-blue: #0272d4;
  --about-navy: #142f53;
  --about-text: #37465a;
  --about-line: #8bc5f2;
  --about-photo-position: center;
  --about-serif:
    "Zen Old Mincho",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;
  --about-sans:
    "Zen Old Mincho", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;

  position: relative;
  isolation: isolate;

  width: 100%;
  margin: 0;
  padding: 64px 32px 80px;

  overflow: hidden;

  color: var(--about-text);
  background:
    radial-gradient(
      ellipse at 0% 10%,
      rgb(180 222 250 / 65%),
      transparent 45%
    ),
    linear-gradient(
      135deg,
      #eef7ff 0%,
      #fff 48%,
      #f5faff 100%
    );

  scroll-margin-top: 108px;
}

.nobo-orthodontics-about,
.nobo-orthodontics-about::before,
.nobo-orthodontics-about::after,
.nobo-orthodontics-about *,
.nobo-orthodontics-about *::before,
.nobo-orthodontics-about *::after {
  box-sizing: border-box;
}

/* 下端の曲線装飾 */
.nobo-orthodontics-about::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -10%;
  bottom: -97px;

  width: 120%;
  height: 150px;

  border-top: 1px solid var(--about-line);
  border-radius: 50% 50% 0 0 / 45% 45% 0 0;

  background: #eaf5fe;
  transform: rotate(-3deg);

  pointer-events: none;
}

/* ==================================================
   背景の英字
================================================== */

.nobo-orthodontics-about__background-word {
  position: absolute;
  z-index: 0;
  top: -18px;
  right: -16px;

  display: block;
  margin: 0;

  color: rgb(2 114 212 / 7%);

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(72px, 9.5vw, 160px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.015em;
  white-space: nowrap;

  pointer-events: none;
  user-select: none;
}

/* ==================================================
   レイアウト
================================================== */

.nobo-orthodontics-about__inner {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 5vw, 80px);

  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
}

/* ==================================================
   左側：写真
   写真自体を曲線で切り抜き、外側に輪郭を追加
================================================== */

.nobo-orthodontics-about__visual {
  position: relative;
  isolation: isolate;

  width: 100%;
  min-width: 0;
  aspect-ratio: 1.04;
  margin: 0;

  /* 外側の輪郭を表示するため、ここでは切り抜かない */
  overflow: visible;
}

/* 写真の右側に沿うブルーライン */
.nobo-orthodontics-about__visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 5px -10px -5px 10px;

  border: 1px solid var(--about-line);
  border-left-color: transparent;
  border-radius: 72% 18% 13% 45% / 17% 45% 20% 13%;

  pointer-events: none;
}

.nobo-orthodontics-about__image {
  display: block;

  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;

  border: 0;
  border-radius: 72% 18% 13% 45% / 17% 45% 20% 13%;

  background: #e8e8e3;

  object-fit: cover;
  object-position: var(--about-photo-position);
}

/* ==================================================
   右側：本文
================================================== */

.nobo-orthodontics-about__content {
  min-width: 0;
  padding-block: 12px;
}

.nobo-orthodontics-about__header {
  margin: 0 0 24px;
}

/* 英字見出し・下線 */
.nobo-orthodontics-about__eyebrow {
  position: relative;

  margin: 0 0 16px;
  padding: 0 16px 10px 0;

  border-bottom: 1px solid var(--about-line);

  color: var(--about-blue);

  font-family: var(--about-sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.28em;
  overflow-wrap: anywhere;
}

/* ライン右端の小さな丸 */
.nobo-orthodontics-about__eyebrow::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -2px;

  width: 4px;
  height: 4px;

  border-radius: 50%;
  background: var(--about-blue);
}

/* 日本語見出し */
.nobo-orthodontics-about__title {
  margin: 0;
  padding: 0;

  border: 0;
  background: none;

  color: var(--about-navy);

  font-family: var(--about-serif);
  font-size: clamp(32px, 3.2vw, 46px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.nobo-orthodontics-about__title::before,
.nobo-orthodontics-about__title::after {
  content: none;
}

/* 青いリード文 */
.nobo-orthodontics-about__lead {
  margin: 0 0 24px;

  color: var(--about-blue);

  font-family: var(--about-serif);
  font-size: clamp(21px, 1.85vw, 28px);
  font-weight: 700;
  line-height: 1.85;
  letter-spacing: 0.055em;
  overflow-wrap: anywhere;
}

.nobo-orthodontics-about__lead > span {
  display: block;
}

/* 説明文 */
.nobo-orthodontics-about__text {
  color: var(--about-text);

  font-family: var(--about-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 2.05;
  letter-spacing: 0.035em;
  overflow-wrap: anywhere;
  line-break: strict;
}

.nobo-orthodontics-about__text > p {
  margin: 0;
}

.nobo-orthodontics-about__text > p + p {
  margin-top: 22px;
}

/* ==================================================
   小さめのPC・タブレット横向き
================================================== */

@media (min-width: 1025px) and (max-width: 1279px) {
  .nobo-orthodontics-about {
    padding: 56px 28px 72px;
  }

  .nobo-orthodontics-about__inner {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 40px;
  }

  .nobo-orthodontics-about__visual {
    aspect-ratio: 0.9;
  }

  .nobo-orthodontics-about__title {
    font-size: 36px;
    letter-spacing: 0.07em;
  }

  .nobo-orthodontics-about__lead {
    font-size: 22px;
  }

  .nobo-orthodontics-about__text {
    font-size: 15px;
  }
}

/* ==================================================
   タブレット：縦並び
================================================== */

@media (max-width: 1024px) {
  .nobo-orthodontics-about {
    padding: 48px 28px 72px;
  }

  .nobo-orthodontics-about__background-word {
    top: 8px;
    font-size: clamp(72px, 12vw, 120px);
  }

  .nobo-orthodontics-about__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;

    max-width: 760px;
  }

  .nobo-orthodontics-about__visual {
    width: min(100%, 620px);
    aspect-ratio: 1.35;
    margin-inline: auto;
  }

  .nobo-orthodontics-about__content {
    padding: 0;
  }

  .nobo-orthodontics-about__title {
    font-size: 38px;
  }

  .nobo-orthodontics-about__lead {
    font-size: 25px;
  }
}

/* ==================================================
   スマートフォン
================================================== */

@media (max-width: 767px) {
  .nobo-orthodontics-about {
    padding: 36px 20px 56px;
    scroll-margin-top: 84px;
  }

  .nobo-orthodontics-about::after {
    right: -20%;
    bottom: -115px;

    width: 140%;
    height: 150px;
  }

  .nobo-orthodontics-about__background-word {
    top: 5px;
    right: -10px;

    font-size: clamp(54px, 13vw, 90px);
  }

  .nobo-orthodontics-about__inner {
    gap: 32px;
  }

  .nobo-orthodontics-about__visual {
    width: calc(100% - 8px);
    aspect-ratio: 1.16;
    margin-inline: 0 auto;
  }

  .nobo-orthodontics-about__visual::after {
    inset: 4px -7px -4px 7px;
  }

  .nobo-orthodontics-about__header {
    margin-bottom: 18px;
  }

  .nobo-orthodontics-about__eyebrow {
    margin-bottom: 12px;
    padding-bottom: 8px;

    font-size: 10px;
    letter-spacing: 0.2em;
  }

  .nobo-orthodontics-about__title {
    font-size: clamp(28px, 7.5vw, 34px);
    line-height: 1.6;
    letter-spacing: 0.065em;
  }

  .nobo-orthodontics-about__lead {
    margin-bottom: 20px;

    font-size: clamp(19px, 4.7vw, 23px);
    line-height: 1.85;
    letter-spacing: 0.025em;
  }

  .nobo-orthodontics-about__text {
    font-size: 15px;
    line-height: 2;
    letter-spacing: 0.025em;
  }

  .nobo-orthodontics-about__text > p + p {
    margin-top: 18px;
  }
}

/* ==================================================
   小さなスマートフォン
================================================== */

@media (max-width: 359px) {
  .nobo-orthodontics-about {
    padding-inline: 16px;
  }

  .nobo-orthodontics-about__title {
    font-size: 26px;
  }

  .nobo-orthodontics-about__lead {
    font-size: 18px;
    letter-spacing: 0;
  }
}


/* ==================================================
   当院の矯正歯科：治療方針
================================================== */

.nobo-orthodontics-policy {
  --policy-blue: #0272d4;
  --policy-navy: #142f53;
  --policy-serif:
    "Zen Old Mincho",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;
  --policy-sans:
    "Zen Old Mincho", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;

  position: relative;
  isolation: isolate;

  width: 100%;
  margin: 0;
  padding: 72px 32px 88px;

  overflow: hidden;

  color: var(--policy-navy);
  background:
    radial-gradient(
      ellipse at 12% 0%,
      rgb(213 230 246 / 65%),
      transparent 48%
    ),
    linear-gradient(180deg, #f1f6fb 0%, #fff 65%);

  scroll-margin-top: 108px;
}

.nobo-orthodontics-policy,
.nobo-orthodontics-policy::before,
.nobo-orthodontics-policy::after,
.nobo-orthodontics-policy *,
.nobo-orthodontics-policy *::before,
.nobo-orthodontics-policy *::after {
  box-sizing: border-box;
}

/* 上部の緩やかな曲線 */
.nobo-orthodontics-policy::before,
.nobo-orthodontics-policy::after {
  content: "";
  position: absolute;
  z-index: 0;

  width: 70%;
  height: 200px;

  border: 1px solid rgb(255 255 255 / 85%);
  border-radius: 50%;
  background: rgb(255 255 255 / 25%);

  pointer-events: none;
}

.nobo-orthodontics-policy::before {
  top: -145px;
  left: -15%;
  transform: rotate(-12deg);
}

.nobo-orthodontics-policy::after {
  top: -150px;
  right: -18%;
  transform: rotate(12deg);
}

.nobo-orthodontics-policy__inner {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
}

/* ==================================================
   セクション見出し
================================================== */

.nobo-orthodontics-policy__header {
  margin: 0 0 40px;
  text-align: center;
}

.nobo-orthodontics-policy__eyebrow {
  margin: 0 0 10px;

  color: var(--policy-blue);

  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.14em;
}

.nobo-orthodontics-policy__title {
  margin: 0;
  padding: 0;

  border: 0;
  background: none;

  color: var(--policy-blue);

  font-family: var(--policy-serif);
  font-size: clamp(32px, 3.2vw, 46px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.18em;
  text-decoration: none;
}

.nobo-orthodontics-policy__title::before {
  content: none;
}

.nobo-orthodontics-policy__title::after {
  content: "";
  display: block;

  width: 48px;
  height: 1px;
  margin: 20px auto 0;

  background: var(--policy-blue);
}

.nobo-orthodontics-policy__lead {
  margin: 20px 0 0;

  color: var(--policy-blue);

  font-family: var(--policy-serif);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.045em;
  overflow-wrap: anywhere;
}

.nobo-orthodontics-policy__lead > span {
  display: inline-block;
}

/* ==================================================
   カード配置
================================================== */

.nobo-orthodontics-policy__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 4px;
}

.nobo-orthodontics-policy__card {
  position: relative;
  isolation: isolate;

  display: flex;
  flex-direction: column;

  min-width: 0;
  margin: 0;
  padding: 28px;

  overflow: hidden;

  border: 1px solid rgb(255 255 255 / 50%);
  border-radius: 0;

  color: #fff;
  background: var(--policy-blue);
}

/* ==================================================
   写真
================================================== */

.nobo-orthodontics-policy__visual {
  position: relative;
  z-index: 1;

  flex: 0 0 auto;

  width: 100%;
  aspect-ratio: 1.42;
  margin: 0;

  overflow: hidden;

  background: #dfe9f0;
}

.nobo-orthodontics-policy__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(--policy-photo-position, center);
}

/* ==================================================
   カード内テキスト
================================================== */

.nobo-orthodontics-policy__body {
  position: relative;
  z-index: 2;

  min-width: 0;
  padding: 28px 12px 76px;
}

.nobo-orthodontics-policy__label {
  margin: 0 0 10px;

  color: #fff;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.1em;
  overflow-wrap: anywhere;
}

.nobo-orthodontics-policy__sparkle {
  display: block;

  margin: 0 0 12px;

  color: #fff;

  font-size: 19px;
  line-height: 1;

  user-select: none;
}

.nobo-orthodontics-policy__card-title {
  margin: 0;
  padding: 0;

  border: 0;
  background: none;

  color: #fff;

  font-family: var(--policy-serif);
  font-size: clamp(23px, 2.1vw, 30px);
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0.055em;
  text-decoration: none;
  overflow-wrap: anywhere;
  line-break: strict;
}

.nobo-orthodontics-policy__card-title::before,
.nobo-orthodontics-policy__card-title::after {
  content: none;
}

.nobo-orthodontics-policy__card-title > span,
.nobo-orthodontics-policy__description > span {
  display: block;
}

.nobo-orthodontics-policy__description {
  margin: 20px 0 0;

  color: #fff;

  font-family: var(--policy-serif);
  font-size: 16px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.055em;
  overflow-wrap: anywhere;
  line-break: strict;
}

/* ==================================================
   装飾番号
   本文とは重ならない位置に配置
================================================== */

.nobo-orthodontics-policy__number {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 12px;

  display: block;
  margin: 0;

  color: rgb(255 255 255 / 35%);

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(100px, 11vw, 160px);
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: -0.06em;

  pointer-events: none;
  user-select: none;
}

/* ==================================================
   01：写真全面のメインカード
================================================== */

.nobo-orthodontics-policy__card--main {
  grid-column: 1 / -1;

  min-height: 520px;
  padding: 0;

  border: 2px solid var(--policy-blue);
  background: var(--policy-navy);
}

.nobo-orthodontics-policy__card--main
  .nobo-orthodontics-policy__visual {
  position: absolute;
  z-index: 0;
  inset: 0;

  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

.nobo-orthodontics-policy__card--main
  .nobo-orthodontics-policy__image {
  object-position: var(--policy-main-photo-position, center);
}

/* 左側の文字を読みやすくする透過レイヤー */
.nobo-orthodontics-policy__overlay {
  position: absolute;
  z-index: 1;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgb(14 48 83 / 88%) 0%,
      rgb(20 57 94 / 74%) 36%,
      rgb(20 57 94 / 32%) 66%,
      rgb(20 57 94 / 8%) 100%
    );

  pointer-events: none;
}

.nobo-orthodontics-policy__card--main
  .nobo-orthodontics-policy__number {
  top: 18px;
  right: auto;
  bottom: auto;
  left: 54px;

  font-size: clamp(130px, 13vw, 180px);
}

.nobo-orthodontics-policy__card--main
  .nobo-orthodontics-policy__body {
  width: min(100%, 720px);
  margin-top: auto;
  padding: 190px 56px 42px;
}

.nobo-orthodontics-policy__card--main
  .nobo-orthodontics-policy__card-title {
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1.65;
  letter-spacing: 0.08em;
}

.nobo-orthodontics-policy__card--main
  .nobo-orthodontics-policy__description {
  margin-top: 22px;
  font-size: 17px;
}

/* ==================================================
   02：治療方法の選択肢
================================================== */

.nobo-orthodontics-policy__card--options {
  background:
    linear-gradient(
      135deg,
      rgb(255 255 255 / 12%) 0%,
      transparent 45%
    ),
    linear-gradient(145deg, #287eaf 0%, #176b9c 100%);
}

/* 斜めの淡い装飾 */
.nobo-orthodontics-policy__card--options::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;

  background:
    linear-gradient(
      140deg,
      transparent 43%,
      rgb(255 255 255 / 10%) 43%,
      rgb(255 255 255 / 10%) 48%,
      transparent 48%
    );

  pointer-events: none;
}

/* ==================================================
   03：治療後までのサポート
================================================== */

.nobo-orthodontics-policy__card--support {
  background:
    radial-gradient(
      ellipse at 100% 100%,
      rgb(0 158 233 / 35%),
      transparent 60%
    ),
    linear-gradient(135deg, #066fc2 0%, #034c99 100%);
}

/* 下部の曲線装飾 */
.nobo-orthodontics-policy__card--support::before,
.nobo-orthodontics-policy__card--support::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -35%;
  bottom: -95px;

  width: 130%;
  height: 230px;

  border: 1px solid rgb(255 255 255 / 15%);
  border-radius: 50%;
  background: rgb(255 255 255 / 4%);

  transform: rotate(-22deg);

  pointer-events: none;
}

.nobo-orthodontics-policy__card--support::after {
  right: -39%;
  bottom: -115px;

  background: transparent;
}

/* ==================================================
   タブレット
================================================== */

@media (min-width: 768px) and (max-width: 1024px) {
  .nobo-orthodontics-policy {
    padding: 56px 24px 64px;
  }

  .nobo-orthodontics-policy__header {
    margin-bottom: 32px;
  }

  .nobo-orthodontics-policy__card {
    padding: 20px;
  }

  .nobo-orthodontics-policy__body {
    padding: 24px 4px 76px;
  }

  .nobo-orthodontics-policy__card-title {
    font-size: 23px;
    letter-spacing: 0.025em;
  }

  .nobo-orthodontics-policy__description {
    font-size: 15px;
    letter-spacing: 0.025em;
  }

  .nobo-orthodontics-policy__label {
    font-size: 11px;
    letter-spacing: 0.07em;
  }

  .nobo-orthodontics-policy__card--main {
    min-height: 460px;
    padding: 0;
  }

  .nobo-orthodontics-policy__card--main
    .nobo-orthodontics-policy__number {
    left: 36px;
    font-size: 145px;
  }

  .nobo-orthodontics-policy__card--main
    .nobo-orthodontics-policy__body {
    padding: 170px 38px 36px;
  }

  .nobo-orthodontics-policy__card--main
    .nobo-orthodontics-policy__card-title {
    font-size: 34px;
  }
}

/* ==================================================
   スマートフォン
================================================== */

@media (max-width: 767px) {
  .nobo-orthodontics-policy {
    padding: 40px 16px 48px;
    scroll-margin-top: 84px;
  }

  .nobo-orthodontics-policy__header {
    margin-bottom: 26px;
  }

  .nobo-orthodontics-policy__eyebrow {
    margin-bottom: 8px;
    font-size: 11px;
  }

  .nobo-orthodontics-policy__title {
    font-size: 30px;
    letter-spacing: 0.14em;
  }

  .nobo-orthodontics-policy__title::after {
    width: 36px;
    margin-top: 14px;
  }

  .nobo-orthodontics-policy__lead {
    margin-top: 16px;

    font-size: 14px;
    line-height: 1.9;
    letter-spacing: 0.02em;
  }

  .nobo-orthodontics-policy__lead > span {
    display: block;
  }

  .nobo-orthodontics-policy__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .nobo-orthodontics-policy__card {
    padding: 18px;
  }

  .nobo-orthodontics-policy__visual {
    aspect-ratio: 1.48;
  }

  .nobo-orthodontics-policy__body {
    padding: 24px 4px 68px;
  }

  .nobo-orthodontics-policy__label {
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .nobo-orthodontics-policy__sparkle {
    margin-bottom: 10px;
    font-size: 16px;
  }

  .nobo-orthodontics-policy__card-title {
    font-size: clamp(21px, 5.3vw, 27px);
    line-height: 1.75;
    letter-spacing: 0.025em;
  }

  .nobo-orthodontics-policy__description {
    margin-top: 16px;

    font-size: 15px;
    line-height: 1.95;
    letter-spacing: 0.025em;
  }

  .nobo-orthodontics-policy__number {
    right: 20px;
    bottom: 12px;
    font-size: 108px;
  }

  /* メインカード */
  .nobo-orthodontics-policy__card--main {
    min-height: 440px;
    padding: 0;
  }

  .nobo-orthodontics-policy__card--main
    .nobo-orthodontics-policy__image {
    object-position: var(--policy-main-photo-position-sp, 60% center);
  }

  .nobo-orthodontics-policy__overlay {
    background:
      linear-gradient(
        180deg,
        rgb(14 48 83 / 22%) 0%,
        rgb(14 48 83 / 55%) 35%,
        rgb(14 48 83 / 92%) 100%
      );
  }

  .nobo-orthodontics-policy__card--main
    .nobo-orthodontics-policy__number {
    top: 18px;
    left: 22px;
    font-size: 120px;
  }

  .nobo-orthodontics-policy__card--main
    .nobo-orthodontics-policy__body {
    width: 100%;
    padding: 150px 22px 28px;
  }

  .nobo-orthodontics-policy__card--main
    .nobo-orthodontics-policy__card-title {
    font-size: clamp(24px, 6vw, 30px);
    line-height: 1.7;
    letter-spacing: 0.035em;
  }

  .nobo-orthodontics-policy__card--main
    .nobo-orthodontics-policy__description {
    margin-top: 18px;
    font-size: 15px;
  }
}

/* ==================================================
   小さなスマートフォン
================================================== */

@media (max-width: 359px) {
  .nobo-orthodontics-policy {
    padding-inline: 12px;
  }

  .nobo-orthodontics-policy__card {
    padding: 14px;
  }

  .nobo-orthodontics-policy__card-title {
    font-size: 20px;
  }

  .nobo-orthodontics-policy__card--main {
    padding: 0;
  }

  .nobo-orthodontics-policy__card--main
    .nobo-orthodontics-policy__body {
    padding-inline: 18px;
  }

  .nobo-orthodontics-policy__card--main
    .nobo-orthodontics-policy__card-title {
    font-size: 23px;
  }
}


/* ==================================================
   当院の矯正歯科：選ばれる理由
================================================== */

.nobo-orthodontics-reasons {
  --reasons-blue: #0272d4;
  --reasons-navy: #142f53;
  --reasons-text: #37465a;
  --reasons-pale: #edf5fc;
  --reasons-line: #b7d9f5;
  --reasons-serif:
    "Zen Old Mincho",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;
  --reasons-sans:
    "Zen Old Mincho", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;

  position: relative;
  isolation: isolate;

  width: 100%;
  margin: 0;
  padding: 72px 32px 80px;

  overflow: hidden;

  color: var(--reasons-navy);
  background: #fff;

  scroll-margin-top: 108px;
}

.nobo-orthodontics-reasons,
.nobo-orthodontics-reasons::before,
.nobo-orthodontics-reasons::after,
.nobo-orthodontics-reasons *,
.nobo-orthodontics-reasons *::before,
.nobo-orthodontics-reasons *::after {
  box-sizing: border-box;
}

/* 上部の淡い背景 */
.nobo-orthodontics-reasons::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;

  height: 420px;

  background:
    radial-gradient(
      ellipse at 10% 0%,
      rgb(211 231 248 / 55%),
      transparent 65%
    );

  pointer-events: none;
}

.nobo-orthodontics-reasons__inner {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
}

/* ==================================================
   セクション見出し
================================================== */

.nobo-orthodontics-reasons__header {
  position: relative;
  z-index: 1;

  margin: 0 0 48px;
  text-align: center;
}

.nobo-orthodontics-reasons__eyebrow {
  margin: 0 0 10px;

  color: var(--reasons-blue);

  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.16em;
}

.nobo-orthodontics-reasons__title {
  margin: 0;
  padding: 0;

  border: 0;
  background: none;

  color: var(--reasons-navy);

  font-family: var(--reasons-serif);
  font-size: clamp(32px, 3.2vw, 46px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.1em;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.nobo-orthodontics-reasons__title::before,
.nobo-orthodontics-reasons__title::after {
  content: none;
}

.nobo-orthodontics-reasons__lead {
  margin: 16px 0 0;

  color: var(--reasons-blue);

  font-family: var(--reasons-serif);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.035em;
  overflow-wrap: anywhere;
}

.nobo-orthodontics-reasons__lead > span {
  display: inline-block;
}

/* ==================================================
   各項目のレイアウト
================================================== */

.nobo-orthodontics-reasons__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.nobo-orthodontics-reasons__item {
  position: relative;
  isolation: isolate;

  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  grid-template-areas: "content visual";
  align-items: center;
  column-gap: clamp(36px, 5vw, 72px);

  min-width: 0;
  margin: 0;
  padding: 52px 36px;
}

/* 写真を左側へ */
.nobo-orthodontics-reasons__item--reverse {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  grid-template-areas: "visual content";
}

/* 02・06の淡い背景 */
.nobo-orthodontics-reasons__item:nth-child(2)::before,
.nobo-orthodontics-reasons__item:nth-child(6)::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;

  width: max(100%, 100vw);

  border-radius: 50% 12% 45% 8% / 6% 4% 6% 4%;
  background: var(--reasons-pale);

  transform: translateX(-50%);

  pointer-events: none;
}

/* 各項目をつなぐ点線 */
.nobo-orthodontics-reasons__item:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -26px;
  left: 24%;

  width: 150px;
  height: 66px;

  border-bottom: 1px dashed var(--reasons-line);
  border-left: 1px dashed var(--reasons-line);
  border-radius: 0 0 0 48px;

  transform: skewX(-24deg);

  pointer-events: none;
}

.nobo-orthodontics-reasons__item--reverse::after {
  right: 24%;
  left: auto;

  border-right: 1px dashed var(--reasons-line);
  border-left: 0;
  border-radius: 0 0 48px 0;

  transform: skewX(24deg);
}

/* ==================================================
   テキスト
================================================== */

.nobo-orthodontics-reasons__content {
  position: relative;
  z-index: 1;

  grid-area: content;
  min-width: 0;
}

.nobo-orthodontics-reasons__number {
  display: block;

  margin: 0 0 8px;

  color: #acd4f5;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(64px, 6.2vw, 90px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;

  user-select: none;
}

.nobo-orthodontics-reasons__label {
  margin: 0 0 12px;

  color: var(--reasons-blue);

  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.1em;
  overflow-wrap: anywhere;
}

.nobo-orthodontics-reasons__item-title {
  margin: 0;
  padding: 0;

  border: 0;
  background: none;

  color: var(--reasons-navy);

  font-family: var(--reasons-serif);
  font-size: clamp(25px, 2.4vw, 34px);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.055em;
  text-decoration: none;
  overflow-wrap: anywhere;
  line-break: strict;
}

.nobo-orthodontics-reasons__item-title::before,
.nobo-orthodontics-reasons__item-title::after {
  content: none;
}

.nobo-orthodontics-reasons__item-title > span {
  display: block;
}

.nobo-orthodontics-reasons__sparkle {
  display: block;

  margin: 14px 0;

  color: var(--reasons-blue);

  font-size: 16px;
  line-height: 1;

  user-select: none;
}

.nobo-orthodontics-reasons__text {
  max-width: 38em;

  color: var(--reasons-text);

  font-family: var(--reasons-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.03em;
  overflow-wrap: anywhere;
  line-break: strict;
}

.nobo-orthodontics-reasons__text > p {
  margin: 0;
}

.nobo-orthodontics-reasons__text > p + p {
  margin-top: 16px;
}

/* ==================================================
   写真
================================================== */

.nobo-orthodontics-reasons__visual {
  position: relative;
  z-index: 1;

  grid-area: visual;

  width: 100%;
  min-width: 0;
  aspect-ratio: 1.42;
  margin: 0;

  overflow: hidden;

  border: 0;
  border-radius: 6px;

  background: #e9eff4;
}

.nobo-orthodontics-reasons__image {
  display: block;

  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;

  border: 0;
  border-radius: inherit;

  object-fit: cover;
  object-position: var(--reasons-photo-position, center);
}

/* ==================================================
   04：デンタルモニタリング
================================================== */

.nobo-orthodontics-reasons__item--monitoring {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;

  margin-block: 32px;
  padding: 44px 40px;

  overflow: hidden;

  color: #fff;
  background:
    radial-gradient(
      ellipse at 100% 100%,
      rgb(2 114 212 / 55%),
      transparent 65%
    ),
    linear-gradient(120deg, #092d60 0%, #063d7b 100%);
}

/* 濃紺カードの曲線装飾 */
.nobo-orthodontics-reasons__item--monitoring::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: -20%;
  bottom: -160px;

  width: 95%;
  height: 340px;

  border: 1px solid rgb(149 207 255 / 25%);
  border-radius: 50%;
  background: rgb(255 255 255 / 3%);
  box-shadow:
    0 -14px 0 rgb(255 255 255 / 3%),
    0 -28px 0 rgb(255 255 255 / 2%);

  transform: rotate(-22deg);

  pointer-events: none;
}

.nobo-orthodontics-reasons__item--monitoring::after {
  content: none;
}

.nobo-orthodontics-reasons__item--monitoring
  .nobo-orthodontics-reasons__number {
  color: #719bc6;
}

.nobo-orthodontics-reasons__item--monitoring
  .nobo-orthodontics-reasons__label {
  color: #bddfff;
}

.nobo-orthodontics-reasons__item--monitoring
  .nobo-orthodontics-reasons__item-title,
.nobo-orthodontics-reasons__item--monitoring
  .nobo-orthodontics-reasons__sparkle,
.nobo-orthodontics-reasons__item--monitoring
  .nobo-orthodontics-reasons__text {
  color: #fff;
}

/* スマートフォン素材を切り抜かず表示 */
.nobo-orthodontics-reasons__item--monitoring
  .nobo-orthodontics-reasons__visual {
  aspect-ratio: 1.12;
  border-radius: 0;
  background: transparent;
}

.nobo-orthodontics-reasons__item--monitoring
  .nobo-orthodontics-reasons__image {
  object-fit: contain;
}

/* ==================================================
   タブレット
================================================== */

@media (min-width: 768px) and (max-width: 1024px) {
  .nobo-orthodontics-reasons {
    padding: 56px 24px 64px;
  }

  .nobo-orthodontics-reasons__header {
    margin-bottom: 32px;
  }

  .nobo-orthodontics-reasons__item {
    column-gap: 28px;
    padding: 40px 12px;
  }

  .nobo-orthodontics-reasons__number {
    font-size: 66px;
  }

  .nobo-orthodontics-reasons__label {
    font-size: 10px;
    letter-spacing: 0.06em;
  }

  .nobo-orthodontics-reasons__item-title {
    font-size: 25px;
    letter-spacing: 0.025em;
  }

  .nobo-orthodontics-reasons__text {
    font-size: 15px;
    line-height: 1.95;
  }

  .nobo-orthodontics-reasons__visual {
    aspect-ratio: 1.15;
  }

  .nobo-orthodontics-reasons__item--monitoring {
    gap: 24px;
    margin-block: 24px;
    padding: 32px 24px;
  }
}

/* ==================================================
   スマートフォン
================================================== */

@media (max-width: 767px) {
  .nobo-orthodontics-reasons {
    padding: 40px 20px 48px;
    scroll-margin-top: 84px;
  }

  .nobo-orthodontics-reasons__header {
    margin-bottom: 12px;
  }

  .nobo-orthodontics-reasons__eyebrow {
    margin-bottom: 8px;
    font-size: 11px;
  }

  .nobo-orthodontics-reasons__title {
    font-size: clamp(27px, 7vw, 34px);
    letter-spacing: 0.065em;
  }

  .nobo-orthodontics-reasons__lead {
    margin-top: 12px;

    font-size: 14px;
    letter-spacing: 0.02em;
  }

  .nobo-orthodontics-reasons__lead > span {
    display: block;
  }

  /* 全項目を文章→写真の順に統一 */
  .nobo-orthodontics-reasons__item {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "content"
      "visual";
    gap: 24px;

    padding: 32px 0;
  }

  .nobo-orthodontics-reasons__item:not(:last-child)::after {
    content: none;
  }

  .nobo-orthodontics-reasons__item:nth-child(2)::before,
  .nobo-orthodontics-reasons__item:nth-child(6)::before {
    border-radius: 40% 10% 35% 8% / 3% 2% 3% 2%;
  }

  .nobo-orthodontics-reasons__number {
    margin-bottom: 6px;
    font-size: 62px;
  }

  .nobo-orthodontics-reasons__label {
    margin-bottom: 10px;
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .nobo-orthodontics-reasons__item-title {
    font-size: clamp(23px, 5.8vw, 29px);
    line-height: 1.7;
    letter-spacing: 0.035em;
  }

  .nobo-orthodontics-reasons__sparkle {
    margin-block: 12px;
    font-size: 14px;
  }

  .nobo-orthodontics-reasons__text {
    max-width: none;

    font-size: 15px;
    line-height: 1.95;
    letter-spacing: 0.025em;
  }

  .nobo-orthodontics-reasons__visual {
    aspect-ratio: 1.42;
    border-radius: 4px;
  }

  /* 濃紺カードは画面の左右まで広げる */
  .nobo-orthodontics-reasons__item--monitoring {
    gap: 20px;

    margin: 16px -20px;
    padding: 32px 20px 24px;
  }

  .nobo-orthodontics-reasons__item--monitoring
    .nobo-orthodontics-reasons__visual {
    width: 100%;
    max-width: 440px;
    aspect-ratio: 1.3;
    margin-inline: auto;
  }

  .nobo-orthodontics-reasons__item--monitoring::before {
    right: -45%;
    bottom: -140px;
    width: 140%;
  }
}

/* ==================================================
   小さなスマートフォン
================================================== */

@media (max-width: 359px) {
  .nobo-orthodontics-reasons {
    padding-inline: 16px;
  }

  .nobo-orthodontics-reasons__title {
    font-size: 26px;
    letter-spacing: 0.035em;
  }

  .nobo-orthodontics-reasons__item-title {
    font-size: 22px;
    letter-spacing: 0.02em;
  }

  .nobo-orthodontics-reasons__item--monitoring {
    margin-inline: -16px;
    padding-inline: 16px;
  }
}


/* ==================================================
   当院の矯正歯科：充実の矯正無料相談
================================================== */

.nobo-orthodontics-consultation {
  --oc-blue: #0272d4;
  --oc-hover: #005fb8;
  --oc-navy: #142f53;
  --oc-accent: #68c4ff;
  --oc-line: rgb(255 255 255 / 23%);
  --oc-photo-position: center;
  --oc-serif:
    "Zen Old Mincho",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;
  --oc-sans:
    "Zen Old Mincho", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;

  position: relative;
  isolation: isolate;

  width: 100%;
  margin: 0;
  padding: 72px 32px 80px;

  overflow: hidden;

  color: var(--oc-navy);
  background: #fff;

  scroll-margin-top: 108px;
}

.nobo-orthodontics-consultation,
.nobo-orthodontics-consultation::before,
.nobo-orthodontics-consultation::after,
.nobo-orthodontics-consultation *,
.nobo-orthodontics-consultation *::before,
.nobo-orthodontics-consultation *::after {
  box-sizing: border-box;
}

/* セクション背景の曲線 */
.nobo-orthodontics-consultation::before,
.nobo-orthodontics-consultation::after {
  content: "";
  position: absolute;
  z-index: -1;

  width: 720px;
  height: 280px;

  border: 1px solid #cee6fc;
  border-radius: 50%;
  box-shadow: 0 12px 0 -11px #cee6fc;

  transform: rotate(-25deg);

  pointer-events: none;
}

.nobo-orthodontics-consultation::before {
  top: -120px;
  left: -250px;
}

.nobo-orthodontics-consultation::after {
  right: -250px;
  bottom: -120px;
}

.nobo-orthodontics-consultation__inner {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
}

/* ==================================================
   セクション見出し
================================================== */

.nobo-orthodontics-consultation__header {
  margin: 0 0 32px;
  text-align: center;
}

.nobo-orthodontics-consultation__eyebrow {
  margin: 0 0 10px;

  color: var(--oc-blue);

  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.09em;
  overflow-wrap: anywhere;
}

.nobo-orthodontics-consultation__title {
  margin: 0;
  padding: 0;

  border: 0;
  background: none;

  color: var(--oc-navy);

  font-family: var(--oc-serif);
  font-size: clamp(32px, 3.2vw, 46px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.08em;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.nobo-orthodontics-consultation__title::before {
  content: none;
}

.nobo-orthodontics-consultation__title::after {
  content: "";
  display: block;

  width: 44px;
  height: 1px;
  margin: 18px auto 0;

  background: var(--oc-blue);
}

.nobo-orthodontics-consultation__lead {
  margin: 20px 0 0;

  color: var(--oc-blue);

  font-family: var(--oc-serif);
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.nobo-orthodontics-consultation__lead > span {
  display: inline-block;
}

.nobo-orthodontics-consultation__description {
  margin: 10px 0 0;

  font-family: var(--oc-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.025em;
  overflow-wrap: anywhere;
}

/* ==================================================
   濃紺のカード
================================================== */

.nobo-orthodontics-consultation__panel {
  position: relative;
  isolation: isolate;

  padding: 40px 44px 24px;
  overflow: hidden;

  border: 1px solid #426181;
  border-radius: 14px;

  color: #fff;
  background: #102c49;

  box-shadow: 0 8px 28px rgb(20 47 83 / 8%);
}

/* 左側の背景写真 */
.nobo-orthodontics-consultation__visual {
  position: absolute;
  z-index: 0;
  inset: 0 auto 0 0;

  width: 58%;

  overflow: hidden;
  pointer-events: none;
}

.nobo-orthodontics-consultation__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(--oc-photo-position);
}

.nobo-orthodontics-consultation__overlay {
  position: absolute;
  z-index: 1;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgb(9 24 42 / 80%) 0%,
      rgb(9 28 48 / 76%) 31%,
      rgb(16 44 73 / 96%) 53%,
      #102c49 70%,
      #123357 100%
    );

  pointer-events: none;
}

/* ==================================================
   左右レイアウト
================================================== */

.nobo-orthodontics-consultation__layout {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 44px;
}

.nobo-orthodontics-consultation__summary,
.nobo-orthodontics-consultation__details,
.nobo-orthodontics-consultation__group {
  min-width: 0;
}

/* ==================================================
   左側：相談料・概要
================================================== */

.nobo-orthodontics-consultation__summary {
  padding-top: 10px;
}

.nobo-orthodontics-consultation__intro {
  margin: 0 0 12px;

  font-family: var(--oc-serif);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.055em;
  overflow-wrap: anywhere;
}

.nobo-orthodontics-consultation__fee {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;

  margin: 0 0 16px;

  color: #fff;
  font-family: var(--oc-serif);
}

.nobo-orthodontics-consultation__fee-label {
  font-size: clamp(28px, 2.7vw, 38px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.nobo-orthodontics-consultation__fee-value {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(80px, 8vw, 112px);
  font-weight: 400;
  line-height: 1;
}

.nobo-orthodontics-consultation__fee-unit {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.5;
}

.nobo-orthodontics-consultation__summary-text {
  margin: 0;

  font-family: var(--oc-sans);
  font-size: 14px;
  line-height: 1.95;
  letter-spacing: 0.025em;
  overflow-wrap: anywhere;
}

.nobo-orthodontics-consultation__summary-text > span {
  display: block;
}

.nobo-orthodontics-consultation__benefits {
  display: grid;
  gap: 16px;

  margin: 24px 0 0;
  padding: 22px 0 0;

  border-top: 1px solid var(--oc-line);

  list-style: none;
}

.nobo-orthodontics-consultation__benefit {
  display: flex;
  align-items: center;
  gap: 14px;

  min-width: 0;
  margin: 0;
  padding: 0;

  font-family: var(--oc-serif);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.nobo-orthodontics-consultation__benefit-number {
  flex: 0 0 34px;

  color: var(--oc-accent);

  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-style: italic;
  font-weight: 400;
  line-height: 1;
}

/* ==================================================
   右側：8つの相談内容
================================================== */

.nobo-orthodontics-consultation__details-title {
  margin: 0 0 20px;
  padding: 0 0 16px;

  border: 0;
  border-bottom: 1px solid var(--oc-line);
  background: none;

  color: #fff;

  font-family: var(--oc-serif);
  font-size: clamp(20px, 1.8vw, 25px);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.045em;
  overflow-wrap: anywhere;
}

.nobo-orthodontics-consultation__details-title::before,
.nobo-orthodontics-consultation__details-title::after {
  content: none;
}

.nobo-orthodontics-consultation__groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
}

.nobo-orthodontics-consultation__group-label {
  margin: 0 0 8px;

  color: var(--oc-accent);

  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.14em;
}

.nobo-orthodontics-consultation__list {
  display: grid;
  gap: 0;

  margin: 0;
  padding: 0;

  list-style: none;
}

.nobo-orthodontics-consultation__item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 12px;

  min-width: 0;
  margin: 0;
  padding: 14px 0;

  border-bottom: 1px solid var(--oc-line);
}

.nobo-orthodontics-consultation__item:last-child {
  border-bottom: 0;
}

.nobo-orthodontics-consultation__number {
  display: block;
  padding-top: 2px;

  color: var(--oc-accent);

  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.1;
}

.nobo-orthodontics-consultation__item-body {
  position: relative;

  min-width: 0;
  padding-left: 15px;

  border-left: 1px solid var(--oc-line);
}

/* 縦ライン上の白い点 */
.nobo-orthodontics-consultation__item-body::before {
  content: "";
  position: absolute;
  top: 9px;
  left: -3px;

  width: 5px;
  height: 5px;

  border-radius: 50%;
  background: #fff;

  pointer-events: none;
}

.nobo-orthodontics-consultation__item-title {
  margin: 0;
  padding: 0;

  border: 0;
  background: none;

  color: #fff;

  font-family: var(--oc-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.025em;
  overflow-wrap: anywhere;
}

.nobo-orthodontics-consultation__item-title::before,
.nobo-orthodontics-consultation__item-title::after {
  content: none;
}

.nobo-orthodontics-consultation__item-text {
  margin: 5px 0 0;

  color: #e2edf7;

  font-family: var(--oc-sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

/* ==================================================
   下部中央：予約CTA
================================================== */

.nobo-orthodontics-consultation__actions {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;

  margin-top: 28px;
}

.nobo-orthodontics-consultation__button {
  position: relative;
  isolation: isolate;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;

  width: min(100%, 480px);
  min-height: 64px;
  margin: 0;
  padding: 16px 24px;

  overflow: hidden;

  border: 1px solid #42a8f2;
  border-radius: 5px;

  color: #fff;
  background: var(--oc-blue);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 20%),
    0 6px 20px rgb(0 0 0 / 16%);

  font-family: var(--oc-serif);
  font-size: clamp(18px, 1.7vw, 23px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.045em;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;

  -webkit-tap-highlight-color: transparent;

  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.nobo-orthodontics-consultation__button:visited {
  color: #fff;
}

/* 光の帯：待機中は完全に透明にして左端の白線を防ぐ */
.nobo-orthodontics-consultation__button::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -50%;
  left: -60%;

  width: 45%;
  height: 200%;

  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgb(255 255 255 / 10%) 25%,
      rgb(255 255 255 / 45%) 50%,
      rgb(255 255 255 / 10%) 75%,
      transparent 100%
    );

  opacity: 0;
  transform: translateX(0) skewX(-22deg);

  animation: nobo-orthodontics-consultation-shine 5s ease-in-out infinite;

  pointer-events: none;
}

.nobo-orthodontics-consultation__button::after {
  content: none;
}

.nobo-orthodontics-consultation__button-label {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.nobo-orthodontics-consultation__button-arrow {
  position: relative;
  z-index: 1;

  display: block;
  flex: 0 0 24px;

  width: 24px;
  height: 24px;

  transition: transform 220ms ease;
}

.nobo-orthodontics-consultation__button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.nobo-orthodontics-consultation__note {
  max-width: 100%;
  margin: 0;

  color: #e2edf7;

  font-family: var(--oc-sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.02em;
  text-align: center;
  overflow-wrap: anywhere;
}

@keyframes nobo-orthodontics-consultation-shine {
  0%,
  65% {
    opacity: 0;
    transform: translateX(0) skewX(-22deg);
  }

  68% {
    opacity: 1;
  }

  88% {
    opacity: 1;
    transform: translateX(420%) skewX(-22deg);
  }

  89%,
  100% {
    opacity: 0;
    transform: translateX(420%) skewX(-22deg);
  }
}

@media (hover: hover) and (pointer: fine) {
  .nobo-orthodontics-consultation__button:hover {
    border-color: #7ac6ff;
    color: #fff;
    background: var(--oc-hover);
    box-shadow:
      inset 0 1px 0 rgb(255 255 255 / 20%),
      0 8px 24px rgb(0 0 0 / 22%);
  }

  .nobo-orthodontics-consultation__button:hover
    .nobo-orthodontics-consultation__button-arrow {
    transform: translateX(4px);
  }
}

/* ==================================================
   タブレット：概要と相談内容を縦並びに
================================================== */

@media (max-width: 1100px) {
  .nobo-orthodontics-consultation__panel {
    padding: 32px;
  }

  .nobo-orthodontics-consultation__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .nobo-orthodontics-consultation__summary {
    padding-top: 0;
  }

  .nobo-orthodontics-consultation__visual {
    width: 100%;
    height: 440px;
  }

  .nobo-orthodontics-consultation__overlay {
    background:
      linear-gradient(
        180deg,
        rgb(9 24 42 / 80%) 0,
        rgb(16 44 73 / 88%) 250px,
        #102c49 440px,
        #123357 100%
      );
  }

  .nobo-orthodontics-consultation__benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .nobo-orthodontics-consultation__benefit {
    gap: 10px;
    font-size: 16px;
  }

  .nobo-orthodontics-consultation__groups {
    gap: 32px;
  }

  .nobo-orthodontics-consultation__item {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .nobo-orthodontics-consultation__item-title {
    font-size: 16px;
  }

  .nobo-orthodontics-consultation__item-text {
    font-size: 13px;
  }
}

/* ==================================================
   スマートフォン
================================================== */

@media (max-width: 767px) {
  .nobo-orthodontics-consultation {
    padding: 40px 16px 48px;
    scroll-margin-top: 84px;
  }

  .nobo-orthodontics-consultation__header {
    margin-bottom: 24px;
  }

  .nobo-orthodontics-consultation__eyebrow {
    font-size: 10px;
    letter-spacing: 0.07em;
  }

  .nobo-orthodontics-consultation__title {
    font-size: clamp(26px, 6.8vw, 34px);
    letter-spacing: 0.035em;
  }

  .nobo-orthodontics-consultation__title::after {
    width: 34px;
    margin-top: 14px;
  }

  .nobo-orthodontics-consultation__lead {
    margin-top: 16px;

    font-size: 20px;
    line-height: 1.8;
    letter-spacing: 0.015em;
  }

  .nobo-orthodontics-consultation__lead > span {
    display: block;
  }

  .nobo-orthodontics-consultation__description {
    font-size: 14px;
  }

  .nobo-orthodontics-consultation__panel {
    padding: 28px 20px 22px;
    border-radius: 10px;
  }

  .nobo-orthodontics-consultation__layout {
    gap: 30px;
  }

  .nobo-orthodontics-consultation__intro {
    font-size: 15px;
  }

  .nobo-orthodontics-consultation__fee {
    gap: 8px;
  }

  .nobo-orthodontics-consultation__fee-label {
    font-size: 29px;
  }

  .nobo-orthodontics-consultation__fee-value {
    font-size: 88px;
  }

  .nobo-orthodontics-consultation__fee-unit {
    font-size: 27px;
  }

  .nobo-orthodontics-consultation__summary-text {
    font-size: 13px;
  }

  .nobo-orthodontics-consultation__benefits {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;

    margin-top: 20px;
    padding-top: 18px;
  }

  .nobo-orthodontics-consultation__benefit {
    gap: 12px;
    font-size: 16px;
  }

  .nobo-orthodontics-consultation__benefit-number {
    font-size: 23px;
  }

  .nobo-orthodontics-consultation__details-title {
    margin-bottom: 18px;
    padding-bottom: 12px;

    font-size: 20px;
    letter-spacing: 0.02em;
  }

  /* 01〜08を順番に読める1列表示 */
  .nobo-orthodontics-consultation__groups {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .nobo-orthodontics-consultation__group-label {
    font-size: 11px;
  }

  .nobo-orthodontics-consultation__item {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    padding-block: 14px;
  }

  .nobo-orthodontics-consultation__number {
    font-size: 32px;
  }

  .nobo-orthodontics-consultation__item-title {
    font-size: 16px;
  }

  .nobo-orthodontics-consultation__item-text {
    font-size: 13px;
  }

  .nobo-orthodontics-consultation__actions {
    margin-top: 26px;
  }

  .nobo-orthodontics-consultation__button {
    gap: 10px;
    min-height: 60px;
    padding: 15px 14px;

    font-size: 18px;
    letter-spacing: 0.01em;
  }

  .nobo-orthodontics-consultation__button-arrow {
    flex-basis: 20px;
    width: 20px;
    height: 20px;
  }

  .nobo-orthodontics-consultation__note {
    font-size: 11px;
    text-align: left;
  }
}

/* ==================================================
   小さなスマートフォン
================================================== */

@media (max-width: 359px) {
  .nobo-orthodontics-consultation {
    padding-inline: 12px;
  }

  .nobo-orthodontics-consultation__panel {
    padding-inline: 16px;
  }

  .nobo-orthodontics-consultation__lead {
    font-size: 18px;
  }

  .nobo-orthodontics-consultation__button {
    font-size: 16px;
  }
}

/* ==================================================
   動きを抑える設定
================================================== */

@media (prefers-reduced-motion: reduce) {
  .nobo-orthodontics-consultation__button,
  .nobo-orthodontics-consultation__button-arrow {
    transition: none;
  }

  .nobo-orthodontics-consultation__button::before {
    content: none;
    animation: none;
  }

  .nobo-orthodontics-consultation__button:hover
    .nobo-orthodontics-consultation__button-arrow {
    transform: none;
  }
}


/* ==================================================
   当院の矯正歯科：お悩みから探す
================================================== */

.nobo-orthodontics-concerns {
  --occ-blue: #0272d4;
  --occ-navy: #142f53;
  --occ-text: #485563;
  --occ-line: #b9d8f5;
  --occ-serif:
    "Zen Old Mincho",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;
  --occ-sans:
    "Zen Old Mincho", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;

  position: relative;
  isolation: isolate;

  width: 100%;
  margin: 0;
  padding: 72px 32px 64px;
  overflow: hidden;

  color: var(--occ-navy);
  background: linear-gradient(
    180deg,
    #fff 0%,
    #f0f7fe 48%,
    #fff 100%
  );

  scroll-margin-top: 108px;
}

.nobo-orthodontics-concerns,
.nobo-orthodontics-concerns::before,
.nobo-orthodontics-concerns::after,
.nobo-orthodontics-concerns *,
.nobo-orthodontics-concerns *::before,
.nobo-orthodontics-concerns *::after {
  box-sizing: border-box;
}

/* 見出し背面の白い曲線 */
.nobo-orthodontics-concerns::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -150px;
  left: -15%;

  width: 130%;
  height: 440px;

  border-radius: 0 0 50% 50%;
  background: #fff;

  pointer-events: none;
}

/* 右上の細い曲線 */
.nobo-orthodontics-concerns::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 24px;
  right: -220px;

  width: 560px;
  height: 180px;

  border: 1px solid #d1e6fb;
  border-radius: 50%;
  box-shadow: 0 13px 0 -12px #d1e6fb;

  transform: rotate(-23deg);

  pointer-events: none;
}

.nobo-orthodontics-concerns__background-word {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 50%;

  display: block;
  margin: 0;

  color: rgb(2 114 212 / 4%);

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(80px, 12vw, 170px);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.025em;
  white-space: nowrap;

  transform: translateX(-50%);

  pointer-events: none;
  user-select: none;
}

.nobo-orthodontics-concerns__inner {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
}

/* ==================================================
   セクション見出し
================================================== */

.nobo-orthodontics-concerns__header {
  margin: 0 0 44px;
  text-align: center;
}

.nobo-orthodontics-concerns__eyebrow {
  margin: 0 0 12px;

  color: var(--occ-blue);

  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.12em;
}

.nobo-orthodontics-concerns__title {
  margin: 0;
  padding: 0;

  border: 0;
  background: none;

  color: var(--occ-blue);

  font-family: var(--occ-serif);
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.065em;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.nobo-orthodontics-concerns__title::before,
.nobo-orthodontics-concerns__title::after {
  content: none;
}

.nobo-orthodontics-concerns__title > span {
  display: inline-block;
}

.nobo-orthodontics-concerns__lead,
.nobo-orthodontics-concerns__instruction {
  color: var(--occ-navy);

  font-family: var(--occ-serif);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.035em;
  overflow-wrap: anywhere;
}

.nobo-orthodontics-concerns__lead {
  margin: 22px 0 0;
}

.nobo-orthodontics-concerns__instruction {
  margin: 6px 0 0;
}

/* ==================================================
   カード一覧
================================================== */

.nobo-orthodontics-concerns__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.nobo-orthodontics-concerns__item {
  display: flex;
  min-width: 0;
  margin: 0;
  padding: 0;
}

/* カード全体がリンク */
.nobo-orthodontics-concerns__card {
  position: relative;

  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 14px;

  width: 100%;
  min-width: 0;
  min-height: 190px;
  padding: 34px 20px 36px;

  border: 1px solid var(--occ-line);
  border-radius: 7px;

  color: var(--occ-navy);
  background: #fff;
  box-shadow: 0 2px 8px rgb(20 47 83 / 3%);

  text-decoration: none;
  -webkit-tap-highlight-color: transparent;

  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.nobo-orthodontics-concerns__card:visited {
  color: var(--occ-navy);
}

.nobo-orthodontics-concerns__card::before,
.nobo-orthodontics-concerns__card::after {
  content: none;
}

/* 左上の番号 */
.nobo-orthodontics-concerns__number {
  position: absolute;
  top: 10px;
  left: 16px;

  color: #a5ccef;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-style: italic;
  font-weight: 400;
  line-height: 1;

  pointer-events: none;
  user-select: none;
}

/* ==================================================
   歯並びのイラスト
================================================== */

.nobo-orthodontics-concerns__visual {
  min-width: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
}

.nobo-orthodontics-concerns__image {
  display: block;

  width: 100%;
  height: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;

  border: 0;
  border-radius: 0;

  object-fit: contain;
  object-position: center;
}

/* ==================================================
   カード内の見出し・症状名
================================================== */

.nobo-orthodontics-concerns__body {
  min-width: 0;
}

.nobo-orthodontics-concerns__card-title {
  margin: 0;
  padding: 0;

  border: 0;
  background: none;

  color: var(--occ-navy);

  font-family: var(--occ-serif);
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.02em;
  text-decoration: none;
  overflow-wrap: anywhere;
  line-break: strict;
}

.nobo-orthodontics-concerns__card-title::before,
.nobo-orthodontics-concerns__card-title::after {
  content: none;
}

.nobo-orthodontics-concerns__card-title > span {
  display: block;
}

.nobo-orthodontics-concerns__term {
  margin: 8px 0 0;

  color: var(--occ-text);

  font-family: var(--occ-sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

/* 右下の矢印 */
.nobo-orthodontics-concerns__arrow {
  position: absolute;
  right: 18px;
  bottom: 16px;

  display: block;
  width: 24px;
  height: 24px;

  color: var(--occ-blue);

  transition: transform 220ms ease;
}

/* ==================================================
   下部の一覧リンク
================================================== */

.nobo-orthodontics-concerns__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;

  margin-top: 40px;

  text-align: center;
}

.nobo-orthodontics-concerns__message {
  margin: 0;

  color: var(--occ-navy);

  font-family: var(--occ-serif);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.035em;
  overflow-wrap: anywhere;
}

.nobo-orthodontics-concerns__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;

  width: fit-content;
  max-width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 14px 26px;

  border: 1px solid var(--occ-blue);
  border-radius: 5px;

  color: var(--occ-blue);
  background: #fff;

  font-family: var(--occ-serif);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.03em;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;

  -webkit-tap-highlight-color: transparent;

  transition:
    color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.nobo-orthodontics-concerns__button:visited {
  color: var(--occ-blue);
}

.nobo-orthodontics-concerns__button::before,
.nobo-orthodontics-concerns__button::after {
  content: none;
}

.nobo-orthodontics-concerns__button > span {
  min-width: 0;
}

.nobo-orthodontics-concerns__button-arrow {
  display: block;
  flex: 0 0 22px;

  width: 22px;
  height: 22px;

  transition: transform 220ms ease;
}

.nobo-orthodontics-concerns__note {
  margin: 0;

  color: var(--occ-text);

  font-family: var(--occ-sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

/* ==================================================
   キーボード操作
================================================== */

.nobo-orthodontics-concerns__card:focus-visible,
.nobo-orthodontics-concerns__button:focus-visible {
  outline: 3px solid var(--occ-blue);
  outline-offset: 4px;
}

/* ==================================================
   ホバー
================================================== */

@media (hover: hover) and (pointer: fine) {
  .nobo-orthodontics-concerns__card:hover {
    border-color: var(--occ-blue);
    box-shadow: 0 6px 18px rgb(2 114 212 / 12%);
    transform: translateY(-3px);
  }

  .nobo-orthodontics-concerns__card:hover
    .nobo-orthodontics-concerns__arrow {
    transform: translateX(4px);
  }

  .nobo-orthodontics-concerns__button:hover {
    color: #fff;
    background: var(--occ-blue);
    box-shadow: 0 5px 16px rgb(2 114 212 / 14%);
  }

  .nobo-orthodontics-concerns__button:hover
    .nobo-orthodontics-concerns__button-arrow {
    transform: translateX(4px);
  }
}

/* ==================================================
   タブレット：2列
================================================== */

@media (min-width: 768px) and (max-width: 1100px) {
  .nobo-orthodontics-concerns {
    padding: 56px 24px;
  }

  .nobo-orthodontics-concerns__header {
    margin-bottom: 32px;
  }

  .nobo-orthodontics-concerns__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nobo-orthodontics-concerns__card {
    min-height: 184px;
  }

  .nobo-orthodontics-concerns__card-title {
    font-size: 20px;
  }
}

/* ==================================================
   スマートフォン：1列
================================================== */

@media (max-width: 767px) {
  .nobo-orthodontics-concerns {
    padding: 40px 16px 48px;
    scroll-margin-top: 84px;
  }

  .nobo-orthodontics-concerns::before {
    top: -100px;
    height: 350px;
  }

  .nobo-orthodontics-concerns::after {
    top: 90px;
    right: -340px;
  }

  .nobo-orthodontics-concerns__background-word {
    top: 12px;
    font-size: clamp(64px, 16vw, 110px);
  }

  .nobo-orthodontics-concerns__header {
    margin-bottom: 28px;
  }

  .nobo-orthodontics-concerns__eyebrow {
    margin-bottom: 10px;
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .nobo-orthodontics-concerns__title {
    font-size: clamp(25px, 6.5vw, 32px);
    line-height: 1.7;
    letter-spacing: 0.035em;
  }

  .nobo-orthodontics-concerns__title > span {
    display: block;
  }

  .nobo-orthodontics-concerns__lead,
  .nobo-orthodontics-concerns__instruction {
    font-size: 14px;
    letter-spacing: 0.02em;
  }

  .nobo-orthodontics-concerns__lead {
    margin-top: 16px;
  }

  .nobo-orthodontics-concerns__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .nobo-orthodontics-concerns__card {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 16px;

    min-height: 158px;
    padding: 30px 18px;
  }

  .nobo-orthodontics-concerns__number {
    top: 9px;
    left: 13px;
    font-size: 27px;
  }

  .nobo-orthodontics-concerns__visual {
    max-width: 160px;
    justify-self: center;
  }

  .nobo-orthodontics-concerns__card-title {
    font-size: 18px;
    line-height: 1.75;
  }

  .nobo-orthodontics-concerns__term {
    margin-top: 6px;
    font-size: 11px;
  }

  .nobo-orthodontics-concerns__arrow {
    right: 14px;
    bottom: 12px;
    width: 21px;
    height: 21px;
  }

  .nobo-orthodontics-concerns__actions {
    gap: 18px;
    margin-top: 28px;
  }

  .nobo-orthodontics-concerns__message {
    font-size: 15px;
    letter-spacing: 0.02em;
  }

  .nobo-orthodontics-concerns__button {
    gap: 12px;

    width: 100%;
    min-height: 56px;
    padding: 13px 16px;

    font-size: 15px;
    letter-spacing: 0.015em;
  }

  .nobo-orthodontics-concerns__button-arrow {
    flex-basis: 20px;
    width: 20px;
    height: 20px;
  }

  .nobo-orthodontics-concerns__note {
    font-size: 11px;
    text-align: left;
  }
}

/* ==================================================
   小さなスマートフォン
================================================== */

@media (max-width: 359px) {
  .nobo-orthodontics-concerns {
    padding-inline: 12px;
  }

  .nobo-orthodontics-concerns__title {
    font-size: 23px;
    letter-spacing: 0.02em;
  }

  .nobo-orthodontics-concerns__card {
    gap: 12px;
    padding-inline: 14px;
  }

  .nobo-orthodontics-concerns__card-title {
    font-size: 16px;
  }

  .nobo-orthodontics-concerns__button {
    font-size: 14px;
  }
}

/* ==================================================
   動きを抑える設定
================================================== */

@media (prefers-reduced-motion: reduce) {
  .nobo-orthodontics-concerns__card,
  .nobo-orthodontics-concerns__arrow,
  .nobo-orthodontics-concerns__button,
  .nobo-orthodontics-concerns__button-arrow {
    transition: none;
  }

  .nobo-orthodontics-concerns__card:hover,
  .nobo-orthodontics-concerns__card:hover
    .nobo-orthodontics-concerns__arrow,
  .nobo-orthodontics-concerns__button:hover
    .nobo-orthodontics-concerns__button-arrow {
    transform: none;
  }
}

/* ==================================================
   当院の矯正歯科：取り扱う矯正治療
================================================== */

.nobo-orthodontics-menu {
  --om-blue: #0272d4;
  --om-navy: #142f53;
  --om-gap: 20px;
  --om-card-width: 36%;
  --om-serif:
    "Zen Old Mincho",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;
  --om-sans:
    "Zen Old Mincho", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;

  position: relative;
  isolation: isolate;

  width: 100%;
  margin: 0;
  padding: 72px 40px 64px;
  overflow: hidden;

  color: var(--om-navy);
  background:
    radial-gradient(
      ellipse at 75% 20%,
      rgb(255 255 255 / 65%),
      transparent 65%
    ),
    linear-gradient(135deg, #e6eff8, #edf4fa);

  scroll-margin-top: 108px;
}

.nobo-orthodontics-menu,
.nobo-orthodontics-menu::before,
.nobo-orthodontics-menu::after,
.nobo-orthodontics-menu *,
.nobo-orthodontics-menu *::before,
.nobo-orthodontics-menu *::after {
  box-sizing: border-box;
}

/* 背景の曲線 */
.nobo-orthodontics-menu::before,
.nobo-orthodontics-menu::after {
  content: "";
  position: absolute;
  z-index: 0;

  width: 900px;
  height: 360px;

  border: 1px solid rgb(255 255 255 / 75%);
  border-radius: 50%;

  pointer-events: none;
}

.nobo-orthodontics-menu::before {
  top: -180px;
  right: -240px;
  transform: rotate(-20deg);
}

.nobo-orthodontics-menu::after {
  bottom: -240px;
  left: -480px;
  transform: rotate(35deg);
}

.nobo-orthodontics-menu__background-word {
  position: absolute;
  z-index: 0;
  top: -18px;
  right: 3%;

  color: rgb(2 114 212 / 5%);

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(80px, 12vw, 180px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.015em;
  white-space: nowrap;

  pointer-events: none;
  user-select: none;
}

.nobo-orthodontics-menu__inner {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
}

/* ==================================================
   セクション見出し
================================================== */

.nobo-orthodontics-menu__header {
  margin: 0 0 32px;
}

.nobo-orthodontics-menu__eyebrow {
  position: relative;

  width: fit-content;
  max-width: 100%;
  min-width: min(100%, 360px);
  margin: 0 0 14px;
  padding: 0 16px 10px 0;

  border-bottom: 1px solid #8abce6;

  color: var(--om-blue);

  font-family: var(--om-sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.2em;
  overflow-wrap: anywhere;
}

.nobo-orthodontics-menu__eyebrow::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -2px;

  width: 4px;
  height: 4px;

  border-radius: 50%;
  background: var(--om-blue);
}

.nobo-orthodontics-menu__title {
  margin: 0;
  padding: 0;

  border: 0;
  background: none;

  color: var(--om-navy);

  font-family: var(--om-serif);
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.07em;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.nobo-orthodontics-menu__title::before,
.nobo-orthodontics-menu__title::after {
  content: none;
}

.nobo-orthodontics-menu__lead {
  margin: 12px 0 0;

  color: var(--om-blue);

  font-family: var(--om-serif);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.035em;
  overflow-wrap: anywhere;
}

/* ==================================================
   横スクロール
================================================== */

.nobo-orthodontics-menu__slider {
  position: relative;
  min-width: 0;
}

.nobo-orthodontics-menu__viewport {
  width: 100%;
  padding: 6px 0 18px;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-snap-type: x proximity;
  scroll-padding-inline: 6px;
  overscroll-behavior-x: contain;

  scrollbar-width: thin;
  scrollbar-color: #78afe0 #d4e4f3;
}

.nobo-orthodontics-menu__viewport::-webkit-scrollbar {
  height: 5px;
}

.nobo-orthodontics-menu__viewport::-webkit-scrollbar-track {
  background: #d4e4f3;
}

.nobo-orthodontics-menu__viewport::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: #78afe0;
}

.nobo-orthodontics-menu__viewport:focus-visible {
  outline: 2px solid var(--om-blue);
  outline-offset: 5px;
}

.nobo-orthodontics-menu__list {
  display: flex;
  align-items: stretch;
  gap: var(--om-gap);

  margin: 0;
  padding: 0 6px;

  list-style: none;
}

.nobo-orthodontics-menu__item {
  display: flex;
  flex: 0 0 var(--om-card-width);

  min-width: 0;
  margin: 0;
  padding: 0;

  scroll-snap-align: start;
}

/* ==================================================
   カード
================================================== */

.nobo-orthodontics-menu__card {
  --om-card-background: #0272d4;
  --om-card-text: #fff;
  --om-card-number: rgb(255 255 255 / 30%);
  --om-card-line: rgb(255 255 255 / 55%);

  display: flex;
  flex-direction: column;

  width: 100%;
  min-width: 0;

  overflow: hidden;

  border: 1px solid rgb(255 255 255 / 85%);
  border-radius: 3px;

  color: var(--om-card-text);
  background: var(--om-card-background);
  box-shadow: 0 4px 10px rgb(20 47 83 / 15%);
}

.nobo-orthodontics-menu__card--mouthpiece {
  --om-card-background: #0272d4;
}

.nobo-orthodontics-menu__card--wire {
  --om-card-background: #082e67;
}

/* 淡いブルーには濃紺文字を合わせて視認性を確保 */
.nobo-orthodontics-menu__card--partial {
  --om-card-background: #b9d9ef;
  --om-card-text: #142f53;
  --om-card-number: rgb(20 47 83 / 15%);
  --om-card-line: rgb(20 47 83 / 45%);
}

/* ==================================================
   カード写真
================================================== */

.nobo-orthodontics-menu__visual {
  flex: 0 0 auto;

  width: 100%;
  aspect-ratio: 1.78;
  margin: 0;
  overflow: hidden;

  background: #e6eef5;
}

.nobo-orthodontics-menu__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(--om-photo-position, center);
}

/* ==================================================
   カード本文
================================================== */

.nobo-orthodontics-menu__body {
  position: relative;
  isolation: isolate;

  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;

  min-width: 0;
  padding: 28px 24px;
}

.nobo-orthodontics-menu__number {
  position: absolute;
  z-index: -1;
  top: 10px;
  right: 14px;

  color: var(--om-card-number);

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(68px, 6.5vw, 96px);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.07em;

  pointer-events: none;
  user-select: none;
}

.nobo-orthodontics-menu__label {
  margin: 0 0 8px;

  color: inherit;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.12em;
}

.nobo-orthodontics-menu__card-title {
  margin: 0;
  padding: 0;

  border: 0;
  background: none;

  color: inherit;

  font-family: var(--om-serif);
  font-size: clamp(22px, 2vw, 29px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.045em;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.nobo-orthodontics-menu__card-title::before {
  content: none;
}

.nobo-orthodontics-menu__card-title::after {
  content: "";
  display: block;

  width: 28px;
  height: 1px;
  margin-top: 12px;

  background: var(--om-card-line);
}

.nobo-orthodontics-menu__description {
  margin: 16px 0 24px;

  color: inherit;

  font-family: var(--om-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

/* ==================================================
   詳細ページへのリンク
================================================== */

.nobo-orthodontics-menu__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  max-width: 100%;
  min-height: 44px;
  margin-top: auto;
  padding: 9px 16px;

  border: 1px solid var(--om-card-line);
  border-radius: 4px;

  color: var(--om-card-text);
  background: transparent;

  font-family: var(--om-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.035em;
  text-decoration: none;

  transition:
    color 200ms ease,
    background-color 200ms ease,
    border-color 200ms ease;
}

.nobo-orthodontics-menu__link:visited {
  color: var(--om-card-text);
}

.nobo-orthodontics-menu__link::before,
.nobo-orthodontics-menu__link::after {
  content: none;
}

.nobo-orthodontics-menu__link > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.nobo-orthodontics-menu__link > svg {
  display: block;
  flex: 0 0 20px;

  width: 20px;
  height: 20px;

  transition: transform 200ms ease;
}

.nobo-orthodontics-menu__link:focus-visible {
  outline: 2px solid var(--om-card-text);
  outline-offset: 4px;
}

/* ==================================================
   左右の操作ボタン
================================================== */

.nobo-orthodontics-menu__controls {
  position: absolute;
  z-index: 3;
  top: 0;
  right: -22px;
  bottom: 0;
  left: -22px;

  pointer-events: none;
}

.nobo-orthodontics-menu__nav {
  position: absolute;
  top: 50%;

  display: grid;
  place-items: center;

  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;

  appearance: none;
  border: 1px solid #bdd7ee;
  border-radius: 50%;

  color: var(--om-blue);
  background: #fff;
  box-shadow: 0 3px 8px rgb(20 47 83 / 14%);

  transform: translateY(-50%);

  cursor: pointer;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;

  transition:
    color 200ms ease,
    background-color 200ms ease,
    opacity 200ms ease;
}

.nobo-orthodontics-menu__nav--prev {
  left: 0;
}

.nobo-orthodontics-menu__nav--next {
  right: 0;
}

.nobo-orthodontics-menu__nav::before,
.nobo-orthodontics-menu__nav::after {
  content: none;
}

.nobo-orthodontics-menu__nav > svg {
  display: block;
  width: 22px;
  height: 22px;
}

.nobo-orthodontics-menu__nav:disabled {
  opacity: 0.4;
  cursor: default;
}

.nobo-orthodontics-menu__nav:focus-visible {
  outline: 3px solid var(--om-blue);
  outline-offset: 3px;
}

/* ==================================================
   進捗バー
   JSで幅と位置のカスタムプロパティを更新
================================================== */

.nobo-orthodontics-menu__progress {
  --treatment-progress-width: 0%;
  --treatment-progress-left: 0%;

  position: relative;

  width: min(70%, 680px);
  height: 3px;
  margin: 24px auto 0;
  overflow: hidden;

  border-radius: 3px;
  background: #c7ddf1;
}

.nobo-orthodontics-menu__progress-bar {
  position: absolute;
  top: 0;
  left: var(--treatment-progress-left);

  display: block;

  width: var(--treatment-progress-width);
  height: 100%;

  border-radius: inherit;
  background: var(--om-blue);
}

/* JS初期化前の非表示を維持 */
.nobo-orthodontics-menu__controls[hidden],
.nobo-orthodontics-menu__progress[hidden] {
  display: none;
}

/* ==================================================
   ホバー
================================================== */

@media (hover: hover) and (pointer: fine) {
  .nobo-orthodontics-menu__link:hover {
    border-color: #fff;
    color: var(--om-navy);
    background: #fff;
  }

  .nobo-orthodontics-menu__link:hover > svg {
    transform: translateX(3px);
  }

  .nobo-orthodontics-menu__nav:not(:disabled):hover {
    color: #fff;
    background: var(--om-blue);
  }
}

/* ==================================================
   タブレット：2枚と次のカードの一部を表示
================================================== */

@media (min-width: 768px) and (max-width: 1100px) {
  .nobo-orthodontics-menu {
    --om-card-width: 46%;
    --om-gap: 18px;

    padding: 56px 32px;
  }

  .nobo-orthodontics-menu__body {
    padding: 24px 20px;
  }

  .nobo-orthodontics-menu__card-title {
    font-size: 24px;
  }

  .nobo-orthodontics-menu__number {
    font-size: 80px;
  }
}

/* ==================================================
   スマートフォン：1枚と次のカードの一部を表示
================================================== */

@media (max-width: 767px) {
  .nobo-orthodontics-menu {
    --om-card-width: 88%;
    --om-gap: 14px;

    padding: 40px 20px 44px;
    scroll-margin-top: 84px;
  }

  .nobo-orthodontics-menu__background-word {
    top: 8px;
    right: -30px;
    font-size: 76px;
  }

  .nobo-orthodontics-menu__header {
    margin-bottom: 24px;
  }

  .nobo-orthodontics-menu__eyebrow {
    min-width: min(100%, 280px);
    margin-bottom: 12px;

    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .nobo-orthodontics-menu__title {
    font-size: clamp(26px, 6.8vw, 32px);
    line-height: 1.7;
    letter-spacing: 0.035em;
  }

  .nobo-orthodontics-menu__lead {
    margin-top: 10px;
    font-size: 15px;
    letter-spacing: 0.02em;
  }

  .nobo-orthodontics-menu__visual {
    aspect-ratio: 1.6;
  }

  .nobo-orthodontics-menu__body {
    padding: 24px 20px;
  }

  .nobo-orthodontics-menu__number {
    top: 12px;
    right: 12px;
    font-size: 74px;
  }

  .nobo-orthodontics-menu__label {
    font-size: 10px;
  }

  .nobo-orthodontics-menu__card-title {
    font-size: 23px;
    letter-spacing: 0.025em;
  }

  .nobo-orthodontics-menu__description {
    margin: 14px 0 22px;
    font-size: 14px;
  }

  .nobo-orthodontics-menu__controls {
    right: -16px;
    left: -16px;
  }

  .nobo-orthodontics-menu__progress {
    width: 78%;
    margin-top: 20px;
  }
}

/* ==================================================
   小さなスマートフォン
================================================== */

@media (max-width: 359px) {
  .nobo-orthodontics-menu {
    padding-inline: 16px;
  }

  .nobo-orthodontics-menu__title {
    font-size: 24px;
  }

  .nobo-orthodontics-menu__body {
    padding-inline: 16px;
  }

  .nobo-orthodontics-menu__card-title {
    font-size: 21px;
  }

  .nobo-orthodontics-menu__controls {
    right: -12px;
    left: -12px;
  }
}

/* ==================================================
   動きを抑える設定
================================================== */

@media (prefers-reduced-motion: reduce) {
  .nobo-orthodontics-menu__viewport {
    scroll-behavior: auto;
  }

  .nobo-orthodontics-menu__link,
  .nobo-orthodontics-menu__link > svg,
  .nobo-orthodontics-menu__nav {
    transition: none;
  }

  .nobo-orthodontics-menu__link:hover > svg {
    transform: none;
  }
}


/* ==================================================
   当院の矯正歯科：治療方法の比較
================================================== */

.nobo-orthodontics-comparison {
  --comparison-blue: #0272d4;
  --comparison-navy: #142f53;
  --comparison-line: #bdd8f3;
  --comparison-pale: #f2f8fd;
  --comparison-serif:
    "Zen Old Mincho",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;
  --comparison-sans:
    "Zen Old Mincho", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;

  position: relative;
  isolation: isolate;

  width: 100%;
  margin: 0;
  padding: 72px 32px 64px;
  overflow: hidden;

  color: var(--comparison-navy);
  background: #fff;

  scroll-margin-top: 108px;
}

.nobo-orthodontics-comparison,
.nobo-orthodontics-comparison::before,
.nobo-orthodontics-comparison::after,
.nobo-orthodontics-comparison *,
.nobo-orthodontics-comparison *::before,
.nobo-orthodontics-comparison *::after {
  box-sizing: border-box;
}

/* 背景の細い曲線 */
.nobo-orthodontics-comparison::before,
.nobo-orthodontics-comparison::after {
  content: "";
  position: absolute;
  z-index: 0;

  width: 720px;
  height: 260px;

  border: 1px solid #dfedfc;
  border-radius: 50%;

  pointer-events: none;
}

.nobo-orthodontics-comparison::before {
  top: -130px;
  left: -260px;
  transform: rotate(15deg);
}

.nobo-orthodontics-comparison::after {
  top: 80px;
  right: -320px;
  transform: rotate(-25deg);
}

.nobo-orthodontics-comparison__inner {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
}

/* ==================================================
   セクション見出し
================================================== */

.nobo-orthodontics-comparison__header {
  margin: 0 0 32px;
  text-align: center;
}

.nobo-orthodontics-comparison__eyebrow {
  position: relative;

  display: table;
  max-width: 100%;
  margin: 0 auto 16px;
  padding: 0 20px 10px 0;

  border-bottom: 1px solid var(--comparison-blue);

  color: var(--comparison-blue);

  font-family: var(--comparison-sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.18em;
  overflow-wrap: anywhere;
}

.nobo-orthodontics-comparison__eyebrow::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -2px;

  width: 4px;
  height: 4px;

  border-radius: 50%;
  background: var(--comparison-blue);
}

.nobo-orthodontics-comparison__title {
  margin: 0;
  padding: 0;

  border: 0;
  background: none;

  color: var(--comparison-navy);

  font-family: var(--comparison-serif);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.055em;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.nobo-orthodontics-comparison__title::before,
.nobo-orthodontics-comparison__title::after {
  content: none;
}

.nobo-orthodontics-comparison__title > span {
  display: inline-block;
}

.nobo-orthodontics-comparison__lead {
  margin: 14px 0 0;

  color: var(--comparison-blue);

  font-family: var(--comparison-serif);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.035em;
  overflow-wrap: anywhere;
}

/* ==================================================
   比較表
   HTMLのtable構造を維持
================================================== */

.nobo-orthodontics-comparison__table-wrap {
  width: 100%;
  overflow: hidden;

  border: 1px solid var(--comparison-line);
  border-radius: 6px;

  background: #fff;
}

.nobo-orthodontics-comparison__table {
  width: 100%;
  margin: 0;

  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;

  color: var(--comparison-navy);
  background: transparent;
}

.nobo-orthodontics-comparison__col-treatment {
  width: 41%;
}

.nobo-orthodontics-comparison__col-category {
  width: 18%;
}

/* ==================================================
   表上部：治療方法と画像
================================================== */

.nobo-orthodontics-comparison__heading {
  padding: 0;

  border: 0;
  border-bottom: 1px solid var(--comparison-line);

  font-weight: 500;
  text-align: left;
  vertical-align: middle;
}

.nobo-orthodontics-comparison__heading--mouthpiece {
  color: var(--comparison-blue);
  background: linear-gradient(135deg, #f5fbff, #e7f3fc);
}

.nobo-orthodontics-comparison__heading--wire {
  color: #fff;
  background: linear-gradient(135deg, #073b83, #05265e);
}

.nobo-orthodontics-comparison__heading--category {
  padding: 16px 10px;

  border-right: 1px solid var(--comparison-line);
  border-left: 1px solid var(--comparison-line);

  color: var(--comparison-navy);
  background: #f7fbff;

  text-align: center;
}

.nobo-orthodontics-comparison__category-label {
  font-family: var(--comparison-serif);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.05em;
}

.nobo-orthodontics-comparison__treatment {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 12px;

  min-height: 210px;
  padding: 24px;
}

.nobo-orthodontics-comparison__treatment-text {
  position: relative;
  min-width: 0;
}

.nobo-orthodontics-comparison__treatment-name {
  display: block;

  font-family: var(--comparison-serif);
  font-size: clamp(22px, 2vw, 29px);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0.035em;
  overflow-wrap: anywhere;
}

.nobo-orthodontics-comparison__treatment-en {
  display: block;
  margin-top: 8px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.15em;
  overflow-wrap: anywhere;
}

.nobo-orthodontics-comparison__image {
  display: block;

  width: 100%;
  height: 160px;
  max-width: 100%;
  margin: 0;
  padding: 0;

  border: 0;
  border-radius: 0;

  object-fit: contain;
  object-position: center;
}

/* ==================================================
   各比較項目
================================================== */

.nobo-orthodontics-comparison__cell,
.nobo-orthodontics-comparison__category {
  padding: 20px 24px;

  border: 0;
  border-bottom: 1px solid var(--comparison-line);

  color: var(--comparison-navy);

  font-size: 16px;
  line-height: 1.9;
  text-align: center;
  vertical-align: middle;
  overflow-wrap: anywhere;
  line-break: strict;
}

.nobo-orthodontics-comparison__cell {
  font-family: var(--comparison-sans);
  font-weight: 400;
  letter-spacing: 0.02em;

  background: #fff;
}

/* 行ごとに淡い色を交互に設定 */
.nobo-orthodontics-comparison__row:nth-child(even)
  .nobo-orthodontics-comparison__cell {
  background: var(--comparison-pale);
}

/* 中央の項目名 */
.nobo-orthodontics-comparison__category {
  padding: 18px 12px;

  border-right: 1px solid var(--comparison-line);
  border-left: 1px solid var(--comparison-line);

  font-family: var(--comparison-serif);
  font-weight: 700;
  letter-spacing: 0.035em;

  background: #fff;
}

.nobo-orthodontics-comparison__icon {
  display: block;

  width: 27px;
  height: 27px;
  margin: 0 auto 7px;

  color: var(--comparison-blue);
}

.nobo-orthodontics-comparison__category > span {
  display: block;
}

/* 外枠との二重線を防ぐ */
.nobo-orthodontics-comparison__row:last-child
  .nobo-orthodontics-comparison__cell,
.nobo-orthodontics-comparison__row:last-child
  .nobo-orthodontics-comparison__category {
  border-bottom: 0;
}

/* ==================================================
   注記
================================================== */

.nobo-orthodontics-comparison__note {
  margin: 24px 0 0;

  color: #485563;

  font-family: var(--comparison-sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.02em;
  text-align: center;
  overflow-wrap: anywhere;
}

/* ==================================================
   タブレット
================================================== */

@media (min-width: 768px) and (max-width: 1100px) {
  .nobo-orthodontics-comparison {
    padding: 56px 24px;
  }

  .nobo-orthodontics-comparison__treatment {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;

    min-height: 250px;
    padding: 20px;

    text-align: center;
  }

  .nobo-orthodontics-comparison__treatment-name {
    font-size: 25px;
  }

  .nobo-orthodontics-comparison__image {
    width: min(100%, 220px);
    height: 140px;
    margin-inline: auto;
  }

  .nobo-orthodontics-comparison__cell {
    padding: 18px 16px;
    font-size: 15px;
  }

  .nobo-orthodontics-comparison__category {
    padding: 16px 10px;
    font-size: 14px;
  }
}

/* ==================================================
   スマートフォン
   3列を維持し、中央の項目をコンパクトに
================================================== */

@media (max-width: 767px) {
  .nobo-orthodontics-comparison {
    padding: 40px 12px 44px;
    scroll-margin-top: 84px;
  }

  .nobo-orthodontics-comparison__header {
    margin-bottom: 24px;
    padding-inline: 4px;
  }

  .nobo-orthodontics-comparison__eyebrow {
    margin-bottom: 12px;
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .nobo-orthodontics-comparison__title {
    font-size: clamp(24px, 6vw, 30px);
    line-height: 1.7;
    letter-spacing: 0.025em;
  }

  .nobo-orthodontics-comparison__title > span {
    display: block;
  }

  .nobo-orthodontics-comparison__lead {
    margin-top: 12px;
    font-size: 14px;
    letter-spacing: 0.015em;
  }

  .nobo-orthodontics-comparison__col-treatment {
    width: 39%;
  }

  .nobo-orthodontics-comparison__col-category {
    width: 22%;
  }

  .nobo-orthodontics-comparison__table-wrap {
    border-radius: 4px;
  }

  .nobo-orthodontics-comparison__treatment {
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    gap: 10px;

    min-height: 200px;
    padding: 16px 8px;

    text-align: center;
  }

  .nobo-orthodontics-comparison__treatment-name {
    font-size: clamp(16px, 4vw, 20px);
    line-height: 1.6;
    letter-spacing: 0;
  }

  .nobo-orthodontics-comparison__treatment-en {
    margin-top: 6px;
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .nobo-orthodontics-comparison__image {
    width: 100%;
    max-width: 180px;
    height: 90px;
    margin-inline: auto;
  }

  .nobo-orthodontics-comparison__heading--category {
    padding: 12px 6px;
  }

  .nobo-orthodontics-comparison__category-label {
    font-size: 12px;
    letter-spacing: 0;
  }

  .nobo-orthodontics-comparison__cell {
    padding: 16px 10px;

    font-size: 13px;
    line-height: 1.85;
    letter-spacing: 0;
    text-align: left;
  }

  .nobo-orthodontics-comparison__category {
    padding: 14px 6px;

    font-size: 12px;
    line-height: 1.75;
    letter-spacing: 0;
  }

  .nobo-orthodontics-comparison__icon {
    width: 23px;
    height: 23px;
    margin-bottom: 6px;
  }

  .nobo-orthodontics-comparison__note {
    margin-top: 18px;
    padding-inline: 4px;

    font-size: 11px;
    text-align: left;
  }
}

/* ==================================================
   小さなスマートフォン
================================================== */

@media (max-width: 359px) {
  .nobo-orthodontics-comparison {
    padding-inline: 8px;
  }

  .nobo-orthodontics-comparison__title {
    font-size: 22px;
  }

  .nobo-orthodontics-comparison__treatment {
    padding-inline: 6px;
  }

  .nobo-orthodontics-comparison__treatment-name {
    font-size: 15px;
  }

  .nobo-orthodontics-comparison__cell {
    padding-inline: 8px;
    font-size: 12px;
  }

  .nobo-orthodontics-comparison__category {
    padding-inline: 4px;
    font-size: 11px;
  }
}



/* ==================================================
   当院の矯正歯科：治療の流れ
================================================== */

.nobo-orthodontics-flow {
  --flow-blue: #0272d4;
  --flow-hover: #005fb8;
  --flow-navy: #142f53;
  --flow-text: #485563;
  --flow-line: #cce2f7;
  --flow-pale: #f0f7fe;
  --flow-serif:
    "Zen Old Mincho",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;
  --flow-sans:
    "Zen Old Mincho", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;

  position: relative;
  isolation: isolate;

  width: 100%;
  margin: 0;
  padding: 72px 32px 64px;
  overflow: hidden;

  color: var(--flow-navy);
  background: #fff;

  scroll-margin-top: 108px;
}

.nobo-orthodontics-flow,
.nobo-orthodontics-flow::before,
.nobo-orthodontics-flow::after,
.nobo-orthodontics-flow *,
.nobo-orthodontics-flow *::before,
.nobo-orthodontics-flow *::after {
  box-sizing: border-box;
}

/* 見出し周辺の曲線 */
.nobo-orthodontics-flow::before,
.nobo-orthodontics-flow::after {
  content: "";
  position: absolute;
  z-index: 0;

  width: 640px;
  height: 220px;

  border: 1px solid #dcecff;
  border-radius: 50%;
  box-shadow: 0 12px 0 -11px #dcecff;

  pointer-events: none;
}

.nobo-orthodontics-flow::before {
  top: -110px;
  left: -360px;
  transform: rotate(-25deg);
}

.nobo-orthodontics-flow::after {
  top: 10px;
  right: -380px;
  transform: rotate(-20deg);
}

.nobo-orthodontics-flow__background-word {
  position: absolute;
  z-index: 0;
  top: 12px;
  right: -8px;

  color: rgb(2 114 212 / 7%);

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(90px, 12vw, 170px);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;

  pointer-events: none;
  user-select: none;
}

.nobo-orthodontics-flow__inner {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
}

/* ==================================================
   セクション見出し
================================================== */

.nobo-orthodontics-flow__header {
  margin: 0 0 44px;
  text-align: center;
}

.nobo-orthodontics-flow__eyebrow {
  margin: 0 0 10px;

  color: var(--flow-blue);

  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.12em;
}

.nobo-orthodontics-flow__title {
  margin: 0;
  padding: 0;

  border: 0;
  background: none;

  color: var(--flow-blue);

  font-family: var(--flow-serif);
  font-size: clamp(32px, 3.2vw, 46px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.nobo-orthodontics-flow__title::before {
  content: none;
}

.nobo-orthodontics-flow__title::after {
  content: "";
  display: block;

  width: 40px;
  height: 1px;
  margin: 18px auto 0;

  background: var(--flow-blue);
}

.nobo-orthodontics-flow__lead {
  margin: 18px 0 0;

  color: var(--flow-blue);

  font-family: var(--flow-serif);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.035em;
  overflow-wrap: anywhere;
}

.nobo-orthodontics-flow__lead > span {
  display: inline-block;
}

/* ==================================================
   ステップ一覧
================================================== */

.nobo-orthodontics-flow__list {
  margin: 0;
  padding: 0;

  list-style: none;
}

.nobo-orthodontics-flow__item {
  --flow-row-background: #fff;

  position: relative;
  isolation: isolate;

  margin: 0;
  padding: 0;
}

/* 偶数行の背景 */
.nobo-orthodontics-flow__item:nth-child(even) {
  --flow-row-background: var(--flow-pale);
}

/* 背景と区切り線を画面幅まで広げる */
.nobo-orthodontics-flow__item::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;

  width: max(100%, 100vw);

  border-top: 1px solid var(--flow-line);
  background: var(--flow-row-background);

  transform: translateX(-50%);

  pointer-events: none;
}

/* ステップ間の下向き矢印 */
.nobo-orthodontics-flow__item:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 2;
  bottom: -6px;
  left: 50%;

  width: 12px;
  height: 12px;

  border-right: 1px solid var(--flow-blue);
  border-bottom: 1px solid var(--flow-blue);
  background: var(--flow-row-background);

  transform: translateX(-50%) rotate(45deg);

  pointer-events: none;
}

.nobo-orthodontics-flow__step {
  display: grid;
  grid-template-columns:
    clamp(90px, 9vw, 130px)
    minmax(0, 1fr)
    minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(24px, 3vw, 44px);

  min-width: 0;
  padding: 38px 0;
}

/* ==================================================
   番号
================================================== */

.nobo-orthodontics-flow__number {
  align-self: start;

  display: block;
  margin: 4px 0 0;

  color: #b7d5f3;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(80px, 9vw, 128px);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.065em;

  user-select: none;
}

/* ==================================================
   タイトル・説明
================================================== */

.nobo-orthodontics-flow__content {
  min-width: 0;
}

.nobo-orthodontics-flow__step-title {
  margin: 0;
  padding: 0;

  border: 0;
  background: none;

  color: var(--flow-blue);

  font-family: var(--flow-serif);
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.045em;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.nobo-orthodontics-flow__step-title::before,
.nobo-orthodontics-flow__step-title::after {
  content: none;
}

.nobo-orthodontics-flow__text {
  margin: 16px 0 0;

  color: var(--flow-text);

  font-family: var(--flow-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.025em;
  overflow-wrap: anywhere;
  line-break: strict;
}

/* ==================================================
   写真
================================================== */

.nobo-orthodontics-flow__visual {
  width: 100%;
  min-width: 0;
  aspect-ratio: 1.65;
  margin: 0;

  overflow: hidden;

  border-radius: 2px;
  background: #e9eff5;
}

.nobo-orthodontics-flow__image {
  display: block;

  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;

  border: 0;
  border-radius: inherit;

  object-fit: cover;
  object-position: var(--flow-photo-position, center);
}

/* ==================================================
   相談料
================================================== */

.nobo-orthodontics-flow__fee {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;

  width: fit-content;
  max-width: 100%;
  margin: 20px 0 14px;
  padding: 5px 20px;

  border: 1px solid #8abce9;
  border-radius: 3px;

  color: var(--flow-blue);
  background: #fff;

  font-family: var(--flow-serif);
  line-height: 1.5;
}

.nobo-orthodontics-flow__fee-label {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.nobo-orthodontics-flow__fee-value {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 400;
}

.nobo-orthodontics-flow__fee-unit {
  margin-left: 3px;

  font-family: var(--flow-serif);
  font-size: 16px;
  font-weight: 500;
}

/* ==================================================
   予約ボタン
================================================== */

.nobo-orthodontics-flow__button {
  position: relative;
  isolation: isolate;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;

  width: min(100%, 480px);
  min-height: 64px;
  margin: 0;
  padding: 16px 24px;

  overflow: hidden;

  border: 1px solid var(--flow-blue);
  border-radius: 5px;

  color: #fff;
  background: var(--flow-blue);
  box-shadow: 0 5px 16px rgb(2 114 212 / 15%);

  font-family: var(--flow-serif);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.035em;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;

  -webkit-tap-highlight-color: transparent;

  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.nobo-orthodontics-flow__button:visited {
  color: #fff;
}

.nobo-orthodontics-flow__button--small {
  width: fit-content;
  max-width: 100%;
  min-height: 48px;
  gap: 12px;
  padding: 10px 18px;

  font-size: 16px;
}

/* 光の帯 */
.nobo-orthodontics-flow__button::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -50%;
  left: -60%;

  width: 45%;
  height: 200%;

  background: linear-gradient(
    90deg,
    transparent,
    rgb(255 255 255 / 12%) 25%,
    rgb(255 255 255 / 45%) 50%,
    rgb(255 255 255 / 12%) 75%,
    transparent
  );

  opacity: 0;
  transform: translateX(0) skewX(-22deg);

  animation: nobo-orthodontics-flow-shine 5s ease-in-out infinite;

  pointer-events: none;
}

.nobo-orthodontics-flow__button::after {
  content: none;
}

.nobo-orthodontics-flow__button > span {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.nobo-orthodontics-flow__button-arrow {
  position: relative;
  z-index: 1;

  display: block;
  flex: 0 0 24px;

  width: 24px;
  height: 24px;

  transition: transform 220ms ease;
}

.nobo-orthodontics-flow__button--small
  .nobo-orthodontics-flow__button-arrow {
  flex-basis: 20px;
  width: 20px;
  height: 20px;
}

.nobo-orthodontics-flow__button:focus-visible {
  outline: 3px solid var(--flow-navy);
  outline-offset: 4px;
}

@keyframes nobo-orthodontics-flow-shine {
  0%,
  65% {
    opacity: 0;
    transform: translateX(0) skewX(-22deg);
  }

  68% {
    opacity: 1;
  }

  88% {
    opacity: 1;
    transform: translateX(420%) skewX(-22deg);
  }

  89%,
  100% {
    opacity: 0;
    transform: translateX(420%) skewX(-22deg);
  }
}

@media (hover: hover) and (pointer: fine) {
  .nobo-orthodontics-flow__button:hover {
    border-color: var(--flow-hover);
    color: #fff;
    background: var(--flow-hover);
    box-shadow: 0 7px 20px rgb(2 114 212 / 22%);
  }

  .nobo-orthodontics-flow__button:hover
    .nobo-orthodontics-flow__button-arrow {
    transform: translateX(4px);
  }
}

/* ==================================================
   下部の注記・CTA
================================================== */

.nobo-orthodontics-flow__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;

  margin-top: 24px;
}

.nobo-orthodontics-flow__note {
  display: flex;
  align-items: flex-start;
  gap: 12px;

  width: min(100%, 900px);
  padding: 18px 24px;

  border-radius: 5px;

  color: var(--flow-text);
  background: var(--flow-pale);

  font-family: var(--flow-sans);
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: 0.02em;
}

.nobo-orthodontics-flow__note-icon {
  display: block;
  flex: 0 0 20px;

  width: 20px;
  height: 20px;
  margin-top: 2px;

  color: var(--flow-blue);
}

.nobo-orthodontics-flow__note > p {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

/* ==================================================
   タブレット
================================================== */

@media (min-width: 768px) and (max-width: 1100px) {
  .nobo-orthodontics-flow {
    padding: 56px 24px;
  }

  .nobo-orthodontics-flow__step {
    grid-template-columns:
      74px
      minmax(0, 1fr)
      minmax(0, 1fr);
    gap: 22px;
    padding-block: 32px;
  }

  .nobo-orthodontics-flow__number {
    font-size: 80px;
  }

  .nobo-orthodontics-flow__step-title {
    font-size: 24px;
    letter-spacing: 0.025em;
  }

  .nobo-orthodontics-flow__text {
    font-size: 15px;
    line-height: 1.95;
  }

  .nobo-orthodontics-flow__visual {
    aspect-ratio: 1.25;
  }

  .nobo-orthodontics-flow__button--small {
    gap: 10px;
    padding-inline: 14px;
    font-size: 15px;
  }
}

/* ==================================================
   スマートフォン
   番号・本文の下に写真を配置
================================================== */

@media (max-width: 767px) {
  .nobo-orthodontics-flow {
    padding: 40px 20px 48px;
    scroll-margin-top: 84px;
  }

  .nobo-orthodontics-flow__background-word {
    top: 14px;
    right: -8px;
    font-size: 90px;
  }

  .nobo-orthodontics-flow__header {
    margin-bottom: 28px;
  }

  .nobo-orthodontics-flow__eyebrow {
    margin-bottom: 8px;
    font-size: 11px;
  }

  .nobo-orthodontics-flow__title {
    font-size: 30px;
  }

  .nobo-orthodontics-flow__title::after {
    width: 32px;
    margin-top: 14px;
  }

  .nobo-orthodontics-flow__lead {
    margin-top: 14px;
    font-size: 14px;
    letter-spacing: 0.02em;
  }

  .nobo-orthodontics-flow__lead > span {
    display: block;
  }

  .nobo-orthodontics-flow__step {
    grid-template-columns: 62px minmax(0, 1fr);
    align-items: start;
    gap: 22px 16px;

    padding-block: 28px;
  }

  .nobo-orthodontics-flow__number {
    margin-top: 0;
    font-size: 66px;
  }

  .nobo-orthodontics-flow__step-title {
    font-size: clamp(21px, 5.5vw, 26px);
    line-height: 1.7;
    letter-spacing: 0.02em;
  }

  .nobo-orthodontics-flow__text {
    margin-top: 12px;

    font-size: 14px;
    line-height: 1.95;
    letter-spacing: 0.02em;
  }

  .nobo-orthodontics-flow__visual {
    grid-column: 1 / -1;
    aspect-ratio: 1.6;
  }

  .nobo-orthodontics-flow__fee {
    margin-top: 16px;
    padding-inline: 16px;
  }

  .nobo-orthodontics-flow__fee-label {
    font-size: 14px;
  }

  .nobo-orthodontics-flow__fee-value {
    font-size: 25px;
  }

  .nobo-orthodontics-flow__button {
    gap: 12px;
    min-height: 60px;
    padding: 14px 18px;

    font-size: 18px;
    letter-spacing: 0.02em;
  }

  .nobo-orthodontics-flow__button--small {
    gap: 8px;
    min-height: 46px;
    padding: 10px 12px;

    font-size: 14px;
    letter-spacing: 0;
  }

  .nobo-orthodontics-flow__button-arrow {
    flex-basis: 20px;
    width: 20px;
    height: 20px;
  }

  .nobo-orthodontics-flow__actions {
    gap: 20px;
    margin-top: 12px;
  }

  .nobo-orthodontics-flow__note {
    gap: 10px;
    padding: 16px;

    font-size: 12px;
    line-height: 1.85;
  }
}

/* ==================================================
   小さなスマートフォン
================================================== */

@media (max-width: 359px) {
  .nobo-orthodontics-flow {
    padding-inline: 16px;
  }

  .nobo-orthodontics-flow__step {
    grid-template-columns: 50px minmax(0, 1fr);
    column-gap: 12px;
  }

  .nobo-orthodontics-flow__number {
    font-size: 56px;
  }

  .nobo-orthodontics-flow__step-title {
    font-size: 20px;
  }

  .nobo-orthodontics-flow__button--small {
    padding-inline: 10px;
    font-size: 13px;
  }
}

/* ==================================================
   動きを抑える設定
================================================== */

@media (prefers-reduced-motion: reduce) {
  .nobo-orthodontics-flow__button,
  .nobo-orthodontics-flow__button-arrow {
    transition: none;
  }

  .nobo-orthodontics-flow__button::before {
    content: none;
    animation: none;
  }

  .nobo-orthodontics-flow__button:hover
    .nobo-orthodontics-flow__button-arrow {
    transform: none;
  }
}


/* ==================================================
   当院の矯正歯科：料金・症例集へのご案内
================================================== */

.nobo-orthodontics-guide {
  --guide-blue: #0272d4;
  --guide-navy: #142f53;
  --guide-line: #c8def4;
  --guide-serif:
    "Zen Old Mincho",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;
  --guide-sans:
    "Zen Old Mincho", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;

  position: relative;
  isolation: isolate;

  width: 100%;
  margin: 0;
  padding: 56px 32px 72px;
  overflow: hidden;

  color: var(--guide-navy);
  background: #fff;
}

.nobo-orthodontics-guide,
.nobo-orthodontics-guide::before,
.nobo-orthodontics-guide::after,
.nobo-orthodontics-guide *,
.nobo-orthodontics-guide *::before,
.nobo-orthodontics-guide *::after {
  box-sizing: border-box;
}

/* 上部の曲線装飾 */
.nobo-orthodontics-guide::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -250px;
  left: 50%;

  width: 140%;
  height: 300px;

  border: 1px solid #e1edfa;
  border-radius: 50%;

  transform: translateX(-50%);

  pointer-events: none;
}

.nobo-orthodontics-guide__inner {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
}

.nobo-orthodontics-guide__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 16px;
}

/* ==================================================
   共通カード
================================================== */

.nobo-orthodontics-guide__card {
  position: relative;
  isolation: isolate;

  display: flex;

  min-width: 0;
  margin: 0;
  padding: 36px;
  overflow: hidden;

  border: 1px solid var(--guide-line);
  border-radius: 8px;
}

.nobo-orthodontics-guide__content {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  width: 100%;
  min-width: 0;
}

.nobo-orthodontics-guide__eyebrow {
  margin: 0 0 10px;

  color: inherit;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.14em;
}

.nobo-orthodontics-guide__title {
  margin: 0;
  padding: 0;

  border: 0;
  background: none;

  color: inherit;

  font-family: var(--guide-serif);
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.065em;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.nobo-orthodontics-guide__title::before,
.nobo-orthodontics-guide__title::after {
  content: none;
}

.nobo-orthodontics-guide__description {
  margin: 14px 0 0;

  font-family: var(--guide-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.025em;
  overflow-wrap: anywhere;
}

.nobo-orthodontics-guide__description > span {
  display: block;
}

/* ==================================================
   左側：料金カード
================================================== */

.nobo-orthodontics-guide__card--price {
  min-height: 390px;
  padding: 40px;

  border-color: #176dc0;

  color: #fff;
  background:
    radial-gradient(
      ellipse at 80% 65%,
      rgb(0 163 234 / 55%),
      transparent 48%
    ),
    linear-gradient(125deg, #0560b3, #03499e);
}

/* 料金カード内の曲線 */
.nobo-orthodontics-guide__card--price::before,
.nobo-orthodontics-guide__card--price::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -140px;
  bottom: -130px;

  width: 520px;
  height: 260px;

  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 50%;

  transform: rotate(-25deg);

  pointer-events: none;
}

.nobo-orthodontics-guide__card--price::after {
  right: -120px;
  bottom: -150px;
}

/* テキストと装飾の重なりを防ぐ */
.nobo-orthodontics-guide__card--price
  .nobo-orthodontics-guide__content {
  width: 68%;
}

.nobo-orthodontics-guide__features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 0;

  width: 100%;
  margin: 26px 0 28px;
  padding: 0;

  list-style: none;
}

.nobo-orthodontics-guide__feature {
  display: flex;
  align-items: center;
  gap: 8px;

  min-width: 0;
  margin: 0;
  padding: 0 12px;

  border-left: 1px solid rgb(255 255 255 / 35%);

  font-family: var(--guide-sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
}

.nobo-orthodontics-guide__feature:first-child {
  padding-left: 0;
  border-left: 0;
}

.nobo-orthodontics-guide__feature-icon {
  display: block;
  flex: 0 0 28px;

  width: 28px;
  height: 28px;
}

.nobo-orthodontics-guide__feature > span {
  overflow-wrap: anywhere;
}

/* 書類・電卓・カードの線画 */
.nobo-orthodontics-guide__price-visual {
  position: absolute;
  z-index: 1;
  right: 12px;
  bottom: 52px;

  width: 32%;
  max-width: 280px;

  color: #d7f2ff;

  pointer-events: none;
}

.nobo-orthodontics-guide__price-illustration {
  display: block;

  width: 100%;
  height: auto;

  filter: drop-shadow(0 0 8px rgb(101 212 255 / 35%));
}

/* ==================================================
   右側：症例カード
================================================== */

.nobo-orthodontics-guide__card--cases {
  padding: 32px;

  color: var(--guide-blue);
  background: linear-gradient(135deg, #fff, #f9fcff);
}

/* 症例カード内の曲線 */
.nobo-orthodontics-guide__card--cases::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: -180px;
  bottom: -20px;

  width: 340px;
  height: 220px;

  border: 1px solid #deecfb;
  border-radius: 50%;
  box-shadow: 0 14px 0 -13px #deecfb;

  transform: rotate(-35deg);

  pointer-events: none;
}

.nobo-orthodontics-guide__card--cases
  .nobo-orthodontics-guide__description {
  color: #485563;
}

/* 模型写真2枚 */
.nobo-orthodontics-guide__cases-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr);
  align-items: center;
  gap: 12px;

  width: 100%;
  margin-top: 24px;
}

.nobo-orthodontics-guide__case-photo {
  width: 100%;
  min-width: 0;
  aspect-ratio: 1.45;
  margin: 0;
  padding: 3px;

  overflow: hidden;

  border: 1px solid var(--guide-line);
  border-radius: 2px;

  background: #fff;
}

.nobo-orthodontics-guide__case-image {
  display: block;

  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;

  border: 0;
  border-radius: 0;

  object-fit: contain;
  object-position: center;
}

.nobo-orthodontics-guide__cases-arrow {
  display: block;

  width: 20px;
  height: 20px;

  color: var(--guide-blue);
}

.nobo-orthodontics-guide__image-note {
  margin: 8px 0 20px;

  color: #596777;

  font-family: var(--guide-sans);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

/* ==================================================
   共通ボタン
================================================== */

.nobo-orthodontics-guide__button {
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;

  width: min(100%, 280px);
  min-height: 56px;
  margin-top: auto;
  padding: 13px 22px;

  border: 1px solid var(--guide-blue);
  border-radius: 5px;

  color: var(--guide-blue);
  background: #fff;

  font-family: var(--guide-serif);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.045em;
  text-align: center;
  text-decoration: none;

  -webkit-tap-highlight-color: transparent;

  transition:
    color 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.nobo-orthodontics-guide__button:visited {
  color: var(--guide-blue);
}

.nobo-orthodontics-guide__button::before,
.nobo-orthodontics-guide__button::after {
  content: none;
}

.nobo-orthodontics-guide__button > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.nobo-orthodontics-guide__button--price {
  border-color: #fff;
}

.nobo-orthodontics-guide__button-arrow {
  display: block;
  flex: 0 0 24px;

  width: 24px;
  height: 24px;

  transition: transform 220ms ease;
}

.nobo-orthodontics-guide__button:focus-visible {
  outline: 3px solid var(--guide-navy);
  outline-offset: 4px;
}

.nobo-orthodontics-guide__button--price:focus-visible {
  outline-color: #fff;
}

/* ==================================================
   ホバー
================================================== */

@media (hover: hover) and (pointer: fine) {
  .nobo-orthodontics-guide__button--price:hover {
    color: #0057a5;
    background: #eaf5ff;
    border-color: #eaf5ff;
    box-shadow: 0 6px 18px rgb(0 0 0 / 12%);
  }

  .nobo-orthodontics-guide__button--cases:hover {
    color: #fff;
    background: var(--guide-blue);
    border-color: var(--guide-blue);
    box-shadow: 0 6px 18px rgb(2 114 212 / 15%);
  }

  .nobo-orthodontics-guide__button:hover
    .nobo-orthodontics-guide__button-arrow {
    transform: translateX(4px);
  }
}

/* ==================================================
   小さめのPC・タブレット
================================================== */

@media (min-width: 768px) and (max-width: 1100px) {
  .nobo-orthodontics-guide {
    padding: 44px 24px 56px;
  }

  .nobo-orthodontics-guide__grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }

  .nobo-orthodontics-guide__card--price,
  .nobo-orthodontics-guide__card--cases {
    padding: 28px;
  }

  .nobo-orthodontics-guide__card--price
    .nobo-orthodontics-guide__content {
    width: 100%;
  }

  .nobo-orthodontics-guide__title {
    font-size: 28px;
    letter-spacing: 0.035em;
  }

  .nobo-orthodontics-guide__description {
    font-size: 14px;
  }

  .nobo-orthodontics-guide__features {
    flex-direction: column;
    gap: 12px;
    margin-block: 24px;
  }

  .nobo-orthodontics-guide__feature {
    padding: 0;
    border: 0;
  }

  .nobo-orthodontics-guide__price-visual {
    right: 16px;
    bottom: 100px;
    width: 35%;
    opacity: 0.28;
  }

  .nobo-orthodontics-guide__cases-visual {
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1fr);
  }

  .nobo-orthodontics-guide__cases-arrow {
    width: 16px;
    height: 16px;
  }

  .nobo-orthodontics-guide__button {
    font-size: 17px;
    padding-inline: 16px;
    gap: 14px;
  }
}

/* ==================================================
   スマートフォン：縦並び
================================================== */

@media (max-width: 767px) {
  .nobo-orthodontics-guide {
    padding: 32px 16px 48px;
  }

  .nobo-orthodontics-guide__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .nobo-orthodontics-guide__card--price,
  .nobo-orthodontics-guide__card--cases {
    min-height: 0;
    padding: 28px 24px;
    border-radius: 6px;
  }

  .nobo-orthodontics-guide__card--price
    .nobo-orthodontics-guide__content {
    width: 100%;
  }

  .nobo-orthodontics-guide__eyebrow {
    margin-bottom: 8px;
    font-size: 11px;
  }

  .nobo-orthodontics-guide__title {
    font-size: clamp(25px, 6.5vw, 30px);
    letter-spacing: 0.035em;
  }

  .nobo-orthodontics-guide__description {
    margin-top: 12px;
    font-size: 14px;
    letter-spacing: 0.015em;
  }

  .nobo-orthodontics-guide__features {
    flex-direction: column;
    gap: 12px;
    margin: 22px 0 24px;
  }

  .nobo-orthodontics-guide__feature {
    gap: 10px;
    padding: 0;
    border: 0;

    font-size: 13px;
  }

  .nobo-orthodontics-guide__feature-icon {
    flex-basis: 25px;
    width: 25px;
    height: 25px;
  }

  .nobo-orthodontics-guide__price-visual {
    right: 16px;
    bottom: 98px;

    width: 37%;
    max-width: 160px;

    opacity: 0.3;
  }

  .nobo-orthodontics-guide__cases-visual {
    gap: 14px;
    margin-top: 22px;
  }

  .nobo-orthodontics-guide__image-note {
    margin-bottom: 20px;
  }

  .nobo-orthodontics-guide__button {
    width: 100%;
    min-height: 54px;
    padding: 13px 18px;

    font-size: 18px;
    letter-spacing: 0.025em;
  }

  .nobo-orthodontics-guide__button-arrow {
    flex-basis: 22px;
    width: 22px;
    height: 22px;
  }
}

/* ==================================================
   小さなスマートフォン
================================================== */

@media (max-width: 359px) {
  .nobo-orthodontics-guide {
    padding-inline: 12px;
  }

  .nobo-orthodontics-guide__card--price,
  .nobo-orthodontics-guide__card--cases {
    padding-inline: 20px;
  }

  .nobo-orthodontics-guide__title {
    font-size: 24px;
  }

  .nobo-orthodontics-guide__button {
    font-size: 16px;
  }
}

/* ==================================================
   動きを抑える設定
================================================== */

@media (prefers-reduced-motion: reduce) {
  .nobo-orthodontics-guide__button,
  .nobo-orthodontics-guide__button-arrow {
    transition: none;
  }

  .nobo-orthodontics-guide__button:hover
    .nobo-orthodontics-guide__button-arrow {
    transform: none;
  }
}

/* 目次の項目名：2行になるときは行の長さをそろえる（「比較」だけが次の行に落ちないように） */
.nobo-orthodontics-toc__text {
  text-wrap: balance;
}
