@charset "UTF-8";

/*
Theme Name: main.css
*/


:root {
    /* 色管理用の変数 */
    --black-color: #333;
    --white-color: #fff;
    --primary-color: #FDF9EE;
    --green-color: #2C7865;
    --softgreen-color: #BFE4B3;
    --softgreen-color-background: #c7e1bf;
    --accent-color: #FF9829;
    --green1: #D1F1A3;
    --green2: #B9E6A2;
    --green3: #BDEABB;
    --green4: #A7E3C0;
    --green5: #A1D7C7;
}

:root {
    /* z-index管理用の変数 */
    --z-index-back: -1;
    --z-index-default: 1;
    --z-index-header: 100;
    --z-index-menu: 150;
    --z-index-modal: 200;
    --z-index-hamburger: 400;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 64px;
}  

.html_sub{
    scroll-padding-top: 120px;
}

body {
    color: var(--black-color);
    font-size: 18px;
    font-weight: 500;
    font-family: "Zen Kaku Gothic New", sans-serif;
    line-height: 1.8;
    letter-spacing: 0.1em;
}
@media screen and (min-width: 1080px) {
    body{
        font-size: 16px;
    }
}

/* ---------- l_header ---------- */
.l_header{
    position: relative;
}

.l_header-box {
    font-weight: bold;
    z-index: var(--z-index-header);
    color: var(--green-color);
    background: var(--primary-color);
    height: clamp(6.25rem, 5.294rem + 4.78vw, 9.375rem);
    width: 100%;
    padding-top: 40px;
    padding-left: clamp(1rem, 0.541rem + 2.29vw, 2.5rem);
    padding-right: clamp(1rem, 0.541rem + 2.29vw, 2.5rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

@media screen and (max-width: 960px) {
    .l_header-box{
        display: flex;
        flex-direction: column;
    }
}

.l_header-logo{
    font-size: clamp(0.5rem, 0.318rem + 0.91vw, 1rem);
    font-weight: bold;
    text-align: center;
}

.header-logo_img{
    width: clamp(6.25rem, 5.103rem + 5.74vw, 10rem);
    height: auto;
}

.l_header_logo_txt{
    font-weight: bold;
    font-size: clamp(1rem, 0.924rem + 0.38vw, 1.25rem);
}

@media screen and (max-width: 960px) {
    .l_header-nav{
        width: 100%;
        opacity: 0;
        background: var(--primary-color);
        z-index: var(--z-index-menu);
        transition: ease .4s;
        position: fixed;
        top: -50px;
        left: 0;
        right: 0;
        bottom: 0;
    }
    .l_header_nav_top{
        opacity: 0;
        background: var(--primary-color);
        z-index: var(--z-index-modal);
        transition: ease .4s;
        position: fixed;
        top: -54px;
        left: 0;
        right: 0;
    }
    .l_header_nav_bottom{
        opacity: 0;
        background: var(--primary-color);
        z-index: var(--z-index-menu);
        transition: ease .4s;
        position: fixed;
        top: 90px;
        left: 0;
        right: 0;
        bottom: 0;
    }
}

.l_header-nav_list{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.5rem, -0.682rem + 1.97vw, 1rem);
}

@media screen and (max-width: 960px) {
    .l_header-nav_list{
        display: flex;
        flex-direction: column;
        gap: 20px;
        z-index: var(--z-index-modal);
    }
    .l_header-nav_list_top{
        margin-top: 150px;
    }
    .l_header-nav_list_bottom{
        margin-top: 215px;
    }
}

.l_header-nav_link{
    font-size: clamp(0.75rem, 0.159rem + 0.99vw, 1rem);;
    display: inline-block;
    cursor: pointer;
    transition: .3s;
}
@media screen and (max-width: 960px) {
    .l_header-nav_link{
        font-size: 16px;
    }
}

.l_header-nav_link:hover {
    transform: translateY(4px);
}

.l_header-nav_contact {
    color: var(--white-color);
    background-color: var(--accent-color);
    padding: 8px 16px;
    display: flex;
    justify-content: center;
    text-align: center;
    flex-wrap: nowrap;
    border-radius: 50px;
    box-shadow: 2px 3px 4px rgba(0, 0, 0, 0.2);
    transition: .3s;
    margin-left: 8px;
}
@media screen and (max-width: 960px) {
    .l_header-nav_contact{
        margin-left: 0;
        margin-top: 12px;
    }
}

.l_header-nav_contact:hover{
    box-shadow: unset;
    transform: translateY(4px);
}

.l_header-nav_contact_link{
    font-size: clamp(0.75rem, 0.159rem + 0.99vw, 1rem);
}
@media screen and (max-width: 960px) {
  .l_header-nav_contact_link{
    font-size: 16px;
  }
}

.l_header_wrapper::after{
    content: '';
    position: absolute;
    background: var(--primary-color);
    width: clamp(11.25rem, 8.068rem + 15.91vw, 20rem);
    height: clamp(11.25rem, 8.068rem + 15.91vw, 20rem);
    border-radius: 50%;
    border: clamp(0.25rem, 0.205rem + 0.23vw, 0.375rem) solid var(--green-color);
    top: 60px;
    left: 50%;
    transform: translateY(-50%) translateX(-50%); 
}

.l_header-logo{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* -------- l_header_green --------- */

.l_header-green{
    width: 100%;
    height: 72px;
    color: var(--white-color);
    background: var(--green-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    z-index: var(--z-index-header);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05); 
    transition: ease .4s;
    position: sticky;
    top: 0;
}

.l_header-green_logo{
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 960px) {
    .l_header-nav_green{
        background: var(--green-color);
    }
}

.l_header-nav_list_green{
    gap: clamp(1rem, -0.182rem + 1.97vw, 1.5rem);
}
@media screen and (max-width: 960px) {
    .l_header-nav_list_green{
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 32px;
        z-index: var(--z-index-modal);
    }
}

/* --------- l_contents --------- */

.l_contents{
    padding: 120px clamp(1rem, -0.606rem + 8.03vw, 6.25rem);
    overflow: hidden;
}

.l_contents_eikaiwa{
    padding: 80px clamp(1rem, -0.606rem + 8.03vw, 6.25rem);
    overflow: hidden;
    padding-bottom: 120px;
}

.l_contents_contact{
    padding: 48px clamp(1rem, -0.606rem + 8.03vw, 6.25rem);
    overflow: hidden;
}

.l_container-lg{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
}
@media screen and (max-width: 960px) {
.l_container-lg{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: clamp(1.5rem, 1rem + 2.5vw, 2.5rem);
    }
}

.l_row-reverse{
    flex-direction: row-reverse;
}
@media screen and (max-width: 834px) {
    .l_row-reverse{
        flex-direction: column;
    }
}

.l_main_class{
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding-top: 40px;
    padding-bottom: 120px;
    padding-left: clamp(1rem, -0.224rem + 6.12vw, 5rem);
    padding-right: clamp(1rem, -0.224rem + 6.12vw, 5rem);
    background: var(--primary-color);
}

.l_main_contact{
    background: var(--primary-color);
}

.l_main_class.online{
    padding-top: 80px;
}

/* ------- l_footer -------- */

.l_footer{
    color: var(--white-color);
    background: var(--green-color);
    padding-bottom: 24px;
    position: relative;
}

.l_footer_container{
    padding: 150px 80px 40px 80px;
}
@media screen and (max-width: 834px) {
    .l_footer_container{
        padding: 180px 0 40px 0;
    }
}

.l_footer_list_wrapper{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
@media screen and (max-width: 834px) {
    .l_footer_list_wrapper{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
    }
}

.l_footer_list{
    width: 500px;
    height: 200px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 16px 0px;
}
@media screen and (max-width: 834px) {
    .l_footer_list{
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 40px;
        text-align: center;
    }
}

.l_footer_link{
    font-size: clamp(1rem, 0.962rem + 0.19vw, 1.125rem);
    display: inline-block;
    cursor: pointer;
    transition: .3s;
}

.l_footer_link:hover {
    transform: translateY(4px);
}

.l_footer-logo_img{
    width: clamp(10rem, 7.706rem + 11.47vw, 17.5rem);
    height: auto;
}

.l_footer-logo_img-wrapper{
    margin-bottom: 20px;
}

.l_footer-logo_txt{
    font-size: clamp(0.875rem, 0.722rem + 0.76vw, 1.375rem);
    text-align: center;}

.l_footer-copyright{
    font-size: 12px;
    text-align: center;
}

/* --------- module ---------- */

.m_kv{
    color: var(--white-color);
    background: var(--green-color);
    width: 100%;
    height: clamp(17.5rem, 17.118rem + 1.91vw, 18.75rem);/*280-300px*/
    padding: 100px clamp(1rem, -0.224rem + 6.12vw, 5rem) 0 clamp(1rem, -0.224rem + 6.12vw, 5rem);/*16-80*/
}

.m_kv-box{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.m_kv-title{
    font-size: clamp(1.5rem, 1.271rem + 1.15vw, 2.25rem);
    font-weight: bold;
}

.m_kv-desc{
    font-size: clamp(0.75rem, 0.635rem + 0.57vw, 1.125rem);
}

.m_img-wrapper{
    width: 40%;
}
@media screen and (max-width: 834px) {
    .m_img-wrapper{
        width: 100%;
        text-align: center;
    }
}

.m_section{
    width: 60%;
    display: flex;
    align-items: stretch;
    flex-direction: column;
}
@media screen and (max-width: 834px) {
    .m_section{
        width: 100%;
    }
}

.m_section_title_main{
    font-size: clamp(1.375rem, 1.057rem + 1.59vw, 2.25rem);
    font-weight: bold; 
}

.m_section_title_sub{
    font-size: clamp(0.875rem, 0.784rem + 0.45vw, 1.125rem);
    text-align: justify;
    margin-top: 8px;
}

.m_section_title_center{
    text-align: center;
}

/* ------- m_hamburger --------- */

.m_hamburger-wraper{
    position: absolute;
    top: 50%;
    right: 12%;
}

.m_hamburger {
    width: 32px;
    height: 24px;
    z-index: var(--z-index-hamburger);
    background-color: transparent;
}

.m_hamburger_green{
    position: relative;
}

@media screen and (min-width: 960px) {
    .m_hamburger {
        display: none;
    }
}

.m_hamburger_top{
    position: relative;
    position: fixed;
}

.m_hamburger-bar {
    width: 32px;
    height: 4px;
    border-radius: 50px;
    background: var(--green-color);
    box-shadow: 0 0 8px 0 rgb(254, 255, 255);
    transition: 0.3s;
    position: absolute;
    top: -50%;
}

.m_hamburger-bar_green{
    background: var(--primary-color);
    box-shadow: none;
}

.m_hamburger-bar:first-child {
    top: 0;
    transform: translate(-50%, 0);
}

.m_hamburger-bar:nth-child(2) {
    top: 50%;
    transform: translate(-50%, -50%);
}

.m_hamburger-bar:last-child {
    top: 100%;
    transform: translate(-50%, -100%);
}

/* -------- m_btn ------- */

.m_btn{
    display: inline-block;
    font-size: clamp(0.875rem, 0.784rem + 0.45vw, 1.125rem);
    font-weight: bold;
    width: 100%;
    height: 72px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.2);
    transition: .3s;
}

.m_btn:hover {
    box-shadow: unset;
    transform: translateY(4px);
}

.m_btn-container{
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1rem, 0.541rem + 2.29vw, 2.5rem);
    margin-top: 32px;
}

.m_btn-wrapper{
    width: 280px;
}

.m_btn_sm-container{
    display: flex;
    flex-wrap: wrap;
    row-gap: clamp(0.5rem, 0.136rem + 1.82vw, 1.5rem);
    column-gap: clamp(0.5rem, 0.318rem + 0.91vw, 1rem);
    margin-top: 16px;
}


.m_btn_sm{
    font-size: clamp(0.75rem, 0.712rem + 0.19vw, 0.875rem);/*12-14px*/
    font-weight: 500;
    display: inline-block;
    padding: 8px 20px;
    border-radius: 10px;
    box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.2);
    transition: .3s;
}

.m_btn_sm:hover{
    box-shadow: unset;
    transform: translateY(2px);
}

/* -------- m_section_background ------- */

.m_section_green-background{
    background: var(--green-color);
    color: var(--white-color);
}

.m_section_white-background{
    background: var(--primary-color);
    color: var(--black-color);
}

.m_section_softgreen-background{
    background: var(--softgreen-color-background);
}


.m_section_btn-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* -------- m_section_btn ------- */

.m_section_btn{
    font-size: clamp(0.875rem, 0.799rem + 0.38vw, 1.125rem);/*14-18px*/
    padding:   clamp(0.5rem, 0.347rem + 0.76vw, 1rem) clamp(1rem, 0.388rem + 3.06vw, 3rem);
    border-radius: 50px;
    box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.2);
    position: relative;
    transition: .3s;
}

