/* ==========================================================================
   CSS Variables & Theme Settings
   ========================================================================== */
:root {
  /* Color Palette */
  --color-orange: #f97316;
  --color-orange-hover: #ea580c;
  --color-cyan: #06b6d4;
  --color-cyan-hover: #0891b2;
  --color-dark: #0f172a;
  --color-dark-light: #1e293b;
  --color-gray-bg: #f8fafc;
  --color-border: #e2e8f0;
  --color-text-muted: #64748b;
  --color-white: #ffffff;
  
  /* Gradation */
  --grad-fv: linear-gradient(135deg, #fff7ed 0%, #ffffff 50%, #ecfeff 100%);
  --grad-cta: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  --grad-dark-cta: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --grad-cyan: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  
  /* Fonts */
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-outfit: 'Outfit', sans-serif;
  
  /* Transitions */
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Box Shadow */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-premium: 0 25px 50px -12px rgba(249, 115, 22, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 2;
}

body {
  font-family: var(--font-sans);
  color: #f1f5f9;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #030008; /* 万が一画像が読み込まれなかった時のための宇宙の暗黒色 */
}

/* 常に画面全体（Viewport）に宇宙背景をフィット・固定配置する疑似要素 */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('images/bg_purple.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2; /* 宇宙飛行士(z-index: 1)やメイン(z-index: 2)のさらに奥 */
  pointer-events: none;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 3; /* 前面コンテンツ層 */
}

/* メインコンテンツ背後の不透明ブラック帯 */
.bg-dark-strip {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.45); /* 宇宙の深い紺に近い半透明ダーク */
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.85); /* 左右の境界をなじませるシャドウ */
  z-index: 1; /* 最背面宇宙背景のすぐ上、宇宙飛行士(2)の背面 */
  pointer-events: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
}

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

ul, ol {
  list-style: none;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }
.font-outfit { font-family: var(--font-outfit); }
.text-orange { color: var(--color-orange); }
.text-cyan { color: var(--color-cyan); }
.bg-gray-bg { background-color: var(--color-gray-bg); }

/* ==========================================================================
   Header Styles
   ========================================================================== */
.campaign-header {
  background-color: var(--color-dark);
  color: var(--color-white);
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--color-dark-light);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.header-badge {
  background-color: var(--color-orange);
  color: var(--color-white);
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  animation: pulse-animation 2s infinite;
  display: inline-block;
  margin-right: 0.5rem;
}

.header-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.header-logo {
  height: 28px;
  width: auto;
  display: block;
}

.header-countdown {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-outfit);
}

.countdown-box {
  background-color: var(--color-dark-light);
  color: var(--color-orange);
  font-weight: 700;
  font-size: 1.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
}

@keyframes pulse-animation {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.85; }
  100% { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   Section Layouts
   ========================================================================== */
section {
  padding: 5rem 0;
  position: relative;
  z-index: 3;
}

.section-title-wrapper {
  margin-bottom: 3.5rem;
}

.section-subtitle {
  color: #ffd700;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--color-white);
  position: relative;
  display: inline-block;
  text-shadow: 
    -1px -1px 0 rgba(0, 0, 0, 0.8),  
     1px -1px 0 rgba(0, 0, 0, 0.8),
    -1px  1px 0 rgba(0, 0, 0, 0.8),
     1px  1px 0 rgba(0, 0, 0, 0.8),
     0 2px 4px rgba(0, 0, 0, 0.6);
}

.section-title-desc {
  color: #94a3b8;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

/* ==========================================================================
   FV (First View)
   ========================================================================== */
.sec-fv {
  background: transparent;
  padding: 3rem 0;
  overflow: hidden;
  position: relative;
}

.fv-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.fv-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  position: relative;
  z-index: 10;
  width: 100%;
}

.fv-title-main-highlight {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--color-white);
  background: #dc2626; /* 鮮やかなレッドのザブトン */
  padding: 0.25rem 1.25rem;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.5);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* 読みやすくするためのシンプルな影 */
  transform: rotate(-3.5deg); /* 初期傾きを強めにしてポップに */
  transform-origin: center;
  animation: fv-pikopiko 1s ease-in-out infinite; /* ピコピコ動かすアニメーション */
}

