/* 本番サイトだけで使う追加（デザイン確認用の design/*.css には無いもの） */
.logo-img { width: 34px; height: 34px; object-fit: contain; flex: none; }
/* 写真を切らずに全体を見せる（管理画面のチェック。枠の形は写真の縦横比 aspect-ratio をその場で指定） */
.photo.img.fit { background-size: contain !important; background-position: center !important; height: auto !important; min-height: 0 !important; background-color: transparent; -webkit-mask-image: none; mask-image: none; }
:is(.pts, .flow, .route, .staff-grid, .menu-grid) .photo.img.fit, .ph-photo.fit, .media-photo.round.fit { border-radius: 6px; }
.photo.wide { display: block; aspect-ratio: 16 / 7; max-width: 1000px; margin: 0 auto 40px; }
.media.noimg { display: block; }
.cta-box-sub { font: 14px/1.9 var(--f-body); color: var(--text); margin: 0 0 14px; }
.goods-cats button { border: 1px solid var(--line); padding: 4px 16px; font: 13px var(--f-body); background: #fff; border-radius: 999px; color: inherit; cursor: pointer; }
.goods-cats button.on, .goods-cats button:hover { border-color: var(--accent); color: var(--accent); }
.cards .more { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--accent); }
.cards .more::after { content: " ›"; }
.nl-imp { margin-right: 8px; }
.news-in > .nl-imp { display: block; grid-column: 1 / -1; margin: 0 0 10px; padding: 10px 14px; border: 1px solid #b3261e; color: #b3261e; background: #fff; font-size: 14px; }
.news-in > .nl-imp b { margin-right: 10px; }
.banner-list img { display: block; width: 100%; height: auto; }
@media (min-width: 900px) { .mcal-n2 { grid-template-columns: 1fr 1fr; gap: 28px; } }
/* 採用の応募フォーム（見た目は sub.css の .entry。ここは送信の仕組みに必要な分だけ） */
.entry .ef-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.entry .ef-agree { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
.entry .ef-agree input { width: 16px; height: 16px; }
.entry .btn { cursor: pointer; }
.entry .btn:disabled { opacity: .6; cursor: default; }
.entry .ef-msg { min-height: 1.5em; margin: 0; text-align: center; font: 14px var(--f-body); color: #b3261e; }
.entry .ef-done { margin: 0; text-align: center; font: 15px/2 var(--f-body); }
/* 歯のコラム（記事）：見出しの帯、段落の間隔、枠付きの箇条書き、目次、よくある質問 */
.column h2 { font-size: 24px; line-height: 1.6; }
.column .article-body { font-size: 16px; line-height: 2; color: var(--text); }
.column .article-body p { font-size: 16px; margin: 0 0 1.4em; }
.column .article-body h3 { font: 500 21px/1.6 var(--f-head); color: var(--main); margin: 56px 0 20px; padding: 14px 18px; background: var(--bg2); border-left: 4px solid var(--accent); scroll-margin-top: 90px; }
.column .article-body h4 { font: 500 18px/1.6 var(--f-head); color: var(--main); margin: 36px 0 14px; padding: 0 0 8px; border-bottom: 1px solid var(--line); }
.column .article-body ul, .column .article-body ol { margin: 0 0 1.6em; padding: 18px 22px 18px 2.4em; background: #fff; border: 1px solid var(--line); }
.column .article-body ul { list-style: disc; }
.column .article-body ol { list-style: decimal; }
.column .article-body li { margin: 4px 0; line-height: 1.9; display: list-item; }
.column .article-body li::marker { color: var(--accent); }
.column .article-body a { color: var(--accent); border-bottom: 1px solid; }
.column .article-body b { background: linear-gradient(transparent 62%, #efe3cf 62%); font-weight: 600; }
.column .article-body h4.faq-q { border: 0; margin: 28px 0 8px; padding: 0 0 0 40px; position: relative; font-size: 17px; }
.column .article-body h4.faq-q::before { content: "Q"; position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font: 600 15px/28px var(--f-en); text-align: center; }
.column .article-body h4.faq-q + p { padding: 14px 16px 14px 56px; background: var(--bg2); position: relative; }
.column .article-body h4.faq-q + p::before { content: "A"; position: absolute; left: 14px; top: 14px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); font: 600 15px/26px var(--f-en); text-align: center; }
.col-toc { margin: 8px 0 40px; padding: 20px 24px; background: var(--bg2); border: 1px solid var(--line); }
.col-toc p { margin: 0 0 8px; font: 500 15px var(--f-head); color: var(--main); letter-spacing: .1em; }
.col-toc ol { list-style: decimal; margin: 0; padding-left: 1.6em; font-size: 14px; line-height: 2; }
.col-toc a { color: var(--text); }
.col-toc a:hover { color: var(--accent); }
@media (max-width: 600px) {
  .column h2 { font-size: 20px; }
  .column .article-body h3 { font-size: 18px; margin-top: 44px; padding: 12px 14px; }
  .column .article-body h4 { font-size: 16px; }
  .column .article-body ul, .column .article-body ol { padding: 14px 14px 14px 2em; }
}
/* トップの「歯のコラム」（お知らせと同じ見た目に、分類を添える） */
.news.col-top { background: var(--bg2); color: var(--text); margin-top: 0; border-bottom: 1px solid var(--line); }
.col-top .news-hd p { color: var(--main); }
.col-top .news-hd a { border-color: var(--main); color: var(--main); }
.col-top .news-list a::before { content: none; }
.col-top .news-list a:hover { color: var(--accent); }
.col-top .news-list .nl-cat { display: inline-block; min-width: 0; margin-right: 10px; padding: 0 8px; font-size: 11px; line-height: 20px; border: 1px solid var(--accent); color: var(--accent); background: #fff; vertical-align: 1px; }
/* 診療カレンダー：ラベルは1行。長いときは calendar.js の fitCalTags が文字を小さくして収める。「文字だけ」の日は線を添えて表示 */
.mcal-tag { display: flex; justify-content: center; white-space: nowrap; overflow: hidden; text-overflow: clip; letter-spacing: 0; padding: 1px 1px; }
.mcal-tag > span { flex: none; transform-origin: center; }
.mcal-memo { white-space: nowrap; overflow: hidden; word-break: normal; letter-spacing: 0; }
.mcal-memo > span { display: inline-block; transform-origin: left; }
.mcal-memo.wrap { white-space: normal; word-break: break-all; }
.mcal-memo.wrap > span { display: inline; }
.mcal-memo.only { font-size: 10px; color: var(--main); border-left: 2px solid var(--line); padding-left: 3px; }
@media (max-width: 599px) { .mcal-tag { padding: 1px 0; } .mcal-memo.only { font-size: 9px; } }

/* ===== Web予約（src/shared/reserve-form.js・ページの枠は Base.astro）=====
   2026-11-12 旅河さんが選んだ案（design/reserve：フォント1 BIZ UD・選んだ日は色あり）
   院内の写真（茶色のフィルタ）を敷き、手続きの部分だけ白い紙をのせる。色は「ボタン」と「選んだ日」だけ。文字は墨色 */
.rsv2 { --r-paper: #fff; --r-ink: #2f2c29; --r-sub: #6b6560; --r-line: #dcd8d2; --r-off: #c4bfb8; --r-acc: #5c4a38;
  --r-head: "BIZ UDPMincho", var(--f-head), serif; --r-body: "BIZ UDPGothic", var(--f-body), sans-serif;
  max-width: 880px; margin: 0 auto; color: var(--r-ink); font: 16px/1.85 var(--r-body); letter-spacing: .03em; }
.rsv2 button { font: inherit; color: inherit; }
.rsv2 [hidden] { display: none !important; }
.rsv2 .ef-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rsv2 h2 { font: 700 20px/1.5 var(--r-head); letter-spacing: .08em; margin: 0 0 16px; color: var(--r-ink); }
.rsv-steps { margin: 0 0 18px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; }
.rsv-steps li { position: relative; text-align: center; font-size: 13px; color: var(--r-sub); padding-top: 34px; }
.rsv-steps li::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--r-off); background: var(--r-paper); font: 700 14px/26px var(--r-body); z-index: 1; box-sizing: border-box; }
.rsv-steps li:last-child::before { content: "完"; font-size: 12px; }
.rsv-steps li::after { content: ""; position: absolute; top: 14px; left: -50%; width: 100%; height: 1px; background: var(--r-line); }
.rsv-steps li:first-child::after { display: none; }
.rsv-steps li.on, .rsv-steps li.done { color: var(--r-ink); font-weight: 700; }
.rsv-steps li.on::before { background: var(--r-ink); border-color: var(--r-ink); color: #fff; }
.rsv-steps li.done::before { border-color: var(--r-ink); }
.rsv-panel { background: var(--r-paper); padding: 26px 26px 30px; border: 1px solid var(--r-line); }
.rsv-calwrap { max-width: 560px; margin: 0 auto; }
.rsv-cal-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.rsv-cal-hd b { font-size: 17px; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.rsv-cal-hd button { border: 1px solid var(--r-line); background: var(--r-paper); padding: 6px 12px; font-size: 13px; cursor: pointer; }
.rsv-cal-hd button:disabled { color: var(--r-off); cursor: default; }
.rsv-tbl { width: 100%; border-collapse: collapse; table-layout: fixed; font-variant-numeric: tabular-nums; margin: 0; }
.rsv-tbl th { font-size: 12px; font-weight: 400; color: var(--r-sub); padding: 4px 0; border: 0; border-bottom: 1px solid var(--r-line); background: none; text-align: center; }
.rsv-tbl th.sun { color: #a34a3c; } .rsv-tbl th.sat { color: #3b6a8f; }
.rsv-tbl td { padding: 3px; text-align: center; border: 0; background: none; }
.rsv-tbl td button { width: 100%; aspect-ratio: 1 / 1; max-height: 52px; border: 1px solid var(--r-line); background: var(--r-paper); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.2; font-size: 15px; padding: 0; }
.rsv-tbl td button:hover { border-color: var(--r-ink); }
.rsv-tbl td button[disabled] { border-color: transparent; color: var(--r-off); cursor: default; }
.rsv-tbl td button.has { background: var(--r-acc); border-color: var(--r-acc); color: #fff; font-weight: 700; }
.rsv-tbl td button .w { font-size: 10px; font-weight: 400; margin-top: 1px; letter-spacing: 0; white-space: nowrap; }
.rsv-legend { font-size: 12px; color: var(--r-sub); margin: 8px 0 0; }
.rsv-note { font-size: 13px; color: var(--r-sub); margin: 16px 0 0; text-align: center; }
.rsv-pop { position: fixed; inset: 0; z-index: 200; background: rgba(30, 22, 15, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.rsv-pop-in { background: var(--r-paper); width: 100%; max-width: 420px; max-height: calc(100% - 32px); overflow-y: auto; padding: 24px 22px 22px; }
.rsv-pop h2 { font-size: 19px; margin-bottom: 14px; }
.rsv-pop ul { margin: 0 0 20px; padding: 0; list-style: none; border-top: 1px solid var(--r-line); }
.rsv-pop ul li { padding: 11px 2px; border-bottom: 1px solid var(--r-line); font-size: 15px; line-height: 1.7; }
.rsv-pop .rsv-btn { width: 100%; min-width: 0; }
.rsv-pop-close { display: block; margin: 12px auto 0; border: 0; background: none; font-size: 14px; color: var(--r-sub) !important; text-decoration: underline; cursor: pointer; }
.rsv-pop-note { font-size: 13px; color: var(--r-sub); margin: -6px 0 12px; }
.rsv-sl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; font-variant-numeric: tabular-nums; } /* 30分枠：2列に並べる */
.rsv-sl button { border: 1px solid var(--r-line); background: var(--r-paper); padding: 11px 14px; text-align: left; cursor: pointer; font-size: 16px; display: flex; justify-content: space-between; align-items: center; }
.rsv-sl button:hover { border-color: var(--r-ink); }
.rsv-sl button.sel { border: 2px solid var(--r-ink); padding: 10px 13px; font-weight: 700; }
.rsv-sl button { flex-wrap: wrap; gap: 2px 6px; }
.rsv-sl button span { font-size: 12px; font-weight: 400; }
.rsv-sl button span:empty { display: none; }
.rsv-sl-ttl { font-size: 12px; color: var(--r-sub); margin: 12px 0 4px; }
.rsv-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; background: var(--r-paper); border-top: 1px solid var(--r-ink); padding-bottom: env(safe-area-inset-bottom, 0px); }
.rsv-bar-in { max-width: 880px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 14px; }
.rsv-bar-w { flex: 1; min-width: 0; }
.rsv-bar-h { font-size: 12px; color: var(--r-sub); margin: 0 0 4px; }
.rsv-bar-h b { color: var(--r-ink); font-size: 13px; margin-right: 6px; }
.rsv-wishes { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-variant-numeric: tabular-nums; }
.rsv-wishes li { border: 1px solid var(--r-ink); padding: 3px 4px 3px 10px; font-size: 13px; line-height: 1.5; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.rsv-wishes li small { font-size: 11px; color: var(--r-sub); }
.rsv-wishes li .x { border: 0; background: none; width: 26px; height: 26px; font-size: 16px; line-height: 1; color: var(--r-sub); cursor: pointer; padding: 0; }
.rsv-wishes .none { border: 0; padding: 3px 0; color: var(--r-sub); }
.rsv-bar .rsv-btn { min-width: 180px; padding: 12px 24px; }
.rsv2.has-bar { padding-bottom: 120px; }
.rsv-f { display: block; margin-bottom: 18px; }
.rsv-f > span { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.rsv-f input { width: 100%; font: 17px var(--r-body); padding: 11px 12px; border: 1px solid #c9c1b5; background: #fff; border-radius: 2px; color: var(--r-ink); box-sizing: border-box; }
.rsv-f input:focus, .rsv-via input:focus-visible + span { outline: 2px solid var(--r-acc); outline-offset: 1px; }
.rsv-via { border: 0; padding: 0; margin: 0 0 18px; }
.rsv-via legend { font-weight: 700; font-size: 15px; margin-bottom: 6px; padding: 0; }
.rsv-via label { display: block; margin-bottom: 6px; cursor: pointer; position: relative; }
.rsv-via input { position: absolute; opacity: 0; }
.rsv-via span { display: block; border: 1px solid var(--r-line); padding: 10px 14px 10px 40px; position: relative; line-height: 1.5; }
.rsv-via span::before { content: ""; position: absolute; left: 14px; top: 14px; width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--r-off); background: #fff; box-sizing: border-box; }
.rsv-via input:checked + span { border-color: var(--r-ink); }
.rsv-via input:checked + span::before { border: 5px solid var(--r-ink); }
.rsv-via small { display: block; font-size: 12px; color: var(--r-sub); }
.rsv-conf { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 15px; }
.rsv-conf th, .rsv-conf td { border: 0; border-bottom: 1px solid var(--r-line); padding: 12px 8px; text-align: left; vertical-align: top; background: none; }
.rsv-conf th { width: 32%; font-weight: 400; color: var(--r-sub); font-size: 14px; }
.rsv-conf td a { font-size: 13px; margin-left: 8px; color: var(--r-ink); text-decoration: underline; }
.rsv-agree { font-size: 13px; color: var(--r-sub); margin: 0; }
.rsv-agree a { color: var(--r-ink); text-decoration: underline; }
.rsv-msg { margin: 14px 0 0; color: #a3392c; font-weight: 700; font-size: 15px; }
.rsv-msg:empty { display: none; }
.rsv-acts { display: flex; gap: 12px; align-items: center; margin-top: 24px; flex-wrap: wrap; }
.rsv-btn { border: 1px solid var(--r-acc); background: var(--r-acc); color: #fff !important; padding: 14px 32px; font-size: 16px; font-weight: 700; letter-spacing: .1em; cursor: pointer; border-radius: 2px; min-width: 240px; text-align: center; text-decoration: none; display: inline-block; }
.rsv-btn:disabled { background: var(--r-paper); border-color: var(--r-line); color: var(--r-off) !important; cursor: default; }
.rsv-btn.back { background: var(--r-paper); color: var(--r-ink) !important; border-color: var(--r-line); font-weight: 400; min-width: 0; padding: 14px 20px; }
.rsv-done-mark { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--r-ink); margin: 4px auto 14px; position: relative; }
.rsv-done-mark::after { content: ""; position: absolute; left: 18px; top: 13px; width: 12px; height: 20px; border: solid var(--r-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.rsv-done h2, .rsv-done-lead { text-align: center; }
.rsv-done-lead { margin: -8px 0 0; color: var(--r-sub); font-size: 14px; }
.rsv-flow { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--r-line); }
.rsv-flow li { display: grid; grid-template-columns: 82px 1fr; gap: 12px; padding: 13px 4px; border-bottom: 1px solid var(--r-line); font-size: 15px; }
.rsv-flow li b { font-size: 13px; letter-spacing: .08em; }
.rsv-done-s { font-size: 13px; color: var(--r-sub); margin: 12px 0 0; }
.rsv-done .rsv-acts { justify-content: center; }
.rsv-test { margin: 0 0 14px; padding: 12px 14px; background: #fff4d6; border: 1px solid #e9c46a; color: #5c3800; font-size: 14px; font-weight: 600; text-align: center; }
@media (max-width: 720px) {
  .rsv2 { font-size: 15px; }
  .rsv-steps li { font-size: 11px; }
  .rsv-panel { padding: 20px 16px 24px; }
  .rsv-tbl td { padding: 2px; }
  .rsv-tbl td button { font-size: 14px; }
  .rsv-bar-in { flex-direction: column; align-items: stretch; gap: 8px; padding: 8px 16px 10px; }
  .rsv-bar .rsv-btn { width: 100%; padding: 11px; }
  .rsv-wishes li { font-size: 12px; }
  .rsv2.has-bar { padding-bottom: 150px; }
  .rsv-acts { flex-direction: column-reverse; align-items: stretch; }
  .rsv-btn { width: 100%; min-width: 0; }
  .rsv-acts .rsv-btn.back { width: auto; align-self: flex-start; }
  .rsv-conf th { width: 36%; }
}
/* 予約ページの枠（写真を敷く・専用のヘッダーとフッター） */
html[data-rsv] body { background: transparent; }
html[data-rsv] main { background: transparent; padding: 0 16px 48px; }
html[data-rsv] main > section:not(.rsv-ttl), html[data-rsv] main .sec, html[data-rsv] main .in { background: transparent !important; padding-top: 0; padding-bottom: 0; margin: 0 auto; max-width: none; }
.rsv-photo { position: fixed; inset: 0; z-index: -1; }
.rsv-photo::before, .rsv-photo::after { content: ""; position: absolute; inset: 0; }
.rsv-photo::before { background: var(--ph) center 60% / cover; filter: grayscale(.5) sepia(.35) contrast(.95); }
.rsv-photo::after { background: rgba(58, 40, 26, .68); }
.rhd { background: #fff; border-bottom: 1px solid #dcd8d2; }
.rhd-in { max-width: 880px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; gap: 12px; }
.rhd a { text-decoration: none; color: #2f2c29; line-height: 1.3; }
.rhd-logo b { display: block; font: 700 18px "BIZ UDPMincho", var(--f-head), serif; letter-spacing: .12em; }
.rhd small { display: block; font: 11px "BIZ UDPGothic", var(--f-body), sans-serif; color: #6b6560; letter-spacing: .06em; }
.rhd-tel { margin-left: auto; text-align: right; }
.rhd-tel b { font: 700 17px "BIZ UDPGothic", var(--f-body), sans-serif; letter-spacing: .06em; }
.rsv-ttl { max-width: 880px; margin: 0 auto; padding: 44px 0 26px; color: #fff; }
.rsv-ttl h1 { font: 700 28px/1.4 "BIZ UDPMincho", var(--f-head), serif; letter-spacing: .12em; margin: 0; color: #fff; }
html[data-rsv] .rsv-steps li { color: rgba(255,255,255,.65); }
html[data-rsv] .rsv-steps li::before { border-color: rgba(255,255,255,.65); background: transparent; }
html[data-rsv] .rsv-steps li::after { background: rgba(255,255,255,.4); }
html[data-rsv] .rsv-steps li.on, html[data-rsv] .rsv-steps li.done { color: #fff; }
html[data-rsv] .rsv-steps li.on::before { background: #fff; border-color: #fff; color: #2f2c29; }
html[data-rsv] .rsv-steps li.done::before { border-color: #fff; }
html[data-rsv] .rsv-panel { border: 0; }
.rft { text-align: center; font: 12px/1.8 "BIZ UDPGothic", var(--f-body), sans-serif; color: #6b6560; padding: 20px 16px 80px; background: #fff; }
.rft a { color: #6b6560; }
@media (max-width: 720px) {
  .rhd-logo b { font-size: 16px; }
  .rhd-tel b { font-size: 15px; }
  .rsv-ttl { padding: 30px 0 20px; }
  .rsv-ttl h1 { font-size: 23px; }
}

/* 2026-11-12 院長のご要望：上のメニューの文字を目立たせる／写真の下の理念と説明を読みやすく */
@media (min-width: 1100px) {
  .gnav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .gnav a { padding: 16px 40px; font-size: 17px; font-weight: 600; letter-spacing: .12em; }
  .gnav a + a::before { height: 18px; margin-top: -9px; }
}
html[data-hero="b"] .pl-head { text-align: center; }
html[data-hero="b"] .pl-lead { display: inline-block; font: 600 19px/1.7 var(--f-head); color: var(--main); letter-spacing: .1em; margin: 0 0 18px; padding-bottom: 8px; border-bottom: 1px solid var(--accent); text-wrap: balance; }
html[data-hero="b"] .pl-text { display: block; max-width: 36em; margin: 0 auto 8px; text-align: left; font: 400 15px/2 var(--f-head); color: var(--text); letter-spacing: .06em; }
html[data-hero="b"] .pl-text p { margin: 0 0 1em; }
html[data-hero="b"] .pl-text p:last-child { margin-bottom: 0; }
@media (min-width: 1100px) {
  html[data-hero="b"] .pl-lead { font-size: 26px; margin-bottom: 28px; padding-bottom: 12px; }
  html[data-hero="b"] .pl-text { font-size: 16px; line-height: 2.1; }
}
/* 診療メニューから探す：項目の数だけ横に並べる（PC）、スマホは4列 */
.quick-list { grid-template-columns: repeat(4, 1fr); gap: 6px; }
.quick-list a { font-size: 12px; line-height: 1.5; padding: 0 2px 8px; }
@media (min-width: 1100px) {
  .quick-list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; }
  .quick-list a { font-size: 14px; }
}
/* 3本柱を非公開にしているときは、帯を文章の下まで伸ばす */
html[data-hero="b"] .fv-pillars:not(:has(.pl-list)) { background: var(--bg2); padding-bottom: 44px; }
@media (min-width: 1100px) { html[data-hero="b"] .fv-pillars:not(:has(.pl-list)) { padding-bottom: 64px; } }
/* 2026-11-12 診療メニューのタイル：高さを揃え、長い名前は「・」の後で改行する */
.quick-list li { display: flex; }
.quick-list a { flex: 1; display: flex; flex-direction: column; word-break: keep-all; }
.quick-list .ql-name { margin: auto 0; }

/* ---------- ロゴ（医院情報の「ロゴ」。横長のロゴもそのまま入る） ---------- */
.logo-img { width: auto; max-width: 180px; height: 44px; }
.ft-logo-img { display: block; height: 44px; width: auto; max-width: 220px; margin-bottom: 10px; }

/* ---------- 追従バナー（パソコン：右下に電話と WEB予約。スマホは下の固定ボタン） ---------- */
.follow { display: none; }
@media (min-width: 1100px) {
  .follow { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; box-shadow: 0 6px 20px rgba(0, 0, 0, .16); }
  .follow a { display: flex; flex-direction: column; justify-content: center; padding: 10px 18px; line-height: 1.4; text-decoration: none; }
  .fl-tel { background: #fff; color: var(--main); border: 1px solid var(--line); }
  .fl-tel small { font-size: 11px; color: var(--muted); letter-spacing: .05em; }
  .fl-tel b { font: 600 20px var(--f-en, serif); letter-spacing: .06em; }
  .fl-tel b::before { content: "TEL "; font-size: 12px; }
  .fl-rsv { background: var(--main); color: #fff; align-items: center; min-width: 120px; }
  .fl-rsv b { font-size: 15px; letter-spacing: .1em; }
  .fl-rsv small { font-size: 11px; opacity: .9; }
  .fl-tel:hover, .fl-rsv:hover { opacity: .9; }
}
.sp-cta { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 1fr; }
/* Web予約のボタン：目立つ色（--rsv）。LINE予約の場所に出すもの・PCの右下・スマホ下の固定ボタン */
:root { --rsv: #d4601c; --rsv-hover: #b94f12; }
.rsv-btn, .fl-rsv, .sp-rsv { background: var(--rsv) !important; border-color: var(--rsv) !important; color: #fff !important; font-weight: 700; }
.rsv-btn:hover, .fl-rsv:hover, .sp-rsv:hover { background: var(--rsv-hover) !important; border-color: var(--rsv-hover) !important; opacity: 1 !important; }
.rsv-btn { box-shadow: 0 3px 10px rgba(212, 96, 28, .28); }
.sp-rsv { background: var(--accent); color: #fff; flex-direction: column; line-height: 1.3; }
.sp-rsv small { font-size: 10px; font-weight: 500; }

/* ---------- Web予約：新患の方のみ ---------- */
.rsv-only { margin: 0 0 14px; padding: 10px 14px; border: 1px solid var(--r-acc); background: #fff; color: var(--r-ink); font-size: 14px; line-height: 1.7; text-align: center; }
.rsv-only b { color: var(--r-acc); }
.rsv-pop-in .rsv-only { text-align: left; }

.media-photo.illust { background-size: contain; background-color: #fff; border: 1px solid var(--line); }

/* ヘッダーの医院名を途中で折り返さない（パソコンで「院」だけ2行目に落ちていた。院長のご指摘 2026-11-22） */
.logo { flex: none; }
.logo-txt b { white-space: nowrap; }
