@charset "utf-8";

/* FV
---------------------------- */
#fvStandard.teacherFv {
    width: 100%;
    height: 295px;
    background-color: #fff9ea;
    margin-bottom: 30px;
}

.fvStandard_wrap {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin: 0 auto;
    width: 100%;
    max-width: 1120px;
    height: 100%;
}
.fvStandard_wrap::after {
    content: "";
    position: absolute;
    top: 0;
    left: 490px;
    width: 755px;
    height: 294px;
    background: 0 0/contain no-repeat;
}
@media not screen and (max-width: 834px){
    .fvStandard_wrap::after {
        background-image: url(../images/teacher/teacherMV.png.webp);
    }
    .no_webp .fvStandard_wrap::after {
        background-image: url(../images/teacher/teacherMV.png);
    }
}
@media screen and (max-width: 1140px) and (min-width: 835px){
    .fvStandard_wrap {
        overflow: hidden;
    }
}
.fvStandardWrap_h1 {
    margin-top: 20px;
    position: relative;
    z-index: 1;
    font: 700 4rem/1 dnp-shuei-mgothic-std, sans-serif;
    font-feature-settings: "palt";
    -webkit-font-feature-settings: "palt";
}

.fvStandardWrap_h1>span {
    display: block;
    margin: 10px 0;
}

#teacher_subttl {
    color: #E0013D;
    font-size: 55%;
    margin-top: 0;
    line-height: 1.3;
}

.teacher .fvStandardWrapH1_main {
    color: #202020;
    line-height: 1.2;
    margin-top: 1rem;
}

#teacher_subttl.teacher_subttl2 {
    color: #838383;
    margin-top: 8px;
}
.catch_red {
    font-size: 2.4rem;
    color: #dd0130;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 10px;
    font-family: dnp-shuei-mgothic-std, sans-serif;
}
@media screen and (max-width: 834px) {
    #fvStandard.teacherFv {
        height: 80.933vw;
    }

    .fvStandard_wrap {
        width: 100%;
        padding: 0 35px;
    }
    .fvStandard_wrap::after {
        width: 100%;
        top: auto;
        left: 0;
        bottom: 0;
        background: center bottom 0/contain no-repeat;
    }
    .fvStandard_wrap::after {
        background-image: url(../images/teacher/teacherMV_sp.png.webp);
    }
    .no_webp .fvStandard_wrap::after {
        background-image: url(../images/teacher/teacherMV_sp.png);
    }

    .fvStandardWrap_h1 {
        margin-top: 20px;
        font-size: 7.0vw;
    }

    #teacher_subttl {
        font-size: 65%;
    }

    .teacher .fvStandardWrapH1_main {
        color: #202020;
        font-size: 6.0vw;
    }

    #teacher_subttl.teacher_subttl2 {
        font-size: 55%;
    }
}

@media screen and (max-width: 480px) {
    #fvStandard.teacherFv {
        height: 89.933vw;
    }

    .fvStandard_wrap {
        padding: 0 20px;
    }

    .fvStandardWrap_h1 {
        font-size: 6.9vw;
    }

    .teacher .fvStandardWrapH1_main {
        margin-top: 0.4rem;
    }
    .catch_red {
        font-size: 2rem;
        margin-top: 20px;
    }
}


/* 見出し
---------------------------- */

.ttlYellow {
    margin: 80px auto 0;
    width: 100%;
    max-width: 1080px;
}

.ttlYellow_h3 {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    line-height: 1.3;
    padding-left: 190px;
    width: 100%;
    height: 160px;
    font: 700 3.6rem/1.8 dnp-shuei-mgothic-std, sans-serif;
    border-radius: 24px;
    background-color: #ffecc0;
}

.ttlYellow_h3.no1 {
    margin-bottom: 0;
}

.ttlYellow_h3::before {
    content: "";
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 135px;
    height: 145px;
    background: url(../images/teacher/teacher_h2_cont1.png.webp) 0 0/contain no-repeat;
}
.no_webp .ttlYellow_h3::before {
    background-image: url(../images/teacher/teacher_h2_cont1.png);
}

.ffs_pS {
    -webkit-font-feature-settings: "palt";
    font-feature-settings: "palt";
    letter-spacing: .04em;
}

.teacher_subttl {
    background-color: #fdf2d0;
    font-size: 2.5rem;
    font-weight: bold;
    padding: 20px;
    margin: 40px 0 20px 0;
    border-radius: 23px;
    font-family: dnp-shuei-mgothic-std, sans-serif;
}

.ttlYellow_h3.teacher_subttl {
    background-color: #fdf2d0;
    font-size: 2.5rem;
    font-weight: bold;
    padding: 20px;
    margin: 40px 0 20px 0;
    border-radius: 23px;
    font-family: dnp-shuei-mgothic-std, sans-serif;
}

