/* =========================================================
   かなもり歯科クリニック
   インプラント治療専用 LP
   姉妹サイト consultation-lp / yoyaku-lp のデザイントークンを継承
   ========================================================= */

/* ---------- Variables ---------- */
:root {
  --c-main:      #997A45;   /* dark gold / bronze */
  --c-main-dark: #7E6438;
  --c-sub-bg:    #E4D4B8;   /* cream beige */
  --c-line:      #C8A27E;   /* light gold */
  --c-text:      #2D2110;   /* dark brown */
  --c-text-mute: #6E5E45;
  --c-bg:        #F7F5F0;   /* off-white base */
  --c-bg-alt:    #FFFFFF;

  /* アクセント（独占性・希少性訴求） */
  --c-accent:    #B85C38;   /* 落ち着いたテラコッタ赤 */
  --c-accent-bg: #F5E8E1;

  /* LINEブランドカラー */
  --c-line-green:      #06C755;
  --c-line-green-dark: #05A648;

  --ff-serif:  'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  --ff-sans:   'Kosugi Maru', 'Hiragino Maru Gothic Pro', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --ff-en:     'Cormorant Garamond', 'Noto Serif JP', serif;

  --max:    1120px;
  --narrow: 760px;

  --gap-s: 12px;
  --gap-m: 24px;
  --gap-l: 48px;
  --gap-xl: 96px;

  --radius: 4px;
  --shadow-soft: 0 8px 32px rgba(45, 33, 16, 0.08);
  --shadow-card: 0 4px 20px rgba(45, 33, 16, 0.06);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--ff-sans);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
  /* モバイルで右下フローティングCTAと重ならないよう余白 */
  padding-bottom: 0;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--c-main);
  text-decoration: none;
  transition: opacity .2s ease, color .2s ease;
}
a:hover { opacity: .8; }

ul, ol { padding: 0; margin: 0; list-style: none; }

button { font: inherit; }

/* ---------- 日本語組版（改行位置の品質） ---------- */
/* 禁則を厳格に：長音符「ー」・小書きかな（っゃゅょ等）・中黒を行頭に送らない */
html,
body {
  line-break: strict;
  /* 日本語を文節単位で折り返す（Chrome 119+）。非対応ブラウザは従来どおり */
  word-break: auto-phrase;
  /* 語中で強制分割しない（長いURL等だけは .breakable で個別許可） */
  overflow-wrap: normal;
}

/* 本文：行末の泣き別れ（1〜2文字だけ次行に落ちる）を抑制 */
p, li, dd, dt, td, th, summary, figcaption, blockquote, small, label, address {
  text-wrap: pretty;
}

/* 見出し：行数を均等化し、意味の切れ目で折り返す */
h1, h2, h3, h4, h5, h6,
.section-title, .section-lead,
.hero-title, .hero-sub, .hero-eyebrow,
.case-card-title, .flow-step-title, .rt-card-title,
.auth-pillar-title, .honest-col-title, .pricing-philosophy-title,
.so-title, .cta-title, .faq-item summary {
  text-wrap: balance;
}

/* 文節単位の分かち（不自然な途中改行の防止） */
.nb { display: inline-block; }
/* 語中改行を明示的に許可したい箇所用（URL・長い英数字） */
.breakable { overflow-wrap: anywhere; word-break: normal; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: var(--narrow); }
.center { text-align: center; }

.sp-only { display: none; }
@media (max-width: 767px) {
  .sp-only { display: inline; }
}

/* ---------- Section eyebrows / titles ---------- */
.section-eyebrow {
  font-family: var(--ff-en);
  font-style: italic;
  font-size: 14px;
  letter-spacing: .12em;
  color: var(--c-main);
  margin: 0 0 8px;
  text-transform: none;
}
.section-eyebrow.center { text-align: center; }

.section-title {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: clamp(22px, 3.4vw, 32px);
  letter-spacing: .04em;
  color: var(--c-text);
  margin: 0 0 28px;
  line-height: 1.55;
}
.section-title.center { text-align: center; }
.section-title .en {
  display: block;
  font-family: var(--ff-en);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: .14em;
  color: var(--c-text-mute);
  margin-top: 6px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 28px;
  font-family: var(--ff-sans);
  font-size: 15px;
  letter-spacing: .04em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
  white-space: nowrap;
  line-height: 1.4;
  text-align: center;
}
.btn-primary {
  background: var(--c-main);
  color: #fff;
}
.btn-primary:hover {
  background: var(--c-main-dark);
  color: #fff;
  opacity: 1;
}
.btn-line {
  background: var(--c-line-green);
  color: #fff;
  box-shadow: 0 4px 12px rgba(6, 199, 85, .25);
}
.btn-line:hover {
  background: var(--c-line-green-dark);
  color: #fff;
  opacity: 1;
  box-shadow: 0 6px 18px rgba(6, 199, 85, .35);
  transform: translateY(-1px);
}
.btn-tel {
  background: var(--c-main);
  color: #fff;
  box-shadow: 0 4px 12px rgba(153, 122, 69, .25);
}
.btn-tel:hover {
  background: var(--c-main-dark);
  color: #fff;
  opacity: 1;
  box-shadow: 0 6px 18px rgba(153, 122, 69, .32);
  transform: translateY(-1px);
}
.btn-outline {
  background: #fff;
  color: var(--c-main);
  border-color: var(--c-main);
}
.btn-outline:hover {
  background: var(--c-sub-bg);
  opacity: 1;
}
.btn-large {
  padding: 18px 32px;
  font-size: 16px;
  flex-direction: column;
  gap: 4px;
  min-height: 64px;
  width: 100%;
  max-width: 320px;
}
.btn-large small {
  font-size: 12px;
  font-weight: normal;
  letter-spacing: .04em;
  opacity: .9;
}

/* ===================================================== */
/* 1. HEADER                                              */
/* ===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 240, .92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(200, 162, 126, .28);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--c-text);
}
.brand:hover { opacity: 1; }
.brand-mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .04em;
}
.brand-sub {
  font-size: 11px;
  color: var(--c-text-mute);
  letter-spacing: .04em;
  margin-top: 2px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-tel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
  color: var(--c-text);
}
.header-tel:hover { opacity: 1; color: var(--c-main); }
.tel-label {
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--c-text-mute);
}
.tel-num {
  font-family: var(--ff-en);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--c-main);
}
.header-cta {
  padding: 10px 18px;
  font-size: 13px;
  min-height: auto;
  width: auto;
  flex-direction: row;
}

@media (max-width: 767px) {
  .brand-sub { display: none; }
  .brand-name { font-size: 14px; white-space: nowrap; }
  .brand { gap: 8px; }
  .brand-mark { width: 26px; height: 26px; }
  .header-tel { display: none; }
  .header-inner {
    min-height: 58px;
    padding-left: 14px;
    padding-right: 14px;
    gap: 8px;
  }
  .header-cta { padding: 9px 12px; font-size: 12px; letter-spacing: 0; }
}
@media (max-width: 374px) {
  .brand-name { font-size: 13px; }
  .header-cta { padding: 8px 10px; font-size: 11px; }
}

/* ===================================================== */
/* 2. HERO                                                */
/* ===================================================== */
.hero {
  position: relative;
  padding: clamp(64px, 11vw, 128px) 0 clamp(56px, 9vw, 104px);
  overflow: hidden;
  background: var(--c-text); /* 動画読込前のフォールバック */
}

/* 背景動画（WFIサイト風・全面配置） */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #1A130B url("assets/hero-poster-v2.jpg") center / contain no-repeat;
}
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 0;
  pointer-events: none;
}
/* 生成り〜ブラウン系のオーバーレイでテキスト可読性を確保 */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 85% 15%, rgba(153, 122, 69, .28), transparent 55%),
    linear-gradient(180deg, rgba(45, 33, 16, .74) 0%, rgba(45, 33, 16, .62) 45%, rgba(45, 33, 16, .86) 100%);
}
/* スマホ回線への配慮: 動画は読み込まず poster 静止画のみ。
   実際の読込抑止は script.js 側（マークアップに src を持たせない）で行う。
   display:none はあくまで表示上の保険で、これ単体では読込は止まらない。 */
/* 額装構図ポスターを contain で表示し、口元アップを防ぐ（余白は #1A130B で連続） */
@media (max-width: 767px) {
  .hero-bg-video { display: none; }
  .hero-bg {
    background: #1A130B url("assets/hero-poster-v2.jpg") center 40% / cover no-repeat;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg-video { display: none; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 0 24px;
}
.hero-badge {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .08em;
  color: #F7F5F0;
  border: 1px solid rgba(228, 212, 184, .65);
  border-radius: 999px;
  padding: 6px 14px;
  background: rgba(45, 33, 16, .42);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(45, 33, 16, .4);
}
.hero-eyebrow {
  font-family: var(--ff-en);
  font-style: italic;
  letter-spacing: .2em;
  color: var(--c-sub-bg);
  margin: 0 0 18px;
  font-size: 14px;
  text-shadow: 0 1px 4px rgba(45, 33, 16, .65);
}
.hero-title {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: clamp(26px, 5.2vw, 44px);
  line-height: 1.55;
  letter-spacing: .04em;
  margin: 0 0 24px;
  color: #FFFFFF;
  text-shadow: 0 2px 12px rgba(45, 33, 16, .55);
}
.hero-title-accent {
  color: var(--c-sub-bg);
}
/* h1内のキーワード行（SEO用・視覚的にはサブ扱い） */
.hero-title-kw {
  display: block;
  margin-top: 14px;
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: clamp(13px, 1.8vw, 17px);
  line-height: 1.7;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .88);
  text-shadow: 0 2px 10px rgba(45, 33, 16, .55);
}
.hero-sub {
  font-family: var(--ff-sans);
  font-size: clamp(14px, 2.2vw, 17px);
  line-height: 1.95;
  color: rgba(247, 245, 240, .88);
  margin: 0 0 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 6px rgba(45, 33, 16, .55);
}
.hero-sub strong {
  color: #FFFFFF;
  font-weight: 700;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 0 24px;
}
.hero-note {
  font-size: 13px;
  color: rgba(247, 245, 240, .78);
  letter-spacing: .04em;
  margin: 0;
  text-shadow: 0 1px 4px rgba(45, 33, 16, .5);
}

@media (max-width: 600px) {
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  .hero-ctas .btn-large {
    max-width: 360px;
  }
}

/* ===================================================== */
/* 3. WORRIES                                             */
/* ===================================================== */
.worries {
  padding: clamp(44px, 6vw, 64px) 0;
  background: var(--c-bg-alt);
}
.worries-lead {
  font-size: 15px;
  line-height: 1.95;
  color: var(--c-text-mute);
  margin: 0 0 36px;
}
.worries-lead strong {
  color: var(--c-text);
  font-weight: 700;
}
.worries-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 0 auto 32px;
  max-width: 720px;
}
.worries-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  background: var(--c-bg);
  border-left: 3px solid var(--c-main);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.worries-list li p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--c-text);
}
.worries-list li p strong {
  font-weight: 700;
  color: var(--c-main-dark);
}
.worries-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--c-main);
  color: #fff;
  border-radius: 50%;
  font-family: var(--ff-en);
  font-style: italic;
  font-weight: 600;
  font-size: 16px;
  flex-shrink: 0;
  line-height: 1;
}
.worries-cta {
  text-align: center;
  font-size: 16px;
  color: var(--c-text);
  margin: 32px 0 0;
}
.worries-cta strong {
  font-weight: 700;
  color: var(--c-main-dark);
}

