:root{--gp-header-height:76px;--gp-header-z:1100}html{scroll-padding-top:calc(var(--gp-header-height) + 16px)}
.gp-header,.gp-header *,.gp-favorites,.gp-favorites *{box-sizing:border-box}
.gp-header{position:sticky;top:0;z-index:var(--gp-header-z);height:var(--gp-header-height);padding:0;background:rgba(255,255,255,.98);border-bottom:1px solid #dce3eb;color:#182d49;font-family:"Noto Sans JP",system-ui,-apple-system,sans-serif;line-height:1.5;text-align:left;isolation:isolate}
.gp-header__inner{max-width:1440px;height:100%;margin:0 auto;padding:0 28px;display:flex;align-items:center;gap:22px}
.gp-header a,.gp-header button,.gp-header summary{color:#182d49;font:700 14px/1.5 "Noto Sans JP",system-ui,-apple-system,sans-serif;text-decoration:none;white-space:nowrap;letter-spacing:0}
.gp-header button{appearance:none;margin:0;border:0;background:transparent;cursor:pointer}
.gp-header__brand{display:flex;align-items:center;gap:10px;flex-shrink:0;min-height:44px}
.gp-header__brand img{display:block;width:40px;height:40px;object-fit:contain;border-radius:0}
.gp-header__brand span{display:grid;gap:0}.gp-header__brand strong{font-size:24px;font-weight:900;line-height:1.2}.gp-header__brand small{font-size:10px;font-weight:600;color:#596a7c;line-height:1.7}
.gp-header__nav{display:flex;align-items:center;gap:4px;margin-left:auto;order:1}
.gp-header__nav a{display:flex;align-items:center;padding:10px 8px;min-height:44px;border-radius:8px}
.gp-header__nav a:hover,.gp-header__nav a[aria-current],.gp-header__regions[data-active] summary,.gp-header__region-panel a[aria-current]{background:#fff0e8;color:#a64013}
.gp-header__nav .gp-header__contact,.gp-header__nav .gp-header__other{display:none}
.gp-header__regions{position:relative;order:3;flex-shrink:0;margin:0;padding:0;border:0}
.gp-header__regions summary{list-style:none;display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:10px 12px;background:#f2f5f8;border:1px solid #dce3eb;border-radius:9px;cursor:pointer}
.gp-header__regions summary::-webkit-details-marker{display:none}.gp-header__region-mobile{display:none}
.gp-header__region-panel{position:absolute;right:0;top:calc(100% + 12px);width:310px;max-width:calc(100vw - 24px);max-height:calc(100dvh - var(--gp-header-height) - 28px);overflow:auto;overscroll-behavior:contain;padding:18px;background:#fff;border:1px solid #dce3eb;border-radius:14px;box-shadow:0 16px 48px #182d4924}
.gp-header__region-panel p{margin:0 0 12px;font-size:13px;font-weight:700;color:#596a7c}.gp-header__region-panel div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.gp-header__region-panel a{display:block;min-height:44px;padding:10px;border-radius:7px}.gp-header__region-panel a:hover{background:#f2f5f8}.gp-header__region-panel .gp-header__all{margin-top:12px;border-top:1px solid #dce3eb;border-radius:0;padding-top:16px}
.gp-header .gp-header__favorites{display:flex;align-items:center;gap:5px;min-height:44px;padding:8px 4px;order:2}.gp-header__favorites>span:first-child{font-size:23px;line-height:1}.gp-header__favorites [data-gp-favorite-count]{font-size:11px;background:#fff0e8;color:#a64013;padding:1px 5px;border-radius:12px}
.gp-header .gp-header__toggle{display:none;order:4;width:44px;height:44px;font-size:24px}
.gp-header :focus-visible,.gp-favorites :focus-visible,.gp-research-nav a:focus-visible{outline:3px solid #e86d29;outline-offset:3px}
.gp-research-nav{display:flex;justify-content:center;flex-wrap:wrap;gap:4px 16px;padding:10px 18px;background:#f3f6fa;border-bottom:1px solid #dce3eb;font-size:13px;font-weight:700;line-height:1.5}.gp-research-nav a{min-height:36px;display:flex;align-items:center;color:#182d49;text-decoration:none}
.gp-favorites{color:#182d49;font-family:system-ui,-apple-system,sans-serif;padding:24px;border:1px solid #dce3eb;border-radius:16px;width:560px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain;background:#fff;line-height:1.6}.gp-favorites::backdrop{background:#182d4970}.gp-favorites h2{font-size:22px;margin:0 50px 16px 0}.gp-favorites__close{position:absolute;right:12px;top:12px;width:44px;height:44px;border:1px solid #dce3eb;border-radius:10px;background:#fff;color:#182d49;font-size:24px;cursor:pointer}.gp-favorites ul{list-style:none;margin:0;padding:0}.gp-favorites li{padding:12px 0;border-bottom:1px solid #dce3eb}.gp-favorites a{display:block;color:#182d49;font-weight:700;text-decoration:underline;text-underline-offset:4px}.gp-favorites small{display:block;color:#596a7c}.gp-favorites p{font-size:14px}
@media(max-width:1199px){:root{--gp-header-height:64px}.gp-header__inner{padding:0 18px;gap:12px}.gp-header__brand strong{font-size:22px}.gp-header__brand small{font-size:9px}.gp-header__regions{margin-left:auto;order:1}.gp-header__region-desktop{display:none}.gp-header__region-mobile{display:inline}.gp-header .gp-header__favorite-label{display:none}.gp-header .gp-header__toggle{display:block}.gp-header__nav{display:none}.gp-header[data-menu-open] .gp-header__nav{display:flex;position:fixed;top:var(--gp-header-height);left:0;right:0;bottom:0;margin:0;padding:16px 20px max(24px,env(safe-area-inset-bottom));flex-direction:column;align-items:stretch;gap:4px;overflow:auto;overscroll-behavior:contain;background:#fff;z-index:1}.gp-header__nav a{font-size:16px;min-height:52px;padding:12px 14px;border-bottom:1px solid #edf0f4;border-radius:0}.gp-header__nav .gp-header__contact,.gp-header__nav .gp-header__other{display:flex}.gp-header__region-panel{position:fixed;right:12px;top:calc(var(--gp-header-height) + 8px)}.gp-header__favorites{justify-content:center;min-width:44px}.gp-header[data-menu-open] .gp-header__regions{visibility:hidden}}
@media(max-width:359px){.gp-header__inner{padding:0 8px;gap:4px}.gp-header__brand{gap:6px}.gp-header__brand img{width:32px;height:32px}.gp-header__brand strong{font-size:21px}.gp-header__brand small{display:none}.gp-header__regions summary{padding:8px;font-size:12px}.gp-header .gp-header__favorites{min-width:40px}.gp-header .gp-header__toggle{width:40px}}
@media(max-width:1199px){.gp-header[data-menu-open]{position:fixed;top:0;left:0;right:0;width:100%}}
@media(max-width:600px){.gp-header__inner{padding:0 12px;gap:8px}.gp-header__brand small{display:none}.gp-header__favorites [data-gp-favorite-count]{display:none}}
@media(max-width:359px){.gp-header__inner{padding:0 8px;gap:4px}}

.gp-header__favorites[hidden]{display:none!important}
