@charset "UTF-8";

:root{
    --text-color: #1E1E1E;
    
    --base-color: #03AED2;
    --sub-color: #68D2E8;
    --accent-color: #fdde55;
    --background-color: #FEEFAD;

    --heading-font: 'M PLUS Rounded 1c', sans-serif;
    --body-font: 'Noto Sans JP', sans-serif;
}

.wrapper{
    overflow: hidden;
}

/*フォント*/
.heading_primary, .box_primary, .entry_title, .voice_title { /* 全てのheading要素に適用 */
    font-family: var(--heading-font);
    font-weight: 700; /* 太字にする */
}

body, .list_text, .grade_text, .fee_text, .voice_text_list, .answer, .menu_item, .mv_title { /* bodyとその他のテキスト要素に適用 */
    font-family: var(--body-font);
    font-weight: 400; /* 通常の太さ */
}

.menu_btn, .entry_btn{
    font-family: var(--body-font);
    font-weight: 500;
}

/* もし重要なテキストを強調したい場合は、font-weight: boldを使用 */
.box_title{
    font-family: var(--body-font);
    font-weight: 700;
}

/*見出し*/
.heading_primary{
    padding: 120px 0 120px 0;
    text-align: center;
    color: var(--text-color);
    font-size: 36px;
    font-weight: bold;
    letter-spacing: .1em;
    text-decoration: underline;
    text-underline-offset: 0.4em;
    text-decoration-thickness: 5px;
    text-decoration-color: #fdde55;
}
/*テキスト*/
span{
    color: var(--text-color);
}

/*ヘッダー*/
header{
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 0;
    padding-left: 30px;
}

.header_logo{
    display: flex;
    align-items: center;
    width: auto;
    height: 100%;
}

.header_link{
    width: auto;
    height: 100%;
}

.img_logo{
    display: flex;
    align-items: center;
    width: auto;
    height: 100%;
}

/*ハンバーガーメニュー*/
nav{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: aliceblue;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity .5s ease;
}
nav.active{
    opacity: 1;
    pointer-events: auto;
}
.menu{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 150px;
}
.menu_list{
    padding: 30px 0;
    font-size: 24px;
    color: var(--text-color);
    font-weight: bold;
}
.menu_btn{
    display: flex;
    justify-content: center;
    padding: 20px 10px;
    font-size: 20px;
    border: 3px solid var(--background-color);
    width: 300px;
    margin: auto;
    margin-top: 30px;
    background-color: var(--accent-color);
    color: var(--text-color);
    font-weight: bold;
}
.menu_btn:hover{
    /* opacity: .5; */
    background-color: var(--accent-color);
    border: 1px solid var(--text-color);
    color: var(--text-color);
}

.hamburger_wrapper{
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
}

.hamburger{
    width: 100px;
    height: 100px;
    background-color: #68D2E8;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding: 10px;
    box-sizing: border-box;
    z-index: 1000;
}

.hamburger span{
    display: block;
    width: 70%;
    height: 5px;
    background: #edf4ff;
    transition: all 0.5s;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 8px 0;
    /* transform: translateY(-50%); */
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

/* バツ印に変化するスタイル */
.hamburger.active span:nth-child(1) {
    transform: translateY(18px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-25px) rotate(-45deg);
}

/*メインビジュアル*/
.mv{
    height: 650px;
    display: flex;
    position: relative;
    /* display: none; */
}

.mv_textarea{
    width: 30%;
    height: 650px;
    z-index: 5;
}

.mv_title{
    width: auto;
    font-size: 60px;
    font-weight: bold;
    text-shadow: 0px 4px 6px #ffffff;
    line-height: 1.2em;
    position: absolute;
    top: 270px;
    left: 80px;

}

.mv_btn{
    display: flex;
    position: absolute;
    top: 450px;
    left: 80px;
    font-size: 24px;
    font-weight: 550;
    letter-spacing: .1em;
    border: 1px solid var(--accent-color);
    background-color: var(--accent-color);
    padding: 15px 60px;
    border-radius: 3px;
    box-shadow: 0 7px 0 0  rgba(199, 174, 61, 1);
    transform: scale(1);
    transition: all 0.4s;
}
.mv_btn:hover{
    transform: scale(1.1);
    transition: all 0.4s;
}

.mv_btn::before,
.mv_btn::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    width: 15px;
    height: 4px;
    background-color: var(--text-color);
}

