@charset "UTF-8";

/************************************
** front-page-hero.css
** フロントページ ヒーロー用スタイル
**
** 役割
** - ファーストビュー
** - スライダー
** - テキスト演出
** - SCROLLインジケーター
************************************/

/* ========================================
   1. ヒーロー共通
======================================== */
.front-hero{
  position: relative;
  width: 100%;
  height: calc(100vh - 40px);
  overflow: hidden;
  background: #1a1a1a;
}

.top-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: 1;
}

.front-hero__inner{
  position: relative;
  z-index: 2;
}


/* ========================================
   2. スライダー
======================================== */
.top-visual-single-wrap{
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.top-visual-single-wrap.is-active{
  opacity: 1;
  pointer-events: auto;
}

.top-visual-single{
  position: absolute;
  inset: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.08);
  opacity: 0;
  animation: topVisualImageMotion 8s linear forwards;
  animation-play-state: paused;
}

.site-main-show .top-visual-single-wrap.is-active .top-visual-single{
  animation-play-state: running;
}

.top-visual-single-wrap:not(.is-active) .top-visual-single{
  animation: none;
  transform: scale(1.08);
  opacity: 0;
}


/* ========================================
   3. スライダーテキスト
======================================== */
.top-visual-single-text{
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, 40px);
  width: 80%;
  z-index: 2;
  color: #fff;
  font-size: 32px;
  line-height: 1.8;
  letter-spacing: 0.12em;
  text-align: center;
  opacity: 0;
  animation: topVisualTextFadeIn 6s ease-out forwards;
  animation-play-state: paused;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif !important;
  font-weight: 400;
}

.site-main-show .top-visual-single-wrap.is-active .top-visual-single-text{
  animation-play-state: running;
}

.top-visual-single-wrap:not(.is-active) .top-visual-single-text{
  animation: none;
  transform: translate(-50%, 40px);
  opacity: 0;
}


/* ========================================
   4. アニメーション
======================================== */
@keyframes topVisualImageMotion {
  0% {
    transform: scale(1.08);
    opacity: 0;
  }
  10% {
    transform: scale(1.07);
    opacity: 0.8;
  }
  55% {
    transform: scale(1.035);
    opacity: 0.8;
  }
  75% {
    transform: scale(1.015);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

@keyframes topVisualTextFadeIn {
  0% {
    transform: translate(-50%, 40px);
    opacity: 0;
  }
  20% {
    transform: translate(-50%, 0);
    opacity: 0.8;
  }
  70% {
    transform: translate(-50%, 0);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -35px);
    opacity: 0;
  }
}


/* ========================================
   5. SCROLL表示
======================================== */
.hero-scroll-indicator{
  position: absolute;
  right: 34px;
  bottom: 54px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-scroll-indicator__text{
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.18em;
  line-height: 1;
  opacity: 0.95;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif !important;
  margin-bottom: 10px;
  margin-left: 42px;
}

.hero-scroll-indicator__pager{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-bottom: 5px;
}

.hero-scroll-indicator__mark{
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.3);
  transition: all 0.35s ease;
}

.hero-scroll-indicator__mark.is-active{
  width: 16px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,1);
}

.hero-scroll-indicator__line{
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.85);
  margin-left: 42px;
}


/* ========================================
   6. その他
======================================== */
.grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
}