@charset "UTF-8";

.news-archive {
  max-width: 800px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 89px;
  margin-bottom: 100px;
  padding: 30px;
}


.news-archive h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  padding-bottom: 10px;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-item {
  margin-bottom: 24px;
  text-underline-offset: 4px; /* ← 線をテキストから離す */
  border-bottom: 1px dashed #898989;
  padding-bottom: 16px;
}

.news-item a {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
}

.news-item a:hover {
  color: #23B659;
}

.news-item time {
  font-weight: 500;
  margin-right: 16px;
  white-space: nowrap;
  min-width: 90px;
}

.news-item span {
  flex: 1;
}

/* ページネーション */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.pagination .page-numbers {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 4px;
  color: #23B659;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.pagination .page-numbers:hover {
  background-color: #f2f2f2;
}

.pagination .current {
}