@charset "utf-8";

/*modal*/
.modal {
    display: none;
    height: 100vh;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999999;
}

.close-btn {
    text-align: right;
    text-decoration: none;
    font-size: 2.8rem;
    color: rgb(255, 255, 255);
}

.modal-bg {
    background: rgba(38, 38, 38, 0.5);
    height: 100vh;
    position: absolute;
    width: 100%;
}

.modal-box {
    /* background: #fff; */
    border-radius: 10px;
    left: 50%;
    /* padding: 16px; */
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    text-align: center;
}

.modal-box img {
    /* padding: 30px; */
    width: 100%;
    animation-name: animation-sample;
    animation-duration: 2s;
}

#mmdd {
    display: none;
}

.photo {
    height: 800px;
    background-image: url(../img/fv_img.jpg);
    background-size: 100% auto;
}

@keyframes animation-sample {
    0% {
        opacity: 0.2;
    }

    100% {
        opacity: 1;
        /* transform: scale(1.1); */
    }
}


@keyframes flowing-anim {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

.buddy {
    max-width: 580px;
    margin: 120px auto;
    text-align: center;
}

.buddy__right {
    margin-left: 90px;
}

.buddy__left img {
    width: 80%;
}

.buddy__right {
    display: grid;
    place-items: center;
}

.buddy__title {
    line-height: 9vh;
}


.diet {
    text-align: center;
    padding-bottom: 50px;
}

.diet img {
    width: 500px;
}


.point__title {
    text-align: center;
    margin-bottom: 60px;
}


.point__box {
    text-align: center;
    justify-content: left;
}

.point__text img {
    width: 40%;
}

.point__text img:nth-child(2) {
    display: none;
}



.special {
    text-align: center;
    margin: 50px auto 0;
    width: 80%;
}

.special h2 {
    font-size: 30px;
    font-weight: 500;
    color: #4e433b;
}

.special__box {
    text-align: center;
    margin: 0 auto;
}

.special__box_sp {
    display: none;
}

.special__box img {
    padding-top: 50px;
    width: 60%;
}

.special__box img:nth-child(2) {
    width: 40%;
}

.beforeafter {
    text-align: center;
}

.beforeafter img:nth-child(2) {
    margin-top: -200px;
    width: 50%;
}

.beforeafter img:nth-child(3) {
    display: none;
}

.campaign {
    text-align: center;
}

.campaign img {
    width: 100%;
}

.campaign img:nth-child(2),
img:nth-child(3) {
    display: none;
}

.dumb {
    text-align: center;
}

.dumb img {
    width: 50%;
}

.plan_button img {
    padding-top: 50px;
    width: 30%;
}

.plan_button:hover {
    opacity: 0.6;
}

.voice {
    text-align: center;
}

.voice img:nth-child(2) {
    width: 60%;
}

.voice img:nth-child(3) {
    display: none;
}

.faq-wrap {
    max-width: 800px;
    margin: 0 auto;
    color: #4e433b;
}

.faq-item {
    border-top: 1px solid #988272;
    padding: 20px;
}

.faq-item:last-child {
    border-bottom: 1px solid #988272;
}


.faq-q {
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
}

.faq-q .q {
    color: #e2676a;
    font-weight: 500;
    font-size: 24px;
}

.faq-q .text {
    flex: 1;
    font-size: 16px;
}

.faq-q .icon {
    font-size: 30px;
    color: #4e433b;
    transition: transform 0.8s;
}

.faq-a {
    display: flex;
    gap: 20px;
    /* margin-top: 15px;
    padding-top: 15px; */
    border-top: 1px dashed #998475;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.8s ease, opacity 0.8s ease;
}

.faq-a .a {
    color: #4e433b;
    font-weight: 500;
    font-size: 24px;
}

.faq-a p {
    margin: 0;
    line-height: 2;
    font-size: 16px;
}

/* 開いている状態 */
.faq-item.active .faq-a {
    /* display: flex; */
    margin-top: 15px;
    padding-top: 15px;
}

.faq-item.active .icon {
    transform: rotate(180deg);
}

.faq-item.active .faq-a {
    max-height: 300px;
    /* Aの文章量に合わせて調整 */
    opacity: 1;
    display: flex;
}

.trainer {
    margin: 0 auto;
    width: 70%;
}

.trainer-text {
    text-align: center;
    font-size: 16px;
}

.trainer-text p:first-child {
    font-size: 28px;
    font-weight: 500;
    color: #e2676a;
    padding-bottom: 20px;
}

.trainer-photo {
    font-size: 16px;
    display: flex;
    margin-top: 80px;
    padding-top: 80px;
    border-top: 1px solid #4e433b;
    text-align: center;
    justify-content: center;
}

.trainer-photo img {
    width: 30%;
}

.trainer-name {
    font-size: 16px;
    padding-left: 50px;
    text-align: left;
}

.trainer-name p {
    font-size: 24px;
    margin-bottom: 20px;
}

.trainer-name p:nth-child(4) {
    font-size: 18px;
    font-weight: 500;
}

.trainer-name span {
    font-size: 14px;
}

.pink-label {
    background-color: #e2676a;
    color: #fff;
    padding: 5px;
    margin-bottom: 10px;
    width: 30%;
    text-align: center;
    font-size: 18px;
}

.trainer-since {
    /* margin-top: 50px; */
    place-items: center;
}

.beige-label,
.beige-label-flex {
    margin-top: 50px;
    background-color: #faf0e6;
    color: #e2676a;
    padding: 5px;
    margin-bottom: 20px;
    width: 80%;
    text-align: center;
    font-weight: 500;
}

.beige-label-flex {
    width: 100%;
}

.career {
    display: grid;
    grid-template-columns: 120px 1fr;
    row-gap: 25px;
    margin-top: 50px;
}

.career p {
    padding-left: 20px;
}

.year {
    font-weight: bold;
    border-right: 1px solid #4e433b;
    font-weight: 500;
}

.trainer-flex {
    display: flex;
    justify-content: center;
    width: 80%;
    /* text-align: center;
    margin: 0 auto; */
}

.trainer-flex div {
    width: 50%;
    margin: 20px;
}

.trainer-flex p:nth-child(2) {
    margin: 0 auto;
    padding: 0 10px;
    text-align: center;
}

.trainer-since p:nth-child(9) {
    /* width: 70%; */
    line-height: 2;
}

.sp_br {
    display: none;
}

@media screen and (max-width:1080px) {
    .photo {
        margin-top: 50px;
        height: 600px;
    }

    .point__text img {
        width: 60%;
    }

    .special__box img {
        width: 80%;
    }

    .special__box img:nth-child(2) {
        width: 60%;
    }

    .beforeafter img:nth-child(2) {
        margin-top: -180px;
        width: 70%;
    }

    .campaign img:nth-child(2) {
        display: block;
    }

    .campaign img:first-child,
    img:nth-child(3) {
        display: none;
    }

    .dumb img {
        width: 70%;
    }

    .plan_button img {
        width: 50%;
    }

    .voice img {
        width: 90%;
    }

    .faq-wrap {
        max-width: 80%;
    }

    .trainer {
        width: 90%;
    }

    .beige-label,
    .beige-label-flex {
        width: 100%;
    }

    .trainer-flex {
        width: 100%;
    }
}


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



    .diet img {
        width: 450px;
    }

    .diet {
        padding-bottom: 10px;
    }


    .modal-box img {
        width: 100%;
    }

}

