@charset "utf-8";

/* Mainview
----------------------------------------- */
.mainView {
    position: relative;
    padding: 10px 13px 12px;
    padding: min(2.667vw,13px) min(3.467vw,17px) min(3.2vw,15px);
    background-color: #fff9eb;
}
.mainView_txt {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 35px;
    margin-bottom: min(6vw,60px);
}
.mainViewTxt_sub {
    margin-bottom: 3px;
    margin-bottom: min(.8vw,4px);
    font: 700 1.9rem/1.2 YakuHanMP, 'Noto Serif JP', serif;
    font-size: min(5.067vw,2.4rem);
}
.mainViewTxt_main {
    margin-bottom: 3vw;
    font: 700 3rem/1.2 'YuGothic', 'Yu Gothic', YakuHanJP, 'Noto Sans JP', sans-serif;
    font-size: min(7vw,3.8rem);
    color: #d11717;
}
.mainView_movie {
    position: relative;
    margin: 0 auto;
    width: 210px;
    width: min(56vw,620px);
    height: 118px;
    height: min(31.467vw,349px);
    padding: 2.415vw 6.639vw;
    background: url(/wp/wp-content/themes/teacher/images/lp-teachers/backimage_pc.png) top center/contain no-repeat;
}
.mainView video {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #908D85;
    background-color: #908D85;
}
.mainView_movie:before {
    position: absolute;
    content: "";
    font-weight: bold;
    background: url(/wp/wp-content/themes/teacher/images/lp-teachers/backimage_txt.svg) top center/contain no-repeat;
    width: 270px;
    width: min(65.217vw,270px);
    height: 23px;
    height: min(5.556vw,23px);
    top: -33px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
}
@media screen and (min-width: 834px){
    .mainView {
        width: 100%;
        min-width: 1350px;
        display: flex;
        justify-content: center;
        padding-top: 35px;
        padding-top: min(3.5vw,35px);
        margin-bottom: 20px;
        height: 424px;
    }
    .mainView_txt {
        justify-content: center;
        align-items: flex-start;
        text-align: left;
        margin-bottom: 50px;
        flex-shrink: 0;
        margin-left: auto;
    }
    .mainViewTxt_sub {
        margin-bottom: 14px;
        margin-bottom: min(1.4vw,14px);
        font-size: 2.9rem;
        font-size: min(2.9vw,2.9rem);
    }
    .mainViewTxt_main {
        font-size: 5rem;
        font-size: min(5vw,5rem);
    }
    .mainView_movie {
        display: flex;
        align-items: flex-end;
        justify-content: center;
        margin-left: 0;
        margin-top: 30px;
        width: 620px;
        height: 349px;
        padding: 56px 73px;
    }
    .mainView_movie:before {
        position: absolute;
        content: "";
        font-weight: bold;
        background: url(/wp/wp-content/themes/teacher/images/lp-teachers/backimage_txt.svg) top center/contain no-repeat;
        width: 320px;
        height: 27px;
        top: -33px;
        left: 50%;
        -webkit-transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        -o-transform: translateX(-50%);
        transform: translateX(-50%);
    }
}
@media screen and (max-width: 414px){
    .mainView_movie {
        width: 340px;
        width: min(82.126vw,620px);
        height: 191px;
        height: min(46.135vw,349px);
        padding: 3.415vw 9.339vw;
    }
}
.ie .mainView {
    justify-content: flex-start;
}
/*----------------------------------------------------------------------
応募するボタン について
----------------------------------------------------------------------*/
#lp-teachers .entrybtnBox .entryBtn {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto 40px;
    width: 100%;
    max-width: 600px;
    height: 83px;
    color: #fff;
    font-size: 2.6rem;
    font-weight: bold;
    line-height: 1.4;
    box-shadow: 0 3px 0 #650700;
    border-radius: 50px;
    background: #c80c00;
    padding: 20px 0;
}
#lp-teachers .entrybtnBox .entryBtn::before {
    content: none;
}
#lp-teachers .entrybtnBox .entryBtn::after {
    content: '▶︎';
    font-size: 12px;
    top: 50%;
    right: 25px;
    position: absolute;
    transform: translateY(-50%);
}

/*----------------------------------------------------------------------
Lead
----------------------------------------------------------------------*/
#mainvBox+section {
    box-shadow: none;
}

#messageBox {
    padding-top: 0;
}

.lower_wrap_subcont p {
    padding: 0;
}

