/**
 * Task17：INTERVIEW専用CSS。
 * 読み込み対象：INTERVIEW INDEX（archive-interview.php）／INTERVIEW詳細（single-interview.php）のみ。
 * すべて .iv- 接頭辞のクラスにスコープし、共通ヘッダー・フッター・他ページには影響させない。
 * 色・書体は assets/css/style.css の共通トークン（--navy 等）を使う。
 */
.iv-main {
  --iv-text: #2b3442;
  --iv-sub: #5d6878;
  --iv-line: #d8dde3;
  --iv-soft: #f4f6f8;
  --iv-wide: 1180px;
  --iv-col: 800px;
  padding-top: var(--header-height);
  color: var(--iv-text);
  background: #fff;
}
.iv-main img { max-width: 100%; height: auto; }
.iv-main a { color: inherit; }

/* ---------- 共通ラベル・リンク ---------- */
.iv-label {
  margin: 0 0 28px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .2em;
}
.iv-label span { display: block; margin-top: 8px; color: var(--iv-sub); font-size: 11px; letter-spacing: .08em; }
.iv-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--navy);
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-decoration: none;
  transition: opacity .2s ease;
}
.iv-link span { font-size: 15px; font-weight: 300; line-height: .7; }
.iv-link:hover { opacity: .62; }

/* ---------- INDEX ---------- */
.iv-index__fv {
  width: min(var(--iv-wide), calc(100% - 80px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--iv-line);
}
.iv-index__title {
  margin: 0 0 22px;
  color: var(--navy);
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: .04em;
}
.iv-index__lead { margin: 0; font-size: 15px; line-height: 2; }

.iv-featured {
  width: min(var(--iv-wide), calc(100% - 80px));
  margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) 0 clamp(80px, 10vw, 140px);
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  grid-template-areas: "eyebrow eyebrow" "banner text";
  gap: 28px clamp(32px, 4vw, 64px);
  align-items: end;
}
.iv-featured__eyebrow { grid-area: eyebrow; margin: 0; color: var(--navy); font-size: 11px; font-weight: 600; letter-spacing: .2em; }
.iv-featured__banner { grid-area: banner; display: block; background: var(--iv-soft); }
.iv-featured__banner img { display: block; width: 100%; }
.iv-featured__text { grid-area: text; }
.iv-featured__meta { display: flex; gap: 16px; margin: 0 0 18px; color: var(--iv-sub); font-size: 12px; letter-spacing: .1em; }
.iv-featured__meta span { color: var(--navy); font-weight: 600; }
.iv-featured__names { margin: 0 0 12px; color: var(--navy); font-size: 14px; font-weight: 500; letter-spacing: .06em; }
.iv-featured__title { margin: 0 0 18px; color: var(--navy); font-size: clamp(22px, 2.4vw, 32px); font-weight: 600; line-height: 1.5; letter-spacing: .04em; }
.iv-featured__title a { text-decoration: none; }
.iv-featured__title a:hover { opacity: .62; }
.iv-featured__subtitle { margin: 0 0 32px; font-size: 14px; line-height: 1.9; }

.iv-archive { width: min(var(--iv-wide), calc(100% - 80px)); margin: 0 auto; padding: 0 0 clamp(80px, 10vw, 140px); border-top: 1px solid var(--iv-line); padding-top: 56px; }
.iv-archive__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 48px; }
.iv-archive__item, .iv-others__item { display: grid; gap: 8px; text-decoration: none; color: var(--navy); }
.iv-archive__item img, .iv-others__item img { display: block; width: 100%; margin-bottom: 10px; background: var(--iv-soft); }
.iv-archive__meta, .iv-others__meta { color: var(--iv-sub); font-size: 12px; letter-spacing: .1em; }
.iv-archive__names, .iv-others__names { font-size: 13px; }
.iv-archive__title, .iv-others__title { font-size: 18px; font-weight: 600; line-height: 1.5; }
.iv-archive__item:hover, .iv-others__item:hover { opacity: .72; }

