* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-style: normal;

}



body {
    background-color: #8d844004;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 300;
    font-size: 14px;
}

@media(min-width:768px) {
    body {
        background-color: #8d844004;
        font-family: 'Noto Sans JP', sans-serif;
        font-weight: 300;
        font-size: 16px;
    }
}


/* ヘッダー */

.header-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #6051A0;

}



#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    width: 100%;
    height: auto;
    background-color: #ffffff;

}


.logo1 {
    width: 10rem;
    padding-left: 0.5rem;
    padding-top: 0.5rem;
}

.flex {
    display: flex;
    align-items: center;
}

.mail-icon {
    padding-right: 0.5rem;
    font-weight: 100;
    text-align: center;
}

.mail-icon {
    text-decoration: none;
}

.mail-icon a {
    text-decoration: none;
}

.mail-icon p {
    font-size: 10px;
    color: #6051A0;
    line-height: 0.1;
    padding-bottom: 5px;
}

.material-symbols-outlined {
    color: #6051A0;

}

#header-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s ease;
    box-shadow: 0 0.5rem 0.5rem -0.5rem hsla(278, 87%, 15%, 0.672);
    z-index: 100;
}


.header-navbar-logo a {
    font-size: 18px;
    display: flex;
    align-items: center;
    padding-left: 10px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    line-height: 2;
}

.nav-menu #nav-list {
    display: flex;
    align-items: center;

}

.nav-contact {
    display: none;
    text-align: center;
    color: #6051A0;
    line-height: 1.5;
}



.nav-contact-button {
    display: none;
    width: auto;
    height: 3rem;
    background-color: #6051A0;
    border-radius: 2px;
    margin: 0 1rem;
    color: #ffffff;
    font-weight: 600;
}


.nav-contact p {
    font-size: 12px;
    font-weight: 600;

}

.available {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.nav-contact-button p {
    font-size: 16px;
    text-align: center;
    line-height: 3;
    padding: 0 1rem;
}

.nav-contact-button {
    text-decoration: none;
}

#nav-list li {
    list-style-type: none;
    padding: 0 2rem;
    letter-spacing: 1px;
    line-height: 3;
}

#nav-list li a {
    color: #ffffff;
    text-decoration: none;
    font-style: normal;
    font-size: 16px;
    font-weight: 500;
}

.nav-menu-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 横中央 */
}

.second-nav-list .arrow-down {
    color: #ffffff;
    font-size: 18px;
    padding: 0;
}

.second-nav-menu {
    display: none;

}


#nav-list li a:hover {
    color: #dbf1fb;
    transition: 0.3s;
}



.hmb-wrap {
    max-width: 100%;
    width: 48px;
    height: 50px;
    background-color: #6051A0;
    position: relative;
    margin-right: 0.5rem;
}

.nav-ber #hmb {
    position: relative;
    cursor: pointer;

}

#hmb span {
    position: absolute;
    width: 23px;
    height: 2.5px;
    display: none;
    background-color: #ffffff;
    display: block;
    cursor: pointer;
    justify-content: center;
    transition: 0.2s;
}

.menu-text {
    position: absolute;
    font-size: 10px;
    color: #ffffff;
    left: 50%;
    transform: translateX(-50%);
    top: 32px;
}


.close {
    display: none;
}


#nav-list li {
    display: none;
}

#hmb span:first-child {
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
}


#hmb span:nth-child(2) {
    top: 13px;
    left: 50%;
    transform: translateX(-50%);
}

#hmb span:last-child {
    top: 19px;
    left: 51%;
    transform: translateX(-50%);
}

#hmb span {
    position: relative;
    top: 30px;
    font-size: 5px;
}

/* アクティブ　ハンバーガーメニュー */
.menu-active #hmb span:first-child {
    top: 15px;
    left: 27%;
    transform: rotate(45deg);

}

.menu-active #hmb span:nth-child(2) {
    opacity: 0;
}

.menu-active #hmb span:last-child {
    top: 10px;
    left: 27%;
    transform: rotate(-45deg);

}

.menu-active .menu-text {
    display: none;
}

.menu-active .close {
    display: inline;
    font-size: 10px;
    color: #ffffff;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 32px;
}

.menu-active #nav-list {
    position: fixed;
    right: 0;
    width: 100%;
    top: 4.8rem;
    max-width: 100%;
    height: 100vh;
    display: flex;
    align-items: start;
    background-color: #ffffff;
    transition-property: all;
    padding-top: 2rem;
}




.menu-active #nav-list li {
    display: block;
    position: relative;
    padding: 0.5rem 1rem;
}




.menu-active #nav-list li a {
    color: #6051A0;
    font-weight: 600;
    position: relative;
}




.menu-active #nav-list li {
    position: relative;
}


.menu-active #nav-list li a::after {
    content: ">";
    position: absolute;
    left: 90vw;
    color: #6051A0;
    font-size: 16px;
    font-weight: lighter;
}


.menu-active #nav-list li::after {
    content: '';
    /* 疑似要素はcontentプロパティが必須 */
    position: absolute;
    width: 95vw;
    height: 1px;
    left: 0.5rem;
    top: 3.5rem;
    /* ボーダーの太さ */
    background-color: #5f51a04d;
    transition: width 0.3s ease-in-out;
    z-index: 1;

}

.menu-active #nav-list li:hover:after {
    width: 95vw;
    background-color: #6051A0;
}



.menu-active #nav-list .active-nav-head {
    position: absolute;
    max-width: 100%;
    width: 100%;
    height: 40%;
    top: 55%;
    background-color: #4e408d;
    margin: 0 auto;
    padding: 0;
}

#nav-list .active-nav-head p {
    display: none;
}

.menu-active #nav-list .active-nav-head p {
    display: block;
    color: #ffffff;
    text-align: center;
    padding-top: 3.5rem;
    letter-spacing: 1px;
    font-size: 16px;
    font-weight: 200;
}

.menu-active #nav-list .active-nav-head p.available {
    padding: 0;
}

.active-nav-head div {
    display: flex;
    justify-content: center;
    align-items: center;

}

#nav-list .active-nav-head span {
    display: none;
}

.menu-active #nav-list .active-nav-head span {
    display: block;
    color: #ffffff;
    padding-right: 0.5rem;

}


#nav-list .active-nav-head h2 {
    display: none;
}

