/* 共通ヘッダー・フッター（全ページ共通。色は各ページの --surface/--line/--ink/--sub/--accent を使う） */
.sh{background:var(--surface);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:30}
.sh-in{max-width:1180px;margin:0 auto;padding:0 16px;min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:8px 18px;flex-wrap:wrap;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic",Meiryo,sans-serif;letter-spacing:.02em;line-height:1.5}
.sh-brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:16px;color:var(--ink);text-decoration:none}
.sh-mark{width:30px;height:30px;border-radius:10px;background:var(--accent);display:grid;place-items:center;flex:none}
.sh nav{display:flex;gap:18px;font-size:14px;flex-wrap:wrap}
.sh nav a{color:var(--sub);text-decoration:none;font-weight:600;padding:4px 0}
.sh nav a:hover,.sh nav a[aria-current]{color:var(--accent)}
@media(max-width:560px){.sh-in{padding-top:8px;padding-bottom:8px}.sh nav{gap:14px;font-size:13px}.sh-brand{font-size:15px}}
.sf{margin-top:56px;padding:28px 0 40px;border-top:1px solid var(--line);background:var(--surface);font-size:13px;line-height:1.8;color:var(--sub);font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic",Meiryo,sans-serif}
.sf-in{max-width:1180px;margin:0 auto;padding:0 16px}
.sf nav{display:flex;gap:6px 18px;flex-wrap:wrap;margin-bottom:10px}
.sf a{color:var(--sub)}
.sf p{margin:0 0 4px}
@media print{.sh,.sf{display:none!important}}