@media (max-width: 768px) {

    section:nth-of-type(5).support .lower_h2::before {
        right: 20px;
        top: -20px;
        left: unset;
        transform: none;
        width: 123px;
        height: 152px;
    }

    .arrow_box {
        width: unset;
    }

    /*----------------------------------------------------------------------
    動画 について
    ----------------------------------------------------------------------*/
    #service_movie_bg {
        margin-bottom: 40px;
    }


    /*----------------------------------------------------------------------
    メディア紹介 について
    ----------------------------------------------------------------------*/
    .mediaWrap {
        background-position: right 8px top 30px;
        background-size: 111.6vw auto;
        padding: 70px 0;
    }

    .mediaConts_ttl {
        line-height: 1.3;
        font-size: 2.8rem;
    }

    .mediaBox_cont {
        width: 100%;
    }

    .mediaBox_cont:nth-of-type(n):not(:last-of-type) {
        margin-bottom: 15px;
    }

    /*----------------------------------------------------------------------
    CM
    ----------------------------------------------------------------------*/
    #cmBox {
        margin-top: 30px;
    }

    #cmBox .cmWrapConts.under .ttlTop.cm {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }
}


@media (max-width: 480px) {

    /*----------------------------------------------------------------------
    header-titleについて
    ----------------------------------------------------------------------*/

    section:nth-of-type(5).support .lower_h2 {
        min-height: 128px;
        padding: 18px 0 0 13px;
    }

    section:nth-of-type(5).support .lower_h2::before {
        right: 10px;
        width: 67px;
        height: 83px;
    }


    /*----------------------------------------------------------------------
    エントリーボタン について
    ----------------------------------------------------------------------*/
    #mainvBox+section {
        padding-top: 10px;
    }

    #lp-teachers .entrybtnBox .entryBtn {
        width: 80%;
        font-size: 2.2rem;
        margin: 0 auto 10px;
    }

    #lp-teachers #mainvBox+.entrybtnBox .entryBtn {
        margin: 20px auto 0;
    }

    /*----------------------------------------------------------------------
    エントリーボタン について
    ----------------------------------------------------------------------*/
    .arrow_box {
        margin-top: 0;
    }

    /*----------------------------------------------------------------------
    オンライン家庭教師ってどんなお仕事？ について
    ----------------------------------------------------------------------*/
    h3.numb {
        padding: 0 0 0 100px;
    }

    .numTxt {
        height: 50px;
        width: 100px;
    }

    .numTxt_sub {
        font-size: 1.6rem;
        letter-spacing: -0.09rem;
    }

    .numTxt::after {
        font-size: 3.4rem;
    }

    .numTxt_sub_upper {
        font-size: 1.2rem;
        letter-spacing: -0.1rem;
    }
}

@media (max-width: 360px) {

    /*----------------------------------------------------------------------
    選ばれる理由 について
    ----------------------------------------------------------------------*/
    .reasponH3_sub {
        font-size: 1.8rem;
    }

    .reasponH3_main {
        font-size: 2.2rem;
        line-height: 1.2;
    }
}


@media (max-width: 320px) {

    /*----------------------------------------------------------------------
    オンライン家庭教師ってどんなお仕事？ について
    ----------------------------------------------------------------------*/
    h3.numb {
        padding: 0 0 0 20px
    }

    .numTxt {
        top: -10px;
        left: -12px;
        padding-top: 0;
        height: 40px;
        width: 108px;
    }

    .numTxt_sub {
        font-size: 1.4rem;
    }

    .numTxt::after {
        font-size: 3rem;
    }

    /*----------------------------------------------------------------------
    メガスタで家庭教師をする5つのメリット について
    ----------------------------------------------------------------------*/
    #leadtxtBox .wrapper {
        width: 100%;
        padding-left: 4.68%;
        padding-right: 4.68%;
        margin-top: 5vw;
    }

    #reazonBox h2 {
        font-size: 1.9rem;
    }

    #reazonBox #reazonBox1,
    #reazonBox #reazonBox2,
    #reazonBox #reazonBox3,
    #reazonBox #reazonBox4,
    #reazonBox #reazonBox5,
    #reazonBox #reazonBox6 {
        padding: 14vw 6.25vw;
    }

    /*----------------------------------------------------------------------
    エントリーボタン について
    ----------------------------------------------------------------------*/
    #lp-teachers .entrybtnBox .entryBtn {
        font-size: 1.8rem;
    }
}


.link_list {
    display: flex;
    flex-wrap: wrap;
    /* 折返し指定 */
    justify-content: start;
}

.link_list .detailBtn {
    margin: 10px;
    width: 100%;
    max-width: 240px;
    height: 60px;
    box-shadow: 0 3px 0 #cec27e;
}

.link_list .detailBtn>* {
    font: bold 1.6rem/1.3 "Hiragino Kaku Gothic ProN", "Hiragino Sans", "YuGothic", "Yu Gothic", sans-serif;
}

.link_list .detailBtn>*::after {
    right: 10px;
    border: 5px solid rgba(0, 0, 0, 0);
    border-right: 0;
    border-left: 8px solid #333;
}

