/* =======================================
   MEMBER LIST
======================================= */

.p-member-list {
  background-color: #edf6fa;
  padding: 39px 0 62px;
}

.p-member-list__table-wrap {
  margin-inline: auto;
  max-width: 1000px;
}

.p-member-list__note {
  font-size: 1.6rem;
  line-height: 1.5;
  margin-bottom: 11px;
}

.p-member-list__table {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
}

.p-member-list__col--name,
.p-member-list__col--position {
  width: 23.3%;
}

.p-member-list__col--company {
  width: 53.4%;
}

.p-member-list__table th,
.p-member-list__table td {
  border: 1px solid #888;
  font-size: 1.6rem;
  line-height: 1.5;
  padding: 13px 34px;
  vertical-align: middle;
}

.p-member-list__table th {
  background-color: #b9e0ef;
  font-weight: 400;
  text-align: center;
}

.p-member-list__table tbody tr:nth-child(odd) td {
  background-color: #fff;
}

.p-member-list__table tbody tr:nth-child(even) td {
  background-color: #edf6fa;
}

@media (max-width: 767px) {
  .p-member-list {
    padding: 0;
  }

  .p-member-list__inner {
    padding-inline: 0;
  }

  .p-member-list__table-wrap {
    max-width: none;
  }

  .p-member-list__note {
    display: none;
  }

  .p-member-list__table,
  .p-member-list__table thead,
  .p-member-list__table tbody {
    display: block;
  }

  .p-member-list__table {
    margin-bottom: 35px;
  }

  .p-member-list__table colgroup {
    display: none;
  }

  .p-member-list__table tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .p-member-list__table th,
  .p-member-list__table td {
    border: 0;
    border-bottom: 1px solid #888;
    border-right: 1px solid #888;
    font-size: 1.4rem;
    line-height: 1.7;
    padding: 6px 10px;
  }

  .p-member-list__table th:first-child,
  .p-member-list__table td:first-child,
  .p-member-list__table th:nth-child(3),
  .p-member-list__table td:nth-child(3) {
    border-left: 1px solid #888;
  }

  .p-member-list__table th:nth-child(-n + 2) {
    border-top: 1px solid #888;
  }

  .p-member-list__table th:nth-child(3),
  .p-member-list__table td:nth-child(3) {
    grid-column: 1 / -1;
  }

  .p-member-list__table td:nth-child(3) {
    min-height: 37px;
  }
}