.mv_btn::before {
    transform: translateY(-6px) rotate(40deg);
}

.mv_btn::after {
    transform: translateY(2px) rotate(-40deg);
}

/*スライドショー*/
.mv_fade{
    width: 100%;
    height: 650px;
    position: relative;
    overflow: hidden;
}

.mv_list{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.mv_fade img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* display: none; */
}

/*さくら塾の特徴*/
.features_body{
    background-color: aliceblue;
    padding: 100px 30px 60px 30px;
}
.features_list{
    width: 60%;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    margin-bottom: 50px;
    background-color: #ffff;
    border: 5px solid var(--background-color);
}
.features_list_body{
    display: flex;
}
.features_list:nth-of-type(even){
    margin-left: auto;
}

.features_textarea{
    width: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.list_title{
    width: 100%;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: .1em;
}
.list_text{
    width: auto;
    font-size: 16px;
    padding-top: 30px;
    letter-spacing: .1em;
    line-height: 1.2em;
}
.list_img{
    width: auto;
    max-width: 50%;
    height: auto;
    object-fit: contain;
}

/*コース紹介*/
.box_primary{
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    padding:30px 0 50px 0;
}
.first_grade_box{
    padding: 50px;
    border: 1px solid #F2F1E6;
    margin: 30px;
    background-color: #F2F1E6;
    border-radius: 15px;
}
.grade_box{
    padding: 50px;
    border: 1px solid #F2F1E6;
    margin: 30px;
    background-color: #F2F1E6;
    border-radius: 15px;
}

.grade_item{
    display: flex;
}

.btn_box{
    width: 100%;
    display: flex;
    justify-content: space-around;
}

.grade_btn{
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 3px
}
.grade_btn:hover{
    opacity: .5;
}
.grade_a{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}
.grade_img{
    width: 88%;
    height: auto;
    border-radius: 20px 20px 0 0;
}

.grade_content {
    width: 89%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 7px 0 0 rgb(121 114 85);
    padding: 20px;
}

.grade_text {
    flex-grow: 1;
    text-align: center;
    font-weight: bold;
    margin: 0;
    padding: 0;
    font-size: 18px;
}

.arrow-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #ffffff;
    position: relative;
    margin-left: -50px;
    border: 1px solid #1E1E1E;
}

.arrow-circle::before,
.arrow-circle::after {
    content: '';
    position: absolute;
    right: 4px;
    top: 53%;
    width: 10px;
    height: 2px;
    background-color: var(--text-color);
}

.arrow-circle::before{
    transform: translateY(-5px) rotate(40deg);
}

.arrow-circle::after {
    
    transform: translateY(1px) rotate(-40deg);
}

/*料金案内*/
.fee_inner{
    margin: 0 100px;
}
table{
    width: 100%;
    border-collapse: collapse;
    background-color: #ffff;
}
table thead tr th:first-child {
    background-color: white;
}
table thead tr {
    background-color: var(--base-color);
    color: #ffff;
}
table tbody th:nth-child(-n+3) {
    background-color: #f7f7f7; /* 最初の3行の背景色 */
}

caption{
    padding-bottom: 5px;
}
th,td{
    border: 2px solid #e5e5eb;
    padding: 15px;
}
th{
    width: 8%;
    text-align: right;
    padding-right: 30px;
}
td{
    width: 10%;
    text-align: center;
    font-weight: bold;
}
.fee_text{
    padding-top: 20px;
    line-height: 1.3em;
}
.thead_sp{
    display: none;
}

