@charset "utf-8";

/*
Theme Name:bsktest_site
version:1.0
*/

/*****************
    共通部分
 *****************/

body {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    display: block;
}

.body_inner {
    width: 100%;
}

.wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

section {
    padding: 80px 0;
}

.title {
    margin-bottom: 24px;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.4em;
    text-align: center;
}

.sub_title {
    margin-bottom: 16px;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.3em;
}

.sub_hd {
    padding: 80px 0;
    background: url(img/common/sub_hd.png) no-repeat center / cover;
    text-align: center;
}

.sub_hd_title {
    padding: 24px 12px;
    background: rgba(243, 152, 29, 0.6);
    display: inline-block;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: #ffffff;
}

.red {
    color: #ea5532;
}

.orange {
    color: #f3981d;
}

.green {
    color: #124935;
}

.bg {
    background-color: #fbf8e9;
}

.bg_orange {
    background-color: #f3981d;
}

.bg_green {
    background-color: #124935;
}

.bg_ygreen {
    background-color: #b9d08b;
}

.sp_br {
    display: none;
}

.btn01 a {
    max-width: 350px;
    margin: 0 auto;
    padding: 12px 0;
    border: 2px solid #124935;
    border-radius: 30px;
    background: #ffffff;
    text-align: center;
    letter-spacing: 0.3em;
    position: relative;
    transition: all 0.5s;
}

.btn01 a::before {
    width: 30px;
    height: 30px;
    background: #124935;
    border-radius: 50%;
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 8%;
    transition: all 0.5s;
}

.btn01 a::after {
    width: 10px;
    height: 10px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
    right: 11%;
    transition: all 0.5s;
}

.btn01 a:hover {
    border-color: #124935;
    background: #124935;
    color: #ffffff;
}

.btn01 a:hover::before {
    background: #ffffff;
}

.btn01 a:hover::after {
    border-right: 2px solid #124935;
    border-bottom: 2px solid #124935;
}

.btn02 a {
    padding: 12px 0;
    border: 2px solid #f3981d;
    background: #f3981d;
    border-radius: 30px;
    color: #ffffff;
    text-align: center;
    letter-spacing: 0.3em;
    position: relative;
    transition: all 0.5s;
}

.btn02 a::before {
    width: 30px;
    height: 30px;
    background: #ffffff;
    border: 2px solid #f3981d;
    border-radius: 50%;
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 8%;
    transition: all 0.5s;
}

.btn02 a::after {
    width: 10px;
    height: 10px;
    border-right: 2px solid #f3981d;
    border-bottom: 2px solid #f3981d;
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
    right: 11%;
    transition: all 0.5s;
}

.btn02 a:hover {
    border-color: #f3981d;
    background: #ffffff;
    color: #f3981d;
}

.btn02 a:hover::before {
    background: #f3981d;
}

.btn02 a:hover::after {
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
}

.btn03 a {
    max-width: 350px;
    margin: 0 auto;
    padding: 12px 0;
    border: 2px solid #124935;
    background: #124935;
    border-radius: 30px;
    color: #ffffff;
    text-align: center;
    letter-spacing: 0.3em;
    position: relative;
    transition: all 0.5s;
}

.btn03 a::before {
    width: 30px;
    height: 30px;
    background: #ffffff;
    border: 2px solid #124935;
    border-radius: 50%;
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 8%;
    transition: all 0.5s;
}

.btn03 a::after {
    width: 10px;
    height: 10px;
    border-right: 2px solid #124935;
    border-bottom: 2px solid #124935;
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
    right: 11%;
    transition: all 0.5s;
}

.btn03 a:hover {
    border-color: #124935;
    background: #ffffff;
    color: #124935;
}

.btn03 a:hover::before {
    background: #124935;
}

.btn03 a:hover::after {
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
}

.btn_m {
    max-width: 350px;
    margin: 0 auto;
}

.btn_l {
    max-width: 600px;
    margin: 0 auto;
}

.btn_l a {
    width: 100%;
    padding: 24px 0;
    border-radius: 40px;
    font-size: 24px;
}

.btn_l a::before {
    width: 40px;
    height: 40px;
}

