/* ============================================================
   main.css — ソケプリ LP-B（リスク警告型）用 共通スタイル
   tone-and-manner.md に完全準拠
   ベース: LP-A の main.css を複製し、LP-B 固有セクション用スタイルを追加
   ============================================================ */

/* ---------- CSS変数（トンマナ準拠） ---------- */
:root {
  /* プライマリ */
  --color-primary: #0b5da2;
  --color-primary-hover: #094a84;
  /* セカンダリ */
  --color-gold: #b8a472;
  --color-red: #d4534e;
  /* テキスト */
  --color-text-heading: #333;
  --color-text-body: #555;
  --color-text-sub: #777;
  --color-text-muted: #999;
  /* 背景 */
  --color-bg-base: #fff;
  --color-bg-section: #f7f6f2;
  --color-bg-hover: #f9f9f9;
  --color-border: #e5e5e5;
  --color-border-dotted: #ddd;
  /* ダーク */
  --color-dark-bg: #1a2a3a;
  --color-dark-text: #fff;
  --color-dark-text-sub: #9ab;

  /* タイポグラフィ */
  --font-jp: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic",
             "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro",
             "メイリオ", Meiryo, sans-serif;
  --font-en: 'Times New Roman', 'Georgia', serif;

  /* サイズ・間隔 */
  --container-max: 960px;
  --section-padding-sp: 40px 16px;
  --section-padding-pc: 60px 20px;
}

/* ---------- ベース ---------- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-jp);
  font-size: 16px;
  color: var(--color-text-body);
  background: var(--color-bg-base);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 768px) {
  body {
    font-size: 18px;
  }
}

/* ---------- コンテナ ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

/* ---------- セクション共通 ---------- */
.section {
  padding: 40px 16px;
}

@media (min-width: 768px) {
  .section {
    padding: 60px 20px;
  }
}

.section--warm {
  background: var(--color-bg-section);
}

.section--dark {
  background: var(--color-dark-bg);
  color: var(--color-dark-text);
}

/* Day 1-3 段階のセクション境界可視化（Day 4-7 で整える） */
.section + .section {
  border-top: 1px solid var(--color-border);
}

/* ---------- 見出し ---------- */
.section__heading {
  text-align: center;
  max-width: var(--container-max);
  margin: 0 auto 32px;
}

.section__label {
  font-family: var(--font-en);
  color: var(--color-gold);
  font-size: 13px;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .section__label {
    font-size: 15px;
  }
}

.section__title {
  font-family: var(--font-jp);
  font-weight: bold;
  color: var(--color-text-heading);
  font-size: 26px;
  line-height: 1.6;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .section__title {
    font-size: 32px;
  }
}

.section__title span {
  color: var(--color-primary);
}

.section__subtitle {
  font-size: 16px;
  color: var(--color-text-body);
  line-height: 1.8;
}

@media (min-width: 768px) {
  .section__subtitle {
    font-size: 18px;
  }
}

/* ---------- ボタン（プライマリ） ---------- */
.btn {
  display: inline-block;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.05em;
  border-radius: 4px;
  text-align: center;
  transition: background 0.2s ease;
  cursor: pointer;
}

@media (min-width: 768px) {
  .btn {
    padding: 16px 40px;
    font-size: 18px;
  }
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-primary-hover);
}