@media (max-width: 767px) {
  .worries-list {
    grid-template-columns: 1fr;
  }
}

/* ===================================================== */
/* 3.5 DIAGNOSIS PHILOSOPHY                               */
/* ===================================================== */
.diagnosis {
  padding: clamp(44px, 6vw, 64px) 0;
  background: var(--c-bg);
}
.diagnosis-quote {
  margin: 0 0 28px;
  padding: 28px 24px;
  border-left: 3px solid var(--c-main);
  background: var(--c-bg-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.diagnosis-quote p {
  margin: 0;
  font-family: var(--ff-serif);
  font-size: clamp(16px, 2.4vw, 19px);
  line-height: 1.95;
  color: var(--c-text);
  letter-spacing: .04em;
  text-align: center;
}
.diagnosis-quote p strong {
  font-weight: 700;
  color: var(--c-main-dark);
}
.diagnosis-body {
  font-size: 15px;
  line-height: 1.95;
  color: var(--c-text-mute);
  margin: 0 0 32px;
  text-align: center;
}
.diagnosis-body strong {
  font-weight: 700;
  color: var(--c-text);
}
.diagnosis-photo {
  margin: 0 auto 32px;
  max-width: 640px;
}
.diagnosis-photo img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--c-sub-bg);
  box-shadow: var(--shadow-soft);
}
.diagnosis-photo figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--c-text-mute);
  text-align: center;
  letter-spacing: .04em;
}
.diagnosis-points {
  display: grid;
  gap: 14px;
  max-width: 640px;
  margin: 0 auto;
}
.diagnosis-points li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-sub-bg);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}
.diagnosis-points li p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--c-text);
}
.diagnosis-points li p strong {
  font-weight: 700;
  color: var(--c-main-dark);
}
.diagnosis-point-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--c-main);
  color: #fff;
  border-radius: 50%;
  font-family: var(--ff-en);
  font-style: italic;
  font-weight: 600;
  font-size: 15px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

/* ===================================================== */
/* 3.6 CASE REVISION (他院インプラント修正症例)            */
/* ===================================================== */
.case-revision {
  padding: clamp(44px, 6vw, 64px) 0;
  background: linear-gradient(180deg, #F1ECDF 0%, var(--c-bg) 100%);
}
.case-revision-lead {
  font-size: 15px;
  line-height: 1.95;
  color: var(--c-text-mute);
  margin: 0 0 32px;
  text-align: center;
}
.case-revision-lead strong {
  font-weight: 700;
  color: var(--c-text);
}
.case-revision-ba {
  display: grid;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto 24px;
}
.case-revision-item {
  position: relative;
  margin: 0;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-sub-bg);
  border-radius: 12px;
  padding: 14px;
  box-shadow: var(--shadow-card);
}
.case-revision-item .ba-label {
  top: 22px;
  left: 22px;
}
.case-revision-item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--c-sub-bg);
  background: #000;
}
.case-revision-item figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--c-text-mute);
  text-align: center;
  letter-spacing: .03em;
}
.case-revision-detail {
  max-width: 720px;
  margin: 0 auto 20px;
  padding: 18px 20px;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-sub-bg);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}
.case-revision-detail-title {
  margin: 0 0 8px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--c-main-dark);
  letter-spacing: .05em;
}
.case-revision-detail p {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--c-text);
}
.case-revision-note {
  max-width: 720px;
  margin: 0 auto 36px;
  font-size: 12px;
  line-height: 1.85;
  color: var(--c-text-mute);
}
.case-revision-closing {
  text-align: center;
}
.case-revision-closing p {
  margin: 0 0 20px;
  font-family: var(--ff-serif);
  font-size: clamp(15px, 2.2vw, 17.5px);
  line-height: 2;
  color: var(--c-text);
}
.case-revision-closing p strong {
  font-weight: 700;
  color: var(--c-main-dark);
}
.case-revision-cta {
  margin: 0;
}

@media (max-width: 767px) {
  .case-revision-item {
    padding: 10px;
  }
  .case-revision-item .ba-label {
    top: 16px;
    left: 16px;
  }
}

/* ===================================================== */
/* 4. AUTHORITY                                           */
/* ===================================================== */
.authority {
  padding: clamp(44px, 6vw, 64px) 0;
  background: linear-gradient(180deg, var(--c-bg) 0%, #F1ECDF 100%);
}
.authority-lead {
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--c-text-mute);
  margin: 0 0 40px;
}
.authority-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 0 32px;
}
.auth-pillar {
  background: var(--c-bg-alt);
  border: 1px solid var(--c-sub-bg);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
}
.auth-pillar--accent {
  background: linear-gradient(180deg, #FFF8F2 0%, var(--c-accent-bg) 100%);
  border-color: var(--c-line);
  box-shadow: 0 6px 24px rgba(184, 92, 56, .12);
}
.auth-pillar-num {
  font-family: var(--ff-en);
  font-style: italic;
  font-weight: 600;
  font-size: 28px;
  letter-spacing: .04em;
  color: var(--c-main);
  margin: 0 0 8px;
  line-height: 1;
}
.auth-pillar-title {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.55;
  margin: 0 0 16px;
  color: var(--c-text);
  letter-spacing: .04em;
}
.auth-pillar-num-accent {
  display: block;
  font-family: var(--ff-en);
  font-style: italic;
  font-size: 22px;
  color: var(--c-accent);
  margin-top: 6px;
  font-weight: 600;
  letter-spacing: .04em;
}
.auth-pillar-body {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--c-text-mute);
}
.auth-pillar-body strong {
  font-weight: 700;
  color: var(--c-text);
}
.authority-figure {
  margin: 8px auto 0;
  max-width: 920px;
}
.authority-figure img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--c-sub-bg);
  box-shadow: var(--shadow-soft);
}
.authority-source {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--c-text-mute);
  margin: 24px auto 0;
  max-width: 760px;
  text-align: center;
}

@media (max-width: 900px) {
  .authority-pillars {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ===================================================== */
/* 5. KEY MESSAGE                                         */
/* ===================================================== */
.key-msg {
  padding: clamp(44px, 6vw, 64px) 0;
  background: var(--c-bg-alt);
}
.key-quote {
  margin: 0 0 32px;
  padding: 28px 24px;
  border-left: 3px solid var(--c-main);
  background: var(--c-bg);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.key-quote p {
  margin: 0;
  font-family: var(--ff-serif);
  font-size: clamp(16px, 2.4vw, 19px);
  line-height: 1.95;
  color: var(--c-text);
  letter-spacing: .04em;
}
.key-quote p strong {
  font-weight: 700;
  color: var(--c-main-dark);
}
.key-msg-body {
  font-size: 15px;
  line-height: 1.95;
  color: var(--c-text-mute);
  margin: 0;
}
.key-msg-body strong {
  font-weight: 700;
  color: var(--c-text);
}

/* ===================================================== */
/* 5.5 LONGEVITY DESIGN                                   */
/* ===================================================== */
.longevity {
  padding: clamp(44px, 6vw, 64px) 0;
  background: linear-gradient(180deg, var(--c-bg-alt) 0%, var(--c-bg) 100%);
}
.longevity-lead {
  font-size: 15px;
  line-height: 1.95;
  color: var(--c-text-mute);
  margin: 0 auto 40px;
  max-width: 720px;
}
.longevity-lead strong {
  font-weight: 700;
  color: var(--c-text);
}
.longevity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 0 32px;
}
.longevity-card {
  background: var(--c-bg-alt);
  border: 1px solid var(--c-sub-bg);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.longevity-card-num {
  font-family: var(--ff-en);
  font-style: italic;
  font-weight: 600;
  font-size: 28px;
  letter-spacing: .04em;
  color: var(--c-main);
  margin: 0 0 8px;
  line-height: 1;
}
.longevity-card-title {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.55;
  margin: 0 0 14px;
  color: var(--c-text);
  letter-spacing: .08em;
}
.longevity-card-body {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--c-text-mute);
  text-align: left;
}
.longevity-card-body strong {
  font-weight: 700;
  color: var(--c-text);
}
.longevity-card-link {
  margin: 14px 0 0;
  font-size: 13px;
}
.longevity-card-link a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--c-main);
}
.longevity-closing {
  text-align: center;
  font-family: var(--ff-serif);
  font-size: clamp(16px, 2.4vw, 19px);
  line-height: 1.95;
  letter-spacing: .04em;
  color: var(--c-text);
  margin: 0;
}
.longevity-closing strong {
  font-weight: 700;
  color: var(--c-main-dark);
}

@media (max-width: 900px) {
  .longevity-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ===================================================== */
/* 6. TREATMENT MENU                                      */
/* ===================================================== */
.treatments {
  padding: clamp(44px, 6vw, 64px) 0;
  background: var(--c-bg);
}
.treatments-lead {
  font-size: 15px;
  line-height: 1.95;
  color: var(--c-text-mute);
  margin: 0 auto 40px;
  max-width: 760px;
}
.treatments-lead strong {
  font-weight: 700;
  color: var(--c-text);
}
.treatment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 0 28px;
}
.treatment-card {
  background: var(--c-bg-alt);
  border: 1px solid var(--c-sub-bg);
  border-radius: 12px;
  padding: 28px 22px;
  position: relative;
  box-shadow: var(--shadow-card);
}
.treatment-card--accent {
  background: linear-gradient(180deg, #FFF8F2 0%, var(--c-accent-bg) 100%);
  border-color: var(--c-line);
}
.treatment-svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(153, 122, 69, .09);
  border: 1px solid rgba(153, 122, 69, .22);
  color: var(--c-main);
  margin: 0 0 14px;
}
.treatment-svg svg {
  width: 30px;
  height: 30px;
}
.treatment-svg--accent {
  background: rgba(184, 92, 56, .08);
  border-color: rgba(184, 92, 56, .25);
  color: var(--c-accent);
}
.treatment-card .treatment-badge {
  position: absolute;
  top: 24px;
  right: 22px;
}
.treatment-badge {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--c-main);
  border: 1px solid var(--c-line);
  background: rgba(255, 255, 255, .8);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 12px;
  font-weight: 600;
}
.treatment-badge--accent {
  color: var(--c-accent);
  border-color: var(--c-accent);
  background: #fff;
}
.treatment-title {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.55;
  margin: 0 0 12px;
  color: var(--c-text);
  letter-spacing: .04em;
}
.treatment-body {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--c-text-mute);
}
.treatment-body strong {
  font-weight: 700;
  color: var(--c-text);
}
.treatments-note {
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--c-text-mute);
  text-align: center;
  margin: 0 auto;
  max-width: 760px;
}

@media (max-width: 900px) {
  .treatment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .treatment-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================================== */
/* 7. CASE EXPERTISE                                      */
/* ===================================================== */
.case-expertise {
  padding: clamp(44px, 6vw, 64px) 0;
  background: var(--c-bg-alt);
}
.case-lead {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--c-text-mute);
  margin: 0 auto 40px;
  max-width: 720px;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0 0 28px;
}
.case-card {
  background: var(--c-bg);
  border: 1px solid var(--c-sub-bg);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}