@media screen and (max-width: 800px) {
    .pc_br {
        display: none;
    }

    .btn_l a {
        max-width: 500px;
        padding: 16px 0;
        font-size: 22px;
    }

    .sub_hd {
        padding: 60px 0;
    }

    .sub_hd_title {
        font-size: 28px;
    }
}

@media screen and (max-width: 700px) {
    section {
        padding: 60px 0;
    }

    .title {
        font-size: 20px;
    }
}

@media screen and (max-width: 600px) {
}

@media screen and (max-width: 500px) {
    .sub_title {
        font-size: 18px;
    }

    .sub_hd {
        padding: 40px 0;
    }

    .sub_hd_title {
        font-size: 24px;
    }

    .btn02 a,
    .btn03 a {
        padding: 8px 0;
    }

    .btn02 a::before,
    .btn03 a::before {
        width: 25px;
        height: 25px;
    }

    .btn_l a {
        font-size: 18px;
    }

    .btn_l a::before {
        width: 25px;
        height: 25px;
        right: 4%;
    }

    .btn_l a::after {
        right: 7%;
    }
}

/*****************
    fixed_btn
 *****************/
.fixed_btn {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 99999;
}

.fixed_btn a {
    width: 60px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-weight: 600;
    letter-spacing: 0.2em;
}

.fixed_contact {
    background: #f3981d;
    color: #ffffff;
}

.fixed_contact img {
    width: 30px;
    height: 30px;
}

.fixed_line {
    background: #ffffff;
    border: 2px solid #06c755;
    color: #06c755;
}

.fixed_line img {
    width: 40px;
    height: 40px;
}

@media screen and (max-width: 700px) {
    .fixed_btn {
        width: 100%;
        height: 50px;
        bottom: 0;
        left: 0;
        right: auto;
        top: auto;
        transform: unset;
        display: flex;
        flex-direction: row;
        gap: 0;
    }

    .fixed_btn a {
        width: 50%;
        height: auto;
        writing-mode: unset;
        text-orientation: unset;
    }
}

/*****************
    ヘッダー
 *****************/
.header_inner {
    height: 100px;
    padding: 20px;
}

.header_logo {
    width: 380px;
}

.pc_nav ul li {
    margin-left: 24px;
}

.pc_nav ul li:nth-child(1) {
    margin-left: 0;
}

.nav_insta img {
    width: 25px;
    display: block;
}

.sp_nav,
.sp_menu_btn {
    display: none;
}

.sp_nav {
    width: 100%;
    height: 100vh;
    background: #f2b361;
    color: #ffffff;
    opacity: 0;
    transition: all 0.4s;
    z-index: 9999;
}

.sp_nav ul li a {
    padding: 24px;
    border-bottom: 1px solid #ffffff;
    letter-spacing: 0.1em;
    position: relative;
}

.sp_nav_item a::before {
    width: 20px;
    height: 20px;
    border: 1px solid #ffffff;
    border-radius: 50%;
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 8%;
}

.sp_nav_item a::after {
    width: 6px;
    height: 6px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
    right: 9%;
}

.sp_nav .sp_contact a {
    border-bottom: none;
    background: #f3981d url(img/common/contact.svg) no-repeat center left 25% /
        30px;
    text-align: center;
    letter-spacing: 0.5em;
    font-weight: 700;
}

/************************
    ハンバーガーメニュー
 ************************/
.sp_menu_btn {
    width: 60px;
    height: 60px;
    position: relative;
    top: 0;
    right: 0;
    background: #f3981d;
    z-index: 1;
}

.sp_menu_btn span {
    width: 30px;
    height: 2px;
    background-color: #ffffff;
    display: block;
    border-radius: 20px;
    position: absolute;
    right: 15px;
    transition: 0.4s ease-in-out;
}

.sp_menu_btn span:nth-child(1) {
    top: 10px;
}

.sp_menu_btn span:nth-child(2) {
    top: 19px;
}

.sp_menu_btn span:nth-child(3) {
    top: 28px;
}

.sp_menu_btn::after {
    content: "MENU";
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 12px;
    text-align: center;
}
/***********************
    ハンバーガー閉じた時
 ***********************/
/* 背景画面のスクロールを止める */
body.active {
    height: 100%;
    overflow: hidden;
}