.menu-active #nav-list .active-nav-head .tell-num {
    display: block;
    color: #ffffff;
    text-align: center;
    letter-spacing: 2px;
    font-weight: 200;
    font-weight: 600;

}

.menu-active #nav-list .active-nav-head .access-info {
    margin-top: 2rem;
}

.active-access {
    text-decoration: none;
    color: #6051A0;
    letter-spacing: 2px;
}

.active-access div {
    width: 80%;
    height: 20%;
    background-color: #F5CE54;
    margin: 0 auto;
    border-radius: 5px;
    margin: 0 auto;
}

.menu-active #nav-list .active-nav-head h2 {
    display: block;
}

@media (min-width:768px) {
    .menu-active #nav-list {
        position: fixed;
        right: 0;
        width: 100%;
        top: 4.8rem;
        max-width: 100%;
        height: 100vh;
        display: flex;
        align-items: start;
        background-color: #ffffff;
        transition-property: all;
        padding-top: 2rem;
    }



}

@media(min-width:1000px) {
    #header {
        padding: 0 10%;
    }
}




/*　↑ アクティブ ↑ */



.container {
    width: 100%;
    position: relative;
}

.responsive-slider {
    display: none;
}

.phone-size-responsive-slider {
    display: block;
}

.slider-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.sliders {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.25);
    -ms-overflow-style: none;
    margin: 0 auto;
}

.sliders::-webkit-scrollbar {
    display: none;

}



.sliders a {
    flex: 0 0 100%;
    max-width: 768px;
    margin: 0 2%;
    scroll-snap-align: center;
    object-fit: cover;
    padding-top: 5rem;
}

.sliders a img {
    width: 100%;
}

.sliders a.clone {
    scroll-snap-align: none;
    pointer-events: none;
}


.slider-nav {
    display: flex;
    column-gap: 1rem;
    position: absolute;
    bottom: -1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.slider-nav a {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background-color: #5f51a0;
    opacity: 0.55;
    transition: opacity ease 250ms;
}

.slider-nav a:hover {
    opacity: 1;
}


@media (min-width: 768px) {
    .sliders a {
        display: block;
        max-width: 70%;
        flex: 0 0 80%;
        scroll-snap-align: center;
        margin: 0 2%;
        padding-top: 0;
    }

    .phone-size-responsive-slider {
        display: none;
    }

    .responsive-slider {
        display: block;
    }

    .sliders a img {
        margin-top: 6rem;
    }
}



@media (min-width:1000px) {
    .hmb-wrap {
        display: none;
    }

    .nav-content div {
        display: block;
    }

    .nav-contact-button {
        display: block;

    }

    li {
        list-style-type: none;
    }

    .mail-icon {
        display: none;
    }

    .second-nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: auto;
        background-color: #6051A0;
        z-index: 999;
        display: flex;
        justify-content: center;
        align-items: center;
    }


    .second-nav-menu div {
        display: flex;
        justify-content: center;
    }

    .second-nav-menu li a {
        text-decoration: none;
        padding: 0 2rem;
        font-weight: 600;
        letter-spacing: 2px;
        color: #ffffff;

    }


    .second-nav-menu li {
        position: relative;
        line-height: 4;
    }


    .second-nav-menu li:not(:last-child)::after {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        width: 1px;
        height: 1.5em;
        background-color: #ffffff;
        transform: translateY(-50%);
    }

    .sliders img {
        padding-top: 9rem;
    }

    .sliders a img {
        margin-top: 0;
    }
}




@media (min-width:1440px) {
    .sliders img {
        width: 60%;
    }


}

/* メイン */
.main-section {
    padding-top: 3rem;
}

.main-message {
    width: 90%;
    height: auto;
    background-color: #F5CE54;
    border-radius: 5px;
    padding: 1rem;
    margin: 1rem auto;
}

.main-message h3 {
    color: #ffffff;
    line-height: 2;
    text-align: center;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    text-shadow: 5px 3px 5px #00000079;
    font-weight: 500;

}


.main-img-text {
    display: flex;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}



.main-first-text {
    font-size: 14px;
    font-weight: 100;
    color: black;
    max-width: 1000px;
    width: 350px;
    margin: 0 auto;
    text-align: center;
}

.main-second-text h2 {
    padding-top: 3rem;
    font-size: 22px;
    border-bottom: #fff425e1 solid 13px;
    width: 100%;
    line-height: 1px;
    text-align: center;
    margin: 0 auto;
}

.main-second-text p {
    width: 95%;
    padding: 1rem 0;
    padding-bottom: 2rem;
    margin: 0 auto;
    text-align: center;
    font-weight: 600;
}

@media (min-width:768px) {
    .main-message {
        max-width: 70%;
        width: 100%;
        margin-top: 3rem;
    }

    .main-first-text {
        font-size: 18px;
        width: 700px;
    }

    .main-message h3 {
        font-size: 28px;
    }

    .main-img-text {
        width: 60%;
        margin-top: 1rem;
    }

    .main-second-text h2 {
        font-size: 28px;
        width: 80%;
        margin-top: 1rem;
    }

    .main-second-text p {
        width: 88%;
        font-size: 18px;
        margin-bottom: 5rem;
    }
}

@media (min-width:1440px) {
    .main-message {
        margin-top: 5rem;
        max-width: 50%;
        width: 100%;
    }

    .main-first-text {
        padding-top: 2rem;
        font-size: 24px;
        text-align: center;
        font-weight: 600;
    }

    .main-second-text h2 {
        font-size: 30px;
        width: 50%;
        margin: 0 auto;
        margin-top: 2rem;
    }

    .main-second-text p {
        font-size: 20px;
        width: 52%;
        margin: 0 auto;
        padding-bottom: 5rem;
        padding-top: 3rem;
    }

    .main-img-text {
        width: 60%;
    }
}

@media (min-width:1920px) {
    .main-message h3 {
        font-size: 32px;
    }

    .main-first-text {
        font-size: 28px;
    }

    .main-second-text h2 {
        font-size: 36px;
    }

    .main-second-text p {
        font-size: 24px;
    }
}


/* 満足度 */


.survey-topic {
    max-width: 100%;
    width: 95%;
    height: auto;
    background-color: #6051A0;
    border-radius: 5px;
    color: #ffffff;
    text-align: center;
    line-height: 2.5;
    margin: 0 auto;
    margin-top: 1rem;
    font-size: 16px;
}

