/*
Theme Name: sakie
Theme URI: https://www.sakieladiesclinic.com/
Author: MedAsk
Author URI: https://medask.biz/
Description: 咲江レディスクリニック（名古屋市千種区池下）公式テーマ。性交痛診療・院長のE-E-A-Tを軸にした婦人科サイト。
Version: 0.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: sakie
*/

/* ============================================================
 * 0. リセット
 * ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
img, svg, picture { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

/* ============================================================
 * 1. デザイントークン（ソフトピンク × クリーム / 花モチーフ）
 * ============================================================ */
:root {
  /* 配色 */
  --pink:        #d98ba0;   /* メインピンク */
  --pink-dark:   #b96075;   /* 濃ピンク（CTA・強調） */
  --pink-mid:    #e6a7b8;
  --pink-light:  #f6dde4;   /* 淡ピンク（面） */
  --pink-pale:   #fcf1f4;   /* 最淡（背景セクション） */
  --plum:        #8a5066;   /* アクセント（性交痛＝看板の深色） */
  --cream:       #fffaf6;   /* ベース背景 */
  --warm:        #f6ede6;   /* 温かみ面 */
  --gold:        #c9a86a;   /* 上品な差し色 */
  --border:      #ecdcd6;
  --text:        #2a2226;   /* 本文 */
  --muted:       #6f6168;   /* 補助テキスト */
  --white:       #ffffff;

  /* タイポ */
  --f-serif:  "Shippori Mincho", "Yu Mincho", "游明朝", serif;    /* 見出し・ヒーロー（上品な明朝 Shippori Mincho） */
  --f-sans:   "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif; /* 本文 */
  --f-en:     "Josefin Sans", sans-serif;                          /* 英字ラベル（小） */
  --f-script: "Great Vibes", cursive;                              /* 装飾スクリプト（筆記体・大） */

  /* レイアウト */
  --wrap:    1120px;
  --wrap-narrow: 760px;
  --gutter:  clamp(20px, 5vw, 48px);
  --radius:  14px;
  --radius-lg: 24px;
  --shadow:    0 8px 30px rgba(138, 80, 102, .08);
  --shadow-sm: 0 4px 16px rgba(138, 80, 102, .06);

  /* 動き */
  --ease: cubic-bezier(.22, .61, .36, 1);

  /* ヘッダー高さ（スクロールオフセット用） */
  --header-h: 90px;
}

/* ============================================================
 * 2. ベース
 * ============================================================ */
body {
  font-family: var(--f-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.85;
  font-size: 16px;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

:target { scroll-margin-top: calc(var(--header-h) + 16px); }

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - var(--gutter) * 2, var(--wrap-narrow)); margin-inline: auto; }

.section { padding-block: clamp(56px, 8vw, 104px); }
.section--pale  { background: var(--pink-pale); }
.section--warm  { background: var(--warm); }

/* 見出し */
h1, h2, h3, h4 { font-family: var(--f-serif); font-weight: 600; line-height: 1.4; color: var(--text); letter-spacing: .04em; }

/* ENラベル見出し＝TOPと統一：Great Vibes の筆記体・金色（下層ページ先頭／section-head 共通） */
.eyebrow {
  font-family: var(--f-script);
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  letter-spacing: .01em;
  text-transform: none;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: .12em;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  margin-block: .4em .2em;
}
.section-lead { color: var(--muted); max-width: 60ch; }

.section-head { text-align: center; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .section-lead { margin-inline: auto; }

/* リンク */
.link-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  color: var(--pink-dark); font-weight: 600;
  transition: gap .25s var(--ease);
}
.link-arrow:hover { gap: .9em; }
.link-arrow svg { width: 1em; height: 1em; }

