/* =========================================================
   RE:GAME CAREER - style.css
   ダーク × ネオン（赤/青/紫）のeスポーツ×キャリアLP
   ========================================================= */

:root {
  --bg: #0a0a12;
  --bg-2: #0f0f1c;
  --bg-card: #15152a;
  --bg-card-2: #1a1a33;
  --text: #f2f3f8;
  --text-sub: #b6b8c9;
  --text-mute: #7d7f95;
  --line: rgba(255, 255, 255, 0.08);

  --red: #ff3b5c;
  --blue: #2e8bff;
  --purple: #8a5cff;
  --neon: #38e8ff;

  --grad: linear-gradient(100deg, #ff3b5c 0%, #8a5cff 50%, #2e8bff 100%);
  --grad-soft: linear-gradient(100deg, rgba(255, 59, 92, 0.14), rgba(46, 139, 255, 0.14));

  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 960px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    "Noto Sans JP", Meiryo, sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: inherit;
  text-decoration: none;
}

strong {
  color: #fff;
  font-weight: 700;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== ボタン ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  text-align: center;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 30px rgba(138, 92, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 38px rgba(255, 59, 92, 0.5);
}

.btn-lg {
  padding: 17px 38px;
  font-size: 17px;
}

.btn-block {
  width: 100%;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text-sub);
}

.btn-ghost:hover {
  border-color: var(--neon);
  color: var(--neon);
}

.btn-header {
  background: var(--grad);
  color: #fff;
  padding: 10px 20px;
  font-size: 13px;
}

.btn-header:hover {
  transform: translateY(-1px);
}

/* ===== ヘッダー ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 18, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}

.brand {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.04em;
  font-style: italic;
}
.brand-re {
  color: var(--red);
}
.brand-game {
  color: #fff;
}
.brand-career {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-left: 4px;
}

/* ===== ファーストビュー ===== */
.hero {
  position: relative;
  padding: 96px 0 88px;
  overflow: hidden;
  background: radial-gradient(
      1200px 600px at 50% -10%,
      rgba(138, 92, 255, 0.18),
      transparent 60%
    ),
    var(--bg);
}

.hero-glow {
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(closest-side, rgba(255, 59, 92, 0.28), transparent);
  filter: blur(40px);
  z-index: 0;
}

.hero-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(46, 139, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 139, 255, 0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 75%);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 26px;
}

.badge {
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-sub);
}

.badge-accent {
  border-color: rgba(255, 59, 92, 0.5);
  color: #ff8098;
  background: rgba(255, 59, 92, 0.08);
}

.hero-title {
  font-size: clamp(30px, 7vw, 56px);
  line-height: 1.28;
  font-weight: 800;
  margin: 0 0 22px;
  letter-spacing: 0.01em;
}

.hero-sub {
  font-size: clamp(15px, 2.4vw, 18px);
  color: var(--text-sub);
  max-width: 680px;
  margin: 0 auto 34px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 18px;
}

.hero-note {
  font-size: 12.5px;
  color: var(--text-mute);
}

/* ===== セクション共通 ===== */
.section {
  padding: 76px 0;
  position: relative;
}

.section-eyebrow {
  font-size: 12px;
  letter-spacing: 0.28em;
  font-weight: 700;
  color: var(--neon);
  margin: 0 0 10px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(24px, 4.6vw, 36px);
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 34px;
}

/* ===== 2. 共感 ===== */
.empathy-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.empathy-list li {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  color: var(--text-sub);
  font-size: 15px;
}

/* ===== 3. メッセージ ===== */
.section-message {
  background: linear-gradient(180deg, var(--bg), var(--bg-2));
}

.message-body {
  font-size: clamp(15px, 2.4vw, 17px);
  color: var(--text-sub);
  max-width: 760px;
  margin: 0 0 34px;
}

.strength-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.strength-card {
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--grad-soft);
  border: 1px solid rgba(138, 92, 255, 0.35);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}

/* ===== 4. できること ===== */
.cando-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cando-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.cando-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--grad);
  opacity: 0.7;
}

.cando-card:hover {
  transform: translateY(-4px);
  border-color: rgba(138, 92, 255, 0.5);
}

.cando-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--neon);
  letter-spacing: 0.1em;
}

.cando-card h3 {
  font-size: 16px;
  margin: 8px 0 8px;
  line-height: 1.4;
}

.cando-card p {
  font-size: 13.5px;
  color: var(--text-mute);
  margin: 0;
  line-height: 1.7;
}

/* 注意書き */
.notice {
  margin: 28px 0 0;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(46, 139, 255, 0.08);
  border: 1px solid rgba(46, 139, 255, 0.3);
  font-size: 14px;
  color: var(--text-sub);
}