@keyframes fv-pikopiko {
  0%, 100% {
    transform: rotate(-3.5deg) scale(1);
  }
  50% {
    transform: rotate(-1.5deg) scale(1.06); /* 傾きを少し緩めつつ、少し拡大してピコピコ動かす */
  }
}

.fv-title-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.fv-title-sup {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-white); /* テキストを白に変更 */
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
  text-shadow: 
    -1px -1px 0 rgba(0, 0, 0, 0.9),  
     1px -1px 0 rgba(0, 0, 0, 0.9),
    -1px  1px 0 rgba(0, 0, 0, 0.9),
     1px  1px 0 rgba(0, 0, 0, 0.9),
     0 2px 4px rgba(0, 0, 0, 0.5);
}

.fv-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--color-white);
  letter-spacing: -0.02em;
  text-shadow: 
    -1px -1px 0 rgba(0, 0, 0, 0.8),  
     1px -1px 0 rgba(0, 0, 0, 0.8),
    -1px  1px 0 rgba(0, 0, 0, 0.8),
     1px  1px 0 rgba(0, 0, 0, 0.8),
     0 3px 6px rgba(0, 0, 0, 0.6);
}

.fv-title-highlight {
  position: relative;
  display: inline-block;
  color: #ffd700;
}
.fv-period-banner {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 215, 0, 0.35); /* ゴールドの細い枠線 */
  padding: 0.6rem 1.75rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin: 0.5rem auto 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.fv-period-banner .period-label {
  font-size: 0.8125rem;
  font-weight: 800;
  color: #ffd700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.fv-period-banner .period-dates {
  font-family: var(--font-outfit);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 0.05em;
}

.fv-period-banner .period-separator {
  color: #ffd700;
  font-size: 0.875rem;
  margin: 0 0.25rem;
}

.fv-desc {
  font-size: 1.375rem;
  color: #e2e8f0;
  font-weight: 500;
  line-height: 1.7;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.fv-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  width: 100%;
  max-width: 800px;
  margin: 1.5rem auto 0;
}

.fv-benefit-card {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 1rem;
  border-radius: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.5);
  transition: var(--transition-normal);
}

.fv-benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-cyan);
  box-shadow: 0 15px 30px -10px rgba(6, 182, 212, 0.25);
}

.fv-benefit-card .benefit-icon {
  font-size: 2rem;
  color: var(--color-cyan);
  transition: var(--transition-fast);
}

.fv-benefit-card:hover .benefit-icon {
  transform: scale(1.1);
}

.fv-benefit-card .benefit-title {
  display: block;
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.3;
}

.fv-benefit-card .benefit-sub {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}

/* 3つ目のキラーベネフィット用ハイライトスタイル */
.fv-benefit-card.highlight-card {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(15, 23, 42, 0.75) 100%);
  border: 1.5px solid var(--color-orange);
  box-shadow: 0 10px 25px -5px rgba(249, 115, 22, 0.2);
}

.fv-benefit-card.highlight-card:hover {
  border-color: #fdba74;
  box-shadow: 0 15px 35px -5px rgba(249, 115, 22, 0.35);
}

.fv-benefit-card.highlight-card .benefit-icon {
  color: var(--color-orange);
  animation: bounce-animation 2s infinite;
}

.fv-benefit-card.highlight-card .benefit-title {
  color: #fed7aa; /* 薄オレンジ */
}

@keyframes bounce-animation {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* CTA Buttons */
.cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.btn-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--grad-cta);
  color: var(--color-white);
  font-size: 1.35rem;
  font-weight: 900;
  padding: 1.25rem 2.5rem;
  border-radius: 1.25rem;
  box-shadow: 0 10px 25px -5px rgba(249, 115, 22, 0.4);
  /* ホバー時の一瞬消えるチラつきを防ぐため、transitionの対象を明示的に限定 */
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1), 
              filter 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  text-align: center;
  width: max-content;
  /* GPUレンダリングを最初から有効化してチラつきを完全防止 */
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.btn-cta:hover {
  transform: translate3d(0, -3px, 0);
  box-shadow: 0 20px 30px -10px rgba(249, 115, 22, 0.5);
  /* グラデーションから単色への移行時のチラつきを防ぐため、背景色の切り替えをやめ、輝度フィルターを使用 */
  filter: brightness(1.1);
}

