@charset "UTF-8";

/* ========================================================================
    よくある質問
======================================================================== */

.main_image .text {
    width: auto !important;
    white-space: nowrap;
}

.lead_sec {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 20px;
}

.lead_sec .sec_title {
    margin-bottom: 40px;
    text-align: center;
}

.lead_sec .sec_text {
    text-align: center;
}

.faq_sec {
    padding-top: 0;
}

.faq_list {
    max-width: 1000px;
    margin: 0 auto;
}

.faq_item {
    border-top: 1px solid #d9d9d9;
    overflow: hidden;
}

.faq_item:last-child {
    border-bottom: 1px solid #d9d9d9;
}

.faq_question {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px 60px 28px 0;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.8;
    cursor: pointer;
    list-style: none;
}

.faq_question::-webkit-details-marker {
    display: none;
}

.faq_question::before,
.faq_question::after {
    content: "";
    position: absolute;
    top: 42px;
    right: 10px;
    width: 20px;
    height: 1px;
    background: #333;
}

.faq_question::after {
    transform: rotate(90deg);
    transition: transform .35s ease;
}

.faq_item[open] .faq_question::after {
    transform: rotate(0);
}

.faq_question .mark,
.faq_answer .mark {
    display: flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-family: "Noto Serif JP", serif;
    font-size: 20px;
    line-height: 1;
}

.faq_question .mark {
    background: #6fae91;
    color: #fff;
}

.faq_answer {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 0 60px 30px 0;
}

.faq_answer .mark {
    background: #f1f5f2;
    color: #6fae91;
}

.faq_question .text,
.faq_answer .text {
    flex: 1;
    margin: 4px 0 0;
}

@media screen and (max-width: 767px) {

    .lead_sec {
        padding: 50px 20px;
    }

    .lead_sec .sec_title {
        margin-bottom: 25px;
    }

    .lead_sec .sec_text {
        text-align: left;
    }

    .faq_question {
        gap: 12px;
        padding: 20px 38px 20px 0;
        font-size: 15px;
    }

    .faq_question::before,
    .faq_question::after {
        top: 35px;
        right: 5px;
        width: 16px;
    }

    .faq_question .mark,
    .faq_answer .mark {
        flex-basis: 32px;
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .faq_answer {
        gap: 12px;
        padding: 0 0 24px;
    }

    .faq_answer .text {
        font-size: 14px;
        line-height: 1.9;
    }
}
