@charset "UTF-8";
/* FAQ */

/* 左から */
.visible.animeleft,
.invisible.animeleft {
    transition: all 1.5s ease-in-out;
    transform: translateX(-100px);
}

.visible.animeleft {
    transform: translateX(0);
}

/* 初診の方へ */

.step {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.step .section_title {
    justify-content: flex-start;
}

.step_wrapper {
    margin-top: 40px;
    margin-bottom: 120px;
}

.upper_row {
    display: flex;
    justify-content: flex-start;
}

.upper_row .step_box {
    margin-right: 70px;
}

.lower_row {
    display: flex;
    justify-content: flex-end;
}

.lower_row .step_box {
    margin-left: 70px;
}

.step_box {
    margin-bottom: 10px;
    padding-left: 20px;
}

.step_box .step_number {
    color: #9BA672;
    font-size: clamp(18px, 2vw, 30px);
    font-weight: 900;
    margin-bottom: 10px;
}

.step_img img {
    width: 100%;
    clip-path: polygon(0% 0%, 85% 0%, 100% 50%, 85% 100%,
            0% 100%);
}

.step_img {
    max-width: 360px;
    position: relative;
}

.step_img::after {
    content: '';
    width: 70px;
    border-bottom: dotted 2px rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 50%;
    right: -70px;
}

.lower_row .step_img::after {
    left: -70px;
}


.step_box h2 {
    font-size: clamp(16px, 1.4vw, 22px);
    font-weight: bold;
    line-height: 1.6;
    padding: 15px 0 10px;
}

.step_box p {
    display: inline-block;
    max-width: 360px;
    padding-right: 30px;
    font-size: clamp(14px, 1.2vw, 18px);
    line-height: 1.8;
}

.lower_row .step_box::after {
    left: -70px;
}



/* よくある質問 */

.qa {
    max-width: 850px;
    margin: 120px auto 0;
    padding: 80px 120px;
    background-color: #fff;
    border: solid 4px #CCC;
    line-height: 1.6;
}

.faq_nav {
    margin: 40px auto 70px;
}

.faq_nav ul {
    display: flex;
    justify-content: space-around;
}

.faq_nav li {
    color: #fff;
    background-color: #B3B711;
    border-radius: 30px;
    padding: 10px 20px;
    font-size: clamp(14px, 1.2vw, 18px);
    line-height: 1.2;
    margin: 0 5px;
}

.qa_title {
    color: #B3B711;
    font-size: clamp(20px, 1.6vw, 24px);
    font-weight: bold;
    margin-top: 50px;
    border-bottom: solid 1px #B3B711;
}

.question {
    position: relative;
    font-weight: bold;
    padding: 10px 0;
    border-bottom: dotted 1px #828282;
    cursor: pointer;
    color: #D18C04;
    background-color: #fff;
    font-size: clamp(15px, 1.3vw, 20px);
}

.question p {
    padding-right: 50px;
    padding-left: 10px;
}

.question span {
    padding-right: 15px;
}

.question::before,
.question::after {
    position: absolute;
    content: '';
    background-color: #828282;
    top: 50%;
    right: 20px;
    width: 18px;
    height: 1px;
    transition-timing-function: ease-in-out;
    transition-duration: .7s;
    transition-property: transform;

}

.question::after {
    transform: rotate(90deg);
}

.active .question::before,
.active .question::after {
    transform: rotate(180deg);
}

.answer {
    overflow: hidden;
    max-height: 0;
    transition-timing-function: ease-in-out;
    transition-duration: .7s;
    transition-property: max-height overflow;
    padding-left: 10px;
    font-size: clamp(14px, 1.2vw, 18px);
}

.active .answer {
    overflow: visible;
    max-height: var(--max-height);
    margin-top: 20px;
    margin-bottom: 50px;
}

.qa .answer a {
    text-decoration: underline;
    color: #B3B711;
    font-weight: bold;
}

/* 以下レスポンシブ */
@media screen and (max-width: 900px) {}

@media screen and (max-width: 750px) {
    .qa {
        padding: 80px 8vw;
    }
}

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

    .step {
        width: 70%;
    }

    .upper_row,
    .lower_row {
        flex-direction: column;
        align-items: center;
    }

    .upper_row .step_box {
        margin-right: 0;
    }

    .lower_row .step_box {
        margin-left: 0;
    }

    .step_img::after {
        content: none;
    }

    .step_box {
        margin-bottom: 50px;
    }

    .faq_nav ul {
        flex-direction: column;
    }

    .faq_nav br {
        display: none;
    }

    .faq_nav li {
        text-align: center;
        margin: 10px auto;
        max-width: 180px;
    }
}

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