@charset "UTF-8";
/* ==========================================================================
   講師紹介ページ（teacher.html）専用
   exam-pages.css を土台に、このページの部品を追加。.tch-page 配下に限定。
   ========================================================================== */

.tch-page {
  --page-accent: #1769cf;
  --page-accent-dark: #104d9a;
  --page-soft: #eef4fb;
}

/* パンくず */
.tch-page .tch-breadcrumb {
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}
.tch-page .tch-breadcrumb li {
  margin: 0;
  font-size: 15px;
}
.tch-page .tch-breadcrumb li + li::before {
  margin: 0 .6em;
  content: ">";
}

/* ---------- ヒーロー ---------- */
.tch-page .tch-hero {
  background: var(--exam-yellow);
}
.tch-page .tch-hero-inner {
  padding: 64px 0 72px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 56px;
}
.tch-page .tch-hero .exam-breadcrumb {
  margin-bottom: 26px;
}
.tch-page .tch-hero h1 {
  margin: 0;
  color: var(--exam-ink);
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.3;
}
.tch-page .tch-lead {
  margin: 22px 0 0;
  color: var(--exam-ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.95;
}
.tch-page .tch-selection {
  margin: 18px 0 0;
  padding: 14px 18px;
  color: var(--exam-text);
  background: rgba(255, 255, 255, .7);
  border-left: 4px solid var(--exam-ink);
  font-size: 15px;
  line-height: 1.85;
}
.tch-page .tch-hero-photos {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}
.tch-page .tch-hero-photos li:nth-child(3n+2) {
  transform: translateY(18px);
}
.tch-page .tch-hero-photos img {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
  object-position: center 30%;
  border: 5px solid #fff;
  border-radius: 14px;
}

/* ---------- 一覧 ---------- */
.tch-page .tch-list-section {
  padding: 90px 0 100px;
  background: #fff;
}
.tch-page .tch-list-head {
  margin-bottom: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 30px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--exam-ink);
}
.tch-page .tch-list-head h2 {
  margin: 0;
  color: var(--exam-ink);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 900;
}
.tch-page .tch-list-head p {
  margin: 0;
  color: var(--exam-muted);
  font-size: 14px;
}
.tch-page .tch-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 56px;
  list-style: none;
}
.tch-page .tch-item {
  padding: 30px 0;
  display: grid;
  grid-template-columns: 136px 1fr;
  align-items: start;
  gap: 24px;
  border-bottom: 1px solid var(--exam-line);
  scroll-margin-top: 80px;
}
.tch-page .tch-item:target {
  background: linear-gradient(90deg, #fff8dc, transparent 80%);
}
.tch-page .tch-photo {
  width: 136px;
  height: 136px;
  display: block;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 50%;
  background: #eef1f4;
}
.tch-page .tch-label {
  margin: 0;
  color: var(--exam-muted);
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
}
.tch-page .tch-name {
  margin: 2px 0 0;
  color: var(--exam-ink);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: .02em;
}
.tch-page .tch-meta {
  margin: 12px 0 0;
  display: grid;
  gap: 4px;
}
.tch-page .tch-meta > div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px;
  font-size: 15px;
  line-height: 1.7;
}
.tch-page .tch-meta dt {
  color: var(--exam-muted);
  font-size: 13px;
  font-weight: 800;
  padding-top: 1px;
}
.tch-page .tch-meta dd {
  margin: 0;
  color: var(--exam-ink);
  font-weight: 700;
}
.tch-page .tch-comment {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(19, 34, 59, .18);
}
.tch-page .tch-comment p {
  margin: 0;
  font-size: 15px;
  line-height: 1.95;
}
.tch-page .tch-comment.is-clamped {
  max-height: calc(1.95em * 4 + 15px);
  overflow: hidden;
  position: relative;
}
.tch-page .tch-comment.is-clamped::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2.2em;
  content: "";
  background: linear-gradient(rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}