.ambitious-survey {
    padding: 1rem;
    background-color: #4e408d0a;
    margin-bottom: 3rem;

}

.ambitious-survey p {
    padding-top: 1rem;
    padding-bottom: 2rem;
    font-size: 12px;
    margin: 0 auto;
    width: 95%;

}

.surveys {
    display: flex;
    justify-content: space-around;
    margin-top: 1rem;
}

.surveys img {
    max-width: 50%;
    width: 100%;
}

@media (min-width:768px) {
    .survey-topic {
        font-size: 28px;
        width: 500px;
        height: auto;
        line-height: 2;
    }

    .surveys {
        display: flex;
        justify-content: center;
        margin: 0 auto;

    }

    .surveys img {
        width: 15rem;
        margin: 0 2rem;
    }

    .ambitious-survey {
        margin-bottom: 5rem;
    }

    .ambitious-survey p {
        font-size: 10px;
        width: 76%;
    }
}

@media (min-width:1440px) {
    .ambitious-survey p {
        padding-bottom: 3rem;
        text-align: center;
    }

    .surveys img {
        width: 20rem;
        margin: 0 5rem;
    }

}


/* 3つの特徴 */
.ambitious-strengths h2 {
    color: #6051A0;
    margin: 1rem auto;
    text-align: center;
}

.ambitious-strengths .tag-shape {
    max-width: 100%;
    width: 100%;
    background: #6051A0;
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    clip-path: polygon(0% 0%,
            0% 0%,
            /* 左上 */
            100% 0%,
            /* 右上 */
            100% 70%,
            /* 右下 */
            50% 100%,
            /* 下中央（尖り） */
            0% 70%
            /* 左下 */
        );

}


.strengths-topic {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0.5rem;
    margin-top: 0;
    padding-bottom: 1rem;
}

.strengths-topic span {
    border-radius: 50px;
    width: 3rem;
    height: 3rem;
    background-color: #f9bc04;
    color: #ffffff;
    padding-top: 0.8rem;
    padding-left: 0.1rem;
    margin-right: 1rem;
    letter-spacing: 2px;
    line-height: 2;
    font-weight: 600;
    font-size: 8px;
}

.strengths-topic h4 {
    line-height: 5;
}


.point img {
    display: flex;
    justify-content: center;
    max-width: 90%;
    width: 90%;
    margin: 1rem auto;
    border-radius: 3px;
}

.point p {
    text-align: start;
    color: black;
    width: 90%;
    margin: 0 auto;
    padding-bottom: 1rem;
}

@media (min-width:768px) {
    .ambitious-strengths h2 {
        font-size: 28px;
    }

    .strengths-topic h4 {
        font-size: 24px;
        line-height: 3.5;
    }

    .strengths-topic span {
        width: 3.5rem;
        height: 3.5rem;
        line-height: 1.8;
        font-weight: 600;
        font-size: 10px;
        padding-left: 0.1rem;
    }

    .point p {
        width: 80%;
        padding-bottom: 3rem;
        line-height: 2;

    }

    .point img {
        max-width: 60%;
        width: 100%;
        display: flex;
        margin: 1rem auto;
    }
}

@media (min-width:1200px) {
    .point {
        display: flex;
        align-items: center;
        justify-content: space-around;
        margin: 0.5rem 8rem;

    }

    .point p {
        width: 50%;
        padding: 0;
    }

    .point img {
        width: 30%;
    }



    .strengths-topic {
        margin: 0;
    }
}

@media (min-width:1920px) {
    .point {
        margin: 0.5rem 20rem;
    }


}



