/* ==========================================================================
   Apply / Audition Section - Full-screen dark cinematic style
   Background image with overlay, large heading, red CTA
   ========================================================================== */

.section--apply {
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ── Background Image ── */
.apply__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

/* Dark overlay for text readability */
.apply__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 30, 0.4) 0%,
    rgba(10, 10, 30, 0.65) 50%,
    rgba(10, 10, 30, 0.8) 100%
  );
}

/* ── Content ── */
.apply__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-16) var(--space-6);
  max-width: 700px;
  margin: 0 auto;
}

/* Subtitle */
.apply__subtitle {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

/* Main Heading */
.apply__heading {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-6);
}

.apply__heading-accent {
  color: #e63946;
  position: relative;
}

/* Tag / Badge */
.apply__tag {
  margin-bottom: var(--space-6);
}

.apply__tag span {
  display: inline-block;
  padding: var(--space-2) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.15em;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
}

/* Description */
.apply__desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
  letter-spacing: 0.02em;
}

/* CTA Button (水色〜ブルーのグラデーション) */
.apply__cta {
  display: inline-block;
  padding: var(--space-4) var(--space-10);
  font-size: var(--text-base);
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #5DA0E8 0%, #67D8F0 100%);
  letter-spacing: 0.08em;
  border-radius: 9999px;
  transition: all var(--duration-normal) var(--ease-out);
  box-shadow: 0 4px 20px rgba(93, 160, 232, 0.5);
}

.apply__cta:hover {
  background: linear-gradient(135deg, #4A8FD8 0%, #5BCDE0 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(93, 160, 232, 0.65);
  opacity: 1;
}

/* Scroll indicator */
.apply__scroll {
  margin-top: var(--space-10);
  font-family: var(--font-display);
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.apply__scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.3);
  margin: var(--space-3) auto 0;
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  30% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (min-width: 480px) {
  .apply__desc {
    font-size: var(--text-base);
  }
}

@media (min-width: 840px) {
  .section--apply {
    min-height: 85vh;
  }

  .apply__subtitle {
    font-size: var(--text-sm);
    margin-bottom: var(--space-6);
  }

  .apply__tag span {
    font-size: var(--text-base);
    padding: var(--space-3) var(--space-8);
  }

  .apply__desc {
    font-size: var(--text-lg);
  }

  .apply__cta {
    font-size: var(--text-lg);
    padding: var(--space-4) var(--space-12);
  }
}

/* ── PC (1280px+) ── */
@media (min-width: 1280px) {
  .section--apply {
    min-height: 90vh;
  }

  .apply__content {
    max-width: 900px;
    padding: var(--space-20) var(--space-8);
  }

  .apply__heading {
    font-size: 6rem;
    margin-bottom: var(--space-8);
  }

  .apply__tag span {
    font-size: var(--text-lg);
    padding: var(--space-3) var(--space-10);
    letter-spacing: 0.2em;
  }

  .apply__desc {
    font-size: var(--text-xl);
    line-height: var(--leading-loose);
    margin-bottom: var(--space-10);
  }

  .apply__cta {
    font-size: var(--text-xl);
    padding: var(--space-5) var(--space-16);
  }

  .apply__scroll::after {
    height: 40px;
  }
}