/* ===== 5. 対象者 ===== */
.section-target {
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.check-list li {
  position: relative;
  padding: 14px 16px 14px 44px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  color: var(--text-sub);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 16px;
  height: 9px;
  border-left: 2.5px solid var(--neon);
  border-bottom: 2.5px solid var(--neon);
  transform: translateY(-70%) rotate(-45deg);
}

.target-games {
  font-size: 15px;
  color: var(--text-sub);
}

.game-tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.game-tags span {
  font-size: 12.5px;
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-mute);
}

/* ===== 6. なぜやるのか ===== */
.why-inner {
  max-width: 760px;
}

.profile-list {
  list-style: none;
  padding: 24px;
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 12px;
}

.profile-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--text-sub);
}

.profile-list li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--purple);
}

/* ===== 7. 募集内容 ===== */
.section-recruit {
  background: linear-gradient(180deg, var(--bg), var(--bg-2));
}

.recruit-card {
  background: var(--bg-card);
  border: 1px solid rgba(138, 92, 255, 0.3);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  text-align: center;
}

.recruit-dl {
  margin: 0 0 26px;
  text-align: left;
}

.recruit-dl > div {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}

.recruit-dl > div:last-child {
  border-bottom: none;
}

.recruit-dl dt {
  flex: 0 0 90px;
  font-weight: 700;
  color: var(--neon);
  font-size: 14px;
}

.recruit-dl dd {
  margin: 0;
  color: var(--text-sub);
  font-size: 14.5px;
}

.disclaimer {
  margin: 24px auto 0;
  max-width: 760px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 59, 92, 0.07);
  border: 1px solid rgba(255, 59, 92, 0.3);
  font-size: 13.5px;
  color: var(--text-sub);
  text-align: center;
}

/* ===== 8. フォーム ===== */
.section-form {
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
}

.form-container {
  max-width: 640px;
}

.form-lead {
  color: var(--text-sub);
  font-size: 15px;
  margin-top: -18px;
  margin-bottom: 30px;
}

.entry-form {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.req {
  font-size: 11px;
  color: var(--red);
  margin-left: 6px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(138, 92, 255, 0.2);
}

.field textarea {
  resize: vertical;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238a5cff' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.agree {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--text-sub);
  margin: 8px 0 24px;
  line-height: 1.6;
}

.agree input {
  margin-top: 4px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--purple);
}

.form-note {
  text-align: center;
  font-size: 12.5px;
  color: var(--text-mute);
  margin: 16px 0 0;
}

.form-note a {
  color: var(--neon);
  text-decoration: underline;
}

/* ハニーポット非表示 */
.hp-field {
  position: absolute;
  left: -9999px;
}

/* ===== 9. FAQ ===== */
.faq-container {
  max-width: 760px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  background: var(--bg-card);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--neon);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.faq-icon::before {
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
}
.faq-icon::after {
  top: 0;
  left: 7px;
  width: 2px;
  height: 16px;
}
.faq-q[aria-expanded="true"] .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-a p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--text-sub);
  font-size: 14px;
}

/* ===== 10. 最終CTA ===== */
.section-final {
  position: relative;
  padding: 96px 0;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(
      900px 400px at 50% 120%,
      rgba(46, 139, 255, 0.2),
      transparent 60%
    ),
    var(--bg);
}

.final-glow {
  position: absolute;
  bottom: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(closest-side, rgba(138, 92, 255, 0.3), transparent);
  filter: blur(50px);
}

.final-inner {
  position: relative;
  z-index: 1;
}

.final-title {
  font-size: clamp(26px, 5.5vw, 44px);
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 22px;
}

.final-body {
  color: var(--text-sub);
  font-size: clamp(15px, 2.4vw, 17px);
  max-width: 620px;
  margin: 0 auto 34px;
}

/* ===== フッター ===== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 90px;
  background: var(--bg-2);
  text-align: center;
}

.footer-brand {
  font-weight: 800;
  font-style: italic;
  font-size: 18px;
  margin: 0 0 16px;
}

.footer-disclaimer {
  max-width: 700px;
  margin: 0 auto 16px;
  font-size: 12.5px;
  color: var(--text-mute);
  line-height: 1.7;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-mute);
  margin: 0;
}

/* ===== 追従CTA（モバイルのみ） ===== */
.floating-cta {
  display: none;
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 60;
  padding: 14px 30px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 10px 30px rgba(255, 59, 92, 0.45);
  white-space: nowrap;
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
  .cando-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 60px 0;
  }
  .btn-header {
    display: none;
  }
  .cando-grid {
    grid-template-columns: 1fr;
  }
  .check-list {
    grid-template-columns: 1fr;
  }
  .recruit-card,
  .entry-form {
    padding: 22px;
  }
  .recruit-dl > div {
    flex-direction: column;
    gap: 4px;
  }
  .floating-cta {
    display: block;
  }
  .hero {
    padding: 72px 0 64px;
  }
}

/* アニメーション（スクロールで出現） */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
