/*リセット*/
*,*::before,*::after{box-sizing:border-box}html{-moz-text-size-adjust:none;-webkit-text-size-adjust:none;text-size-adjust:none}body,h1,h2,h3,h4,p,figure,blockquote,dl,dd{margin:0}ul,ol[role='list']{list-style:none}body{min-height:100vh;line-height:1.5}h1,h2,h3,h4,button,input,label{line-height:1.1}h1,h2,h3,h4{text-wrap:balance}a:not([class]){text-decoration-skip-ink:auto;color:currentColor}img,picture{max-width:100%;display:block}input,button,textarea,select{font:inherit}textarea:not([rows]){min-height:10em}:target{scroll-margin-block:5ex}

ul{
    padding-inline: unset;
}
:root{
    font-family: Arial, Helvetica, sans-serif;
    --color-black: #2D2D2D;
    --color-white: #fff;
    --color-purple300: #ad00f5;
    --color-purple400: #9e00df;
    --color-purple500: #8f0fc4;
    --color-whitePurple: #E5A7FF;

    --font-color-gray: #6B6B6B;
    --font-color-orange: #E4703E;
    --bg-color-gray: #EDEDED;

    --section-padding: 1.5rem;
    color: var(--color-black);

    font-size: 1rem;
}
html{

}
body{
    line-height: 1.6;
    container-type: inline-size;
}
.wrap-01{
    background-color: #fff;
    padding: 1rem;
}
.wrap-02{
    background-blend-mode: overlay;
}
.grid-wrapper{
    display: grid;
    grid-template-columns: minmax(300px, 1fr) 430px minmax(400px, auto);
    font-size: 1rem;
    .left-area,.right-area{
        position: sticky;
        height: 100svh;
        top: 0;
        right: 0;
        background-blend-mode: overlay;
        background: url(../img/bg_noise.png), url(../img/bg_pat.png), linear-gradient(to bottom, #e48b2c, #cc522d);
    }
    .left-area{
        border-right: 1rem solid #fff;

        &::before{
            content: "";
            display: block;
            position: absolute;
            left: 0;
            top: 0;
            width: 200px;
            height: 200px;
            background: url(../img/ornament.png) no-repeat center / cover;
            transform: rotate(180deg);
        }
        &::after{
            content: "";
            display: block;
            position: absolute;
            left: 0;
            bottom: 0;
            width: 200px;
            height: 200px;
            background: url(../img/ornament.png) no-repeat center / cover;
            transform: rotate(90deg);
        }
    }
    .right-area{
        border-left: 1rem solid #fff;
        &::before{
            content: "";
            display: block;
            position: absolute;
            right: 0;
            top: 0;
            width: 200px;
            height: 200px;
            background: url(../img/ornament.png) no-repeat center / cover;
            transform: rotate(-90deg);
        }
        &::after{
            content: "";
            display: block;
            position: absolute;
            right: 0;
            bottom: 0;
            width: 200px;
            height: 200px;
            background: url(../img/ornament.png) no-repeat center / cover;

        }
    }
    .center-area{
        position: relative;
        border-inline: 8px solid var(--color-purple400);
    }
    .center-area_wrap{
        position: relative;
        margin-inline: -8px;
    }
}

/*基本設定*/
.btn{
    color: var(--color-black);
    display: block;
    padding: 0.5rem;
    border: 1px solid currentColor;
    text-align: center;
    border-radius: 50px;
    background-color: var(--color-white);
    text-decoration: none;
    font-weight: bold;
    box-shadow: 2px 2px 0 currentColor;
    &.--entry{
        color: var(--color-purple300);
        font-size: 1.25rem;
    }
}
.flip_tit{
    position: relative;
    width: fit-content;
    > *:first-child{
        position: relative;
        background-color: #fff;
        border: 1px solid currentColor;
        width: fit-content;
        margin: auto;
        padding: 0.5rem 1rem;
        z-index: 2;
    }
    &::after{
        content: "";
        display: block;
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: #fff;
        border: 1px solid currentColor;
        z-index: 1;
        top: 5px;
        left: 5px;
    }
}
.center-area{
    background-blend-mode: overlay;
    background: url(../img/bg_noise.png), url(../img/bg_pat.png), linear-gradient(to bottom, #EF7B00, #e63a06);
    .center-area_wrap > section{
        position: relative;
        padding-inline: var(--section-padding);
        padding-block: 3rem;
        > section{
            margin-block: 2rem;
        }
    }
    h2,.h2-white_txt{
        text-align: center;
        font-weight: 700;
        font-size: 34px;
        font-family: 'Murecho', sans-serif;
    }
    h2,.presentBox h3,.huti{
        position: relative;
        z-index: 3;
        filter: url(#Sec-h2);
        color: var(--color-black);
        font-weight: bold;
    }
    .h2-svg {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }
    .h2-wrap{
        position: relative;
        margin-bottom: 3rem;
    }
    .h2-white_txt{
        position: absolute;
        left: 0;
        top: 2px;
        color: var(--color-white);
        z-index: 1;
        width: 100%;
        line-height: 1;
        text-shadow: 2px 2px 0 var(--color-black);
    }
}
    .sp-nav{
        display: none;
        position: sticky;
        top: 0;
        right: 0;
        z-index: 50;
        .btnBox{
            display: grid;
            grid-template-columns: auto auto;
            justify-content: end;
            > button{
                width: 50px;
                aspect-ratio: 1/1;
                border: 1px solid var(--color-purple300);
            }
        }
        .logoBtn{
            background-color: var(--color-purple300);
        }
        .hamburgur {
            background-color: #fff;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 4px;

            span {
                display: block;
                width: 20px;
                height: 2px;
                background-color: var(--color-purple300);
                transition: all 0.3s ease;
                transform-origin: center;
            }

            &.active {
                span:nth-child(1) {
                    transform: rotate(45deg) translate(5px, 5px);
                }
                span:nth-child(2) {
                    opacity: 0;
                }
                span:nth-child(3) {
                    transform: rotate(-45deg) translate(4px, -4px);
                }
            }
        }
        .nav-menu {
        position: relative;

        .navList {
            border: 1px solid var(--color-purple300);
            margin-block: unset;
            width: fit-content;
            position: absolute;
            right: 0;
            top: 0;

            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.2s ease-out;

            &.active {
                opacity: 1;
                visibility: visible;
                transform: translateY(0);
            }
        }

        .navList-item a {
            display: block;
            color: var(--color-white);
            text-decoration: none;
            background-color: rgba(45, 45, 45, 0.9);
            width: 100%;
            padding: 1rem;
            transition: background-color 0.2s ease-out;

            &:hover {
                background-color: rgba(45, 45, 45, 1);
            }
        }
    }
    }
/*セクション詳細*/
.hero-sec{
    background-blend-mode: overlay;
    background: url(../img/bg_noise.png), url(../img/bg_pat.png), linear-gradient(to bottom, #EF7B00, #e63a06);
    border-inline: 8px solid var(--color-purple400);

    padding-inline: unset!important;
    h1{
        max-width: 300px;
        margin-inline: auto;
    }
}

.hero-sec_schedulewrap{
        width: fit-content;
        max-width: 300px;
        margin-inline: auto;
        dt{
            font-size: 24px;
            font-family: "Murecho", sans-serif;
            color: var(--color-white);
            font-weight: 500;
            text-shadow: 1.5px 1.5px 0px var(--color-purple400);
            margin-top: 1rem;
        }
        dd{
            font-family: "din-2014", sans-serif;
            background-color: var(--color-white);
            display: grid;
            grid-template-columns: 1fr auto;
            align-items: center;
            gap: 0.75em;
            padding: 0.25rem 1rem;
            font-weight: bold;
            font-feature-settings: "palt";
            margin-bottom: 0.5em;
            line-height: 1.2;
        }
        .scheduleBox{
            display: grid;
            grid-template-columns: repeat(3, auto);
            align-items: center;
            justify-content: left;
            .year{
                display: inline-block;
                font-size: 16px;
                line-height: 1;
                width: fit-content;
                color: var(--color-whitePurple);
                writing-mode: vertical-rl;
            }
            .date{
                font-size: 40px;
                letter-spacing: -2px;
            }
            .week{
                vertical-align: 2px;
                font-size: 18px;
                letter-spacing: 0px;
                margin-left: 0.25rem;
            }
        }
        .note{
            color: var(--color-white);
            font-size: 12px;
            text-align: right;
        }
    }
    .hero-sec_Txt{
        color: #fff;
        text-align: center;
        font-weight: bold;
        border: 1px solid var(--color-black);
        padding: 1rem 0;
        margin-block: 1.5rem;
        .h2-wrap{
            margin-bottom: unset;
            &:first-of-type{
                p,span{font-size: 1rem;line-height: 1.2;font-family: "Murecho";}
                span{top: 0;}
            }
            &:last-of-type{
                p,span{font-size: 1.4rem;line-height: 1.2;font-family: "Murecho";}
                span{top: 0;}
            }
        }
        p{

        }
    }
.aboutSec{
    background-blend-mode: color-burn;
    background: url(../img/bg_noise.png), var(--bg-color-gray);
    border: 1px solid var(--color-purple400);
    hgroup{
        position: relative;
        p{
            text-align: right;
        }
    }
    .h2-wrap{
        span{
            color: #F85F1E;
            left: 2px;
            top: 3px;
            text-shadow: unset;
        }
    }

    .aboutSec_txt{
        margin-inline: calc(0rem - var(--section-padding));/*パディング打ち消し*/
        background-color: #fff;
        padding: 1rem;
        .decotxt{
            display: block;
            font-weight: bold;
            span{
                background-color: var(--color-purple300);
                padding: 0.25rem;
                color: #fff;
            }
        }
        .background-box{
            background: url(../img/logotxt.svg) no-repeat center/contain;
            background-color:rgba(255,255,255,0.95);
            background-blend-mode:lighten;
            padding: 1rem;
        }
        p{
            max-width: 346px;
            margin-inline: auto;
            line-height: 2;
        }
    }
    .about_quiz-box{
        .flip_tit{
            margin: auto;
        }
        h3{
            text-align: center;
            font-size: 1.35rem;
            margin-bottom: 2rem;
            font-weight: bold;
        }
        .about_quiz-btnList{
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.5rem;
            li{
                text-align: center;
                cursor: pointer;

            }
        }
    }
    .andmore,.txt{
        text-align: center;
    }
    .andmore{
        font-weight: bold;
        margin-bottom: 1rem;
    }
    .txt{
        p{
            font-size: 1.1rem;
            font-weight: bold;
        }
    }
    .note{
        color: var(--font-color-gray);
        font-size: 0.85rem;
        text-align: center;
    }
}
.infoSec{
    background-blend-mode: color-burn;
    background: url(../img/bg_noise.png), var(--bg-color-gray);
    border: 10px solid var(--color-purple400);

    .infoSec_overview{
        h3{
            text-align: center;
            border: 1px solid currentColor;
            padding: 0.5rem;
        }
    }
    .infoSec_overview-list{
        > div{
            border-bottom: 1px solid currentColor;
            padding-block: 1rem;
            &:last-child{
                border: none;
            }
        }
        dt{
            font-size: 1rem;
            font-weight: bold;
            margin-bottom: 6px;
        }
        dd{
            font-size: 1rem;
        }
        .note{
            font-size: 0.9rem;
            color: var(--font-color-orange);
        }
    }
}
.flowSec{
    background: linear-gradient(to bottom, #FFF0E9, #F8EBFF);

    > section{
        border: 1px solid #C3C3C3;
        background-color: #fff;
        padding: 1.5rem;
        text-align: center;
        h3{
            font-size: 1.4rem;
        }
    }
    .frowBox{
        p{line-height: 1.2;}
    }

}
.prizeSec{
    background-blend-mode: overlay;
    background: url(../img/bg_noise.png), url(../img/bg_pat.png), linear-gradient(to bottom, #EF7B00, #e63a06);
    overflow: hidden;
    .h2-wrap{
        margin-bottom: 5rem;
    }
    .prizeSec-box{
        position: relative;
        background-color: var(--color-white);
        border: 1px solid var(--color-black);
        padding: 2rem;
        padding-top: 2rem;
        &:first-of-type{
            margin-right: calc(0rem - var(--section-padding));/*パディング打ち消し*/
            border-right: none;
            margin-bottom: 5rem;
        }
        &:last-of-type{
            margin-left: calc(0rem - var(--section-padding));/*パディング打ち消し*/
            border-left: none;
        }
        .flip_tit{
            top: -25px;
            position: absolute;
            left: calc(50% - 0.5rem);
            transform: translateX(-50%);
            width: max-content;
        }
        h3{
            font-size: 1.4rem;
        }
        .prizeItem{
            position: relative;
            padding-left: 0.75rem;
            color: var(--color-black);
            line-height: 1;
            margin-block: 1rem;
            &::after{
                content: "";
                position: absolute;
                display: block;
                width: 3px;
                height: 1lh;
                background: currentColor;
                left: 0;
                top: 0;
            }
        }
        .note{
            color: var(--font-color-gray);
            font-size: 0.8rem;
        }
    }
}
.livestreamSec{
    background-blend-mode: color-burn;
    background: url(../img/bg_noise.png), var(--bg-color-gray);
    border: 10px solid var(--color-purple400);
    padding-block-end: 0!important;

    .h2-wrap{
        h2{font-size: 28px;}
        span{font-size: 28px;top: 1px;}
        p{
            color: var(--color-purple400);
            font-size: 0.9rem;
            text-align: center;
            margin-block: 1rem;
        }
    }

    .livestreamSec_list{
        max-width: 300px;
        margin-inline: auto;
        dt{
            font-weight: bold;
        }
        dd{
            margin-bottom: 1rem;
        }
    }
    .livestreamSec_personBox{
        position: relative;
        margin-block: 2rem;
        .personImg{
            position: relative;
            max-width: 300px;
            margin: auto;
            &::before{
                content: "";
                display: block;
                position: absolute;
                width: 80%;
                height: 80%;
                left: 0;
                right: 0;
                margin: auto;
                border-left: 6px solid #BEBEBE;
                border-top: 6px solid #BEBEBE;
                bottom: 0;
                box-shadow: 6px 6px 0px var(--color-purple300);
                background-blend-mode: color-burn;
                background: url(../img/bg_noise.png), var(--bg-color-gray);

            }
            img{
                position: relative;
                z-index: 2;
                -webkit-filter: drop-shadow(0.5rem 0 0 var(--color-purple300));
                filter: drop-shadow(0.5rem 0 0 var(--color-purple300));
            }
        }
        .personTxt{
            position: absolute;
            position: absolute;
            bottom: -30px;
            left: 30px;
            z-index: 5;
            p{
                color: var(--color-purple400);
                border: 1px solid currentColor;
                background-color: var(--color-white);
                width: fit-content;
                margin-block: 0.25rem;
                &:first-of-type{
                    font-size: 0.9rem;
                    padding: 0 0.25rem;
                }
                &:last-of-type{
                    font-size: 1.15rem;
                    font-weight: bold;
                    padding: 0.25rem 0.5rem;
                }
            }
        }
    }
    .presentBox{
        margin-top: 4rem;
        margin-bottom: 0;
            .h2-wrap{
                margin-bottom: 1rem;
                h3{
                    font-family: "Murecho", sans-serif;
                    font-size: 30px;
                    text-align: center;
                    line-height: 1.2
                }
                span{
                    font-size: 30px;
                    line-height: 1.2;
                    top: 0;
                }

            }
            .present-info{
                max-width: 300px;
                margin: auto;
            }
            .decoTxt-1{
                margin-block: 1rem;
                text-align: center;
                .txt01{
                    font-size: 1.45rem;
                    color: #F85F1E;
                    font-weight: bold;
                }
                .txt02,.txt04{
                    font-weight: bold;
                }
                .txt03{
                    background-color: var(--color-purple400);
                    color: #fff;
                    font-weight: bold;
                    padding: 0.25rem;
                }
            }
        }
        .appBox{
            text-align: center;
            background-color: #D6CDE2;
            padding: 2rem;
            margin-inline: calc(0rem - var(--section-padding));/*パディング打ち消し*/

            h4{
                font-weight: bold;
                font-size: 1.1rem;
                display: grid;
                grid-template-columns: 2lh auto;
                gap: 0.5rem;
                align-items: center;
                justify-content: center;
                img{
                    border-radius: 4px;
                }
            }
            .app_bnrBox{
                display: flex;
                gap: 0.5rem;
            }
            .TV_link a{
                display: block;
                width: 300px;
                margin-inline: auto;
                padding: 1rem;
                padding-inline: 2rem;
                background-color: var(--color-black);
                border-radius: 12px;

            }
            .TV_youtube_link a{
                text-decoration: none;
                display: grid;
                align-items: center;
                width: 300px;
                margin-inline: auto;
                margin-top: 0.5rem;
                padding: 1rem;
                background-color: #fff;
                border-radius: 12px;
                text-align: left;
                font-weight: bold;
                line-height: 1.2;
                grid-template-columns: 1fr auto;
                .icon{
                    width: 40px;
                }
            }
        }
}
.kn_footer{
    background-blend-mode: color-burn;
    background: url(../img/bg_noise.png), var(--bg-color-gray);
    padding-inline: 1.5rem;
    padding-block: 4rem;
    .btnList{
        max-width: 300px;
        margin: auto;
        a{
            margin-bottom: 0.5rem;
        }
    }
}



.left-area{
    .left-areaBOX{
        display: grid;
        align-items: center;
    }
    .left-area_wrap{
        display: grid;
        grid-template-columns: auto auto;
        justify-content: center;
        padding-top: 3rem;
        padding-inline: 2rem;
    }
    .logo{
        max-width: 300px;
    }
    .hero-sec_schedulewrap{
        dt{
            text-shadow: none;
        }
        dd{
            background-color: unset;
            margin-bottom: 0;
            padding: 0;
            line-height: 1.4;
            .year,.date,.time{color: var(--color-white);}
            .time{font-weight: normal;}
        }
    }
    .entryBox{
        margin: auto;
        text-align: center;
        max-width: 300px;
    }
    .txt{
        text-align: center;
        font-weight: bold;
        color: #fff;
        font-size: 20px;
    }
}

.right-area{
    padding-inline: 1rem;
    padding-top: 3rem;

    nav{
        font-size: 1.1rem;
        li a{
            display: block;
            text-decoration: none;
            font-weight: bold;
            color: var(--color-white);
            font-weight: bold;
            padding-left: 0.5rem;
            margin-block: 2rem;
            position: relative;
            line-height: 1;
            &::before{
                content: "";
                position: absolute;
                left: 0;
                top: 0;
                height: 1lh;
                width: 3px;
                background-color: currentColor;
            }
        }
    }
}


@container (max-width: 1400px) {
    .left-area{
        .logo{
            display: none;
        }
    }
    .grid-wrapper{
        grid-template-columns: minmax(300px, auto) 430px auto;
    }

}
@container (max-width: 1130px) {
    .sp-nav{
        display: block;
    }
    .left-area{
        &::before,&::after{
            display: none!important;
        }
    }
    .right-area{
        &::before,&::after{
            display: none!important;
        }
        nav{display: none;}
     }
}
@container (max-width: 880px) {
    .grid-wrapper{
        grid-template-columns: auto minmax(300px , 430px) auto;
    }
    .right-area{
        padding: unset;
    }
    .left-area{
        .entryBox,.left-area_wrap{
            display: none;
        }

    }
}
@container (max-width: 500px) {
    .wrap-01{
        padding: unset;
        height: 100%;
    }
    .grid-wrapper{
        grid-template-columns: auto;
        overflow: unset;
    }
    .hero-sec{
        padding-top: unset!important;
    }
    .right-area{
       display: none;
    }
    .left-area{
        display: none;
    }
}


/*アニメ*/
.slide-txt{
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    left: 0;
    top: 0;
    display: flex;

    gap: 0.5rem;
    pointer-events: none;
    .txt{
        color: #dfb8ef;
        animation: slideTxt 25s linear infinite;
        filter: url(#Sec-h2);
        font-size: 116px;
        line-height: 0.71;
        white-space: nowrap;
        font-weight: bold;
        width: fit-content;
    }
}
.slide-txt.--rl{
    flex-direction: column;
    .txt{
        writing-mode: vertical-rl;
        animation: slideTxt-rl 30s linear infinite;
        z-index: 1;
    }
}
.slide-txt.--bottom{
    left: 0;
    top: unset!important;
    bottom: 0;
    height: fit-content;
    .txt{
        color: #fff;
        line-height: 0.78;
    }
}
@keyframes slideTxt {
    0% {
        transform: translateX(0)
    }
    100% {
        transform: translateX(-100%)
    }
}
@keyframes slideTxt-rl {
    0% {
        transform: translateY(0)
    }
    100% {
        transform: translateY(-100%)
    }
}

.modal{
    max-width: 500px;
    width: 96%;
    background-color: var(--color-white);
    border-radius: 6px;
    border: 1px solid var(--color-black);
    padding: 1.5rem 1rem;
    text-align: center;
    .question{
        background-color: var(--color-black);
        color: #fff;
        text-align: left;
        position: relative;
        &::before{
            content: "";
            display: block;
            position: absolute;
            left: 0;
            top: 0;
            width: 30px;
            height: 30px;
            background: url(../img/ornament.png) no-repeat center / cover;
            transform: rotate(180deg);
        }
        &::after{
            content: "";
            display: block;
            position: absolute;
            right: 0;
            top: 0;
            width: 30px;
            height: 30px;
            background: url(../img/ornament.png) no-repeat center / cover;
            transform: rotate(-90deg);
        }
        > div{
            padding: 1rem;
            &::before{
            content: "";
            display: block;
            position: absolute;
            left: 0;
            bottom: 0;
            width: 30px;
            height: 30px;
            background: url(../img/ornament.png) no-repeat center / cover;
            transform: rotate(90deg);
            }
            &::after{
                content: "";
                display: block;
                position: absolute;
                right: 0;
                bottom: 0;
                width: 30px;
                height: 30px;
                background: url(../img/ornament.png) no-repeat center / cover;
            }
        }
    }
    .modal-close{
        position: absolute;
        right: 0;
        top: 0;
        border: none;
        background: var(--color-black);
        color: #fff;
        width: 30px;
        height: 30px;
        cursor: pointer;
    }
    .mondai_img{
        display: grid;
        grid-template-columns: repeat(2, 40px);
        justify-content: center;
        gap: 0.5rem;
    }
    .anserList{
        display: grid;
        gap: 0.5rem;
        grid-template-columns: 1fr 1fr;
        .btn{
            cursor: pointer;
            font-size: 14px;
        }
    }
    .note{
        font-size: 0.8rem;
        color: var(--font-color-gray);
    }
    .h2-wrap{
        margin-bottom: 1rem;
    }
    .maru,.batu{
        filter: url(#Sec-h2);
        font-size: 35px;
        position: relative;
        z-index: 3;
        font-family: "Murecho", sans-serif;
        font-weight: bold;
    }
    .maru{
        color: var(--color-purple400);
        + span{
            text-shadow: 3px 3px 0 var(--color-purple400);
        }
    }
    .batu{
        color: var(--color-black);
    }
    .h2-white_txt{
        font-size: 35px;
    }
    .explanation{
        text-align: left;
    }
    .anserTxt{
        font-weight: bold;
    }
}
.modal::backdrop {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(2px);
}

/*コモン*/
.mt1rem{margin-top: 1rem;}
.mt2rem{margin-top: 2rem;}
.txt-zindex{z-index: 2;position: relative;}


/* フェードインアニメーション用CSS */
[data-fade] {
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-fade="up"] {
    transform: translateY(30px);
}
[data-fade="down"] {
    transform: translateY(-30px);
}
[data-fade="left"] {
    transform: translateX(-30px);
}
[data-fade="right"] {
    transform: translateX(30px);
}
[data-fade="fade"] {
    transform: none;
}
.animate-in {
    opacity: 1;
    transform: translate(0, 0);
}
/* アニメーションを無効にする設定（アクセシビリティ対応） */
@media (prefers-reduced-motion: reduce) {
    [data-fade] {
        transition: none;
    }
}