/* ============================================================
   people-cards.css — 社員インタビューページ インタビューカードセクション
   デザイン: dirbatoスタイル — 写真を大きく見せるカードレイアウト
   背景: ホワイト（--c-bg）
   アニメーション: rvシステム（rv-up）
   ============================================================ */

/* ---- Section ---- */
.people-cards {
  background-color: var(--c-bg, #FFFFFF);
  padding: 100px 0 120px;
  position: relative;
  z-index: var(--z-content, 10);
}

/* ---- Container ---- */
.people-cards__inner {
  max-width: var(--s-container, 1200px);
  margin: 0 auto;
  padding: 0 var(--s-gutter, 32px);
  position: relative;
  z-index: var(--z-content, 10);
}

/* ---- Grid ---- */
.people-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 16px;
}

/* ---- Card ---- */
.people-card {
  background: var(--c-bg, #FFFFFF);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 2px 12px rgba(13, 27, 46, 0.06);
  transition: box-shadow 0.35s var(--ease-out, ease), transform 0.35s var(--ease-out, ease);
  display: flex;
  flex-direction: column;
}

.people-card:hover {
  box-shadow: 0 16px 48px rgba(13, 27, 46, 0.14);
  transform: translateY(-6px);
}

/* ---- Photo Wrap ---- */
.people-card__photo-wrap {
  position: relative;
  overflow: hidden;
  /* 4:5 アスペクト比 — 600x900写真に最適 */
  aspect-ratio: 4 / 5;
  background-color: var(--c-navy-deep, #0D1B2E);
}

.people-card__photo-wrap picture {
  display: block;
  width: 100%;
  height: 100%;
}

.people-card__photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.people-card:hover .people-card__photo-wrap img {
  transform: scale(1.06);
}

/* ---- Photo Overlay (ホバー時に表示) ---- */
.people-card__photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13, 27, 46, 0.90) 0%,
    rgba(13, 27, 46, 0.40) 40%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 28px 24px;
  text-align: center;
  pointer-events: none;
}

.people-card:hover .people-card__photo-overlay {
  opacity: 1;
}

.people-card__overlay-quote {
  font-family: var(--f-heading-ja, 'Noto Serif JP', serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-gold, #C9A84C);
  line-height: 1.2;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 8px;
}

.people-card__overlay-note {
  font-family: var(--f-body, 'Noto Sans JP', sans-serif);
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin: 0;
  letter-spacing: 0.01em;
}

/* ---- Card Content (テキストエリア) ---- */
.people-card__content {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* ---- Meta / Pattern Tag ---- */
.people-card__meta {
  margin-bottom: 10px;
}

.people-card__pattern-tag {
  display: inline-block;
  font-family: var(--f-label, 'Inter', sans-serif);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-gold, #C9A84C);
  background: rgba(201, 168, 76, 0.09);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 4px;
  padding: 3px 8px;
}

/* 代表取締役バリアント */
.people-card__pattern-tag--founder {
  color: var(--c-navy, #1E3A5F);
  background: rgba(30, 58, 95, 0.07);
  border-color: rgba(30, 58, 95, 0.18);
}

/* ---- Name ---- */
.people-card__name {
  font-family: var(--f-label, 'Inter', sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-navy-deep, #0D1B2E);
  margin: 0 0 3px;
  line-height: 1.25;
  letter-spacing: 0.04em;
}

/* ---- Role ---- */
.people-card__role {
  font-family: var(--f-body, 'Noto Sans JP', sans-serif);
  font-size: 0.76rem;
  font-weight: 400;
  color: var(--c-text-light, #666);
  margin: 0 0 16px;
  line-height: 1.4;
}

/* ---- Q&A ---- */
.people-card__qa {
  margin-bottom: 16px;
  flex: 1;
}

.people-card__question {
  font-family: var(--f-body, 'Noto Sans JP', sans-serif);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--c-navy, #1E3A5F);
  margin: 0 0 6px;
  letter-spacing: 0.01em;
  display: flex;
  align-items: flex-start;
  gap: 5px;
}

.people-card__question::before {
  content: 'Q.';
  font-family: var(--f-label, 'Inter', sans-serif);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--c-gold, #C9A84C);
  min-width: 18px;
  padding-top: 1px;
  flex-shrink: 0;
}

.people-card__answer {
  font-family: var(--f-body, 'Noto Sans JP', sans-serif);
  font-size: 0.83rem;
  font-weight: 300;
  color: var(--c-text, #1A1A1A);
  line-height: 1.78;
  margin: 0;
  padding-left: 22px;
}

/* ---- Card Footer (一言) ---- */
.people-card__footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.people-card__footer-label {
  font-family: var(--f-label, 'Inter', sans-serif);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-muted, #999);
  margin: 0 0 6px;
}

.people-card__oneliner {
  font-family: var(--f-heading-ja, 'Noto Serif JP', serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-gold, #C9A84C);
  margin: 0;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.people-card__oneliner-note {
  font-family: var(--f-body, 'Noto Sans JP', sans-serif);
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--c-text-muted, #999);
  margin: 4px 0 0;
  line-height: 1.5;
}


/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .people-cards__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .people-card__photo-wrap {
    /* タブレットでは少し横長に調整 */
    aspect-ratio: 3 / 4;
  }
}

@media (max-width: 768px) {
  .people-cards {
    padding: 72px 0 88px;
  }

  .people-cards__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .people-card__content {
    padding: 16px 16px 20px;
  }

  .people-card__name {
    font-size: 1rem;
  }

  .people-card__answer {
    font-size: 0.78rem;
  }

  /* モバイルではオーバーレイを常に薄く表示 */
  .people-card__photo-overlay {
    opacity: 0.6;
    background: linear-gradient(
      to top,
      rgba(13, 27, 46, 0.75) 0%,
      transparent 55%
    );
  }

  .people-card__overlay-quote {
    font-size: 1.4rem;
  }

  .people-card__overlay-note {
    font-size: 0.72rem;
  }
}

@media (max-width: 480px) {
  .people-cards__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .people-card__photo-wrap {
    aspect-ratio: 4 / 3;
  }

  .people-card__content {
    padding: 16px 18px 20px;
  }
}