.m_section_btn:hover{
    box-shadow: unset;
    transform: translateY(4px);
}

.m_section_btn.green1{
    background: var(--green1)
}
.m_section_btn.green2{
    background: var(--green2)
}
.m_section_btn.green3{
    background: var(--green3)
}
.m_section_btn.green4{
    background: var(--green4)
}
.m_section_btn.green5{
    background: var(--green5)
}

.m_sectoin_btn::before{
    position: absolute;
    content: "";
    width: 12px;
    height: 12px;
    border-width: 2px;
    border-color: #333;
    border-style: solid solid none none;
}

/* -------- m_class_info ------- */

.m_class_table-container{
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.m_class_title{
    font-size: clamp(1.375rem, 1.107rem + 1.34vw, 2.25rem);
    font-weight: bold;
}

.m_class_table-title.green1{
    background: var(--green1);
}
.m_class_table-title.green2{
    background: var(--green2);
}
.m_class_table-title.green3{
    background: var(--green3);
}
.m_class_table-title.green4{
    background: var(--green4);
}
.m_class_table-title.green5{
    background: var(--green5);
}

.m_class_table-title_txt{
    font-size: clamp(1rem, 0.962rem + 0.19vw, 1.125rem);
    font-weight: bold;
    padding: clamp(0.5rem, 0.347rem + 0.76vw, 1rem) clamp(1rem, 0.847rem + 0.76vw, 1.5rem);
}

.m_class_table-content{
    outline-offset: -2px;
}

.m_class_table-content.green1{
    outline: 2px solid var(--green1);
}
.m_class_table-content.green2{
    outline: 2px solid var(--green2);
}
.m_class_table-content.green3{
    outline: 2px solid var(--green3);
}
.m_class_table-content.green4{
    outline: 2px solid var(--green4);
}
.m_class_table-content.green5{
    outline: 2px solid var(--green5);
}

.m_class_table-content_txt{
    font-size: clamp(0.875rem, 0.799rem + 0.38vw, 1.125rem);
    padding: clamp(0.5rem, 0.347rem + 0.76vw, 1rem) clamp(1rem, 0.847rem + 0.76vw, 1.5rem);
}

/* -------- .m_cta------ */

.m_cta_wrapper{
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.m_cta_txt{
    font-size: clamp(0.875rem, 0.799rem + 0.38vw, 1.125rem);
}
.m_cta_btn-container{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-top: 40px;
}

.m_contact_txt{
    font-weight: bold;
}

.m_cta_btn_wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.m_cta_btn{
    display: inline-block;
    font-size: clamp(1rem, 0.847rem + 0.76vw, 1.5rem);
    color: var(--white-color);
    box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.2);
    font-weight: bold;
    padding: 32px 24px;
    border-radius: 80px;
    width: clamp(17.5rem, 15.206rem + 11.47vw, 25rem);
    cursor: pointer;
    transition: .3s;
}

.m_cta_btn:hover {
    transform: translateY(4px);
}

.m_cta_btn_orange{
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--accent-color);
}

