/* ファーストビュー：動画1本（16:9） */
.fv-section {
    position: relative;
}

/* PC: 16:9 を維持しつつ、高さは画面を超えない */
.fv-aspect-wrap {
    position: relative;
    width: 100%;
    height: min(56.25vw, 100vh); /* 幅の56.25%（16:9）と100vhの小さい方 */
    overflow: hidden;
    background: #1a2026;
}

.fv-aspect-wrap .fv-video-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.fv-aspect-wrap .fv-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* スマホは高さ確保 */
@media (max-width: 767px) {
    .fv-aspect-wrap {
        height: calc(100vh - 80px);
        padding-bottom: 0;
    }
}

/* 画像の上に重ねるオーバーレイ：左端・下端につく台形・テキストの背面 */
.fv-caption-shape {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgba(2, 6, 63, 0.92);
    clip-path: polygon(
      0 20%,   /* A */
      0 60%,   /* B */
      25% 100%,/* C */
      55% 100% /* D */
    );
    opacity: 0;
}

.fv-caption-shape.is-visible {
    opacity: 1;
}

/* キャプション：ゴシック・影なし */
.fv-caption {
    position: absolute;
    bottom: 15%;
    left: 8%;
    z-index: 2;
    color: #fff;
    font-family: "Noto Sans JP", sans-serif;
    pointer-events: none;
}

.fv-caption-ja {
    font-size: clamp(1.75rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 0.5em 0;
    letter-spacing: 0.02em;
}

.fv-caption-en {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    letter-spacing: 0.02em;
}

/* PC：キャプションを少し上に */
@media (min-width: 768px) {
    .fv-caption {
        bottom: 22%;
    }
}

@media (max-width: 576px) {
    .fv-caption-ja {
        font-size: clamp(1.4rem, 5.5vw, 2rem);
    }
    .fv-caption-en {
        font-size: clamp(2rem, 9vw, 3rem);
    }
}