/* 合格実績 */
.passing-record {
    max-width: 90%;
    width: 95%;
    border: 5px solid #b66e1b10;
    height: auto;
    background-color: #ffffff;
    margin: 0 auto;
    padding-bottom: 2rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.passing-record img {
    width: 15rem;
    display: flex;
    margin: 0 auto;
    padding-top: 1rem;
}

.school-grade {
    font-weight: 600;
    padding-top: 2rem;
    padding-bottom: 0.5rem;
}

.passing-record ul,
li {
    list-style-type: none;
}

.school-name {
    padding: 0 1rem;

}

@media (min-width:768px) {

    .passing-record {
        padding: 0 2rem;
        padding-bottom: 2rem;
        margin-bottom: 5rem;
        width: 70%;
    }

    .passing-record img {
        width: 12rem;
    }

    .school-grade {
        font-size: 18px;
    }
}

@media (min-width:1440px) {
    .passing-record {
        max-width: 60%;
        padding-bottom: 5rem;
        margin: 5rem auto;

    }

    .passing-record img {
        width: 20rem;
    }

    .school-name {
        line-height: 2;
    }

    .voice-topic {
        max-width: 40%;
        width: 100%;
    }

    .parents-voice-topic {
        max-width: 40%;
        width: 100%;
    }
}


/* 生徒の声 保護者の声 */

.voice-topic {
    background-color: #f9bc04;
    width: 90%;
    height: auto;
    border-radius: 10px;
    margin: 0 auto;
    margin-top: 3rem;
}

.voice-topic h2 {
    text-align: center;
    line-height: 2;
    color: #ffffff;
    font-size: 16px;
}


.people-voice span {
    margin: 0 0.2rem;
}

.people-voice img {
    width: 3rem;
    padding-left: 0.5rem;
}

.add {
    font-size: 10px;
    width: 95%;
    margin: 0 auto;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    color: #000000;
    text-align: center;
}

.comment-wrap {
    max-width: 95%;
    width: 95%;
    height: auto;
    background-color: #FFFCF8;
    border: solid 0.1px #f5cd5471;
    border-radius: 5px;
    color: black;
    margin: 0.5rem auto;

}

.people {
    display: flex;
    align-items: center;
    justify-content: start;
}

.people p {
    padding-left: 1rem;
}

.people span {
    padding-right: 1rem;
}

.comment-wrap .comment {
    max-width: 95%;
    width: 95%;
    height: auto;
    margin: 1rem auto;
    line-height: 1.5;
}

.comment {
    padding-bottom: 1rem;
}


.parents-voice-topic {
    background-color: #6051A0;
    width: 90%;
    height: auto;
    border-radius: 10px;
    margin: 0 auto;
    margin-top: 3rem;
}

.parents-voice-topic h2 {
    text-align: center;
    line-height: 2;
    color: #ffffff;
    font-size: 16px;
}

.parents-comment {
    background-color: #FCFBFF;
    border: solid 0.1px #5f51a085;
}

.people {
    padding-top: 1rem;
}

.people span {
    padding-right: 0.5rem;
}

.people p {
    padding-left: 1rem;
}

.add {
    margin-bottom: 3rem;
}

.add-third {
    text-align: center;
    padding-top: 1rem;
    font-size: 10px;
    max-width: 95%;
    width: 95%;
    margin: 0 auto;
}




@media (min-width:768px) {

    .voice-topic,
    .parents-voice-topic {
        width: 60%;
        height: auto;
        margin-top: 3rem;
    }

    .voice-topic h2,
    .parents-voice-topic h2 {
        font-size: 28px;
    }

    .add {
        text-align: center;
        width: 95%;
        margin: 1rem auto;
        font-size: 14px;
    }

    .comment-wrap {
        width: 650px;
        height: auto;
        margin: 2rem auto;
    }

    .add-third {
        width: 70%;
    }
}

@media (min-width:1440px) {
    .comment-wrap {
        height: auto;
        margin: 0 0.5rem;
        width: 20%;
    }

    .responsive-comment-wrap {
        display: flex;
        justify-content: center;
        margin-top: 2rem;

    }

    .people-voice img {
        width: 4rem;
    }

}

@media (min-width:1920px) {
    .responsive-comment-wrap {
        margin: 2rem 10rem;

    }
}


/* 4つ目バナー */

.forth-banner {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.banner4 {
    width: 95%;
}

@media (min-width:768px) {
    .banner4 {
        width: 700px;
    }
}

/* 事業概要 */

.ambitious-about-class {
    max-width: 100%;
    width: 100%;
    height: auto;
    background-color: #FCFBFF;
    margin-top: 3rem;
    padding-bottom: 3rem;
}

.responsive-ambitious-about-class {
    display: none;
}

.about-topic {
    color: #6051A0;
    text-align: center;
    padding: 2rem 0;
    padding-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.ambitious-about-class .add {
    font-size: 10px;
    max-width: 85%;
    width: 85%;
    margin: 1rem auto;
    margin-bottom: 2rem;
    color: #000000;
    text-align: start;
    margin-top: 0;
}

dl {
    text-align: center;
}


dt {
    background-color: #6051A0;
    color: #ffffff;
    max-width: 90%;
    width: 90%;
    margin: 0 auto;
    margin-bottom: 0;
    padding: 0.5rem;
    font-weight: 600;
    letter-spacing: 2px;
}

dd {
    background-color: #ffffff;
    max-width: 90%;
    width: 90%;
    padding: 1rem;
    margin: 0 auto;
}

.ambitious-about-class span {
    padding: 0 1rem;
}

@media (min-width:768px) {
    .about-topic {
        font-size: 28px;
    }

    .ambitious-about-class .add {
        text-align: center;
    }

    .ambitious-about-class {
        display: none;
    }

    .responsive-ambitious-about-class {
        display: block;
    }

    .responsive-ambitious-about-class dl {
        display: flex;
        justify-content: center;
        margin: 0 auto;
        width: 70%;
        border: solid 0.5px #6051A0;
    }

    .responsive-ambitious-about-class dt {
        width: 20%;
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0.2px 0;
    }

    dd {
        width: 95%;
        text-align: start;
    }
}

@media(min-width:1440px) {
    .responsive-ambitious-about-class dl {
        width: 50%;
    }
}

/* 授業料 */


.price-topic {
    color: #6051A0;
    text-align: center;
    padding: 2rem 0;
    font-weight: 700;
    letter-spacing: 2px;
}


.ambitious-price p {
    font-size: 10px;
    max-width: 100%;
    margin: 0 auto;
}

.addition {
    max-width: 85%;
    width: 85%;
    text-align: start;

}

.student-price {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.second-ambitious-price {
    display: none;
}



.students-wrap h3 {
    width: 350px;
    max-width: 450px;
    margin: 0 auto;
    margin-top: 2rem;
    text-align: center;
    padding: 1rem 0;
    margin: 2rem auto;
    letter-spacing: 2px;
}


.elementary-wrap h3 {
    background-color: #fffae7;
    color: #f8ae00;
}

.grade {
    width: 120px;
    height: auto;
    color: #ffffff;
    border-radius: 5px;
    letter-spacing: 2px;
    margin-left: 1rem;
}

.elementary-grade {
    background-color: #f9be0d;
    font-weight: 600;
}

.grade p {
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    line-height: 2;
}


.price-detail p {
    max-width: 100%;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    padding-left: 1rem;
}

.price-detail span {
    font-size: 14px;
    font-weight: 400;
}



.junior-wrap h3 {
    background-color: #F5FFEA;
    color: #6DAC2A;
}

.junior-grade {
    background-color: #8ACD43;
}

.high-school-students-wrap h3 {
    background-color: #F6F7FF;
    color: #2B8EC7;
}


.high-school-students-grade {
    background-color: #2BA1E6;
}

.price-detail span {
    padding: 0 1rem;
}

.add-comment {
    font-size: 10px;
    padding-top: 3rem;
    padding-bottom: 2rem;
    margin: 0;
    text-align: center;
}

@media (min-width:768px) {

    .price-topic {
        font-size: 28px;
    }

    .students-wrap h3 {
        max-width: 700px;
        width: 500px;
        font-size: 24px;
    }

    .grade {
        margin-right: 2rem;
    }

    .ambitious-price .add-comment {
        width: 95%;
        padding-top: 2rem;
    }

    .addition {
        text-align: center;

    }
}


@media (min-width:1220px) {
    .first-ambitious-price {
        display: none;
    }

    .ambitious-price p {
        text-align: center;
        margin: 0 auto;
    }



    .second-ambitious-price {
        display: block;
        justify-content: center;
    }

    .responsive-price-wrap {
        display: flex;
        justify-content: space-around;
        margin: 1rem 3rem;
    }

    .other-price-page {
        display: block;
    }

    .grade {
        margin: 0;
    }


    .students-wrap h3 {
        width: 100%;
    }

    .ambitious-price .add-comment {
        width: 95%;
        padding-top: 1rem;
    }

}

@media(min-width:1920px) {
    .responsive-price-wrap {
        margin: 1rem 20rem;
    }

    .ambitious-price .add-comment {
        width: 90%;
    }


}


/* アンビシャス　塾長メッセージ */
.message-wrap {
    max-width: 100%;
    width: 100%;
    height: auto;
    padding-bottom: 2rem;
    background-color: #FCFBFF;
}

.message-topic {
    max-width: 100%;
    width: 100%;
    background-color: #6051A0;
    padding: 1rem;
    color: #fefdff;
    margin: 3rem auto 1rem auto;
    text-align: center;
}

.message-wrap p {
    max-width: 95%;
    width: 95%;
    margin: 0 auto;
    line-height: 2;
}

.represent-details .name {
    font-weight: 600;
    text-align: end;
}

@media(min-width:768px) {
    .message-topic {
        font-size: 28px;
    }
}

@media (min-width:1000px) {
    .message-wrap {
        width: 80%;
        margin: 0 auto;
    }
}

@media(min-width:1440px) {
    .message-wrap {
        width: 1000px;
        height: auto;
        padding-bottom: 3rem;
        background-color: #FCFBFF;
        margin-bottom: 5rem;
    }

}


/* よくあるご質問 */


.questions-wrap h2 {
    color: #c88c00;
    text-align: center;
    margin-top: 3rem;
    padding-bottom: 1rem;
}


.faq-item {
    margin-left: 2rem;
    max-width: 800px;
    width: 380px;
    color: #c88c00;
    background-color: #ffffff;
    border: #c88c00 solid 1px;
    margin: 1rem auto;

}

.faq-question {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.faq-question p {
    font-size: 14px;
}

.faq-question span {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    font-size: 24px;
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
}


.faq-question::-webkit-details-marker {
    display: none;
    /* ▼を消す */
}


.faq-answer span {
    font-size: 24px;
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    padding-right: 0.5rem;
}

.faq-answer {
    line-height: 1.6;
    color: #ffffff;
    background-color: #c88c00;
    padding: 0.5rem;
    border: solid 0.5px #c88c00;
    font-size: 14px;
}

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined' !important;
    font-weight: normal;
    font-style: normal;
    font-size: 30px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    direction: ltr;
    text-align: end;
}

.arrow {
    color: #c88c00;
}

@media (min-width:768px) {
    .faq-question p {
        font-size: 18px;
    }

    .faq-answer {
        font-size: 16px;
        padding: 1rem 0.5rem;
    }

    .faq-item {
        width: 700px;
    }

}

@media (min-width:1440px) {
    .faq-item {
        width: 700px;
    }

    .questions-wrap h2 {
        padding-top: 0;
    }

}


/* マップ */

.map-wrap {
    width: 100%;
    height: auto;
    background-color: #FFFCF8;
    margin: 3rem 0;
}


.map-wrap .info {
    line-height: 2;
    text-align: end;
    padding: 0 0.5rem;

}

.info p {
    display: flex;
    justify-content: end;
    gap: 5px;
}

.map-wrap .info p {

    color: #000000;
    letter-spacing: 1.5px;

}


@media(min-width:768px) {
    .map-wrap .info p {
        font-size: 16px;
    }
}

@media(min-width:1440px) {
    .map-wrap {
        width: 60%;
        height: 40vh;
        margin: 5rem auto;
    }

}

/* 5つ目バナー */
.banner5 img {
    max-width: 1000px;
    width: 350px;
    display: flex;
    margin: 0 auto;

}

@media (min-width:768px) {
    .banner5 img {
        width: 600px;
        margin: 2rem auto;
        margin-bottom: 5rem;
    }
}

@media (min-width:1440px) {
    .banner5 {
        margin-top: 10rem;
    }


}

/* ----footerーーー */


footer {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin-top: 2rem;
    padding-top: 2rem;
    padding-bottom: 0.2rem;
    padding-left: 0;
}


footer a {
    font-size: 15px;
    padding-left: 2rem;
    position: relative;
}

.news a {
    padding: 0;
}

.elementary-foot {
    margin-top: 2rem;
}

footer .elementary-foot {
    display: block;
}



.footer-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #000000;
    justify-content: start;
    font-size: 16px;
    font-weight: 600;
    position: relative;
    margin-bottom: 1rem;
}





.footer-item:hover {
    color: #4e408d;
}



.footer-item::before {
    content: '';
    /* 疑似要素はcontentプロパティが必須 */
    position: absolute;
    top: 2.5rem;
    width: 0;
    /* 初期状態では幅0（見えない） */
    height: 1px;
    /* ボーダーの太さ */
    background-color: #4e408d;
    /* ホバー時に表示されるボーダーの色 */
    transition: width 0.3s ease-in-out;
    /* 幅の変化を滑らかにするアニメーション */
    z-index: 1;

}

.footer-item:hover::before {
    width: 70%;
    /* ホバー時に幅100%（全体に広がる） */
}

.class-foot {
    padding-top: 2rem;
    font-size: 10px;
}

.class-foot a {
    text-decoration: none;
    color: #000000;
    font-weight: 600;
}

.class-foot a:hover {
    color: #6051A0;
}

.class-foot .empty {
    padding-right: 0.5px;
    text-align: start;
}


.class a {
    text-decoration-thickness: 0.5px;
    display: flex;
    font-size: 15px;
    padding-top: 1rem;
    padding-left: 3rem;
}

.class-wrap .under-bar {
    display: block;
    width: 50%;
    /* 線の長さ */
    height: 1px;
    margin-left: 2rem;
    /* 線の太さ */
    background: currentColor;
    margin-top: 1rem;
    color: #6051A0;

}

.footer-class {
    font-size: 10px;
}

footer a span {
    padding-left: 2rem;
}

.foot-info {
    margin-top: 2rem;
}


.foot-info a {
    display: flex;
    font-size: 14px;
    margin: 0.5rem 0;
    text-decoration: none;
    color: #000000;
    font-weight: 600;
}

.foot-info a:hover {
    color: #6051A0;
}

.copyright {
    padding-top: 0.5rem;
    padding-left: 0.5rem;
    text-align: center;
    color: #000000;
    font-size: 10px;
    font-weight: 300;
    font-style: normal;
}

.phone-size-footer {
    background-color: #fcfbffb6;

}



.foot-phone {
    background-color: #ffffff;
    padding: 0.5rem 2rem;
}


.foot-tablet {
    display: none;
}

.foot-desktop {
    display: none;
}

.instagram {
    margin-top: 1rem;
    width: 2rem;
}

.tiktok {
    margin-top: 1rem;
    width: 2rem;
}



.tablet-size-footer {
    display: none;
}

.desktop-size-footer {
    display: none;
}

.social-media-logo {
    display: flex;
}

.social-media-logo a {
    margin: 0;
}

@media (min-width:768px) {
    .phone-size-footer {
        display: none;
    }


    .tablet-size-footer {
        display: block;
        background-color: #FCFBFF;
        padding: 2rem;
    }

    .tablet-size-footer .size-wrap {
        max-width: 900px;
        margin: 0 auto;
    }

    .foot-flex {
        display: flex;
        justify-content: space-between;
        margin: 0 3rem;
        padding-right: 5rem;
    }



    .class-wrap .under-bar {
        width: 200px;
    }


    .others {
        padding-right: 4rem;
    }

    .under-bar.unnecessary {
        display: none;
    }

    .foot-phone {
        display: none;
    }


    .foot-tablet {
        display: block;
        padding: 0.5rem 4rem;
        background-color: #ffffff;
    }

    .foot-info {
        margin-top: 0;
    }

    .copyright {
        text-align: center;
    }
}

@media (min-width:1440px) {
    .tablet-size-footer {
        display: none;
    }


    .desktop-size-footer {
        display: block;
        background-color: #FCFBFF;
        padding: 2rem 0;
    }

    .desktop-size-footer .size-wrap {
        width: 1400px;
        margin: 0 auto;
        padding: 0 5rem;
    }

    .foot-tablet {
        display: none;
    }

    .foot-desktop {
        display: block;
        padding: 0.5rem 8rem;
        padding-bottom: 1rem;
        background-color: #ffffff;
    }

    .foot-info {
        margin-top: 2rem;
    }
}



@media(min-width:1920px) {

    .desktop-size-footer .size-wrap {
        width: 1700px;
    }

    .foot-desktop {
        padding: 0.5rem 15rem;
    }
}




/* ーーーーーーーーーーーーーーーーー　小学生　ーーーーーーーーーーーーーーーーーーーーーー */

.elementary-inner-second {
    display: none;


}

.main-wrapper {
    max-width: 100%;
    width: 100%;
    height: auto;
    background-color: #e5b935;
    padding-bottom: 2rem;
}


.elementary-inner p {
    font-size: 32px;
    text-align: start;
    color: #ffffff;
    text-shadow: 1px 1px 5px #00000072;

}



.elementary-inner-message p {
    display: flex;
    justify-content: center;
    font-size: 15px;
    color: #ffffff;
    margin: 0 auto;
    padding-left: 0.5rem;
    padding-top: 1rem;
    width: 390px;
}

.elementary-inner-text {
    max-width: 390px;
    margin: 0 auto;
    padding-left: 0.5rem;
}

.elementary-inner a {
    text-decoration: none;
}

.inner-button {
    width: 300px;
    height: 3rem;
    margin: 0 auto;
    margin-top: 2rem;
    background-color: #6051A0;
    border-radius: 50px;
    position: relative;
}

.inner-button .button-text {
    width: 100%;
    font-size: 16px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: absolute;
    display: inline-flex;
    justify-content: center;
    line-height: 3;
    font-weight: 600;
    letter-spacing: 2px;
    margin: 0;
}

.inner-button span {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.button-arrow {
    padding-left: 1rem;
}

.elementary-inner img {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    width: 370px;
    border-radius: 5px;
    padding-top: 7rem;
}

.others-sliders {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.25);
    -ms-overflow-style: none;
    margin: 0 auto;
}

.others-sliders::-webkit-scrollbar {
    display: none;

}

/* footer phoneサイズ リンク先 */

/* 　概要　phoneサイズ */
#about-ele-class,
#about-middle-class,
#about-highschool-class,
#about-middle-group-class {
    scroll-margin-top: 80px;
}



/* 受講料　phoneサイズ */
#elementary-price,
#middle-price,
#highschool-price,
#middle-group-price {
    scroll-margin-top: 150px;
}

/* 質問　phoneサイズ */
#elementary-questions,
#middle-questions,
#highschool-questions,
#middle-group-questions {
    scroll-margin-top: 200px;
}



