/* ファーストビューのオープニング動画（初回訪問のみ。head のスクリプトが .fv-intro-on を付けた時だけ表示） */
.fv-intro {
  display: none;
}
.fv-intro-on .fv-intro {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--bg-base);
  transition: opacity 0.6s ease;
}
.fv-intro-on .hero-content {
  opacity: 0;
  pointer-events: none;
}
.fv-intro.is-closing {
  opacity: 0;
  pointer-events: none;
}
.fv-intro-stage {
  position: relative;
  width: 100%;
  height: 100%;
}
.fv-intro-stage video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fv-intro-skip {
  position: absolute;
  right: calc(16px + env(safe-area-inset-right));
  bottom: 16px;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid var(--gold-400);
  border-radius: 4px;
  background: rgba(10, 10, 15, 0.6);
  color: var(--text-primary);
  font-size: 14px;
  letter-spacing: 0.12em;
  cursor: pointer;
}
.fv-intro-skip:hover {
  background: rgba(10, 10, 15, 0.85);
}
.fv-intro-skip:focus-visible {
  outline: 2px solid var(--gold-200);
  outline-offset: 2px;
}
.fv-intro-done .hero-content {
  animation: fv-intro-reveal 0.8s ease-out both;
}
@keyframes fv-intro-reveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fv-intro {
    display: none !important;
  }
  .fv-intro-on .hero-content {
    opacity: 1;
    pointer-events: auto;
  }
  .fv-intro-done .hero-content {
    animation: none;
  }
}
