/* .video-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 9999;
}

.video-modal.is-active {
	display: flex;
	align-items: center;
	justify-content: center;
} */




/* =========================================
   VIDEO MODAL – FINAL VERSION
========================================= */

.video-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;

    /* 中央配置 */
    align-items: center;
    justify-content: center;
}

.video-modal.active {
    display: flex;
}

/* 背景オーバーレイ */
.video-modal-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(circle at 70% 40%, var(--main-color), transparent 60%),
        rgba(0,0,0,0.88);

    backdrop-filter: blur(12px);
}

/* 本体（16:9完全固定） */
.video-modal-content {
    position: relative;
    width: 92%;
    max-width: 1100px;

    /* 黒バー対策の核心 */
    aspect-ratio: 16 / 9;

    margin: 0;
    z-index: 2;

    box-shadow:
        0 50px 140px rgba(0,0,0,0.9);
}

/* iframeラッパー */
.video-modal-iframe-wrapper {
    width: 100%;
    height: 100%;
}

/* iframe完全フィット */
.video-modal-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

/* 閉じるボタン */
.video-modal-close {
    position: absolute;
    top: -48px;
    right: 0;

    width: 40px;
    height: 40px;

    font-size: 28px;
    line-height: 40px;
    text-align: center;

    cursor: pointer;
    color: white;

    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(6px);
    border-radius: 50%;

    transition: 0.25s ease;
}

.video-modal-close:hover {
    background: var(--main-color);
    box-shadow: 0 0 16px var(--main-color);
}