@media (max-width: 768px) {
    .link_list {
        display: flex;
        flex-wrap: wrap;
        /* 折返し指定 */
        justify-content: center;
    }

    .link_list .detailBtn {
        max-width: 340px;
        height: 40px;
    }
}

@media screen and (max-width: 768px) {
    .closing_cta.middle_position {
        width: 100%;
        margin: 0;
    }
}
/*----------------------------------------------------------------------
バンザンとは？ について
----------------------------------------------------------------------*/

#aboutBox {
    width: 100%;
    /*background: #fff6ed;*/
}

#aboutBox h3 {
    font-size: 3rem;
    margin-bottom: 4rem;
}

#aboutBox .wrapper {
    padding-top: 30px;
    padding-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
}

.aboutBox_intro {
    display: block;
}

@media (min-width: 768px) {
    .aboutBox_intro {
        display: flex;
    }
}

.aboutBox_intro p:last-of-type {
    flex-basis: 80%;
    width: 70%;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .aboutBox_intro p:last-of-type {
        width: unset;
        margin-left: 30px;
    }
}

.aboutBox_wrapper1,
.aboutBox_wrapper2,
.aboutBox_wrapper3 {
    margin-bottom: 2rem;
}

.aboutBox_wrapper1 p:first-child,
.aboutBox_wrapper2 p:first-child,
.aboutBox_wrapper3 p:first-child,
.aboutBox_wrapper4 p:first-child {
    margin-bottom: 2rem;
}

.aboutBox_wrapper1 img,
.aboutBox_wrapper1 object {
    width: 100%;
    height: auto;
}

@media (min-width: 769px) {
    .aboutBox_wrapper1 object {
        margin-top: 8px;
    }
}

.aboutBox_wrapper2 p:nth-of-type(2) {
    display: flex;
    justify-content: space-around;
    padding: 2rem;
    background: #fff;
}

.aboutBox_wrapper2 object {
    width: 25%;
}

.aboutBox_wrapper2 object:first-child {
    width: 23%;
}

.aboutBox_wrapper3 p:nth-of-type(2) {
    text-align: center;
    width: 100%;
    background: #fff;
}

.aboutBox_wrapper3 img {
    width: 45rem;
}

.aboutBox_wrapper4 {
    width: 100%;
}

.aboutBox_wrapper4 p:nth-of-type(2) {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.aboutBox_wrapper4 img {
    width: 32rem;
    margin-right: 2.5rem;
    margin-left: 2.5rem;
    border: solid 1px #6794b1;
}

.works_history {
    width: 100%;
    margin: 0 auto;
    padding-left: 6.25%;
    padding-right: 6.25%;
}

@media (min-width: 769px) {
    .works_history {
        width: 800px;
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    #brandBox .lower_h3 {
        margin-bottom: 30px;
    }
}
.company-table dl {
    border-bottom: 1px solid #d2d2d2;
    margin-bottom: 0;
    line-height: 1.4;
}

.company-table dl:last-of-type {
    border: none;
}

.company-table dt {
    width: 25%;
    display: inline-block;
    color: #78828c;
    font-weight: 600;
}

.company-table dd {
    display: inline-block;
}

.company-table dl>* {
    padding: 10px 0;
    vertical-align: top;
}

@media (min-width: 768px) {
    .company-table dt {
        width: 15%;
    }

    .company-table dt {
        width: 100%;
        padding-bottom: 0;
    }

    .company-table dd {
        padding-top: 0;
    }

    p.aboutBox_img {
        margin-bottom: 0;
    }
}



/*----------------------------------------------------------------------
募集要項
----------------------------------------------------------------------*/
.lp_pay_detail {
    background: #ffeede;
    padding: 1px 30px 30px;
    margin-bottom: 40px;
    border-radius: 5px;
}

.lp_pay_detail h3 {
    background: #fff;
    border: solid 4px #bc0202;
    font-size: 28px;
    margin-top: 30px;
    margin-bottom: 10px;
    border-radius: 5px;
    text-align: center;
}

.lp_pay_detail p {
    margin: 0 20px 20px;
    padding-left: 1em;
    margin-bottom: 0.5em;
    text-indent: -1em;
}

.lp_pay_detail ul {
    margin: 0 20px 20px;
    background: #fffef9;
    padding: 20px;
    border-radius: 5px;
}

.lp_pay_detail ul li {
    font-size: 16px;
    font-weight: bold;
    padding-left: 1em;
    text-indent: -1em;
    line-height: 1.4;
    margin-bottom: 1em;
}

@media (max-width: 768px) {
    .lp_pay_detail h3 {
        font-size: 20px;
    }
    .lp_pay_detail p {
        padding-left: 1em;
        text-indent: -1em;
    }
}

