/* モーダル外枠：全画面を覆う黒の半透明背景とする */
.top-movie-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    /* background-color: #3c3c3c; */
    z-index: 99999; /* 既存コンテンツより前面に配置するため大きな値を指定する */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.8;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* 表示状態のアクティブクラス */
.top-movie-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* コンテンツ配置用コンテナ */
.top-movie-modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* ビデオタグのスタイル：アスペクト比を維持しレスポンシブ対応とする */
.top-movie-modal-video {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    max-height: 70vh;
    background-color: #3c3c3c;
    border: 2px solid #d4af37; /* トンマナに合わせたゴールドボーダーとする */
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

/* 閉じるボタンのスタイル */
.top-movie-modal-close-btn {
    position: absolute;
    top: -45px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease;
}

.top-movie-modal-close-btn:hover {
    color: #d4af37; /* ホバー時はゴールド色へ変化させる */
}

/* 「次回から表示しない」チェックボックスのレイアウト */
.top-movie-modal-option {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-family: sans-serif;
    font-size: 14px;
    user-select: none;
}

.top-movie-modal-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #d4af37; /* チェックボックスのアクセントカラーをゴールドとする */
}

.top-movie-modal-option label {
    cursor: pointer;
}