.case-card--accent {
  background: linear-gradient(180deg, #FFF8F2 0%, var(--c-accent-bg) 100%);
  border-color: var(--c-line);
}
.case-card-title {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.55;
  margin: 0 0 14px;
  color: var(--c-text);
  letter-spacing: .04em;
}
.case-card-body {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--c-text-mute);
}
.case-card-link {
  margin: 0;
  font-size: 13px;
}
.case-card-link a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--c-main);
}
/* Before / After 症例写真 */
.ba-block {
  margin: 0 auto 32px;
  max-width: 920px;
}
.ba-title {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: .04em;
  color: var(--c-text);
  text-align: center;
  margin: 0 0 20px;
}
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 0 0 16px;
}
.ba-card {
  margin: 0;
  background: var(--c-bg);
  border: 1px solid var(--c-sub-bg);
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow-card);
}
.ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ba-item {
  position: relative;
}
.ba-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--c-sub-bg);
}
.ba-label {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  display: inline-block;
  font-family: var(--ff-en);
  font-style: italic;
  font-size: 11px;
  letter-spacing: .1em;
  color: #fff;
  background: rgba(45, 33, 16, .68);
  border-radius: 999px;
  padding: 3px 10px;
  line-height: 1.4;
}
.ba-label--after {
  background: rgba(153, 122, 69, .85);
}
.ba-card figcaption {
  margin-top: 10px;
  font-size: 12px;
  color: var(--c-text-mute);
  text-align: center;
  letter-spacing: .04em;
}
.ba-note {
  font-size: 12px;
  line-height: 1.85;
  color: var(--c-text-mute);
  text-align: center;
  margin: 0;
}
.ba-note a {
  color: var(--c-main);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 767px) {
  .ba-grid {
    grid-template-columns: 1fr;
  }
}

.case-transparency {
  text-align: center;
  font-size: 14px;
  line-height: 1.95;
  color: var(--c-text-mute);
  margin: 0 auto 20px;
  max-width: 720px;
}
.case-transparency strong {
  font-weight: 700;
  color: var(--c-text);
}
.case-disclaimer {
  font-size: 12px;
  line-height: 1.85;
  color: var(--c-text-mute);
  text-align: center;
  margin: 0 auto;
  max-width: 760px;
  background: var(--c-bg);
  padding: 16px 20px;
  border-radius: 8px;
  border: 1px dashed var(--c-line);
}
.case-disclaimer strong {
  font-weight: 700;
  color: var(--c-text);
}

@media (max-width: 767px) {
  .case-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================================== */
/* 7.5 PRICING                                            */
/* ===================================================== */
.pricing {
  padding: clamp(44px, 6vw, 64px) 0;
  background: linear-gradient(180deg, var(--c-bg) 0%, #F1ECDF 100%);
}
.pricing-lead {
  font-size: 15px;
  line-height: 1.95;
  color: var(--c-text-mute);
  margin: 0 auto 40px;
  max-width: 720px;
}
.pricing-lead strong {
  font-weight: 700;
  color: var(--c-text);
}
.pricing-table-wrap {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  align-items: start;
  max-width: 920px;
  margin: 0 auto 32px;
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-sub-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  font-size: 14px;
  color: var(--c-text);
}
.pricing-table-caption {
  caption-side: top;
  text-align: left;
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .04em;
  color: var(--c-text);
  padding: 0 4px 10px;
}
.pricing-table th,
.pricing-table td {
  padding: 12px 16px;
  border-bottom: 1px dashed var(--c-sub-bg);
  text-align: left;
  vertical-align: top;
  font-weight: normal;
  line-height: 1.6;
}
.pricing-table td {
  text-align: right;
  white-space: nowrap;
  font-family: var(--ff-sans);
  color: var(--c-text);
}
.pricing-table tr:last-child th,
.pricing-table tr:last-child td {
  border-bottom: none;
}
/* 術後スケジュール表：金額表ではなく文章なので左揃え・折り返しあり */
.rc-schedule-table td {
  text-align: left;
  white-space: normal;
  font-weight: normal;
  color: var(--c-text-mute);
}
.rc-schedule-table th {
  white-space: nowrap;
  font-weight: 600;
  color: var(--c-main-dark);
}
.pricing-total th,
.pricing-total td {
  background: var(--c-sub-bg);
  font-weight: 700;
  color: var(--c-main-dark);
  border-bottom: none;
}
.pricing-total td {
  font-size: 16px;
}
.pricing-philosophy {
  max-width: 720px;
  margin: 0 auto 28px;
  padding: 24px 28px;
  background: var(--c-bg-alt);
  border-left: 3px solid var(--c-main);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-card);
}
.pricing-philosophy-title {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .04em;
  color: var(--c-main-dark);
  margin: 0 0 8px;
}
.pricing-philosophy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.95;
  color: var(--c-text-mute);
}
.pricing-notes {
  display: grid;
  gap: 4px;
  max-width: 720px;
  margin: 0 auto 20px;
}
.pricing-notes li {
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--c-text-mute);
}
.pricing-notes li strong {
  font-weight: 700;
  color: var(--c-text);
}
.pricing-link {
  text-align: center;
  font-size: 13.5px;
  color: var(--c-text-mute);
  margin: 0;
}
.pricing-link a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--c-main);
}

@media (max-width: 767px) {
  .pricing-table-wrap {
    grid-template-columns: 1fr;
  }
}

/* ===================================================== */
/* 8. DOCTOR PROFILE                                      */
/* ===================================================== */
.doctor {
  padding: clamp(44px, 6vw, 64px) 0;
  background: var(--c-bg);
}
.doctor-inner {
  text-align: center;
}
.doctor-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
  margin: 0 0 32px;
  text-align: left;
}
.doctor-photo {
  margin: 0;
}
.doctor-photo img {
  /* 読み込み前から 723x800（画像実寸と同比率）で高さを確保する（CLS対策）。
     width/height 属性からも同じ比率が導かれるが、属性が失われた場合や
     他ルールで比率が上書きされた場合にも崩れないよう CSS でも明示する。
     比率は実寸と同一なので見た目は従来どおり変わらない。 */
  aspect-ratio: auto 723 / 800;
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--c-sub-bg);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}
.doctor-creds-wrap {
  background: var(--c-bg-alt);
  border: 1px solid var(--c-sub-bg);
  border-radius: 12px;
  padding: 28px 32px;
  box-shadow: var(--shadow-card);
}

@media (max-width: 767px) {
  .doctor-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .doctor-photo {
    max-width: 320px;
    margin: 0 auto;
  }
}
.doctor-creds {
  text-align: left;
  display: grid;
  gap: 8px;
}
.doctor-creds li {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--c-text);
  padding: 6px 0;
  border-bottom: 1px dashed var(--c-sub-bg);
}
.doctor-creds li:last-child { border-bottom: none; }
.doctor-creds li strong {
  color: var(--c-main-dark);
  font-weight: 700;
}
.doctor-message {
  font-family: var(--ff-serif);
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--c-text);
  margin: 0;
  letter-spacing: .04em;
}

/* ===================================================== */
/* 9. FLOW                                                */
/* ===================================================== */
.flow {
  padding: clamp(44px, 6vw, 64px) 0;
  background: linear-gradient(180deg, var(--c-bg-alt) 0%, var(--c-bg) 100%);
}
.flow-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 920px;
  margin: 0 auto;
}
.flow-step {
  position: relative;
  padding: 24px 24px 24px 76px;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-sub-bg);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}
.flow-num {
  position: absolute;
  top: 22px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--c-main);
  color: #fff;
  border-radius: 50%;
  font-family: var(--ff-en);
  font-style: italic;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .04em;
}
.flow-step-title {
  margin: 0 0 8px;
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .04em;
  color: var(--c-text);
  line-height: 1.55;
}
.flow-step-body {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--c-text-mute);
}
.flow-step-body strong {
  color: var(--c-text);
  font-weight: 700;
}
.flow-step-body a {
  color: var(--c-main);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 767px) {
  .flow-list {
    grid-template-columns: 1fr;
  }
  .flow-step {
    padding: 22px 22px 22px 68px;
  }
  .flow-num {
    top: 20px;
    left: 18px;
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
}

/* ===================================================== */
/* 10. ACCESS                                             */
/* ===================================================== */
.access {
  padding: clamp(44px, 6vw, 64px) 0;
  background: var(--c-bg-alt);
}
.access-lead {
  max-width: 720px;
  margin: 0 auto 36px;
  font-size: 14.5px;
  line-height: 2;
  color: var(--c-text-mute);
}
.access-lead strong {
  color: var(--c-text);
  font-weight: 700;
}
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.access-info {
  background: var(--c-bg);
  padding: 28px 28px;
  border-radius: 12px;
  border: 1px solid var(--c-sub-bg);
}
.access-name {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 18px;
  margin: 0 0 12px;
  color: var(--c-text);
  letter-spacing: .04em;
}
.access-address {
  font-size: 14px;
  line-height: 1.85;
  color: var(--c-text);
  margin: 0 0 16px;
}
.access-routes {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
}
.access-routes li {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--c-text-mute);
  padding-left: 14px;
  position: relative;
}
.access-routes li::before {
  content: "▶";
  position: absolute;
  left: 0;
  font-size: 9px;
  color: var(--c-main);
  top: 6px;
}
.access-routes li strong {
  color: var(--c-text);
  font-weight: 700;
}
.access-tel {
  margin: 0 0 18px;
  font-size: 16px;
  color: var(--c-text);
}
.access-tel a {
  font-family: var(--ff-en);
  font-size: 22px;
  font-weight: 500;
  color: var(--c-main);
  letter-spacing: .04em;
}
.access-hours {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  color: var(--c-text);
}
.access-hours th,
.access-hours td {
  text-align: left;
  vertical-align: top;
  padding: 6px 0;
  font-weight: normal;
  border-bottom: 1px dashed var(--c-sub-bg);
}
.access-hours th {
  width: 80px;
  font-weight: 600;
  color: var(--c-main-dark);
}
.access-map {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--c-sub-bg);
  min-height: 320px;
}

@media (max-width: 767px) {
  .access-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================================== */
/* 10.5 SECOND OPINION                                    */
/* ===================================================== */
.second-opinion {
  padding: clamp(44px, 6vw, 64px) 0;
  background: linear-gradient(180deg, #FFF8F2 0%, var(--c-accent-bg) 100%);
}
.so-card {
  background: var(--c-bg-alt);
  border: 1px solid var(--c-line);
  border-radius: 12px;
  padding: 32px 32px 36px;
  box-shadow: 0 6px 24px rgba(184, 92, 56, .12);
}
.so-photo {
  margin: -32px -32px 24px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  border-bottom: 1px solid var(--c-sub-bg);
}
.so-photo img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  object-position: center 55%;
}
.so-lead {
  font-size: 15px;
  line-height: 1.95;
  color: var(--c-text);
  margin: 0 0 24px;
  text-align: center;
}
.so-lead strong {
  font-weight: 700;
  color: var(--c-accent);
}
.so-detail {
  display: grid;
  gap: 0;
  margin: 0 0 28px;
}
.so-detail-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 12px 4px;
  border-bottom: 1px dashed var(--c-sub-bg);
}
.so-detail-row:last-child { border-bottom: none; }
.so-detail-row dt {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--c-main-dark);
  line-height: 1.7;
}
.so-detail-row dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--c-text-mute);
}
.so-detail-row dd strong {
  font-weight: 700;
  color: var(--c-text);
}
.so-cta {
  margin: 0;
  text-align: center;
}
.so-cta .btn-outline {
  border-color: var(--c-accent);
  color: var(--c-accent);
}
.so-cta .btn-outline:hover {
  background: var(--c-accent-bg);
}

