/* news.css — お知らせ（一覧・詳細）ページ専用スタイル
   ※ .page-hero-jp（和文サブタイトル）は inner.css に共通定義あり。 */

.news-section {
  padding: 56px 5% 72px;
  max-width: 960px;
  margin: 0 auto;
}

/* ===== List ===== */
.news-list {
  list-style: none;
  border-top: 1px solid var(--base-color);
}

.news-list li {
  border-bottom: 1px solid #e0e0e0;
}

.news-list a {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  gap: 6px 24px;
  padding: 24px 8px;
  transition: opacity 0.2s;
}

.news-list a:hover {
  opacity: 0.6;
}

.news-date {
  font-family: var(--num-font);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
}

.news-tag {
  justify-self: start;
  background-color: var(--base-color);
  color: #fff;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  padding: 4px 14px;
}

.news-title {
  font-size: 1.5rem;
  line-height: 1.6;
}

/* ===== Pager ===== */
.news-pager {
  margin-top: 48px;
}

.news-pager-list {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.news-pager-num,
.news-pager-arrow {
  font-family: var(--num-font);
  min-width: 44px;
  height: 44px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d0d0d0;
  background-color: #fff;
  color: var(--base-color);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
}

.news-pager-num:hover,
.news-pager-arrow:not(:disabled):hover {
  background-color: var(--base-color);
  color: #fff;
  border-color: var(--base-color);
}

.news-pager-num.is-current {
  background-color: var(--base-color);
  color: #fff;
  border-color: var(--base-color);
}

.news-pager-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

/* ===== Detail / Article ===== */
.news-article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.news-article-title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.5;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--base-color);
  margin-bottom: 36px;
}

.news-article-body {
  font-size: 1.5rem;
  line-height: 1.95;
}

.news-article-body p + p {
  margin-top: 1.6em;
}

.news-article-note {
  margin-top: 32px;
  font-size: 1.2rem;
  color: var(--sub-color);
  line-height: 1.7;
}

/* ===== Back button ===== */
.news-back {
  text-align: center;
  margin-top: 56px;
}

.news-back a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--base-color);
  padding: 16px 56px;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: background-color 0.2s, color 0.2s;
}

.news-back a:hover {
  background-color: var(--base-color);
  color: #fff;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .news-list a {
    grid-template-columns: auto auto;
    justify-content: start;
    gap: 10px 16px;
  }

  .news-title {
    grid-column: 1 / -1;
  }

  .news-back a {
    width: 100%;
    justify-content: center;
    padding: 16px 0;
  }
}