.m_cta_btn_green{
    display: flex;
    flex-direction: column;
    background: var(--green-color);
}

.m_cta_btn_txt_mail{
    font-size: 12px;
}
.m_cta_btn_txt_tel{
    font-size: 14px;
}

.m_cta_time{
    font-size: clamp(1rem, 0.924rem + 0.38vw, 1.25rem);
    font-weight: bold;
}

.m_cta_time_txt{
    width: clamp(17.5rem, 15.206rem + 11.47vw, 25rem);
    font-size: clamp(0.875rem, 0.799rem + 0.38vw, 1.125rem);
}

@media (min-width: 751px) {
    a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    }
}

.m_cta_sns-wrapper{
    width: clamp(17.5rem, 15.206rem + 11.47vw, 25rem);
    border-radius: 20px;
    padding: 48px 32px;
    margin-top: 80px;
}

.m_cta_dot_orange{
    border: 3px dotted var(--accent-color);
}

.m_cta_dot_white{
    border: 3px dotted var(--white-color);
}

.m_cta_sns_img-container{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    width: 100%;
    margin-top: 24px;
}

.m_cta_sns_link{
    display: inline-block;
    cursor: pointer;
    transition: .3s;
}

.m_cta_sns_link:hover {
    transform: translateY(4px);
}