@media (max-width: 600px) {
  .so-card {
    padding: 24px 20px 28px;
  }
  .so-photo {
    margin: -24px -20px 20px;
  }
  .so-detail-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* ===================================================== */
/* 11. FAQ                                                */
/* ===================================================== */
.faq {
  padding: clamp(44px, 6vw, 64px) 0;
  background: var(--c-bg);
}
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-item {
  background: var(--c-bg-alt);
  border: 1px solid var(--c-sub-bg);
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 15px 48px 15px 22px;
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 15px;
  color: var(--c-text);
  letter-spacing: .04em;
  position: relative;
  line-height: 1.55;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--ff-en);
  font-size: 22px;
  color: var(--c-main);
  transition: transform .2s ease;
  line-height: 1;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item p {
  margin: 0;
  padding: 0 22px 22px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--c-text-mute);
}
.faq-item p strong {
  color: var(--c-text);
  font-weight: 700;
}

/* ===================================================== */
/* 12. CTA                                                */
/* ===================================================== */
.cta {
  padding: clamp(44px, 6vw, 64px) 0;
  background: linear-gradient(180deg, var(--c-bg) 0%, #F1ECDF 100%);
  text-align: center;
}
.cta-lead {
  font-size: 15px;
  line-height: 1.95;
  color: var(--c-text-mute);
  margin: 0 auto 32px;
  max-width: 540px;
}
.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  margin: 0 0 24px;
}
.cta-note {
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--c-text-mute);
  margin: 0;
}

/* ===================================================== */
/* FLOATING CTA (mobile)                                  */
/* ===================================================== */
.floating-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 8px;
  gap: 8px;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-top: 1px solid var(--c-sub-bg);
  box-shadow: 0 -4px 12px rgba(45, 33, 16, .08);
}
.floating-cta a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  border-radius: 8px;
  font-family: var(--ff-sans);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .04em;
}
.floating-cta-line {
  background: var(--c-line-green);
  flex: 0 0 34%;
  font-size: 13px;
}
.floating-cta-line:hover { background: var(--c-line-green-dark); color: #fff; opacity: 1; }
.floating-cta-consult {
  background: linear-gradient(135deg, #B8944F 0%, var(--c-main) 55%, #7E6438 100%);
  box-shadow: 0 2px 10px rgba(153, 122, 69, .45);
  flex: 1 1 auto;
}
.floating-cta-consult:hover { background: var(--c-main-dark); color: #fff; opacity: 1; }
.floating-cta-consult .floating-cta-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.25;
}
.floating-cta-consult .floating-cta-label small {
  font-size: 10px;
  font-weight: 500;
  opacity: .92;
}

@media (max-width: 767px) {
  .floating-cta { display: flex; }
  body { padding-bottom: 70px; }
}

/* ===================================================== */
/* FOOTER                                                 */
/* ===================================================== */
.site-footer {
  background: var(--c-text);
  color: #DCD2BD;
  padding: 48px 0 20px;
  font-size: 13px;
  line-height: 1.85;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.6fr;
  gap: 36px;
  align-items: start;
}
.footer-name {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: .04em;
}
.footer-address {
  font-style: normal;
  margin: 0 0 12px;
  color: #C8B998;
  font-size: 12.5px;
  line-height: 1.85;
}
.footer-tel {
  margin: 0 0 8px;
  color: #DCD2BD;
}
.footer-tel a {
  color: #fff;
  font-family: var(--ff-en);
  font-size: 16px;
  letter-spacing: .04em;
}
.footer-line {
  margin: 0 0 12px;
  font-size: 13px;
}
.footer-line a {
  color: var(--c-line-green);
  text-decoration: underline;
  text-underline-offset: 3px;
  letter-spacing: .04em;
}
.footer-line a:hover {
  opacity: .85;
}
.footer-hours {
  margin: 0;
  font-size: 12px;
  color: #C8B998;
}
.footer-nav-title {
  font-family: var(--ff-en);
  font-style: italic;
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--c-line);
  margin: 0 0 12px;
}
.footer-nav ul { display: grid; gap: 8px; }
.footer-nav li a {
  color: #DCD2BD;
  font-size: 13px;
  letter-spacing: .04em;
  text-decoration: none;
  border-bottom: 1px dashed rgba(220, 210, 189, .3);
  padding-bottom: 4px;
  transition: color .2s ease, border-color .2s ease;
}
.footer-nav li a:hover {
  color: #fff;
  border-color: var(--c-line);
}
.footer-disclaimer {
  background: rgba(220, 210, 189, .06);
  padding: 16px 18px;
  border-radius: 8px;
  border-left: 2px solid var(--c-line);
}
.footer-disclaimer-title {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 12px;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: .06em;
}
.footer-disclaimer p {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.85;
  color: #C8B998;
}
.footer-disclaimer strong {
  color: #fff;
  font-weight: 700;
}

.footer-copy {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(220, 210, 189, .15);
  text-align: center;
  font-size: 11px;
  letter-spacing: .12em;
  color: #8A7C5E;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ===================================================== */
/* 3.7 PHENOTYPE MODIFICATION THERAPY                     */
/* ===================================================== */
.phenotype {
  padding: clamp(44px, 6vw, 64px) 0;
  background: linear-gradient(180deg, #2D2110 0%, #3A2C18 55%, #2D2110 100%);
  color: #F7F5F0;
}
.phenotype .section-title {
  color: #FFFFFF;
}
.phenotype-eyebrow {
  color: var(--c-line);
  letter-spacing: .16em;
  font-size: 15px;
}
.phenotype-lead {
  font-size: 15px;
  line-height: 2.0;
  color: rgba(247, 245, 240, .82);
  margin: 0 auto 40px;
  max-width: 760px;
}
.phenotype-lead strong {
  color: #E4D4B8;
  font-weight: 700;
}
.phenotype-visual {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto 14px;
}
.phenotype-ba,
.phenotype-single {
  margin: 0;
  background: rgba(247, 245, 240, .06);
  border: 1px solid rgba(200, 162, 126, .35);
  border-radius: 12px;
  padding: 14px;
}
.phenotype-ba .ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.phenotype-ba img,
.phenotype-single img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(200, 162, 126, .3);
}
.phenotype-ba figcaption,
.phenotype-single figcaption {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(247, 245, 240, .65);
  text-align: center;
  letter-spacing: .04em;
}
.phenotype-ba-note {
  font-size: 11.5px;
  line-height: 1.85;
  color: rgba(247, 245, 240, .55);
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}
.phenotype-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 0 40px;
}
.phenotype-point {
  background: rgba(247, 245, 240, .05);
  border: 1px solid rgba(200, 162, 126, .3);
  border-radius: 12px;
  padding: 28px 24px;
}
.phenotype-point-title {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 16.5px;
  line-height: 1.55;
  letter-spacing: .04em;
  color: #E4D4B8;
  margin: 0 0 12px;
}
.phenotype-point p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.9;
  color: rgba(247, 245, 240, .78);
}
.phenotype-point p strong {
  color: #FFFFFF;
  font-weight: 700;
}
.phenotype-closing {
  text-align: center;
  font-family: var(--ff-serif);
  font-size: clamp(16px, 2.6vw, 21px);
  line-height: 2.0;
  letter-spacing: .06em;
  color: #F7F5F0;
  margin: 0;
}
.phenotype-closing strong {
  color: var(--c-line);
  font-weight: 700;
}

@media (max-width: 900px) {
  .phenotype-points {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 767px) {
  .phenotype-visual {
    grid-template-columns: 1fr;
  }
}

/* ===================================================== */
/* 5.2 TOP-DOWN TREATMENT DESIGN                          */
/* ===================================================== */
.topdown {
  padding: clamp(44px, 6vw, 64px) 0;
  background: linear-gradient(180deg, var(--c-bg) 0%, #F1ECDF 100%);
}
.topdown-lead {
  font-size: 15px;
  line-height: 2.0;
  color: var(--c-text-mute);
  margin: 0 auto 44px;
  max-width: 760px;
}
.topdown-lead strong {
  font-weight: 700;
  color: var(--c-text);
}
/* ---- オービット総合治療図 ---- */
.orbit-wrap {
  --orbit-size: 520px;
  --orbit-r: 200px;
  margin: 0 auto 56px;
  text-align: center;
}
.orbit-title {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: clamp(18px, 2.6vw, 22px);
  letter-spacing: .05em;
  color: var(--c-text);
  margin: 0 0 8px;
}
.orbit-lead {
  font-size: 14px;
  color: var(--c-text-mute);
  margin: 0 0 8px;
}
.orbit {
  position: relative;
  width: var(--orbit-size);
  height: var(--orbit-size);
  margin: 0 auto;
}
.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(var(--orbit-r) * 2);
  height: calc(var(--orbit-r) * 2);
  margin: calc(var(--orbit-r) * -1) 0 0 calc(var(--orbit-r) * -1);
  border: 1px solid rgba(153, 122, 69, .35);
  border-radius: 50%;
}
.orbit-rotor {
  position: absolute;
  inset: 0;
  animation: orbit-spin 60s linear infinite;
  will-change: transform;
}
.orbit:hover .orbit-rotor,
.orbit:hover .orbit-node-inner {
  animation-play-state: paused;
}
@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes orbit-spin-rev {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}
.orbit-ray {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--orbit-r);
  height: 0;
  border-top: 1px dashed rgba(153, 122, 69, .45);
  transform-origin: left center;
  transform: rotate(var(--a));
}
.orbit-ray--solid {
  border-top: 2px solid var(--c-accent);
  opacity: .75;
}
.orbit-node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(var(--a)) translate(var(--orbit-r)) rotate(calc(-1 * var(--a)));
}
.orbit-node-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 6px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-card);
  animation: orbit-spin-rev 60s linear infinite;
  will-change: transform;
}
.orbit-node--accent .orbit-node-inner {
  background: linear-gradient(180deg, #FFF6F0 0%, var(--c-accent-bg) 100%);
  border: 2px solid var(--c-accent);
}
.orbit-node-ja {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.4;
}
.orbit-node--accent .orbit-node-ja {
  color: var(--c-accent);
}
.orbit-node-en {
  font-family: var(--ff-en);
  font-style: italic;
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--c-text-mute);
}
.orbit-node--accent .orbit-node-en {
  color: var(--c-accent);
  opacity: .8;
}
.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--c-main) 0%, var(--c-main-dark) 100%);
  box-shadow: 0 6px 24px rgba(126, 100, 56, .35);
  z-index: 2;
}
.orbit-center-ja {
  font-family: var(--ff-serif);
  font-size: 17px;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.45;
  letter-spacing: .06em;
}
.orbit-center-en {
  font-family: var(--ff-en);
  font-style: italic;
  font-size: 12px;
  color: var(--c-sub-bg);
  margin-top: 4px;
}
@media (max-width: 767px) {
  .orbit-wrap {
    --orbit-size: 300px;
    --orbit-r: 108px;
    margin-bottom: 44px;
  }
  .orbit-node-inner {
    width: 80px;
    height: 80px;
    padding: 0 4px;
  }
  .orbit-node-ja { font-size: 9.5px; }
  .orbit-node-en { font-size: 8px; }
  .orbit-center {
    width: 96px;
    height: 96px;
  }
  .orbit-center-ja { font-size: 12px; }
  .orbit-center-en { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .orbit-rotor,
  .orbit-node-inner {
    animation: none;
  }
}

.topdown-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0 0 44px;
  counter-reset: none;
}
.td-step {
  position: relative;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-sub-bg);
  border-radius: 12px;
  padding: 22px 18px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
/* ステップ間の矢印（PC: 右向き） */
.td-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -14px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 9px solid var(--c-line);
  z-index: 1;
}
.td-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--c-main);
  color: #fff;
  border-radius: 50%;
  font-family: var(--ff-en);
  font-style: italic;
  font-weight: 600;
  font-size: 15px;
  margin: 0 0 14px;
}
.td-step-visual {
  margin: 0 0 14px;
}
.td-step-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--c-sub-bg);
}
.td-mini-ba {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.td-mini-item {
  position: relative;
}
.td-mini-item img {
  aspect-ratio: 4 / 3;
}
.td-mini-item .ba-label {
  top: 6px;
  left: 6px;
  font-size: 10px;
  padding: 2px 8px;
}
/* STEP02: 3Dシミュレーションを想起させるCSSビジュアル */
.td-step-visual--sim {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  border: 1px solid var(--c-sub-bg);
  background:
    radial-gradient(circle at 50% 50%, rgba(153, 122, 69, .12), transparent 65%),
    linear-gradient(180deg, #FDFCF9 0%, #F1ECDF 100%);
  position: relative;
  overflow: hidden;
}
.td-sim {
  position: absolute;
  inset: 0;
}
.td-sim-axis {
  position: absolute;
  background: rgba(153, 122, 69, .35);
}
.td-sim-axis--v {
  left: 50%;
  top: 8%;
  bottom: 8%;
  width: 1px;
}
.td-sim-axis--h {
  top: 50%;
  left: 8%;
  right: 8%;
  height: 1px;
}
.td-sim-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 56%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%) scaleY(.55);
  border: 1px dashed rgba(153, 122, 69, .5);
  border-radius: 50%;
}
.td-sim-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translate(-50%, -50%);
  background: var(--c-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(184, 92, 56, .18);
}
.td-sim-label {
  position: absolute;
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--c-main-dark);
  background: rgba(255, 255, 255, .85);
  border: 1px solid var(--c-sub-bg);
  border-radius: 999px;
  padding: 2px 8px;
  line-height: 1.5;
  white-space: nowrap;
}
.td-sim-label--1 { top: 10%; left: 8%; }
.td-sim-label--2 { top: 10%; right: 8%; }
.td-sim-label--3 { bottom: 10%; left: 50%; transform: translateX(-50%); }
.td-step-title {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .04em;
  line-height: 1.55;
  color: var(--c-text);
  margin: 0 0 8px;
}
.td-step-body {
  margin: 0;
  font-size: 13px;
  line-height: 1.85;
  color: var(--c-text-mute);
}
.td-step-body strong {
  font-weight: 700;
  color: var(--c-text);
}
/* 総合治療ラウンドアップ */
.topdown-roundup {
  max-width: 720px;
  margin: 0 auto 40px;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-sub-bg);
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.topdown-roundup-title {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: .04em;
  color: var(--c-text);
  margin: 0 0 20px;
}
.topdown-roundup-media {
  max-width: 520px;
  margin: 0 auto 20px;
}
.topdown-morph {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  border: 1px solid var(--c-sub-bg);
  box-shadow: var(--shadow-soft);
}
.topdown-morph-caption {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: var(--c-text-mute);
  letter-spacing: .04em;
}
.topdown-roundup-body {
  font-size: 14px;
  line-height: 1.95;
  color: var(--c-text-mute);
  margin: 0 0 16px;
}
.topdown-roundup-note {
  font-size: 11.5px;
  line-height: 1.85;
  color: var(--c-text-mute);
  margin: 0;
  padding: 12px 16px;
  background: var(--c-bg);
  border-radius: 8px;
  border: 1px dashed var(--c-line);
  text-align: left;
}
.topdown-closing {
  text-align: center;
  font-family: var(--ff-serif);
  font-size: clamp(15px, 2.4vw, 19px);
  line-height: 2.0;
  letter-spacing: .04em;
  color: var(--c-text);
  margin: 0;
}
.topdown-closing strong {
  font-weight: 700;
  color: var(--c-main-dark);
}

@media (max-width: 900px) {
  .topdown-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .td-step:not(:last-child)::after { display: none; }
}
@media (max-width: 600px) {
  .topdown-steps {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }
  /* スマホ: 下向き矢印で流れを表現 */
  .td-step:not(:last-child)::after {
    display: block;
    top: auto;
    bottom: -14px;
    right: 50%;
    transform: translateX(50%);
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 9px solid var(--c-line);
    border-bottom: none;
  }
}

/* ===================================================== */
/* 5.7 HONEST VIEW（良い面と悪い面）                       */
/* ===================================================== */
.honest {
  padding: clamp(44px, 6vw, 64px) 0;
  background: var(--c-bg-alt);
}
.honest-lead {
  font-size: 15px;
  line-height: 1.95;
  color: var(--c-text-mute);
  margin: 0 auto 40px;
  max-width: 720px;
}
.honest-lead strong {
  font-weight: 700;
  color: var(--c-text);
}
.honest-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 920px;
  margin: 0 auto 44px;
}
.honest-col {
  border-radius: 12px;
  padding: 28px 26px;
  box-shadow: var(--shadow-card);
}
.honest-col--merit {
  background: var(--c-bg);
  border: 1px solid var(--c-sub-bg);
  border-top: 3px solid var(--c-main);
}
.honest-col--demerit {
  background: linear-gradient(180deg, #FFF8F2 0%, var(--c-accent-bg) 100%);
  border: 1px solid var(--c-line);
  border-top: 3px solid var(--c-accent);
}
.honest-col-title {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: .06em;
  margin: 0 0 16px;
  text-align: center;
}
.honest-col--merit .honest-col-title { color: var(--c-main-dark); }
.honest-col--demerit .honest-col-title { color: var(--c-accent); }
.honest-list {
  display: grid;
  gap: 10px;
}
.honest-list li {
  position: relative;
  padding: 10px 0 10px 26px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-text);
  border-bottom: 1px dashed var(--c-sub-bg);
}
.honest-list li:last-child { border-bottom: none; }
.honest-list li::before {
  position: absolute;
  left: 0;
  top: 10px;
  font-size: 13px;
  line-height: 1.8;
}
.honest-col--merit .honest-list li::before {
  content: "○";
  color: var(--c-main);
  font-weight: 700;
}
.honest-col--demerit .honest-list li::before {
  content: "△";
  color: var(--c-accent);
  font-weight: 700;
}
.honest-list li strong {
  font-weight: 700;
  color: var(--c-main-dark);
}
.honest-col--demerit .honest-list li strong {
  color: var(--c-accent);
}
/* 一発勝負 → 三重の担保 */
.honest-oneshot {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}
.honest-oneshot-title {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: clamp(17px, 2.6vw, 21px);
  letter-spacing: .04em;
  line-height: 1.7;
  color: var(--c-text);
  margin: 0 0 14px;
}
.honest-oneshot-body {
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--c-text-mute);
  margin: 0 0 28px;
}
.honest-oneshot-body strong {
  font-weight: 700;
  color: var(--c-main-dark);
}
/* 3つの盾（レイヤー図） */
.honest-shields {
  display: grid;
  gap: 0;
  max-width: 560px;
  margin: 0 auto;
}
.honest-shield {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
  text-align: left;
  border-radius: 12px;
  padding: 18px 22px;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-card);
}
.honest-shield--1 {
  background: var(--c-bg);
  width: 100%;
  z-index: 3;
}
.honest-shield--2 {
  background: #F5EFE3;
  width: 92%;
  margin: -6px auto 0;
  padding-top: 24px;
  z-index: 2;
}
.honest-shield--3 {
  background: var(--c-sub-bg);
  width: 84%;
  margin: -6px auto 0;
  padding-top: 24px;
  z-index: 1;
}
.honest-shield-num {
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--c-main);
  color: #fff;
  border-radius: 50%;
  font-family: var(--ff-en);
  font-style: italic;
  font-weight: 600;
  font-size: 17px;
}
.honest-shield-label {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: .04em;
  color: var(--c-text);
  line-height: 1.5;
}
.honest-shield-desc {
  font-size: 12px;
  color: var(--c-text-mute);
  line-height: 1.6;
}
/* 避けた方が良いケース */
.honest-avoid {
  max-width: 760px;
  margin: 0 auto;
  background: var(--c-bg);
  border: 1px solid var(--c-sub-bg);
  border-left: 3px solid var(--c-accent);
  border-radius: 0 12px 12px 0;
  padding: 28px 30px;
}
.honest-avoid-title {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: .04em;
  line-height: 1.6;
  color: var(--c-text);
  margin: 0 0 16px;
}
.honest-avoid-list {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
}
.honest-avoid-list li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--c-text-mute);
}
.honest-avoid-list li::before {
  content: "・";
  position: absolute;
  left: 2px;
  color: var(--c-accent);
  font-weight: 700;
}
.honest-avoid-list li strong {
  font-weight: 700;
  color: var(--c-text);
}
.honest-avoid-closing {
  margin: 0;
  font-size: 14px;
  line-height: 1.95;
  color: var(--c-text);
  padding-top: 16px;
  border-top: 1px dashed var(--c-sub-bg);
}
.honest-avoid-closing strong {
  font-weight: 700;
  color: var(--c-main-dark);
}

@media (max-width: 767px) {
  .honest-compare {
    grid-template-columns: 1fr;
  }
  .honest-shield--2 { width: 95%; }
  .honest-shield--3 { width: 90%; }
  .honest-avoid { padding: 24px 20px; }
}

/* ===================================================== */
/* SCROLL REVEAL / COUNT-UP                               */
/* ===================================================== */
/* JS有効時のみ非表示から開始（JS無効環境では常に表示＝CLSなし） */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
.countup {
  font-variant-numeric: tabular-nums;
}

/* ヒーローのテキストフェードイン（スマホ含む・CSSのみ） */
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.hero-badge-row,
.hero-eyebrow,
.hero-title,
.hero-sub,
.hero-ctas,
.hero-note {
  animation: hero-fade-up .8s cubic-bezier(.22, .61, .36, 1) both;
}
.hero-eyebrow { animation-delay: .1s; }
.hero-title   { animation-delay: .2s; }
.hero-sub     { animation-delay: .35s; }
.hero-ctas    { animation-delay: .5s; }
.hero-note    { animation-delay: .62s; }

/* ===================================================== */
/* FOCUS / MOTION                                         */
/* ===================================================== */
:focus-visible {
  outline: 2px solid var(--c-main);
  outline-offset: 3px;
  border-radius: 2px;
}
.btn:focus-visible {
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* ===================================================== */
/* VISUAL POLISH 2026-08: 総仕上げ                        */
/* ===================================================== */

/* ---- セクションタイトルの繊細な罫線オーナメント ---- */
.section-title.center::after {
  content: "";
  display: block;
  width: 52px;
  height: 1px;
  margin: 18px auto 0;
  background: linear-gradient(90deg, transparent, var(--c-main) 30%, var(--c-main) 70%, transparent);
}

/* ---- キャプション様式の統一（小さな金の罫線） ---- */
.case-revision-item figcaption::before,
.case-revision-sub figcaption::before,
.diagnosis-photo figcaption::before,
.ba-card figcaption::before,
.phenotype-ba figcaption::before,
.phenotype-single figcaption::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 1px;
  background: var(--c-line);
  vertical-align: middle;
  margin-right: 8px;
}

/* ---- Before/After ペアの矢印様式統一 ---- */
.ba-pair {
  position: relative;
}
.ba-pair::after {
  content: "\2192";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--c-main);
  color: #fff;
  font-family: var(--ff-en);
  font-size: 14px;
  line-height: 26px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(45, 33, 16, .3);
  pointer-events: none;
  z-index: 2;
}
/* 縦積みX線ペア（case-revision）は下向き矢印 */
.case-revision-item + .case-revision-item {
  position: relative;
}
.case-revision-item + .case-revision-item::before {
  content: "\2193";
  position: absolute;
  top: -23px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--c-main);
  color: #fff;
  font-family: var(--ff-en);
  font-size: 14px;
  line-height: 26px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(45, 33, 16, .3);
  z-index: 2;
}

