@charset "utf-8";

.header .h_logo {
    max-width: 224px;
    display: block;
    width: 100%;
    pointer-events: all;
    transition: .4s ease;
}

.header .h_logo:hover {
    opacity: 50%;
}

.header .inner-4 {
    padding: 40px 0;
}

.fixed-bnr {
    bottom: 10%;
}



.page-title,
.page-title-hasimg {
    max-width: 1920px;
    width: 100%;
    margin: 0 auto;
}

.page-title .inner-12 {
    padding: 209px 0 34px;
}

.page-title .title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 85px;
}

.page-title .title .ttl-ja {
    font-family: var(--main);
    font-weight: 700;
    font-size: 40px;
    font-size: clamp(1.5rem, 1.257rem + 1.04vw, 2.5rem);
    letter-spacing: 0.08em;
    line-height: 1;
    text-align: center;
    color: #000;
}

.page-title .title .ttl-en {
    font-family: var(--eng);
    font-weight: 700;
    font-size: 22px;
    font-size: clamp(1.125rem, 1.064rem + 0.26vw, 1.375rem);
    letter-spacing: 0.08em;
    text-align: center;
    color: #acacac;
    text-transform: uppercase;
}

.page-title .breadlist,
.page-title-hasimg .breadlist {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    font-family: var(--eng);
    font-weight: 700;
    font-size: 16px;
    font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
    letter-spacing: 0.08em;
    text-align: left;
    color: #acacac;
    text-transform: uppercase;
}

.page-title .breadlist .home,
.page-title-hasimg .breadlist .home {
    transition: .4s ease;
}

.page-title .breadlist .home:hover,
.page-title-hasimg .breadlist .home:hover {
    opacity: 50%;
}


.page-title .breadlist .dot,
.page-title-hasimg .breadlist .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #ACACAC;
}

.page-title-hasimg .inner-4 {
    padding: 192px 0 122px;

}

.page-title-hasimg .inner-4 .box {
    border-radius: 30px;
    padding: 24px;
    background: url(/system_panel/uploads/images/20260212054328987822.png) no-repeat top/cover;
    max-height: 534px;
}

.page-title-hasimg .inner-4 .box .box-inner {
    display: grid;
    grid-template-columns: 47% 1fr;
    gap: 4%;
    border-radius: 20px;
    background: #fffeea;
}

.page-title-hasimg .inner-4 .box .box-inner .img {
    max-width: 841px;
    width: 100%;
    height: 100%;
    border-radius: 20px 0px 0px 20px;
}

.page-title-hasimg .inner-4 .box .box-inner .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px 0px 0px 20px;
}

.page-title-hasimg .inner-4 .box .box-inner .title {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15% 0 4%;
    margin-bottom: 0;
}

.page-title-hasimg .inner-4 .box .box-inner .title .page-title {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.page-title-hasimg .inner-4 .box .box-inner .ttl-en {
    font-family: var(--eng);
    font-weight: 700;
    font-size: 80px;
    font-size: clamp(2.5rem, 1.893rem + 2.59vw, 5rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.page-title-hasimg .inner-4 .box .box-inner .ttl-ja {
    font-family: var(--main);
    font-weight: 700;
    font-size: 32px;
    font-size: clamp(1rem, 0.757rem + 1.04vw, 2rem);
    letter-spacing: 0.08em;
    color: #212121;
}

.page-title-hasimg .breadlist {
    margin-right: 4%;
    margin-left: auto;
}

.sec-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.sec-title .ttl-ja {
    font-family: var(--main);
    font-weight: 700;
    font-size: 40px;
    font-size: clamp(1.25rem, 0.947rem + 1.29vw, 2.5rem);
    letter-spacing: 0.08em;
    line-height: 1;
    text-align: center;
    color: #000;
}

.sec-title .ttl-en {
    font-family: var(--eng);
    font-weight: 700;
    font-size: 22px;
    font-size: clamp(1.125rem, 1.064rem + 0.26vw, 1.375rem);
    letter-spacing: 0.08em;
    text-align: center;
    color: #acacac;
}

.title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 80px;
}

.title.center {
    align-items: center;
}

.title .ttl-ja {
    font-family: var(--main);
    font-weight: 700;
    font-size: 40px;
    font-size: clamp(1.75rem, 1.568rem + 0.78vw, 2.5rem);
    letter-spacing: 0.08em;
    line-height: 1;
    text-align: left;
    color: #000;
}

.title .ttl-en {
    font-family: var(--main);
    font-weight: 700;
    font-size: 22px;
    font-size: clamp(1.125rem, 1.064rem + 0.26vw, 1.375rem);
    letter-spacing: 0.08em;
    color: #acacac;
    text-transform: uppercase;
}


/* 教室一覧 */
.t_school .inner-8 {
    padding: 135px 0 180px;
}

.t_school .sec-head,
.t_school .sec-body {
    width: 90%;
    margin: 0 auto;
}

.t_school .sec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 56px;
}

.t_school .sec-head .desc p {
    font-family: var(--main);
    font-weight: 700;
    font-size: 20px;
    font-size: clamp(1rem, 0.97rem + 0.13vw, 1.125rem);
    letter-spacing: 0.08em;
    line-height: 32px;
    text-align: left;
    color: #212121;
}

.t_school .box {
    border-radius: 30px;
    box-shadow: inset 16px 8px 0px rgba(0, 0, 0, 0.08);
    color: #FFF;
}

.t_school .box.blue {
    background: #489fe4;
    margin-bottom: 18px;

}

.t_school .box.red {
    background: #d32e26;
    margin-bottom: 40px;
}

.t_school .box .box-inner {
    padding: 40px 80px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8%;
}

.t_school .pref-name {
    font-family: var(--main);
    font-weight: 700;
    font-size: 40px;
    font-size: clamp(1.25rem, 0.947rem + 1.29vw, 2.5rem);
    letter-spacing: 0.08em;
    line-height: 1;
    text-align: left;
    color: #fff;
}

.t_school .box.blue .city-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 0px 0px;
    grid-template-areas:
        "kyoto kyoto kyoto kyoto kyoto"
        "uji uji saikyou saikyou saikyou"
        "ukyou ukyou mukou mukou mukou";
    row-gap: 40px;
}