.m_cta_sns_img{
    width: 56px;
    height: auto;
}

/* --------- .top_kv ---------- */

.top_kv{
    background-color: var(--primary-color);
    padding: 0 clamp(1rem, 0.541rem + 2.29vw, 2.5rem);
}

.top_kv_copy{
    color: var(--white-color);
    font-size: clamp(1.125rem, 0.704rem + 2.1vw, 2.5rem);
    font-weight: bold;
    text-shadow: 2px 2px 2px rgba(170, 170, 170, 0.16);
}

.top_kv-inner {
    z-index: var(--z-index-back);
    height: 100vh;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.3), rgba(0,0,0,0)), url(../img/img_kv.jpg) center top / cover;
    border-radius: clamp(1.5rem, 1.347rem + 0.76vw, 2rem); /*24-32*/
    border: clamp(0.25rem, 0.205rem + 0.23vw, 0.375rem) solid var(--green-color);
}

.top_kv_box{
    margin-top: calc(100vh - 360px);
    margin-left: clamp(0.5rem, -0.494rem + 4.97vw, 3.75rem);
}


/* ------ top_scroll ------ */

.scroll_down{
    position:absolute;
    bottom: 0px;
    right: 100px;
}



@media screen and (max-width: 960px) {
    .scroll_down{
        right: 10%;
        bottom: -80px;
    }
}
@media screen and (max-width: 960px) {
    .scroll_down_txt{
        display: none;
    }
}