.btn-cta-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-cta-text i {
  transition: transform 0.2s;
}

.btn-cta:hover .btn-cta-text i {
  transform: translateX(4px);
}

.btn-cta-sub {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.9;
  margin-top: 0.25rem;
}

.cta-note {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.fv-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  margin-left: -12rem;
  width: 150%;
}

.fv-people-img {
  width: 100%;
  height: auto;
  max-height: 900px;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.08));
  transition: var(--transition-normal);
}

.fv-people-img:hover {
  transform: translateY(-8px) scale(1.02);
}

/* ==========================================================================
   Introduction Section
   ========================================================================== */
.sec-intro {
  background-color: transparent;
}

.intro-box {
  max-width: 800px;
  margin: 0 auto;
  background-color: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(8px);
  padding: 3rem 2.5rem;
  border-radius: 2rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  color: var(--color-dark);
}

.intro-lead {
  font-size: 1.25rem;
  font-weight: 700;
  color: #475569;
  line-height: 1.8;
  text-align: center;
}
.intro-image-wrapper {
  width: 100%;
  max-width: 600px;
  margin: 0.5rem auto 1.5rem;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 9;
  background-color: #f1f5f9;
}

.intro-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

.intro-image-wrapper:hover .intro-image {
  transform: scale(1.03);
}

.intro-divider {
  height: 1px;
  background-color: #cbd5e1;
  width: 100%;
}.intro-lead-accent {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--color-cyan-hover); /* 白背景で見えやすく引き締まる深いシアン */
  text-align: center;
  line-height: 1.6;
  margin: 0.5rem 0 1rem;
  letter-spacing: 0.03em;
}

.intro-text {
  font-size: 1.125rem;
  color: var(--color-dark);
  line-height: 1.8;
}

.intro-highlight-box {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  padding: 1.5rem;
  border-radius: 1.25rem;
  border-left: 5px solid var(--color-cyan);
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}

.intro-highlight-icon {
  background-color: #ecfeff;
  color: var(--color-cyan);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-outfit);
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.intro-highlight-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-dark);
}

/* ==========================================================================
   Summary Section
   ========================================================================== */
.sec-summary {
  background-color: transparent;
}

.summary-card {
  max-width: 900px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  color: var(--color-dark);
}

.summary-table {
  width: 100%;
  border-collapse: collapse;
}

.summary-table tr {
  border-bottom: 1px solid var(--color-border);
}

.summary-table tr:last-child {
  border-bottom: none;
}

.summary-table th {
  width: 25%;
  background-color: rgba(248, 250, 252, 0.5);
  padding: 1.75rem 1.5rem;
  font-weight: 700;
  color: #334155;
  font-size: 1rem;
  text-align: left;
  border-right: 1px solid var(--color-border);
  vertical-align: middle;
}

.summary-table td {
  padding: 1.75rem 2rem;
  color: var(--color-dark);
  font-size: 1rem;
  line-height: 1.6;
}

.summary-table td.strong-orange {
  font-weight: 900;
  color: var(--color-orange);
  font-size: 1.125rem;
}

.summary-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-orange);
  font-weight: 700;
  margin-top: 0.75rem;
  line-height: 1.4;
}

.summary-note i {
  margin-top: 0.15rem;
  font-size: 0.9375rem;
}

.summary-auto-entry {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-cyan);
  font-weight: 700;
  font-size: 1.125rem;
}

.summary-auto-entry i {
  font-size: 1.125rem;
}

/* ==========================================================================
   Steps Section
   ========================================================================== */
.sec-step {
  background-color: transparent;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.step-card {
  background-color: rgba(240, 253, 250, 0.85);
  backdrop-filter: blur(8px);
  border: 2px solid var(--color-cyan);
  border-radius: 1.5rem;
  padding: 2.5rem 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  transition: var(--transition-normal);
  color: var(--color-dark);
  box-shadow: 0 8px 20px -5px rgba(6, 182, 212, 0.15);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px -10px rgba(6, 182, 212, 0.3);
}

.step-number {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-family: var(--font-outfit);
  font-size: 2.5rem;
  font-weight: 900;
  color: #22d3ee;
  line-height: 1;
  transition: var(--transition-normal);
}

.step-card:hover .step-number {
  color: #06b6d4;
}

.step-card-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 10;
}

