/* =====================================================================
   KEIZANKAI 下地脳神経外科 B — TARGET-FIDELITY LAYER (Shadow Candidate 2026-10-01)
   Loaded after styles/tf-base.css (= byte copy of Current B lower/B/shimoji/styles/main.css).
   PC primary target: KEIZANKAI_SHIMOJI_B_PRIMARY_VISUAL_TARGET_PC_2026-10-01 (~2896px @1440).
   SP: KEIZANKAI_SHIMOJI_B_SP_APPROVED_LOCKED_2026-09-29 (390, independent composition).
   768–1099 = bridge. Botanical framing = B TOP runtime leaf-a/b/c (decorative only, aria-hidden).
   No A tokens / A assets. No screenshot-derived assets.
   ===================================================================== */
:root{
  --field:#f3f8fd;
  --mist:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 220' preserveAspectRatio='none'%3E%3Cdefs%3E%3Cfilter id='b'%3E%3CfeGaussianBlur stdDeviation='6'/%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23b)'%3E%3Cpath d='M0 170 L140 96 L220 128 L330 60 L450 132 L560 104 L700 150 L700 220 L0 220Z' fill='%23d6e7f7' fill-opacity='.75'/%3E%3Cpath d='M380 190 L520 118 L640 160 L780 90 L920 150 L1060 120 L1200 170 L1200 220 L380 220Z' fill='%23e2eefa' fill-opacity='.8'/%3E%3C/g%3E%3C/svg%3E");
  --wave:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 28' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V12C1300 26 1180 6 1040 14S780 28 640 16 380 4 240 16 80 24 0 14Z'/%3E%3C/svg%3E");
}
body{background:var(--field)}
main{position:relative}