.btn--accent {
  background: var(--color-red);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn--block {
  display: block;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

/* 2行ボタン: メインアクション + サブ説明 */
.btn--two-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  line-height: 1.3;
  padding: 14px 20px 12px;
}

.btn__main {
  font-size: 17px;
  font-weight: bold;
  letter-spacing: 0.02em;
}

.btn__sub {
  font-size: 12px;
  font-weight: normal;
  opacity: 0.85;
  letter-spacing: 0.04em;
}

@media (min-width: 768px) {
  .btn--two-line {
    padding: 16px 24px 14px;
  }
  .btn__main {
    font-size: 19px;
  }
  .btn__sub {
    font-size: 13px;
  }
}

/* ---------- リンク ---------- */
a.link {
  color: var(--color-primary);
  text-decoration: underline;
}

a.link:hover {
  text-decoration: none;
}

/* ---------- 電話番号 PC/SP 切替 ---------- */
.phone-pc { display: none; }
.phone-sp { display: inline; }

@media (min-width: 768px) {
  .phone-pc { display: inline; }
  .phone-sp { display: none; }
}

/* ---------- セクション末尾 簡易CTA ---------- */
.section-cta {
  text-align: center;
  margin-top: 36px;
  padding: 28px 20px;
  background: var(--color-bg-section);
  border-radius: 8px;
}

.section-cta__text {
  margin-bottom: 16px;
  color: var(--color-text-body);
}

/* ---------- ユーティリティ ---------- */
.u-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.u-mb-16 { margin-bottom: 16px; }
.u-mb-24 { margin-bottom: 24px; }
.u-mb-32 { margin-bottom: 32px; }

/* ============================================================
   ▼ Day 1-3 段階の暫定セクション区別スタイル（Day 4-7 で削除予定） ▼
   ワイヤーフレーム段階でセクション境界を視認するための仮スタイル
   ============================================================ */
.section[data-section] {
  position: relative;
}

.section[data-section]::before {
  content: attr(data-section);
  position: absolute;
  top: 8px;
  left: 8px;
  font-family: var(--font-en);
  font-size: 11px;
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
  opacity: 0.6;
  pointer-events: none;
}

/* ============================================================
   ▼▼ 2026-04-11 バグ修正対応 応急スタイル ▼▼
   本来 Day 4-7 で本格実装予定だった FV・他セクションの最低限の
   レイアウトを前倒し実装。Day 4-7 で上書き・差し替え予定。
   方針:
     - 「見られる状態」への応急修正
     - トンマナ（tone-and-manner.md）準拠
     - 過剰なスタイリングはしない
   ============================================================ */

/* ---------- [FV] Hero ---------- */
.hero.section {
  padding: 0;
  /* 背景画像が未調達のため、ブランドブルーのグラデ＋微細パターンで代替 */
  background:
    linear-gradient(135deg, rgba(11, 93, 162, 0.92) 0%, rgba(9, 74, 132, 0.96) 100%),
    radial-gradient(circle at 80% 20%, rgba(184, 164, 114, 0.18) 0%, transparent 50%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero__inner {
  padding: 72px 20px 56px;
  text-align: center;
  max-width: var(--container-max);
  margin: 0 auto;
}

@media (min-width: 768px) {
  .hero__inner {
    padding: 120px 20px 96px;
  }
}

.hero__lead {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  font-weight: normal;
}

@media (min-width: 768px) {
  .hero__lead {
    font-size: 15px;
    margin-bottom: 28px;
  }
}

.hero__headline {
  font-family: var(--font-jp);
  font-size: 30px;
  font-weight: bold;
  line-height: 1.45;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

@media (min-width: 768px) {
  .hero__headline {
    font-size: 48px;
    line-height: 1.4;
    margin-bottom: 32px;
  }
}

.hero__sub {
  font-size: 17px;
  line-height: 1.8;
  color: #fff;
  margin-bottom: 20px;
  font-weight: normal;
}

@media (min-width: 768px) {
  .hero__sub {
    font-size: 21px;
    margin-bottom: 28px;
  }
}

.hero__description {
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.92);
  max-width: 680px;
  margin: 0 auto 32px;
  text-align: left;
}

@media (min-width: 768px) {
  .hero__description {
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
  }
}

.hero__cta {
  margin-top: 8px;
}

/* Hero内のCTAボタンは白背景で反転させ、濃紺背景に映えるように */
.hero__cta .btn--primary {
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.hero__cta .btn--primary:hover {
  background: #f2f6fb;
  color: var(--color-primary-hover);
}

.hero__cta-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 14px;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .hero__cta-note {
    font-size: 14px;
  }
}

@media (min-width: 768px) {
  .hero__cta-note {
    font-size: 13px;
  }
}

/* FV直後の trust-bar は区切り線を消す（暗背景が連続するため） */
.hero + .trust-bar {
  border-top: none;
}

/* ---------- [1] Target checklist ---------- */
.target-checklist__lead {
  max-width: 760px;
  margin: 0 auto 28px;
}

.target-checklist__list {
  max-width: 720px;
  margin: 0 auto 24px;
  padding: 0;
}

.target-checklist__item {
  position: relative;
  padding: 14px 16px 14px 44px;
  border-bottom: 1px dotted var(--color-border-dotted);
  line-height: 1.7;
}

.target-checklist__item::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 14px;
  width: 22px;
  height: 22px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  line-height: 22px;
  text-align: center;
  font-weight: bold;
}

.target-checklist__note {
  font-size: 14px;
  color: var(--color-text-sub);
  max-width: 760px;
  margin: 20px auto 0;
  padding: 14px 16px;
  background: #fff;
  border-left: 3px solid var(--color-border);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .target-checklist__note {
    font-size: 16px;
  }
}

/* ---------- [2] Empathy ---------- */
.empathy__body > * + * {
  margin-top: 18px;
}

.empathy__lead {
  font-size: 17px;
  font-weight: bold;
  color: var(--color-text-heading);
  line-height: 1.8;
}

@media (min-width: 768px) {
  .empathy__lead {
    font-size: 20px;
  }
}

.empathy__message {
  padding: 16px 20px;
  background: var(--color-bg-hover);
  border-left: 3px solid var(--color-primary);
  border-radius: 2px;
}

/* ---------- [3] Re-evaluation ---------- */
.re-evaluation__body {
  max-width: 760px;
  margin: 0 auto 28px;
}

.re-evaluation__subtitle,
.socket-preservation__subtitle {
  font-size: 20px;
  font-weight: bold;
  color: var(--color-text-heading);
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary);
}

@media (min-width: 768px) {
  .re-evaluation__subtitle,
  .socket-preservation__subtitle {
    font-size: 24px;
  }
}

.re-evaluation__points,
.socket-preservation__benefits {
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
}

.re-evaluation__points li,
.socket-preservation__benefits li {
  padding: 16px 0 16px 28px;
  border-bottom: 1px dotted var(--color-border-dotted);
  line-height: 1.8;
  position: relative;
}

.re-evaluation__points li::before,
.socket-preservation__benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  width: 12px;
  height: 12px;
  background: var(--color-primary);
  border-radius: 50%;
}

