/* KEIZANKAI 下地脳神経外科 — static production source, direction A
   Authority (LOCKED 2026-09-29):
     PC  KEIZANKAI_SHIMOJI_A_PC_CURRENT_2026-09-29.png  (1024px canvas -> 1440, x1.406)
     SP  KEIZANKAI_SHIMOJI_A_SP_REVISED_CANDIDATE_2026-09-29.png (3-column board, ~273px column -> 390, x1.43)
   768 is an independent interpolation of the same DNA. Never shares tokens or grammar with B. */

:root{
  --navy:#1a3470;          /* headline / wordmark navy */
  --navy-deep:#0f2a66;     /* solid pills, footer bar */
  --ink:#3c4658;           /* body copy */
  --ink-soft:#56606f;
  --paper:#fbfaf7;         /* warm page ground */
  --card:#ffffff;
  --line:#e4e6ea;
  --blue:#2a78c8; --blue-bg:#e6f1fb; --blue-pale:#f0f6fc;
  --step:#2a78b8;
  --green:#2e8a5a; --orange:#e2761c; --orange-bg:#fdefe2;
  --red:#d2382e; --rose:#fdeeea;
  --font-serif:"Yu Mincho","YuMincho","Hiragino Mincho ProN","Noto Serif JP","Shippori Mincho",serif;
  --font-sans:"Yu Gothic","YuGothic","Hiragino Kaku Gothic ProN","Noto Sans JP","Meiryo",sans-serif;
  --font-latin:"Times New Roman","Georgia",serif;
  --wrap:1246px;
  --shadow:0 4px 18px rgba(40,60,100,.08);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font-sans);font-weight:500;font-size:15px;line-height:1.75;font-feature-settings:"palt" 1;overflow-x:hidden}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