/* ============================================================
 * 3. ボタン / CTA
 * ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .9em 1.8em;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: .06em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--pink-dark); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--plum); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--outline { border: 1.5px solid var(--pink-dark); color: var(--pink-dark); }
.btn--outline:hover { background: var(--pink-dark); color: var(--white); }
.btn--ghost { background: var(--white); color: var(--pink-dark); box-shadow: var(--shadow-sm); }

/* ============================================================
 * 4. ヘッダー / グローバルナビ
 * ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 250, 246, .9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: var(--header-h);
}
.site-logo { display: inline-flex; align-items: center; gap: .65em; line-height: 1.25; }
.site-logo__mark { width: 40px; height: 40px; color: var(--pink); }
.site-logo__text { font-family: var(--f-serif); font-size: clamp(1.3rem, 5vw, 1.55rem); letter-spacing: .08em; white-space: nowrap; }
.site-logo__sub  { display: block; font-family: var(--f-en); font-size: .62rem; letter-spacing: .24em; color: var(--gold); text-transform: uppercase; margin-top: .2em; }

.gnav { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 26px); }
.gnav__list { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 24px); }
.gnav__link {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: .2em .1em; transition: color .2s var(--ease);
}
.gnav__jp { font-size: .96rem; font-weight: 500; display: inline-flex; align-items: center; gap: .35em; white-space: nowrap; }
.gnav__jp svg { width: .62em; height: .62em; transition: transform .25s var(--ease); }
.gnav__en { font-family: var(--f-script); font-size: .9rem; letter-spacing: .02em; text-transform: none; color: var(--pink); line-height: 1; }
.gnav__link:hover { color: var(--pink-dark); }
.gnav__link::after {
  content: ""; position: absolute; left: 50%; bottom: -5px; width: 84%; height: 1.5px;
  background: var(--pink-dark); transform: translateX(-50%) scaleX(0); transform-origin: center; transition: transform .3s var(--ease);
}
.gnav__link:hover::after, .gnav__item--current > .gnav__link::after { transform: translateX(-50%) scaleX(1); }

/* TEL / 完全予約制 / 予約ボタン */
.gnav__util { display: flex; align-items: center; gap: 16px; margin-left: 4px; }
.gnav__tel { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.gnav__tel-badge { font-size: .56rem; letter-spacing: .06em; color: var(--plum); background: var(--pink-light); padding: .15em .7em; border-radius: 999px; }
.gnav__tel-num { font-family: var(--f-en); font-size: 1.18rem; font-weight: 700; color: var(--plum); letter-spacing: .01em; }
.gnav__reserve-btn { gap: .45em; }
.gnav__reserve-btn svg { width: 1.05em; height: 1.05em; }
@media (max-width: 1100px) { .gnav__tel { display: none; } }  /* 中間幅では混雑回避でTELを隠す（SPメニューには表示） */

/* ドロップダウン（CSS-only / 診察案内） */
.gnav__item--has-sub { position: relative; }
.gnav__toggle { display: inline-flex; align-items: center; gap: .35em; }
.gnav__toggle svg { width: .7em; height: .7em; transition: transform .25s var(--ease); }
.gnav__sub {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 240px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 10px; opacity: 0; visibility: hidden; transition: opacity .22s var(--ease), transform .22s var(--ease);
}
/* トリガーとサブメニューの隙間を埋める透明ブリッジ（hoverが切れて閉じるのを防ぐ） */
.gnav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.gnav__item--has-sub:hover .gnav__sub,
.gnav__item--has-sub:focus-within .gnav__sub { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.gnav__item--has-sub:hover .gnav__toggle svg { transform: rotate(180deg); }
.gnav__sub a { display: block; padding: .7em 1em; border-radius: 8px; font-size: .92rem; transition: background-color .2s; }
.gnav__sub a:hover { background: var(--pink-pale); color: var(--pink-dark); }
.gnav__sub-label { font-family: var(--f-en); font-size: .62rem; letter-spacing: .2em; color: var(--pink); padding: .6em 1em .2em; text-transform: uppercase; }

.gnav__reserve { margin-left: 4px; }

/* モバイルトグル */
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 24px; height: 2px; background: var(--text); transition: transform .3s var(--ease), opacity .3s;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after  { position: absolute; top: 7px; }

/* ============================================================
 * 5. ヒーロー
 * ============================================================ */
.hero { position: relative; overflow: hidden; background: var(--pink-pale); }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(48px, 7vw, 90px); }
.hero__script { font-family: var(--f-script); color: var(--pink); font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1; }
.hero__title { font-family: var(--f-serif); font-weight: 700; font-size: clamp(1.7rem, 5.2vw, 2.7rem); line-height: 1.55; margin-block: .3em .5em; }
.hero__title em { font-style: normal; color: var(--pink-dark); }
.hero__title .nb { display: inline-block; }  /* 文節単位でのみ折り返し（単語の途中で切れない） */
.hero__lead { color: var(--muted); line-height: 1.7; margin-top: .4em; margin-bottom: 1.5em; max-width: none; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions .btn { flex: 1 1 150px; }  /* 2ボタンを同じ高さ・幅に */
.hero__visual { position: relative; }
.hero__visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* ============================================================
 * 5b. 実績サークル（水彩・滲み＋重なり合成）
 * ============================================================ */
.stats { background: linear-gradient(180deg, var(--cream) 0%, var(--pink-pale) 100%); overflow: hidden; }
.stats__head { text-align: center; margin-bottom: clamp(18px, 3vw, 34px); }
.stats__script { font-family: var(--f-script); color: var(--pink); font-size: clamp(1.3rem, 3vw, 1.8rem); line-height: 1; }
.stats__circles { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0; }
.stat-circle {
  position: relative; width: clamp(190px, 24vw, 252px); aspect-ratio: 1;
  display: grid; place-content: center; text-align: center; color: var(--plum);
  padding: 16px; transition: transform .35s var(--ease);
}
/* 滲みのある円（縁をぼかして水彩のにじみ感）＋ multiply で重なりが濃くなる */
.stat-circle::before {
  content: ""; position: absolute; inset: 4%; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle at 46% 40%,
    rgba(232,156,179,.94) 0%, rgba(236,174,193,.85) 46%,
    rgba(244,206,217,.45) 66%, rgba(247,221,228,0) 78%);
  mix-blend-mode: multiply;
  filter: blur(.3px);
}
.stat-circle > * { position: relative; z-index: 1; }
.stat-circle:not(:first-child) { margin-left: clamp(-46px, -4vw, -22px); } /* 重ねる */
a.stat-circle { text-decoration: none; }
a.stat-circle:hover { transform: translateY(-5px) scale(1.03); z-index: 2; }
.stat-circle__label { font-size: clamp(.82rem, 1.3vw, .96rem); line-height: 1.5; font-weight: 500; letter-spacing: .02em; }
.stat-circle__num { font-family: var(--f-serif); display: block; margin-top: .25em; font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1; }
.stat-circle__num strong { font-weight: 400; font-size: 2.7em; letter-spacing: .01em; }
.stat-circle__num small { font-size: 1em; }
@media (max-width: 560px) {
  .stat-circle { width: clamp(150px, 44vw, 190px); }
  .stat-circle:not(:first-child) { margin-left: -30px; }
}

/* ============================================================
 * 6. 診療カテゴリ カード
 * ============================================================ */
.cards { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(16px, 2.2vw, 24px); }
.cards > .card { flex: 1 1 280px; max-width: 360px; }
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex; flex-direction: column; gap: 12px;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon { width: 46px; height: 46px; color: var(--pink); }
.card__title { font-size: 1.18rem; }
.card__en { display: block; font-family: var(--f-en); font-size: .6rem; letter-spacing: .2em; color: var(--pink); text-transform: uppercase; margin-bottom: .3em; }

/* 専門外来バンド（TOP診察案内・性交痛を別格で強調） */
.specialty-band { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 30px); margin-top: 30px; padding: clamp(22px, 3vw, 34px) clamp(22px, 3.4vw, 40px); border-radius: var(--radius); background: linear-gradient(105deg, var(--pink-pale) 0%, #fff 100%); border: 1px solid var(--pink); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.specialty-band:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.specialty-band__icon { flex: none; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--pink-dark); box-shadow: var(--shadow-sm); }
.specialty-band__icon svg { width: 30px; height: 30px; }
.specialty-band__body { flex: 1 1 auto; }
.specialty-band__eyebrow { display: inline-block; font-family: var(--f-en); font-size: .68rem; letter-spacing: .18em; color: #fff; background: var(--pink-dark); padding: 3px 12px; border-radius: 999px; margin-bottom: 10px; }
.specialty-band__title { display: block; font-family: var(--f-serif); font-size: clamp(1.15rem, 2.2vw, 1.45rem); font-weight: 700; color: var(--plum); line-height: 1.45; margin-bottom: 8px; }
.specialty-band__text { display: block; font-size: .9rem; color: var(--muted); line-height: 1.8; }
.specialty-band__cta { flex: none; display: inline-flex; align-items: center; gap: 8px; align-self: center; font-weight: 600; color: #fff; background: var(--pink-dark); padding: 13px 22px; border-radius: 999px; white-space: nowrap; }
.specialty-band__cta svg { width: 16px; height: 16px; }
@media (max-width: 760px) {
  .specialty-band { flex-direction: column; text-align: center; }
  .specialty-band__cta { width: 100%; justify-content: center; }
}
.card__desc { color: var(--muted); font-size: .92rem; flex: 1; }
.card--feature { border-color: var(--pink); background: linear-gradient(160deg, var(--white), var(--pink-pale)); }
.card--feature .card__badge { align-self: flex-start; font-size: .68rem; letter-spacing: .12em; background: var(--plum); color: var(--white); padding: .35em 1em; border-radius: 999px; }

/* ============================================================
 * 7. 院長 / E-E-A-T
 * ============================================================ */
.doctor { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.doctor__photo img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.doctor__name { font-size: clamp(1.5rem, 3.5vw, 2rem); }
.doctor__name .ruby { display: block; font-size: .55em; color: var(--muted); letter-spacing: .1em; }
.doctor__creds { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 18px; }
.doctor__creds li { font-size: .8rem; background: var(--pink-light); color: var(--plum); padding: .4em 1em; border-radius: 999px; }
.doctor__message { color: var(--muted); }
.doctor__message p + p { margin-top: 1em; }

/* ============================================================
 * 8. 特長
 * ============================================================ */
.features { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(20px, 3vw, 36px); }
.feature { flex: 1 1 210px; max-width: 280px; text-align: center; }
.feature__icon { width: 56px; height: 56px; margin: 0 auto 14px; color: var(--pink-dark); }
.feature__title { font-size: 1.15rem; margin-bottom: .5em; }
.feature__desc { color: var(--muted); font-size: .92rem; }

/* ============================================================
 * 9. 情報 / NEWS / アクセス
 * ============================================================ */
.news-list { display: flex; flex-direction: column; gap: 4px; }
.news-item { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--border); align-items: baseline; }
.news-item time { font-family: var(--f-en); color: var(--muted); font-size: .85rem; }
.news-item__cat { display: inline-block; font-size: .7rem; background: var(--pink-light); color: var(--plum); padding: .2em .9em; border-radius: 999px; margin-right: 10px; }
/* 空メッセージは日付欄を持たないため1カラムにする（130px幅に押し込まれて改行するのを防ぐ） */
.news-item--empty { grid-template-columns: 1fr; color: var(--muted); border-bottom: 0; }
.news-empty { color: var(--muted); padding: 18px 4px; }

/* お知らせ カテゴリ絞り込みボタン */
.news-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(20px, 3vw, 32px); }
.news-filter__btn { font-size: .82rem; color: var(--muted); background: var(--white); border: 1px solid var(--border); padding: .45em 1.1em; border-radius: 999px; transition: color .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease); }
.news-filter__btn:hover { border-color: var(--pink); color: var(--pink-dark); }
.news-filter__btn.is-active { background: var(--pink-dark); border-color: var(--pink-dark); color: #fff; }
.news-empty { color: var(--muted); font-size: .9rem; padding: 24px 4px; }

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { border: 1px solid var(--border); padding: 10px 6px; text-align: center; font-size: .9rem; }
.hours-table thead th { background: var(--pink-pale); font-family: var(--f-sans); font-weight: 600; }
.hours-table tbody th { background: var(--cream); text-align: left; padding-inline: 14px; white-space: nowrap; }
.hours-note { color: var(--muted); font-size: .82rem; margin-top: 10px; }

/* Googleマップ facade（静止画なし・クリックで本物の地図を読み込む） */
.map-facade {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden;
  cursor: pointer; box-shadow: var(--shadow-sm);
  background:
    radial-gradient(circle at 30% 35%, rgba(217,139,160,.12), transparent 40%),
    linear-gradient(135deg, #eef3ef, #e7eef1);
  display: grid; place-content: center; gap: 12px; text-align: center;
}
.map-facade::after { /* 地図っぽい格子 */
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(138,80,102,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(138,80,102,.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.map-facade > * { position: relative; z-index: 1; }
.map-facade__btn { display: inline-flex; align-items: center; gap: .5em; background: var(--white); color: var(--pink-dark); font-weight: 600; padding: .8em 1.5em; border-radius: 999px; box-shadow: var(--shadow-sm); }
.map-facade__btn svg { width: 1.2em; height: 1.2em; }
.map-facade__hint { font-size: .82rem; color: var(--muted); }
.map-facade iframe { width: 100%; height: 100%; border: 0; }

/* 医療DX推進・診療体制（厚労省 掲示事項）— 控えめに */
.med-notice__title { font-size: 1.1rem; color: var(--plum); text-align: center; margin-bottom: 18px; }
.med-notice__list { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; display: flex; flex-direction: column; gap: 10px; }
.med-notice__list li { font-size: .82rem; line-height: 1.8; color: var(--muted); padding-left: 1.1em; position: relative; }
.med-notice__list li::before { content: "・"; position: absolute; left: 0; color: var(--pink); }

/* Googleマップ 直接埋め込み（最初から表示） */
.map-embed { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: #e7eef1; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ============================================================
 * 10. CTA 帯
 * ============================================================ */
.cta-band { background: linear-gradient(135deg, var(--pink-dark), var(--plum)); color: var(--white); text-align: center; }
.cta-band h2 { color: var(--white); font-size: clamp(1.5rem, 4vw, 2.1rem); text-wrap: balance; }
.cta-band p { opacity: .92; margin-block: .6em 1.6em; }
.cta-band .btn--ghost { color: var(--pink-dark); }
.cta-band__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-band__tel { font-family: var(--f-en); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; letter-spacing: .04em; }

/* ============================================================
 * 11. フッター
 * ============================================================ */
.site-footer { background: var(--plum); color: rgba(255,255,255,.86); padding-block: clamp(48px, 7vw, 80px) 28px; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.footer-brand__name { font-family: var(--f-serif); font-size: 1.3rem; color: var(--white); margin-bottom: .6em; }
.footer-brand__addr { font-size: .88rem; line-height: 1.9; text-wrap: pretty; }
.footer-nav__title { font-family: var(--f-en); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--pink-mid); margin-bottom: 1em; }
.footer-nav ul { display: flex; flex-direction: column; gap: .6em; font-size: .9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.16); margin-top: 40px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .78rem; }
.footer-bottom__links { display: flex; flex-wrap: wrap; gap: 8px 18px; }

/* スティッキー予約（モバイル） */
.sticky-cta { display: none; }

/* ============================================================
 * 12. レスポンシブ
 * ============================================================ */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 420px; }
  .doctor { grid-template-columns: 1fr; }
  .doctor__photo { max-width: 360px; }
  .info-grid, .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; flex-shrink: 0; }
  /* backdrop-filter があると中の position:fixed の基準がヘッダーに閉じ込められ、
     モバイルメニューが開かない。モバイルでは無効化してビューポート基準に戻す */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
  /* fixed要素を画面外に出すと overflow-x:hidden でクリップできず横スクロールが出るため、
     ビューポート内に置いたまま opacity/visibility でフェード開閉する */
  .gnav {
    position: fixed; inset: var(--header-h) 0 0 auto; width: min(86vw, 340px); max-width: 100%;
    background: var(--cream); border-left: 1px solid var(--border);
    flex-direction: column; align-items: stretch; gap: 0; padding: 16px;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    overflow-y: auto; box-shadow: -10px 0 40px rgba(0,0,0,.08);
  }
  body.nav-open .gnav { opacity: 1; visibility: visible; transform: translateY(0); }
  .gnav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .gnav__link { flex-direction: row; justify-content: space-between; align-items: center; padding: .9em .4em; border-bottom: 1px solid var(--border); }
  .gnav__link::after { display: none; }
  /* visibility は親（.gnav）に従わせる。visible にすると閉じたメニュー内のサブメニューだけが
     透明のままタップを受け付け、本文のタップを奪って別ページへ飛ばしてしまう */
  .gnav__sub,
  .gnav__item--has-sub:hover .gnav__sub,
  .gnav__item--has-sub:focus-within .gnav__sub { position: static; transform: none; opacity: 1; visibility: inherit; box-shadow: none; border: none; min-width: 0; padding: 0 0 8px 12px; }
  .gnav__item--has-sub:hover .gnav__toggle svg { transform: none; }
  .gnav__util { flex-direction: column; align-items: stretch; gap: 10px; margin: 16px 0 0; }
  .gnav__tel { display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 8px; }
  .gnav__tel-num { font-size: 1.4rem; }
  .gnav__reserve-btn { width: 100%; }

  .sticky-cta {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--white); border-top: 1px solid var(--border); box-shadow: 0 -6px 20px rgba(138,80,102,.1);
  }
  .sticky-cta a, .sticky-cta button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 10px; font-size: .74rem; }
  .sticky-cta button { background: none; border: none; font: inherit; font-size: .74rem; color: inherit; cursor: pointer; }
  .sticky-cta > * + * { border-left: 1px solid var(--border); }
  .sticky-cta a svg, .sticky-cta button svg { width: 22px; height: 22px; }
  .sticky-cta .is-ai { color: var(--plum); }
  .sticky-cta .is-reserve { background: var(--pink-dark); color: var(--white); }
  body { padding-bottom: 64px; }
}

@media (max-width: 560px) {
  .news-item { grid-template-columns: 1fr; gap: 4px; }
  .hours-table th, .hours-table td { padding: 8px 3px; font-size: .8rem; }
  .pc-only { display: none; }   /* スマホでは強制改行を無効化 */
  .hero__title .nb { display: block; }  /* SPでは1文節＝1行（単語の途中で切れない） */
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; flex: none; }  /* SPは縦積みで確実に収める（同サイズ） */
}


/* ============================================================
 * 13. 下層ページ共通（パンくず / ページヒーロー / 目次 / 記事）
 * ============================================================ */
.breadcrumb { width: min(100% - var(--gutter)*2, var(--wrap)); margin: 18px auto 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4em; font-size: .78rem; color: var(--muted); }
.breadcrumb li::after { content: "／"; margin-left: .4em; color: var(--border); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a:hover { color: var(--pink-dark); }

.page-hero { text-align: center; padding-block: clamp(16px, 2.5vw, 28px) clamp(4px, 1vw, 10px); }
.page-hero__title { font-size: clamp(1.8rem, 5vw, 2.6rem); margin-block: .25em 0; }
.section--tight { padding-top: clamp(24px, 3.5vw, 40px); }

/* 2カラム内に置くページ見出し（左寄せ・サイドバーとトップを揃える） */
.page-hero--inline { text-align: left; padding-block: 0 clamp(8px, 2vw, 18px); }
.page-hero--inline .page-hero__lead { margin-top: .6em; }
.page-hero__lead { color: var(--muted); text-align: left; }
.page-hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* 目次（縦1列・番号付き・コンパクト / 川越LC風） */
.toc { max-width: 560px; background: var(--pink-pale); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 24px; margin: 12px auto 40px; }
.toc__title { font-family: var(--f-en); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--pink-dark); margin-bottom: 8px; }
.toc ol { list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; border-bottom: 1px dashed var(--border); }
.toc li:last-child { border-bottom: none; }
.toc a { display: flex; align-items: baseline; gap: .5em; font-size: .9rem; padding: .5em 0; }
.toc a::before { content: counter(toc) "."; font-family: var(--f-en); font-weight: 600; color: var(--pink-dark); min-width: 1.5em; }
.toc a:hover { color: var(--pink-dark); }

/* 記事本文 */
.article { padding-bottom: clamp(40px, 6vw, 72px); }
.article__section { margin-bottom: clamp(40px, 6vw, 64px); }
.article__section > h2 {
  font-size: clamp(1.4rem, 3.5vw, 1.9rem); margin-bottom: .8em; padding-bottom: .5em;
  border-bottom: 2px solid var(--pink-light); position: relative;
}
.article__section > h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 64px; height: 2px; background: var(--pink-dark); }
.article__section h3 { font-size: 1.15rem; margin-block: 1em .4em; color: var(--plum); }
.article p + p { margin-top: 1em; }
.article a:not(.btn):not(.link-arrow):not(.related-card):not(.menu-card) { color: var(--pink-dark); text-decoration: underline; text-underline-offset: 3px; }
.article .note { font-size: .84rem; color: var(--muted); margin-top: 1em; }
/* 見落とされたくない注記（料金の税込・自費表記など） */
.article .note--lg { font-size: 1rem; color: var(--text); }

