/* =======================================================
   Poicasi プレローンチ LP - デザインシステム＆スタイル
   コーポレートサイト(hp.poicasi.co.jp)と統一トンマナ
   ======================================================= */

/* --- Google Fonts (Corporate と同じフォントスタック) --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+JP:wght@400;500;700;900&family=Outfit:wght@400;500;600;700;800;900&family=Quicksand:wght@400;500;600;700&display=swap');

/* ========================
   Design Tokens (Corporate準拠)
   ======================== */
:root {
  /* Backgrounds */
  --bg-primary: #FFFDF5;
  --bg-alt: #FFF8E1;
  --bg-surface: #FFFFFF;
  --bg-dark: #1B1B2F;
  --bg-dark-surface: #24243E;

  /* Gold (ブランドカラー) */
  --gold: #C8963E;
  --gold-light: #E8B960;
  --gold-lighter: #F5D690;
  --gold-dark: #9B7330;

  /* Text */
  --text: #1F2937;
  --text-secondary: #6B7280;
  --text-white: #F9FAFB;
  --text-gold: #C8963E;

  /* Borders */
  --border: rgba(0,0,0,0.06);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-gold: 0 4px 24px rgba(200,150,62,0.2);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Typography */
  --font-ja: 'Noto Sans JP', sans-serif;
  --font-en: 'Outfit', sans-serif;
  --font-body: 'Inter', 'Noto Sans JP', sans-serif;
  --font-logo: 'Quicksand', 'Noto Sans JP', sans-serif;

  /* Spacing */
  --header-h: 72px;
  --section-py: 120px;
  --container-max: 1100px;

  /* Animation */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ========================
   Reset & Base
   ======================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-primary);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s var(--ease); }
button, input { font: inherit; border: none; outline: none; background: none; cursor: pointer; }

.sp-only { display: none; }
@media (max-width: 768px) { .sp-only { display: inline; } }

/* ========================
   Layout
   ======================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-py) 0;
}

.section--light {
  background: var(--bg-primary);
}

.section--alt {
  background: var(--bg-alt);
}

/* ========================
   Hero Background Particles (Corporate準拠)
   ======================== */
.hero__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.35;
}

.particle:nth-child(1) { width: 100px; height: 100px; top: 15%; left: 8%; animation: pFloat 22s ease-in-out infinite; background: #FFB6C1; }
.particle:nth-child(2) { width: 60px; height: 60px; top: 60%; left: 78%; animation: pFloat 18s ease-in-out infinite 2s; background: #B5EAD7; }
.particle:nth-child(3) { width: 80px; height: 80px; top: 72%; left: 18%; animation: pFloat 25s ease-in-out infinite 4s; background: #C7CEEA; }
.particle:nth-child(4) { width: 45px; height: 45px; top: 22%; left: 82%; animation: pFloat 20s ease-in-out infinite 1s; background: #FFDAC1; }
.particle:nth-child(5) { width: 70px; height: 70px; top: 42%; left: 55%; animation: pFloat 28s ease-in-out infinite 3s; background: #FFB347; opacity: 0.2; }
.particle:nth-child(6) { width: 50px; height: 50px; top: 80%; left: 65%; animation: pFloat 16s ease-in-out infinite 5s; background: #FFD93D; opacity: 0.25; }

@keyframes pFloat {
  0%, 100% { transform: translateY(0) translateX(0) scale(1); }
  25% { transform: translateY(-30px) translateX(15px) scale(1.08); }
  50% { transform: translateY(-15px) translateX(-10px) scale(0.95); }
  75% { transform: translateY(-40px) translateX(20px) scale(1.02); }
}

/* ========================
   Header (Corporate準拠)
   ======================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 253, 245, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--text);
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFE082, var(--gold-light), var(--gold));
  box-shadow: 0 2px 8px rgba(200, 150, 62, 0.3);
  transition: transform 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.logo-mark::after {
  content: '';
  position: absolute;
  top: 20%;
  left: 25%;
  width: 35%;
  height: 25%;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transform: rotate(-30deg);
}

.logo:hover .logo-mark {
  transform: scale(1.1) rotate(10deg);
}

.header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: var(--gold);
  color: var(--text-white);
  font-family: var(--font-logo);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  transition: background 0.3s, transform 0.3s;
}

.header-badge:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.header-badge .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6BCB77;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

/* ========================
   Hero Section
   ======================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #FFFEF8 0%, #FFF6DC 30%, #FFEDB8 60%, #FFFBF0 100%);
  background-size: 300% 300%;
  animation: gradientShift 12s ease infinite;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(255,210,120,0.1) 0%, transparent 60%);
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
  width: 100%;
  padding: 0 24px;
}

/* Hero Label */
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-logo);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.3s forwards;
}

.hero-label .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6BCB77;
  animation: pulse 1.5s ease-in-out infinite;
}

/* Hero Typography */
.hero h1 {
  font-family: var(--font-ja);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 24px;
  color: var(--text);
  letter-spacing: 0.02em;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.5s forwards;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 2;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.7s forwards;
}

/* Signup Form */
.signup-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 440px;
  margin: 0 auto 40px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.9s forwards;
}

.input-wrapper {
  position: relative;
}

.input-wrapper .input-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  opacity: 0.4;
}

.signup-form input[type="email"] {
  width: 100%;
  padding: 16px 18px 16px 48px;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  background: var(--bg-primary);
  border: 1px solid #E5E7EB;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, box-shadow 0.3s;
  color: var(--text);
}

.signup-form input[type="email"]::placeholder {
  color: #C4C4C4;
}

.signup-form input[type="email"]:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 150, 62, 0.1);
}

