.damage-drill {
  overflow: hidden;
}

.damage-drill > h2,
.damage-drill > .hint {
  margin-left: 18px;
  margin-right: 18px;
}

.damage-drill .table-wrap {
  max-height: 430px;
  overflow: auto;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: var(--surface);
  overscroll-behavior: contain;
}

.damage-drill table {
  min-width: 1380px;
  border-collapse: separate;
  border-spacing: 0;
}

.damage-drill th,
.damage-drill td {
  min-width: 145px;
  padding: 12px 14px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface);
  white-space: normal;
  line-height: 1.45;
}

.damage-drill thead th {
  top: 0;
  z-index: 4;
  background: #eaf3fc;
  color: #27455f;
  font-weight: 700;
  vertical-align: bottom;
}

.damage-drill tbody tr:nth-child(even) td {
  background: #f8fbfe;
}

.damage-drill tbody tr:hover td {
  background: #eef6ff;
}

.damage-drill th:nth-child(1),
.damage-drill td:nth-child(1) {
  position: sticky;
  left: 0;
  z-index: 3;
  min-width: 140px;
  max-width: 140px;
  box-shadow: 1px 0 0 var(--line-soft);
}

.damage-drill th:nth-child(2),
.damage-drill td:nth-child(2) {
  position: sticky;
  left: 140px;
  z-index: 3;
  min-width: 90px;
  max-width: 90px;
  text-align: center;
}

.damage-drill th:nth-child(3),
.damage-drill td:nth-child(3) {
  position: sticky;
  left: 230px;
  z-index: 3;
  min-width: 135px;
  max-width: 135px;
  text-align: right;
  box-shadow: 3px 0 8px rgba(30, 73, 112, .08);
}

.damage-drill thead th:nth-child(-n+3) {
  z-index: 6;
  background: #dcecff;
}

.damage-drill tbody tr:nth-child(even) td:nth-child(-n+3) {
  background: #f3f8fd;
}

.damage-drill tbody tr:hover td:nth-child(-n+3) {
  background: #e5f1ff;
}

.damage-drill td:nth-child(n+4),
.damage-drill th:nth-child(n+4) {
  text-align: right;
}

.damage-drill + .damage-drill th:nth-child(1),
.damage-drill + .damage-drill td:nth-child(1) {
  min-width: 330px;
  max-width: 330px;
}

.damage-drill + .damage-drill th:nth-child(2),
.damage-drill + .damage-drill td:nth-child(2) {
  left: 330px;
}

.damage-drill + .damage-drill th:nth-child(3),
.damage-drill + .damage-drill td:nth-child(3) {
  left: 420px;
}

@media (max-width: 760px) {
  .damage-drill th:nth-child(1),
  .damage-drill td:nth-child(1) {
    min-width: 120px;
    max-width: 120px;
  }

  .damage-drill th:nth-child(2),
  .damage-drill td:nth-child(2) {
    left: 120px;
  }

  .damage-drill th:nth-child(3),
  .damage-drill td:nth-child(3) {
    left: 210px;
  }

  .damage-drill + .damage-drill th:nth-child(1),
  .damage-drill + .damage-drill td:nth-child(1) {
    min-width: 220px;
    max-width: 220px;
  }

  .damage-drill + .damage-drill th:nth-child(2),
  .damage-drill + .damage-drill td:nth-child(2) {
    left: 220px;
  }

  .damage-drill + .damage-drill th:nth-child(3),
  .damage-drill + .damage-drill td:nth-child(3) {
    left: 310px;
  }
}