.sp_menu_btn.active span:nth-child(1) {
    top: 20px;
    transform: rotate(45deg);
}

.sp_menu_btn.active span:nth-child(2) {
    opacity: 0;
}

.sp_menu_btn.active span:nth-child(3) {
    top: 20px;
    transform: rotate(-45deg);
}

.sp_menu_btn.active::after {
    content: "CLOSE";
}

.sp_nav.active {
    opacity: 1;
}

@media screen and (max-width: 700px) {
    .header_logo {
        width: 220px;
    }
}

@media screen and (max-width: 1000px) {
    .pc_nav {
        display: none;
    }
    .sp_menu_btn {
        display: block;
    }

    .sp_nav {
        position: fixed;
        top: 145px;
        left: 0;
    }

    .sp_nav.active {
        display: block;
    }
}

/*****************
    パンくず
 *****************/
.breadcrumb span {
    margin: 0 4px;
}

.breadcrumb_inner {
    padding: 20px;
}

.breadcrumb_inner span a {
    display: inline-block;
}

@media screen and (max-width: 800px) {
    .breadcrumb_inner {
        font-size: 12px;
    }
}

/*****************
    KV
 *****************/
.kv {
    position: relative;
    height: 750px;
    overflow: hidden;
}

.kv img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kv_copy {
    position: absolute;
    top: 30%;
    right: 6%;
}

.kv_hd {
    padding-left: 20px;
    border-left: 16px solid #f3981d;
    font-size: 70px;
    font-weight: 700;
    letter-spacing: 0.4em;
    background: rgb(255 255 255/0.7);
    display: inline-block;
}

.kv_hd:nth-child(1) {
    margin-bottom: 16px;
}

.kv_hd:nth-child(2) {
    border-left-color: #124935;
}

@media screen and (max-width: 1000px) {
    .kv_hd {
        font-size: 60px;
    }
}

@media screen and (max-width: 700px) {
    .kv_copy {
        top: auto;
        bottom: 30%;
    }

    .kv_hd {
        font-size: 40px;
    }
}

/*****************
    about
 *****************/
.about_copy {
    width: 80%;
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 20px 0;
    border-top: 3px dotted;
    border-bottom: 3px dotted;
    text-align: center;
    color: #f3981d;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.4em;
}

.about_text {
    width: 80%;
    max-width: 800px;
    margin: 0 auto 40px;
}

@media screen and (max-width: 900px) {
    .sp_br {
        display: inline;
    }
}

@media screen and (max-width: 700px) {
    .about_copy {
        font-size: 26px;
    }
}

@media screen and (max-width: 500px) {
    .about_copy {
        font-size: 22px;
    }
}

/*****************
    teacher
 *****************/
.teacher_img,
.teacher_box {
    width: 45%;
}

.teacher_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher_copy {
    margin-bottom: 32px;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.3em;
}

.teacher_text {
    margin-bottom: 40px;
}

@media screen and (max-width: 800px) {
    .teacher_img,
    .teacher_box {
        width: 100%;
    }

    .teacher_img {
        margin-bottom: 40px;
    }

    .teacher_copy {
        text-align: center;
    }
}

@media screen and (max-width: 500px) {
    .teacher_copy {
        font-size: 22px;
    }
}

/*****************
    info
 *****************/
.info_box {
    width: 45%;
    padding: 20px;
    border-radius: 30px;
    background-color: #ffffff;
}

.fee {
    border: 2px solid #f3981d;
}

.faq {
    border: 2px solid #124935;
}

.info_box .sub_title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.fee .sub_title::before {
    width: 40px;
    height: 40px;
    content: "";
    display: block;
    background: url(img/front_page/fee_info.svg) no-repeat center / contain;
}

.faq .sub_title::before {
    width: 40px;
    height: 40px;
    content: "";
    display: block;
    background: url(img/front_page/qa_info.svg) no-repeat center / contain;
}

.info_box p {
    margin-bottom: 16px;
    text-align: center;
}

@media screen and (max-width: 800px) {
    .info_box {
        width: 100%;
        margin: 0 auto;
    }

    .info_box:nth-child(1) {
        margin-bottom: 40px;
    }
}

