/* AVATAR BATTLER — ゲーム紹介（about.html）。ロゴのクローム（空色→紫→マゼンタ）とネオンの闘技場にそろえる */
:root {
  --bg: #04050b; --ink: #eef2ff; --dim: #9aa4c4; --line: rgba(120,160,255,0.22); --panel: rgba(12,16,34,0.78);
  --p: #29e6ff; --c: #ff2e9a; --y: #ffd23a; --r: #ff4a5e; --v: #8a5cff;
  --en: 'Orbitron', 'Zen Kaku Gothic New', sans-serif; --jp: 'Zen Kaku Gothic New', system-ui, sans-serif; --heavy: 'Dela Gothic One', 'Zen Kaku Gothic New', sans-serif;
  --chrome: linear-gradient(180deg, #f4fcff 0%, #a9e3f7 42%, #4a2a7a 50%, #8a1f8f 72%, #ff2e9a 100%);
  --edge: linear-gradient(120deg, var(--p), var(--v) 50%, var(--c));
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); scroll-behavior: smooth; }
body { font-family: var(--jp); color: var(--ink); line-height: 1.85; font-size: 15px; background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--p); text-underline-offset: 3px; }
b { font-weight: 700; }
.sp { display: none; }
@media (max-width: 600px) { .sp { display: inline; } }

