/* ========================================
   TEACHERS ARCHIVE
======================================== */

.teachers-page {
  padding:
    65px
    0
    100px;
}


/* ========================================
   ARCHIVE HEADER
======================================== */

.teachers-header {
  margin-bottom: 48px;
  text-align: center;
}

.teachers-header__en {
  display: block;

  margin-bottom: 8px;

  color: #b38a35;

  font-family: Georgia, serif;
  font-size: 24px;

  line-height: 1.4;
}

.teachers-header h1 {
  margin: 0;

  color: #1d2947;

  font-family: serif;
  font-size: 38px;
  font-weight: 500;

  line-height: 1.5;
}


/* ========================================
   TEACHERS LIST
======================================== */

.teachers-list {
  display: flex;
  flex-direction: column;

  gap: 18px;
}


/* ========================================
   TEACHER CARD
======================================== */

.teacher-detail-card {
  display: grid;

  grid-template-columns:
    220px
    1fr;

  gap: 30px;

  padding:
    26px
    28px;

  border: 1px solid #ddd;

  background: #fff;
}


/* ========================================
   TEACHER IMAGE
======================================== */

.teacher-detail-card__image {
  width: 100%;
}

.teacher-detail-card__image img {
  display: block;

  width: 100%;

  aspect-ratio: 3 / 4;

  object-fit: cover;

  background: #eee;
}


/* ========================================
   CONTENT
======================================== */

.teacher-detail-card__content {
  min-width: 0;
}

/* 英字名 */
.teacher-detail-card__en {
  margin: 0 0 4px;

  color: #b38a35;

  font-family: Georgia, serif;
  font-size: 16px;

  line-height: 1.4;
}


/* 講師名 */
.teacher-detail-card__name {
  margin: 0 0 7px;

  color: #243b83;

  font-family: serif;
  font-size: 32px;
  font-weight: 500;

  line-height: 1.4;
}


/* 肩書き */
.teacher-detail-card__position {
  margin: 0 0 18px;

  color: #243b83;

  font-size: 16px;

  line-height: 1.6;
}


/* MEDIA / WORKS */
.teacher-detail-card__works-title {
  margin: 0 0 10px;

  color: #b38a35;

  font-family: Georgia, serif;
  font-size: 16px;

  line-height: 1.4;
}


/* ========================================
   PROFILE
======================================== */

/* 本文プロフィール */
.teacher-detail-card__profile {
  margin-bottom: 20px;

  color: #333;

  font-size: 16px;

  line-height: 1.9;
}

.teacher-detail-card__profile p {
  margin: 0 0 14px;
}

.teacher-detail-card__profile p:last-child {
  margin-bottom: 0;
}


/* ========================================
   MEDIA / WORKS
======================================== */

.teacher-detail-card__works {
  margin-top: 18px;
}

.teacher-detail-card__works-title {
  margin: 0 0 10px;

  color: #b38a35;

  font-family: Georgia, serif;
  font-size: 16px;

  line-height: 1.4;
}

.teacher-detail-card__works-images {
  display: flex;
  flex-direction: column;

  gap: 10px;
}

.teacher-detail-card__work {
  display: block;

  width: 100%;
}

.teacher-detail-card__work img {
  display: block;

  width: 100%;
  height: auto;
}


/* ========================================
   SP
======================================== */

@media (max-width: 767px) {

  .teachers-page {
    padding:
      45px
      0
      65px;
  }


  /* HEADER */

  .teachers-header {
    margin-bottom: 35px;
  }

  .teachers-header__en {
    font-size: 19px;
  }

  .teachers-header h1 {
    font-size: 30px;
  }


  /* LIST */

  .teachers-list {
    gap: 15px;
  }


  /* CARD */

  .teacher-detail-card {
    grid-template-columns: 1fr;

    gap: 22px;

    padding:
      22px
      20px;
  }


  /* IMAGE */

  .teacher-detail-card__image {
    width: 190px;
    max-width: 70%;

    margin: 0 auto;
  }


  /* CONTENT */

  .teacher-detail-card__en {
    font-size: 13px;
  }

  .teacher-detail-card__name {
    font-size: 25px;
  }

  .teacher-detail-card__position {
    font-size: 13px;
  }


  /* PROFILE */

  .teacher-detail-card__profile {
    font-size: 13px;
  }


  /* WORKS */

  .teacher-detail-card__works-title {
    font-size: 13px;
  }

}


/* ========================================
   TEACHER INDEX
======================================== */

.teacher-index {
  max-width: 1000px;
  margin: 0 auto 70px;
  padding: 38px 45px;

  border-top: 1px solid #d9dde7;
  border-bottom: 1px solid #d9dde7;
}

.teacher-index__inner {
  text-align: center;
}

.teacher-index__en {
  display: block;
  margin-bottom: 6px;

  color: #b38a35;

  font-family: Georgia, serif;
  font-size: 15px;
  font-style: italic;
  letter-spacing: .05em;
}

.teacher-index__title {
  margin: 0 0 28px;

  color: #243b83;

  font-family: serif;
  font-size: 24px;
  font-weight: 500;
}


/* 講師リンク */

.teacher-index__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;

  gap: 10px 12px;
}

.teacher-index__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 130px;
  padding: 10px 18px;

  border: 1px solid #d4d9e4;

  color: #243b83;
  background: #fff;

  font-size: 15px;
  line-height: 1.5;
  text-decoration: none;

  transition:
    color .2s ease,
    background .2s ease,
    border-color .2s ease;
}

.teacher-index__link::after {
  content: "↓";

  margin-left: 8px;

  color: #b38a35;

  font-size: 12px;
}

.teacher-index__link:hover {
  border-color: #243b83;

  color: #fff;
  background: #243b83;
}

.teacher-index__link:hover::after {
  color: #fff;
}


/* ========================================
   ページ内リンク位置調整
======================================== */

.teacher-detail-card {
  scroll-margin-top: 100px;
}


/* ========================================
   SP
======================================== */

@media (max-width: 767px) {

  .teacher-index {
    margin-bottom: 45px;
    padding: 30px 15px;
  }

  .teacher-index__title {
    margin-bottom: 22px;

    font-size: 22px;
  }

  .teacher-index__links {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 8px;
  }

  .teacher-index__link {
    min-width: 0;
    padding: 11px 8px;

    font-size: 14px;
  }

}