/* =========================================================
   GBpro（ジービープロ） ライバー募集サイト
   モチーフ：ゲームコントローラー（十字キー＋4色ボタン）
   ========================================================= */
:root {
  --bg: #0b0d24;          /* 本体ネイビー */
  --bg-2: #13163a;        /* セクション交互 */
  --panel: #1b1f4d;       /* カード */
  --line: #2c3170;
  --text: #eef0ff;
  --muted: #a9aedb;
  --pink: #ff3d9a;        /* ボタン色1 */
  --cyan: #2de2e6;        /* ボタン色2 */
  --yellow: #ffd23f;      /* ボタン色3 */
  --green: #3ddc84;       /* ボタン色4 */
  --violet: #7b5cff;
  --light: #f5f6ff;       /* 明るいセクション */
  --ink: #1a1c3d;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --font: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
  --font-en: "Orbitron", "M PLUS Rounded 1c", sans-serif;
  --font-pixel: "Press Start 2P", monospace;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .03em;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.4; margin: 0; }
p { margin: 0 0 1em; }
.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.container.narrow { width: min(800px, 100% - 32px); }
.nowrap { white-space: nowrap; }
.pc { display: inline; }
.sp { display: none; }
@media (max-width: 767px) { .pc { display: none; } .sp { display: inline; } }

