/* ========================================
  News Page
======================================== */

/* News List Section */
.news-list-section {
  padding: 0 0 6rem;
}

.news-list-section__inner {
  max-width: 1200px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 12px;
}

/* News List */
.news-list {
  width: 100%;
}

.news-list__item {
  display: flex;
  align-items: center;
  padding: 3.1rem 1.6rem;
  border-top: 1px solid #e8ebf1;
  border-bottom: 1px solid #e8ebf1;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.news-list__item:hover {
  background-color: #f8fafc;
  opacity: 1;
}

.news-list__item+.news-list__item {
  border-top: none;
}

.news-list__date {
  flex-shrink: 0;
  width: 10rem;
  padding-right: 2.9rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: #0055b8;
  letter-spacing: 0.08rem;
}

.news-list__title {
  flex: 1;
  font-size: 1.6rem;
  font-weight: 400;
  color: #444;
  letter-spacing: 0.08rem;
  line-height: 1.5;
}

.news-list__arrow {
  flex-shrink: 0;
  width: 1.8rem;
  height: 1rem;
  margin-left: 1.6rem;
}

.news-list__arrow img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.6rem;
  padding: 6rem 0;
}

.pagination__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  text-decoration: none;
}

.pagination__arrow img {
  width: 1.3rem;
  height: 1.3rem;
  object-fit: contain;
}

.pagination__arrow--prev img {
  transform: rotate(180deg);
}

.pagination__arrow--disabled {
  opacity: 0.3;
  pointer-events: none;
}

.pagination__numbers {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.pagination__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.7rem;
  height: 4.6rem;
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  color: #0055b8;
  text-decoration: none;
  border-radius: 50%;
  border: 1px solid #e8ebf1;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination__number:hover {
  background-color: #f0f4f8;
  opacity: 1;
}

.pagination__number--current {
  background: linear-gradient(109deg, #0055b8 45%, #0099e1 103%);
  color: #fff;
  border-color: transparent;
}

.pagination__number--current:hover {
  background: linear-gradient(109deg, #0055b8 45%, #0099e1 103%);
  color: #fff;
}

.pagination__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.7rem;
  height: 4.6rem;
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  color: #0055b8;
}

/* ========================================
  SP Responsive (767px以下)
======================================== */
@media (max-width: 767px) {
  .news-list-section {
    padding: 0 2rem 4rem;
  }

  .news-list__item {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 0.4rem 1.6rem;
    padding: 2rem 1rem;
  }

  .news-list__date {
    grid-column: 1;
    grid-row: 1;
    width: auto;
    padding-right: 0;
    font-size: 1.4rem;
  }

  .news-list__title {
    grid-column: 1;
    grid-row: 2;
    font-size: 1.4rem;
  }

  .news-list__arrow {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    margin-left: 0;
  }

  .pagination {
    gap: 1.5rem;
    padding: 4rem 0;
  }

  .pagination__numbers {
    gap: 0.5rem;
  }

  .pagination__number {
    width: 4rem;
    height: 4rem;
    font-size: 1.6rem;
  }

  .pagination__dots {
    width: 3rem;
    font-size: 1.6rem;
  }
}