.t_school .box.red .city-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 0px 0px;
    grid-template-areas:
        "ibaraki ibaraki ibaraki ibaraki ibaraki";
    row-gap: 40px;
}

.t_school .box .city-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.t_school .box .city-group p {
    font-family: var(--main);
    font-weight: 700;
    font-size: 20px;
    font-size: clamp(1rem, 0.939rem + 0.26vw, 1.25rem);
    letter-spacing: 0.04em;
    line-height: calc(32/20);
    text-align: left;
    color: #fff;
}

.t_school .box .city-group .link {
    display: grid;
    gap: 16px;
}

.t_school .box .city-group .link a {
    padding: 0 15px;
    display: block;
    border-radius: 26px;
    background: #FFF;
}

.t_school .box .city-group .link p {
    font-family: var(--main);
    font-weight: 700;
    font-size: clamp(1rem, 0.875rem + 0.21vw, 1.125rem);
    letter-spacing: 0.04em;
    line-height: 52px;
    text-align: center;
}

.t_school .box.blue .city-group .link a {
    border: 2px solid #489fe4;
}

.t_school .box.blue .city-group .link p {
    color: #489fe4;
}

.t_school .box.blue .city-group .link a:hover {
    background: #489fe4;
    border: 2px solid #fff;
}

.t_school .box.red .city-group .link a {
    border: 2px solid #D32E26;
}

.t_school .box.red .city-group .link p {
    color: #D32E26;
}

.t_school .box.red .city-group .link a:hover {
    background: #D32E26;
    border: 2px solid #fff;
}

.t_school .box .city-group .link a:hover p {
    color: #fff;
}

.t_school .box .city-group .link.col-5 {
    display: flex;
}

.t_school .box .city-group .link.col-2 {
    grid-template-columns: repeat(2, 1fr);
}

.t_school .box .city-group .link.col-3 {
    grid-template-columns: repeat(3, 1fr);
}

.t_school .box.blue .kyoto {
    grid-area: kyoto;
}

.t_school .box.blue .uji {
    grid-area: uji;
}

.t_school .box.blue .saikyou {
    grid-area: saikyou;
}

.t_school .box.blue .ukyou {
    grid-area: ukyou;
}

.t_school .box.blue .mukou {
    grid-area: mukou;
}

.t_school .box.red .ibaraki {
    grid-area: ibaraki;
}

.t_school .morebtn {
    margin-left: auto;
}

/* 問い合わせ */
.t_contact .box {
    border-radius: 30px;
    padding: 24px;
    background: url(/system_panel/uploads/images/20260212054328987822.png) no-repeat left/cover;
}

.t_contact .box .box-inner {
    padding: 93px 0;
    border-radius: 20px;
    background: #fffeea;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.t_contact .sec-head {
    margin-bottom: 56px;
}

.t_contact .sec-body {
    width: 100%;
}

.t_contact .sec-title {
    align-items: center;
}

.t_contact .sec-title .ttl-en {
    font-family: var(--eng);
    font-weight: 700;
    font-size: 64px;
    font-size: clamp(2rem, 1.515rem + 2.07vw, 4rem);
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
}

.t_contact .sec-title .ttl-ja {
    font-family: var(--main);
    font-weight: 700;
    font-size: 22px;
    font-size: clamp(1.125rem, 1.064rem + 0.26vw, 1.375rem);
    letter-spacing: 0.08em;
    text-align: center;
    color: #acacac;
}

