@charset "utf-8";

/*共通*/
html {
    scroll-behavior: smooth;
    font-family: 'Noto Sans JP', sans-serif;
    overflow-x: hidden;
}

h2,
h3,
h4 {
    text-align: center;
    position: relative;
}

h2 {
    width: 600px;
    margin: 0 auto;
}

p,
small {
    max-width: 800px;
    margin: 0 auto;
    color: #333;
}

small {
    display: block;
    font-size: 0.8rem;
}

.topInner {
    width: 900px;
    margin: 0 auto;
    display: block;
}

.Inner {
    width: 700px;
    margin: 0 auto;
    display: block;
}

/*ヘッダー*/
header {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
}

header .Logo {
    width: 14%;
}

#mainMenu {
    display: flex;
    width: 420px;
    justify-content: space-between;
}

#mainMenu li a {
    font-weight: bold;
    color: #000;
}

#mainMenu li a:hover {
    border-bottom: 2px solid #000;
}

#topMenu {
    display: flex;
    justify-content: space-between;
    width: 320px;
}

#topMenu li a {
    color: #fff;
    font-weight: bold;
    background-color: #E4AB28;
    border-radius: 5px;
    padding: 5px 10px;
    box-shadow: 0px 2px 0px #F7E343;
}

#topMenu li a:hover {
    background-color: #F2C358;
}


/*メインビジュアル*/
#mainIMG {
    background: url(../images/top_bg.jpg) no-repeat center right;
    background-size: cover;
    height: 460px;
    padding: 40px 0;
}

#mainIMG img {
    width: 600px;
    margin-top: 40px;
    opacity: 1;
    animation-name: faderight;
    animation-duration: 2s;
}

@keyframes faderight {
    from {
        opacity: 0;
        transform: translateX(-150px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/*CVR*/
#cvr {
    background-color: #35A58C;
    padding: 20px 0;
}

#cvr a {
    display: block;
    width: 500px;
    margin: 0 auto;
}

#cvr a img {
    width: 100%;
}






/*お悩み*/
#nayami {
    background: url(../images/nayami_bg.jpg) repeat left top;
    background-size: 200px;
}

#nayami img {
    padding: 60px 0;
}

#nayami02 {
    background-image: none;
    background-color: #2F67A2;
    position: relative;
}

#nayami02::after {
    content: '';
    display: block;
    position: absolute;
    border-style: solid;
    border-width: 30px 50px 0 50px;
    border-color: #2F67A2 transparent transparent transparent;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 0;
}

#nayami02 img {
    width: 600px;
    margin: 0 auto;
    padding: 20px 0;
    display: block;
}

/*解決*/
#kaiketsu img {
    padding-top: 100px;
}

/*日本全国に拡大中 */
#jitsugen {
    margin-top: 80px;
    background-color: #37a58c;
}


/*教育業界最先端のITで受験生の学習をサポートします！*/
#benri {
    background: url(../images/benri_bg.jpg) repeat left top;
    background-size: 200px;
}

#benri img {
    padding: 100px 0;
}

/*「生まれた場所は関係関係なし！全国どこでも頑張れる環境を！*/
#game {
    padding-top: 80px;
    margin-bottom: 80px;
}


/*ALCSオンライン予備校の活用方法*/
#katsuyo {
    background-color: #35A58C;
    padding: 60px 0;
}

/*選べる授業、豊富なラインナップ長期休みには特別講座も開講！*/
#timetable {
    padding: 100px 0 120px;
}

/* 選べる授業、豊富なラインナップ */
#lineup {
    margin-top: 60px;
}

/* すきまNavi */
#sukimanavi {
    margin-top: 24px;
    margin-bottom: 24px;
}


/* 詳しくはこちら、
プロ講師から全科目直接指導を受けることができる */
#sukimanavi-nav {
    background: #F7F2EC;
    padding-bottom: 24px;
}


/* 詳しくはこちら */
img.kotira {
    margin-top: 30px;
}

.position-center {
    position: relative;
}