/* 原因カード */
.cause-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-block: 24px; }
.cause-card { background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.cause-card h3 { margin-top: 0; }

/* 関連（治療）カード */
.related-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-block: 24px; }
.related-card { display: flex; flex-direction: column; gap: 4px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.related-card__en { font-family: var(--f-en); font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--pink); }
.related-card__title { font-family: var(--f-serif); font-size: 1.1rem; }
.related-card__desc { font-size: .84rem; color: var(--muted); }

/* 受診フロー */
.flow-steps { display: flex; flex-direction: column; gap: 14px; margin-top: 12px; }
.flow-steps li { display: flex; gap: 16px; align-items: flex-start; background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.flow-steps__num { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--pink-dark); color: var(--white); display: grid; place-content: center; font-family: var(--f-en); font-weight: 600; }
.flow-steps strong { display: block; margin-bottom: .2em; }
.flow-steps p { color: var(--muted); font-size: .9rem; }

/* FAQ（details / バニラ） */
.faq__item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; background: var(--white); overflow: hidden; }
.faq__item summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 22px; font-weight: 600; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before { content: "Q"; font-family: var(--f-en); color: var(--pink-dark); margin-right: .6em; font-weight: 700; }
.faq__item summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--pink-dark); border-bottom: 2px solid var(--pink-dark); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq__item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__a { padding: 0 22px 20px 22px; color: var(--muted); }
.slinda-acc { margin-top: 16px; }
.slinda-acc .faq__a p { margin-bottom: .6em; }
.slinda-acc .faq__a .about-policy { margin: .4em 0; }

/* 監修者ボックス（写真なし・テキストのみ） */
.supervisor { background: var(--pink-pale); border: 1px solid var(--border); border-left: 4px solid var(--pink-dark); border-radius: var(--radius-lg); padding: 24px 26px; margin-top: 16px; }
.supervisor__label { font-family: var(--f-en); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--pink-dark); }
.supervisor__name { font-family: var(--f-serif); font-size: 1.15rem; margin-block: .3em; }
.supervisor__creds { font-size: .84rem; color: var(--muted); margin-bottom: .6em; }
.supervisor__date { font-size: .78rem; color: var(--muted); margin-bottom: .6em; }

/* ============================================================
 * 14. 院長ページ（/doctor/）
 * ============================================================ */