.scroll_down a{
    position: absolute;
    left: 10px;
    bottom: 87px;
    color: var(--white-color);
    font-size: 14px;
    font-weight: bold;
    font-family: "Zen Kaku Gothic New", sans-serif;
    letter-spacing: .2em;
    writing-mode: vertical-lr;
    text-decoration: none;
    text-transform: uppercase;
}

.scroll_down:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--white-color);
    animation:
    circlemove 1.6s ease-in-out infinite,
    cirlemovehide 1.6s ease-out infinite;
}

@keyframes circlemove{
    0%{bottom:160px;}
    100%{bottom:0px;}
}

@keyframes cirlemovehide{
    0%{opacity:0}
    50%{opacity:1;}
    80%{opacity:0.9;}
    100%{opacity:0;}
}

.scroll_down:after{
    content:"";
    position: absolute;
    bottom:0;
    left:0;
    width:2px;
    height: 160px;
    background:var(--white-color);
}

/* --------- .top_about ---------- */

.top_about_padding{
    padding-top: 80px;
}

.top_about_title_main{
    color: var(--green-color);
}


.top_about_btn-aboutoak{
    color: var(--white-color);
    background-color: var(--green-color);
}

.top_about_btn-teacher{
    color: var(--black-color);
    background-color: var(--softgreen-color);
}

.top_about_img{
    width: clamp(100px, 29.2vw, 440px);
    
    object-fit: cover;
    border-radius: 57% 43% 53% 47% / 44% 49% 51% 56% ;
}
@media screen and (max-width:834px) {
    .top_about_img{
        width: clamp(17.5rem, 11.274rem + 31.13vw, 27.5rem);
    }
}


/* --------- .top_eikaiwa ---------- */

.top_eikaiwa{
    position: relative;
    padding-top: 80px;
}

.top_eikaiwa_btn{
    color: var(--black-color);
    background: var(--primary-color);
}

.top_eikaiwa_btn_sm{
    color: var(--black-color);
    background: var(--softgreen-color);
}

/* --------- .top_online ---------- */

