/* ===== Category tabs ===== */
.section--tabs { position: relative; background: #fff; border-bottom: 1px solid var(--border-sand); padding: 26px 0; }
.interview-tabs-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: space-between; }
.interview-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.interview-tab { border: 1px solid var(--border-warm); padding: 8px 21px; font-size: 14px; border-radius: 2px; color: var(--text-body); }
.interview-tab--active { background: var(--ink-900); color: #fff; font-weight: 700; border-color: var(--ink-900); }
.interview-tabs-note { margin: 0; font-size: 14px; color: var(--text-meta); }

/* ===== Grids ===== */
.interview-featured-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.interview-archive-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ===== Speakers ===== */
.speakers-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--border-sand); border: 1px solid var(--border-sand); }
.speaker { background: #fff; padding: 18px 14px; text-align: center; }
.speaker__photo { aspect-ratio: 1; border-radius: 50%; margin-bottom: 12px; background: repeating-linear-gradient(45deg, var(--surface-card) 0 10px, var(--blue-050) 10px 20px); }
.speaker__role { display: inline-block; border: 1px solid var(--border-warm); font-size: 13px; padding: 1px 8px; margin-bottom: 6px; }
.speaker__org { margin: 0; font-size: 13px; color: var(--text-meta); line-height: 1.5; }
.speaker__org2 { margin: 0; font-size: 18px; color: var(--text-meta); line-height: 1.5; }
.speaker__name { margin: 3px 0 0; font-weight: 700; font-size: 14px; }
.speaker__name2 { margin: 3px 0 0; font-weight: 700; font-size: 20px; }

/* 既存のクラスを一切使わない独立した縦並びブロック */
.custom-dialogue {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 26px;
}
.qr-image02 {
  width: 150px;
  height: 150;
  flex-shrink: 0;
  border: 1px solid var(--border-sand);
  overflow: hidden;
}

.qr-image02 img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* アスペクト比を維持して枠内に収める */
  display: block;
}

.custom-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.custom-speaker {
  margin: 0;
  font-weight: 700;
  font-size: 16px;
  border-bottom: 2px solid var(--border-sand);
  padding-bottom: 4px;
}
/* 2つ目の段落がある場合の上の余白 */
.dialogue-row__text + .dialogue-row__text {
  margin-top: 12px;
}
.qr-image {
  width: 150px;
  height: 150px;
  flex-shrink: 0;
  border: 1px solid var(--border-sand);
  overflow: hidden;
}

/* ===== Article lead ===== */
.article-lead { margin: 0; border-left: 3px solid var(--ink-900); padding-left: 24px; font-family: var(--font-display); font-weight: 500; font-size: 17px; line-height: 2.1; color: #333; }

/* ===== Chapter TOC ===== */
.chapter-toc { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.chapter-toc__item { display: block; background: #fff; border: 1px solid var(--border-sand); padding: 28px 30px; text-decoration: none; color: inherit; }
.chapter-toc__no { font-family: var(--font-latin); font-size: 14px; letter-spacing: .18em; color: var(--text-meta); margin: 0 0 8px; }
.chapter-toc__title { font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.55; margin: 0 0 12px; }
.chapter-toc__desc { margin: 0 0 14px; color: var(--text-body); font-size: 16px; line-height: 1.85; }
.chapter-toc__action { margin: 0; font-size: 16px; font-weight: 700; color: var(--blue-600); }

/* ===== Chapter section ===== */
.chapter-section__no { font-family: var(--font-latin); font-size: 14px; letter-spacing: .24em; color: var(--text-meta); margin: 0 0 10px; }
.chapter-section__title { font-family: var(--font-display); font-weight: 900; font-size: clamp(24px, 2.8vw, 34px); margin: 0 0 32px; padding-bottom: 20px; border-bottom: 2px solid var(--ink-900); }
.chapter-section__sub { font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 1.6; margin: 0 0 26px; }

/* ===== Dialogue ===== */
.dialogue-list { display: flex; flex-direction: column; gap: 26px; margin-bottom: 26px; }
.dialogue-row { display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: start; }
.dialogue-row__speaker { margin: 0; font-weight: 700; font-size: 16px; text-align: right; border-right: 2px solid var(--border-sand); padding-right: 14px; }
.dialogue-row__text { margin: 0; color: #333; font-size: 16px; line-height: 2.1; }

.interview-tab {
  cursor: pointer;
}

#interview-featured-section.is-hidden,
#interview-archive-section.is-hidden {
  display: none;
}

.card-interview--compact .card-interview__lead {
  display: none;
}

@media (max-width: 767px) {
  .interview-tabs-row { flex-direction: column; align-items: flex-start; }
  .interview-featured-grid { grid-template-columns: 1fr; }
  .interview-archive-grid { grid-template-columns: repeat(2, 1fr); }
  .speakers-grid { grid-template-columns: repeat(3, 1fr); }
  .chapter-toc { grid-template-columns: 1fr; }
  .dialogue-row { grid-template-columns: 70px 1fr; gap: 12px; }
  .dialogue-row__speaker { font-size: 14px; }
}
