.main {
    background-color: #F9EDF0;
}

.hero {
    position: relative;
    z-index: 3;
}

/* 雲 */
.hero__cloud--center {
    width: 36rem;
    height: 31rem;
    background-color: #F9EDF0;
    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: #F9EDF0;
    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: #F9EDF0;
    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;
}


.insta {
    margin-top: 2.8rem;
    /* ページ端から左右90px(=9rem@1280)の余白。残り幅に4列(1fr)を均等配置 */
    margin-left: 9rem;
    margin-right: 9rem;
    margin-bottom: 16.3rem;
    position: relative;
    z-index: 4;
}

.insta__img {
    width: 37rem;
    height: auto;
    margin: 0 auto 0rem;
    position: relative;
    top: -4rem;
    
}

.insta__img--pc {
    width: 110rem;
    height: 30rem;
    margin: 0 auto 8.1rem;
}

.insta__btn {
    width: 32rem;
    height: 5.5rem;
    margin: 5rem 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: 新yama値 + keidaiカラー */
.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__sub-img {
    position: absolute;
    width: 9.8rem;
    height: auto;
    top: 7.4rem;
    right: 27.3rem;
}

.about__contentbox {
    position: relative;
    background-color: #DFECD7;
    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: #95D56E;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: "Zen Maru Gothic", sans-serif;
    line-height: calc(32 / 15);
    text-align: center;
    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: #95D56E;
    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: #EBBCD2;
}

.about__btn a {
    display: block;
}


/* support: keidai固有 (aboutをミラー反転) */
.support {
    margin-bottom: 16.8rem;
    position: relative;
}

.support__inner {
    display: flex;
}

.support__main-img {
    width: 55.2rem;
    height: 71rem;
    border-radius: 6rem;
    overflow: hidden;
    flex-shrink: 0;
    position: absolute;
    top: -6rem;
    right: 9rem;
    z-index: 3;
}

.support__sub-img {
    position: absolute;
    width: 9.8rem;
    height: auto;
    top: 7.4rem;
    left: 27.3rem;
}

.support__contentbox {
    position: relative;
    background-color: #F1D7D0;
    width: 87.9rem;
    height: 84.7rem;
    border-radius: 0 0 6rem 0;
    top: 0;
    left: 0;
    z-index: 2;
}

.support__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;
}

.support__title--english {
    color: #E28973;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: "Zen Maru Gothic", sans-serif;
    line-height: calc(32 / 15);
    text-align: center;
    margin-bottom: 4.7rem;
}

.support__textbox {
    padding: 18.1rem 31.9rem 11rem 9rem;
}

.support__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;
}

.support__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;
}

.support__btn {
    width: 32rem;
    height: 5.5rem;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 2.5rem;
    position: relative;
    color: #E28973;
    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;
}

.support__btn:hover {
    color: #FFFFFF;
    background-color: #EBBCD2;
}

.support__btn a {
    display: block;
}




.admissions {
    margin-bottom: 2.8rem;
    position: relative;
}

.admissions__bg {
    background-image: url("../img/frontpage/admissions_img_bg1.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100.8rem;
}

.admissions__title-img {
    width: 40rem;
    height: auto;
    margin: 0 auto;
    position: relative;
    top: 11rem;
}




.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--sakura {
    position: absolute;
    width: 7.6rem;
    height: auto;
    top: 4.6rem;
    left: 28.6rem;
}

.admissions__contentbox {
    position: relative;
    background-color: #FFFFFF;
    width: 58.6rem;
    height: 59.9rem;
    border-radius: 15rem;
    top: 13.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: #D86597;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: "Zen Maru Gothic", sans-serif;
    line-height: calc(32 / 15);
    text-align: center;
    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 #EBBCD2;
    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: #EBBCD2;
}

.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: #F9EDF0;
    border-radius: 8rem;
    margin: 0 auto;
}

.access__title-img {
    width: 22.3rem;
    height: auto;
    margin: 0 auto;
    position: relative;
    top: 4rem;
}



.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;
}



/* インスタの全体幅の設定 */
#sb_instagram {
    max-width: 114rem;
    margin: 0 auto;
}

