@charset "utf=8";

/* ==========================================
トップ
========================================== */

/* --- カバー --- */

.cover {
    margin: 0 0 15.4rem;
    padding: 0 1.5rem;
}

.cover-frame {
    max-width: 175.8rem;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.cover-text-block {
    position: absolute;
    width: 15rem;
    top: 10rem;
    left: 20rem;
    writing-mode: vertical-rl;
    z-index: 9;
}

.cover-text-block p, .cover-text-block h1 {
    font-size: 3rem;
    letter-spacing: 1.035rem;
    line-height: 2.5em;
    text-shadow: 0px 3px 5px rgb(255 255 255 / 40%);
}

.cover-text-block.primary {
    color: var(--primary);
}

.cover .swiper-pagination, .cover .swiper-button-prev, .cover .swiper-button-next {
    display: none;
}

.cover-title-box {
    position: absolute;
    left: 4.9rem;
    bottom: 5rem;
    z-index: 2;
}

.cover-title {
    font-size: 11.6rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.2em;
}

/* --- top01 --- */

.top01 {
    margin: 0 0 12rem;
    padding: 0 1.5rem;
}

.top01-row {
    max-width: 124rem;
    width: 100%;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4rem 0 0;
}

.top01-img-block {
    max-width: 56.3rem;
    width: 45.4%;
}

.top01-img01 {
    max-width: 45.3rem;
    width: 80.46%;
}

.top01-img02 {
    max-width: 32.2rem;
    width: 57.19%;
    margin: -3rem 0 0 auto;
}

.top01-img03 {
    max-width: 21rem;
    width: 37.3%;
    margin: -1.6rem 0 0 0;
}

.top01-text-block {
    max-width: 55rem;
    width: 44.35%;
    text-align: center;
}

.top01-text-box01 {
    margin: 0 0 4.6rem;
}

.top01-text-box02 {
    margin: 0 0 5rem;
}

.top01-text01 {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 2.2em;
    letter-spacing: 0.05em;
}

.top01-text01.top01-text-mb {
    margin: 0 0 2.5rem;
}

.top01-text02 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.top01-text02.border-primary {
    border-bottom: 1px dotted var(--primary);
} 

.top01-text-box02 {
    margin: 0 0 3rem;
}

.top01-text02 {
    margin: 0 0 2rem;
    padding: 0 1.3rem 1rem;
    display: inline-block;
}

.top01-text03 {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 2em;
    letter-spacing: 0.05em;
}

/* --- top02 --- */

.top02 {
    margin: 0 0 15rem;
    padding: 0 1.5rem;
}

.top02-frame.bg-primary {
    background: var(--secondary);
}

.top02-frame {
    max-width: 175.8rem;
    width: 100%;
    margin: 0 auto;
    padding: 10rem 1.5rem;
    position: relative;
}

.top02-flex {
    max-width: 124rem;
    width: 100%;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;  
}

.top02-item {
    margin: 0 0 5rem 0;
}

.top02-item01 {
    max-width: 703px;
    width: 56.69%;
}

.top-link-btn {
    display: block;
    overflow: hidden;
    margin: 0 0 1rem 0;
}

.top-link-btn:hover .top-link-img-box01 img {
    transform: scale(1.1);
    transition: all .3s;
}

.top-link-img-box01 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    min-height: 294px;
    height: auto;
}

.top-link-img-box01 img {
    justify-content: center;
    align-items: center;
    position: absolute;
    display: flex;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    max-height: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: auto;
    object-fit: cover;
    transition: all .3s;
}

.top-link-title-box {
    position: absolute;
    top: 5.2rem;
    left: 2.8rem;
    z-index: 9;
}

.top-link-title-box .en-title-deco:after {
    left: 0;
}

.top02-item02 {
    max-width: 487px;
    width: 39.27%;
}

/* --- top03 --- */

.top03 {
    margin: 0 0 15rem;
    padding: 0 1.5rem;
}

