/* .requirements {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 1.5rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fafafa;
} */
/* .requirements__table,
.requirements__table td,
.requirements__table th {
  border: 1px solid red !important;
} */
/* .requirements__table {
  width: 80%;
  border-collapse: collapse;
  margin: 2rem auto 0;
  font-size: 1rem;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
} */
.requirements {
  width: 100%;
  max-width: 1000px;
  margin: 3rem auto;
  padding: 1.5rem;
  background-color: #fafafa;
  border-radius: 8px;
  display: none;
}

.requirements.active {
  display: block;
}

.requirements__table-wrapper {
  width: 100%; /* 100%で中央寄せ */
  max-width: 800px; /* テーブル自体の最大幅を指定 */
  margin: 0 auto;
}

.requirements__table {
  width: 100%;
  table-layout: fixed; /* カラム幅を均等に保つ */
  border-collapse: collapse;
  margin: 2rem auto 0;
  font-size: 1.25rem;
  background-color: transparent;
  box-shadow: none;
  border: none;
  word-break: break-word;
}


.requirements__table th,
.requirements__table td {
  padding: 1.2rem 1rem;
  text-align: left;
  vertical-align: top;
  border: 1px solid #009944;
}

.requirements__table th {
  width: 25%;
  background-color: #009944;
  color: #fff;
  font-weight: bold;
}

.requirements__table td {
  color: #333;
  background-color: #fff;
  line-height: 1.6;
}

.requirements-title {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: #009944;
  border-left: 6px solid #009944;
  padding-left: 0.75rem;
  font-weight: bold;
}

.tab-container {
  display: flex;
  justify-content: center;
  margin-bottom: 21px;
  margin-top: 2rem;
}

.tab {
  padding: 1rem 2rem;
  cursor: pointer;
  border: 1px solid #ccc;
  background-color: white;
  margin: 0 5px;
  width: 19rem;
  text-align: center;
}

.tab.active {
  background-color: #009944;
  color: white;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .tab-container {
    flex-direction: column;
    align-items: center;
  }
  .tab {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  .requirements {
    margin: 1.5rem 1rem;
    padding: 1rem;
  }
}
