/* PCでは追加した４項目を非表示 */
.site-header .primary-nav > .mobile-event-link {
    display: none;
}

@media (max-width: 768px) {
    /* スマホでは下段の横並びメニューを非表示 */
    .site-header > .page-nav {
        display: none;
    }

    /* 右上のメニュー内に４項目を表示 */
    .site-header .primary-nav > .mobile-event-link {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 48px;
        box-sizing: border-box;
        padding: 14px 20px;
        color: #fff;
        font-size: 15px;
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }
}


/* トップページ：キービジュアル内のトレーラー */
.refresh-hero--trailer .refresh-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 40px;
}

.refresh-hero--trailer .refresh-hero__text {
    min-width: 0;
}

.refresh-hero--trailer .refresh-hero__video {
    position: relative;
    width: 100%;
    min-width: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.refresh-hero--trailer .refresh-hero__video iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 900px) {
    .refresh-hero--trailer {
        height: auto;
    }

    .refresh-hero--trailer .refresh-hero__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .refresh-hero--trailer .refresh-hero__video {
        max-width: 720px;
        margin: 0 auto;
    }
}

