@charset "utf-8";
/* MV（ページごとに変更）
========================== */
.c-submv::after{
    background-image: url(../img/faq/mv.jpg);
}

.sec .inner {
    padding: 10rem 0;
}

.faq_list {
    width: 95%;
    max-width: 1000px;
    margin: 0 auto;
}
.faq_list li:not(:last-child) {
    margin-bottom: 100px;
}

h2 {
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 50px;
}

.faq-item:first-of-type {
    border-top: 1px solid #5d696d;
}
.faq-item {
    border-bottom: 1px solid #5d696d;;
    padding: 40px 0;
}

.faq-question__wrap {
    font-size: 20px;
    font-weight: 500;
    text-align: justify;
    position: relative;
    padding-right: 40px;
}
.faq-question__wrap:hover {
    opacity: .8;
    cursor: pointer;
}
.faq-arrow::after {
    content: "";
    display: inline-block;
    width: 22px;
    height: 17px;
    background: url(../img/faq/arrow-close.png) no-repeat center / contain;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.faq-arrow.active::after {
    background: url(../img/faq/arrow-open.png) no-repeat center / contain;
}
.faq-answer__wrap {
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all .2s ease-in-out;
}

.faq-answer__wrap.active {
    height: 100%;
    opacity: 1;
    padding-top: 20px;
}
.faq-answer__wrap span {
    font-size: 16px;
}


@media only screen and (max-width: 1024px) {
    .sec .inner{
        padding: 8rem 0;
    }

    .faq_list li:not(:last-child) {
        margin-bottom: 60px;
    }

    h2 {
        font-size: 22px;
        font-weight: bold;
        margin-bottom: 30px;
    }

    .faq-item:first-of-type {
        border-top: 1px solid #5d696d;
    }
    .faq-item {
        padding: 25px 0;
    }

    .faq-question__wrap {
        font-size: 18px;
    }
    .faq-arrow::after {
        width: 20px;
    }

    .faq-answer__wrap.active {
        padding-top: 15px;
    }
    .faq-answer__wrap span {
        font-size: 14px;
    }

    .faq-switch img {
        min-height: 120px;
        object-fit: cover;
    }


}