.re-evaluation__points strong,
.socket-preservation__benefits strong {
  color: var(--color-text-heading);
  font-size: 16px;
}

/* ---------- [5] Authority (dark) ---------- */
.authority p {
  max-width: 760px;
  margin: 0 auto 18px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.9;
}

/* ---------- [6] Options / [7] Socket-preservation 本文 ---------- */
.options p,
.socket-preservation p {
  max-width: 760px;
  margin: 0 auto 18px;
}

/* ---------- [8] Treatment flow ---------- */
.treatment-flow__list {
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  counter-reset: none;
}

.treatment-flow__list li {
  position: relative;
  padding: 20px 16px 20px 20px;
  border-left: 3px solid var(--color-primary);
  background: var(--color-bg-hover);
  margin-bottom: 14px;
  border-radius: 0 4px 4px 0;
}

.treatment-flow__step {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--color-primary);
  font-weight: bold;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

.treatment-flow__list h3 {
  font-size: 17px;
  font-weight: bold;
  color: var(--color-text-heading);
  margin-bottom: 6px;
}

@media (min-width: 768px) {
  .treatment-flow__list h3 {
    font-size: 19px;
  }
}

.treatment-flow__list p {
  font-size: 16px;
  color: var(--color-text-body);
  line-height: 1.8;
}

@media (min-width: 768px) {
  .treatment-flow__list p {
    font-size: 18px;
  }
}

/* ---------- [9] Cost & Risk ---------- */
.cost-risk h3 {
  font-size: 18px;
  font-weight: bold;
  color: var(--color-text-heading);
  margin: 28px 0 14px;
}

@media (min-width: 768px) {
  .cost-risk h3 {
    font-size: 20px;
  }
}

.cost-risk__table {
  width: 100%;
  max-width: 760px;
  margin: 0 auto 20px;
  border-top: 1px solid var(--color-border);
}

.cost-risk__table th,
.cost-risk__table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  font-size: 16px;
  line-height: 1.8;
  vertical-align: top;
}

@media (min-width: 768px) {
  .cost-risk__table th,
  .cost-risk__table td {
    padding: 16px 16px;
    font-size: 18px;
  }
}

.cost-risk__table th {
  background: #fff;
  font-weight: bold;
  color: var(--color-text-heading);
  width: 40%;
}

/* モバイル: 費用テーブルも縦積みで読みやすく */
@media (max-width: 767px) {
  .cost-risk__table {
    border-top: none;
  }

  .cost-risk__table tbody,
  .cost-risk__table tr,
  .cost-risk__table th,
  .cost-risk__table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .cost-risk__table tr {
    margin-bottom: 14px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    overflow: hidden;
  }

  .cost-risk__table tr:last-child {
    margin-bottom: 0;
  }

  .cost-risk__table th {
    background: var(--color-bg-section);
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-border);
    font-size: 14px;
    width: 100%;
  }

  .cost-risk__table td {
    padding: 14px 16px;
    border-bottom: none;
    font-size: 16px;
  }
}

.cost-risk__risks {
  max-width: 760px;
  margin: 0 auto 16px;
  padding: 16px 20px 16px 40px;
  background: #fff;
  border-left: 3px solid var(--color-red);
  border-radius: 2px;
}

.cost-risk__risks li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  line-height: 1.8;
  font-size: 16px;
}

@media (min-width: 768px) {
  .cost-risk__risks li {
    font-size: 18px;
  }
}

.cost-risk__risks li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-red);
  font-weight: bold;
}

.cost-risk__note {
  max-width: 760px;
  margin: 16px auto 0;
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.8;
}

