/* ==============================================
   fv.css — 全ページ共通ファーストビュー
============================================== */

/* PC */
.nc-fv {
  position: relative;
  height: 48vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  padding-top: 480px;
}

.nc-fv__video-wrap {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.nc-fv__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nc-fv__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
}

.nc-fv__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  padding: 0 20px;
  width: 100%;
  margin-top: -100px;
}

.nc-fv__title {
  font-family: var(--font-en);
  font-size: clamp(72px, 12vw, 160px);
  font-weight: 50;
  letter-spacing: 0.28em;
  line-height: 1;
  margin: 0 0 24px;
  color: #ffffff;
}

.nc-fv__sub {
  font-family: var(--font-jp);
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 300;
  letter-spacing: 0.22em;
  margin: 0;
  opacity: 0.85;
}

.nc-fv__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.nc-fv__scroll-line {
  display: block;
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
}

.nc-fv__scroll-line::after {
  content: '';
  display: block;
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  animation: nc-scroll-line 1.8s ease-in-out infinite;
}

@keyframes nc-scroll-line {
  0%   { top: -100%; }
  100% { top: 100%; }
}

.nc-fv__scroll-text {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.2em;
}

/* SP */
@media (max-width: 768px) {
  .nc-fv {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
  }

  .nc-fv__video-wrap {
    position: absolute;
    inset: 0;
  }

  .nc-fv__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .nc-fv__content {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding-top: 0;
    z-index: 1;
    width: 100%;
    text-align: center;
  }

  .nc-fv__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
  }

  .nc-fv__title {
    font-size: 56px;
  }
}