/* プロ講師から全科目直接指導を受けることができる */
img.teacher-img {
    margin: 0 auto;
    margin-top: 64px;

}

img.kotira {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    @media screen and (max-width:1025px) {
        width: 200px;
    }
}



/* プロ講師から全科目、直接指導を受けることができる */
/* #teacher{
    margin-top: 60px;
} */

/* 分からないところは気軽に質問！学習の継続に有効なチュータリング */
#tutoring {
    margin-top: 100px;
    margin-bottom: 50px;
}

/*受講までの流れ*/
#flow {
    padding: 100px 0;
}

/*お問い合わせフォーム*/
#contact {
    background-color: #35A58C;
    padding-bottom: 100px;
}

.wpcf7 {
    background: none !Important;
    border: 0 !Important;

}

#contact h2 {
    padding: 50px 0;
}

#contact h2 span {
    display: block;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
    border-bottom: solid 1px #fff;
}

#contact .contact-form tr th {
    text-align: left;
    color: #fff;
    width: 40%;
    vertical-align: top;
}

#contact .contact-form tr th,
#contact .contact-form tr td {
    padding-bottom: 15px;
}

#contact .contact-form tr td span {
    margin: 0;
}

#contact .contact-form tr td span.wpcf7-list-item {
    display: block;
    color: #fff;
}

#contact .contact-form tr td span input {
    padding: 5px 10px;
}

#contact .contact-form tr td span input.wpcf7-email.wpcf7-validates-as-email {
    padding-right: 20px;
}

#contact .contact-form tr td span select {
    padding: 5px 10px;
    font-size: 16px;
}

#contact .contact-form tr td span textarea {
    width: 500px;
}

#contact .privacy {
    background-color: #fff;
    padding: 10px 15px;
    box-sizing: border-box;
    height: 400px;
    overflow-y: scroll;
}

#contact .privacy-c {
    color: #fff;
    padding: 20px 0 50px;
    text-align: center;
}

.cButtons input[type="submit"] {
    width: 420px;
    padding: 15px 0;
    display: block;
    margin: 0 auto;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    background-color: #ED6161;
    border: 0;
    border-radius: 10px;
    box-shadow: 0px 2px 0px #B23939;
    cursor: pointer;
}

/*フッター*/
footer {
    text-align: center;
    padding-top: 50px;
}

footer img {
    width: 300px;
}

footer #ftMenu {
    display: flex;
    width: 250px;
    justify-content: center;
    margin: 0 auto;
    padding: 10px 0 50px;
}

footer #ftMenu a {
    color: #000;
}

footer #ftMenu a:hover {
    color: #333;
}

address {
    padding-top: 50px;
    font-size: 11px;
}

/*スマホ用*/
@media screen and (max-width: 1024px) {

    .Inner {
        width: 96%;
    }

    header {
        display: block;
    }

    header .Logo {
        width: 80%;
        margin: 0 auto;
    }

    header .Logo h1 {
        text-align: center;
    }

    #mainMenu {
        width: 100%;
        margin: 14px auto;
    }

    #topMenu {
        display: block;
        margin: 0 auto;
        width: 90%;
    }

    #topMenu li a {
        display: block;
        text-align: center;
    }

    #mainIMG {
        height: auto;
        background-position: center;
    }

    #mainIMG img {
        width: 90%;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    #cvr a {
        width: 90%;
    }

    #nayami img,
    #benri img,
    #timetable,
    #flow {
        padding: 30px 0;
    }

    #partners {
        padding-top: 60px;
    }

    #kaiketsu img {
        padding-top: 60px;
        width: 100%;
    }

    #jitsugen {
        padding-top: 0;
    }

    #tutoring {
        margin-top: 40px;
    }

    #game {
        padding-top: 60px;
        margin-bottom: 60px;
    }

    iframe {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }


    #flow {
        padding-top: 50px;
    }

    #contact .contact-form tr td span textarea {
        width: 96%;
    }

    footer img {
        width: 80%;

    }
}