.top_online_btn{
    color: var(--white-color);
    background: var(--green-color);
}

/* --------- .top_teacher ---------- */

.top_teacher-wrapper{
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: clamp(2.5rem, 1.735rem + 3.82vw, 5rem);/*40-80px*/
}

.top_teacher{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
}
@media screen and (max-width: 960px) {
    .top_teacher{
        display: flex;
        flex-direction: column;
        gap: clamp(1.5rem, 1rem + 2.5vw, 2.5rem);
    }
}

.top_teacher_txt-wrapper{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.top_teacher_name{
    font-size: 24px;
    font-weight: bold;
    position: relative;
}

.top_teacher_nickname{
    font-size: 14px;
    color: var(--accent-color);
    font-weight: bold;
}

.top_teacher_txt{
    font-size: clamp(1rem, 0.962rem + 0.19vw, 1.125rem);
    text-align: justify;
}

.top_teacher_img-wrapper{
    margin-top: 16px;
}

.top_teacher_img{
    width: clamp(17.5rem, 15.54rem + 3.76vw, 18.75rem);
    height: auto;
    border-radius: 57% 43% 53% 47% / 44% 49% 51% 56% ;
}
@media screen and (max-width: 834px) {
    .top_teacher_img{
        width: clamp(17.5rem, 11.274rem + 31.13vw, 27.5rem);
    }
}

.top_teacher_message-wrapper{
    background: var(--softgreen-color-background);
    border-radius: 30px;
    padding: 40px 64px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.2);
    margin-top: 16px;
}
@media screen and (max-width: 834px) {
    .top_teacher_message-wrapper{
        padding: 24px 24px;
    }
}

.top_teacher_message_title{
    font-size: clamp(1rem, 0.847rem + 0.76vw, 1.5rem);
    font-weight: bold;
    border-bottom: 3px dotted var(--white-color);
    padding-left: 16px;
}
@media screen and (max-width: 834px) {
    .top_teacher_message_title{
        padding-left: 0;
    }
}

.top_teacher_message_txt{
    font-size: clamp(0.875rem, 0.799rem + 0.38vw, 1.125rem);
    text-align: justify;
}


/* --------- .top_faq ---------- */

.top_faq{
    background: var(--green-color);
}

.top_faq_wrapper{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.top_faq_title{
    color: var(--white-color);
    text-align: center;
}

.top_faq_button {
    background: var(--white-color);
    width: 100%;
    border-radius: 20px;
    padding: clamp(1rem, 0.541rem + 2.29vw, 2.5rem) clamp(1rem, 0.541rem + 2.29vw, 2.5rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
}

.top_faq_button:not(:first-child) {
    margin-top: 16px;
}

.top_faq_content {
    display: flex;
    align-items: center;
    position: relative;
}

.top_faq_content__a {
    margin-top: 40px;
}

.top_faq_icon {
    font-weight: bold;
    padding-right: 16px;
}

.top_faq_icon__q {
    font-size: 24px;
    color: var(--green-color);
}

.top_faq_icon__a {
    font-size: 24px;
    color: var(--accent-color);
}

.top_faq_txt {
    font-size: clamp(0.875rem, 0.799rem + 0.38vw, 1.125rem);
    font-weight: bold;
    text-align: justify;
    margin-right: 16px;
}

.top_faq_mark {
    width: clamp(1rem, 0.924rem + 0.38vw, 1.25rem);
    height: clamp(1rem, 0.924rem + 0.38vw, 1.25rem);
    position: relative;
    flex-shrink: 0;
}

.top_faq_mark::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 100%;
    background: var(--green-color);
}

.top_faq_mark::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 2px;
    background: var(--green-color);
}

.top_faq_sub{
    font-size: clamp(0.875rem, 0.799rem + 0.38vw, 1.125rem);
    color: var(--white-color);
}

.js_faq_mark.is-open::before {
    opacity: 0;
}

.js_faq-a {
    height: 0;
    opacity: 0;
    overflow: hidden; /* コンテンツをクリップする */
}

/* --------- .top_access ---------- */