.others-sliders a.clone {
    scroll-snap-align: none;
    pointer-events: none;
}


.others-sliders a {
    flex: 0 0 100%;
    max-width: 768px;
    margin: 0 2%;
    scroll-snap-align: center;
    object-fit: cover;
    padding-top: 5rem;
}

.others-sliders a img {
    width: 100%;
}

@media (min-width:768px) {
    .main-wrapper {
        padding: 1rem 0;
    }

    .elementary-inner {
        display: none;
    }

    .elementary-inner-second {
        width: 750px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-around;
    }



    .other-page .others {
        display: block;

    }

    .elementary-inner-text {
        padding-left: 0;
    }

    .elementary-inner-text {
        padding-top: 5rem;

    }

    .elementary-inner-text p {
        font-size: 32px;
        margin: 0 0.5rem;
    }


    .elementary-inner-message p {
        padding: 0.5rem 0;
        padding-left: 0.5rem;
        margin: 0;
        justify-content: start;
        width: 100%;
    }


    .elementary-inner img {
        width: 22rem;
        margin: 0;
    }

    .inner-button {
        width: 20rem;
        margin-top: 1rem;
    }

    /* footer tabletサイズ リンク先 */

    /* 　概要　tabletサイズ */
    #responsive-about-ele-class,
    #responsive-about-middle-class,
    #responsive-about-highschool-class,
    #responsive-about-middle-group-class {
        scroll-margin-top: 200px;
    }



    /* 受講料　tabletサイズ */
    #elementary-price,
    #middle-price,
    #highschool-price,
    #middle-group-price {
        scroll-margin-top: 250px;
    }

    /* 質問　tabletサイズ */
    #elementary-questions,
    #middle-questions,
    #highschool-questions,
    #middle-group-questions {
        scroll-margin-top: 300px;
    }


}