.top03-frame {
    max-width: 150rem;
    width: 100%;
    margin: 0 auto;
}

.top03-title-box {
    text-align: center;
    margin: 0 0 3rem 0;
}

.top03-text-box {
    text-align: center;
    margin: 0 0 5.4rem 0;
}

.top03-title-box .en-title-deco:after {
    right: 0;
    left: 0;
    margin: auto;
}

.top03-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin: 0 0 5rem 0;
}

.btn-text {
    font-weight: 500;
    font-size: 1.8rem;
    letter-spacing: 0.05em;
}

.sbi_follow_btn {
    display: none !important;
}

.top03-frame .btn01 {
    margin: 2rem auto 0;
}

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (width <= 1700px) {

    .cover-text-block {
        top: 5rem;
    }


}

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (width <= 1550px) {

    .cover-title {
        font-size: 6rem;
    }

    /* --- commitment --- */

    .commitment-row {
        gap: 0 3rem;
    }

    /* --- teacher --- */

    .teacher-row {
        gap: 0 3rem;
    }

    /* --- news --- */

    .news-section {
        width: 96%;
    }
    
}

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (width <= 1024px) {

    /* --- カバー --- */

    .cover {
        margin: 0 0 12rem;
    }

    .cover-text-block {
        left: 8rem;
    }
    
    .cover-text-block p, .cover-text-block h1 {
        font-size: 1.7rem;
        letter-spacing: 1.035rem;
        line-height: 2.5em;
    }

    /* --- top01 --- */

    .top01 {
        margin: 0 0 10rem;
    }

    .top01-img-block {
        width: 42.4%;
    }

    .top01-text-block {
        width: 54.35%;
    }

    /* --- top02 --- */

    .top02 {
        margin: 0 0 12rem;
    }

    /* --- top03 --- */

    .top03 {
        margin: 0 0 12rem;
    }

}

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (width <= 768px) {

    /* --- カバー --- */

    .cover {
        margin: 0 0 8rem;
    }

    .cover-text-block p, .cover-text-block h1 {
        font-size: 2.5rem;
        letter-spacing: 1.035rem;
        line-height: 2em;
    }

    .cover-img-pc {
        display: none;
    }

    .cover-img-sp {
        display: block;
    }

    .cover-text-block {
        position: absolute;
        width: 90%;
        top: auto;
        bottom: 8rem;
        left: 2rem;
        writing-mode: unset;
    }

    /* --- top01 --- */

    .top01 {
        margin: 0 0 8rem;
    }

    .top01-row {
        flex-direction: column;
    }

    .top01-img-block, .top01-text-block {
        width: 100%;
    }

    .top01-img-block {
        margin: 0 0 3rem 0;
    }

    .top01-text-block {
        max-width: 56.3rem;
    }

    .top01-text-box01 .top01-text01 {
        text-align: left;
    }

    .top01-text03 {
        font-size: 1.5rem;
    }

    /* --- top02 --- */

    .top02 {
        margin: 0 0 10rem;
    }

    .top02-flex {
        flex-direction: column;
        align-items: center;
    }

    .top02-flex:nth-of-type(even) {
        flex-direction: column-reverse;
    }

    .top02-item01, .top02-item02 {
        max-width: 600px;
        width: 100%;
    }

    .top02-flex02 .top02-item:first-child{
        margin: 0;
    }


    /* --- top03 --- */

    .top03 {
        margin: 0 0 10rem;
    }

    .top03-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (width <= 576px) {
    
    /* --- カバー --- */

    .cover-text-block p, .cover-text-block h1 {
        font-size: 2rem;
        letter-spacing: 0.05em;
        line-height: 1.8em;
    }

    /* --- top01 --- */

    .top01-text01 {
        font-size: 1.6rem;
    }

    .top01-text02 {
        font-size: 1.6rem;
        letter-spacing: 0.03em;
        padding: 0 0 1rem;
    }

}

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */