/*
Theme Name: やまもと歯科医院 クローバー
Theme URI: https://www.yamamoto-dc.site/
Author: やまもと歯科医院
Description: 練馬区桜台・やまもと歯科医院のオリジナルテーマ。四つ葉のクローバーとミントグリーンを基調とした親しみやすいデザイン。固定ヘッダー、スクロールフェードイン、スマホ下部固定ボタン、Googleカレンダー連携に対応。
Version: 3.9.3
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: yamamoto-clover
*/

/*
  目次
   1. 変数
   2. ベース
   3. ボタン
   4. ヘッダー・グローバルナビ
   5. トップ：ファーストビュー
   6. セクション共通（見出し）
   7. トップ：お知らせ
   8. トップ：診療案内
   9. トップ：診療時間・ご予約・カード払い
  10. トップ：当院の特徴
  11. トップ：練馬区の歯科健診
  12. トップ：院内紹介
  13. トップ：スタッフ紹介
  14. トップ：アクセス・診療日カレンダー
  15. トップ：スライドショー
  16. フッター・ページトップ・スマホ固定ボタン
  17. 汎用ページ（お知らせ一覧・記事）
  18. フェードイン
  19. 背景のクローバー
  20. 子ページ共通
  21. 子ページ個別（虫歯・インプラント・審美・ホワイトニング・口腔外科）
  22. レスポンシブ（画面幅ごとの指定はすべてここ）
*/

/* ===================================================
   1. 変数
=================================================== */
:root {
  --green: #2f9e5b;
  --green-dark: #1f7a44;
  --green-deep: #175c34;
  --leaf: #5cbf7a;
  --leaf-light: #a9e0b8;
  --mint: #d8f2e6;         /* 背景ミントグリーン */
  --mint-soft: #ecf9f2;
  --mint-line: #bfe6d1;
  --yellow: #f7c948;
  --orange: #f39a3d;
  --pink: #f4a3a8;
  --text: #33463a;
  --muted: #6a7d70;
  --white: #fff;
  --radius: 24px;
  --shadow: 0 12px 32px rgba(31, 122, 68, .12);
  --shadow-sm: 0 6px 16px rgba(31, 122, 68, .10);
  --header-h: 150px;
  --font: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  /* クローバーの形（リスト記号などで使用） */
  --clover-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-50 -50 100 100'%3E%3Cg fill='%235cbf7a'%3E%3Cpath transform='rotate(45)' d='M0 0C-6-10-23-15-23-29c0-10 8-16 15-14 4 1 7 4 8 8 1-4 4-7 8-8 7-2 15 4 15 14C23-15 6-10 0 0z'/%3E%3Cpath transform='rotate(135)' d='M0 0C-6-10-23-15-23-29c0-10 8-16 15-14 4 1 7 4 8 8 1-4 4-7 8-8 7-2 15 4 15 14C23-15 6-10 0 0z'/%3E%3Cpath transform='rotate(225)' d='M0 0C-6-10-23-15-23-29c0-10 8-16 15-14 4 1 7 4 8 8 1-4 4-7 8-8 7-2 15 4 15 14C23-15 6-10 0 0z'/%3E%3Cpath transform='rotate(315)' d='M0 0C-6-10-23-15-23-29c0-10 8-16 15-14 4 1 7 4 8 8 1-4 4-7 8-8 7-2 15 4 15 14C23-15 6-10 0 0z'/%3E%3C/g%3E%3C/svg%3E");
}

/* ===================================================
   2. ベース
=================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding-top: var(--header-h);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
  background-color: var(--mint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='%23ffffff' fill-opacity='.35'%3E%3Cg transform='translate(40 40) scale(.18)'%3E%3Cpath transform='rotate(45)' d='M0 0C-6-10-23-15-23-29c0-10 8-16 15-14 4 1 7 4 8 8 1-4 4-7 8-8 7-2 15 4 15 14C23-15 6-10 0 0z'/%3E%3Cpath transform='rotate(135)' d='M0 0C-6-10-23-15-23-29c0-10 8-16 15-14 4 1 7 4 8 8 1-4 4-7 8-8 7-2 15 4 15 14C23-15 6-10 0 0z'/%3E%3Cpath transform='rotate(225)' d='M0 0C-6-10-23-15-23-29c0-10 8-16 15-14 4 1 7 4 8 8 1-4 4-7 8-8 7-2 15 4 15 14C23-15 6-10 0 0z'/%3E%3Cpath transform='rotate(315)' d='M0 0C-6-10-23-15-23-29c0-10 8-16 15-14 4 1 7 4 8 8 1-4 4-7 8-8 7-2 15 4 15 14C23-15 6-10 0 0z'/%3E%3C/g%3E%3Cg transform='translate(120 120) scale(.12)'%3E%3Cpath transform='rotate(45)' d='M0 0C-6-10-23-15-23-29c0-10 8-16 15-14 4 1 7 4 8 8 1-4 4-7 8-8 7-2 15 4 15 14C23-15 6-10 0 0z'/%3E%3Cpath transform='rotate(135)' d='M0 0C-6-10-23-15-23-29c0-10 8-16 15-14 4 1 7 4 8 8 1-4 4-7 8-8 7-2 15 4 15 14C23-15 6-10 0 0z'/%3E%3Cpath transform='rotate(225)' d='M0 0C-6-10-23-15-23-29c0-10 8-16 15-14 4 1 7 4 8 8 1-4 4-7 8-8 7-2 15 4 15 14C23-15 6-10 0 0z'/%3E%3Cpath transform='rotate(315)' d='M0 0C-6-10-23-15-23-29c0-10 8-16 15-14 4 1 7 4 8 8 1-4 4-7 8-8 7-2 15 4 15 14C23-15 6-10 0 0z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--green-dark); text-decoration: none; transition: color .2s, background-color .2s, opacity .2s, transform .2s, box-shadow .2s; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
svg { width: 1em; height: 1em; flex-shrink: 0; fill: currentColor; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sp { display: none; }
/* 見出しの不自然な改行（「親知ら／ず」など）を防ぐ
   ・見出し全体：文節の切れ目で改行（対応ブラウザのみ。Chrome・Android など）
   ・.phrase：<wbr> を入れた位置だけで改行（iPhone の Safari を含むすべてのブラウザ）
   ・.nowrap：途中で改行しない */
h1, h2, h3, .director__msg, .point__catch, .cta-box__title, .callout__title, .stages__badge, .judge__title, .checklist__title { word-break: auto-phrase; }
.phrase { word-break: keep-all; overflow-wrap: anywhere; }
.nowrap { white-space: nowrap; }

.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(880px, 100% - 40px); }

/* ===================================================
   3. ボタン
=================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .7em 1.4em; border-radius: 999px;
  font-weight: 700; line-height: 1.3; white-space: nowrap;
}
.btn svg { font-size: 1.2em; }
.btn--reserve { background: var(--orange); color: #fff; box-shadow: 0 4px 0 #d47a22; }
.btn--reserve:hover { transform: translateY(2px); box-shadow: 0 2px 0 #d47a22; color: #fff; }
.btn--tel { background: var(--green); color: #fff; box-shadow: 0 4px 0 var(--green-deep); }
.btn--tel:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--green-deep); color: #fff; }
.btn--outline { background: #fff; color: var(--green-dark); border: 2px solid var(--green); white-space: normal; }
.btn--outline:hover { background: var(--green); color: #fff; }
.btn--lg { padding: .9em 1.8em; font-size: 1.1rem; }

/* ===================================================
   4. ヘッダー・グローバルナビ（スクロールしても上部に固定）
=================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  background: #fff;
  box-shadow: 0 2px 14px rgba(31, 122, 68, .12);
  transition: transform .3s;
}
.site-header__tagline {
  background: var(--green); color: #fff;
  font-size: .75rem; line-height: 1.5; padding: 4px 0; letter-spacing: .04em;
}
.site-header__tagline .container { display: block; }
.site-header__main { display: flex; align-items: center; gap: 24px; padding: 10px 0; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--green-deep); }
.logo img { width: 56px; height: 56px; object-fit: contain; border-radius: 50%; }
.logo__text { display: flex; flex-direction: column; margin: 0; font-size: inherit; font-weight: inherit; line-height: 1.2; } /* トップページでは h1 */
.logo__text small { font-size: .72rem; color: var(--muted); }
.logo__text b { font-size: 1.6rem; font-weight: 900; letter-spacing: .06em; }
.logo__text em { font-style: normal; font-size: .62rem; letter-spacing: .18em; color: var(--green); }
.site-header__cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.header-tel { display: flex; align-items: center; gap: 8px; color: var(--green-deep); }
.header-tel > svg { font-size: 2rem; padding: 6px; background: var(--mint); border-radius: 50%; color: var(--green); }
.header-tel span { display: flex; flex-direction: column; line-height: 1.2; }
.header-tel b { font-size: 1.5rem; letter-spacing: .04em; }
.header-tel small { font-size: .72rem; color: var(--muted); }