@media screen and (max-width:720px) {
    body {
        font-size: 16px;
    }

    .buddy__left img {
        max-height: 200px;
    }

    .buddy {
        max-width: 400px;
    }

    .diet img {
        width: 380px;
    }

    .modal-box {
        width: 70%;
    }


}

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

    .photo {
        height: 800px;
        background-size: cover;
        background-position: center;
        margin-top: 20px;
        background-image: url(../img/fv_img_sp.jpg);
    }

    .modal-box {
        width: 100%;
    }

    .modal-box img {
        width: 100%;
    }

    .point__text img:nth-child(1) {
        display: none;
    }

    .point__text img:nth-child(2) {
        display: block;
        width: 90%;
        margin: 0 auto;
    }

    .special h2 {
        font-size: 24px;
    }

    .special {
        width: 90%;
        margin: 20px auto 0;
    }

    .special__box img {
        padding-top: 30px;
        width: 100%;
    }

    .special__box {
        display: none;
    }

    .special__box_sp {
        display: block;
        margin: 20px 0 50px;
    }

    .special__box_sp img {
        margin-top: 20px;
        width: 90%;
    }

    .special__box_sp img:nth-child(2) {
        width: 100%;
    }

    .beforeafter img:nth-child(2) {
        margin-top: -100px;
        width: 70%;
        display: none;
    }

    .beforeafter img:nth-child(3) {
        display: block;
        margin-top: -100px;
        width: 100%;
    }

    .campaign img:nth-child(3) {
        display: block;
        width: 100%;
    }

    .campaign img:nth-child(2) {
        display: none;
    }

    .dumb img {
        width: 90%;
    }

    .voice img:nth-child(2) {
        display: none;
    }

    .voice img:nth-child(3) {
        display: block;
        width: 90%;
        margin: 0 auto;
    }

    .faq-wrap {
        max-width: 90%;
    }

    .faq-item {
        padding: 10px;
    }

    .trainer-text p:first-child {
        font-size: 20px;
    }

    .trainer-text p:nth-child(2) {
        text-align: left;
    }

    /* .trainer-text p:nth-child(2) br {
        display: none;
    } */

    .trainer-photo {
        margin-top: 50px;
        padding-top: 50px;
        flex-direction: column;
    }

    .trainer-photo img {
        width: 90%;
        margin: 0 auto;
    }

    .trainer-name {
        font-size: 16px;
        padding-left: 0px;
        width: 100%;
        margin: 0 auto;
        text-align: center;
    }

    .pink-label {
        width: 100%;
        margin: 30px auto 0;
    }

    .beige-label,
    .beige-label-flex {
        width: 100%;
        margin: 50px auto 20px;
    }

    .career {
        grid-template-columns: 100px 1fr;
        margin: 30px auto 0;
        width: 90%;
    }

    .career p {
        padding-left: 10px;
    }

    /* .year {
        padding-right: 10px;
    } */

    .trainer-flex div {
        margin: 0px;
        width: 100%;
    }

    .trainer-flex {
        flex-direction: column;
    }


    .trainer-photo ul {
        text-align: left;
    }

    .trainer-name p {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .trainer-flex p:nth-child(2) {
        width: 90%;
        text-align: left;
    }

    .beige-label-text {
        margin: 0 auto;
        text-align: center;
        font-size: 15px;
    }

    .beige-label-text:nth-child(9) {
        width: 90%;
        text-align: left;
    }

    .sp_br {
        display: block;
    }

    /* .trainer-since p:nth-child(9) br {
        display: none;
    } */

    .buddy {
        max-width: 300px;
        margin: 50px auto;
    }

    .buddy__left img {
        max-width: 320px;
        height: auto;
    }

    .point__text img {
        width: 90%;
    }

    .point {
        margin: 50px 0 0;
    }



}