.access_section{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
@media screen and (max-width: 834px) {
    .access_section{
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
}

.access_section_txt{
    display: flex;
    flex-direction: column;
}

.access_section_adress{
    font-size: clamp(0.875rem, 0.799rem + 0.38vw, 1.125rem);
    margin-top: 16px;
}

.access_txt_sub{
    font-size: clamp(0.875rem, 0.799rem + 0.38vw, 1.125rem);
    font-weight: bold;
    margin-top: 16px;
}

.access_btn{
    background: var(--primary-color);
    width: 300px;
    margin-top: 24px;
}

.access_btn::before {
    content: "";
    width: 24px;
    height: 24px;
    background: url(../img/logo_map.svg) center / contain no-repeat;
    margin-right: 8px;
}

.access_map iframe {
    width: clamp(290px, 44vw, 600px);
    height: clamp(180px, 25.6vw, 350px);
    border-radius: 20px;
}


/* --------- section_wave ---------- */

.custom-shape-divider-top-1734598592 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-top-1734598592 svg {
    position: relative;
    display: block;
    width: calc(135% + 1.3px);
    height: 53px;
}

.custom-shape-divider-top-1734598592 .shape-fill {
    fill: var(--softgreen-color-background);
}
.custom-shape-divider-top-1734598592 .shape-fill.white {
    fill: var(--primary-color);
}

/** For tablet devices **/
@media (min-width: 768px) and (max-width: 1023px) {
    .custom-shape-divider-top-1734598592 svg {
        width: calc(131% + 1.3px);
        height: 41px;
    }
}

/** For mobile devices **/
@media (max-width: 767px) {
    .custom-shape-divider-top-1734598592 svg {
        width: calc(137% + 1.3px);
        height: 38px;
    }
}
/* -------- about_oaktree ------- */

.main_about{
    display: flex;
    flex-direction: column;
    gap: 80px;
    background: var(--primary-color);
}

.oaktree_logo_img{
    width: clamp(11.25rem, 9.338rem + 9.56vw, 17.5rem);
}

.oaktree_txt-box{
    display: flex;
    flex-direction: column;
    text-align: center;
}

.oaktree_title{
    width: 100%;
    color: var(--green-color);
}

.oaktree_txt_top{
    color: var(--green-color);
    margin-top: 16px;
    font-size: clamp(0.625rem, 0.58rem + 0.23vw, 0.75rem);
}

.container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
}

.field {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 300px;
}

.mouse {
    width: 40px;
    height: 70px;
    border: 2px solid var(--green-color);
    border-radius: 60px;
    position: relative;
    &::before {
    content: '';
    width: 10px;
    height: 10px; 
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--green-color);
    border-radius: 50%;
    opacity: 1;
    animation: wheel 2s infinite;
    -webkit-animation: wheel 2s infinite;
    }
}

@keyframes wheel {
    to {
    opacity: 0;
    top: 50px;
    }
}

@-webkit-keyframes wheel {
    to {
    opacity: 0;
    top: 50px;
    }
}

.oaktree_txt{
    font-size: clamp(0.875rem, 0.799rem + 0.38vw, 1.125rem);/*14-18px*/
    line-height: 4;
    margin-top: 80px;
}

.oaktree_txt_bold{
    color: var(--accent-color);
    font-size: clamp(1.125rem, 1.087rem + 0.19vw, 1.25rem);
    font-weight: bold;
    margin-top: 80px;
}

.youtube{
    margin-top: 120px;
}

.youtube {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.youtube iframe {
    width: 100%;
    height: 100%;
}

/* ------- cafe ------- */

.accent{
    color: var(--accent-color);
}

/* ---------- contact ---------- */
.contact_form_heading {
    font-size: clamp(1rem, 0.962rem + 0.19vw, 1.125rem); /*16-18px*/
    font-weight: bold;
    position: relative;
}
@media screen and (max-width: 380px) {
    .contact_form_heading{
    display: flex;
    flex-direction: column;
    margin-top: 8px;
    }
}
@media screen and (max-width: 960px) {
    .contact_form_heading.long{
        display: flex;
        flex-direction: column;
    }
}

.contact_form_heading:not(:first-child) {
    margin-top: 40px;
}

.contact_form_example {
    color: var(--gray-color);
    font-size: clamp(0.625rem, 0.549rem + 0.38vw, 0.875rem);/*10-14*/
    font-weight: normal;
    margin-left: 16px;
}
@media screen and (max-width: 960px) {
    .contact_form_example{
        margin-left: 0;
    }
}

.contact_form_detail {
    margin-top: 10px;
}


.contact_form_input {
    background: var(--white-color);
    width: 100%;
    height: 40px;
    border: 2px solid var(--green-color);
    border-radius: 8px;
    padding: 0 8px;
}

.contact_form_required {
    font-size: clamp(0.5rem, 0.424rem + 0.38vw, 0.75rem);/*8-12px*/
    font-weight: bold;
    padding: 0 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--accent-color);
    color: var(--white-color);
    border-radius: 50px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}


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

