@charset "UTF-8";

/*
Theme Name: grk
Template: habakiri
*/

/**
 * ----------------------------------------
 * 注意事項
 * ----------------------------------------
 */

/* 

 以下のクラス名はネスト外に出すのを禁じる 
 text_box
 img_box
 */

/**
 * ----------------------------------------
 * common
 * ----------------------------------------
 */


:root {
    --text-color: #5E5E5E;
    --main-color: #6DBBFA;
    --common-margin: clamp(1.25rem, -1.705rem + 14.77vw, 8.375rem);
}

.zen-old {
    font-family: "Zen Old Mincho", serif;
}

body {
    font-family: "Klee One", cursive;
}

p {
    font-size: clamp(16px, calc(1.5vw + 1rem), 20px);
    line-height: clamp(35px, calc(2.5vw + 1rem), 53px);
}

.font_int {
    font-family: 'Inter', sans-serif;
}

#main {
    margin-bottom: 0;
}


@media (min-width:1300px) {
    .container {
        width: 1020px;
    }
}

@media (min-width:1600px) {
    .container {
        width: 1530px;
    }
}

a:hover {
    text-decoration: none;
}

/* -------------------------------- */
.logo-text {
    font-size: 60px;

    & a {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    & span {
        font-size: clamp(14px, calc(0.7vw + 1rem), 18px);

        & span {
            font-size: clamp(12px, calc(0.5vw + 1rem), 15px);
        }
    }
}

/* スライド */
.custom-slider {
    position: relative;
    /* overflow: hidden; */
    max-width: 100%;
    height: 760px;

    @media (max-width: 1300px) {
        height: 620px
    }

    @media (max-width: 960px) {
        height: 70vh;
    }
}

/* 各スライド（非表示状態） */
.custom-slider .slide {
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    opacity: 0;
    z-index: 0;
    transition: opacity 1s ease;
}

/* 表示中のスライド */
.custom-slider .slide.active {
    opacity: 1;
    z-index: 1;
}

/* 固定テキスト */
.slide-text {
    position: absolute;
    bottom: 0;
    left: 8%;
    color: #333;
    font-size: clamp(2rem, 1.818rem + 3.91vw, 7.5rem);
    z-index: 2;
    line-height: 1.5;
    word-break: keep-all;
}

.dots {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 30px;
    margin-left: 25%;
    height: 370px;

    @media (max-width: 960px) {
        height: 300px;
        margin-left: 17%;

    }
}

.dot {
    height: 30px;
    width: 30px;
    margin: 0 5px;
    background-color: #ddd;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;

    @media (max-width: 960px) {
        height: 15px;
        width: 15px;
    }
}

.dot.active {
    background-color: #66ccff;
}

.section_title {
    display: flex;
    align-items: baseline;
    border-bottom: 1px solid var(--text-color);
    margin-bottom: 50px;
    padding-bottom: 10px;
    gap: 15px;
    flex-wrap: wrap;
}

.JP {
    font-size: clamp(16px, calc(0.5vw + 2rem), 36px);
}

.EN {
    color: var(--main-color);
}

.philosophy,
.new-area,
.support,
.admission_info {
    margin-bottom: var(--common-margin);
}

.philosophy {
    background-image: url(images/bk_blue_2.webp);
    background-repeat: no-repeat;

    @media (max-width: 600px) {
        background-image: url(images/bk_blue_sp_2.webp);
    }
}

.philosophy-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 17% 0;

    @media (max-width: 600px) {
        grid-template-columns: 1fr;

    }

    & ol {
        list-style-type: disc;
        font-size: clamp(16px, calc(1vw + 1.5rem), 36px);
        line-height: 2.3;
    }

    & h2 {
        font-size: clamp(25px, calc(1.5vw + 2rem), 48px);
        font-weight: 100;
        line-height: 1.6;
    }
}

.support-2col {
    display: grid;
    grid-template-columns: 40% 52%;
    justify-content: space-between;

    @media (max-width: 600px) {
        grid-template-columns: 1fr;
    }

    .img_box {
        display: flex;
        justify-content: space-between;

        @media (max-width: 600px) {
            justify-content: space-between;
            flex-direction: column;
            align-items: center;
        }

        & div:nth-child(2) {
            margin-top: 50px;
        }
    }
}

.info-2col {
    display: grid;
    grid-template-columns: 40% 52%;
    justify-content: space-between;

    @media (max-width: 600px) {
        grid-template-columns: 1fr;
    }

    & p {

        line-height: 1.5;
    }
}

.admission_info {
    & h3 {
        margin-bottom: 50px;
    }
}



#news {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 35px;

    @media (max-width: 600px) {
        grid-template-columns: 1fr 1fr;
    }
}

.latest-cord {
    display: flex;
    flex-direction: column;
}

.latest-thumbnail {
    & img {

        width: 100%;
    }
}

.latest-text {
    & h3 {
        font-size: 20px;
        margin: 0;
    }
}

.footer-box {
    background-image: url(images/footer_bk_blue.webp);
    background-repeat: no-repeat;
    padding: 8% 0 5% 0;

    @media (max-width: 600px) {
        background-image: url(images/footer_bk_blue_sp.webp);
    }
}