/* ---- HERO スクロール誘導 ---- */
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}
.hero-scroll-label {
  font-family: var(--ff-en);
  font-style: italic;
  font-size: 11px;
  letter-spacing: .3em;
  color: rgba(247, 245, 240, .7);
}
.hero-scroll-line {
  position: relative;
  width: 1px;
  height: 42px;
  background: rgba(247, 245, 240, .25);
  overflow: hidden;
}
.hero-scroll-line::after {
  content: "";
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--c-line);
  animation: scroll-drop 2.2s cubic-bezier(.4, 0, .2, 1) infinite;
}
@keyframes scroll-drop {
  0%   { top: -40%; }
  70%  { top: 100%; }
  100% { top: 100%; }
}

/* ---- 診断哲学: アイコンカード ---- */
.diagnosis-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}
.diagnosis-card {
  background: var(--c-bg-alt);
  border: 1px solid var(--c-sub-bg);
  border-radius: 12px;
  padding: 26px 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.diagnosis-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(153, 122, 69, .09);
  border: 1px solid rgba(153, 122, 69, .22);
  color: var(--c-main);
  margin: 0 0 14px;
}
.diagnosis-card-icon svg {
  width: 32px;
  height: 32px;
}
.diagnosis-card-title {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: .04em;
  color: var(--c-text);
  margin: 0 0 10px;
  line-height: 1.55;
}
.diagnosis-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.85;
  color: var(--c-text-mute);
  text-align: left;
}
.diagnosis-card p strong {
  font-weight: 700;
  color: var(--c-main-dark);
}
@media (max-width: 767px) {
  .diagnosis-cards {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
}

/* ---- 他院修正症例: サブ症例（上顎・口腔内） ---- */
.case-revision-sub {
  max-width: 720px;
  margin: 0 auto 24px;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-sub-bg);
  border-radius: 12px;
  padding: 14px;
  box-shadow: var(--shadow-card);
}
.case-revision-sub .ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.case-revision-sub img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--c-sub-bg);
}
.case-revision-sub figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--c-text-mute);
  text-align: center;
  letter-spacing: .03em;
}

/* ---- 清掃性: 磨ける形 vs 磨きにくい形 ---- */
.cleanability {
  max-width: 920px;
  margin: 0 auto 40px;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-sub-bg);
  border-radius: 12px;
  padding: 32px 28px 24px;
  box-shadow: var(--shadow-card);
}
.cleanability-title {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: .04em;
  color: var(--c-text);
  text-align: center;
  margin: 0 0 24px;
}
.cleanability-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 0 0 14px;
}
.clean-panel {
  border-radius: 12px;
  border: 1px solid var(--c-sub-bg);
  padding: 18px 18px 16px;
  text-align: center;
}
.clean-panel--good {
  background: var(--c-bg);
  border-top: 3px solid var(--c-main);
}
.clean-panel--bad {
  background: linear-gradient(180deg, #FFF8F2 0%, var(--c-accent-bg) 100%);
  border-color: var(--c-line);
  border-top: 3px solid var(--c-accent);
}
.clean-panel-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
  border-radius: 999px;
  padding: 4px 16px;
  margin: 0 0 14px;
}
.clean-panel-tag--good {
  color: var(--c-main-dark);
  border: 1px solid var(--c-main);
  background: #fff;
}
.clean-panel-tag--bad {
  color: var(--c-accent);
  border: 1px solid var(--c-accent);
  background: #fff;
}
.clean-img {
  display: block;
  width: 100%;
  max-width: 250px;
  height: auto;
  margin: 0 auto 14px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid var(--c-sub-bg);
  box-shadow: 0 2px 10px rgba(45, 33, 16, 0.05);
}
.clean-panel-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.85;
  color: var(--c-text-mute);
  text-align: left;
}
.clean-panel-desc strong {
  font-weight: 700;
  color: var(--c-text);
}
.clean-panel--bad .clean-panel-desc strong {
  color: var(--c-accent);
}
.cleanability-note {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--c-text-mute);
  text-align: center;
}
@media (max-width: 767px) {
  .cleanability { padding: 24px 18px 20px; }
  .cleanability-panels { grid-template-columns: 1fr; }
}

/* ---- 永続性タイムライン（ダーク帯） ---- */
.timeline {
  padding: clamp(44px, 6vw, 64px) 0;
  background: linear-gradient(180deg, #2D2110 0%, #3A2C18 55%, #2D2110 100%);
  color: #F7F5F0;
}
.timeline .section-title { color: #FFFFFF; }
.timeline-eyebrow {
  color: var(--c-line);
  letter-spacing: .16em;
  font-size: 15px;
}
.timeline-lead {
  font-size: 15px;
  line-height: 2.0;
  color: rgba(247, 245, 240, .82);
  margin: 0 auto 52px;
  max-width: 760px;
}
.timeline-lead strong {
  color: #E4D4B8;
  font-weight: 700;
}
.timeline-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
  padding-top: 30px;
  margin: 0 0 28px;
  counter-reset: none;
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 4%;
  right: 4%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 162, 126, .75) 12%, rgba(200, 162, 126, .75) 88%, transparent);
}
.timeline-item {
  position: relative;
  background: rgba(247, 245, 240, .05);
  border: 1px solid rgba(200, 162, 126, .3);
  border-radius: 12px;
  padding: 16px 14px 18px;
  display: flex;
  flex-direction: column;
}
.timeline-item--forever {
  background: linear-gradient(180deg, rgba(200, 162, 126, .18) 0%, rgba(200, 162, 126, .07) 100%);
  border-color: rgba(200, 162, 126, .65);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .28);
}
.timeline-dot {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--c-line);
  box-shadow: 0 0 0 4px rgba(200, 162, 126, .22);
}
.timeline-item--forever .timeline-dot {
  width: 15px;
  height: 15px;
  top: -27px;
  background: #E4D4B8;
  box-shadow: 0 0 0 5px rgba(228, 212, 184, .28);
}
.timeline-phase {
  font-family: var(--ff-en);
  font-style: italic;
  font-size: 12.5px;
  letter-spacing: .12em;
  color: var(--c-line);
  margin: 0 0 10px;
  line-height: 1.5;
}
.timeline-item--forever .timeline-phase {
  color: #E4D4B8;
}
.timeline-photo {
  margin: 0 0 12px;
}
.timeline-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(200, 162, 126, .35);
}
.timeline-item-title {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: .04em;
  line-height: 1.5;
  color: #E4D4B8;
  margin: 0 0 8px;
}
.timeline-item--forever .timeline-item-title {
  color: #FFFFFF;
}
.timeline-item-body {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(247, 245, 240, .78);
}
.timeline-item-body strong {
  color: #FFFFFF;
  font-weight: 700;
}
.timeline-note {
  font-size: 11.5px;
  line-height: 1.85;
  color: rgba(247, 245, 240, .55);
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .timeline-track {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 0;
    padding-left: 26px;
    gap: 20px;
  }
  .timeline-track::before {
    top: 24px;
    bottom: 24px;
    left: 5px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, rgba(200, 162, 126, .75) 8%, rgba(200, 162, 126, .75) 92%, transparent);
  }
  .timeline-dot {
    top: 24px;
    left: -26px;
    transform: translateX(-50%);
  }
  .timeline-item--forever .timeline-dot {
    top: 22px;
    left: -26px;
  }
}

/* ---- 三重の担保: シールド強化 ---- */
.honest-shield-num {
  border-radius: 50% 50% 50% 50% / 42% 42% 58% 58%;
  background: linear-gradient(180deg, var(--c-main) 0%, var(--c-main-dark) 100%);
  box-shadow: 0 3px 10px rgba(45, 33, 16, .28);
}
.honest-shield:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: -11px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 11px;
  height: 11px;
  border-right: 1px solid var(--c-main);
  border-bottom: 1px solid var(--c-main);
  z-index: 4;
}

/* ===================================================== */
/* QUICK NAV CHIPS（FV直下・悩み別ジャンプ）              */
/* ===================================================== */
.quick-chips {
  background: var(--c-sub-bg, #F3EDE2);
  padding: 14px 0;
  border-bottom: 1px solid rgba(153, 122, 69, .18);
}
.quick-chips-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
}
.quick-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--c-main);
  background: #fff;
  color: var(--c-main-dark);
  font-family: var(--ff-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.3;
  white-space: nowrap;
}
.quick-chip::after {
  content: "\2193";
  font-size: 11px;
  opacity: .7;
}
.quick-chip:hover {
  background: var(--c-main);
  color: #fff;
  opacity: 1;
}
@media (max-width: 767px) {
  .quick-chips-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .quick-chip {
    justify-content: center;
    padding: 10px 8px;
    font-size: 12px;
    white-space: normal;
    text-align: center;
  }
}

/* ===================================================== */
/* INLINE CTA（セクション間の軽量CTA）                    */
/* ===================================================== */
.inline-cta {
  background: linear-gradient(180deg, #FBF8F2 0%, #F3EDE2 100%);
  border-top: 1px solid rgba(153, 122, 69, .16);
  border-bottom: 1px solid rgba(153, 122, 69, .16);
  padding: 28px 0;
}
.inline-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.inline-cta-copy {
  margin: 0;
  font-family: var(--ff-serif);
  font-size: clamp(15px, 2.2vw, 18px);
  font-weight: 600;
  color: var(--c-text);
  line-height: 1.7;
}
.inline-cta-btn {
  flex-direction: column;
  gap: 2px;
  padding: 14px 34px;
  font-size: 15px;
  font-weight: 700;
  background: linear-gradient(135deg, #B8944F 0%, var(--c-main) 55%, #7E6438 100%);
  box-shadow: 0 4px 14px rgba(153, 122, 69, .3);
}
.inline-cta-btn small {
  font-size: 11.5px;
  font-weight: 500;
  opacity: .92;
}
.inline-cta-btn:hover {
  background: var(--c-main-dark);
  transform: translateY(-1px);
}

/* ===================================================== */
/* SECOND OPINION 拡充（60分の内容・不勧誘・費用境界）    */
/* ===================================================== */
.so-agenda {
  margin: 22px 0 0;
  padding: 20px 22px;
  background: #FBF8F2;
  border: 1px solid rgba(153, 122, 69, .22);
  border-radius: 10px;
}
.so-agenda-title {
  margin: 0 0 10px;
  font-family: var(--ff-serif);
  font-size: 16px;
  color: var(--c-main-dark);
}
.so-agenda-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}
.so-agenda-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.8;
}
.so-agenda-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .72em;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--c-main);
  border-bottom: 2px solid var(--c-main);
  transform: rotate(-45deg);
}
.so-agenda-note {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--c-text-mute);
}
.so-promise {
  margin: 16px 0 0;
  padding: 16px 20px;
  border: 2px solid var(--c-main);
  border-radius: 10px;
  background: #fff;
  text-align: center;
}
.so-promise p {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-main-dark);
  line-height: 1.9;
}
.so-fee-table-wrap {
  margin: 16px 0 0;
  overflow-x: auto;
}
.so-fee-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: #fff;
  border: 1px solid rgba(153, 122, 69, .25);
  border-radius: 8px;
  overflow: hidden;
}
.so-fee-table caption {
  caption-side: top;
  text-align: left;
  font-size: 12px;
  color: var(--c-text-mute);
  padding: 0 0 6px;
}
.so-fee-table th,
.so-fee-table td {
  padding: 12px 14px;
  border-top: 1px solid rgba(153, 122, 69, .18);
  text-align: left;
  vertical-align: middle;
  line-height: 1.6;
}
.so-fee-table tr:first-child th,
.so-fee-table tr:first-child td { border-top: none; }
.so-fee-table th {
  font-weight: 600;
  width: 62%;
  background: #FBF8F2;
}
.so-fee-table th small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--c-text-mute);
}
.so-fee-table td {
  font-weight: 700;
  color: var(--c-main-dark);
  white-space: nowrap;
}

