@charset "utf-8";



.header .h_logo {
    display: none;
}

.bg-fv {
    position: relative;
    z-index: 5;
}

.bg-fv::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 95%;
    background: #fffddd;
    border-radius: 0 0 100px 100px;
    z-index: -1;
}

.fv {
    margin: 0 2% 91px;
    padding-top: 32px;
}

.fv .fv-img {
    position: relative;
}

.fv .fv-img>img {
    width: 100%;
    height: auto;
}

.fv .fv-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: fit-content;
    height: fit-content;
}

.fv .fv-text .top-text {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fv .fv-text .top-text .cross {
    font-family: var(--main);
    font-weight: 700;
    font-size: 56px;
    font-size: clamp(2.125rem, 1.791rem + 1.42vw, 3.5rem);
    text-align: center;
    color: #fff;
}

.fv .fv-text .top-text .circle {
    font-family: var(--main);
    font-weight: 700;
    font-size: 32px;
    font-size: clamp(1.5rem, 1.379rem + 0.52vw, 2rem);
    line-height: 54px;
    line-height: clamp(2rem, 1.636rem + 1.55vw, 3.5rem);
    padding: 0 48px;
    border-radius: 27px;
    text-align: center;
    color: #fff;
}

.fv .fv-text .top-text .red {
    background: #d32e26;
}

.fv .fv-text .top-text .blue {
    background: #489fe4;
}

.fv .fv-text .title {
    font-family: var(--main);
    font-weight: 700;
    font-size: 48px;
    font-size: clamp(1.75rem, 1.447rem + 1.29vw, 3rem);
    text-align: center;
    color: #fff;
    margin-bottom: 32px;
}

.fv .fv-text .fv-logo {
    max-width: 493px;
    width: 86%;
    margin: auto;
}


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

.sec-title .ttl-en {
    text-transform: uppercase;
    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: left;
}

.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: left;
    color: #acacac;
}

.t_news .inner {
    margin: 0 6%;
    display: flex;
    align-items: flex-start;
    gap: 4%;
    justify-content: space-between;
}

.t_news .sec-body {
    margin-top: 39px;
    flex: 1;
}

.t_news .sec-body .top {
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
}

.t_news .sec-body .top .text {
    display: flex;
    align-items: center;
    font-family: var(--main);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
    font-size: clamp(1.125rem, 1.095rem + 0.13vw, 1.25rem);
    letter-spacing: 0.04em;

    text-align: left;
    color: #212121;
    gap: 16px;
}

.t_news .sec-body .morebtn {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 248px;
    width: 100%;
}







.t_news .sec-title .ttl-en {
    font-size: 48px;
    font-size: clamp(1.5rem, 1.136rem + 1.55vw, 3rem);
}

.t_news .sec-title .ttl-en span:nth-child(1),
.t_news .sec-title .ttl-en span:nth-child(4) {
    color: #D32E26;
}

.t_news .sec-title .ttl-en span:nth-child(2) {
    color: #F2E300;
}

.t_news .sec-title .ttl-en span:nth-child(3) {
    color: #489FE4;
}

.t_news .sec-body .webgene-blog {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    gap: 24px;

}

.t_news .sec-body .webgene-blog .imgBx01:hover {
    opacity: 50%;
}

.t_news .sec-body .webgene-blog .webgene-item-main-image,
.t_news .sec-body .webgene-blog video {
    aspect-ratio: 1/1;
    width: 100%;
}

.t_news .sec-body .webgene-blog .py-3 {
    padding: 0 !important;
}

.t_news .sec-body .webgene-blog .imgBx01 {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
    transition: .4s ease;

}

.t_news .sec-body .webgene-blog .imgBx01 img {
    border-radius: 10px;
}

.t_concept {
    overflow: hidden;
}

.t_concept .text {
    width: 50%;
    margin: 0 auto;
}

.t_concept .sec-title {
    margin-bottom: 123px;
}

.t_concept .sec-title .main {
    font-family: var(--main);
    font-weight: 700;
    font-size: 48px;
    font-size: clamp(1.5rem, 1.136rem + 1.55vw, 3rem);
    letter-spacing: 0.08em;
    line-height: calc(80/48);
    color: #000;
}

