@charset 'utf-8';
aside{
    background: url(../img/bg1.jpg)repeat top left;
    background-size: 33px;
}
main{
    background: url(../img/bg2.jpg)repeat top left;
    background-size: 151px 127px;
    padding: 64px 48px;
    position: relative;
    z-index: 1;
}
.center{
    text-align: center;
}
body{
    display: flex;
}
aside,
main{
    width: 50%;
    box-sizing: border-box;
}

.aside_wrapper{
    position: sticky;
    top: 0;
    left: 0;
    padding: 20px 0;
    overflow: hidden;
}
.character_slides {
    display: flex;
    gap: 12px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
.character_slides li {
    flex-shrink: 0;
}
.character_slides.left {
    animation: slideLeft 100s linear infinite;
}
.character_slides.right {
    animation: slideRight 100s linear infinite;
}
@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}
@keyframes slideRight {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}
.main{
    padding: 0 24px;
    max-width: 494px;
    margin: 10px auto;
}
.nav_list{
    padding: 0 24px;
    max-width: 570px;
    margin: 16px auto 0;
}
.nav_list li:not(:last-of-type){
    margin-bottom: 24px;
}
.nav_list li a{
    text-decoration: none;
    display: flex;
    align-items: center;
    color: #0E0E6E;
    padding-right: 32px;
}
.nav_list li a span{
    width: 82px;
    background: #F5FF00;
    font-size: 12px;
    line-height: 20px;
    margin-right: 12px;
    border-radius: 2px;
    white-space: nowrap;
}
.nav_list li a p{
    max-width: calc(100% - 94px);
    line-height: 1.2;
    position: relative;
    transition: 0.3s;
}
.nav_list li a:hover p{
    color: #fff;
}
.nav_list li a p:before{
    content: "";
    width: 24px;
    height: 24px;
    position: absolute;
    top: 50%;
    right: -32px;
    transform: translateY(-50%);
    background: url(../img/arrow.svg)no-repeat center #fff;
    background-size: contain;
    border-radius: 50%;
    transition: 0.3s;
}
.nav_list li a:hover p:before{
    right: -38px;
}
.copy{
    padding: 0 24px;
    max-width: 570px;
    margin: 84px auto 0;
    font-size: 13px;
    letter-spacing: 0.04em;
    color: #112747;
    line-height: 1.3;
}