.step-badge {
  background-color: var(--color-cyan);
  color: var(--color-white);
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  width: max-content;
}

.step-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background-color: #f1f5f9;
  transition: var(--transition-normal);
}

.step-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

.step-card:hover .step-image img {
  transform: scale(1.05);
}

.step-card:hover .step-image {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-sm);
}

.step-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--color-dark);
}

.step-desc {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.6;
}


/* ==========================================================================
   FAQ & Flow Section
   ========================================================================== */
.sec-faq {
  background-color: transparent;
}

.faq-flow-container {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

/* 当選後のフロー */
.flow-card {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-border);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--color-dark);
}

.flow-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-orange);
  font-size: 1.25rem;
  font-weight: 900;
}

.flow-title i {
  font-size: 1.35rem;
}

.flow-desc {
  font-size: 1rem;
  color: #475569;
  font-weight: 500;
}

.flow-details-box {
  background-color: rgba(248, 250, 252, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.flow-detail-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  font-size: 0.9375rem;
}

.flow-detail-label {
  font-weight: 700;
  color: var(--color-dark);
}

.flow-detail-value {
  color: #334155;
}

/* FAQアコーディオン */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
  color: var(--color-dark);
}

.faq-item:hover {
  border-color: #cbd5e1;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--color-dark);
  cursor: pointer;
  transition: var(--transition-fast);
}

.faq-question:hover {
  background-color: #f8fafc;
}

.faq-q-text {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.faq-q-prefix {
  font-family: var(--font-outfit);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-orange);
  line-height: 1;
}

.faq-icon {
  color: #94a3b8;
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background-color: rgba(248, 250, 252, 0.6);
  padding: 0 2rem;
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.7;
}

/* 開いた状態 */
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  max-height: 250px; /* 十分な高さ */
  padding: 1.5rem 2rem;
  border-top: 1px solid #f1f5f9;
}

/* ==========================================================================
   Notes Section
   ========================================================================== */
.sec-notes {
  background-color: transparent;
}

.notes-card {
  max-width: 800px;
  margin: 0 auto;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2rem;
  padding: 3rem 2.5rem;
  color: #ffffff;
}

.notes-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: #ffffff;
  margin-bottom: 2rem;
}

.notes-title-wrapper i {
  color: var(--color-orange);
  font-size: 1.75rem;
}

.notes-title {
  font-size: 1.5rem;
  font-weight: 900;
}

.notes-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.note-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: #ffffff;
  line-height: 1.6;
}