/* ---------- ボタン（タイトルの SOLO と同じ斜めのクローム） ---------- */
.btn { position: relative; display: inline-block; transform: skewX(-14deg); text-decoration: none; border-radius: 6px; overflow: hidden; transition: filter 0.15s, transform 0.15s; }
.btn span { display: block; transform: skewX(14deg); padding: 14px 30px; font-weight: 700; letter-spacing: 0.14em; }
.btn.main { background: var(--chrome); color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.55), 0 0 26px rgba(255,46,154,0.45), 0 0 46px rgba(41,230,255,0.22); text-shadow: 0 2px 0 rgba(10,4,30,0.7); font-size: 17px; }
.btn.main::after { content: ''; position: absolute; top: -20%; bottom: -20%; left: -40%; width: 30%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent); animation: sheen 3.6s ease-in-out 1s infinite; }
@keyframes sheen { 0% { left: -40%; } 28%, 100% { left: 130%; } }
.btn.sub { background: linear-gradient(rgba(8,10,26,0.85), rgba(8,10,26,0.85)) padding-box, var(--edge) border-box; border: 1.5px solid transparent; color: #fff; font-size: 15px; }
.btn:hover { filter: brightness(1.15); }
.btn:active { transform: skewX(-14deg) scale(0.97); }
.btn:focus-visible { outline: 2px solid var(--p); outline-offset: 4px; }

/* ---------- スマホの枠 ---------- */
.phone { position: relative; border-radius: 26px; padding: 7px; background: linear-gradient(160deg, #3a4a7a, #0b0f22 40%, #1a1240 70%, #ff2e9a); box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 18px 50px rgba(0,0,0,0.6), 0 0 40px rgba(41,230,255,0.12); }
.phone img { border-radius: 20px; width: 100%; height: auto; background: #000; }

/* ---------- ヒーロー ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 64px 16px 48px; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; filter: saturate(1.15); }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 30% 45%, rgba(4,5,11,0.35), rgba(4,5,11,0.9) 80%), linear-gradient(180deg, transparent 60%, var(--bg)); }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; background: linear-gradient(transparent, rgba(41,230,255,0.06)), repeating-linear-gradient(90deg, rgba(41,230,255,0.12) 0 1px, transparent 1px 64px), repeating-linear-gradient(0deg, rgba(41,230,255,0.12) 0 1px, transparent 1px 64px); transform: perspective(500px) rotateX(62deg); transform-origin: bottom; opacity: 0.5; pointer-events: none; }
.hero-in { position: relative; z-index: 1; width: min(1080px, 100%); margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.kicker { font-family: var(--en); font-size: 12px; letter-spacing: 0.5em; color: var(--p); }
.hero-logo { margin: 12px 0 8px; line-height: 0; }
.hero-logo img { width: min(520px, 100%); height: auto; filter: drop-shadow(0 0 22px rgba(255,46,154,0.4)) drop-shadow(0 8px 0 rgba(0,0,0,0.55)); animation: logo-in 0.8s cubic-bezier(.2,1.3,.35,1) both; }
@keyframes logo-in { 0% { transform: scale(1.25) skewX(-14deg); opacity: 0; filter: blur(10px); } 100% { transform: none; opacity: 1; } }
.catch { font-family: var(--heavy); font-size: clamp(26px, 4.6vw, 44px); line-height: 1.3; letter-spacing: 0.02em; margin-top: 10px; text-shadow: 0 0 24px rgba(41,230,255,0.35); }
.lead { margin-top: 14px; max-width: 34em; color: #d5dcf5; }
.cta { display: flex; flex-wrap: wrap; gap: 14px 18px; margin-top: 26px; }
.free { margin-top: 14px; font-size: 12px; color: var(--dim); letter-spacing: 0.08em; }
.hero-phone { width: 260px; transform: rotate(4deg); animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -10px; } }

/* ---------- セクション ---------- */
main { width: min(1080px, 100%); margin: 0 auto; padding: 0 16px; }
.sec { padding: 72px 0 8px; }
.sec-en { padding-right: 0.16em; font-family: var(--en); font-weight: 900; font-style: italic; font-size: 13px; letter-spacing: 0.4em; background: var(--edge); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-family: var(--heavy); font-weight: 400; font-size: clamp(24px, 4vw, 36px); line-height: 1.35; margin: 6px 0 14px; }
h3 { font-size: 18px; margin: 4px 0 6px; }
.sec-lead { max-width: 42em; color: #d5dcf5; margin-bottom: 24px; }
.note { font-size: 13px; color: var(--dim); margin-top: 12px; }

/* 3ステップ */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: s; }
.step { display: grid; gap: 16px; align-content: start; }
.step .phone { width: min(230px, 70%); margin: 0 auto; }
.step-txt { position: relative; padding: 18px 18px 18px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
/* 斜体の字は箱の右へはみ出すが、文字で切り抜くグラデーション（background-clip: text）は箱の中しか塗らないので、右端が欠けていた。右に余白を足す（.sec-en・.m-en も同じ） */
.step-txt .no { position: absolute; top: -18px; left: 16px; padding: 0 0.16em 0.04em 0.02em; font-family: var(--en); font-weight: 900; font-style: italic; font-size: 30px; line-height: 1; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 0 rgba(0,0,0,0.6)); }

/* バトル */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.shot .phone { width: 100%; }
.shot figcaption { margin-top: 12px; font-size: 13.5px; color: #d5dcf5; line-height: 1.7; }
.shot figcaption b { display: block; font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 2px; letter-spacing: 0.06em; }

/* 必殺技 */
.moves { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.move { position: relative; padding: 16px 16px 14px; border-radius: 12px; overflow: hidden;
  background: radial-gradient(120% 80% at 0% 0%, color-mix(in srgb, var(--c) 26%, transparent), transparent 60%), var(--panel);
  border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); box-shadow: 0 0 22px color-mix(in srgb, var(--c) 18%, transparent); }
.move b { display: block; font-size: 24px; font-weight: 700; letter-spacing: 0.06em; line-height: 1.25; color: var(--c); text-shadow: 0 0 14px color-mix(in srgb, var(--c) 45%, transparent); }
.move .en { font-family: var(--en); font-size: 10.5px; letter-spacing: 0.3em; color: var(--dim); }
.move p { margin-top: 8px; font-size: 13.5px; line-height: 1.7; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.panel { padding: 18px 20px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.panel h3 { margin-bottom: 10px; }
.stats div, .quirks div { display: grid; grid-template-columns: 5.2em 1fr; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); }
.stats div:first-child, .quirks div:first-child { border-top: 0; }
.stats dt { font-family: var(--en); font-weight: 900; font-style: italic; color: var(--c); }
.quirks dt { font-weight: 700; color: #fff; }
.stats dd, .quirks dd { font-size: 14px; color: #d5dcf5; }

/* モード */
.modes { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mode { padding: 18px; border-radius: 12px; background: linear-gradient(rgba(8,10,26,0.88), rgba(8,10,26,0.88)) padding-box, var(--edge) border-box; border: 1.5px solid transparent; }
.mode .m-en { padding-right: 0.16em; font-family: var(--en); font-weight: 900; font-style: italic; font-size: 20px; letter-spacing: 0.12em; background: linear-gradient(180deg, #fff, #a9e3f7 55%, #ff7fc4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mode h3 { font-size: 16px; margin: 4px 0 6px; }
.mode p { font-size: 13.5px; color: #d5dcf5; line-height: 1.75; }

/* 勝ち方 */
.win { display: grid; grid-template-columns: 1fr 230px; gap: 32px; align-items: center; }
.wins { list-style: none; display: grid; gap: 12px; }
.wins li { padding: 16px 18px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.wins b { font-family: var(--en); font-weight: 900; font-style: italic; font-size: 22px; letter-spacing: 0.06em; color: var(--y); text-shadow: 0 0 16px rgba(255,210,58,0.4); }
.wins p { font-size: 14px; color: #d5dcf5; margin-top: 2px; }

/* 操作 */
.tbl { overflow-x: auto; border-radius: 12px; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { font-size: 12px; color: var(--dim); background: rgba(255,255,255,0.03); }
td:first-child { font-weight: 700; white-space: nowrap; color: #fff; }

/* コツ */
.tips { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; counter-reset: t; }
.tips li { position: relative; padding: 16px 18px 16px 58px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); font-size: 14px; color: #d5dcf5; counter-increment: t; }
.tips li::before { content: counter(t, decimal-leading-zero); position: absolute; left: 16px; top: 15px; font-family: var(--en); font-weight: 900; font-style: italic; font-size: 20px; line-height: 1.5; color: var(--p); }
.tips b { display: block; color: #fff; font-size: 15.5px; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq div { padding: 14px 18px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.faq dt { font-weight: 700; color: #fff; }
.faq dt::before { content: 'Q. '; font-family: var(--en); font-weight: 900; color: var(--c); }
.faq dd { font-size: 14px; color: #d5dcf5; margin-top: 4px; }

/* 遊ぶ帯 */
.cta-band { margin: 80px 0 0; padding: 40px 16px; text-align: center; border-radius: 18px; background: radial-gradient(ellipse at 50% 0%, rgba(255,46,154,0.25), transparent 70%), radial-gradient(ellipse at 50% 100%, rgba(41,230,255,0.2), transparent 70%), var(--panel); border: 1px solid var(--line); }
.cta-band p { font-family: var(--heavy); font-size: clamp(20px, 3.4vw, 28px); margin-bottom: 18px; }

/* 注意 */
.notes h3 { margin-top: 26px; }
.notes ul { padding-left: 1.3em; display: grid; gap: 4px; font-size: 14px; color: #d5dcf5; }
.notes p { font-size: 14px; color: #d5dcf5; margin: 8px 0; }
.box { margin: 10px 0; padding: 14px 18px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.box.warn { border-color: rgba(255,74,94,0.55); background: rgba(255,74,94,0.06); }
.box p b { display: block; color: #fff; }

/* フッター */
footer { width: min(1080px, 100%); margin: 72px auto 0; padding: 36px 16px calc(36px + env(safe-area-inset-bottom)); text-align: center; border-top: 1px solid var(--line); }
.credit { margin-top: 26px; font-size: 12px; color: var(--dim); line-height: 2; }
.credit span { display: block; }
.credit a { color: var(--dim); text-decoration: none; }
.credit a:hover { color: var(--p); }

/* 見えてきたら浮かぶ（JS が html.js-rv を付けたときだけ隠しておく） */
html.js-rv .rv { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(.2,1,.3,1); }
html.js-rv .rv.in { opacity: 1; transform: none; }
html.js-rv .move.rv:nth-child(2n) { transition-delay: 0.06s; }
html.js-rv .move.rv:nth-child(3n) { transition-delay: 0.12s; }

/* ---------- 幅 ---------- */
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .hero-logo img { margin: 0 auto; }
  .lead { margin-left: auto; margin-right: auto; }
  .cta { justify-content: center; }
  .hero-phone { width: 200px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .step { grid-template-columns: 180px 1fr; align-items: center; }
  .step .phone { width: 100%; }
  .shots { grid-template-columns: 1fr 1fr; }
  .moves { grid-template-columns: 1fr 1fr; }
  .modes { grid-template-columns: 1fr 1fr; }
  .two { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 14.5px; }
  .hero { padding-top: 48px; min-height: auto; }
  .step { grid-template-columns: 1fr; }
  .step .phone { width: 62%; }
  .modes { grid-template-columns: 1fr; }
  .tips { grid-template-columns: 1fr; }
  .win { grid-template-columns: 1fr; }
  .win .phone { width: 62%; margin: 0 auto; }
  .move b { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-logo img, .hero-phone, .btn.main::after { animation: none; }
  html.js-rv .rv { opacity: 1; transform: none; transition: none; }
}