.t_concept .sec-title .colorful span:nth-child(1),
.t_concept .sec-title .colorful span:last-child {
    color: #000;
}

.t_concept .sec-title .colorful span:nth-child(2) {
    color: #D32E26;
}

.t_concept .sec-title .colorful span:nth-child(3) {
    color: #F2E300;
}

.t_concept .sec-title .colorful span:nth-child(4),
.t_concept .sec-title .colorful span:nth-child(5),
.t_concept .sec-title .colorful span:nth-child(6) {
    color: #489FE4;
}

.t_concept .desc {
    width: fit-content;
    margin-bottom: 100px;
    margin-left: auto;
}

.t_concept .desc p {
    font-weight: 700;
    color: #212121;
    font-size: 20px;
    font-size: clamp(1.125rem, 1.095rem + 0.13vw, 1.25rem);
    letter-spacing: 0.08em;
    line-height: 2;
    text-wrap: pretty;
}

.t_concept .inner-8 {
    position: relative;
    padding: 163px 0 263px;
}

.t_concept .inner-8 .img01,
.t_concept .inner-8 .img02,
.t_concept .inner-8 .img03 {
    z-index: -1;
}

.t_concept .inner-8 .img01 {
    position: absolute;
    max-width: 193px;
    width: 16%;
    height: auto;
    border-radius: 20px;
    top: 355px;
    right: 81px;
}



.t_concept .inner-8 .img02 {
    position: absolute;
    max-width: 402px;
    width: 32%;
    height: auto;
    border-radius: 20px;
    left: 0;
    bottom: 193px;
}

.t_concept .inner-8 .img03 {
    position: absolute;
    max-width: 264px;
    width: 21%;
    height: auto;
    border-radius: 20px;
    right: 127px;
    bottom: 60px;
}

.t_concept .inner-8 .img01::before {
    content: "";
    background: url(/system_panel/uploads/images/20260211132831763913.png) no-repeat center/contain;
    width: 198px;
    height: 222px;
    position: absolute;
    top: -127px;
    right: -130px;
    z-index: -1;
}

.t_concept .inner-8 .img02::before {
    content: "";
    background: url(/system_panel/uploads/images/20260211132831703420.png) no-repeat center/contain;
    width: 291px;
    height: 291px;
    position: absolute;
    top: -142px;
    left: -68px;
    z-index: -1;
}

.t_concept .inner-8 .img03::before {
    content: "";
    background: url(/system_panel/uploads/images/20260211132831479936.png) no-repeat bottom/contain;
    width: 377px;
    height: 455px;
    position: absolute;
    bottom: -60px;
    left: 63px;
    z-index: -1;
}

.t_concept .morebtn {
    margin: 0 auto;
}

.t_features {
    border-radius: 100px 100px 0px 0px;
    background: #fffddd;
}

.t_features .inner-12 {
    padding: 100px 0 160px;
}

.t_features .sec-title {
    margin-bottom: 80px;
}

.t_features .sec-body {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5%;
}

.t_features .sec-body .item .img {
    position: relative;
    margin-bottom: 72px;
}

.t_features .sec-body .item .num {
    position: absolute;
    bottom: -48px;
    left: 25px;
    font-family: var(--eng);
    font-weight: 700;
    font-size: 80px;
    font-size: clamp(2.5rem, 1.893rem + 2.59vw, 5rem);
    letter-spacing: 0.04em;
}

.t_features .sec-body .item:nth-child(1) .num {
    color: #d32e26;
}

.t_features .sec-body .item:nth-child(2) .num {
    color: #F2E300;
}

.t_features .sec-body .item:nth-child(3) .num {
    color: #489FE4;
}

.t_features .sec-body .item .main {
    font-family: var(--main);
    font-weight: 700;
    font-size: 26px;
    font-size: clamp(1.125rem, 1.004rem + 0.52vw, 1.625rem);
    letter-spacing: 0.08em;
    line-height: calc(40/26);
    text-align: left;
    color: #000;
    margin-bottom: 32px;
}

.t_class .morebtn {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 154px;
    width: 100%;
    margin-left: auto;
}

