@charset "utf-8";

body {
    background-color: rgb(255, 225, 170);
    color: #2e2929;
    font-size: 16px;
    font-family: "Noto Sans JP"
}

a:hover {
    opacity: 0.8;
}


.header {
    position: relative;
    padding: 0 20px;
}

header {
    width: 100%;
    position: fixed;
    padding: 32px 32px 32px 32px;
    background-color: rgb(255, 225, 170);
    top: 0;
    z-index: 10;
    height: 80px;

}


.hamburger {
    position: fixed;
    top: 16px;
    right: 20px;
    z-index: 100;
    width: 48px;
    height: 48px;
    border: none;
    background: transparent;
    cursor: pointer;
}

@media screen and (max-width:800px) {
    .hamburger {
        top: 12px;
    }

    /*==max-width:800px==*/
}

.hamburger__line {
    position: absolute;
    left: 11px;
    width: 26px;
    height: 2px;
    background-color: #333;
    transition: all .4s;
}

.hamburger__line:nth-of-type(1) {
    top: 14px;
}

.hamburger__line:nth-of-type(2) {
    top: 23px;
}

.hamburger__line:nth-of-type(3) {
    top: 32px;
}

/* メニューオープン時 */
.hamburger.active .hamburger__line:nth-of-type(1) {
    transform: translateY(9px) rotate(-45deg);
}

.hamburger.active .hamburger__line:nth-of-type(2) {
    opacity: 0;
}

.hamburger.active .hamburger__line:nth-of-type(3) {
    transform: translateY(-9px) rotate(45deg);
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    background-color: antiquewhite;
    box-shadow: 2px 0 4px rgba(0, 0, 0, .1);
    transform: translateX(-100%);
    transition: transform .4s;
    z-index: 90;
}

.nav.active {
    transform: translateX(0);
}

.nav__list {
    margin: 0;
    padding: 100px 0 0;
    list-style: none;
}

.nav__item {
    padding: 0 20px;
}

.nav__link {
    display: block;
    padding: 15px 0;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #2e2929;
}

.main_title {
    position: fixed;
    font-size: 20px;
    z-index: 1;
    top: 25px;
}

.main_title a {
    text-decoration: none;
    color: #333;
    color: #2c44e2;
    font-family: "Mochiy Pop One", sans-serif;
    font-weight: 400;
    font-style: normal;
}


.trial {
    position: fixed;
    top: 12px;
    right: 100px;
    width: 200px;
    text-align: center;
    background-color: orangered;
    text-decoration: none;
    line-height: 8vh;
    font-size: 16px;
    color: white;
    z-index: 1;
}

@media screen and (max-width:800px) {
    .trial {
        top: 20px;
        right: 80px;
        font-size: 12px;
        width: 130px;
        line-height: 5vh;
    }

    .main_title {
        font-size: 14px;

    }

    header {
        padding: 32px 24px 32px 24px;
    }

    /*==max-width:800px==*/
}


.main_img {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 20%;
    margin-bottom: 64px;
}

@media screen and (max-width:800px) {
    .main_img {
        width: 100%;
        border-radius: 0%;
    }

    /*==max-width:800px==*/
}

main .inner {
    margin-top: 100px;
}

@media screen and (max-width:800px) {
    main .inner {
        margin-top: 80px;
    }

    /*==max-width:800px==*/
}

main h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 36px;
    color: #2c44e2;
    font-family: "Mochiy Pop One", sans-serif;
    font-weight: 400;
    font-style: normal;
}

@media screen and (max-width:800px) {
    main h2 {
        font-size: 18px;
    }

    /*==max-width:800px==*/
}

main h3 {
    font-size: 18px;
    text-align: center;
    color: orangered;
    margin-bottom: 32px;
}

main .sub_img {
    max-width: 300px;
}

/*TOPへ戻るボタン*/
#page-top {
    position: fixed;
    bottom: 20px;
    right: 30px;
    font-size: 14px;
    line-height: 1;
    z-index: 99;
}

#page-top a {
    background: #ab101b;
    text-decoration: none;
    color: #fff;
    width: 80px;
    height: 80px;
    padding: 32px 5px;
    text-align: center;
    display: block;
    border-radius: 50%;
    opacity: 0.9;
    transition: all .3s ease;
}

#page-top a:hover {
    text-decoration: none;
    opacity: .5;
}

/*教室について*/

