/* スタッフ紹介：パソコンの専用寸法と配置。スマホの変更は../responsive.css。 */
/* このセクション固有の値（3列の幅・メンバーの写真の幅） */
:where([data-section="staff"][data-ui="nexa"]) {
  --staff-columns: 1fr 1fr 1.2fr;
  --staff-member-photo: 36%;
}

:where([data-section="staff"][data-ui="nexa"]).staff {
  padding-block: var(--space-section);
  overflow: hidden;
}

:where([data-section="staff"][data-ui="nexa"]) .staff__backdrop {
  opacity: 0.2;
}

:where([data-section="staff"][data-ui="nexa"]) .staff__layout {
  display: grid;
  grid-template-columns: var(--staff-columns);
  align-items: start;
  gap: var(--space-card-gap);
}

:where([data-section="staff"][data-ui="nexa"]) .staff__text {
  margin-block-start: var(--space-stack);
  color: var(--color-text-muted);
}

:where([data-section="staff"][data-ui="nexa"]) .section-heading .button {
  margin-block-start: var(--space-card-gap);
}

/* 代表（写真の上に名前、下に白い板で言葉） */
:where([data-section="staff"][data-ui="nexa"]) .staff__portrait {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}

:where([data-section="staff"][data-ui="nexa"]) .staff__caption {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  padding: var(--space-stack);
  background: linear-gradient(0deg, var(--color-shade-strong), var(--color-transparent));
  color: var(--color-text);
}

:where([data-section="staff"][data-ui="nexa"]) .staff__body {
  padding: var(--space-stack);
  border-block-start: 0;
  border-radius: 0 0 var(--radius-card) var(--radius-card);
}

:where([data-section="staff"][data-ui="nexa"]) .staff__name {
  font-family: var(--font-title);
  font-size: var(--font-size-card);
  font-weight: var(--weight-title);
  line-height: var(--line-heading);
}

:where([data-section="staff"][data-ui="nexa"]) :is(.staff__latin, .member__latin) {
  font-family: var(--font-latin);
  font-size: var(--font-size-body);
  font-weight: var(--weight-title);
  letter-spacing: var(--track-eyebrow);
}

:where([data-section="staff"][data-ui="nexa"]) .staff__message {
  font-family: var(--font-title);
  font-size: var(--font-size-lead);
  font-weight: var(--weight-title);
  line-height: var(--line-heading);
}

/* メンバー3人（写真を左、文を右） */
:where([data-section="staff"][data-ui="nexa"]) .staff__members {
  display: grid;
  gap: var(--space-stack);
}

:where([data-section="staff"][data-ui="nexa"]) .member {
  display: flex;
  overflow: hidden;
}

:where([data-section="staff"][data-ui="nexa"]) .member__photo {
  flex: none;
  width: var(--staff-member-photo);
}

:where([data-section="staff"][data-ui="nexa"]) .member__content {
  display: grid;
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  align-content: start;
  padding: var(--space-small) var(--space-stack);
}

:where([data-section="staff"][data-ui="nexa"]) .member__role {
  color: var(--color-text-muted);
  word-break: auto-phrase;
}

:where([data-section="staff"][data-ui="nexa"]) .member__name {
  font-family: var(--font-title);
  font-size: var(--font-size-lead);
  font-weight: var(--weight-title);
}

:where([data-section="staff"][data-ui="nexa"]) .member__latin {
  color: var(--color-primary);
}

:where([data-section="staff"][data-ui="nexa"]) .member__text {
  margin-block-start: var(--space-tiny);
  color: var(--color-text-muted);
}

:where([data-section="staff"][data-ui="nexa"]) .staff__body .staff__text {
  margin-block-start: var(--space-small);
}