.t_class {
    border-radius: 0px 0px 100px 100px;
    background: #fffeea;
}

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

.t_class .sec-title {
    align-items: center;
    margin-bottom: 56px;
}

.t_class .catch {
    margin-bottom: 80px;
}

.t_class .catch p {
    font-family: var(--main);
    font-weight: 700;
    font-size: 24px;
    font-size: clamp(1.063rem, 0.956rem + 0.45vw, 1.5rem);
    letter-spacing: 0.08em;
    line-height: calc(40/24);
    text-align: center;
    color: #212121;
    word-break: auto-phrase;
}

.t_class .main-container {
    display: flex;
    gap: 76px;
    width: 95%;
    margin: 0 auto;
    align-items: flex-start;
    justify-content: center;
}

/* --- サイドメニュー --- */
.t_class .sidebar {
    margin-top: 82px;
    max-width: 214px;
    width: 100%;
    border-radius: 20px;
    background-color: #FFF;
    text-align: center;
    flex-shrink: 0;
}

/* 全てのメニュー項目 */
.t_class .nav-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    font-family: var(--main);
    font-weight: 700;
    font-size: 28px;
    font-size: clamp(1.125rem, 0.973rem + 0.65vw, 1.75rem);
    letter-spacing: 0.08em;
    text-align: center;
    color: #000;
    transition: .4s ease;
}

.t_class .nav-item:hover {
    background-color: #D32E26;
    color: #fff;
}

.t_class .nav-item:nth-child(1) {
    border-radius: 20px 20px 0 0;
}

.t_class .nav-item:last-child {
    border-bottom: none;
}

/* 選択中のメニュー項目 */
.t_class .nav-item.active {
    background-color: #D32E26;
    color: #fff;
    position: relative;
}

.t_class .nav-item:last-child,
.t_class .nav-item:last-child.active {
    border-radius: 0 0 20px 20px;
}

.t_class .nav-item.active::after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 12px solid #d32e26;
    border-right: 0;
    position: absolute;
    left: 100%;
    top: 0;
    bottom: 0;
    margin: auto;
}

/* --- コンテンツエリア --- */
.t_class .content-area {
    flex: 1;
}

/* 全てのカード（最初は消しておく） */
.t_class .class-card {
    display: none;
    background: #fff;
    padding: 32px;
    gap: 40px;
    border-radius: 30px;
    animation: fadeIn 0.4s ease forwards;
}

.t_class .class-card>a {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
}

/* 選択中のカードだけ出す */
.t_class .class-card.active {
    display: flex;
}

.t_class .class-card:hover .class-image img {
    transform: scale(1.2);
}

.t_class .class-card:hover .morebtn .arrow {
    background-color: #FFF;
}

.t_class .class-card:hover .morebtn .arrow::before {
    content: "";
    background: url(/system_panel/uploads/images/20260211045916539537.svg) no-repeat center / contain;
    width: 11px;
    height: 9px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* レイアウト調整用 */
.t_class .class-image {
    max-width: 560px;
    width: 60%;
    border-radius: 20px;
    overflow: hidden;
    flex: 1;
}

.t_class .class-image img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
    transition: .4s ease;
    aspect-ratio: 1/1;
}

.t_class .class-info {
    width: 40%;
    display: flex;
    flex-direction: column;
}

.t_class .class-id {
    font-family: var(--eng);
    font-weight: 700;
    font-size: 24px;
    font-size: clamp(1.25rem, 1.189rem + 0.26vw, 1.5rem);
    letter-spacing: 0.04em;
    text-align: left;
    color: #489fe4;
    margin-bottom: 32px;
}

.t_class .title {
    margin-bottom: 40px;
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
}

.t_class .class-title {
    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;
    text-align: left;
    color: #000;
}

.t_class .t-small {
    font-family: var(--main);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-align: left;
    color: #000;
    font-size: 24px;
    font-size: clamp(1.125rem, 1.034rem + 0.39vw, 1.5rem);
}

.t_class .tag-box {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
}