.tch-page .tch-more {
  margin: 6px 0 0;
  padding: 6px 0;
  color: var(--page-accent-dark);
  background: none;
  border: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.tch-page .tch-more:focus-visible,
.tch-page .tch-video:focus-visible {
  outline: 3px solid var(--exam-ink);
  outline-offset: 2px;
}
.tch-page .tch-video {
  margin-top: 14px;
  min-height: 44px;
  padding: 8px 16px 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--exam-ink) !important;
  background: #fff;
  border: 1.5px solid var(--exam-ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}
.tch-page .tch-more + .tch-video {
  margin-left: 16px;
}
.tch-page .tch-video:hover {
  background: #fff8dc;
}
.tch-page .tch-video-icon {
  width: 24px;
  height: 24px;
  position: relative;
  display: inline-block;
  background: #e0364c;
  border-radius: 50%;
}
.tch-page .tch-video-icon::after {
  position: absolute;
  top: 50%;
  left: 55%;
  content: "";
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #fff;
  transform: translate(-50%, -50%);
}

/* ---------- 次の導線 ---------- */
.tch-page .tch-next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.tch-page .tch-next-main h2 {
  margin: 0;
  color: var(--exam-ink);
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 900;
  line-height: 1.5;
}
.tch-page .tch-next-main p:not(.exam-eyebrow) {
  margin: 18px 0 22px;
  font-size: 16px;
  line-height: 2;
}
.tch-page .tch-next-side h3 {
  margin: 0 0 12px;
  color: var(--exam-ink);
  font-size: 17px;
  font-weight: 900;
}
.tch-page .tch-purpose {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--exam-ink);
}
.tch-page .tch-purpose li {
  border-bottom: 1px solid rgba(19, 34, 59, .15);
}
.tch-page .tch-purpose a {
  padding: 16px 4px;
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 12px;
  color: var(--exam-text) !important;
  font-size: 15px;
}
.tch-page .tch-purpose a::after {
  content: "→";
  color: var(--page-accent);
  font-weight: 900;
}
.tch-page .tch-purpose a:hover {
  background: rgba(255, 255, 255, .7);
}
.tch-page .tch-purpose b {
  color: var(--exam-ink);
  font-size: 17px;
}
.tch-page .tch-record {
  margin: 20px 0 0;
}
.tch-page .tch-record a {
  color: var(--exam-ink) !important;
  font-size: 15px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 1000px) {
  .tch-page .tch-list { column-gap: 36px; }
  .tch-page .tch-item { grid-template-columns: 112px 1fr; gap: 18px; }
  .tch-page .tch-photo { width: 112px; height: 112px; }
}

@media (max-width: 885px) {
  .tch-page .tch-hero-inner { grid-template-columns: 1fr; gap: 36px; padding: 48px 0 60px; }
  .tch-page .tch-hero-photos { max-width: 480px; }
  .tch-page .tch-list { grid-template-columns: 1fr; }
  .tch-page .tch-next { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 560px) {
  .tch-page .tch-breadcrumb li { font-size: 14px; }
  .tch-page .tch-lead { font-size: 16px; }
  .tch-page .tch-hero-photos { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
  .tch-page .tch-hero-photos li:nth-child(3n+2) { transform: none; }
  .tch-page .tch-hero-photos img { border-width: 3px; border-radius: 10px; }
  .tch-page .tch-list-section { padding: 64px 0 72px; }
  .tch-page .tch-item { grid-template-columns: 88px 1fr; gap: 16px; padding: 26px 0; }
  .tch-page .tch-photo { width: 88px; height: 88px; }
  .tch-page .tch-name { font-size: 21px; }
  .tch-page .tch-meta > div { grid-template-columns: 1fr; gap: 0; }
  .tch-page .tch-item { row-gap: 0; }
  .tch-page .tch-body { display: contents; }
  .tch-page .tch-photo { grid-row: 1 / span 3; }
  .tch-page .tch-label,
  .tch-page .tch-name,
  .tch-page .tch-meta { grid-column: 2; }
  .tch-page .tch-comment,
  .tch-page .tch-more,
  .tch-page .tch-video { grid-column: 1 / -1; }
  .tch-page .tch-more { justify-self: start; }
  .tch-page .tch-more + .tch-video { margin-left: 0; }
  .tch-page .tch-video { display: flex; width: fit-content; }
  .tch-page .tch-purpose a { grid-template-columns: 1fr auto; }
  .tch-page .tch-purpose span { grid-column: 1; }
  .tch-page .tch-purpose a::after { grid-column: 2; grid-row: 1 / span 2; }
}
