@charset "utf-8";

@media screen and (max-width: 834px) {
    .wrapper {
        padding: 0 20px;
        width: 100%;
    }
}

/* 汎用 FV
----------------------------------------- */
#generalFv {
    position: relative;
    width: 100%;
    height: 310px;
    background-color: #fffcf4;
    overflow: hidden;
}

.generalFv_tWrap {
    position: relative;
    display: flex;
    flex-direction: column;
    /*justify-content: center;*/
    margin: 0 auto;
    width: 1120px;
    height: 100%;
    padding: 20px 0;
}

.generalFvTWrap_h1 {
    margin: 0;
    color: #a4740d;
    font: 700 5.6rem/1.2 'YuGothic', 'Yu Gothic', sans-serif;
}

.generalFvTWrap_sub {
    margin-bottom: 10px;
    color: #c00a0a;
    font: 700 2.8rem/1.3 YakuHanMP, 'Noto Serif JP', serif;
}

.generalFvTWrap_sub2 {
    margin: 0 0 20px 0;
    font: 700 2.6rem/1.3 'YuGothic', 'Yu Gothic', sans-serif;
}



/* 理由 FV  */
.reasonFv .generalFvTWrap_h1 {
    display: flex;
    flex-direction: column;
}

.reasonFv .h1_ttlSubSize {
    font: 700 2.8rem/1.3 'YuGothic', 'Yu Gothic', sans-serif;
}

.reasonFv .generalFv_tWrap {
    background: right bottom no-repeat;
}

.reasonFv .generalFv_tWrap::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 51%;
    height: 100%;
    box-sizing: border-box;
    background: right center / 100% no-repeat;
}

.reasonFv .generalFv_tWrap::after {
    background-image: url(/wp/wp-content/themes/teacher/images/reason/reason_main_Fv.png);
}


@media screen and (min-width: 835px) {
    #generalFv.reasonFv {
        height: 310px;
    }
}

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

    /* 汎用 FV @(768px~481px)
    ----------------------------------------- */
    #generalFv {
        height: 290px;
    }

    .generalFv_tWrap {
        width: 100%;
    }

    .reasonFv.generalFvTWrap_h1 {
        font-size: 3.5rem;
        font-size: max(3rem, min(6vw, 4rem));
    }

    .reasonFv .h1_ttlSubSize {
        font-size: 3.5rem;
        font-size: max(2rem, min(3vw, 2.5rem));
    }

    .reasonFv .generalFvTWrap_sub {
        font-size: 3.5rem;
        font-size: max(2rem, min(2.8vw, 2.5rem));
    }

    .reasonFv .generalFvTWrap_sub2 {
        font-size: 3.5rem;
        font-size: max(1.4rem, min(2.8vw, 2.5rem));
    }

}

@media screen and (max-width: 768px) {
    #generalFv.reasonFv {
        height: 87.33vw;
    }

    .reasonFv .generalFv_tWrap {
        justify-content: flex-start;
        position: relative;
        width: 100%;
        background: right bottom no-repeat;
        padding: 0 19px;
    }

    .reasonFv .generalFv_tWrap::after {
        left: 0;
        width: 100%;
        background-position: center bottom 1.333vw;
        background-size: cover;
    }

    .reasonFv .generalFv_tWrap::after {
        background-image: url(/wp/wp-content/themes/teacher/images/reason/reason_main_Fv_sp.png);
    }


    .reasonFv .generalFv_tWrap::after {
        background-size: 100%;
        top: 10px;
    }

    .reasonFv .generalFvTWrap_sub {
        margin-top: 20px;
        margin-bottom: 10px;
        font-size: 3.5rem;
        font-size: max(1.6rem, min(5.2vw, 4rem));
    }

    .reasonFv .generalFvTWrap_sub2 {
        margin-bottom: 10px;
        font-size: 3.5rem;
        font-size: max(1.6rem, min(4.8vw, 4rem));
    }

    .reasonFv .h1_ttlSubSize {
        font-size: 3.5rem;
        font-size: max(1.6rem, min(5.8vw, 4rem));
    }
}

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

    /* 汎用 FV @(480px ~ 361px)
        ----------------------------------------- */

    #generalFv {
        margin-bottom: 30px;
    }

    #generalFv.reasonFv {
        height: 96.33vw;
    }

    .generalFvTWrap_h1 {
        font-size: 4rem;
    }

    .reasonFv .generalFv_tWrap::after {
        top: 7px;
    }
}
@media screen and (max-width: 480px) {

    /* 汎用 FV @(480px ~ 361px)
        ----------------------------------------- */

    .reasonFv .generalFv_tWrap {
        margin-top: -10px;
    }

    .reasonFv .generalFv_tWrap::after {
        top: 15px;
    }
}

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

    /* 汎用 FV @(320px ~ )
        ----------------------------------------- */
    .generalFvTWrap_h1 {
        font-size: 2.6rem;
    }

    .generalFvTWrap_sub {
        font-size: 1.5rem;
    }

    .reasonFv .generalFv_tWrap {
        padding: 0 13px;
    }
}