.content_box{
    max-width: 624px;
    padding: 64px 40px 40px;
    box-sizing: border-box;
    margin: auto;
    background: #fff;
    border-radius: 16px;
    position: relative;
    opacity: 0;
    transform: scale(0.9);
}
.content_box.show{
    animation: fadeInScale 0.4s ease-in-out forwards;
}
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
.content_box:not(:last-of-type){
    margin-bottom: 64px;
}
.content_ico{
    position: absolute;
    top: -32px;
    left: 16px;
    z-index: 1;
}
.content_ico_bg{
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    animation: spin 4.5s linear infinite;
}
@keyframes spin {
    0% {
        transform: rotate(0deg) scale(1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}
.content_title{
    margin-bottom: 32px;
    aspect-ratio: 523/28;
    max-width: 523px;
    width: 100%;
    height: auto;
}
.content_title span{
    display: inline-block;
    line-height: 1;
    position: relative;
    z-index: 1;
    height: 100%;
    opacity: 0;
    transform: translateY(20px);
}
.show .content_title span{
    animation: fadeInUp 0.4s 0.4s ease-in-out forwards;
}
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.content_title span:before{
    content: "";
    width: 0;
    height: 50%;
    position: absolute;
    left: 0;
    bottom: -1px;
    background: #E1B9FF;
    z-index: -1;
}
.show .content_title span:before{
    animation: fadeInSlide 0.2s 0.8s ease-in-out forwards;
}
@keyframes fadeInSlide {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}
.content_title img{
    height: 100%;
    width: auto;
}
.content_text{
    line-height: 1.8;
    margin-bottom: 32px;
    font-weight: 700;
    word-break: auto-phrase;
}
.content_img img{
    border-radius: 8px;
    display: inline-block;
}
.content_img.is_border img{
    border: 1px solid #E5E5E5;
    box-sizing: border-box;
}
.content_btn{
    margin-top: 32px;
}
.content_btn a{
    display: inline-block;
    color: #fff;
    background: #1A5BD5;
    font-size: 18px;
    font-weight: 700;
    width: 280px;
    line-height: 56px;
    position: relative;
    text-decoration: none;
    border-radius: 50px;
    transition: 0.3s;
}
.content_btn a:hover{
    filter: brightness(0.8);
}
.content_btn a:before{
    content: "";
    width: 7px;
    height: 12px;
    background: url(../img/arrow_btn.svg)no-repeat center;
    background-size: contain;
    position: absolute;
    top: 50%;
    left: 48px;
    transform: translateY(-50%);
    transition: 0.3s;
}
.content_btn a:hover:before{
    left: 52px;
}
#special .content_img{
    margin-bottom: 24px;
    text-align: center;
}
#special .content_text{
    line-height: 2em;
    word-break: break-all;
    margin-bottom: 0;
}
.character_list{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.character_list li{
    padding: 5px;
    width: calc((100% - 48px) / 4);
    box-sizing: border-box;
    background: #F5F5F5;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}
.character_list li:hover{
    transform: scale(1.05);
}
.content_text,
.content_img,
.character_list,
.content_btn{
    opacity: 0;
}
.show .content_text,
.show .content_img,
.show .character_list,
.show .content_btn{
    animation: fadeIn 0.4s 1.2s ease-in-out forwards;
}
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* イベント終了時 */
.content_box.disabled::before{
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: #000;
    opacity: 0.5;
    border-radius: 16px;
    z-index: 2;
}
.content_box.disabled::after{
    content: "イベント終了";
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    text-align: center;
}
.content_box.disabled .content_title span,
.content_box.disabled .content_title span:before,
.content_box.disabled .content_text,
.content_box.disabled .content_img{
    opacity: 1;
    transform: unset;
    animation: unset;
}
.content_box.disabled .content_title span:before{
    width: 100%;
}
.content_box.disabled .content_ico{
    z-index: 4;
}

@media screen and (min-width: 821px) {
    .sp{
        display: none !important;
    }
}

@media screen and (max-width: 820px) {
    .pc{
        display: none !important;
    }

    main{
        padding: 32px 24px;
    }
    body{
        display: block;
    }
    aside,
    main{
        width: 100%;
    }
    
    .aside_wrapper{
        position: unset;
        padding-bottom: 20px;
    }
    .copy{
        padding: 24px;
        max-width: unset;
        margin: 0;
        background: url(../img/bg1.jpg)repeat top left;
        background-size: 33px;
    }
    
    .content_box{
        padding: 40px 16px 24px;
    }
    .content_box:not(:last-of-type){
        margin-bottom: 40px;
    }
    .content_ico{
        top: -16px;
        left: 8px;
        width: 48px;
    }
    .content_title{
        margin-bottom: 16px;
        margin-left: -8px;
        margin-right: -8px;
        width: calc(100% + 16px);
    }
    .content_text{
        margin-bottom: 18px;
        word-break: break-all;
        font-size: 14px;
        text-align: left;
    }
    .content_btn{
        margin-top: 24px;
    }
    .content_btn a{
        font-size: 16px;
        width: 240px;
        line-height: 48px;
    }
    .content_btn a:before{
        left: 32px;
    }
    #special .content_img{
        margin: 0 auto 16px;
        width: 108px;
    }
    .character_list{
        gap: 8px;
    }
    .character_list li{
        padding: 0;
        width: calc((100% - 16px) / 3);
    }

    /* イベント終了時 */
    .content_box.disabled::after{
        font-size: 30px;
    }
}





#modalBg{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 998;
    background: #09D174;
    opacity: 0.9;
    display: none;
}
#modal{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    box-sizing: border-box;
    z-index: 999;
    display: none;
}
#modalWrapper{
    width: calc(100% - 128px);
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0 64px;
}
#modalInner{
    aspect-ratio: 1/1;
    max-width: 100%;
    width: 480px;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#modalImg{
    background: #fff;
    border-radius: 16px;
}
.modal-nav {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 50%;
    cursor: pointer;
    transform: translateY(-50%);
    background: url(../img/arrow_modal.svg);
}
#prev {
    left: -64px;
}
#next {
    right: -64px;
    transform: translateY(-50%) rotate(180deg);
}
#modalClose{
    position: absolute;
    top: -34px;
    right: -34px;
    cursor: pointer;
}
@media screen and (max-width: 624px) {
    #prev {
        left: -48px;
    }
    #next {
        right: -48px;
    }
}
@media screen and (min-width: 1251px) {
    #modal{
        width: 50%;
        left: 50%;
    }
}