.about {
    display: flex;
    justify-content: space-around;
    margin-left: 10%;
    margin-right: 10%;
    text-align: center;
    margin-bottom: 48px;
}

.about1 {
    margin-bottom: 42px;
}

.about2 {
    margin-bottom: 42px;
}

.about3 {
    margin-bottom: 42px;
}

@media screen and (max-width:800px) {
    .about {
        display: block;
    }

    /*==max-width:800px==*/
}


.sub_img {
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
}

.sub_title {
    color: orangered;
    font-weight: bold;
    margin-bottom: 8px;
}

/*ボタン切り替え*/
.btn img {
    width: 200px;
    margin-bottom: 42px;
}

.btn {
    display: flex;
    justify-content: space-around;
    margin-left: 12%;
    margin-right: 12%;
    margin-bottom: 48px;
}

@media screen and (max-width:800px) {
    .btn {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 12px;
        place-items: center;

    }

    .btn img {

        margin-bottom: 12px;
    }

    /*==max-width:800px==*/
}

/*選ばれる理由*/
.color {
    background-color: rgb(255, 208, 105);
}

.color h2 {
    padding-top: 32px;
}

.reason {
    margin-left: 15%;
    margin-right: 15%;
    margin-bottom: 48px;

}

.reason1 {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin-bottom: 64px;
}

.reason2 {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-direction: row-reverse;
    padding-bottom: 32px;
}

.reason img {
    height: 250px;
    margin-left: 24px;
    margin-right: 24px;
    margin-bottom: 24px;
    margin-top: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.trial_btn {
    display: block;
    width: 300px;
    text-align: center;
    background-color: orangered;
    text-decoration: none;
    line-height: 8vh;
    font-size: 16px;
    color: white;
    margin-left: auto;
    margin-right: auto;
    margin-top: 24px;
}



@media screen and (max-width:800px) {
    .reason1 {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .reason2 {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .reason img {
        margin-left: auto;
        margin-right: auto;
    }

    .reason br {
        display: none;
    }

    .trial_btn {

        width: 250px;
        line-height: 7vh;
        font-size: 14px;
    }


    /*==max-width:600px==*/
}

/*無料体験レッスン*/

.free_trial {
    margin-top: 24px;
    background-color: white;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    border-radius: 10px;
    display: flex;
    justify-content: space-around;
    margin-bottom: 54px;
}

.free_trial .free_trial_img {
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

.free_trial_content {
    margin-left: auto;
    margin-right: auto;
    margin-top: 32px;
}

.free_trial a {
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: 300px;
    text-align: center;
    background-color: orangered;
    text-decoration: none;
    line-height: 8vh;
    font-size: 16px;
    color: white;
}

@media screen and (max-width:1200px) {
    .free_trial {
        display: block;
    }

    .free_trial_content {
        margin-left: 32px;
        margin-right: 32px;
    }

    .free_trial_content br {
        display: none;
    }

    .free_trial_content p {
        margin-bottom: 32px;
    }



    .free_trial .free_trial_img {
        width: 100%;
    }

    /*==max-width:800px==*/
}

/*お客様の声*/

.box-011 {
    position: relative;
    margin: 1.9em auto 0;
    padding: 1em 1.5em;
    border: 1px solid orangered;
    border-radius: 3px;
    background-color: white;
    margin-top: 54px;
    margin-left: 10px;
    margin-right: 10px;

}

.box-011 span {
    position: absolute;
    top: -1.9em;
    left: -2px;
    padding: .2em .8em;
    border-radius: 5px 5px 0 0;
    background-color: orangered;
    color: #fff;

}

.box-011 p {
    margin: 0;
    color: #333;
    height: 180px;
}

.voice {
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 54px;
}

@media screen and (max-width:800px) {
    .voice {
        margin-left: auto;
        margin-right: auto;

    }

    /*==max-width:800px==*/
}

.cta {
    margin-bottom: 48px;
}

.cta a {
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: 300px;
    text-align: center;
    background-color: orangered;
    text-decoration: none;
    line-height: 8vh;
    font-size: 16px;
    color: white;
}

@media screen and (max-width:800px) {
    .cta a {

        width: 230px;
        font-size: 14px;
        line-height: 7vh;
    }

    /*==max-width:800px==*/
}

/*よくある質問*/
.qa {
    margin-bottom: 48px;
}

.accordion-003 {
    max-width: 500px;
    margin-bottom: 7px;
    border-bottom: 2px solid #d0d0d0;
    margin-left: auto;
    margin-right: auto;
}

.accordion-003 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em;
    color: #333333;
    font-weight: 600;
    cursor: pointer;
}

.accordion-003 summary::-webkit-details-marker {
    display: none;
}

.accordion-003 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #333333b3;
    border-right: 3px solid #333333b3;
    content: '';
    transition: transform .3s;
}

.accordion-003[open] summary::after {
    transform: rotate(225deg);
}

.accordion-003 p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 2em 1.5em;
    color: #333333;
    transition: transform .5s, opacity .5s;
}

.accordion-003[open] p {
    transform: none;
    opacity: 1;
}

/*フッター*/

footer {
    background-color: orangered;
    color: white;
    padding-top: 32px;
    padding-bottom: 42px;
    text-align: center;
    padding-left: 20%;
    padding-right: 20%;

}

footer ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
}


