
/* MV
---------------------------------*/

#mv {
    background-color: #fcf9f4;
    padding: 40px 0 50px;
}

#mv .mv_window {
    width: 1680px;
    height: 720px;
    max-width: calc(100% - 100px);
    max-height: 45vw;
    margin: 0 auto 30px;
    background-image: url(../img/top/mv.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 50px;
    position: relative;
    padding: 0 clamp(30px,5vw,80px);
    display: flex;
    align-items: center;
}

#mv .mv_window:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: radial-gradient(at left center, rgba(252,249,244,.8) 0%, rgba(252,249,244,.0) 55%);
    pointer-events: none;
}

#mv .mv_text {
    position: relative;
    z-index: +1;
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1.6;
    font-size: clamp(2rem,3vw,5rem);
}

#mv .mv_text .middle {
    display: block;
    font-size: .72em;
}

#mv .mv_text .small {
    display: block;
    font-size: .6em;
}

#mv .mv_text .main {
    display: block;
    font-size: .8em;
    margin-top: 1.3em;
}

#mv .mv_news {
    display: flex;
    align-items: center;
    column-gap: 4rem;
    margin-bottom: 20px;
}

#mv .mv_news .hl {
    font-size: 4rem;
    color: #3b7e72;
}

#mv .mv_news .item {
    display: flex;
}

#mv .mv_news .item .date {
    display: block;
    min-width: 6.6em;
}

#mv .mv_news .item a.title {
    text-decoration: underline;
}

#mv .mv_news .item a.title:hover {
    color: #3b7e72;
}

@media (max-width:767px) {
    #mv .mv_window {
        max-width: calc(100% - 40px);
        max-height: 110vw;
        padding: 0 15px 10vw;
        align-items: end;
        background-position: 60% center;
        border-radius: 30px;
    }

    #mv .mv_window:before {
        content: initial;
    }

    #mv .mv_text {
        font-size: 2.4rem;
        color: #fff;
    }

    #mv .mv_text .maincolor {
        color: #ddf8de;
    }

    #mv .mv_news {
        flex-direction: column;
        row-gap: 2rem;
        margin-bottom: 3rem;
    }

    #mv .mv_news .item {
        flex-wrap: wrap;
    }
}


/* メディカルグロースの特徴
---------------------------------*/

#top-features {
    padding: 10rem 0 0;
}

#top-features .features_col {
    padding: 6rem 0 7rem;
    position: relative;
}

#top-features .features_col:before {
    content: "";
    position: absolute;
    top: 0;
    right: calc(50% - 50vw);
    bottom: 0;
    left: calc(50% - 50vw);
    background-color: #fcf9f4;
    z-index: -1;
}

#top-features .features_col .wp-block-column {
    background-color: #fff;
    padding: 3.3rem 2rem 4rem;
    display: flex;
    flex-direction: column;
}

#top-features .features_col .num {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 5rem;
    font-weight: 700;
    color: #3b7e72;
    margin-bottom: 1rem;
}

#top-features .features_col .num:before,
#top-features .features_col .num:after {
    content: "";
    height: 1px;
    background-color: #ccc;
    width: calc(50% - 1.2em);
}

#top-features .features_col .lead {
    font-size: 2.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    min-height: calc(3em + 2rem);
    padding-bottom: 2rem;
    border-bottom: 1px solid #ccc;
    margin-bottom: 3rem;
}

#top-features .features_col .text {
    margin: 0 0 2em;
}

#top-features .is-style-button01 a {
    width: 90%;
}

#top-features .wp-block-buttons {
    margin-top: auto;
}

@media (max-width:767px) {
    #top-features .features_col .text {
        font-size: 1.8rem;
    }
}


/* 会社案内
---------------------------------*/

#top-company,
#top-about,
#top-achievement {
    padding-top: 120px;
    display: flex;
    column-gap: 8rem;
    align-items: start;
}

