/* =========================================================
   Sky Dental Clinic セラミック(自費補綴)LP /ceramic/
   共通の型 css/dentures.css に追記するページ固有スタイル
   (掲載ルール17: レイアウトは本体診療ページと統一)
   モバイルファースト(基準幅390px)/ PC 768px+
   ========================================================= */

:root {
  --cer-deep: #4A3323;      /* 見出し・濃色 */
  --cer-gold: #6F5636;      /* ハイクラスのアクセント */
  --cer-navy: #33251A;      /* プレミアムのアクセント */
  --cer-soft: #FAF6EF;      /* 淡い背景 */
}

/* ---------- 見出しに英字ラベル ---------- */
h2[data-en]::after {
  content: attr(data-en);
  display: block;
  font-family: "Noto Serif JP", serif;
  font-size: 11px;
  letter-spacing: .12em;
  font-weight: 500;
  color: var(--cer-gold);
  margin-top: 2px;
}

/* ---------- 治療名タグ(初画面で治療が識別できるように) ---------- */
.device-tag {
  display: inline-block;
  background: var(--cer-deep);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  border-radius: 4px;
  padding: 5px 10px;
  margin-bottom: var(--space-1);
}

/* ---------- 対象別アンカー帯(スマホ・横スクロール) ---------- */
.target-bar {
  position: sticky;
  top: 56px;
  z-index: 80;
  background: var(--cer-soft);
  border-bottom: 1px solid #E2D8C6;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px 12px;
}
.target-bar a {
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid var(--cer-deep);
  color: var(--cer-deep);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  padding: 7px 14px;
  white-space: nowrap;
}

/* 固定ヘッダー(56px)+アンカー帯(約44px)の下に見出しが隠れないようにする(掲載ルール21) */
html { scroll-padding-top: 120px; }

/* ---------- ヒーロー(導入ブロック) ---------- */
.lead__eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--cer-deep);
  margin-bottom: 4px;
}
.lead__intro strong span { display: block; }
.lead__intro strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--cer-deep);
}

.lead__badges {
  list-style: none;
  display: grid;
  gap: 6px;
  margin-top: var(--space-2);
}
.lead__badges li {
  background: #fff;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  padding: 8px 10px 8px 30px;
  position: relative;
}
.lead__badges li::before {
  content: "✓";
  position: absolute;
  left: 10px;
  top: 8px;
  color: var(--cer-gold);
  font-weight: 700;
}

/* 対象別リンク(常時見える・同ページ内スクロール) */
.target-links {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-top: var(--space-2);
}
.target-links a {
  display: block;
  background: #fff;
  border: 1px solid var(--cer-deep);
  border-radius: var(--radius-card);
  text-decoration: none;
  color: var(--cer-deep);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
  padding: 10px 34px 10px 12px;
  position: relative;
}
.target-links a::after {
  content: "›";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
}
.target-links a span {
  display: block;
  font-weight: 400;
  font-size: 12px;
  color: var(--color-sub);
  margin-top: 2px;
}

/* ---------- 3つのクラス ---------- */
.class-cards {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-3);
}
.class-card {
  border: 1px solid #E3DACB;
  border-top: 4px solid var(--cer-deep);
  border-radius: var(--radius-card);
  padding: var(--space-3);
  background: #fff;
}
.class-card--high { border-top-color: var(--cer-gold); }
.class-card--premium { border-top-color: var(--cer-navy); background: var(--cer-soft); }

.class-card__label {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--cer-deep);
}
.class-card--high .class-card__label { color: var(--cer-gold); }
.class-card--premium .class-card__label { color: var(--cer-navy); }

.class-card__sub {
  font-size: 13px;
  color: var(--color-sub);
  margin-bottom: var(--space-2);
}
.class-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 14px;
  line-height: 1.7;
}
.class-card ul li {
  padding-left: 16px;
  position: relative;
}
.class-card ul li::before {
  content: "・";
  position: absolute;
  left: 0;
}
.class-card__price {
  margin-top: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px dashed #DCD1BE;
  font-weight: 700;
  font-size: 15px;
  color: var(--cer-deep);
}
.class-card__note { margin-top: 8px; }

/* ---------- 比較表(2列比較はスマホでも横スクロールなしで収める) ---------- */
.table-scroll--compare table { min-width: 0; }
.table-scroll--compare th,
.table-scroll--compare td { white-space: normal; font-size: 13px; padding: 8px 8px; }
.table-scroll--compare tbody th { width: 22%; background: var(--cer-soft); }

/* ---------- 治療の流れ(見出し) ---------- */
.flow h3 {
  background: var(--cer-soft);
  border-left: 4px solid var(--cer-deep);
  border-radius: 0 4px 4px 0;
  padding: 8px 12px;
  margin-bottom: var(--space-2);
  font-size: 16px;
}

/* ---------- 医院案内 ---------- */
.clinic__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: var(--space-3);
}
.clinic__gallery img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 6px;
}
.clinic__gallery figcaption {
  font-size: 13px;
  color: var(--color-sub);
  text-align: center;
  padding-top: 4px;
}
.clinic dl > div {
  border-bottom: 1px solid #E6DED1;
  padding: var(--space-2) 0;
}
.clinic dt {
  font-weight: 700;
  font-size: 14px;
  color: var(--cer-deep);
  margin-bottom: 4px;
}
.clinic dd { font-size: 15px; }

