/* スタッフ紹介のガイド歴 (js/guide-years.js が年数を毎年更新する) */
.staff-years {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin: -8px auto 20px;
  padding: 6px 16px;
  border: 1px solid var(--secondary);
  border-radius: 999px;
  background: rgba(144, 204, 212, 0.14);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.2;
}
.staff-years__num {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}
.staff-years__unit {
  font-weight: 700;
}

/* スタッフ紹介の見出しの下の一文 */
.staff-lead {
  text-align: center;
  max-width: 640px;
  margin: -16px auto 40px;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* スタッフの得意なこと */
.staff-strength {
  margin: 0 auto 20px;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--dark);
}
.staff-strength__label {
  display: block;
  margin-bottom: 2px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--secondary);
}

/* トップのスタッフ欄（スマホ）。カードは「写真72px｜名前と役職」の2列なので、
   指定が無いとガイド歴が写真の列に入って縦に潰れる。ガイド歴と得意なことは全幅の行に置く */
@media (max-width: 768px) {
  .home-page .staff-carousel .staff-card { grid-template-rows: auto auto auto auto 1fr auto; }
  .home-page .staff-carousel .staff-years { grid-column: 1 / -1; justify-self: start; margin: 0 0 16px; }
  .home-page .staff-carousel .staff-strength { grid-column: 1 / -1; margin: 0 0 20px; text-align: left; }
}
