/* ============================================================
   Direction A — section geometry.
   Every band height below is the Authority band height
   (authority/A/KEIZANKAI_A_ORIGINAL_PC.png, 1024x1536) multiplied by
   1440/1024 = 1.40625, so a 1440 capture reproduces the full-page
   proportions of the Authority. Authority y-ranges are quoted per section.
   ============================================================ */

/* ---- hero : Authority y 52-505 (453) -> 637 ----------------
   One immersive photographic field: a single text-free plate of the Authority
   photograph at its exact composition. The copy sits ON the sky of that same
   photograph; there is no text panel. Positions are Authority px x 1.40625,
   expressed as % of the 1440 field so they hold proportionally down to 901px. */
.hero{position:relative;overflow:hidden;height:min(var(--h-hero),44.2vw);background:#cae3fd}
.hero__plate img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 100%}
.hero__inner{position:relative;z-index:5;height:100%;max-width:var(--a-shell);margin:0 auto}
/* H1 glyph top: Authority x125 y101 -> 176 / 67. */
.hero__copy{position:absolute;left:12.2%;top:8.4%}
/* Yu Mincho ink sits small in its em box; 48px on a 70px pitch matches the Authority glyph mass. */
.hero h1{font-size:clamp(32px,3.33vw,48px);line-height:1.46;letter-spacing:.06em}
.hero__lead{font-size:clamp(13px,1.08vw,15.5px);line-height:1.9;letter-spacing:.09em;margin:13px 0 16px;color:var(--a-ink)}
.hero__cta{min-width:214px;min-height:50px;font-size:13.5px}
/* Script: Authority x220 y378 -> 309 / 457. */
.script--hero{position:absolute;left:21.4%;top:71.6%;font-size:26px;line-height:1.45;color:#fff;transform:rotate(-7deg);transform-origin:0 0;text-shadow:0 1px 8px rgba(30,70,110,.35)}
/* Plaque: Authority x880-1001 y75-235 -> 1237-1407 / 31-256. */
.hero__quote{position:absolute;left:85.9%;top:4.9%;width:170px;min-height:225px;padding:28px 20px 20px;border-radius:4px;background:rgba(255,255,255,.95);box-shadow:0 6px 22px rgba(16,54,95,.1)}
.hero__quote p{font-size:18.5px;line-height:1.85;letter-spacing:.06em;color:var(--a-navy)}
.hero__quote cite{display:block;margin-top:14px;font-family:var(--font-sans);font-weight:500;font-size:12px;font-style:normal;font-weight:700;letter-spacing:.04em;color:var(--a-navy)}
.hero__quote cite::before{content:"";display:block;width:14px;height:1px;margin-bottom:14px;background:var(--a-navy)}
/* Slogan: Authority x798-963 y421-483 -> right edge 1354 / top 517. */
.hero__tag{position:absolute;right:6%;top:80.4%;color:#fff;font-size:28px;line-height:1.6;letter-spacing:.12em;text-align:right;text-shadow:0 2px 12px rgba(25,60,100,.45)}
.hero__tag span{display:block}
/* Vertical hairline: Authority x990 y390-470. */
.hero__rule{position:absolute;left:96.7%;top:74.4%;width:1.5px;height:17.6%;background:rgba(255,255,255,.9)}

/* ---- news : Authority y 505-632 (127) -> 179 ---------------
   Left title column, centre dated list, right recruitment CTA — one band. */
.news{position:relative;background:var(--a-cream);padding:8px 0 10px}
.news__grid{position:relative;z-index:6;display:grid;grid-template-columns:210px minmax(0,1fr) 500px;gap:22px;align-items:start}
.news__head h2{font-size:29px;line-height:1.35}
.news__head{display:flex;flex-wrap:wrap;align-items:center;column-gap:12px}
.news__head h2,.news__head .news__more{flex:0 0 auto}
.news__head h2{width:100%}
.news__head .script--kicker{margin:4px 0 14px;font-size:15px}
.news__head .sample-chip{margin:4px 0 14px}
.news__head .script--kicker .arw{margin-left:.5em;font-size:13px}
.news__more{padding:8px 18px;min-height:44px}
.news-list li{display:grid;grid-template-columns:96px 78px minmax(0,1fr);gap:16px;align-items:center;border-bottom:1px solid var(--a-rule)}
.news-list li:first-child{border-top:1px solid var(--a-rule)}
.news-list__date{font-family:var(--font-sans);font-weight:500;font-size:12.5px;letter-spacing:.04em;color:#4e6577}
.news-list a{display:flex;align-items:center;min-height:43px;font-family:var(--font-sans);font-weight:500;font-size:13px;color:var(--a-ink)}
.news-list a:hover{color:var(--a-info);text-decoration:underline}
/* Recruit panel: text-free plate of the Authority panel x637-990 y514-625 -> 496 x 156. */
.recruit-mini{position:relative;overflow:hidden;height:156px;background:var(--a-sky-panel);border-radius:5px}
.recruit-mini img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%}
.recruit-mini__body{position:relative;z-index:2;padding:17px 0 0 30px}
.recruit-mini__body p{font-size:20px;line-height:1.6;letter-spacing:.12em;color:var(--a-navy);margin-bottom:14px}
.recruit-mini__body .btn{min-width:182px}

/* ---- medical : Authority y 632-790 (158) -> 222 ------------ */
.medical{position:relative;background:var(--a-sky);padding:22px 0 16px}
.medical__grid{position:relative;z-index:6;display:grid;grid-template-columns:250px minmax(0,1fr);gap:46px;align-items:start}
.clinic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:21px}
.clinic-card{display:grid;grid-template-columns:181px minmax(0,1fr);gap:15px;padding:12px;background:#fff;border-radius:3px;box-shadow:0 5px 18px rgba(20,60,95,.07)}
.clinic-card__photo{display:block;min-height:124px}
.clinic-card__photo img{width:100%;height:100%;min-height:124px;object-fit:cover;border-radius:2px}
.clinic-card__more{display:none}
.hero__quote cite small{font-size:inherit}
.clinic-card h3{display:flex;align-items:center;flex-wrap:wrap;font-size:18.5px;line-height:1.35;padding-bottom:8px;border-bottom:1px solid var(--a-line)}
/* Line icons drawn after the Authority glyph weight (not a logo). */
.clinic-card__icon{width:22px;height:22px;margin-right:9px;flex:none;fill:none;stroke:var(--a-navy);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.medical__title-name,.medical__title-tail{display:block}
.medical__title-sep,.medical__title-name.medical__title-name--2{display:none}
.clinic-card__label{display:flex;align-items:center;font-family:var(--font-sans);font-weight:500;font-size:12px;font-weight:700;color:var(--a-ink);margin:8px 0 4px}
.clinic-card__label .ref-chip{margin-left:auto}
/* The schedule matrix silhouette is mandatory even while every value is gated. */
.hours th,.hours td{font-family:var(--font-sans);font-weight:500;font-size:12px;text-align:left;padding:2px 0;border-bottom:1px solid var(--a-line-soft);height:24px}
.hours th{width:76px;font-weight:500;color:var(--a-ink);background:#f2f7fa;text-align:center;border-bottom:1px solid #fff}
.hours td{padding-left:12px}
.hours tr:last-child th,.hours tr:last-child td{border-bottom:0}

/* ---- facilities : Authority y 790-1000 (210) -> 295 -------- */
.facilities{position:relative;background:#fff;padding:26px 0 6px}
.facilities__grid{display:grid;grid-template-columns:250px minmax(0,1fr);gap:46px;align-items:start}
.facility-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.facility-card__photo{display:block}
.facility-card img{width:100%;height:124px;object-fit:cover;border-radius:2px}
.facility-card h3{display:flex;align-items:center;font-size:17px;line-height:1.4;margin:12px 0 5px}
.facility-card__icon{width:28px;height:28px;margin-right:10px;flex:none;fill:none;stroke:var(--a-navy);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.facility-card p{font-family:var(--font-sans);font-weight:500;font-size:12.5px;line-height:1.75;color:var(--a-ink)}
.facility-card .text-link{min-height:34px}

/* ---- community : Authority y 1000-1191 (191) -> 269 --------
   Text-free plate of the Authority panorama, including both organic wave
   edges (white above, off-white below), so the contour is the Authority's. */
.community{position:relative;overflow:hidden;height:269px;background:var(--a-off)}
.community>.wave--top{display:none}
.community__plate img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%}
.community__inner{position:relative;z-index:5;height:100%;padding:0}
/* H2 glyph top: Authority x95 y1014 -> 134 / 20. */
.community__copy{position:absolute;left:9.3%;top:10px}
.community h2{font-size:31px;line-height:1.55;letter-spacing:.12em}
.community__copy p{font-size:13px;line-height:1.73;letter-spacing:.1em;margin:11px 0 12px}
.community__cta{min-width:215px;min-height:48px}
/* Script: Authority x763-860 y1027-1068 -> 1073 / 38. */
.script--island{position:absolute;left:74.5%;top:34px;margin:0;text-align:center;font-size:16px;line-height:1.5;letter-spacing:.16em;color:#1f4f7a}
.script--island em{font-size:14px;letter-spacing:.1em}

/* ---- life : Authority y 1191-1371 (180) -> 253 -------------
   Copy | collage | pale island with "People Connect the Island". */
.life{position:relative;overflow:hidden;background:var(--a-off);padding:12px 0 10px}
/* Island: text-free plate of the Authority decoration, x770-1024. */
.life__island{position:absolute;right:0;top:0;width:24.8%;max-width:357px;height:auto;z-index:0;pointer-events:none}
.life__grid{position:relative;z-index:1;display:grid;grid-template-columns:358fr 617fr 289fr;gap:40px;align-items:start}
.life__copy{padding-top:6px}
.life h2{font-size:29px;line-height:1.5;letter-spacing:.12em}
.life__copy>p{font-size:12.5px;line-height:1.72;letter-spacing:.1em;margin-top:8px}
.life__copy .btn{margin-top:12px;min-height:44px}
/* Collage: Authority baby x320-463, nurse/window x473-604, elder/hands x594-755. */
.life__mosaic{display:grid;grid-template-columns:143fr 131fr 150fr;grid-template-rows:122px 91px;gap:12px 13px;margin-top:4px}
.life__tile{display:block;overflow:hidden;border-radius:5px}
.life__tile img{width:100%;height:100%;object-fit:cover}
/* Authority collage tiles are slightly skewed quadrilaterals, not rectangles. */
.life__tile--tall{clip-path:polygon(0 3%,100% 0,100% 97%,0 100%)}
.life__tile--nurse{clip-path:polygon(0 0,100% 3%,100% 100%,0 97%)}
.life__tile--elder{clip-path:polygon(0 4%,100% 0,100% 94%,0 100%)}
.life__tile--window{clip-path:polygon(0 4%,100% 0,100% 100%,0 100%)}
.life__tile--hands{clip-path:polygon(0 8%,100% 0,100% 100%,0 96%)}
.life__tile--tall{grid-row:span 2}
.life__note{position:relative;padding:34px 0 0 44%}
.script--people{white-space:nowrap;font-size:24px;line-height:1.38;color:#34638b;transform:rotate(-8deg);transform-origin:0 50%;margin:0 0 20px -8px}
.script--people .i1{padding-left:.85em}
.script--people .i2{padding-left:1.6em}
.life__note-copy{font-size:12.5px;line-height:1.95;letter-spacing:.08em;color:var(--a-ink)}

/* ---- closing : Authority y 1371-1482 (111) -> 156 ----------
   Text-free plate of the Authority sunset band, including its organic top
   edge. Card: Authority x653-983 y1382-1477 -> 918-1382 / 31-165. */
.closing{position:relative;overflow:hidden;height:156px;background:#2a3b52}
.closing__plate{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%}
/* Scrim under the white closing line: the sun glow behind it otherwise drops
   below AA (qa/photo-contrast.mjs). Kept low so the sunset still reads. */
.closing::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(8,24,44,.5) 0,rgba(8,24,44,.42) 40%,rgba(8,24,44,0) 62%)}
.closing__inner{position:relative;z-index:5;display:grid;grid-template-columns:minmax(0,1fr) 478px;gap:30px;align-items:start;height:100%}
/* H2 glyph top: Authority x90 y1395 -> 127 / 49. */
.closing__copy{padding:30px 0 0 79px}
.closing h2{font-size:32px;color:#fff;line-height:1.5;letter-spacing:.22em;text-shadow:0 2px 12px rgba(6,22,40,.4)}
.closing__copy p{color:#fff;font-size:14px;line-height:1.8;letter-spacing:.28em;margin-top:12px;text-shadow:0 1px 10px rgba(6,22,40,.55)}
.contact-card{margin-top:10px;background:#fff;border-radius:6px;padding:12px 22px 13px;box-shadow:0 10px 30px rgba(6,22,40,.2)}
.contact-card h3{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;font-size:16.5px;letter-spacing:.14em;margin-bottom:3px}
.contact-card>p{font-family:var(--font-sans);font-weight:500;font-size:11.5px;line-height:1.6;letter-spacing:.06em;color:var(--a-ink)}
.contact-card__actions{display:flex;gap:16px;margin-top:8px}
.contact-card__actions .btn{min-height:44px;padding:8px 12px;font-size:12.5px}
.contact-card__actions .btn--outline{flex:0 0 42%}
.contact-card__actions .btn--navy{flex:1}

/* ---- footer : Authority y 1480-1536 (56) -> 79 ------------- */
.site-footer{background:#fff;border-top:1px solid var(--a-line-soft);padding:17px 0}
.site-footer__inner{display:flex;align-items:center;gap:30px;flex-wrap:wrap}
.brand--footer{--a-logo-h:34px}
.site-footer__nav{display:flex;gap:20px;font-family:var(--font-sans);font-weight:700;font-size:12.5px;color:var(--a-navy)}
.site-footer__nav a,.site-footer__meta a{display:inline-flex;align-items:center;min-height:44px}
.site-footer__nav a:hover,.site-footer__meta a:hover{color:var(--a-info);text-decoration:underline}
.site-footer__meta{margin-left:auto;text-align:right;font-family:var(--font-sans);font-weight:500;font-size:11.5px;color:#546c7d;display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.site-footer__meta small{font-size:11px;line-height:1.4;white-space:nowrap}

/* ---- Shadow-only page chrome (sits outside the Authority page) ---- */
.shadow-banner{margin:0;padding:7px 14px;font-family:var(--font-sans);font-weight:500;font-size:11px;letter-spacing:.04em;color:#546c7d;text-align:center;line-height:1.5;border-top:1px dashed #b3c1cd;background:#f7f9fb}

/* Shadow CMS notice layer — rendered only when a published notice exists. */
.kz-notice-a{background:var(--a-cream);border-top:1px solid var(--a-rule);border-bottom:1px solid var(--a-rule)}
.kz-notice-a__inner{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:24px;align-items:center;padding:18px var(--a-gutter)}
.kz-notice-a__label{margin:0;padding:6px 12px;border-radius:999px;background:var(--a-navy);color:#fff;font-size:12px;font-weight:700;white-space:nowrap}
.kz-notice-a--emergency .kz-notice-a__label{background:var(--a-alert)}
.kz-notice-a h2{margin:0;color:var(--a-navy);font-family:var(--font-serif);font-size:20px;line-height:1.5}
.kz-notice-a p:not(.kz-notice-a__label){margin:4px 0 0;color:var(--a-ink);font-size:14px;line-height:1.7}
@media(max-width:900px){.kz-notice-a__inner{grid-template-columns:1fr;gap:10px;padding:16px 24px}.kz-notice-a__label{justify-self:start}.kz-notice-a h2{font-size:18px}.kz-notice-a .btn{justify-self:start}}

/* CMS detail surfaces; does not affect locked TOP unless a CMS detail URL is opened. */
.kz-content-a{background:var(--a-off);min-height:60vh;padding:72px 0 96px}
.kz-content-a__shell{max-width:980px;margin:0 auto;padding:0 32px}
.kz-breadcrumb{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 36px;color:var(--a-ink-soft);font-size:13px}
.kz-breadcrumb a{color:var(--a-navy)}
.kz-article{background:#fff;border:1px solid var(--a-line);border-radius:24px;padding:44px 52px;box-shadow:0 12px 36px rgba(16,52,94,.06)}
.kz-article__label{display:inline-flex;margin:0 0 14px;padding:5px 12px;border-radius:999px;background:var(--a-sky);color:var(--a-navy);font-size:12px;font-weight:700}
.kz-article h1{margin:0;color:var(--a-navy);font-family:var(--font-serif);font-size:clamp(30px,4vw,48px);line-height:1.35}
.kz-article time{display:block;margin-top:14px;color:var(--a-ink-soft);font-size:13px}
.kz-article__body{margin:36px 0;color:var(--a-ink);font-size:16px;line-height:2}
.kz-index-item{padding:24px 0;border-bottom:1px solid var(--a-line)}
.kz-index-item h2{margin:0 0 8px;font-family:var(--font-serif);font-size:24px}.kz-index-item a{color:var(--a-navy)}
@media(max-width:700px){.kz-content-a{padding:42px 0 64px}.kz-content-a__shell{padding:0 20px}.kz-article{padding:28px 22px;border-radius:18px}.kz-article__body{margin:28px 0;font-size:15px}}

/* v1.2 facility-route focused delta */
.facility-grid--routes{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.facility-card--route{position:relative;min-width:0}
.facility-card--route h3{align-items:flex-start;min-height:48px}
.facility-card--route p{min-height:44px}
.route-status{display:inline-flex;align-items:center;min-height:32px;margin-top:5px;padding:5px 9px;border:1px solid var(--a-line-soft);border-radius:999px;font-family:var(--font-sans);font-size:11px;font-weight:700;line-height:1.4;color:#546c7d;background:#f7f9fb}
.route-pending{cursor:default}
.route-pending .facility-card__photo{filter:saturate(.9)}