.t_contact .desc {
    margin-bottom: 80px;
}

.t_contact .desc p {
    text-align: center;
    font-weight: 400;
}

.t_contact .tellink {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    margin-bottom: 40px;
    transition: .4s ease;
}

.t_contact .tellink .icon {
    max-width: 49px;
    width: 10%;
}

.t_contact .tellink:hover {
    opacity: 50%;
}

.t_contact .tellink p {
    font-family: var(--eng);
    font-weight: 700;
    font-size: 56px;
    font-size: clamp(1.625rem, 1.17rem + 1.94vw, 3.5rem);
    text-align: center;
    color: #489fe4;
}

.t_contact .btnarea {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}


/* レッスンバナー */
.t_banner .inner-12 {
    padding: 119px 0 59px;
}

.t_banner .inner-12 a {
    position: relative;
    display: block;
}



.t_banner .inner-12 a .arrow {
    width: 80px;
    height: 80px;
    background: #d32e26;
    border: 2px solid #d32e26;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 40px;
    top: 0;
    bottom: 0;
    margin: auto;
}

.t_banner .inner-12 a .arrow::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 16px;
    height: 14px;
    background: url(/system_panel/uploads/images/20260211044618651726.svg) no-repeat center / contain;
}

.t_banner .inner-12 a:hover .arrow {
    background-color: #FFF;
}

.t_banner .inner-12 a:hover .arrow::before {
    background: url(/system_panel/uploads/images/20260211045916539537.svg) no-repeat center/contain;
}

/* ループスライダー */
.infinite-slider {
    overflow: hidden;
    width: 100%;
    height: 324px;
    margin-bottom: 160px;
}

.infinite-slider .slider-inner {
    display: flex;
    width: fit-content;
    gap: 40px;
    height: 100%;
    animation: loop-slide 20s linear infinite;
}

.infinite-slider .slide-item {
    flex-shrink: 0;
    border-radius: 20px;

}

.infinite-slider .slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

@keyframes loop-slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

    /* 全体の半分まで行ったら最初に戻る */
}

@media (max-width: 1220px) {
    .t_school .box .box-inner {
        padding: 40px;
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .header .inner-4 {
        padding: 20px 0 30px;
    }

    .header .h_logo {
        max-width: 152px;
    }
}

@media (max-width: 960px) {
    .page-title .inner-12 {
        padding: 180px 0 100px;
    }

    .page-title-hasimg .inner-4 {
        padding: 120px 0 100px;
    }

    .morebtn.green {
        padding-left: 16px;
        max-width: 320px;
    }

    .morebtn.green .icon {
        width: 20px;
        margin-right: 8px;
    }


    .t_school .inner-8 {
        padding: 100px 0;
    }

    .t_school .sec-head,
    .t_school .sec-body {
        width: 100%;
        flex-direction: column;
        gap: 30px;
    }

    .t_school .sec-head .sec-title {
        align-items: center;
    }

    .t_school .sec-head .desc p {
        text-align: center;
    }

    .t_school .box {
        box-shadow: inset 8px 10px 0px rgba(0, 0, 0, 0.08);
    }

    .t_school .box .box-inner {
        padding: 40px 25px;
    }

    .t_school .box.blue .city-list {
        grid-template-rows: auto auto auto;
        gap: 40px 20px;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "kyoto kyoto"
            "uji saikyou"
            "ukyou mukou";
    }

    .t_school .box .city-group .link.col-5 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .t_school .box .city-group .link.col-2,
    .t_school .box .city-group .link.col-3 {
        grid-template-columns: 1fr;
    }

    .t_school .morebtn {
        margin: 0 auto;
        width: 70%;
    }

    .t_contact .box {
        padding: 10px;

    }

    .t_contact .sec-body {
        width: 90%;
        margin: 0 auto;
    }

    .t_contact .btnarea {
        flex-direction: column;
    }

    .page-title-hasimg .inner-4 .box {
        padding: 10px;
        max-height: none;
    }

    .page-title-hasimg .inner-4 .box .box-inner .img img,
    .page-title-hasimg .inner-4 .box .box-inner .img {
        border-radius: 20px 20px 0 0;
    }

    .page-title-hasimg .inner-4 .box .box-inner .img {
        height: 240px;
    }

    .page-title-hasimg .inner-4 .box .box-inner {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .page-title-hasimg .inner-4 .box .box-inner .title {
        padding-top: 0;
        width: 90%;
        margin: 0 auto;

    }

    .page-title-hasimg .breadlist {
        margin-right: 0;
    }

    .title {
        margin-bottom: 40px;
    }

    .t_banner .inner-12 a .arrow {
        width: 30px;
        height: 30px;
        right: 7px;
    }

    .t_banner .inner-12 a .arrow::before {
        width: 8px;
        height: 7px;
    }


}