@media (min-width: 768px) {
  .cost-risk__note {
    font-size: 16px;
  }
}

/* ---------- [10] FAQ （アコーディオン式） ---------- */
.faq-list {
  padding: 0;
  margin: 0 auto;
  max-width: 760px;
  list-style: none;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: 4px;
  margin-bottom: 12px;
  background: #fff;
  padding: 0;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.faq-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.faq-item__question {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 18px 20px 18px 52px;
  background: transparent;
  border: none;
  font: inherit;
  color: var(--color-text-heading);
  font-size: 16px;
  font-weight: bold;
  line-height: 1.7;
  text-align: left;
  cursor: pointer;
  position: relative;
  margin: 0;
}

@media (min-width: 768px) {
  .faq-item__question {
    font-size: 18px;
    padding: 20px 24px 20px 56px;
  }
}

.faq-item__question::before {
  content: "Q";
  position: absolute;
  left: 16px;
  top: 18px;
  width: 24px;
  height: 24px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  font-family: var(--font-en);
  font-size: 13px;
  line-height: 24px;
  text-align: center;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .faq-item__question::before {
    top: 20px;
  }
}

.faq-item__q-text {
  flex: 1;
}

.faq-item__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  position: relative;
  margin-top: 6px;
  transition: transform 0.25s ease;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--color-primary);
}

.faq-item__icon::before {
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq-item__icon::after {
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.faq-item__question[aria-expanded="true"] .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-item__question:hover {
  background: var(--color-bg-hover);
}

.faq-item__question:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
}

.faq-item__answer {
  padding: 0 20px 18px 52px;
  position: relative;
  color: var(--color-text-body);
  font-size: 16px;
  line-height: 1.9;
}

@media (min-width: 768px) {
  .faq-item__answer {
    font-size: 18px;
    padding: 0 24px 22px 56px;
  }
}

.faq-item__answer::before {
  content: "A";
  position: absolute;
  left: 16px;
  top: 0;
  width: 24px;
  height: 24px;
  background: var(--color-red);
  color: #fff;
  border-radius: 50%;
  font-family: var(--font-en);
  font-size: 13px;
  line-height: 24px;
  text-align: center;
}

.faq-item__answer[hidden] {
  display: none;
}

.faq-item__answer p {
  margin: 0;
}

/* ---------- [11] Doctor profile ---------- */
.doctor-profile__inner {
  max-width: 760px;
}

.doctor-profile__name {
  font-size: 14px;
  color: var(--color-text-sub);
  margin-bottom: 18px;
  line-height: 1.7;
}

.doctor-profile__name strong {
  display: inline-block;
  font-size: 20px;
  color: var(--color-text-heading);
  margin-top: 4px;
}

.doctor-profile__body > p + p {
  margin-top: 16px;
}

.doctor-profile__message {
  padding: 16px 20px;
  background: #fff;
  border-left: 3px solid var(--color-primary);
  border-radius: 2px;
}

/* ---------- [12] Clinic info ---------- */
.clinic-card {
  max-width: 760px;
  margin: 0 auto 20px;
  padding: 20px 20px;
  background: var(--color-bg-hover);
  border: 1px solid var(--color-border);
  border-radius: 4px;
}

.clinic-card__name {
  font-size: 18px;
  font-weight: bold;
  color: var(--color-text-heading);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary);
}

.clinic-card__info {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 8px 12px;
  font-size: 15px;
  line-height: 1.8;
}

@media (min-width: 768px) {
  .clinic-card__info {
    font-size: 17px;
  }
}

.clinic-card__info dt {
  color: var(--color-text-sub);
  font-weight: bold;
}

.clinic-card__info dd {
  margin: 0;
  color: var(--color-text-body);
}

/* ---------- [13] Reservation form ---------- */
.reservation-form__form {
  max-width: 640px;
  margin: 0 auto 32px;
  padding: 24px 20px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  font-size: 14px;
  font-weight: bold;
  color: var(--color-text-heading);
  margin-bottom: 6px;
}

.form-required {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  background: var(--color-red);
  color: #fff;
  font-size: 11px;
  border-radius: 2px;
  font-weight: normal;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  background: #fff;
  font-size: 15px;
  line-height: 1.6;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: -1px;
  border-color: var(--color-primary);
}

.reservation-form__privacy {
  font-size: 12px;
  color: var(--color-text-sub);
  line-height: 1.7;
  margin: 16px 0 20px;
  padding: 12px 14px;
  background: var(--color-bg-section);
  border-radius: 2px;
}

.reservation-form__phone-block {
  max-width: 640px;
  margin: 32px auto 0;
  text-align: center;
  padding-top: 24px;
  border-top: 1px dotted var(--color-border-dotted);
}