/* 見出し
----------------------------------------- */
.reasonTtl {
    background: #fdfcf3;
    border-top: solid #223a70 3px;
    box-shadow: 0px 3px 3px 0px rgb(0 0 0 / 20%);
    margin-top: 80px;
    margin-bottom: 20px;
}

.reasonTtl_h2 {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
    padding: 20px;
    padding-top: 12.667vw;
    width: 100%;
    max-width: 880px;
    height: 100%;
    line-height: 1.3;
}


.ttlSize {
    display: block;
    font: 700 3.8rem/1.3 YakuHanMP, 'Noto Serif JP', serif;
    -webkit-font-feature-settings: "halt";
    font-feature-settings: "halt";
}

.ttlSubSize {
    display: block;
    font-size: 3rem;
    font-weight: 600;
    -webkit-font-feature-settings: "halt";
    font-feature-settings: "halt";
}

.reasonTtlH2_main {
    color: #c00a0a;
}

.reasonTtlH2_sub {
    color: #16409e;
}

@media screen and (min-width: 835px) {
    .reasonTtl {
        margin-top: 80px;
        margin-bottom: 40px;
    }

    .reasonTtl_h2 {
        display: flex;
        flex-direction: column;
        height: 180px;
        padding: 20px 0 20px 84px;
    }

    .reasonTtl_h2::before {
        content: '';
        position: absolute;
        transform: translateY(-50%);
        top: 50%;
        left: -61px;
        width: 125px;
        height: 186px;
        background: 0 0/contain no-repeat;
    }

    /*.reasonTtl.cont1*/
    .cont1 .reasonTtl_h2::before {
        background-image: url(/wp/wp-content/themes/teacher/images/reason/reason_h2_icon1.svg);
    }

    .cont2 .reasonTtl_h2::before {
        background-image: url(/wp/wp-content/themes/teacher/images/reason/reason_h2_icon2.svg);
    }

    .cont3 .reasonTtl_h2::before {
        background-image: url(/wp/wp-content/themes/teacher/images/reason/reason_h2_icon3.svg);
    }

    .cont4 .reasonTtl_h2::before {
        background-image: url(/wp/wp-content/themes/teacher/images/reason/reason_h2_icon4.svg);
    }

    .cont5 .reasonTtl_h2::before {
        background-image: url(/wp/wp-content/themes/teacher/images/reason/reason_h2_icon5.svg);
    }

    .cont6 .reasonTtl_h2::before {
        background-image: url(/wp/wp-content/themes/teacher/images/reason/reason_h2_icon6.svg);
    }

    .cont7 .reasonTtl_h2::before {
        background-image: url(/wp/wp-content/themes/teacher/images/reason/reason_h2_icon7.svg);
    }

    .cont8 .reasonTtl_h2::before {
        background-image: url(/wp/wp-content/themes/teacher/images/reason/reason_h2_icon8.svg);
    }

}