/* ---------- botanical layer (all widths) ---------- */
.leaves{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.leaf{z-index:0}
.leaves--hero .leaf,.leaves--closing .leaf{z-index:1}
.leaf{position:absolute;max-width:none;height:auto;mix-blend-mode:multiply;filter:saturate(2.6) contrast(1.2) brightness(.97);-webkit-mask-image:radial-gradient(closest-side,#000 62%,transparent);mask-image:radial-gradient(closest-side,#000 62%,transparent)}
.leaf--vivid{filter:brightness(.75) contrast(1.5) saturate(3) hue-rotate(10deg)}
.leaves--route .leaf,.leaves--utility .leaf,.leaves--info .leaf{filter:saturate(1.9) contrast(1.08)}
.info,.schedule,.rows-field,.utility-field,.page-route{position:relative}
.info>.wrap,.schedule>.wrap,.rows-field>.row,.utility-field>.utility,.page-route>.wrap{position:relative;z-index:1}

/* ---------- page route navigation (all widths, hairline grammar) ---------- */
.page-route__inner{display:flex;align-items:center;gap:40px}
.page-route__current{display:flex;align-items:baseline;gap:14px;flex:none}
.page-route__script{font-size:15px;color:#5f79a6}
.page-route__eyebrow{font-size:12px;font-weight:700;color:var(--text-soft);letter-spacing:.1em;padding:1px 10px;border:1px solid var(--line);border-radius:999px;line-height:1.6}
.page-route__title{font-family:var(--serif);font-size:21px;font-weight:600;color:var(--ink);letter-spacing:.06em;line-height:1.4}
.page-route__links{flex:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid rgba(11,50,114,.2);border-bottom:1px solid rgba(11,50,114,.2)}
.page-route__link{display:flex;align-items:center;gap:10px;min-height:50px;padding:0 18px;color:var(--ink);font-weight:700;font-size:14px;letter-spacing:.05em;transition:background-color .2s,color .2s}
.page-route__link+.page-route__link{border-left:1px solid rgba(11,50,114,.12)}
.page-route__link [lang="en"]{font-family:var(--script);font-style:italic;font-weight:500;font-size:14px;color:#5f79a6;letter-spacing:.02em}
.page-route__link svg{width:15px;height:15px;margin-left:auto;color:var(--ink)}
.page-route__link:hover{background:rgba(255,255,255,.75);color:var(--orange-text)}

/* =====================================================================
   PC (≥1100) — target geometry
   ===================================================================== */
@media (min-width:1100px){
  .site-header{box-shadow:0 1px 0 rgba(11,50,114,.06)}
  .site-header__inner{height:65px}

  /* hero : exterior large/right, sky, navy diagonal, canopy */
  .hero{height:512px;background:radial-gradient(ellipse 16% 9% at 52% 16%,rgba(255,255,255,.95),transparent 70%),radial-gradient(ellipse 12% 7% at 60% 12%,rgba(255,255,255,.85),transparent 70%),radial-gradient(ellipse 18% 8% at 82% 30%,rgba(255,255,255,.8),transparent 70%),linear-gradient(180deg,#4f9fe4 0%,#8cc4f0 45%,#cfe6f8 80%,#e6f2fb 100%)}
  .hero__photo{z-index:0;top:50px;bottom:0;width:74%}
  .hero__photo img{object-position:50% 100%;filter:saturate(1.08) contrast(1.03) brightness(1.03);-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 12%),linear-gradient(180deg,transparent 0,rgba(0,0,0,.55) 12%,#000 30%);-webkit-mask-composite:source-in;mask-image:linear-gradient(90deg,transparent 0,#000 12%),linear-gradient(180deg,transparent 0,rgba(0,0,0,.55) 12%,#000 30%);mask-composite:intersect}
  .leaf--canopy{top:-170px;right:-110px;width:400px;transform:rotate(-10deg);filter:brightness(.85) contrast(1.5) saturate(3) hue-rotate(10deg)}
  .leaf--canopy2{display:none}
  .leaf--hero-edge{left:-120px;bottom:-260px;width:300px;mix-blend-mode:normal;opacity:.55;filter:saturate(1.7) brightness(1.05);-webkit-mask-image:radial-gradient(closest-side,#000 40%,transparent);mask-image:radial-gradient(closest-side,#000 40%,transparent)}
  .breadcrumb{top:16px;left:84px}
  .hero__panel{top:48px;width:40.5%;min-width:540px;background:linear-gradient(168deg,rgba(10,74,146,.93) 0%,rgba(4,54,116,.95) 48%,rgba(2,44,98,.96) 100%);clip-path:polygon(0 0,86% 0,100% 100%,0 100%)}
  .hero__panel::after{content:"";position:absolute;inset:0;background:linear-gradient(115deg,rgba(255,255,255,.08) 0,rgba(255,255,255,0) 38%);pointer-events:none}
  .hero__copy{position:relative;z-index:1;padding:30px 40px 0 106px}
  .hero__title{font-size:44px}
  .hero__lead{margin-top:10px;font-size:34px;line-height:1.5}
  .hero__desc{margin-top:12px;font-size:14.5px;line-height:2.05}

  /* notice : compact strip attached to hero field */
  .notice{margin-top:-22px}
  .notice__card{min-height:78px;border-radius:8px;box-shadow:0 8px 24px rgba(20,60,120,.1)}
  .notice__icon{width:46px;height:46px}
  .notice__icon svg{width:25px;height:25px}
  .notice__title{font-size:20px}
  .notice__body{padding:10px 34px;font-size:14.5px}
  .notice__meta{font-size:11.5px;line-height:1.5}

  /* information : one integrated pale field + leafy framing */
  .info{padding:18px 0 22px;background:linear-gradient(180deg,rgba(255,255,255,0) 0,rgba(255,255,255,.65) 40%,rgba(236,244,252,.4) 100%)}
  .info::before{content:"";position:absolute;left:0;bottom:0;width:48%;height:150px;background:var(--mist) left bottom/100% 100% no-repeat;opacity:.9;pointer-events:none}
  .leaves--info .leaf--l{left:-60px;top:-120px;width:260px}
  .leaves--info .leaf--r{right:-70px;bottom:-140px;width:280px;transform:scaleX(-1)}
  .info__grid{align-items:center}
  .info .sec-head{padding:0 0 30px 32px}
  .info .sec-title{font-size:37px}
  .info .sec-lead{margin-top:14px;font-size:14px;line-height:2}
  .qcards{gap:12px}
  .qcard{min-height:130px;padding:14px 16px 12px 14px;grid-template-columns:64px 1fr;background:rgba(255,255,255,.94);box-shadow:0 6px 20px rgba(20,60,120,.07)}
  .qcard__icon{width:64px;height:64px}
  .qcard__icon svg{width:33px;height:33px}
  .qcard__title{font-size:16px}

  /* schedule : dense horizontal composition */
  .schedule{padding-top:12px}
  .leaves--schedule .leaf--l{left:-90px;top:10px;width:220px;transform:rotate(-12deg)}
  .leaves--schedule .leaf--r{right:-80px;top:-40px;width:230px;transform:scaleX(-1) rotate(-6deg)}
  .schedule__band{min-height:262px;border-radius:8px 8px 0 0;box-shadow:0 8px 24px rgba(20,60,120,.08)}
  .schedule__panel{padding:28px 60px 26px 42px}
  .schedule__lead{margin-top:10px;font-size:14px;line-height:1.95}
  .schedule__cta{margin-top:20px;height:48px}
  .schedule__links{padding:6px 32px 6px 22px}
  .srow__icon{width:64px;height:64px}
  .srow__icon svg{width:32px;height:32px}
  .board{margin-top:0;border-left:0;border-top:1px solid var(--line);border-radius:0 0 8px 8px;box-shadow:0 10px 22px rgba(20,60,120,.07)}
  .board__summary{min-height:40px;padding:6px 32px 6px 42px;font-size:13px;color:var(--text)}
  .board__summary span::before{content:"";display:inline-block;width:3px;height:14px;margin:0 12px -2px 0;background:var(--orange-cta)}

  /* rows (services / first / access) : 3-part, unified watercolor field */
  .rows-field{padding:4px 0 6px;background:radial-gradient(ellipse 40% 30% at 12% 20%,rgba(255,255,255,.9),transparent 70%),radial-gradient(ellipse 35% 25% at 88% 55%,rgba(222,236,250,.9),transparent 70%),radial-gradient(ellipse 45% 30% at 20% 85%,rgba(255,255,255,.85),transparent 70%)}
  .rows-field::before{content:"";position:absolute;left:0;right:0;bottom:0;height:180px;background:var(--mist) center bottom/100% 100% no-repeat;opacity:.55;pointer-events:none}
  .leaves--rows .leaf--l1{left:-80px;top:-40px;width:230px}
  .leaves--rows .leaf--r1{right:-90px;top:-10px;width:250px;transform:scaleX(-1)}
  .leaves--rows .leaf--l2{left:-110px;top:470px;width:220px;transform:rotate(-20deg)}
  .leaves--rows .leaf--r2{right:-70px;top:430px;width:200px;transform:scaleX(-1)}
  .leaves--rows .leaf--l3{left:-90px;bottom:-60px;width:240px;transform:rotate(12deg)}
  .row{padding-top:14px}
  .row__grid{grid-template-columns:minmax(0,392fr) minmax(0,480fr) minmax(0,476fr);column-gap:18px}
  .row__head{padding:6px 12px 6px 28px}
  .row__head .sec-title{font-size:34px}
  .row__head .sec-lead{margin-top:10px;font-size:14px;line-height:1.95}
  .row__cta{margin-top:20px;height:52px;width:300px}
  .row__photo{min-height:258px;border-radius:8px;box-shadow:0 8px 22px rgba(20,60,120,.1)}
  .row__side{border-radius:8px;background:rgba(255,255,255,.82);box-shadow:0 6px 20px rgba(20,60,120,.06)}
  .depts{padding:20px 28px 14px 30px}
  .depts__title{font-size:21px}
  .depts__list,.depts__extra{grid-template-columns:118px 118px minmax(0,1fr);gap:0 16px;margin-top:8px;font-size:13px}
  .depts__extra{margin-top:0}
  .depts__list li,.depts__extra li{line-height:1.95}
  .depts__note{margin-top:8px;padding-top:8px;font-size:11.5px;line-height:1.7}
  .steps{gap:12px;padding:0}
  .first .row__side{background:transparent;box-shadow:none}
  .step{min-height:70px;background:rgba(255,255,255,.92)}
  .step__num{width:66px;font-size:21px;background:linear-gradient(135deg,#6aa4e4,#3f7fce)}
  .access__photo{margin-left:-40px;border-radius:0 8px 8px 0}
  .access__photo img{object-position:34% 45%}
  .ainfo{margin-left:0;padding:4px 30px 4px 18px}
  .ainfo__row{grid-template-columns:52px 1fr;column-gap:18px;padding:9px 0}
  .ainfo__icon{width:50px;height:50px}
  .ainfo__icon svg{width:27px;height:27px}
  .ainfo dt{font-size:16px}
  .ainfo dd{font-size:14px;line-height:1.55}

  /* FAQ + News : one terminal utility field */
  .utility-field{margin-top:18px;padding:18px 0 20px;background:linear-gradient(180deg,rgba(255,255,255,.7),rgba(255,255,255,.92) 40%,rgba(240,247,253,.9))}
  .leaves--utility .leaf--l{left:-70px;top:-60px;width:240px;transform:rotate(-8deg)}
  .leaves--utility .leaf--r{right:-80px;top:-50px;width:250px;transform:scaleX(-1)}
  .utility{grid-template-columns:minmax(0,880fr) minmax(0,440fr);gap:0 28px;padding-top:0}
  .faq{grid-template-columns:minmax(0,370fr) minmax(0,480fr);gap:0 26px;padding-top:0}
  .faq__head{padding:4px 0 0 32px}
  .faq__head .sec-title{font-size:32px}
  .faq__head .sec-lead{margin-top:8px;font-size:13.5px}
  .faq__more{margin-top:22px;width:300px;height:52px}
  .faq__list{gap:3px}
  .faq__item{background:rgba(255,255,255,.95)}
  .faq__item summary{min-height:32px;padding:2px 18px;font-size:13.5px}
  .faq__meta{margin-top:2px;font-size:11px;line-height:1.6}
  .news{padding:4px 12px 0 30px;background:none;box-shadow:none;border-radius:0;border-left:1px solid var(--line)}
  .news .sec-title{font-size:28px}
  .news__body{margin-top:16px;gap:16px}
  .news__img{width:170px;height:100px}
  .news__all{width:180px;height:56px}

  /* closing : landscape-first + navy diagonal + botanical foreground */
  .closing{min-height:214px;margin-top:0;background:#2a86cf;grid-template-columns:minmax(0,520fr) minmax(0,920fr);-webkit-mask:var(--wave) center bottom/100% 22px no-repeat,linear-gradient(#000,#000) top/100% calc(100% - 21px) no-repeat;mask:var(--wave) center bottom/100% 22px no-repeat,linear-gradient(#000,#000) top/100% calc(100% - 21px) no-repeat}
  .closing__bg{left:26%}
  .closing__bg img{object-position:center 40%}
  .leaves--closing .leaf--fg-r{right:-20px;top:-40px;width:250px;filter:brightness(.8) contrast(1.5) saturate(3) hue-rotate(10deg)}
  .leaves--closing .leaf--fg-l{left:-60px;bottom:-360px;width:260px;opacity:.5;mix-blend-mode:screen;filter:saturate(1.5)}
  .closing__panel{padding:18px 40px 26px 104px;background:linear-gradient(165deg,rgba(6,66,138,.97),rgba(2,46,102,.98))}
  .closing__title{font-size:29px}
  .closing__text{margin-top:10px;font-size:13.5px}
  .closing__cta{padding-right:64px;gap:18px}
  .closing__cta .btn{height:62px;width:286px}

  /* page route navigation : compact hairline transition into footer */
  .page-route{margin-top:-6px;padding:14px 0 12px;background:linear-gradient(180deg,rgba(236,245,252,.9),#fff 85%)}
  .page-route__inner{padding:0 84px}
  .leaves--route .leaf--r{right:-60px;top:-120px;width:230px;transform:scaleX(-1)}
  .leaves--route .leaf--l{left:-80px;top:-90px;width:210px}

  /* footer : compact, light */
  .site-footer__main{min-height:76px}
  .footer-bar__inner{min-height:50px}
}

/* =====================================================================
   CONTROLLER FIDELITY CLOSURE
   ===================================================================== */
@media (min-width:1100px){
  details.board{display:none!important}
  .leaf--canopy{top:-185px;right:-90px;width:455px;opacity:.92;filter:brightness(.72) contrast(1.8) saturate(4) hue-rotate(5deg)}
  .leaf--canopy2{display:block;top:-205px;left:-115px;width:270px;opacity:.42;filter:brightness(.92) contrast(1.35) saturate(2.4)}
  .leaf--hero-edge{left:-105px;bottom:-245px;width:285px;opacity:.58}
  .hero__photo::before{content:"";position:absolute;z-index:2;left:8%;right:0;top:0;height:46%;pointer-events:none;background:linear-gradient(180deg,rgba(92,174,231,.28),rgba(155,210,242,.10),transparent);mix-blend-mode:screen}
  .closing>.leaves{overflow:visible}
  .leaves--closing .leaf--fg-r{top:-80px;right:-35px;width:285px;opacity:.58}
  .leaves--closing .leaf--fg-l{left:38%;bottom:-300px;width:340px;opacity:.45}
}

/* Tablet bridge fidelity */
@media (min-width:768px) and (max-width:1099px){
  details.board{display:none!important}
  .leaves--hero .leaf--canopy{top:-130px;right:-70px;width:270px;opacity:.62}
  .leaves--hero .leaf--canopy2{display:none}
  .leaves--hero .leaf--hero-edge{left:-70px;bottom:-210px;width:190px;opacity:.36}
  .leaves--info .leaf--l{left:-55px;top:-70px;width:150px}
  .leaves--info .leaf--r{right:-55px;bottom:-80px;width:150px}
  .leaves--schedule .leaf--l,.leaves--schedule .leaf--r{width:140px;opacity:.34}
  .rows-field .leaf{width:130px!important;opacity:.30!important}
  .utility-field .leaf{width:130px!important;opacity:.28!important}
  .leaves--closing .leaf{width:150px!important;opacity:.32!important}
  .page-route{padding:12px 0}
  .page-route__inner{padding:0 32px;gap:22px}
  .page-route__current{min-width:210px}
  .page-route__links{grid-template-columns:repeat(2,minmax(0,1fr))}
  .page-route__link{min-width:0;padding:0 12px}
  .leaves--route{display:none}
}

/* Locked SP Authority closure */
@media (max-width:767px){
  details.board{display:none!important}
  .leaf{max-width:100%}
  .leaves--hero .leaf--canopy{top:-38px;right:-28px;width:122px;opacity:.54;filter:brightness(.82) contrast(1.45) saturate(2.4)}
  .leaves--hero .leaf--canopy2,.leaves--hero .leaf--hero-edge{display:none}
  .leaves--info .leaf--l{left:-45px;top:28px;width:82px;opacity:.30}
  .leaves--info .leaf--r{right:-46px;bottom:12px;width:84px;opacity:.27;transform:scaleX(-1)}
  .leaves--schedule{display:none}
  .leaves--rows .leaf{display:none}
  .leaves--rows .leaf--l1{display:block;left:-48px;top:80px;width:82px;opacity:.24}
  .leaves--rows .leaf--r1{display:block;right:-48px;top:1020px;width:82px;opacity:.22;transform:scaleX(-1)}
  .leaves--utility .leaf--l{left:-44px;top:40px;width:78px;opacity:.22}
  .leaves--utility .leaf--r{right:-45px;bottom:20px;width:80px;opacity:.22;transform:scaleX(-1)}
  .leaves--closing .leaf--fg-r{right:-42px;top:10px;width:88px;opacity:.26}
  .leaves--closing .leaf--fg-l{left:-44px;bottom:-20px;width:82px;opacity:.23}
  .leaves--route{display:none}

  .info{padding-top:32px}
  .schedule{padding-top:30px}
  .row{padding-top:40px}
  .utility{padding-top:40px}
  .faq{padding-top:40px}
  .closing{margin-top:40px;padding-top:36px;padding-bottom:30px}

  .page-route{margin-top:0;padding:18px 0 16px;background:linear-gradient(180deg,#f1f8fd,#fff)}
  .page-route__inner{display:block;padding:0 18px;min-width:0}
  .page-route__current{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 10px;min-width:0}
  .page-route__script{width:100%;font-size:12px}
  .page-route__eyebrow{font-size:10px}
  .page-route__title{font-size:19px}
  .page-route__links{width:100%;min-width:0;margin-top:12px;grid-template-columns:repeat(2,minmax(0,1fr))}
  .page-route__link{min-width:0;min-height:46px;padding:5px 8px;gap:4px;font-size:12px;overflow:hidden}
  .page-route__link [lang="en"]{font-size:10px}
  .page-route__link svg{width:12px;height:12px}
  .site-footer__main{padding-top:24px}
  .footer-bar__inner{padding-top:10px;padding-bottom:12px}
}

/* =====================================================================
   BRIDGE + SP (≤1099) — botanical placement is explicit; unused leaves are hidden.
   ===================================================================== */
@media (max-width:1099px){
  .leaf{display:none;width:220px}
  .leaf--canopy,.leaves--info .leaf--l,.leaves--rows .leaf--r1,.leaves--rows .leaf--l2,.leaves--utility .leaf--r,.leaves--closing .leaf--fg-r,.leaves--route .leaf--r{display:block}
  .leaf--canopy{top:-90px;right:-70px;width:280px;transform:rotate(-10deg);filter:brightness(.85) contrast(1.5) saturate(3) hue-rotate(10deg);z-index:1}
  .leaves--info .leaf--l{left:-110px;top:-40px;width:200px}
  .leaves--rows .leaf--r1{right:-80px;top:-60px;width:200px;transform:scaleX(-1)}
  .leaves--rows .leaf--l2{left:-100px;top:48%;width:190px;transform:rotate(-16deg)}
  .leaves--utility .leaf--r{right:-90px;top:-40px;width:200px;transform:scaleX(-1)}
  .leaves--closing .leaf--fg-r{right:-60px;bottom:-120px;width:230px;filter:brightness(.8) contrast(1.5) saturate(3) hue-rotate(10deg);z-index:1}
  .leaves--route .leaf--r{right:-80px;top:-70px;width:200px;transform:scaleX(-1)}
  .page-route{padding:22px 0 18px;background:linear-gradient(180deg,rgba(236,245,252,.95),#fff 90%)}
  .page-route__inner{flex-direction:column;align-items:stretch;gap:12px}
  .page-route__links{grid-template-columns:repeat(2,minmax(0,1fr))}
  .page-route__link:nth-child(3){border-left:0}
  .page-route__link:nth-child(n+3){border-top:1px solid rgba(11,50,114,.12)}
}
@media (min-width:768px) and (max-width:1099px){
  .page-route__inner{flex-direction:row;align-items:center}
  .page-route__current{flex-direction:column;align-items:flex-start;gap:2px}
}

@media (max-width:767px){
  /* hero : photo top (whole building + sky), then navy content panel */
  .hero__photo{height:318px;overflow:hidden;background:radial-gradient(ellipse 30% 14% at 58% 20%,rgba(255,255,255,.95),transparent 70%),radial-gradient(ellipse 22% 10% at 76% 14%,rgba(255,255,255,.8),transparent 70%),linear-gradient(180deg,#3f95e0 0%,#7cbcee 55%,#bfe0f6 100%)}
  .hero__photo img{position:absolute;inset:auto;left:-104px;bottom:0;width:560px;max-width:none;height:auto;object-fit:fill;filter:saturate(1.08) contrast(1.03) brightness(1.03);-webkit-mask-image:linear-gradient(180deg,transparent 0,rgba(0,0,0,.6) 14%,#000 32%);mask-image:linear-gradient(180deg,transparent 0,rgba(0,0,0,.6) 14%,#000 32%)}
  .hero__photo::after{z-index:1;height:110px}
  .leaves--hero{z-index:1}
  .hero__panel{margin-top:-30px}
  .hero__copy{padding:0 20px 28px}

  /* closing : landscape is protagonist, copy over it */
  .closing__panel{width:auto}
  .srow{min-height:104px}
  .closing{margin-top:40px;padding:40px 20px 34px}

  /* compact route + footer */
  .page-route__current{flex-wrap:wrap;gap:4px 10px}
  .page-route__script{flex-basis:100%;font-size:14px}
  .page-route__title{font-size:20px}
  .page-route__link{min-height:48px;padding:0 12px;font-size:14px}
  .page-route__link [lang="en"]{display:none}
  .site-footer__main{position:relative;padding:22px 20px 6px}
  .footer-nav{margin-top:12px;padding-top:6px}
  .to-top{position:absolute;right:20px;bottom:14px;margin:0}
  .footer-bar__inner{padding:10px 20px 12px;gap:2px}
}

/* Route/Footer scenic continuity closure */
@media (min-width:1100px){
  .page-route{min-height:118px;margin-top:-4px;padding:18px 0 16px;background:
    linear-gradient(90deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.90) 48%,rgba(239,248,252,.82) 100%),
    url("../assets/deco/closing-sea.jpg") center 58%/cover no-repeat}
  .page-route__inner{min-height:84px}
}
@media (max-width:767px){
  .page-route{min-height:170px;padding:26px 0 24px;background:
    linear-gradient(180deg,rgba(255,255,255,.96) 0%,rgba(244,250,253,.88) 62%,rgba(238,247,251,.94) 100%),
    url("../assets/deco/closing-sea.jpg") center 44%/cover no-repeat}
  .page-route__inner{min-height:120px}
  .site-footer__main{padding-top:30px;padding-bottom:12px}
}

/* Accessibility advisory closure for new/SP utility areas */
@media (max-width:767px){
  .page-route__eyebrow{font-size:11.5px}
  .page-route__link [lang="en"]{font-size:11.5px}
  .footer-nav a{min-height:44px}
  .footer-bar__links a{min-height:44px}
  .ainfo__tel{min-height:44px;align-items:center}
}

/* =====================================================================
   FINAL 3-DELTA LAYER (Lane03 worker, 2026-10-01) — CSS-only, appended.
   HTML / JS / REAL photos / logo / decorative bytes unchanged.
   D1 hero photo fit + canopy · D2 access photo edge + SP closing · D3 botanical refinement + SP schedule micro.
   Leaf filter order = brightness → contrast → saturate so the pale JPEG field clips to white under
   multiply (no halo ellipse) while leaf outlines gain contrast. Source leaves are soft at native scale.
   leaf-c carries a bluer paper field, so it gets a lower-saturation variant to avoid cyan halos.
   ===================================================================== */

/* ---------- D1 HERO (PC) : smaller bottom-anchored exterior, more original sky ---------- */
@media (min-width:1100px){
  .hero{background:linear-gradient(180deg,#5d9fdc 0%,#8dbbe6 16%,#b2cce6 30%,#cddff0 58%,#e6f2fb 100%)}
  .hero__photo img{position:absolute;top:auto;left:auto;right:0;bottom:0;width:auto;height:91%;max-width:none;object-fit:fill;
    filter:brightness(1.09) contrast(.97) saturate(1.04);
    -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 17%),linear-gradient(180deg,transparent 0,#000 6.5%);-webkit-mask-composite:source-in;
    mask-image:linear-gradient(90deg,transparent 0,#000 17%),linear-gradient(180deg,transparent 0,#000 6.5%);mask-composite:intersect}
  .hero__photo::before{top:9%;height:34%;background:linear-gradient(180deg,rgba(150,196,236,.22),rgba(190,220,244,.08) 60%,transparent)}
  .leaf--canopy{top:-104px;right:-62px;width:290px;opacity:.9;transform:rotate(-8deg);filter:brightness(.72) contrast(2.3) saturate(1.3);
    -webkit-mask-image:radial-gradient(closest-side,#000 72%,transparent);mask-image:radial-gradient(closest-side,#000 72%,transparent)}
  .leaf--canopy2{top:-170px;left:-96px;width:300px;opacity:.5;filter:brightness(.8) contrast(2.2) saturate(1.3)}
  .leaf--hero-edge{filter:brightness(.8) contrast(2.2) saturate(1.3);-webkit-mask-image:radial-gradient(closest-side,#000 58%,transparent);mask-image:radial-gradient(closest-side,#000 58%,transparent)}
}

/* ---------- D1 HERO (SP) ---------- */
@media (max-width:767px){
  .leaves--hero{z-index:auto} /* let the canopy multiply against the sky instead of an isolated white field */
  .hero__photo{background:linear-gradient(180deg,#559fe0 0%,#88bbe8 18%,#aecae6 30%,#c4d6e9 42%)}
  .hero__photo img{left:-25px;width:470px;filter:brightness(1.09) contrast(.97) saturate(1.04);
    -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 6.5%);mask-image:linear-gradient(180deg,transparent 0,#000 6.5%)}
  .leaves--hero .leaf--canopy{top:-34px;right:-34px;width:156px;opacity:.85;transform:rotate(-8deg);filter:brightness(.72) contrast(2.2) saturate(1.4);
    -webkit-mask-image:radial-gradient(closest-side,#000 70%,transparent);mask-image:radial-gradient(closest-side,#000 70%,transparent)}
}

/* ---------- D2 ACCESS photo : soften rectangle, restrained exposure, greenery overlap ---------- */
@media (min-width:1100px){
  .access__photo{overflow:visible;box-shadow:none;background:transparent}
  .access__photo img{filter:brightness(1.05) contrast(.97) saturate(1.02);
    -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 18%,#000 94%,transparent 100%),linear-gradient(180deg,transparent 0,#000 6%,#000 90%,transparent 100%);-webkit-mask-composite:source-in;
    mask-image:linear-gradient(90deg,transparent 0,#000 18%,#000 94%,transparent 100%),linear-gradient(180deg,transparent 0,#000 6%,#000 90%,transparent 100%);mask-composite:intersect}
  .access__photo::after{content:"";position:absolute;z-index:1;left:-6px;bottom:-46px;width:176px;height:288px;pointer-events:none;
    background:url("../assets/deco/target-recovered/leaf-a.jpg") center/100% 100% no-repeat;mix-blend-mode:multiply;transform:rotate(14deg);
    filter:brightness(.8) contrast(2.2) saturate(1.3);
    -webkit-mask-image:radial-gradient(closest-side,#000 66%,transparent);mask-image:radial-gradient(closest-side,#000 66%,transparent)}
  .access__photo::before{content:"";position:absolute;z-index:1;right:-4px;top:-58px;width:150px;height:217px;pointer-events:none;
    background:url("../assets/deco/target-recovered/leaf-c.jpg") center/100% 100% no-repeat;mix-blend-mode:multiply;transform:scaleX(-1);
    filter:brightness(.8) contrast(2.2) saturate(1.3);opacity:.85;
    -webkit-mask-image:radial-gradient(closest-side,#000 62%,transparent);mask-image:radial-gradient(closest-side,#000 62%,transparent)}
}
@media (max-width:767px){
  .access__photo{overflow:visible;background:transparent}
  .access__photo img{border-radius:10px;filter:brightness(1.05) contrast(.97) saturate(1.02);
    -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 4%,#000 96%,transparent 100%),linear-gradient(180deg,transparent 0,#000 7%,#000 88%,transparent 100%);-webkit-mask-composite:source-in;
    mask-image:linear-gradient(90deg,transparent 0,#000 4%,#000 96%,transparent 100%),linear-gradient(180deg,transparent 0,#000 7%,#000 88%,transparent 100%);mask-composite:intersect}
  .access__photo::after{content:"";position:absolute;z-index:1;right:-16px;top:-12px;width:116px;height:168px;pointer-events:none;
    background:url("../assets/deco/target-recovered/leaf-c.jpg") center/100% 100% no-repeat;mix-blend-mode:multiply;transform:scaleX(-1);
    filter:brightness(.74) contrast(2.3) saturate(1.2);opacity:.95;
    -webkit-mask-image:radial-gradient(closest-side,#000 66%,transparent);mask-image:radial-gradient(closest-side,#000 66%,transparent)}
}

/* ---------- D2 SP CLOSING : bright sea middle, mountain back, foreground greenery right/bottom ---------- */
@media (max-width:767px){
  .closing__bg img{object-position:88% 40%;filter:brightness(1.08) contrast(1.03) saturate(1.12)}
  .closing__bg::after{background:linear-gradient(180deg,rgba(4,52,112,.38) 0%,rgba(4,58,120,.14) 30%,rgba(4,58,120,0) 52%,rgba(4,58,120,0) 100%)}
  .leaves--closing .leaf--fg-r{display:block;top:auto;right:-46px;bottom:-60px;width:170px;opacity:.9;mix-blend-mode:darken;filter:brightness(.8) contrast(2.2) saturate(1.3);
    -webkit-mask-image:radial-gradient(closest-side,#000 70%,transparent);mask-image:radial-gradient(closest-side,#000 70%,transparent)}
  .leaves--closing .leaf--fg-l{display:block;left:-50px;bottom:-110px;width:220px;opacity:.75;mix-blend-mode:darken;filter:brightness(.8) contrast(2.2) saturate(1.3);
    -webkit-mask-image:radial-gradient(closest-side,#000 66%,transparent);mask-image:radial-gradient(closest-side,#000 66%,transparent)}
}

/* ---------- D3 BOTANICAL (PC) : crisper native-scale leaves at the edges, white field kept clear ---------- */
@media (min-width:1100px){
  .leaves--info .leaf,.leaves--schedule .leaf,.leaves--rows .leaf,.leaves--utility .leaf,.leaves--route .leaf{opacity:1;filter:brightness(.8) contrast(2.2) saturate(1.3);
    -webkit-mask-image:radial-gradient(closest-side,#000 70%,transparent);mask-image:radial-gradient(closest-side,#000 70%,transparent)}
  .leaves--info .leaf--l{left:-70px;top:-96px;width:240px}
  .leaves--info .leaf--r{right:-66px;bottom:-120px;width:250px}
  .leaves--schedule .leaf--l{left:-96px;top:24px;width:200px}
  .leaves--schedule .leaf--r{right:-92px;top:-20px;width:200px}
  .leaves--rows .leaf--l1{left:-88px;top:-30px;width:210px}
  .leaves--rows .leaf--r1{right:-84px;top:0;width:230px}
  .leaves--rows .leaf--l2{left:-104px;top:470px;width:200px}
  .leaves--rows .leaf--r2{right:-80px;top:420px;width:190px}
  .leaves--rows .leaf--l3{left:-92px;bottom:-50px;width:220px}
  .leaves--utility .leaf--l{left:-74px;top:-50px;width:220px}
  .leaves--utility .leaf--r{right:-84px;top:-40px;width:230px}
  .leaves--route .leaf--r{right:-62px;top:-96px;width:220px}
  .leaves--route .leaf--l{left:-80px;top:-70px;width:200px}
  .leaves--info .leaf[src$="leaf-c.jpg"],.leaves--rows .leaf[src$="leaf-c.jpg"],.leaves--utility .leaf[src$="leaf-c.jpg"],.leaves--route .leaf[src$="leaf-c.jpg"]{filter:brightness(.76) contrast(2.3) saturate(1.15)}
  .info::before{opacity:.7}
  .rows-field::before{opacity:.42}
  /* route → footer : scenic field fades into white instead of a hard cutoff; plant scale continues at footer edges */
  .page-route{background:
    linear-gradient(180deg,rgba(255,255,255,0) 55%,#fff 100%),
    linear-gradient(90deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.90) 48%,rgba(239,248,252,.82) 100%),
    url("../assets/deco/closing-sea.jpg") center 58%/cover no-repeat}
  .site-footer{position:relative;z-index:0;isolation:isolate}
  .site-footer::before,.site-footer::after{content:"";position:absolute;z-index:-1;top:0;bottom:0;width:110px;pointer-events:none;mix-blend-mode:multiply;
    filter:brightness(.8) contrast(2.2) saturate(1.3);opacity:.75;
    -webkit-mask-image:linear-gradient(90deg,#000 35%,transparent),linear-gradient(180deg,#000 50%,transparent);-webkit-mask-composite:source-in;mask-image:linear-gradient(90deg,#000 35%,transparent),linear-gradient(180deg,#000 50%,transparent);mask-composite:intersect}
  .site-footer::before{left:0;background:url("../assets/deco/target-recovered/leaf-a.jpg") right -40px top -30px/170px auto no-repeat}
  .site-footer::after{right:0;background:url("../assets/deco/target-recovered/leaf-c.jpg") left -40px top -20px/160px auto no-repeat;transform:scaleX(-1)}
}

/* ---------- D3 BOTANICAL (SP) + SP schedule micro ---------- */
@media (max-width:767px){
  .leaves--info .leaf,.leaves--rows .leaf,.leaves--utility .leaf{filter:brightness(.8) contrast(2.2) saturate(1.3);
    -webkit-mask-image:radial-gradient(closest-side,#000 68%,transparent);mask-image:radial-gradient(closest-side,#000 68%,transparent)}
  .leaves--info .leaf--l{left:-52px;top:24px;width:100px;opacity:.6}
  .leaves--info .leaf--r{right:-54px;bottom:10px;width:104px;opacity:.55}
  .leaves--rows .leaf--l1{left:-56px;top:76px;width:100px;opacity:.5}
  .leaves--rows .leaf--r1{right:-56px;top:1010px;width:100px;opacity:.5}
  .leaves--utility .leaf--l{left:-52px;top:36px;width:96px;opacity:.5}
  .leaves--utility .leaf--r{right:-54px;bottom:18px;width:100px;opacity:.5}
  .leaves--info .leaf[src$="leaf-c.jpg"],.leaves--rows .leaf[src$="leaf-c.jpg"],.leaves--utility .leaf[src$="leaf-c.jpg"]{filter:brightness(.76) contrast(2.3) saturate(1.15)}
  .page-route{background:
    linear-gradient(180deg,rgba(255,255,255,0) 60%,#fff 100%),
    linear-gradient(180deg,rgba(255,255,255,.96) 0%,rgba(244,250,253,.88) 62%,rgba(238,247,251,.94) 100%),
    url("../assets/deco/closing-sea.jpg") center 44%/cover no-repeat}
  .site-footer{position:relative;z-index:0;isolation:isolate}
  .site-footer::before{content:"";position:absolute;z-index:-1;top:0;right:0;width:62px;height:150px;pointer-events:none;
    background:url("../assets/deco/target-recovered/leaf-c.jpg") left -40px top -16px/104px auto no-repeat;mix-blend-mode:multiply;transform:scaleX(-1);
    filter:brightness(.8) contrast(2.2) saturate(1.3);opacity:.55;
    -webkit-mask-image:linear-gradient(90deg,#000 30%,transparent),linear-gradient(180deg,#000 45%,transparent);-webkit-mask-composite:source-in;mask-image:linear-gradient(90deg,#000 30%,transparent),linear-gradient(180deg,#000 45%,transparent);mask-composite:intersect}

  /* schedule rows : +20px per white row, +4px per gap (total +92px), same DOM / flow */
  .schedule__links{gap:14px}
  .srow{min-height:124px;padding:16px 20px 16px 16px;gap:18px}
  .srow__body{gap:6px}
  .srow__title{line-height:1.5}
  .srow__desc{line-height:1.7}
}

/* ==================== ROUTE NAV 8795 (Shadow 8795 / LINK ACTIVATION ROUTE_PENDING) ====================
   Scoped to .page-route only. Replaces the duplicated global menu with three source-confirmed onward choices.
   Rows are non-actionable (role=link aria-disabled=true, no href). Active-link rules are a future integration task. */
.page-route__onward{flex:1;min-width:0}
.page-route__onward-title{margin:0 0 8px;font-family:var(--serif);font-size:16px;font-weight:600;color:var(--ink);letter-spacing:.08em;line-height:1.5}
.page-route__choices{list-style:none;margin:0;padding:0;border-top:1px solid rgba(11,50,114,.2);border-bottom:1px solid rgba(11,50,114,.2)}
.page-route__choice{margin:0;padding:0}
.page-route__row{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"label arrow" "status arrow";align-items:center;column-gap:16px;row-gap:4px;min-height:56px;padding:12px 18px;color:var(--ink);cursor:default;text-decoration:none}
.page-route__label{grid-area:label;display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px;min-width:0}
.page-route__cat{font-size:14px;font-weight:700;color:var(--text);letter-spacing:.05em;line-height:1.5}
.page-route__name{font-family:var(--serif);font-size:18px;font-weight:600;color:var(--ink);letter-spacing:.06em;line-height:1.45}
.page-route__status{grid-area:status;justify-self:start;padding:0 10px;font-size:14px;font-weight:500;color:var(--text-soft);letter-spacing:.04em;line-height:1.6;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.82)}
.page-route__arrow{grid-area:arrow;width:16px;height:16px;color:var(--ink)}
.page-route__row:focus-visible{outline:3px solid var(--focus);outline-offset:-3px;background:rgba(255,255,255,.92)}
@media (min-width:1100px){
  .page-route__inner{align-items:center;gap:56px}
  .page-route__choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
  .page-route__choice+.page-route__choice{border-left:1px solid rgba(11,50,114,.12)}
  .page-route__row{min-height:78px;padding:14px 22px}
}
@media (min-width:768px) and (max-width:1099px){
  .page-route__inner{flex-direction:row;align-items:flex-start;gap:32px}
  .page-route__choice+.page-route__choice{border-top:1px solid rgba(11,50,114,.12)}
  .page-route__row{min-height:60px;padding:12px 16px}
  .page-route__name{font-size:17px}
}
@media (max-width:767px){
  .page-route__onward{margin-top:20px}
  .page-route__choice+.page-route__choice{border-top:1px solid rgba(11,50,114,.12)}
  .page-route__row{min-height:64px;padding:12px 8px 12px 4px;column-gap:12px}
  .page-route__name{font-size:17px}
  .page-route__arrow{width:15px;height:15px}
}
/* ==================== /ROUTE NAV 8795 ==================== */

/* Controller route-only IA closure: current location first, then an onward selection below. */
@media (min-width:768px){
  .page-route__inner{flex-direction:column;align-items:stretch;gap:20px}
  .page-route__onward{display:grid;grid-template-columns:minmax(160px,.75fr) minmax(0,2fr);gap:32px;align-items:start}
  .page-route__onward-title{font-size:18px;line-height:1.7;padding-top:14px;max-width:15em}
  .page-route__choices{display:block}
  .page-route__choice+.page-route__choice{border-left:0;border-top:1px solid rgba(11,50,114,.12)}
  .page-route__row{grid-template-columns:minmax(0,1fr) auto 18px;grid-template-areas:"label status arrow";min-height:68px;padding:16px 12px;column-gap:18px}
}
@media (min-width:768px) and (max-width:1099px){
  .page-route__onward{grid-template-columns:165px minmax(0,1fr);gap:24px}
  .page-route__row{grid-template-columns:minmax(0,1fr) 18px;grid-template-areas:"label arrow" "status arrow";padding:12px 8px}
}

/* ==================== FUNCTIONAL 8796: schedule board disclosure ==================== */
/* Closed board stays display:none (8795 closed composition). Only the open state is shown. */
details.board[open]{display:block!important}
details.board[open],details.board[open]>summary,details.board[open] [id]{scroll-margin-top:12px}

/* ==================== LINK ACTIVATION 8797: page-route native anchors ==================== */
/* Status pill removed: collapse the empty status column/row, keep row heights (desktop 68px / tablet+SP ~77px). */
.page-route__row{grid-template-areas:"label arrow";row-gap:0;cursor:pointer}
@media (min-width:768px){
  .page-route__row{grid-template-columns:minmax(0,1fr) 18px}
}
@media (max-width:1099px){
  .page-route__row{min-height:77px}
}
