/* ============================================================
   Direction B — section geometry.
   Every band height below is the Authority band height
   (authority/B/KEIZANKAI_B_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 62-319 (257) -> 361 ----------------
   Narrow textured rail, centre-left headline, care image running from
   centre-right to the far edge behind a white-to-photo transition. The
   whole field is one text-free plate; positions are Authority px x 1.40625,
   expressed as % of the 1440 field. */
.hero{position:relative;overflow:hidden;height:min(361px,25.07vw);background:#fff}
.hero__plate img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%}
.hero__inner{position:relative;z-index:3;height:100%;max-width:var(--b-shell);margin:0 auto}
/* Rail: rule x43-47 y83-193, ISHIGAKI OKINAWA x59 y120, motto x48 y214. */
.hero__rail{position:absolute;left:0;top:0;width:11.5%;height:100%}
/* rail children are positioned in % of the 1440 rail (165.6px) and of the band height */
.hero__rail::before{content:"";position:absolute;left:37.5%;top:8.3%;width:1.5px;height:43%;background:#9ea7b8}
.hero__place{position:absolute;left:50%;top:21%;font-family:var(--font-sans);font-size:12.5px;font-weight:500;letter-spacing:.24em;line-height:1.6;color:var(--b-ink-mid)}
.hero__motto{position:absolute;left:40%;top:57%;font-family:var(--font-serif);font-size:15px;line-height:1.97;letter-spacing:.12em;color:var(--b-ink);white-space:nowrap}
.hero__motto::after{content:"";display:block;width:36px;height:1px;margin-top:14px;background:#9ea7b8}
/* H1: Authority x202 y98 -> 284 / 50. */
.hero__copy{position:absolute;left:19.7%;top:42px}
/* Yu Mincho ink sits small in its em box; 42px on the 52px Authority pitch matches its glyph mass. */
.hero h1{font-size:clamp(28px,2.92vw,42px);font-weight:700;line-height:1.24;letter-spacing:.04em}
.hero__lead{font-size:clamp(12px,1.01vw,14.5px);line-height:1.75;letter-spacing:.17em;margin-top:14px;color:var(--b-ink-mid)}
.arrow-cta{display:inline-flex;align-items:center;gap:22px;min-height:54px;margin-top:10px;font-size:15px;font-weight:700;letter-spacing:.06em;color:var(--b-ink)}
.arrow-cta__circle{display:inline-flex;align-items:center;justify-content:center;width:54px;height:54px;border:1px solid #6e86b8;border-radius:50%;font-size:16px;flex:none;background:rgba(255,255,255,.6)}
.arrow-cta:hover .arrow-cta__circle{background:var(--b-wash)}
/* Script: Authority x855-983 y86-129; English line x904 y134. */
.hero__note{position:absolute;left:83.5%;top:28px;color:var(--b-ink)}
.hero__script{display:block;font-family:var(--font-script);font-size:20px;line-height:1.5;transform:rotate(-8deg);transform-origin:0 50%;text-shadow:0 0 8px rgba(255,255,255,.8)}
.hero__note small{display:block;margin:8px 0 0 70px;font-family:var(--font-sans);font-size:11.5px;line-height:1.55;letter-spacing:.04em;color:var(--b-ink-mid);text-shadow:0 0 6px rgba(255,255,255,.9)}

/* ---- news : Authority y 322-445 (123) -> 173 ---------------
   One compact floating white card over the pale botanical field. */
.news{position:relative;background:var(--b-wash);padding:8px 0 10px}
.news__card{position:relative;z-index:2;display:grid;grid-template-columns:200px minmax(0,1fr) 160px;gap:20px;align-items:start;background:#fff;border-radius:4px;padding:14px 26px;box-shadow:0 5px 20px rgba(18,58,110,.07)}
.news__head{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;padding-top:6px}
.news__head .bar-title{font-size:22px}
.news__head .script--kicker{font-size:16px}
.news__more{justify-self:end;padding-top:4px}
.news-list li{border-bottom:1px solid var(--b-line-soft)}
.news-list li:last-child{border-bottom:0}
.news-list a{display:grid;grid-template-columns:84px 70px minmax(0,1fr);gap:16px;align-items:center;min-height:33px;font-size:13px;color:var(--b-ink-soft)}
.news-list a:hover .news-list__title{color:var(--b-blue);text-decoration:underline}
.news-list__date{font-size:12.5px;letter-spacing:.03em;color:var(--b-ink-mid)}
.news-list__title{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.news__head .sample-chip{align-self:center}
.script--info{position:absolute;right:30px;bottom:12px;font-size:23px;color:#b8cadd;z-index:1}

/* ---- medical : Authority y 445-720 (275) -> 387 ------------
   B primary section: two dense cards, each with schedule matrix,
   phone row, access action and the dark blue CTA. */
.medical{position:relative;background:var(--b-wash);padding:18px 0 20px}
.medical .section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:30px;margin-bottom:12px}
.medical .bar-title--lg{font-size:29px;line-height:1.46}
.script--community{text-align:right;font-size:23px;line-height:1.6;color:#9fb6cc;flex:none}
.clinic-grid{position:relative;z-index:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:34px}
.clinic{display:flex;flex-direction:column;gap:8px;background:#fff;border-radius:4px;padding:13px 16px 12px;box-shadow:0 5px 20px rgba(18,58,110,.08)}
.clinic__head{display:grid;grid-template-columns:minmax(0,1fr) 44%;gap:16px;align-items:start}
.clinic__photo{display:block}
.clinic__photo img{width:100%;height:96px;object-fit:cover;border-radius:3px}
.clinic h3{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:20px;line-height:1.35}
.clinic__gate{margin-top:7px}
.clinic__desc{font-size:12px;line-height:1.75;margin-top:7px;color:var(--b-ink-soft)}
.hours thead .hours__label{text-align:left;white-space:nowrap;font-size:13px;font-weight:700;color:var(--b-ink)}
.hours__label .ico-clock{display:inline-block;vertical-align:-3px;margin-right:7px}
.hours__label .ref-chip{margin-left:8px}
/* Authority matrix is compact: label + time, then six narrow day columns; the rest of the card row stays open. */
.hours table{width:auto;min-width:72%}
.hours th,.hours td{font-size:12px;text-align:center;padding:3px 0;color:var(--b-ink-mid)}
.hours thead th[scope="col"]:not(.hours__label),.hours tbody td:not(.hours__time){width:24px}
.hours thead th{font-weight:700;color:var(--b-ink);border-bottom:1px solid var(--b-line-soft)}
.hours tbody th{width:44px;text-align:left;font-weight:700;color:var(--b-ink)}
.hours__time{width:118px;padding-left:6px !important;text-align:left;font-size:12.5px !important;color:var(--b-ink) !important}
.hours tbody tr+tr th,.hours tbody tr+tr td{border-top:1px solid var(--b-line-soft)}
/* Day matrix from fact-registry day maps: filled dot = reception (source value),
   dash = closed, ? = client sources contradict each other (確認中). */
.dot{display:inline-block;width:10px;height:10px;border-radius:50%;background:var(--b-blue-deep);vertical-align:middle}
.dash{display:inline-block;min-width:10px;color:var(--b-ink-soft);font-weight:700;line-height:1}
.dot-q{display:inline-flex;align-items:center;justify-content:center;width:15px;height:15px;border:1px dashed #7f97b3;border-radius:50%;font-size:11px;font-weight:700;line-height:1;color:#35587f;vertical-align:middle}
.clinic__actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:auto;padding-top:4px}
.clinic__tel{display:flex;align-items:center;gap:9px;color:var(--b-blue)}
.clinic__tel strong{display:block;font-size:15px;letter-spacing:.03em;color:var(--b-blue)}
.clinic__tel small{display:block;font-size:11px;color:#4f6a88}
.clinic__actions .text-link{color:var(--b-ink-mid)}
.clinic__actions .btn{margin-left:auto;min-height:40px;padding:8px 16px;font-size:12.5px}

/* ---- navigation card sections ------------------------------
   facilities : Authority y 720-920 (200) -> 281
   services   : Authority y 920-1105 (185) -> 260          */
.navi{position:relative;background:var(--b-wash);padding:20px 0 20px}
.navi--services{background:#f6fafd}
.navi .section-head--row{margin-bottom:14px}
.navi-grid{position:relative;z-index:2;display:grid;gap:24px}
.navi-grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}
.navi-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.navi-card{position:relative;display:block;height:100%;background:#fff;border-radius:4px;overflow:hidden;box-shadow:0 4px 16px rgba(18,58,110,.08);transition:box-shadow .2s,transform .2s}
.navi-card:hover{box-shadow:0 8px 24px rgba(18,58,110,.14)}
.navi-card__photo{display:block}
.navi-card img{width:100%;height:73px;object-fit:cover}
.navi-card__name{font-weight:700}
/* Authority sets the large pale numeral to the LEFT of the card title, not above it. */
.navi-card__body{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:13px;align-items:baseline;padding:12px 16px 32px}
.navi-card__no{grid-row:span 2;font-family:var(--font-serif);font-size:30px;line-height:1.1;color:#a9bed3;letter-spacing:.04em}
.navi-card__title{font-size:16px;line-height:1.4;word-break:keep-all;overflow-wrap:anywhere}
.navi-card__desc{grid-column:2;font-size:11.5px;line-height:1.7;margin-top:5px;color:var(--b-ink-mid)}
.navi-card__go{position:absolute;right:14px;bottom:12px;display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:var(--b-blue-deep);color:#fff;font-size:12px}
.navi--services .navi-card img{height:76px}
.navi--services .navi-card__body{padding:12px 18px 32px;column-gap:15px}

/* ---- about : Authority y 1103-1276 (173) -> 243 ------------
   Text-free plate of the Authority panorama; the pale circular message panel
   is redrawn over the place the Authority sets it (x824-994, y1101-1271). */
.about{position:relative;overflow:hidden;height:243px;background:#fff}
.about__plate img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%}
.about__inner{position:relative;z-index:3;height:100%;max-width:var(--b-shell);margin:0 auto}
/* H2: Authority x89 y1120 -> 125 / 24 (bar at x65 -> 91). */
.about__copy{position:absolute;left:6.3%;top:18px}
.about .bar-title--lg{word-break:keep-all;padding-left:34px;font-size:24px;font-weight:700;line-height:1.46;letter-spacing:.07em}
.about .bar-title--lg::before{width:5px;background:linear-gradient(180deg,#1f6fc2 0 45%,var(--b-orange) 45% 100%)}
.about__lead{margin:9px 0 0 34px;font-size:13px;line-height:1.72;letter-spacing:.2em;color:var(--b-ink-mid)}
.about__cta{margin:8px 0 0 34px;min-width:207px;min-height:44px}
.about__badge{position:absolute;left:80.5%;top:-3px;display:flex;flex-direction:column;justify-content:center;width:239px;height:239px;padding-left:72px;border-radius:50%;background:rgba(240,246,252,.94);font-family:var(--font-serif);font-size:15px;line-height:1.9;letter-spacing:.13em;color:var(--b-ink)}
.about__badge::before{content:"";position:absolute;left:52px;top:56px;width:1px;height:118px;background:#8ea1be}
.about__badge small{display:block;margin-top:8px;padding-top:10px;font-family:var(--font-sans);font-size:12px;font-weight:700;letter-spacing:.22em;line-height:1.7;color:var(--b-ink-mid);background:linear-gradient(90deg,#8ea1be 0 36px,transparent 36px) top left/100% 1px no-repeat}

/* ---- recruit : Authority y 1276-1420 (144) -> 202 ----------
   Low horizontal strip: text-free plate (white-to-portrait fade). */
.recruit{position:relative;overflow:hidden;height:202px;background:#fff}
.recruit__plate img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%}
.recruit__inner{position:relative;z-index:3;height:100%;max-width:var(--b-shell);margin:0 auto}
/* Script x53 y1287; H2 x112 y1302; CTA y1366. */
.recruit__copy{position:absolute;left:11%;top:30px}
.script--recruit{position:absolute;left:-83px;top:-20px;font-size:27px;color:var(--b-ink-mid);transform:rotate(-12deg)}
.recruit h2{word-break:keep-all;font-size:20px;font-weight:700;line-height:1.5;letter-spacing:.1em}
.recruit__br{display:none}
.recruit__lead{margin-top:6px;font-size:13px;line-height:1.73;letter-spacing:.19em;color:var(--b-ink-mid)}
.recruit__actions{display:flex;align-items:center;gap:22px;margin-top:10px}
.recruit__actions .btn{min-width:206px;min-height:46px}
.recruit__actions .gate-note{margin:0}
/* Script right: Authority x788-917 y1330-1380 -> 1108 / 76. */
.recruit__note{position:absolute;left:77%;top:70px;font-family:var(--font-script);font-size:21px;line-height:1.6;color:var(--b-ink);transform:rotate(-8deg);transform-origin:0 50%;text-shadow:0 0 8px rgba(255,255,255,.9)}

/* ---- footer : Authority y 1432-1536 (104) -> 146 -----------
   Information hub: logo, address, phone mass, three link columns,
   island graphic. */
.site-footer{position:relative;background:#fff;border-top:1px solid var(--b-line-soft);padding:12px 0 8px}
.site-footer__inner{display:grid;grid-template-columns:320px minmax(0,1fr) 210px;gap:34px;align-items:start}
.site-footer__addr{font-size:11.5px;color:#4f6a88;margin-top:7px}
.site-footer__tel{display:flex;align-items:center;gap:10px;margin-top:6px;color:var(--b-blue)}
.site-footer__tel strong{display:block;font-size:26px;letter-spacing:.03em;color:var(--b-blue);line-height:1.2}
.site-footer__tel small{display:block;font-size:11px;color:#4f6a88}
.site-footer__nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;font-size:12px}
.site-footer__nav ul{padding:2px 0 2px 24px;border-left:1px solid var(--b-line)}
.site-footer__nav a{display:inline-flex;align-items:center;min-height:26px;min-width:44px;color:var(--b-ink-mid)}
.site-footer__nav a:hover{color:var(--b-blue);text-decoration:underline}
.site-footer__island{display:flex;align-items:center;gap:12px;justify-self:end;font-family:var(--font-serif);font-size:14px;line-height:1.8;color:var(--b-ink)}
.island-mark{width:62px;height:auto;flex:none}
.site-footer__copy{margin-top:6px;text-align:right;font-size:11px;color:#4f6a88}
.site-footer__copy small{font-size:11px}
.site-footer .brand{--b-logo-h:38px}

/* Shadow CMS notice layer — rendered only when a published notice exists. */
.kz-notice-b{background:var(--b-wash);border-top:1px solid var(--b-line);border-bottom:1px solid var(--b-line)}
.kz-notice-b__inner{display:flex;align-items:center;gap:24px;padding:18px var(--b-gutter)}
.kz-notice-b__flag{flex:none;color:var(--b-blue-deep);font-size:11px;font-weight:800;letter-spacing:.14em}
.kz-notice-b--emergency .kz-notice-b__flag{color:var(--b-alert)}
.kz-notice-b__copy{min-width:0;flex:1}
.kz-notice-b h2{margin:0;color:var(--b-ink);font-family:var(--font-serif);font-size:20px;line-height:1.45}
.kz-notice-b p{margin:4px 0 0;color:var(--b-ink-mid);font-size:14px;line-height:1.7}
.kz-notice-b .more-link{flex:none}
@media(max-width:900px){.kz-notice-b__inner{align-items:flex-start;flex-direction:column;gap:8px;padding:16px 24px}.kz-notice-b h2{font-size:18px}.kz-notice-b .more-link{margin-top:2px}}

/* CMS detail surfaces; does not affect locked TOP unless a CMS detail URL is opened. */
.kz-content-b{background:linear-gradient(180deg,#fff,var(--b-wash));min-height:60vh;padding:72px 0 96px}
.kz-content-b__shell{max-width:1040px;margin:0 auto;padding:0 36px}
.kz-content-b .kz-breadcrumb{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 38px;color:var(--b-ink-soft);font-size:13px}
.kz-content-b .kz-breadcrumb a{color:var(--b-blue-deep)}
.kz-content-b .kz-article{position:relative;background:#fff;border-left:6px solid var(--b-orange);padding:46px 54px;box-shadow:0 16px 42px rgba(14,58,128,.08)}
.kz-content-b .kz-article__label{margin:0 0 12px;color:var(--b-blue);font-size:11px;font-weight:800;letter-spacing:.16em}
.kz-content-b .kz-article h1{margin:0;color:var(--b-ink);font-family:var(--font-serif);font-size:clamp(30px,4vw,48px);line-height:1.35}
.kz-content-b .kz-article time{display:block;margin-top:14px;color:var(--b-ink-soft);font-size:13px}
.kz-content-b .kz-article__body{margin:36px 0;color:var(--b-ink-mid);font-size:16px;line-height:2}
.kz-content-b .kz-index-item{padding:24px 0;border-bottom:1px solid var(--b-line)}
.kz-content-b .kz-index-item h2{margin:0 0 8px;font-family:var(--font-serif);font-size:24px}.kz-content-b .kz-index-item a{color:var(--b-ink)}
@media(max-width:700px){.kz-content-b{padding:42px 0 64px}.kz-content-b__shell{padding:0 20px}.kz-content-b .kz-article{padding:28px 22px;border-left-width:4px}.kz-content-b .kz-article__body{margin:28px 0;font-size:15px}}

/* v1.2 facility-route focused delta */
.navi-grid--5{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.navi-grid--routes .navi-card{height:100%}
.navi-card--pending{cursor:default}
.navi-card--pending .navi-card__go{display:none}
.navi-grid--routes .route-status{position:absolute;right:12px;bottom:10px;display:inline-flex;align-items:center;min-height:26px;padding:3px 8px;border:1px solid var(--b-line);background:#f5f7fa;color:var(--b-ink-mid);font-size:11.5px;font-weight:700;line-height:1.4}
