/* ===============================================================
   voices.html only
=============================================================== */

.voices-list {
  max-width: 960px;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.voice-card {
  background: var(--white);
  border-radius: 1.5rem;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.voice-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.voice-card-title {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--primary-color-dark);
}

.voice-card-date {
  font-size: 0.8rem;
  color: var(--text-color-light);
  white-space: nowrap;
}

.voice-card-text {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text-color);
  white-space: pre-line;
}

.lp-voices-back {
  margin-top: 2.5rem;
  text-align: center;
}

@media (max-width: 768px) {
  .voice-card {
    padding: 1.25rem 1.25rem;
    border-radius: 1.25rem;
  }
  .voice-card-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .voice-card-title { font-size: 0.9rem; }
  .voice-card-text { font-size: 0.9rem; }
}

/* 職種ごとのブロック表示 */
.voices-role-block {
  background: var(--white);
  border-radius: 1.25rem;
  padding: 1.25rem 1.5rem 1.5rem;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.voices-role-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.voices-role-title {
  font-size: 1rem;
  font-weight: 700;
}

.voices-role-count {
  font-size: 0.8rem;
  color: var(--text-color-light);
}

.voices-role-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .voices-role-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.voices-role-more {
  margin-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 固定ヘッダーに本文が潜るのを防ぐ（voices.html） */
:root {
  --header-offset: 88px; /* だいたい。合わなければ 80〜100px で調整 */
}

.site-main {
  padding-top: var(--header-offset);
}

/* スマホでヘッダーが低い場合の調整 */
@media (max-width: 768px) {
  :root { --header-offset: 76px; }
}