/*みんなの声*/
.voice_img{
    width: 100%;
}
.voice_box{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 100px 100px 60px 100px;
    background-color: aliceblue;
}
.box_inner{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 80px;
    background-color: #ffff;
    border: 2px solid var(--background-color);
    padding-bottom: 15px;
    opacity: 0;
    visibility: hidden;
    transition: all 1s;
    transform: translateY(150px);
}
.box_inner_active{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    padding: 20px 15px 20px 15px;
    width: 80%;
}

figure.voice_list{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-basis: 50%;
}
.voice_img{
    width: 50%;
    display: flex;
    justify-content: space-around;
}
img.box_img {
    width: 50%;
    object-fit: cover;
}
.box_title{
    width: 100%;
    text-align: center;
    margin-top: 0px;
}
.voice_text {
    display: flex;
    flex-direction: column;
    flex-basis: 40%;
}
p.voice_text_list {
    width: 100%;
    display: flex;
    justify-content: center;
    letter-spacing: .1em;
    line-height: 1.3em;
    padding-top: 15px;
}
.voice_title{
    font-size: 18px;
    font-weight: bold;
    color: var(--base-color);
}

/*無料体験申し込み*/
.entry_inner{
    width: 100%;
    height: 280px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0;
    background-color: #ffffff;
}
.entry_title{
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333333;
}
.entry_text{
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #333333;
}
.entry_btn{
    border: 1px solid var(--accent-color);
    background-color: var(--accent-color);
    box-shadow: 0 7px 0 0 rgba(199, 174, 61, 1);
    padding: 20px 150px;
    font-size: 24px;
    font-weight: bold;
    transform: scale(1);
    transition: all 0.4s
}
.entry_btn:hover{
    transform: scale(1.1);
    transition: all 0.4s;
}

