.table-wrapper.type-3 .sustainability-table thead th {
  font-size: 1.3rem;
  font-weight: 400;
  padding: 8px 4px;
}
.table-wrapper.type-3 .sustainability-table thead th:not(:first-child) {
  width: 128px;
}
.table-wrapper.type-3 .sustainability-table tbody th {
  padding: 16px 12px;
}
.table-wrapper.type-3 .sustainability-table tbody th > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  min-width: 100px;
  column-gap: 12px;
  row-gap: 2px;
}
.table-wrapper.type-3 .sustainability-table tbody .position {
  font-size: 1.2rem;
  line-height: 1.3;
  min-width: 100px;
  font-weight: 400;
}
.table-wrapper.type-3 .sustainability-table tbody .name {
  font-size: 1.5rem;
  min-width: 5.5em;
}
.table-wrapper.type-3 .sustainability-table tbody td {
  color: var(--Primary_blue);
}

@media screen and (max-width: 1080px) {
  .table-wrapper.type-3 .sustainability-table thead th {
    padding: 8px 2px !important;
    font-size: 0.9rem !important;
  }
  .table-wrapper.type-3 .sustainability-table thead th:not(:first-child) {
    width: 87px !important;
  }
  .table-wrapper.type-3 .sustainability-table tbody th {
    padding: 8px 4px !important;
  }
  .table-wrapper.type-3 .sustainability-table tbody th > div {
    flex-wrap: wrap;
  }
  .table-wrapper.type-3 .sustainability-table tbody th .position {
    font-size: 1rem !important;
  }
  .table-wrapper.type-3 .sustainability-table tbody th .name {
    font-size: 1.2rem !important;
  }
}

@media screen and (max-width: 769px) {
  .table-wrapper.type-3 .sustainability-table thead th {
    writing-mode: vertical-rl;
    text-orientation: upright;
    white-space: nowrap;
    font-size: 1.1rem !important;
    /* Safari対応: 縦書き時のセル高さ自動拡張バグの修正 */
    height: auto;
    min-height: 150px;
  }
  .table-wrapper.type-3 .sustainability-table thead th br {
    display: none;
  }
  .table-wrapper.type-3 .sustainability-table thead th:first-child {
    width: 30% !important;
  }
  .table-wrapper.type-3 .sustainability-table thead th:not(:first-child) {
    width: auto !important;
  }
  .table-wrapper.type-3 .sustainability-table tbody th {
    width: auto !important;
    padding: 8px !important;
  }
  .table-wrapper.type-3 .sustainability-table tbody th > div {
    flex-direction: column;
    align-items: flex-start;
  }
}
