/* =========================================================
   下層ページ（2026-10-16）
   採用案 L4（丸写真型）のニュアンスを下層ページに広げたもの
   v7.css・v7-themes.css・v8.css の後に読み込む。配色は ?c=1（ブラウン）／?c=2（紺×サンド）
   ========================================================= */

/* ---------- ページの見出し（丸写真） ---------- */
.ph { background: linear-gradient(var(--bg2) 0 78%, #fff 78%); padding: 28px 0 0; }
.ph-in { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; }
.ph-en { font: 500 13px var(--f-en); letter-spacing: .25em; color: var(--accent); margin: 0 0 2px; }
.ph h1 { font-size: 24px; color: var(--main); letter-spacing: .14em; line-height: 1.5; }
.ph-lead { font: 13px/1.8 var(--f-head); color: var(--text); margin: 10px 0 0; }
.ph-photo { width: 118px; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 5px #fff, 0 0 0 6px var(--line); }
.ph-photo.ai::after { left: 50%; right: auto; transform: translateX(-50%); bottom: 8%; white-space: nowrap; font-size: 8px; padding: 0 5px; }
.crumb { font-size: 11px; color: var(--muted); padding-top: 22px; }
.crumb a { color: var(--muted); border-bottom: 1px solid var(--line); }
.crumb span + span::before, .crumb a + span::before { content: "›"; margin: 0 8px; color: var(--line); }

/* ---------- 共通の見出し（中央・英字＋明朝） ---------- */
.sub .sec { padding: 52px 0; }
.sub .sec.tint { background: var(--bg2); }
.st { text-align: center; margin: 0 0 28px; }
.st-en { font: 600 13px var(--f-en); letter-spacing: .25em; color: var(--accent); margin: 0 0 2px; }
.st h2 { font-size: 21px; color: var(--main); letter-spacing: .1em; }
.st h2 em { border-bottom: 1px solid var(--accent); }
.st-lead { font: 14px/1.9 var(--f-head); margin: 14px auto 0; max-width: 40em; }
.prose { max-width: 760px; margin: 0 auto; }
.prose p { font-size: 15px; }
.lead-big { font: 500 19px/1.8 var(--f-head); color: var(--main); text-align: center; margin: 0 0 18px; letter-spacing: .08em; }
.tbd { display: inline-block; font-size: 11px; line-height: 1.6; color: var(--accent); border: 1px dashed var(--accent); padding: 0 8px; margin: 0 4px; vertical-align: 1px; font-family: var(--f-body); letter-spacing: 0; }

/* ---------- 丸写真のポイント（3列） ---------- */
.pts { display: grid; gap: 30px; counter-reset: pt; }
.pts li { text-align: center; }
.pts .photo { width: 150px; aspect-ratio: 1; border-radius: 50%; margin: 0 auto 12px; box-shadow: 0 0 0 5px #fff, 0 0 0 6px var(--line); }
.pts .photo.illust { background-size: 80%; }
.pt-no { font: 500 15px var(--f-en); color: var(--accent); letter-spacing: .2em; margin: 0; }
.pts h3 { font-size: 18px; color: var(--main); display: inline-block; border-bottom: 1px solid var(--accent); padding-bottom: 2px; margin-bottom: 8px; letter-spacing: .08em; }
.pts p:last-child { font-size: 14px; text-align: left; margin: 0; }

/* ---------- 写真と文章（交互） ---------- */
.media { display: grid; gap: 20px; margin-bottom: 40px; }
.media:last-child { margin-bottom: 0; }
.media-photo { aspect-ratio: 3 / 2; }
.media-photo.round { width: 220px; aspect-ratio: 1; border-radius: 50%; margin: 0 auto; box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--line); }
.media-no { font: 500 30px/1 var(--f-en); color: var(--accent); letter-spacing: .1em; margin: 0 0 6px; }
.media h3 { font-size: 20px; color: var(--main); margin-bottom: 12px; letter-spacing: .06em; }
.media h3 small { display: block; font: 12px var(--f-body); color: var(--muted); letter-spacing: .05em; }
.media p { font-size: 15px; }
.media p:last-child { margin-bottom: 0; }

/* ---------- 小さなカード ---------- */
.cards { display: grid; gap: 14px; }
.cards li { background: #fff; border: 1px solid var(--line); padding: 20px; }
.cards .photo { aspect-ratio: 3 / 2; margin: -20px -20px 16px; }
.cards h3 { font-size: 17px; color: var(--main); margin-bottom: 6px; }
.cards h3::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: 3px; }
.cards p { font-size: 14px; margin: 0; }
.cards .cards-sub { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* ---------- チェックリスト（こんな方に） ---------- */
.checkbox { background: #fff; border: 1px solid var(--line); padding: 22px 22px 18px; position: relative; }
.checkbox-ttl { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--main); color: #fff; font: 500 14px var(--f-head); padding: 2px 22px; letter-spacing: .15em; white-space: nowrap; }
.checkbox ul { display: grid; gap: 4px 24px; margin-top: 6px; }
.checkbox li { font: 15px/1.8 var(--f-head); padding-left: 1.7em; position: relative; }
.checkbox li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); }

/* ---------- 流れ（丸写真のタイムライン） ---------- */
.flow { position: relative; display: grid; gap: 0; }
.flow > li { display: grid; grid-template-columns: 86px 1fr; gap: 18px; position: relative; padding-bottom: 34px; }
.flow > li::before { content: ""; position: absolute; left: 42px; top: 86px; bottom: 6px; border-left: 1px dashed var(--accent); }
.flow > li:last-child::before { display: none; }
.flow .photo { width: 86px; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line); }
.flow .photo.illust { background-size: 80%; }
.flow-no { font: 500 13px var(--f-en); color: var(--accent); letter-spacing: .2em; margin: 4px 0 0; }
.flow h3 { font-size: 18px; color: var(--main); margin-bottom: 6px; }
.flow p { font-size: 14px; margin: 0 0 .6em; }
.flow p:last-child { margin: 0; }
.flow-note { background: var(--bg2); font-size: 13px; padding: 10px 14px; margin-top: 10px; }
.flow.simple > li { grid-template-columns: 52px 1fr; padding-bottom: 22px; gap: 14px; }
.flow.simple > li::before { left: 26px; top: 52px; }
.flow-num { width: 52px; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); font: 500 20px/50px var(--f-en); text-align: center; background: #fff; }

/* ---------- 費用・リスク（自費診療） ---------- */
.fee { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; margin-bottom: 12px; }
.fee th, .fee td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; font-weight: 400; }
.fee thead th { background: var(--main); color: #fff; font-family: var(--f-head); letter-spacing: .08em; }
.fee tbody th { background: var(--bg2); width: 7.5em; color: var(--main); }
.fee-note { font-size: 12px; color: var(--muted); }
.risk { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--accent); padding: 16px 18px; font-size: 13px; }
.risk-ttl { font: 500 15px var(--f-head); color: var(--main); margin: 0 0 6px; }
.risk ul li { padding-left: 1em; text-indent: -1em; margin-bottom: 2px; }
.risk ul li::before { content: "・"; }
.risk + .risk { margin-top: 12px; }

/* ---------- よくあるご質問 ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 36px 16px 44px; position: relative; font: 500 15px/1.7 var(--f-head); color: var(--main); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq-a::before { position: absolute; left: 6px; font: 500 22px/1 var(--f-en); color: var(--accent); }
.faq summary::before { content: "Q"; top: 16px; }
.faq summary::after { content: "＋"; position: absolute; right: 8px; top: 15px; color: var(--accent); font-size: 14px; }
.faq details[open] summary::after { content: "－"; }
.faq-a { position: relative; padding: 0 12px 18px 44px; font-size: 14px; }
.faq-a::before { content: "A"; top: 0; color: var(--muted); }
.faq-a p:last-child { margin: 0; }

/* ---------- 情報の表 ---------- */
.info { width: 100%; border-collapse: collapse; font-size: 14px; }
.info th, .info td { border-bottom: 1px solid var(--line); padding: 12px 8px; text-align: left; vertical-align: top; font-weight: 400; }
.info th { width: 7.5em; color: var(--main); font-family: var(--f-head); }

/* ---------- ページ内リンク・ボタン ---------- */
.anchors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 8px; }
.anchors a { display: block; text-align: center; border: 1px solid var(--line); background: #fff; padding: 12px 4px 10px; font: 15px/1.4 var(--f-head); color: var(--main); }
.anchors a small { display: block; font: 500 12px var(--f-en); color: var(--accent); letter-spacing: .2em; }
.anchors a::after { content: "⌄"; display: block; color: var(--accent); line-height: .8; }
.anchors a:hover { border-color: var(--accent); }
.btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.btn.fill { background: var(--main); color: #fff; }

/* ---------- 診療メニュー一覧（丸イラスト） ---------- */
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 12px; }
.menu-grid a { display: block; text-align: center; }
.menu-grid .photo { width: 78%; max-width: 170px; aspect-ratio: 1; border-radius: 50%; margin: 0 auto 10px; background-size: 74%; box-shadow: 0 0 0 5px #fff, 0 0 0 6px var(--line); transition: box-shadow .2s; }
.menu-grid a:hover .photo { box-shadow: 0 0 0 5px #fff, 0 0 0 6px var(--accent); }
.menu-grid b { display: inline-block; font: 500 16px var(--f-head); color: var(--main); border-bottom: 1px solid var(--accent); letter-spacing: .06em; }
.menu-grid small { display: block; font: 12px/1.6 var(--f-head); color: var(--muted); margin-top: 4px; }
.menu-grid .self { display: inline-block; font-size: 10px; border: 1px solid var(--line); padding: 0 6px; margin-top: 4px; color: var(--muted); }
.menu-other { background: var(--bg2); padding: 40px 0; }
.menu-other .menu-grid { grid-template-columns: repeat(3, 1fr); gap: 18px 8px; }
.menu-other .menu-grid .photo { width: 72px; background-size: 74%; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line); margin-bottom: 6px; }
.menu-other .menu-grid b { font-size: 13px; border: 0; letter-spacing: 0; }
.menu-other .menu-grid a[aria-current] { opacity: .45; pointer-events: none; }

/* ---------- スタッフ ---------- */
.dr { display: grid; gap: 24px; }
.dr-photo { aspect-ratio: 4 / 5; max-width: 360px; width: 100%; margin: 0 auto; }
.dr-name { font: 500 28px var(--f-head); letter-spacing: .2em; color: var(--main); margin: 0; }
.dr-name small { display: block; font: 12px var(--f-body); color: var(--muted); letter-spacing: .1em; }
.dr-role { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.dr-msg { font: 15px/2 var(--f-head); }
.dr-msg p:last-child { text-align: right; }
.staff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 14px; }
.staff-grid li { text-align: center; }
.staff-grid .photo { width: 100%; max-width: 180px; aspect-ratio: 1; border-radius: 50%; margin: 0 auto 10px; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line); }
.staff-grid b { display: block; font: 500 15px var(--f-head); color: var(--main); }
.staff-grid small { font-size: 12px; color: var(--muted); }
.staff-grid p { font-size: 13px; text-align: left; margin: 8px 0 0; }
.photo.blank { background: var(--bg2); display: flex; align-items: center; justify-content: center; }
.photo.blank::after { position: static; font-size: 11px; color: var(--muted); }

/* ---------- ケアグッズ ---------- */
.goods-cats { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 22px; }
.goods-cats a { border: 1px solid var(--line); padding: 4px 16px; font-size: 13px; background: #fff; border-radius: 999px; }
.goods-cats a:hover { border-color: var(--accent); color: var(--accent); }
.goods-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.goods-grid li { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.goods-grid .photo { aspect-ratio: 1; }
.goods-body { padding: 12px 14px 16px; }
.goods-cat { display: inline-block; font-size: 10px; color: #fff; background: var(--accent); padding: 0 8px; margin-bottom: 4px; }
.goods-grid b { display: block; font: 500 15px/1.5 var(--f-head); color: var(--main); margin-bottom: 4px; }
.goods-grid p { font-size: 12px; line-height: 1.7; margin: 0; }
.goods-h { font: 500 17px var(--f-head); color: var(--main); margin: 34px 0 14px; padding-left: 12px; border-left: 3px solid var(--accent); }
.goods-h:first-of-type { margin-top: 0; }

/* ---------- お知らせ ---------- */
.nl { border-top: 1px solid var(--line); max-width: 860px; margin: 0 auto; }
.nl li { border-bottom: 1px solid var(--line); }
.nl a { display: grid; grid-template-columns: auto auto 1fr; gap: 4px 14px; align-items: center; padding: 16px 28px 16px 4px; position: relative; }
.nl a::after { content: "›"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 18px; }
.nl a:hover { background: var(--bg2); }
.nl time { font: 500 15px var(--f-en); letter-spacing: .08em; color: var(--muted); }
.nl-cat { font-size: 11px; border: 1px solid var(--main); color: var(--main); padding: 0 10px; text-align: center; min-width: 5.5em; }
.nl-cat.off { background: var(--main); color: #fff; }
.nl-ttl { font-size: 15px; grid-column: 1 / -1; }
.nl-imp { color: #b0452f; font-size: 11px; margin-right: 6px; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 28px; font: 500 15px var(--f-en); }
.pager a, .pager span { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); }
.pager span { background: var(--main); color: #fff; border-color: var(--main); }
.article { max-width: 760px; margin: 0 auto; }
.article-meta { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.article h2 { font-size: 22px; color: var(--main); padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.article-body p { font-size: 15px; }
.article-box { background: var(--bg2); padding: 16px 20px; margin: 20px 0; }
.article-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; font-size: 13px; }
.article-nav a:last-child { text-align: right; }

/* ---------- 院内ギャラリー・地図など ---------- */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gallery li .photo { aspect-ratio: 4 / 3; }
.gallery b { display: block; font: 500 14px var(--f-head); color: var(--main); margin-top: 6px; }
.gallery small { display: block; font-size: 12px; color: var(--muted); line-height: 1.6; }
.map { aspect-ratio: 4 / 3; border: 1px solid var(--line); background: var(--bg2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.cal { border: 1px dashed var(--line); background: #fff; min-height: 260px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; font-size: 13px; color: var(--muted); }
.cal b { font: 500 16px var(--f-head); color: var(--main); }
.route { counter-reset: r; display: grid; gap: 14px; }
.route li { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: center; }
.route .photo { aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line); }
.route b { display: block; font: 500 15px var(--f-head); color: var(--main); }
.route b::before { counter-increment: r; content: counter(r) ". "; color: var(--accent); font-family: var(--f-en); }
.route p { font-size: 13px; margin: 0; }

/* ---------- 採用 ---------- */
.job { background: #fff; border: 1px solid var(--line); padding: 22px 20px; margin-bottom: 14px; }
.job h3 { font-size: 19px; color: var(--main); margin-bottom: 10px; }
.job h3 span { font: 12px var(--f-body); background: var(--accent); color: #fff; padding: 1px 10px; margin-left: 10px; vertical-align: 3px; }

/* ---------- 下層ページの予約ボックス ---------- */
.cta-box { border: 1px solid var(--line); background: #fff; text-align: center; padding: 26px 18px; margin-top: 36px; }
.cta-box p { font: 500 16px var(--f-head); color: var(--main); margin: 0 0 12px; }
.cta-box .cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.cta-box a { display: inline-block; padding: 10px 26px; font-weight: 700; font-size: 14px; }
.cta-box a.tel { background: var(--main); color: #fff; font: 600 18px var(--f-body); letter-spacing: .04em; }
.cta-box a.tel::before { content: "☎ "; font-size: .8em; }
.cta-box a.line { background: var(--line-c); color: #fff; }

/* ---------- スマホのメニュー（ハンバーガー） ---------- */
.drawer { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.35); opacity: 0; pointer-events: none; transition: opacity .2s; }
.drawer.open { opacity: 1; pointer-events: auto; }
.drawer-in { position: absolute; top: 0; right: 0; bottom: 0; width: min(86%, 360px); background: #fff; overflow-y: auto; padding: 18px 22px 90px; transform: translateX(100%); transition: transform .25s; }
.drawer.open .drawer-in { transform: none; }
.drawer-close { display: block; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--main); background: #fff; font-size: 20px; color: var(--main); }
.drawer nav a { display: block; border-bottom: 1px solid var(--line); padding: 13px 4px; font: 15px var(--f-head); color: var(--main); position: relative; }
.drawer nav a::after { content: "›"; position: absolute; right: 6px; color: var(--accent); }
.drawer nav a.child { padding-left: 1.4em; font-size: 14px; color: var(--text); }
.drawer-tel { display: block; margin-top: 18px; background: var(--main); color: #fff; text-align: center; padding: 12px; font: 600 20px var(--f-body); }
.drawer-line { display: block; margin-top: 8px; background: var(--line-c); color: #fff; text-align: center; padding: 10px; font-weight: 700; font-size: 14px; }

/* ---------- 確認用：配色の切り替え（本番では出さない） ---------- */
.rv-color { position: fixed; left: 10px; bottom: 70px; z-index: 70; display: flex; gap: 4px; align-items: center; background: rgba(255,255,255,.95); border: 1px solid #ccc; border-radius: 999px; padding: 4px 6px 4px 12px; font: 11px var(--f-body); color: #555; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.rv-color button { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #bbb; cursor: pointer; padding: 0; }
.rv-color button[aria-pressed="true"] { box-shadow: 0 0 0 2px #333; }

/* =========================================================
   タブレット（600px〜）
   ========================================================= */
@media (min-width: 600px) {
  .ph { padding-top: 40px; }
  .ph h1 { font-size: 30px; }
  .ph-photo { width: 190px; }
  .ph-lead { font-size: 15px; }
  .pts { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cards.c3 { grid-template-columns: repeat(3, 1fr); }
  .checkbox ul { grid-template-columns: 1fr 1fr; }
  .menu-grid { grid-template-columns: repeat(3, 1fr); }
  .menu-other .menu-grid { grid-template-columns: repeat(5, 1fr); }
  .staff-grid { grid-template-columns: repeat(3, 1fr); }
  .goods-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .nl a { grid-template-columns: 7.5em auto 1fr; }
  .nl-ttl { grid-column: auto; }
  .flow > li { grid-template-columns: 130px 1fr; gap: 28px; }
  .flow > li::before { left: 65px; top: 130px; }
  .flow .photo { width: 130px; }
}

/* =========================================================
   PC（1100px〜）
   ========================================================= */
@media (min-width: 1100px) {
  .ph { padding-top: 56px; }
  .ph-in { grid-template-columns: 1fr 260px; gap: 40px; }
  .ph-txt { padding-bottom: 34px; }
  .ph-en { font-size: 15px; }
  .ph h1 { font-size: 36px; }
  .ph-photo { width: 260px; box-shadow: 0 0 0 7px #fff, 0 0 0 8px var(--line); }
  .ph-photo.ai::after { font-size: 10px; }
  .crumb { font-size: 12px; padding-top: 28px; }
  .sub .sec { padding: 80px 0; }
  .st { margin-bottom: 40px; }
  .st-en { font-size: 15px; }
  .st h2 { font-size: 26px; }
  .st-lead { font-size: 15px; }
  .lead-big { font-size: 24px; }
  .pts { gap: 48px; }
  .pts .photo { width: 200px; }
  .pts h3 { font-size: 20px; }
  .media { grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; margin-bottom: 64px; }
  .media.rev .media-photo { order: 2; }
  .media-photo.round { width: 300px; }
  .media.has-round { grid-template-columns: 340px 1fr; }
  .media.rev.has-round { grid-template-columns: 1fr 340px; }
  .media h3 { font-size: 24px; }
  .cards { gap: 20px; }
  .cards.c3 { grid-template-columns: repeat(3, 1fr); }
  .cards.c4 { grid-template-columns: repeat(4, 1fr); }
  .cards li { padding: 24px; }
  .cards .photo { margin: -24px -24px 18px; }
  .checkbox { padding: 30px 40px 24px; }
  .menu-grid { grid-template-columns: repeat(5, 1fr); gap: 40px 20px; }
  .menu-grid.m3 { grid-template-columns: repeat(3, 1fr); }
  .menu-other .menu-grid { grid-template-columns: repeat(9, 1fr); }
  .dr { grid-template-columns: 360px 1fr; gap: 56px; align-items: start; }
  .staff-grid { grid-template-columns: repeat(4, 1fr); gap: 32px 24px; }
  .goods-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .anchors { gap: 14px; }
  .anchors a { padding: 16px 4px 12px; font-size: 17px; }
  .flow > li { grid-template-columns: 180px 1fr; gap: 44px; padding-bottom: 48px; }
  .flow > li::before { left: 90px; top: 180px; }
  .flow .photo { width: 180px; }
  .flow h3 { font-size: 22px; margin-top: 4px; }
  .flow p { font-size: 15px; }
  .flow.simple > li { grid-template-columns: 64px 1fr; gap: 24px; }
  .flow.simple > li::before { left: 32px; top: 64px; }
  .flow-num { width: 64px; line-height: 62px; font-size: 24px; }
  .two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
  .route { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .route li { grid-template-columns: 1fr; text-align: center; }
  .route .photo { width: 160px; margin: 0 auto 6px; }
  .cta-box { padding: 32px; }
  .rv-color { bottom: 14px; }
  .gnav a.cur { background: var(--main); color: #fff; }
  .sub .gnav a:first-child:not(.cur) { background: transparent; color: var(--main); }
}

/* スマホの細かい調整 */
@media (max-width: 599px) {
  .media-photo.round { width: 180px; }
  .checkbox li { font-size: 14px; }
  .fee { font-size: 13px; }
  .fee th, .fee td { padding: 8px; }
  .fee tbody th { width: 5.5em; }
}
@media (max-width: 359px) {
  .ph h1 { font-size: 21px; letter-spacing: .08em; }
  .ph-photo { width: 96px; }
  .anchors a { font-size: 13px; }
}

/* 追加：4つ並びのポイント、見出しのイラスト、メニュー一覧の補足 */
.drawer-src { display: none; }
.ph-photo.illust { background-size: 76%; background-color: #fff; }
@media (min-width: 600px) { .pts.p4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .pts.p4 { grid-template-columns: repeat(4, 1fr); gap: 32px; } .pts.p4 .photo { width: 170px; } }
.tag { display: inline-block; font-size: 10px; line-height: 1.7; padding: 0 7px; border: 1px solid var(--line); color: var(--muted); margin: 6px 2px 0; font-family: var(--f-body); }
.tag.self { border-color: var(--accent); color: var(--accent); }
.sub .worry8 { padding: 0; background: transparent; }
/* 調整：パンくずの余白と区切り、数字の高さ、予約ボックスの改行 */
.crumb > * + *::before { content: "›"; margin: 0 8px; color: var(--muted); display: inline-block; }
.crumb span + span::before, .crumb a + span::before { content: "›"; }
.flow-num, .pt-no, .media-no, .anchors small, .nl time, .st-en, .ph-en { font-variant-numeric: lining-nums; }
@media (max-width: 599px) { .cta-box p { font-size: 15px; } .cta-box { padding: 22px 12px; } }
@media (min-width: 1100px) { .crumb { padding-top: 28px; } }
.sub .sec.slim { padding: 36px 0 28px; }
@media (min-width: 1100px) { .sub .sec.slim { padding: 48px 0 40px; } }
/* スマホのページ見出し：見出しと丸写真を横に、説明文は下に全幅で */
@media (max-width: 599px) {
  .ph { background: var(--bg2); padding: 22px 0 22px; }
  .ph-in { grid-template-columns: 1fr auto; column-gap: 12px; row-gap: 0; }
  .ph-txt { display: contents; }
  .ph-en { grid-column: 1; grid-row: 1; align-self: end; }
  .ph h1 { grid-column: 1; grid-row: 2; align-self: start; font-size: 22px; letter-spacing: .08em; }
  .ph-photo { grid-column: 2; grid-row: 1 / 3; width: 100px; }
  .ph-lead { grid-column: 1 / -1; grid-row: 3; margin-top: 14px; }
  .ph-lead br { display: none; }
  .crumb { padding-top: 14px; }
  .ph + * { margin-top: 0; }
}
/* 調整：1文字だけ次の行に残るのを防ぐ */
.job h3 span { display: inline-block; }
@media (max-width: 599px) { .ph h1 { font-size: 20px; } }
@media (max-width: 359px) {
  .ph-photo { width: 80px; }
  .ph h1 { font-size: 18px; letter-spacing: .04em; }
  .checkbox { padding: 20px 12px 14px; }
  .checkbox li { font-size: 13px; letter-spacing: 0; }
}
@media (min-width: 600px) and (max-width: 1099px) {
  .cards li { padding: 16px; }
  .cards .photo { margin: -16px -16px 14px; }
  .cards h3 { font-size: 15px; letter-spacing: 0; }
}
/* 採用：応募フォーム */
.entry { background: #fff; border: 1px solid var(--line); padding: 22px 18px; display: grid; gap: 14px; }
.entry label { display: grid; gap: 4px; font-size: 14px; }
.entry label span { font-family: var(--f-head); color: var(--main); }
.entry label b { font: 10px var(--f-body); background: var(--accent); color: #fff; padding: 1px 6px; margin-left: 8px; vertical-align: 2px; }
.entry input, .entry select, .entry textarea { font: 15px var(--f-body); padding: 10px 12px; border: 1px solid var(--line); background: var(--bg2); width: 100%; border-radius: 0; }
.entry-agree { font-size: 13px; text-align: center; margin: 4px 0 0; }
.entry-agree a { border-bottom: 1px solid; }
.entry .btn { justify-self: center; padding: 12px 56px; font-size: 14px; }
.job small { font-size: 12px; color: var(--muted); }
@media (min-width: 1100px) { .entry { padding: 36px 48px; } .entry label { grid-template-columns: 11em 1fr; align-items: center; } .entry label:has(textarea) { align-items: start; } }
@media (min-width: 600px) and (max-width: 1099px) { .cards.c4, .gallery.c4 { grid-template-columns: 1fr 1fr; } }

/* =========================================================
   採用案 L1（カード型）に合わせた形（2026-10-15）
   丸い写真をやめ、トップの3本柱と同じ「四角い写真＋白いカード」にそろえる
   ========================================================= */
/* ページの見出し：写真は四角いカードで右に */
.ph-photo { width: 132px; aspect-ratio: 4 / 3; border-radius: 0; box-shadow: none; border: 4px solid #fff; outline: 1px solid var(--line); }
.ph-photo.ai::after { left: auto; right: 4px; transform: none; bottom: 4px; }
.ph-photo.illust { background-size: 60%; }
@media (min-width: 600px) { .ph-photo { width: 220px; } }
@media (min-width: 1100px) {
  .ph-in { grid-template-columns: 1fr 340px; }
  .ph-photo { width: 340px; border-width: 6px; box-shadow: 0 10px 24px rgba(0,0,0,.07); }
}
@media (max-width: 599px) { .ph-photo { width: 112px; } }
@media (max-width: 359px) { .ph-photo { width: 92px; } }

/* ポイント：写真つきの白いカード（トップの「治す・整える・守る」と同じ） */
.pts li { background: #fff; border: 1px solid var(--line); text-align: left; padding: 0 0 18px; display: flex; flex-direction: column; }
.pts .photo, .pts.p4 .photo { width: 100%; max-width: none; aspect-ratio: 16 / 10; border-radius: 0; box-shadow: none; margin: 0 0 12px; }
.pts .photo.illust { background-size: auto 86%; border-bottom: 1px solid var(--line); }
.pts .pt-no { margin: 0 18px; }
.pts h3 { display: block; margin: 0 18px 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.pts p:last-child { margin: 0 18px; }
.sec.tint .pts li { border-color: #fff; }

/* 写真と文章：丸をやめて横長の写真に */
.media-photo.round { width: 100%; aspect-ratio: 3 / 2; border-radius: 0; box-shadow: none; margin: 0; }
@media (min-width: 1100px) {
  .media.has-round { grid-template-columns: 1fr 1.1fr; }
  .media.rev.has-round { grid-template-columns: 1.1fr 1fr; }
  .media-photo.round { width: 100%; }
}

/* 流れ：四角い写真・四角い番号 */
.flow .photo { border-radius: 0; box-shadow: none; border: 3px solid #fff; outline: 1px solid var(--line); }
.flow-num { border-radius: 0; }

/* 診療メニュー：四角いカード */
.menu-grid a { background: #fff; border: 1px solid var(--line); padding-bottom: 12px; transition: border-color .2s; }
.menu-grid a:hover { border-color: var(--accent); }
.menu-grid .photo { width: 100%; max-width: none; aspect-ratio: 4 / 3; border-radius: 0; box-shadow: none; margin: 0 0 8px; background-size: auto 78%; }
.menu-grid a:hover .photo { box-shadow: none; }
.menu-grid small { padding: 0 6px; }
.menu-other .menu-grid a { padding-bottom: 8px; }
.menu-other .menu-grid .photo { width: 100%; aspect-ratio: 4 / 3; box-shadow: none; margin-bottom: 4px; background-size: auto 76%; }

/* スタッフ・道順 */
.staff-grid .photo, .route .photo { border-radius: 0; box-shadow: none; aspect-ratio: 4 / 3; }
.route li { grid-template-columns: 130px 1fr; }
@media (min-width: 1100px) { .route .photo { width: 100%; } }
/* スマホ：ポイントのカードはトップの3本柱と同じく、写真を左・文字を右に */
@media (max-width: 599px) {
  .pts { gap: 12px; }
  .pts li { display: grid; grid-template-columns: 36% 1fr; grid-template-rows: auto auto 1fr; padding: 0; }
  .pts .photo, .pts.p4 .photo { grid-row: 1 / 4; aspect-ratio: auto; height: 100%; min-height: 140px; margin: 0; }
  .pts .photo.illust { background-size: 90% auto; border-bottom: 0; border-right: 1px solid var(--line); }
  .pts .pt-no { margin: 10px 12px 0; font-size: 12px; }
  .pts h3 { margin: 0 12px 6px; font-size: 16px; }
  .pts p:last-child { margin: 0 12px 12px; font-size: 13px; line-height: 1.8; }
}
.pl-no { font-variant-numeric: lining-nums; }
@media (max-width: 359px) { .ph-photo { width: 76px; } }
/* 最後の行が1〜2文字だけにならないように（対応ブラウザのみ） */
.pl-list li > p:not(.pl-no), .ph h1, .ph-lead, .st h2, .st-lead, .pts h3, .pts p, .media h3, .cards p, .checkbox li { text-wrap: pretty; }

/* =========================================================
   診療カレンダー（2026-10-21）：管理画面で付けたラベルを色分けで表示
   ========================================================= */
.mcal { background: #fff; border: 1px solid var(--line); padding: 16px 14px 14px; }
.mcal-nav { display: flex; justify-content: space-between; margin-bottom: 8px; }
.mcal-nav button { border: 1px solid var(--line); background: #fff; color: var(--main); font: 13px var(--f-body); padding: 4px 12px; cursor: pointer; }
.mcal-nav button:hover { border-color: var(--accent); }
.mcal-ms { display: grid; gap: 20px; }
.mcal-ttl { font: 500 17px var(--f-head); color: var(--main); text-align: center; margin: 0 0 8px; letter-spacing: .08em; }
.mcal-t { width: 100%; border-collapse: collapse; table-layout: fixed; }
.mcal-t th { font-size: 11px; font-weight: 400; color: var(--muted); padding: 4px 0; border-bottom: 1px solid var(--line); }
.mcal-t th.sun { color: #b5483a; } .mcal-t th.sat { color: #2f6a9a; }
.mcal-t td { vertical-align: top; height: 58px; padding: 3px 3px 4px; border-bottom: 1px solid var(--line); font-size: 12px; }
.mcal-t td.off { background: #fbe9ec; }
.mcal-t td.off .mcal-d { color: #b07f88; }
.mcal-t td.today .mcal-d { background: var(--main); color: #fff; border-radius: 50%; }
.mcal-d { display: inline-block; min-width: 22px; height: 22px; line-height: 22px; text-align: center; font: 500 13px var(--f-en); font-variant-numeric: lining-nums; }
.mcal-t td.sun .mcal-d { color: #b5483a; }
.mcal-tag { display: block; margin-top: 2px; background: var(--c); color: #fff; font-size: 10px; line-height: 1.5; text-align: center; border-radius: 2px; padding: 1px 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcal-memo { display: block; font-size: 9px; line-height: 1.35; color: var(--text); margin-top: 2px; word-break: break-all; }
.mcal-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.mcal-sw { display: inline-block; width: 12px; height: 12px; border-radius: 2px; background: var(--c); vertical-align: -1px; margin-right: 6px; }
.mcal-sw.off { background: #fbe9ec; border: 1px solid var(--line); }
.mcal-note { font-size: 11px; color: var(--muted); margin: 8px 0 0; }
.glance-cal { margin-top: 20px; }
@media (min-width: 900px) {
  .mcal[data-months="2"] .mcal-ms { grid-template-columns: 1fr 1fr; gap: 28px; }
  .mcal-t td { height: 66px; padding: 4px; }
  .mcal-tag { font-size: 11px; }
  .mcal-memo { font-size: 10px; }
}
@media (min-width: 1100px) { .glance-cal { margin-top: 24px; } .mcal { padding: 22px 26px 18px; } }
@media (max-width: 599px) {
  .mcal { padding: 12px 8px 10px; }
  .mcal-t td { height: 54px; padding: 2px 1px 3px; }
  .mcal-tag { font-size: 9px; padding: 1px 0; letter-spacing: -.04em; text-overflow: clip; }
  .mcal-memo { font-size: 8px; letter-spacing: -.03em; }
}
