/* ==========================================================================
   Teaching / Lectures page (Figma node 9:62)
   ========================================================================== */

.page-label {
  font-weight: 500;
  font-size: 12px;
  line-height: 30px;
}

.teaching-hero {
  padding-top: 24px;
  padding-bottom: clamp(32px, 5vw, 56px);
}

.teaching-hero__title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(36px, 6vw, 80px);
  line-height: 1.25;
  letter-spacing: -0.05em;
  margin-bottom: 32px;
}

.teaching-hero__lead {
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.8vw, 24px);
  line-height: 1.5;
  max-width: 32em;
  margin-bottom: 108px;
}

.teaching-hero__meta {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  max-width: 40em;
}

.teaching-hero__stats {
  margin-top: 4px;
}

.teaching-hero__stats p {
  line-height: 1.875;
}

.teaching-photo-main {
  padding-bottom: 12px;
}

.teaching-photo-main img {
  width: 100%;
  height: auto;
}

.teaching-photos-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-bottom: 8px;
}

.teaching-photos-pair img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.teaching-photos-caption {
  font-family: var(--font-sans);
  font-size: 15px;
  text-align: right;
  padding-bottom: clamp(32px, 5vw, 56px);
}

@media (max-width: 700px) {
  .teaching-photos-pair {
    grid-template-columns: 1fr;
  }
}

/* 図版の左上(透明部分)に見出しを重ねる。先方指示(PDF p.3 "移動")。
   以前は見出しと図版を別ブロックにしていたが、重ねる指示のため
   同じ .teaching-materials-figure に入れ、見出しだけ絶対配置にした。 */
.teaching-materials-figure {
  position: relative;
  max-width: 1117px;
  margin-inline: auto;
}

.teaching-materials {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.teaching-materials__title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 8px;
}

.teaching-materials__lead {
  font-family: var(--font-sans);
  font-size: 16px;
}

.teaching-materials-grid {
  margin-top: 0;
  padding-bottom: clamp(24px, 4vw, 40px);
}

/* Figma: 上の写真(コンテナ全幅1316)に対しコラージュは約1117px幅で中央寄せ。
   幅の指定は .teaching-materials-figure に移したので、img は等倍で追従させる。 */
.teaching-materials-grid img {
  display: block;
  width: 100%;
  height: auto;
}

/* 図版が縮むと透明域も縮むが、見出しの文字サイズは変わらないため、
   狭い画面では重ねずに従来どおり図版の上へ戻す。 */
@media (max-width: 800px) {
  .teaching-materials {
    position: static;
    margin-bottom: clamp(16px, 3vw, 24px);
  }
}

/* Figma: 行は左揃えのまま、ブロックごとページ中央に置かれている */
.teaching-status {
  width: fit-content;
  margin-inline: auto;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 2;
  padding-bottom: clamp(32px, 5vw, 56px);
}

/* Figma: テキストとボタンは左右スプレッドではなく、2つで1組として中央寄せ */
.teaching-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 85px;
  padding-bottom: clamp(40px, 6vw, 72px);
}

.teaching-cta__title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 5px;
}

.teaching-cta__lead {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  line-height: 24px;
}

.teaching-cta__button {
  display: inline-block;
  border: 1px solid var(--color-border);
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .teaching-cta {
    flex-direction: column;
    align-items: start;
    gap: 24px;
  }
}
