/* One header for every public page. ID scope isolates legacy page styles. */
#site-header{height:68px;min-height:68px;padding:0;background:#04111d;border:0;border-bottom:1px solid #153c54;display:block;position:sticky;top:0;z-index:100;color:#eaf6ff;font-family:Arial,"Microsoft YaHei","Noto Sans JP",sans-serif;box-sizing:border-box}
#site-header *{box-sizing:border-box}
#site-header .site-header-inner{height:100%;width:100%;max-width:1440px;margin:0 auto;padding:0 24px;display:flex;align-items:center;gap:16px}
#site-header .brand{display:grid;grid-template-columns:48px auto;grid-template-rows:25px 15px;align-items:center;flex:0 0 275px;width:275px;height:48px;margin:0;color:#eef8ff;text-decoration:none;font-size:18px;font-weight:800;transform:none}
#site-header .brand img{grid-row:1/3;width:38px!important;height:44px!important;object-fit:contain;max-width:none;filter:none}
#site-header .brand strong{font-size:18px;font-weight:800;letter-spacing:.7px;line-height:25px;white-space:nowrap}
#site-header .brand b{color:#35d9ff;font-weight:800}
#site-header .brand small{font-size:6px;line-height:15px;letter-spacing:1px;color:#b0c9d9;white-space:nowrap;display:block}
#site-header .nav{display:flex;align-items:stretch;align-self:stretch;justify-content:center;flex:1 1 auto;min-width:0;height:auto;margin:0;padding:0;gap:0;overflow:visible}
#site-header .nav a{display:flex;align-items:center;justify-content:center;height:100%;margin:0;padding:0 11px;background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;text-decoration:none;color:#b9cedd;font-size:12px;font-weight:600;line-height:1.4;letter-spacing:0;white-space:nowrap;transition:background .15s,color .15s}
#site-header .nav a:hover{background:#0b2538;color:#73e9ff}
#site-header .nav a.active{background:#0a293d;color:#43dfff;border-bottom-color:#34d6ff}
#site-header .actions{display:flex;align-items:center;flex:0 0 auto;margin:0;padding:0;gap:10px;height:auto}
#site-header .site-language-control{display:flex;align-items:center;gap:4px;color:#52cfff;margin:0}
#site-header .site-language-control svg{width:15px;height:15px;flex:none}
#site-header .site-language{width:69px;max-width:none;margin:0;padding:7px 0 7px 3px;border:0;border-radius:3px;background:#04111d;color:#c8dfec;font:inherit;font-size:11px;cursor:pointer}
#site-header .actions .btn{display:inline-flex;align-items:center;justify-content:center;min-height:34px;margin:0;padding:8px 12px;border:1px solid #27617e;border-radius:4px;background:transparent;color:#d8edf9;box-shadow:none;text-decoration:none;font-size:11px;font-weight:700;line-height:1.4;white-space:nowrap}
#site-header .actions .btn:hover{border-color:#40d9ff;background:#0e2e43}
#site-header .actions .btn.fill{background:#1284f3;border-color:#248ff4;color:#fff}
#site-header a:focus-visible,#site-header select:focus-visible{outline:2px solid #51e3ff;outline-offset:-4px}
@media(min-width:1001px) and (max-width:1280px){#site-header .site-header-inner{padding:0 20px;gap:10px}#site-header .brand{flex-basis:235px;width:235px}#site-header .brand strong{font-size:16px}#site-header .brand small{font-size:5px}#site-header .nav a{font-size:11px;padding:0 8px}#site-header .actions{gap:7px}#site-header .actions .btn{font-size:10px;padding:8px 10px}}
@media(max-width:1000px){#site-header{height:auto;min-height:68px}#site-header .site-header-inner{flex-wrap:wrap;gap:0;min-height:68px;padding:9px 18px 0}#site-header .brand{flex-basis:auto;width:auto;margin-right:auto}#site-header .nav{order:3;flex-basis:100%;width:100%;overflow-x:auto;justify-content:flex-start;min-height:44px;margin-top:7px}#site-header .nav a{flex-shrink:0;min-height:44px;padding:0 12px}#site-header .actions{margin-left:12px}}
@media(max-width:560px){#site-header .brand{grid-template-columns:34px auto;grid-template-rows:22px 12px;height:40px}#site-header .brand img{width:28px!important;height:36px!important}#site-header .brand strong{font-size:14px;line-height:22px}#site-header .brand small{font-size:4.5px;letter-spacing:.5px;line-height:12px}#site-header .actions{gap:6px;margin-left:6px}#site-header .site-language-control svg{display:none}#site-header .site-language{width:60px;font-size:10px}#site-header .actions .btn{padding:7px 8px;font-size:10px}#site-header .actions .site-trial{display:none}}
@media(prefers-reduced-motion:reduce){#site-header .nav a{transition:none}}
