/* 症状ページ（hub型・LP兼用）の CSS。金山内科 site.css の hub 部分を移植し、色はハリメドの変数に別名で束ねる（2026-10-14）。
   生成元: _server/build_hub_css.sh（kanayama site.css の 17-33,63-74,295-304,452-末尾 を切り出し）。手で編集せず元を直す */
.hub-page{--teal:var(--navy);--teal-deep:var(--navy-deep);--leaf:var(--gold);--leaf-soft:var(--gold-soft);--leaf-ink:#6d5410;--sky:#b9c6dd;--sky-soft:var(--mist);--accent:var(--gold);--accent-soft:var(--gold-soft);--accent-ink:#8a6d1e}
.hub-page h1,.hub-page h2,.hub-page h3{margin:0}
.hub-page ul,.hub-page ol{list-style:none;margin:0;padding:0}
.hub-page p{margin:0}
.hub-page img{display:block;max-width:100%;height:auto}
.hub-page .btn{text-decoration:none}
.hub-page .hero-actions{display:flex;flex-wrap:wrap;gap:12px}
.hub-page .hero-note{margin-top:10px;font-size:14px;color:var(--muted)}
.hub-page .cta-mini-actions{display:flex;flex-wrap:wrap;gap:10px}
.hub-page .section-kicker-ja{font-size:14px;font-weight:700;color:var(--gold);letter-spacing:.08em}
.hub-page .doctor-name{font-size:17px;font-weight:700;color:var(--navy-deep)}
.hub-page .doctor-name span{display:inline-block;margin-right:8px;padding:1px 8px;border-radius:4px;background:var(--mist);color:var(--navy);font-size:12px}
.hub-page .doctor-creds{margin-top:4px;font-size:13.5px;color:var(--muted)}
.hub-page .position-box{display:grid;grid-template-columns:180px 1fr;gap:24px;align-items:center;padding:22px 26px;background:var(--mist);border-radius:18px}
.hub-page .position-box .section-kicker-ja{color:var(--navy)}
.hub-page .position-box p{font-size:15.5px;font-weight:700;line-height:1.8}
.hub-page .ap-refs{margin-top:0}
.hub-page p.ap-note{margin:20px 0 0}
.hub-page .ap-refs summary{padding:18px 22px}
@media (max-width:860px){.hub-page .position-box{grid-template-columns:1fr;gap:8px;padding:18px}}
.hub-page .hub-flow{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.hub-page .dept-figure{margin:40px auto;border:0;background:transparent}
.hub-page .dept-figure img{box-sizing:border-box;width:100%;height:auto;padding:20px 24px;border:1px solid var(--line);border-radius:18px;background:#fff}
@media (max-width:640px){.hub-page .dept-figure img{padding:12px;border-radius:12px}}
.hub-page .fig-title{margin:0 0 12px;font-size:18px;font-weight:700;color:var(--navy-deep);line-height:1.5}
.hub-page .dept-figure figcaption{padding:12px 4px 0;border:0;font-size:14px;color:var(--muted);line-height:1.8}
.hub-page .btn-line{background:#06c755;color:#fff;border-color:#06c755}
.hub-page .btn-line.is-pending{opacity:.85;cursor:default}
.hub-page .btn-line.is-pending:hover{transform:none;box-shadow:none}
/* 専門科 hub のタイプカード（2026-10-14・手書き領域） */
.hub-page .hub-types{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:22px}
.hub-page .hub-type{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;text-decoration:none;color:inherit;transition:transform .2s,box-shadow .2s}
.hub-page a.hub-type:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.hub-page .hub-type-photo{margin:0;aspect-ratio:3/2;overflow:hidden;background:var(--mist)}
.hub-page .hub-type-photo img{width:100%;height:100%;object-fit:cover}
.hub-page .hub-type-body{display:flex;flex-direction:column;gap:8px;padding:18px 20px 20px;flex:1 1 auto}
.hub-page .hub-type-no{font-size:12px;font-weight:700;letter-spacing:.1em;color:var(--gold)}
.hub-page .hub-type h3{font-size:18px;line-height:1.5;color:var(--navy-deep)}
.hub-page .hub-type ul{display:grid;gap:4px;font-size:14.5px;line-height:1.7;color:var(--ink)}
.hub-page .hub-type li{position:relative;padding-left:16px}
.hub-page .hub-type li::before{content:"";position:absolute;left:0;top:.6em;width:7px;height:7px;border-radius:50%;background:var(--gold)}
.hub-page .hub-type .mech{font-size:14px;color:var(--muted);line-height:1.8}
.hub-page .hub-type .more{margin-top:auto;padding-top:8px;font-size:14px;font-weight:700;color:var(--navy)}
.hub-page .hub-type .more.is-pending{color:var(--muted)}
.hub-page .hub-type.is-pending{opacity:.8}
.hub-page .ap-cards{margin-top:8px}
.hub-page .ap-empty{color:var(--muted)}
.hub-page .treat-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}
@media (max-width:860px){.hub-page .hub-types{grid-template-columns:1fr}}
/* ---------- ボタン・リンク ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 9px 22px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: 15.5px; line-height: 1.3; white-space: nowrap; transition: transform .2s cubic-bezier(.2,.7,.2,1), box-shadow .2s, background-color .2s, color .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(20, 61, 74, .16); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 52px; padding: 12px 26px; font-size: 15.5px; }
.btn-reserve { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn-reserve:hover { background: var(--teal-deep); border-color: var(--teal-deep); }
.btn-outline { background: #fff; color: var(--teal); border-color: var(--teal); }
.btn-tel { background: #fff; color: var(--teal); border-color: #fff; }
.btn-line { background: #06c755; }
.btn-line { background: #06c755; color: #fff; border-color: #06c755; }
.btn-line::before { content: ""; width: 18px; height: 18px; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3C6.5 3 2 6.6 2 11c0 3.9 3.4 7.1 8 7.8.3.1.7.2.8.5.1.3 0 .8 0 1.1l-.1.8c0 .2-.2.9.8.5s5.3-3.1 7.2-5.3C20.6 14.9 22 13.1 22 11c0-4.4-4.5-8-10-8z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3C6.5 3 2 6.6 2 11c0 3.9 3.4 7.1 8 7.8.3.1.7.2.8.5.1.3 0 .8 0 1.1l-.1.8c0 .2-.2.9.8.5s5.3-3.1 7.2-5.3C20.6 14.9 22 13.1 22 11c0-4.4-4.5-8-10-8z'/%3E%3C/svg%3E") center/contain no-repeat; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--teal); font-weight: 700; font-size: 15.5px; }
.text-link::after { content: ""; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover::after { transform: translateX(3px) rotate(45deg); }

/* ---------- 共通 ---------- */
.section { padding: 64px 0; }
.section-inner { width: min(100% - 40px, 1080px); margin: 0 auto; }
.section-head { max-width: 760px; margin-bottom: 26px; }
.section-head p { margin-top: 10px; color: var(--ink); font-size: 16px; }
.lp-page h2 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.45; letter-spacing: .06em; color: var(--teal-deep); }
.h2-mark { display: flex; align-items: flex-start; gap: 12px; }
.h2-mark::before { content: ""; flex: 0 0 auto; margin-top: .62em; width: 10px; height: 10px; border-radius: 2px; background: var(--leaf); transform: rotate(45deg); }
.hub-page .reveal { opacity: 1; transform: none; }
.kst-js .reveal.never { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.kst-js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero-visual img { transform: none !important; opacity: 1 !important; transition: none !important; } .today-dot { animation: none !important; } }

/* ---------- 下層ページ共通 ---------- */
.page-hero { padding: 44px 0 36px; background: linear-gradient(135deg, var(--sky-soft), #fff 70%); border-bottom: 1px solid var(--line); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--teal); font-weight: 700; }
.crumbs a::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 8px; border-top: 1.5px solid var(--muted); border-right: 1.5px solid var(--muted); transform: rotate(45deg); vertical-align: 2px; }
.page-hero h1 { font-size: clamp(28px, 3vw, 38px); line-height: 1.4; letter-spacing: .06em; color: var(--teal-deep); }
.page-lead { margin-top: 14px; max-width: 46em; font-size: 16.5px; }
.note-line { margin-top: 16px; font-size: 15px; color: var(--muted); }
.note-line a { color: var(--teal); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 診療科 hub（templates/dept.php・1科1枚） ---------- */
/* 元ページ本文の移植ブロック（H3→H2に繰り上げ済みのHTMLを data/body/*.html から include） */
.dept-body { background: #fff; }
.dept-article { max-width: 860px; margin: 0 auto; font-size: 16.5px; line-height: 1.95; }
.dept-article h2 { margin: 44px 0 14px; padding: 10px 16px; border-left: 5px solid var(--leaf); background: var(--paper); font-size: 22px; line-height: 1.5; color: var(--teal-deep); }
.dept-article h3 { margin: 30px 0 10px; font-size: 19px; color: var(--teal-deep); }
.dept-article h4 { margin: 22px 0 8px; font-size: 17px; color: var(--teal); }
.dept-article p { margin: 0 0 14px; }
.dept-article ul, .dept-article ol { margin: 0 0 16px; padding-left: 1.4em; }
.dept-article ul { list-style: disc; } .dept-article ol { list-style: decimal; }
.dept-article li { margin: 4px 0; }
.dept-article img { display: block; max-width: 100%; height: auto; margin: 14px auto; border-radius: 12px; }
.dept-article figure { margin: 16px 0; }
.dept-article figcaption { font-size: 13.5px; color: var(--muted); text-align: center; }
.dept-article table { width: 100%; margin: 14px 0 18px; border-collapse: collapse; font-size: 15px; }
.dept-article th, .dept-article td { padding: 9px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.dept-article th { background: var(--sky-soft); color: var(--teal-deep); font-weight: 700; }
.dept-article a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.dept-article .source { font-size: 13.5px; color: var(--muted); }
.dept-article blockquote { margin: 14px 0; padding: 12px 18px; border-left: 4px solid var(--sky); background: var(--paper); }
.dept-message { background: linear-gradient(135deg, var(--sky-soft), #fff 60%); }
.message-inner { display: grid; grid-template-columns: 420px 1fr; gap: 40px; align-items: center; }
.message-inner > * { min-width: 0; }
.message-photo { overflow: hidden; border-radius: 22px; }
.message-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 8% 45%; }
.message-copy h2 { margin-top: 10px; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.5; }
.message-p { margin-top: 14px; font-size: 15.5px; }
.message-copy .doctor-name { margin-top: 18px; }
.conv-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.conv-tiles li { display: flex; flex-direction: column; gap: 2px; padding: 14px 14px 12px; background: #fff; border-radius: 14px; border-left: 4px solid var(--accent); }
.conv-big { display: inline-flex; align-items: baseline; font-size: 15px; font-weight: 700; color: var(--teal-deep); }
.conv-big strong { font-size: 30px; font-weight: 700; line-height: 1; color: var(--accent); letter-spacing: -.03em; margin-right: 2px; }
.conv-label { font-size: 14.5px; font-weight: 700; color: var(--teal-deep); }
.conv-sub { font-size: 13px; color: var(--muted); }
.dept-hero { padding: 36px 0 40px; background: linear-gradient(135deg, var(--sky-soft) 0%, #fff 55%, var(--leaf-soft) 100%); }
.dept-hero-inner { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; }
.dept-hero-inner > * { min-width: 0; }
.dept-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 14px; font-weight: 700; color: var(--teal); letter-spacing: .08em; }
.dept-kicker-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--teal); box-shadow: 0 6px 16px rgba(20, 79, 102, .1); }
.dept-kicker-icon .icon-fill { width: 30px; height: 30px; }
.dept-kicker-icon .icon { width: 24px; height: 24px; }
.dept-hero h1 { font-size: clamp(32px, 3.6vw, 46px); }
.dept-sub { margin-top: 10px; font-size: clamp(18px, 1.9vw, 22px); font-weight: 700; line-height: 1.6; color: var(--teal-deep); }
.dept-hero .page-lead { margin-top: 12px; }
.dept-hero .hero-actions { margin-top: 22px; }
.dept-for { position: relative; padding: 24px 26px 22px; background: #fff; border-radius: 20px; border: 1px solid var(--line); box-shadow: 0 18px 44px rgba(20, 79, 102, .12); }
.dept-for::before { content: ""; position: absolute; left: 26px; top: -6px; width: 44px; height: 6px; border-radius: 3px; background: var(--leaf); }
.dept-for-title { font-size: 18px; font-weight: 700; color: var(--teal-deep); letter-spacing: .04em; }
.dept-for-list { display: grid; gap: 10px; margin-top: 14px; }
.dept-for-list li { position: relative; padding-left: 30px; font-size: 15.5px; line-height: 1.7; }
.dept-for-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--leaf-soft); color: var(--leaf-ink); font-size: 13px; font-weight: 700; line-height: 22px; text-align: center; margin-top: .25em; }

/* 図解・ヒーロー画像・こんな方へ帯 */
.dept-hero.has-bg { position: relative; overflow: hidden; background: #f3f7f9; padding: 56px 0 60px; }
.dept-hero-bg { position: absolute; inset: 0; z-index: 0; }
.dept-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 55%; }
.dept-hero.has-bg::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(245, 249, 250, .97) 0%, rgba(245, 249, 250, .94) 34%, rgba(245, 249, 250, .6) 52%, rgba(245, 249, 250, .05) 72%, rgba(245, 249, 250, 0) 100%); }
.dept-hero.has-bg.is-light::after { background: linear-gradient(90deg, rgba(245, 249, 250, .96) 0%, rgba(245, 249, 250, .9) 30%, rgba(245, 249, 250, .3) 46%, rgba(245, 249, 250, 0) 58%); }
.dept-hero.has-bg.is-light .dept-hero-bg img { filter: contrast(1.12) saturate(1.15); }
.dept-hero-inner.is-photo { position: relative; z-index: 2; grid-template-columns: 1fr; }
.dept-hero-inner.is-photo .dept-hero-text { max-width: 580px; }
.dept-figure.fig-team { margin-top: 18px; max-width: none; }
.dept-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.dept-photos figure { margin: 0; overflow: hidden; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.dept-photos img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.dept-photos figcaption { padding: 9px 14px 11px; font-size: 13.5px; font-weight: 700; color: var(--teal-deep); }
.dept-hero-visual { overflow: hidden; border-radius: 22px; background: #fff; box-shadow: 0 18px 44px rgba(20, 79, 102, .12); }
.dept-hero-visual img { width: 100%; height: auto; display: block; }
.dept-for-band { background: var(--leaf-soft); border-top: 1px solid var(--line); }
.dept-for-band-inner { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; padding: 22px 0; }
.dept-for-list.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; margin-top: 0; }
.dept-for-list.cols li { font-size: 15px; line-height: 1.6; }
.dept-figure { margin: 22px 0 0; overflow: hidden; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.dept-figure img { width: 100%; height: auto; display: block; }
.dept-figure figcaption { padding: 10px 16px 12px; font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--line); }
.dept-figure.fig-wide { max-width: 860px; margin-left: auto; margin-right: auto; }
.dept-facts-wrap { background: #fff; border-bottom: 1px solid var(--line); }
.dept-facts { display: grid; grid-template-columns: repeat(4, 1fr); }
.dept-facts li { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 20px 10px 18px; text-align: center; }
.dept-facts li + li { border-left: 1px solid var(--line); }
.fact-main { display: inline-flex; align-items: baseline; font-size: 17px; font-weight: 700; color: var(--teal-deep); }
.fact-main strong { font-size: 34px; font-weight: 700; color: var(--accent); letter-spacing: -.03em; line-height: 1; margin-right: 2px; }
.fact-label { font-size: 15px; font-weight: 700; color: var(--teal-deep); }
.fact-note { font-size: 13px; color: var(--muted); }

.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature { position: relative; padding: 26px 26px 24px 26px; background: var(--paper); border-radius: 18px; border: 1px solid transparent; transition: border-color .25s, transform .25s; }
.feature:hover { border-color: var(--sky); transform: translateY(-2px); }
.feature-num { display: inline-block; margin-bottom: 8px; font-size: 30px; font-weight: 700; line-height: 1; color: var(--accent); letter-spacing: -.02em; }
.feature h3 { font-size: 19px; line-height: 1.5; color: var(--teal-deep); }
.feature p { margin-top: 10px; font-size: 15.5px; }
.feature-figure { margin-top: 18px; overflow: hidden; border-radius: 18px; }
.feature-figure img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.feature-figure figcaption { padding: 10px 4px 0; font-size: 13.5px; color: var(--muted); }

.dept-flow { background: var(--sky-soft); }
.hub-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: flow; }
.hub-flow li { position: relative; padding: 22px 18px 20px; background: #fff; border-radius: 16px; border: 1px solid var(--line); }
.hub-flow li::after { content: ""; position: absolute; right: -11px; top: 50%; width: 10px; height: 10px; border-top: 2px solid var(--sky); border-right: 2px solid var(--sky); transform: translateY(-50%) rotate(45deg); }
.hub-flow li:last-child::after { display: none; }
.hub-flow-num { display: inline-block; font-size: 26px; font-weight: 700; line-height: 1; color: var(--teal); letter-spacing: -.02em; }
.hub-flow-num::after { content: ""; display: block; width: 28px; height: 3px; margin: 8px 0 10px; border-radius: 2px; background: var(--leaf); }
.hub-flow h3 { font-size: 17px; line-height: 1.45; color: var(--teal-deep); }
.hub-flow p { margin-top: 8px; font-size: 14px; line-height: 1.75; }

.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.about-lead { margin-top: 16px; font-size: 16.5px; }
.about-more { margin-top: 16px; }
.type-list { display: grid; gap: 12px; }
.type-list li { padding: 18px 20px; border-left: 4px solid var(--leaf); background: var(--paper); border-radius: 0 14px 14px 0; }
.type-list h3 { font-size: 18px; color: var(--teal-deep); }
.type-list p { margin-top: 6px; font-size: 15px; }

.dept-criteria { background: var(--paper); }
.num-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.num-cards li { display: flex; flex-direction: column; padding: 20px 20px 18px; background: #fff; border-radius: 16px; border: 1px solid var(--line); border-top: 4px solid var(--accent); }
.num-label { font-size: 14px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.num-value { margin-top: 6px; font-size: 42px; font-weight: 700; line-height: 1.1; color: var(--accent); letter-spacing: -.02em; }
.num-unit { margin-top: 2px; font-size: 14.5px; font-weight: 700; color: var(--teal-deep); }
.num-note { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 13.5px; color: var(--ink); }
.criteria-foot { margin-top: 6px; }
.link-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 14px; }
.link-row.sub { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.link-row-label { font-size: 13.5px; font-weight: 700; color: var(--muted); letter-spacing: .06em; }

.treat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.treat { display: flex; flex-direction: column; gap: 8px; padding: 24px 24px 22px; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.treat-step { align-self: flex-start; padding: 3px 10px; border-radius: 6px; background: var(--teal); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; }
.treat h3 { font-size: 19px; color: var(--teal-deep); }
.treat p { font-size: 15px; flex: 1 1 auto; }
.treat .text-link { margin-top: 4px; }

.dept-comp { background: #fff; }
.comp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.comp-grid li { display: flex; flex-direction: column; padding: 22px 22px 18px; background: var(--paper); border-radius: 16px; }
.comp-grid h3 { font-size: 18px; color: var(--teal-deep); }
.comp-grid p { margin-top: 8px; font-size: 15px; flex: 1 1 auto; }
.comp-check { margin-top: 12px; font-size: 13.5px; font-weight: 700; color: var(--leaf-ink); }
.comp-highlight { display: grid; grid-template-columns: 84px 1fr; gap: 22px; align-items: start; margin-top: 18px; padding: 28px 30px; background: var(--teal); color: #fff; border-radius: 20px; }
.comp-highlight-icon { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 20px; background: rgba(255, 255, 255, .16); }
.comp-highlight-icon .icon-fill { width: 54px; height: 54px; }
.comp-highlight h3 { font-size: 21px; line-height: 1.5; color: #fff; }
.comp-highlight p { margin-top: 10px; font-size: 15.5px; color: rgba(255, 255, 255, .95); }
.comp-highlight .text-link { color: #fff; }

.dept-extra { padding-top: 0; }
.extra-box { padding: 28px 30px; background: var(--leaf-soft); border-radius: 20px; }
.extra-box h2 { font-size: 22px; }
.extra-box p { margin-top: 10px; font-size: 15.5px; }

.dept-doctors { background: var(--paper); }
.doc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.doc { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 22px 24px; background: #fff; border-radius: 18px; border: 1px solid var(--line); }
.doc-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.doc:not(:has(.doc-photo)) { grid-template-columns: 1fr; }
.doc-role { display: inline-block; padding: 3px 10px; border-radius: 6px; background: var(--sky-soft); color: var(--teal); font-size: 13px; font-weight: 700; }
.doc-name { margin-top: 8px; font-size: 22px; font-weight: 700; letter-spacing: .06em; color: var(--teal-deep); }
.doc-days { margin-top: 6px; font-size: 16px; font-weight: 700; color: var(--ink); }
.doc-days span { display: inline-block; margin-right: 8px; padding: 1px 8px; border-radius: 4px; background: var(--leaf-ink); color: #fff; font-size: 12px; letter-spacing: .08em; vertical-align: 2px; }
.doc-hospital { margin-top: 4px; font-size: 14px; color: var(--muted); }
.doc-creds { display: grid; gap: 2px; margin-top: 10px; font-size: 14px; color: var(--ink); }
.doc-creds li { padding-left: 14px; position: relative; }
.doc-creds li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--leaf); }
.doc-note { margin-top: 8px; font-size: 13.5px; color: var(--muted); }

.faq-list { display: grid; gap: 10px; }
.faq { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.faq[open] { border-color: var(--sky); }
.faq summary { display: flex; align-items: flex-start; gap: 14px; padding: 16px 48px 16px 18px; cursor: pointer; font-size: 16.5px; font-weight: 700; line-height: 1.6; color: var(--teal-deep); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 24px; width: 9px; height: 9px; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(45deg); transition: transform .25s; }
.faq[open] summary::after { transform: rotate(-135deg); top: 28px; }
.faq-q { flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--teal); color: #fff; font-size: 15px; font-weight: 700; margin-top: .1em; }
.faq-a { display: flex; gap: 14px; padding: 0 18px 18px; }
.faq-a-mark { background: var(--accent); }
.faq-a-body { display: grid; gap: 8px; }
.faq-a p { font-size: 15.5px; }
.faq-more { margin-top: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); overflow: hidden; }
.faq-more > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 700; color: var(--teal); }
.faq-more > summary::-webkit-details-marker { display: none; }
.faq-more > summary::before { content: "＋"; margin-right: 10px; font-size: 20px; line-height: 1; }
.faq-more[open] > summary::before { content: "－"; }
.faq-more > summary > span:first-child { flex: 1 1 auto; }
.faq-more-count { flex: 0 0 auto; padding: 3px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.faq-more > .faq-list { padding: 4px 14px 16px; }
.faq-more .faq { background: #fff; }

.page-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.page-list a { display: grid; gap: 2px; padding: 14px 18px 14px 44px; position: relative; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: background-color .2s, border-color .2s; }
.page-list a::before { content: ""; position: absolute; left: 18px; top: 22px; width: 8px; height: 8px; border-top: 2px solid var(--teal); border-right: 2px solid var(--teal); transform: rotate(45deg); }
.page-list a:hover { background: var(--sky-soft); border-color: var(--sky); }
.page-title { font-size: 16.5px; font-weight: 700; color: var(--teal-deep); }
.page-note { font-size: 13.5px; color: var(--muted); }

.dept-cta { background: linear-gradient(135deg, var(--sky-soft), var(--leaf-soft)); }
.dept-cta-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; }
.dept-cta h2 { font-size: clamp(22px, 2.2vw, 28px); }
.dept-cta p { margin-top: 10px; font-size: 15.5px; }
.dept-cta .cta-mini-actions { flex-direction: column; align-items: stretch; }

.dept-author { padding: 44px 0 64px; }
.author-box { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px 24px; padding: 22px 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.author-box.is-single { grid-template-columns: 1fr; max-width: 720px; margin: 0 auto; }
.author-box.is-single .author { justify-content: center; }
.author { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.author:not(:has(img)) { grid-template-columns: 1fr; }
.author img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.author-role { display: inline-block; padding: 1px 8px; border-radius: 4px; background: var(--sky-soft); color: var(--teal); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.author-name { display: block; margin-top: 4px; font-size: 18px; font-weight: 700; color: var(--teal-deep); }
.author-name small { margin-left: 8px; font-size: 13px; color: var(--muted); }
.author-creds { display: block; font-size: 13px; color: var(--muted); }
.author-refs { grid-column: 1 / -1; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--muted); }

/* 元本文の組み直し部品（data/body/*.html 用） */
.art-sec + .art-sec { margin-top: 48px; }
.art-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; margin: 14px 0; }
.art-cols > * { min-width: 0; }
.art-cols-fig { grid-template-columns: 1fr 320px; align-items: center; }
.art-fig { margin: 0; }
.art-fig img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; margin: 0; background: #fff; }
.art-cols .art-fig { align-self: center; }
.art-fig-doc img { max-width: 320px; margin: 0 auto; }
.art-fig-wide { max-width: none; margin: 16px 0; }
.art-fig a { display: block; }
.art-fig a:hover img { box-shadow: 0 10px 28px rgba(20, 79, 102, .14); }
.art-fig-hint { display: inline-block; margin-left: 8px; font-size: 12px; color: var(--teal); }
.art-fig figcaption { padding-top: 8px; font-size: 13px; color: var(--muted); text-align: center; }
.art-callout { margin: 16px 0; padding: 16px 20px; border-radius: 14px; background: var(--sky-soft); border-left: 4px solid var(--teal); }
.art-callout.is-warn { background: var(--accent-soft); border-left-color: var(--accent); }
.art-callout-label { display: inline-block; margin-bottom: 6px; padding: 2px 9px; border-radius: 4px; background: var(--teal); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; }
.art-callout.is-warn .art-callout-label { background: var(--accent-ink); }
.art-callout p { margin: 0; font-weight: 700; color: var(--teal-deep); }
.dept-article .art-numlist { list-style: none; padding: 0; margin: 14px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; counter-reset: art; }
.art-numlist li { position: relative; padding: 10px 12px 10px 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 15px; line-height: 1.6; counter-increment: art; margin: 0; }
.art-numlist li::before { content: counter(art); position: absolute; left: 12px; top: 9px; width: 24px; height: 24px; border-radius: 50%; background: var(--teal); color: #fff; font-size: 13px; font-weight: 700; text-align: center; line-height: 24px; }
.art-note { font-size: 14.5px; color: var(--muted); }
.art-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0; }
.art-card { padding: 18px 20px; border-radius: 14px; background: var(--paper); border: 1px solid transparent; }
.art-card.is-main { border-color: var(--sky); background: var(--sky-soft); }
.art-card h3 { margin: 4px 0 6px; font-size: 18px; }
.art-card p { margin: 0; font-size: 15px; }
.art-card-tag { display: inline-block; padding: 2px 9px; border-radius: 4px; background: var(--leaf-ink); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.art-table { border-radius: 12px; overflow: hidden; }
.art-table caption { caption-side: top; text-align: left; font-size: 14px; font-weight: 700; color: var(--teal-deep); padding-bottom: 6px; }
.art-table tr.is-hl td { background: var(--sky-soft); }
.art-table tr.is-hl2 td { background: var(--accent-soft); font-weight: 700; }
.art-table-sm { max-width: 320px; }
.art-steps { display: grid; gap: 8px; }
.art-step { position: relative; padding: 11px 14px 11px 46px; border-radius: 10px; background: var(--paper); font-size: 15px; font-weight: 700; color: var(--teal-deep); }
.art-step span { position: absolute; left: 12px; top: 10px; width: 24px; height: 24px; border-radius: 50%; background: var(--teal); color: #fff; font-size: 13px; text-align: center; line-height: 24px; }
.art-step.is-last { background: var(--accent-soft); }
.art-step.is-last span { background: var(--accent-ink); }
.art-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0; }
.art-num { display: flex; flex-direction: column; padding: 16px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--accent); }
.art-num-label { font-size: 13.5px; font-weight: 700; color: var(--muted); }
.art-num-value { font-size: 38px; font-weight: 700; line-height: 1.1; color: var(--accent); letter-spacing: -.02em; }
.art-num-value small { font-size: 20px; margin-left: 2px; }
.art-num-unit { font-size: 14px; font-weight: 700; color: var(--teal-deep); }
.dept-article .art-checks { list-style: none; padding: 0; margin: 10px 0 16px; display: grid; gap: 8px; }
.art-checks li { position: relative; padding: 8px 12px 8px 34px; border-radius: 10px; background: var(--leaf-soft); font-size: 15px; margin: 0; }
.art-checks li::before { content: "✓"; position: absolute; left: 12px; top: 8px; color: var(--leaf-ink); font-weight: 700; }
.art-checks.is-warn li { background: var(--accent-soft); }
.art-checks.is-warn li::before { content: "!"; color: var(--accent-ink); }
.art-stance { margin: 12px 0 18px; padding: 20px 24px; border-radius: 16px; background: var(--teal); color: #fff; }
.dept-article .art-stance ul { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.art-stance li { padding-left: 22px; position: relative; font-weight: 700; font-size: 15.5px; margin: 0; }
.art-stance li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 10px; border-radius: 2px; background: var(--leaf); transform: rotate(45deg); }
.art-stance p { margin: 0 0 10px; font-size: 14.5px; color: rgba(255, 255, 255, .95); }
.art-stance p:last-child { margin-bottom: 0; }
.art-refs { font-size: 13px; color: var(--muted); }

@media (max-width: 1024px) {
  .hub-flow { grid-template-columns: repeat(3, 1fr); }
  .hub-flow li:nth-child(3)::after { display: none; }
  .num-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .dept-hero { padding: 24px 0 28px; }
  .dept-article { font-size: 16px; }
  .dept-article h2 { font-size: 19px; margin-top: 34px; }
  .dept-article table { display: block; overflow-x: auto; }
  .art-cols, .art-cols-fig, .art-numlist, .art-cards, .art-nums { grid-template-columns: 1fr; }
  .art-fig-doc img { max-width: 260px; }
  .art-stance { padding: 16px 18px; }
  .dept-for-band-inner { grid-template-columns: 1fr; gap: 10px; padding: 18px 0; }
  .dept-hero.has-bg { padding: 0 0 24px; background: var(--paper); }
  .dept-hero-bg { position: relative; height: 54vw; }
  .dept-hero-bg img { object-position: 60% 50%; }
  .dept-hero.has-bg::after { display: none; }
  .dept-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(245, 249, 250, 0) 40%, rgba(245, 249, 250, .55) 70%, var(--paper) 100%); }
  .dept-hero-bg img { transform: none !important; }
  .dept-hero.is-light .dept-hero-bg::after { background: linear-gradient(180deg, rgba(245, 249, 250, 0) 55%, rgba(245, 249, 250, .5) 80%, var(--paper) 100%); }
  .dept-hero-inner.is-photo { margin-top: -10vw; }
  .dept-for-list.cols { grid-template-columns: 1fr; }
  .dept-figure { border-radius: 14px; }
  .message-inner { grid-template-columns: 1fr; gap: 18px; }
  .message-photo img { aspect-ratio: 16 / 10; object-position: 8% 30%; }
  .conv-tiles { grid-template-columns: 1fr; }
  .faq-more > summary { font-size: 15.5px; padding: 14px 14px; }
  .faq-more > .faq-list { padding: 4px 8px 12px; }
  .dept-hero-inner, .about-grid, .dept-cta-inner, .author-box { grid-template-columns: 1fr; gap: 20px; }
  .dept-hero h1 { font-size: 32px; }
  .dept-for { padding: 20px 18px 18px; }
  .dept-for-title { font-size: 17px; letter-spacing: .02em; }
  .fact-label { font-size: 14px; }
  .fact-note { font-size: 12.5px; }
  .dept-facts { grid-template-columns: 1fr 1fr; }
  .dept-facts li:nth-child(3) { border-left: 0; }
  .dept-facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fact-main strong { font-size: 28px; }
  .feature-grid, .treat-grid, .comp-grid, .doc-grid, .page-list { grid-template-columns: 1fr; }
  .hub-flow { grid-template-columns: 1fr; gap: 10px; }
  .hub-flow li::after { display: none; }
  .hub-flow li { padding: 16px 18px; }
  .feature { padding: 20px 18px; }
  .dept-photos { grid-template-columns: 1fr; gap: 10px; }
  .dept-photos img { aspect-ratio: 16 / 9; }
  .feature-figure img { aspect-ratio: 16 / 10; }
  .num-value { font-size: 36px; }
  .comp-highlight { grid-template-columns: 1fr; gap: 12px; padding: 22px 20px; }
  .comp-highlight-icon { width: 64px; height: 64px; }
  .comp-highlight-icon .icon-fill { width: 40px; height: 40px; }
  .extra-box { padding: 22px 20px; }
  .doc { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
  .doc-photo { width: 80px; height: 80px; }
  .faq summary { font-size: 15.5px; padding: 14px 40px 14px 14px; }
  .faq-a { padding: 0 14px 16px; }
  .dept-cta .cta-mini-actions .btn { width: 100%; }
}