/*****************
    instagram
 *****************/
#instagram p {
    margin-bottom: 32px;
    text-align: center;
}

/*****************
    contact
 *****************/
.contact_box {
    padding: 80px 0;
    background: url(img/front_page/contact_bg.png) no-repeat center center/cover;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.contact_box::before {
    width: 100%;
    height: 100%;
    content: "";
    background: rgb(255 255 255/0.6);
    position: absolute;
    top: 0;
    left: 0;
}

.contact_copy {
    margin-bottom: 40px;
    display: inline-block;
    font-size: 28px;
    font-weight: 500;
    position: relative;
    z-index: 1;
    letter-spacing: 0.3em;
}

.contact_copy::before,
.contact_copy::after {
    content: "";
    width: 40px;
    height: 2px;
    display: block;
    background: #000000;
    position: absolute;
    top: 50%;
}

.contact_copy::before {
    transform: translateY(-50%) rotate(45deg);
    left: -40px;
}

.contact_copy::after {
    transform: translateY(-50%) rotate(-45deg);
    right: -40px;
}

@media screen and (max-width: 800px) {
    .contact_box {
        padding: 40px 0;
    }

    .contact_copy {
        margin-bottom: 24px;
    }
}

@media screen and (max-width: 600px) {
    .contact_copy {
        margin-bottom: 16px;
        font-size: 22px;
    }
}

/*****************
    aboutページ
 *****************/
.class_txt {
    margin-bottom: 40px;
}

#class .flex {
    justify-content: center;
    align-items: stretch;
    gap: 40px;
}

.class_box {
    width: 45%;
    padding-bottom: 24px;
    border: 2px solid;
    border-radius: 30px;
    background: #ffffff;
}

.kids {
    border-color: #ea5532;
}

.elementary {
    border-color: #f3981d;
}

.class_box .sub_title {
    font-size: 18px;
    border-radius: 28px 28px 0 0;
    padding: 16px;
    color: #ffffff;
}

.kids .sub_title {
    background: #ea5532;
}

.elementary .sub_title {
    background: #f3981d;
}

.class_box p {
    padding: 0 16px;
}

#philosophy p {
    margin-bottom: 32px;
    text-align: center;
}

.philosophy_example {
    width: fit-content;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.philosophy_example dt {
    padding: 4px;
    font-weight: normal;
}

.philosophy_example li {
    padding: 4px;
}

#company .wrap {
    padding: 0 80px;
}

#company .flex {
    justify-content: flex-start;
}

.company_item {
    margin-bottom: 16px;
    font-size: 18px;
}

.company_item dt {
    width: 200px;
}

@media screen and (max-width: 800px) {
    .class_box {
        width: 100%;
        margin: 0 auto 40px;
    }
}

@media screen and (max-width: 600px) {
    .company_item dt {
        width: 100%;
    }
}

/*****************
    infoページ
 *****************/
.fee_info_txt {
    margin-bottom: 40px;
}

#fee_info .wrap {
    text-align: center;
}

.subsc_box {
    max-width: 600px;
    margin: 0 auto 40px;
    padding: 16px;
    background: #ffffff;
    border: 2px solid #f3981d;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.subsc_fee {
    margin-bottom: 12px;
    border-bottom: 2px solid #f3981d;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 0.2em;
}

.subsc_fee .orange {
    font-size: 38px;
    letter-spacing: 0.2em;
    font-weight: 600;
}

.subsc_member {
    margin-bottom: 16px;
}

.subsc_member dt {
    letter-spacing: 0.2em;
}

.subsc_member dt .red {
    font-size: 30px;
}

.subsc_member dd {
    font-weight: 600;
}

.subsc_member dd p {
    font-size: 24px;
}

.subsc_point li {
    display: flex;
    align-items: center;
    gap: 4px;
    text-align: left;
}

.subsc_point li img {
    width: 20px;
    height: 20px;
}

#fee_info .flex {
    justify-content: center;
    align-items: stretch;
    gap: 16px;
}

.campaign_ag {
    padding: 24px;
    margin-bottom: 40px;
    background: #f3981d;
    position: relative;
}