.reservation-form__phone-lead {
  font-size: 14px;
  color: var(--color-text-body);
  margin-bottom: 12px;
}

.reservation-form__phone-block .phone-pc {
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: bold;
  color: var(--color-primary);
  letter-spacing: 0.04em;
}

.reservation-form__phone-hours {
  font-size: 12px;
  color: var(--color-text-sub);
  margin-top: 10px;
}

/* ---------- [固定CTA] cta-fixed ---------- */
.cta-fixed {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  background: #fff;
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

.cta-fixed__web {
  flex: 1;
  display: block;
  padding: 14px 10px;
  background: var(--color-primary);
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
}

.cta-fixed__web:hover {
  background: var(--color-primary-hover);
}

.cta-fixed__phone-sp.phone-sp {
  flex: 1;
  padding: 14px 10px;
  background: var(--color-red);
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
}

.cta-fixed__phone-pc.phone-pc {
  padding: 14px 20px;
  color: var(--color-primary);
  font-weight: bold;
  font-size: 16px;
}

/* PC では固定CTAは控えめに（必要なら Day 4-7 で見直し） */
@media (min-width: 768px) {
  .cta-fixed {
    justify-content: flex-end;
    padding: 8px 16px;
  }
  .cta-fixed__web {
    flex: 0 0 auto;
    max-width: 280px;
    border-radius: 4px;
  }
}

/* 固定CTAの高さ分、本文末尾に余白を確保 */
body {
  padding-bottom: 72px;
}

/* ---------- [Footer] ---------- */
.site-footer {
  text-align: center;
}

.site-footer__logo {
  margin: 0 auto 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 16px 28px;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.site-footer__logo img {
  height: 44px;
  width: auto;
  display: block;
}

.site-footer {
  text-align: center;
}

@media (min-width: 768px) {
  .site-footer__logo {
    padding: 18px 32px;
    margin-bottom: 28px;
  }
  .site-footer__logo img {
    height: 52px;
  }
}

.site-footer__clinic {
  font-size: 15px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 10px;
}

.site-footer__copy {
  font-size: 12px;
  color: var(--color-dark-text-sub);
  margin-bottom: 14px;
}

.site-footer__links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 0;
}

.site-footer__links a.link {
  color: var(--color-dark-text-sub);
  font-size: 13px;
}

.site-footer__links a.link:hover {
  color: #fff;
}

/* ============================================================
   ▼▼▼ LP-B 固有スタイル ここから ▼▼▼
   ============================================================ */

/* ---------- 画像プレースホルダー（視認配置） ----------
   本番では実画像に差し替える。現段階では視認可能なプレースホルダー。
   ============================================================ */
.image-placeholder {
  width: 100%;
  max-width: 760px;
  margin: 0 auto 24px;
  background: #e5e7eb;
  border: 1px dashed #9ca3af;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.7;
  padding: 24px 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  /* アスペクト比（デフォルト 16:9） */
  aspect-ratio: 16 / 9;
}

@media (min-width: 768px) {
  .image-placeholder {
    font-size: 14px;
  }
}

.image-placeholder__label {
  display: inline-block;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 4px;
  max-width: 90%;
}

/* FV背景用プレースホルダー（hero 領域にオーバーレイ） */
.image-placeholder--hero {
  position: absolute;
  inset: 0;
  max-width: none;
  margin: 0;
  border-radius: 0;
  aspect-ratio: auto;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  color: rgba(255, 255, 255, 0.6);
  border: none;
  box-shadow: none;
  z-index: 0;
  opacity: 0.25;
  /* flex-center を解除してラベルをコーナー配置可能にする */
  display: block;
  padding: 0;
}

.image-placeholder--hero .image-placeholder__label {
  position: absolute;
  bottom: 12px;
  right: 12px;
  left: auto;
  top: auto;
  transform: none;
  background: rgba(0, 0, 0, 0.55);
  color: rgba(255, 255, 255, 0.85);
  font-size: 10px;
  line-height: 1.5;
  padding: 6px 10px;
  max-width: 260px;
  text-align: left;
  border-radius: 4px;
}

@media (min-width: 768px) {
  .image-placeholder--hero .image-placeholder__label {
    font-size: 11px;
    bottom: 20px;
    right: 20px;
    max-width: 320px;
  }
}

.image-placeholder--infographic {
  aspect-ratio: 16 / 9;
  background: #eef2f6;
  border-color: #b8c2cc;
}

.image-placeholder--mechanism {
  aspect-ratio: 16 / 9;
  background: #f3efe5;
  border-color: #c7b896;
}

.image-placeholder--dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.75);
}

.image-placeholder--dark .image-placeholder__label {
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.85);
}