@media screen and (max-width: 834px) {
    .ttlSize {
        font-size: 2.4rem;
        font-size: max(2.2rem, min(6.8vw, 4.4rem));
    }

    .ttlSubSize {
        font-size: 1.8rem;
        font-size: max(1.6rem, min(4.8vw, 3.2rem));
    }

    .reasonTtl_h2::before {
        content: "";
        position: absolute;
        -webkit-transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        -o-transform: translateX(-50%);
        transform: translateX(-50%);
        top: -50px;
        left: 50%;
        width: max(10rem, min(28vw, 18rem));
        height: 28vw;
    }

    .cont1 .reasonTtl_h2::before {
        background: url(/wp/wp-content/themes/teacher/images/reason/reason_h2_icon1_sp.svg) no-repeat;
    }

    .cont2 .reasonTtl_h2::before {
        background: url(/wp/wp-content/themes/teacher/images/reason/reason_h2_icon2_sp.svg) no-repeat;
    }

    .cont3 .reasonTtl_h2::before {
        background: url(/wp/wp-content/themes/teacher/images/reason/reason_h2_icon3_sp.svg) no-repeat;
    }

    .cont4 .reasonTtl_h2::before {
        background: url(/wp/wp-content/themes/teacher/images/reason/reason_h2_icon4_sp.svg) no-repeat;
    }

    .cont5 .reasonTtl_h2::before {
        background: url(/wp/wp-content/themes/teacher/images/reason/reason_h2_icon5_sp.svg) no-repeat;
    }

    .cont6 .reasonTtl_h2::before {
        background: url(/wp/wp-content/themes/teacher/images/reason/reason_h2_icon6_sp.svg) no-repeat;
    }

    .cont7 .reasonTtl_h2::before {
        background: url(/wp/wp-content/themes/teacher/images/reason/reason_h2_icon7_sp.svg) no-repeat;
    }

    .cont8 .reasonTtl_h2::before {
        background: url(/wp/wp-content/themes/teacher/images/reason/reason_h2_icon8_sp.svg) no-repeat;
    }
}

/* flexコンテンツ
----------------------------------------- */
.uspBox_txt {}

.uspTxt_txtwrap {
    width: 100%;
    font-feature-settings: "palt";
    letter-spacing: .1em;
    text-align: justify;
}

.uspTxt_img {
    text-align: center;
}

@media screen and (min-width: 835px) {
    .uspBox_txt {
        display: flex;
        justify-content: space-between;
        align-items: start;
        margin-bottom: 40px;
    }

    .cont3 .uspTxt_txtwrap,
    .cont4 .uspTxt_txtwrap {
        width: 530px;
    }

    .cont5 .uspTxt_txtwrap {
        width: 440px;
    }

    .uspBox_txt .uspTxt_img {
        margin-left: 3rem;
    }
}



.uspBox_cont {
    background: #fffceb;
    padding: 20px 40px;
    margin-bottom: 20px;
}

.uspTxt_lists span {
    display: block;
    margin: 25px 0;
    font-size: 2.2rem;
    font-size: max(1.6rem, min(4.8vw, 2.2rem));
    font-weight: 700;
    line-height: 1.8;
    color: #223a70;
}

.uspTxtwrap_lists {
    display: block;
    margin-bottom: 25px;
    font-size: 2.2rem;
    font-size: max(1.6rem, min(4.8vw, 2.2rem));
    font-weight: 700;
    line-height: 1.3;
    color: #c00a0a;
}

@media screen and (min-width: 835px) {
    .uspTxtwrap_lists {
        margin-bottom: 15px;
        font-size: 2.2rem;
        font-weight: 700;
        line-height: 1.8;
        color: #c00a0a;
    }
}

/* リード文
----------------------------------------- */
.leadWrap_h2 {
    margin-top: 2vw;
    margin-bottom: 2.133vw;
    font-size: 2.2rem;
    font-size: max(2rem, min(5.867vw, 2.6rem));
    font-weight: 700;
    line-height: 1.3;
    padding: 0;
    color: #16409e;
    font-family: YakuHanMP, 'Noto Serif JP', serif;
}

@media screen and (min-width: 835px) {
    .leadWrap_h2 {
        margin-top: 20px;
        margin-bottom: 10px;
        font-size: 2.4rem;
    }
}