.campaign_ag::after {
    content: "";
    width: 150px;
    height: 150px;
    background: url(img/info/cracker.png) no-repeat center / 140px;
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 16px;
}

.campaign_badge {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 28px;
}

.campaign_badge p {
    color: #f3981d;
    font-weight: 600;
    font-size: 28px;
    letter-spacing: 0.1em;
}

.campaign_ag_title {
    margin-bottom: 8px;
    font-size: 28px;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.2em;
}

.campaign_ag_txt {
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 600;
}

.campaign_btn a {
    width: 60%;
    margin: 0 auto;
    padding: 12px;
    background: #ffffff;
    border-radius: 30px;
    color: #f3981d;
    font-weight: 600;
    letter-spacing: 0.2em;
}

.fee_info_title {
    margin-bottom: 32px;
    padding: 8px 32px;
    background: #f3981d;
    border-radius: 20px;
    display: inline-block;
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.2em;
    border-radius: 20px;
}

.fee_info {
    margin-bottom: 40px;
}

.fee_info_box {
    width: 32%;
    padding: 16px;
    border: 2px solid #f3981d;
    border-radius: 20px;
    background: #ffffff;
}

.fee_info_box dt {
    width: 90%;
    margin: 0 auto 16px;
    border-bottom: 2px dotted #f3981d;
}

.fee_info_age {
    margin-bottom: 8px;
    padding: 2px 8px;
    border: 1px solid #124935;
    display: inline-block;
    border-radius: 20px;
    color: #124935;
    font-size: 14px;
    letter-spacing: 0.2em;
}

.fee_info_box dd {
    font-weight: 600;
}

.fee_info_box dd .orange {
    font-size: 34px;
    letter-spacing: 0.2em;
    font-weight: 600;
}

.campaign_month {
    padding: 4px 12px;
    display: block;
    background: #ea5532;
    border-radius: 20px;
    color: #ffffff;
    letter-spacing: 0.2em;
}

.campaign_free {
    display: inline-block;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 0.2em;
    position: relative;
}

.campaign_free::before,
.campaign_free::after {
    width: 30px;
    height: 2px;
    background: #ea5532;
    content: "";
    position: absolute;
    top: 50%;
}

.campaign_free::before {
    transform: rotate(45deg);
    left: -32px;
}

.campaign_free::after {
    transform: rotate(-45deg);
    right: -24px;
}

.other_fee_wrap {
    margin-bottom: 20px;
}

.other_fee dt {
    padding-bottom: 8px;
}

.other_fee_txt {
    font-weight: 600;
    letter-spacing: 0.2em;
}

.other_fee .orange {
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 0.2em;
}

.faq_item {
    margin-bottom: 40px;
    padding: 32px 40px;
    border: 1px solid #f3981d;
    border-radius: 20px;
    background: #f2ddc2;
}

.faq_item dt {
    margin-bottom: 16px;
    border-bottom: 1px solid #f3981d;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    cursor: pointer;
}

.faq_item dt::before,
.faq_item dt::after {
    content: "";
    background: #124935;
    border-radius: 2px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.faq_item dt::before {
    width: 20px;
    height: 3px;
    right: 8px;
}

.faq_item dt::after {
    width: 3px;
    height: 20px;
    right: 17px;
    transition: all 0.5s;
}

.faq_item dt.active::after {
    display: none;
}

.faq_icon {
    width: 50px;
    height: 50px;
    position: relative;
    top: -12px;
    flex-shrink: 0;
}

.faq_item dd {
    display: none;
}

.faq_item.active dd {
    display: block;
}

@media screen and (max-width: 800px) {
    .campaign_ag {
        padding: 80px 20px 70px;
    }

    .campaign_ag::after {
        width: 70px;
        height: 70px;
        background-size: 70px;
        top: auto;
        bottom: 0;
        transform: none;
    }

    .campaign_badge {
        width: 70px;
        height: 70px;
        top: 8px;
        transform: none;
        left: 20px;
    }

    .campaign_badge p {
        font-size: 18px;
    }

    .campaign_ag_title {
        font-size: 24px;
    }

    .campaign_btn a {
        width: 100%;
        letter-spacing: normal;
    }

    #fee_info .flex {
        gap: 40px;
    }

    .fee_info_box {
        width: 45%;
    }
}