.t_class .tag {
    border-radius: 17px;
    background: #489fe4;
    color: #fff;
    font-family: var(--eng);
    font-weight: 700;
    font-size: 18px;
    font-size: clamp(1rem, 0.97rem + 0.13vw, 1.125rem);
    text-align: center;
    line-height: 34px;
    padding: 0 18px;
}

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

.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 {
    grid-template-columns: repeat(5, 1fr);
}

.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_instructor .inner-4 {
    padding-bottom: 120px;
}

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

.t_instructor .instructor {
    width: 81%;
    margin: 0 auto;
    padding: 122px 0 80px;
    perspective: 1200px;
}

.t_instructor .instructor .swiper-wrapper {
    transform-style: preserve-3d;
}

.t_instructor .instructor .swiper-slide {
    width: 250px;
    transition: 0.3s;
}

/* 中央のスライドを大きく、浮き上がらせる */
.t_instructor .instructor .swiper-slide-active {
    transform: scale(1.3) !important;
    /* 少し下げて谷の底に見せる */
}

.t_instructor .instructor .image-box img {
    width: 100%;
    height: auto;
    display: block;
}

.t_instructor .morebtn {
    margin: 0 auto;
}

.t_voice {
    max-width: 1920px;
    width: 100%;
    margin-left: auto;
}

.t_voice .sec-head {
    display: flex;
    margin-right: 8%;
    justify-content: space-between;
    margin-bottom: 80px;
}

.t_voice .voice-nav-wrapper {
    position: relative;
    max-width: 152px;
    width: 100%;
}

.t_voice .bg {
    border-radius: 100px 0px 0px 100px;
    background: #fffeea;
    margin-left: 4%;
}

.t_voice .bg .inner {
    padding: 80px 0;
    margin-left: 4%;
    margin-right: 0;
}

.t_voice .swiper-button-next,
.t_voice .swiper-button-prev {
    width: 56px;
    height: 56px;
    background: #d32e26;
    border: 2px solid #d32e26;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .4s ease;
}

.t_voice .swiper-button-next:hover,
.t_voice .swiper-button-prev:hover {
    background-color: #FFF;
}

.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after,
.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
    content: "";
    background: url(/system_panel/uploads/images/20260211044618651726.svg) no-repeat center / contain;
    width: 11px;
    height: 9px;
}

.swiper-button-prev:hover:after,
.swiper-rtl .swiper-button-next:hover:after,
.swiper-button-next:hover:after,
.swiper-rtl .swiper-button-prev:hover:after {
    background: url(/system_panel/uploads/images/20260211045916539537.svg) no-repeat center/contain;
}


.t_voice .swiper-button-prev::after {
    transform: scale(-1);
}

.t_voice .swiper-slide {
    padding-top: 27px;
    width: 681px;
    position: relative;
}

.t_voice .swiper-slide::before {
    content: "";
    position: absolute;
    left: 32px;
    top: 0;
    width: 48px;
    height: 43px;
    z-index: 10;
}

.t_voice .swiper-slide.red::before {
    background: url(/system_panel/uploads/images/20260212061539813581.svg) no-repeat center/contain;
}

.t_voice .swiper-slide.blue::before {
    background: url(/system_panel/uploads/images/20260212061539572603.svg) no-repeat center/contain;
}

.t_voice .swiper-slide.yellow::before {
    background: url(/system_panel/uploads/images/20260212061539518577.svg) no-repeat center/contain;
}

.t_voice .swiper-slide .box-inner {
    background-color: #FFF;
    border-radius: 30px;
    padding: 48px 80px 39px;
}

.t_voice .swiper-slide .title {
    font-family: var(--main);
    font-weight: 700;
    font-size: 24px;
    font-size: clamp(1.125rem, 1.034rem + 0.39vw, 1.5rem);
    letter-spacing: 0.08em;
    line-height: calc(36/24);
    text-align: left;
    color: #000;
    padding-bottom: 40px;
    margin-bottom: 40px;
    position: relative;
    word-break: auto-phrase;
}

.t_voice .swiper-slide .title::after {
    content: "";
    background-size: 100% 2px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    display: inline-block;
    width: 100%;
    height: 2px;
    position: absolute;
    left: 0;
    bottom: 0;
}