/* ---------- 詳細：HERO ---------- */
.iv-hero {
  width: min(var(--iv-wide), calc(100% - 80px));
  margin: 0 auto;
  padding: clamp(40px, 5vw, 72px) 0 clamp(56px, 7vw, 96px);
}
.iv-hero__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 28px; margin-bottom: 26px; color: var(--navy); }
.iv-hero__meta p { margin: 0; }
.iv-hero__series { font-size: 13px; font-weight: 600; letter-spacing: .16em; }
.iv-hero__series a { text-decoration: none; }
.iv-hero__series a:hover { opacity: .62; }
.iv-hero__label { font-size: 11px; font-weight: 600; letter-spacing: .2em; }
.iv-hero__date { color: var(--iv-sub); font-size: 12px; letter-spacing: .1em; }
.iv-hero__banner { background: var(--iv-soft); }
.iv-hero__banner img { display: block; width: 100%; }
.iv-hero__text { max-width: var(--iv-col); margin: clamp(40px, 5vw, 64px) auto 0; }
.iv-hero__title { margin: 0 0 22px; color: var(--navy); font-size: clamp(30px, 4vw, 52px); font-weight: 600; line-height: 1.4; letter-spacing: .04em; }
.iv-hero__names { margin: 0 0 14px; color: var(--navy); font-size: 16px; font-weight: 500; letter-spacing: .08em; }
.iv-hero__subtitle { margin: 0; font-size: 15px; line-height: 1.9; }

/* ---------- 詳細：OUR GUEST・INTRO・CONTENTS ---------- */
.iv-guests, .iv-intro, .iv-contents, .iv-refs, .iv-profile {
  width: min(var(--iv-col), calc(100% - 80px));
  margin: 0 auto;
}
.iv-guests { padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--iv-line); }
.iv-guests__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 24px; }
.iv-guest { text-align: center; }
.iv-guest__icon { display: block; width: 112px; height: 112px; margin: 0 auto 18px; border-radius: 50%; }
.iv-guest p { margin: 0; }
.iv-guest__name { color: var(--navy); font-size: 18px; font-weight: 600; letter-spacing: .1em; }
.iv-guest__roman { margin-top: 6px !important; color: var(--iv-sub); font-size: 10px; letter-spacing: .18em; }
.iv-guest__role { margin-top: 12px !important; font-size: 12px; line-height: 1.7; word-break: keep-all; }
.iv-guests__x { align-self: center; margin-top: -40px; color: #a3adba; font-size: 20px; font-weight: 300; }

.iv-intro { padding: clamp(32px, 4vw, 56px) 0; border-top: 1px solid var(--iv-line); }
.iv-intro__lead { margin: 0 0 22px; color: var(--iv-text); font-size: 16px; line-height: 2.1; }
.iv-intro__record { margin: 0 0 8px; color: var(--iv-sub); font-size: 12px; letter-spacing: .06em; }
.iv-intro__guide { margin: 0; color: var(--iv-sub); font-size: 12px; line-height: 1.8; }

.iv-contents { padding: clamp(32px, 4vw, 56px) 0 clamp(48px, 6vw, 80px); border-top: 1px solid var(--iv-line); }
.iv-contents__title { margin-bottom: 10px; }
.iv-contents__lead { margin: 0 0 22px; color: var(--iv-sub); font-size: 12px; line-height: 1.8; }
.iv-contents__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--iv-line); }
.iv-contents__list li { border-bottom: 1px solid var(--iv-line); }
.iv-contents__list a { display: grid; grid-template-columns: 44px 1fr auto; gap: 16px; align-items: baseline; padding: 14px 0; color: var(--navy); text-decoration: none; }
.iv-contents__list a:hover { opacity: .62; }
.iv-contents__num { font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.iv-contents__name { font-size: 14px; font-weight: 500; line-height: 1.6; }
.iv-contents__period { color: var(--iv-sub); font-size: 11px; text-align: right; }
.iv-contents__sp { display: none; }
.iv-contents__sp summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-top: 1px solid var(--iv-line); border-bottom: 1px solid var(--iv-line); color: var(--navy); font-size: 13px; font-weight: 600; letter-spacing: .08em; cursor: pointer; list-style: none; }
.iv-contents__sp summary::-webkit-details-marker { display: none; }
.iv-contents__sp summary span { font-size: 10px; transition: transform .2s ease; }
.iv-contents__sp[open] summary span { transform: rotate(180deg); }
.iv-contents__sp .iv-contents__list { border-top: 0; }