@media screen and (max-width: 600px) {
    .fee_info_box {
        width: 90%;
    }

    .faq_item {
        padding: 32px 16px;
    }

    .faq_item dt {
        padding-bottom: 8px;
    }

    .faq_item dt span:nth-child(2) {
        padding-right: 32px;
    }

    .faq_icon {
        width: 40px;
        height: 40px;
    }
}

@media screen and (max-width: 500px) {
    #fee_info .subsc_box .subsc_member .flex {
        gap: 0;
    }
}

/*****************
    contact
 *****************/
.mail_contact_txt {
    margin-bottom: 40px;
    text-align: center;
}

table {
    width: 100%;
    margin-bottom: 40px;
    border-collapse: collapse;
}

th,
td {
    padding: 20px;
    border: 1px solid #999999;
}

th {
    width: 250px;
    background: #f2ddc2;
}

td label {
    margin-right: 40px;
}

.required {
    padding: 4px 12px;
    display: inline-block;
    background: #ea5532;
    border-radius: 50px;
    color: #ffffff;
    letter-spacing: 0.2em;
    font-size: 12px;
    font-weight: 400;
}

form .red {
    font-size: 14px;
}

input[type="radio"] {
    appearance: auto;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
    border: 1px solid #999999;
}

input[type="text"],
input[type="tel"],
input[type="email"] {
    width: 60%;
    padding: 8px;
}

.select_wrap {
    width: 300px;
    position: relative;
}

select {
    width: 100%;
    padding: 8px 24px 8px 8px;
}

.select_wrap::after {
    width: 10px;
    height: 10px;
    border-right: 2px solid #000000;
    border-bottom: 2px solid #000000;
    content: "";
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%) rotate(45deg);
}

.hope_day {
    margin-bottom: 8px;
}

input[type="date"] {
    appearance: auto;
    -webkit-appearance: auto;
}

textarea {
    width: 90%;
}

.submit_btn {
    width: 350px;
    margin: 0 auto;
    position: relative;
}

.wpcf7-submit {
    width: 100%;
    margin: 0 auto;
    padding: 12px 0;
    border: 2px solid #f3981d;
    background: #f3981d;
    border-radius: 30px;
    color: #ffffff;
    text-align: center;
    letter-spacing: 0.3em;
    position: relative;
    transition: all 0.5s;
}

.submit_btn::before {
    width: 30px;
    height: 30px;
    background: #ffffff;
    border: 2px solid #f3981d;
    border-radius: 50%;
    content: "";
    display: block;
    position: absolute;
    top: 33%;
    transform: translateY(-50%);
    right: 8%;
    transition: all 0.5s;
    z-index: 1;
}

.submit_btn::after {
    width: 10px;
    height: 10px;
    border-right: 2px solid #f3981d;
    border-bottom: 2px solid #f3981d;
    content: "";
    display: block;
    position: absolute;
    top: 33%;
    transform: translateY(-50%) rotate(-45deg);
    right: 11%;
    transition: all 0.5s;
    z-index: 1;
}

.wpcf7-submit:hover {
    border-color: #f3981d;
    background: #ffffff;
    color: #f3981d;
}

.submit_btn:hover::before {
    background: #f3981d;
}

.submit_btn:hover::after {
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
}

#other_contact .flex {
    align-items: stretch;
}

.other_contact_box {
    width: 48%;
}

.other_contact_box .title {
    font-size: 22px;
}

.tel {
    margin-bottom: 16px;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-align: center;
}

.tel_time {
    font-weight: 600;
    text-align: center;
}

.line_btn {
    max-width: 350px;
    margin: 0 auto;
}

.line_btn a {
    padding: 16px;
    border: 2px solid #06c755;
    border-radius: 30px;
    background: #ffffff;
    text-align: center;
    color: #06c755;
    font-weight: 600;
    position: relative;
    transition: all 0.5s;
}

.line_btn a img {
    width: 40px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 16px;
}

.line_btn a::before {
    width: 30px;
    height: 30px;
    background: #06c755;
    border-radius: 50%;
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 8%;
    transition: all 0.5s;
}

.line_btn a::after {
    width: 10px;
    height: 10px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
    right: 11%;
    transition: all 0.5s;
}