/* ===================================================== */
/* 症例写真の限定解除（治療内容・費用・期間・リスク併記） */
/* ===================================================== */
.ba-case-detail {
  margin-top: 12px;
  padding: 14px 16px;
  background: #FBF8F2;
  border: 1px solid rgba(153, 122, 69, .2);
  border-radius: 8px;
  text-align: left;
}
.ba-case-detail dl {
  margin: 0;
  display: grid;
  gap: 8px;
}
.ba-case-detail dl > div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 8px;
}
.ba-case-detail dt {
  font-size: 12px;
  font-weight: 700;
  color: var(--c-main-dark);
  line-height: 1.7;
}
.ba-case-detail dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--c-text);
}
@media (max-width: 480px) {
  .ba-case-detail dl > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* ===================================================== */
/* PHENOTYPE BA：スマホは縦並び大きめ                     */
/* ===================================================== */
@media (max-width: 767px) {
  .phenotype-ba .ba-pair {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .phenotype-ba .ba-pair::after {
    transform: translate(-50%, -50%) rotate(90deg);
  }
  .phenotype-ba img {
    aspect-ratio: auto;
  }
}

/* ---------- Doctor video (YouTube) ---------- */
.doctor-video {
  margin-top: 44px;
}
.doctor-video-title {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 20px;
  color: #997A45;
  text-align: center;
  margin: 0 0 18px;
}
.doctor-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 720px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(45, 33, 16, 0.16);
  background: #2D2110;
}
.doctor-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.doctor-video-note {
  font-size: 13px;
  color: #6c5b3d;
  text-align: center;
  margin-top: 12px;
  line-height: 1.7;
}
@media (max-width: 600px) {
  .doctor-video { margin-top: 32px; }
  .doctor-video-title { font-size: 17px; }
}

/* ===================================================== */
/* 歯肉退縮・根面被覆LP 追加スタイル                       */
/*  ※ デザイントークンは一切変更していません。              */
/*    既存コンポーネントの再利用で足りない部分だけを追加。   */
/* ===================================================== */

/* --- セクション背景（既存の交互パターンに合わせる） --- */
.rc-about,
.rc-causes,
.rc-classification,
.rc-treatment,
.rc-whyus,
.rc-cases,
.rc-risks {
  padding: clamp(44px, 6vw, 64px) 0;
}
.rc-about        { background: var(--c-bg); }
.rc-causes       { background: linear-gradient(180deg, var(--c-bg) 0%, #F1ECDF 100%); }
.rc-classification { background: var(--c-bg-alt); }
.rc-treatment    { background: var(--c-bg); }
.rc-whyus        { background: linear-gradient(180deg, var(--c-bg) 0%, #F1ECDF 100%); }
.rc-cases        { background: var(--c-bg-alt); }
.rc-risks        { background: var(--c-bg-alt); }

/* --- 締めの一文（.longevity-closing に上下余白を足す） --- */
.rc-closing {
  margin: 30px auto 0;
  max-width: 820px;
}

/* --- セクション内の小見出し --- */
.rc-subhead {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: clamp(17px, 2.4vw, 20px);
  letter-spacing: .06em;
  color: var(--c-text);
  text-align: center;
  margin: 48px 0 24px;
}

/* --- 長めの注記（.treatments-note の余白違い） --- */
.rc-note-lg {
  margin-top: 32px;
  font-size: 13.5px;
}

/* --- 「放置するとどうなるか」4カード（2×2） --- */
.rc-about .case-grid {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.rc-about .case-card {
  background: var(--c-bg-alt);
}
.rc-card-num {
  display: inline-block;
  font-family: var(--ff-en);
  font-style: italic;
  font-weight: 600;
  font-size: 20px;
  color: var(--c-main);
  margin-right: 10px;
  letter-spacing: .04em;
}

/* --- Cairo分類 RT1/RT2/RT3 カード --- */
.rt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 0 40px;
}
.rt-card {
  background: var(--c-bg);
  border: 1px solid var(--c-sub-bg);
  border-top: 3px solid var(--c-line);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}
.rt-card--1 { border-top-color: var(--c-main); }
.rt-card--2 { border-top-color: var(--c-line); }
.rt-card--3 { border-top-color: var(--c-accent); background: linear-gradient(180deg, #FFF8F2 0%, var(--c-accent-bg) 100%); }
.rt-card-tag {
  font-family: var(--ff-en);
  font-style: italic;
  font-weight: 600;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: .04em;
  color: var(--c-main);
  margin: 0 0 12px;
}
.rt-card--3 .rt-card-tag { color: var(--c-accent); }
.rt-card-tag span {
  display: block;
  font-family: var(--ff-sans);
  font-style: normal;
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--c-text-mute);
  margin-top: 4px;
}
.rt-card-title {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1.6;
  letter-spacing: .04em;
  color: var(--c-text);
  margin: 0 0 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--c-sub-bg);
}
.rt-card-body {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--c-text-mute);
}
.rt-card-body strong {
  font-weight: 700;
  color: var(--c-text);
}

/* --- 分類と治療目標の表 --- */
.rc-table-wrap {
  max-width: 920px;
  margin: 0 auto 24px;
  overflow-x: auto;
}
.rt-table {
  width: 100%;
  min-width: 520px;
}
.rt-table thead th {
  background: var(--c-main);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .06em;
  text-align: left;
  padding: 12px 16px;
}
.rt-table tbody th {
  font-family: var(--ff-en);
  font-style: italic;
  font-weight: 600;
  font-size: 16px;
  color: var(--c-main);
  white-space: nowrap;
}

/* --- 費用の全体像テーブル --- */
.rc-total-wrap {
  max-width: 720px;
  margin: 0 auto 36px;
}
.rc-total-table {
  width: 100%;
}
.rc-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--c-main);
  color: #fff;
  font-family: var(--ff-en);
  font-style: italic;
  font-size: 12px;
  line-height: 1;
  margin-right: 10px;
  vertical-align: 1px;
}
.rc-total-note {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.8;
  color: var(--c-text-mute);
  text-align: center;
}

/* --- 症例セクション（既定は非公開・コメントアウト） --- */
.rc-case-list {
  display: grid;
  gap: 40px;
  max-width: 920px;
  margin: 0 auto;
}
.rc-case {
  background: var(--c-bg);
  border: 1px solid var(--c-sub-bg);
  border-radius: 12px;
  padding: 20px 20px 18px;
  box-shadow: var(--shadow-card);
  margin: 0;
}
.rc-case .ba-item img {
  aspect-ratio: 3 / 2;
}
.rc-case figcaption {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--c-text);
}
.rc-case-note {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--c-sub-bg);
  font-size: 11.5px;
  line-height: 1.85;
  color: var(--c-text-mute);
}

/* --- 責任表記の余白調整 --- */
.rc-risks .honest-lead {
  margin-bottom: 40px;
}

@media (max-width: 900px) {
  .rt-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 767px) {
  .rc-about .case-grid { grid-template-columns: 1fr; max-width: 440px; }
  .rc-subhead { margin-top: 36px; }
  .rc-case { padding: 14px 14px 14px; }
}

/* --- RT分類表：長文セルを折り返す（.pricing-table の nowrap を打ち消す） --- */
.rt-table td {
  white-space: normal;
  text-align: left;
}
.rt-table th[scope="row"] {
  width: 4.5em;
}
@media (max-width: 767px) {
  .rt-table { min-width: 0; font-size: 12.5px; }
  .rt-table th, .rt-table td { padding: 10px 10px; }
  .rt-table thead th { font-size: 12px; padding: 10px; }
  .rt-table th[scope="row"] { width: 3.4em; font-size: 14px; }
  .rc-total-table th, .rc-total-table td { padding: 12px 10px; }
}

/* --- 料金表：説明文の <small> を改行して読みやすくする --- */
.pricing-table th small,
.rc-total-table th small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.75;
  color: var(--c-text-mute);
}
.pricing-table td small {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--c-text-mute);
  white-space: nowrap;
}
.pricing-table--options th small strong {
  display: inline-block;
  font-weight: 700;
  color: var(--c-main-dark);
  margin-bottom: 2px;
}

/* --- リスクセクション：○／△ の記号はここでは誤解を招くため中黒に統一 --- */
.rc-risks .honest-col--merit .honest-list li::before,
.rc-risks .honest-col--demerit .honest-list li::before {
  content: "・";
}
/* ヒーローの主CTAはインラインCTAと同じゴールドグラデにして電話ボタンと差をつける */
.hero-ctas .btn-primary {
  background: linear-gradient(135deg, #B8944F 0%, var(--c-main) 55%, #7E6438 100%);
  box-shadow: 0 2px 12px rgba(153, 122, 69, .45);
}

/* --- 料金表：スマホでは見出しと金額を縦積みにする（値が長いため） --- */
@media (max-width: 600px) {
  .pricing-table tbody tr {
    display: block;
    padding: 12px 14px;
    border-bottom: 1px dashed var(--c-sub-bg);
  }
  .pricing-table tbody tr:last-child { border-bottom: none; }
  .pricing-table th,
  .pricing-table td {
    display: block;
    padding: 0;
    border-bottom: none;
  }
  .pricing-table td {
    margin-top: 8px;
    text-align: right;
    white-space: normal;
    font-weight: 700;
    color: var(--c-main-dark);
  }
  .pricing-table td small {
    white-space: normal;
    font-weight: normal;
  }
  .pricing-table th small { margin-top: 4px; }
}
@media (max-width: 600px) {
  /* 合計行はセル単位ではなく行全体を塗る（縦積み時の白い隙間対策） */
  .pricing-table tbody tr.pricing-total { background: var(--c-sub-bg); }
}

/* ===================================================== */
/* FINAL FIX 1: ※注記のぶら下げインデント                  */
/*  「※ 」の実測幅 = 1.5em。2行目以降を本文先頭に揃える    */
/* ===================================================== */
.pricing-notes li,
.rc-case-note li {
  padding-left: 1.5em;
  text-indent: -1.5em;
}
/* .nb 等の inline-block は text-indent を継承してしまうため打ち消す */
.pricing-notes li *,
.rc-case-note li * {
  text-indent: 0;
}

/* ===================================================== */
/* FINAL FIX 2: SPでヒーロー下部の Scroll がアクセス文に重なる */
/*  インジケータは残し、ヒーロー下余白を確保して回避        */
/* ===================================================== */
@media (max-width: 767px) {
  .hero { padding-bottom: 104px; }
  .hero-scroll { bottom: 16px; }
  .hero-scroll-line { height: 34px; }
}

/* ===================================================== */
/* 削減版 追加スタイル（2026-08-11）                       */
/*  文字量削減にともなう新規コンポーネント。               */
/*  デザイントークンは一切変更していません。               */
/* ===================================================== */

/* --- 見出しだけのチップ列（rc-about の解説カード置き換え） --- */
.rc-chip-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 820px;
  margin: 32px auto 0;
}
.rc-chip-list li {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-sub-bg);
  border-left: 3px solid var(--c-main);
  border-radius: 6px;
  padding: 12px 16px;
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1.6;
  letter-spacing: .03em;
  color: var(--c-text);
  box-shadow: var(--shadow-card);
}
.rc-chip-list .rc-card-num {
  font-size: 17px;
  margin-right: 8px;
  flex: none;
}
/* テキストは必ずひとつの流し込みにする（.nb が別の flex 子になると
   1行が不自然な2カラムに割れるため） */
