/* ==========================================================================
   Goldratt Japan Recruit — People Page (Editorial Magazine Layout)
   Approved design: F4 Editorial Layout (見開き編集レイアウト)
   Principles:
   - 脱均一テンプレート：4人を同じ配置・高さで並べず、人物ごとに構図・スケールを変化
   - 意図的な左右のズレ（Stagger）：右カラムの開始位置をずらし、Grid感を感じさせない
   - 見開き（Spread）ペア設計：02+03、04+05を1つの見開きとして相互の余白・Brushを対話させる
   - Cutoutの大胆な配置：スケール・トリミング・左右への振りを意図的に操作
   - Typography強弱：発言 → 名前・入社年 → 前職／現在 → ボタンの明確な主従
   ========================================================================== */

.page-people {
  --navy: #0B1F33;
  --navy-deep: #061522;
  --gold: #D8B46A;
  --ink: #0B1F33;
  --body: #222222;
  --muted: #5B6879;
  --line: #D6DCE4;
  --paper: #F4F6F8;
  --wrap-wide: 1320px;
  --wrap-std: 1180px;
  --pad-std: 40px;
  --font-en: "Noto Sans JP", sans-serif; /* 2026-11-03：Cormorant廃止 */
  --white: var(--color-white);
}

.page-people {
  background: #FFFFFF;
  color: var(--body);
}

/* ==========================================================================
   Page Head (大見出し → セクションラベル → 導入文)
   ========================================================================== */
.people-head {
  position: relative;
  padding: calc(76px + clamp(48px, 6vw, 84px)) 0 clamp(48px, 5vw, 72px);
  background: #FFFFFF;
  border-bottom: 1px solid var(--line);
  overflow: clip;
}

.people-head__splash {
  position: absolute;
  top: -40px;
  right: -80px;
  width: 600px;
  max-width: none;
  transform: rotate(-6deg);
  opacity: 0.95;
  pointer-events: none;
  z-index: 0;
}

.people-head__inner {
  position: relative;
  z-index: 1;
}

.people-head__title {
  margin: 0 0 32px;
  font-size: clamp(34px, 3.6vw, 52px);
  font-weight: var(--heading-weight);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--navy-deep);
}

.people-head__lead {
  max-width: 820px;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 2.15;
  color: var(--body);
}
.people-head__lead .ln {
  display: block;
}

.people-head__note {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 46px;
  margin-top: 24px;
  padding: 10px 16px;
  border: 1px solid var(--navy);
  border-radius: 6px;
  color: var(--navy);
  background: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}
.people-head__note:hover { background: var(--paper); }
.people-head__note:focus-visible,
.people-note__card:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }

/* ==========================================================================
   Editorial Main Stream
   ========================================================================== */
.people-stream {
  padding: 80px 0 64px;
  position: relative;
  z-index: 1;
  overflow: clip;
}

.people-container {
  display: flex;
  flex-direction: column;
}

/* --------------------------------------------------------------------------
   Opening Broadsheet Feature: 日戸 嵩之 (The Anchor Story)
   -------------------------------------------------------------------------- */
.people-lead-feature {
  position: relative;
  padding-bottom: 100px;
  border-bottom: 1px solid var(--line);
}

.people-lead-feature__grid {
  display: grid;
  grid-template-columns: 1.1fr 1.15fr;
  column-gap: 72px;
  align-items: center;
  position: relative;
}

.people-lead-feature__visual {
  position: relative;
  height: 540px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  /* Keep the brush behind the portrait and clear of the adjacent quotation. */
  clip-path: inset(-40px 0 0 -40vw);
}

.people-lead-feature__brush {
  position: absolute;
  width: 126%;
  max-width: none;
  top: 12%;
  left: -26%;
  opacity: 0.95;
  z-index: 1;
  pointer-events: none;
}

.people-lead-feature__cut {
  position: relative;
  z-index: 2;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: none;
}

.people-lead-feature__content {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  z-index: 3;
}

/* --------------------------------------------------------------------------
   Editorial Spreads (見開きペア構成)
   -------------------------------------------------------------------------- */
.people-spreads {
  display: flex;
  flex-direction: column;
  gap: 120px;
  padding-top: 100px;
}

.people-spread {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 80px;
  align-items: start;
  position: relative;
}

/* Individual Story Columns (The 4 colleagues) */
.people-story {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
}

/* Stagger & Asymmetry */
.people-story--maruyama {
  padding-top: 0;
}
.people-story--tsuzuki {
  padding-top: 120px;
}
.people-story--nishimizu {
  padding-top: 0;
}
.people-story--yamanoi {
  padding-top: 96px;
}

