:root {
    --color-gold: #d3a84a;
    --color-border: #e1e1e1;
    --color-black: #222;
}

/*-----2025LOGO-----*/
.logo-color {
    fill: #ffff;
}

/*-----header調整-----*/
header {
    box-sizing: border-box;
    position: absolute;
    z-index: 100;
    width: 100%;
    display: grid;
    grid-template-columns: 180px 60px 1fr;
}
.headerEn {
    grid-template-columns: 230px 60px 1fr;
}
.headerJp-link {
    grid-area: 1 / 1 / 2 / 2;
    .headerJp-link_btn {
        color: #FFF;
        border: 1px solid #fff;
        padding-left: 40px;
        display: block;
        line-height: 34px;
        height: 34px;
        position: relative;
        .right_Tri {
            &::before {
                content: "";
                position: absolute;
                left: 20px;
                top: 50%;
                transform: translateY(-50%);
                display: inline-block;
                width: 10px;
                height: 14px;
                background-color: #fff;
                clip-path: polygon(0 0, 0 100%, 100% 50%);
            }
        }
        &:hover {
            text-decoration: none;
            color: var(--color-gold);
            border: 1px solid var(--color-gold);
            .right_Tri {
                &::before {
                    background-color: var(--color-gold);
                }
            }
        }
    }
    .headerJp-link_en {
        padding-left: .5em;
        padding-right: .5em;
    }
}
.headerLang {
    grid-area: 1 / 2 / 2 / 3;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    line-height: 1;
    a {
        color: #FFF;
    }
    .Lang_jp {
        border-right: 1px solid #fff;
        padding: 0 15px;
    }
    .Lang_en {
        padding-left: 15px;
    }
}
#hamburger {
    display: none;
}
#globalNavi {
    li {
        position: relative;
        padding: 0 15px;
        &::after {
            position: absolute;
            display: inline-block;
            width: 1px;
            height: 14px;
            content: "";
            top: 3px;
            background-color: #FFF;
            transform: rotate(30deg);
            margin-left: 15px;
        }
        &:last-child {
            padding-right: 0;
            &::after {
                content: none;
                margin-left: 0;
            }
        }
    }
}
@media screen and (min-width: 1313px){
    header {
        grid-template-rows: 16px 36px;
        grid-row-gap: 5px;
        grid-column-gap: 0px;
        padding: 60px 60px 0;
    }
    .headerJp-link {
        grid-area: 2 / 1 / 3 / 2;
    }
    .headerLang {
        grid-area: 1 / 1 / 2 / 4;
    }
    .naviArea {
        grid-area: 2 / 3 / 3 / 4;
    }
    #globalNavi {
        color: #FFF;
    }
    .NaviMenu_inner {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        height: 36px;
        a {
            color: #FFF;
            &:hover {
                text-decoration: none;
            }
        }
    }
}
@media screen and (min-width: 841px) and (max-width: 1312px) {
    header {
        grid-template-rows: 36px 16px;
        grid-row-gap: 15px;
        grid-column-gap: 0px;
        padding: 20px 20px 0;
    }
    .headerJp-link {
        grid-area: 1 / 1 / 2 / 2;
    }
    .headerLang {
        grid-area: 1 / 3 / 2 / 4;
    }
    .naviArea {
        grid-area: 2 / 1 / 3 / 4;
    }
    #globalNavi {
        color: #FFF;
    }
    .NaviMenu_inner {
        display: flex;
        align-items: center;
        justify-content: center;
        a {
            color: #FFF;
            &:hover {
                text-decoration: none;
            }
        }
        dt {
            h2 {
                color: var(--color-gold);
            }
        }
    }
}
@media screen and (min-width: 841px) {
    .sp {
        display: none;
    }
    .NaviMenu_inner {
        a, span {
            &:hover {
                color: var(--color-gold);
            }
        }
    }
    .mega-inner {
        display: flex;
        justify-content: center;
        align-items: center;
        column-gap: 30px;
        padding: 30px 0;
        line-height: 2.2;
        box-sizing: border-box;
        a {
            &:hover {
                color: var(--color-gold);
                text-decoration: underline;
            }
        }
        dt {
            text-align: right;
            line-height: 1.4;
            font-size: 20px;
            h2 {
                color: var(--color-gold);
                font-size: 28px;
            }
        }
        dd {
            padding-left: 30px;
            border-left: 1px solid var(--color-gold);
        }
        .area-lower {
            li {
                &::before {
                    content: "├";
                    padding-right: .5em;
                    color: var(--color-gold);
                }
                &:last-child {
                    &::before {
                        content: "└";
                    }
                }
            }
        }
        .area-sns {
            li {
                background-repeat: no-repeat;
                background-position: left center;
                a {
                    display: block;
                    padding: 15px 0 15px 50px;
                }
            }
            .area-sns_ins {
                background-image: url(/jp/img/common/nhead_sns_ins.png);
            }
            .area-sns_fb {
                background-image: url(/jp/img/common/nhead_sns_fb.png);
            }
            .area-sns_tw {
                background-image: url(/jp/img/common/nhead_sns_tw.png);
            }
            .area-sns_yt {
                background-image: url(/jp/img/common/nhead_sns_youtube.png);
            }
        }
    }
    .naviArea {
        .mega-menu.active {
            width: 100%;
            height: auto;
            display: block;
            position: absolute;
            left: 0;
            padding: 0;
            margin-top: 15px;
            background-color: rgba(255,255,255,0.9);
            z-index: 99999;
            opacity: 1;
        }
    }
}
@media screen and (max-width: 840px){
    header {
        grid-template-columns: 180px 1fr 38px;
        grid-template-rows: 45px;/*58px*/
        grid-row-gap: 0px;
        grid-column-gap: 15px;
        padding: 15px 15px 0;
    }
    .headerJp-link {
        .headerJp-link_btn {
            padding-left: 35px;
            line-height: 43px;/*ボーダー上下1×2で2px*/
            height: 43px;/*ボーダー上下1×2で2px*/
            position: relative;
            .right_Tri {
                &::before {
                    left: 15px;
                }
            }
        }
    }
    .headerEn {
        grid-template-columns: 210px 1fr 38px;
        .headerJp-link_btn {
            padding-left: 27px;
            .right_Tri {
                font-size: 14px;
                &::before {
                    width: 8px;
                    height: 12px;
                    left: 12px;
                }
            }
        }
    }
    .headerLang {
        li {
            height: 45px;
            line-height: 45px;
        }
        .Lang_jp {
            border-right: 1px solid #fff;
            padding-left: 0;
            padding-right: 10px;
        }
        .Lang_en {
            padding-left: 10px;
        }
    }
    #hamburger {
        display: block;
        grid-area: 1 / 3 / 2 / 4;
        background-color: transparent;
        box-sizing: border-box;
        p {
            font-size: 11px;
            letter-spacing: .1em;
            text-align: center;
            color: #fff;
            margin-top: 4px;
        }
    }
    .hamburger_menu {
        position: relative;
        width: 100%;
        height: 26px;
        cursor: pointer;
        span {
            position: absolute;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: #fff;
            border-radius: 2px;
            display: inline-block;
            transition: all .5s;
        }
        span:nth-of-type(1) {
            top: 0;
        }
        span:nth-of-type(2) {
            top: 12px;
        }
        span:nth-of-type(3) {
            bottom: 0;
        }
    }
    .active span:nth-of-type(1) {
        transform: translateY(12px) rotate(-45deg);
    }
    .active span:nth-of-type(2) {
        opacity: 0;
    }
    .active span:nth-of-type(3) {
        transform: translateY(-12px) rotate(45deg);
    }
    #globalNavi {
        display: none;
        position: absolute;
        left: 0;
        text-align: center;
        z-index: 9999;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        margin-top: 15px;
        a {
            &:hover {
                text-decoration: none;
            }
        }
        li {
            &::after {
                content: none;
            }
        }
        .NaviMenu_inner {
            font-size: 16px;
            li {
                padding: 0;
                border-bottom: 1px solid var(--color-border);
                .idMenu_main, .hover-switch {
                    color: var(--color-gold);
                    display: block;
                    padding: 10px;
                }
                a {
                    display: block;
                    padding: 10px;
                }
            }
            .idMenu_col {
                width: 100%;
                display: flex;
                li {
                    flex: 1;
                    border-right: 1px solid var(--color-border);
                    border-top: 1px solid var(--color-border);
                    border-bottom: none;
                    &:last-child {
                        border-right: none;
                    }
                }
            }
            .idMenu_col-double {
                width: 100%;
                display: flex;
                flex-wrap: wrap;
                li {
                    width: calc((100% - 1px) / 2);
                    border-right: 1px solid var(--color-border);
                    border-top: 1px solid var(--color-border);
                    border-bottom: none;
                    &:nth-child(2n) {
                        border-right: none;
                    }
                }
            }
            .idMenu-en_col {
                li {
                    &:first-child {
                        border-top: 1px solid var(--color-border);
                    }
                    &:last-child {
                        border-bottom: none;
                    }
                }
            }
            #idMenu-contest {
                li {
                    &:first-child {
                        border-top: 1px solid var(--color-border);
                    }
                    &:last-child {
                        border-bottom: none;
                    }
                }
            }
        }
        #idMenu-close {
            padding-top: 10px;
            padding-bottom: 10px;
            .idMenu-close_btn {
                position: relative;
                width: 36px;
                height: 26px;
                margin-inline: auto;
                span {
                    position: absolute;
                    left: 0;
                    width: 100%;
                    height: 2px;
                    background-color: var(--color-black);
                    border-radius: 2px;
                    display: inline-block;
                }
                span:nth-of-type(1) {
                    top: 0;
                    transform: translateY(12px) rotate(-45deg);
                }
                span:nth-of-type(2) {
                    bottom: 0;
                    transform: translateY(-12px) rotate(45deg);
                    opacity: 1;
                }
            }
            p {
                font-size: 12px;
                letter-spacing: .1em;
                line-height: 1;
                text-align: center;
                margin-top: 5px;
            }
        }
    }
}