/* ---------- リスク帯(本文と同じ大きさで表示・折りたたまない) ---------- */
.risks .risk-band { border: 1px solid #E4D8C2; }

/* ---------- 固定フッターCTA(WEB予約+電話。TELが空のときだけ電話ボタンを隠す) ---------- */
.fixed-cta__tel[aria-disabled="true"] { display: none; }
.fixed-cta__reserve { flex: 1 1 auto; }


/* =========================================================
   高級感(自費)スタイル: マット×グラデーション×奥行き(2026-09-16 発注者要望)
   ========================================================= */
:root {
  --lux-navy-1: #6B4E39;
  --lux-navy-2: #4A3323;
  --lux-navy-3: #2F2118;
  --lux-gold-1: #DCC8A6;
  --lux-gold-2: #9A7F55;
  --lux-shadow: 0 2px 4px rgba(90,72,48,.06), 0 16px 36px rgba(90,72,48,.16);
}

/* 線画アイコン共通 */
.ico {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  flex: 0 0 auto;
}

/* --- 表の外枠: マットな淡グラデ+浮き上がる影 --- */
.lux {
  background: linear-gradient(150deg, #ffffff 0%, #F8F3EA 55%, #EDE5D7 100%);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 16px;
  padding: 8px;
  box-shadow: var(--lux-shadow), inset 0 1px 0 #fff;
  margin-bottom: var(--space-3);
}
.lux table {
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
}
.lux th, .lux td { border: none; }
.lux tbody tr:nth-child(even) { background: transparent; }
.lux tbody td, .lux tbody th {
  border-bottom: 1px solid rgba(120,95,60,.08);
  background: rgba(255,255,255,.72);
}
.lux tbody tr:last-child td, .lux tbody tr:last-child th { border-bottom: none; }

/* 列見出し: 濃紺の縦グラデ+上端ハイライト(立体感)+金の下線 */
.lux thead th, .lux thead td {
  background: linear-gradient(180deg, var(--lux-navy-1) 0%, var(--lux-navy-2) 65%, var(--lux-navy-3) 100%);
  color: #fff;
  letter-spacing: .04em;
  border-bottom: 2px solid var(--lux-gold-1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
  text-align: center;
}
.lux thead td { background: linear-gradient(180deg, #FAF7F1, #EFE7D9); box-shadow: none; }
.lux thead th:first-child { text-align: left; }

/* 行見出し: 淡いグラデ+アイコン円(金の縁取り) */
.lux tbody th {
  background: linear-gradient(90deg, #FBF8F2 0%, #F2EBDF 100%);
  color: var(--cer-deep);
  font-weight: 700;
}
.rh { display: flex; align-items: center; gap: 8px; }
.rh .ico {
  width: 30px; height: 30px; padding: 6px;
  border-radius: 50%;
  color: var(--cer-deep);
  background: linear-gradient(145deg, #ffffff, #E6DCCA);
  box-shadow: 0 2px 5px rgba(90,72,48,.18), inset 0 1px 0 #fff, 0 0 0 1px rgba(180,154,114,.35);
}

/* 料金表: 金額セルを強調 */
.lux--fee tbody td { font-weight: 500; }
.lux--fee tbody td:first-of-type { font-weight: 700; color: var(--cer-deep); font-size: 15px; }

/* --- 3つのクラス: 奥行きのあるカード+アイコンバッジ --- */
.class-card {
  position: relative;
  border: 1px solid rgba(255,255,255,.9);
  border-top: none;
  background: linear-gradient(160deg, #ffffff 0%, #FAF6EF 100%);
  box-shadow: var(--lux-shadow), inset 0 1px 0 #fff;
  border-radius: 16px;
  padding-top: 40px;
  margin-top: 24px;
}
.class-card::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 6px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, var(--lux-navy-1), var(--lux-navy-2));
}
.class-card--high::before { background: linear-gradient(90deg, var(--lux-gold-1), var(--lux-gold-2)); }
.class-card--premium { background: linear-gradient(160deg, #F7F2E9 0%, #E6DCCA 100%); }
.class-card--premium::before { background: linear-gradient(90deg, #55402C, var(--lux-navy-3)); }

.class-card__badge {
  position: absolute; top: -24px; left: 24px;
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  background: linear-gradient(145deg, var(--lux-navy-1), var(--lux-navy-3));
  box-shadow: 0 6px 14px rgba(90,72,48,.28), inset 0 1px 0 rgba(255,255,255,.45), 0 0 0 3px #fff;
}
.class-card__badge .ico { width: 26px; height: 26px; }
.class-card--high .class-card__badge { background: linear-gradient(145deg, var(--lux-gold-1), var(--lux-gold-2)); }
.class-card--premium .class-card__badge { background: linear-gradient(145deg, #664B34, var(--lux-navy-3)); box-shadow: 0 6px 14px rgba(90,72,48,.28), inset 0 1px 0 rgba(255,255,255,.45), 0 0 0 3px var(--lux-gold-1); }
.class-card--high .class-card__label { color: var(--lux-gold-2); }
.class-card__price { border-top: 1px solid rgba(180,154,114,.45); }

/* 治療名タグも金の縁で統一感 */
.device-tag {
  background: linear-gradient(180deg, var(--lux-navy-1), var(--lux-navy-3));
  box-shadow: 0 2px 6px rgba(90,72,48,.25), inset 0 1px 0 rgba(255,255,255,.3);
  border-bottom: 2px solid var(--lux-gold-1);
}

@media (max-width: 767px) {
  .rh { flex-direction: column; align-items: flex-start; gap: 4px; }
  .lux { padding: 6px; border-radius: 14px; }
}


/* ---------- 院長・歯科技工士の紹介 ---------- */
.staff__grid { display: grid; gap: var(--space-3); margin-top: var(--space-3); }
.staff-card {
  display: grid; gap: var(--space-2);
  background: linear-gradient(160deg, #ffffff 0%, #F8F3EA 100%);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 16px;
  padding: var(--space-3);
  box-shadow: var(--lux-shadow), inset 0 1px 0 #fff;
}
.staff-card__photo { border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(90,72,48,.15); }
.staff-card__photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.staff-card__photo--wide img { aspect-ratio: 3 / 2; }
.staff-card__role {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; color: #fff;
  background: linear-gradient(180deg, var(--lux-navy-1), var(--lux-navy-3));
  border-bottom: 2px solid var(--lux-gold-1);
  border-radius: 4px; padding: 3px 10px; margin-bottom: 6px;
}
.staff-card h3 { color: var(--cer-deep); font-size: 18px; }
.staff-card p { font-size: 15px; }

/* ---------- PC(768px+) ---------- */
@media (min-width: 768px) {
  .target-bar { justify-content: center; }
  .header__nav { gap: 14px; }
  .header__nav a { white-space: nowrap; font-size: 13px; }

  .lead__intro strong span { display: inline; }

  .class-cards { grid-template-columns: repeat(3, 1fr); }
  .staff-card { grid-template-columns: 240px 1fr; align-items: start; }
  .staff-card__photo--wide { grid-column: auto; }
  .staff-card:has(.staff-card__photo--wide) { grid-template-columns: 320px 1fr; }
  .class-card { display: flex; flex-direction: column; }
  .class-card__price { margin-top: auto; }

  .target-links { grid-template-columns: repeat(3, 1fr); }
  .lead__badges { grid-template-columns: 1fr; }

  h2[data-en]::after { font-size: 12px; }
}

@media (min-width: 1024px) {
  .header__nav { gap: var(--space-3); }
  .header__nav a { font-size: 14px; }
}

/* =========================================================
   全体の高級感トーン(2026-09-16 発注者要望「全体を整えて・フォントも」)
   深い紺 × 金 × アイボリー / 見出し=明朝(Noto Serif JP) / 数字・英字=Cormorant Garamond
   ========================================================= */
:root {
  --f-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-num: "Cormorant Garamond", "Noto Serif JP", serif;
  --ivory: #FBF7F0;
  --ivory-2: #F2EADC;
}

body {
  background:
    radial-gradient(1200px 600px at 100% -10%, rgba(220,200,166,.14), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(160,131,86,.10), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--ivory) 100%);
  color: #3B342C;
  letter-spacing: .01em;
}

/* --- 見出し: 明朝 --- */
h1, h2, h3, .class-card__label, .staff-card h3 {
  font-family: var(--f-serif);
  font-weight: 600;
  letter-spacing: .04em;
}
h1 { font-size: 25px; line-height: 1.55; color: var(--lux-navy-3); }
h2 {
  border-left: none;
  padding-left: 0;
  padding-bottom: 10px;
  color: var(--lux-navy-3);
  position: relative;
  margin-bottom: var(--space-3);
}
h2::before {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 56px; height: 2px;
  background: linear-gradient(90deg, var(--lux-gold-2), var(--lux-gold-1));
}
h2[data-en]::after {
  font-family: var(--f-num);
  font-size: 13px;
  letter-spacing: .28em;
  font-weight: 600;
  color: var(--lux-gold-2);
  margin-top: 4px;
}
h3 { color: var(--lux-navy-3); }
.num, .class-card__price { font-family: var(--f-num); }
.num { font-size: 1.35em; font-weight: 600; letter-spacing: .02em; color: var(--lux-navy-3); }
.class-card__price { font-family: var(--f-serif); font-size: 15px; }

/* --- ヘッダー: 金の細線 --- */
.header { border-bottom: 1px solid rgba(180,154,114,.45); background: rgba(255,255,255,.96); backdrop-filter: blur(6px); }
.header__logo-main { font-family: var(--f-serif); font-weight: 600; letter-spacing: .06em; color: var(--lux-navy-3); }
.header__logo-sub { letter-spacing: .08em; }
.header__nav a { font-family: var(--f-serif); }
.target-bar { background: linear-gradient(180deg, #ffffff, var(--ivory-2)); border-bottom: 1px solid rgba(180,154,114,.35); }
.target-bar a { font-family: var(--f-serif); border-color: rgba(90,72,48,.35); background: #fff; }
.breadcrumb { color: #8C8377; }

/* --- ボタン: 紺グラデ+金の縁 --- */
.btn--reserve, .fixed-cta__reserve, .header__cta {
  background: linear-gradient(180deg, var(--lux-navy-1) 0%, var(--lux-navy-2) 60%, var(--lux-navy-3) 100%);
  box-shadow: 0 6px 16px rgba(90,72,48,.28), inset 0 1px 0 rgba(255,255,255,.35), 0 0 0 1px rgba(220,200,166,.6);
  letter-spacing: .06em;
}
.btn--reserve:hover, .header__cta:hover { opacity: 1; filter: brightness(1.08); }
.fixed-cta { box-shadow: 0 -4px 16px rgba(90,72,48,.18); }
.fixed-cta__tel { border-top: 2px solid var(--lux-gold-1); color: var(--lux-navy-3); font-family: "Noto Sans JP", sans-serif; font-size: 15px; font-weight: 700; letter-spacing: .02em; }

/* --- ヒーロー --- */
.page-head__grid { align-items: stretch; }
.img-slot--kv { box-shadow: var(--lux-shadow); border: 1px solid rgba(255,255,255,.9); }
.lead {
  background: linear-gradient(160deg, #ffffff 0%, var(--ivory-2) 100%);
  border: 1px solid rgba(180,154,114,.35);
  box-shadow: var(--lux-shadow), inset 0 1px 0 #fff;
  border-radius: 16px;
}
.lead__eyebrow { font-family: var(--f-serif); color: var(--lux-gold-2); letter-spacing: .12em; }
.lead__intro strong { font-family: var(--f-serif); color: var(--lux-navy-3); font-size: 18px; }
.lead__badges li { background: rgba(255,255,255,.9); border: 1px solid rgba(90,72,48,.08); }
.target-links a { border-color: rgba(90,72,48,.25); background: rgba(255,255,255,.9); font-family: var(--f-serif); box-shadow: 0 2px 6px rgba(90,72,48,.08); }
.target-links a:hover { border-color: var(--lux-gold-2); }
.img-slot figcaption { font-family: var(--f-serif); letter-spacing: .04em; }

/* --- セクション帯: 交互に淡い背景で奥行き --- */
.section { position: relative; }
#material, #treatment, #fees, #faq {
  margin-left: calc(-1 * var(--space-2));
  margin-right: calc(-1 * var(--space-2));
  padding: var(--space-4) var(--space-2);
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(120,95,60,.045) 12%, rgba(120,95,60,.045) 88%, rgba(255,255,255,0) 100%);
  border-radius: 24px;
}

/* --- 特長カード --- */
.feature-card {
  background: linear-gradient(160deg, #ffffff 0%, #FAF6EF 100%);
  border: 1px solid rgba(255,255,255,.9);
  border-top: 3px solid var(--lux-gold-1);
  box-shadow: var(--lux-shadow), inset 0 1px 0 #fff;
  border-radius: 16px;
}
.feature-card h3 { font-size: 17px; }
.features .img-slot, .features__body .img-slot { box-shadow: var(--lux-shadow); border: 1px solid rgba(255,255,255,.9); }

/* --- 治療の流れ --- */
.flow h3 {
  background: linear-gradient(90deg, rgba(120,95,60,.08), rgba(220,200,166,.18));
  border-left: 3px solid var(--lux-gold-2);
  font-size: 16px;
}
.flow__steps li {
  background: linear-gradient(160deg, #ffffff 0%, #FAF6EF 100%);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 2px 4px rgba(90,72,48,.05), 0 10px 24px rgba(90,72,48,.10);
  border-radius: 14px;
}
.flow__steps li::before {
  font-family: var(--f-num);
  font-size: 16px;
  background: linear-gradient(145deg, var(--lux-navy-1), var(--lux-navy-3));
  box-shadow: 0 3px 8px rgba(90,72,48,.3), 0 0 0 2px #fff, 0 0 0 3px var(--lux-gold-1);
}
.flow__steps li strong { font-family: var(--f-serif); color: var(--lux-navy-3); }
.flow__terms li { background: rgba(255,255,255,.8); border: 1px solid rgba(90,72,48,.08); }

/* --- 料金 --- */
.lab-note { background: linear-gradient(160deg, #ffffff, var(--ivory-2)); border: 1px solid rgba(180,154,114,.35); font-family: var(--f-serif); }

/* --- リスク: 上質なクリーム --- */
.risks .risk-band {
  background: linear-gradient(160deg, #FFFCF7 0%, #F5EEE1 100%);
  border: 1px solid rgba(180,154,114,.55);
  box-shadow: var(--lux-shadow), inset 0 1px 0 #fff;
  border-radius: 16px;
}
.risks ul li::marker { color: var(--lux-gold-2); }

/* --- FAQ --- */
.faq__item {
  background: linear-gradient(160deg, #ffffff 0%, #FAF6EF 100%);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 2px 4px rgba(90,72,48,.05), 0 10px 24px rgba(90,72,48,.10);
  border-radius: 14px;
}
.faq__item summary { font-family: var(--f-serif); color: var(--lux-navy-3); }
.faq__item summary::before { font-family: var(--f-num); font-size: 18px; color: var(--lux-gold-2); }
.faq__item summary::after { color: var(--lux-gold-2); }
.faq__answer p::before { font-family: var(--f-num); font-size: 18px; color: var(--lux-navy-2); }

/* --- 医院案内 --- */
.clinic__gallery img { box-shadow: 0 6px 16px rgba(90,72,48,.15); border: 1px solid #fff; }
.clinic dt { font-family: var(--f-serif); color: var(--lux-gold-2); letter-spacing: .08em; }
.clinic dl > div { border-bottom: 1px solid rgba(180,154,114,.25); }

/* --- 最終CTA: 深い紺の帯に金のボタン --- */
.section.cta {
  background:
    radial-gradient(600px 300px at 80% 0%, rgba(220,200,166,.22), transparent 70%),
    linear-gradient(160deg, #503826 0%, var(--lux-navy-3) 100%);
  color: #fff;
  border-radius: 20px;
  box-shadow: var(--lux-shadow);
  border: 1px solid rgba(220,200,166,.45);
}
.section.cta h2 { color: #fff; }
.section.cta h2::before { left: 50%; transform: translateX(-50%); }
.section.cta h2[data-en]::after { color: var(--lux-gold-1); }
.section.cta p { color: rgba(255,255,255,.92); }
.section.cta .cta__note { color: rgba(255,255,255,.7); }
.section.cta .btn--reserve {
  background: linear-gradient(180deg, #E8DCC2 0%, var(--lux-gold-1) 50%, var(--lux-gold-2) 100%);
  color: var(--lux-navy-3);
  box-shadow: 0 8px 20px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.6);
}
#fees .cta { background: linear-gradient(160deg, #ffffff, var(--ivory-2)); border: 1px solid rgba(180,154,114,.35); border-radius: 16px; }
#fees .cta p { font-family: var(--f-serif); color: var(--lux-navy-3); }

/* --- フッター --- */
.footer { background: linear-gradient(180deg, #2F2118 0%, #241A12 100%); color: rgba(255,255,255,.9); border-top: 2px solid var(--lux-gold-2); }
.footer h2 { color: var(--lux-gold-1); font-size: 15px; }
.footer h2::before { display: none; }
.footer a { color: #fff; }
.footer__clinic strong { font-family: var(--f-serif); letter-spacing: .06em; }
.footer__copy { color: rgba(255,255,255,.82); font-family: var(--f-num); letter-spacing: .06em; }


/* --- 治療名タグ: 明朝 --- */
.device-tag { font-family: var(--f-serif); letter-spacing: .06em; }

@media (min-width: 768px) {
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .lead__intro strong { font-size: 20px; }
  #material, #treatment, #fees, #faq {
    margin-left: calc(-1 * var(--space-4));
    margin-right: calc(-1 * var(--space-4));
    padding: var(--space-6) var(--space-4);
  }
}

/* =========================================================
   組み替え(2026-09-16 発注者指示): 目次タブ・写真付き特徴カード・手作りバナー
   ========================================================= */
/* --- 目次タブ: アイコン付き・押すとスクロール --- */
.target-bar { padding: 10px 12px; gap: 10px; }
.target-bar a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px;
  font-size: 13px;
  color: var(--lux-navy-3);
  background: linear-gradient(180deg, #ffffff, #F7F2E9);
  border: 1px solid rgba(90,72,48,.22);
  box-shadow: 0 2px 6px rgba(90,72,48,.10), inset 0 1px 0 #fff;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.target-bar a .ico { width: 18px; height: 18px; color: var(--lux-gold-2); }
.target-bar a:hover { transform: translateY(-1px); border-color: var(--lux-gold-2); box-shadow: 0 6px 14px rgba(90,72,48,.16); }

/* --- 特長: 写真付きカード --- */
.feat-grid { display: grid; gap: var(--space-3); margin-top: var(--space-3); }
.feat {
  display: grid;
  background: linear-gradient(160deg, #ffffff 0%, #FAF6EF 100%);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--lux-shadow), inset 0 1px 0 #fff;
}
.feat__photo { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: #EFE7D9; }
.feat__photo img, .feat__photo svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.feat__body { padding: var(--space-3); position: relative; }
.feat__no {
  display: inline-block;
  font-family: var(--f-num); font-size: 26px; font-weight: 600; line-height: 1;
  color: var(--lux-gold-2);
  border-bottom: 2px solid var(--lux-gold-1);
  margin-bottom: 8px;
}
.feat__body h3 { font-size: 18px; margin-bottom: 8px; }
.feat__body p { font-size: 15px; }

/* --- 関連サイトバナー(入れ歯サイトと同じ部品構成・高級トーン) --- */
.related p { margin-bottom: var(--space-2); }
.banners { display: grid; gap: 14px; }
.banner {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; color: var(--lux-navy-3);
  background: linear-gradient(160deg, #ffffff 0%, #F8F3EA 100%);
  border: 1px solid rgba(255,255,255,.9);
  border-left: 4px solid var(--lux-gold-2);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 2px 4px rgba(90,72,48,.05), 0 10px 24px rgba(90,72,48,.12), inset 0 1px 0 #fff;
  transition: transform .15s, box-shadow .15s;
}
.banner:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(90,72,48,.18); }
.banner__icon {
  flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  background: linear-gradient(145deg, var(--lux-navy-1), var(--lux-navy-3));
  box-shadow: 0 6px 14px rgba(90,72,48,.28), inset 0 1px 0 rgba(255,255,255,.45), 0 0 0 2px #fff, 0 0 0 3px var(--lux-gold-1);
}
.banner__icon .ico { width: 26px; height: 26px; stroke-width: 1.6; }
.banner--sora .banner__icon { background: linear-gradient(145deg, #DCC8A6, #9A7F55); color: var(--lux-navy-3); }
.banner--recruit .banner__icon { background: linear-gradient(145deg, #7A5C42, #3D2C1E); }
.banner__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.banner__label { font-family: var(--f-num); font-size: 12px; letter-spacing: .14em; color: var(--lux-gold-2); font-weight: 600; }
.banner__title { font-family: var(--f-serif); font-size: 16px; font-weight: 600; letter-spacing: .03em; }
.banner__desc { font-size: 13px; color: #5A5148; }
.banner__arrow { margin-left: auto; color: var(--lux-gold-2); font-size: 18px; }

/* 院長カードの写真をやや小さく(スマホ) */
.staff-card__photo--wide { max-width: 420px; }

@media (min-width: 768px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .banners { grid-template-columns: repeat(2, 1fr); }
  .staff-card__photo--wide { max-width: none; }
}
@media (min-width: 1024px) {
  .banners { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================
   ラウンド1: メインサイト/Soraサイトの良い点を反映
   (中央揃えの明朝見出し+英字サブ / 四隅コーナー装飾 / TOPへ戻る / アイコン付き導線カード)
   ========================================================= */
/* --- セクション見出し: 中央揃え・英字サブ(Sora の FEATURE 見出しの作法) --- */
h2.sec-head {
  text-align: center;
  padding-bottom: 0;
  margin-bottom: var(--space-4);
}
h2.sec-head::before {
  left: 50%;
  transform: translateX(-50%);
  bottom: -14px;
  width: 44px;
}
h2.sec-head[data-en]::after {
  order: -1;
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: .3em;
  text-indent: .3em;
}
h2.sec-head { display: flex; flex-direction: column; align-items: center; position: relative; padding-bottom: 14px; }

/* セクション冒頭のリード文も中央に */
.section > h2.sec-head + p { text-align: center; }
@media (max-width: 767px) {
  .section > h2.sec-head + p { text-align: left; }
}

/* --- ヒーローの導線カード: アイコン付き(メインサイトの症状カードの作法) --- */
.target-links a {
  display: grid;
  grid-template-columns: 40px 1fr;
  grid-template-areas: "icon title" "icon desc";
  gap: 0 12px;
  align-items: center;
  padding: 14px 34px 14px 14px;
}
.target-links a .ico {
  grid-area: icon;
  width: 34px; height: 34px; padding: 7px;
  border-radius: 50%;
  color: var(--lux-navy-2);
  background: linear-gradient(145deg, #ffffff, #E6DCCA);
  box-shadow: 0 2px 5px rgba(90,72,48,.16), inset 0 1px 0 #fff, 0 0 0 1px rgba(180,154,114,.4);
}
.target-links a .t { grid-area: title; font-size: 14.5px; }
.target-links a span:not(.t) { grid-area: desc; margin-top: 0; }

/* --- 四隅コーナー装飾の連絡先枠(Sora の CONTACT) --- */
.contact-frame {
  position: relative;
  text-align: center;
  padding: 20px 16px;
  background: linear-gradient(160deg, #ffffff, var(--ivory-2));
  border-radius: 6px;
}
.contact-frame::before, .contact-frame::after {
  content: ""; position: absolute; width: 18px; height: 18px; pointer-events: none;
}
.contact-frame::before { top: 6px; left: 6px; border-top: 2px solid var(--lux-gold-2); border-left: 2px solid var(--lux-gold-2); }
.contact-frame::after { bottom: 6px; right: 6px; border-bottom: 2px solid var(--lux-gold-2); border-right: 2px solid var(--lux-gold-2); }
.contact-frame__en { font-family: var(--f-num); font-size: 13px; letter-spacing: .3em; color: var(--lux-gold-2); }
.contact-frame__tel a { font-family: var(--f-num); font-size: 26px; font-weight: 600; color: var(--lux-navy-3); text-decoration: none; letter-spacing: .04em; }
.contact-frame__note { font-size: 13px; color: var(--color-sub); margin-top: 4px; }

/* --- TOPへ戻る --- */
.to-top {
  position: fixed; right: 16px; bottom: 72px; z-index: 95;
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #ffffff, #F3ECE0);
  border: 1px solid rgba(180,154,114,.55);
  box-shadow: 0 6px 16px rgba(90,72,48,.22);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 20px; height: 20px; fill: none; stroke: var(--lux-navy-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 768px) {
  .to-top { right: 24px; bottom: 24px; width: 52px; height: 52px; }
}

/* =========================================================
   ラウンド2: 細部の詰め(番号バッジ・目次の見切れ・枠装飾・ヒーロー)
   ========================================================= */
/* --- 特長カードの番号: 下線→金の丸バッジ(リンクに見えないように) --- */
.feat__body { padding-top: calc(var(--space-3) + 10px); }
.feat__no {
  position: absolute;
  top: -22px; left: var(--space-3);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-bottom: none;
  margin: 0;
  font-size: 18px;
  color: var(--lux-navy-3);
  background: linear-gradient(145deg, #F0E6D3, var(--lux-gold-1));
  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(90,72,48,.22), inset 0 1px 0 rgba(255,255,255,.7), 0 0 0 3px #fff;
}
.feat__body { position: relative; }
.feat__photo { position: relative; }

/* --- 目次タブ: 右端の見切れをぼかしで示す+スクロールバーを隠す --- */
/* stickyはラッパー側に持たせる(nav自身がスクロールコンテナのためsticky不可) */
.target-bar { position: static; scrollbar-width: none; -ms-overflow-style: none; }
.target-bar::-webkit-scrollbar { display: none; }
.target-bar-wrap {
  position: sticky;
  top: 58px;
  z-index: 80;
  background: linear-gradient(180deg, #ffffff, var(--ivory-2));
  border-bottom: 1px solid rgba(180,154,114,.35);
}
.target-bar-wrap::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 34px;
  background: linear-gradient(90deg, rgba(250,246,239,0), rgba(250,246,239,.95));
  pointer-events: none;
}
@media (min-width: 768px) {
  .target-bar { justify-content: center; flex-wrap: wrap; overflow-x: visible; }
  .target-bar-wrap::after { display: none; }
}

/* --- 連絡先枠: コーナー装飾を内側に・余白を確保 --- */
.contact-frame { padding: 24px 20px; margin: 4px; }
.contact-frame::before { top: 0; left: 0; }
.contact-frame::after { bottom: 0; right: 0; }

/* --- ヒーロー: KVに金の細枠と内側の光 --- */
.img-slot--kv {
  position: relative;
  border-radius: 16px;
}
.img-slot--kv::after {
  content: ""; position: absolute; inset: 8px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 10px;
  pointer-events: none;
}
.page-head .img-slot--kv { box-shadow: var(--lux-shadow), 0 0 0 1px rgba(180,154,114,.4); }
.img-slot--kv { overflow: visible; }
.img-slot--kv img { border-radius: 16px; }
.img-slot--kv figcaption { position: static; padding-top: 10px; }
.img-slot--kv::after { inset: 8px auto auto 8px; width: calc(100% - 16px); height: calc(100% - 16px); }

/* --- 料金表: プレミアム行にさりげない強調(装飾で誤認させない範囲) ---
   2026-10-02 無効化(理事長指示): 3クラス表示をやめて最終行がラミネートベニアになり、その行だけ料金欄が白でなくなっていたため。戻すときは下の1行のコメントを外す。
.lux--fee tbody tr:last-child td, .lux--fee tbody tr:last-child th { background: rgba(220,200,166,.12); }
*/

/* --- 本文の読みやすさ(行長を抑える) --- */
.section > p, .section > h3 + p, .features > p { max-width: 46em; }
.section > h2.sec-head + p { margin-left: auto; margin-right: auto; }

/* =========================================================
   ラウンド3: 余白・階層・質感(Soraサイトの「静けさ」を参考に)
   ========================================================= */
/* --- 余白を大きく取り、1画面の情報量を落とす --- */
.section { margin-top: 64px; }
@media (min-width: 768px) { .section { margin-top: 96px; } }

/* --- 本文の行間と文字色(長文の読みやすさ) --- */
body { line-height: 1.95; }
.section > p, .feat__body p, .class-card ul, .staff-card p { color: #524941; }

/* --- 見出しの階層をはっきり --- */
h3 {
  font-size: 18px;
  letter-spacing: .05em;
  padding-left: 14px;
  position: relative;
}
h3::before {
  content: "";
  position: absolute; left: 0; top: .35em;
  width: 3px; height: 1.1em;
  background: linear-gradient(180deg, var(--lux-gold-1), var(--lux-gold-2));
  border-radius: 2px;
}
/* カード内の見出しは装飾なし(うるさくならないように) */
.feat__body h3, .class-card h3, .staff-card h3, .faq__item h3, .flow h3 { padding-left: 0; }
.feat__body h3::before, .class-card h3::before, .staff-card h3::before, .flow h3::before { display: none; }

/* --- 画像に統一した質感(薄い枠+やわらかい影) --- */
.img-slot img, .feat__photo img, .staff-card__photo img, .clinic__gallery img {
  filter: saturate(1.02);
}
.img-slot { box-shadow: 0 2px 4px rgba(90,72,48,.05), 0 14px 30px rgba(90,72,48,.12); }
figcaption { letter-spacing: .03em; }

/* --- 表のセル余白を広げて上品に --- */
.lux th, .lux td { padding: 14px 14px; }
.lux--fee tbody th { font-size: 14.5px; }
@media (max-width: 767px) {
  .lux th, .lux td { padding: 11px 9px; }
}

/* --- 3クラスカード: 余白と区切り --- */
.class-card { padding: 44px var(--space-3) var(--space-3); }
.class-card ul li { line-height: 1.85; }
.class-card__sub { letter-spacing: .06em; }

/* --- リスクの箇条書きを読みやすく --- */
.risks ul { gap: 12px; font-size: 15px; line-height: 1.9; padding-left: 1.2em; }

/* --- FAQ: 開いた時の間 --- */
.faq__item summary { padding: 18px var(--space-3); padding-right: 48px; line-height: 1.7; }
.faq__answer { padding: 0 var(--space-3) 18px; line-height: 1.95; }

/* --- 医院案内の定義リスト --- */
.clinic dl > div { padding: 18px 0; }
.clinic dt { font-size: 13px; }

/* --- ヘッダーを少し薄く・高さを抑える(コンテンツ優先) --- */
.header__inner { min-height: 58px; }
.header__logo-main { font-size: 17px; }

/* --- フッター: 余白 --- */
.footer { margin-top: 80px; padding: 48px 0 32px; }
.footer__clinic { line-height: 2; }

/* =========================================================
   ラウンド4: 数字の可読性・アクセシビリティ・仕上げ
   ========================================================= */
/* Cormorant Garamond は既定が旧式数字(高さがバラつく)。金額は等高数字に揃える */
.num, .class-card__price, .contact-frame__tel a, .fixed-cta__tel,
.lux--fee td, .feat__no, .flow__steps li::before, h2[data-en]::after {
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}
.num { font-size: 1.3em; letter-spacing: .01em; }

/* 金額セルは数字と単位の基線を揃える */
.lux--fee td { white-space: nowrap; }

/* --- フォーカス表示(キーボード操作・アクセシビリティ) --- */
a:focus-visible, summary:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--lux-gold-2);
  outline-offset: 2px;
  border-radius: 6px;
}

/* --- 動きを減らす設定の尊重 --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .banner, .feat, .target-bar a, .to-top { transition: none; }
}

/* --- 印刷(見積りとして持ち帰る方向け) --- */
@media print {
  .header, .target-bar-wrap, .fixed-cta, .to-top, .cta, .related { display: none !important; }
  body { padding-bottom: 0; background: #fff; }
  .lux, .class-card, .feat { box-shadow: none; border: 1px solid #C9BFAE; }
}

/* --- 治療スペック(費用・期間・リスク)の定義リスト --- */
.spec {
  margin-top: var(--space-2);
  background: linear-gradient(160deg, #ffffff, var(--ivory-2));
  border: 1px solid rgba(180,154,114,.35);
  border-radius: 14px;
  padding: var(--space-2) var(--space-3);
  box-shadow: inset 0 1px 0 #fff;
}
.spec dl > div { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid rgba(180,154,114,.22); }
.spec dl > div:last-child { border-bottom: none; }
.spec dt { font-family: var(--f-serif); font-size: 13px; letter-spacing: .06em; color: var(--lux-gold-2); }
.spec dd { font-size: 15px; }
.spec .num { font-size: 1.5em; }
@media (min-width: 768px) {
  .spec dl > div { grid-template-columns: 150px 1fr; gap: 12px; align-items: baseline; }
}

/* =========================================================
   最終チェックで発見した修正
   ========================================================= */
/* タブレット幅(768〜1023px)ではヘッダーナビ7項目が収まらず横スクロールが出るため、
   ページ内目次(target-bar)に任せてヘッダーナビは1024px以上でのみ表示する */
@media (max-width: 1023px) {
  .header__nav { display: none !important; }
}
.header__logo { white-space: nowrap; }
.header__inner { flex-wrap: nowrap; }
/* 念のため、どの幅でも横にはみ出さない */
html, body { overflow-x: hidden; }

/* =========================================================
   ベージュ × ホワイト(2026-09-19 理事長指示「全体的にベージュとホワイトに」)
   紺×金のトーンをベージュ・ブラウンへ置換したうえで、
   共通CSS(dentures.css)の青と、濃色だったフッター・最終CTAをここで上書きする。
   ========================================================= */
:root {
  --color-primary: #4A3323;     /* こげ茶。ボタン・リンク・見出し罫(白文字コントラスト 11:1) */
  --color-accent-bg: #F4EDE1;   /* 淡いベージュの帯 */
  --color-warning-bg: #FBF3E3;  /* 注意帯(ベージュ寄り) */
  --color-text: #3B342C;
  --color-sub: #6E6357;
  --beige-1: #FBF7F0;           /* 最も淡い */
  --beige-2: #F4EDE1;
  --beige-3: #EDE3D3;
  --beige-line: #E2D6C2;
  --brown-1: #4A3323;
  --brown-2: #3A2819;
  --brown-3: #2F2118;
}

body { color: var(--color-text); }

/* --- 最終CTA: 濃紺の帯 → ベージュの帯に茶文字 --- */
.section.cta {
  background:
    radial-gradient(600px 300px at 80% 0%, rgba(220,200,166,.35), transparent 70%),
    linear-gradient(160deg, var(--beige-2) 0%, var(--beige-3) 100%);
  color: var(--color-text);
  border: 1px solid var(--beige-line);
}
.section.cta h2 { color: var(--brown-3); }
.section.cta h2[data-en]::after { color: var(--brown-1); }
.section.cta p { color: var(--color-text); }
.section.cta .cta__note { color: var(--color-sub); }
.section.cta .btn--reserve {
  background: linear-gradient(180deg, #5C4230 0%, var(--brown-1) 55%, var(--brown-2) 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(90,72,48,.22), inset 0 1px 0 rgba(255,255,255,.28);
}

/* --- フッター: 濃紺 → ベージュに茶文字 --- */
.footer {
  background: linear-gradient(180deg, var(--beige-2) 0%, var(--beige-3) 100%);
  color: var(--color-text);
  border-top: 2px solid var(--beige-line);
}
.footer h2 { color: var(--brown-1); }
.footer a { color: var(--brown-2); }
.footer__copy { color: var(--color-sub); }

/* --- 固定フッターCTA: 白地+ベージュ罫 --- */
.fixed-cta { background: rgba(255,255,255,.97); border-top: 1px solid var(--beige-line); }
.fixed-cta__tel { border-top: none; color: var(--brown-2); }

/* --- 区切り・罫線をベージュで統一 --- */
.header { border-bottom: 1px solid var(--beige-line); }
.table-scroll table, .table-scroll th, .table-scroll td { border-color: var(--beige-line); }

/* --- 理事長写真(縦4:5)はスマホで大きくなりすぎないよう幅を抑える --- */
.staff-card__photo:not(.staff-card__photo--wide) { max-width: 260px; }
@media (min-width: 768px) {
  .staff-card__photo:not(.staff-card__photo--wide) { max-width: none; }
  .staff-card:has(.staff-card__photo:not(.staff-card__photo--wide)) { grid-template-columns: 240px 1fr; }
}

/* --- 「理事長・院長」などの肩書タグを読みやすく(2026-09-19 理事長指示)
       ※.staff-card p の指定(色#524941)に負けないよう p を含めた指定にする --- */
.staff-card p.staff-card__role {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.6;
  color: #fff;
  background: var(--brown-1);
  border-bottom: none;
  border-radius: 6px;
  padding: 5px 14px;
  margin-bottom: 8px;
}

/* =========================================================
   こげ茶の徹底 + 読みにくい文字の是正(2026-09-19 理事長指示)
   ①バッジ・タグの地はこげ茶、その上の文字は白
   ②淡いタン色だった小さな文字(英字サブ・肩書・見出し前の記号)はこげ茶へ
     ※タンは罫線・枠などの装飾だけに残す
   ========================================================= */

/* --- ①地がこげ茶・文字は白 --- */
.device-tag {
  background: var(--brown-1);
  border-bottom: none;
  color: #fff;
  box-shadow: 0 2px 6px rgba(90,72,48,.25);
}
.feat__no,
.class-card--high .class-card__badge,
.class-card--premium .class-card__badge,
.class-card__badge {
  background: var(--brown-1);
  color: #fff;
  border-bottom: none;
}
.class-card__badge { box-shadow: 0 6px 14px rgba(90,72,48,.28), 0 0 0 3px #fff; }
.class-card__badge .ico, .class-card__badge svg { color: #fff; fill: currentColor; stroke: currentColor; }
.feat__no { box-shadow: 0 6px 14px rgba(90,72,48,.22), 0 0 0 3px #fff; }
.tag-main { background: var(--brown-1); color: #fff; }

/* --- ②淡いタンだった文字をこげ茶に(小さい文字の可読性) --- */
h2[data-en]::after,
h2.sec-head[data-en]::after,
.section.cta h2[data-en]::after,
.class-card__label,
.class-card--high .class-card__label,
.class-card--premium .class-card__label,
.lead__eyebrow,
.clinic dt,
.banner__label,
.faq__item summary::before,
.faq__item summary::after,
.faq__answer p::before,
.footer h2 {
  color: var(--brown-1);
}
.risks ul li::marker { color: var(--brown-1); }
.breadcrumb, .breadcrumb a { color: #5B5147; }

/* --- メニューの重複を解消(2026-09-19 理事長指摘)
       1024px以上ではヘッダーナビと目次タブに同じ7項目が並んで二重に見えていた。
       ヘッダーナビ(固定表示で追従する)を残し、目次タブは1024px未満だけに表示する。 --- */
@media (min-width: 1024px) {
  .target-bar-wrap { display: none; }
}

/* --- 料金表(種類別・2026-09-25): 1列目の材料名は折り返し、料金・保証が初期表示で見えるように --- */
.lux--fee tbody th { white-space: normal; line-height: 1.45; min-width: 120px; }
.lux--fee tbody th small { display: block; margin-top: 3px; font-size: 11.5px; font-weight: 400; color: var(--cer-deep, #4A3323); opacity: .8; }
.lux--fee td { white-space: normal; }
.lux--fee td .num { white-space: nowrap; }

/* --- 種類カードは縦並び(2026-09-25 発注者指示: インレー→クラウン→ラミネートの順に縦に) --- */
.class-cards--stack, .class-cards.class-cards--stack { grid-template-columns: 1fr; max-width: 820px; }
@media (min-width: 1024px) { .class-cards.class-cards--stack { grid-template-columns: 1fr; } }

/* --- 種類カード: 画像を左・文字を右に(2026-09-25 発注者指示)。スマホは画像が上・文字が下 --- */
.class-card__photo { margin: 0; border-radius: 12px; overflow: hidden; background: #EFE8DC; aspect-ratio: 4 / 3; }
.class-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.class-card__body { min-width: 0; }
.class-cards--stack .class-card { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; }
@media (min-width: 720px) {
  .class-cards--stack .class-card { grid-template-columns: 300px 1fr; gap: 28px; align-items: center; }
  .class-cards--stack .class-card__price { margin-top: 12px; }
}

/* --- オーバーレイカード(2026-09-25): クラウンと同系の帯色・背景は白のまま --- */
.class-card--overlay { background: #fff; }


/* --- 写真なしの特徴カード(2026-09-26 理事長指示で画像のみ削除)
       .feat__no は写真の下端に重ねる前提で上に飛び出しているため、
       写真がないカードでは本文の内側に収める --- */
.feat--nophoto .feat__body { padding-top: 80px; }   /* 丸バッジ(44px)+上下の余白 */
.feat--nophoto .feat__no { top: 20px; }

/* =========================================================
   ページ内目次タブ(6個)をすっきりした見た目に(2026-09-26 理事長指示)
   立体的なグラデ+影のボタン → 細い輪郭線だけの平らなタブ。
   触れた項目だけこげ茶で塗りつぶす。
   ========================================================= */
.target-bar-wrap { background: #fff; border-bottom: 1px solid var(--beige-line); }
.target-bar { padding: 12px; gap: 8px; background: transparent; border-bottom: none; }
.target-bar a {
  padding: 8px 18px;
  font-family: var(--f-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--brown-1);
  background: transparent;
  border: 1px solid rgba(74,51,35,.3);
  border-radius: 999px;
  box-shadow: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.target-bar a .ico { width: 15px; height: 15px; color: currentColor; opacity: .65; }
.target-bar a:hover,
.target-bar a:focus-visible {
  background: var(--brown-1);
  color: #fff;
  border-color: var(--brown-1);
  transform: none;
  box-shadow: none;
}
.target-bar a:hover .ico, .target-bar a:focus-visible .ico { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .target-bar a { transition: none; } }

/* --- 初画面(2026-09-26): レイアウトは共通CSSの16:9のまま。
       写真が切れないよう、画像側を白余白つきの16:9に書き出して全体を収めている --- */

/* =========================================================
   初画面のレイアウト(2026-09-26 理事長指示)
   写真と文章を横並びにせず、**写真が上・説明が下**の1列に戻す。
   横並びのままだと写真枠の高さが文章に合わせて伸び、その高さから
   横幅が決まって列の外へはみ出し、右側が切れていた。
   ========================================================= */
@media (min-width: 768px) {
  .page-head__grid { grid-template-columns: minmax(0, 1fr); }
  .page-head__grid > * { min-width: 0; }
  .img-slot--kv { align-self: start; width: 100%; }
}

/* --- 目次タブのアイコンをナビゲーション見本(金の線画)に合わせる(2026-09-26) --- */
.target-bar a .ico { width: 18px; height: 18px; color: #A9873F; opacity: 1; stroke-width: 1.4; }
.target-bar a:hover .ico, .target-bar a:focus-visible .ico { color: #E8D5AC; }

/* =========================================================
   当院の特徴カード: マウスを乗せたら浮き上がって色が変わる
   (2026-09-26 理事長指示)
   ========================================================= */
.feat {
  transition: transform .25s ease, box-shadow .25s ease,
              background .25s ease, border-color .25s ease;
}
.feat__photo img { transition: transform .45s ease; }
.feat:hover,
.feat:focus-within {
  transform: translateY(-6px);
  background: linear-gradient(160deg, #ffffff 0%, var(--beige-2) 100%);
  border-color: var(--beige-line);
  box-shadow: 0 6px 12px rgba(90,72,48,.10), 0 22px 44px rgba(90,72,48,.20);
}
.feat:hover .feat__photo img,
.feat:focus-within .feat__photo img { transform: scale(1.04); }
.feat:hover .feat__no,
.feat:focus-within .feat__no { background: var(--brown-3); }
@media (prefers-reduced-motion: reduce) {
  .feat, .feat__photo img { transition: none; }
  .feat:hover, .feat:focus-within { transform: none; }
  .feat:hover .feat__photo img { transform: none; }
}

/* --- 初画面の写真に枠が入った素材(トップ画像.png)を使うため、
       CSS側の白枠・影・角丸装飾を外して二重枠にならないようにする(2026-09-26) --- */
.img-slot--kv { border: none; box-shadow: none; background: transparent; }
.img-slot--kv::after { display: none; }

/* --- 初画面の説明部分: 一番外の枠(白〜アイボリーの箱)を外して文字だけにする
       (2026-09-26 理事長指示)。中の項目カード・チェック行・ボタンはそのまま --- */
.page-head .lead {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
}
/* 16:9に収めると左右に白い帯が出て「外枠」に見えるため、素材の比率(3:2)のまま表示する */
.page-head .img-slot--kv { aspect-ratio: 3 / 2; border: none; box-shadow: none; border-radius: 0; background: transparent; }
.page-head .img-slot--kv img { object-fit: contain; }

/* --- 文字を少しだけ大きくする(2026-09-26 理事長指示)
       基準を16px→17pxにし、本文・カード内の文章・箇条書きを1段上げる。
       見出し・タグ・注記はそのまま --- */
body { font-size: 17px; }
.section > p,
.lead__intro,
.feat__body p,
.class-card ul,
.class-card p,
.staff-card p,
.faq__answer p,
.age-card p,
.flow__steps li { font-size: 16.5px; }
.lead__badges li,
.target-links a { font-size: 16px; }
.feat__body h3,
.class-card h3,
.staff-card h3 { font-size: 19px; }

/* --- 初画面のフレームを浮き上がらせる(2026-09-29 理事長指示)
       画像側に面取り(ベベル)を入れたうえで、ページ側にも影を付けて立体に見せる --- */
.page-head .img-slot--kv {
  box-shadow: 0 2px 4px rgba(90,72,48,.10),
              0 14px 28px rgba(90,72,48,.20),
              0 28px 56px rgba(90,72,48,.12);
  transition: transform .3s ease, box-shadow .3s ease;
}
.page-head .img-slot--kv:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(90,72,48,.12),
              0 20px 38px rgba(90,72,48,.24),
              0 38px 70px rgba(90,72,48,.14);
}
@media (prefers-reduced-motion: reduce) {
  .page-head .img-slot--kv { transition: none; }
  .page-head .img-slot--kv:hover { transform: none; }
}

/* --- 料金(税込)と保証期間の表を明朝体にする(2026-09-29 理事長指示) --- */
#fees .table-scroll table,
#fees .table-scroll th,
#fees .table-scroll td,
#fees .lab-note {
  font-family: var(--f-serif);
}
#fees .table-scroll td.price,
#fees .table-scroll td .num { font-family: var(--f-serif); letter-spacing: .02em; }
#fees .table-scroll th { letter-spacing: .06em; }

/* =========================================================
   治療の流れ・回数と期間: こげ茶を使って分かりやすく
   (2026-09-29 理事長指示)
   ①見出しはこげ茶の帯。治療名と「通院回数/期間」を左右に分ける
   ②手順は縦のタイムライン。こげ茶の番号玉を線でつなぐ
   ③補足は左にこげ茶の縦線を入れて注意書きと分かるように
   ========================================================= */
.flow .flow__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  background: var(--brown-1);
  border-left: none;
  border-radius: 10px;
  padding: 13px 18px;
  margin-bottom: var(--space-3);
  font-family: var(--f-serif);
  font-size: 18px;
  color: #fff;
}
.flow .flow__what { letter-spacing: .04em; }
.flow .flow__meta {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--brown-3);
  background: #F3E7C8;
  border-radius: 999px;
  padding: 5px 14px;
  white-space: nowrap;
}
.flow .flow__meta i { font-style: normal; opacity: .5; margin: 0 6px; }

/* --- 手順: 縦のタイムライン --- */
.flow__steps { position: relative; }
.flow__steps li {
  padding: var(--space-3) var(--space-3) var(--space-3) 68px;
  border: 1px solid var(--beige-line);
  border-left: 4px solid var(--brown-1);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(90,72,48,.05), 0 8px 18px rgba(90,72,48,.07);
}
.flow__steps li::before {
  top: 22px;
  transform: none;
  left: 18px;
  width: 34px;
  height: 34px;
  font-family: var(--f-serif);
  font-size: 16px;
  background: var(--brown-1);
  color: #fff;
  box-shadow: 0 0 0 4px #fff, 0 0 0 5px rgba(201,162,39,.55);
}
/* 番号どうしをつなぐ縦線 */
.flow__steps li::after {
  content: "";
  position: absolute;
  left: 34px;
  top: 60px;
  bottom: -18px;
  width: 2px;
  background: rgba(74,51,35,.16);
}
.flow__steps li:last-child::after { display: none; }
.flow__steps li strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--f-serif);
  font-size: 17px;
  color: var(--brown-3);
}
.flow__steps li br { display: none; }

/* --- 補足(注意書き) --- */
.flow__terms li {
  background: var(--beige-1);
  border: 1px solid var(--beige-line);
  border-left: 3px solid var(--brown-1);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14.5px;
  color: var(--color-text);
}