@media(min-width:1000px) {

    .elementary-inner-second {
        margin-top: 5rem;
    }



}

@media(min-width:1440px) {

    .elementary-inner-second {
        width: 1200px;
        margin: 0 auto;
    }


    .elementary-inner-text {
        padding-top: 10rem;
        max-width: 500px;
        margin: 0;
    }

    .elementary-inner-text p {
        font-size: 48px;

    }

    .br {
        display: none;
    }

    .elementary-inner img {
        width: 30rem;
        margin-top: 3rem;

    }

    .elementary-inner-message p {
        width: auto;
        font-size: 18px;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .inner-button {
        display: flex;
        justify-content: center;
        height: 4rem;
        margin: 1rem 0;
    }

    .inner-button .button-text {
        font-size: 20px;
        line-height: 3;
    }

    #desktop-about-ele-class {
        scroll-margin-top: 200px;
    }

    /* footer tabletサイズ リンク先 */

    /* 　概要　tabletサイズ */
    #desktop-about-middle-class,
    #desktop-about-highschool-class,
    #desktop-about-ele-class,
    #desktop-about-middle-group-class {
        scroll-margin-top: 180px;
    }



    /* 受講料　tabletサイズ */
    #elementary-price,
    #middle-price,
    #highschool-price,
    #middle-group-price {
        scroll-margin-top: 250px;
    }

    /* 質問　tabletサイズ */
    #elementary-questions,
    #middle-questions,
    #highschool-questions,
    #middle-group-questions {
        scroll-margin-top: 300px;
    }
}


