
/* ─────────↓faq.html(よくある質問)───────── */
#faq{
    margin: 0px auto 40px;
    padding: 20px 0;
    color: var(--main02);
    width: 100%;
    border-radius: 20px;
}

#faq h2{
    color: var(--main02);
}

.h2-caption{
    text-align: center;
}

.faq-caption{
    margin: 20px;
    text-align: center;
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    line-height: 1.5em;
}
.faq-check {
    display: none;
}

.faq-label {
    width: 80%;
    margin: -1px auto 0;
    padding: 10px 27px 10px 0px;
    display: block;
    font-weight: bold;
    letter-spacing: 2px;
    border-top: 1px solid #e6e3e1;
    position: relative;
    line-height: 1.5em;
}

.faq-label:first-of-type{
    border-top: none;
}

.faq-label::before{
    content: 'Q';
    color: var(--main01);
    font-size:17px;
}

.faq-content {
    color: #000;
    font-weight: bold;
    margin: 0 auto ;
    padding: 0 1em 0 0;
    width: 75%;
    height: 0;
    opacity: 0;
    transition: .1s;
    visibility: hidden;
    position: relative;
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    font-size: .9em;
    line-height: 1.5em;

}

.faq-content::before{
    position:absolute;
    left: 1em;
    top: .8em;
    content: 'A';
    color: #eb3d46;
    font-size:17px;
    font-weight:  bold;
}

.faq-check:checked+.faq-label+.faq-content {
    margin: .5em auto ;
    padding: 1em 0 1em 3em;
    height: 100%;
    opacity: 1;
    visibility: visible;
    background-color: #e6e3e1;
    border-radius: 10px;
}

.faq-label:after {
    font-size: 20px;
    box-sizing: border-box;
    content: '\f067';
    display: block;
    font-family: "Font Awesome 5 Free";
    height: 100%;
    padding: 10px;
    position: absolute;
    right: 0;
    top: -2px;
}


.faq-check:checked+.faq-label:after {
    content: '\f068';
}
    

@media screen and (max-width:767px) {

    .faq-label {
        width: 90%;
    }

    .faq-content{
        width: 80%;
    }
    
}