.ttlYellow_h3.ttlYellow_Sub {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.ttlYellow_h3 .sub_txt {
    font-size: 2.4rem;
}

.ttlYborder {
    display: table;
    margin: 30px auto 40px;
    padding: 5px;
    width: 510px;
    font: 700 3rem/1.3 dnp-shuei-mgothic-std, sans-serif;
    border-radius: 100px;
    background: ;
}

.ttlYborder {
    background-image: url(../images/teacher/ttlYborder.png);
}

.ttlYborder span {
    display: flex;
    justify-content: center;
    padding: 6px 0.8em;
    width: 100%;
    height: 100%;
    border-radius: 100px;
    background-color: #fff;
}

.ttlstar {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 3rem;
    line-height: 1.3;
    font-weight: bold;
    font-family: dnp-shuei-mgothic-std, sans-serif;
    padding: 30px 0;
    margin: 20px 0;
    border: solid 8px #ffd99e;
    border-radius: 6px;
}

.ttlstar .small_ttl {
    display: flex;
    align-items: center;
    position: relative;
    text-align: center;
    font-size: 24px;
}

.ttlstar .small_ttl::before,
.ttlstar .small_ttl::after {
    content: "";
    width: 26px;
    height: 39px;
    background-position: 0 0;
    background-size: contain;
    background-repeat: no-repeat;
}

.ttlstar .small_ttl::before {
    background-image: url(../images/teacher/ttlSub_l.png);
    margin-right: 10px;
}

.ttlstar .small_ttl::after {
    background-image: url(../images/teacher/ttlSub_r.png);
    margin-left: 10px;
}

.ttlstar::after {
    content: "";
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 154px;
    height: 104px;
    background: url(../images/teacher/teacher_h4_cont1.svg) 0 0/contain no-repeat;
}

.ttlstar span {}

.teacher_subttl.heart {
    background: url(../images/teacher/teacher_heart.png.webp)15px 65%/90px auto no-repeat #fdf2d0;
    padding-left: 125px;
}

@media screen and (max-width: 834px) {
    .ttlYellow {
        width: calc(100% - 40px);
        margin-top: 40px;
    }

    .ttlYellow_h3 {
        font-size: 3rem;
        line-height: 1.4;
    }

    .ttlYellow_h3 .sub_txt {
        font-size: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .ttlYellow_h3 {
        padding: 7px 10px 7px 75px;
        font-size: 2.1rem;
        min-height: 80px;
        height: auto;
        margin-bottom: 20px;
        line-height: 1.4;
    }

    .ttlYellow_h3::before {
        top: 10px;
        left: 0;
        width: 70px;
        height: 84px;
        background-size: contain;
    }

    .ttlYellow_h3 .sub_txt {
        font-size: 1.6rem;
    }

    .teacher_subttl {
        font-size: 4.167vw;
    }

    .ttlstar {
        font-size: 2.6rem;
    }
    .ttlstar::after {
        content: none;
    }
    .ttlstar .small_ttl {
    font-size: 16px;
    margin-bottom: 5px;
}
.lower_wrap img {
    vertical-align: bottom;
}

}



/* 学生教師紹介
---------------------------- */
.students {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
    max-width: 1270px;
    margin: 0 auto 80px;
}

.student_box {
    font-size: 1.6rem;
    width: 590px;
    padding: 20px 20px 25px 20px;
    border: 1px #dcdcdc solid;
    z-index: 1;
    border-radius: 18px;
}

.student_box .main {
    font-family: dnp-shuei-mgothic-std, sans-serif;
    font-weight: 700;
    margin-bottom: 15px;
}

@media (min-width: 835px) {
    .student_box {
        position: relative;
        margin: 10px;
    }

    .student_box::before,
    .student_box::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 18px;
    }

    .student_box::before {
        background: #fff;
        top: 0;
        left: 0;
        z-index: -1;
    }

    .student_box::after {
        top: 10px;
        left: -10px;
        z-index: -2;
    }

    .student_box.men::after {
        background: #b2d89f;
    }

    .student_box.women::after {
        background: #fedada;
    }

    .student_box .main {
        position: relative;
        padding-left: 160px;
    }

    .student_catch {
        margin-left: -20px;
        min-height: 80px;
    }

    .student_img {
        position: absolute;
        top: 40px;
        left: 2px;
    }

    .student_profile {
        padding-left: 40px;
    }
}

.student_img {
    width: 167px;
    z-index: -1;
}

.student_img::before {
    content: '';
    position: absolute;
    background: url(../images/teacher/academic_cap.png) 0 0/contain no-repeat;
    width: 54px;
    height: 103px;
    z-index: 1;
}

.student_img img {
    width: 100%;
}

.student_catch {
    font-size: 2rem;
    height: auto;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 11px 10px 13px 50px;
    margin-bottom: 10px;
}

@media all and (-ms-high-contrast: none) {
    .student_catch {
        padding-top: 21px;
    }
}

.student_box.men .student_catch {
    background: url(../images/teacher/student_catch_bg.png) top center/100% 100% no-repeat;
}

.student_box.women .student_catch {
    background: url(../images/teacher/student_catch_wo_bg.png) top center/100% 100% no-repeat;
}

.student_profile {
    font-size: 1.4rem;
}

.student_profile li {
    padding-bottom: 3px;
    display: flex;
    align-items: flex-start;
}

.student_profile li:last-of-type {
    padding-bottom: 0;
}

.student_profile span {
    padding: 1px 7px;
}

@media all and (-ms-high-contrast: none) {
    .student_profile span {
        padding-top: 8px;
    }
}

.student_profile span.ttl {
    display: inline-block;
    margin-right: 5px;
    flex-shrink: 0;
}

.student_box.men .student_profile span.ttl {
    background: #b2d89f;
}

.student_box.women .student_profile span.ttl {
    background: #fedada;
}

.student_box span.nickname {
    padding: 7px 0;
    font-size: 1.3rem;
}

.student_box .sub_catch {
    font-family: dnp-shuei-mgothic-std, sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    position: relative;
    padding-left: 38px;
    margin-bottom: 5px;
}

.student_box .sub_catch::before,
.student_box .sub_catch::after {
    position: absolute;
    content: '';
    background: url(../images/teacher/sub_catch.png) top center/contain no-repeat;
    color: #ef6363;
    width: 30px;
    height: 30px;
}

.student_box .sub_catch::before {
    left: 0;
}

.student_box .sub_catch::after {
    transform: scale(-1, 1);
    left: 218px;
}

.student_box dt {
    margin-bottom: 5px;
}

.student_box dt,
.student_box .show_more {
    font-weight: 700;
    font-family: dnp-shuei-mgothic-std, sans-serif;
}

.student_box.men dt,
.student_box.men .show_more {
    color: #4d8b2e;
    font-size: 1.7rem;
}

.student_box.women dt,
.student_box.women .show_more {
    color: #e96969;
}

.q_txt,
.a_txt {
    position: relative;
    padding-left: 35px;
}

.q_txt::before,
.a_txt::before {
    content: '';
    position: absolute;
    width: 28px;
    height: 28px;
    left: 0;
}

.q_txt::before {
    top: 50%;
    transform: translateY(-50%);
}

.student_box.men .q_txt::before {
    background: url(../images/teacher/q.png) 0 0/contain no-repeat;
}

.student_box.women .q_txt::before {
    background: url(../images/teacher/q_wo.png) 0 0/contain no-repeat;
}

.a_txt::before {
    top: 3px;
}

.student_box.men .a_txt::before {
    background: url(../images/teacher/a.png) 0 0/contain no-repeat;
}

.student_box.women .a_txt::before {
    background: url(../images/teacher/a_wo.png) 0 0/contain no-repeat;
}

.hideTxt {
    position: relative;
}

.hideTxt::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 40%, #fff 100%);
}