.t_voice .swiper-slide.red .title::after {
    background-image: repeating-linear-gradient(to right, #c84a3b, #c84a3b 8px, transparent 8px, transparent 16px);
}

.t_voice .swiper-slide.yellow .title::after {
    background-image: repeating-linear-gradient(to right, #F2E300, #F2E300 8px, transparent 8px, transparent 16px);
}

.t_voice .swiper-slide.blue .title::after {
    background-image: repeating-linear-gradient(to right, #489FE4, #489FE4 8px, transparent 8px, transparent 16px);
}

.t_voice .swiper-slide .desc {
    margin-bottom: 22px;
}

.t_voice .swiper-slide .name {
    font-family: var(--main);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.04em;
    line-height: 32px;
    text-align: right;
    color: #000;
}

.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%);
    }

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

.t_blog .inner-12 {
    padding-bottom: 160px;
}

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

.t_blog .morebtn {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 171px;
    width: 100%;
}

.t_blog .webgene-blog {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 56px;
}

.t_blog .webgene-blog .blogItem {
    transition: .4s ease;
}

.t_blog .webgene-blog .blogItem:hover {
    opacity: 50%;
}

.t_blog .webgene-blog .blogthum,
.t_blog .webgene-blog .blogthum img {
    border-radius: 10px;
}

.t_blog .webgene-blog .blogthum {
    margin-bottom: 24px;
}

.t_blog .webgene-blog .blogcontents .blogItemTit {
    font-family: var(--main);
    font-weight: 700;
    font-size: 18px;
    font-size: clamp(1rem, 0.97rem + 0.13vw, 1.125rem);
    letter-spacing: 0.04em;
    line-height: calc(32/18);
    text-align: left;
    color: #000;
}

.t_blog .webgene-blog .blogcontents .blogelement {
    display: flex;
    align-items: center;
    gap: 21px;
}

.t_blog .webgene-blog .blogcontents .blogItemTime {
    font-family: var(--main);
    font-weight: 400;
    font-size: 16px;
    text-align: left;
    color: #000;
}

.t_blog .webgene-blog .blogcontents .blogItemCate {
    font-family: var(--main);
    font-weight: 700;
    font-size: 16px;
    line-height: 34px;
    text-align: center;
    color: #489fe4;
    padding: 0 16px;
    border-radius: 50px;
    background: #fff;
    border: 2px solid #489fe4;
}

.t_contact .inner-12 .box {
    border-radius: 30px;
    padding: 24px;
    background: url(/system_panel/uploads/images/20260212054328987822.png) no-repeat left/cover;
}

.t_contact .inner-12 .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 .desc {
    margin-bottom: 80px;
}

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

.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;
}