@media(min-width:1920px) {
    .elementary-inner-second {
        width: 1200px;
        margin: 0 auto;
    }

    .elementary-inner-text {
        padding-top: 10rem;
        margin: 0;
    }


    .elementary-inner-message p {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .inner-button {
        width: 30rem;
        height: 4rem;
    }

    .inner-button .button-text {
        font-size: 20px;
        line-height: 3;
    }
}


/* メッセージ */
.elementary-message-wrapper {
    margin-top: 2rem;
    margin-left: 0.5rem;
    width: 360px;
    margin: 2rem auto;
}

.elementary-message {
    font-size: 20px;
    padding-top: 1rem;
    font-size: 28px;
    border-bottom: #ffdb256b solid 13px;
    width: auto;
    line-height: 0.5;
    margin: 0 auto;
    display: inline-flex;
    justify-content: center;
    text-align: center;
    font-weight: 600;
}

.elementary-messages {
    display: flex;
    justify-content: center;
    margin-left: 0;
    margin: 0 auto;
    padding: 0;
    width: 370px;
}

/* 合格までの STEP */



.success-step {
    position: relative;
    width: 100vw;
    background-color: #5f51a011;
    margin-top: 5rem;
    padding-top: 3rem;
    padding-bottom: 2rem;
}

.step-topic {
    position: absolute;
    top: -3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 350px;
    height: 3rem;
    background-color: #6051A0;
    border-radius: 10px;
    color: #ffffff;
    text-align: center;
    line-height: 2;
    margin: 0 auto;
    margin-top: 2rem;
}

.step {
    max-width: 500px;
    width: 350px;
    height: auto;
    padding-bottom: 1rem;
    border: solid 3px #6051A0;
    border-radius: 10px;
    margin: 0 auto;
}

.step h1 {
    color: #5f51a031;
    padding-left: 0.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.step span {
    padding-left: 1rem;
}

.step h2 {
    display: inline-block;
    border-bottom: 10px solid #5f51a03d;
    width: auto;
    line-height: 0.5;
    margin-left: 0.5rem;
    padding-top: 1rem;
    letter-spacing: 1px;
}

.step p {
    display: inline-block;
    max-width: 540px;
    width: auto;
    padding: 1rem 0.5rem;
    padding-right: 0;
    padding-top: 1rem;
    font-size: 15px;
    margin: 0 auto;
}

.step img {
    display: flex;
    margin: 0 auto;
    width: 20rem;
    border-radius: 5px;
}


.arrow-down {
    display: flex;
    justify-content: center;
    font-size: 5rem;
    margin: 0 auto;
    line-height: 0.5;
}


@media (min-width:768px) {
    .success-step {
        padding-top: 7rem;
    }

    .elementary-message-wrapper {
        display: flex;
        width: 100%;
        justify-content: center;

    }

    .elementary-message {
        margin: 0;
    }

    .elementary-messages {
        width: 580px;
        margin: 2rem auto;
        text-align: center;
    }

    .step-topic {
        width: 600px;
        height: 70px;
        line-height: 3;
    }

    .step {
        max-width: 750px;
        width: 700px;
    }

    .step h1 {
        padding-left: 1.5rem;

    }

    .step-flex {
        display: flex;
        justify-content: space-between;
        padding: 0 0.5rem;
    }

    .step-flex div {
        margin-top: 0.5rem;
    }

    .step-flex h2 {
        padding-top: 1rem;
    }

    .step p {
        width: 95%;
        padding-top: 2rem;
    }

    .step img {
        width: 20rem;
        height: 13rem;
    }
}

@media (min-width:1440px) {


    .step-topic {
        width: 800px;
    }

    .step {
        max-width: 1800px;
        width: 800px;
    }

    .step img {
        margin: 0;
    }

    .step p {
        width: 100%;
        padding-top: 2rem;
    }

    .other-price-page .ambitious-price {
        display: block;
    }

    .other-price-page .students-wrap h3 {
        width: 50%;
    }
}

.elementary-responsive-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    margin-bottom: 5rem;
}

.elementary-slider-nav {
    position: absolute;
}

.elementary-responsive-slider .sliders img {
    max-width: 90%;
    flex: 0 0 50%;
    padding-top: 5rem;
    scroll-snap-align: center;
}

.elementary-responsive-slider .sliders img.clone {
    scroll-snap-align: none;
    pointer-events: none;
    /* 触れない */
}

.elementary-slider .slider-nav {
    display: none;
}

.elementary-slider .sliders a {
    padding: 2rem 0;
}

.elementary-about-class .ambitious-about-class {
    margin-top: 0;
}


/* 中学生 */
.middle {
    background-color: #6DAC2A;
}



/* 高校生 */
.high-school {
    background-color: #2B8EC7;
}

/* 中学生集団指導 */

.middle-group {
    background-color: #ffffff;
}



.middle-group-text p {
    color: #6051A0;
    text-shadow: 1px 1px 5px #0000002b;
    padding: 0 0.5rem;
}

.middle-group-message p {
    color: #6051A0;
    text-shadow: none;

}

.middle-group h3 {
    background-color: #eabbfa24;
    color: #df4bb5;

}

.middle-group-grade {
    background-color: #df4bb5;
}


/* ーーーーーーーーーーーーーーー　お問い合わせページ　ーーーーーーーーーーーーーーー */

.contact-page-wrap img {
    padding-top: 6rem;
    max-width: 1500px;
    width: 350px;
    height: auto;
    display: flex;
    margin: 0 auto;
}



.contact-wrapper {
    max-width: 1200px;
    width: 370px;
    margin: 0 auto;
}

.contact-topic-wrap {
    background-color: #6051A0;
    border-radius: 3px;
    width: 200px;
}

.contact-topic-wrap p {
    font-size: 16px;
    color: #ffffff;
    text-align: center;
    line-height: 3;
    margin-top: 3rem;
    font-weight: 600;
}

.label-sheet-wrap {
    margin-top: 2rem;
}

label {
    display: block;
    padding: 0.5rem 0;
    font-weight: 600;
}

.label {
    margin: 1rem 0;
    color: #6051A0;
}

.label-sheet input {
    padding: 0.8rem;
    border: 1px #6051A0 solid;
    width: 100%;
    border-radius: 3px;
}

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

}

