.main {
    background-color: #C7E9EF;
}

.hero {
    position: relative;
    z-index: 3;
}

/* 雲 */
.hero__cloud--center {
    width: 36rem;
    height: 31rem;
    background-color: #C7E9EF;
    border-radius: 100% 100% 50% 50%;
    position: absolute;
    top: 71rem;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.hero__cloud--right {
    width: 29rem;
    height: 25rem;
    background-color: #C7E9EF;
    border-radius: 59% 50% 50% 50%;
    position: absolute;
    top: 73rem;
    left: 80rem;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.hero__cloud--left {
    width: 29rem;
    height: 25rem;
    background-color: #C7E9EF;
    border-radius: 50% 59% 50% 50%;
    position: absolute;
    top: 73rem;
    left: 48rem;
    transform: translate(-50%, -50%);
    z-index: 3;
}

/* キービジュアルのスライダー */
.swiper {
    width: 100%;
}

.swiper-slide {
    text-align: center;
}

.keyvisual__img img {
    width: 100%;
    height: 67.7rem;
    display: block;
}

.keyvisual__img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero__title {
    color: #3A3A3A;
    font-size: 2.6rem;
    font-weight: 800;
    font-family: "Zen Maru Gothic", sans-serif;
    line-height: calc(39 / 26);
    letter-spacing: calc(2.6 / 10 * 1rem);
    text-align: center;
    position: relative;
    top: -6.5rem;
    z-index: 4;
}

.hero__img--building,
.hero__img--run,
.about__main-img img {
    object-fit: cover;
}




.insta {
    margin-top: 2.8rem;
    margin-left: 9rem;
    margin-right: 9rem;
    margin-bottom: 16.3rem;
    position: relative;
    z-index: 4;
}

.insta__img {
    width: 37rem;
    height: auto;
    margin: 0 auto 2rem;
}

.insta__img--pc {
    width: 150rem;
    height: 42rem;
    margin: 0 auto 8.1rem;
}

.insta__btn {
    width: 32rem;
    height: 5.5rem;
    margin: 2rem auto 0rem;
    background-color: #fff;
    border-radius: 2.5rem;
    position: relative;
}


/* 矢印 */

.insta__btn--arrow::before,
.about__btn--arrow::before,
.support__btn--arrow::before,
.admissions__btn--arrow::before {
    content: "";
    position: absolute;
    right: 1.7rem;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 1.2rem;
    height: 1.2rem;
    border-top: 0.2rem solid #707070;
    border-right: 0.2rem solid #707070;
    pointer-events: none;
}

.insta__btn--arrow::after,
.about__btn--arrow::after,
.support__btn--arrow::after,
.admissions__btn--arrow::after {
    content: "";
    position: absolute;
    right: 1.7rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.4rem;
    height: 0.2rem;
    background: #707070;
    pointer-events: none;
}



.insta__btn img {
    position: absolute;
    width: 2.5rem;
    height: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
    left: 6.5rem;
}

.insta__btn p {
    position: absolute;
    color: #3A3A3A;
    font-size: 2.4rem;
    font-weight: 400;
    font-family: "Zen Maru Gothic", sans-serif;
    line-height: calc(40 / 24);
    letter-spacing: calc(1.2 / 10 * 1rem);
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.insta__btn a {
    display: block;
    width: 32rem;
    height: 5.5rem;
}


.about {
    margin-bottom: 16.8rem;
    position: relative;
}

.about__inner {
    display: flex;
    justify-content: right;
}

.about__main-img {
    width: 55.2rem;
    height: 71rem;
    border-radius: 6rem;
    overflow: hidden;
    flex-shrink: 0;
    position: absolute;
    top: -6rem;
    left: 9rem;
    z-index: 3;
}

.about__main-img img {
    object-position: left 50%;
}

.about__sub-img {
    position: absolute;
    width: 9.8rem;
    height: 6.6rem;
    top: 7.4rem;
    right: 27.3rem;

}

.about__contentbox {
    position: relative;
    background-color: #EFEFA4;
    width: 87.9rem;
    height: 84.7rem;
    border-radius: 0 0 0 6rem;
    top: 0;
    right: 0;
    z-index: 2;
}

.about__title {
    color: #3A3A3A;
    font-size: 3.2rem;
    font-weight: 800;
    font-family: "Zen Maru Gothic", sans-serif;
    line-height: calc(40 / 32);
    letter-spacing: calc(3.2 / 10 * 1rem);
    text-align: center;
    margin-bottom: 1.6rem;
}

.about__title--english {
    color: #DD951B;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: "Zen Maru Gothic", sans-serif;
    line-height: calc(32 / 15);
    text-align: center;
    margin: 0 auto;
    width: 12rem;
    height: 3rem;
    border-radius: 1rem;
    margin-bottom: 4.7rem;
}

.about__textbox {
    padding: 18.1rem 9rem 11rem 31.9rem;
}

.about__subtitle {
    color: #3A3A3A;
    font-size: 2.4rem;
    font-weight: 800;
    font-family: "Zen Maru Gothic", sans-serif;
    line-height: calc(36 / 24);
    letter-spacing: calc(2.4 / 10 * 1rem);
    white-space: nowrap;
    margin-bottom: 1.2rem;
}

.about__text {
    color: #3A3A3A;
    font-size: 1.6rem;
    font-weight: 400;
    font-family: "Zen Maru Gothic", sans-serif;
    line-height: calc(32 / 16);
    margin-bottom: 4rem;

}

.about__btn {
    width: 32rem;
    height: 5.5rem;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 2.5rem;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
    color: #DD951B;
    font-size: 1.6rem;
    font-weight: 800;
    font-family: "Zen Maru Gothic", sans-serif;
    line-height: 5.5rem;
    letter-spacing: calc(3.2 / 10 * 1rem);
    text-align: center;
}

.about__btn:hover {
    color: #FFFFFF;
    background-color: #DD951B;
}

.about__btn a {
    display: block;
}


.admissions {
    margin-bottom: 2.8rem;
    position: relative;
}

.admissions__bg {
    background-image: url("../img/frontpage/admissions_img_bg2.svg");
    background-size: cover;
    /* 要素いっぱいに広げる */
    background-position: center;
    /* 中央に配置 */
    background-repeat: no-repeat;
    /* 繰り返さない */
    width: 100%;
    height: 100.8rem;
}



.admissions__inner {
    display: flex;
    justify-content: right;
}

.admissions__main-img {
    width: 58.6rem;
    height: 59.9rem;
    border-radius: 15rem;
    overflow: hidden;
    flex-shrink: 0;
    position: absolute;
    top: 27.4rem;
    left: 9rem;
    z-index: 3;
}

.admissions__img--tulip {
    position: absolute;
    width: 7.6rem;
    height: 4.8rem;
    top: 5.6rem;
    left: 28.6rem;
}

.admissions__img--poddo {
    position: absolute;
    width: 26.7rem;
    height: 10.2rem;
    top: 13.2rem;
    left: 50.7rem;
}

.admissions__contentbox {
    position: relative;
    background-color: #FFFFFF;
    width: 58.6rem;
    height: 59.9rem;
    border-radius: 15rem;
    top: 27.4rem;
    right: 9rem;
    z-index: 2;
}

.admissions__title {
    color: #3A3A3A;
    font-size: 3.2rem;
    font-weight: 800;
    font-family: "Zen Maru Gothic", sans-serif;
    line-height: calc(40 / 32);
    letter-spacing: calc(6.4 / 10 * 1rem);
    text-align: center;
    margin-bottom: 1.6rem;
}

.admissions__title--english {
    color: #DD951B;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: "Zen Maru Gothic", sans-serif;
    line-height: calc(32 / 15);
    text-align: center;
    margin: 0 auto;
    width: 12rem;
    height: 3rem;
    border-radius: 1rem;
    margin-bottom: 4.9rem;
}

.admissions__textbox {
    padding: 12.8rem 7.1rem 13.5rem 11.7rem;
}

.admissions__subtitle {
    color: #3A3A3A;
    font-size: 2.4rem;
    font-weight: 800;
    font-family: "Zen Maru Gothic", sans-serif;
    line-height: calc(40 / 24);
    letter-spacing: calc(2.4 / 10 * 1rem);
    margin-bottom: 2.3rem;
}

.admissions__text {
    color: #3A3A3A;
    font-size: 1.6rem;
    font-weight: 400;
    font-family: "Zen Maru Gothic", sans-serif;
    line-height: calc(32 / 16);
    margin-bottom: 4.2rem;
    text-align: center;
}

.admissions__btn {
    width: 32rem;
    height: 5.5rem;
    margin: 0 auto;
    background-color: #fff;
    border: 0.2rem solid #DD951B;
    border-radius: 2.5rem;
    position: relative;
    color: #3A3A3A;
    font-size: 1.6rem;
    font-weight: 800;
    font-family: "Zen Maru Gothic", sans-serif;
    line-height: 5.5rem;
    letter-spacing: calc(3.2 / 10 * 1rem);
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.admissions__btn:hover {
    color: #FFFFFF;
    background-color: #DD951B;
}

.admissions__btn a {
    display: block;
}


.slide__marquee {
    width: 100%;
    overflow: hidden;
}

.slide__marquee-track {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.slide__marquee-track img {
    width: 55rem;
    /* 好きなサイズ */
    height: 42rem;
    flex-shrink: 0;
    margin-right: 1rem;
    margin-bottom: 4.1rem;
}

/* 右→左に流れる */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.access {
    background-color: #fff;
    padding-top: 6.2rem;
    padding-bottom: 13.4rem;
}

.access__box {
    width: 100.2rem;
    height: 75rem;
    background-color: #D7F7FC;
    border-radius: 8rem;
    margin: 0 auto;
}


.access__img {
    width: 14.9rem;
    height: 6.4rem;
    position: relative;
    top: 5rem;
    left: 43rem;
}

.access__map {
    width: 85.8rem;
    height: 41rem;
    margin: 6.8rem auto 0;
}

.access__map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.access__text {
    color: #707070;
    font-size: 2.1rem;
    font-weight: 400;
    font-family: "Zen Maru Gothic", sans-serif;
    line-height: calc(30 / 24);
    letter-spacing: calc(2.1 / 10 * 1rem);
    width: 46.3rem;
    margin: 4.7rem auto 0;
}





.news {
    background-color: #fff;
}

.news__wrapper {
    display: flex;
    gap: 6.2rem;
    width: 94.3rem;
    margin: 0 auto 15.4rem;
    justify-content: center;
}

.news__title {
    color: #707070;
    font-size: 2.4rem;
    font-weight: 800;
    font-family: "Zen Maru Gothic", sans-serif;
    line-height: calc(40 / 24);
    letter-spacing: calc(2.4 / 10 * 1rem);
    text-align: center;
    margin-bottom: 3.3rem;

    width: 10.9rem;
}

.news__title--list {
    color: #FFFFFF;
    background-color: #00AFCC;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: "Zen Maru Gothic", sans-serif;
    line-height: calc(20 / 15);
    text-align: center;
    margin: 0 auto;
    height: 4rem;
    border-radius: 1rem;
    width: 12rem;
    padding: 1rem 0rem;

    margin-left: -0.5rem;
    display: block;
}


.news__titlebox {
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;

}

.news__titlebox p {
    color: #707070;
    font-size: 1.6rem;
    font-weight: 400;
    font-family: "Noto Sans JP", sans-serif;
    line-height: calc(24 / 16);
    margin-right: 3rem;
}

.news__titlebox h4 {
    color: #707070;
    font-size: 1.6rem;
    font-weight: 400;
    font-family: "Noto Sans JP", sans-serif;
    line-height: calc(24 / 16);
    padding-left: 3rem;
    position: relative;
}

.news__titlebox h4::after {
    content: "";
    width: 0.2rem;
    height: 2rem;
    background-color: #707070;
    position: absolute;
    top: 0.5rem;
    left: 0;
}

/* 画像の大きさ */
#sb_instagram .sbi_item {
    padding: 0.8rem !important;
}

/* インスタのヘッダー非表示 */
/* #sb_instagram .sbi_header_text {
    display: none !important;
} */

.zoom-instagram-link .zoom-instagram-link-new {
    display: block;
}

.svg-icon {
    display: none;
}

/* Instagram画像の角丸（30px = 3rem） */
.insta .zoom-instagram-widget__item-inner-wrap {
    border-radius: 3rem;
    overflow: hidden;
}


@media screen and (max-width:699.98px) {

    /* キービジュアルのスライダー */


    .keyvisual__img img picture {
        width: 37.5rem;
        height: 84.4rem;
        object-fit: cover;
        object-position: 50% 50%;
    }

    .keyvisual__img img{
        width: 100%;
        height: 23.4rem;
        object-fit: cover;
    }


    .hero {
        position: relative;
        z-index: 2;
    }


    .hero__titlebox {
        position: absolute;
        width: 37.5rem;
        height: 24.1rem;
        background-color: #C7E9EF;
        border-radius: 55% 55% 0 0;
        bottom: -20rem;
        z-index: 3;
    }

    .hero__title {
        font-size: 2.5rem;
        line-height: calc(38 / 25);
        letter-spacing: calc(2.5 / 10 * 1rem);
        top: 4rem;
        z-index: 5;
    }

    .hero__img--building {
        object-position: 62% 50%;
    }

    .hero_img--run {
        object-position: 0% 50%;
    }





    .insta {
        margin-top: 2.5rem;
        margin-left: 2.2rem;
        margin-right: 2.2rem;
        margin-bottom: 0;
        padding-bottom: 30rem;
        position: relative;
        z-index: 4;
    }

    .insta__img {
        width: 28.5rem;
        height: auto;
        margin: 0 auto 7.2rem;
        position: relative;
        z-index: 3;
        top: 0rem;
    }

    .insta__btn {
        position: relative;
        margin-bottom: 0rem;
    }

    .insta__img--sp {
        width: 34rem;
        height: 20.1rem;
        margin: 0 auto 3.4rem;
    }



    .about__main-img {
        width: 33rem;
        height: 23.2rem;
        border-radius: 6rem;
        overflow: hidden;
        flex-shrink: 0;
        position: absolute;
        top: -11.5rem;
        left: 2.2rem;
        z-index: 3;
    }

    .about {
        margin-bottom: 0rem;
    }

    .about__sub-img {
        position: absolute;
        width: 14.7rem;
        height: 9.8rem;
        top: 14.3rem;
        right: 12rem;
    }

    .about__contentbox {
        width: 100%;
        height: 82.5rem;
        border-radius: 0;
        top: 0;
        right: 0;
        z-index: 2;
    }

    .about__textbox {
        padding: 24.8rem 2.1rem 2rem 2.1rem;
    }

    .about__title {
        color: #3A3A3A;
        font-size: 3rem;
        font-weight: 800;
        font-family: "Zen Maru Gothic", sans-serif;
        line-height: calc(40 / 30);
        letter-spacing: calc(3 / 10 * 1rem);
        margin-bottom: 0rem;

        text-align: left;
        margin-top: 3.1rem;
        white-space: nowrap;
    }

    .about__title--english {
        width: 12rem;
        height: 3rem;
        margin-bottom: 1.8rem;
    }

    .about__subtitle {
        font-size: 2rem;
        line-height: calc(32 / 20);
        white-space: nowrap;
        margin-bottom: 2.1rem;
    }

    .about__text {
        margin-bottom: 2.3rem;
    }



    .admissions {
        margin-bottom: 0rem;
        position: relative;
    }

    .admissions__bg {
        background-image: url("../img/frontpage/admissions_img_bg2.svg");
        background-size: auto;
        /* 要素いっぱいに広げる */
        background-position: center;
        /* 中央に配置 */
        background-repeat: repeat;
        /* 繰り返さない */
        width: 100%;
        height: 90.8rem;
    }



    .admissions__inner {
        flex-direction: column;
    }

    .admissions__main-img {
        width: 33rem;
        height: 23.2rem;
        border-radius: 8rem;
        position: relative;
        top: 15.6rem;
        left: 2.2rem;
    }

    .admissions__img--poddo {
        position: absolute;
        width: 26.7rem;
        height: 10.2rem;
        top: 3.7rem;
        left: 5.7rem;
    }

    .admissions__img--tulip {
        position: absolute;
        width: 11.4rem;
        height: 7.3rem;
        top: 15rem;
        left: 13rem;
    }

    .admissions__contentbox {
        position: relative;
        background-color: #FFFFFF;
        width: 100%;
        height: 60.5rem;
        border-radius: 0;
        top: 3rem;
        right: 0;
        z-index: 2;
    }


    .admissions__textbox {
        padding: 24.1rem 1.5rem 2rem 1.5rem;
    }

    .admissions__title {
        margin-bottom: 0rem;
    }
    .admissions__title--english{
        margin-bottom: 1.8rem;
    }
    .admissions__subtitle {
        font-size: 2rem;
        line-height: calc(32 / 20);
        margin-bottom: 1.4rem;
        white-space: nowrap;
    }

    .admissions__text {
        margin-bottom: 2.8rem;
        text-align: left;
    }

    .slide__marquee-track img {
        width: 27.6rem;
        /* 好きなサイズ */
        height: 26.4rem;
        flex-shrink: 0;
        margin-right: 1rem;
        margin-bottom: 0rem;
    }


    .access {
        background-color: #D7F7FC;
        padding-top: 0rem;
        padding-bottom: 0rem;
    }

    .access__box {
        width: 37.5rem;
        height: 69.5rem;
        background-color: #D7F7FC;
        border-radius: 8rem;
        margin: 0 auto;
    }


    .access__img {
        width: 19.6rem;
        height: 8.4rem;
        position: relative;
        top: 3rem;
        left: 9.5rem;
    }

    .access__map {
        width: 33rem;
        height: 36.6rem;
        margin: 5.6rem auto 0;
    }


    .access__text {
        font-size: 2rem;
        line-height: calc(32 / 20);
        letter-spacing: 0;
        width: 33rem;
        margin: 2.5rem auto 0;
    }




    .news {
        background-color: #C7E9EF;
        padding-top: 5.8rem;
    }

    .news__wrapper {
        display: flex;
        gap: 5rem;
        width: 34rem;
        margin: 0 auto;
        flex-direction: column-reverse;
        padding-bottom: 1.2rem;
    }

    .news__title {
        color: #707070;
        font-size: 2.4rem;
        font-weight: 800;
        font-family: "Zen Maru Gothic", sans-serif;
        line-height: calc(40 / 24);
        letter-spacing: calc(2.4 / 10 * 1rem);
        text-align: center;
        margin: 0 auto 3.3rem;
    }

    .news__title--list {
        color: #FFFFFF;
        background-color: #00AFCC;
        font-size: 1.5rem;
        font-weight: 800;
        font-family: "Zen Maru Gothic", sans-serif;
        line-height: calc(20 / 15);
        text-align: center;
        margin: 0 auto;
        width: 12rem;
        height: 4rem;
        border-radius: 1rem;
        display: block;
    }

    .news__titlebox {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 3.4rem;

    }

    .news__titlebox p {
        color: #707070;
        font-size: 2rem;
        font-weight: 400;
        font-family: "Noto Sans JP", sans-serif;
        line-height: calc(30 / 20);
        margin-right: 3rem;
    }

    .news__titlebox h4 {
        color: #707070;
        font-size: 2rem;
        font-weight: 400;
        font-family: "Noto Sans JP", sans-serif;
        line-height: calc(30 / 20);
        padding-left: 0;
        position: relative;
    }

    .news__titlebox h4::after {
        display: none;
    }

    .insta {
        margin-top: 2.5rem;
        margin-left: 2.2rem;
        margin-right: 2.2rem;
        margin-bottom: 0rem;
        padding-bottom: 15.4rem;
        position: relative;
        z-index: 4;
    }

    /* SP: Instagram画像を2カラムに */
    .insta .zoom-instagram-widget__items {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* SP: 行間9px(0.9rem)・列間12px(1.2rem)。プラグインのインラインgap(!important)に勝つ詳細度で上書き */
    .insta .zoom-instagram .zoom-instagram-widget__items.layout-grid {
        row-gap: 0.9rem !important;
        column-gap: 1.2rem !important;
    }

    /* SP: 画像を縦長（4:5）に */
    .insta .zoom-instagram-widget__items.layout-grid .zoom-instagram-widget__item img:not(.wpz-insta-product-popover-item-img) {
        aspect-ratio: 4 / 5 !important;
        height: auto !important;
    }

    .insta__img {
        width: 28.5rem;
        height: auto;
        /* top:6rem の相殺(6rem) + チューリップ装飾〜最初の画像の余白(4.891rem=48.91px) */
        margin: 0 auto 10.79rem;
        position: relative;
        z-index: 3;
        top: 7rem;
    }
}