@charset "UTF-8";

/* ========================================================
    base
======================================================== */
html {
    font-size: 45%;
    /* font-size: 62.5%; */
    scroll-behavior: smooth;
    scroll-padding: 5rem;
}

@media screen and (max-width:1080px) {
    html {
        font-size: 0.925vw;
    }
}

@media screen and (max-width:749px) {
    html {
        font-size: 1.33vw;
    }
}


body {
    margin: 0;
    font-family: "Hiragino Sans", sans-serif;
    color: #111;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    display: block;
    text-decoration: none;
    transition: .2s;
}

.button {
    cursor: pointer;
}

a:hover,
.button:hover {
    opacity: 0.7;
}

.on_pc {
    display: block;
}

.on_sp {
    display: none;
}

@media (max-width:749px) {
    .on_pc {
        display: none !important;
    }

    .on_sp {
        display: block !important;
    }
}

.position_box {
    position: relative;
}

.position_item {
    position: absolute;
}


/* ========================================================
    header
======================================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0px 2px 5px 0px rgb(226, 226, 226);
}

.header_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20rem;
    padding: 2rem;
}

.header_inner>* {
    min-width: 0;
}

.head_logo {
    width: 100%;
    max-width: 50rem;
    flex: 1 1 0%;
}

@media screen and (max-width:749px) {
    .header_inner {
        gap: 0;
        padding: 2.5rem 2rem;
    }

    .head_logo {
        max-width: 54.8rem;
        flex: initial;
    }
}

/* header right */
.header_right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2.5rem;
    flex: 1 1 0%;
}

.header_link {
    display: flex;
    gap: 1rem;
}

.header_link a:first-of-type img,
.header_link a:last-of-type img {
    height: 4.5rem;
    width: 100%;
}

@media screen and (max-width:749px) {
    .header_right {
        gap: 0;
        flex: initial;
    }

    .header_link {
        display: none;
    }
}


/* ======================================
    open_btn
====================================== */
.open_btn {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    background: none;
    border: none;
}

.open_btn span {
    width: 3.5rem;
    height: .3rem;
    background: #006;
    transition: 0.3s;
}

@media screen and (max-width:749px) {
    .open_btn {
        gap: .8rem;
    }

    .open_btn span {
        width: 5.6rem;
    }
}


/* ======================================
    nav (modal inner)
====================================== */
.nav_list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3.2rem 4rem;
    margin: 0 auto 4.8rem;
}

.nav_list li {
    display: flex;
    align-items: center;
    width: calc(50% - 2rem);
    height: 7rem;
    padding-bottom: 1.6rem;
    border-bottom: 2px solid #D3D3D3;
}

.nav_list a {
    position: relative;
    color: #28317B;
    font-size: 2.4rem;
    font-weight: 700;
    width: 100%;
}