/* 教師コメント
----------------------------------------- */
.teacher_area {
    margin-top: 30px;
    padding: 20px 20px 1px;
    background-size: auto auto;
    background-color: rgba(254, 243, 242, 1);
    background-image: repeating-linear-gradient(-45deg, transparent, transparent 4px, rgba(253, 238, 237, 1) 4px, rgba(253, 238, 237, 1) 8px);
}

.teacher_area_h3 {
    position: relative;
    display: table;
    margin: auto;
    color: #16409e;
    padding: 10px 60px;
    color: #16409e;
    font-family: YakuHanMP, 'Noto Serif JP', serif;
    font-size: 4rem;
    font-size: max(2rem, min(5.933vw, 4rem));
}

.teacher_area_h3::before,
.teacher_area_h3::after {
    content: "";
    position: absolute;
    width: 8vw;
    height: 8vw;
    background-position: 0 0;
    background-size: contain;
    background-repeat: no-repeat;
}

.teacher_area_h3::before {
    left: 0;
    background-image: url(/wp/wp-content/themes/teacher/images/reason/teacher_before.svg);
}

.teacher_area_h3::after {
    right: 0;
    transform: scale(-1, 1);
    background-image: url(/wp/wp-content/themes/teacher/images/reason/teacher_before.svg);
}

.teacher_reason_cont {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 10px;
}

.teacher_reason_ttl .teacher_reason_ttlSize,
.teacher_reason_ttl .teacher_reason_ttlSubSize {
    display: block;
}

.teacher_reason_ttl .teacher_reason_ttlSize {
    color: #c00a0a;
    font-size: 4rem;
    font-size: max(2rem, min(5.933vw, 4rem));
    font-family: YakuHanMP, 'Noto Serif JP', serif;
    font-weight: 700;
    line-height: 1.3;
}

.teacher_reason_ttl .teacher_reason_ttlSubSize {
    font-size: 2.3rem;
    font-size: max(1.4rem, min(3.133vw, 2.4rem));
}

.teacher_reason_comment p {
    background-color: #fff;
    background-image: linear-gradient(180deg, #ccc 1px, transparent 1px);
    background-size: 100% 2em;
    line-height: 2em;
    padding-bottom: 1px;
}

.teacher_reason_comment img {
    width: 140px;
    height: 140px;
    margin-bottom: 20px;
}

@media screen and (min-width: 769px) {
    .teacher_reason_cont {
        padding: 30px;
    }

    .teacher_area_h3 {
        font: 700 3.2rem/1.3 YakuHanMP, 'Noto Serif JP', serif;
    }

    .teacher_area_h3::before,
    .teacher_area_h3::after {
        width: 37px;
        height: 39px;
    }

    .teacher_reason_ttl .teacher_reason_ttlSize {
        font-size: 2.8rem;
        font: 700 2.8rem/1.4 YakuHanMP, 'Noto Serif JP', serif;
    }

    .teacher_reason_ttl .teacher_reason_ttlSubSize {
        font-size: 1.7rem;
        font-weight: bold;
    }

    .teacher_reason_comment {
        display: flex;
    }

    .teacher_reason_comment img {
        width: 140px;
        height: 140px;
        margin-right: 30px;
        margin-bottom: 0;
    }

    .teacher_reason_comment p {
        background-color: #fff;
        background-image: linear-gradient(180deg, #ccc 1px, transparent 1px);
        background-size: 100% 2.5em;
        line-height: 2.5em;
        padding-bottom: 1px;
        width: 600px;
    }
}

.detailBtn {
    margin-top: 30px;
    margin-bottom: 20px;
}

.uspTxt_img {
    padding: 0 0 35px;
    flex: 1;
}

@media screen and (min-width: 835px) {
    .uspTxt_img.flex {
        display: flex;
        justify-content: space-between;
    }

    .uspBox_txt .uspTxt_img {
        padding: 0 0 20px 0;
    }
}


.closingTtl h2 {
    color: #c00a0a;
}