/* ==========================================================
   東京カメラ部2026写真展 トークショーレポート 共通スタイル
   配色・書体・罫線は ../../index.php に準拠
   ========================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:      #0d0d0d;
  --white:      #ffffff;
  --bg:         #ffffff;
  --fg:         #111111;
  --div:        #e2e2e2;
  --div-dark:   #b8b8b8;
  --gray-dark:  #1a1a1a;
  --gray-mid:   #444;
  --gray-light: #666;
  --accent:     #111111;

  --content-w:  960px;
  --gutter:     1.5rem;
  --nav-h:      60px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 1rem); }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: YakuHanJP, "Gen Interface JP", sans-serif;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

.r-inner {
  width: min(var(--content-w), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem 3rem;
  background: rgba(17,17,17,0.72);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transition: backdrop-filter 0.4s ease;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.site-nav.is-blur {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-logo {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: #9a9a9a; }

.hamburger {
  display: none;
  flex-shrink: 0;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 1px;
  background: #ffffff;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(17,17,17,0.97);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.nav-drawer.is-open { display: flex; }

.nav-drawer a {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-drawer a:hover { color: #999; }

/* ── 共通ラベル ── */
.section-label {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--div);
}

/* ── HERO ── */
.r-hero {
  padding: calc(var(--nav-h) + 4rem) 0 3rem;
}

.r-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.5rem;
  margin-bottom: 2rem;
}

.r-date {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.r-date small {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--gray-light);
  margin-left: 0.5em;
}

.r-stage {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--gray-light);
  padding-left: 1.5rem;
  border-left: 1px solid var(--div-dark);
}

.r-org {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.r-org img { height: 41px; width: auto; }

.r-org p {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gray-mid);
}

.r-title {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  line-break: strict;
  word-break: auto-phrase;
}
.r-phrase {
  display: inline-block;
}

.r-subtitle {
  display: block;
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--gray-mid);
  margin-top: 0.6rem;
  letter-spacing: 0.02em;
}

.r-keyvisual {
  margin-top: 2.5rem;
}

.r-keyvisual img { width: 100%; }

/* ── LEAD ── */
.r-lead {
  padding-bottom: 3.5rem;
}

.r-lead p {
  font-size: 1.05rem;
  line-height: 2;
  color: var(--fg);
  text-align: justify;
  line-break: strict;
}

.r-lead p + p { margin-top: 1em; }

/* ── SPEAKERS ── */
.r-speakers {
  padding-bottom: 4rem;
}

.speaker-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  border-top: 1px solid var(--div);
  border-bottom: 1px solid var(--div);
}

.speaker {
  padding: 1.6rem 1.4rem;
  border-right: 1px solid var(--div);
}

.speaker:last-child { border-right: none; }

.speaker-role {
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--gray-light);
  margin-bottom: 0.5rem;
}

.speaker-role span {
  display: inline-block;
}

.speaker-name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.speaker-name small {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--gray-light);
  margin-left: 0.3em;
}

/* ── BODY ── */
.r-body {
  padding-bottom: 3rem;
}

.chapter {
  padding: 4rem 0 1rem;
  border-top: 1px solid var(--div);
}

/* 登壇者リストの下罫線と重ならないように */
.chapter:first-child { border-top: none; padding-top: 0; }

.chapter-head {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  margin-bottom: 2.2rem;
}

.chapter-num {
  position: relative;
  top: 2px;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--div);
  flex-shrink: 0;
}

.chapter-title {
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  font-weight: 700;
  line-height: 1.5;
  line-break: strict;
  word-break: auto-phrase;
}

/* 発言 */
.talk {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 0 1.5rem;
  margin-bottom: 4rem;
}

.talk-name {
  font-size: clamp(0.9rem, 0.708rem + 0.821vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.9;
  color: var(--fg);
}

/* 運営側（東京カメラ部）の話者は一段淡く */
.talk[data-speaker="tsukazaki"] .talk-name,
.talk[data-speaker="tsuruyama"] .talk-name,
.talk[data-speaker="mc"] .talk-name { color: var(--gray-light); }

.talk-body p {
  font-size: clamp(0.85rem, 0.626rem + 0.957vw, 1.2rem);
  line-height: 1.9;
  color: #444;
  text-align: justify;
  line-break: strict;
}

.talk-body p + p { margin-top: 1em; }

/* 図版 */
.fig {
  margin: 2.5rem 0 4rem;
}

.fig img {
  width: 100%;
  background: #f4f4f4;
}

.fig--slide img { border: 1px solid var(--div); }

/* 縦位置の作品は幅を絞って中央に */
.fig--portrait img {
  width: auto;
  max-height: min(90vh, 900px);
  margin-inline: auto;
}

.fig figcaption {
  font-size: clamp(0.8rem, 0.736rem + 0.274vw, 0.9rem);
  line-height: 1.7;
  color: var(--gray-light);
  margin-top: 0.8rem;
  letter-spacing: 0.02em;
  text-align: center;
}

.fig--portrait figcaption { text-align: center; }

.fig-credit::before { content: '撮影：'; }
.fig-model::before { content: 'モデル：'; }

/* ── YOUTUBE ── */
.yt {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--black);
  overflow: hidden;
}