footer a {
    color: white;
    text-decoration: none;
}

footer p {
    font-size: 10px;
    text-align: center;
    margin-top: 32px;
}

@media screen and (max-width:800px) {
    footer ul {
        display: block;
        padding: 0;
    }

    footer li {

        margin-bottom: 15px;
        margin-left: auto;
        margin-right: auto;

    }

    /*==max-width:800px==*/
}

/*下層ページ*/
/*レッスン内容*/
.under_inner {
    margin-top: 48px;
    margin-left: 5%;
    margin-right: 5%;
}

.under_lesson {
    margin-left: 10%;
    margin-right: 10%;
}

.under_img {
    margin-top: 80px;
    width: 100%;
}

.under_page {
    text-align: center;
    margin-bottom: 48px;
}

.course {
    background-color: white;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 48px;
    padding: 32px 32px 32px 32px;
    border-radius: 10px;

}

.course p {
    margin-bottom: 24px;
}

.contents {
    display: flex;
    justify-content: space-around;
    margin-left: 10%;
    margin-right: 10%;
}


.content1 {
    position: relative;
    display: inline-block;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: orange;
    font-size: 15px;
}

.content1 span {
    position: absolute;
    display: inline-block;
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 120px;
    text-align: center;
}

@media screen and (max-width:800px) {
    .course {
        width: 100%;
    }

    .contents {
        display: block;
        margin-right: 5%;
        margin-left: 5%;

    }

    .under_lesson {
        margin-left: 0;
        margin-right: 0;
    }

    .contents {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 8px;
    }

    .content1 {
        margin-left: auto;
        margin-right: auto;
        font-size: 12px;
        width: 120px;
        height: 120px;
    }

    /*==max-width:800px==*/
}



.lesson {
    display: flex;
    justify-content: space-around;
    margin-left: auto;
    margin-right: auto;
    margin-left: 10%;
    margin-right: 10%;
    text-align: center;
    margin-bottom: 48px;
}

@media screen and (max-width:800px) {
    .lesson {
        display: block;
        margin-left: auto;
        margin-right: auto;

    }

    .lesson br {
        display: none;
    }

    .lesson1 {
        margin-bottom: 48px;
    }

    .lesson3 {
        margin-bottom: 48px;
    }

    /*==max-width:800px==*/
}

/*講師紹介*/

.under_teacher p {
    text-align: center;
    margin-bottom: 48px;
}

.teacher_img {
    object-fit: cover;
    width: 350px;

}

.teacher1 {
    display: flex;
    justify-content: space-around;
    margin-left: 10%;
    margin-right: 10%;
    margin-bottom: 48px;
    background-color: white;
    padding-top: 32px;
    padding-bottom: 32px;
    border-radius: 10px;
}

.teacher2 {

    display: flex;
    flex-direction: row-reverse;
    justify-content: space-around;
    margin-left: 10%;
    margin-right: 10%;
    margin-bottom: 48px;
    background-color: white;
    padding-top: 32px;
    padding-bottom: 32px;
    border-radius: 10px;

}

.teacher_text {
    text-align: center;
    margin-top: 32px;
}

@media screen and (max-width:800px) {
    .teacher1 {
        font-size: 14px;
        display: block;
        margin-left: 0;
        margin-right: 0;
    }

    .teacher2 {
        font-size: 14px;
        display: block;
        margin-left: 0;
        margin-right: 0;
    }

    .teacher_img {
        margin-left: auto;
        margin-right: auto;
    }

    /*==max-width:800px==*/
}

