/* ==========================================================
   スタッフ詳細ページ
   ========================================================== */

.p-staff-detail {
  position: relative;
  padding: 60rem 0 120rem;
  background-color: #fff;
  overflow: hidden;
}

/* SVGフィルター */
.p-staff-detail__svg-filters {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* テクスチャ */
.p-staff-detail__texture {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  max-width: none;
}

.p-staff-detail__texture--top {
  top: -500rem;
  right: -300rem;
  width: 1400rem;
}

/* パンくず */
.p-staff-detail__breadcrumb {
  position: relative;
  z-index: 1;
  padding: 0 80rem;
  margin-bottom: 60rem;
  font-size: var(--fs-13);
  letter-spacing: 0.15em;
  color: #333;
}

.p-staff-detail__breadcrumb a {
  transition: opacity 0.3s ease;
}

.p-staff-detail__breadcrumb a:hover {
  opacity: 0.6;
}

/* ----------------------------------------------------------
   セクション（各スタッフブロック）
   ---------------------------------------------------------- */
.p-staff-detail__section {
  position: relative;
  z-index: 1;
  margin-bottom: 80rem;
  padding: 60rem 0;
}

.p-staff-detail__section:nth-child(odd) {
  background-color: #f5f5f5;
}

/* 偶数セクション: テクスチャ用 overflow hidden */
.p-staff-detail__section--reverse {
  overflow: hidden;
}

.p-staff-detail__section-texture {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  max-width: none;
}

.p-staff-detail__section-texture--right {
  top: -527rem;
  right: -133rem;
  width: 1800rem;
  rotate: 45deg;
}

.p-staff-detail__section-texture--left {
  bottom: -500rem;
  left: -500rem;
  width: 1600rem;
  display: none;
}

.p-staff-detail__section:last-child {
  margin-bottom: 0;
}

/* ----------------------------------------------------------
   メインエリア（写真 + 情報 + 縦書き）
   ---------------------------------------------------------- */
.p-staff-detail__main {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 20rem;
  padding: 0 160rem;
  margin-bottom: 40rem;
}

/* 写真 */
.p-staff-detail__photo {
  flex-shrink: 0;
  width: 660rem;
  overflow: hidden;
}

.p-staff-detail__photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* 情報（バッジ + 名前 + 経歴） */
.p-staff-detail__info {
  flex-shrink: 0;
  width: 180rem;
  padding-top: 10rem;
}

/* バッジ */
.p-staff-detail__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  padding: 10rem;
  background-color: #fff;
  box-shadow: 4rem 8rem 20rem rgba(0, 0, 0, 0.15);
  width: 70rem;
  aspect-ratio: 1 / 1;
  margin-bottom: 120rem;
}

.p-staff-detail__badge-label {
  font-family: var(--font-bask-old);
  font-size: var(--fs-10);
  letter-spacing: 0.2em;
  color: #888;
  line-height: 1;
}

.p-staff-detail__badge-num {
  font-size: var(--fs-30);
  font-weight: 400;
  color: #333;
  line-height: 1;
}

.p-staff-detail__name-ja {
  font-size: var(--fs-32);
  font-weight: 700;
  color: #333;
  letter-spacing: 0.05em;
  margin-bottom: 6rem;
  white-space: nowrap;
}

.p-staff-detail__name-en {
  font-size: var(--fs-12);
  color: #888;
  letter-spacing: 0.12em;
  margin-bottom: 24rem;
}

.p-staff-detail__career {
  font-size: var(--fs-13);
  line-height: 2.4;
  color: #555;
}

/* 縦書きテキスト */
.p-staff-detail__text-area {
  flex: 1;
  writing-mode: vertical-rl;
  margin-right: 30rem;
}


.p-staff-detail__catch {
  font-size: var(--fs-24);
  font-weight: 300;
  line-height: 2;
  color: #333;
  letter-spacing: 0.15em;
}

/* ----------------------------------------------------------
   本文
   ---------------------------------------------------------- */
.p-staff-detail__body {
  position: relative;
  z-index: 1;
  padding: 0 160rem;
  font-size: var(--fs-14);
  line-height: 2.4;
  color: #333;
}

/* ==========================================================
   スタッフ詳細 SP — PCレイアウトのまま縮小表示
   viewport meta を width=1440 に変更することで対応
   （functions.php の zuuto_est_staff_detail_viewport フィルター）
   ========================================================== */