@media (max-width: 1220px) {
    .t_news .inner {
        flex-direction: column;
    }

    .t_class .class-card.active {
        flex-direction: column;
    }

    .t_class .class-image {
        max-width: 100%;
        width: 100%;
    }

    .t_class .class-info {
        width: 100%;
    }

    .t_school .box .box-inner {
        padding: 40px;
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

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

@media (max-width: 960px) {

    /* FV / Common Area */
    .fv {
        height: 100svh;
        margin: 0 2% 40px;
    }

    .fv .fv-img {
        height: 90%;
        border-radius: 20px;
    }

    .fv .fv-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 20px;
    }

    .bg-fv::before {
        border-radius: 0 0 40px 40px;
    }

    /* News Section */
    .t_news .sec-body .top {
        flex-direction: column;
        gap: 30px;
    }

    /* Concept Section */
    .t_concept .sec-title {
        margin-bottom: 60px;
    }

    .t_concept .text {
        width: 100%;
        margin-bottom: 80px;
    }

    .t_concept .inner-8 .img01 {
        top: 248px;
        right: -9px;
        width: 30%;
    }

    .t_concept .inner-8 .img02 {
        width: 40%;
        bottom: 84px;
    }

    .t_concept .inner-8 .img02::before {
        height: 174px;
        left: -168px;
        top: -50px;
    }

    .t_concept .inner-8 .img03 {
        right: 0;
        width: 36%;
    }

    .t_concept .inner-8 .img03::before {
        height: 300px;
        left: 0;
    }

    .t_concept .desc {
        width: 100%;
        margin: 0 auto 80px;
    }

    .t_concept .morebtn {
        width: 70%;
    }

    /* Features Section */
    .t_features {
        border-radius: 40px 40px 0px 0px;
    }

    .t_features .inner-12 {
        padding: 100px 0 100px;
    }

    .t_features .sec-body {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .t_features .sec-body .item .num {
        bottom: -24px;
    }

    .t_features .sec-body .item .img {
        margin-bottom: 30px;
    }

    .t_features .sec-body .item .main {
        margin-bottom: 16px;
    }

    /* Class Section */
    .t_class {
        border-radius: 0 0 40px 40px;
    }

    .t_class .main-container {
        flex-direction: column;
        width: 100%;
        gap: 40px;
    }

    .t_class .sidebar {
        max-width: 90%;
        margin: 0 auto;
        display: flex;
    }

    .t_class .content-area {
        width: 100%;
    }

    .t_class .nav-item {
        flex: 1;
        border-bottom: 0;
        border-right: 1px solid #f0f0f0;
    }

    .t_class .nav-item:nth-child(1) {
        border-radius: 20px 0 0 20px;
    }

    .t_class .nav-item:last-child,
    .t_class .nav-item.active:last-child {
        border-radius: 0 20px 20px 0;
    }

    .t_class .nav-item.active::after {
        width: 0;
        height: 0;
        border-style: solid;
        border-right: 3px solid transparent;
        border-left: 3px solid transparent;
        border-top: 7px solid #d32e26;
        border-bottom: 0;
        top: 100%;
        left: 0;
        right: 0;
        bottom: auto;
    }

    .t_class .class-card.active {
        gap: 20px;
        padding: 32px 20px;
    }

    .t_class .class-id {
        margin-bottom: 16px;
    }

    .t_class .title,
    .t_class .tag-box {
        margin-bottom: 20px;
    }

    .t_class .desc {
        margin-bottom: 40px;
    }

    /* School Section */
    .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 12px 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,
    .t_instructor .morebtn {
        margin: 0 auto;
        width: 70%;
    }

    .t_instructor .instructor .swiper-slide {
        width: 200px;
    }

    /* Voice Section */
    .t_voice .bg {
        border-radius: 40px;
        margin-left: 0;
    }

    .t_voice .swiper-slide {
        width: 90%;
    }

    .t_voice .swiper-slide .box-inner {
        border-radius: 20px;
        padding: 40px 20px;
    }

    /* Blog Section */
    .t_blog .webgene-blog {
        display: flex;
        flex-direction: column;
    }

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

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

    /* Contact Section */
    .t_contact .inner-12 .box {
        padding: 10px;
    }

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

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


    /* Buttons Area */
    .morebtn.red,
    .morebtn.green {
        height: 60px;
    }

    .morebtn.red .link-text {
        left: 25px;
    }

    .morebtn.red .arrow,
    .morebtn.green .arrow {
        width: 60px;
        height: 60px;
    }

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

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

}



/* 管理画面用 */
.gjs-dashed .t_class .main-container {
    align-items: flex-start;
}

.gjs-dashed .t_class .class-card {
    display: block;
}

.gjs-dashed .t_instructor .instructor .swiper-slide {
    width: calc(100% / 5);
}

.gjs-dashed .t_voice .voice {
    overflow: visible;
}

.gjs-dashed .t_voice .voice .swiper-wrapper {
    flex-direction: column;
    height: auto;
}

.gjs-dashed .infinite-slider {
    overflow: visible;
    height: auto;
}

.gjs-dashed .infinite-slider .slider-inner {
    animation: none;
    flex-wrap: wrap;
    height: auto;
}

.gjs-dashed .infinite-slider .slide-item {
    width: calc(100%/4);
}

.gjs-dashed .infinite-slider .slide-item img {
    height: auto;
}

.gjs-dashed .t_instructor .instructor .swiper-wrapper {
    flex-wrap: wrap;
}

.gjs-dashed .t_instructor .instructor .swiper-slide {
    height: auto;
}

.gjs-dashed .t_class .class-card>a {
    z-index: -1;
}