/*無料体験レッスン*/
.trial_top {
    display: flex;
    justify-content: space-around;
    margin-bottom: 24px;
    margin-left: 20%;
    margin-right: 20%;
}

.trial_topimg {
    object-fit: cover;
    width: 300px;
    margin-bottom: 24px;
}

.under_trial p {
    text-align: center;

}

@media screen and (max-width:800px) {

    .trial_top {
        display: block;
        margin-left: 0;
        margin-right: 0;
    }

    .trial_topimg {
        margin-left: auto;
        margin-right: auto;
    }

    /*==max-width:800px==*/
}


.trial_reason {
    display: flex;
    justify-content: space-around;
    margin-bottom: 48px;
    margin-left: 10%;
    margin-right: 10%;
}

.trial_reason1 {
    text-align: center;
    background-color: white;
    padding-top: 32px;
    padding-left: 32px;
    padding-bottom: 32px;
    padding-right: 32px;
    border-radius: 10px;
}

.trial_reason1 h4 {
    margin-bottom: 12px;
}

.trial_reason2 {
    text-align: center;
    background-color: white;
    padding-top: 32px;
    padding-left: 32px;
    padding-bottom: 32px;
    padding-right: 32px;
    border-radius: 10px;
}

.trial_reason2 h4 {
    margin-bottom: 12px;
}

.trial_reason3 {
    text-align: center;
    background-color: white;
    padding-top: 32px;
    padding-left: 32px;
    padding-bottom: 32px;
    padding-right: 32px;
    border-radius: 10px;
}

.trial_reason3 h4 {
    margin-bottom: 12px;
}

@media screen and (max-width:800px) {
    .trial_reason {
        display: block;
        margin-left: 0;
        margin-right: 0;
    }

    .trial_reason1 {
        text-align: center;
        background-color: white;
        padding-top: 24px;
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 10px;
    }

    .trial_reason2 {
        text-align: center;
        background-color: white;
        padding-top: 24px;
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 10px;
    }

    .trial_reason3 {
        text-align: center;
        background-color: white;
        padding-top: 24px;
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 10px;
    }


    /*==max-width:800px==*/
}

.cta1 {
    margin-bottom: 48px;
}

.cta1 a {
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: 300px;
    text-align: center;
    background-color: orangered;
    text-decoration: none;
    line-height: 8vh;
    font-size: 16px;
    color: white;
}

.question {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 48px;
    background-color: #d0d0d0;
    padding-top: 24px;
    padding-bottom: 12px;
    max-width: 600px;
}

.question p {
    margin-bottom: 24px;
}

.trial_voice {
    margin-bottom: 48px;
    margin-top: 54px;
}

.box-trial {
    position: relative;
    max-width: 600px;
    margin: 1.9em auto 0;
    padding: 1em 1.5em;
    border: 2px solid orangered;
    border-radius: 3px;
    background-color: white;
    margin-bottom: 54px;
}

.box-trial span {
    position: absolute;
    top: -1.9em;
    left: -2px;
    padding: .2em .8em;
    border-radius: 5px 5px 0 0;
    background-color: orangered;
    color: #fff;
}

.box-trial p {
    margin: 0;
    color: #333;
}

.trial_about {
    text-align: center;
    margin-bottom: 48px;
    background-color: white;
    width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 32px;
    padding-bottom: 32px;
}

@media screen and (max-width:800px) {
    .trial_about {
        width: 100%;
    }

    .controll br {
        display: none;
    }

    /*==max-width:800px==*/
}

/*申し込みフォーム*/
form {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 450px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 48px;
}

label {
    display: block;
    margin-bottom: 8px;
}

input,
textarea,
select {
    width: 100%;
    padding: 8px;
    margin-bottom: 16px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

textarea {
    resize: vertical;
}

button {
    align-items: center;
    background-color: orangered;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.trial_button {
    text-align: center;
}

.controll p {
    margin-bottom: 24px;
}

/*アクセス*/
.map {
    margin-left: auto;
    margin-right: auto;
}

iframe {
    display: block;
    margin-bottom: 24px;
    margin-left: auto;
    margin-right: auto;


}

@media screen and (max-width:800px) {
    .map iframe {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    /*==max-width:px==*/
}

.adress {
    margin-bottom: 24px;
}

.adress h4 {
    text-align: center;
    margin-bottom: 12px;
}

.adress p {
    text-align: center;

}