/* ========================================
  News Archive Section (お知らせ一覧)
======================================== */
.news-archive {
  background: #fff;
  padding: 7rem 0 8rem;
}

.news-archive__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  gap: 10rem;
  align-items: flex-start;
}

.news-archive__list {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ========================================
  News Archive Item (お知らせ一覧アイテム)
======================================== */
.news-archive-item {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  padding: 1.6rem 2rem 1.6rem 2.4rem;
  transition: opacity 0.3s ease;
}

.news-archive-item:hover {
  opacity: 0.7;
}

.news-archive-item__date {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: #f87a3b;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.news-archive-item__separator {
  width: 1px;
  height: 2rem;
  background: #ECE6DB;
  flex-shrink: 0;
}

.news-archive-item__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 6.2rem;
  padding: 0.4rem 0 0.5rem;
  background: #f87a3b;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  line-height: 1;
  flex-shrink: 0;
}

.news-archive-item__tag--recruit {
  background: #f87a3b;
}

.news-archive-item__tag--procedure {
  background: #375b58;
}

.news-archive-item__tag--info {
  background: #837358;
}

.news-archive-item__title {
  flex: 1;
  font-size: 1.6rem;
  font-weight: 500;
  color: #44403c;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-archive-item__arrow {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

.news-archive-item__arrow img {
  width: 100%;
  height: 100%;
}

/* ========================================
  News Filter (カテゴリフィルター)
======================================== */
.news-filter {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  flex-shrink: 0;
}

.news-filter__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1.2rem 3rem;
  border-radius: 9999px;
  border: none;
  font-size: 1.6rem;
  font-weight: 500;
  color: #fff;
  background: #D0CEC8;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1;
  white-space: nowrap;
}

/* all: active / hover */
.news-filter__btn:hover,
.news-filter__btn.is-active {
  color: #44403c;
  background: #ECE6DB;
}

/* recruit: active / hover */
.news-filter__btn--recruit:hover,
.news-filter__btn--recruit.is-active {
  color: #fff;
  background: #f87a3b;
}

/* procedure: active / hover */
.news-filter__btn--procedure:hover,
.news-filter__btn--procedure.is-active {
  color: #fff;
  background: #375b58;
}

/* info: active / hover */
.news-filter__btn--info:hover,
.news-filter__btn--info.is-active {
  color: #fff;
  background: #837358;
}

/* ========================================
  Pagination (ページネーション)
======================================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.6rem;
  margin-top: 6rem;
}

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

.pagination__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.7rem;
  height: 3.7rem;
  border-radius: 50%;
  background: #F5F1E9;
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: #f87a3b;
  line-height: 1;
  padding-top: 0.1rem;
  transition: all 0.3s ease;
}

.pagination__num:hover {
  opacity: 0.7;
}

.pagination__num.is-active {
  background: #f87a3b;
  color: #fff;
}

.pagination__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.7rem;
  height: 3.7rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  color: #ECE6DB;
  letter-spacing: 0.1em;
}

.pagination__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  position: relative;
  transition: opacity 0.3s ease;
}

.pagination__arrow:hover {
  opacity: 0.7;
}

.pagination__arrow::before {
  content: '';
  display: block;
  width: 1.3rem;
  height: 1.3rem;
  border-right: 2px solid #f87a3b;
  border-bottom: 2px solid #f87a3b;
}

.pagination__arrow--prev::before {
  transform: rotate(135deg);
}

.pagination__arrow--next::before {
  transform: rotate(-45deg);
}

/* ========================================
  SP Responsive (max-width: 767px)
======================================== */
@media (max-width: 767px) {

  /* News Archive SP */
  .news-archive {
    padding: 4rem 0 6rem;
  }

  .news-archive__inner {
    flex-direction: column;
    gap: 2.4rem;
    padding: 0 2rem;
  }

  /* Filter SP */
  .news-filter {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    gap: 0.6rem;
  }

  .news-filter__btn {
    width: auto;
    padding: 0.4rem 1.2rem 0.5rem;
    font-size: 1.4rem;
  }

  /* News Archive Item SP */
  .news-archive-item {
    position: relative;
    gap: 0.8rem;
    padding: 1.2rem 3rem 1.2rem 0.4rem;
    flex-wrap: wrap;
  }

  .news-archive-item__date {
    font-size: 1.2rem;
  }

  .news-archive-item__tag {
    width: 6.4rem;
    font-size: 1rem;
    padding: 0.2rem 0 0.3rem;
  }

  .news-archive-item__title {
    width: 100%;
    flex: none;
    font-size: 1.4rem;
    white-space: normal;
    line-height: 1.6;
  }

  .news-archive-item__arrow {
    position: absolute;
    right: 0.4rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.6rem;
    height: 1.6rem;
  }

  /* Pagination SP */
  .pagination {
    margin-top: 4rem;
    gap: 1.6rem;
  }

  .pagination__numbers {
    gap: 0.6rem;
  }

  .pagination__num {
    width: 3.2rem;
    height: 3.2rem;
    font-size: 1.4rem;
  }

  .pagination__dots {
    width: 3.2rem;
    height: 3.2rem;
    font-size: 1.4rem;
  }
}