.image-placeholder--doctor {
  max-width: 260px;
  aspect-ratio: 4 / 5;
  margin: 0 auto 24px;
}

.image-placeholder--clinic {
  aspect-ratio: 16 / 9;
  max-width: 720px;
  margin: 0 auto 16px;
}

/* ---------- [FV] Hero（LP-B: リスク警告型 / 暗めトーン） ---------- */
.hero--risk.section {
  /* 画像未読み込み時のフォールバック下地として暗めグラデを保持 */
  background:
    linear-gradient(135deg, rgba(20, 30, 45, 0.96) 0%, rgba(11, 18, 30, 0.98) 100%),
    radial-gradient(circle at 85% 15%, rgba(184, 164, 114, 0.14) 0%, transparent 50%);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Hero背景画像レイヤー（nanobanana生成） */
.hero--risk .hero__bg-picture {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  display: block;
}

.hero--risk .hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* LP-B は既に画像自体が暗めトーン + ゴールド粒子のため、オーバーレイは軽め */
.hero--risk .hero__overlay--soft {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(10, 15, 25, 0.28) 0%,
    rgba(10, 15, 25, 0.22) 50%,
    rgba(10, 15, 25, 0.35) 100%
  );
  pointer-events: none;
}

.hero--risk .hero__inner {
  position: relative;
  z-index: 2;
}

.hero--risk .hero__headline {
  color: #fff;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

.hero--risk .hero__lead {
  color: rgba(255, 255, 255, 0.7);
}

.hero--risk .hero__sub {
  color: rgba(255, 255, 255, 0.88);
}

.hero--risk .hero__description {
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- [2] 問題提起（4つのリスク） ---------- */
.problem-list {
  max-width: 820px;
  margin: 0 auto;
  padding: 0;
  counter-reset: problem;
}

.problem-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-red);
  border-radius: 4px;
  padding: 24px 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

@media (min-width: 768px) {
  .problem-item {
    padding: 28px 28px;
  }
}

.problem-item__header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.problem-item__num {
  flex: 0 0 auto;
  display: inline-block;
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: bold;
  color: var(--color-red);
  line-height: 1;
  padding-top: 4px;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .problem-item__num {
    font-size: 28px;
  }
}

.problem-item__title {
  font-size: 17px;
  font-weight: bold;
  color: var(--color-text-heading);
  line-height: 1.6;
  margin: 0;
}

@media (min-width: 768px) {
  .problem-item__title {
    font-size: 20px;
  }
}

.problem-item__body p {
  color: var(--color-text-body);
  line-height: 1.9;
  margin-top: 10px;
}

.problem-item__source {
  margin-top: 12px;
  padding: 10px 14px;
  background: var(--color-bg-section);
  border-radius: 2px;
  font-size: 13px;
  color: var(--color-text-sub);
  line-height: 1.8;
}

@media (min-width: 768px) {
  .problem-item__source {
    font-size: 15px;
  }
}

.problem-item__source em {
  font-style: italic;
  color: var(--color-text-body);
}

.problem-item__note {
  margin-top: 10px;
  font-size: 13px;
  color: var(--color-text-sub);
  line-height: 1.8;
}

@media (min-width: 768px) {
  .problem-item__note {
    font-size: 15px;
  }
}

/* ---------- [3] 時間軸リスク ---------- */
.time-axis__list {
  max-width: 820px;
  margin: 32px auto 0;
  padding: 0;
  position: relative;
}

.time-axis__list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 18px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-red));
}

@media (min-width: 768px) {
  .time-axis__list::before {
    left: 22px;
  }
}

.time-axis__item {
  position: relative;
  padding: 0 0 24px 52px;
  list-style: none;
}

@media (min-width: 768px) {
  .time-axis__item {
    padding-left: 66px;
  }
}

.time-axis__item:last-child {
  padding-bottom: 0;
}

.time-axis__marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  background: #fff;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  color: var(--color-primary);
  font-size: 10px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.1;
  padding: 4px;
}

@media (min-width: 768px) {
  .time-axis__marker {
    width: 46px;
    height: 46px;
    font-size: 11px;
  }
}

.time-axis__item:nth-child(3) .time-axis__marker,
.time-axis__item:nth-child(4) .time-axis__marker {
  border-color: var(--color-red);
  color: var(--color-red);
}

.time-axis__body {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 16px 18px;
}

.time-axis__body h3 {
  font-size: 16px;
  font-weight: bold;
  color: var(--color-text-heading);
  margin-bottom: 8px;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .time-axis__body h3 {
    font-size: 18px;
  }
}

.time-axis__body p {
  font-size: 16px;
  color: var(--color-text-body);
  line-height: 1.9;
}

@media (min-width: 768px) {
  .time-axis__body p {
    font-size: 18px;
  }
}