/* ========================
   LINE Register Block (Hero) - CTA型ボタン
   ======================== */
.line-register-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 480px;
  margin: 0 auto 32px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.9s forwards;
}

/* メインCTAボタン */
.btn-line-cta {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 440px;
  background: linear-gradient(135deg, #06C755, #00A846);
  color: #ffffff;
  border-radius: 16px;
  padding: 18px 24px;
  gap: 16px;
  text-decoration: none;
  box-shadow: 0 6px 28px rgba(6, 199, 85, 0.45), 0 2px 8px rgba(6,199,85,0.2);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  /* パルスリングアニメ */
  animation: fadeUp 0.8s var(--ease) 0.9s forwards, linePulse 2.4s ease-in-out 1.5s infinite;
  opacity: 0;
}

.btn-line-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  border-radius: inherit;
  pointer-events: none;
}

.btn-line-cta:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 40px rgba(6, 199, 85, 0.55), 0 4px 12px rgba(6,199,85,0.3);
  animation: none; /* hover時はパルス停止 */
}

.btn-line-cta:active {
  transform: translateY(-1px) scale(0.99);
}

@keyframes linePulse {
  0%, 100% { box-shadow: 0 6px 28px rgba(6, 199, 85, 0.45), 0 2px 8px rgba(6,199,85,0.2); }
  50%       { box-shadow: 0 8px 36px rgba(6, 199, 85, 0.70), 0 4px 16px rgba(6,199,85,0.4); transform: translateY(-2px); }
}

.btn-line-cta__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.2);
  border-radius: 12px;
}

.btn-line-cta__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  text-align: left;
}

.btn-line-cta__main {
  font-family: var(--font-ja);
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.btn-line-cta__sub {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.82);
  font-weight: 500;
  line-height: 1.3;
}

.btn-line-cta__arrow {
  font-size: 1.8rem;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  flex-shrink: 0;
  line-height: 1;
  margin-right: 4px;
}

/* カウンター：シンプルなテキスト表示 */
.counter-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.6;
}

.counter-text strong {
  font-family: var(--font-en);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 2px;
}
/* ========================
   Buttons (Corporate準拠)
   ======================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-logo);
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--text-white);
  padding: 16px 40px;
  font-size: 1rem;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(200, 150, 62, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary.loading {
  pointer-events: none;
  opacity: 0.7;
}

.btn-primary.loading::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* LINE Button */
.btn-line {
  background: linear-gradient(135deg, #06C755, #00B14F);
  color: #ffffff;
  padding: 18px 48px;
  font-size: 1.05rem;
  font-weight: 800;
  box-shadow: 0 4px 24px rgba(6, 199, 85, 0.35);
  letter-spacing: 0.03em;
  width: 100%;
  max-width: 380px;
  border-radius: var(--radius-full);
}

.btn-line:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 36px rgba(6, 199, 85, 0.45);
  background: linear-gradient(135deg, #09D85F, #06C755);
}

.btn-line:active {
  transform: translateY(0) scale(0.99);
}

.btn-cta-line {
  padding: 20px 56px;
  font-size: 1.1rem;
}

.line-icon {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}



.btn-secondary {
  background: var(--bg-surface);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 14px 32px;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-icon {
  font-size: 1.1em;
}

/* ========================
   Social Proof / Counter
   ======================== */
.social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 1.1s forwards;
}

.counter-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-surface);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.counter-number {
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
}

.counter-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* ========================
   Position Card (Registered View)
   ======================== */
.hero-registered {
  opacity: 0;
  animation: fadeUp 0.6s var(--ease) forwards;
}

.position-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  text-align: center;
  max-width: 480px;
  margin: 0 auto 40px;
}

.position-card h2 {
  font-family: var(--font-ja);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 8px;
}

.position-label {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
}

.position-number {
  font-family: var(--font-en);
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 16px 0;
  line-height: 1;
}

