.main {
    background-color: #F6F8FB;
    padding-bottom: 12rem;
    /* overflow: hidden; */
}

/* heroセクション */

.misaki-page-hero {
    position: relative;
    width: 100%;
    height: 28.5rem;
    margin-top: min(10rem, 110px);
    overflow: hidden;
    color: #fff;
    font-family: 'Zen Maru Gothic', sans-serif;
}

.misaki-page-hero__visual,
.misaki-page-hero__shade {
    position: absolute;
    inset: 0;
}

.misaki-page-hero__visual {
    overflow: hidden;
}

.misaki-page-hero__visual img {
    position: absolute;
    top: -36.4rem;
    left: 0;
    width: 144rem;
    height: 96.012rem;
    max-width: none;
    object-fit: fill;
    transform: scale(-1, -1);
}

.misaki-page-hero__shade {
    background: rgba(0, 0, 0, 0.29);
}

.misaki-page-hero__title {
    position: absolute;
    top: 10.3rem;
    left: 50%;
    min-width: 10.6rem;
    height: 6.9rem;
    text-align: center;
    font-weight: 700;
    transform: translateX(-50%);
}

.misaki-page-hero__title span {
    position: absolute;
    left: 50%;
    white-space: nowrap;
    transform: translateX(-50%);
}

.misaki-page-hero__title-ja {
    top: 0;
    font-size: 2.8rem;
}

.misaki-page-hero__title-en {
    top: 4.6rem;
    font-size: 1.6rem;
}


/* 診察診療セクション */
.homecare-title__wrapper {
    display: flex;
    align-items: center;
    margin: 12rem auto 4rem;
    width: 124rem;
    gap: 1.5rem;
}

.homecare__icon img {
    width: 9.3rem;
    height: auto;
}

.homecare-title__wrapper h2 {
    color: #575757;
    font-size: 2.8rem;
    font-weight: 700;
    font-family: "Zen Maru Gothic", sans-serif;
    margin-bottom: 0.5rem;

}

.homecare-title__wrapper p {
    color: #B7B7B7;
    font-size: 1.6rem;
    font-weight: 700;
    font-family: "Zen Maru Gothic", sans-serif;
}






.homecare-subtitle__wrapper {
    display: flex;
    gap: 5.7rem;
    margin: 0 auto 7.6rem;
    width: 117rem;
}

.homecare-subtitle__wrapper h3 {
    color: #FF97AB;
    font-size: 2.8rem;
    font-weight: 700;
    font-family: "Zen Maru Gothic", sans-serif;
    line-height: calc(50 / 28);
    letter-spacing: calc(20 / 100 * 28 / 10 * 1rem);
    margin-bottom: 1.6rem;
}

.homecare-subtitle__wrapper p {
    color: #575757;
    font-size: 1.6rem;
    font-weight: 400;
    font-family: "Noto Sans JP", sans-serif;
    line-height: calc(34 / 16);
    position: relative;
    z-index: 4;
}

.homecare__img1 img {
    width: 56.2rem;
    height: 36rem;
}






.homecare__divide {
    display: flex;
    width: 117rem;
    margin: 0 auto 7.7rem;
    align-items: center;
    position: relative;
}

.homecare__divide__bg1 img {
    width: 36.8rem;
    height: 46.7rem;
    position: absolute;
    top: -26rem;
    left: -14rem;
}

.homecare__divide h3 {
    color: #575757;
    font-size: 2rem;
    font-weight: 700;
    font-family: "Zen Maru Gothic", sans-serif;
    text-align: center;
    margin-bottom: 1.9rem;
    position: relative;
    z-index: 4;
}

.homecare__divide__box p {
    color: #575757;
    font-size: 1.6rem;
    font-weight: 400;
    font-family: "Noto Sans JP", sans-serif;
    line-height: calc(34 / 16);
    padding-bottom: 2.4rem;
}

span.houmon {
    color: #FF97AB;
}

span.ousin {
    color: #69C1CF;
}

h4.houmon {
    color: #FF97AB;
    font-size: 2rem;
    font-weight: 700;
    font-family: "Zen Maru Gothic", sans-serif;
    margin-bottom: 0.8rem;
}

h4.ousin {
    color: #69C1CF;
    font-size: 2rem;
    font-weight: 700;
    font-family: "Zen Maru Gothic", sans-serif;
    margin-bottom: 0.8rem;
}

.homecare__divide__box {
    width: 83.7rem;
    padding: 4rem 2.6rem 1.6rem;
    background-color: #fff;
    border-radius: 1.6rem;
    margin-bottom: 1.6rem;
    position: relative;
    z-index: 4;
}

.homecare__divide__text {
    color: #575757;
    font-size: 1.6rem;
    font-weight: 400;
    font-family: "Noto Sans JP", sans-serif;
    line-height: calc(34 / 16);
    padding-left: 2.6rem;
}

.homecare__img2 {
    margin-left: 3.5rem;
}

.homecare__img2 img {
    width: 29.8rem;
    height: 40.8rem;

}





.homecare__visit {
    width: 114.6rem;
    padding: 4.4rem 9.8rem;
    margin: 0 auto;
    background-color: #F2F2F2;
    border-radius: 1.6rem;
}

