/* ========================================
   インタビュー詳細ページ専用CSS
======================================== */

/* メインエリア全体：ヘッダー分オフセット */
.vd-main {
  padding-top: clamp(3.5rem, 5.15vw, 6.2rem);
  position: relative;
}

/*
  白縦帯：コンテンツ幅でページ全体を縦に貫く
  vd-main内の擬似要素で白帯を作り
  トップ写真の後ろレイヤー（z-index:-1）に配置
*/
.vd-main::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--content-max, 1400px), 100%);
  background: #FFFFFF;
  z-index: 0;
  pointer-events: none;
}

/* ========================================
   HEROエリア：トップ写真＋プロフィール
======================================== */
.vd-hero {
  position: relative;
  width: 100%;
  line-height: 0;
  z-index: 1; /* 白帯より前に */
}

/* トップ写真：1920×975基準・全幅 */
.vd-hero > img {
  width: 100%;
  aspect-ratio: 1920 / 975;
  object-fit: cover;
  object-position: center top;
  display: block;
  position: relative;
  z-index: 1;
}

/* プロフィール：写真の下・右寄せ・白帯の上 */
.vd-hero__profile {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1rem, 2vw, 2rem);
  padding-inline: 5.73vw;
  padding-block: clamp(1rem, 2vw, 2rem);
  background: transparent;
  position: relative;
  z-index: 1;
}

/* ｜Hさん */
.vd-hero__name-wrap {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1vw, 1rem);
}

.vd-hero__bar {
  font-size: clamp(2rem, 3.33vw, 4rem);
  font-weight: 700;
  color: #FF644E;
  line-height: 1;
}

.vd-hero__name {
  font-size: clamp(2rem, 3.33vw, 4rem);
  font-weight: 700;
  color: #FF644E;
  line-height: 1;
}

/* 入社年・職種 */
.vd-hero__info p {
  font-size: clamp(0.9rem, 1.2vw, 1.4rem);
  font-weight: 700;
  color: #333333;
  line-height: 1.6;
  text-align: left;
}

/* ========================================
   コンテンツエリア（白帯の上）
======================================== */
.vd-content {
  position: relative;
  z-index: 1;
  max-width: var(--content-max, 1400px);
  margin-inline: auto;
  padding-inline: 5.73vw;
  padding-block: clamp(3rem, 6vw, 7rem);
}

/* ========================================
   インタビュー：H2・写真・Pの4セット
======================================== */
.vd-interview {
  display: flex;
  flex-direction: column;
  gap: clamp(4rem, 8vw, 8rem);
}

.vd-interview__set {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
  align-items: flex-start;
  width: 100%;
}

/* H2：左端揃え */
.vd-interview__h2 {
  font-size: clamp(1rem, 1.25vw, 1.5rem);
  font-weight: 700;
  color: #333333;
  line-height: 1.5;
  text-align: left;
  width: 100%;
  margin: 0;
  padding: 0;
}

/*
  写真：padding分を打ち消して全幅に
  padding-inline: 5.73vw を両側ネガティブマージンで相殺
*/
.vd-interview__img {
  margin-inline: -5.73vw;
  width: calc(100% + 5.73vw * 2);
}

.vd-interview__img img {
  width: 100%;
  height: auto;
  display: block;
}

/* P：左端揃え */
.vd-interview__p {
  font-size: clamp(0.875rem, 0.94vw, 1.125rem);
  font-weight: 500;
  color: #333333;
  line-height: 1.9;
  text-align: left;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* ========================================
   レスポンシブ
======================================== */
@media (max-width: 768px) {
  .vd-main::before {
    width: 100%;
  }

  .vd-content {
    padding-inline: 5%;
    padding-block: clamp(2rem, 8vw, 4rem);
  }

  /* SP時は5%のpaddingを打ち消す */
  .vd-interview__img {
    margin-inline: -5%;
    width: calc(100% + 10%);
  }

  .vd-hero > img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: left center;
  }

  .vd-hero__profile {
    padding-inline: 5%;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
  }

  .vd-hero__name,
  .vd-hero__bar {
    font-size: clamp(1.5rem, 7vw, 2.5rem);
  }

  .vd-interview__h2 {
    font-size: clamp(0.95rem, 4vw, 1.3rem);
  }

  .vd-interview__p {
    font-size: clamp(0.85rem, 3.5vw, 1.1rem);
  }
}
