/* ============================================
   Phase 8B-2 スタッフ紹介ページ専用CSS
   ============================================ */

/* スタッフ紹介トップ ページ */
.staff-intro-text {
  margin-bottom: 32px;
  line-height: 1.8;
}

.staff-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 40px 0;
}

.staff-card {
  display: block;
  padding: 24px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  transition: box-shadow 0.2s, transform 0.2s;
}

.staff-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.staff-card img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 4px;
  display: block;
  margin: 0 auto;
}

.staff-card h3 {
  margin: 16px 0 8px;
  font-size: 1.3em;
  text-align: center;
  color: #1a4480;
}

.staff-card p {
  font-size: 0.95em;
  line-height: 1.7;
  color: #555;
  margin-bottom: 12px;
}

.staff-card-link {
  display: block;
  text-align: right;
  color: #1a4480;
  font-weight: 600;
  font-size: 0.95em;
}

/* 個別プロフィールページ */
.staff-profile {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 16px;
}

.profile-image-wrap {
  text-align: center;
  margin: 32px 0;
}

.profile-image {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.profile-content h2 {
  font-size: 1.8em;
  color: #1a4480;
  border-bottom: 3px solid #1a4480;
  padding-bottom: 8px;
  margin: 32px 0 20px;
}

.profile-content h3 {
  font-size: 1.3em;
  color: #1a4480;
  border-left: 4px solid #1a4480;
  padding-left: 12px;
  margin: 28px 0 14px;
}

.profile-content p {
  line-height: 1.9;
  margin: 0 0 16px;
}

.profile-content ul {
  padding-left: 24px;
  margin: 0 0 20px;
}

.profile-content ul li {
  margin: 6px 0;
  line-height: 1.7;
}

.profile-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.95em;
}

.profile-content table th,
.profile-content table td {
  padding: 10px 14px;
  border: 1px solid #ddd;
  text-align: left;
}

.profile-content table thead {
  background: #f0f4fa;
}

.profile-content table th {
  font-weight: 600;
  color: #1a4480;
}

.profile-content figure.wp-block-image {
  margin: 24px auto !important;
}

.profile-content figure.wp-block-image img {
  max-width: 320px !important;
  height: auto !important;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .staff-cards {
    grid-template-columns: 1fr;
  }

  .profile-image,
  .profile-content figure.wp-block-image img {
    max-width: 240px !important;
  }

  .profile-content h2 {
    font-size: 1.5em;
  }

  .profile-content table {
    font-size: 0.85em;
  }
}
