.hero-section {
  background: radial-gradient(circle at center, #1a1b23 0%, #0f1015 100%);
  color: var(--color-text);
  padding: var(--spacing-xl) var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -40%;
  width: 180%;
  height: 180%;
  background: conic-gradient(
    from 180deg at 50% 50%,
    var(--color-primary),
    transparent,
    var(--color-accent),
    transparent,
    var(--color-primary)
  );
  animation: spinGlow 30s linear infinite;
  opacity: 0.045;
  z-index: 0;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.015), transparent 70%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
}

.hero-section .particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: var(--color-accent-light);
  border-radius: 50%;
  opacity: 0.4;
  animation: floatParticle 12s infinite ease-in-out;
  z-index: 0;
  filter: blur(1.2px);
}
.hero-section .particle:nth-child(2) { top: 20%; left: 18%; animation-delay: 0s; }
.hero-section .particle:nth-child(3) { top: 42%; left: 72%; animation-delay: 2s; }
.hero-section .particle:nth-child(4) { top: 67%; left: 40%; animation-delay: 4s; }
.hero-section .particle:nth-child(5) { top: 88%; left: 58%; animation-delay: 6s; }
.hero-section .particle:nth-child(6) { top: 12%; left: 88%; animation-delay: 8s; }
.hero-section .particle:nth-child(7) { top: 50%; left: 8%; animation-delay: 10s; }

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: var(--spacing-lg);
  animation: fadeLiftIn 1.2s ease-out both;
}

.hero-title {
  font-size: var(--font-size-hero);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.01em;
  animation: fadeLiftIn 1.2s ease-out both;
}

.hero-title .highlight {
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pulseGlow 3s ease-in-out infinite alternate;
}

.hero-sub,
.hero-message {
  font-size: 1.1rem;
  color: var(--color-subtle);
  margin-bottom: var(--spacing-md);
  line-height: 1.9;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.01em;
}

.hero-message strong {
  color: var(--color-accent);
  font-weight: 600;
}

.hero-cta {
  margin-top: var(--spacing-lg);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-md);
}

.hero-cta a {
  font-size: 1rem;
  padding: 0.75em 1.6em;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-hot {
  background-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 0 12px var(--color-primary);
  transition: all 0.3s ease;
}

.btn-hot:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 20px var(--color-primary);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: #000;
}

.btn-secondary:hover {
  background-color: #ffebf3;
}

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn-outline:hover {
  background-color: var(--color-accent);
  color: var(--color-bg);
}

.text-fadein {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s ease, transform 1s ease;
  display: inline-block;
}

.text-fadein.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-lead {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.8;
  max-width: 60ch;
  margin: 1.5rem auto 0;
  color: var(--color-subtle);
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeLiftIn 1.5s ease-out 0.4s forwards;
  letter-spacing: 0.03em;
  font-family: var(--font-sans);
}

/* Animations */
@keyframes spinGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes floatParticle {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.4;
  }
  50% {
    transform: translateY(-18px) scale(1.2);
    opacity: 0.8;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.4;
  }
}

@keyframes fadeLiftIn {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pulseGlow {
  0% {
    text-shadow: 0 0 4px var(--color-primary);
  }
  100% {
    text-shadow: 0 0 10px var(--color-secondary);
  }
}

/* ダークモード強調 */
@media (prefers-color-scheme: dark) {
  .hero-lead {
    color: var(--color-text);
  }
}

/* モバイル調整 */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.1rem;
    line-height: 1.4;
  }

  .hero-lead {
    font-size: 1.05rem;
    padding: 0 1rem;
  }

  .hero-cta a {
    font-size: 0.9rem;
    padding: 0.6em 1.2em;
  }
}


/* ========================== */
/* 🌌 メインコンテンツ全体  */
/* ========================== */
#main-content {
  margin: 0 auto;
  max-width: 900px;
  padding: var(--spacing-xl) var(--spacing-lg);
  text-align: center;
}
/* ============================
   🌈 セクションタイトル（強化）
   ============================ */

