/* ============================================================
   インタビュー詳細（Interview Detail）
   ============================================================ */

/* ── Q&A ── */
.itvd-qa-section {
  padding: 80px 0 100px;
  background: var(--gray-bg);
}

.itvd-qa-block {
  padding: 56px 0;
  border-bottom: 1px solid #d0d8ec;
}

.itvd-qa-block:first-child {
  padding-top: 0;
}

.itvd-qa-block:last-of-type {
  border-bottom: none;
}

.itvd-qa-title {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.7;
  margin-bottom: 16px;
}

.itvd-qa-text {
  font-size: 1rem;
  line-height: 2;
  color: var(--text);
  margin: 0;
}


.person-tag-dept {
  background: var(--navy);
  color: #fff;
}

.person-tag-course {
  background: var(--light-navy);
}

/* ── FULL WIDTH IMAGE ── */
.itvd-fullwidth-img {
  width: 100%;
  line-height: 0;
}

.itvd-fullwidth-img img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* ── 戻るボタン ── */
.itvd-back-wrap {
  display: flex;
  justify-content: center;
  padding-top: 64px;
}

/* ── PROFILE ── */
.itvd-profile-section {
  background: #fff;
}

/* ① タイトルブロック */
.itvd-profile-header {
  position: relative;
  padding: 106px 0 50px;
  overflow: hidden;
  font-family: "Shippori Mincho", serif;
}

.itvd-profile-bg-text {
  position: absolute;
  bottom: 27px;
  left: -0.02em;
  font-family: 'DM sans', sans-serif;
  font-size: clamp(100px, 16vw, 220px);
  font-weight: 700;
  color: var(--navy);
  opacity: 0.05;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.itvd-profile-title {
  position: relative;
  z-index: 1;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

/* ② テキスト＋写真ブロック（斜め背景） */
.itvd-profile-body {
  position: relative;
  padding: 0;
  overflow: visible;
}

/* 斜め背景 */
.itvd-profile-body-bg {
  position: absolute;
  inset: 0;
  background: var(--navy);
  transform: skewY(-2deg);
  /*transform-origin: top left;*/
  z-index: 0;
  height: 100%;
}

/* テキストエリア白背景 */
.itvd-profile-text-box {
  background: #fff;
  padding: 40px;
  height: 100%;
  transform: skewY(-2deg);
  position: relative;
  bottom: -12px;
  position: relative;
}

.itvd-profile-text-box::before,
.itvd-profile-text-box::after {
  content: "";
  background: #fff;
  width: 100%;
  height: 6px;
  position: absolute;
}

.itvd-profile-text-box::before {
  top: -5px;
  left: 0;
}

.itvd-profile-text-box::after {
  bottom: -5px;
  left: 0;
}

.itvd-profile-text-box-inner {
  transform: skewY(2deg);
}

.itvd-profile-text {
  font-size: 15px;
  line-height: 2;
  color: var(--text);
  margin-bottom: 28px;
}

.itvd-profile-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.itvd-profile-tags {
  display: flex;
  gap: 8px;
}

.itvd-profile-name-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.itvd-profile-entry {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}

.itvd-profile-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin: 0;
}

/* 写真 */
.itvd-profile-photo-wrap {
  position: relative;
  top: -2rem;
  left: -2rem;
}

.itvd-profile-photo {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  display: block;
}

/* ── PAGE TOP 左側ぼかし（グラデーション層を画像の上に重ねる） ── */
.inner-page-top {
  background-image: var(--page-top-bg);
}

/* ── PAGE TOP内のプロフィールメタ（左寄せ） ── */
.inner-page-top .itvd-profile-meta {
  align-items: flex-start;
}

/* ── MEMBER ── */
.itvd-member-section {
  background: #fff;
  overflow: hidden;
}

.itvd-member-back {
  display: flex;
  justify-content: center;
  padding-top: 56px;
}

.itvd-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border: 2px solid var(--navy);
  padding: 12px 28px;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}

.itvd-back-btn:hover {
  background: var(--navy);
  color: #fff;
}

/* ── aboutas 背景なし ── */
.aboutas-section--plain {
  background-image: none;
  background-color: #f5f9ff;
}

/* ── RESPONSIVE ── */
@media(max-width:991px) {

  /* ── PAGE TOP 左側ぼかし（グラデーション層を画像の上に重ねる） ── */
  .inner-page-top::before {
    display: none;
  }

  .crs-page-subtitle {
    text-shadow: 2px 2px 2px #fff;
    background: linear-gradient(to bottom, rgb(255 255 255/0) 0%, rgb(255 255 255/.3) 50%, rgb(255 255 255/0) 100%);
  }
}

@media (max-width: 767px) {

  /* ── PAGE TOP 左側ぼかし（グラデーション層を画像の上に重ねる） ── */
  .inner-page-top {
    background-position: top left;
  }

  .itvd-profile-header {
    padding: 40px 0 24px;
  }

  .itvd-profile-body {
    padding: 56px 0 72px;
  }

  .itvd-profile-photo-wrap {
    position: relative;
    top: 0;
    left: 0;
  }

  .itvd-profile-text-box {
    padding: 24px;
  }

  .itvd-qa-section {
    padding: 48px 0 64px;
  }

  .itvd-qa-block {
    padding: 40px 0;
  }

  .itvd-member-section {
    padding: 64px 0;
  }

  .itvd-member-back {
    padding-top: 40px;
  }
}