.input input {
    width: 48%;
}

input::placeholder {
    opacity: 0.8;
}


select {
    padding: 1rem 0.5rem;
    width: 100%;
    border-radius: 0;
    border: solid 1px #6051A0;
    appearance: none;
    border-radius: 3px;
}

.select-box {
    background: url(image/drop-down-arrow.svg)no-repeat right 10px center / 25px;
    color: #000000c1;
    text-align: center;
}


select:invalid {
    color: #000000;
}

.label-contact-sheet-wrap {
    margin-top: 2rem;
}

.responsive-label-contact-sheet-wrap {
    display: none;
}

.checkbox {
    display: flex;
    align-items: center;
    color: #6051A0;
    gap: 10px;
    margin: 0.5rem 0;
}



.checkbox input[type="checkbox"] {
    accent-color: #6051A0;
    width: 20px;
    height: 20px;

}

textarea {
    width: 100%;
    padding: 0.8rem 0.5rem;
    color: #6051A0;
    border-radius: 3px;
}

.label-detail label {
    color: #6051A0;
    margin-top: 1rem;
}

.label-detail textarea {
    border: 1px #6051A0 solid;
}

/* 電話でお問い合わせ */

.contact-phone-wrap {
    width: 90%;
    border: solid 10px #6051A0;
    padding: 1rem;
    margin: 0 auto;
    margin-top: 2rem;
}

.responsive-contact-phone-wrap {
    display: none;
}

.contact-phone-wrap p {
    color: #ffffff;
}

.text-contact-wrap {
    background-color: #6051A0;
    text-align: center;
    padding: 1rem;
    margin-bottom: 1rem;
}



.phone-num {
    padding: 0.5rem 0;
}

.phone-wrap {
    text-align: center;
}



.phone-wrap p {
    color: #6051A0;
    font-weight: 600;
}

.phone-wrap .num {
    font-size: 20px;
    letter-spacing: 2px;
    font-weight: 600;
}

.available-time {
    padding-top: 0.5rem;
}



.contact-button-box {
    margin: 0 auto;
}


.privacy-wrap-title {
    padding: 1rem 0;
    margin-top: 2rem;
    text-align: center;
    font-size: 16px;
}

.phone-contact-wrap {
    width: 90%;
}

.privacy-box {
    width: 90%;
    height: 150px;
    /* 高さ固定 */
    overflow-y: scroll;
    /* 縦スクロール */
    padding: 1rem;
    border: 1px solid #e9e9e9;
    margin: 0 auto;
}


/* お問い合わせボタン */

.contact-sheet-button {
    width: auto;
    padding: 1rem 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    /* 中央寄せ */
    position: relative;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 2;
    background-color: #6051A0;
    border: none;
    margin: 0 auto;
    margin-bottom: 5rem;
}


.button-arrow {
    position: absolute;
    right: 18px;
    transition: transform 0.3s ease;
}

.contact-sheet-button:hover .button-arrow {
    transform: translateX(3px);
}


#submit {
    opacity: 0.5;
    pointer-events: none;
    transition: 0.3s;
}

#agree:checked~#submit {
    opacity: 1;
    pointer-events: auto;
}


.contact-message {
    font-size: 12px;
    padding: 2rem 0 1rem 0;
    text-align: center;
}

.contact-message label {
    font-weight: 100;
}

button .text,
.button-arrow {
    color: #ffffff;
}


@media(min-width:768px) {
    .contact-phone-wrap {
        display: none;
    }

    .responsive-contact-phone-wrap {
        display: block;
    }

    .num-wrap {
        display: flex;
        justify-content: center;
        margin: 0 auto;

    }



    .responsive-contact-phone-wrap .phone-num {
        display: flex;
        justify-content: end;
        align-items: center;
        column-gap: 10px;
        margin: 0 auto;
    }

    .phone-num {
        margin: 0 auto;
    }

    .contact-page-wrap img {
        width: 650px;
    }

    .contact-wrapper {
        width: 650px;
    }

    .contact-topic-wrap {
        width: 200px;
        margin-bottom: 2rem;
    }



    .label-contact-sheet-wrap {
        display: none;
    }

    .responsive-label-contact-sheet-wrap {
        display: block;
    }

    .responsive-label-contact-sheet-wrap .checkbox-wrap {
        display: flex;
        gap: 10rem;
    }

    .privacy-box {
        width: 70%;
        height: 200px;
    }

    .contact-topic-wrap p {

        font-weight: 600;
    }


    .input input {
        width: 45%;
    }

    .label {
        font-weight: 600;
    }


    select {
        font-size: 16px;
    }
}

@media(min-width:1440px) {
    .contact-page-wrap img {
        width: 800px;
        padding-top: 10rem;
    }

    .contact-wrapper {
        width: 800px;
    }

    .responsive-label-contact-sheet-wrap .checkbox-wrap {
        display: flex;
        gap: 20rem;
    }

    select .input input {
        width: 48%;
    }

    .privacy-box {
        width: 50%;
    }

    .input input {
        width: 48%;
    }

    .contact-phone-wrap {
        width: 65%;
    }

    .phone-wrap .num {
        font-size: 24px;
    }

}