/* シューつく！ about（2026-11-08） */
:root {
  --bg: #07081a; --bg2: #0c0e26; --panel: #12153a; --panel2: #191d4a; --line: #2d3478; --line2: #3d4596;
  --text: #f1f3ff; --mute: #a3abdf; --pink: #ff3d8b; --cyan: #2fe6ff; --yellow: #ffd93b; --lime: #7cf05a; --orange: #ff8a2b;
  --ui: 'M PLUS Rounded 1c', 'Hiragino Maru Gothic ProN', 'Hiragino Sans', system-ui, sans-serif;
  --disp: 'Dela Gothic One', 'M PLUS Rounded 1c', sans-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(1200px 700px at 85% -10%, rgba(255, 61, 139, .14), transparent 60%), radial-gradient(900px 700px at -10% 40%, rgba(47, 230, 255, .1), transparent 60%),
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
  background-size: auto, auto, 32px 32px, 32px 32px;
  overflow-x: hidden;
}
a { color: var(--cyan); }
.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-in { 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%, 520px); height: auto; overflow: visible; }
.tag { margin: 14px 0 0; font-weight: 900; font-size: clamp(18px, 2.4vw, 24px); letter-spacing: .06em; text-shadow: 0 0 14px rgba(47, 230, 255, .55); }
.lead { margin: 16px 0 0; font-size: clamp(15px, 1.7vw, 18px); line-height: 2; color: #dfe4ff; 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, .45);
  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, #232864, #141849); border-color: var(--line2); box-shadow: 0 5px 0 #04051a; 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: #05060f;
  box-shadow: 0 0 0 2px #2a3070, 0 0 0 7px #0b0d26, 0 24px 60px rgba(0, 0, 0, .6), 0 0 70px rgba(47, 230, 255, .16); 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% 90%; }
.lgb { animation: lgBob 2.6s ease-in-out infinite; animation-delay: calc(var(--i) * -.22s); }
@keyframes lgBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5%); } }
.lg { animation: lgIn .72s cubic-bezier(.2, 1.45, .45, 1) both; animation-delay: calc(var(--i) * .085s + .2s); }
@keyframes lgIn { 0% { opacity: 0; transform: translateY(-210%) scale(.3) rotate(-24deg); } 55% { opacity: 1; } 100% { opacity: 1; transform: none; } }
.lg-shine { animation: lgShine 5s ease-in-out infinite 1.6s; }
@keyframes lgShine { 0% { transform: translateX(-30px); } 26%, 100% { transform: translateX(100px); } }
.lg-flash { opacity: 0; animation: lgFlash .5s ease-out both 1s; }
@keyframes lgFlash { 30% { opacity: .95; } 100% { opacity: 0; } }
.lg-ex .lgb { animation: lgBob 2.6s ease-in-out infinite, lgEx 4.8s ease-in-out infinite 1.4s; transform-origin: 50% 100%; }
@keyframes lgEx { 0%, 82%, 100% { rotate: 0deg; scale: 1; } 86% { rotate: -14deg; scale: 1.18; } 90% { rotate: 10deg; scale: 1.1; } 94% { rotate: -4deg; scale: 1; } }

/* sections */
.sec { padding: 64px 0; }
.head { margin: 0; text-align: center; font-family: var(--disp); font-weight: 400; font-size: clamp(28px, 4vw, 40px); line-height: 1.3; letter-spacing: .02em;
  background: linear-gradient(180deg, #fff 20%, #ffe46b 60%, #ff8a2b); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 3px 0 #2b0c33); word-break: keep-all; overflow-wrap: anywhere; }
.head.left { text-align: left; }
.head span, .end-t 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(25, 29, 74, .55), rgba(12, 14, 38, .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: #05060f; box-shadow: inset 0 0 0 2px #2a3070; }
.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(--pink); 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: #1b1f52; 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; counter-reset: s; }
.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: #04212b; background: var(--cyan); }
.step p { margin: 0; color: #dfe4ff; font-size: 15px; }
.ico { width: 76px; height: 76px; border-radius: 18px; display: grid; place-items: center; background: #0a0c2a; 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(--lime); }
.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(124, 240, 90, .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); }

/* patterns */
.pats { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.pats li { background: var(--panel); border: 2px solid var(--line); border-radius: 16px; padding: 10px 10px 14px; text-align: center; }
.pats canvas { display: block; width: 100%; aspect-ratio: 1; border-radius: 10px; background: #05060f; }
.pats b { display: block; margin-top: 10px; font-weight: 900; font-size: 16px; }
.pats span { display: block; font-size: 12px; color: var(--mute); line-height: 1.5; }

/* tabs */
.tabs { margin-top: 36px; display: grid; grid-template-columns: repeat(4, 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: 3px; background: var(--c); box-shadow: 0 0 10px var(--c); transform: rotate(45deg); }
.tab p { margin: 0; font-size: 14px; color: #d4d9fb; 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: #0a0c2a; 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(--cyan); }
.sbox p { margin: 0; font-size: 15px; color: #dfe4ff; }

/* 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(--cyan); }
.keys dd { margin: 0; }

/* parents */
.parents { background: #0b0d24; 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: #d4d9fb; }
.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(--cyan); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0 0 16px; color: #d4d9fb; font-size: 15px; }

/* footer */
.end { padding: 64px 0 40px; text-align: center; }
.end-t { margin: 0 0 20px; font-family: var(--disp); 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 { 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); }
  .pats { grid-template-columns: repeat(3, 1fr); }
  .tabs { grid-template-columns: repeat(2, 1fr); }
  .head.left { text-align: center; }
}
@media (max-width: 560px) {
  .sec { padding: 48px 0; }
  .pats { 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; }
}
@media (prefers-reduced-motion: reduce) {
  .lg, .lgb, .lg-ex .lgb, .lg-shine, .lg-flash, .s1 .ico canvas, .s2 .ico svg { animation: none !important; }
  .lg-flash { 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: 520px; }
html.ogp .tag { font-size: 28px; margin-top: 20px; }
html.ogp .screen { width: 360px; }

/* 姉妹作（2026-11-09 サバつく！ と相互リンク） */
.sister { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--text);
  background: linear-gradient(180deg, #162b25, #10201c); border: 2px solid #34604f; 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(124, 240, 90, .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: 'Kaisei Decol', 'Hiragino Mincho ProN', serif; font-weight: 700; font-size: 26px; line-height: 1.2; color: #fff; }
.sister-t small { color: #7cf05a; font-weight: 800; font-size: 14px; }
.sister-t > span { font-size: 14px; color: #d5e6dc; 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: #06200e; background: linear-gradient(180deg, #a6f78a, #4fc43a); box-shadow: 0 4px 0 #1c5a12; }
@media (max-width: 560px) { .sister { grid-template-columns: 1fr; } }
