/* ファーストビュー全体を相対配置＆オーバーフロー隠す */
.fv {
  position: relative;
  overflow: hidden;
}

/* 背景動画を全面にカバー */
.fv-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.fv-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;

  /* 背景のベースカラー */
  background-color: rgba(20, 20, 20, 0.6);

  /* ゴールドのドットパターン */
  background-image: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.3) 1px,
    transparent 1px
  );
  background-size: 12px 12px;

  /* 動画に重ねた時のブレンド効果 */
  mix-blend-mode: overlay;

  z-index: 1;
}

/* テキスト等を含む内部ラッパーは最前面へ */
.fv-inner {
    position: relative;
    z-index: 2;
    width: 80%;
    height: 100%;
    margin: 0 auto;
}

/* タイトルコンテナ */
.fv .title {
    position: absolute;
    left: 0;
    top: 70%;
    color: white;
}

/* メイン見出し */
.fv .title h1 {
    font-size: 3vw;
    font-weight: 400;
    margin: 0;
    text-align: left;
}

/* サブテキスト */
.fv .title p {
    margin: 0;
    font-weight: 200;
    font-size: 1vw;
}

/* 強調用ボールド */
.fv .bold {
    font-weight: bolder;
}

/* 改行切り替え用 */
.br-sp {
    display: none;
}
.br-pc {
    display: inline;
}
.fv-bg-video {
  position: absolute;
  top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
}

/* 再生中の動画だけ表示 */
.fv-bg-video.active {
  opacity: 1;
  z-index: 0;
}
/* =============== スマホ対応 =============== */
@media screen and (max-width: 768px) {
    /* 内包幅調整 */
    .fv-inner {
        width: 88%;
    }

    /* 見出しサイズ・マージン */
    .fv .title h1 {
        font-size: 34px;
        margin-bottom: 15px;
    }

    /* 改行切り替え */
    .br-sp {
        display: inline;
    }
    .br-pc {
        display: none;
    }

    /* サブテキストサイズ */
    .fv .title p {
        font-size: 14px;
        margin: 0;
        font-weight: 200;
        line-height:1.9;
    }
    .fv .title {
        top:60%;
    }
}