/* ============================================================
 * 14b. 下層ページ 2カラム（コンテンツ＋スティッキー右パネル）
 * ============================================================ */
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 296px; gap: clamp(32px, 4vw, 60px); align-items: start; padding-block: clamp(28px, 4vw, 52px) clamp(40px, 6vw, 72px); }
.page-layout__main { min-width: 0; }
.page-layout__side { position: sticky; top: calc(var(--header-h) + 16px); }

/* サイドパネル */
.side-panel { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 20px; }
.side-panel__reserve { width: 100%; gap: .5em; }
.side-panel__reserve svg { width: 1.05em; height: 1.05em; }

/* セクション境界の区切り線（モバイルは CTA→診療時間→SNS の順。先頭CTAには線なし） */
.side-panel__hours, .side-panel__sns { border-top: 1px solid var(--border); margin-top: 16px; padding-top: 16px; }
.side-panel__tel { text-align: center; padding-top: 16px; }
.side-panel__tel-badge { display: inline-block; font-size: .62rem; letter-spacing: .06em; color: var(--plum); background: var(--pink-light); padding: .2em .9em; border-radius: 999px; }
.side-panel__tel-num { display: block; font-family: var(--f-en); font-size: 1.7rem; font-weight: 700; color: var(--plum); letter-spacing: .01em; margin-top: .2em; }
.side-panel__tel-note { font-size: .74rem; color: var(--muted); }
.side-panel__title { font-family: var(--f-en); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--pink-dark); margin: 0 0 8px; text-align: center; }
.side-panel__access { font-size: .8rem; color: var(--muted); text-align: left; margin-top: 10px; }
.hours-table--mini th, .hours-table--mini td { padding: 6px 2px; font-size: .76rem; }
.hours-table--mini tbody th { padding-inline: 6px; }

/* サイドパネル SNS（名称＋目的の縦リスト） */
.sns-links { display: flex; flex-direction: column; gap: 8px; }
.sns-links a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid var(--border); border-radius: 12px; transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.sns-links a:hover { background: var(--pink-pale); border-color: var(--pink); }
.sns-links__icon { flex: none; width: 30px; height: 30px; border-radius: 8px; display: grid; place-content: center; color: #fff; }
.sns-links__icon svg { width: 17px; height: 17px; }
.sns-links__icon--line { background: #06c755; }
.sns-links__icon--yt   { background: #ff0000; }
.sns-links__icon--ig   { background: linear-gradient(45deg, #f09433, #e6683c 30%, #dc2743 50%, #bc1888 90%); }
.sns-links__icon--x    { background: #000; }
.sns-links__body { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.sns-links__body b { font-size: .82rem; color: var(--text); font-weight: 600; }
.sns-links__body small { font-size: .68rem; color: var(--muted); }

.voice-block { padding-top: 8px; }
.section-head--left { text-align: left; margin-bottom: 24px; }

@media (max-width: 900px) {
  .page-layout { grid-template-columns: 1fr; }
  .page-layout__side { position: static; max-width: 420px; margin: 8px auto 0; width: 100%; }
}

/* PC（2カラム時）は予約＋TELブロックをパネル最下部へ（ナビの予約ボタンとの近接を回避） */
@media (min-width: 901px) {
  .side-panel { display: flex; flex-direction: column; }
  .side-panel__cta { order: 2; }
  /* PCの先頭は診療時間：区切り線を消す。CTAは最下部なので線を付ける */
  .side-panel__hours { border-top: none; margin-top: 0; padding-top: 0; }
  .side-panel__cta { border-top: 1px solid var(--border); margin-top: 16px; padding-top: 16px; }
}

/* 院長プロフィール（川越LC型：写真＋名前を横並び中央寄せ → 挨拶文は下に全幅） */
.doctor-head { display: flex; align-items: center; gap: clamp(24px, 4vw, 52px); margin-bottom: clamp(28px, 4vw, 44px); }
.doctor-head__photo { flex: none; width: clamp(280px, 46%, 400px); position: relative; margin: 0; }
.doctor-head__photo img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
.doctor-head__script { position: absolute; left: -4px; bottom: -14px; font-family: var(--f-script); color: var(--pink); font-size: clamp(1.3rem, 3vw, 1.8rem); }
.doctor-head__meta { flex: 1; text-align: center; }
.doctor-head__role { font-size: .95rem; color: var(--muted); }
.dc_name { font-family: var(--f-serif); font-size: clamp(1.8rem, 4vw, 2.4rem); line-height: 1.3; margin-top: .3em; }
.doctor-head__lead { font-family: var(--f-serif); font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--plum); line-height: 1.75; margin-bottom: 1em; }
.doctor-head__message p { margin-bottom: 1em; }
@media (max-width: 600px) {
  .doctor-head { flex-direction: column; gap: 20px; }
  .doctor-head__photo { width: 100%; }
}

/* E-E-A-T ポイント */
.doctor-points { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(20px, 4vw, 56px); }
.doctor-point { text-align: center; }
.doctor-point__num { display: block; font-family: var(--f-serif); color: var(--plum); font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1; }
.doctor-point__num strong { font-weight: 400; font-size: 2.6em; letter-spacing: .01em; }
.doctor-point__label { display: block; margin-top: .55em; font-size: .85rem; color: var(--muted); line-height: 1.5; }
.doctor-points__note { text-align: center; color: var(--muted); font-size: .82rem; margin-top: 26px; }

/* 略歴 timeline */
.timeline { border-left: 2px solid var(--pink-light); margin-left: 6px; }
.timeline li { position: relative; padding: 0 0 18px 26px; display: flex; flex-wrap: wrap; gap: 2px 16px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--pink); border: 2px solid var(--cream); }
.timeline__year { font-family: var(--f-en); font-weight: 600; color: var(--plum); min-width: 76px; }
.timeline__body { color: var(--text); flex: 1 1 240px; }

/* 資格・所属 */
.creds-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); }
.creds-block h3 { font-size: 1.1rem; color: var(--plum); margin-bottom: .6em; padding-bottom: .4em; border-bottom: 1px solid var(--border); }
.creds-list li { position: relative; padding: .45em 0 .45em 1.4em; border-bottom: 1px dashed var(--border); font-size: .94rem; }
.creds-list li::before { content: ""; position: absolute; left: 0; top: .95em; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); }
.creds-list li:last-child { border-bottom: none; }
.creds-list--single { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 4vw, 48px); }
@media (max-width: 600px) { .creds-grid, .creds-list--single { grid-template-columns: 1fr; } }

/* 院長メッセージのリード */
.doctor-intro__lead { font-family: var(--f-serif); font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--plum); line-height: 1.7; }

/* 活動実績 */
.act-year { font-size: 1.15rem; color: var(--plum); margin: 1.4em 0 .2em; padding-bottom: .3em; border-bottom: 2px solid var(--pink-light); }
.act-cat { font-size: .96rem; color: var(--pink-dark); font-family: var(--f-sans); font-weight: 700; margin: 1.3em 0 .3em; }
.act-list { margin-bottom: .8em; }
.act-list li { display: flex; flex-wrap: wrap; gap: 1px 14px; padding: .5em 0; border-bottom: 1px dashed var(--border); font-size: .9rem; }
.act-list__date { font-family: var(--f-en); color: var(--plum); font-weight: 600; min-width: 88px; letter-spacing: .01em; }
.act-list__body { flex: 1 1 260px; color: var(--text); }
.act-details { margin-top: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--cream); overflow: hidden; }
.act-details summary { cursor: pointer; list-style: none; padding: 16px 22px; font-weight: 600; color: var(--pink-dark); position: relative; }
.act-details summary::-webkit-details-marker { display: none; }
.act-details summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--pink-dark); border-bottom: 2px solid var(--pink-dark); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.act-details[open] summary { border-bottom: 1px solid var(--border); }
.act-details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.act-details > *:not(summary) { margin-inline: 22px; }
.act-details > .act-cat:first-of-type { margin-top: 1em; }

/* 番号付き手順リスト（.step-list） */
.step-list { counter-reset: step; list-style: none; margin: 12px 0; padding: 0; }
.step-list li { position: relative; padding: 4px 0 14px 44px; line-height: 1.8; font-size: .94rem; }
.step-list li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 2px; width: 28px; height: 28px; display: grid; place-items: center; background: var(--pink-dark); color: #fff; border-radius: 50%; font-family: var(--f-en); font-size: .85rem; font-weight: 700; }

