.table-wrapper {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 500px;
  background-color: var(--white);
  margin: 8px 0;

  a {
    color: var(--black-1);
    text-decoration: underline;
  }

  tr {
    &:nth-child(odd) {
      background-color: var(--pink-2);
    }
  }

  td {
    padding: 4px 8px;
    position: relative;

    &:nth-child(odd) {
      background-color: rgba(255, 255, 255, 0.3);
    }

    &:first-child {
      padding-right: 40px;
    }

    .fixed-button {
      position: absolute;
      right: 0;
      top: 0;
      height: 100%;
      width: 32px;
      opacity: 0.4;
      background-color: var(--pink-1);

      &:hover,
      &:active {
        opacity: 1;
      }
    }

    &:hover > .fixed-button {
      display: block;
    }
  }

  .two-lines {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
  }
}
