:root {
  /* タイトルが白抜きのため、白が読める深いグリーン */
  --color-accent: #258665;
  /* 写真枠の下地はアクセント色を白で薄めたトーン（非対応ブラウザ用に固定値も置く） */
  --jury-photo-bg: #cfe4dd;
  --jury-photo-bg: color-mix(in srgb, var(--color-accent) 22%, #fff);
}

.jogakkaitalk-main {
  position: relative;
  z-index: 1;
  color: var(--color-text);
}

/* ============================================================
   FIRST VIEW
   ============================================================ */
/* 他ページはタイトル画像を置くが、シンポジウムは画像がないため文字で組む */
.jogakkaitalk-hero {
  position: relative;
  display: flex;
  width: 100vw;
  height: 50svh;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-accent);
  perspective: 1000px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

/* 登壇者イラストは背景を透過させ、firstview いっぱいに敷く */
.jogakkaitalk-hero__photos {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jogakkaitalk-hero__photos li {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
}

.jogakkaitalk-hero__photos img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}

.jogakkaitalk-hero__title {
  position: relative;
  z-index: 1;
  display: flex;
  margin: 0;
  padding: 0 var(--section-pad-x);
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  color: #fff;
  text-align: center;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform;
}

.jogakkaitalk-hero__label {
  font-size: clamp(var(--font-size-base), 1.6vw, var(--font-size-md));
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.28em;
  text-indent: 0.28em; /* letter-spacing 分の右寄りを打ち消す */
}

.jogakkaitalk-hero__name {
  display: block;
  width: min(80vw, 1600px);
  max-height: 40svh; /* 学生コンペの firstview と同じ、hero(50svh) の 80% */
  height: auto;
  object-fit: contain;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.jogakkaitalk-section {
  position: relative;
  z-index: 2;
  max-width: var(--section-max-w);
  margin: 0 auto;
  padding: 5rem var(--section-pad-x);
}

.section-body p {
  margin: 0;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-relaxed);
  color: var(--color-text);
  text-align: justify;
}

.section-body p + p {
  margin-top: 1rem;
}

/* ============================================================
   THEME ── index.html の LIFE と同じ意匠
   ============================================================ */
.section-body .theme-title {
  font-size: clamp(2rem, 5.2vw, 4.8rem);
  font-weight: var(--font-weight-bold);
  line-height: 1;
  margin: 4rem 0 0;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: left;
}

/* ============================================================
   SPEAKER ── 学生コンペと同じ .jury-card / .jury-dialog を流用する
   ============================================================ */
/* 登壇者は 3 名のため、base.css の 2 列グリッドを 3 列に上書きする */
.speaker-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

/* 登壇者はイラストのため、丸の中に全身を収める（トリミングはしない） */
.jury-photo--illust img {
  object-fit: contain;
  object-position: center;
}

.speaker-note {
  margin: 2.5rem 0 0;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  color: var(--color-muted);
}

.speaker-history h4 {
  margin: 0;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
}

.speaker-history + .speaker-history {
  margin-top: 2rem;
}

.speaker-history dl {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 1.5rem;
  margin: 0.5rem 0 0;
}

.speaker-history dl > div {
  display: contents;
}

.speaker-history dt,
.speaker-history dd {
  margin: 0;
}

/* ============================================================
   DATE
   ============================================================ */
.detail-list {
  margin: 0;
}

.detail-list > div {
  display: grid;
  grid-template-columns: minmax(10rem, 22rem) minmax(0, 1fr);
  gap: 2rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(80, 78, 77, 0.25);
}

.detail-list dt,
.detail-list dd {
  font-size: var(--font-size-md);
  line-height: var(--line-height-relaxed);
}

.detail-list dt {
  font-weight: var(--font-weight-semibold);
}

.detail-list dd {
  min-width: 0;
  margin: 0;
  font-weight: var(--font-weight-medium);
}

.annotation {
  display: block;
  margin-top: 0.45rem;
  font-size: var(--font-size-base);
  color: var(--color-muted);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .speaker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .detail-list > div {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .speaker-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .jogakkaitalk-section {
    padding: 5rem var(--section-pad-x-mobile);
  }

  .jogakkaitalk-hero__title {
    padding: 0 var(--section-pad-x-mobile);
    gap: 1rem;
  }

  .section-body p {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-medium);
  }

  .section-body .theme-title {
    font-size: 2rem;
    margin: 1rem 0 0;
  }
}