/* ---------- 詳細：本文 ---------- */
.iv-body {
  position: relative;
  width: min(var(--iv-col), calc(100% - 80px));
  margin: 0 auto;
}
.iv-side { display: none; }
.iv-column { font-size: 16px; line-height: 2.05; }
.iv-column p { margin: 0 0 1.3em; }

.iv-chapter { padding-top: clamp(64px, 8vw, 112px); scroll-margin-top: calc(var(--header-height) + 16px); }
.iv-chapter__head { margin-bottom: clamp(36px, 4vw, 56px); padding: 26px 0 28px; border-top: 1px solid var(--navy); border-bottom: 1px solid var(--iv-line); }
.iv-chapter__num { margin: 0 0 14px !important; color: var(--navy); font-size: 13px; font-weight: 600; letter-spacing: .16em; }
.iv-chapter__title { margin: 0 0 12px; color: var(--navy); font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; line-height: 1.5; letter-spacing: .04em; }
.iv-chapter__period { margin: 0 !important; color: var(--iv-sub); font-size: 13px; line-height: 1.6; letter-spacing: .06em; }

.iv-subhead { margin: clamp(48px, 5vw, 64px) 0 24px; color: var(--navy); font-size: 18px; font-weight: 600; line-height: 1.6; letter-spacing: .04em; }
.iv-chapter__head + .iv-subhead { margin-top: 0; }

.iv-turn { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 0 12px; margin: 0 0 .4em; }
.iv-turn__speaker { margin: 0 !important; color: var(--navy); font-size: 14px; font-weight: 600; line-height: 2.35; letter-spacing: .06em; }
.iv-turn__body { min-width: 0; color: var(--iv-text); }
.iv-text { color: var(--iv-text); }
.iv-annotation { margin: -.4em 0 1.5em !important; color: var(--iv-sub); font-size: 12px; line-height: 1.8; }