#top-company .wp-block-heading,
#top-about .wp-block-heading,
#top-achievement .wp-block-heading {
    font-size: 6rem;
    font-weight: 700;
    margin-bottom: 4rem;
    position: relative;
}

#top-company .wp-block-heading:before,
#top-about .wp-block-heading:before,
#top-achievement .wp-block-heading:before {
    content: "";
    width: 4em;
    height: 4em;
    background-color: #ddf8de;
    border-radius: 50%;
    position: absolute;
    left: -2em;
    top: -.6em;
    z-index: -1;
}

#top-company .wp-block-heading .en,
#top-about .wp-block-heading .en,
#top-achievement .wp-block-heading .en {
    font-size: 3.6rem;
    display: block;
    margin-top: -.5em;
    opacity: .6;
    color: #3b7e72;
}

#top-company .image,
#top-about .image,
#top-achievement .image {
    width: 50%;
    min-width: 50%;
    border-radius: 30px;
}

#top-company .tmp_btn_1,
#top-about .tmp_btn_1,
#top-achievement .tmp_btn_1 {
    margin-right: 0;
}

@media (max-width:767px) {
    #top-company, #top-about, #top-achievement {
        flex-direction: column !important;
        row-gap: 3rem;
    }

    #top-company .wp-block-heading,
    #top-about .wp-block-heading,
    #top-achievement .wp-block-heading {
        font-size: 4rem;
    }

    #top-company .wp-block-heading .en,
    #top-about .wp-block-heading .en,
    #top-achievement .wp-block-heading .en {
        font-size: 2rem;
    }

    #top-company .image, #top-about .image, #top-achievement .image {
        width: 100%;
    }

    #top-company .tmp_btn_1, #top-about .tmp_btn_1, #top-achievement .tmp_btn_1 {
        margin: 0 auto;
    }
}


/* M＆Aについて
---------------------------------*/

#top-about {
    flex-direction: row-reverse;
}

#top-about .wp-block-heading {
    text-align: right
}

#top-about .wp-block-heading:before {
    right: -2em;
    left: initial;
}


/* 実績紹介
---------------------------------*/

#top-achievement {
    padding-bottom: 260px;
}

.achievement_list {
    display: flex;
    flex-direction: column;
    row-gap: 2.8rem;
    font-size: 1.8rem;
    letter-spacing: normal;
    margin-bottom: 4rem;
}

.achievement_list .item {
    padding: 0 0 1.5rem 2rem;
    border-bottom: 2px solid #ccc;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    column-gap: 1em;
}

.achievement_list .item:after {
    content: "";
    bottom: -2px;
    left: 0;
    width: 25%;
    height: 2px;
    position: absolute;
    background-color: #3b7e72;
}

.achievement_list .item:before {
    content: "";
    position: absolute;
    top: .5em;
    left: 0;
    width: .5em;
    height: .5em;
    border-radius: 50%;
    background-color: #3b7e72;
}

@media (max-width:767px) {
    #top-achievement {
        padding-bottom: 80px;
    }
}


/* 3点バナー
---------------------------------*/

#top-banner {
    padding: 60px 0 120px;
    background-color: #fcf9f4;
    position: relative;
}

#top-banner:before {
    content: "";
    position: absolute;
    right: 0;
    bottom: calc(100% - 1px);
    left: 0;
    height: 7vw;
    background-image: url(../img/top/banner_top.svg);
    background-repeat: no-repeat;
    background-size: 100% 120%;
    background-position: center top;
}

#top-banner .flex {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

#top-banner .item {
    width: calc(33.33333% - 2rem);
    padding: 2rem 2rem 2.6rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 7px 7px 0 #a6cca7;
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #3b7e72;
}

#top-banner .item:hover {
    box-shadow: 3px 3px 0 #a6cca7;
}

#top-banner .item img {
    border-radius: 5px;
    margin-bottom: 2rem;
}

@media (max-width:767px) {
    #top-banner .item {
        width: 100%;
    }
}