/*font-family: "Kaisei Decol", serif;*/
body{
    background-color: #CDF2DB;
    font-family: "Kaisei Decol", serif;
    font-weight: 400;
    font-style: normal;
}
.eyecatch{
    display: flex;
}

.mainimg{
    width: 50vw;
    height: max-content;
}

audio{
    width: 65vw;
    max-width: 350px;
}

/*basic assets*/
.n10vh{
    height: 10vh;
}
.uline{
    text-decoration: underline;
}

    /*fontsize*/
.hybg{
    font-size: 40px;
    font-weight: 500;
}
.bg{
    font-size: 35px;
}
.bgmid{
    font-size: 32px;
    font-weight: 500;
}
.mid{
    font-size: 25px;
}
.midlit{
    font-size: 20px;
}
.lit{
    font-size: 15px;
}

    /*margin*/
.marbot0{
    margin-bottom: 0px;
}
.martop50{
    margin-top: 50px;
}
.martop5{
    margin-top: 5px;
}
.vertical{
    margin: 0 10vw;
}

.secindent{
    margin: 0 25px;
}
.msecindent{
    margin: 0 15px;
}

/*yt*/
iframe{
    width: 80%;
    height: auto;
}


/*ボタン*/
.button003 a {
    background: #41be71;
    border-radius: 50px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 400px;
    padding: 10px 25px;
    color: #313131;
    transition: 0.3s ease-in-out;
    font-weight: 500;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
}
.button003 a:hover {
    background: #313131;
    color: #41be71;
}
.button003 a:after {
    content: '';
    width: 5px;
    height: 5px;
    border-top: 3px solid #313131;
    border-right: 3px solid #313131;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 50%;
    right: 20px;
    border-radius: 1px;
    transition: 0.3s ease-in-out;
}
.button003 a:hover:after {
    border-color: #41be71;
}

/*eula*/
.eula{
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /*明度*/
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    
}

.eulaconts{
    background: white;
    padding: 20px 20px 10px 20px;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transform: scale(0.8); /* 初期サイズを小さめに */
    transition: transform 0.3s ease-in-out;
    
    margin: 3vh auto;
    max-height: 90vh;
}

.close{
    float: right;
    font-size: 24px;
    cursor: pointer;
}

.eula.show{
    opacity: 1;
}

.eula.show .eulaconts{
    transform: scale(1);
}

.scroll-box{
    flex-grow: 1;
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 15px;
    background: #f9f9f9;
    max-height: 65vh;
}
.flex{
    display: flex;
}

.scroll-box h2{
    text-align: left;
}
.scroll-box h3{
    text-align: left;
    padding-left: 7px;
    padding-right: 7px;
}
.scroll-box p{
    text-align: left;
    padding-left: 14px;
    padding-right: 14px;
}


/*同意ボタン*/
.button005 a {
    border-radius: 3px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 10px auto 0px auto;
    max-width: 220px;
    padding: 10px 25px;
    color: #FFF;
    transition: 0.3s ease-in-out;
    font-weight: 600;
    background: #41be71;
    color: #313131;
    cursor: pointer;
}
.button005 a:hover {
    background: #313131;
    color: #41be71;
}

.success{
    display: none;
    color: rgb(0, 94, 0);
    text-align: center;
}


.gallery{
    
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}
.garmar{
    padding: 0 10px 20px 10px;
    height: 50vh;
    width: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}



/* 拡大表示用のモーダル */
#image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}
#modal-img {
    max-width: 80%;
    max-height: 80vh;
    border-radius: 10px;
    transform: scale(0.8); 
    transition: transform 0.3s ease-in-out;
}
/* 閉じるボタン */
#close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
/* 表示時のアニメーション */
#image-modal.show {
    opacity: 1;
    pointer-events: auto;
}
#image-modal.show #modal-img {
    transform: scale(1);
}

#image-modal.show #close-btn {
    opacity: 1;
}
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: white;
    cursor: pointer;
    padding: 10px;
    background: rgba(0, 0, 0, 0);
    border-radius: 50%;
    user-select: none;
}
#prev-btn {
     left: 10px; 
}
#next-btn { 
    right: 10px;
}

.link{
    color: #313131;
}
.link:visited{
    color:#6f7a7e;
}

.foot {
    text-align: center;
    color: #313131;
    font-weight: 300;
}

.info {
    align-items: center;
    width: 100%;
    height: 5vh;
    background-color: #f00691;
    padding: 0 25px;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 500;
    box-sizing: border-box;
    color: #FFF;

    transition: opacity 0.5s ease-in-out, visibility 0s 0.5s;
}

.elinfo {
    margin-right: auto;
}

.closeelinfo {
    align-items: end;
    margin-right: 1vw;
    cursor: pointer;
}


/*レスポンシブ*/
@media screen and (max-width: 1130px) {
    .eyecatch{
        display:unset;
    }
    .mainimg{
        margin: 0 auto;
        display: block;
    }
    .discript{
        width: fit-content;
        margin: 0 10vw;
        display: block;
    }
    .vardent{
        margin: 0 15px;
    }
    .msecindent{
        margin: 0 30px;
    }
    @media screen and (max-width: 650px) {
        .garmar{
            max-width: 85vw;
            height: auto;
        }

        .hybg{
            font-size: 35px;
            font-weight: 500;
        }
        .bg{
            font-size: 30px;
        }
        .bgmid{
            font-size: 25px;
            font-weight: 500;
        }
        .mid{
            font-size: 20px;
        }
        .midlit{
            font-size: 15px;
        }
        @media screen and (max-width:410px) {
            .utl{
                font-size: inherit;
            }
            
        }
    }
}
@media screen and (max-height:675px) {
    .euladjust{
        max-height: 50vh;
    }
    @media screen and (max-height:370px) {
        .euladjust{
            max-height: 20vh;
        }
    }
}