@charset "UTF-8";

/* ====================
   Hero
   ==================== */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

#hero-canvas {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 40px 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero-headline {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

.hero-headline span {
  display: block;
}

.hero-headline span:first-child {
  color: var(--text-dark);
}

.hero-headline span:last-child {
  color: var(--primary);
}

.hero-sub {
  margin-top: 28px;
  color: var(--text-muted-light);
  font-size: 15px;
  letter-spacing: .05em;
  font-family: var(--font-jp);
}

.hero-cta {
  margin-top: 48px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ====================
   Scroll Hint
   ==================== */

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: .3em;
  color: rgba(0, 0, 0, 0.30);
  writing-mode: vertical-rl;
  animation: scroll-bounce 2s ease-in-out infinite;
}

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

@media (max-width: 1024px) {
  .hero-inner {
    padding: 110px 32px 0;
  }
}

@media (max-width: 768px) {
  .hero-inner {
    padding: 100px 24px 0;
    justify-content: center;
  }

  .hero-headline {
    font-size: clamp(2.6rem, 11vw, 3.8rem);
  }
}

/* Screen-reader-only text (SEO keyword補強用、視覚的には非表示) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
