@import url("https://fonts.googleapis.com/css2?family=Abel&display=swap");

.teacher2 {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  letter-spacing: 0.08em;
  color: #2C2C2C;
}

.job-description-title__text .sp-only {
  display: none;
}
.page-teacher2 #sec01 .ttl .txt {
  width: 32.35%;
  padding-bottom: 40px;
}

.page-teacher2 #sec01 .ttl .txt h2 {
  margin: 0;
  font-weight: normal;
  line-height: 1.5;
}

.page-teacher2 #sec01 .ttl .txt h2 small {
  color: #e18f9b;
  font-size: 20px;
  font-weight: normal;
}

.page-teacher2 #sec01 .ttl .txt h2 span {
  color: #2c2c2c;
  font-size: 49px;
}

@media (max-width: 768px) {
  .job-description-title__text .sp-only {
    display: block;
  }

  .page-teacher2 #sec01 .ttl .txt {
    width: 100%;
    padding: 20px 0;
  }

  .page-teacher2 #sec01 .ttl .txt h2 small {
    font-size: 16px;
  }

  .page-teacher2 #sec01 .ttl .txt h2 span {
    font-size: 32px;
  }
}

/* スケジュール　*/
.schedule {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
  background-image: url(../../images/teacher/bg03.webp);
  background-repeat: no-repeat;
  background-position: calc(50% + 610px) 1000px;
}

.schedule-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.schedule-icon {
  display: block;
  margin: 0 auto;
}

.schedule-lead {
  text-align: center;
  line-height: 2;
  margin-bottom: 60px;
  font-size: 27px;
  font-weight: 500;
}

.clock-icon {
  display: block;
  width: auto;
  margin: 0 auto 35px;
}

.schedule-item {
  display: grid;
  grid-template-columns: minmax(0, 227fr) minmax(0, 550fr) minmax(0, 391fr);
  grid-template-rows: 54px auto;
  column-gap: 16px;
  row-gap: 20px;
  align-items: center;
  justify-content: center;
  padding-bottom: 100px;
  position: relative;
}

.schedule-item.reverse {
  grid-template-columns: minmax(0, 391fr) minmax(0, 227fr) minmax(0, 550fr);
}

.schedule-item:last-child {
  padding-bottom: 0;
}

/* 通常：時計 / 時間+テキスト / 写真 */
.schedule-item .time {
  grid-column: 1;
  grid-row: 2;
}

.schedule-item .daytxt {
  grid-column: 2;
  grid-row: 2;
}

.schedule-item:not(.reverse) .daytxt {
  margin-left: 16.4%;
}

.schedule-item .photo {
  grid-column: 3;
  grid-row: 1 / 3;
  width: calc(100% - 40px);
  max-width: 351px;
  margin: 0 20px;
  justify-self: center;
  border-radius: 4px;
}

.schedule-item picture {
  display: contents;
}

/* reverse：写真 / 時計 / 時間+テキスト */
.schedule-item.reverse .photo {
  grid-column: 1;
  grid-row: 1 / 3;
}

.schedule-item.reverse .time {
  grid-column: 1 / 4;
  grid-row: 2;
  justify-self: center;
}

.schedule-item.reverse .daytxt {
  grid-column: 3;
  grid-row: 2;
  margin-left: 28.9%;
}

.schedule-item .clock-icon {
  grid-column: 1 / 4;
  grid-row: 1;
  justify-self: center;
  width: auto;
  margin: 0;
  border-radius: 0;
}
.time {
  position: relative;
  display: flex;
  align-items: center;
  width: 260px;
  padding: 0 20px;
  font-size: 76px;
  margin: 0 20px 0 0;
  font-family: "Abel", sans-serif;
  white-space: nowrap;
}

.time::after {
  content: "";
  flex: 0 0 68px;
  width: 68px;
  height: 1px;
  margin-left: 18px;
  background: #d9d9d9;
}

.schedule-item.first:not(.reverse) {
  padding-top: 73px;
}

.schedule-item.first:not(.reverse)::after {
  content: "";
  position: absolute;
  top: -120px;
  left: calc(50% + 390px);
  width: 119px;
  height: 176px;
  background-image: url(../../images/teacher/bg01.webp);
  background-repeat: no-repeat;
  z-index: -1;
  pointer-events: none;
}

.schedule-item.first:not(.reverse) > * {
  position: relative;
  z-index: 1;
}

.schedule-item.reverse.first::after {
  content: "";
  position: absolute;
  top: -50px;
  left: calc(50% - 638px);
  width: 214px;
  height: 215px;
  background-image: url(../../images/teacher/bg02.webp);
  background-repeat: no-repeat;
  z-index: -1;
  pointer-events: none;
}

.schedule-item.deco-left::after {
  content: "";
  position: absolute;
  top: -100px;
  left: calc(50% - 653px);
  width: 270px;
  height: 275px;
  background-image: url(../../images/teacher/bg04.webp);
  background-repeat: no-repeat;
  z-index: -1;
  pointer-events: none;
}

.schedule-item.deco-right {
  background-image: url(../../images/teacher/bg05.webp);
  background-repeat: no-repeat;
  background-position: calc(50% + 520px) top;
}

.daytxt h3 {
  font-size: 24px;
  margin-bottom: 12px;
  font-weight: bold;
}

.daytxt p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.daytxt span {
  display: inline-block;
  background: #b52033;
  color: #fff;
  font-size: 15px;
  padding: 3px 8px;
}