/* Story Visual with Brush */
.people-story__visual {
  position: relative;
  height: 440px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  /* Preserve a small bleed without painting over this or the neighbouring story. */
  clip-path: inset(-40px -32px 0);
}

.people-story__brush {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  opacity: 0.92;
  max-height: 70%;
  object-fit: contain;
}

.people-story--maruyama .people-story__brush {
  width: 145%;
  max-width: none;
  top: 16%;
  left: -20%;
}
.people-story--tsuzuki .people-story__brush {
  width: 135%;
  max-width: none;
  top: 14%;
  right: -15%;
}
.people-story--nishimizu .people-story__brush {
  width: 140%;
  max-width: none;
  top: 12%;
  left: -22%;
}
.people-story--yamanoi .people-story__brush {
  width: 150%;
  max-width: none;
  top: 15%;
  right: -24%;
}

.people-story__cut {
  position: relative;
  z-index: 2;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: none;
}

.people-story__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 3;
}

/* ==========================================================================
   Micro-Components: 各メンバー共通の順序（発言 → 名前・入社年 → 前職／現在 → ボタン）
   ========================================================================== */

/* Only the photo, quote and name become links. No card-wide overlay or nesting. */
.people-visual-link {
  position: relative; z-index: 2; display: flex;
  align-items: flex-end; justify-content: center;
  width: 100%; height: 100%; min-width: 0;
  color: inherit; text-decoration: none; cursor: pointer;
}
.people-quote-link, .people-name-link { color: inherit; text-decoration: none; cursor: pointer; }
/* タップ領域：高さ44px前後（WCAG 2.5.8/推奨）。余白は上下paddingと負のmarginで相殺し、カードのレイアウトは変えない。 */
.people-name-link { display: inline-flex; align-items: center; min-height: 44px; margin-block: -8px; }
.people-quote-link:hover, .people-name-link:hover {
  text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px;
}
.people-visual-link:focus-visible, .people-quote-link:focus-visible, .people-name-link:focus-visible {
  outline: 3px solid var(--gold); outline-offset: -4px;
}

/* 1. Quote (主役) */
.people-quote {
  position: relative;
  margin: 0;
  padding-top: 30px;
}
/* Same Gold quote accent previously used for Culture; purely visual, not a verbatim citation. */
.people-quote::before {
  content: "”";
  position: absolute;
  top: -9px;
  left: 0;
  color: var(--gold);
  font-family: "Noto Sans JP", Georgia, serif;
  font-size: 46px;
  font-weight: 500;
  line-height: 1;
  pointer-events: none;
}
.people-quote--maruyama .people-quote-link { display: block; }
/* TOPと同じ文節で折り返し、語の途中の分断を防止する。 */
.people-quote__unit { display: inline-block; }
.people-quote--maruyama .people-quote__line { display: block; white-space: nowrap; }
.people-quote p {
  font-size: clamp(22px, 1.95vw, 28px);
  font-weight: var(--heading-weight);
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--navy-deep);
}
.people-lead-feature .people-quote p {
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.52;
}

