:root {
  --icon-mail-size: 34px;
  --icon-check-size: 34px;
}

.table {
  border-collapse: collapse;
  background-color: #fff;
  width: 100%;
  border-color: #BEDFC7;
  border-style: solid;
  border-width: 1px 1px 0 1px;
}

.table th {
  font-weight: bold;
  white-space: nowrap;
}

.table th, .table td {
  border-bottom: 1px solid #BEDFC7;
  padding: 0.5rem 0.75rem 0.5rem 2.5rem;
  min-height: 3.375rem;
  color: #666;
  text-align: left;
}

.table th.text-center, .table td.text-center {
  text-align: center;
}

.table th.text-right, .table td.text-right {
  text-align: right;
}

.table a.link {
  color: #666;
}

.table a.address {
  color: var(--color-primary);
  padding-right: 26px;
  background-image: url(../images/others/icon-map.webp);
  background-repeat: no-repeat;
  background-size: 22px auto;
  background-position: right center;
}

.table .btn-row {
  margin-bottom: 0;
}

.mail:hover {
  text-decoration: none;
}

.mail .mail__icon {
  display: inline-block;
  vertical-align: middle;
  width: var(--icon-mail-size);
  height: var(--icon-mail-size);
  background: url(../images/others/icon-mail.webp) center center no-repeat;
  background-size: 100%;
}

.mail .mail__label {
  color: #1682A6;
  font-weight: bold;
}

.icon-check {
  display: inline-block;
  vertical-align: middle;
  width: var(--icon-check-size);
  height: var(--icon-check-size);
  background-image: url(../images/others/icon-check.webp);
  background-size: 100%;
}

.icon-check + .mail__label {
  color: #A9A9A9;
}

.icon-check.checked {
  background-image: url(../images/others/icon-checked.webp);
}

.icon-check.checked + .mail__label {
  color: #1682A6;
  font-weight: bold;
}

.icon-check:not(.checked) {
  display: none;
}

@media (max-width: 1366px) {
  .table th, .table td {
    padding: .5rem .75rem;
    min-height: 3.375rem;
  }
}

@media (max-width: 1024px) {
  :root {
    --icon-mail-size: 25px;
    --icon-check-size: 16px;
  }
  .table {
    display: block;
    border: none;
    background-color: transparent;
  }
  .table tbody:not(.pc) {
    display: block;
  }
  .table tr {
    position: relative;
    padding: 12px 12px 0 12px;
    margin-bottom: 1rem;
    background-color: #fff;
    border: 1px solid #BEDFC7;
    border-radius: 10px;
  }
  .table tr:not(.pc) {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .table tr:not(.pc).flex-col-reverse {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
  }
  .table tr.m-block {
    display: block;
  }
  .table td {
    margin-bottom: 12px;
    padding: 0;
    border: none;
    min-height: initial;
  }
  .table td:not(.pc) {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .table td.cell-date {
    color: #666666;
    font-size: 1rem;
  }
  .table td.cell-mail {
    position: absolute;
    right: 12px;
    bottom: 0;
  }
  .table td.cell-bold {
    font-weight: bold;
  }
  .table td.cell-inline {
    display: inline-block;
    margin-right: 1.125rem;
  }
  .mail {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 4px;
  }
  .icon-check:not(.checked) {
    display: block;
  }
  .table tr {
    padding: 10px;
  }
  .table td {
    margin-bottom: 4px;
  }
  .table td .btn-row {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    gap: 14px;
  }
  .table td .btn {
    margin-top: 4px;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
  .table td.cell-bold {
    font-size: 18px;
  }
  .table td.cell-date {
    font-size: 15px;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .table td.cell-mail {
    right: 10px;
    bottom: 10px;
  }
}
