/* D20 follow-up: site-wide navigation. Scoped to avoid D19 search/map behavior. */
.global-header {box-sizing:border-box;display:block;width:100%;margin:0 0 22px;padding:10px 0;border:0;border-bottom:1px solid #d0e4f0;background:rgba(248,253,255,.97);color:#173f58;box-shadow:0 3px 12px rgba(17,60,88,.04);font-family:system-ui,-apple-system,"Noto Sans JP",sans-serif;line-height:1.35;position:relative;z-index:1;}
.wrap > .global-header {width:100%;}
.global-header *,.global-local-nav *,.global-town-jumps * {box-sizing:border-box;}
.global-header .global-header-inner {width:min(1180px,calc(100% - 32px));margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:22px;}
.wrap > .global-header .global-header-inner {width:100%;}
.global-header .global-header-brand {min-width:0;display:flex;align-items:center;gap:10px;color:#143c57;text-decoration:none;font-weight:800;flex:0 1 auto;}
.global-header .global-header-brand:hover {color:#175b7c;}
.global-header .global-header-mark {display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;color:#fff;background:linear-gradient(145deg,#387fa3,#12344c);border-radius:12px;font-size:20px;}
.global-header .global-header-title {display:block;font-size:clamp(12px,1.1vw,15px);line-height:1.45;letter-spacing:.005em;}
.global-header .global-header-subtitle {display:block;font-size:9px;line-height:1.4;letter-spacing:.17em;color:#66849b;font-weight:700;margin-top:3px;}
.global-header .global-nav-links {display:flex;align-items:stretch;justify-content:flex-end;gap:8px;flex-wrap:nowrap;min-width:0;width:auto;font-size:inherit;}
.global-header .global-nav-link {display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;min-width:108px;min-height:51px;gap:4px;padding:7px 12px;border:1px solid transparent;border-radius:12px;color:#1c516d;background:transparent;text-decoration:none;white-space:normal;transition:background .15s,border-color .15s;}
.global-header .global-nav-link strong {display:block;font-size:13px;line-height:1.25;font-weight:800;}
.global-header .global-nav-link small {display:block;font-size:10px;line-height:1.15;letter-spacing:.02em;color:#587e91;font-weight:600;}
.global-header .global-nav-link:hover,.global-header .global-nav-link:focus-visible {background:#e9f5fc;border-color:#c3dfee;color:#124f77;}
.global-header .global-nav-link.is-section {background:#e4f3fb;border-color:#b7dbea;color:#135779;}
.global-local-nav,.global-town-jumps {width:min(1180px,calc(100% - 32px));margin:4px auto 22px;padding:10px 13px;border:1px solid #d5e6ef;border-radius:12px;background:rgba(239,249,253,.86);display:flex;align-items:center;gap:7px 12px;flex-wrap:wrap;color:#244d65;font-family:system-ui,-apple-system,"Noto Sans JP",sans-serif;font-size:13px;line-height:1.45;}
.wrap > .global-town-jumps {width:100%;}
.global-local-nav .global-local-label,.global-town-jumps .global-local-label {font-weight:800;font-size:12px;margin-right:5px;white-space:nowrap;}
.global-local-nav a,.global-town-jumps a,.global-local-nav .local-current {color:#175a7a;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:700;min-height:36px;padding:6px 11px;border:1px solid #cee2ed;border-radius:999px;background:#fff;font-size:12px;}
.global-local-nav a:hover,.global-town-jumps a:hover {background:#dcf1fb;border-color:#a7d5e9;}
.global-local-nav .local-current {background:#194e6a;color:white;border-color:#194e6a;}
:where(.global-nav-link,.global-header-brand,.global-local-nav a,.global-town-jumps a):focus-visible {outline:3px solid #dc921e!important;outline-offset:3px!important;}
@media(max-width:760px){
 .global-header{padding:11px 0 10px;margin-bottom:16px;}
 .global-header .global-header-inner{flex-direction:column;align-items:stretch;gap:10px;}
 .global-header .global-header-brand{align-self:flex-start;}
 .global-header .global-header-title{font-size:13px;}
 .global-header .global-header-mark{flex-basis:34px;width:34px;height:34px;font-size:17px;border-radius:10px;}
 .global-header .global-nav-links{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;}
 .global-header .global-nav-link{min-width:0;min-height:48px;padding:7px 4px;border:1px solid #d6e7f0;background:rgba(255,255,255,.8);}
 .global-header .global-nav-link strong{font-size:12px;}
 .global-header .global-nav-link small{font-size:9px;}
 .global-local-nav,.global-town-jumps{margin-bottom:15px;padding:9px 10px;gap:7px;}
 .global-local-nav .global-local-label,.global-town-jumps .global-local-label{flex-basis:100%;}
 .global-local-nav a,.global-town-jumps a,.global-local-nav .local-current{min-height:38px;font-size:12px;}
}
@media(max-width:360px){.global-header .global-nav-link strong{font-size:11px}.global-header .global-nav-link small{font-size:9px}}
