/* R11 corrects received app.css body padding and isolates old .header.is-active. */
body.pnm-header-r11-active{padding-top:0!important}
/* The dedicated spacer below the fixed header is the single header offset. */
/* R11 REVIEW CANDIDATE. Scoped adaptation of R7; no prototype page styles. */
#pnm-header-r11{--pnm-h11-top:0px;box-sizing:border-box;position:fixed;z-index:10000;top:var(--pnm-h11-top);left:0;right:0;width:auto;max-width:none;min-width:0;height:88px;min-height:0;margin:0;transform:none;float:none;display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:20px;padding:0 28px;background:#fff;color:#213e52;border:1px solid #d9e2e8;box-shadow:none;transition:height .26s,top .26s,left .26s,right .26s,border-radius .26s;}
#pnm-header-r11 *,#pnm-header-r11 *::before,#pnm-header-r11 *::after{box-sizing:border-box}
#pnm-header-r11 a{color:inherit;text-decoration:none}
#pnm-header-r11 .pnm-h11-logo{display:block;flex:0 0 204px;margin:0;padding:0}
#pnm-header-r11 .pnm-h11-logo img{display:block;width:100%;height:auto;max-height:62px;object-fit:contain}
#pnm-header-r11.is-scrolled{top:calc(var(--pnm-h11-top) + 12px);left:14px;right:14px;height:68px;border-radius:12px;box-shadow:0 9px 26px #17374b18}
#pnm-header-r11.is-scrolled .pnm-h11-logo{flex-basis:184px}
#pnm-h11-panel{display:flex;align-items:center;justify-content:flex-end;gap:18px;flex:1;min-width:0}
#pnm-header-r11 .pnm-h11-links{display:flex;align-items:center;gap:clamp(10px,1.4vw,28px);list-style:none;margin:0;padding:0}
#pnm-header-r11 .pnm-h11-links li{position:relative;list-style:none;margin:0;padding:0}
#pnm-header-r11 .pnm-h11-links a{display:flex;align-items:center;gap:6px;min-height:44px;padding:9px 6px;font-size:12px;line-height:1.5;font-weight:700;white-space:nowrap;border-radius:5px;border:1px solid transparent}
#pnm-header-r11 .pnm-h11-links a:hover{box-shadow:inset 0 -3px #bd7b3b}
#pnm-header-r11 .pnm-h11-links a[aria-current=page],#pnm-header-r11 .pnm-h11-links>.current-menu-ancestor>a{color:#fff;background:linear-gradient(125deg,#873907,#b45a13 42%,#a34c0b 58%,#763008);border:1px solid #e5a05b;border-bottom:3px solid #783706;box-shadow:inset 0 1px #ffe0b8a6}
#pnm-header-r11 .pnm-h11-links a:focus-visible,#pnm-header-r11 button:focus-visible,#pnm-header-r11 input:focus-visible{outline:3px solid #bc6d26;outline-offset:3px}
#pnm-header-r11 .pnm-h11-links a[aria-current=page]:focus-visible{outline:2px solid #fff;outline-offset:-5px}
#pnm-header-r11 .pnm-h11-icon{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#pnm-header-r11 .sub-menu{position:absolute;top:100%;left:0;display:none;min-width:190px;max-width:min(300px,90vw);padding:8px;background:white;color:#213e52;border:1px solid #d9e2e8;border-radius:6px;box-shadow:0 8px 24px #17374b22}
#pnm-header-r11 li:hover>.sub-menu,#pnm-header-r11 li:focus-within>.sub-menu{display:block}
#pnm-header-r11 .sub-menu a{white-space:normal}
#pnm-header-r11 .pnm-h11-search{width:146px;flex:none;margin:0;padding:0;font-size:11px}
#pnm-header-r11 .pnm-h11-search label{display:block;margin:0 0 3px;font-size:11px;line-height:1.5}
#pnm-header-r11 .pnm-h11-search>div{display:flex}
#pnm-header-r11 .pnm-h11-search input{min-width:0;width:100%;height:36px;padding:4px 6px;border:1px solid #8ca4b4;border-radius:4px 0 0 4px;background:#fff;color:#213e52;font:inherit}
#pnm-header-r11 .pnm-h11-search button{height:36px;min-width:42px;border:1px solid #426b86;border-radius:0 4px 4px 0;background:#244f6b;color:#fff;font:inherit}
#pnm-header-r11 .pnm-h11-toggle{display:none;border:0;background:white;color:#244f6b;min-width:54px;min-height:44px;font:inherit;font-size:11px}
.pnm-h11-space{height:88px}
@media(max-width:1300px){#pnm-header-r11{padding:0 18px;gap:12px}#pnm-header-r11 .pnm-h11-logo{flex-basis:178px}#pnm-header-r11 .pnm-h11-links{gap:8px}#pnm-header-r11 .pnm-h11-links a{font-size:11px;gap:4px;padding:8px 4px}#pnm-h11-panel{gap:12px}}
@media(max-width:1100px){#pnm-header-r11{height:74px;padding:0 20px}#pnm-header-r11 .pnm-h11-logo{flex-basis:196px}#pnm-header-r11.is-scrolled{height:64px;top:calc(var(--pnm-h11-top) + 8px);left:10px;right:10px}#pnm-header-r11.is-scrolled .pnm-h11-logo{flex-basis:180px}#pnm-header-r11 .pnm-h11-toggle:not([hidden]){display:flex;flex-direction:column;justify-content:center;align-items:center;margin-left:auto}#pnm-header-r11 .pnm-h11-toggle>span:first-child{font-size:23px;line-height:1.2}#pnm-h11-panel{position:absolute;top:100%;left:0;right:0;display:block;padding:14px 20px;background:white;border:1px solid #d9e2e8;border-radius:0 0 12px 12px;max-height:calc(100dvh - 120px);overflow:auto;box-shadow:0 16px 28px #17374b22}#pnm-h11-panel[hidden]{display:none}#pnm-header-r11 .pnm-h11-links{display:block}#pnm-header-r11 .pnm-h11-links a{font-size:14px;min-height:52px;padding:10px;white-space:normal}#pnm-header-r11 .sub-menu{position:static;display:block;padding:0 0 0 18px;max-width:none;border:0;box-shadow:none}#pnm-header-r11 .pnm-h11-search{width:100%;padding:14px 0 4px;font-size:14px}#pnm-header-r11 .pnm-h11-search label{font-size:13px}#pnm-header-r11 .pnm-h11-search input,#pnm-header-r11 .pnm-h11-search button{height:44px}.pnm-h11-space{height:74px}}
@media(max-width:480px){#pnm-header-r11{height:70px;padding:0 12px}#pnm-header-r11 .pnm-h11-logo{flex-basis:168px}#pnm-header-r11.is-scrolled{height:60px;left:8px;right:8px}#pnm-header-r11.is-scrolled .pnm-h11-logo{flex-basis:156px}.pnm-h11-space{height:70px}}
@media(prefers-reduced-motion:reduce){#pnm-header-r11,#pnm-header-r11 *{transition:none!important;animation:none!important}}
@media(forced-colors:active){#pnm-header-r11 .pnm-h11-links a[aria-current=page]{background:Highlight;color:HighlightText;border:2px solid HighlightText}}

/* WordPress itself reserves toolbar space; do not add the old duplicate mobile main offset. */
@media(max-width:767px){body.admin-bar.pnm-header-r11-active main{padding-top:0}}
/* Toolbar offset fallback before JS initializes; JS then tracks its actual viewport bottom. */
body.admin-bar #pnm-header-r11{--pnm-h11-top:32px}
@media(max-width:782px){body.admin-bar #pnm-header-r11{--pnm-h11-top:46px}}


#pnm-header-r11{height:68px;top:12px;left:14px;right:14px;border-radius:12px;box-shadow:0 4px 14px #17374b18;transition:none!important}
#pnm-header-r11 .pnm-h11-logo{flex-basis:184px} .pnm-h11-space{height:80px}
@media(max-width:1100px){#pnm-header-r11{height:64px;top:8px;left:10px;right:10px}#pnm-header-r11 .pnm-h11-logo{flex-basis:180px}.pnm-h11-space{height:72px}}
@media(max-width:480px){#pnm-header-r11{height:60px;left:8px;right:8px}#pnm-header-r11 .pnm-h11-logo{flex-basis:156px}.pnm-h11-space{height:68px}}


/* R23 preview only: alpha applies to the surface, never to text or logo. */
#pnm-header-r11{background:rgba(255,255,255,.90);color:#213e52;border-color:rgba(182,201,214,.95);transition:background-color .16s ease,box-shadow .16s ease!important;box-shadow:0 5px 18px #17374b20}

#pnm-header-r11:focus-within{background:#fff;box-shadow:0 7px 22px #17374b30}
@media(hover:hover) and (pointer:fine){#pnm-header-r11:hover{background:#fff;box-shadow:0 7px 22px #17374b30}}
@media(hover:none),(pointer:coarse){#pnm-header-r11{background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none}}
/* Expanded touch menu remains opaque regardless of the parent surface. */
@media(max-width:1100px){#pnm-h11-panel{background:#fff}#pnm-header-r11 .pnm-h11-toggle{background:transparent}}
@media(prefers-reduced-motion:reduce){#pnm-header-r11{transition:none!important}}


/* R23 latest request: menu-collapse widths use opaque, edge-attached fixed header. */
@media(max-width:1100px){#pnm-header-r11{top:0;left:0;right:0;border-radius:0;background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none;height:64px;box-shadow:0 3px 12px #17374b18}.pnm-h11-space{height:64px}}
@media(max-width:480px){#pnm-header-r11{height:60px}.pnm-h11-space{height:60px}}


/* R23: desktop alpha comparison, 24px top gap; no scroll geometry changes. */
@media(min-width:1101px){
#pnm-header-r11{top:24px;background:rgba(255,255,255,.30);color:#102c40}
.pnm-h11-space{height:92px}
#pnm-header-r11 .pnm-h11-links a:not([aria-current=page]){background:transparent;text-shadow:0 0 2px #fff,0 0 4px #fffe}
#pnm-header-r11 .pnm-h11-search label{display:inline-block;background:transparent;border-radius:0;padding:0;color:#102c40;text-shadow:0 0 2px #fff,0 0 4px #fffe}
#pnm-header-r11:focus-within{background:#fff}
}
@media(min-width:1101px) and (hover:hover) and (pointer:fine){#pnm-header-r11:hover{background:#fff}}
@media(hover:none),(pointer:coarse){#pnm-header-r11{background:#fff}}
/* Animated synthetic background, not actual site video. */


/* R23: eliminate rectangular per-item backplates; retain the active blue tab. */
@media(min-width:1101px){
#pnm-header-r11 .pnm-h11-links a:not([aria-current=page]){background:transparent;border-color:transparent}
#pnm-header-r11 .pnm-h11-links a:not([aria-current=page]) .pnm-h11-icon{filter:drop-shadow(0 0 1px white) drop-shadow(0 0 2px #fffc)}
#pnm-header-r11:focus-within .pnm-h11-links a:not([aria-current=page]){text-shadow:none}
}
@media(min-width:1101px) and (hover:hover) and (pointer:fine){#pnm-header-r11:hover .pnm-h11-links a:not([aria-current=page]){text-shadow:none}}

/* R23: alpha-only surface; no frosted-glass background effect. */#pnm-header-r11{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}

/* R23 surface comparison only. Geometry and mobile behavior unchanged. */
@media(min-width:1101px){#pnm-header-r11{background:rgba(255,255,255,.30);backdrop-filter:blur(1px)!important;-webkit-backdrop-filter:blur(1px)!important}#pnm-header-r11:focus-within{background:#fff}}
@media(min-width:1101px) and (hover:hover) and (pointer:fine){#pnm-header-r11:hover{background:#fff}}
@media(hover:none),(pointer:coarse){#pnm-header-r11{background:#fff;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}}


/* R18: allocate available navigation width instead of collecting it after the logo. */
@media(min-width:1101px){
#pnm-header-r11{width:calc(100% - 28px);max-width:1600px;left:0;right:0;margin-left:auto;margin-right:auto;padding-left:clamp(16px,1.5vw,28px);padding-right:clamp(16px,1.5vw,28px);gap:clamp(10px,1.2vw,20px)}
#pnm-header-r11 .pnm-h11-logo{flex:0 0 clamp(150px,12vw,184px)}
#pnm-h11-panel{flex:1;min-width:0;justify-content:initial;gap:clamp(10px,1.2vw,20px)}
#pnm-h11-panel>nav{flex:1;min-width:0}
#pnm-header-r11 .pnm-h11-links{width:100%;justify-content:space-evenly;gap:4px}
#pnm-header-r11 .pnm-h11-links>li{flex:0 0 auto}
#pnm-header-r11 .pnm-h11-search{flex:0 0 clamp(126px,10vw,146px);width:auto}
}


/* R23: desktop shadow opacity only; all geometry, surface and mobile rules unchanged. */
@media(min-width:1101px){#pnm-header-r11{box-shadow:0 5px 18px #17374b38}#pnm-header-r11:focus-within{box-shadow:0 7px 22px #17374b48}}
@media(min-width:1101px) and (hover:hover) and (pointer:fine){#pnm-header-r11:hover{box-shadow:0 7px 22px #17374b48}}

@font-face{font-family:PnmHeaderR23;src:url(../fonts/pnm-header-bold.woff) format("woff");font-weight:700;font-style:normal;font-display:swap}#pnm-header-r11 .pnm-h11-links a{font-family:PnmHeaderR23,"Noto Sans JP",sans-serif;font-weight:700;-webkit-text-stroke:.12px currentColor}

/* R23: warm brushed amber current page, pale champagne hover, +1px menu text. */
#pnm-header-r11 .pnm-h11-links a{font-size:13px}
#pnm-header-r11 .pnm-h11-links a[aria-current=page],#pnm-header-r11 .pnm-h11-links>.current-menu-ancestor>a{color:#321b09;text-shadow:0 1px 0 #ffe2b588;background:repeating-linear-gradient(0deg,#fff1d51c 0px,#fff1d51c 1px,transparent 1px,transparent 3px),linear-gradient(115deg,#b96c27 0%,#edb56b 28%,#d28a3d 52%,#b76724 77%,#dca158 100%);border-color:#b46b2e;border-bottom-color:#7c3d10;box-shadow:inset 0 1px #ffe5bfc9,inset 0 -1px #73320e55}
@media(hover:hover) and (pointer:fine){#pnm-header-r11 .pnm-h11-links a:not([aria-current=page]):hover{color:#523219;text-shadow:none;background:linear-gradient(115deg,#f8ecd9,#edd4af 55%,#f8e8cf);border-color:#d7b487;box-shadow:inset 0 1px #fff9,inset 0 -2px #c58c4a}}
@media(min-width:1101px) and (max-width:1300px){#pnm-header-r11 .pnm-h11-links a{font-size:12px}}
@media(max-width:1100px){#pnm-header-r11 .pnm-h11-links a{font-size:15px}}
@media(forced-colors:active){#pnm-header-r11 .pnm-h11-links a[aria-current=page]{background:Highlight;color:HighlightText;border:2px solid HighlightText;text-shadow:none}}


/* R23: current-page lettering and currentColor icons only. */
#pnm-header-r11 .pnm-h11-links a[aria-current=page],#pnm-header-r11 .pnm-h11-links>.current-menu-ancestor>a{color:#fff;text-shadow:none}
@media(forced-colors:active){#pnm-header-r11 .pnm-h11-links a[aria-current=page],#pnm-header-r11 .pnm-h11-links>.current-menu-ancestor>a{color:HighlightText}}


/* R23: explicit final menu sizes, +2px over R22, without geometry/state changes. */
#pnm-header-r11 .pnm-h11-links a{font-size:15px}
@media(min-width:1101px) and (max-width:1300px){#pnm-header-r11 .pnm-h11-links a{font-size:14px}}
@media(max-width:1100px){#pnm-header-r11 .pnm-h11-links a{font-size:17px}}

/* Runtime toolbar offset. Same positions as approved preview when logged out. */
@media(min-width:1101px){#pnm-header-r11{top:calc(var(--pnm-h11-top) + 24px)}}
@media(max-width:1100px){#pnm-header-r11{top:var(--pnm-h11-top)}}