@media (max-width: 1200px) {
  .time {
    width: auto;
    font-size: 56px;
  }

  .time::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .schedule-item,
  .schedule-item.reverse {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
  }

  .schedule-item .clock-icon {
    position: static;
    display: block;
    width: auto;
    margin: 0 auto 25px;
    transform: none;
  }

  .schedule-item .photo {
    max-width: 100%;
    width: 100%;
    margin: 20px auto;
  }

  .schedule-item .photo,
  .schedule-item.reverse .photo {
    order: 1;
  }

  .schedule-item .clock-icon,
  .schedule-item.reverse .clock-icon {
    order: 2;
  }

  .schedule-item .time,
  .schedule-item.reverse .time {
    order: 3;
  }

  .schedule-item .daytxt,
  .schedule-item.reverse .daytxt {
    order: 4;
  }

  .schedule-icon {
    width: auto;
    height: 28px;
  }

  .schedule-lead {
    font-size: 18px;
  }

  .schedule-item .time {
    width: auto;
    margin: 0 auto 12px;
    font-size: 48px;
    text-align: center;
    justify-content: center;
  }

  .schedule-item.reverse .time,
  .schedule-item .time {
    justify-self: center;
  }

  .time::after,
  .schedule-item.reverse .time::after,
  .schedule-item.first .time::after,
  .schedule-item.reverse.first .time::after {
    display: none;
  }

  .schedule-item:not(.reverse) .daytxt,
  .schedule-item.reverse .daytxt {
    margin-left: 0;
    text-align: center;
  }

  .daytxt h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .daytxt p {
    margin-bottom: 12px;
  }

  .schedule-item.first:not(.reverse) {
    padding-top: 0;
  }

  .schedule-item.first:not(.reverse)::after,
  .schedule-item.reverse.first::after,
  .schedule-item.deco-left::after {
    display: none;
  }
}
@media (max-width: 768px) {
  .schedule {
    padding: 60px 0;
    background-position: right 10px top 700px;
    background-size: 140px auto;
  }

  .schedule-item.first:not(.reverse)::after {
    display: block;
    top: -40px;
    right: 10px;
    left: auto;
    z-index: -1;
    background-size: 100% auto;
  }

  .schedule-item.reverse.first::after {
    display: block;
    top: -30px;
    left: 10px;
    background-size: 100% auto;
  }

  .schedule-item.deco-left::after {
    display: block;
    top: -60px;
    left: 10px;
    background-size: 100% auto;
  }

  .schedule-item.deco-right {
    background-position: right 10px top;
    background-size: 160px auto;
  }
}
/*　雰囲気　*/
.life-detail {
  padding: 80px 20px 100px;
  background-image: url(../../images/teacher/bg06.webp);
  background-repeat: no-repeat;
  background-position: calc(50% + 625px) 400px;
}

.life-detail__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.life-detail__heading {
  margin-bottom: 80px;
  text-align: center;
}

.life-detail__heading h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.life-detail__heading h2 img {
  height: 1em;
  width: auto;
}

.english {
  margin: 0 0 8px;
  color: #e18f9b;
  font-size: 18px;
  letter-spacing: 0.08em;
  font-family: "Abel", sans-serif;
}

h2 {
  margin: 0 0 16px;
  color: #b52033;
  font-size: 28px;
  font-weight: bold;
}

.life-detail__body {
  display: grid;
  grid-template-columns: 450fr 500fr;
  gap: 50px;
  align-items: start;
  margin-bottom: 100px;
}

.life-detail__photo img {
  display: block;
  width: 100%;
  height: auto;
}

.life-detail__intro h3 {
  margin-top: 20px;
  font-size: 20px;
  font-weight: bold;
}

.life-detail__text {
  margin-top: 20px;
  font-size: 15px;
  line-height: 2.0;
}

@media (max-width: 768px) {
  .life-detail {
    padding: 60px 20px 80px;
    background-position: right 10px bottom 20px;
    background-size: 160px auto;
  }

  .life-detail__heading {
    margin-bottom: 40px;
  }

  .life-detail__heading h2#life-education-title {
    font-size: 20px;
    line-height: 1.5;
    gap: 3px;
  }

  .job-description__heading h2#job-description-title {
    font-size: 20px;
    line-height: 1.5;
    gap: 3px;
  }

  .life-detail__body {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 60px;
  }

  .life-detail__intro h3 {
    font-size: 18px;
  }
}

.job-description {
  padding: 90px 20px 100px;
  text-align: center;
  background-image: url(../../images/recruit/jobdescription-bg.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.job-description__inner {
  margin: 0 auto;
}

.job-description__heading h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #fff;
}

.job-description__heading h2 img {
  height: 1em;
  width: auto;
}

#job-description-title > img {
  width: auto !important;
  max-width: none;
  height: 1em;
}

.job-description__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.job-description__link,
.job-description__link:link,
.job-description__link:visited,
.job-description__link:hover,
.job-description__link:active {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 24px 40px;
  border: 1px dashed #b52033;
  border-radius: 8px;
  background: #fff;
  color: #b52033;
  font-size: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.job-description__link-text {
  text-decoration: underline;
  text-underline-offset: 10px;
}

.job-description__link-arrow {
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

@media (max-width: 768px) {
  .job-description {
    padding: 60px 20px 70px;
  }

  .job-description__text {
    margin-bottom: 30px;
    font-size: 14px;
  }

  .job-description__list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .job-description__link {
    width: 100%;
    padding: 18px 20px;
    font-size: 13px;
  }
}