/* 補足（発言とは視覚的に分ける） */
.iv-note { margin: 40px 0 48px; padding: 22px 0 6px; font-size: 14px; line-height: 1.95; }
.iv-note p { margin: 0 0 1em; }
.iv-note__eyebrow { margin: 0 0 8px !important; color: var(--navy); font-size: 10px; font-weight: 600; letter-spacing: .2em; }
.iv-note__title { margin: 0 0 1em; color: var(--navy); font-size: 15px; font-weight: 600; line-height: 1.6; }
.iv-note__title span { display: inline-block; margin-right: .8em; padding-right: .8em; border-right: 1px solid var(--iv-line); color: var(--iv-sub); font-size: 12px; font-weight: 500; }
.iv-note__source { color: var(--iv-sub); font-size: 11px; line-height: 1.7; }
.iv-note--archive { border-top: 1px solid var(--iv-line); background: #fff; }
.iv-note--editor { padding: 22px 26px 8px; background: var(--iv-soft); }
.iv-note--case { padding: 18px 0 6px 24px; border-left: 2px solid var(--navy); }
.iv-note--movie { border-top: 1px solid var(--iv-line); }

.iv-movie { display: block; max-width: 520px; margin: 6px 0 20px; text-decoration: none; }
.iv-movie__thumb { position: relative; display: block; background: #000; }
.iv-movie__thumb img { display: block; width: 100%; }
.iv-movie__play { position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; border: 1px solid rgba(255,255,255,.9); border-radius: 50%; background: rgba(0,26,58,.55); transform: translate(-50%, -50%); }
.iv-movie__play::after { content: ""; position: absolute; left: 50%; top: 50%; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; transform: translate(-35%, -50%); }
.iv-movie__label { display: inline-block; margin-top: 10px; color: var(--navy); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.iv-movie:hover { opacity: .8; }

/* 画像 */
.iv-figs { display: grid; gap: 32px 28px; margin: 44px 0 52px; }
.iv-figs--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.iv-figs--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.iv-figs--1 { grid-template-columns: minmax(0, 1fr); }
.iv-fig { margin: 0; }
.iv-fig__img { display: flex; align-items: center; justify-content: center; background: var(--iv-soft); }
.iv-fig--photo .iv-fig__img img { display: block; width: 100%; }
.iv-fig--item .iv-fig__img { aspect-ratio: 1 / 1; padding: 20px; }
.iv-fig--item .iv-fig__img img { display: block; width: auto; max-height: 100%; object-fit: contain; }
.iv-fig--logo .iv-fig__img { padding: 36px 40px; background: #fff; border: 1px solid var(--iv-line); }
.iv-fig--logo .iv-fig__img img { display: block; width: 100%; max-width: 480px; }
.iv-fig figcaption, .iv-person figcaption { margin-top: 12px; color: var(--iv-sub); font-size: 12px; line-height: 1.8; }

.iv-person { margin: 44px 0 52px; }
.iv-person__fig { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: start; margin: 0; }
.iv-person__img { aspect-ratio: 4 / 5; background: var(--iv-soft); overflow: hidden; }
.iv-person__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.iv-person figcaption { margin-top: 0; }
.iv-person__name { display: block; margin-bottom: 8px; color: var(--navy); font-size: 15px; font-weight: 600; letter-spacing: .06em; }

/* ---------- 詳細：結び ---------- */
.iv-closing { width: min(var(--iv-wide), calc(100% - 80px)); margin: clamp(80px, 10vw, 140px) auto 0; }
.iv-closing-photo .iv-fig__img { background: none; }
.iv-closing-photo .iv-fig__img img { display: block; width: 100%; }
.iv-closing-photo figcaption { max-width: var(--iv-col); margin: 14px auto 0; }

.iv-profile { padding: clamp(64px, 8vw, 112px) 0 0; }
.iv-profile__row { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 36px; align-items: start; padding-top: 28px; border-top: 1px solid var(--navy); }
.iv-profile__photo img { display: block; width: 100%; }
.iv-profile__text p { margin: 0 0 1em; font-size: 15px; line-height: 1.95; }
.iv-profile__name { color: var(--navy); font-size: 20px !important; font-weight: 600; letter-spacing: .08em; }
.iv-profile__name span { margin-left: .6em; color: var(--iv-sub); font-size: 12px; font-weight: 400; letter-spacing: .04em; }
.iv-profile__role { margin-bottom: 1.6em !important; color: var(--navy); font-size: 14px !important; line-height: 1.8 !important; }
.iv-profile__sns { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.iv-profile__sns a { color: var(--navy); overflow-wrap: anywhere; }

.iv-refs { padding: clamp(64px, 8vw, 112px) 0 0; }
.iv-refs__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--iv-line); }
.iv-refs__list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 12px; padding: 14px 0; border-bottom: 1px solid var(--iv-line); font-size: 14px; line-height: 1.75; }
.iv-refs__num { grid-row: span 2; color: var(--navy); font-weight: 600; }
.iv-refs__label { color: var(--iv-text); }
.iv-refs__list a { color: var(--iv-sub); font-size: 13px; overflow-wrap: anywhere; }
.iv-refs__credit { margin: 18px 0 0; color: var(--iv-sub); font-size: 13px; line-height: 1.8; }

.iv-others {
  width: min(var(--iv-col), calc(100% - 80px));
  margin: clamp(80px, 10vw, 140px) auto 0;
  padding: clamp(48px, 6vw, 72px) 0 clamp(80px, 10vw, 140px);
  border-top: 1px solid var(--iv-line);
}
.iv-others__lead { margin: 0 0 28px; color: var(--navy); font-size: 15px; line-height: 2; }
.iv-others__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; margin-bottom: 40px; }

/* ---------- 章インデックス（広い画面のみ・控えめ） ---------- */
@media (min-width: 1280px) {
  .iv-side { display: block; position: absolute; top: 0; bottom: 0; left: -150px; width: 72px; }
  .iv-side ol { position: sticky; top: calc(var(--header-height) + 40px); margin: 120px 0 0; padding: 0; list-style: none; border-left: 1px solid var(--iv-line); }
  .iv-side a { display: block; padding: 5px 0 5px 14px; margin-left: -1px; border-left: 1px solid transparent; color: #9aa4b1; font-size: 11px; letter-spacing: .1em; text-decoration: none; }
  .iv-side a:hover { color: var(--navy); }
  .iv-side a.is-current { border-left-color: var(--navy); color: var(--navy); font-weight: 600; }
}

/* ---------- SP ---------- */
@media (max-width: 860px) {
  .iv-index__fv, .iv-featured, .iv-archive, .iv-hero, .iv-guests, .iv-intro, .iv-contents,
  .iv-body, .iv-closing, .iv-profile, .iv-refs, .iv-others { width: calc(100% - 48px); }
  .iv-index__lead { font-size: 14px; }
  .iv-featured { grid-template-columns: minmax(0, 1fr); grid-template-areas: "eyebrow" "banner" "text"; align-items: start; padding: 40px 0 56px; }
  .iv-index__fv { padding: 48px 0 36px; }
  .iv-archive__grid, .iv-others__grid { grid-template-columns: minmax(0, 1fr); }
  .iv-hero { padding-top: 28px; }
  .iv-hero__banner { margin: 0 -24px; }
  .iv-hero__subtitle { font-size: 14px; }
  .iv-guests__row { grid-template-columns: 1fr auto 1fr; gap: 12px; }
  .iv-guest__icon { width: 88px; height: 88px; }
  .iv-guest__name { font-size: 16px; }
  .iv-guest__role { font-size: 11px; }
  .iv-guests__x { margin-top: -60px; font-size: 16px; }
  .iv-intro__lead { font-size: 15px; line-height: 2; }
  .iv-contents__pc { display: none; }
  .iv-contents__sp { display: block; }
  .iv-contents__list a { grid-template-columns: 34px 1fr; gap: 4px 10px; }
  .iv-contents__period { grid-column: 2; text-align: left; }
  .iv-column { font-size: 15px; line-height: 2; }
  .iv-turn { grid-template-columns: minmax(0, 1fr); }
  .iv-turn__speaker { line-height: 1.6; margin-bottom: 4px !important; }
  .iv-subhead { font-size: 17px; }
  .iv-note--editor { padding: 20px 18px 6px; }
  .iv-note--case { padding-left: 16px; }
  .iv-figs--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .iv-figs { gap: 24px 16px; }
  .iv-fig--item .iv-fig__img { padding: 14px; }
  .iv-person__fig { grid-template-columns: 120px minmax(0, 1fr); gap: 18px; }
  .iv-profile__row { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .iv-profile__photo { max-width: 200px; }
  .iv-refs__list li { grid-template-columns: 36px minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .iv-figs--2.iv-figs--logo, .iv-figs--1 { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .iv-contents__sp summary span { transition: none; }
}
@media (max-width: 480px) {
  .iv-index__title { font-size: 24px; }
  .iv-hero__subtitle br, .iv-featured__subtitle br { display: none; }
}