/* ---------- 画像スロット（Codex生成画像の差し込み口） ---------- */
.img-slot {
  position: relative;
  display: grid;
  place-items: center;
  border: 2px dashed rgba(169, 174, 219, .45);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 12px, transparent 12px 24px),
    rgba(123, 92, 255, .08);
  overflow: hidden;
}
.img-slot img { width: 100%; height: 100%; object-fit: contain; }
.img-slot .slot-label {
  position: absolute; inset: auto 0 50% 0; transform: translateY(50%);
  text-align: center; font-family: var(--font-en); font-size: 12px; line-height: 1.5;
  color: var(--muted); pointer-events: none;
}
.img-slot.is-loaded { border: 0; background: none; }
.img-slot.is-loaded .slot-label { display: none; }
.img-slot.is-empty img { display: none; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .7em 1.6em;
  border-radius: 999px; border: 2px solid transparent;
  font: 800 16px/1.2 var(--font); letter-spacing: .06em;
  text-decoration: none; cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn-key {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%;
  font: 900 13px/1 var(--font-en);
  background: rgba(255,255,255,.25);
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  box-shadow: 0 6px 0 #8c1f63, 0 12px 24px rgba(255, 61, 154, .35);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-primary:active { transform: translateY(4px); box-shadow: 0 2px 0 #8c1f63; }
.btn-ghost { color: var(--text); border-color: var(--cyan); background: rgba(45, 226, 230, .08); }
.btn-ghost .btn-key { background: var(--cyan); color: var(--bg); }
.btn-ghost:hover { background: rgba(45, 226, 230, .18); }
.btn-lg { min-height: 60px; font-size: 18px; padding-inline: 2.2em; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: rgba(11, 13, 36, .82);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner { height: 100%; width: min(1200px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo-img { height: 40px; width: auto; }
.logo-fallback { display: none; align-items: center; gap: 8px; color: var(--text); }
.logo.use-fallback .logo-img { display: none; }
.logo.use-fallback .logo-fallback { display: inline-flex; }
.logo-pad { width: 44px; height: 28px; color: var(--text); }
.logo-fallback b { font: 900 26px/1 var(--font-en); letter-spacing: .02em; }
.logo-fallback i { font: 800 18px/1 var(--font-en); font-style: normal; color: var(--pink); margin-left: -4px; }

.global-nav { display: flex; align-items: center; gap: 4px; }
.global-nav a { font: 700 13px/1 var(--font-en); letter-spacing: .1em; text-decoration: none; padding: 10px 12px; border-radius: 8px; color: var(--muted); }
.global-nav a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.global-nav .nav-entry { color: #fff; background: var(--pink); margin-left: 8px; padding-inline: 18px; }
.global-nav .nav-entry:hover { background: #ff5aab; }
.menu-btn { display: none; }

@media (max-width: 900px) {
  .menu-btn {
    display: grid; gap: 5px; place-content: center;
    width: 44px; height: 44px; border: 0; border-radius: 10px; background: rgba(255,255,255,.08); cursor: pointer;
  }
  .menu-btn span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .2s; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .global-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(11, 13, 36, .97); padding: 8px 16px 20px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .25s;
  }
  .global-nav.is-open { transform: none; }
  .global-nav a { padding: 16px 8px; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.06); border-radius: 0; }
  .global-nav .nav-entry { margin: 14px 0 0; text-align: center; border-radius: 999px; border: 0; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh; padding: calc(var(--header-h) + 40px) 0 80px;
  background:
    radial-gradient(60% 50% at 80% 30%, rgba(123, 92, 255, .45), transparent 70%),
    radial-gradient(40% 40% at 10% 80%, rgba(255, 61, 154, .28), transparent 70%),
    radial-gradient(30% 30% at 60% 90%, rgba(45, 226, 230, .2), transparent 70%),
    var(--bg);
  display: flex; align-items: center;
}
.hero-grid {
  position: absolute; inset: auto -20% 0 -20%; height: 45%;
  background:
    linear-gradient(rgba(45,226,230,.35) 1px, transparent 1px) 0 0 / 60px 60px,
    linear-gradient(90deg, rgba(45,226,230,.35) 1px, transparent 1px) 0 0 / 60px 60px;
  transform: perspective(500px) rotateX(60deg); transform-origin: bottom;
  mask-image: linear-gradient(to top, #000 10%, transparent);
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent);
  animation: gridMove 3s linear infinite;
  pointer-events: none;
}
@keyframes gridMove { to { background-position: 0 60px, 0 0; } }
.hero-inner {
  position: relative; width: min(1200px, 100% - 32px); margin-inline: auto;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: center;
}
.hero-tag { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.hero-tag span {
  font-size: 13px; font-weight: 800; padding: 4px 14px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
}
.hero-tag span:first-child { background: var(--pink); border-color: var(--pink); }
.hero-press { font: 400 clamp(12px, 1.4vw, 16px)/1 var(--font-pixel); color: var(--yellow); letter-spacing: .1em; margin-bottom: 18px; }
.blink { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-title { font-size: clamp(34px, 5.4vw, 64px); font-weight: 800; letter-spacing: .02em; text-shadow: 0 4px 24px rgba(0,0,0,.4); }
.hero-title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--cyan), var(--pink) 60%, var(--yellow));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { margin-top: 22px; font-size: clamp(15px, 1.6vw, 18px); color: var(--muted); }
.hero-lead strong { color: var(--text); }
.hero-badges { list-style: none; padding: 0; margin: 26px 0 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-badges li {
  width: 112px; height: 112px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: var(--panel); border: 3px solid var(--line);
  box-shadow: inset 0 -6px 0 rgba(0,0,0,.25);
}
.hero-badges li:nth-child(1) { border-color: var(--pink); }
.hero-badges li:nth-child(2) { border-color: var(--cyan); }
.hero-badges li:nth-child(3) { border-color: var(--yellow); }
.hero-badges b.num { font: 800 40px/1 var(--font); color: var(--pink); }
.hero-badges small { font-size: 16px; font-weight: 800; color: var(--pink); margin-left: 2px; }
.hero-badges span { display: block; font-size: 12px; font-weight: 800; line-height: 1.35; margin-top: 4px; }
.ico-discord, .ico-trophy { display: block; width: 34px; height: 34px; margin: 0 auto; background: currentColor; }
.ico-discord {
  color: var(--cyan);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H9l-5 4v-4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2zm4 6.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zm4 0a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zm4 0a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H9l-5 4v-4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2zm4 6.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zm4 0a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zm4 0a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.ico-trophy {
  color: var(--yellow);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3h10v2h4v3a4 4 0 0 1-4 4h-.3A5 5 0 0 1 13 14.9V18h3v3H8v-3h3v-3.1A5 5 0 0 1 7.3 12H7a4 4 0 0 1-4-4V5h4V3zm0 4H5v1a2 2 0 0 0 2 2V7zm10 0v3a2 2 0 0 0 2-2V7h-2z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3h10v2h4v3a4 4 0 0 1-4 4h-.3A5 5 0 0 1 13 14.9V18h3v3H8v-3h3v-3.1A5 5 0 0 1 7.3 12H7a4 4 0 0 1-4-4V5h4V3zm0 4H5v1a2 2 0 0 0 2 2V7zm10 0v3a2 2 0 0 0 2-2V7h-2z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual { position: relative; }
.img-hero { aspect-ratio: 1 / 1; width: 100%; max-width: 600px; margin-left: auto; border-radius: 32px; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  font: 700 11px/1 var(--font-en); letter-spacing: .3em; color: var(--muted); text-decoration: none;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-cue::after { content: ""; width: 1px; height: 36px; background: linear-gradient(var(--cyan), transparent); animation: cue 1.6s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 28px); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .img-hero { max-width: 420px; margin-inline: auto; }
  .hero-badges { justify-content: center; }
  .hero-badges li { width: 98px; height: 98px; }
  .hero-badges b.num { font-size: 34px; }
  .hero-copy { text-align: center; }
  .hero-tag, .hero-cta { justify-content: center; }
  .hero-cta .btn { flex: 1 1 100%; }
  .scroll-cue { display: none; }
}

/* ---------- セクション共通 ---------- */
.section { padding: 110px 0; position: relative; }
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-en {
  display: inline-flex; align-items: center; gap: 14px;
  font: 900 13px/1 var(--font-en); letter-spacing: .35em; color: var(--cyan); margin: 0 0 14px;
}
.sec-en::before, .sec-en::after {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: var(--pink); box-shadow: 16px 0 0 var(--yellow);
}
.sec-en::after { background: var(--green); box-shadow: -16px 0 0 var(--cyan); margin-left: 16px; }
.sec-en::before { margin-right: 16px; }
.sec-title { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; }
.sec-lead { margin: 16px 0 0; color: var(--muted); }
@media (max-width: 767px) { .section { padding: 76px 0; } .sec-head { margin-bottom: 40px; } }

/* ---------- ABOUT ---------- */
.about { background: var(--light); color: var(--ink); }
.about .sec-en { color: var(--violet); }
.about-body { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.img-about { aspect-ratio: 4 / 3; border-color: rgba(26,28,61,.25); background-color: rgba(123,92,255,.06); }
.img-about .slot-label { color: #6c6f99; }
.about-catch { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; line-height: 1.5; color: var(--violet); }
.about-text strong { background: linear-gradient(transparent 60%, rgba(255, 210, 63, .6) 60%); }
@media (max-width: 900px) { .about-body { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- POINT ---------- */
.point { background: var(--bg); }
.point-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.point-card {
  --c: var(--pink);
  position: relative; text-align: center;
  background: var(--panel); border-radius: 24px; padding: 48px 28px 32px;
  border: 2px solid var(--line);
  box-shadow: inset 0 -8px 0 rgba(0,0,0,.25), var(--shadow);
  transition: transform .2s, border-color .2s;
}
.point-card:hover { transform: translateY(-6px); border-color: var(--c); }
.point-card.c-cyan { --c: var(--cyan); }
.point-card.c-yellow { --c: var(--yellow); }
.point-no {
  position: absolute; top: -26px; left: 50%; transform: translateX(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  font: 900 18px/1 var(--font-en); color: var(--bg);
  background: var(--c); box-shadow: 0 5px 0 rgba(0,0,0,.35);
}
.img-icon { width: 160px; height: 160px; margin: 0 auto 20px; border-radius: 50%; }
.point-card h3 { font-size: 22px; margin-bottom: 14px; color: var(--c); }
.point-card p { color: var(--muted); font-size: 15px; text-align: left; margin: 0; }
@media (max-width: 900px) { .point-list { grid-template-columns: 1fr; gap: 48px; max-width: 480px; margin-inline: auto; } }

/* ---------- SUPPORT ---------- */
.support { background: var(--bg-2); }
.support-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.support-list li {
  display: grid; grid-template-columns: 72px 1fr; grid-template-rows: auto 1fr; column-gap: 16px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.img-sicon { grid-row: 1 / 3; width: 72px; height: 72px; border-radius: 16px; }
.img-sicon .slot-label { font-size: 9px; }
.support-list h3 { font-size: 17px; margin: 4px 0 6px; }
.support-list p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.75; }
@media (max-width: 900px) { .support-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .support-list { grid-template-columns: 1fr; } }

/* ---------- RECORD ---------- */
.record { background: var(--bg); }
.record-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.record-card { background: var(--panel); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.img-record { aspect-ratio: 8 / 5; border-radius: 0; border-width: 0 0 2px; }
.img-record img { object-fit: cover; }
.record-body { padding: 20px 22px 24px; }
.record-meta { font: 700 12px/1 var(--font-en); color: var(--cyan); letter-spacing: .15em; margin-bottom: 10px; }
.record-body h3 { font-size: 17px; margin-bottom: 8px; }
.record-body p:last-child { font-size: 14px; color: var(--muted); margin: 0; }
@media (max-width: 900px) { .record-list { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* ---------- CTA BAND ---------- */
.cta-band {
  padding: 72px 0; text-align: center;
  background:
    url("../assets/img/cta-bg.png") center / cover no-repeat,
    linear-gradient(120deg, var(--pink), var(--violet) 55%, #3a2fd1);
}
.cta-small { font-weight: 800; margin-bottom: 6px; }
.cta-big { font-size: clamp(24px, 3.6vw, 38px); font-weight: 800; margin-bottom: 26px; }
.cta-band .btn-primary { background: #fff; color: var(--pink); box-shadow: 0 6px 0 rgba(0,0,0,.25); }
.cta-band .btn-primary .btn-key { background: var(--pink); color: #fff; }

/* ---------- FLOW ---------- */
.flow { background: var(--bg-2); }
.flow-map { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.flow-map::before {
  content: ""; position: absolute; top: 106px; left: 12%; right: 12%; height: 4px;
  background: repeating-linear-gradient(90deg, var(--cyan) 0 12px, transparent 12px 22px);
}
.flow-map li { position: relative; text-align: center; }
.stage {
  display: inline-block; font: 400 10px/1 var(--font-pixel); letter-spacing: .05em;
  color: var(--bg); background: var(--yellow); padding: 7px 10px; border-radius: 6px; margin-bottom: 14px;
}
.flow-map li:last-child .stage { background: var(--pink); color: #fff; }
.img-step { width: 136px; height: 136px; margin: 0 auto 18px; border-radius: 50%; background-color: var(--panel); position: relative; z-index: 1; }
.flow-map .img-step, .flow-map .img-step.is-loaded { background: var(--panel); border: 3px solid var(--line); }
.flow-map .img-step.is-loaded img { padding: 14%; }
.flow-map h3 { font-size: 18px; margin-bottom: 8px; }
.flow-map p { font-size: 14px; color: var(--muted); margin: 0; }
@media (max-width: 900px) {
  .flow-map { grid-template-columns: 1fr; gap: 20px; max-width: 520px; margin-inline: auto; }
  .flow-map::before { top: 0; bottom: 0; left: 52px; right: auto; width: 4px; height: auto;
    background: repeating-linear-gradient(180deg, var(--cyan) 0 12px, transparent 12px 22px); }
  .flow-map li { display: grid; grid-template-columns: 104px 1fr; grid-template-rows: auto auto 1fr; column-gap: 18px; text-align: left; align-items: start; }
  .flow-map .img-step { grid-column: 1; grid-row: 1 / 4; width: 104px; height: 104px; margin: 0; }
  .flow-map .stage { grid-column: 2; justify-self: start; margin: 10px 0 8px; }
}

/* ---------- REQUIREMENTS ---------- */
.req { background: var(--light); color: var(--ink); }
.req .sec-en { color: var(--violet); }
.req-box { max-width: 800px; margin-inline: auto; background: #fff; border-radius: 24px; padding: 40px 44px; box-shadow: 0 10px 30px rgba(26,28,61,.08); border: 2px solid #e4e6fb; }
.req-list { list-style: none; padding: 0; margin: 0 0 18px; }
.req-list li { position: relative; padding: 14px 0 14px 38px; border-bottom: 1px dashed #d4d7f3; font-weight: 700; }
.req-list li::before {
  content: ""; position: absolute; left: 0; top: 18px; width: 22px; height: 22px;
  background:
    linear-gradient(var(--violet), var(--violet)) center / 22px 8px no-repeat,
    linear-gradient(var(--violet), var(--violet)) center / 8px 22px no-repeat;
  border-radius: 3px;
}
.req .note { font-size: 14px; color: #5d6090; margin: 0; }
@media (max-width: 600px) { .req-box { padding: 28px 22px; } }

/* ---------- FAQ ---------- */
.faq { background: var(--bg); }
.faq-list details { background: var(--panel); border-radius: 16px; margin-bottom: 14px; border: 1px solid var(--line); overflow: hidden; }
.faq-list summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 56px 20px 64px; font-weight: 800; line-height: 1.6;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font: 900 24px/1 var(--font-en); color: var(--cyan); transition: transform .2s;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.q, .a-mark {
  position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font: 900 15px/1 var(--font-en);
}
.q { background: var(--cyan); color: var(--bg); }
.faq-list .a { position: relative; padding: 4px 24px 22px 64px; color: var(--muted); }
.a-mark { top: 0; background: var(--pink); color: #fff; }
.faq-list .a p { margin: 0; }

/* ---------- ENTRY FORM ---------- */
.entry { background: var(--bg-2); }
.form-steps { list-style: none; padding: 0; margin: 0 auto 36px; display: flex; justify-content: center; gap: 8px; max-width: 480px; }
.form-steps li {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 8px; border-radius: 12px; font-weight: 800; font-size: 14px;
  background: rgba(255,255,255,.05); color: var(--muted); border: 2px solid transparent;
}
.form-steps span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 900 12px/1 var(--font-en); background: rgba(255,255,255,.12); }
.form-steps .is-current { color: var(--text); border-color: var(--pink); background: rgba(255, 61, 154, .12); }
.form-steps .is-current span { background: var(--pink); }
.form-steps .is-done span { background: var(--green); color: var(--bg); }

.entry-form, .confirm-panel, .done-panel {
  background: var(--light); color: var(--ink); border-radius: 28px; padding: 44px 48px;
  box-shadow: var(--shadow);
}
@media (max-width: 600px) { .entry-form, .confirm-panel, .done-panel { padding: 28px 18px; border-radius: 20px; } }
.form-note { font-size: 14px; color: #5d6090; }
.entry-form fieldset { border: 0; padding: 0; margin: 0 0 28px; }
.entry-form legend {
  width: 100%; font-size: 18px; font-weight: 800; padding: 0 0 10px 18px; margin-bottom: 20px;
  border-bottom: 2px solid #dfe1f7; position: relative;
}
.entry-form legend::before { content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 20px; border-radius: 4px; background: var(--pink); }
.field { margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.field > label, .field > .label { display: block; font-weight: 800; margin-bottom: 8px; }
.req-tag, .opt-tag { display: inline-block; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 4px; vertical-align: 2px; margin-left: 4px; line-height: 1.6; }
.req-tag { background: var(--pink); color: #fff; }
.opt-tag { background: #dfe1f7; color: #5d6090; }
.entry-form input[type="text"], .entry-form input[type="email"], .entry-form input[type="number"], .entry-form input[type="url"],
.entry-form select, .entry-form textarea {
  width: 100%; font: 500 16px/1.6 var(--font); color: var(--ink);
  background: #fff; border: 2px solid #d4d7f3; border-radius: 12px; padding: 12px 14px;
  transition: border-color .15s, box-shadow .15s; appearance: none; -webkit-appearance: none;
}
.entry-form select {
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237b5cff' stroke-width='2'/%3E%3C/svg%3E") right 14px center / 12px no-repeat;
  padding-right: 36px;
}
.entry-form textarea { resize: vertical; min-height: 100px; }
.entry-form input:focus, .entry-form select:focus, .entry-form textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(123, 92, 255, .18); }
.with-unit { display: flex; align-items: center; gap: 8px; }
.with-unit input { max-width: 140px; }
.with-unit span { font-weight: 700; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choices label, .check {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: #fff; border: 2px solid #d4d7f3; border-radius: 999px; padding: 9px 16px; font-weight: 700; font-size: 15px;
  transition: border-color .15s, background .15s;
}
.choices label:has(input:checked) { border-color: var(--violet); background: rgba(123, 92, 255, .1); }
.choices input, .check input { accent-color: var(--violet); width: 18px; height: 18px; margin: 0; }
.check { border-radius: 12px; }
.sub-input { margin-top: 10px; }
.hint { font-size: 13px; color: #5d6090; margin: 8px 0 0; line-height: 1.7; }
.counter { text-align: right; font-size: 12px; color: #8a8db5; margin: 4px 0 0; }
.err { color: #e0245e; font-size: 13px; font-weight: 700; margin: 6px 0 0; min-height: 0; }
.err:empty { display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #e0245e; }
.field.has-error .choices label, .field.has-error .check { border-color: #f3a6bf; }
.guardian { background: #fff4d6; border-radius: 12px; padding: 14px; }
.guardian .check { background: #fff; }
.agree { text-align: center; margin-top: 8px; }
.agree a { color: var(--violet); font-weight: 800; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { text-align: center; margin-top: 28px; }
.form-actions.two { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap-reverse; }
.confirm-panel .btn-ghost, .done-panel .btn-ghost { color: var(--ink); border-color: var(--violet); background: #fff; }
.confirm-panel .btn-ghost .btn-key { background: var(--violet); color: #fff; }

.confirm-lead { font-weight: 700; }
.confirm-list { margin: 0; border-top: 2px solid #dfe1f7; }
.confirm-list div { display: grid; grid-template-columns: 220px 1fr; gap: 12px; padding: 14px 4px; border-bottom: 1px solid #dfe1f7; }
.confirm-list dt { font-weight: 800; color: #5d6090; font-size: 14px; }
.confirm-list dd { margin: 0; white-space: pre-wrap; word-break: break-word; }
.confirm-list dd.empty { color: #a3a6c8; }
@media (max-width: 600px) { .confirm-list div { grid-template-columns: 1fr; gap: 2px; } }
.send-error { background: #ffe3ec; color: #b0103f; border-radius: 12px; padding: 14px; font-weight: 700; margin-top: 18px; }

.done-panel { text-align: center; }
.done-pixel { font: 400 clamp(16px, 3vw, 26px)/1.4 var(--font-pixel); color: var(--pink); margin-bottom: 18px; }
.done-panel h3 { font-size: 24px; margin-bottom: 16px; }

/* ---------- FOOTER ---------- */
.site-footer { background: #070818; padding: 56px 0 24px; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1.4fr 1fr; gap: 32px; align-items: start; }
.footer-brand p { color: var(--muted); font-size: 13px; margin-top: 12px; }
.company { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0; font-size: 14px; }
.company dt { color: var(--muted); }
.company dd { margin: 0; }
.footer-nav { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--text); }
.copyright { text-align: center; color: #6d71a3; font-size: 12px; margin: 40px 0 0; }
@media (max-width: 767px) { .footer-inner { grid-template-columns: 1fr; } .site-footer { padding-bottom: 96px; } }

/* ---------- 追従ENTRYボタン（コントローラーのボタン風） ---------- */
.float-entry {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-content: center; text-align: center; text-decoration: none;
  background: radial-gradient(circle at 35% 30%, #ff7fbe, var(--pink) 60%);
  box-shadow: 0 6px 0 #8c1f63, 0 14px 30px rgba(255, 61, 154, .45);
  color: #fff; transition: transform .2s, opacity .2s;
  opacity: 0; transform: translateY(20px); pointer-events: none;
}
.float-entry.is-show { opacity: 1; transform: none; pointer-events: auto; }
.float-entry:active { transform: translateY(4px); box-shadow: 0 2px 0 #8c1f63; }
.float-entry span { font: 900 15px/1 var(--font-en); letter-spacing: .05em; }
.float-entry small { font-size: 11px; font-weight: 800; margin-top: 4px; }
@media (max-width: 767px) {
  .float-entry { left: 12px; right: 12px; bottom: 12px; width: auto; height: 56px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 10px; background: linear-gradient(135deg, var(--pink), var(--violet)); }
  .float-entry small { margin: 0; font-size: 14px; }
}

/* ---------- スクロール出現 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