.rc-chip-text { flex: 1 1 auto; min-width: 0; }
@media (max-width: 767px) {
  .rc-chip-list { grid-template-columns: 1fr; max-width: 440px; gap: 10px; }
  .rc-chip-list li { font-size: 14px; padding: 11px 14px; }
}

/* --- 汎用アコーディオン（原因の続き／手術の流れ／慎重な検討） --- */
.rc-details {
  max-width: 920px;
  margin: 32px auto 0;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-sub-bg);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.rc-details > summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 16px 52px 16px 22px;
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1.6;
  letter-spacing: .04em;
  color: var(--c-text);
}
.rc-details > summary::-webkit-details-marker { display: none; }
.rc-details > summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--ff-en);
  font-size: 22px;
  line-height: 1;
  color: var(--c-main);
}
.rc-details[open] > summary::after { content: "−"; }
.rc-details > summary:hover { background: rgba(153, 122, 69, .05); }
.rc-details-body {
  padding: 4px 22px 24px;
  border-top: 1px solid var(--c-sub-bg);
}
.rc-details-body .flow-list { margin-top: 20px; }
.rc-details-body .honest-avoid-list {
  margin-top: 18px;
  display: grid;
  gap: 12px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--c-text-mute);
}
.rc-details-body .honest-avoid-list strong { color: var(--c-text); }
.rc-details-body .honest-avoid-closing {
  margin: 20px 0 0;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--c-text-mute);
}
@media (max-width: 767px) {
  .rc-details > summary { padding: 14px 44px 14px 16px; font-size: 13.5px; }
  .rc-details > summary::after { right: 16px; }
  .rc-details-body { padding: 4px 16px 20px; }
}

/* --- 動画セクション（既定は非公開・コメントアウト） --- */
.rc-videos {
  padding: clamp(44px, 6vw, 64px) 0;
  background: var(--c-bg-alt);
}
/* 動画4本。3列だと最終行が1枚だけ残るため 2列×2段で組む */
.rc-video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  /* カード高さを段ごとに揃える */
  align-items: stretch;
  max-width: 940px;
  margin: 40px auto 0;
}
.rc-video {
  margin: 0;
  background: var(--c-bg);
  border: 1px solid var(--c-sub-bg);
  border-radius: 12px;
  padding: 14px 14px 12px;
  box-shadow: var(--shadow-card);
  /* stretch した高さを内部で配分する */
  display: flex;
  flex-direction: column;
}

/* ポスター表示領域は3枚とも 16:9 で統一し、比率の違う動画は
   contain で全体を見せる（上下に余白が入るのは許容） */
.rc-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  border: 1px solid var(--c-sub-bg);
  background: #1A130B;
  overflow: hidden;
}
.rc-video-player {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 0;
}

/* --- 再生ボタン（ブラウザ標準コントロールの代替オーバーレイ） --- */
.rc-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(180deg, rgba(26, 19, 11, .08) 0%, rgba(26, 19, 11, .30) 100%);
  cursor: pointer;
  opacity: 1;
  visibility: visible;
  transition: opacity .3s ease, visibility .3s ease, background .3s ease, bottom .3s ease;
}
.rc-video-play-ring {
  position: relative;
  display: block;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #BFA271 0%, var(--c-main) 58%, var(--c-main-dark) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .60),
    0 0 0 9px rgba(255, 255, 255, .14),
    0 10px 26px rgba(26, 19, 11, .38);
  transition: transform .35s cubic-bezier(.2, .7, .3, 1), box-shadow .35s ease;
}
.rc-video-play-ring::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-42%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 19px;
  border-color: transparent transparent transparent #fff;
}
.rc-video-play:hover,
.rc-video-play:focus-visible {
  background: linear-gradient(180deg, rgba(26, 19, 11, .04) 0%, rgba(26, 19, 11, .24) 100%);
}
.rc-video-play:hover .rc-video-play-ring,
.rc-video-play:focus-visible .rc-video-play-ring {
  transform: scale(1.07);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .78),
    0 0 0 11px rgba(255, 255, 255, .18),
    0 14px 32px rgba(26, 19, 11, .42);
}
.rc-video-play:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -5px;
}
.rc-video-play:active .rc-video-play-ring { transform: scale(1.02); }

/* 再生中はオーバーレイを隠す */
.rc-video-frame.is-playing .rc-video-play {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
/* 一度再生した後の一時停止時は、標準コントロールを操作できるよう
   下端 52px を空けてオーバーレイを再表示する */
.rc-video-frame.has-played .rc-video-play { bottom: 52px; }

@media (prefers-reduced-motion: reduce) {
  .rc-video-play,
  .rc-video-play-ring { transition: none; }
  .rc-video-play:hover .rc-video-play-ring,
  .rc-video-play:focus-visible .rc-video-play-ring { transform: none; }
}

.rc-video figcaption {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--c-text);
}
/* 併記テキストはアコーディオンに入れず常時表示 */
.rc-video .rc-case-note {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--c-sub-bg);
  font-size: 11px;
  line-height: 1.8;
  color: var(--c-text-mute);
}
/* 複数カラム時はキャプション高を揃え、※併記の開始位置を横並びのカードで一致させる */
@media (min-width: 901px) {
  .rc-video figcaption { min-height: calc(13px * 1.85 * 2); }
}
@media (max-width: 900px) {
  .rc-video-grid { grid-template-columns: 1fr; max-width: 560px; gap: 24px; }
}
@media (max-width: 767px) {
  .rc-video-play-ring { width: 62px; height: 62px; }
  .rc-video-play-ring::after { border-width: 9px 0 9px 16px; }
  .rc-video-frame.has-played .rc-video-play { bottom: 44px; }
}

/* --- 本文中の自動再生動画（#about 末尾／術前→術後のみ・出血なし） --- */
.rc-inline-video {
  max-width: 720px;
  margin: 40px auto 0;
}
.rc-inline-video-player {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #1A130B;
  border-radius: 10px;
  border: 1px solid var(--c-sub-bg);
  box-shadow: var(--shadow-card);
}
.rc-inline-video figcaption {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--c-text);
  text-align: center;
}
/* 併記テキストはアコーディオンに入れず常時表示 */
.rc-inline-video .rc-case-note {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--c-sub-bg);
  font-size: 11.5px;
  line-height: 1.85;
  color: var(--c-text-mute);
  text-align: left;
}
@media (max-width: 767px) {
  .rc-inline-video { margin-top: 30px; }
  .rc-inline-video figcaption { font-size: 12.5px; }
}

/* --- 手術体制の映像（#whyus 末尾／無音・引きの映像・自動再生） --- */
.rc-whyus-video {
  max-width: 900px;
  margin: 40px auto 0;
}
.rc-whyus-video-player {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #1A130B;
  border-radius: 12px;
  border: 1px solid var(--c-sub-bg);
  box-shadow: var(--shadow-card);
}
.rc-whyus-video figcaption {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--c-text-mute);
  text-align: center;
}
@media (max-width: 767px) {
  .rc-whyus-video { margin-top: 30px; }
  .rc-whyus-video figcaption { font-size: 12.5px; text-align: left; }
}

/* --- 公式サイト転載症例（画像は 400px 実寸を超えて表示しない） --- */
.rc-case--hp .ba-pair {
  max-width: 824px;
  margin: 0 auto;
  gap: 24px;
}
.rc-case--hp .ba-item img {
  /* 読み込み前は 400x272（画像実寸と同比率）で高さを確保し、
     読み込み後は画像本来の比率に切り替える（CLS対策・見た目は従来どおり）。
     .rc-case .ba-item img の 3/2 を打ち消す役割も兼ねる。 */
  aspect-ratio: auto 400 / 272;
  object-fit: contain;
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
}
.rc-case--hp figcaption { text-align: center; }
.rc-case-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 18px;
  max-width: 824px;
  margin-left: auto;
  margin-right: auto;
}
.rc-case-step { margin: 0; }
.rc-case-step img {
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
  border-radius: 8px;
  border: 1px solid var(--c-sub-bg);
}
.rc-case-step figcaption {
  margin-top: 8px;
  font-size: 12px;
  color: var(--c-text-mute);
  text-align: center;
}
.rc-case--hp .rc-details {
  margin: 16px auto 0;
  background: var(--c-bg-alt);
}
@media (max-width: 767px) {
  .rc-case--hp .ba-pair { gap: 10px; }
  .rc-case-steps { grid-template-columns: 1fr; gap: 14px; }
}

/* --- セカンドオピニオン：帯1つに簡素化したことによる余白調整 --- */
.second-opinion .so-card .so-lead { margin-top: 0; }
.second-opinion .so-card .so-cta { margin-bottom: 0; }

/* ===================================================== */
/* 削減版 レイアウト最適化（空き高の回収）                 */
/* ===================================================== */

/* リスク2カラム：右列が短いとき下に空白帯ができるのを解消 */
.honest-compare { align-items: start; }

/* 原因3項目：2カラムだと3枚目が1枚だけ残って余白が出るため3カラムに */
@media (min-width: 900px) {
  .rc-causes .flow-list { grid-template-columns: repeat(3, 1fr); }
  .rc-causes .flow-step { padding: 22px 20px 22px 62px; }
  .rc-causes .flow-num { left: 18px; }
}

/* 治療の流れ5ステップ：2カラムだと5枚目の隣が空くため最後を全幅に */
@media (min-width: 768px) {
  .flow .flow-list > .flow-step:last-child { grid-column: 1 / -1; }
}

/* 説明用口腔内写真：本文が短くなった分、写真も過大にしない */
.rc-about .diagnosis-photo { max-width: 560px; }

/* RT分類表：見出し「歯と歯の間の状態」を語中で折らない */
.rt-table thead th:nth-child(2) { white-space: nowrap; }
@media (max-width: 767px) {
  .rt-table thead th:nth-child(2) { white-space: normal; }
}

/* ===================================================== */
/* RT分類表 スマホ（行が縦積みになる600px以下）            */
/*  ヘッダ行は縦積みでは意味をなさないため隠し、           */
/*  代わりに各セルへラベルを付けて左揃えにする。           */
/* ===================================================== */
@media (max-width: 600px) {
  .rt-table thead { display: none; }
  .rt-table tbody tr { padding: 14px 16px; }
  .rt-table th[scope="row"] {
    text-align: left;
    width: auto;
    font-size: 15px;
    padding-bottom: 2px;
  }
  .rt-table td {
    text-align: left;
    font-weight: normal;
    font-size: 13px;
    line-height: 1.9;
  }
  .rt-table td:first-of-type {
    color: var(--c-text-mute);
    margin-bottom: 6px;
  }
  .rt-table td:first-of-type::before {
    content: "歯と歯の間：";
    font-weight: 600;
    color: var(--c-text);
  }
  .rt-table td:last-of-type::before {
    content: "治療の目標";
    display: block;
    font-weight: 600;
    font-size: 12px;
    color: var(--c-main);
    letter-spacing: .06em;
    margin-bottom: 2px;
  }
}

/* --- 術後スケジュール表：スマホでも左揃え・本文扱いを維持 --- */
@media (max-width: 600px) {
  .rc-schedule-table td {
    text-align: left;
    font-weight: normal;
    color: var(--c-text-mute);
    margin-top: 6px;
  }
  .rc-schedule-table th {
    white-space: normal;
    font-weight: 600;
    color: var(--c-main-dark);
  }
}