.note-item-icon {
  color: var(--color-orange);
  font-size: 1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* ==========================================================================
   Last CTA Section
   ========================================================================== */
.sec-cta {
  background: transparent;
  color: var(--color-dark);
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.sec-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  background-image: radial-gradient(var(--color-white) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.cta-subtitle {
  color: #ffd700; /* ゴールドに変更 */
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.cta-title {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  color: var(--color-white);
  text-shadow: 
    -1px -1px 0 rgba(0, 0, 0, 0.8),  
     1px -1px 0 rgba(0, 0, 0, 0.8),
    -1px  1px 0 rgba(0, 0, 0, 0.8),
     1px  1px 0 rgba(0, 0, 0, 0.8),
     0 3px 6px rgba(0, 0, 0, 0.6);
  display: inline-block;
  transform-origin: center;
  animation: cta-pikopiko 1.2s ease-in-out infinite;
}

@keyframes cta-pikopiko {
  0%, 100% {
    transform: rotate(-1.5deg) scale(1);
  }
  50% {
    transform: rotate(1.5deg) scale(1.04); /* 少し斜めに揺れつつ、ピコピコと拡大 */
  }
}

.cta-title-highlight {
  color: #ffd700; /* ゴールドに変更 */
  border-bottom: 4px solid #ffd700; /* 下線もゴールドに変更 */
  display: inline-block;
  margin-top: 0.25rem;
}

.cta-desc {
  font-size: 1.125rem;
  color: #e2e8f0;
  font-weight: 700; /* ボールドに変更 */
  max-width: 600px;
  line-height: 1.8;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.btn-cta-large {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--grad-cta);
  color: var(--color-white);
  font-size: 1.6rem;
  font-weight: 900;
  padding: 1.5rem 3.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 15px 35px -5px rgba(249, 115, 22, 0.5);
  /* チラつきを防ぐためにtransition対象を限定 */
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1), 
              filter 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  min-width: 320px;
  /* GPUレンダリングを最初から有効化 */
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.btn-cta-large:hover {
  transform: translate3d(0, -3px, 0);
  box-shadow: 0 25px 45px -10px rgba(249, 115, 22, 0.6);
  /* 輝度フィルターで色を明るく変更 */
  filter: brightness(1.1);
}

.btn-cta-large .btn-cta-text i {
  transition: transform 0.2s;
}

.btn-cta-large:hover .btn-cta-text i {
  transform: translateX(4px);
}

.cta-period {
  font-size: 1rem; /* 読みやすいサイズへ微調整 */
  color: var(--color-white); /* 白に変更してコントラスト向上 */
  font-weight: 900; /* 極太ボールドに変更 */
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.sec-contact {
  background: transparent;
  padding: 0 0 5rem;
  position: relative;
  z-index: 2;
}

.contact-card {
  max-width: 700px;
  margin: 0 auto;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2rem;
  padding: 2.75rem 2.5rem;
  text-align: center;
  color: #ffffff;
}

.contact-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.contact-title i {
  color: var(--color-cyan);
  font-size: 1.25rem;
}

.contact-desc {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: #e2e8f0;
  margin-bottom: 1.75rem;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-cyan);
  color: var(--color-white);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 1rem 2.25rem;
  border-radius: 1.25rem;
  box-shadow: 0 10px 25px -5px rgba(6, 182, 212, 0.4);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1),
              filter 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-contact:hover {
  transform: translate3d(0, -3px, 0);
  box-shadow: 0 20px 30px -10px rgba(6, 182, 212, 0.5);
  filter: brightness(1.1);
}

.btn-contact-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-contact-text i {
  transition: transform 0.2s;
}

.btn-contact:hover .btn-contact-text i:last-child {
  transform: translateX(4px);
}

@media (max-width: 767px) {
  .contact-card {
    padding: 2.25rem 1.5rem;
    border-radius: 1.5rem;
  }

  .contact-title {
    font-size: 1.15rem;
  }

  .btn-contact {
    width: 100%;
    font-size: 0.9375rem;
    padding: 1rem 1.25rem;
  }

  .btn-contact-text {
    white-space: nowrap;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background-color: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(8px);
  color: #94a3b8;
  text-align: center;
  padding: 3rem 1rem 2.5rem;
  font-size: 0.75rem;
  border-top: 1px solid rgba(15, 23, 42, 0.5);
  position: relative;
  z-index: 3;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  height: 32px;
  width: auto;
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.footer-logo:hover {
  opacity: 1;
}

/* ==========================================================================
   Background Astronaut Styles (PC View only)
   ========================================================================== */
.bg-astronaut {
  display: none;
}

@media (min-width: 1280px) {
  .bg-astronaut {
    display: block;
    position: fixed;
    top: 62%;
    height: 480px;
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 2;
    opacity: 0.85;
    transition: all 0.3s ease;
    transform: translateY(-50%);
  }

  .astronaut-left {
    width: 231px;
    left: 80px;
    top: 70%;
    background-image: url('images/astronaut_right.png');
    background-position: left center;
    animation: float-left 8s ease-in-out infinite;
  }

  .astronaut-right {
    width: 326px;
    right: 80px;
    background-image: url('images/astronaut_left.png');
    background-position: right center;
    animation: float-right 9s ease-in-out infinite;
  }
}

@media (min-width: 1600px) {
  .bg-astronaut {
    height: 560px; /* 大画面では高さを560pxにスケールアップ */
  }
  
  .astronaut-left {
    width: 270px; /* 560px高に対応する幅 */
    left: calc(50% - 600px - 160px); /* コンテンツ(1200px幅)の左右から約30%重なる位置まで内側に寄せる */
  }

  .astronaut-right {
    width: 380px; /* 560px高に対応する幅 */
    right: calc(50% - 600px - 220px); /* コンテンツ(1200px幅)の左右から約30%重なる位置まで内側に寄せる */
  }
}

/* 宇宙浮遊アニメーション */
@keyframes float-left {
  0% { transform: translateY(-50%) translateY(0px) rotate(0deg); }
  50% { transform: translateY(-50%) translateY(-15px) rotate(-1.5deg); }
  100% { transform: translateY(-50%) translateY(0px) rotate(0deg); }
}

@keyframes float-right {
  0% { transform: translateY(-50%) translateY(0px) rotate(0deg); }
  50% { transform: translateY(-50%) translateY(15px) rotate(2deg); }
  100% { transform: translateY(-50%) translateY(0px) rotate(0deg); }
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
  .fv-grid {
    gap: 2rem;
  }
  
  .fv-title {
    font-size: 3rem;
  }
  
  .fv-title-main-highlight {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 4.5rem 0;
  }
  
  
  .section-title {
    font-size: 1.875rem;
  }
  
  .fv-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .fv-image-wrapper {
    max-width: 450px;
    margin: 0 auto;
    margin-left: 0;
    width: 100%;
  }
  
  .fv-title {
    font-size: 2.5rem;
  }
  
  .fv-title-main-highlight {
    font-size: 1.8rem;
  }
  
  .fv-benefits-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    max-width: 400px;
    margin: 1rem auto 0;
  }
  
  .fv-benefit-card {
    flex-direction: row;
    text-align: left;
    padding: 1rem 1.25rem;
    gap: 1.25rem;
  }
  
  .fv-benefit-card .benefit-icon {
    font-size: 1.75rem;
    width: 2rem;
    text-align: center;
    flex-shrink: 0;
  }

  .fv-benefit-card .benefit-text {
    display: flex;
    flex-direction: column;
  }
  
  .intro-box {
    padding: 2rem 1.5rem;
  }
  
  .summary-table th, .summary-table td {
    padding: 1.25rem 1rem;
    font-size: 0.9375rem;
  }
  
  .summary-table th {
    width: 30%;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 450px;
  }
  
  .step-card {
    min-height: auto;
    padding: 1.75rem;
  }
  
  .flow-card {
    padding: 1.75rem;
  }
  
  .flow-detail-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  
  .faq-question {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
  }
  
  .faq-answer {
    padding: 0 1.5rem;
  }
  
  .faq-item.active .faq-answer {
    padding: 1.25rem 1.5rem;
  }
  
  .notes-card {
    padding: 2rem 1.5rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .btn-cta {
    width: 100%;
  }
  
  .btn-cta-large {
    font-size: 1.35rem;
    padding: 1.25rem 2.5rem;
    min-width: 100%;
  }
}

@media (max-width: 480px) {
  .header-countdown {
    display: none;
  }
  
  .fv-title {
    font-size: 2.15rem;
  }
  
  .fv-title-main-highlight {
    font-size: 1.45rem;
  }
  
  .fv-period-banner {
    flex-direction: column;
    padding: 0.6rem 1.25rem;
    gap: 0.25rem;
    border-radius: 1.25rem;
  }

  .fv-period-banner .period-dates {
    font-size: 1.1rem;
    white-space: nowrap;
  }
  
  .btn-cta {
    font-size: 1.15rem;
    padding: 1.1rem 1.5rem;
  }
}

/* ==========================================================================
   Global Navigation Menu
   ========================================================================== */
.global-nav {
  background-color: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-dark-light);
  position: sticky;
  top: 53px; /* campaign-header の直下に追従 */
  z-index: 99;
}

.global-nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.global-nav-link {
  color: #e2e8f0;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.85rem 1.25rem;
  white-space: nowrap;
  position: relative;
  transition: var(--transition-fast);
}

.global-nav-link:hover {
  color: var(--color-orange);
}

.global-nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--grad-cta);
  border-radius: 3px 3px 0 0;
  transition: var(--transition-fast);
}

.global-nav-link:hover::after {
  width: 60%;
}

/* ==========================================================================
   Recommended Products Section
   ========================================================================== */
.sec-products {
  background-color: transparent;
}

/* --- サブメニュー（カテゴリタブ一覧） --- */
.products-submenu {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  max-width: 1000px;
  margin: 0 auto 2.5rem;
}

.products-tab {
  /* --cat-color は products.js がカテゴリごとに設定するテーマカラー */
  --cat-color: var(--color-cyan);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 2px solid var(--color-border);
  border-radius: 1rem;
  padding: 1rem 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-dark);
  cursor: pointer;
  transition: var(--transition-fast);
}

/* カテゴリ色を示すカラーバー（アイコンの代わり） */
.products-tab::before {
  content: '';
  width: 2.25rem;
  height: 4px;
  border-radius: 999px;
  background-color: var(--cat-color);
  transition: var(--transition-fast);
}

.products-tab.active::before {
  background-color: var(--color-white);
}

.products-tab:hover {
  border-color: var(--cat-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.products-tab.active {
  background: var(--cat-color);
  border-color: var(--cat-color);
  color: var(--color-white);
  box-shadow: 0 10px 20px -8px color-mix(in srgb, var(--cat-color) 55%, transparent);
}

.products-tab.active i {
  color: var(--color-white);
}

/* --- 商品一覧パネル --- */
.products-panel {
  display: none;
}

.products-panel.active {
  display: block;
  animation: products-fade-in 0.35s ease;
}

@keyframes products-fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.products-empty {
  text-align: center;
  color: #cbd5e1;
  padding: 3rem 0;
}

/* --- 2カラム商品カードグリッド --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.product-card {
  display: flex;
  gap: 1.25rem;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-border);
  border-radius: 1.25rem;
  padding: 1.25rem;
  color: var(--color-dark);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  text-decoration: none;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-cyan);
  box-shadow: 0 15px 30px -10px rgba(6, 182, 212, 0.3);
}

.product-image {
  flex-shrink: 0;
  width: 140px;
  height: 105px;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background-color: var(--color-gray-bg);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.product-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e0f2fe 0%, #f0fdfa 100%);
}

.product-image-placeholder span {
  font-family: var(--font-outfit);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #94a3b8;
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.product-genre {
  align-self: flex-start;
  background-color: var(--color-cyan);
  color: var(--color-white);
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.product-name {
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.45;
  color: var(--color-dark);
}

.product-meta {
  /* 販売店名は会社名が長い場合を考慮し、価格の下に改行して表示する */
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding-top: 0.4rem;
}

.product-price {
  font-family: var(--font-outfit);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--color-orange);
}

.product-price-tax {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.product-seller {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

/* --- Responsive: Products --- */
@media (max-width: 900px) {
  .products-submenu {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .products-submenu {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card {
    flex-direction: column;
  }

  .product-image {
    width: 100%;
    height: 160px;
  }

  .global-nav {
    top: 49px;
  }

  .global-nav-container {
    justify-content: flex-start;
  }

  .global-nav-link {
    font-size: 0.8125rem;
    padding: 0.75rem 0.85rem;
  }
}

/* ==========================================================================
   年齢確認ポップアップ（成人向けカテゴリ用）
   ========================================================================== */
.age-gate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 10000;
}

.age-gate-overlay.active {
  display: flex;
}

.age-gate-modal {
  background: var(--color-white);
  border-radius: 16px;
  max-width: 460px;
  width: 100%;
  padding: 2.25rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: ageGateIn 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes ageGateIn {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.age-gate-icon {
  font-size: 2.5rem;
  color: var(--color-orange);
  margin-bottom: 0.75rem;
}

.age-gate-title {
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--color-dark);
  margin-bottom: 0.75rem;
}

.age-gate-text {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--color-dark-light);
}

.age-gate-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.age-gate-btn {
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  transition: var(--transition-fast);
}

.age-gate-btn-yes {
  background: var(--grad-cta);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.age-gate-btn-yes:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.age-gate-btn-no {
  background: var(--color-gray-bg);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

.age-gate-btn-no:hover {
  background: var(--color-border);
}
