/* CSS Document */

#main_container .comm_cont90{
    width: 100%;
    max-width: none;
    padding: 1%;
    box-sizing: border-box;
}

#main_container .comm_cont90 .box{
    width: 60%;
    padding: 1%;
    box-sizing: border-box;
    position: relative;
}

#main_container .comm_cont90 .box:nth-of-type(2){
    width: 40%;
}

#main_container .comm_cont90 .box.half{
    width: 50%;
}

#main_container .comm_cont90 .box img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}

#main_container .comm_cont90 .box dl{
    position: absolute;
    inset: 0;
    margin:auto;
    height: fit-content;
    color: #fff;
    font-family: var(--En-san);
    letter-spacing: 0.2rem;
    top: 10%;
}

#main_container .comm_cont90 .box dl dt h2{
    font-size: clamp(2.4rem, 1.654rem + 3.53vw, 5.5rem);
    font-weight: 400;
    line-height: 1.5;
}

#main_container .comm_cont90 .box dl dd{
    margin-top: 20px;
    font-size: 90%;
}

#main_container .comm_cont90 .box dl dd a{
    color: #fff;
    border-bottom: 1px solid #fff;
    padding-bottom: 0.8em;
}


#main_container #insta{
    margin: 0 1% 50px;
}

#main_container #insta .block{
    /*border-bottom: 1px dotted var(--base-color);*/
}

#main_container #insta .block ol{
    align-items: center;
}

#main_container #insta .block ol li{
    width: 13.8%;
    margin-bottom: 0.5%;
    letter-spacing: 0.06em;
}

#main_container #insta .block ol li h2{
    font-size: clamp(1.6rem, -0.257rem + 2.81vw, 3rem);
    font-weight: 300;
    line-height: 1.5;
    font-family: var(--En-san);
    margin-bottom: 20px;
}

#main_container #insta .block ol li h2 span{
    display: block;
}

#main_container #insta .block ol li p{
    font-size: 65%;
    margin-top: 0.7em;
}

#main_container #insta .block ol li p::after{
    content: "";
    display: block;
    width: 60px;
    height: 1px;
    border-bottom: 1px solid;
    padding-bottom: 3px;
    margin: auto;
}


#main_container #insta .block:nth-of-type(2) ol li:nth-of-type(1){
    order: 1;
}







#main_container #insta .btn{
    margin-top: 50px;
    display: none;
    font-size: 90%;
}
#main_container #insta .btn a{
    border-bottom: 1px solid var(--base-color);
    padding-bottom: 15px;
    letter-spacing: 0.2rem;
}


.anim-box {
    opacity: 0;
    transform: translateY(40px) scale(0.6); /* scaleの値を微調整 */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out; /* easing関数と時間を変更 */
    will-change: transform, opacity; 
}

.anim-box.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1.0);
}
 
@keyframes popup {
  0% {
    transform: translateY(40px) scale(0.4);
    opacity: 0;
  }
  100% {
    transform: translateY(0) scale(1.0);
  }
  80%, 100% {
    opacity: 1;
  }
}


@media only screen and (max-width: 789px) {  
    #main_container #insta {
        margin: 80px 1% 70px;
    }
    #main_container #insta .block ol li{
        width: 32%;
        margin-bottom: 2%;
    }
    #main_container #insta .block ol li:nth-of-type(1){
        width: 100%;
        margin-bottom: 20px;
    }
    #main_container #insta .block ol li h2{
        font-size: clamp(2.4rem, 1.654rem + 3.53vw, 5.5rem);
        margin-bottom: 0;
    }

    #main_container #insta .block ol li h2 span{
        display: inline-block;
        margin-left: 10px;
    }
    #main_container #insta .block:nth-of-type(2) ol{
        margin-top: 60px;
    }
    #main_container #insta .block:nth-of-type(2) ol li:nth-of-type(1){
        order: 0;
    }
    #main_container #insta .block ol li p{
        display: none;
    }
    #main_container #insta .btn{
        display: block;
        margin-top: 10px;
    }
}




@media only screen and (max-width: 640px) {  
    #main_container #kv img{
        object-fit: cover;
        width: 100%;
        /*height: 380px;*/
        height: 100svh;
        object-position: 60%;
    }
    #main_container .comm_cont90 .box{
        padding: 1.5%;
    }
    #main_container .comm_cont90 .box,
    #main_container .comm_cont90 .box:nth-of-type(2),
    #main_container .comm_cont90 .box.half{
        width: 100%;
        height: 365px;
    }

}


@media only screen and (max-width: 520px) {  
    #main_container .comm_cont90 .box,
    #main_container .comm_cont90 .box:nth-of-type(2),
    #main_container .comm_cont90 .box.half{
        height: 265px;
    }
}

@media only screen and (max-width: 460px) {  
    #main_container .comm_cont90 .box,
    #main_container .comm_cont90 .box:nth-of-type(2),
    #main_container .comm_cont90 .box.half{
        height: 230px;
    }
}