.position-suffix {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
}

/* Stats Cards */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.stat-card {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 16px 12px;
  text-align: center;
  border: 1px solid var(--border);
}

.stat-value {
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
}

.stat-label {
  font-size: 0.7rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-top: 2px;
}

/* ========================
   Section Headers (Corporate準拠)
   ======================== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-ja);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1.4;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 12px;
}

/* ========================
   Features Section (Corporate feature-card準拠)
   ======================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.feature-title {
  font-family: var(--font-ja);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ========================
   Scratch Card Section
   ======================== */
.scratch-preview {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.scratch-card-outer {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--gold);
  position: relative;
  overflow: hidden;
}

.scratch-card-outer::before {
  content: '✨';
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.5rem;
  animation: sparkle 2s ease-in-out infinite;
}

.scratch-card-outer::after {
  content: '✨';
  position: absolute;
  bottom: 12px;
  left: 16px;
  font-size: 1.2rem;
  animation: sparkle 2s ease-in-out infinite 0.5s;
}

@keyframes sparkle {
  0%, 100% { opacity: 0.3; transform: scale(1) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.3) rotate(20deg); }
}

.scratch-card-header { margin-bottom: 16px; }

.scratch-card-label {
  font-family: var(--font-en);
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.scratch-area-wrapper {
  position: relative;
  width: 100%;
  height: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
}

.scratch-reward-display {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-dark);
  background: var(--bg-alt);
  z-index: 1;
}

#scratch-canvas,
#scratch-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: var(--radius-md);
}

#scratch-particles {
  z-index: 3;
  pointer-events: none;
}

.scratch-locked {
  background: rgba(0, 0, 0, 0.03);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
}

.scratch-locked-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.5;
}

.scratch-locked-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.scratch-remaining-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 16px;
  background: linear-gradient(135deg, var(--gold-lighter), rgba(200,150,62,0.15));
  color: var(--gold-dark);
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 1px solid rgba(200,150,62,0.3);
}

/* Scratch Game Overlay */
#scratch-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
}

#scratch-overlay.active { display: flex; }

#scratch-game-container {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  max-width: 400px;
  width: 90%;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--gold);
  position: relative;
  z-index: 9001;
  display: none;
}

#scratch-game-container.active {
  display: block;
  animation: bounceIn 0.5s var(--ease-bounce);
}

#scratch-result { display: none; }
#scratch-result.active { display: block; }

.scratch-result-content {
  text-align: center;
  padding: 24px 0;
}

.reward-emoji {
  font-size: 4rem;
  margin-bottom: 16px;
  animation: bounceIn 0.5s var(--ease-bounce);
}

.reward-points {
  font-family: var(--font-en);
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.reward-text {
  font-family: var(--font-ja);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.reward-note {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.btn-close-scratch { width: 100%; }

/* ========================
   Referral Section
   ======================== */
.referral-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.referral-link-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  border: 2px dashed var(--gold);
}

.referral-link-text {
  flex: 1;
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-dark);
  word-break: break-all;
}

.share-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.btn-share {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 8px;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 700;
  transition: all 0.3s var(--ease-bounce);
}

.btn-share:hover { transform: translateY(-4px); }

.btn-share-icon { font-size: 1.5rem; }

.btn-share-x { background: #1DA1F2; color: white; }
.btn-share-line { background: #06C755; color: white; }

.btn-share-copy {
  background: rgba(200,150,62,0.1);
  color: var(--gold-dark);
  border: 1px solid rgba(200,150,62,0.3);
}

.btn-share-copy.copied {
  background: #6BCB77;
  color: white;
  border-color: #6BCB77;
}

/* Tier Progress */
.tier-progress-wrapper {
  margin-top: 24px;
  text-align: center;
}

.tier-current {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: var(--bg-alt);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 12px;
  border: 2px solid transparent;
}

.tier-progress-bar-outer {
  width: 100%;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--bg-alt);
  overflow: hidden;
  margin-bottom: 8px;
  border: 1px solid var(--border);
}

.tier-progress-bar-inner {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  transition: width 0.8s var(--ease-bounce);
  min-width: 4px;
}

.tier-next-info {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* ========================
   Tiers Section
   ======================== */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.tier-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease);
}

.tier-card.achieved {
  border-color: #6BCB77;
  background: linear-gradient(180deg, #f0fff0, #e8f5e9);
  position: relative;
}

.tier-card.achieved::after {
  content: '✅';
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 1.2rem;
}

.tier-card.current {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  transform: scale(1.03);
}

.tier-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.tier-emoji {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}

.tier-name {
  font-family: var(--font-ja);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.tier-requirement {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-dark);
  background: linear-gradient(135deg, var(--gold-lighter), rgba(200,150,62,0.15));
  margin-bottom: 16px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  display: inline-block;
  border: 1px solid rgba(200,150,62,0.3);
}

.tier-reward {
  font-size: 0.95rem;
  color: var(--gold-dark);
  font-weight: 700;
}

/* ========================
   FAQ Section (Accordion)
   ======================== */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: border-color 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

.faq-item:hover { border-color: rgba(200, 150, 62, 0.2); }
.faq-item.active { border-color: var(--gold); box-shadow: var(--shadow-gold); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  user-select: none;
}

.faq-question::after {
  content: '＋';
  font-size: 1.3rem;
  color: var(--gold);
  transition: transform 0.3s var(--ease-bounce);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 24px;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 2;
}

/* ========================
   CTA Section
   ======================== */
.cta-section {
  background: linear-gradient(135deg, #0F0A1F, #1A1033, #1B1050);
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--section-py) 24px;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(200,150,62,0.08), transparent 60%);
}

.cta-section h2 {
  font-family: var(--font-ja);
  color: var(--text-white);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.6;
  position: relative;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin-bottom: 36px;
  line-height: 1.8;
  position: relative;
}

.btn-cta-gold {
  display: inline-flex;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--text-white);
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-gold);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  position: relative;
}

