
.faq-title{
    margin: 30px 0 0 0;
}
.memo {
    position: relative;
    padding: 0px;
}
.memo h2{
    margin:30px 30px 10px 30px;
}


.explanatory {
    position: relative;

    max-height: 300px; 

    overflow: hidden;
    transition: max-height 1s ease-out;
    padding: 10px;
}
.memo:has(:checked) .explanatory {
    max-height: 300vh;
}

.explanatory li::after {
    display: block;
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 100%;
    height: 100px;
    content: '';

    background: linear-gradient(#00000000,#ffffff6c);
}
.memo:has(:checked) .explanatory li::after {
    background: #00000000;

}





.add-text{
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 25px;
}
.pein .tap-content {
    height: 150px;
}
.memo:has(:checked) .add-text::after{
    content: 'ー';
}
.memo label:hover {
    cursor: pointer;
}
.memo label:hover.add-text{
    color: #636363;
}

@media only screen and (min-width: 600px){
    .pein .explanatory{
        max-height: 600px;
    }
    .pein .tap-content,.pein .add-text{
        display: none;
    }

    .explanatory{
        max-height: 400px; 
    }
}


@media only screen and (min-width: 1024px) {
    .explanatory-text h3{
        font-size: 1.2em;
    }
    .question-list>li{
        margin: 50px 0px;
    }
    .question-list h2{
        margin-top: 50px;
        margin-bottom: 0px;
    }
    .explanatory {
        max-height: 450px; 
        padding: 30px;

    }
    
    .question-list>li{
        margin: 100px 8%;
    }


}