/* ============================================================
   news-list.css — お知らせ一覧ページ
   ============================================================ */


/* コンテナ */
.nd-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================
   記事一覧セクション
============================ */
.nl-list-section {
  padding: 64px 0 88px;
  background: #fff;
}

/* リスト */
.nl-list {
  list-style: none;
  padding: 0;
  margin: 0 0 56px;
}

/* 各アイテム */
.nl-item {
  padding-top: 56px;
}

/* アイテム内部（横並び） */
.nl-item-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 48px;
}

/* 本文エリア */
.nl-item-body {
  flex: 1;
  min-width: 0;
}

/* 日付 */
.nl-date {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 1px;
  margin-bottom: 10px;
}

/* タイトル */
.nl-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 12px;
}

/* 概要文 */
.nl-excerpt {
  font-size: 15px;
  color: #555;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 詳しく見るボタン */
.nl-more-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  background: #e4f4fb;
  border-radius: 10px;
  padding: 22px 24px;
  text-decoration: none;
  transition: background 0.2s;
}

.nl-more-btn:hover {
  background: #cce9f5;
}

.nl-more-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.nl-more-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
}

.nl-more-circle svg {
  width: 20px;
  height: 20px;
}

/* 区切り線 */
.nl-divider {
  position: relative;
  height: 1px;
  background: #d4e0e8;
}

.nl-divider::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 48px;
  height: 3px;
  background: #2986B3;
}


/* ============================
   ページネーション
============================ */
.nl-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nl-page-arrow,
.nl-page-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  border: none;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.nl-page-arrow:hover,
.nl-page-num:hover {
  background: var(--gray-bg);
}

.nl-page-num--active {
  background: var(--navy);
  color: #fff;
  pointer-events: none;
}

/* WordPress paginate_links (type=list) */
.nl-pagination ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nl-pagination li a,
.nl-pagination li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  border: none;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.nl-pagination li a:hover {
  background: var(--gray-bg);
}

.nl-pagination li span.current {
  background: var(--navy);
  color: #fff;
  pointer-events: none;
}


/* ============================
   RESPONSIVE — Mobile (≤ 768px)
============================ */
@media (max-width: 768px) {
  .nl-list-section { padding: 48px 0 64px; }
  .nl-list { margin-bottom: 40px; }

  .nl-item { padding-top: 24px; }

  .nl-item-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 20px;
  }

  .nl-more-btn {
    align-self: flex-end;
    padding: 16px 20px;
  }

  .nl-title { font-size: 15px; }
}
/* ページヒーロー */
.page-hero { background: #c0ccd8 center/cover no-repeat; }
