/* ぽん歯科 HP v19（v18 のデザインを全ページへ。src/build.py が public_preview/ へ写す）
   方針：囲み（白い箱）を減らし、役割ごとに表現を変える。相談先は帯、流れは番号と線、訪問は色面、医院の魅力は写真のまとまり。
   配置の基準：最大幅 1160px・12列の格子 */
:root {
  --or: #f39221;
  --or-ink: #a9560a;
  --or-soft: #fdeedd;
  --gr: #3f8a4f;
  --gr-ink: #2f6b3c;
  --gr-soft: #eaf4e6;
  --ink: #3f3129;
  --ink-head: #5a3d2b;
  --ink-sub: #74655a;
  --line: #e7ddd0;
  --bg: #fbf7f1;
  --bg-2: #f3ebe0;
  --card: #fffdfa;
  --w: 1160px;
  --gut: 24px;
  --r: 14px;
  --head: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  --body: "BIZ UDPGothic", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.9; letter-spacing: .02em; line-break: strict; }
/* 長い本文はふつうの日本語の折り返し。見出し・短い案内は文節で折り返す（Chrome・Edge） */
h1, h2, h3, .hero-lead, .sh p, .door, .care-list, .visit-band, .flow, .when, .info, .hours-facts, .note, figcaption, .area-copy p, .contact p, .btn, .sp-bar, .newsbar, .mosaic-copy { word-break: auto-phrase; }
h1, h2, h3 { font-family: var(--head); color: var(--ink-head); line-height: 1.45; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
a { color: var(--or-ink); }
img { max-width: 100%; height: auto; display: block; }
.ph { display: inline-block; }
.wrap { max-width: calc(var(--w) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
[id] { scroll-margin-top: 12px; }

/* ---------- ヘッダー（1段・高さ76px。お問い合わせはメニューの最後に1つだけ） ---------- */
.hd { background: var(--card); border-bottom: 1px solid var(--line); }
.hd-in { display: flex; align-items: center; gap: 28px; height: 76px; }
.hd-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink-head); flex: none; }
.hd-logo img { width: 41px; height: 42px; }          /* 正式ロゴ（縦横比 235:240 のまま） */
.hd-logo b { font-family: var(--head); font-size: 23px; letter-spacing: .06em; line-height: 1.15; display: block; }
.hd-logo small { display: block; font-family: var(--head); font-size: 12px; letter-spacing: .16em; color: var(--ink-sub); }
.hd-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.hd-nav a { padding: 8px 10px; text-decoration: none; color: var(--ink-head); font-family: var(--head); font-weight: 700; font-size: 15px; letter-spacing: .04em; border-radius: 8px; white-space: nowrap; }
.hd-nav a:hover, .hd-nav a[aria-current] { background: var(--or-soft); }
.hd-nav a.nav-contact { background: var(--or); color: #3a2414; padding: 8px 16px; border-radius: 999px; margin-left: 6px; }
.hd-tels { display: flex; flex-direction: column; gap: 2px; flex: none; padding-left: 20px; border-left: 1px solid var(--line); }
.hd-tel { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink-head); line-height: 1.3; }
.hd-tel i { font-style: normal; font-size: 11px; font-weight: 700; color: #fff; background: var(--or); border-radius: 4px; padding: 0 6px; }
.hd-tel-v i { background: var(--gr); }
.hd-tel strong { font-family: var(--head); font-size: 18px; letter-spacing: .03em; }
.menu-btn { display: none; }

/* ---------- 共通の見出し ---------- */
.sec { padding: 80px 0; }
.sec.tint { background: var(--bg-2); }
.sh { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; margin-bottom: 32px; }
.sh .en { flex-basis: 100%; font-family: var(--head); font-size: 13px; letter-spacing: .22em; color: var(--or-ink); font-weight: 700; text-transform: uppercase; }
.sh h2 { font-size: 30px; letter-spacing: .06em; }
.sh p { flex-basis: 100%; margin: 6px 0 0; color: var(--ink-sub); }
.sh .sh-more { margin-left: auto; }
.sh.center { justify-content: center; text-align: center; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--ink-head); border-bottom: 2px solid var(--or); padding-bottom: 1px; font-size: 16px; }
.more::after { content: "→"; color: var(--or-ink); }
.btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-height: 58px; padding: 8px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 17px; line-height: 1.35; }
.btn small { font-size: 12px; font-weight: 400; }
.btn-or { background: var(--or); color: #3a2414; }
.btn-gr { background: var(--gr); color: #fff; }
.btn-line { background: var(--card); color: var(--ink-head); border: 2px solid var(--line); }

/* ---------- 最初の画面 ---------- */
.hero { padding: 28px 0 0; }
.hero-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gut); align-items: center; }
.hero-copy { grid-column: 1 / span 5; }
.hero-photo { grid-column: 6 / span 7; margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 40% 60%; border-radius: var(--r); }
.hero-kicker { font-weight: 700; color: var(--or-ink); font-size: 16px; letter-spacing: .06em; margin-bottom: 12px; }
.hero h1 { font-size: clamp(40px, 4.1vw, 52px); letter-spacing: .06em; white-space: nowrap; margin-bottom: 16px; }
.hero-lead { font-size: 19px; margin-bottom: 22px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 14px; font-weight: 700; padding: 3px 14px; border-radius: 999px; background: var(--or-soft); color: #6e3f12; }
.chips li.g { background: var(--gr-soft); color: var(--gr-ink); }

/* 相談先の帯：1枚の面を縦線で3つに分ける */
.doors { padding: 22px 0 0; }
.doors-in { display: grid; grid-template-columns: 1fr 1fr 1.1fr; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.door { padding: 18px 26px 16px; position: relative; }
.door + .door { border-left: 1px solid var(--line); }
.door::before { content: ""; position: absolute; left: 26px; top: 0; width: 40px; height: 4px; border-radius: 0 0 4px 4px; background: var(--or); }
.door.door-v::before { background: var(--gr); }
.door.today::before { background: #c9b39c; }
.door-tag { margin: 0; font-family: var(--head); font-weight: 700; font-size: 18px; color: var(--ink-head); line-height: 1.5; }
.door-tag span { display: block; font-family: var(--body); font-weight: 400; font-size: 13px; color: var(--ink-sub); }
.door-tel { display: block; font-family: var(--head); font-size: 30px; font-weight: 700; letter-spacing: .03em; color: var(--ink-head); text-decoration: none; line-height: 1.3; margin: 4px 0 6px; }
.door.door-v .door-tel { color: var(--gr-ink); }
.door-links { margin: 0; display: flex; flex-wrap: wrap; gap: 2px 16px; font-size: 14px; line-height: 1.7; }
.door-links a { font-weight: 700; color: var(--ink-head); text-decoration: none; }
.door-links a::after { content: " →"; color: var(--or-ink); }
.door.door-v .door-links a::after { color: var(--gr-ink); }
.door-time { color: var(--ink-sub); }
.today-v { font-family: var(--head); font-size: 25px; font-weight: 700; color: var(--ink-head); line-height: 1.35; margin: 6px 0 4px; }
.today-v.closed { font-size: 19px; color: var(--or-ink); }
.today-note { font-size: 12.5px; line-height: 1.65; color: var(--ink-sub); margin: 0; }
.newsbar { display: grid; grid-template-columns: 8em 1fr auto; align-items: center; gap: var(--gut); padding: 12px 26px; border-bottom: 1px solid var(--line); }
.newsbar h2 { font-size: 17px; letter-spacing: .08em; }
.newsbar .news-list { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.newsbar .news-list li a { display: flex; gap: 16px; text-decoration: none; color: var(--ink); }
.newsbar .news-empty { margin: 0; font-size: 15px; }
.newsbar .news-mihon { display: none; }
.newsbar .more { font-size: 14px; }

/* ---------- 診療案内（科目名・相談例2つ・入口。箱で囲まない） ---------- */
.care-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gut); }
.care-list a { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0 4px; border-top: 3px solid var(--or); text-decoration: none; color: var(--ink); height: 100%; }
.care-ico { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--or-soft); display: grid; place-items: center; }
.care-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--or-ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.care-txt b { display: block; font-family: var(--head); font-size: 21px; color: var(--ink-head); letter-spacing: .05em; line-height: 1.4; margin-bottom: 6px; }
.care-txt b::after { content: " →"; font-size: 16px; color: var(--or-ink); }
.care-ex .ph { display: block; font-size: 15px; line-height: 1.6; color: var(--ink-sub); padding-left: 1em; text-indent: -1em; }
.care-ex .ph::before { content: "・"; }
.care-list a:hover b { text-decoration: underline; text-decoration-color: var(--or); }

/* ---------- 歯科訪問診療（色面に短い要点） ---------- */
.visit-band { background: var(--gr); color: #fff; }
.visit-in { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gut); align-items: center; padding-top: 48px; padding-bottom: 48px; }
.visit-head { grid-column: 1 / span 4; }
.visit-head .en { display: block; font-family: var(--head); font-size: 13px; letter-spacing: .22em; font-weight: 700; color: #d6ecd0; text-transform: uppercase; margin-bottom: 4px; }
.visit-head h2 { color: #fff; font-size: 26px; letter-spacing: .05em; margin-bottom: 16px; }
.visit-band .more { color: #fff; border-bottom-color: #fff; }
.visit-band .more::after { color: #fff; }
.visit-points { grid-column: 5 / span 8; margin: 0; display: grid; grid-template-columns: 1fr 1fr 1.3fr; }
.visit-points > div { padding: 4px 24px; border-left: 1px solid rgba(255,255,255,.35); }
.visit-points dt { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: #d6ecd0; margin-bottom: 4px; }
.visit-points dd { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.6; }
.visit-points dd a { color: #fff; }
.visit-points dd > a:not(.visit-tel) { display: block; font-size: 14px; font-weight: 400; margin-top: 4px; }
.visit-tel { display: block; font-family: var(--head); font-size: 28px; text-decoration: none; letter-spacing: .03em; line-height: 1.25; }
.visit-points dd .ph { font-size: 13px; font-weight: 400; color: #e6f3e1; }

/* ---------- はじめての方へ（番号と線） ---------- */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gut); counter-reset: f; position: relative; }
.flow::before { content: ""; position: absolute; top: 22px; left: 22px; right: calc(25% - 2px); height: 2px; background: repeating-linear-gradient(90deg, #e3b98d 0 8px, transparent 8px 14px); }
.flow li { position: relative; padding-top: 60px; }
.flow li::before { counter-increment: f; content: counter(f); position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--or); color: #3a2414; font-family: var(--head); font-weight: 700; font-size: 20px; display: grid; place-items: center; box-shadow: 0 0 0 6px var(--bg); }
.flow h3 { font-size: 19px; margin-bottom: 6px; }
.flow p { font-size: 15px; line-height: 1.8; margin: 0; padding-right: 8px; }

/* ---------- ぽん歯科のこと（写真のまとまり → あいさつ） ---------- */
.about { padding: 80px 0; }
.mosaic { max-width: calc(var(--w) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 230px 230px; gap: 10px; }
.mosaic figure { margin: 0; position: relative; overflow: hidden; border-radius: 12px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic .m1 { grid-row: 1 / span 2; }
.mosaic .m1 img { object-position: 50% 60%; }
.mosaic .m4 img { object-position: 50% 70%; }
.mosaic figcaption { position: absolute; left: 0; bottom: 0; padding: 18px 12px 8px; width: 100%; color: #fff; font-size: 14px; font-weight: 700; background: linear-gradient(transparent, rgba(40,25,15,.55)); }
.mosaic-copy { background: var(--or-soft); border-radius: 12px; padding: 22px 22px 18px; display: flex; flex-direction: column; justify-content: center; }
.mosaic-copy .en { font-family: var(--head); font-size: 13px; letter-spacing: .22em; font-weight: 700; color: var(--or-ink); margin: 0; }
.mosaic-copy .philo { font-family: var(--head); font-size: 26px; font-weight: 700; color: var(--ink-head); letter-spacing: .08em; margin: 2px 0 8px; line-height: 1.4; }
.mosaic-copy p { font-size: 15px; line-height: 1.75; margin-bottom: 12px; }
.mosaic-copy .more { font-size: 14px; align-self: flex-start; }
.greet { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gut); align-items: center; margin-top: 56px; }
.greet-photo { grid-column: 1 / span 5; margin: 0; }
.greet-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 62% 40%; border-radius: var(--r); }
.greet-copy { grid-column: 7 / span 6; }
.greet-copy h2 { font-size: 26px; letter-spacing: .06em; margin-bottom: 12px; }
.greet-copy p { font-size: 16px; line-height: 1.95; }
.greet-copy .sign { text-align: right; font-family: var(--head); font-weight: 700; margin-bottom: 10px; }
.greet-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; }

/* ---------- 診療時間とアクセス ---------- */
.ha { display: grid; grid-template-columns: 1fr 1fr; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.ha > div { padding: 30px 34px; }
.ha > div + div { border-left: 1px solid var(--line); }
.ha h3 { font-size: 21px; margin-bottom: 14px; letter-spacing: .06em; }
.hours { width: 100%; border-collapse: collapse; text-align: center; font-size: 16px; }
.hours th, .hours td { padding: 10px 2px; border-bottom: 1px solid var(--line); }
.hours thead th { font-size: 14px; color: var(--ink-sub); font-weight: 700; }
.hours tbody th { text-align: left; font-weight: 700; white-space: nowrap; line-height: 1.4; }
.hours tbody th small { display: block; font-size: 12px; color: var(--ink-sub); font-weight: 400; }
.hours td.on { color: var(--or); font-size: 18px; }
.hours td.sat { color: var(--gr); font-size: 18px; }
.hours td { color: #b9ab9d; }
.hours-facts { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 15px; }
.hours-facts b { color: var(--ink-head); }
.ha .note { font-size: 13px; color: var(--ink-sub); margin: 12px 0 0; }
.access-top { display: grid; grid-template-columns: 1fr 150px; gap: 18px; align-items: start; }
.access-top img { width: 150px; aspect-ratio: 1; object-fit: cover; object-position: 50% 30%; border-radius: 12px; }
.info { display: grid; grid-template-columns: 5.5em 1fr; gap: 6px 12px; margin: 0; font-size: 15px; line-height: 1.7; }
.info dt { font-weight: 700; color: var(--ink-head); }
.info dd { margin: 0; }
.access-foot { margin: 16px 0 0; }

.contact { text-align: center; }
.contact-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 22px; }

/* フッター */
.ft { background: #4a3527; color: #f3e9dd; padding: 44px 0 26px; font-size: 14px; }
.ft-grid { display: grid; grid-template-columns: 160px 1fr auto; gap: 36px; align-items: start; }
.ft-logo { background: #fff; border-radius: 12px; padding: 10px; width: 120px; }
.ft-logo img { width: 100px; height: auto; }          /* 正式ロゴ（縦横比 574:600 のまま） */
.ft p { margin: 0 0 4px; }
.ft nav { display: grid; grid-template-columns: repeat(2, auto); gap: 4px 28px; }
.ft a { color: #f3e9dd; text-decoration: none; }
.ft-small { text-align: center; margin: 24px 0 0; opacity: .8; }
.sp-bar { display: none; }

/* ---------- 下層ページ ---------- */
.ph-head { background: var(--card); border-bottom: 1px solid var(--line); padding: 36px 0 22px; }
.ph-head .crumb { font-size: 13px; color: var(--ink-sub); margin-bottom: 8px; }
.ph-head .crumb a { color: var(--ink-sub); }
.ph-head h1 { font-size: 36px; letter-spacing: .08em; }
.ph-head .lead { margin: 8px 0 0; color: var(--ink-sub); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.toc a { padding: 7px 18px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--bg); text-decoration: none; color: var(--ink-head); font-weight: 700; font-family: var(--head); font-size: 15px; white-space: nowrap; }
.toc a.cur { background: var(--or); border-color: var(--or); color: #3a2414; }
.toc a.g { color: var(--gr-ink); }
.toc.visit a.cur { background: var(--gr); border-color: var(--gr); color: #fff; }

.dept-head { margin-bottom: 20px; }
.dept-head .en { display: inline-block; font-family: var(--head); font-weight: 700; font-size: 15px; color: #fff; background: var(--or); border-radius: 6px; padding: 1px 12px; margin-bottom: 10px; letter-spacing: .1em; }
.dept-head h2 { font-size: 34px; letter-spacing: .06em; }
/* 科目名は見出しの中に入れて、見た目は前と同じ札のまま、見出しの上の行に置く */
.dept-head h2 .en { display: table; line-height: 1.9; margin-top: 1px; }
@media (max-width: 600px) { .dept-head h2 .en { line-height: 1.85; margin-top: 0; } }
.when { display: grid; grid-template-columns: 8em 1fr; gap: var(--gut); align-items: center; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.when h3 { font-size: 19px; letter-spacing: .06em; }
.when ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.when li { background: var(--or-soft); border-radius: 999px; padding: 6px 16px 6px 36px; position: relative; font-weight: 700; font-size: 16px; line-height: 1.5; color: #5a3416; }
.when li::before { content: ""; position: absolute; left: 14px; top: 50%; width: 12px; height: 7px; border-left: 3px solid var(--or); border-bottom: 3px solid var(--or); transform: translateY(-70%) rotate(-45deg); }
.dept-body { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gut); align-items: center; }
.dept-text { grid-column: 1 / span 7; }
.dept-text p:last-child { margin-bottom: 0; }
.dept-photo { grid-column: 8 / span 5; margin: 0; }
.dept-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
.dept-photo figcaption { font-size: 13px; color: var(--ink-sub); margin-top: 6px; }
.dept-next { margin: 48px 0 0; padding: 16px 20px; border: 1px dashed #d8c7b4; border-radius: var(--r); color: var(--ink-sub); font-size: 14px; text-align: center; }

.vh-tel { margin: 16px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.vh-tel a { font-family: var(--head); font-weight: 700; font-size: 28px; color: var(--gr-ink); text-decoration: none; }
.vh-tel span { font-size: 14px; color: var(--ink-sub); }
.area-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gut); align-items: start; }
.area-map { grid-column: 1 / span 7; margin: 0; }
.map { position: relative; height: 620px; border-radius: var(--r); overflow: hidden; background: #eef0ea; border: 1px solid var(--line); }
.map-tiles { position: absolute; left: 0; top: 0; }
.map-tiles img { position: absolute; width: 256px; height: 256px; max-width: none; user-select: none; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.map-fallback { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; color: var(--ink-sub); font-size: 15px; }
.area-map figcaption { font-size: 12px; color: var(--ink-sub); margin-top: 8px; line-height: 1.6; }
.map-legend { display: flex; flex-wrap: wrap; gap: 2px 18px; font-size: 14px; color: var(--ink); margin-bottom: 4px; }
.map-legend i { display: inline-block; vertical-align: -2px; margin-right: 6px; }
.map-legend .lc { width: 18px; height: 12px; border: 2px dashed var(--gr-ink); border-radius: 50%; background: rgba(63,138,79,.12); }
.map-legend .lp { width: 12px; height: 12px; border-radius: 50%; background: var(--or); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--or-ink); }
.map-legend .lt { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-head); }
.area-copy { grid-column: 8 / span 5; padding: 6px 0 0; }
.area-copy .en { display: block; font-family: var(--head); font-size: 13px; letter-spacing: .22em; color: var(--gr-ink); font-weight: 700; text-transform: uppercase; }
.area-copy h2 { font-size: 30px; letter-spacing: .06em; margin: 2px 0 12px; }
.area-copy h3 { font-size: 16px; margin: 20px 0 4px; }
.area-towns { font-size: 15px; line-height: 1.8; margin: 0; }
.area-caution { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: #fff7ec; font-size: 14px; line-height: 1.7; }
.area-ask { margin-top: 22px; padding: 16px 20px; border-radius: var(--r); background: var(--gr-soft); }
.area-ask a.tel { font-family: var(--head); font-weight: 700; font-size: 26px; color: var(--gr-ink); text-decoration: none; display: block; line-height: 1.3; }
.area-ask p { font-size: 14px; color: var(--ink-sub); margin: 0; }

/* ---------- タブレット ---------- */
@media (max-width: 1120px) {
  .hd-nav a { padding: 8px 7px; font-size: 14px; }
  .hd-tels { padding-left: 14px; }
}
@media (max-width: 980px) {
  .hd-tels { display: none; }
  .care-list { grid-template-columns: repeat(2, 1fr); row-gap: 8px; }
}
@media (max-width: 920px) {
  .hd-in { height: 64px; gap: 12px; }
  .hd-nav { display: none; }
  .hd-nav.open { display: flex; flex-direction: column; align-items: stretch; position: absolute; left: 0; right: 0; top: 64px; z-index: 40; background: var(--card); border-bottom: 1px solid var(--line); padding: 4px var(--gut) 12px; gap: 0; }
  .hd-nav.open a { border-bottom: 1px solid var(--line); border-radius: 0; padding: 13px 4px; font-size: 16px; }
  .hd-nav.open a.nav-contact { margin: 10px 0 0; text-align: center; border-radius: 999px; border: 0; }
  .hd { position: relative; }
  .menu-btn { display: inline-flex; margin-left: auto; align-items: center; height: 42px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--line); background: var(--card); color: var(--ink-head); font: 700 15px var(--head); }
  .hero-grid, .visit-in, .greet, .dept-body, .area-grid { grid-template-columns: 1fr; }
  .hero-copy, .hero-photo, .visit-head, .visit-points, .greet-photo, .greet-copy, .dept-text, .dept-photo, .area-map, .area-copy { grid-column: 1; }
  .hero-photo { order: -1; }
  .doors-in { grid-template-columns: 1fr; }
  .door + .door { border-left: 0; border-top: 1px solid var(--line); }
  .ha { grid-template-columns: 1fr; }
  .ha > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .visit-points { grid-template-columns: 1fr; }
  .visit-points > div { border-left: 0; border-top: 1px solid rgba(255,255,255,.3); padding: 12px 0; }
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow::before { top: 22px; bottom: 30px; left: 22px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, #e3b98d 0 8px, transparent 8px 14px); }
  .flow li { padding: 8px 0 22px 66px; }
  .flow li::before { top: 0; }
  .when { grid-template-columns: 1fr; gap: 10px; }
  .ft-grid { grid-template-columns: 1fr; gap: 18px; }
  body { padding-bottom: 60px; }
  .sp-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; box-shadow: 0 -2px 10px rgba(0,0,0,.12); }
  .sp-bar a { text-align: center; padding: 6px 4px 7px; text-decoration: none; font-weight: 700; font-size: 15px; line-height: 1.3; color: #3a2414; background: var(--or); }
  .sp-bar a + a { border-left: 1px solid rgba(0,0,0,.08); }
  .sp-bar a:nth-child(2) { background: var(--gr); color: #fff; }
  .sp-bar a:nth-child(3) { background: var(--card); color: var(--ink-head); }
  .sp-bar small { display: block; font-size: 11px; font-weight: 400; }
}

/* ---------- スマホ ---------- */
@media (max-width: 600px) {
  :root { --gut: 16px; }
  body { font-size: 16px; line-height: 1.85; }
  .hd-logo img { width: 35px; height: 36px; }
  .hd-logo b { font-size: 20px; }
  .hd-logo small { font-size: 11px; }
  .sec { padding: 52px 0; }
  .sh { margin-bottom: 22px; }
  .sh h2 { font-size: 24px; }
  /* 冒頭：写真は高さ200px（全幅）。文字は小さくせず、相談先を上へ */
  .hero { padding: 0; }
  .hero-grid { gap: 0; }
  .hero-photo { margin: 0 calc(var(--gut) * -1); }
  .hero-photo img { border-radius: 0; aspect-ratio: auto; height: 200px; object-position: 45% 62%; }
  .hero-copy { padding-top: 16px; }
  .hero-kicker { font-size: 14px; margin-bottom: 2px; }
  .hero h1 { font-size: 34px; letter-spacing: .05em; margin-bottom: 4px; }
  .hero-lead { font-size: 16px; line-height: 1.75; margin-bottom: 10px; }
  .chips { gap: 6px; }
  .chips li { font-size: 13px; padding: 2px 11px; }
  .doors { padding-top: 14px; }
  .door { padding: 12px 16px 12px; }
  .door::before { left: 16px; }
  .door-tag { font-size: 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; }
  .door-tag span { display: inline; font-size: 12.5px; }
  .door-tel { font-size: 27px; margin: 0 0 2px; }
  .door-links { font-size: 13.5px; gap: 0 14px; }
  .today-v { font-size: 20px; margin: 2px 0; }
  .newsbar { grid-template-columns: auto 1fr; padding: 12px 4px; gap: 4px 14px; }
  .newsbar .more { grid-column: 2; justify-self: start; }
  .sh .sh-more { margin-left: 0; font-size: 14px; }
  .care-list { grid-template-columns: 1fr; gap: 0; }
  .care-list a { border-top: 0; border-bottom: 1px solid var(--line); padding: 14px 0; }
  .care-list li:first-child a { border-top: 1px solid var(--line); }
  .care-ico { width: 40px; height: 40px; }
  .care-txt b { font-size: 19px; margin-bottom: 2px; }
  .care-ex .ph { font-size: 14px; }
  .visit-in { padding-top: 36px; padding-bottom: 30px; gap: 12px; }
  .visit-head h2 { font-size: 22px; margin-bottom: 10px; }
  .visit-points dd { font-size: 16px; }
  .visit-tel { font-size: 26px; }
  .mosaic { grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 190px 96px auto; gap: 6px; }
  .mosaic .m1 { grid-column: 1 / span 3; grid-row: 1; }
  .mosaic .m2 { grid-column: 1; grid-row: 2; }
  .mosaic .m3 { grid-column: 2; grid-row: 2; }
  .mosaic .m4 { grid-column: 3; grid-row: 2; }
  .mosaic-copy { grid-column: 1 / span 3; grid-row: 3; padding: 18px 18px 16px; }
  .mosaic figcaption { font-size: 12px; padding: 14px 8px 5px; }
  .mosaic-copy .philo { font-size: 24px; }
  .about { padding: 52px 0; }
  .greet { margin-top: 32px; gap: 14px; }
  .greet-copy h2 { font-size: 22px; }
  .ha > div { padding: 22px 18px; }
  .access-top { grid-template-columns: 1fr; }
  .access-top img { order: -1; width: 100%; aspect-ratio: 16 / 9; object-position: 50% 28%; }
  .info { grid-template-columns: 4.2em 1fr; }
  .hours { font-size: 15px; }
  .hours th, .hours td { padding: 9px 1px; }
  .contact-btns .btn { width: 100%; }
  .ph-head { padding: 22px 0 18px; }
  .ph-head h1 { font-size: 28px; }
  .toc { gap: 6px; margin-top: 14px; }
  .toc a { padding: 6px 14px; font-size: 14.5px; }
  .dept-head h2 { font-size: 26px; }
  .when { padding: 14px 0; margin-bottom: 24px; }
  .when ul { gap: 8px; }
  .when li { font-size: 15px; padding: 5px 14px 5px 34px; }
  .map { height: 360px; }
  .area-copy h2 { font-size: 25px; }
  .vh-tel a { font-size: 24px; }
}

/* ====================================================================
   v19 で足したもの：手元の見本の印・全8ページの部品・訪問エリアの地図
   ==================================================================== */
/* 手元の見本だけの帯と印（公開用では build.py が消す） */
.proto-bar { background: #3f2a1d; color: #fff; font-size: 13px; display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: center; padding: 4px 12px; }
.proto-bar a { color: #ffd7a8; }
.proto-bar em { font-style: normal; }
em.src, em.chk { display: none; font-style: normal; font-size: 12px; border-radius: 4px; padding: 0 6px; margin: 0 4px; vertical-align: middle; }
.show-chk em.src { display: inline-block; background: #e3eef8; color: #2a4a6a; }
.show-chk em.chk { display: inline-block; background: #fff1b8; color: #5a4300; }
.page-src { margin: 8px 0 0; font-size: 12px; }

/* 下層ページの共通：細めの本文幅・節の見出し */
.narrow { max-width: 860px; }
.sec-h { font-size: 26px; letter-spacing: .06em; margin-bottom: 18px; }
.sec-h small { display: block; font-family: var(--head); font-size: 13px; letter-spacing: .22em; color: var(--or-ink); font-weight: 700; margin-bottom: 2px; }
.sec-h.g small { color: var(--gr-ink); }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.subnav a { padding: 6px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--bg); text-decoration: none; color: var(--ink-head); font-weight: 700; font-family: var(--head); font-size: 15px; }
.subnav a[aria-current] { background: var(--or); border-color: var(--or); color: #3a2414; }
.cta-band { background: var(--bg-2); padding: 52px 0; text-align: center; }
.cta-band p { margin: 0 0 18px; }
.cta-band .contact-btns { margin-top: 0; }

/* 当院について */
.philo-sec { text-align: center; padding: 72px 0 40px; }
.philo-sec .en { font-family: var(--head); font-size: 13px; letter-spacing: .22em; font-weight: 700; color: var(--or-ink); margin: 0; }
.philo-sec .big { font-family: var(--head); font-weight: 700; font-size: 48px; letter-spacing: .12em; color: var(--ink-head); margin: 6px 0 18px; line-height: 1.3; }
.philo-sec p.body { font-size: 18px; line-height: 2.1; margin: 0 auto; max-width: 34em; }
.policy { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gut); align-items: center; padding-top: 40px; padding-bottom: 72px; }
.policy figure { grid-column: 1 / span 6; margin: 0; }
.policy figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
.policy div { grid-column: 8 / span 5; }
.policy h2 { font-size: 30px; margin-bottom: 12px; }
.policy .en { font-family: var(--head); font-size: 13px; letter-spacing: .22em; font-weight: 700; color: var(--or-ink); margin: 0 0 2px; }
.pom { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line); }
.pom li { padding: 22px 18px 6px; border-left: 1px solid var(--line); }
.pom li:first-child { border-left: 0; padding-left: 0; }
.pom .n { font-family: var(--head); font-weight: 700; font-size: 34px; color: var(--or); line-height: 1; }
.pom h3 { font-size: 16px; margin: 8px 0 8px; letter-spacing: .02em; line-height: 1.4; }
.pom h3 b { color: var(--or-ink); }
.pom p { font-size: 15px; line-height: 1.8; margin: 0; }
.pom-lead { margin: -8px 0 28px; color: var(--ink-sub); }
.feat { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; counter-reset: ft; }
.feat li { position: relative; padding: 20px 0 18px 58px; border-top: 1px solid var(--line); }
.feat li::before { counter-increment: ft; content: counter(ft); position: absolute; left: 0; top: 20px; width: 40px; height: 40px; border-radius: 50%; background: var(--or-soft); color: var(--or-ink); font-family: var(--head); font-weight: 700; display: grid; place-items: center; }
.feat h3 { font-size: 18px; margin-bottom: 4px; }
.feat p { font-size: 15.5px; line-height: 1.85; margin: 0; }
.feat li.nonum { padding: 20px 0 0; }
.feat li.nonum::before { content: none; }
.feat-photo { margin: 0; }
.feat-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); }

/* 院長紹介 */
.staff-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gut); align-items: center; }
.staff-grid figure { grid-column: 1 / span 6; margin: 0; }
.staff-grid figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 62% 40%; border-radius: var(--r); }
.staff-grid > div { grid-column: 7 / span 6; }
.staff-role { font-family: var(--head); font-weight: 700; color: var(--or-ink); font-size: 15px; margin: 0; }
.staff-name { font-size: 34px; letter-spacing: .12em; margin: 0 0 14px; }
.career { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.career h3 { font-size: 19px; margin-bottom: 10px; }
.career dl { display: grid; grid-template-columns: 5em 1fr; gap: 8px 16px; margin: 0; font-size: 16px; }
.career dt { font-weight: 700; color: var(--ink-head); }
.career dd { margin: 0; }
.career ul { list-style: none; margin: 0 0 22px; padding: 0; font-size: 16px; line-height: 1.9; }
.career ul li::before { content: "・"; color: var(--or); }

/* 院内紹介 */
.fac-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 10px; }
.fac-gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 12px; }
.fac-gallery img { width: 100%; height: 100%; object-fit: cover; }
.fac-gallery .big { grid-column: span 2; grid-row: span 2; }
.fac-gallery .tall { grid-row: span 2; }
.fac-gallery .wide { grid-column: span 2; }
.fac-gallery figcaption { position: absolute; left: 0; bottom: 0; width: 100%; padding: 18px 12px 8px; color: #fff; font-size: 14px; font-weight: 700; background: linear-gradient(transparent, rgba(40,25,15,.55)); }
.equip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; margin: 0; }
.equip > div { padding: 18px 0; border-top: 1px solid var(--line); }
.equip dt { font-family: var(--head); font-weight: 700; font-size: 18px; color: var(--ink-head); margin-bottom: 4px; }
.equip dd { margin: 0; font-size: 15.5px; line-height: 1.85; }
.equip .hl dt { color: var(--gr-ink); }

/* お知らせ */
.news-page .news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news-page .news-list li { border-bottom: 1px solid var(--line); }
.news-page details summary { cursor: pointer; padding: 16px 4px; display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; list-style: none; }
.news-page details summary::-webkit-details-marker { display: none; }
.news-page time { color: var(--ink-sub); font-size: 15px; }
.news-page .news-title { font-weight: 700; color: var(--ink-head); }
.news-page details p { padding: 0 4px 18px; margin: 0; }
.news-empty { color: var(--ink-sub); }
.news-warn { background: #fff1b8; padding: 8px 12px; border-radius: 8px; font-size: 14px; }
.news-mihon { display: inline-block; font-size: 11px; background: #fff1b8; color: #5a4300; border-radius: 4px; padding: 0 6px; }

/* 院内掲示・施設基準 */
.notice h2 { font-size: 24px; margin: 44px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--or-soft); }
.notice h2:first-child { margin-top: 0; }
.notice h3 { font-size: 18px; margin: 26px 0 6px; }
.notice p, .notice li { font-size: 16px; line-height: 1.95; }
.notice ul { padding-left: 1.3em; }
.std { width: 100%; border-collapse: collapse; margin: 8px 0 12px; font-size: 15.5px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.std th, .std td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.6; }
.std th { width: 52%; color: var(--ink-head); }
.std td { color: var(--ink-sub); }
.std tr:last-child th, .std tr:last-child td { border-bottom: 0; }

/* 診療案内：写真のない科目、訪問の帯 */
.dept + .dept { border-top: 1px solid var(--line); }
.dept-body.nophoto .dept-text { grid-column: 1 / span 9; }
.med-visit { background: var(--gr-soft); }
.med-visit .dept-head .en { background: var(--gr); }
.med-visit .dept-text p { margin-bottom: 18px; }

/* 歯科訪問診療 */
.vh-target { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 32px; }
.vh-target li { position: relative; padding: 8px 0 8px 32px; border-bottom: 1px dashed var(--line); font-size: 16.5px; line-height: 1.7; }
.vh-target li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 14px; height: 8px; border-left: 3px solid var(--gr); border-bottom: 3px solid var(--gr); transform: rotate(-45deg); }
.vh-feat { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gut); }
.vh-feat li { padding-top: 16px; border-top: 3px solid var(--gr); }
.vh-feat .n { font-family: var(--head); font-weight: 700; font-size: 30px; color: var(--gr); line-height: 1; }
.vh-feat h3 { font-size: 18px; margin: 8px 0 6px; }
.vh-feat p { font-size: 15.5px; line-height: 1.85; margin: 0; }
.sec.green { background: var(--gr-soft); }
.cost-lead { margin-bottom: 22px; }
.cost-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gut); }
.cost { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; display: flex; flex-direction: column; }
.cost h3 { font-size: 19px; margin-bottom: 2px; }
.cost h3 small { font-size: 13px; font-family: var(--body); color: var(--ink-sub); font-weight: 400; margin-left: 4px; }
.cost .what { font-size: 14px; color: var(--ink-sub); margin: 0 0 10px; }
.cost dl { margin: 0 0 10px; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: 15.5px; }
.cost dt { color: var(--ink-head); font-weight: 700; }
.cost dd { margin: 0; text-align: right; }
.cost .cn { margin: auto 0 0; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 13.5px; color: var(--ink-sub); line-height: 1.7; }
.flow.f5 { grid-template-columns: repeat(5, 1fr); }
.flow.f5::before { right: calc(20% - 2px); }
.flow.g li::before { background: var(--gr); color: #fff; }
.flow.g::before { background: repeating-linear-gradient(90deg, #a9cfa0 0 8px, transparent 8px 14px); }
.flow li b { display: block; font-family: var(--head); font-size: 18px; color: var(--ink-head); margin-bottom: 4px; }
.flow.f5 p, .flow.f5 li { font-size: 15px; line-height: 1.8; }
.faq h3 { font-size: 18px; margin: 32px 0 6px; color: var(--gr-ink); }
.faq h3:first-of-type { margin-top: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 14px 36px 14px 2.2em; position: relative; font-weight: 700; color: var(--ink-head); line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 0; top: 13px; font-family: var(--head); color: var(--gr); font-size: 18px; }
.faq summary::after { content: "＋"; position: absolute; right: 6px; top: 14px; color: var(--gr-ink); }
.faq details[open] summary::after { content: "－"; }
.faq details p { margin: 0; padding: 0 4px 16px 2.2em; font-size: 16px; line-height: 1.9; }

/* 訪問エリアの地図（国土数値情報の行政区域から作った SVG） */
.area-wrap { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gut); align-items: center; }
.area-fig { grid-column: 1 / span 7; margin: 0; }
.area-svg { display: block; width: 100%; height: auto; border-radius: var(--r); border: 1px solid var(--line); background: #dcebf3; }
.am-sea { fill: #dcebf3; }
.am-land { fill: #eef4e4; stroke: #a99a87; stroke-width: 1.6; stroke-linejoin: round; }
.am-muni { stroke: #8f7d68; stroke-width: 3; }
.am-in { fill: #c9e2bd; stroke: #ffffff; stroke-width: 2.4; stroke-linejoin: round; }
.am-in.am-muni { stroke-width: 4; }
.am-circle { fill: none; stroke: #c4661a; stroke-width: 5; stroke-dasharray: 18 10; }
.am-lbl { font-family: var(--head); font-weight: 700; text-anchor: middle; paint-order: stroke; stroke: #fff; stroke-width: 7px; stroke-linejoin: round; }
.am-lbl-ward { font-size: 28px; fill: #4a3a2c; }
.am-lbl-muni { font-size: 32px; fill: #35603a; }
.am-lbl-circle { font-size: 24px; fill: #a9560a; }
.am-lbl-clinic { font-size: 30px; fill: #a9560a; }
.am-clinic { fill: #f39221; stroke: #fff; stroke-width: 5; }
.am-clinic-ring { fill: rgba(243,146,33,.28); }
.am-leader { stroke: #4a3a2c; stroke-width: 2; fill: none; }
.am-dot { fill: #4a3a2c; }
.area-fig figcaption { font-size: 12px; color: var(--ink-sub); margin-top: 8px; line-height: 1.6; }
.area-guide { margin: 14px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 14px 18px; border-radius: var(--r); background: var(--gr-soft); }
.area-guide p { margin: 0; font-weight: 700; color: var(--ink-head); font-size: 16px; line-height: 1.8; }
.area-guide a { font-family: var(--head); font-weight: 700; font-size: 22px; color: var(--gr-ink); text-decoration: none; white-space: nowrap; }
.area-guide a small { font-family: var(--body); font-size: 13px; font-weight: 400; color: var(--ink-sub); margin-left: 6px; }
.area-side { grid-column: 8 / span 5; padding-left: 12px; }
.area-side h2 { font-size: 26px; margin-bottom: 8px; }
.area-side h3 { font-size: 17px; margin: 0 0 6px; }
.area-side .area-towns { font-size: 16px; }
.area-side .area-guide { flex-direction: column; align-items: flex-start; margin-top: 20px; }

@media (max-width: 920px) {
  .policy, .staff-grid, .area-wrap { grid-template-columns: 1fr; }
  .policy figure, .policy div, .staff-grid figure, .staff-grid > div, .area-fig, .area-side { grid-column: 1; }
  .area-side { padding-left: 0; }
  .pom { grid-template-columns: 1fr; }
  .pom li { border-left: 0; padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 52px 1fr; column-gap: 12px; }
  .pom li .n { grid-row: span 2; }
  .pom h3 { margin: 0 0 4px; }
  .feat, .equip { grid-template-columns: 1fr; }
  .career { grid-template-columns: 1fr; gap: 20px; }
  .fac-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .vh-target, .vh-feat, .cost-grid { grid-template-columns: 1fr; }
  .flow.f5 { grid-template-columns: 1fr; }
  .dept-body.nophoto .dept-text { grid-column: 1; }
}
@media (max-width: 600px) {
  .philo-sec { padding: 44px 0 24px; }
  .philo-sec .big { font-size: 34px; }
  .philo-sec p.body { font-size: 16px; }
  .policy { padding-top: 20px; padding-bottom: 44px; }
  .policy h2, .staff-name { font-size: 26px; }
  .sec-h { font-size: 22px; }
  .fac-gallery { grid-auto-rows: 130px; gap: 6px; }
  .std th, .std td { padding: 10px 12px; font-size: 14.5px; display: block; width: auto; }
  .std th { border-bottom: 0; padding-bottom: 0; }
  .notice h2 { font-size: 21px; }
  .am-lbl-ward { font-size: 32px; }
  .am-lbl-muni { font-size: 34px; }
  .area-guide a { font-size: 21px; }
}

/* ---- v20：アイコン（線の太さ・色・大きさを全ページで統一）・訪問ページ冒頭のイラスト・予約制の表示 ---- */
.ico { width: 24px; height: 24px; fill: none; stroke: var(--ink-head); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; display: block; }
.ico-c { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gr-soft); vertical-align: middle; }
.care-ico svg { stroke: var(--ink-head); stroke-width: 3.6; width: 24px; height: 24px; }
.care-ico { width: 40px; height: 40px; }
.vh-feat h3 { display: flex; align-items: center; gap: 10px; }
.vh-feat .ico-c { background: var(--card); }
.lead-s { display: block; color: var(--ink-head); margin-bottom: 4px; }
.flow.f5 li { padding-top: 60px; }
.flow.f5 li .ico-c { margin: 0 0 6px; }
.vh-hero { display: grid; grid-template-columns: 1fr 320px; gap: var(--gut); align-items: center; }
.vh-illust { display: block; width: 100%; height: auto; }   /* 歯の模型で説明する場面のイラスト（背景透過の画像）。PC 幅 320px */
.reserve { margin: -6px 0 14px; padding: 8px 12px; border-radius: 10px; background: var(--or-soft); font-size: 15px; line-height: 1.6; color: var(--ink); }
.reserve b { color: var(--or-ink); margin-right: 2px; }
.today-recept { margin: 0 0 4px; font-size: 14px; font-weight: 700; color: var(--ink-head); }
/* 費用・施設基準：見出し・表・余白を優先 */
.cost { padding: 22px 24px; }
.cost h3 { font-size: 20px; padding-bottom: 8px; border-bottom: 2px solid var(--gr-soft); margin-bottom: 8px; }
.cost dl { gap: 0; }
.cost dt, .cost dd { padding: 9px 0; border-bottom: 1px solid var(--line); }
.cost dd { font-weight: 700; color: var(--ink-head); }
.std th, .std td { padding: 14px 18px; }
.std tr:nth-child(even) th, .std tr:nth-child(even) td { background: #fbf6ef; }
.notice h3 { padding-left: 10px; border-left: 4px solid var(--or); }
@media (max-width: 920px) {
  .vh-hero { grid-template-columns: 1fr; }
  .vh-illust { max-width: 250px; margin: 4px auto 0; }
  .flow.f5 li { padding: 4px 0 20px 66px; }
  .flow.f5 li .ico-c { float: left; width: 32px; height: 32px; margin: 0 10px 0 0; }
  .flow.f5 li .ico-c .ico { width: 20px; height: 20px; }
  .flow.f5 li b { line-height: 32px; }
}
@media (max-width: 600px) {
  .vh-illust { max-width: 236px; }
  .std th, .std td { padding: 10px 12px; }
}
/* v20：土曜の受付を書き足した時間表が、スマホで詰まらないように（時間の列の小さな字は折り返してよい・曜日は折り返さない） */
.hours thead th { white-space: nowrap; }
.hours tbody th { white-space: normal; width: 42%; }
.hours tbody th small { word-break: auto-phrase; line-height: 1.5; }

/* フッターの診療時間：平日と土曜日を分け、最終受付を添える（2026-11-19） */
.ft-hours { margin: 8px 0 4px; }
.ft .ft-hours-t { margin: 0 0 2px; font-weight: 700; }
.ft-hours dl { margin: 0 0 4px; display: grid; gap: 6px; }
.ft-hours dl > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 0 12px; }
.ft-hours dt { font-weight: 700; }
.ft-hours dd { margin: 0; }
.ft-hours small { display: block; font-size: 13px; }
@media (max-width: 420px) { .ft-hours dl > div { grid-template-columns: 1fr; } }

/* トップのお知らせ：狭い画面で長い見出しが横にはみ出さないように。入るときは今までどおり、入らないときだけ見出しの中で折り返す（2026-11-19） */
.newsbar [data-news-list] { min-width: 0; }
.newsbar .news-list li a time { flex-shrink: 0; }
.newsbar .news-title { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 600px) { .newsbar .news-list li a { flex-direction: column; gap: 0; } }