.nav_list a::after {
    content: "";
    position: absolute;
    background-image: url("../image/nav_list_icon.svg");
    background-size: contain;
    background-repeat: no-repeat;
    width: 2rem;
    height: 1.5rem;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.nav_link_box {
    width: 63.8rem;
    margin: auto;
}

.nav_link a {
    margin-bottom: .5rem;
}

.nav_link p {
    font-size: 2.8rem;
    text-align: center;
    font-weight: 600;
}

.nav_link_btn {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin: 2rem 0;
}

@media (max-width:749px) {
    .nav_list li {
        height: 8rem;
    }

    .nav_list a {
        font-size: 2.1rem;
    }

    .nav_link_box {
        width: 100%;
    }
}


/* ======================================
    modal
====================================== */
.modal {
    position: fixed;
    inset: 0;
    background: #F3F7FF;
    display: none;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal_content {
    background: #fff;
    width: 97.6rem;
    max-width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 5.5rem;
    position: relative;
}

/* Chrome / Safari 用 */
.modal_content::-webkit-scrollbar {
    width: .5rem;
}

.modal_content::-webkit-scrollbar-track {
    background: #f0f0f0;
}

.modal_content::-webkit-scrollbar-thumb {
    background: #28317B;
    border-radius: 1rem;
}

@media (max-width:749px) {
    .modal_content {
        width: 95%;
        padding: 5.5rem 3.2rem;
    }
}


/* ======================================
    accordion
====================================== */
.header .accordion_content {
    max-height: 0;
    overflow: hidden;
    transition: 0.3s;
}

/* 開いた状態 */
.header .accordion.active .accordion_content {
    max-height: 0;
}

.header .accordion_trigger {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #006;
    font-size: 2.4rem;
    font-weight: 600;
    text-decoration-line: underline;
    width: fit-content;
    margin: 0 auto 2rem;
}

.header .accordion_trigger svg {
    width: 2.4rem;
    height: 1.2rem;
    transition: 0.3s;
    transform: rotate(180deg);
}

.header .accordion.active .accordion_trigger svg {
    transform: rotate(0);
}


/* ======================================
    clode btn
====================================== */
.header .modal_close {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    background-color: #28317B;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 600;
    padding: 1rem;
    width: 16.25rem;
    margin: 4.8rem auto 0;
}

.header .modal_close svg {
    width: 1.8rem;
    height: 1.8rem;
}

@media (max-width:749px) {
    .header .modal_close {
        font-size: 2.4rem;
        width: 26rem;
        padding: 1.6rem;
    }
}


/* ========================================================
    mv
======================================================== */
.mv h1 {
    width: 78%;
    top: 50.5%;
    left: -2%;
    right: 0;
    margin: auto;
    z-index: 2;
}

/* ======================================
slider
====================================== */
.mv_slider {
    width: 47%;
    top: 14%;
    right: 9%;
}

.mv_slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width:749px) {
    .mv h1 {
        top: 55%;
        width: 98%;
        left: 0;
    }

    .mv_slider {
        width: 100%;
        top: 24%;
        left: 0;
        right: 0;
        margin: auto;
    }
}


/* ========================================================
    offer_wrap
======================================================== */
.offer {
    background-color: #D5E1F5;
    background-image: radial-gradient(circle, #bcc8e3 .3rem, transparent .3rem);
    background-position: 0 0;
    background-size: 3.5rem 3.5rem;
}

/* offer04 */
.offer04 {
    background-color: #798FDC;
    background-image: radial-gradient(circle, rgba(188, 200, 227, 0.3) 0.3rem, transparent 0.3rem);
    background-position: 0 0;
    background-size: 3.5rem 3.5rem;
    padding: 5rem 0;
}

.offer .inner {
    width: 69rem;
    margin: auto;
}

.offer_btn_wrap {
    display: flex;
    flex-direction: column;
    margin: 3.2rem auto;
    gap: .5rem;
}

.offer_btn_wrap img,
.accordion img {
    width: 100%;
}

.offer p {
    font-size: 2.8rem;
    font-weight: 600;
    text-align: center;
}

.offer04 p {
    color: #fff;
}

/* offer01 */
/* offer02 */
.offer01,
.offer02,
.offer03 {
    padding: 4.8rem 0;
}

/* ======================================
    offer accordion
====================================== */
.offer .accordion_content {
    max-height: 0;
    overflow: hidden;
    transition: 0.3s;
}

/* 開いた状態 */
.offer .accordion.active .accordion_content {
    max-height: 0;
}

.offer .accordion_trigger {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #006;
    font-size: 2.4rem;
    font-weight: 600;
    text-decoration-line: underline;
    width: fit-content;
    margin: 0 auto 2rem;
}

.offer .accordion_trigger svg {
    width: 2.4rem;
    height: 1.2rem;
    transform: rotate(180deg);
    transition: 0.3s;
}

.offer .accordion.active .accordion_trigger svg {
    transform: rotate(0);
}

.offer04 .accordion_trigger {
    color: #fff;
}

.offer04 .accordion_trigger svg {
    transform: rotate(0);
}

.offer04 .accordion.active .accordion_trigger svg {
    transform: rotate(180deg);
}


/* ========================================================
    about
======================================================== */
.about {
    background-image: url("../image/about_bg.webp");
    background-size: cover;
    background-repeat: no-repeat;
    padding: 3rem 0 3rem;
    scroll-margin-top: 3rem;
}

.about img {
    width: 70.5rem;
    margin: auto;
}

@media (max-width:749px) {
    .about {
        padding: 3rem 2rem;
    }
}


/* ========================================================
    features
======================================================== */
.features {
    background-color: #F3F7FF;
    padding: 5.6rem 0;
}

.features .inner {
    width: 96rem;
    margin: auto;
}

.features_ttl {
    width: 45.5rem;
    margin: 0 auto 4.8rem;
}

/* ======================================
features_item
====================================== */
.features_item {
    background-color: #fff;
    padding: 4.8rem 4rem;
    box-shadow: .3rem .3rem 1rem -.6rem #777777;
}

.features_item:not(:last-child) {
    margin-bottom: 2rem;
}

/* ======================================
    features_item accordion
====================================== */
.features_item .accordion_content {
    max-height: 0;
    overflow: hidden;
    transition: 0.3s;
}

/* 開いた状態 */
.features_item .accordion.active .accordion_content {
    max-height: 0;
}

.features_item .accordion_trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: #fff;
    background-color: #5984DA;
    font-size: 2.4rem;
    font-weight: 600;
    text-align: center;
    width: 100%;
    margin: 3.6rem auto 0;
    padding: 1.2rem 0;
}

.features_item .accordion_trigger svg {
    right: 2rem;
    top: 40%;
    width: 2.4rem;
    height: 1.2rem;
    transition: 0.3s;
    transform: rotate(180deg);
}

.features_item .accordion.active .accordion_trigger svg {
    transform: rotate(0);
}

@media (max-width:749px) {
    .features .inner {
        width: 100%;
    }
}


/* ========================================================
    voice
======================================================== */
.voice {
    background-color: #F3F7FF;
    padding: 5rem 0 6.8rem;
}

/* ======================================
slider
====================================== */
.voice_slider_wrap {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.voice_slider {
    width: 100%;
}

.voice .swiper-slide {
    width: 66rem;
}

/* ======================================
btn
====================================== */
.voice_btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 6rem;
    height: 6rem;
    z-index: 10;
    cursor: pointer;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.voice_prev {
    left: calc(50% - 33rem - 4rem);
    background-image: url("../image/voice_slide_btn.svg");
}

.voice_next {
    right: calc(50% - 33rem - 2rem);
    background-image: url("../image/voice_slide_btn02.svg");
}

/* ======================================
pagination
====================================== */
.voice_pagination {
    margin: 2rem auto 0;
    width: fit-content !important;
    z-index: 10;
}

.voice_pagination .swiper-pagination-bullet {
    width: 1.6rem;
    height: 1.6rem;
    background: #A8A8A8;
    opacity: 1;
    margin: 0 .8rem !important;
}

.voice_pagination .swiper-pagination-bullet-active {
    background: #444444;
}


/* ========================================================
    reason
======================================================== */
.reason {
    background-image: url("../image/reason_bg_pc.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    padding: 8rem 0;
}

.reason .inner {
    width: 91rem;
    margin: auto;
}

.reason_ttl {
    width: 67.2rem;
    margin: 0 auto;
}

.reason_item {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    justify-content: center;
    margin-top: 9.8rem;
}

@media (max-width:749px) {
    .reason {
        background-image: url("../image/reason_bg_sp.webp");
        padding: 8rem 0;
    }

    .reason .inner {
        width: 100%;
    }

    .reason_ttl {
        width: 67.2rem;
    }
}


/* ========================================================
    support_education_bg
======================================================== */
.support_education_bg {
    background-image: url("../image/support_education_bg_pc.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    padding: 4rem 0 5rem;
}

@media (max-width:749px) {
    .support_education_bg {
        background-image: url("../image/support_education_bg_sp.webp");
    }
}

/* ========================================================
    support
======================================================== */
.support {
    margin-bottom: 8rem;
    scroll-margin-top: 5rem;
}

.support .inner {
    width: 90%;
    max-width: 138rem;
    margin: auto;
}

.support_ttl {
    width: 62rem;
    margin: 0 auto 6rem;
}

.support .img01 {
    width: 130rem;
}


/* ========================================================
    education
======================================================== */
.education {
    scroll-margin-top: 5rem;
}

.education .inner {
    width: 70%;
    max-width: 100rem;
    margin: auto;
}

.education .img02 {
    width: 90%;
    max-width: 129.5rem;
    margin: 5.3rem auto 0;
}

@media (max-width:749px) {
    .education .inner {
        width: 90%;
    }

    .education .img02 {
        width: 95%;
        margin-right: 2.5rem;
    }
}

/* ========================================================
    achievements
======================================================== */
.achievements {
    background-image: url("../image/achievements_bg_pc.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    padding: 4rem 0 5rem;
}

.achievements img {
    width: 67rem;
    margin: auto;
}

@media (max-width:749px) {
    .achievements {
        background-image: url("../image/achievements_bg_sp.webp");
    }
}


/* ========================================================
    course
======================================================== */
.course {
    padding: 6.5rem 0 4.5rem;
    background-color: #F3F7FF;
}

.course_ttl {
    width: 57.3rem;
    margin: 0 auto 4rem;
}

/* 画像の暴れ防止（超重要） */
.course_slider img {
    width: 100%;
    height: auto;
    display: block;
}

.course_slider .swiper-slide {
    overflow: hidden;
}

.course_slider .swiper-pagination-bullet {
    width: 1.6rem;
    height: 1.6rem;
    background: #A8A8A8;
    opacity: 1;
    margin: 0 .8rem !important;
}

.course_slider .swiper-pagination-bullet-active {
    background: #444444;
}

/* =========================
    PC（Swiperなし・3列）
========================= */
@media (min-width: 769px) {

    .course_slider_wrap {
        width: 90%;
        margin: 0 auto;
    }

    .course_slider .swiper-wrapper {
        display: flex;
        justify-content: center;
    }

    .course_slider .swiper-slide {
        width: calc((100% - 4rem) / 3);
        flex-shrink: 0;
    }

    .course_pagination {
        display: none;
    }
}

/* =========================
    SP（Swiperあり）
========================= */
@media (max-width: 768px) {
    .course_pagination {
        display: flex;
        justify-content: center;
        margin-top: 1.6rem;
    }
}


/* ========================================================
    activityrse
======================================================== */
.activity {
    background-image: url("../image/activities_bg_pc.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    padding: 4rem 0 7rem;
    scroll-margin-top: 3rem;
}

.activity_ttl {
    width: 92.2rem;
    margin: 0 auto 5rem;
}

.activity_item .activity_ttl {
    width: 38.4rem;
    margin: 0 auto 2.5rem;
}

.activity_item .main_img {
    width: 113rem;
    max-width: 90%;
    margin: auto;
}

.activity_item:first-of-type {
    margin-bottom: 3.4rem;
    width: 100%;
}

/* 流れるアニメーション */
.scroll_wrap {
    overflow: hidden;
    width: 100%;
}

.scroll_track {
    display: flex;
    width: max-content;
}

.scroll_track:nth-child(1) {
    animation: loop 30s linear infinite;
}

.scroll_track:nth-child(2) {
    animation: loop 30s linear .2s infinite;
}

.scroll_track img {
    height: 20.2rem;
    width: auto;
    flex-shrink: 0;
}

/* ←ここ重要：50%禁止 */
@keyframes loop {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .activity {
        background-image: url("../image/activities_bg_sp.webp");
    }

    .activity_ttl {
    width: 68.6rem;
}

    .activity_item {
        max-width: 100%;
    }
}


/* ========================================================
    question
======================================================== */
.question {
    padding: 5.6rem 0;
    background-color: #F3F7FF;
}

.question_ttl {
    width: 40rem;
    margin: 0 auto 5.6rem;
}

.question .inner {
    width: 90%;
    max-width: 96rem;
    margin: auto;
}

.q_item {
    padding-bottom: 4rem;
    border-bottom: none;
    background-image: repeating-linear-gradient(to right,
            #DFE1F3 0,
            #DFE1F3 6px,
            transparent 6px,
            transparent 12px);
    background-position: left bottom;
    background-size: 100% 2px;
    background-repeat: no-repeat;
    margin-top: 3.2rem;
}

.q_txt {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1.6rem;
}

.q_txt::before {
    content: "";
    display: block;
    background-image: url("../image/question_icon.svg");
    background-size: contain;
    background-repeat: no-repeat;
    width: 6.2rem;
    height: 6.2rem;
}

.a_txt {
    font-size: 2rem;
    font-weight: 500;
}

.a_txt a {
    display: inline;
    color: #5984DA;
    text-decoration: underline;
}


/* ========================================================
    footer
======================================================== */
footer {
    padding: 6.4rem 0 20rem;
}

.footer_logo {
    width: 61rem;
    margin: auto;
}

footer p {
    text-align: center;
    display: block;
    margin: 4rem auto 0;
}

@media (max-width: 768px) {
    .footer_logo {
        width: 60rem;
    }

    footer {
        padding: 6.4rem 0 16rem;
    }
}


/* ========================================================
    floating
======================================================== */
.floating_btn {
    display: none;
}

@media (max-width: 768px) {
    .floating_btn {
        position: fixed;
        bottom: 2rem;
        display: flex;
        justify-content: center;
        gap: .5rem;
        padding: 0 2rem;
        z-index: 1000;
    }

    .floating_btn a {
        width: 50%;
    }
}