/* ===== Page Hero ===== */
.page-hero__overlay {
  background-image: url('http://built.sincor.jp/wp-content/uploads/2026/06/news_mv.png');
  /* ← ここに背景画像のURLを入れる */
}

/* ===== News Archive ===== */
.news-archive {
  padding: 60px 0 100px;
  background: #fff;
}

.news-archive__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
}

/* カテゴリーフィルター */
.news-archive__filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.news-archive__filter-btn {
  display: inline-block;
  padding: 6px 18px;
  border: 1px solid var(--color-primary);
  border-radius: 2px;
  font-size: 0.82rem;
  color: var(--color-primary);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.news-archive__filter-btn:hover,
.news-archive__filter-btn.is-active {
  background: var(--color-primary);
  color: #fff;
}

/* 記事一覧 */
.news-archive__list {
  display: flex;
  flex-direction: column;
}

/* 記事1行 */
.news-archive__item {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: 18px 0;
  border-bottom: 1px solid #e0e0e0;
  text-decoration: none;
  transition: opacity 0.2s;
}

.news-archive__item {
  position: relative;
}

.news-archive__item::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
  transform: translateY(-50%) rotate(45deg);
}

.news-archive__item:first-child {
  border-top: 1px solid #e0e0e0;
}

.news-archive__item:hover {
  opacity: 0.7;
}

/* カテゴリーバッジ */
.news-archive__cat {
  font-size: 15px;
  color: var(--color-white);
  background-color: #96A3B0;
  padding: 7px 15px;
  border-radius: 6px;
  white-space: nowrap;
  line-height: 1;
  display: inline-flex;
  justify-content: center;
}

/* 日付 */
.news-archive__date {
  font-size: 14px;
  font-weight: 200;
  color: var(--color-text);
  white-space: nowrap;
  flex-shrink: 0;
}

/* タイトル */
.news-archive__title {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text);
}

/* 矢印 */
.news-archive__arrow {
  font-size: 1.2rem;
  color: #aaa;
  flex-shrink: 0;

  margin-left: auto;
}

/* 空メッセージ */
.news-archive__empty {
  font-size: 0.9rem;
  color: #888;
  padding: 40px 0;
  text-align: center;
}

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

.news-archive__page-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-archive__page-item a,
.news-archive__page-item span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 20px;
  color: #333;
  text-decoration: none;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}

/* PREV / NEXT */
.news-archive__page-item:first-child a,
.news-archive__page-item:last-child a {
  width: auto;
  padding: 0 8px;
  border-radius: 2px;
  font-size: 20px;
  color: var(--color-text);
}

.news-archive__page-item:first-child a:hover,
.news-archive__page-item:last-child a:hover {
  color: var(--color-primary);
}

/* 現在ページ */
.news-archive__page-item .current {
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
}

.news-archive__page-item a:hover {
  background: #e8f0f8;
  color: var(--color-primary);
}

/* レスポンシブ */
@media (max-width: 768px) {

  .news-archive__item {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
  }

  .news-archive__title {
    width: 90%;
    margin-right: auto;
  }

  .news-archive__arrow {
    display: none;
  }
}

/* ===== News Single ===== */
.news-single {
  padding: 60px 0 100px;
  background: #fff;
}

.news-single__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
}

/* カテゴリー・日付 */
.news-single__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.news-single__cat {
  font-size: 15px;
  color: var(--color-white);
  background-color: #96A3B0;
  padding: 7px 15px;
  border-radius: 6px;
  white-space: nowrap;
  line-height: 1;
  display: inline-flex;
  justify-content: center;
}

.news-single__date {
  font-size: 14px;
  color: var(--color-text-muted);
}

/* タイトル */
.news-single__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.7;
  margin: 0 0 32px;
}

/* アイキャッチ画像 */
.news-single__thumbnail {
  width: 100%;
  margin-bottom: 32px;
  background: #ccc;
}

.news-single__thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

/* 本文 */
.news-single__content {
  font-size: 0.9rem;
  color: #333;
  line-height: 2;
  margin-bottom: 60px;
}

.news-single__content p {
  margin: 0 0 1.5em;
}

.news-single__content h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 2em 0 0.8em;
}

.news-single__content h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 1.5em 0 0.6em;
}

.news-single__content img {
  max-width: 100%;
  height: auto;
  margin-bottom: 36px;
}

/* 一覧に戻るボタン */
.news-single__back {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.news-single__back-btn {
  /* display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 30px;
  transition: opacity 0.2s; */
  margin: 0 auto;
}

.news-single__back-btn:hover {
  opacity: 0.8;
}

.news-single__back-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #c8860a;
  border-radius: 50%;
  font-size: 0.9rem;
}