/*  ------------------------------ teacher.scss */
.teacher .wrap > h2 {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 36px;
  line-height: 1.31;
}
.teacher .wrap > p {
  text-align: center;
  font-size: 1.4rem;
  line-height: 2;
}
.teacher .wrap > p + p {
  margin-top: 1rem;
}
.teacher-wrap {
  padding-top: 40px;
  background: #004664;
  margin-top: 72px;
}
.teacher-wrap .wrap {
  padding-bottom: 250px;
}
.teacher-wrap > img {
  height: 60px;
  margin-left: auto;
  margin-right: 5%;
  display: block;
}
.teacher-wrap h2 {
  color: #fff;
  font-size: 2.6rem;
  text-align: center;
}
.teacher-flex {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 9px 10px;
}
.teacher-flex .top-teacher__item {
  flex: none;
  width: calc((100% - 20px) / 3);
}
.teacher-flex .top-teacher__item img {
  width: 100%;
}
.teacher-flex .wrap {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 9px 10px;
}
.teacher-flex__item {
  padding: 8px;
  border: 140px 0 0 0;
}
.teacher__bottom {
  background: #fff;
}
.teacher__bottom .wrap-nrw2 {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 16px 0;
}
.teacher__bottom .wrap-nrw2 img {
  height: 16px;
  top: -6px;
  left: 84px;
  position: absolute;
}
.teacher__bottom .wrap-nrw2 h4 {
  line-height: 1;
  font-size: 6.4rem;
  color: #0093a8;
  letter-spacing: 1px;
}
.teacher__bottom .wrap-nrw2 h4 span {
  font-size: 4rem;
}
.teacher__bottom .wrap-nrw2 p {
  font-size: 2.6rem;
  line-height: 1;
  padding-bottom: 3px;
  letter-spacing: 1px;
}
.teacher__bottom .wrap-nrw2 p span {
  font-size: 2.1rem;
}
.teacher__bottom + .wrap {
  background-image: none;
  padding: 80px 0;
}
.teacher__bottom + .wrap p {
  text-align: center;
  color: #fff;
  font-size: 1.4rem;
  line-height: 2;
}
.teacher__bottom + .wrap p + p {
  margin-top: 2rem;
}

.top-teacher__item.withimg {
  background: #0093a8;
  padding: 3% 3% 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 834px) {
  .teacher .wrap > h2 {
    font-size: 1.9rem;
    margin-bottom: 14px;
  }
  .teacher .wrap > p {
    font-size: 1.4rem;
  }
  .teacher-wrap {
    padding-top: 30px;
  }
  .teacher-wrap .sp_only > img {
    width: 90%;
    margin-left: 5%;
  }
  .teacher-wrap .wrap {
    padding-bottom: 100px;
    background-image: none;
  }
  .teacher-flex {
    background: #fff;
    border-radius: 78px 0 0 0;
    gap: 10px 0;
    justify-content: center;
    align-items: center;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  .teacher-flex .top-teacher__item {
    width: 100%;
    margin-right: 0;
  }
  .teacher-flex .top-teacher__item:first-child {
    margin-left: 0;
  }
  .teacher-flex .top-teacher__item h3,
.teacher-flex .top-teacher__item h4 {
    font-size: 1.6rem;
  }
  .teacher-flex .top-teacher__item p {
    font-size: 1.4rem;
  }
  .teacher-flex > img {
    width: 100%;
  }
  .teacher__bottom .wrap-nrw2 {
    padding: 8px 0;
  }
  .teacher__bottom .wrap-nrw2 img {
    left: 0;
  }
  .teacher__bottom .wrap-nrw2 h4 {
    font-size: 2.5rem;
  }
  .teacher__bottom .wrap-nrw2 h4 span {
    font-size: 2rem;
  }
  .teacher__bottom .wrap-nrw2 p {
    font-size: 1.6rem;
  }
  .teacher__bottom .wrap-nrw2 p span {
    font-size: 1.4rem;
  }
  .teacher__bottom + .wrap {
    padding: 30px 0 80px;
  }
  .teacher__bottom + .wrap p {
    font-size: 1.4rem;
  }
  .top-teacher__item.withimg {
    padding: 50px 10% 20px;
  }
}/*# sourceMappingURL=hp_teacher.css.map */