/* campaign の LP の新しい枠。tools/frame_campaign.py が site.css から作る。直接直さない */
:host { all: initial; display: block; position: relative; font-family: var(--font); font-size: 16px; line-height: 1.8; color: var(--ink); text-align: left; }
:host(.mn-frame--header) { z-index: 1000; background: var(--bg); }
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: .2em; }
h2 { line-height: 1.4; }
button { font: inherit; cursor: pointer; padding: 0; }
:host { --ink: #1c2230; --muted: #5b6474; --line: #e1e5eb; --bg: #ffffff; --tint: #f4f6f9; --accent: #0b5cad; --accent-ink: #ffffff; --alert: #c8102e; --radius: 10px; --wrap: 1120px; --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:host { --header-height: 60px; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header__inner { max-width: var(--wrap); height: calc(var(--header-height) - 1px); margin: 0 auto; padding-inline: 16px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; flex: 0 1 auto; min-width: 0; min-height: 44px; text-decoration: none; }
.brand__image { display: block; width: 168px; max-width: 100%; height: auto; }
.brand--footer { justify-self: start; margin-bottom: 4px; }
.brand--footer .brand__image { width: 168px; }
.nav-toggle { flex-shrink: 0; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: #fff; position: relative; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { position: absolute; left: 11px; width: 20px; height: 2px; background: var(--ink); content: ""; transition: transform .2s; }
.nav-toggle__bar { top: 21px; }
.nav-toggle__bar::before { left: 0; top: -6px; }
.nav-toggle__bar::after { left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-6px) rotate(-45deg); }
.global-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 8px 16px rgba(0,0,0,.06); }
.global-nav.is-open { display: block; }
.global-nav ul { list-style: none; margin: 0; padding: 8px 16px 16px; }
.global-nav a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
.global-nav a[aria-current="page"] { color: var(--accent); }
.global-nav__shop a { color: var(--accent); }
@media (min-width: 1100px) {
:host { --header-height: 80px; }
.site-header .brand { flex-shrink: 0; }
.site-header .brand__image { width: 208px; }
.brand--footer .brand__image { width: 224px; }
.nav-toggle { display: none; }
.global-nav { display: block; position: static; border: 0; box-shadow: none; background: none; }
.global-nav ul { display: flex; flex-wrap: nowrap; align-items: center; gap: 2px; padding: 0; }
.global-nav a { white-space: nowrap; border: 0; padding: 10px 10px; border-radius: 6px; font-size: 15px; }
.global-nav a:hover { background: var(--tint); }
.global-nav__shop a { border: 1px solid var(--accent); }
}
.site-footer { background: #1c2230; color: #d7dce4; font-size: 14px; }
.site-footer a { color: #d7dce4; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__inner { max-width: var(--wrap); margin: 0 auto; padding: 40px 16px 24px; }
.site-footer__cols { display: grid; gap: 24px; }
@media (min-width: 600px) {
.site-footer__cols { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
.site-footer__cols { grid-template-columns: repeat(5, 1fr); }
}
.site-footer h2 { font-size: 14px; color: #fff; margin: 0 0 8px; }
.site-footer ul { list-style: none; margin: 0 0 16px; padding: 0; }
.site-footer li { padding: 2px 0; line-height: 1.6; }
.site-footer__company { margin-top: 24px; padding-top: 16px; border-top: 1px solid #39414f; display: grid; gap: 8px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; }
.site-footer__copy { color: #9aa3b2; margin: 0; }
.kv__list a:focus-visible { color: #fff; }
@media (hover: hover) {
.fprod a:focus-visible .fprod__overlay { opacity: 1; }
.fprod a:focus-visible .fprod__overlay img, .fprod a:focus-visible .fprod__wordmark { opacity: 1; transform: none; filter: drop-shadow(0 0 16px rgba(130,195,255,.6)); }
}
.global-nav__shop a { display: flex; align-items: center; gap: 6px; }
.global-nav__cart { flex: none; }