.btn-cta-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(200, 150, 62, 0.35);
}

/* ========================
   Footer (Corporate準拠)
   ======================== */
.footer {
  background: var(--bg-dark);
  padding: 56px 24px 0;
  position: relative;
  z-index: 2;
}

.footer-content {
  max-width: var(--container-max);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-white);
}

.footer-logo .logo-mark {
  width: 24px;
  height: 24px;
}

.footer-tagline {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--gold-light); }

.footer-bottom {
  text-align: center;
  padding: 24px 0;
}

.footer-copy {
  font-family: var(--font-en);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.05em;
}

/* ========================
   Referral Banner
   ======================== */
.referral-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  padding: 10px 24px;
}

.referral-banner-content {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
}

.referral-banner-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ========================
   Toast
   ======================== */
.toast {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-dark);
  color: var(--text-white);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 10000;
  white-space: pre-line;
  text-align: center;
}

/* ========================
   Animations (Corporate準拠)
   ======================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes bounceIn {
  0% { opacity: 0; transform: scale(0.3); }
  50% { transform: scale(1.05); }
  70% { transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.animate-bounce-in { animation: bounceIn 0.6s var(--ease-bounce); }
.animate-slide-down { animation: slideDown 0.4s var(--ease); }
.animate-slide-up { animation: fadeUp 0.4s var(--ease); }

.fade-out {
  animation: fadeOutAnim 0.4s var(--ease) forwards;
}

@keyframes fadeOutAnim {
  to { opacity: 0; transform: translateY(-20px); pointer-events: none; }
}

.fade-in {
  animation: fadeUp 0.6s var(--ease);
}

/* Scroll animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.scroll-animate.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.scroll-animate:nth-child(2) { transition-delay: 0.1s; }
.scroll-animate:nth-child(3) { transition-delay: 0.2s; }

/* Shake */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(6px); }
}

.shake {
  animation: shake 0.5s var(--ease);
  border-color: #EF4444 !important;
}

/* ========================
   Responsive
   ======================== */
@media (max-width: 1024px) {
  :root { --section-py: 96px; }
}

@media (max-width: 768px) {
  :root { --section-py: 72px; --header-h: 64px; }

  .container { padding: 0 16px; }

  .hero { min-height: auto; padding-top: 100px; padding-bottom: 60px; }

  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .tiers-grid { grid-template-columns: 1fr; gap: 16px; }

  .stats-row { gap: 8px; }
  .stat-value { font-size: 1.1rem; }

  .share-buttons { gap: 8px; }
  .btn-share { padding: 10px 6px; font-size: 0.7rem; }

  .referral-link-box { flex-direction: column; }

  .position-number { font-size: 3rem; }

  .footer-top { flex-direction: column; gap: 28px; }
  .footer-links { gap: 12px 24px; }
}

@media (max-width: 480px) {
  :root { --section-py: 56px; }

  .section-header { margin-bottom: 40px; }

  .hero h1 { font-size: 1.7rem; }
  .hero-subtitle { font-size: 0.9rem; }

  .signup-form input[type="email"] { padding: 14px 14px 14px 42px; font-size: 0.9rem; }
  .btn-primary { padding: 14px 32px; font-size: 0.9rem; }

  .feature-card { padding: 28px 20px; }
  .counter-number { font-size: 1.2rem; }
}

/* ========================
   Utility
   ======================== */
.text-center { text-align: center; }
.mt-lg { margin-top: 24px; }
.mb-lg { margin-bottom: 24px; }
.hidden { display: none !important; }