/* 2. Profile (名前・入社年) */
.people-profile {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 0;
  border-bottom: 0;
}
.people-name {
  margin: 0;
  font-size: clamp(19px, 1.4vw, 21px);
  font-weight: var(--heading-weight);
  color: var(--navy);
  letter-spacing: 0.05em;
}
.people-year {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* 3. Career (前職を現在より強く) */
.people-career {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 0 0;
  background: none;
  border-top: 1px solid var(--line);
  border-radius: 0;
}
.people-career__origin {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.people-career__tag {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: none;
  padding: 0;
  border-radius: 0;
}
.people-career__job {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.45;
  word-break: auto-phrase;
}
.people-career__change {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 0;
  font-size: 13px;
  color: var(--muted);
}
.people-career__arrow {
  color: #947837; /* 明るい背景上の金は濃い金（ブランド規定） */
  font-size: 14px;
  font-weight: 500;
}
.people-career__now-label {
  font-weight: 700;
}
.people-career__now-role {
  font-weight: 500;
}

/* 4. Action (エディトリアルなリンク) */
.people-action {
  margin-top: 4px;
}
.people-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  padding: 8px 0;
  min-height: 44px;
  border-bottom: 0;
  transition: all .2s ease;
}
.people-link:hover {
  color: var(--navy);
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
}
.people-link__arrow {
  font-size: 16px;
  font-weight: 700;
  transition: transform .25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.people-link:hover .people-link__arrow {
  transform: translateX(6px);
}

/* note掲載記事 */
.people-note {
  padding-block: clamp(34px, 5vw, 64px);
  background: var(--paper);
  color: var(--navy);
}
.people-note .wrap { max-width: 1120px; }
.people-note__title {
  margin: 0 0 clamp(22px, 3vw, 36px);
  font-size: clamp(24px, 2.7vw, 36px);
  font-weight: var(--heading-weight);
  line-height: 1.4;
  word-break: auto-phrase;
}
.people-note__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}
.people-note__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #FFFFFF;
  color: inherit;
  text-decoration: none;
}
.people-note__banner {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.91;
  object-fit: contain;
}
.people-note__copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: clamp(16px, 2.5vw, 30px);
}
.people-note__name {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.people-note__headline {
  margin: 0;
  font-size: clamp(19px, 2.05vw, 26px);
  font-weight: var(--heading-weight);
  line-height: 1.45;
  word-break: auto-phrase;
}
.people-note .people-note__description {
  margin: 0 0 8px;
  color: var(--body);
  font-size: 15px;
  line-height: 1.8;
}
.people-note__description span { white-space: nowrap; }
.people-note__action {
  align-self: flex-start;
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
}
.people-note__card:hover .people-note__headline,
.people-note__card:hover .people-note__action { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 768px) {
  .people-note__title { font-size: clamp(20px, 6vw, 24px); }
  .people-note__grid { grid-template-columns: minmax(0, 1fr); }
  .people-note .people-note__description { font-size: clamp(14px, 3.85vw, 15px); }
}

/* インタビュー一覧に続く末尾CTAの上余白は、このページで調整する。 */
.page-people .page-end {
  padding-top: clamp(40px, 5vw, 64px);
}

/* ==========================================================================
   Responsive Adaptations (Tablet & Mobile)
   ========================================================================== */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .people-lead-feature__grid {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }
  .people-lead-feature__visual {
    height: 460px;
  }
  .people-spread {
    grid-template-columns: 1fr;
    row-gap: 80px;
  }
  .people-story--tsuzuki,
  .people-story--yamanoi {
    padding-top: 0;
  }
  .people-spreads {
    gap: 80px;
    padding-top: 60px;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .people-head {
    padding: calc(76px + 36px) 0 44px;
  }
  .people-head__splash {
    width: 300px;
    right: -120px;
    top: -60px;
    opacity: .88;
  }
  /* SP：Spectrumを右上のアクセントへ縮め、主見出しの背面にかけない。 */

  .people-head__title {
    font-size: 30px;
  }
  .people-head__lead {
    font-size: 15px;
    line-height: 1.95;
  }

  .people-stream {
    padding: 48px 0 40px;
  }
  .people-lead-feature {
    padding-bottom: 60px;
  }
  .people-lead-feature__visual {
    height: 340px;
  }
  .people-lead-feature__brush {
    width: 130%;
    left: -15%;
    top: 5%;
  }

  .people-story__visual {
    height: 320px;
  }
  .people-story--maruyama .people-story__brush,
  .people-story--tsuzuki .people-story__brush,
  .people-story--nishimizu .people-story__brush,
  .people-story--yamanoi .people-story__brush {
    width: 125%;
    left: -10%;
    right: auto;
    top: 5%;
  }

  .people-quote p {
    font-size: 21px;
    line-height: 1.55;
  }
  .people-quote { padding-top: 28px; }
  .people-quote::before { font-size: 42px; top: -9px; }
  .people-lead-feature .people-quote p {
    font-size: 23px;
  }

  .people-spreads {
    gap: 60px;
    padding-top: 48px;
  }
  .people-spread {
    row-gap: 60px;
  }

  .people-career {
    padding: 16px 0 0;
  }
  .people-career__job {
    font-size: 15px;
  }

}

/* 狭いSPではSplashを右上の一部だけ見せ、見出し・導入文と重ねない。 */
@media (max-width: 480px) {
  .people-head__splash {
    width: clamp(255px, 72vw, 285px);
    right: calc(-1 * clamp(120px, 35vw, 155px));
    top: -40px;
    opacity: .85;
    /* 主見出しに掛かる左側のペイントだけを自然にフェードさせる。 */
    -webkit-mask-image: linear-gradient(to right, transparent 22%, #000 55%);
    mask-image: linear-gradient(to right, transparent 22%, #000 55%);
  }
}

/* モバイル：インタビュー詳細への導線を右揃え。 */
@media (max-width: 900px) {
  .people-action { text-align: right; }
}