.homecare__visit h3 {
    color: #575757;
    font-size: 2rem;
    font-weight: 700;
    font-family: "Zen Maru Gothic", sans-serif;
    text-align: center;
}

.homecare__visit__subtitle {
    color: #575757;
    font-size: 1.6rem;
    font-weight: 400;
    font-family: "Noto Sans JP", sans-serif;
    line-height: calc(34 / 16);
    text-align: center;
    margin-bottom: 3.2rem;
}

.homecare__visit ul {
    width: 92.2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.homecare__visit li {
    color: #575757;
    font-size: 1.6rem;
    font-weight: 400;
    font-family: "Noto Sans JP", sans-serif;
    line-height: calc(34 / 16);
    margin-bottom: 2rem;
    width: 39.3rem;
}

.homecare__visit li::before {
    content: "";
    display: inline-block;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    background-color: #F6B8C4;
    margin-right: 0.4rem;
    position: relative;
    top: 0.1rem;
}

.homecare__visit__attention {
    color: #FF738E;
    font-size: 1.8rem;
    font-weight: 400;
    font-family: "Noto Sans JP", sans-serif;
    line-height: calc(34 / 18);
    text-align: center;
}




@media screen and (max-width:699.98px) {

    .main {
        padding-bottom: 8rem;
    }

    /* heroセクション */
    .misaki-page-hero {
        width: 37.5rem;
        height: 26.8rem;
        margin-top: 8.4rem;
    }

    .misaki-page-hero__visual img {
        top: -19rem;
        left: -27rem;
        width: 92.9rem;
        height: 61.932rem;
    }

    .misaki-page-hero__title {
        top: 8.4rem;
        min-width: 9.3rem;
        height: 5.4rem;
    }

    .misaki-page-hero__title-ja {
        font-size: 2.4rem;
    }

    .misaki-page-hero__title-en {
        top: 3.5rem;
        font-size: 1.4rem;
    }

    /* 診察診療セクション */
    .homecare-title__wrapper {

        /* 後で高さ修正 */
        margin: 4rem auto 2.2rem;
        width: 35.1rem;
        gap: 0.6rem;
    }

    .homecare__icon img {
        width: 7rem;
        height: auto;
    }

    .homecare-title__wrapper h2 {
        font-size: 2.4rem;
        margin-bottom: 0;
    }

    .homecare-title__wrapper p {
        font-size: 1.4rem;
    }





    .homecare-subtitle__wrapper {
        gap: 2.2rem;
        margin: 0 auto 2rem;
        width: 35.1rem;
        flex-direction: column;
    }

    .homecare-subtitle__wrapper h3 {
        font-size: 2.4rem;
        line-height: calc(40 / 24);
        letter-spacing: calc(20 / 100 * 24 / 10 * 1rem);
        margin-bottom: 2.4rem;
    }

    .homecare-subtitle__wrapper p,
    .homecare__divide h3,
    .homecare__divide__box {
        z-index: auto;
    }

    .homecare__img1 img {
        width: 35.1rem;
        height: 22.5rem;
    }





    .homecare__divide {
        width: 35.1rem;
        margin: 0 auto 5rem;
        gap: 0;
        flex-direction: column-reverse;
        align-items: end;
    }

    .homecare__divide__bg1 img {
        width: 22rem;
        height: 28.7rem;
        position: absolute;
        top: -2rem;
        left: -1rem;

    }

    .homecare__divide h3 {
        font-size: 1.7rem;
        text-align: start;
        margin-bottom: 2.8rem;
        margin-top: 5rem;
    }

    .homecare__divide__box p {
        padding-bottom: 1.6rem;
    }

    h4.houmon {
        font-size: 1.8rem;
        margin-bottom: 0.6rem;
    }

    h4.ousin {
        font-size: 1.8rem;
        margin-bottom: 0.6rem;
    }

    .homecare__divide__box {
        width: 35.1rem;
        padding: 2.8rem 1.2rem 1.2rem;
    }

    .homecare__divide__text {
        padding: 0 1.2rem;
    }

    .homecare__img2 img {
        width: 17.5rem;
        height: 24rem;
        position: relative;
        z-index: 4;
    }




    .homecare__visit {
        width: 35.1rem;
        padding: 3.2rem 1.2rem;
    }

    .homecare__visit h3 {
        font-size: 1.8rem;
    }

    .homecare__visit__subtitle {
        margin-bottom: 2.4rem;
    }

    .homecare__visit ul {
        width: 100%;
    }

    .homecare__visit li {
        line-height: calc(28 / 16);
        margin-bottom: 1rem;
        width: 33.1rem;
    }

    .homecare__visit li:nth-child(1) {
        order: 1;
    }
    .homecare__visit li:nth-child(2) {
        order: 4;
    }
    .homecare__visit li:nth-child(3) {
        order: 2;
    }
    .homecare__visit li:nth-child(4) {
        order: 5;
    }
    .homecare__visit li:nth-child(5) {
        order: 3;
    }

    .homecare__visit li::before {
        margin-right: 0.3rem;
    }

    .homecare__visit__attention {
        text-align: left;
        margin-top: 1.4rem;
    }
}