/*-----Movie-----*/
.mainMovie {
    width: 100%;
    height: 90vh;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.mainMovie video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}
.mainMovie_lead {
    color: #FFF;
    text-shadow: var(--color-black) 1px 0 8px;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    transform: translate(-50%,-50%);
    .mainMovie_logo {
        width: 520px;
        height: auto;
        max-width: 90vw;
    }
    /*h2 {
        margin-top: 15px;
    }*/
}

/*.mainMovie_venue {
    padding-left: 1em;
}
.mainMovie_ticket {
    display: block;
    border-bottom: 1px solid #FFF;
    color: #FFF;
    text-align: center;
    padding-bottom: 4px;
    margin-top: 30px;
    margin-inline: auto;
    max-width: 240px;
    &:hover {
        color: #FFF;
        text-decoration: none;
    }
}
@media screen and (min-width: 841px){
    .mainMovie_lead {
        h2 {
            font-size: 20px;
            letter-spacing: .05em;
        }
    }
    .mainMovie_ticket {
        font-size: 18px;
    }
}
@media screen and (max-width: 840px){
    .mainMovie_lead {
        width: 440px;
        text-align: center;
        h2 {
            font-size: 18px;
        }
    }
}
@media screen and (max-width: 470px){
    .mainMovie_lead {
        width: 300px;
        h2 {
            font-size: 16px;
        }
    }
    .mainMovie_venue {
        display: block;
        padding-left: 0;
    }
}*/