/* サブページ：Works */
#works {
  .cnts-title {
    padding-bottom: 5rem;
  }
  .cnts-title .jp-text {
    font-size: 2.8rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
  }
  .photo .cnts-img {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 3rem 0.5rem;
  }
  .photo .cnts-img > div {
    width: 19%;
  }
  .photo .cnts-img .bg_dark {
    background-color: #1d1b14;
    width: 100%;
  }
  .photo .cnts-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    display: block;
  }
  .photo .cnts-img .img-title {
    font-weight: 500;
    padding: 0.5rem 0;
  }
  .photo .cnts-img .img-title span {
    padding-right: 0.5rem;
    font-size: 1.2rem;
  }
  .photo .cnts-img p:last-child {
    font-size: 0.9rem;
  }
  .line-table-wrap{
    overflow-x: auto;
  }
  .line-table {
    table-layout: fixed;
    white-space: nowrap;
    min-width: 600px;
  }
  .line-table th {
    background-color: #aaaaaa;
    font-weight: 500;
  }
  .line-table th,
  .line-table td {
    text-align: center;
    padding: 1.3rem 0.25rem;
  }
  .line-table th:nth-child(1),
  .line-table td:nth-child(1){
    width: 20%;
  }
  .line-table th:nth-child(2),
  .line-table td:nth-child(2),
  .line-table th:nth-child(3),
  .line-table td:nth-child(3){
    width: 40%;
  }
  @media screen and (max-width: 959px) {
    .cnts-title .jp-text {
      font-size: 2.2rem;
    }
    .photo .cnts-img > div {
      width: 30%;
    }
    .photo .cnts-img::after {
      content: "";
      display: block;
      width: 30%;
    }
  }
  @media screen and (max-width: 700px) {
    .cnts-title .jp-text {
      font-size: 4.5vw;
    }
    .photo .cnts-img > div {
      width: 48%;
    }
    .cnts-title {
      padding-bottom: 8vw;
    }
  }
  @media screen and (max-width: 599px) {
    .cnts-title .jp-text {
      font-size: 1.4rem;
    }
    .photo .cnts-img .img-title {
      font-size: 0.95rem;
      display: flex;
      flex-direction: row;
      align-items: center;
    }
    .line-table th {
      font-size: 0.9rem;
    }
    .line-table td {
      font-size: 0.85rem;
    }
    .line-table th,
    .line-table td{
      line-height: 1.7;
      padding: 1rem 0.25rem;
    }
  }
}
