@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 {
    bottom: 12%;
    position: absolute;
    left: 0;
    width: 100%;
    display: block;
}

.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;
    max-width: 650px;
    margin: 0 auto;
    width: 90%;
}

.teacher-content {
    margin-bottom: 40px;
}

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

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

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

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

.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 #193350;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

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

.teacher-btn__wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    position: relative;
}

.teacher-btn__prev, .teacher-btn__next {
    background-image: -o-linear-gradient(330deg, #5bb6ee, #57bfca);
    background-image: linear-gradient(120deg, #5bb6ee, #57bfca);
    color: #fff;
    font-size: 15px;
    padding: 15px 25px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    border-radius: 50px;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}

.teacher-btn__prev:hover {
    opacity: 0.8;
}

.teacher-btn__next:hover {
    opacity: 0.8;
}

.teacher-btn__prev {
    position: absolute;
    left: 0;
    top: 0;
}

.teacher-btn__next {
    position: absolute;
    right: 0;
    top: 0;
}

.teacher-btn__prev img, .teacher-btn__next img {
    display: block;
    width: 12px;
}

.teacher-btn__prev img {
    margin-right: 8px;
    -webkit-transform: rotate(-180deg);
        -ms-transform: rotate(-180deg);
            transform: rotate(-180deg);
}

.teacher-btn__next img {
    margin-left: 8px;
}

.teacher-backBtn {
    display: block;
    width: 100%;
    max-width: 242px;
    margin: 0 auto;
    background-image: -o-linear-gradient(330deg, #5bb6ee, #57bfca);
    background-image: linear-gradient(120deg, #5bb6ee, #57bfca);
    color: #fff;
    position: relative;
    font-size: 15px;
    text-align: center;
    padding: 16px;
    margin-top: 62px;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}

.teacher-backBtn:hover {
    opacity: 0.8;
}

.teacher-backBtn__arrow {
    position: absolute;
    right: 16px;
    top: 0;
    bottom: 0;
    margin: auto;
}

@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-content {
        margin-bottom: 30px;
    }

    .teacher-background__center {
        display: none;
    }

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

    .teacher-item__text {
        padding: 0 20px 36px;
    }

    .teacher-backBtn {
        margin-top: 92px;
    }

    .teacher-waveform2 {
        display: none;
    }
}