@font-face {
  font-family: "Hiragino Sans";
  src: local(HiraginoSans-W8);
  font-weight: 800;
}
h2 {
  font-family: "Hiragino Sans" !important;
  line-height: 1.5em;
  font-weight: 800;
  width: 800px;
  max-width: 90%;
  margin: 0 auto;
  line-height: 170%;
  width: 1000px;
  margin-bottom: 20px;
  font-size: 30px;
  color: #004da1;
}

.blue-box {
  background: #eff6fc;
  width: 100%;
  padding: 30px 0 100px 0;
}

.all-box {
  width: 1200px;
  max-width: 90%;
  margin: 50px auto;
  background: white;
}
.all-box .p {
  width: 1000px;
  margin: 0px auto;
  max-width: 90%;
}

.title {
  font-size: 30px;
  text-align: center;
  padding: 50px 0;
  color: #004da1;
  position: relative;
  width: -moz-max-content;
  width: max-content;
  margin: 0 auto;
}
.title .voice {
  width: 220px;
  position: absolute;
  left: -250px;
  top: 50%;
  transform: translate(0, -50%);
}
.title .icon {
  left: auto;
  right: -250px;
  width: 180px;
}

.teacher-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 50px 0px;
  justify-content: center;
  padding: 50px 50px;
}
.teacher-flex .profile-box {
  width: 360px;
  background-image: url("../../src/teacher/bg1.webp");
  background-size: contain;
  padding: 70px 50px;
  background-position: center center;
}
.teacher-flex .profile-box .name {
  font-size: 23px;
  font-weight: 600;
  color: #004da1;
  line-height: 110%;
}
.teacher-flex .profile-box:nth-child(1) {
  background-image: url("../../src/teacher/bg1.webp");
}
.teacher-flex .profile-box:nth-child(2) {
  background-image: url("../../src/teacher/bg2.webp");
}
.teacher-flex .profile-box:nth-child(3) {
  background-image: url("../../src/teacher/bg3.webp");
}
.teacher-flex .profile-box:nth-child(4) {
  background-image: url("../../src/teacher/bg4.webp");
}
.teacher-flex .profile-box:nth-child(5) {
  background-image: url("../../src/teacher/bg5.webp");
}
.teacher-flex .profile-box:nth-child(6) {
  background-image: url("../../src/teacher/bg6.webp");
}
.teacher-flex .profile-box:nth-child(7) {
  background-image: url("../../src/teacher/bg7.webp");
}
.teacher-flex .profile-box:nth-child(8) {
  background-image: url("../../src/teacher/bg8.webp");
}
.teacher-flex .profile-box:nth-child(9) {
  background-image: url("../../src/teacher/bg9.webp");
}
.teacher-flex .profile-box:nth-child(10) {
  background-image: url("../../src/teacher/bg10.webp");
}
.teacher-flex .profile-box:nth-child(11) {
  background-image: url("../../src/teacher/bg11.webp");
}
.teacher-flex .profile-box:nth-child(12) {
  background-image: none;
  padding: 0px 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.teacher-flex .profile-box:nth-child(12) img {
  width: 200px;
  max-width: 90%;
}
.teacher-flex .profile-flex {
  display: flex;
  align-items: center;
}
.teacher-flex .left {
  width: auto;
  flex-grow: 1;
}
.teacher-flex .right {
  width: 80px;
}
.teacher-flex .right img {
  width: 80px;
  margin-left: auto;
}
.teacher-flex p {
  width: 100%;
  padding: 0px 0% 0 0%;
  font-size: 14px;
  margin: 10px 0;
}
.teacher-flex .en {
  font-size: 12px;
  font-weight: 600;
  color: #004da1;
}
.teacher-flex .subject {
  font-size: 14px;
  font-weight: 600;
  color: #004da1;
}
.teacher-flex .subject .left {
  padding-right: 10px;
  display: inline;
  padding-top: 30px;
}
.teacher-flex .subject .big {
  font-size: 18px;
}
.teacher-flex .subject .right {
  display: inline;
}

.img-flex {
  display: flex;
  margin-top: 100px;
}

@media (max-width: 1200px) {
  .all-box {
    margin-top: 0;
  }
}
@media (max-width: 1100px) {
  .title .voice {
    position: static;
    margin-bottom: -40px;
    margin-top: 30px;
  }
  .title {
    padding-bottom: 30px;
  }
  .title .voice {
    max-width: 100%;
  }
  .title .voice.icon {
    width: 130px;
    max-width: 100%;
    margin-left: auto;
    margin-top: 50px;
  }
  .title {
    width: 90%;
  }
  h1 {
    width: 100%;
    word-break: break-all;
  }
}
@media (max-width: 700px) {
  .teacher-flex {
    padding: 50px 5%;
    gap: 0px 0px;
  }
  .teacher-flex .profile-box {
    margin-bottom: 30px;
  }
}
@media (max-width: 440px) {
  .teacher-flex {
    padding: 30px 0;
  }
  .teacher-flex .profile-box {
    padding: 20% 15%;
    margin-bottom: 30px;
  }
  .teacher-flex .profile-box .name {
    font-size: 6vw;
  }
  .teacher-flex .profile-box .en,
  .teacher-flex .profile-box .subject,
  .teacher-flex .profile-box p {
    font-size: 4vw;
  }
  .teacher-flex .right {
    flex-grow: 1;
  }
}/*# sourceMappingURL=teacher.css.map */