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

/* 治療院について */
.about_wrapper {
    width: 1200px;
    max-width: 100%;
    margin: 60px auto 0;
    display: flex;
    align-items: center;
    background-color: #fff;
    position: relative;
}

.entrance {
    width: 45%;
    position: relative;
}


.entrance::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 1) 100%);
}

.speech_wrapper {
    width: 55%;
    text-align: center;
    padding: 0 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.speech {
    margin-bottom: 29px;
    line-height: 2.5;
}

.director_wrapper {
    display: flex;
}

.director_wrapper img {
    width: 180px;
}

.director_name {
    align-self: center;
    margin-left: 50px;
}

.deco {
    color: #dedede;
    font-size: clamp(10px, 1.1vw, 16px);
    position: absolute;
    transform: translateX(50%) rotate(90deg);
    top: 50%;
    right: 30px;
}

/* 国家資格 */
.governmental {
    margin-top: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 150px;
}

.governmental_left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.governmental ul {
    margin-top: 20px;
}

.governmental li {
    font-size: clamp(16px, 1.4vw, 20px);
    line-height: 1.6;
    margin: 25px 0;
}

.certificate {
    max-width: 60%;
}

/* できること */
.efficacy {
    background-color: #836E64;
    padding: 6vw;
    margin-top: 60px;
}

.efficacy_wide {
    display: flex;
    flex-direction: column;
}

.efficacy_container {
    width: 900px;
    background-color: #fff;
    display: flex;
    align-items: center;
    border-radius: 20px;
    margin-top: 35px;
}

.efficacy_left {
    align-self: flex-start;
}

.efficacy_right {
    align-self: flex-end;
}


.efficacy_img {
    width: 400px;
    position: relative;
}

.efficacy_img img {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.efficacy_img::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 80%, rgba(255, 255, 255, 1) 100%);
}

.efficacy_wrapper {
    margin-left: 46px;
    z-index: 1;
}

.efficacy_wrapper h3 {
    display: inline-block;
    font-size: 20px;
    font-weight: bold;
    /* border-bottom: solid 8px #FAE6B2; */
    position: relative;
    margin-bottom: 20px;
}

.efficacy_wrapper h3::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(243, 175, 0, 0.2);
}

.efficacy_wrapper p {
    font-size: 14px;
    line-height: 1.8;
}

/* お知らせ */



/* 運動設備 */
.gym {
    background-color: #fff;
    padding: 150px 0;
}

.explanatory {
    font-size: clamp(15px, 1.2vw, 18px);
    margin-top: 60px;
}

.gym_wrapper {
    display: flex;
    justify-content: space-between;

    margin-top: 45px;
}

.gym_wrapper img {
    max-width: 40%;
    align-self: flex-start;
}

.details {
    margin-right: 20px;
}

/* .details ul {
    margin-top: 60px;
} */

.details li {
    line-height: 1.8;
    margin-bottom: 30px;
}

.accordion {
    width: 100%;
    border: solid 2px #5D7505;
    border-radius: 10px;
    padding: 0 20px;
    /* margin-top: 90px; */
    position: relative;
}

.accordion_title {
    line-height: 60px;
}

.accordion_title::after {
    background-color: #636363;
}

.equipment {
    display: flex;
    align-items: center;
    justify-content: space-around;
    border-top: 1px dotted #5D7505;
    padding: 30px 20px;
}

.equipment img {
    width: 80px;
}

.accordion_title {
    cursor: pointer;
    position: relative;
}

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

}

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

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

.equipment_wrapper {
    overflow: hidden;
    max-height: 0;
    transition-timing-function: ease-in-out;
    transition-duration: .5s;
    transition-property: max-height overflow;
}

.active .equipment_wrapper {
    overflow: visible;
    max-height: var(--max-height);
}















/* 以下レスポンシブ */

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

    .efficacy_left,
    .efficacy_right {
        align-self: center;
    }

    .efficacy_wrapper {
        margin-left: 0px;

    }

}

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

    .entrance {
        position: absolute;
        width: auto;
        top: 0;
        left: 0;
        object-fit: cover;
        opacity: 0.4;
    }

    .entrance img {
        width: 100%;
        height: 710px;
    }

    .entrance::after {
        background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, 1) 100%);
    }


    .speech_wrapper {
        width: 488px;
        height: 670px;
        margin: 20px auto;
        justify-content: space-around;
    }


    .deco {
        right: 15px;
    }


    .governmental {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .governmental_left {
        align-items: center;
        margin-bottom: 20px;
    }

    .certificate {
        max-width: 80%;
    }
}

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

    .title_left {
        margin-left: -20px;
        margin-top: 20px;
    }


    .efficacy {
        padding-bottom: 50px;
    }

    .efficacy_container {
        flex-direction: column-reverse;
    }

    .efficacy_container {
        width: 75vw;
    }

    .efficacy_wrapper {
        width: 75vw;
        padding: 40px;
        margin-bottom: -80px;
    }

    .efficacy_img {
        width: 75vw;
    }

    .efficacy_img img {
        border-top-left-radius: 0;
        border-bottom-right-radius: 20px;
    }

    .efficacy_img::after {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 1) 100%);
    }

}

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

    .explanatory {
        margin-top: 30px;
    }

    .gym {
        padding: 50px 0 10px;
    }

    .gym_wrapper {
        flex-direction: column-reverse;
        margin-top: 30px;
    }

    .details {
        margin-top: 30px;
    }

    .gym_wrapper img {
        max-width: 100%;

    }

    .gym .middle {
        max-width: 320px;
    }

    .details li {
        margin-left: 10px;
    }


}


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

    .speech_2 {
        display: none;
    }

    .speech {
        line-height: 1.8;
    }

    .director_wrapper {
        display: block;
    }

    .director_name {
        margin-left: 0;
        margin: 10px;
    }

    .entrance img {
        height: 570px;
    }


    .speech_wrapper {
        height: 530px;
    }

    .certificate {
        max-width: 100%;
    }

}



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