@charset "utf-8";
.section-title__en {
    margin: 0 auto;
    display: block;
    height: 94px;
    margin-bottom: -20px;
}

.section-title__jp {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto;
}

.section-title__jp img {
    display: block;
    height: 37px;
    margin: 0 auto;
}

@media screen and (max-width:768px){
    .section-title__jp img {
        height: 22px;
    }

    .section-title__en {
        height: 58px;
    }
}

/*--------------------------teacher----------------------------*/
.teacher {
    position: relative;
    padding: 48px 0 180px;
    margin-bottom: 60px;
}

.teacher-waveform2 {
    width: 100%;
    display: block;
    position: absolute;
    bottom: 36%;
    left: 0;
}

.teacher-background {
    background-image: url("../images/teacher_background_pc.png");
    background-position: top center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    height: 420px;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: end;
}

.teacher-background__waveform {
    position: relative;
    width: 100%;
    aspect-ratio: 345/58;
}

.teacher-background__waveform img {
    position: absolute;
    bottom: 0;
    -webkit-transform: translateY(50%);
        -ms-transform: translateY(50%);
            transform: translateY(50%);
    width: 100%;
    height: auto;
    display: block;
    -o-object-fit: cover;
       object-fit: cover;
    left: 0;
}

.teacher-inner {
    position: relative;
    z-index: 8;
}

.teacher-content {
    max-width: 980px;
    margin: 0 auto;
    width: 90%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

.teacher-content::after {
    content:"";
    display: block;
    width: 32.5%;
}

.teacher-title {
    margin-bottom: 55px;
}

.teacher-item__img {
    position: relative;
    aspect-ratio: 16 / 13;
    width: 100%;
}

.teacher-item {
    width: 32.5%;
}

.teacher-item:not(.teacher-item:first-of-type, .teacher-item:nth-of-type(2), .teacher-item:nth-of-type(3)) {
    margin-top: 10px;
}

.teacher-item__img img {
    display: block;
    width: 100%;
    -o-object-fit: cover;
    height: auto;
       object-fit: cover;
}

.teacher-item__text {
    color: #fff;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    overflow: hidden;
    height: 275px;
    position: relative;
    padding: 0 25px;
}

.teacher-item__btn_wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 95px;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: end;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.teacher-item.even .teacher-item__btn_wrapper {
    background-image: -o-linear-gradient(bottom, #193350 70%, transparent);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(70%, #193350), to(transparent));
    background-image: linear-gradient(0deg, #193350 70%, transparent);
}

.teacher-item.odd .teacher-item__btn_wrapper {
    background-image: -o-linear-gradient(bottom, #003C4E 70%, transparent);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(70%, #003C4E), to(transparent));
    background-image: linear-gradient(0deg, #003C4E 70%, transparent);
}

.teacher-item__btn {
    color: #fff;
    border: 1px solid #fff;
    border-radius: 100px;
    display: block;
    margin-bottom: 25px;
    text-align: center;
    padding: 6px 20px;
    position: relative;
    width: 70%;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}

.teacher-item__btn:hover {
    opacity: 0.6;
}

.teacher-item.even .teacher-item__btn {
    background-image: -o-linear-gradient(330deg, #125e8d, #193350);
    background-image: linear-gradient(120deg, #125e8d, #193350);
}

.teacher-item.odd .teacher-item__btn {
    background-image: -o-linear-gradient(330deg, #1F6B7B, #003C4E);
    background-image: linear-gradient(120deg, #1F6B7B, #003C4E);
}

.teacher-item__btn img {
    display: block;
    position: absolute;
    right: 18px;
    top: 0;
    bottom: 0;
    margin: auto;
}

.teacher-item__title {
    text-align: center;
    font-size: 22px;
    font-weight: bold;
}

.teacher-item__job {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid #fff;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.teacher-item__about {
        font-size: 18px;
    }

.teacher-item.even .teacher-item__text {
    background-image: -o-linear-gradient(bottom, #193350, #2999dd);
    background-image: -webkit-gradient(linear, left bottom, left top, from(#193350), to(#2999dd));
    background-image: linear-gradient(0deg, #193350, #2999dd);
}

.teacher-item.even .teacher-item__img::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background-image: -o-linear-gradient(bottom, #2999dd 12%, transparent);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(12%, #2999dd), to(transparent));
    background-image: linear-gradient(0deg, #2999dd 12%, transparent);
}

.teacher-item.odd .teacher-item__text {
    background-image: -o-linear-gradient(bottom, #003C4E, #57BFCA);
    background-image: -webkit-gradient(linear, left bottom, left top, from(#003C4E), to(#57BFCA));
    background-image: linear-gradient(0deg, #003C4E, #57BFCA);
}

.teacher-item.odd .teacher-item__img::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background-image: -o-linear-gradient(bottom, #57BFCA 12%, transparent);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(12%, #57BFCA), to(transparent));
    background-image: linear-gradient(0deg, #57BFCA 12%, transparent);
}


@media screen and (max-width:768px){
    .teacher {
        padding: 15px 0 56px;
        margin-bottom: 280px;
    }

    .teacher-background {
        background-image: url("../images/teacher_background_sp.png");
        height: 180px;
    }

    .teacher-item {
        width: 100%;
    }

    .teacher-item:not(.teacher-item:first-of-type) {
        margin-top: 15px;
    }

    .teacher-item__text {
        height: 250px;
    }

    .teacher-title {
        margin-bottom: 28px;
    }

    .teacher-waveform2 {
        display: none;
    }
}