.time-axis__note {
  max-width: 820px;
  margin: 24px auto 0;
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.8;
  padding: 12px 14px;
  background: #fff;
  border-left: 3px solid var(--color-border);
}

@media (min-width: 768px) {
  .time-axis__note {
    font-size: 16px;
  }
}

/* ---------- [4] 治療選択肢マトリクス ---------- */
.treatment-matrix__wrap {
  max-width: 820px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.treatment-matrix__table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
}

.treatment-matrix__table thead th {
  background: var(--color-primary);
  color: #fff;
  padding: 14px 12px;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

@media (min-width: 768px) {
  .treatment-matrix__table thead th {
    font-size: 17px;
    padding: 18px 16px;
  }
}

.treatment-matrix__table thead th:last-child {
  border-right: none;
}

.treatment-matrix__th-sub {
  display: block;
  font-size: 11px;
  font-weight: normal;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 2px;
}

@media (min-width: 768px) {
  .treatment-matrix__th-sub {
    font-size: 12px;
  }
}

.treatment-matrix__table tbody tr {
  border-bottom: 1px solid var(--color-border);
}

.treatment-matrix__table tbody tr:last-child {
  border-bottom: none;
}

.treatment-matrix__table tbody th {
  background: var(--color-bg-section);
  padding: 14px 12px;
  font-size: 16px;
  font-weight: bold;
  color: var(--color-text-heading);
  text-align: center;
  width: 28%;
  border-right: 1px solid var(--color-border);
}

@media (min-width: 768px) {
  .treatment-matrix__table tbody th {
    font-size: 18px;
    padding: 20px 14px;
  }
}

.treatment-matrix__table tbody td {
  padding: 14px 12px;
  font-size: 15px;
  line-height: 1.8;
  text-align: center;
  vertical-align: middle;
  border-right: 1px solid var(--color-border);
}

@media (min-width: 768px) {
  .treatment-matrix__table tbody td {
    font-size: 17px;
    padding: 20px 16px;
  }
}

.treatment-matrix__table tbody td:last-child {
  border-right: none;
}

.treatment-matrix__risk {
  display: inline-block;
  color: var(--color-red);
  line-height: 1.7;
}

.treatment-matrix__benefit {
  display: inline-block;
  color: var(--color-primary);
  line-height: 1.7;
  font-weight: bold;
}

.treatment-matrix__note {
  max-width: 820px;
  margin: 18px auto 0;
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.8;
  padding: 12px 14px;
  background: #fff;
  border-left: 3px solid var(--color-border);
}

@media (min-width: 768px) {
  .treatment-matrix__note {
    font-size: 16px;
  }
}

/* ============================================================
   [4] 治療選択肢マトリクス - モバイル用カードレイアウト
   高齢者も含むターゲット層に配慮し、
   横スクロールテーブルを縦積みカードに変換。
   Desktop（≥768px）はテーブル、Mobile（<768px）はカード。
   ============================================================ */
@media (max-width: 767px) {
  .treatment-matrix__wrap {
    overflow-x: visible;
    -webkit-overflow-scrolling: auto;
    padding: 0;
  }

  .treatment-matrix__table {
    display: block;
    min-width: 0;
    width: 100%;
    border: none;
    background: transparent;
    border-radius: 0;
    overflow: visible;
  }

  /* ヘッダー行は非表示（data-label でセル内に表示） */
  .treatment-matrix__table thead {
    display: none;
  }

  .treatment-matrix__table tbody {
    display: block;
    width: 100%;
  }

  /* 各行を独立したカードに変換 */
  .treatment-matrix__table tbody tr {
    display: block;
    width: 100%;
    margin-bottom: 16px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  }

  .treatment-matrix__table tbody tr:last-child {
    margin-bottom: 0;
    border-bottom: 1px solid var(--color-border);
  }

  /* 行ヘッダー（治療名）をカードヘッダーに */
  .treatment-matrix__table tbody th {
    display: block;
    width: 100%;
    background: var(--color-primary);
    color: #fff;
    padding: 14px 18px;
    font-size: 17px;
    font-weight: bold;
    text-align: left;
    border-right: none;
  }

  /* td を縦積みセルに */
  .treatment-matrix__table tbody td {
    display: block;
    width: 100%;
    padding: 14px 18px;
    text-align: left;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    vertical-align: top;
  }

  .treatment-matrix__table tbody td:last-child {
    border-bottom: none;
  }

  /* data-label で「ソケプリなし/あり」を各セルに表示 */
  .treatment-matrix__table tbody td::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    font-weight: bold;
    color: var(--color-text-sub);
    margin-bottom: 6px;
    letter-spacing: 0.04em;
  }

  /* 「ソケプリありの場合」のセルは背景色で差別化 */
  .treatment-matrix__table tbody td[data-label*="あり"] {
    background: #f2f7fc;
  }

  .treatment-matrix__table tbody td[data-label*="あり"]::before {
    color: var(--color-primary);
  }

  /* セル内テキストサイズを調整（<br>は改行として残すが、幅が狭いためリセット可） */
  .treatment-matrix__risk,
  .treatment-matrix__benefit {
    display: block;
    font-size: 14px;
    line-height: 1.7;
  }

  .treatment-matrix__risk br,
  .treatment-matrix__benefit br {
    display: none;
  }
}