/* 女性のお悩み（/trouble/）— 定義リスト形式 */
.trouble-list { margin: 6px 0; }
.trouble-list dt { font-weight: 600; color: var(--text); font-size: 1rem; padding: 16px 0 4px; border-top: 1px solid var(--border); }
.trouble-list dt:first-child { border-top: none; padding-top: 0; }
.trouble-list dd { margin: 0 0 4px; font-size: .92rem; color: var(--muted); line-height: 1.8; }
.trouble-list dd a { display: inline-flex; align-items: center; gap: 5px; margin-left: .5em; padding: 4px 12px 4px 14px; background: var(--pink-pale); color: var(--pink-dark); border: 1px solid var(--pink); border-radius: 999px; font-weight: 600; font-size: .82rem; white-space: nowrap; vertical-align: middle; transition: background-color .2s var(--ease), color .2s var(--ease); }
.trouble-list dd a::before { content: ""; width: 14px; height: 14px; flex: none; background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Ccircle%20cx='12'%20cy='5'%20r='3.4'/%3E%3Ccircle%20cx='18.7'%20cy='9.8'%20r='3.4'/%3E%3Ccircle%20cx='16.1'%20cy='17.6'%20r='3.4'/%3E%3Ccircle%20cx='7.9'%20cy='17.6'%20r='3.4'/%3E%3Ccircle%20cx='5.3'%20cy='9.8'%20r='3.4'/%3E%3Ccircle%20cx='12'%20cy='12'%20r='3.2'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Ccircle%20cx='12'%20cy='5'%20r='3.4'/%3E%3Ccircle%20cx='18.7'%20cy='9.8'%20r='3.4'/%3E%3Ccircle%20cx='16.1'%20cy='17.6'%20r='3.4'/%3E%3Ccircle%20cx='7.9'%20cy='17.6'%20r='3.4'/%3E%3Ccircle%20cx='5.3'%20cy='9.8'%20r='3.4'/%3E%3Ccircle%20cx='12'%20cy='12'%20r='3.2'/%3E%3C/svg%3E") no-repeat center / contain; }
.trouble-list dd a:hover { background: var(--pink-dark); color: #fff; border-color: var(--pink-dark); }

/* 採用 求人テーブル（/recruit/） */
.job-card__title { font-size: 1.2rem; color: var(--plum); margin-bottom: 14px; padding-left: 14px; border-left: 4px solid var(--pink-dark); }
.job-table { width: 100%; border-collapse: collapse; border: 1px solid var(--border); }
.job-table th, .job-table td { border: 1px solid var(--border); padding: 12px 16px; text-align: left; vertical-align: top; font-size: .92rem; }
.job-table th { background: var(--pink-pale); width: 130px; white-space: nowrap; font-weight: 600; color: var(--plum); }
.job-table td { color: var(--text); line-height: 1.8; }
@media (max-width: 560px) {
  .job-table, .job-table tbody, .job-table tr, .job-table th, .job-table td { display: block; width: auto; }
  .job-table th { border-bottom: none; }
  .job-table td { border-top: none; }
}

/* アクセス（/access/） */
.access-info { margin-top: 22px; }
.access-info > div { display: grid; grid-template-columns: 90px 1fr; gap: 6px 16px; padding: 12px 4px; border-bottom: 1px solid var(--border); }
.access-info dt { font-size: .82rem; font-weight: 600; color: var(--pink-dark); }
.access-info dd { font-size: .94rem; color: var(--text); line-height: 1.7; }
@media (max-width: 480px) { .access-info > div { grid-template-columns: 1fr; gap: 2px; } }

/* 診察案内トップ（/treatment/） */
.treatment-cat { margin-bottom: clamp(32px, 5vw, 48px); }
.treatment-cat:last-child { margin-bottom: 0; }
.treatment-cat__title { font-size: 1.3rem; color: var(--plum); margin-bottom: 16px; padding-left: 14px; border-left: 4px solid var(--pink-dark); }

/* 婦人科一般 索引（/treatment/gynecology/） */
.menu-cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 20px); }
.menu-card { position: relative; display: flex; flex-direction: column; gap: 6px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 48px 20px 22px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.menu-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.menu-card__title { font-family: var(--f-serif); font-size: 1.12rem; color: var(--text); }
.menu-card__desc { font-size: .84rem; color: var(--muted); line-height: 1.6; }
.menu-card__arrow { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--pink-dark); display: grid; place-content: center; }
.menu-card__arrow svg { width: 16px; height: 16px; }
@media (max-width: 600px) { .menu-cards { grid-template-columns: 1fr; } }

/* 記事中の図版 */
.article-figure { margin: 18px 0; text-align: center; }
.article-figure img { width: 100%; max-width: 560px; height: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); }
.article-figure figcaption { font-size: .8rem; color: var(--muted); margin-top: 8px; }
.article-figure--device img { border: none; background: transparent; }
.img-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
.img-pair .article-figure { margin: 0; }
.img-pair .article-figure img { max-width: 100%; }
@media (max-width: 480px) { .img-pair { grid-template-columns: 1fr; } }

/* お悩みタグ（フェムケア等） */
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.tag-list li { font-size: .88rem; color: var(--plum); background: var(--pink-light); padding: .5em 1.1em; border-radius: 999px; }

/* メニューカード 人気バッジ */
.menu-card--feature { border-color: var(--pink); background: linear-gradient(160deg, var(--white), var(--pink-pale)); }
.menu-card__badge { align-self: flex-start; font-size: .66rem; letter-spacing: .08em; background: var(--plum); color: #fff; padding: .25em .9em; border-radius: 999px; margin-bottom: 2px; }

/* 患者様の感想 */
.voice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 20px); }
.voice-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm); position: relative; }
.voice-card::before { content: "\201C"; font-family: var(--f-serif); color: var(--pink-light); font-size: 2.6rem; line-height: 1; position: absolute; top: 8px; left: 14px; }
.voice-card blockquote { position: relative; font-size: .9rem; line-height: 1.8; color: var(--text); padding-top: 10px; }
.voice-card figcaption { margin-top: 12px; font-size: .8rem; color: var(--pink-dark); font-weight: 600; }
.voice-card figcaption::before { content: "― "; }
@media (max-width: 560px) { .voice-grid { grid-template-columns: 1fr; } }

/* 治療例ボックス */
.case-box { background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; }
.case-box figcaption { font-family: var(--f-serif); font-size: 1.1rem; color: var(--plum); margin-bottom: 12px; }
.case-box dl { display: flex; flex-direction: column; gap: 10px; }
.case-box dl > div { display: grid; grid-template-columns: 120px 1fr; gap: 6px 16px; }
.case-box dt { font-size: .82rem; font-weight: 600; color: var(--pink-dark); }
.case-box dd { font-size: .9rem; color: var(--text); }
@media (max-width: 560px) { .case-box dl > div { grid-template-columns: 1fr; gap: 2px; } }

/* 料金リスト */
.price-list { margin: 14px 0; }
.price-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 4px; border-bottom: 1px dashed var(--border); font-size: .94rem; }
.price-list li:last-child { border-bottom: none; }
.price-list b { font-family: var(--f-en); color: var(--plum); white-space: nowrap; }
.price-was { color: var(--muted); font-weight: 400; text-decoration: line-through; margin-right: 8px; font-size: .82em; }
.price-campaign { display: inline-block; margin-left: 8px; padding: 2px 8px; background: var(--pink-dark); color: #fff; font-size: .62rem; font-weight: 700; letter-spacing: .04em; border-radius: 999px; vertical-align: middle; }

/* 初めての方へ（/first-visit/） */
.callout { background: var(--pink-pale); border: 1px solid var(--pink-light); border-left: 4px solid var(--pink-dark); border-radius: 10px; padding: 16px 20px; font-size: .9rem; color: var(--plum); margin-bottom: 28px; }
.callout--soft { border-left-color: var(--pink); margin-top: 20px; margin-bottom: 0; color: var(--text); }
.callout--soft b { color: var(--plum); }

.pay-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 18px 0; }
.pay-block { background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.pay-block h3 { font-size: 1rem; color: var(--plum); margin-bottom: .4em; }
.pay-block p { font-size: .88rem; color: var(--muted); }
.pay-logos { margin: 18px 0 0; padding: 16px 18px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.pay-logos img { width: 100%; height: auto; }

.pdf-download { margin: 18px 0; }
.pdf-download__link { display: inline-flex; align-items: center; gap: 14px; padding: 16px 22px; background: var(--white); border: 1px solid var(--pink); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.pdf-download__link:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.pdf-download__icon { flex: none; width: 40px; height: 40px; color: var(--pink-dark); }
.pdf-download__icon svg { width: 100%; height: 100%; }
.pdf-download__body { display: flex; flex-direction: column; line-height: 1.4; }
.pdf-download__body b { color: var(--text); font-size: 1rem; }
.pdf-download__body small { font-size: .8rem; color: var(--muted); }

/* 院内紹介（/about/） */
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 24px); }
.about-feature { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.about-feature__icon { width: 40px; height: 40px; color: var(--pink); margin-bottom: 10px; }
.about-feature h3 { font-size: 1.1rem; color: var(--plum); margin-bottom: .4em; }
.about-feature p { font-size: .9rem; color: var(--muted); }
.about-feature p + p { margin-top: .6em; }
.about-feature__list { margin: .5em 0; padding-left: 1.3em; font-size: .86rem; color: var(--muted); list-style: disc; }
.about-feature__list li { margin: .15em 0; }

.about-policy { display: flex; flex-direction: column; gap: 0; }
.about-policy li { padding: 16px 0; border-bottom: 1px solid var(--border); font-size: .94rem; color: var(--muted); }
.about-policy li:last-child { border-bottom: none; }
.about-policy b { display: block; color: var(--text); font-size: 1rem; margin-bottom: .25em; }

/* プレーンな箇条書き（禁忌・症状別おすすめ 等） */
.about-policy--plain li { padding: 9px 0 9px 1.3em; position: relative; color: var(--text); border-bottom: 1px dashed var(--border); font-size: .92rem; line-height: 1.8; }
.about-policy--plain li::before { content: "・"; position: absolute; left: 0; color: var(--pink); }
.about-policy--plain b { display: inline; color: var(--pink-dark); font-size: inherit; margin: 0; }

/* 施術比較表（横スクロール可） */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 18px 0; border-radius: var(--radius); }
.compare-table { border-collapse: collapse; width: 100%; min-width: 760px; font-size: .84rem; background: var(--white); }
.compare-table th, .compare-table td { border: 1px solid var(--border); padding: 9px 10px; text-align: center; vertical-align: middle; }
.compare-table thead th { background: var(--pink-pale); color: var(--text); font-weight: 600; line-height: 1.4; }
.compare-table tbody th { background: var(--cream); font-family: var(--f-serif); font-weight: 600; white-space: nowrap; }
.compare-table__note { text-align: left; color: var(--muted); font-size: .8rem; line-height: 1.6; min-width: 170px; }
.compare-table small { color: var(--muted); font-size: .85em; }

.about-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: clamp(12px, 2vw, 20px); margin-top: 18px; }
.about-photo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--white); }
.about-photo img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; }
.about-photo__ph { display: grid; place-content: center; aspect-ratio: 3/2; background: var(--pink-pale); color: var(--pink); }
.about-photo__ph svg { width: 40px; height: 40px; }
.about-photo figcaption { padding: 10px 12px; font-size: .82rem; color: var(--muted); text-align: center; }
@media (max-width: 560px) { .about-features { grid-template-columns: 1fr; } }