/* 画像の大きさ */
#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 {
        width: 37.5rem;
        height: 25.7rem;
    }

    .keyvisual__img {
        width: 100%;
        height: 25.7rem;
        object-fit: cover;
    }

    .hero {
        position: relative;
        z-index: 2;
    }
    main{
        width: 37.5rem;
        overflow: hidden;
    }
    .hero__titlebox {
        position: absolute;
        width: 47.5rem;
        height: 24.1rem;
        background-color: #F9EDF0;
        border-radius: 50% 50% 0 0;
        bottom: -21rem;
        left: -5rem;
        z-index: 3;
    }

    .hero__title {
        font-size: 2.5rem;
        line-height: calc(38 / 25);
        letter-spacing: calc(2.5 / 10 * 1rem);
        top: 2rem;
        z-index: 5;
    }

    .hero__img--boy {
        object-position: 72% 50%;
    }




    .insta {
        margin-top: 2.5rem;
        margin-left: 2.2rem;
        margin-right: 2.2rem;
        margin-bottom: 0;
        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: 6rem;
    }

    .insta__btn {
        margin: 1.3rem auto 0;
    }

    .insta__img--sp {
        width: 34rem;
        height: 20.1rem;
        margin: 0 auto 3.4rem;
    }

    .about__main-img {
        width: 34rem;
        height: auto;
        border-radius: 6rem;
        overflow: hidden;
        flex-shrink: 0;
        position: absolute;
        top: -11.5rem;
        left: 1.7rem;
        z-index: 3;
    }

    .about {
        margin-bottom: 14rem;
    }

    .about__sub-img {
        position: absolute;
        width: 16.2rem;
        height: auto;
        top: 11.7rem;
        right: 11rem;
    }

    .about__contentbox {
        width: 100%;
        height: 79.5rem;
        border-radius: 0;
        top: 0;
        right: 0;
        z-index: 2;
    }

    .about__textbox {
        padding: 22.8rem 2.1rem 3rem 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: 0;
        text-align: left;
        margin-top: 3.1rem;
        white-space: nowrap;
    }

    .about__title--english {
        margin-bottom: 1.4rem;
    }

    .about__subtitle {
        font-size: 2rem;
        line-height: calc(32 / 20);
        white-space: nowrap;
        margin-bottom: 2.1rem;
    }

    .about__text {
        margin-bottom: 1.6rem;
    }


    .support {
        margin-bottom: 1rem;
        position: relative;
    }

    .support__inner {
        display: flex;
        flex-direction: column-reverse;
    }

    .support__main-img {
        width: 34rem;
        height: auto;
        top: -11.5rem;
        right: 1.7rem;
        left: auto;
        z-index: 3;
    }

    .support__sub-img {
        position: absolute;
        width: 14.7rem;
        height: auto;
        top: 13.3rem;
        left: 11rem;
    }

    .support__contentbox {
        width: 100%;
        height: 78.5rem;
        border-radius: 0;
        top: 0;
        left: 0;
        z-index: 2;
    }

    .support__textbox {
        padding: 24.8rem 2.1rem 3rem 2.1rem;
    }

    .support__title {
        text-align: center;
        margin-top: 3.1rem;
        white-space: nowrap;
        margin-bottom: 0rem;
    }

    .support__title--english {
        margin-bottom: 1.4rem;
    }
    .support__subtitle {
        font-size: 2rem;
        line-height: calc(32 / 20);
        white-space: nowrap;
        margin-bottom: 2.1rem;
    }

    .support__text {
        margin-bottom: 1.6rem;
    }


    .admissions {
        margin-bottom: 1rem;
        position: relative;
    }

    .admissions__bg {
        background-image: url("../img/frontpage/admissions_img_bg1.webp");
        background-size: cover;
        background-position: center;
        background-repeat: repeat;
        width: 100%;
        height: 88.3rem;
    }


    .admissions__title-img {
        width: 30.6rem;
        top: 2rem;
    }


    .admissions__inner {
        flex-direction: column;
    }

    .admissions__main-img {
        width: 34rem;
        height: auto;
        border-radius: 8rem;
        position: relative;
        top: 4.6rem;
        left: 1.7rem;
    }

    .admissions__img--sakura {
        position: absolute;
        width: 10.8rem;
        height: auto;
        top: 13.7rem;
        left: 13.7rem;
    }

    .admissions__contentbox {
        position: relative;
        background-color: #FFFFFF;
        width: 100%;
        height: 60.6rem;
        border-radius: 0;
        top: -7rem;
        right: 0;
        z-index: 2;
    }

    .admissions__textbox {
        padding: 26.1rem 2.5rem 5.3rem 1.5rem;
    }

    .admissions__title {
        margin-bottom: 0rem;
    }
    .admissions__title--english {
        margin-bottom: 1.4rem;
    }

    .admissions__subtitle {
        font-size: 2rem;
        line-height: calc(32 / 20);
        margin-bottom: 1.4rem;
        white-space: nowrap;
    }

    .admissions__text {
        margin-bottom: 1.6rem;
        text-align: left;
    }

    .slide__marquee-track img {
        width: 27.6rem;
        height: 26.4rem;
        flex-shrink: 0;
        margin-right: 1rem;
        margin-bottom: 2.3rem;
    }


    .access {
        background-color: #fff;
        padding-top: 3.2rem;
        padding-bottom: 3.2rem;
    }

    .access__box {
        width: 37.5rem;
        height: 70.1rem;
        background-color: #F9EDF0;
        border-radius: 8rem;
        margin: 0 auto;
    }





    .access__title-img {
        width: 19.6rem;
        height: auto;
        margin: 0 auto;
    }


    .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;
    }


    /* インスタの全体幅の設定 */
    #sb_instagram {
        max-width: 114rem;
        margin: 0 auto;
    }

    /* 画像の大きさ */
    #sb_instagram .sbi_item {
        padding: 0.8rem !important;
        width: 16.3rem;
        height: 20.1rem;
    }

    #sb_instagram .sbi_photo img {
        width: 16.3rem;
        height: 19.2rem;
        border-radius: 3rem;
    }

    /* インスタのヘッダー非表示 */
    #sb_instagram .sbi_header_text {
        display: none !important;
    }
}