.table-section {
  overflow-x: auto;
  margin: 20px 0;
}

.recruit-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  text-align: center;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border-radius: 12px;
  overflow: hidden;
  table-layout: fixed;
}

.recruit-table th, .recruit-table td {
  padding: 1rem;
  border: 1px solid #ddd;
  font-size: 15px;
  white-space: nowrap;
}

.recruit-table th {
  background-color: #e0f2fc;
  font-weight: bold;
  color: #333;
  white-space: normal;
  line-height: 1.4;
}

/* 列幅調整 */
.recruit-table th:nth-child(1),
.recruit-table td:nth-child(1) {
  width: 20%;
}
.recruit-table th:nth-child(2),
.recruit-table td:nth-child(2) {
  width: 20%;
}
.recruit-table th:nth-child(3),
.recruit-table td:nth-child(3) {
  width: 30%;
}
.recruit-table th:nth-child(4),
.recruit-table td:nth-child(4) {
  width: 30%;
}



.recruit-tab-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.recruit-tab-button {
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: bold;
  border: 2px solid #4296e4;
  border-radius: 999px;
  background-color: #fff;
  color: #4296e4;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-width: 160px;
  text-align: center;
}

.recruit-tab-button.active,
.recruit-tab-button:hover {
  background-color: #4296e4;
  color: #fff;
}


.recruit-tab-content {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.recruit-tab-content.active {
  display: block;
  opacity: 1;
}