.contact_form_radio {
    appearance: radio;
}

.contact_form_label {
    font-size: clamp(1rem, 0.962rem + 0.19vw, 1.125rem); /*16-18px*/
    font-weight: bold;
    padding-left: 16px;
}

.contact_form_checkbox-item{
    margin-top: 16px;
}

.contact_form_checkbox {
    appearance: checkbox;
}

.contact_form_privacy{
    font-size: clamp(0.875rem, 0.799rem + 0.38vw, 1.125rem);/*14-18px*/
}

.contact_form_privacy-link{
    color: var(--accent-color);
    border-bottom: 1px solid var(--accent-color);
    text-align: center;
}

.contact_form_textarea {
    background: var(--white-color);
    width: 100%;
    height: 250px;
    border: 2px solid var(--green-color);
    border-radius: 8px;
    padding: 8px 16px;
    resize: none;
}

.contact_form_privacy_checkbox{
    appearance: checkbox;
}
.contact_form_btn-wrapper{
    text-align: center;
    margin-top: 40px;
}

.contact_form_btn{
    display: inline-block;
    position: relative;
    margin-top: 24px;
    
}

.submit-btn {
    /* buttonタグのリセットCSS */
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    appearance: none;
    color: var(--white-color);
    background: var(--accent-color);
    width: 300px;
    padding: 24px 32px;
    border-radius: 50px;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
    text-align: center;
    cursor: pointer;
    transition: .3s;
}

.submit-btn:hover {
    box-shadow: unset;
    transform: translateY(4px);
}


.submit-btn::before {
    content: "";
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent transparent var(--white-color);
}

.submit-btn{
    font-size: 20px;
    font-weight: bold;
}

/* --------- privacy ---------- */

.privacy_wrapper{
    margin-top: 120px;
}

.privacy_content{
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
}

.privacy_title{
    font-size: 36px;
    font-weight: bold;
}

.privacy_content_head{
    font-size: 20px;
    font-weight: bold;
}

/* --------- js --------- */

.js_body.is-active{
    overflow: hidden;
}

.js_navigation {
    pointer-events: none;
    opacity: 0;
    
}
@media screen and (min-width: 960px) {
    .js_navigation {
        pointer-events: auto;
        opacity: 1;
    }
}
.js_navigation_right {
    pointer-events: none;
    opacity: 0;

}
@media screen and (min-width: 960px) {
    .js_navigation_right {
        pointer-events: auto;
        opacity:  1;
    }
}

.js_navigation.is-active {
    opacity: 1;
    pointer-events: inherit;
}
.js_navigation_right.is-active {
    opacity: 1;
    pointer-events: inherit;
}

.js_hamburger.is-active .m_hamburger-bar:first-child {
    top: 50%;
    transform: translate(-50%, 0) rotate(45deg);
}

.js_hamburger.is-active .m_hamburger-bar:nth-child(2) {
    opacity: 0;
}

.js_hamburger.is-active .m_hamburger-bar:last-child {
    top: 50%;
    transform: translate(-50%, 0) rotate(-45deg);
}


/* cf7 style */
.wpcf7-list-item {
    margin: 0;
}

.wpcf7-list-item:not(:first-child) {
    margin-left: 16px;
}

.wpcf7-list-item-label {
    font-weight: bold;
    margin-left: 8px;
}

input[type="radio"] {
    appearance: button;
}

input[type="checkbox"] {
    appearance: checkbox;
} 

.wpcf7-spinner {
    display: none;
}

.wpcf7-list-item:first-child {
    margin-left: 16px;
}