.showMore .hideTxt::after {
    opacity: 0;
}

.hideTxt {
    max-height: 4em;
    overflow: hidden;
}

.hideTxt,
.hideTxt::after {
    transition: .2s;
}

.showMore .hideTxt {
    max-height: 100vh;
}

.showMore .hideTxt,
.showMore .hideTxt::after {
    transition: .5s;
}

.show_more {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    margin: 0 auto;
    width: 200px;
    height: 40px;
    border: 2px solid #dadada;
    border-radius: 100px;
    cursor: pointer;
}

.show_more_txt {
    position: relative;
    transition: .2s opacity;
}

.show_more_txt.on {
    opacity: 1;
    font-size: 100%;
}

@media all and (-ms-high-contrast: none) {
    .show_more_txt.on {
        padding-top: 7px;
    }
}

.show_more_txt.off {
    opacity: 0;
    font-size: 0;
}

.student_box .message {
    margin-top: 10px;
    padding-left: 40px;
    position: relative;
}

.student_box .message::before {
    content: '';
    position: absolute;
    width: 34px;
    height: 27px;
    top: 0;
    left: 0;
}

.student_box.men .message::before {
    background: url(../images/teacher/letter.png) 0 0/contain no-repeat;
}

.student_box.women .message::before {
    background: url(../images/teacher/letter_wo.png) 0 0/contain no-repeat;
}

