/* OMNILINE VERITAS 2026-11-27 (Opus): the site header for the 公式取扱説明書 pages. Generated by gen_sitebar.py from
   static/css/app.css 3f0aa097b9c3 and static/css/design-unified.css 16b683f6586f (header rules only, base.html order) - do not edit by hand. */
:host{all:initial;display:block;--red: #bd0007; --blue: #014db9; --navy: #0b1f44; --ink: #14213d; --text: #1a2338; --muted: #4d5870; --bg: #f2f5fa; --surface: #ffffff; --line: #d3dae7; --line-strong: #aeb9cf; --soft: #eaf0fb; --good: #146c43; --good-bg: #e4f4ea; --warn: #8a5a00; --warn-bg: #fff4d6; --warn-line: #d9a400; --gray: #5f6b82; --gray-bg: #eef0f4; --tap: 44px; --radius: 12px; --shadow: 0 1px 2px rgba(11, 31, 68, 0.06), 0 2px 8px rgba(11, 31, 68, 0.05); --maxw: 1080px;;--ov-paper:#fff;--ov-ground:#f4f4f1;--ov-ink:#172338;--ov-navy:#0b1f44;--ov-gold:#a88745;--ov-rule:#c6cbd2;--ov-muted:#586271;--ov-radius:3px;--ov-space:8px;--ov-tap:44px;color:var(--ov-ink);font-family:-apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;font-size:16px;line-height:1.65;overflow-wrap:anywhere;-webkit-text-size-adjust:100%}
*,*::before,*::after{box-sizing:border-box}
*{box-sizing: border-box;}
a{color: var(--blue); text-underline-offset: 2px;}
a:hover{color: var(--navy);}
:focus-visible{outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px;}
img{max-width: 100%; height: auto;}
.site-header{background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30;}
.site-header::after{content: ""; display: block; height: 3px; background: var(--red);}
.header-inner{max-width: var(--maxw); margin: 0 auto; padding: 6px 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px;}
.brand-link{display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--navy); min-height: var(--tap);}
.brand-link img{height: 34px; width: auto; display: block;}
.brand-sub{font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; color: var(--navy); border-left: 2px solid var(--line-strong); padding-left: 8px; line-height: 1.2;}
.top-nav{display: none;}
.top-nav ul{list-style: none; display: flex; gap: 4px; margin: 0; padding: 0;}
.top-nav a{display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 14px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 0.95rem;}
.top-nav a:hover{background: var(--soft);}
.top-nav a.active{background: var(--navy); color: #fff;}
.env-label{margin: 0; font-size: 0.75rem; font-weight: 700; color: var(--warn); background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: 6px; padding: 1px 8px;}
@media (max-width: 360px){.brand-sub{display: none;}}
@media (min-width: 900px){.top-nav{display: block;}}
@media print{.site-header{display: none;}}
@media (min-width: 900px) and (max-width: 1199px){.top-nav a{padding: 0 10px; font-size: 0.9rem;}}
.account-area{display: flex; align-items: center; gap: 6px; flex: 0 0 auto; margin-left: auto;}
.acct-link{display: inline-flex; align-items: center; justify-content: center; min-height: var(--tap); padding: 0 12px; border: 2px solid var(--navy); border-radius: 999px; background: var(--surface); color: var(--navy); font-weight: 800; font-size: 0.86rem; text-decoration: none; white-space: nowrap; cursor: pointer; font-family: inherit;}
.acct-link:hover{background: var(--soft);}
.acct-primary{background: var(--navy); color: #fff;}
.acct-primary:hover{background: var(--blue); border-color: var(--blue); color: #fff;}
.acct-signup{display: none;}
.top-nav + .account-area{margin-left: 8px;}
@media (min-width: 480px) and (max-width: 899px){.acct-signup{display: inline-flex;}}
.top-nav a{white-space: nowrap;}
@media (min-width: 900px){.header-inner{gap: 10px;}}
@media (min-width: 900px) and (max-width: 1199px){.top-nav a{padding: 0 8px; font-size: 0.86rem;}}
@media (min-width: 900px) and (max-width: 1199px){.brand-sub{display: none;}}
@media (min-width: 900px) and (max-width: 1199px){.acct-link{padding: 0 10px; font-size: 0.82rem;}}
.acct-who{display: none; font-size: 0.8rem; font-weight: 800; color: var(--good); white-space: nowrap;}
@media (min-width: 480px){.acct-who{display: inline;}}
@media (max-width: 479px){.brand-sub{display: none;}}
.brand-sub{white-space: nowrap;}
.header-inner{display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px 12px;}
.header-inner > .brand-link{grid-column: 1; grid-row: 1;}
.header-inner > .account-area{grid-column: 2; grid-row: 1; margin: 0;}
.header-inner > .env-label{grid-column: 1 / -1;}
.top-nav{grid-column: 1 / -1;}
.top-nav ul{display: grid; grid-template-columns: auto auto auto auto auto auto auto; gap: 6px;}
.top-nav a{display: flex; justify-content: center; align-items: center; min-height: 46px; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--soft); color: var(--navy); font-size: 1rem; font-weight: 800; text-decoration: underline; text-underline-offset: 4px;}
.top-nav a:hover{background: #dbe7fb; border-color: var(--blue);}
.top-nav a.active{color: white; background: var(--navy); border-color: var(--navy); box-shadow: inset 0 -4px 0 var(--red); text-decoration: none;}
.mobile-menu{grid-column: 1 / -1;}
.mobile-menu summary{cursor: pointer; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--navy); background: var(--soft); font-weight: 800; min-height: 44px;}
.mobile-menu ul{display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; margin: 8px 0 0; padding: 0; list-style: none; background: var(--surface); border-top: 1px solid var(--line-strong);}
.mobile-menu nav a{white-space: nowrap; display: flex; align-items: center; justify-content: center; text-align: center; min-height: 56px; padding: 8px 4px; text-decoration: none; color: var(--muted); font-size: .9rem; font-weight: 800; line-height: 1.4;}
.mobile-menu nav a:hover{color: var(--navy); background: var(--soft);}
.mobile-menu nav a.active{color: var(--navy); box-shadow: inset 0 4px 0 var(--red); background: var(--soft);}
@media (min-width: 900px){.mobile-menu{display: none;}}
@media (max-width: 899px){.site-header{position: static;}}
@media (max-width: 899px){.top-nav{display: none;}}
@media (max-width: 899px){.brand-sub{display: none;}}
@media (max-width: 899px){.brand-link img{max-width: 150px;}}
@media(max-width:360px){:host .account-area .acct-link{max-width:122px;white-space:normal;word-break:keep-all;text-align:center}}
@media(max-width:360px){:host .header-inner>.brand-link{min-width:0}}
@media(max-width:360px){:host .header-inner>.brand-link img{max-width:100%;height:auto}}
:host .site-header{background:var(--ov-paper);border-bottom:1px solid var(--ov-rule);box-shadow:none}
:host .site-header:after{height:3px;background:var(--ov-gold)}
:host .header-inner{max-width:1320px;padding:12px 24px;gap:12px 24px}
:host .brand-sub{border-color:var(--ov-rule);color:var(--ov-navy)}
:host .top-nav ul{gap:4px}
:host .top-nav a{border:1px solid transparent;border-radius:var(--ov-radius);background:transparent;color:var(--ov-navy);box-shadow:none;font-weight:600;padding:9px 14px;min-height:44px}
:host .top-nav a:hover{background:#f5f2ea;border-color:#c9b989}
:host .top-nav a.active,:host .top-nav a[aria-current=page]{background:var(--ov-navy);color:white;border-color:var(--ov-navy)}
:host .acct-link{border:1px solid var(--ov-navy);border-radius:var(--ov-radius);background:white;color:var(--ov-navy);min-height:44px;padding:9px 14px}
:host .acct-primary{background:var(--ov-navy);color:#fff}
:host .mobile-menu{border:1px solid var(--ov-rule);border-radius:var(--ov-radius);background:#fff}
:host .mobile-menu summary{background:#f6f5f0;color:var(--ov-navy);min-height:44px;padding:10px 14px}
:host .mobile-menu a{min-height:44px;border-radius:var(--ov-radius)}
:focus-visible{outline:3px solid #a47d33;outline-offset:3px}
@media(max-width:700px){:host .header-inner{padding:10px 12px;gap:10px}}
:host .top-nav a{text-decoration:none;border-bottom-width:1px}
/* 目次へ戻る (guide volumes, top and bottom) */
.guide-back{max-width:1320px;margin:0 auto;padding:12px 24px;display:flex;justify-content:flex-start}
.guide-back-bottom{padding-bottom:28px}
.guide-back a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 16px;border:1px solid var(--ov-navy);border-radius:var(--ov-radius);background:#fff;color:var(--ov-navy);font-weight:700;text-decoration:none;white-space:nowrap}
.guide-back a:hover{background:#f5f2ea;border-color:#c9b989}
@media(max-width:700px){.guide-back{padding:10px 12px}.guide-back a{width:100%}}
@media print{:host{display:none}}
