/* サバつく！ about（2026-11-09。シューつく！ の about を手本に、夜のくさはらと けいけんちの宝石の色で） */
:root {
  --bg: #07100f; --bg2: #0b1a17; --panel: #10201c; --panel2: #162b25; --line: #24443a; --line2: #34604f;
  --text: #f1f7f0; --mute: #a9c4b6; --pink: #ff3d8b; --cyan: #2fe6ff; --yellow: #ffd93b; --lime: #7cf05a; --orange: #ff8a2b; --blue: #2f9bff; --red: #ff3d5a; --purple: #b36bff;
  --ui: 'M PLUS Rounded 1c', 'Hiragino Maru Gothic ProN', 'Hiragino Sans', system-ui, sans-serif;
  --disp: 'Kaisei Decol', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --dot: 'DotGothic16', monospace;
}
* { box-sizing: border-box; }
html { font-synthesis: none; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); font-family: var(--ui); font-weight: 500; line-height: 1.85; -webkit-font-smoothing: antialiased;
  background: var(--bg);
  background-image: radial-gradient(1100px 700px at 88% -8%, rgba(255, 217, 59, .09), transparent 60%), radial-gradient(900px 700px at -10% 40%, rgba(124, 240, 90, .09), transparent 60%),
    radial-gradient(3px 2px at 20% 30%, rgba(124, 240, 90, .12) 98%, transparent), radial-gradient(3px 2px at 70% 65%, rgba(124, 240, 90, .1) 98%, transparent);
  background-size: auto, auto, 64px 64px, 64px 64px;
  overflow-x: hidden;
}
a { color: var(--lime); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(1080px, 100% - 32px); margin: 0 auto; }
.wrap.narrow { width: min(760px, 100% - 32px); }
em { font-style: normal; color: var(--yellow); font-weight: 700; }

