@charset "UTF-8";

.news-contents-inner {
  max-width: 950px;
  margin: 100px auto 200px;
  @media only screen and (max-width:767px){
    margin: 70px auto 100px;
  }
}

.news-list {
  margin-bottom: 80px;
}

.news-listitem:first-child {
  .news-list-anchor {
    padding-top: 0;
  }
}

.news-list-anchor {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 21.856px;
  padding-bottom: 24.588px;
  border-bottom: 1px solid #2E2E2E;
  @media only screen and (max-width: 1366px) {
    padding-top: 1.6vw;
    padding-bottom: 1.8vw;
  }
  @media only screen and (max-width: 767px) {
    padding-top: 29.625px;
    padding-bottom: 25.5px;
  }

}

.news-list-date {
  font-size: 16px;
  letter-spacing: 0.1px;
  width: 100%;
  padding-bottom: 16.4px;
  transition: .2s ease;
  @media only screen and (max-width: 1366px) {
    font-size: 1.15vw;
    padding-bottom: 1.2vw;
  }
  @media only screen and (max-width: 767px) {
    width: auto;
    font-size: 14px;
    padding-bottom: 0;
    order: 2;
  }
}

.news-list-category {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  background-color: #2E2E2E;
  padding: 6.4px 5px;
  margin-right: 10px;
  width: 96px;
  transition: .2s ease;
  @media only screen and (max-width: 1366px) {
    font-size: 1vw;
    padding: 0.5vw 5px;
    width: 7vw;
  }
  @media only screen and (max-width: 767px) {
    font-size: 12px;
    padding: 6px 5px;
    margin-right: 15px;
    width: 87.45px;
    order: 1;
  }
}
.news-list-category span {
  @media only screen and (max-width: 950px) {
    display: inline-block;
    transform: scale(0.8);
  }
  @media only screen and (max-width: 767px) {
    transform: scale(1.0);
  }
}

.news-list-desc {
  font-weight: 700;
  font-size: 16px;
  width: auto;
  transition: .2s ease;
  line-height: 1.4;
  @media only screen and (max-width: 1366px) {
    font-size: 1.175vw;
  }
  @media only screen and (max-width: 767px) {
    font-size: 16px;
    line-height: 1.75;
    margin-top: clamp(13px, calc(-1.5306vw + 24.74px), 19px);
    width: 100%;
    order: 3;
  }
}

@media (hover: hover) {
  .news-list-anchor:hover .news-list-date {
    color: #E60012;
  }
  .news-list-anchor:hover .news-list-category {
    background-color: #E60012;
  }
  .news-list-anchor:hover .news-list-desc {
    color: #E60012;
  }
}


/* ページネーション全体 */

.news-contents-inner {
  .pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 30px 0;
    list-style: none;
    padding: 0;
  }

  /* 各リンク */
  .page-numbers {
    font-family: "Goldman", sans-serif;
    color: #333;
    font-size: 18px;
    text-decoration: underline;
    padding: 0 12px;
    display: grid;
    align-items: center;
    justify-content: center;
    &:hover {
      color: #E60012;
    }
    @media only screen and (max-width:767px){
      font-size: 14px;
      padding: 0 6px;
    }
  }

  /* 現在のページ */
  .pagination .current {
    color: #E60012;
    text-decoration: none;
  }

  /* 矢印部分 */
  .pagination-prev,.pagination-next {
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    margin: 0 30px;
    background-color: #2E2E2E;
    border-radius: 100px;
    display: grid;
    align-items: center;
    justify-content: center;
    &:hover {
      opacity: 0.4;
    }
    @media only screen and (max-width:767px){
      width: 30px;
      height: 30px;
      margin: 0 12px;
      flex: 0 0 30px;
    }
  }

  /* 無効化された場合 */
  .pagination .disabled {
    color: #fff;
    background-color: #C4C4C4;
    pointer-events: none;
  }
}