.line_btn a:hover {
    border-color: #06c755;
    background: #06c755;
    color: #ffffff;
}

.line_btn a:hover::before {
    background: #ffffff;
}

.line_btn a:hover::after {
    border-right: 2px solid #06c755;
    border-bottom: 2px solid #06c755;
}

@media screen and (max-width: 800px) {
    .other_contact_box {
        width: 100%;
        margin-bottom: 40px;
    }
}

@media screen and (max-width: 600px) {
    #mail_contact .wrap {
        padding: 0 24px;
    }

    table,
    tbody,
    tr,
    th,
    td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    #mail_contact table tr td {
        border-top: none;
        border-bottom: none;
    }

    #mail_contact table tr:last-child td {
        border: 1px solid #999999;
    }

    input[type="text"],
    input[type="tel"],
    input[type="email"] {
        width: 100%;
    }

    input[type="date"] {
        width: 100%;
        height: 44px;
        padding: 8px;
    }

    textarea {
        width: 100%;
    }

    .submit_btn {
        width: 300px;
    }

    .tel {
        margin-bottom: 8px;
        font-size: 28px;
    }
}

/*****************
    teacherページ
 *****************/
.teacher_profile_img {
    width: 45%;
    height: 410px;
}

.teacher_profile_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher_info {
    width: 45%;
}

#teacher_02 .teacher_profile {
    flex-direction: row-reverse;
}

.teacher_name {
    margin-bottom: 40px;
    padding: 16px;
    border-radius: 50px;
    text-align: center;
    font-weight: 600;
    font-size: 26px;
}

.teacher_name small {
    font-size: 16px;
}

.teacher_info dl:first-of-type {
    margin-bottom: 40px;
}

.small {
    font-size: 18px;
}

@media screen and (max-width: 700px) {
    #teacher_01,
    #teacher_02,
    #teacher_03 {
        padding: 40px 0;
    }

    .teacher_profile_img {
        width: 100%;
        margin-bottom: 40px;
    }

    .teacher_info {
        width: 100%;
    }

    .teacher_info {
        width: 80%;
        margin: 0 auto 40px;
    }
}

/*****************
    news
 *****************/
#news .flex {
    margin-bottom: 40px;
    gap: 32px;
    align-items: stretch;
}

.news_box {
    width: 30%;
    padding: 16px;
    background: #f2ddc2;
    border: 1px solid #f3981d;
    border-radius: 20px;
}

.news_img {
    margin-bottom: 16px;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.news_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s;
}

.news_box:hover .news_img img {
    transform: scale(1.05);
}

.news_date {
    margin-bottom: 8px;
}

.news_title {
    font-weight: 600;
}

@media screen and (max-width: 900px) {
    #newslist .flex {
        gap: 40px;
    }

    .news_box {
        width: 45%;
    }
}

@media screen and (max-width: 600px) {
    .news_box {
        width: 100%;
    }
}

/*****************
    news個別ページ
 *****************/
.content_day {
    margin-bottom: 8px;
    display: inline-block;
    padding: 4px 12px;
    background: #f3981d;
    border-radius: 20px;
    color: #ffffff;
    font-weight: 600;
}

.content_title {
    margin-bottom: 40px;
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 0.2em;
}

.post_links {
    margin-top: 40px;
}

@media screen and (max-width: 600px) {
    .content_title {
        font-size: 28px;
    }
}

/*****************
    404
 *****************/
.notfound_txt {
    text-align: center;
}

/*****************
    フッター
 *****************/
.footer_inner {
    padding: 16px 0 50px 0;
}

.f_logo {
    margin: 0 auto 16px auto;
    width: 380px;
}

.f_nav {
    margin-bottom: 16px;
    background: #fbf8e9;
}

.f_nav ul {
    padding: 20px;
    justify-content: center;
    gap: 40px;
}

.copy {
    text-align: center;
}

@media screen and (max-width: 1000px) {
    .f_nav {
        display: none;
    }
}

@media screen and (max-width: 700px) {
    .f_logo {
        width: 300px;
        margin-bottom: 8px;
    }
}
/*****************
    ユーティリティ
 *****************/

.flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