/* hero */
.hero { position: relative; padding: 48px 0 56px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: auto -10% -40% -10%; height: 70%; background: radial-gradient(50% 60% at 50% 100%, rgba(124, 240, 90, .12), transparent 70%); pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.brand img { display: block; width: 210px; height: auto; }
.logo { margin: 18px 0 0; line-height: 1; }
.logo svg { display: block; width: min(100%, 500px); height: auto; overflow: visible; }
.tag { margin: 14px 0 0; font-family: var(--disp); font-weight: 700; font-size: clamp(20px, 2.6vw, 27px); letter-spacing: .06em; text-shadow: 0 2px 0 #06120d, 0 0 16px rgba(124, 240, 90, .45); }
.lead { margin: 16px 0 0; font-size: clamp(15px, 1.7vw, 18px); line-height: 2; color: #dfeee4; max-width: 34em; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.cta {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 30px; border-radius: 14px; text-decoration: none;
  font-weight: 900; font-size: 18px; color: #fff; letter-spacing: .04em;
  background: linear-gradient(180deg, #ff5fa0, #c41d62); border: 2px solid #ff9cc5; box-shadow: 0 5px 0 #4a0a26, 0 0 24px rgba(255, 61, 139, .4);
  transition: transform .08s, box-shadow .08s;
}
.cta:hover { filter: brightness(1.08); }
.cta:active { transform: translateY(3px); box-shadow: 0 2px 0 #4a0a26; }
.cta.sub { background: linear-gradient(180deg, #1d3a31, #10241e); border-color: var(--line2); box-shadow: 0 5px 0 #030a08; font-size: 16px; }
.hero-g { display: grid; place-items: center; }
.screen { position: relative; width: min(100%, 400px); aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: #0b1c14;
  box-shadow: 0 0 0 2px #2d5a45, 0 0 0 7px #08140f, 0 24px 60px rgba(0, 0, 0, .6), 0 0 70px rgba(124, 240, 90, .14); transform: rotate(2deg); }
.screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }

/* logo animation（タイトル画面と同じ組み方：地面からせり上がる → ムチの一閃） */
.lg, .lgb { transform-box: fill-box; transform-origin: 50% 100%; }
.lgb { animation: lgBob 2.8s ease-in-out infinite; animation-delay: calc(var(--i) * -.3s); }
@keyframes lgBob { 0%, 100% { transform: translateY(0) scale(1, 1); } 45% { transform: translateY(-6%) scale(.98, 1.03); } }
.lg { animation: lgIn .7s cubic-bezier(.2, 1.5, .45, 1) both; animation-delay: calc(var(--i) * .11s + .2s); }
@keyframes lgIn { 0% { opacity: 0; transform: translateY(70%) scale(.4, .2); } 40% { opacity: 1; transform: translateY(-12%) scale(.9, 1.25); } 70% { transform: translateY(3%) scale(1.1, .88); } 100% { opacity: 1; transform: none; } }
.lg-flash { opacity: 0; mix-blend-mode: screen; animation: lgFlash .45s ease-out both; animation-delay: calc(var(--i) * .07s + 1.02s); }
@keyframes lgFlash { 25% { opacity: .95; } 100% { opacity: 0; } }
.lg-slash { opacity: 0; transform-box: fill-box; transform-origin: 0 50%; animation: lgSlash .55s cubic-bezier(.3, .7, .3, 1) both .95s; }
@keyframes lgSlash { 0% { opacity: 0; transform: scaleX(.05); } 25% { opacity: 1; } 70% { opacity: .95; transform: scaleX(1); } 100% { opacity: 0; transform: scaleX(1) translateX(6px); } }
.lg-shine { animation: lgShine 5.5s ease-in-out infinite 2s; }
@keyframes lgShine { 0% { transform: translateX(-30px); } 24%, 100% { transform: translateX(90px); } }
.lg-tw { transform-box: fill-box; transform-origin: 50% 50%; opacity: 0; animation: lgTw 3.6s ease-in-out infinite; animation-delay: calc(var(--d) * 1s + 2s); }
@keyframes lgTw { 0%, 70%, 100% { opacity: 0; transform: scale(.2) rotate(0deg); } 78% { opacity: 1; transform: scale(1.1) rotate(45deg); } 88% { opacity: 0; transform: scale(.3) rotate(90deg); } }
.lg-ex .lgb { animation: lgBob 2.8s ease-in-out infinite, lgEx 5.2s ease-in-out infinite 1.6s; }
@keyframes lgEx { 0%, 80%, 100% { rotate: 0deg; } 84% { rotate: 16deg; } 88% { rotate: -12deg; } 92% { rotate: 6deg; } 96% { rotate: -2deg; } }
.logo { cursor: pointer; }
.logo.hop .lgb { animation: lgHop .55s cubic-bezier(.2, 1.6, .5, 1) both; animation-delay: calc(var(--i) * .06s); }
@keyframes lgHop { 0% { transform: none; } 35% { transform: translateY(-22%) scale(.95, 1.08); } 70% { transform: translateY(2%) scale(1.06, .92); } 100% { transform: none; } }

/* sections */
.sec { padding: 64px 0; }
.head { margin: 0; text-align: center; font-family: var(--disp); font-weight: 700; font-size: clamp(28px, 4vw, 42px); line-height: 1.35; letter-spacing: .03em;
  background: linear-gradient(180deg, #fff 18%, #fff2a8 55%, #ffb347); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 3px 0 #1c0f05); word-break: keep-all; overflow-wrap: anywhere; }
.head.left { text-align: left; }
.head span, .end-t span, .evo-t h3 span { display: inline-block; }
.head-sub { margin: 14px auto 0; text-align: center; color: var(--mute); max-width: 40em; }
.text { margin: 16px 0 0; }
.text.small, .note { font-size: 14px; color: var(--mute); }
.note { margin: 22px auto 0; text-align: center; max-width: 44em; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, 1, .4, 1); }
.reveal.on { opacity: 1; transform: none; }

/* 作る側に回ってみよう */
.think { background: linear-gradient(180deg, rgba(22, 43, 37, .6), rgba(11, 26, 23, .2)); border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }
.think-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.bal { background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 2px solid var(--line2); border-radius: 18px; padding: 18px; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); }
.bal-h { margin: 0 0 12px; font-weight: 900; font-size: 17px; text-align: center; }
.bal-cv { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #0b1c14; box-shadow: inset 0 0 0 2px #2d5a45; }
.bal-cv canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.bal-s { display: grid; grid-template-columns: auto 1fr 2.2em; align-items: center; gap: 12px; margin-top: 14px; font-weight: 800; font-size: 15px; }
.bal-s b { font-family: var(--dot); font-weight: 400; font-size: 20px; color: var(--yellow); text-align: right; }
.bal-s input { width: 100%; accent-color: var(--lime); height: 28px; }
.bal-r { display: grid; gap: 10px; margin-top: 12px; }
.who { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; background: rgba(255, 255, 255, .05); border: 1.5px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: 8px 12px; }
.who small { display: block; font-size: 12px; color: var(--mute); font-weight: 700; line-height: 1.4; }
.who p { margin: 0; font-weight: 800; font-size: 15px; line-height: 1.5; min-height: 1.5em; }
.face { width: 44px; height: 44px; border-radius: 12px; background: #183327; display: block; image-rendering: pixelated; background-size: 100% 100%; transition: transform .2s; }
.face.pop { animation: facePop .35s cubic-bezier(.2, 1.6, .5, 1); }
@keyframes facePop { 0% { transform: scale(.7); } 100% { transform: none; } }

/* steps */
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 2px solid var(--line2); border-radius: 18px; padding: 22px 20px 20px; }
.step h3 { margin: 14px 0 6px; font-weight: 900; font-size: 20px; display: flex; align-items: center; gap: 10px; }
.step h3 b { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-family: var(--dot); font-weight: 400; font-size: 18px; color: #06200e; background: var(--lime); }
.step p { margin: 0; color: #dfeee4; font-size: 15px; }
.ico { width: 76px; height: 76px; border-radius: 18px; display: grid; place-items: center; background: #0b1c14; box-shadow: inset 0 0 0 2px var(--line2); }
.ico canvas { width: 56px; height: 56px; image-rendering: pixelated; }
.s1 .ico canvas { animation: icoBob 1.6s ease-in-out infinite; }
.s2 .ico { color: var(--yellow); }
.s2 .ico svg { width: 46px; height: 46px; animation: icoPulse 1.4s ease-in-out infinite; }
@keyframes icoBob { 50% { transform: translateY(-5px); } }
@keyframes icoPulse { 50% { transform: scale(1.12); filter: drop-shadow(0 0 8px rgba(255, 217, 59, .8)); } }
.step:not(:last-child)::after { content: ''; position: absolute; right: -16px; top: 50px; width: 12px; height: 12px; border-top: 3px solid var(--line2); border-right: 3px solid var(--line2); transform: rotate(45deg); }

/* 武器・敵の見本 */
.cards { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 14px; }
.cards.w9 { grid-template-columns: repeat(3, 1fr); }
.cards.e8 { grid-template-columns: repeat(4, 1fr); }
.cards li { position: relative; background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 2px solid var(--line); border-radius: 16px; padding: 10px 10px 14px; text-align: center; }
.cards canvas { display: block; width: 100%; aspect-ratio: 1; border-radius: 10px; background: #0b1c14; image-rendering: pixelated; }
.cards.w9 canvas { aspect-ratio: 16 / 10; }
.cards b { display: block; margin-top: 10px; font-weight: 900; font-size: 16px; }
.cards span { display: block; font-size: 12px; color: var(--mute); line-height: 1.5; }
.evo { margin-top: 26px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: center; padding: 22px; border-radius: 20px;
  background: radial-gradient(120% 140% at 0% 0%, rgba(255, 217, 59, .14), transparent 55%), linear-gradient(180deg, var(--panel2), var(--panel)); border: 2px solid rgba(255, 217, 59, .45); }
.evo-cv { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #0b1c14; box-shadow: inset 0 0 0 2px #2d5a45; position: relative; }
.evo-cv canvas { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
.evo-t h3 { margin: 0 0 8px; font-family: var(--disp); font-weight: 700; font-size: clamp(22px, 2.8vw, 30px); line-height: 1.3; color: #fff6c2; text-shadow: 0 2px 0 #6b4200, 0 0 14px rgba(255, 217, 59, .6); }
.evo-t p { margin: 0; color: #dfeee4; }

/* タイムライン */
.tl { background: linear-gradient(180deg, rgba(22, 43, 37, .45), rgba(11, 26, 23, .1)); border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }
.tl-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.tlv { --n: 10; background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 2px solid var(--line2); border-radius: 18px; padding: 16px 16px 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); overflow: hidden; }
.tlv-g { position: relative; display: grid; grid-template-columns: 52px repeat(var(--n), 1fr) 44px; gap: 3px; align-items: center; }
.tlv-l { font-size: 11px; font-weight: 800; color: var(--mute); display: grid; place-items: center; height: 26px; white-space: nowrap; }
.tlv-l canvas { width: 24px; height: 24px; image-rendering: pixelated; }
.tlv-m { font-family: var(--dot); font-size: 12px; text-align: center; color: var(--mute); }
.tlv-c { height: 26px; border-radius: 5px; background: rgba(255, 255, 255, .05); position: relative; overflow: hidden; }
.tlv-c i { position: absolute; left: 3px; right: 3px; bottom: 3px; border-radius: 3px; background: var(--c, #7cf05a); height: calc(var(--v) * 6px); box-shadow: 0 0 6px var(--c, #7cf05a); }
.tlv-ev { height: 26px; border-radius: 5px; display: grid; place-items: center; font-size: 11px; font-weight: 900; color: #fff; }
.tlv-ev.e1, .tlv-ev.e5 { background: linear-gradient(180deg, #9b4dff, #5b1fb8); }
.tlv-ev.e2 { background: linear-gradient(180deg, #ffd93b, #c99b00); color: #3a2400; }
.tlv-ev.e3 { background: linear-gradient(180deg, #ff8a2b, #b8520a); }
.tlv-ev.e4 { background: linear-gradient(180deg, #ff5fd2, #a8208a); }
.tlv-dz { height: 30px; display: flex; align-items: flex-end; justify-content: center; }
.tlv-dz i { display: block; width: 70%; border-radius: 3px 3px 0 0; height: calc(var(--r) * 100%); background: var(--c); }
.tlv-boss { grid-row: 2 / span 7; height: 100%; min-height: 120px; border-radius: 8px; display: grid; place-items: center; writing-mode: vertical-rl; font-family: var(--dot); font-size: 13px; letter-spacing: .2em; color: #fff;
  background: linear-gradient(180deg, #ff3d5a, #8a0f2a); box-shadow: 0 0 14px rgba(255, 61, 90, .5); }
.tlv-head { position: absolute; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 10px #fff, 0 0 20px rgba(124, 240, 90, .8); border-radius: 2px; pointer-events: none; }
.tlv-cap { margin: 10px 0 0; display: grid; grid-template-columns: 1fr auto; gap: 10px; font-size: 12px; line-height: 1.6; color: var(--mute); height: 1.6em; }   /* 文字数が変わっても高さが跳ねないよう1行に固定 */
.tlv-cap span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tlv-cap b { color: var(--text); font-family: var(--dot); font-weight: 400; }

/* tabs */
.tabs { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tab { background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 2px solid var(--line); border-radius: 16px; padding: 18px; }
.tab h3 { margin: 0 0 6px; display: inline-flex; align-items: center; gap: 8px; font-weight: 900; font-size: 17px; }
.tab h3::before { content: ''; width: 12px; height: 12px; border-radius: 2px; background: var(--c); box-shadow: 0 0 10px var(--c); transform: rotate(45deg); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); scale: 1.4; }
.tab p { margin: 0; font-size: 14px; color: #d5e6dc; line-height: 1.8; }

/* pixel */
.pix-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: center; }
.pix-cv { display: flex; gap: 14px; align-items: center; justify-content: center; }
.pix-cv canvas { width: min(100%, 320px); aspect-ratio: 1; border-radius: 14px; background: #0b1c14; box-shadow: 0 0 0 2px var(--line2), 0 18px 40px rgba(0, 0, 0, .45); image-rendering: pixelated; }
.pal { display: grid; grid-template-columns: repeat(2, 22px); gap: 6px; }
.pal i { width: 22px; height: 22px; border-radius: 6px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .15); transition: transform .15s; }
.pal i.on { transform: scale(1.25); box-shadow: inset 0 0 0 2px #fff, 0 0 10px rgba(255, 255, 255, .5); }

/* share */
.share-g { margin-top: 36px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.sbox { background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 2px solid var(--line); border-radius: 16px; padding: 20px 22px; }
.sbox h3 { margin: 0 0 6px; font-weight: 900; font-size: 18px; color: var(--lime); }
.sbox p { margin: 0; font-size: 15px; color: #dfeee4; }

/* missions */
.mlist { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 10px; }
.mlist li { display: grid; grid-template-columns: 13em 1fr; gap: 14px; align-items: baseline; background: var(--panel); border: 2px solid var(--line); border-radius: 14px; padding: 14px 18px; font-size: 15px; }
.mlist b { font-weight: 900; color: var(--yellow); }

/* how */
.keys { margin: 26px 0 0; display: grid; gap: 10px; }
.keys div { display: grid; grid-template-columns: 11em 1fr; gap: 14px; background: var(--panel); border: 2px solid var(--line); border-radius: 14px; padding: 14px 18px; }
.keys dt { font-weight: 900; color: var(--lime); }
.keys dd { margin: 0; }

/* 姉妹作 */
.sister { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--text);
  background: linear-gradient(180deg, #191d4a, #12153a); border: 2px solid #3d4596; box-shadow: 0 18px 44px rgba(0, 0, 0, .45); transition: transform .2s, box-shadow .2s; }
.sister:hover { transform: translateY(-3px); box-shadow: 0 24px 50px rgba(0, 0, 0, .5), 0 0 30px rgba(47, 230, 255, .2); }
/* 画像は 切り抜かず 全体を 見せる（文字の 列の 高さに 合わせて 切ると 左右の ロゴが 欠けた・2026-11-09 本人） */
.sister { align-items: center; }
.sister img { display: block; width: calc(100% - 16px); height: auto; aspect-ratio: 20 / 13; object-fit: contain; margin: 16px 0 16px 16px; border-radius: 12px; }
@media (max-width: 760px) { .sister { grid-template-columns: 1fr; } .sister img { width: calc(100% - 32px); margin: 16px 16px 0; } }
.sister-t { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; }
.sister-t b { font-family: var(--disp); font-weight: 700; font-size: 26px; line-height: 1.2; color: #fff; }
.sister-t small { color: #2fe6ff; font-weight: 800; font-size: 14px; }
.sister-t > span { font-size: 14px; color: #d4d9fb; line-height: 1.8; }
.sister-t i { align-self: flex-start; margin-top: 6px; font-style: normal; font-weight: 900; font-size: 15px; padding: 8px 18px; border-radius: 12px; color: #04212b; background: linear-gradient(180deg, #3ff0ff, #10a9cc); box-shadow: 0 4px 0 #075469; }

/* parents */
.parents { background: #08120f; border-top: 2px solid var(--line); }
.pgrid { margin-top: 30px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pbox { background: var(--panel); border: 2px solid var(--line); border-radius: 16px; padding: 20px 22px; }
.pbox:first-child { grid-column: 1 / -1; }
.pbox h3 { margin: 0 0 6px; font-weight: 900; font-size: 17px; }
.pbox p { margin: 0; font-size: 15px; color: #d5e6dc; }
.faq { margin-top: 26px; display: grid; gap: 10px; }
.faq details { background: var(--panel); border: 2px solid var(--line); border-radius: 14px; padding: 0 18px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 800; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; translate: 0 -50%; font-family: var(--dot); font-size: 22px; color: var(--lime); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0 0 16px; color: #d5e6dc; font-size: 15px; }

/* footer */
.end { padding: 64px 0 40px; text-align: center; }
.end-t { margin: 0 0 20px; font-family: var(--disp); font-weight: 700; font-size: clamp(24px, 3.4vw, 34px); line-height: 1.4; }
.foot { margin: 40px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 0; font-size: 13px; color: var(--mute); }
.foot > :not(:first-child)::before { content: '/'; margin: 0 .7em; }
.foot a { color: var(--mute); }

@media (max-width: 900px) {
  .hero-in, .think-in, .pix-in, .tl-in, .evo { grid-template-columns: 1fr; gap: 30px; }
  .hero { padding-top: 32px; }
  .hero-t { text-align: center; }
  .brand img { margin: 0 auto; }
  .logo svg { margin: 0 auto; }
  .cta-row { justify-content: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .screen { width: min(80%, 340px); }
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -16px; transform: translateX(-50%) rotate(135deg); }
  .cards.e8 { grid-template-columns: repeat(2, 1fr); }
  .tabs { grid-template-columns: repeat(2, 1fr); }
  .head.left { text-align: center; }
  .evo-t { text-align: center; }
}
@media (max-width: 640px) {
  .sec { padding: 48px 0; }
  .cards.w9 { grid-template-columns: repeat(2, 1fr); }
  .tabs, .share-g, .pgrid { grid-template-columns: 1fr; }
  .mlist li, .keys div { grid-template-columns: 1fr; gap: 2px; }
  .pal { grid-template-columns: 22px; }
  .sister { grid-template-columns: 1fr; }
  .tlv { padding: 12px 10px; }
  .tlv-g { grid-template-columns: 42px repeat(var(--n), 1fr) 30px; gap: 2px; }
  .tlv-l { font-size: 9.5px; }
  .tlv-m { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .lg, .lgb, .lg-ex .lgb, .lg-shine, .lg-flash, .lg-slash, .lg-tw, .s1 .ico canvas, .s2 .ico svg { animation: none !important; }
  .lg-flash, .lg-slash, .lg-tw { opacity: 0; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* OGP の撮影用（about.html?ogp=1・1000×650 を2倍で撮る）。ロゴと動く画面だけを見せる */
html.ogp, html.ogp body { overflow: hidden; }
html.ogp main, html.ogp footer, html.ogp .lead, html.ogp .cta-row { display: none; }
html.ogp .hero { height: 650px; padding: 0; display: grid; align-items: center; }
html.ogp .hero-in { grid-template-columns: 1.15fr .85fr; gap: 24px; width: 920px; }
html.ogp .brand img { width: 230px; }
html.ogp .logo svg { width: 510px; }
html.ogp .tag { font-size: 30px; margin-top: 20px; }
html.ogp .screen { width: 360px; }