.gnav { border-top: 1px solid var(--mint-line); }
.gnav__list { display: flex; justify-content: center; }
.gnav__list li { flex: 1; }
.gnav__list a {
  position: relative; display: block; text-align: center; padding: 11px 6px;
  font-weight: 700; font-size: .95rem; color: var(--text);
}
.gnav__list li + li a::before { content: ""; position: absolute; left: 0; top: 30%; height: 40%; border-left: 1px dashed var(--mint-line); }
.gnav__list a::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; width: 0; height: 3px; border-radius: 3px;
  background: var(--leaf); transition: width .25s, left .25s;
}
.gnav__list a:hover { color: var(--green); }
.gnav__list a:hover::after { width: 50%; left: 25%; }
.gnav__sp-cta { display: none; }
.menu-btn { display: none; }

/* ===================================================
   5. トップ：ファーストビュー
=================================================== */
.hero {
  position: relative; overflow: hidden;
  padding: 56px 0 120px;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .7), transparent 40%),
    linear-gradient(160deg, #e6f8ef 0%, var(--mint) 55%, #c7ecd9 100%);
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: 999px; background: #fff; color: var(--green-dark);
  font-weight: 700; font-size: .9rem; box-shadow: var(--shadow-sm);
}
.hero__badge b { color: var(--orange); font-size: 1.15em; }
/* キャッチコピー（h2） */
.hero__copy { margin: 22px 0 18px; font-weight: 900; color: var(--green-deep); line-height: 1.35; letter-spacing: .04em; font-size: clamp(2rem, 4.2vw, 3.4rem); }
.hero__copy-line { display: block; opacity: 0; transform: translateY(20px); animation: copyIn 1.2s cubic-bezier(.2, .7, .2, 1) forwards; }
.hero__copy-line:nth-child(2) { animation-delay: .3s; }
.hero__copy-line:nth-child(3) { animation-delay: .6s; }
.hero__copy em {
  font-style: normal; color: var(--green);
  background: linear-gradient(transparent 62%, rgba(247, 201, 72, .6) 62%);
}
.hero__copy-clover { width: .9em; height: .9em; margin-left: .15em; color: var(--leaf); vertical-align: -.05em; animation: sway 4s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes copyIn { to { opacity: 1; transform: none; } }
@keyframes sway { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } }
.hero__lead { font-size: 1rem; color: var(--text); }
.hero__points { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 26px; }
.hero__points li {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 14px; border-radius: 999px; background: rgba(255, 255, 255, .8);
  font-weight: 700; font-size: .88rem; color: var(--green-dark); border: 1px solid var(--mint-line);
}
.hero__points svg { color: var(--leaf); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* 写真（外観スライドショー＋スタッフ写真） */
.hero__visual { position: relative; display: grid; gap: 26px; }
.hero__photo { margin: 0; overflow: hidden; background: #fff; }
.hero__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero__photo--main {
  aspect-ratio: 16 / 10;
  border-radius: 40px 180px 40px 180px / 40px 140px 40px 140px;
  border: 8px solid #fff; box-shadow: var(--shadow);
}
.hero-fade { position: relative; }
.hero-fade__img { position: absolute; inset: 0; opacity: 0; transition: opacity var(--fade, 1.5s) ease-in-out; }
.hero-fade__img.is-active { opacity: 1; z-index: 1; }
.hero__visual-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-inline: 4%; }
.hero__photo--sub {
  flex: 0 1 66%;
  border-radius: 22px; border: 6px solid #fff; box-shadow: var(--shadow); transform: rotate(-2deg);
}
.hero__photo--sub img { aspect-ratio: 16 / 9; }
.hero__photo--sub figcaption {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  padding: 4px 6px; font-size: .78rem; font-weight: 700; color: var(--green-dark); background: #fff;
}
.hero__photo--sub figcaption svg { color: var(--leaf); }

/* 「桜台駅から 徒歩30秒」スタンプ */
.hero__stamp {
  flex: 0 0 auto; margin-right: 2%;
  width: 124px; height: 124px; gap: 2px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--yellow); color: var(--green-deep); font-weight: 900; line-height: 1.1;
  box-shadow: 0 8px 20px rgba(200, 150, 20, .3); border: 4px dashed #fff; outline: 4px solid var(--yellow);
  animation: bob 3.5s ease-in-out infinite;
}
.hero__stamp span { font-size: .8rem; }
.hero__stamp-top { font-weight: 700; letter-spacing: .02em; }
.hero__stamp-main { display: flex; align-items: baseline; line-height: 1; }
.hero__stamp-main small { margin-right: 2px; font-size: .82rem; font-weight: 900; writing-mode: vertical-rl; letter-spacing: .05em; align-self: center; }
.hero__stamp-main b { font-size: 2.5rem; font-weight: 900; letter-spacing: -.02em; }
.hero__stamp-main em { margin-left: 1px; font-style: normal; font-size: 1.35rem; font-weight: 900; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(6deg); } 50% { transform: translateY(-8px) rotate(6deg); } }

/* 背景の白いクローバー */
.hero__deco { position: absolute; color: #fff; opacity: .55; pointer-events: none; animation: float 9s ease-in-out infinite; }
.hero__deco--1 { width: 180px; height: 180px; left: -40px; top: 30px; }
.hero__deco--2 { width: 90px; height: 90px; left: 44%; top: 20px; color: var(--leaf-light); animation-delay: -2s; }
.hero__deco--3 { width: 130px; height: 130px; right: -30px; bottom: 90px; animation-delay: -4s; }
.hero__deco--4 { width: 60px; height: 60px; left: 36%; bottom: 120px; color: var(--leaf-light); animation-delay: -6s; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-16px) rotate(12deg); } }