.section-title {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.01em;
  text-align: center;
  position: relative;
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition: opacity 1s ease, transform 1s ease;
  background: linear-gradient(90deg, var(--color-accent), var(--color-highlight));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.15));
}

.title-fadein.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 64%;
  height: 4px;
  background: linear-gradient(to right, var(--color-highlight), var(--color-accent-dark));
  border-radius: 100px;
  box-shadow: 0 0 24px rgba(255, 245, 200, 0.3);
  opacity: 0;
  transition: opacity 1.2s ease 0.4s;
}

.title-fadein.active::after {
  opacity: 1;
}

/* ============================
   📝 テキストフェードイン
   ============================ */

.text-fadein {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  display: block;
  max-width: 720px;
  margin: 0 auto;
  padding-top: var(--spacing-md);
}

.text-fadein.active {
  opacity: 1;
  transform: translateY(0);
}

.text-fadein p {
  margin-bottom: var(--spacing-md);
  text-align: left;
  font-size: 1.08rem;
  line-height: 2;
  color: var(--color-text);
  font-weight: 400;
  opacity: 0.92;
}

.text-fadein strong {
  color: var(--color-accent);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ============================
   🧊 セクションの背景リズム
   ============================ */

.section {
  padding: var(--spacing-xl) var(--spacing-lg);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.9;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  transition: background-color 0.6s ease;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.section:nth-child(even) {
  background-color: #101115;
}

/* ============================
   💫 CTAボタン（洗練と意図）
   ============================ */

/* ============================
   🎯 CTAボタン（再利用版）
   ============================ */

.cta-group {
  margin-top: var(--spacing-lg);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-sm);
}

.cta-group a {
  font-size: 1rem;
  padding: 0.75em 1.6em;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

/* 再利用：ボタンバリエーション */

.btn-hot {
  background-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 0 12px var(--color-primary);
  transition: all 0.3s ease;
}

.btn-hot:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 20px var(--color-primary);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: #000;
}

.btn-secondary:hover {
  background-color: #ffebf3;
}

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn-outline:hover {
  background-color: var(--color-accent);
  color: var(--color-bg);
}


/* ============================
   📱 モバイル最適化（微調整）
   ============================ */

@media (max-width: 600px) {
  .section {
    padding: var(--spacing-lg) var(--spacing-md);
  }

  .section-title {
    font-size: 1.6rem;
    line-height: 1.4;
  }

  .text-fadein p {
    font-size: 1rem;
    line-height: 1.8;
  }

  .cta-group .btn {
    font-size: 0.95rem;
    padding: 0.6em 1.4em;
  }
}



/* ============================ */
/* 📜 カスタムULリストスタイル */
/* ============================ */
ul.custom-list {
  list-style: none;
  padding-left: 0;
  margin: var(--spacing-lg) auto;
  max-width: 720px;
  text-align: left;
}

ul.custom-list li {
  position: relative;
  padding-left: 1.8em;
  margin-bottom: var(--spacing-sm);
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--color-text);
  opacity: 0.92;
  transition: color 0.3s ease;
}

/* カスタムバレット */
ul.custom-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 0.1em;
  color: var(--color-accent);
  font-size: 1rem;
  line-height: 1;
  opacity: 0.8;
  transform: scale(1);
  transition: transform 0.3s ease;
}

/* ホバーで微反応（感覚を触発） */
ul.custom-list li:hover {
  color: var(--color-accent);
}

ul.custom-list li:hover::before {
  transform: scale(1.2);
  opacity: 1;
}

/* ============================
   📱 モバイル最適化（微調整）
   ============================ */

@media (max-width: 600px) {
  .section {
    padding: var(--spacing-lg) var(--spacing-md);
  }

  .section-title {
    font-size: 1.6rem;
    line-height: 1.4;
  }

  .text-fadein p {
    font-size: 1rem;
    line-height: 1.8;
  }

  .cta-group .btn {
    font-size: 0.95rem;
    padding: 0.6em 1.4em;
  }
}