/* YouTube 動画カードグリッド */
.yt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: clamp(16px, 2.4vw, 26px); }
.yt-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.yt-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.yt-card__thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--warm); }
.yt-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.yt-card__play { position: absolute; inset: 0; display: grid; place-content: center; background: rgba(42,34,38,.18); transition: background-color .25s var(--ease); }
.yt-card__play svg { width: 54px; height: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.3)); transition: transform .25s var(--ease); }
.yt-card:hover .yt-card__play { background: rgba(42,34,38,.06); }
.yt-card:hover .yt-card__play svg { transform: scale(1.08); }
.yt-card__title { font-weight: 600; font-size: .92rem; line-height: 1.5; padding: 14px 16px 6px; color: var(--text); }
.yt-card__desc { font-size: .8rem; color: var(--muted); line-height: 1.65; padding: 0 16px 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.yt-section { margin-bottom: clamp(36px, 5vw, 56px); }
.yt-single { max-width: 360px; margin-top: 18px; }
.yt-single .yt-card { width: 100%; }

/* スタッフから見た院長 */
.staff-voices { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 24px); }
.staff-voice { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow-sm); position: relative; }
.staff-voice::before { content: "\201C"; font-family: var(--f-serif); color: var(--pink-light); font-size: 3rem; line-height: 1; position: absolute; top: 10px; left: 16px; }
.staff-voice blockquote { position: relative; color: var(--text); font-size: .95rem; line-height: 1.85; padding-top: 14px; }
.staff-voice figcaption { margin-top: 14px; font-size: .8rem; color: var(--pink-dark); font-weight: 600; }
.staff-voice figcaption::before { content: "― "; }
@media (max-width: 600px) { .staff-voices { grid-template-columns: 1fr; } }

/* アクセシビリティ */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.visually-hidden { position: absolute; width: 1px; height: 1px; clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap; }

/* ============================================================
 * 14. トップページ（装飾リニューアル・参考デザイン反映）
 *     すべて .home-* / .t-* / .f-* / .num-* の専用クラスで、
 *     下層ページの .card / .feature / .info-grid には影響しない。
 * ============================================================ */