.yt-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yt-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: none;
  background: rgba(0,0,0,0.2);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
  font: inherit;
}

.yt-play:hover { background: rgba(0,0,0,0.35); }

.yt-play::before {
  content: '';
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.8);
  background:
    no-repeat center / 22px 26px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 26'%3E%3Cpath d='M0 0l22 13L0 26z' fill='%23fff'/%3E%3C/svg%3E")
    rgba(17,17,17,0.55);
  background-position: 27px center;
  transition: transform 0.2s;
}

.yt-play:hover::before { transform: scale(1.06); }

.yt-play span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.yt-link {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

.yt.is-ready .yt-link { display: none; }

.yt iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── RELATED（白黒反転ブロック） ── */
.r-related {
  background: var(--black);
  color: #fff;
  padding: 4rem 0;
}

.r-related .section-label { color: #a8a8a8; }
.r-related .section-label::after { background: #3d3d3d; }

.related-title {
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.related-text {
  font-size: 0.95rem;
  line-height: 1.9;
  color: #dcdcdc;
  text-align: justify;
  line-break: strict;
  margin-bottom: 1.8rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--fg);
  text-decoration: none;
  border: 1px solid var(--div-dark);
  padding: 0.8em 1.6em;
  transition: background 0.2s, border-color 0.2s;
}

.btn:hover { background: #f4f4f4; border-color: #888; }

.r-related .btn { color: #fff; border-color: #757575; }
.r-related .btn:hover { background: #242424; border-color: #b0b0b0; }

/* ── 一覧へ戻る ── */
.r-back {
  padding: 3.5rem 0;
}

.r-back .btn-row { justify-content: center; }

/* ── 目次（一覧） ── */
.r-index-head {
  padding: calc(var(--nav-h) + 4rem) 0 2.5rem;
}

.report-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--div);
  border-bottom: 1px solid var(--div);
  margin-bottom: 4rem;
}

.report-card {
  /* border-bottom: 1px solid var(--div); */
}

.report-card:nth-child(odd) { border-right: 1px solid var(--div); }

.report-card a {
  display: block;
  padding: 2rem 1.5rem;
  text-decoration: none;
  transition: background 0.2s;
}

.report-card a:hover { background: #f7f7f7; }

.report-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin-bottom: 1.2rem;
  background: #f4f4f4;
}

.report-card-date {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--gray-light);
  margin-bottom: 0.8rem;
}

.report-card-org {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gray-mid);
  margin-bottom: 0.5rem;
}

.report-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.report-card-speaker {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--gray-light);
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--div);
  padding: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #666;
}

.footer-logo-link { color: #666; text-decoration: none; transition: color 0.2s; }
.footer-logo-link:hover { color: #333; }

.footer-copy {
  font-size: clamp(0.6rem, 0.440rem + 0.684vw, 0.85rem);
  color: #666;
  letter-spacing: 0.05em;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .site-nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .r-hero { padding-top: calc(var(--nav-h) + 2.5rem); }
  .r-stage { padding-left: 0; border-left: none; width: 100%; }

  .speaker-list { grid-template-columns: repeat(2, 1fr); }
  .speaker:nth-child(2n) { border-right: none; }
  .speaker:nth-child(-n+2) { border-bottom: 1px solid var(--div); }

  .chapter { padding-top: 2.8rem; }
  .chapter-num { font-size: 2.2rem; }

  .talk { grid-template-columns: 1fr; margin-bottom: 1.4rem; }
  .talk-name { line-height: 1.6; margin-bottom: 0.2rem; }

  .fig { margin: 2rem 0 2.4rem; }

  .report-list { grid-template-columns: 1fr; }
  .report-card:nth-child(odd) { border-right: none; }
  .report-card a { padding: 1.8rem 0; }

  footer { flex-direction: column; gap: 1rem; align-items: flex-start; padding: 2rem 1.5rem; }
}

@media (max-width: 480px) {
  .nav-logo { font-size: 0.68rem; letter-spacing: 0.08em; }
  .r-lead p { font-size: 1rem; }
  .speaker { padding: 1.3rem 0.9rem; }
  .speaker-name { font-size: 1.05rem; }
  .yt-play::before { width: 60px; height: 60px; background-position: 21px center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