/*よくある質問*/
.question_container{
    background-color: #F2F1E6;
    padding-bottom: 150px;
}
.question_box{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.question_wrapper{
    display: flex;
    flex-wrap: wrap;
    width: 74%;
}

.question_list{
    width: 100%;
    text-align: left;
    padding-bottom: 20px;
    position: relative;
}
.question_title{
    background-color: #f7f7f7;
    padding: 20px;
    cursor: pointer;
    letter-spacing: .1em;

}
.question_title:after{
    content: '➕';
    position: absolute;
    right: 20px;
    top: 33px;
    transform: translateY(-50%);
}
.question_title.active:after {
    content: '➖';
}
.answer{
    background-color: #ffff;
    padding: 20px;
    line-height: 1.1em;
    display: none;
}
.q,.a{
    font-weight: bold;
    margin-left: 10px;
}

/*フッター*/
.footer {
    background-color: #f8f8f8;
    padding: 40px 0 0 0;
    color: var(--text-color);
    font-size: 14px;
}

.footer_inner {
    margin: 0 auto;
    padding: 0 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer_nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex; 
    flex-wrap: wrap;
}

.footer_nav li {
    margin-right: 20px; 
    margin-bottom: 10px;
}

.footer_nav a {
    color: var(--text-color);
    text-decoration: none;
}

.footer_nav a:hover {
    text-decoration: underline;
    text-underline-offset: 0.4em;
    text-decoration-thickness: 1px;
}

.footer_contact,
.footer_address {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer_contact p,
.footer_address p {
    margin: 0;
    line-height: 1.6;
}

.copyright_wrapper{
    width: 100%;
    background-color: #d8d7c9;
}
.footer_copyright {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    padding: 5px 0;
}


@media(max-width: 768px){

    /*見出し*/
.heading_primary{
    padding: 100px 0 60px 0;
    text-align: center;
    color: var(--text-color);
    font-size: 32px;
    font-weight: bold;
    letter-spacing: .1em;
    text-decoration: underline;
    text-underline-offset: 0.4em;
    text-decoration-thickness: 5px;
    text-decoration-color: #fdde55;
}

    p{
        font-size: 16px;
    }

    /*ヘッダー*/
    .header{
        padding-left: 10px;
    }

    /*ハンバーガーメニュー*/
    .hamburger.active span:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-17px) rotate(-45deg);
    }

    .hamburger{
        width: 70px;
        height: 70px;
    }
    .menu{
        margin-top: 100px;
    }
    .menu_list{
        padding: 20px;
    }

    /*メインビジュアル*/
    .mv{
        flex-direction: column;
        position: relative;
        height: 400px;
        overflow: hidden;
    }

    .mv_fade{
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }
    .mv_textarea{
        width: 100%;
        position: absolute;
        height: 0;
    }
    .mv_title{
        font-size: 30px;
        top: 250px;
        left: 10px;
    }
    .mv_btn{
        width: 210px;
        font-size: 18px;
        font-weight: bold;
        padding: 5px 20px;
        top: 340px;
        left: 10px;

    }
    .mv_btn::before, .mv_btn::after {
        width: 12px;
        height: 3px;
        right: 15px;
        top: 48%;
    }
    .mv_btn::before {
        transform: translateY(-3px) rotate(30deg);
    }
    
    .mv_btn::after {
        transform: translateY(2px) rotate(-30deg);
    }

    .mv_list{
        height: 100%;
    }
    .mv_fade img{
        object-fit: cover;
        width: 100%;
        height: 100%;
    }

    /*さくら塾の特徴*/
    .features_body{
        padding: 100px 10px 60px 10px
    }
    .features_list{
        width: 100%;
        padding: 20px 30px 40px 30px;
        margin-bottom: 50px;
    }
    .features_list_body{
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
    }
    .list_title{
        padding-top: 20px;
    }
    .list_img{
        width: 50%;
    }
    .list_text{
        line-height: 1.4em;
    }
    .box_title{
        padding-bottom: 20px;
    }
    
    

    /*コース紹介*/
    .first_grade_box{
        padding: 0;
        margin:0 15px 50px 15px;
    }
    .grade_box{
        padding: 0;
        margin: 0 15px;
    }
    .box_primary{
        padding: 40px 0 50px 0;
    }
    .btn_box{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .grade_btn{
        width: 100%;
        padding-bottom: 60px;
    }

    /*料金案内*/
    .fee_inner {
        margin: 0 10px;
    }
    br{
        display: block;
        content: "";
        margin: 10px;
    }
    thead{
        font-size: 13px;
    }
    th{
        font-size: 13px;
    }
    td{
        vertical-align: middle;
    }
    .thead_sp{
        display: block;
    }

    /*みんなの声*/
    .voice_box{
        padding: 70px 10px 60px 10px;
    }
    .box_inner {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px 0 20px 0;
        margin-bottom: 50px;
    }
    .voice_img {
        width: 100%;
    }
    img.box_img{
        width: 40%;

    }
    .voice_text{
        width: 100%;
        padding: 0 20px;
    }
    .voice_title{
        font-weight: normal;
        text-align: center;
    }
    p.voice_text_list{
        width: 100%;
        padding-top: 10px;
        max-width:350px;
        text-align: center;
        display: inline-block; 
        margin: auto;
        line-height: 1.4em;
        letter-spacing: .2em;
    }
    /*無料体験申し込み*/
    .entry_inner{
        margin: auto;
    }
    .entry_btn {
        width: 95%;
        padding: 20px 80px;
        font-size: 20px;
    }
    .entry_title{
        font-size: 26px;
        margin-bottom: 20px;
    }
    .entry_text{
        margin-bottom: 50px;
    }
    /*よくある質問*/
    .question_container{
        padding-bottom: 100px;
    }
    .question_wrapper{
        width: 100%;
    }
    .question_list{
        padding-bottom: 30px;
    }

    .question_title{
        padding-right: 50px;
    }
    .answer{
        letter-spacing: .1em;
        line-height: 1.1em;
    }
    /*フッター*/
    .footer_contact{
        margin: 3% 0;
    }
    .footer_nav ul {
        list-style: none;
        padding-bottom: 20px;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        /* flex-direction: column; */
        justify-content: center;
        align-items: center;
    }
}