ul,ol{margin:0;padding:0;list-style:none}
h1,h2,h3,p,figure,dl,dd{margin:0}
svg{width:1em;height:1em;flex:none}
.sprite{position:absolute;width:0;height:0;overflow:hidden}
[hidden]{display:none!important}   /* unresolved-route CTAs stay in the DOM but must not render */
:focus-visible{outline:3px solid #f0a020;outline-offset:3px}
.skip-link{position:absolute;left:0;top:0;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;padding:12px 20px;background:var(--navy-deep);color:#fff;z-index:1000;font-size:14px}
.skip-link:focus{left:12px;top:12px;width:auto;height:auto;overflow:visible;clip-path:none}
@media (prefers-reduced-motion:no-preference){
  .pill,.qcard a,.scard,.gnav a,.faq__chev,.sdetail__summary svg,.to-top,.facnav__links a{transition:background-color .2s,color .2s,box-shadow .2s,transform .2s}
}
.wrap{width:min(var(--wrap),calc(100% - 48px));margin-inline:auto;position:relative}
.script{font-family:var(--font-latin);font-style:italic;font-weight:400;color:var(--navy);letter-spacing:.04em}
.deco{position:absolute;mix-blend-mode:multiply;pointer-events:none;user-select:none;z-index:0;max-width:none}
.hero__leaf-l1,.hero__leaf-l2,.page-deco__l3{-webkit-mask-image:linear-gradient(90deg,#000 55%,transparent),linear-gradient(180deg,transparent,#000 12%,#000 88%,transparent);-webkit-mask-composite:source-in;mask-image:linear-gradient(90deg,#000 55%,transparent),linear-gradient(180deg,transparent,#000 12%,#000 88%,transparent);mask-composite:intersect}
.page-deco__r1,.page-deco__r2{-webkit-mask-image:linear-gradient(270deg,#000 55%,transparent),linear-gradient(180deg,transparent,#000 12%,#000 88%,transparent);-webkit-mask-composite:source-in;mask-image:linear-gradient(270deg,#000 55%,transparent),linear-gradient(180deg,transparent,#000 12%,#000 88%,transparent);mask-composite:intersect}
.sp-br{display:none}

/* ---------- pills ---------- */
.pill{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:44px;padding:0 26px;border-radius:999px;font-weight:700;font-size:14px;letter-spacing:.04em;white-space:nowrap}
.pill svg{width:16px;height:16px}
.pill .pill__lead{display:none;width:24px;height:24px;color:var(--blue)}
.pill--line{border:1.5px solid var(--navy);color:var(--navy);background:rgba(255,255,255,.9)}
.pill--line:hover{background:var(--navy);color:#fff}
.pill--line:hover .pill__lead{color:#fff}
.pill--solid{background:var(--navy-deep);color:#fff}
.pill--solid:hover{background:#1c3f8c}
.pill--white{background:#fff;color:var(--navy);box-shadow:0 4px 16px rgba(20,40,80,.12)}
.pill--white:hover{background:var(--blue-bg)}
.pill--sm{min-height:44px;padding:0 22px;font-size:13.5px;gap:12px}
.pill--lg{min-height:52px;padding:0 34px;font-size:15px;gap:22px}
.text-link{display:inline-flex;align-items:center;gap:10px;min-height:44px;font-size:13.5px;font-weight:700;color:var(--navy)}
.text-link svg{width:15px;height:15px}

/* ---------- header (Authority y0-40 -> 64) ---------- */
.site-header{position:relative;z-index:30;background:#fff}
.site-header__inner{display:flex;align-items:center;height:64px;width:min(var(--wrap),calc(100% - 48px));margin:0 auto}
.brand{display:flex;align-items:center;min-height:44px}
.brand__logo{height:38px;width:auto;max-width:none}
.brand__tagline{margin-left:14px;padding-left:12px;border-left:1px solid #c9ced8;font-size:11px;line-height:1.55;color:var(--ink-soft);letter-spacing:.08em}
.gnav{margin-left:auto}
.gnav ul{display:flex;gap:6px}
.gnav a{display:flex;align-items:center;min-height:44px;padding:0 12px;font-size:13.5px;font-weight:700;color:var(--navy);letter-spacing:.04em}
.gnav a:hover{color:var(--blue)}
.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;color:var(--navy)}
.icon-btn svg{width:17px;height:17px}
.header-contact{margin-left:14px;min-height:44px;padding:0 20px 0 26px;font-size:13px}
.nav-toggle{display:none;margin-left:auto;width:48px;height:48px;border:0;background:transparent;color:var(--navy);align-items:center;justify-content:center;cursor:pointer;margin-right:-10px}
.nav-toggle svg{width:26px;height:26px}
.nav-toggle__close{display:none}
.nav-toggle[aria-expanded="true"] .nav-toggle__open{display:none}
.nav-toggle[aria-expanded="true"] .nav-toggle__close{display:block}
.mobile-nav{position:absolute;left:0;right:0;top:100%;background:#fff;box-shadow:0 12px 24px rgba(20,40,80,.12);padding:8px 24px 20px}
.mobile-nav[hidden]{display:none}
.mobile-nav a{display:flex;align-items:center;min-height:48px;border-bottom:1px solid var(--line);color:var(--navy);font-weight:700;font-size:15px}

/* ---------- hero : HUMAN3 one scene (2026-10-12) ----------
   The REAL exterior fills the whole hero; the copy sits in the island light of that same photograph
   (a soft radial veil centred on the text column) instead of a white wedge / left-right split.
   The veil is anchored to the wrap (50% - 400px) and ends ~170px before the entrance sign at 1100–1920. */
.hero{position:relative;height:540px;overflow:hidden;background:#e4edf5}
.hero::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:radial-gradient(ellipse 430px 520px at calc(50% - 400px) 48%,rgba(251,250,247,.94) 0,rgba(251,250,247,.88) 300px,rgba(251,250,247,0) 430px),
    linear-gradient(180deg,rgba(251,250,247,0) 80%,rgba(251,250,247,.55) 100%)}
.hero__photo{position:absolute;top:0;bottom:0;right:0;left:12%;z-index:0;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 18%);mask-image:linear-gradient(90deg,transparent 0,#000 18%)}
.hero__photo img{width:100%;height:100%;object-fit:cover;object-position:55% 42%}
.hero__leaf-tr{right:0;top:0;width:287px;-webkit-mask-image:radial-gradient(ellipse 80% 100% at 70% 0,#000 55%,transparent 100%);mask-image:radial-gradient(ellipse 80% 100% at 70% 0,#000 55%,transparent 100%);z-index:2}
.hero__leaf-l1{left:0;top:0;width:87px;z-index:2}
.hero__leaf-l2{left:0;top:330px;width:96px;z-index:2}
.hero__inner{position:static;padding-top:40px}
.hero__inner > :not(.hero__photo){position:relative;z-index:3}
.breadcrumb ol{display:flex;flex-wrap:wrap;font-size:12.5px;letter-spacing:.04em;color:var(--navy);padding-left:33px}
.breadcrumb li{display:flex;align-items:center}
.breadcrumb li+li::before{content:"";width:6px;height:6px;margin:0 12px 0 8px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg)}
.breadcrumb a{display:inline-flex;align-items:center;min-height:44px;margin-block:-10px}   /* 44px hit area, 24px layout */
.breadcrumb a:hover{text-decoration:underline}
.hero__title{margin:16px 0 0 38px;font-family:var(--font-serif);font-weight:600;font-size:57px;line-height:1.2;letter-spacing:.08em;color:var(--navy)}
.hero__script{margin:4px 0 0 95px;font-size:15px}
.hero__lead{margin:12px 0 0 42px;font-family:var(--font-serif);font-size:22px;line-height:1.72;letter-spacing:.14em;color:var(--navy)}
.hero__desc{margin:14px 0 0 42px;font-size:14.5px;line-height:1.8;letter-spacing:.04em;color:var(--ink)}
.hero__cta{display:flex;gap:14px;margin:18px 0 0 42px}
.hero__cta .pill{min-height:44px;padding:0 24px 0 36px;gap:22px}

/* ---------- important notice (Authority y357-405 -> 67) ---------- */
.notice{position:relative;z-index:2;background:linear-gradient(90deg,rgba(253,236,232,.95) 0,rgba(253,240,236,.9) 60%,rgba(253,244,240,.55) 100%)}
.notice__inner{display:flex;align-items:center;min-height:67px;gap:20px;padding-left:44px}
.notice__icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:#f28a7a;color:#fff;flex:none}
.notice__icon svg{width:24px;height:24px}
.notice__title{font-family:var(--font-serif);font-weight:700;font-size:21px;letter-spacing:.08em;color:var(--red);padding-right:26px;border-right:1px solid rgba(210,56,46,.25);line-height:1.4;white-space:nowrap}
.notice__body{flex:1;font-size:13.5px;letter-spacing:.04em;color:var(--ink)}
.notice__link{display:inline-flex;align-items:center;gap:12px;min-height:44px;font-size:13px;font-weight:700;color:var(--navy);margin-right:48px}
.notice__link svg{width:15px;height:15px}

.page-deco{position:relative;height:0;z-index:0}
.page-deco__l3{left:0;top:401px;width:96px}
.page-deco__r1{right:0;top:183px;width:93px}
.page-deco__r2{right:0;top:1000px;width:93px}

/* ---------- section heads ---------- */
.sec-head{display:flex;align-items:baseline;flex-wrap:wrap;column-gap:22px;position:relative;z-index:1}
.sec-title{font-family:var(--font-serif);font-weight:600;font-size:32px;line-height:1.4;letter-spacing:.1em;color:var(--navy)}
.sec-script{display:none}
.sec-lead{font-size:13.5px;letter-spacing:.04em;color:var(--ink-soft)}

/* ---------- before visit (Authority y415-612) ---------- */
.before{position:relative;z-index:1;padding-top:26px}
.qcards{margin-top:14px;display:grid;grid-template-columns:repeat(5,1fr);gap:24px}
.qcard a{position:relative;display:flex;flex-direction:column;height:100%;min-height:214px;background:var(--card);border-radius:8px;overflow:hidden;box-shadow:var(--shadow);padding:0 20px 16px 64px}
.qcard a:hover{box-shadow:0 8px 26px rgba(40,60,100,.16)}
.qcard__photo{display:block;margin:0 -20px 0 -64px;height:120px;overflow:hidden}
.qcard__photo img{width:100%;height:100%;object-fit:cover}
.qcard__photo .qcard__real{object-position:78% 40%}
.qcard__icon{position:absolute;left:10px;top:98px;width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff;color:var(--navy);box-shadow:0 2px 8px rgba(40,60,100,.12)}
.qcard__icon svg{width:28px;height:28px}
.qcard__icon--green{color:var(--green)}
.qcard__icon--orange{color:var(--orange)}
.qcard__icon--doc{color:var(--blue)}
.qcard--blue .qcard__icon:not(.qcard__icon--doc){color:var(--navy)}
.qcard a > .qcard__icon + .qcard__title{margin-top:14px}
.qcard__title{font-family:var(--font-serif);font-weight:700;font-size:16px;letter-spacing:.06em;color:var(--navy);line-height:1.5}
.qcard__desc{margin-top:4px;padding-right:12px;font-size:12px;line-height:1.65;color:var(--ink-soft)}
.qcard__arrow{position:absolute;right:12px;bottom:14px;width:15px;height:15px;color:var(--navy)}

/* ---------- schedule (Authority y630-815) ---------- */
.schedule{position:relative;z-index:1;padding-top:30px}
.schedule__grid{margin-top:12px;display:grid;grid-template-columns:665px 1fr;gap:18px}
.schedule__feature{position:relative;height:218px;border-radius:8px;overflow:hidden;box-shadow:var(--shadow)}
.schedule__photo{width:100%;height:100%;object-fit:cover}
.schedule__oval{position:absolute;left:356px;top:8px;width:263px;height:204px;border-radius:50%;background:rgba(255,255,255,.88);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.schedule__oval-title{font-family:var(--font-serif);font-weight:600;font-size:24px;line-height:1.4;letter-spacing:.1em;color:var(--navy)}
.schedule__oval-title span{display:block;font-size:17px}
.schedule__oval-text{margin-top:8px;font-size:12.5px;line-height:1.7;color:var(--ink-soft)}
.schedule__oval .pill{margin-top:10px}
.schedule__side{display:grid;grid-template-columns:205px 1fr;border-radius:8px;overflow:hidden;background:var(--blue-pale)}
.schedule__sea{width:100%;height:100%;object-fit:cover}
.schedule__links{display:grid;gap:10px;padding:0 0 0 0;background:var(--paper)}
.scard{display:flex;align-items:center;gap:16px;height:100%;min-height:98px;padding:10px 18px 10px 18px;background:var(--blue-pale);color:var(--ink)}
.scard:hover{background:#e3eefa}
.scard__icon{display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%;background:#fff;color:var(--blue);flex:none}
.scard__icon svg{width:30px;height:30px}
.scard__body{flex:1;display:flex;flex-direction:column}
.scard__title{font-family:var(--font-serif);font-weight:700;font-size:15.5px;color:var(--navy);letter-spacing:.06em}
.scard__desc{font-size:12.5px;line-height:1.7;color:var(--ink-soft)}
.scard__arrow{width:15px;height:15px;color:var(--navy)}

/* operational detail (CMS) */
.sdetail{margin-top:14px;border-radius:8px;background:#fff;box-shadow:var(--shadow)}
.sdetail__summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;padding:0 22px;cursor:pointer;list-style:none;font-size:13.5px;font-weight:700;color:var(--navy);letter-spacing:.04em}
.sdetail__summary::-webkit-details-marker{display:none}
.sdetail__summary svg{width:18px;height:18px}
.sdetail[open] .sdetail__summary svg{transform:rotate(180deg)}
.sdetail__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;padding:4px 22px 18px}
.slot{padding:14px 16px;border-radius:6px;background:var(--blue-pale)}
.slot__title{font-family:var(--font-serif);font-size:15.5px;font-weight:700;color:var(--navy);letter-spacing:.06em}
.slot__empty{margin-top:6px;font-size:13px;line-height:1.7;color:var(--ink)}
.slot__meta{margin-top:8px;font-size:12px;color:var(--ink-soft)}
.doctors{margin:0 22px 20px;padding:14px 16px;border-radius:6px;border:1px solid var(--line)}
.doctors__list{margin-top:6px;display:flex;flex-wrap:wrap;gap:6px 28px;font-size:13.5px}
.doctors__role{color:var(--ink-soft);margin-right:10px}
.doctors__name{font-weight:700;color:var(--navy)}
.doctors__note{margin-top:8px;font-size:12.5px;color:var(--ink)}

/* ---------- services + first visit (Authority y830-1065) ---------- */
.duo{display:grid;grid-template-columns:647px 1fr;gap:45px;padding-top:32px;position:relative;z-index:1}
.services{position:relative}
.services__photo{position:relative;margin-top:10px;height:271px;overflow:hidden;border-radius:4px}
.services__photo img{width:100%;height:100%;object-fit:cover;object-position:50% 55%}
.services__overlay{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-start;padding:70px 0 0 22px;
  background:linear-gradient(90deg,rgba(255,255,255,.82) 0,rgba(255,255,255,.62) 38%,rgba(255,255,255,0) 72%)}
.services__poem{font-family:var(--font-serif);font-size:26px;line-height:1.45;letter-spacing:.06em;color:var(--navy)}
.services__note{margin-top:10px;font-size:13.5px;line-height:1.7;color:var(--ink)}
.services__media{position:relative}
.services__cta{position:absolute;left:20px;bottom:14px;min-height:46px;padding:0 48px;background:#fff}
.depts{margin-top:18px;display:grid;grid-template-columns:1fr 330px;gap:10px 20px;align-items:center}
.depts__title{grid-column:1/-1;font-family:var(--font-serif);font-size:17px;font-weight:700;color:var(--navy);letter-spacing:.08em}
.depts__list{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);gap:0 12px;padding:6px 16px;border-radius:8px;background:var(--blue-pale)}
.depts__list li{display:flex;align-items:center;gap:10px;min-height:36px;font-size:13.5px;letter-spacing:.04em;color:var(--ink)}
.depts__list svg{width:22px;height:22px;color:var(--navy)}
.depts__note{grid-column:1;grid-row:3;font-size:12.5px;color:var(--ink-soft)}
.shuttle{grid-column:2;grid-row:3;display:flex;align-items:center;gap:14px;padding:14px 16px;border-radius:8px;background:var(--blue-pale)}
.shuttle__icon{display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:50%;background:#fff;color:var(--navy);flex:none}
.shuttle__icon svg{width:30px;height:30px}
.shuttle p{font-size:12.5px;line-height:1.7;color:var(--ink-soft)}
.shuttle__title{display:block;font-size:15px;color:var(--navy);letter-spacing:.06em}

.first{position:relative}
.first .sec-head{column-gap:18px;flex-wrap:nowrap}
.first .sec-title{white-space:nowrap}
.first .sec-lead{font-size:12.5px;line-height:1.6}
/* HUMAN3 (Feedback 03): one editorial unit — lead, three pre-visit checks (each a link to the in-page
   information), then the REAL interior photo with its caption. No viewport bleed, no fixed 337px column. */
.first__body{margin-top:12px}
.steps{display:grid;gap:8px}
.step__link{display:grid;grid-template-columns:36px 34px 1fr auto;gap:0 14px;align-items:center;min-height:64px;padding:10px 16px 10px 12px;border-radius:8px;background:#fff;box-shadow:var(--shadow);color:var(--ink)}
.step__link:hover{box-shadow:0 8px 26px rgba(40,60,100,.16)}
.step__num{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:#cfe8f8;color:var(--navy-deep);font-family:var(--font-latin);font-size:14px;font-weight:700}
.step__icon{width:34px;height:34px;color:var(--navy)}
.step__text{display:flex;flex-direction:column;min-width:0}
.step__title{font-family:var(--font-serif);font-size:15px;font-weight:700;line-height:1.5;color:var(--navy);letter-spacing:.04em}
.step__desc{font-size:12.5px;line-height:1.6;color:var(--ink-soft)}
.step__go{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;font-weight:700;color:var(--navy);white-space:nowrap}
.step__go svg{width:14px;height:14px}
.first__photo{margin-top:14px}
.first__photo img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;object-position:55% 72%;border-radius:6px}
.first__caption{margin-top:8px;font-size:12.5px;letter-spacing:.04em;color:var(--ink-soft)}
@media (prefers-reduced-motion:no-preference){.step__link{transition:box-shadow .2s}}

/* ---------- access + news/faq (Authority y1080-1322) ---------- */
.duo--lower{grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:32px;padding-top:30px;align-items:start}
/* 2026-10-12 reviewer REVISE: access and FAQ columns must have comparable visual height; do not leave a large void beneath FAQ. */
@media (min-width:1100px){
  .duo--lower .access__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);align-items:stretch}
  .duo--lower .access__photo{display:flex;align-items:center;background:#eaf2f9}
  .duo--lower .access__photo img{width:100%;height:auto;aspect-ratio:1200/573;object-fit:contain}
  .duo--lower .access__info{padding:10px 12px}
  .duo--lower .ainfo{grid-template-columns:1fr;gap:0}
  .duo--lower .ainfo__row:first-child{grid-row:auto;border-bottom:1px solid #dbe5f0}
  .duo--lower .ainfo__row{grid-template-columns:32px minmax(0,1fr);column-gap:7px;padding:4px 0}
  .duo--lower .ainfo__row dt svg{width:32px;height:32px;padding:6px}
  .duo--lower .ainfo__row dd{font-size:11.5px;overflow-wrap:anywhere}
  .duo--lower .ainfo__tel{min-height:36px;margin-block:-5px}
  .duo--lower .faq{margin-top:0}
}
.access .sec-head{padding-left:0}
/* HUMAN3 (Feedback 02b): no negative margin; the 1200×573 exterior keeps its own ratio (nothing cropped)
   and sits on the heading edge, with address/TEL/parking/transport directly beneath as one unit. */
.access__grid{margin-top:12px;border-radius:8px;overflow:hidden;background:var(--blue-pale)}
.access__photo img{width:100%;height:auto;aspect-ratio:1200/573}
.access__info{display:flex;flex-direction:column;padding:6px 18px 8px}
.ainfo{display:grid;grid-template-columns:1.1fr 1fr;column-gap:28px}
.ainfo__row:first-child{grid-row:1/span 2;border-bottom:0}
.ainfo__row:last-child{border-bottom:0}
.ainfo__row{display:grid;grid-template-columns:44px 1fr;column-gap:12px;padding:8px 0;border-bottom:1px solid #dbe5f0}
.ainfo__row dt{display:contents;font-size:14.5px;font-weight:700;color:var(--navy)}
.ainfo__row dt svg{grid-row:1/span 2;width:44px;height:44px;padding:9px;border-radius:50%;background:#fff;color:var(--blue)}
.ainfo__row dd{grid-column:2;font-size:12.5px;line-height:1.6;color:var(--ink-soft)}
.ainfo__tel{display:inline-flex;align-items:center;min-height:44px;margin-block:-10px;font-weight:700;color:var(--navy);text-decoration:underline;text-underline-offset:3px}
.access__cta{margin-top:auto;align-self:stretch;min-height:44px;font-size:13px}

.side{display:flex;flex-direction:column}
.sec-head--row{justify-content:flex-start}
.news__all{margin-left:auto}
/* HUMAN3 (Feedback 02a): NEWS is CMS-owned. For unknown, do not render a public-facing empty-state claim or internal review copy. */
.news:has(> .news__card[data-state="unknown"]){display:none!important}
.news__card{margin-top:6px;padding:4px 18px;border-radius:6px;background:#fff;box-shadow:var(--shadow);font-size:13px;line-height:1.75;color:var(--ink)}
.news__card[data-state="items-present"] :is(.news__empty,.news__review),
.news__card[data-state="verified-empty"] :is(.news__list,.news__review),
.news__card[data-state="unknown"] :is(.news__list,.news__empty){display:none}
.news__item+.news__item{border-top:1px solid var(--line)}
.news__link{display:grid;grid-template-columns:auto 1fr 16px;gap:2px 12px;align-items:center;min-height:56px;padding:9px 0}
.news__date{font-family:var(--font-latin);font-size:12.5px;letter-spacing:.04em;color:var(--ink-soft)}
.news__tag{justify-self:start;padding:0 8px;border-radius:99px;background:var(--blue-pale);font-size:11px;line-height:1.9;color:#205686}
.news__title{grid-column:1/3;font-weight:700;font-size:13.5px;line-height:1.6;color:var(--navy)}
.news__link svg{grid-column:3;grid-row:1/span 2;width:15px;height:15px;color:var(--navy)}
a.news__link:hover .news__title{text-decoration:underline}
.news__thumb{grid-column:1/-1;width:100%;max-width:240px;height:auto;border-radius:4px}
.news__empty{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:0 18px;padding:8px 0}
.news__empty-link{flex:none}
.news__review{margin:10px 0;padding:8px 12px;border:1px dashed #9fb3c8;border-radius:4px;font-size:12px;line-height:1.7;color:var(--ink-soft)}
.faq{margin-top:16px}
.faq .sec-title{font-size:26px}
.faq__list{margin-top:4px;border-radius:6px;background:#fff;box-shadow:var(--shadow);padding:2px 14px}
.faq__item+.faq__item{border-top:1px solid var(--line)}
.faq__item summary{display:flex;align-items:center;gap:14px;min-height:44px;padding:4px 4px;cursor:pointer;list-style:none;font-size:13.5px;color:var(--navy);letter-spacing:.03em;line-height:1.5}
.faq__item summary::-webkit-details-marker{display:none}
.faq__item summary span{flex:1}
.faq__q{width:17px;height:17px;color:var(--navy)}
.faq__chev{width:16px;height:16px;color:var(--navy)}
.faq__item[open] .faq__chev{transform:rotate(180deg)}
.faq__a{padding:0 8px 12px 35px;font-size:13px;line-height:1.75;color:var(--ink)}
.faq__meta{margin-top:6px;font-size:12px;color:var(--ink-soft);text-align:right}

/* ---------- facility navigation : named facilities, no dead links ---------- */
.facnav{position:relative;z-index:1;padding-top:30px}
.facnav__panel{margin-top:14px;display:grid;grid-template-columns:minmax(210px,.85fr) minmax(0,2fr);gap:20px;align-items:center;padding:24px;border-radius:8px;background:linear-gradient(110deg,#eef5fa,#fff 58%);box-shadow:var(--shadow)}
.facnav__eyebrow{color:#647f99;font-size:11px;letter-spacing:.12em}
.facnav__story{font:600 22px/1.6 var(--font-serif);color:var(--navy);margin:9px 0}
.facnav__intro-note{font-size:12px;color:var(--ink-soft);line-height:1.65}
.facnav__services{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;margin:0;padding:0}
.facnav__service{display:flex;justify-content:space-between;align-items:center;gap:10px;min-width:0;border-bottom:1px solid #dce5ee;padding:15px 0}
.facnav__service:nth-last-child(-n+2){border-bottom:0}
.facnav__service-info{display:flex;flex-direction:column;min-width:0;gap:4px}
.facnav__category{font-size:11px;color:var(--blue);font-weight:700}
.facnav__service-name{font:600 16px/1.5 var(--font-serif);color:var(--navy)}
.facnav__status{flex:0 0 auto;white-space:nowrap;border:1px solid #dce5ee;border-radius:99px;padding:5px 8px;font-size:10px;color:#6b7b92}
.facnav__eyebrow{color:#385574}
.facnav__category{color:#205686}
.facnav__status{color:#42536b}
.facnav__group[hidden]{display:none!important}
@media(max-width:900px){.facnav__panel{grid-template-columns:1fr;gap:16px}.facnav__story br{display:none}}
@media(max-width:600px){.facnav__panel{padding:18px 16px}.facnav__services{display:block}.facnav__service,.facnav__service:nth-last-child(-n+2){border-bottom:1px solid #dce5ee}.facnav__service:last-child{border-bottom:0}.facnav__service-name{font-size:15px}.facnav__story{font-size:20px}.facnav__status{font-size:10px}}
/* ---------- closing (Authority y1325-1455 -> 183) ---------- */
.closing{position:relative;margin-top:28px;min-height:183px;overflow:hidden;display:flex;align-items:center}
.closing__bg{position:absolute;inset:0;background:url("../assets/deco/closing-sea.jpg") 50% 50%/cover no-repeat}
.closing__bg::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,var(--paper) 0,rgba(251,250,247,0) 18%)}
.closing__inner{display:flex;align-items:center;gap:40px;padding:20px 0 16px 138px}
.closing__title{font-family:var(--font-serif);font-weight:700;font-size:29px;line-height:1.5;letter-spacing:.08em;color:var(--navy)}
.closing__text{margin-top:10px;font-size:14.5px;line-height:1.85;color:#2f3a4d;letter-spacing:.04em}
.closing__copy{padding:8px 0}
.closing__cta{display:flex;gap:22px;margin-left:auto;margin-right:40px}

/* ---------- footer (Authority y1458-1536) ---------- */
.site-footer{background:linear-gradient(180deg,#fff 0,#f1f6fb 60%,#e4eef8 100%)}
.site-footer__main{display:flex;align-items:center;min-height:73px;gap:40px}
.footer-brand{display:flex;flex-direction:column}
.footer-brand__logo{height:34px;width:auto}
.footer-brand__tag{margin-top:2px;padding-left:44px;font-size:11px;letter-spacing:.1em;color:var(--ink-soft)}
.footer-nav{margin-left:auto}
.footer-nav ul{display:flex;gap:26px}
.footer-nav a{display:inline-flex;align-items:center;min-height:44px;font-size:12.5px;font-weight:700;color:var(--navy)}
.footer-nav a:hover{color:var(--blue)}
.to-top{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:50%;border:1.5px solid var(--navy);color:var(--navy);background:#fff;margin-left:48px}
.to-top svg{width:20px;height:20px}
.to-top:hover{background:var(--navy);color:#fff}
.footer-bar{background:var(--navy-deep);color:#fff}
.footer-bar__inner{display:flex;align-items:center;justify-content:space-between;min-height:37px}
.footer-bar__links{display:flex}
.footer-bar__links li+li::before{content:"|";margin:0 14px;opacity:.6;font-size:12px}
.footer-bar__links a,.footer-bar__copy{font-size:12px;letter-spacing:.04em}
.footer-bar__links a{display:inline-flex;align-items:center;min-height:44px;margin-block:-6px}   /* 44px hit area, 32px layout */
.footer-bar__links a:hover{text-decoration:underline}
.footer-bar__copy small{font-size:inherit}

/* ============ 768–1099: independent tablet interpolation ============ */
@media (max-width:1099px){
  .gnav,.icon-btn--search,.header-contact,.brand__tagline{display:none}
  .nav-toggle{display:inline-flex}
  /* HUMAN3 tablet: its own editorial grid — name + lead share the sky, the exterior runs edge to edge at its
     natural ratio beneath them, intro and CTAs follow. Nothing overlaps the signs, crumb, CTAs or menu. */
  .hero{height:auto;background:linear-gradient(180deg,#e3ecf4 0,#edf3f8 45%,var(--paper) 100%)}
  .hero::after{display:none}
  .hero__leaf-l1,.hero__leaf-l2{display:none}
  .hero__leaf-tr{width:220px}
  .hero__inner{position:relative;display:grid;grid-template-columns:1fr auto;grid-template-areas:"crumb crumb" "title lead" "script lead" "photo photo" "desc desc" "cta cta";column-gap:32px;padding:24px 0 34px}
  .breadcrumb{grid-area:crumb}
  .breadcrumb ol{padding-left:0}
  .hero__title{grid-area:title;margin:14px 0 0;font-size:46px}
  .hero__script{grid-area:script;margin:2px 0 0 4px}
  .hero__lead{grid-area:lead;align-self:end;margin:0;font-size:18px;line-height:1.75}
  .hero__photo{grid-area:photo;position:relative;left:auto;margin:6px calc(50% - 50vw) 0;
    -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 16%,#000 88%,transparent 100%);mask-image:linear-gradient(180deg,transparent 0,#000 16%,#000 88%,transparent 100%)}
  .hero__photo img{height:auto;aspect-ratio:1200/573}
  .hero__desc{grid-area:desc;margin:6px 0 0}
  .hero__cta{grid-area:cta;margin:16px 0 0;flex-wrap:wrap}
  .notice__inner{padding-left:0;flex-wrap:wrap;gap:8px 16px;padding-block:10px}
  .notice__link{margin-right:0}
  .page-deco{display:none}
  .qcards{grid-template-columns:repeat(6,1fr);gap:18px}
  .qcard{grid-column:span 2}
  .qcard:nth-child(n+4){grid-column:span 3}
  .schedule__grid{grid-template-columns:1fr}
  .schedule__oval{left:auto;right:6%}
  .schedule__side{grid-template-columns:200px 1fr}
  .sdetail__grid{grid-template-columns:repeat(2,1fr)}
  .duo,.duo--lower{grid-template-columns:1fr;gap:36px}
  .first__body{display:grid;grid-template-columns:1fr 280px;gap:0 24px;align-items:start}
  .first__photo{margin-top:0}
  .first__photo img{aspect-ratio:4/3;object-position:60% 60%}
  .step__link{grid-template-columns:36px 1fr auto}
  .step__icon{display:none}
  .facnav__card{grid-template-columns:1fr;gap:12px;padding:16px 20px}
  .facnav__links{grid-template-columns:repeat(2,1fr)}
  .closing{min-height:240px}
  .closing__inner{flex-direction:column;align-items:flex-start;padding:28px 0 28px 24px;gap:18px}
  .closing__cta{margin:0}
  .site-footer__main{flex-wrap:wrap;gap:0 24px;padding:12px 0}
  .footer-nav ul{flex-wrap:wrap;gap:0 18px}
  .to-top{margin-left:0}
}

/* ============ ≤767: SP Authority (390) ============ */
@media (min-width:768px){ .sp-only{display:none!important} }
@media (max-width:767px){
  .pc-only{display:none!important}
  .pc-br{display:none}
  .sp-br{display:inline}
  body{font-size:14px}
  .wrap{width:calc(100% - 44px)}
  .site-header__inner{height:60px;width:calc(100% - 44px)}
  .brand__logo{height:34px}
  .pill .pill__lead{display:block}

  /* HUMAN3 SP: one continuous editorial scene in DOM order. The sky tint behind the name flows into the sky
     of the REAL exterior (top mask), the facade and both signs stay whole in the 236px band, and the photo
     dissolves into the paper beneath the intro. Leaves only in the top-right corner, clear of text and signs. */
  .hero{background:linear-gradient(180deg,#dbe7f1 0,#e6eef5 38%,#f2f5f7 64%,var(--paper) 82%)}
  .hero__leaf-tr{width:190px}
  .hero__inner{display:block;padding:10px 0 4px}
  .breadcrumb ol{font-size:12px}
  .hero__title{margin:12px 0 0;font-size:38px;letter-spacing:.06em}
  .hero__script{margin:0 0 0 4px;font-size:13.5px}
  .hero__lead{margin:10px 0 0;font-size:17px;line-height:1.75;letter-spacing:.1em}
  .hero__lead br:first-of-type{display:none}
  .hero__photo{margin:-6px -22px 0;
    -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 22%,#000 84%,transparent 100%);mask-image:linear-gradient(180deg,transparent 0,#000 22%,#000 84%,transparent 100%)}
  .hero__photo img{height:236px;aspect-ratio:auto;object-fit:cover;object-position:52% 50%}
  .hero__desc{margin:8px 0 0;font-size:14px;line-height:1.85}
  .hero__cta{flex-direction:column;margin:16px 0 0;align-items:stretch;gap:12px}
  .hero__cta .pill{justify-content:flex-start;min-height:54px;padding:0 24px 0 26px;gap:0;font-size:14px}
  .hero__cta .pill .pill__lead{margin-right:22px}
  .hero__cta .pill svg:last-child{margin-left:auto}

  .notice{background:none;margin-top:26px}
  .notice__inner{display:grid;grid-template-columns:44px 1fr auto;gap:10px 14px;padding:14px 18px 16px;border-radius:10px;background:linear-gradient(180deg,#fdebe7,#fdf1ee)}
  .notice__icon{width:44px;height:44px;background:#ee6f60}
  .notice__title{border:0;padding:0;font-size:19px}
  .notice__body{grid-column:1/-1;font-size:13.5px;line-height:1.8;padding-left:6px}
  .notice__link{grid-row:1;grid-column:3;gap:0;justify-content:center;width:44px}
  .notice__link-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .notice__link svg{width:18px;height:18px;color:var(--red)}

  .sec-head{display:block}
  .sec-title{font-size:27px;letter-spacing:.06em}
  .sec-script{display:block;font-size:15px;margin-top:2px}
  .sec-lead{margin-top:8px;font-size:13.5px;line-height:1.85;color:var(--ink)}

  .before{padding-top:40px}
  .qcards{grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}
  .qcard,.qcard:nth-child(n+4){grid-column:auto}
  .qcard--change{display:none}
  .qcard a{min-height:0;padding:20px 12px 14px;box-shadow:0 3px 14px rgba(40,60,100,.08);border:1px solid #f0f1f3}
  .qcard__photo{display:none}
  .qcard__icon{position:static;align-self:center;width:58px;height:58px;box-shadow:none;background:var(--blue-bg);color:var(--blue)}
  .qcard--orange .qcard__icon{background:var(--orange-bg);color:var(--orange)}
  .qcard__icon--doc{color:var(--orange)!important}
  .qcard__icon svg{width:32px;height:32px}
  .qcard a > .qcard__icon + .qcard__title{margin-top:12px}
  .qcard__title{font-family:var(--font-sans);font-size:14.5px;letter-spacing:.02em}
  .qcard__desc{font-size:12px;padding-right:18px}
  .qcard__arrow{right:10px;bottom:16px}

  .schedule{padding-top:44px}
  .schedule__grid{gap:18px;margin-top:18px}
  .schedule__feature{height:auto;box-shadow:none;overflow:visible;border-radius:0}
  .schedule__photo{height:150px;border-radius:8px;object-position:22% 50%}
  .schedule__oval{position:static;width:auto;height:auto;border-radius:0;background:none;display:block}
  .schedule__oval-title,.schedule__oval-text{display:none}
  .schedule__oval .pill{display:flex;width:100%;margin-top:10px;justify-content:flex-start;min-height:56px;padding:0 24px;font-size:14px}
  .schedule__oval .pill .sp-only{display:inline-flex;align-items:center;gap:20px}
  .schedule__oval .pill>svg{margin-left:auto}
  .schedule__side{display:block;background:none}
  .schedule__sea{display:none}
  .schedule__links{gap:14px;background:none}
  .scard{min-height:106px;padding:14px 14px 14px 16px;border-radius:8px;background:#fff;box-shadow:0 3px 14px rgba(40,60,100,.08);align-items:center}
  .scard__icon{width:60px;height:60px;background:var(--blue-bg)}
  .scard__title{font-family:var(--font-sans);font-size:15px}
  .scard__arrow{align-self:flex-end;margin-bottom:6px}
  .sdetail__grid{grid-template-columns:1fr;padding:4px 14px 14px}
  .sdetail__summary{padding:8px 16px;font-size:13px;line-height:1.6}
  .doctors{margin:0 14px 16px}
  .doctors__list{flex-direction:column}

  .duo{padding-top:48px;gap:0}
  .services__photo{height:auto;margin-top:16px;border-radius:8px}
  .services__photo img{aspect-ratio:4/3.6;height:auto}
  .services__overlay{display:none}
  .services__cta{position:static;display:flex;margin-top:16px;min-height:56px;background:rgba(255,255,255,.9);justify-content:space-between;padding:0 30px 0 56px}
  .depts{display:block;margin-top:34px}
  .depts__list{display:block;margin-top:14px;padding:6px 18px}
  .depts__list li{min-height:44px;gap:24px;font-size:14px}
  .depts__list svg{width:26px;height:26px}
  .depts__note{margin-top:10px}
  .shuttle{margin-top:14px;padding:16px 18px}

  .first{padding-top:48px}
  .first .sec-head{flex-wrap:wrap}
  .first .sec-lead{font-size:13.5px}
  /* HUMAN3 SP order: what to check (each card is the CTA to that information) → interior photo + caption. */
  .first__body{display:block;margin-top:18px}
  .steps{gap:10px}
  .step__link{grid-template-columns:36px 1fr;gap:4px 14px;padding:14px 16px;box-shadow:0 3px 14px rgba(40,60,100,.08)}
  .step__num{grid-row:1/span 2}
  .step__title{font-size:15px}
  .step__desc{font-size:13px;line-height:1.7}
  .step__go{grid-column:2;min-height:24px}
  .first__photo{margin-top:18px}
  .first__photo img{aspect-ratio:4/3;object-position:60% 60%;border-radius:8px}
  .first__caption{font-size:13px}

  .duo--lower{padding-top:56px;gap:0}
  .access__grid{margin:14px 0 0;background:none;overflow:visible}
  .access__photo img{border-radius:8px}
  .access__info{padding:6px 0 0}
  .ainfo{display:block;margin-top:8px;border-radius:8px;background:#fff;box-shadow:0 3px 14px rgba(40,60,100,.08);padding:4px 14px}
  .ainfo__row{padding:12px 0}
  .ainfo__row:first-child{border-bottom:1px solid #dbe5f0}
  .ainfo__row dt svg{background:none;padding:6px}
  .ainfo__row dd{font-size:13px}
  .access__cta{margin-top:16px;min-height:56px}
  .news{margin-top:52px}
  .sec-head--row{display:block}
  .news__card{margin-top:14px;padding:4px 16px;font-size:13.5px}
  .news__empty{padding:12px 0}
  .news__cta{display:flex;margin-top:16px;min-height:56px}
  .faq{margin-top:52px}
  .faq .sec-title{font-size:27px}
  .faq__list{background:none;box-shadow:none;padding:0;margin-top:14px;display:grid;gap:8px}
  .faq__item{background:#fff;border-radius:6px;box-shadow:0 2px 10px rgba(40,60,100,.07);padding:0 10px}
  .faq__item+.faq__item{border-top:0}
  .faq__item summary{min-height:48px;font-size:13.5px;gap:12px}
  .faq__more{display:flex;margin-top:18px;min-height:56px}

  .facnav{padding-top:52px}
  .facnav__card{margin-top:14px;padding:16px 14px}
  .facnav__links{grid-template-columns:1fr;gap:8px}
  .facnav__links a{font-size:14px}

  .closing{margin-top:40px;min-height:0}
  .closing__bg{background:linear-gradient(180deg,#fbfaf7 0,#dcebf6 12%,rgba(220,235,246,.92) 40%,rgba(220,235,246,0) 62%),url("../assets/deco/closing-sea.jpg") 100% 100%/auto 440px no-repeat,#d6e8f5}
  .closing__bg::after{display:none}
  .closing__inner{padding:60px 22px 60px;align-items:stretch}
  .closing__title{font-weight:500;font-size:24px;line-height:1.85;letter-spacing:.12em;padding-left:20px;text-shadow:0 0 14px rgba(255,255,255,.8)}
  .closing__cta{flex-direction:column;gap:16px;margin-top:70px}
  .closing__cta .pill{justify-content:flex-start;min-height:62px;padding:0 26px;gap:0}
  .closing__cta .pill .pill__lead{margin-right:22px}
  .closing__cta .pill--solid .pill__lead{color:#fff}
  .closing__cta .pill svg:last-child{margin-left:auto}

  .site-footer__main{padding:16px 0 10px}
  .footer-brand__logo{height:40px}
  .footer-nav{margin:6px 0 0;width:100%}
  .footer-nav ul{gap:0 18px}
  .to-top{position:absolute;right:0;top:18px}
  .footer-bar__inner{flex-direction:column;align-items:flex-start;padding:8px 0 10px}
  .footer-bar__links li+li::before{margin:0 10px}
}


/* WordPress integration 2026-10-13: wrap the first-visit lead inside its own column. */
.first .sec-head{flex-wrap:wrap}
.first .sec-lead{flex-basis:100%;min-width:0;margin-top:6px}
.duo>*{min-width:0}
.notice[hidden],.news[hidden]{display:none!important}
.slot__body{overflow-x:auto;max-width:100%}
.slot__body table{width:100%;border-collapse:collapse}
.slot__body th,.slot__body td{padding:8px;border:1px solid #dbe5f0;text-align:center}
.news__item a{display:flex;align-items:center;gap:12px;min-height:48px;padding:12px 0}
.news__item span{min-width:0;flex:1;overflow-wrap:anywhere}
.news__item time{font-size:12px;white-space:nowrap}
.news__item svg{width:18px;height:18px;flex-shrink:0}
.facnav__route{display:flex;align-items:center;justify-content:space-between;width:100%;gap:12px;min-height:44px}
.facnav__route svg{width:18px;height:18px}
.facnav__hub{margin-top:14px}
.services__photo img[data-photo-replaced=true],.first__photo img[data-photo-replaced=true]{object-fit:contain}
.slot__body a,.footer-nav a,.ainfo__tel,.footer-bar__links a{min-height:44px}
@media(max-width:767px){.first .sec-lead{margin-top:0}.news__item a{flex-wrap:wrap}.news__item time{width:100%}}
