@charset "UTF-8";
/*
 * お知らせ一覧のページ送り。
 * 元の静的サイトには存在しなかったコンポーネントのため、
 * sass/ のビルド成果物（style.min.css）とは分離して管理する。
 * 配色・線・余白は .c-btn / _setting.scss の値に合わせている。
 */

.c-pagination {
  margin-top: 32px;
}

.c-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.c-pagination .page-numbers {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid #c5c9c6;
  color: #1d201f;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.c-pagination .page-numbers.current {
  border-color: #1d201f;
  background-color: #1d201f;
  color: #f6f8f5;
}

.c-pagination .page-numbers.dots {
  border-color: transparent;
}

.c-pagination .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media screen and (min-width: 768px) {
  .c-pagination {
    margin-top: 48px;
  }

  .c-pagination .page-numbers {
    min-width: 40px;
    height: 40px;
    font-size: 14px;
    transition: border-color 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  }

  .c-pagination a.page-numbers:hover {
    border-color: #1d201f;
  }
}
