/* ============================================
   TOP Page Specific Styles
   ============================================ */

/* --- Hero Section --- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  padding: 80px 0 120px;
}

/* Video background */
.hero--video {
  background: #1a1a2e;
}

.hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 46, 0.9),
    rgba(43, 45, 66, 0.85)
  );
  z-index: 1;
}

.hero--video .hero__bg-circle {
  z-index: 2;
}

.hero--video .container {
  position: relative;
  z-index: 3;
}

.hero--video .hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 4;
}

.hero--video .hero__subtitle {
  color: rgba(255, 255, 255, 0.9);
}

.hero--video .hero__title {
  color: #fff;
}

.hero--video .hero__title-accent {
  color: var(--color-accent-orange);
}

.hero--video .hero__desc {
  color: rgba(255, 255, 255, 0.8);
}

.hero__bg-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  animation: heroFloat 8s ease-in-out infinite;
}

.hero__bg-circle--1 {
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  background: var(--color-accent-orange);
  animation-duration: 7s;
}

.hero__bg-circle--2 {
  bottom: -40px;
  left: -40px;
  width: 200px;
  height: 200px;
  background: var(--color-accent-teal);
  opacity: 0.18;
  animation-delay: 1.5s;
  animation-duration: 9s;
}

.hero__bg-circle--3 {
  top: 30%;
  right: 15%;
  width: 120px;
  height: 120px;
  background: var(--color-accent-purple);
  opacity: 0.12;
  animation-delay: 3s;
  animation-duration: 10s;
}

.hero__bg-circle--4 {
  top: 60%;
  left: 20%;
  width: 160px;
  height: 160px;
  background: var(--color-primary-light);
  opacity: 0.1;
  animation-delay: 2s;
  animation-duration: 11s;
}

.hero__bg-circle--5 {
  top: 10%;
  left: 45%;
  width: 90px;
  height: 90px;
  background: var(--color-secondary);
  opacity: 0.14;
  animation-delay: 4s;
  animation-duration: 8.5s;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  25% { transform: translateY(-15px) scale(1.05); }
  50% { transform: translateY(-5px) scale(0.95); }
  75% { transform: translateY(-20px) scale(1.03); }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero__subtitle {
  font-size: var(--fs-base);
  color: var(--color-primary);
  font-weight: var(--fw-bold);
  letter-spacing: 3px;
  margin-bottom: var(--space-md);
  font-family: var(--font-accent);
}

.hero__title {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-black);
  color: var(--color-text);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-lg);
}

.hero__title-accent {
  color: var(--color-primary);
}

.hero__desc {
  font-size: var(--fs-md);
  color: var(--color-text-light);
  line-height: var(--lh-relaxed);
  max-width: 520px;
  margin-bottom: var(--space-xl);
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Wave divider */
.hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
}

/* --- Home About Summary --- */
.home-about {
  position: relative;
  overflow: hidden;
}

.home-about__rainbow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-rainbow);
}

.home-about__text {
  font-size: var(--fs-md);
  color: var(--color-text-light);
  line-height: var(--lh-loose);
  margin-bottom: var(--space-xl);
}

.home-about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

/* --- Home CTA --- */
.home-cta {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: var(--radius-lg);
  padding: var(--space-4xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.home-cta__circle {
  position: absolute;
  top: 50%;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transform: translateY(-50%);
  pointer-events: none;
}

.home-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.home-cta::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
}

.home-cta__title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-black);
  color: var(--color-text-white);
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}

.home-cta__desc {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 1;
}

.home-cta .btn {
  position: relative;
  z-index: 1;
}

/* ============================================
   Responsive - Home
   ============================================ */

@media (max-width: 1024px) {
  .hero {
    padding: 60px 0 100px;
  }

  .hero__title {
    font-size: var(--fs-3xl);
  }

  .home-about__stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 48px 0 10px;
  }

  .hero__title {
    font-size: var(--fs-2xl);
  }

  .hero__desc {
    font-size: var(--fs-base);
  }

  .home-about__stats {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .home-cta {
    padding: var(--space-3xl) var(--space-lg);
  }

  .home-cta__title {
    font-size: var(--fs-xl);
  }
}

/* ============================================
   Quick Nav（会員専用ページ強調 / 準備中表示）
   ============================================ */

/* カードの高さを統一（2段ラベルがあっても全カード同じ高さ・中身は縦中央） */
@media (min-width: 769px) {
  .quick-nav--v2 {
    grid-auto-rows: 1fr;
  }
}
.quick-nav--v2 > * {
  display: flex;
}
.quick-nav--v2 .quick-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* 2段ラベル（基準演奏料／キャンセル料）は行間を詰める */
.quick-nav--v2 .quick-nav__label--2line {
  line-height: 1.25;
}

/* 「基準演奏料」(5文字)を「キャンセル料」(6文字)と同じ幅に均等割り付け */
.quick-nav__justify {
  display: inline-block;
  width: 6em;
  text-align: justify;
  text-align-last: justify;
}

/* 会員専用ページ（オレンジ強調） */
.quick-nav--v2 .quick-nav__item--accent .quick-nav__label {
  color: var(--color-accent-orange);
}

/* 準備中（リンクなし・グレー表示） */
.quick-nav--v2 .quick-nav__item--pending {
  cursor: default;
  background: var(--color-bg-soft);
  box-shadow: none;
}

.quick-nav--v2 .quick-nav__item--pending .quick-nav__label {
  color: var(--color-text-light);
}

.quick-nav__badge {
  display: block;
  margin-top: var(--space-xs);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--color-text-light);
}