.message_dd {
    padding: 0 10px;
}

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

    .students,
    .student_box {
        width: 100%;
    }

    .students {
        display: block;
        margin-bottom: 40px;
    }

    .student_sp_bg {
        padding: 5px;
        margin: 10px 20px;
        border-radius: 20px;
    }

    .student_sp_bg.men {
        background: #b2d89f;
    }

    .student_sp_bg.women {
        background: #fedada;
    }

    .student_box {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .student_box.men,
    .student_box.women {
        border: 0;
        background: #fff;
        box-shadow: 0px 0px 6px 0px rgb(0 0 0 / 10%);
    }

    .student_catch {
        padding-left: 11px;
        font-size: 1.8rem;
        border-radius: 20px;
        margin-bottom: 13px;
    }

    .student_box.men .student_catch,
    .student_box.women .student_catch {
        position: relative;
    }

    .student_box.men .student_catch::after,
    .student_box.women .student_catch::after {
        content: '';
        position: absolute;
        right: 40px;
        bottom: -17px;
        width: 20px;
        height: 17px;
    }

    .student_box.men .student_catch::after {
        background: url(/chuugaku/wp-shiritsu/wp-content/themes/shiritsu/images/teacher/hukidashi.png)0 0/contain no-repeat;
    }

    .student_box.women .student_catch::after {
        background: url(/chuugaku/wp-shiritsu/wp-content/themes/shiritsu/images/teacher/hukidashi_wo.png)0 0/contain no-repeat;
    }

    .student_box.men .student_catch {
        background: #d8ebcf;
    }

    .student_box.women .student_catch {
        background: #feecec;
    }

    .student_img_sp_bg {
        position: relative;
        width: 167px;
        margin: 0 auto;
    }

    .student_img_sp_bg::before,
    .student_img_sp_bg::after {
        position: absolute;
        content: '';
    }

    .student_box.men .student_img_sp_bg::before,
    .student_box.women .student_img_sp_bg::before {
        width: 50px;
        height: 55px;
        bottom: 20px;
        left: -60px;
    }

    .student_box.men .student_img_sp_bg::before {
        background: url(../images/teacher/star.png)0 0/contain no-repeat;
    }

    .student_box.women .student_img_sp_bg::before {
        background: url(../images/teacher/star_pink.png)0 0/contain no-repeat;
    }

    .student_box.men .student_img_sp_bg::after {
        background: url(../images/teacher/book.png)0 0/contain no-repeat;
        width: 74px;
        height: 57px;
        bottom: -1px;
        right: -63px;
    }

    .student_box.women .student_img_sp_bg::after {
        background: url(../images/teacher/book_pink.png)0 0/contain no-repeat;
        width: 57px;
        height: 74px;
        bottom: 0;
        right: -68px;
    }

    .student_profile {
        font-feature-settings: "palt";
    }

    .student_profile li {
        line-height: 1.4;
        align-items: stretch;
    }

    .student_profile span {
        padding-top: 3px;
        padding-bottom: 3px;
    }

    .student_profile span.ttl {
        min-height: 27px;
        margin-right: 0;
        padding-top: 4px;
    }

    .student_profile span.txt {
        border-top: 1px solid #d9d9d9;
        border-right: 1px solid #d9d9d9;
        border-bottom: 1px solid #d9d9d9;
        width: -webkit-fill-available;
    }

    .student_box .sub_catch {
        font-size: 1.7rem;
        margin-bottom: 10px;
    }

    .student_box .sub_catch::after {
        left: 210px;
    }
}


/* 講師動画
------------------------------------------*/
#teacherSlider_s_movie {
    display: flex;
    justify-content: center;
    margin: 0 auto 120px;
    width: 800px;
}

.teacherMovie {
    position: relative;
    width: 390px;
    font-size: 0;
    border: 1px solid #ccc;
}

.teacherMovie.on {
    height: 219px;
}

.teacherMovie.iframeIn {
    position: relative;
}

.teacherMovie.iframeIn::before {
    content: "";
    display: block;
    padding-top: 56.25%;
}

.teacherMovie img,
.teacherMovie iframe {
    width: 100%;
}

.teacherMovie.iframeIn iframe {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}

.movieImg {
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.movieImg::before {
    content: "";
    position: absolute;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    z-index: 1;
    width: 70px;
    height: 50px;
    background: url(../images/common/movIcon.svg) 0 0/contain no-repeat;
    opacity: .8;
}

.moviePlayer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 834px) {
    #teacherSlider_s_movie {
        display: block;
        padding: 0 40px;
        margin: 0 auto 40px;
        width: 100%;
    }

    .teacherMovie {
        margin-bottom: 20px;
        width: 100%;
    }

    .teacherMovie:last-of-type {
        margin-bottom: 0;
    }

    .teacherMovie.on {
        height: 44.457vw;
    }

    .movieImg::before {
        width: 13.021vw;
        height: 9.375vw;
    }
}