/* ---------- [5] 3層事実構造 ---------- */
.layer-structure {
  max-width: 820px;
  margin: 32px auto 28px;
}

.layer-structure__row {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 18px 18px 18px 86px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

@media (min-width: 768px) {
  .layer-structure__row {
    padding: 22px 24px 22px 120px;
  }
}

.layer-structure__row--emphasis {
  border-color: var(--color-primary);
  border-width: 2px;
  background: #fafdff;
}

.layer-structure__num {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 58px;
  text-align: center;
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--color-gold);
  font-weight: bold;
  letter-spacing: 0.06em;
}

@media (min-width: 768px) {
  .layer-structure__num {
    left: 20px;
    width: 80px;
    font-size: 14px;
  }
}

.layer-structure__label {
  display: inline-block;
  font-size: 14px;
  font-weight: bold;
  color: var(--color-primary);
  margin-bottom: 8px;
  padding: 4px 12px;
  background: var(--color-bg-section);
  border-radius: 2px;
}

@media (min-width: 768px) {
  .layer-structure__label {
    font-size: 16px;
  }
}

.layer-structure__body p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-text-body);
  margin: 0;
}

@media (min-width: 768px) {
  .layer-structure__body p {
    font-size: 18px;
  }
}

.layer-structure__body strong {
  color: var(--color-text-heading);
  font-weight: bold;
}

.layer-structure__arrow {
  text-align: center;
  font-size: 22px;
  color: var(--color-primary);
  padding: 6px 0;
  line-height: 1;
  opacity: 0.6;
}

@media (min-width: 768px) {
  .layer-structure__arrow {
    font-size: 26px;
    padding: 8px 0;
  }
}

.structural-specialty__body {
  max-width: 820px;
  margin: 24px auto 0;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: 2px;
}

.structural-specialty__body p + p {
  margin-top: 14px;
}

.structural-specialty__disclaimer {
  max-width: 820px;
  margin: 16px auto 0;
  font-size: 12px;
  color: var(--color-text-sub);
  line-height: 1.7;
}

/* ---------- [6] Authority 統計（LP-B 拡張） ---------- */
.authority__stats {
  max-width: 820px;
  margin: 32px auto 12px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  list-style: none;
}

@media (min-width: 768px) {
  .authority__stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

.authority__stats li {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 18px 12px;
  text-align: center;
}

.authority__stat-num {
  font-family: var(--font-en);
  font-size: 30px;
  font-weight: bold;
  color: var(--color-gold);
  line-height: 1.1;
}

@media (min-width: 768px) {
  .authority__stat-num {
    font-size: 36px;
  }
}

.authority__stat-num span {
  font-size: 14px;
  font-weight: normal;
  color: rgba(255, 255, 255, 0.8);
  margin-left: 2px;
}

@media (min-width: 768px) {
  .authority__stat-num span {
    font-size: 16px;
  }
}

.authority__stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 8px;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .authority__stat-label {
    font-size: 13px;
  }
}

.authority__note {
  max-width: 820px;
  margin: 16px auto 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  text-align: center;
}

/* ---------- [7] Mechanism（建築譬え・本文） ---------- */
.mechanism__body {
  max-width: 760px;
  margin: 0 auto 20px;
}

.mechanism__body p + p {
  margin-top: 14px;
}

.mechanism__subtitle {
  font-size: 20px;
  font-weight: bold;
  color: var(--color-text-heading);
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .mechanism__subtitle {
    font-size: 24px;
  }
}

.mechanism__benefits {
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
}

.mechanism__benefits li {
  padding: 16px 0 16px 28px;
  border-bottom: 1px dotted var(--color-border-dotted);
  line-height: 1.8;
  position: relative;
}

.mechanism__benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  width: 12px;
  height: 12px;
  background: var(--color-primary);
  border-radius: 50%;
}

.mechanism__benefits strong {
  color: var(--color-text-heading);
  font-size: 16px;
}

/* ---------- Clinic card 画像プレースホルダー調整 ---------- */
.clinic-card .image-placeholder--clinic {
  margin-bottom: 16px;
}