/* 診療時間の帯 */
.hero__hours { position: relative; z-index: 1; margin-top: 28px; }
.hero__hours dl {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px;
  padding: 14px 28px; background: #fff; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.hero__hours dt { display: flex; align-items: center; gap: 6px; font-weight: 900; color: var(--green); }
.hero__hours dd { font-size: .95rem; }
.hero__hours dd b { display: inline-block; margin-right: 6px; padding: 0 10px; border-radius: 999px; background: var(--mint); color: var(--green-dark); font-size: .82rem; }
.hero__hours dd.is-off b { background: #fde4e4; color: #c94b4b; }

.wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 60px; fill: #fff; }

/* ===================================================
   6. セクション共通（見出し）
=================================================== */
.section { padding: 90px 0; position: relative; }
.section--white { background: #fff; }
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-head__en { display: block; font-size: .85rem; font-weight: 700; letter-spacing: .3em; color: var(--leaf); }
.sec-head__title {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 900; color: var(--green-deep); line-height: 1.4;
}
.sec-head__title svg { color: var(--leaf); font-size: 1.1em; }
.sec-head__lead { margin-top: 12px; color: var(--muted); }

/* ===================================================
   7. トップ：お知らせ
=================================================== */
.news-list { border-top: 2px dotted var(--mint-line); }
.news-list li { border-bottom: 2px dotted var(--mint-line); }
.news-list a { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; padding: 16px 8px; color: var(--text); }
.news-list a:hover { background: var(--mint-soft); }
.news-list time { font-weight: 700; color: var(--green); font-size: .95rem; }
.news-list__cat { display: inline-block; min-width: 76px; text-align: center; padding: 0 10px; border-radius: 999px; background: var(--green); color: #fff; font-size: .78rem; }
.news-list__cat.is-holiday { background: var(--pink); }
.news-list__cat.is-kenshin { background: var(--orange); }
.news-list__title { flex: 1 1 300px; }
.news-list__new { display: inline-block; margin-left: 8px; padding: 0 8px; border-radius: 4px; background: #e8524f; color: #fff; font-style: normal; font-size: .7rem; font-weight: 700; line-height: 1.7; vertical-align: 2px; }
.news-more { margin-top: 28px; text-align: center; }

/* ===================================================
   8. トップ：診療案内
=================================================== */
.medical-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.medical-card {
  position: relative; text-align: center;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm);
  border: 2px solid transparent; transition: border-color .3s, transform .3s;
}
.medical-card:has(a):hover { border-color: var(--leaf); transform: translateY(-6px); box-shadow: var(--shadow); }
.medical-card__link { display: flex; flex-direction: column; height: 100%; padding: 26px 20px 24px; color: var(--text); border-radius: inherit; }
.medical-card__link:hover { color: var(--text); }
.medical-card img { width: 150px; height: 150px; object-fit: contain; margin: 0 auto 8px; display: block; border-radius: 50%; background: var(--mint-soft); }
.medical-card h3 { font-size: 1.25rem; color: var(--green-deep); margin-bottom: 6px; }
.medical-card h3::after { content: ""; display: block; width: 32px; height: 3px; margin: 6px auto 0; border-radius: 3px; background: var(--yellow); }
.medical-card p { margin-bottom: 14px; font-size: .92rem; text-align: left; }
.medical-card__more {
  display: inline-flex; align-items: center; justify-content: center; gap: 2px; align-self: center;
  margin-top: auto; padding: 4px 16px; border-radius: 999px; background: var(--mint); color: var(--green-dark); font-size: .85rem; font-weight: 700;
  transition: background-color .2s, color .2s;
}
.medical-card__more svg { transition: transform .2s; }
.medical-card__link:hover .medical-card__more { background: var(--green); color: #fff; }
.medical-card__link:hover .medical-card__more svg { transform: translateX(3px); }

/* ===================================================
   9. トップ：診療時間・ご予約・カード払い
=================================================== */
.hours { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.hours-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 16px; overflow: hidden; border: 2px solid var(--mint-line); text-align: center; }
.hours-table th, .hours-table td { padding: 14px 4px; border-bottom: 1px solid var(--mint-line); }
.hours-table tbody tr:last-child th, .hours-table tbody tr:last-child td { border-bottom: 0; }
.hours-table thead th { background: var(--green); color: #fff; font-weight: 700; }
.hours-table tbody th { background: var(--mint-soft); color: var(--green-deep); font-weight: 700; white-space: nowrap; padding-inline: 10px; }
.hours-table td { color: var(--green); font-size: 1.15rem; }
.hours-table td.off { color: #c9b5b5; }
.hours-table .sat, .hours-table__note .sat { color: var(--orange); }
.hours-table__note { margin-top: 10px; font-size: .9rem; }
.hours-table__note b { color: #c94b4b; }
.hours__reserve { display: grid; gap: 14px; }
.hours__note { font-size: .88rem; color: var(--muted); }
.reserve-box {
  display: flex; align-items: center; gap: 14px; padding: 18px 22px;
  border-radius: 18px; color: #fff; box-shadow: var(--shadow-sm);
}
.reserve-box > svg:first-child { font-size: 2.2rem; }
.reserve-box span { display: flex; flex-direction: column; line-height: 1.3; }
.reserve-box small { font-size: .82rem; opacity: .95; }
.reserve-box b { font-size: 1.5rem; letter-spacing: .04em; }
.reserve-box__arrow { margin-left: auto; font-size: 1.4rem; }
.reserve-box--web { background: var(--orange); }
.reserve-box--tel { background: var(--green); }
.reserve-box:hover { color: #fff; transform: translateY(-3px); box-shadow: var(--shadow); }

.card-banner {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px 32px;
  margin-top: 48px; padding: 26px 30px; border-radius: var(--radius);
  background: linear-gradient(120deg, #fff8e1, #fff3d0); border: 3px dashed var(--yellow);
}
.card-banner__title { display: flex; align-items: center; gap: 10px; font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 900; color: var(--green-deep); }
.card-banner__title svg { font-size: 1.6em; color: var(--orange); }
.card-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.card-logos li svg { width: 72px; height: 45px; display: block; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .08)); }

/* ===================================================
   10. トップ：当院の特徴（Point 01〜03）
=================================================== */
.section--feature { background: linear-gradient(180deg, #fbfefc 0%, #f1faf5 100%); }
.point { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 80px; }
.point__media {
  position: relative; aspect-ratio: 4 / 3;
  border-radius: 36px 36px 36px 140px;
  box-shadow: 0 24px 50px rgba(31, 122, 68, .12);
}
.point--reverse .point__media { order: 2; border-radius: 36px 36px 140px 36px; }
.point__media img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.point__media--contain { background: #fff; }
.point__media--contain img { object-fit: contain; padding: 24px 12% 18px; }
.point__badge {
  position: absolute; top: -22px; left: -14px; z-index: 2;
  width: 92px; height: 92px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--yellow); color: var(--green-deep);
  font-size: 2rem; font-weight: 900; line-height: 1;
  box-shadow: 0 8px 18px rgba(200, 150, 20, .3);
}
.point__badge small { font-size: .78rem; font-weight: 700; letter-spacing: .05em; margin-bottom: 4px; }
.point--reverse .point__badge { left: auto; right: -14px; }
.point__title { font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 900; color: var(--green-deep); line-height: 1.45; letter-spacing: .04em; }
.point__catch { margin: 12px 0 18px; color: var(--orange); font-weight: 700; font-size: 1.05rem; }
.point__text { font-size: .95rem; line-height: 2; }
.point__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.point__tags li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: 999px;
  background: #effaf4; border: 1px solid #cdeedb;
  color: var(--green-deep); font-size: .85rem; font-weight: 700;
}
.point__tags svg { color: var(--leaf); }
/* 予防・説明・通いやすさの3枚 */
.feature-sub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.section--feature .feature-sub { margin-top: 20px; }
.feature-sub li { padding: 28px 24px; background: rgba(255, 255, 255, .85); border-radius: var(--radius); text-align: center; }
.feature-sub__img { width: 150px; height: 150px; object-fit: cover; border-radius: 50%; margin: 0 auto; display: block; background: #fff; }
.feature-sub h3 { margin: 10px 0 6px; color: var(--green-deep); }
.feature-sub p { font-size: .92rem; text-align: left; }

/* ===================================================
   11. トップ：練馬区の歯科健診
=================================================== */
.kenshin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.kenshin-card { padding: 28px 24px; background: var(--mint-soft); border-radius: var(--radius); text-align: center; border: 2px solid var(--mint-line); }
.kenshin-card img { width: 170px; height: 170px; object-fit: cover; border-radius: 50%; border: 6px solid #fff; display: block; margin: 0 auto 12px; }
.kenshin-card h3 { color: var(--green-deep); font-size: 1.2rem; margin-bottom: 8px; }
.kenshin-card p { font-size: .92rem; text-align: left; }
.kenshin-link { text-align: center; margin-top: 36px; }

/* ===================================================
   12. トップ：院内紹介
=================================================== */
.clinic-grid { --cols: 3; display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.clinic-card { flex: 0 0 calc((100% - 24px * (var(--cols) - 1)) / var(--cols)); background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.clinic-card figure { aspect-ratio: 4 / 3; overflow: hidden; }
.clinic-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.clinic-card:hover img { transform: scale(1.05); }
.clinic-card h3 { padding: 16px 20px 0; color: var(--green-deep); display: flex; align-items: center; gap: 6px; }
.clinic-card h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--leaf); }
.clinic-card p { padding: 4px 20px 20px; font-size: .9rem; }

/* ===================================================
   13. トップ：スタッフ紹介
=================================================== */
.director {
  display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: center;
  padding: 40px; margin-bottom: 40px; background: var(--mint-soft); border-radius: 36px;
}
.director__photo { border-radius: 50% 50% 24px 24px; overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow-sm); }
.director__role { display: inline-block; padding: 0 14px; border-radius: 999px; background: var(--green); color: #fff; font-size: .85rem; font-weight: 700; }
.director__name { margin: 8px 0 12px; font-size: 1.8rem; color: var(--green-deep); }
.director__name small { margin-left: 12px; font-size: .8rem; letter-spacing: .2em; color: var(--leaf); }
.director__msg { margin-bottom: 12px; font-size: 1.2rem; font-weight: 700; color: var(--green); }
.staff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.staff-card { text-align: center; }
.staff-card figure { width: 200px; aspect-ratio: 1; margin: 0 auto 12px; border-radius: 50%; overflow: hidden; border: 6px solid var(--mint); }
.staff-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.staff-card__role { color: var(--leaf); font-weight: 700; font-size: .88rem; }
.staff-card h3 { font-size: 1.3rem; color: var(--green-deep); }
.staff-card p:last-child { font-size: .9rem; }

/* ===================================================
   14. トップ：アクセス・診療日カレンダー
=================================================== */
.access { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: stretch; }
.access__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); min-height: 360px; background: #fff; }
.access__map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.access__info { padding: 30px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.access__info dt { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--green); }
.access__info dt:not(:first-child) { margin-top: 16px; padding-top: 16px; border-top: 2px dotted var(--mint-line); }
.access__info dd b { color: var(--orange); }
.access__info dd a { font-size: 1.3rem; font-weight: 700; }

.calendar { padding: 16px; background: var(--mint-soft); border-radius: var(--radius); }
.calendar iframe { display: block; width: 100%; height: 520px; margin-inline: auto; background: #fff; border-radius: 8px; }

/* ===================================================
   15. トップ：スライドショー（左へ移動）
=================================================== */
.slideshow { padding: 60px 0 50px; overflow: hidden; background: #fff; }
.slider { --per: 3; --gap: 24px; position: relative; width: min(1160px, 100% - 40px); margin-inline: auto; }
.slider__viewport { overflow: hidden; border-radius: 26px; }
.slider__track { display: flex; gap: var(--gap); transition: transform .8s cubic-bezier(.45, .05, .25, 1); will-change: transform; }
.slider__track.no-anim { transition: none; }
.slider__item { flex: 0 0 calc((100% - var(--gap) * (var(--per) - 1)) / var(--per)); aspect-ratio: 3 / 2; border-radius: 26px; overflow: hidden; }
.slider__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slider__btn {
  position: absolute; top: calc(50% - 22px); transform: translateY(-50%); z-index: 2;
  width: 48px; height: 48px; border: 0; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: #fff; color: var(--green); font-size: 1.6rem; box-shadow: var(--shadow-sm);
}
.slider__btn:hover { background: var(--green); color: #fff; }
.slider__btn--prev { left: -18px; }
.slider__btn--prev svg { transform: scaleX(-1); }
.slider__btn--next { right: -18px; }
.slider__dots { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.slider__dots button { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 50%; background: var(--mint-line); cursor: pointer; transition: background-color .3s, transform .3s; }
.slider__dots button[aria-selected="true"] { background: var(--green); transform: scale(1.3); }

/* ===================================================
   16. フッター・ページトップ・スマホ固定ボタン
=================================================== */
.site-footer { position: relative; margin-top: 60px; padding: 30px 0 0; background: var(--green-deep); color: #e7f6ee; }
.wave--footer { top: -59px; bottom: auto; fill: var(--green-deep); }
.site-footer__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.site-footer__info p { margin: 14px 0; font-size: .92rem; }
.logo--footer { color: #fff; }
.logo--footer .logo__text small, .logo--footer .logo__text em { color: var(--leaf-light); }
.site-footer__tel a { display: inline-flex; align-items: center; gap: 6px; font-size: 1.7rem; font-weight: 900; color: #fff; }
.site-footer__hours .hours-table { color: var(--text); }
.site-footer__hours .hours-table__note { color: #e7f6ee; }
.site-footer__hours .hours-table__note b { color: var(--yellow); }
.site-footer__copy { padding: 14px 0; text-align: center; background: rgba(0, 0, 0, .18); }

.pagetop {
  position: fixed; right: 18px; bottom: 24px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; background: #fff; color: var(--green);
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .4s;
}
.pagetop svg { font-size: 1.5rem; }
.pagetop span { font-size: .65rem; font-weight: 900; }
.pagetop.is-show { opacity: 1; pointer-events: auto; }
.sp-fixed-cta { display: none; }

/* ===================================================
   17. 汎用ページ（お知らせ一覧・記事・検索・404）
=================================================== */
.page-title { padding: 50px 0; background: linear-gradient(160deg, #e6f8ef, var(--mint)); }
.page-title h1 { display: flex; align-items: center; gap: 10px; font-size: 1.8rem; color: var(--green-deep); }
.page-title h1 svg { color: var(--leaf); }
.entry { padding: 40px; background: #fff; border-radius: var(--radius); }
.entry--message { text-align: center; }
.entry__date { display: flex; align-items: center; gap: 12px; color: var(--green); font-weight: 700; margin-bottom: 16px; }
.entry__content > * + * { margin-top: 1em; }
.entry-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 24px; font-size: .92rem; }
.entry-nav a { font-weight: 700; }
.entry-nav__next { margin-left: auto; text-align: right; }
.back-home { margin-top: 40px; text-align: center; }
.back-home + .back-home { margin-top: 14px; }
.pager .nav-links { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 999px; background: #fff; color: var(--green-dark); font-weight: 700; }
.pager .page-numbers.current { background: var(--green); color: #fff; }

/* ===================================================
   18. フェードイン（2秒）
=================================================== */
.fade-in { opacity: 0; transform: translateY(40px); transition: opacity 2s ease, transform 2s ease; }
.fade-in.is-visible { opacity: 1; transform: none; }
.no-js .fade-in { opacity: 1; transform: none; }

/* ===================================================
   19. 背景でふわふわ動く四つ葉のクローバー
   （表示のON/OFFは「外観 → カスタマイズ → 背景のクローバー」）
   重なり順：セクションの背景色 ＜ クローバー（z-index:0） ＜ 文字・イラスト・カード（z-index:1）
=================================================== */
.float-clovers { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
main .container, .slider, .site-footer__inner, .site-footer__copy { position: relative; z-index: 1; }
.fc {
  --k: 1;
  position: absolute; left: var(--x); top: var(--y);
  width: calc(var(--s) * var(--k)); height: calc(var(--s) * var(--k));
  margin: calc(var(--s) * var(--k) * -.5) 0 0 calc(var(--s) * var(--k) * -.5);
  background: center / contain no-repeat;
  opacity: 0;
  transform: rotate(var(--r));
  animation: fc-in 2s ease forwards, fc-float var(--d) ease-in-out var(--delay) infinite;
  filter: drop-shadow(0 4px 6px rgba(31, 122, 68, .12));
}
.fc--1 { background-image: url("assets/images/float-clover-1.webp"); }
.fc--2 { background-image: url("assets/images/float-clover-2.webp"); }
.fc--3 { background-image: url("assets/images/float-clover-3.webp"); }
@keyframes fc-in { to { opacity: var(--o); } }
@keyframes fc-float {
  0%, 100% { transform: translate(0, 0) rotate(var(--r)) scale(1); }
  20% { transform: translate(calc(36px * var(--k)), calc(-48px * var(--k))) rotate(calc(var(--r) + 28deg)) scale(1.08); }
  45% { transform: translate(calc(-18px * var(--k)), calc(-96px * var(--k))) rotate(calc(var(--r) - 18deg)) scale(.94); }
  70% { transform: translate(calc(-42px * var(--k)), calc(-40px * var(--k))) rotate(calc(var(--r) + 20deg)) scale(1.05); }
  85% { transform: translate(calc(-14px * var(--k)), calc(-12px * var(--k))) rotate(calc(var(--r) - 8deg)) scale(1); }
}

/* ===================================================
   20. 子ページ共通
=================================================== */
/* ページ上部（パンくず・見出し・写真） */
.sub-hero { position: relative; padding: 28px 0 110px; background: linear-gradient(160deg, #e6f8ef 0%, var(--mint) 60%, #c7ecd9 100%); overflow: hidden; }
.sub-hero > .container { position: relative; z-index: 1; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: .82rem; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; margin-right: 4px; }
.breadcrumb a { color: var(--green-dark); }
.sub-hero__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; margin-top: 28px; }
.sub-hero__en { display: block; font-size: .85rem; font-weight: 700; letter-spacing: .25em; color: var(--leaf); }
.sub-hero__title { display: flex; align-items: center; gap: 10px; margin: 6px 0 18px; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900; color: var(--green-deep); }
.sub-hero__title--long { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.sub-hero__title svg { color: var(--leaf); font-size: .9em; }
.sub-hero__lead { line-height: 2; }
.sub-hero__img { margin: 0; border-radius: 40px 160px 40px 160px / 40px 120px 40px 120px; overflow: hidden; border: 8px solid #fff; box-shadow: var(--shadow); aspect-ratio: 16 / 10; }
.sub-hero__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 本文・目次・見出し */
.sub-body { padding-top: 70px; }
.sub-body a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }
.toc { padding: 26px 32px; margin-bottom: 70px; background: var(--mint-soft); border: 2px dashed var(--mint-line); border-radius: var(--radius); }
.toc__title { display: flex; align-items: center; gap: 6px; font-weight: 900; color: var(--green-deep); font-size: 1.1rem; margin-bottom: 10px; }
.toc__title svg { color: var(--leaf); }
.toc__list { margin: 0; padding-left: 1.6em; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; }
.toc__list li::marker { color: var(--green); font-weight: 700; }
.toc__list a { color: var(--text); text-underline-offset: 4px; }
.toc__list a:hover { color: var(--green); }
.sub-sec { margin-bottom: 80px; }
.sub-sec > p { margin-bottom: 1em; line-height: 2; }
.sub-sec__title {
  position: relative; display: flex; align-items: center; gap: 14px; margin-bottom: 24px; padding-bottom: 14px;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem); font-weight: 900; color: var(--green-deep); line-height: 1.4;
  border-bottom: 3px solid var(--mint);
}
.sub-sec__title::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 90px; height: 3px; background: var(--green); }
.sub-sec__title > span:first-child {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; background: var(--yellow); color: var(--green-deep); font-size: 1rem;
}

/* 比較イラスト＋説明 */
.compare { margin: 28px 0 0; padding: 20px; background: #fff; border: 2px solid var(--mint); border-radius: var(--radius); }
.compare img { width: 100%; display: block; }
.compare__caption { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 10px; }
.compare__caption--3 { grid-template-columns: repeat(3, 1fr); }
.compare__item { padding: 14px 16px; border-radius: 16px; font-size: .9rem; line-height: 1.8; }
.compare__item b { display: block; margin-bottom: 2px; font-size: 1rem; }
.compare__item--good { background: var(--mint-soft); }
.compare__item--good b { color: var(--green); }
.compare__item--bad { background: #fff1f1; }
.compare__item--bad b { color: #d0575a; }

/* 囲み（注意・お知らせ） */
.callout { margin-top: 20px; padding: 22px 26px; border-radius: var(--radius); background: #fff8e1; border-left: 6px solid var(--yellow); }
.callout__title { display: flex; align-items: center; gap: 6px; font-weight: 900; color: var(--green-deep); margin-bottom: 6px; }
.callout__title svg { color: var(--leaf); }

/* イラスト付きカード（3列／4列） */
.sign-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
.sign-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sign-card { padding: 22px 20px 24px; text-align: center; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 2px solid var(--mint-soft); }
.sign-grid--4 .sign-card { padding: 18px 14px 20px; }
.sign-card img { width: 140px; height: 140px; object-fit: cover; border-radius: 50%; display: block; margin: 0 auto 10px; }
.sign-grid--4 .sign-card img { width: 120px; height: 120px; }
.sign-card__num { display: inline-block; padding: 0 12px; border-radius: 999px; background: var(--mint); color: var(--green-dark); font-size: .78rem; font-weight: 700; }
.sign-card h3 { margin: 6px 0 8px; color: var(--green-deep); font-size: 1.15rem; }
.sign-card p:last-child { text-align: left; font-size: .9rem; line-height: 1.85; }

/* チェックリスト */
.checklist { padding: 26px 30px; border-radius: var(--radius); background: var(--mint-soft); }
.checklist__title { font-weight: 900; color: var(--green-deep); font-size: 1.15rem; margin-bottom: 12px; text-align: center; }
.checklist ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.checklist li { position: relative; padding: 8px 12px 8px 40px; background: #fff; border-radius: 12px; font-size: .92rem; }
.checklist li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 2px solid var(--green); border-radius: 5px; }
.checklist li::after { content: ""; position: absolute; left: 18px; top: 50%; width: 6px; height: 11px; margin-top: -8px; border: solid var(--green); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.checklist__note { margin-top: 14px; text-align: center; font-size: .9rem; color: var(--green-dark); font-weight: 700; }

/* 段階リスト（進行度・年齢別・生え方など） */
.stages { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.stages__item {
  display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 22px;
  padding: 14px 22px 14px 14px; background: #fff; border-radius: 16px; border: 2px solid var(--mint-soft); box-shadow: var(--shadow-sm);
}
.stages__img { width: 130px; height: 130px; object-fit: cover; border-radius: 18px; background: #fff; }
.stages__body { display: grid; gap: 10px; }
.stages__badge { display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 999px; color: #fff; font-weight: 900; font-size: .95rem; }
.stages__body .stages__badge { width: 180px; }
.stages__item:nth-child(1) .stages__badge { background: #7cc98f; }
.stages__item:nth-child(2) .stages__badge { background: #e9b949; }
.stages__item:nth-child(3) .stages__badge { background: #ef8f45; }
.stages__item:nth-child(4) .stages__badge { background: #e2585a; }
.stages__item:nth-child(5) .stages__badge { background: #a8474b; }
.stages__item p { font-size: .92rem; }
/* 色分けしない段階リスト（年齢別・生え方） */
.stages--plain .stages__item .stages__badge { background: var(--green); }
.stages--plain .stages__body .stages__badge { width: auto; justify-self: start; padding: 0 22px; height: 38px; }

/* 原因カード（横長） */
.cause-grid { display: grid; gap: 18px; margin: 10px 0 18px; }
.cause-card { display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: center; padding: 20px 24px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 2px solid var(--mint-soft); }
.cause-card img { width: 150px; height: 150px; object-fit: cover; border-radius: 50%; }
.cause-card h3 { color: var(--green-deep); font-size: 1.2rem; margin-bottom: 6px; }
.cause-card p { font-size: .92rem; line-height: 1.9; }

/* 注記・箇条書き */
.note { font-size: .9rem; color: var(--muted); padding-left: 1em; text-indent: -1em; }
.note::before { content: "※"; }
.note-list { margin-top: 14px; display: grid; gap: 4px; }
.note-list li { padding-left: 1.2em; text-indent: -1.2em; font-size: .86rem; color: var(--muted); line-height: 1.8; }
.note-list li::before { content: "※"; margin-right: .2em; }
.dot-list { display: grid; gap: 6px; margin-top: 4px; }
.dot-list li { position: relative; padding-left: 18px; font-size: .92rem; line-height: 1.8; }
.dot-list li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); }

/* 検査ステップ（横並び） */
.exam-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.exam-steps li { position: relative; padding: 22px 20px 24px; text-align: center; background: var(--mint-soft); border-radius: var(--radius); }
.exam-steps li:not(:last-child)::after { content: ""; position: absolute; right: -20px; top: 80px; border: 10px solid transparent; border-left: 12px solid var(--leaf); z-index: 1; }
.exam-steps img { width: 130px; height: 130px; object-fit: cover; border-radius: 50%; display: block; margin: 0 auto 10px; background: #fff; }
.exam-steps__num { font-weight: 900; color: var(--orange); letter-spacing: .1em; font-size: .85rem; }
.exam-steps h3 { margin: 4px 0 8px; color: var(--green-deep); font-size: 1.1rem; }
.exam-steps li p:last-child { text-align: left; font-size: .88rem; line-height: 1.85; }

/* 写真＋説明（左右交互） */
.treat { display: grid; gap: 28px; margin-top: 10px; }
.treat__item { display: grid; grid-template-columns: 300px 1fr; gap: 30px; align-items: center; padding: 24px; background: #fff; border-radius: 30px; box-shadow: var(--shadow-sm); border: 2px solid var(--mint-soft); }
.treat__item--reverse { grid-template-columns: 1fr 300px; }
.treat__item--reverse .treat__img { order: 2; }
.treat__img { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; }
.treat__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.treat__img--ill { background: #fff; }
.treat__img--ill img { object-fit: contain; }
.treat__num { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 900; }
.treat__body h3 { margin: 8px 0; color: var(--green-deep); font-size: 1.2rem; }
.treat__body p:last-child { font-size: .92rem; line-height: 1.9; }

/* 治療の流れ（STEP） */
.flow { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.flow__item { position: relative; display: grid; grid-template-columns: 90px 1fr; gap: 20px; align-items: center; padding: 18px 22px 18px 18px; background: var(--mint-soft); border-radius: var(--radius); }
.flow__item:not(:last-child)::after { content: ""; position: absolute; left: 54px; bottom: -16px; border: 9px solid transparent; border-top: 10px solid var(--leaf); z-index: 1; }
.flow__num { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 72px; height: 72px; margin-left: 9px; border-radius: 50%; background: #fff; color: var(--orange); font-size: .72rem; font-weight: 900; letter-spacing: .08em; line-height: 1.1; box-shadow: var(--shadow-sm); }
.flow__num b { font-size: 1.6rem; color: var(--green-deep); }
.flow__item h3 { color: var(--green-deep); font-size: 1.1rem; margin-bottom: 4px; }
.flow__item p { font-size: .92rem; }

/* イラスト＋クローバー付きリスト（予防・お手入れ） */
.prevent { display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; align-items: center; padding: 26px; background: #fff; border-radius: 30px; box-shadow: var(--shadow-sm); border: 2px solid var(--mint-soft); }
.prevent__img { margin: 0; }
.prevent__img img { width: 100%; display: block; border-radius: 20px; }
.prevent__list { display: grid; gap: 12px; }
.prevent__list li { position: relative; padding-left: 30px; font-size: .92rem; line-height: 1.8; }
.prevent__list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; background: var(--clover-icon) center / contain no-repeat; }
.prevent__list b { display: block; color: var(--green-deep); font-size: 1rem; }

/* まとめ */
.summary { padding: 28px 32px; border-radius: var(--radius); background: linear-gradient(135deg, var(--mint-soft), #fff); border: 2px solid var(--mint); line-height: 2; }
.summary p + p { margin-top: 1em; }
.summary strong { color: var(--green-deep); background: linear-gradient(transparent 62%, rgba(247, 201, 72, .5) 62%); }

/* 比較表（横スクロール対応） */
.ctable-hint { display: none; }
.ctable-wrap { margin: 24px 0 14px; overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.ctable { width: 100%; min-width: 520px; border-collapse: separate; border-spacing: 0; background: #fff; font-size: .92rem; border: 2px solid var(--mint); border-radius: var(--radius); overflow: hidden; }
.ctable th, .ctable td { padding: 14px 16px; border-bottom: 1px solid var(--mint-line); text-align: center; line-height: 1.6; }
.ctable tbody tr:last-child th, .ctable tbody tr:last-child td { border-bottom: 0; }
.ctable thead th { background: var(--green); color: #fff; font-weight: 700; }
.ctable thead th:first-child { background: var(--green-dark); }
.ctable thead small { font-weight: 500; opacity: .9; }
.ctable tbody th { background: var(--mint-soft); color: var(--green-deep); font-weight: 700; white-space: nowrap; width: 120px; }
.ctable td + td { border-left: 1px dashed var(--mint-line); }
.ctable--4 thead th:nth-child(2) { background: var(--orange); }

/* 料金表 */
.price-table { border-radius: var(--radius); overflow: hidden; border: 2px solid var(--mint); box-shadow: var(--shadow-sm); background: #fff; }
.price-table table { width: 100%; border-collapse: collapse; }
.price-table thead th { padding: 12px 20px; background: var(--green); color: #fff; font-weight: 700; font-size: .92rem; text-align: left; }
.price-table thead th:last-child { text-align: right; width: 34%; }
.price-table tbody tr + tr { border-top: 1px dashed var(--mint-line); }
.price-table tbody th { padding: 18px 20px; text-align: left; font-weight: 400; }
.price-table tbody th b { display: block; color: var(--green-deep); font-size: 1.1rem; }
.price-table tbody th small { display: block; margin-top: 4px; color: var(--muted); font-size: .84rem; line-height: 1.6; }
.price-table tbody td { padding: 18px 20px; text-align: right; white-space: nowrap; }
.price-table__yen { font-size: 1.6rem; font-weight: 900; color: var(--orange); letter-spacing: .02em; }
.price-table__yen small { margin-left: 2px; font-size: .95rem; color: var(--text); }

/* ご予約ボックス・その他の診療案内 */
.sub-cta { padding-top: 70px; }
.sub-cta .back-home { margin-top: 36px; }
.cta-box { padding: 40px 30px; text-align: center; background: #fff; border-radius: 36px; box-shadow: var(--shadow); border: 3px dashed var(--leaf-light); }
.cta-box__lead { color: var(--orange); font-weight: 700; }
.cta-box__title { margin: 6px 0 22px; font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 900; color: var(--green-deep); }
.cta-box__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.cta-box__note { margin-top: 18px; font-size: .9rem; }
.cta-box__note a { text-decoration: underline; }
.other-menu { margin-top: 44px; padding: 26px 24px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.other-menu__title { display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 16px; font-weight: 900; color: var(--green-deep); font-size: 1.1rem; }
.other-menu__title svg { color: var(--leaf); }
.other-menu__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.other-menu__list a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px; border-radius: 18px; background: var(--mint-soft); color: var(--green-deep); font-weight: 700; font-size: .9rem; text-align: center; transition: transform .2s, background-color .2s, box-shadow .2s; }
.other-menu__list a:hover { background: #fff; transform: translateY(-3px); box-shadow: var(--shadow-sm); color: var(--green); }
.other-menu__list img { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; background: #fff; }

/* ===================================================
   21. 子ページ個別
=================================================== */
/* 虫歯：C0〜C4 と治療法 */
.stages--caries .stages__item { align-items: start; }
.stages--caries .stages__body .stages__badge { width: auto; justify-self: start; padding: 0 20px; height: 38px; font-size: .9rem; }
.stages__treat { padding: 10px 14px; border-radius: 12px; background: var(--mint-soft); }
.stages__treat b { display: inline-block; margin-right: 8px; padding: 0 10px; border-radius: 999px; background: var(--green); color: #fff; font-size: .78rem; }

/* インプラント：治療法の比較カード */
.cmp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0 8px; }
.cmp-card { padding: 18px 16px 20px; text-align: center; background: #fff; border-radius: var(--radius); border: 2px solid var(--mint); box-shadow: var(--shadow-sm); }
.cmp-card img { width: 150px; height: 150px; object-fit: cover; border-radius: 50%; display: block; margin: 0 auto 8px; background: var(--mint-soft); }
.cmp-card h3 { display: inline-block; padding: 2px 18px; border-radius: 999px; background: var(--green); color: #fff; font-size: 1rem; margin-bottom: 10px; }
.cmp-card p { font-size: .88rem; line-height: 1.8; text-align: left; }
.cmp-card--main { border-color: var(--orange); }
.cmp-card--main h3 { background: var(--orange); }

/* インプラント：写真つき治療の流れ */
.photo-flow { margin: 0; padding: 0; list-style: none; display: grid; gap: 34px; }
.photo-flow__item { position: relative; display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: center; padding: 22px; background: #fff; border-radius: 30px; border: 2px solid var(--mint-soft); box-shadow: var(--shadow-sm); }
.photo-flow__item:not(:last-child)::after { content: ""; position: absolute; left: 50%; bottom: -30px; margin-left: -12px; border: 12px solid transparent; border-top: 14px solid var(--leaf); }
.photo-flow__img { position: relative; margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; }
.photo-flow__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-flow__step { position: absolute; top: 10px; left: 10px; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 62px; height: 62px; border-radius: 50%; background: var(--yellow); color: var(--green-deep); font-size: .62rem; font-weight: 900; letter-spacing: .06em; line-height: 1.1; box-shadow: 0 4px 10px rgba(0, 0, 0, .15); }
.photo-flow__step b { font-size: 1.5rem; }
.photo-flow__body h3 { margin-bottom: 8px; color: var(--green-deep); font-size: 1.2rem; }
.photo-flow__body p { font-size: .92rem; line-height: 1.9; }
.photo-flow__body .photo-flow__point { position: relative; margin-top: 10px; padding: 8px 12px 8px 34px; border-radius: 12px; background: var(--mint-soft); color: var(--green-dark); font-weight: 700; font-size: .86rem; line-height: 1.7; }
.photo-flow__point::before { content: ""; position: absolute; left: 10px; top: 11px; width: 16px; height: 16px; background: var(--clover-icon) center / contain no-repeat; }

/* 審美歯科：耐久年数バー */
.life-bars { display: grid; gap: 8px; margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: var(--mint-soft); }
.life-bars__row { display: grid; grid-template-columns: 120px 1fr 92px; align-items: center; gap: 10px; font-size: .86rem; }
.life-bars__label { font-weight: 700; color: var(--green-deep); }
.life-bars__bar { height: 14px; border-radius: 999px; background: #fff; overflow: hidden; }
.life-bars__bar span { display: block; height: 100%; border-radius: inherit; background: #b8c2bd; }
.life-bars__row--main .life-bars__bar span { background: linear-gradient(90deg, var(--leaf), var(--green)); }
.life-bars__val { font-weight: 900; color: var(--muted); text-align: right; }
.life-bars__row--main .life-bars__val { color: var(--orange); }
.treat__body p.life-bars__note { margin-top: 8px; font-size: .84rem; color: var(--muted); }

/* 審美歯科：治療メニューと料金（写真付きカード） */
.menu-price { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 18px; }
.menu-price__item { display: flex; flex-direction: column; gap: 0; padding: 0; overflow: hidden; background: #fff; border-radius: var(--radius); border: 2px solid var(--mint); box-shadow: var(--shadow-sm); }
.menu-price__photo { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mint-soft); }
.menu-price__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.menu-price__item:hover .menu-price__photo img { transform: scale(1.04); }
.menu-price__head { display: block; padding: 16px 20px 12px; }
.menu-price__type { display: inline-block; padding: 0 10px; border-radius: 999px; background: var(--mint); color: var(--green-dark); font-size: .74rem; font-weight: 700; }
.menu-price__name { margin: 4px 0 2px; color: var(--green-deep); font-size: 1.12rem; line-height: 1.4; }
.menu-price__price { color: var(--text); font-size: .86rem; line-height: 1.3; }
.menu-price__price b { margin-right: 2px; font-size: 1.5rem; font-weight: 900; color: var(--orange); letter-spacing: .02em; }
.menu-price__price small { margin-left: 2px; font-size: .74rem; color: var(--muted); }
.menu-price__note { margin-top: 2px; font-size: .74rem; color: var(--muted); }
.menu-price__lists { display: grid; gap: 8px; margin-top: auto; padding: 0 20px 20px; }
.menu-price__lists ul { display: grid; gap: 3px; padding: 10px 12px; border-radius: 12px; font-size: .84rem; line-height: 1.6; }
.menu-price__lists li { position: relative; padding-left: 1.4em; }
.menu-price__lists li::before { position: absolute; left: 0; font-weight: 900; }
.menu-price__good { background: var(--mint-soft); }
.menu-price__good li::before { content: "○"; color: var(--green); }
.menu-price__care { background: #fff6ec; }
.menu-price__care li::before { content: "△"; color: var(--orange); }

/* ホワイトニング：当院のホワイトニング剤 */
.agent-box { display: grid; grid-template-columns: 1fr 1.15fr; gap: 30px; align-items: center; padding: 26px; border-radius: 30px; background: linear-gradient(135deg, #fff 0%, var(--mint-soft) 100%); border: 3px solid var(--mint); box-shadow: var(--shadow-sm); }
.agent-box__img { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; }
.agent-box__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.agent-box__badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 14px; border-radius: 999px; background: var(--green); color: #fff; font-size: .82rem; font-weight: 700; }
.agent-box__badge svg { color: #fff; }
.agent-box__title { margin: 12px 0 10px; color: var(--green-deep); font-size: clamp(1.2rem, 2.2vw, 1.45rem); font-weight: 900; line-height: 1.5; }
.agent-box__body > p:not(.agent-box__badge) { font-size: .92rem; line-height: 1.9; }
.agent-box__points { display: grid; gap: 6px; margin-top: 14px; }
.agent-box__points li { position: relative; padding: 6px 12px 6px 36px; border-radius: 10px; background: #fff; font-size: .9rem; font-weight: 700; color: var(--green-deep); }
.agent-box__points li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 6px; height: 11px; margin-top: -8px; border: solid var(--green); border-width: 0 3px 3px 0; transform: rotate(45deg); }

/* 口腔外科：抜く／残すの比較 */
.judge { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.judge__col { padding: 20px 22px; border-radius: var(--radius); }
.judge__col--out { background: #fff4ec; border: 2px solid #f6cfae; }
.judge__col--keep { background: var(--mint-soft); border: 2px solid var(--mint-line); }
.judge__title { margin-bottom: 10px; font-weight: 900; font-size: 1.05rem; }
.judge__col--out .judge__title { color: #d26a1f; }
.judge__col--keep .judge__title { color: var(--green-deep); }
.judge__col ul { display: grid; gap: 6px; }
.judge__col li { position: relative; padding-left: 1.4em; font-size: .92rem; line-height: 1.7; }
.judge__col--out li::before { content: "!"; position: absolute; left: 0; top: .15em; display: inline-flex; align-items: center; justify-content: center; width: 1.1em; height: 1.1em; border-radius: 50%; background: var(--orange); color: #fff; font-size: .8rem; font-weight: 900; }
.judge__col--keep li::before { content: "○"; position: absolute; left: 0; color: var(--green); font-weight: 900; }

/* ===================================================
   22. レスポンシブ
=================================================== */

/* ---------- 広い画面（1101px〜）：診療案内を5列 ---------- */
@media (min-width: 1101px) {
  .medical-grid { grid-template-columns: repeat(5, 1fr); gap: 18px; }
  .medical-card__link { padding: 22px 16px 20px; }
  .medical-card img { width: 130px; height: 130px; }
  .medical-card h3 { font-size: 1rem; letter-spacing: 0; white-space: nowrap; }
  .medical-card p { font-size: .86rem; }
}

/* ---------- PC（961px〜）：ナビを1行に収める ---------- */
@media (min-width: 961px) {
  .gnav__list li { flex: 1 1 auto; }
  .gnav__list a { white-space: nowrap; padding-inline: 10px; }
}

/* ---------- 〜1100px ---------- */
@media (max-width: 1100px) {
  .header-tel small { display: none; }
  .gnav__list a { font-size: .85rem; }
}

/* ---------- タブレット（〜960px） ---------- */
@media (max-width: 960px) {
  :root { --header-h: 108px; }

  /* ヘッダー・ハンバーガーメニュー */
  .site-header__tagline { font-size: .66rem; }
  .site-header__main { padding: 8px 0; }
  .site-header__cta { display: none; }
  .logo img { width: 44px; height: 44px; }
  .logo__text b { font-size: 1.3rem; }
  .menu-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    margin-left: auto; width: 54px; height: 54px; border: 0; border-radius: 14px;
    background: var(--green); cursor: pointer;
  }
  .menu-btn span { display: block; width: 24px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s, opacity .3s; }
  .menu-btn em { font-style: normal; font-size: .55rem; font-weight: 700; color: #fff; letter-spacing: .1em; line-height: 1; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .gnav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
    background: var(--mint); overflow-y: auto; border: 0;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .gnav.is-open { opacity: 1; visibility: visible; }
  .gnav__list { flex-direction: column; padding: 20px 0; }
  .gnav__list li + li a::before { display: none; }
  .gnav__list a { text-align: left; padding: 16px 12px; font-size: 1.05rem; border-bottom: 2px dotted var(--mint-line); }
  .gnav__list a::after { display: none; }
  .gnav__sp-cta { display: grid; gap: 12px; padding-bottom: 120px; }
  .gnav__sp-cta .btn { padding: 1em; font-size: 1.1rem; }

  /* トップ */
  .hero { padding: 36px 0 100px; }
  .hero__inner { grid-template-columns: 1fr; gap: 30px; }
  .hero__text { text-align: center; }
  .hero__points, .hero__btns { justify-content: center; }
  .hero__visual { max-width: 640px; margin-inline: auto; width: 100%; order: -1; }
  .hero__hours dl { border-radius: 24px; justify-content: center; }
  .medical-grid { grid-template-columns: repeat(2, 1fr); }
  .hours, .access, .site-footer__inner { grid-template-columns: 1fr; }
  .point, .point--reverse { grid-template-columns: 1fr; gap: 30px; margin-bottom: 64px; }
  .point--reverse .point__media { order: 0; }
  .point__media { max-width: 640px; width: 100%; margin-inline: auto; }
  .kenshin-grid, .staff-grid, .feature-sub { grid-template-columns: repeat(2, 1fr); }
  .clinic-grid { --cols: 2; }
  .director { grid-template-columns: 1fr; text-align: center; padding: 30px 24px; }
  .director__photo { max-width: 260px; margin-inline: auto; }
  .director__body p:last-child { text-align: left; }
  .slider { --per: 2; }
  .fc { --k: .7; }
  .fc--pc { display: none; }

  /* 子ページ */
  .sub-hero__inner { grid-template-columns: 1fr; gap: 26px; }
  .sub-hero__img { order: -1; }
  .exam-steps { grid-template-columns: 1fr; }
  .exam-steps li:not(:last-child)::after { right: 50%; top: auto; bottom: -24px; margin-right: -10px; border: 10px solid transparent; border-top: 12px solid var(--leaf); }
  .sign-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .prevent { grid-template-columns: 1fr; }
}

/* ---------- スマホ（〜768px） ---------- */
@media (max-width: 768px) {
  body { padding-bottom: 68px; font-size: 15px; }
  .sp { display: inline; }
  .section { padding: 64px 0; }
  .sec-head { margin-bottom: 32px; }
  .sec-head__title { font-size: 1.45rem; }
  .sec-head__lead { text-align: left; font-size: .92rem; }
  .btn--lg { font-size: 1rem; padding: .85em 1.4em; }

  /* 上部の緑の帯はスマホでは表示しない（診療時間はファーストビュー下の欄と下部の予約ボタンで案内） */
  :root { --header-h: 70px; }
  .site-header__tagline { display: none; }

  /* ファーストビュー：写真 → キャッチコピー → WEB予約 を最初の画面に収める */
  .hero { padding-top: 16px; }
  .hero__inner { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hero__text, .hero__visual { display: contents; }
  .hero__photo--main { order: 1; aspect-ratio: 2 / 1; margin-bottom: 14px; border-width: 6px; border-radius: 30px 110px 30px 110px / 30px 80px 30px 80px; }
  .hero__badge { order: 2; align-self: center; padding: 4px 14px; font-size: .85rem; }
  .hero__copy { order: 4; margin: 12px 0 14px; }
  .hero__btns { order: 5; gap: 10px; }
  .hero__lead { order: 6; margin-top: 22px; text-align: left; font-size: .93rem; }
  .hero__points { order: 7; margin-bottom: 0; }
  .hero__visual-row { order: 8; margin-top: 24px; padding-inline: 0; gap: 12px; }
  .hero__btns .btn { flex: 1 1 100%; }
  .hero__photo--sub { flex-basis: 72%; }
  .hero__photo--sub figcaption { font-size: .68rem; }
  .hero__stamp { width: 96px; height: 96px; }
  .hero__stamp-main small { font-size: .66rem; }
  .hero__stamp-main b { font-size: 1.9rem; }
  .hero__stamp-main em { font-size: 1.05rem; }
  .hero__hours dl { flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px 20px; }
  .hero__deco--1 { width: 110px; height: 110px; }

  /* トップの各セクション */
  .medical-grid { gap: 14px; }
  .medical-card__link { padding: 18px 12px 18px; }
  .medical-card img { width: 100px; height: 100px; }
  .medical-card h3 { font-size: 1.05rem; }
  .medical-card p { font-size: .82rem; }
  .medical-card__more { font-size: .75rem; padding: 3px 10px; }
  .hours-table { font-size: .82rem; }
  .hours-table th, .hours-table td { padding: 10px 2px; }
  .hours-table tbody th { padding-inline: 4px; white-space: normal; }
  .reserve-box b { font-size: 1.25rem; }
  .card-banner { padding: 22px 16px; }
  .card-banner__title { text-align: center; }
  .card-logos li svg { width: 58px; height: 36px; }
  .point__media { border-radius: 24px 24px 24px 90px; }
  .point--reverse .point__media { border-radius: 24px 24px 90px 24px; }
  .point__badge { width: 72px; height: 72px; font-size: 1.6rem; top: -16px; left: -6px; }
  .point--reverse .point__badge { right: -6px; }
  .point__badge small { font-size: .66rem; }
  .point__tags li { font-size: .8rem; padding: 5px 12px; }
  .kenshin-grid, .staff-grid, .feature-sub { grid-template-columns: 1fr; }
  .clinic-grid { --cols: 1; }
  .director__msg { font-size: 1.05rem; }
  .access__map, .access__map iframe { min-height: 280px; }
  .calendar { padding: 8px; }
  .calendar iframe { height: 466px; }
  .slideshow { padding: 40px 0; }
  .slider { --per: 1; --gap: 14px; }
  .slider__item, .slider__viewport { border-radius: 18px; }
  .slider__btn { width: 40px; height: 40px; font-size: 1.3rem; }
  .slider__btn--prev { left: -8px; }
  .slider__btn--next { right: -8px; }
  .site-footer__tel a { font-size: 1.4rem; }
  .pagetop { bottom: 84px; right: 12px; width: 50px; height: 50px; }

  /* 画面下部固定の電話・WEB予約ボタン */
  .sp-fixed-cta {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 110;
    padding-bottom: env(safe-area-inset-bottom);
    background: #fff; box-shadow: 0 -4px 14px rgba(0, 0, 0, .12);
  }
  .sp-fixed-cta a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 64px; color: #fff; font-weight: 900; font-size: 1.05rem; }
  .sp-fixed-cta svg { font-size: 1.6rem; }
  .sp-fixed-cta span { display: flex; flex-direction: column; line-height: 1.2; }
  .sp-fixed-cta small { font-size: .66rem; font-weight: 500; }
  .sp-fixed-cta__tel { background: var(--green); }
  .sp-fixed-cta__web { background: var(--orange); }

  /* 子ページ共通 */
  .sub-body, .sub-cta { padding-top: 70px; }
  .sub-hero { padding-bottom: 80px; }
  .sub-hero__img { border-radius: 26px 90px 26px 90px / 26px 70px 26px 70px; }
  .toc { padding: 20px; margin-bottom: 50px; }
  .toc__list { grid-template-columns: 1fr; }
  .sub-sec { margin-bottom: 60px; }
  .sub-sec__title > span:first-child { width: 38px; height: 38px; font-size: .9rem; }
  .compare { padding: 12px; }
  .compare__caption, .compare__caption--3, .checklist ul, .sign-grid { grid-template-columns: 1fr; }
  .sign-grid--4 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .sign-grid--4 .sign-card img { width: 90px; height: 90px; }
  .sign-grid--4 .sign-card h3 { font-size: 1rem; }
  .sign-grid--4 .sign-card p:last-child { font-size: .82rem; }
  .checklist { padding: 20px 16px; }
  .stages__item { grid-template-columns: 96px 1fr; gap: 14px; padding: 12px; }
  .stages__img { width: 96px; height: 96px; }
  .stages__body .stages__badge { width: 100%; height: 38px; font-size: .88rem; }
  .stages--plain .stages__body .stages__badge { height: auto; min-height: 34px; padding: 4px 14px; line-height: 1.4; text-align: center; }
  .stages__item p { font-size: .86rem; }
  .cause-card { grid-template-columns: 1fr; text-align: center; }
  .cause-card img { margin: 0 auto; width: 130px; height: 130px; }
  .cause-card p { text-align: left; }
  .treat__item, .treat__item--reverse { grid-template-columns: 1fr; padding: 18px; gap: 16px; }
  .treat__item--reverse .treat__img { order: 0; }
  .flow__item { grid-template-columns: 64px 1fr; gap: 12px; padding: 14px; }
  .flow__num { width: 58px; height: 58px; margin-left: 3px; }
  .flow__num b { font-size: 1.3rem; }
  .flow__item:not(:last-child)::after { left: 34px; }
  .prevent { padding: 16px; }
  .ctable-hint { display: block; margin: 20px 0 -16px; text-align: right; font-size: .75rem; color: var(--muted); }
  .ctable { font-size: .84rem; }
  .ctable th, .ctable td { padding: 10px 10px; }
  .ctable tbody th { width: 84px; }
  .price-table thead { display: none; }
  .price-table tbody tr { display: block; padding: 14px 16px; }
  .price-table tbody th, .price-table tbody td { display: block; padding: 0; }
  .price-table tbody td { margin-top: 8px; }
  .price-table__yen { font-size: 1.4rem; }
  .cta-box { padding: 30px 18px; }
  .cta-box__lead { font-size: .82rem; }
  .cta-box__title { font-size: 1.22rem; }
  .cta-box__btns .btn { flex: 1 1 100%; }
  .other-menu { padding: 20px 14px; }
  .other-menu__list { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .other-menu__list a { font-size: .78rem; padding: 10px 4px; }
  .other-menu__list img { width: 52px; height: 52px; }

  /* 子ページ個別 */
  .stages--caries .stages__body .stages__badge { height: auto; min-height: 34px; padding: 4px 14px; font-size: .82rem; line-height: 1.4; text-align: center; }
  .stages__treat { font-size: .84rem; }
  .cmp-cards { grid-template-columns: 1fr; }
  .cmp-card { display: grid; grid-template-columns: 96px 1fr; gap: 6px 14px; align-items: center; text-align: left; padding: 14px; }
  .cmp-card img { grid-row: span 2; width: 96px; height: 96px; margin: 0; }
  .cmp-card h3 { justify-self: start; margin: 0; }
  .photo-flow__item { grid-template-columns: 1fr; gap: 14px; padding: 14px; }
  .photo-flow__step { width: 54px; height: 54px; }
  .photo-flow__step b { font-size: 1.3rem; }
  .life-bars__row { grid-template-columns: 1fr 84px; gap: 4px 10px; }
  .life-bars__label { grid-column: 1 / -1; }
  .menu-price { grid-template-columns: 1fr; }
  .menu-price__head { padding: 14px 16px 10px; }
  .menu-price__lists { padding: 0 16px 16px; }
  .agent-box { grid-template-columns: 1fr; padding: 16px; gap: 16px; }
  .judge { grid-template-columns: 1fr; }
}

/* ---------- 小さいスマホ（〜400px） ---------- */
@media (max-width: 400px) {
  .medical-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .logo__text small { display: none; }
  .sign-grid--4 .sign-card { padding-inline: 8px; }
  .other-menu__list a { padding-inline: 2px; font-size: .74rem; }
}

/* ---------- 動きを減らす設定の方 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .hero__copy-line { opacity: 1; transform: none; }
  .fade-in { opacity: 1; transform: none; transition: none; }
  .fc { opacity: var(--o); }
}