/* 共通：装飾スクリプト見出し・区切り */
.script-line { font-family: var(--f-script); color: var(--pink); font-size: clamp(2rem, 5vw, 2.9rem); line-height: 1; display: block; margin-bottom: .1em; }
.script-head { font-family: var(--f-script); color: var(--gold); font-size: clamp(2.4rem, 5.5vw, 3.4rem); line-height: 1; display: block; }
.script-head--pink { color: #d49aa0; }
.script-head--plum { color: var(--pink-dark); }
.jp-head { display: block; font-family: var(--f-serif); font-size: clamp(1.02rem, 2vw, 1.2rem); letter-spacing: .14em; color: var(--text); margin-top: .5em; }
.deco-head { text-align: center; margin-bottom: clamp(10px, 2vw, 16px); }
.deco-head--tight { margin-bottom: clamp(22px, 4vw, 38px); }
.deco-head__rule { display: block; width: 66px; height: 1px; background: #cdb98a; margin: 12px auto; }
.deco-lead { text-align: center; color: var(--muted); max-width: 46em; margin: 0 auto clamp(32px, 4vw, 48px); text-wrap: balance; }
.deco-more { text-align: center; margin-top: 26px; }
.deco-more--left { text-align: left; }

/* 装飾：薔薇ラインアート（手描きイラスト・各セクションのコーナー） */
.rose-deco { position: absolute; z-index: 0; pointer-events: none; background-repeat: no-repeat; background-size: contain; }
.rose-deco--tl { background-image: url("assets/img/rose-tl.webp"); background-position: left top; }
.rose-deco--br { background-image: url("assets/img/rose-br.webp"); background-position: right bottom; }

/* フレーム付き写真（リング＋角丸＋影） */
.framed { position: relative; }
.framed::before { content: ""; position: absolute; inset: -13px; border: 1px solid rgba(207,124,134,.35); border-radius: 26px; pointer-events: none; }
.framed img { position: relative; border-radius: 22px; box-shadow: 0 20px 52px rgba(150,110,80,.22); width: 100%; display: block; }

/* 花びらオーバーレイ（桜の花びらテクスチャを各セクションに薄く重ねる） */
.petals-overlay { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: url("assets/img/petals.webp") center top / cover no-repeat; opacity: .4; }
.petals-overlay--hero { z-index: 5; opacity: .45; }

/* 14-1. ヒーロー */
.home-hero { position: relative; overflow: hidden; background: linear-gradient(115deg, #f8efe2 0%, #f5e7d6 42%, #f7ddd8 100%); }
.home-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 4vw, 48px); align-items: center; padding-block: clamp(48px, 7vw, 78px); }
/* ヒーローの薔薇は右上へ（スマホの空いた右上を埋める／PCはポートレート背面） */
.home-hero__rose { top: -14px; right: -10px; width: 290px; height: 252px; opacity: .42; transform: scaleX(-1); }
.home-hero__title { font-family: var(--f-serif); font-weight: 600; font-size: clamp(1.7rem, 5vw, 2.55rem); line-height: 1.55; letter-spacing: .03em; color: #574737; margin-block: .15em .35em; }
.home-hero__title em { font-style: normal; color: var(--pink-dark); }
.home-hero__title .nb { display: inline-block; }
.home-hero__lead { color: #6b5f53; line-height: 2; max-width: 31em; margin-bottom: 1.6em; }
.home-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.home-hero__visual { position: relative; z-index: 1; }

/* 14-2. NEWS */
.home-news { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 84px); background: linear-gradient(180deg, #fdeef0, var(--cream)); }
.home-news__rose--tl { top: -14px; left: -40px; width: 300px; height: 260px; opacity: .85; }
.home-news__rose--br { right: -40px; bottom: -34px; width: 300px; height: 266px; opacity: .85; }
.home-news__card { position: relative; z-index: 1; background: rgba(255,255,255,.66); border-radius: 26px; padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 50px); box-shadow: 0 12px 40px rgba(200,150,140,.1); display: grid; grid-template-columns: .4fr 1fr; gap: clamp(24px, 4vw, 44px); align-items: start; }
.home-news__head .jp-head { letter-spacing: .12em; margin-top: 8px; }
.home-news__head .link-arrow { margin-top: 18px; font-size: .85rem; }
.home-news__list { display: flex; flex-direction: column; }
.home-news__item a, .home-news__na { display: flex; align-items: center; gap: 16px; padding: 15px 4px; border-bottom: 1px dashed rgba(185,152,95,.3); }
.home-news__item time { font-family: var(--f-en); font-size: .85rem; color: #a89a8a; flex: none; width: 92px; }
.home-news__cat { flex: none; font-size: .7rem; color: var(--pink-dark); border: 1px solid var(--pink-mid); padding: 2px 11px; border-radius: 999px; }
.home-news__title { flex: 1; font-size: .92rem; color: var(--text); line-height: 1.6; }
.home-news__go { flex: none; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #cbb079, #b9985f); color: #fff; display: grid; place-items: center; font-size: .85rem; transition: transform .25s var(--ease); }
.home-news__item a:hover .home-news__go { transform: translateX(3px); }
.home-news__item a:hover .home-news__title { color: var(--pink-dark); }

/* 14-3. 診察案内カード */
.home-treatment { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 88px); background: var(--white); }
.home-treatment > .wrap { position: relative; z-index: 1; }  /* 文字を薔薇の上に（重なり回避） */
.home-treatment__rose { right: -30px; bottom: -24px; width: 215px; height: 191px; opacity: .45; }
.t-cards { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(16px, 2vw, 22px); }
.t-card { position: relative; flex: 1 1 280px; max-width: 340px; background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 30px 26px; box-shadow: 0 8px 24px rgba(200,150,140,.12); display: flex; flex-direction: column; align-items: flex-start; transition: transform .28s var(--ease), box-shadow .28s var(--ease); }
.t-card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(200,150,140,.2); }
.t-card--featured { border-color: var(--pink); }
.t-card__fig { width: 76px; height: 76px; border-radius: 50%; background: radial-gradient(circle at 50% 42%, #fbdde1 0%, #fdeef0 62%, #fff 100%); display: grid; place-items: center; margin-bottom: 16px; box-shadow: 0 4px 14px rgba(230,170,180,.25); color: var(--pink); }
.t-card__fig svg { width: 38px; height: 38px; }
.t-card__en { font-family: var(--f-script); font-size: 1.25rem; color: var(--gold); line-height: 1; }
.t-card__title { font-family: var(--f-serif); font-size: 1.2rem; color: var(--text); margin-top: 2px; }
.t-card__desc { font-size: .86rem; color: var(--muted); margin-top: 10px; line-height: 1.85; flex: 1; }
.t-card__more { margin-top: 14px; font-size: .82rem; color: var(--pink-dark); }

/* 性交痛：専門外来バンド */
.feature-band { position: relative; z-index: 1; display: flex; align-items: center; gap: clamp(16px, 2.4vw, 24px); margin-top: 26px; padding: clamp(22px, 3vw, 30px) clamp(24px, 3.4vw, 38px); border-radius: 20px; background: linear-gradient(120deg, #fbe4e7, #f7d4d9); border: 1px solid rgba(231,166,173,.5); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.feature-band:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(219,138,147,.22); }
.feature-band__icon { flex: none; width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,.7); display: grid; place-items: center; color: var(--pink-dark); }
.feature-band__icon svg { width: 30px; height: 30px; }
.feature-band__body { flex: 1 1 240px; }
.feature-band__title { display: block; font-family: var(--f-serif); font-size: clamp(1.15rem, 2.2vw, 1.4rem); font-weight: 600; color: #574737; text-wrap: balance; }
.feature-band__text { display: block; font-size: .86rem; color: #7a6459; margin-top: 6px; line-height: 1.8; }
.feature-band__cta { flex: none; align-self: center; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--pink-dark); font-weight: 700; font-size: .9rem; padding: 13px 24px; border-radius: 999px; box-shadow: 0 6px 16px rgba(219,138,147,.2); white-space: nowrap; }
.feature-band__cta svg { width: 16px; height: 16px; }
@media (max-width: 760px) { .feature-band { flex-direction: column; text-align: center; } .feature-band__cta { width: 100%; justify-content: center; } }

/* 14-4. 院長 */
.home-doctor { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 84px); background: linear-gradient(160deg, #f8efe2, #f7ddd8); }
.home-doctor__rose { top: -10px; left: -30px; width: 260px; height: 226px; opacity: .6; }
.home-doctor__inner { position: relative; z-index: 1; display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(30px, 5vw, 50px); align-items: center; }
.home-doctor__name { font-family: var(--f-serif); font-size: clamp(1.5rem, 3.5vw, 1.9rem); letter-spacing: .06em; color: #574737; margin-top: .1em; }
.home-doctor__name .ruby { display: inline-block; font-size: .62rem; color: var(--muted); letter-spacing: .08em; margin-left: 12px; }
.home-doctor__creds { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.home-doctor__creds li { font-size: .76rem; color: #8a7452; background: #ece2c8; border: 1px solid #d8c49a; padding: 5px 13px; border-radius: 999px; }
.home-doctor__message { color: #6b5f53; line-height: 2.1; }
.home-doctor__message p + p { margin-top: 1em; }

/* 14-5. 当院の特長 */
.home-features { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 82px); background: linear-gradient(180deg, #fdeef0, #fbe8ea); }
.home-features__rose { left: -30px; bottom: -10px; width: 260px; height: 231px; opacity: .5; transform: scaleX(-1); }
.f-cards, .proof-list { position: relative; z-index: 1; }
.f-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(16px, 2vw, 20px); }
.f-card { flex: 1 1 210px; max-width: 260px; background: #fff; border-radius: 20px; padding: 32px 24px 28px; text-align: center; box-shadow: 0 10px 28px rgba(210,160,155,.16); }
.f-card__fig { width: 82px; height: 82px; border-radius: 50%; background: radial-gradient(circle, #f8d3d8, #f4c2c9); display: grid; place-items: center; margin: 0 auto 18px; color: var(--pink-dark); }
.f-card__fig svg { width: 38px; height: 38px; }
.f-card__title { font-family: var(--f-serif); font-size: 1.1rem; letter-spacing: 0; color: #574737; line-height: 1.5; }
/* 4カラムで各カードが十分広い幅（PC）では特長タイトルを1行に固定。狭い幅では通常折り返し（あふれ防止） */
@media (min-width: 1216px) { .f-card__title { white-space: nowrap; } }
/* スマホでは特長カードを全幅にして横の余白をなくし、実績リストと左右を揃える */
@media (max-width: 600px) { .f-card { max-width: none; flex-basis: 100%; } }
.f-card__desc { font-size: .85rem; color: var(--muted); margin-top: 10px; line-height: 1.9; text-align: left; }
.proof-list { max-width: 840px; margin: 26px auto 0; background: rgba(255,255,255,.85); border-radius: 20px; padding: 22px clamp(24px, 3vw, 34px); box-shadow: 0 8px 24px rgba(210,160,155,.12); }
.proof-list li { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px dashed rgba(185,152,95,.28); font-size: .9rem; color: var(--text); line-height: 1.8; }
.proof-list li:last-child { border-bottom: none; }
.proof-list li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--pink-dark); margin-top: .7em; }

/* 14-6. Numbers */
.home-numbers { position: relative; overflow: hidden; padding-block: clamp(50px, 7vw, 78px); background: var(--cream); }
.num-circles { position: relative; z-index: 1; }
.num-circles { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(18px, 3vw, 34px); }
.num-circle { width: clamp(190px, 24vw, 236px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 34%, #fef1f3 0%, #fbdbe0 55%, #f4c2c9 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; box-shadow: 0 16px 36px rgba(230,170,180,.3); color: #8a6f6a; transition: transform .35s var(--ease); }
a.num-circle:hover { transform: translateY(-5px) scale(1.03); }
.num-circle__label { font-size: clamp(.8rem, 1.4vw, .9rem); line-height: 1.6; }
.num-circle__val { font-family: var(--f-serif); font-weight: 600; color: #c76d78; line-height: 1; margin-top: 8px; font-size: 1.15rem; }
.num-circle__val strong { font-weight: 600; font-size: 2.8em; }
.num-circle__val small { font-size: 1em; color: #b9808a; }
.num-circle__note { margin-top: 8px; font-size: .7rem; color: #b9808a; }

/* 14-7. アクセス */
.home-access { padding-block: clamp(56px, 8vw, 82px); background: var(--white); }

/* 14-8. トップページ レスポンシブ */
@media (max-width: 960px) {
  .home-hero__inner { grid-template-columns: 1fr; }
  .home-hero__visual { max-width: 460px; }
  .home-doctor__inner { grid-template-columns: 1fr; }
  .home-doctor__photo { max-width: 380px; }
  .home-news__card { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .home-hero__title .nb { display: block; }
  .home-hero__actions { flex-direction: column; }
  .home-hero__actions .btn { width: 100%; }
  .home-news__item a, .home-news__na { flex-wrap: wrap; gap: 8px 12px; }
  .home-news__title { flex-basis: 100%; order: 3; }
}

/* ============================================================
 * 15. 下層ページ 見出し右上の薔薇（非TOP・全ページ共通）
 * ============================================================ */
/* パンくず（下層ページのみ／TOPには無い）を基準に、見出し右上へ薔薇を配置 */
.breadcrumb { position: relative; }
.page-rose { top: -18px; right: -26px; width: 200px; height: 174px; opacity: .3; transform: scaleX(-1); }
@media (max-width: 820px) {
  .page-rose { width: 148px; height: 129px; right: -14px; top: -14px; opacity: .26; }
}

/* 症例写真（閲覧注意つきの開閉ブロック） */
.case-photos { margin-top: 18px; border-top: 1px dashed var(--border); padding-top: 14px; }
.case-photos > summary { cursor: pointer; font-size: .86rem; font-weight: 600; color: var(--pink-dark); list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.case-photos > summary::-webkit-details-marker { display: none; }
.case-photos > summary::before { content: "＋"; font-family: var(--f-en); font-size: .9em; }
.case-photos[open] > summary::before { content: "－"; }
.case-photos__caution { font-size: .78rem; line-height: 1.7; color: var(--muted); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 14px; margin-top: 12px; }
.case-photos .img-pair { max-width: 420px; }
.case-photos .article-figure img { background: var(--white); }

/* 効果の数値（フェムフロー等） */
.effect-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin: 18px 0; }
.effect-stats__group { background: var(--pink-pale); border-radius: var(--radius); padding: 20px 18px; text-align: center; display: flex; flex-direction: column; }
.effect-stats__group h3 { font-size: .88rem; line-height: 1.5; color: var(--plum); margin: 0 0 14px; }
.effect-stats__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-bottom: auto; }
.effect-stats__list li { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 108px; }
.effect-stats__num { width: 92px; height: 92px; border-radius: 50%; background: var(--white); border: 7px solid var(--pink-light); display: grid; place-items: center; font-family: var(--f-serif); font-size: 1.8rem; line-height: 1; color: var(--text); }
.effect-stats__num small { font-size: .5em; }
.effect-stats__label { font-size: .76rem; color: var(--text); line-height: 1.55; }
.effect-stats__cond { align-self: center; margin-top: 16px; padding: .4em 1.2em; border-radius: 999px; background: var(--pink-light); color: var(--plum); font-size: .74rem; }
.compare-table--pair { min-width: 460px; }
.compare-table--pair tbody th { white-space: normal; }

/* ============================================================
 * 外部AIチャットボット（#sakie-chat・functions.php で遅延読み込み）
 * 旧サイト（html の rem ≒ 1px）前提で作られており、rem 指定のままだと
 * パネルが左へ大きくずれる・角丸が過大になる。旧サイトの見え方に合わせて px で補正する。
 * ============================================================ */
#sakie-chat .tw-fixed { right: 16px !important; bottom: 16px !important; }
#sakie-chat .tw-right-52 {
  right: 0 !important;
  width: min(372px, calc(100vw - 32px)) !important;
  height: min(600px, calc(100dvh - 110px)) !important;
}
#sakie-chat .tw-rounded-\[33\.5rem\] { border-radius: 30px !important; }
/* 閉じる（×）：見た目の丸ボタンの右上の外側。
 *   丸ボタンはサービス側の指定で枠（103px）から左上へ 51.5px ずれて描画され、ロゴ画像はさらに上へ 12px はみ出す。
 *   → 右端 = 枠の右 + 51.5px、下端 = 枠の下 + 103 + 51.5 + 12 + 余白4px。
 *   z-index はチャット本体（50）より下にし、パネルを開いている間はパネルの裏に隠れるようにする。 */
#sakie-chat-close {
  position: fixed; right: calc(16px + 51px); bottom: calc(16px + 171px); z-index: 49;
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; padding: 0; border-radius: 50%;
  background: var(--white); border: 1px solid var(--border); color: var(--muted);
  box-shadow: 0 2px 8px rgba(138,80,102,.15); cursor: pointer;
}
#sakie-chat-close svg { width: 14px; height: 14px; }
/* フッター到達で出現するため、急に現れた印象にならないようふわっと表示 */
/*   ※ #sakie-chat に transform を掛けると中の position:fixed の基準が変わるため、本体はフェードのみ
 *   ※ opacity のアニメーションで #sakie-chat が重なりの基準（stacking context）になるため、
 *     z-index を明示しないと中のパネル（z-50）が × ボタン（z-49）より下に回る */
#sakie-chat { position: relative; z-index: 50; }
#sakie-chat, #sakie-chat-close { animation: sakie-chat-in .4s ease-out both; }
@keyframes sakie-chat-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { #sakie-chat, #sakie-chat-close { animation: none; } }
#sakie-chat-close:hover { color: var(--pink-dark); }
@media (max-width: 820px) {
  /* スマホは丸ボタンを出さず、スティッキーバーの「AIに相談」から開く（丸ボタンは JS からのクリック用に DOM には残す）。
     開いたパネルはスティッキーバー（高さ64px）の上に出す */
  #sakie-chat .tw-fixed { bottom: calc(64px + 12px) !important; }
  #sakie-chat .tw-fixed > section:not(.tw-right-52) { display: none !important; }
  #sakie-chat-close { display: none; }
}

/* お知らせ 記事詳細（single.php） */
.news-single__meta { display: flex; align-items: center; gap: 12px; margin-bottom: .6em; font-size: .86rem; color: var(--muted); }
.news-single__meta .news-item__cat { margin-right: 0; }
.news-single__body { margin-top: clamp(16px, 3vw, 28px); line-height: 2; }
.news-single__body p + p { margin-top: 1em; }
.news-single__body a { color: var(--pink-dark); text-decoration: underline; text-underline-offset: 3px; }
.news-single__back { margin-top: clamp(32px, 5vw, 56px); padding-top: 20px; border-top: 1px solid var(--border); }

/* ============================================================
 * TOP キャンペーンバナー（お知らせ欄の下・/campaign/ へリンク）
 * 院長OKのモック（ChatGPT作成）をHTML/CSSで再現。文字は画像にしない
 * ============================================================ */
.home-campaign { background: var(--cream); padding-block: 0 clamp(48px, 7vw, 80px); }
.campaign-banner {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: clamp(24px, 4vw, 48px);
  padding: clamp(28px, 4vw, 40px) clamp(28px, 5vw, 56px); border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--white) 0%, var(--pink-pale) 100%); border: 1px solid var(--border); box-shadow: var(--shadow);
  color: var(--text); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.campaign-banner:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(138, 80, 102, .14); }
.campaign-banner__rose--tl { top: -12px; left: -22px; width: 160px; height: 139px; opacity: .75; }
.campaign-banner__rose--br { right: -22px; bottom: -16px; width: 160px; height: 142px; opacity: .75; }
.campaign-banner__main, .campaign-banner__side { position: relative; z-index: 1; }
.campaign-banner__main { text-align: center; padding-right: clamp(24px, 4vw, 48px); border-right: 1px solid rgba(201, 168, 106, .45); }
.campaign-banner__script { display: flex; align-items: center; justify-content: center; gap: .5em; font-family: var(--f-script); color: var(--gold); font-size: clamp(2rem, 3.4vw, 2.6rem); line-height: 1.1; }
.campaign-banner__script::before, .campaign-banner__script::after { content: ""; width: 44px; height: 1px; background: rgba(201, 168, 106, .6); }
.campaign-banner__title { font-family: var(--f-serif); font-weight: 700; color: var(--plum); font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.45; letter-spacing: .06em; margin-top: .3em; }
.campaign-banner__offer { display: flex; align-items: baseline; justify-content: center; gap: .15em; margin-top: .25em; font-family: var(--f-serif); font-weight: 700; color: var(--pink-dark); white-space: nowrap; }
.campaign-banner__max { align-self: center; margin-right: .35em; padding: .15em .35em; border-block: 1px solid var(--gold); color: var(--plum); font-size: clamp(1rem, 1.8vw, 1.3rem); }
.campaign-banner__num { font-size: clamp(2.4rem, 4.4vw, 4.6rem); line-height: 1; letter-spacing: .01em; }
.campaign-banner__unit { font-size: clamp(1.2rem, 2.2vw, 2rem); }
.campaign-banner__menu-head { display: flex; align-items: center; gap: .8em; font-family: var(--f-serif); font-weight: 600; color: var(--plum); font-size: clamp(1.05rem, 1.9vw, 1.3rem); letter-spacing: .2em; }
.campaign-banner__menu-head::before, .campaign-banner__menu-head::after { content: ""; flex: 1; height: 1px; background: rgba(201, 168, 106, .6); }
.campaign-banner__menus { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.campaign-banner__menus li { display: flex; align-items: center; gap: .5em; padding: .7em .75em; background: rgba(255, 255, 255, .85); border: 1px solid var(--border); border-radius: 12px; font-size: clamp(.8rem, 1.05vw, .88rem); line-height: 1.4; white-space: nowrap; }
.campaign-banner__menus svg { flex: none; width: 20px; height: 20px; color: var(--gold); }
.campaign-banner__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; }
.campaign-banner__note { font-size: .72rem; color: var(--muted); }
.campaign-banner__btn { flex: none; display: inline-flex; align-items: center; gap: .6em; padding: .75em 1.6em; border-radius: 999px; background: var(--pink-dark); color: var(--white); font-weight: 600; letter-spacing: .08em; font-size: .92rem; box-shadow: var(--shadow-sm); transition: background-color .25s var(--ease); }
.campaign-banner__btn svg { width: 1em; height: 1em; }
.campaign-banner:hover .campaign-banner__btn { background: var(--plum); }
@media (max-width: 900px) {
  .campaign-banner { grid-template-columns: 1fr; gap: 20px; }
  .campaign-banner__main { padding: 0 0 20px; border-right: none; border-bottom: 1px solid rgba(201, 168, 106, .45); }
  .campaign-banner__foot { flex-direction: column-reverse; align-items: stretch; text-align: center; }
  .campaign-banner__btn { justify-content: center; }
}
@media (max-width: 560px) {
  .campaign-banner { padding: 26px 18px; }
  .campaign-banner__rose--tl, .campaign-banner__rose--br { width: 110px; height: 96px; }
  .campaign-banner__menus li { flex-direction: column; justify-content: center; gap: .3em; padding: .7em .4em; text-align: center; font-size: .8rem; white-space: normal; }
}

/* キャンペーンページ（/campaign/） */
.campaign-prices__old { color: var(--muted); font-weight: 400; margin-right: .2em; }
.campaign-tel { margin-top: 1.2em; }
.campaign-tel .btn svg { width: 1.1em; height: 1.1em; }
