@charset "UTF-8";

/* ==========================================================================
   お知らせ一覧ページ (news/index.html) スタイル
   ========================================================================== */

/* --------------------------------------------------------------------------
   Layout & Container
   -------------------------------------------------------------------------- */
.news-main {
  width: 100%;
  background-color: #fcfbfa; /* 和風に合う温かみのある背景色 */
  padding-bottom: 80px;
}

.news-main .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --------------------------------------------------------------------------
   Hero Area (ページヘッダー)
   -------------------------------------------------------------------------- */
.news-hero {
  padding: 60px 0 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg-light, #fbf9f6);
  margin-bottom: 60px;
}

.news-hero .page-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  color: var(--color-primary, #1a3d32);
  line-height: 1;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

.news-hero .page-subtitle {
  font-size: 4.5rem;
  font-weight: 900;
  color: rgba(26, 61, 50, 0.03);
  letter-spacing: 0.1em;
  font-family: 'Montserrat', sans-serif;
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  white-space: nowrap;
  display: inline-block;
  padding: 0;
  margin: 0;
  text-transform: uppercase;
}

.news-hero .page-subtitle::before,
.news-hero .page-subtitle::after {
  display: none !important;
}

/* --------------------------------------------------------------------------
   News List Section (一覧エリア)
   -------------------------------------------------------------------------- */
.news-content-section {
  padding: 0 0 40px;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0 0 50px;
  border-top: 1px solid #e0dcd5;
}

.news-list li {
  border-bottom: 1px solid #e0dcd5;
  transition: background-color 0.25s ease;
}

.news-list li:hover {
  background-color: #f5f0eb;
}

.news-list li a {
  display: flex;
  align-items: center;
  padding: 24px 16px;
  text-decoration: none;
  color: #333333;
  gap: 24px;
}

/* メタ情報（日付・カテゴリー） */
.news-list .news-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.news-list .date {
  font-size: 0.95rem;
  font-weight: 600;
  color: #666666;
  letter-spacing: 0.05em;
}

.news-list .category {
  display: inline-block;
  background-color: #a02828; /* ブランドの赤系 */
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 2px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* タイトルテキスト */
.news-list .title {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
  color: #222222;
  transition: color 0.25s ease;
  flex-grow: 1;
}

.news-list li a:hover .title {
  color: #a02828;
}

/* --------------------------------------------------------------------------
   Pagination (ページネーション)
   -------------------------------------------------------------------------- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  color: #333333;
  background-color: #ffffff;
  border: 1px solid #dcd7d0;
  transition: all 0.2s ease;
}

.pagination .page-numbers.current {
  background-color: #a02828;
  color: #ffffff;
  border-color: #a02828;
}

.pagination a.page-numbers:hover {
  background-color: #f0eae1;
  border-color: #c0b5a5;
}

/* --------------------------------------------------------------------------
   Responsive (スマートフォン対応: ~768px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 992px) {
  .news-hero {
    padding: 50px 0 25px;
  }

  .news-hero .page-title {
    font-size: 2.2rem;
  }

  .news-hero .page-subtitle {
    font-size: 3.8rem;
  }
}

@media screen and (max-width: 768px) {
  .news-list li a {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 8px;
  }

  .news-list .news-meta {
    gap: 12px;
  }

  .news-list .date {
    font-size: 0.85rem;
  }

  .news-list .category {
    font-size: 0.7rem;
    padding: 2px 8px;
  }

  .news-list .title {
    font-size: 0.95rem;
  }
}

@media screen and (max-width: 576px) {
  .news-hero {
    padding: 45px 0 20px;
    margin-bottom: 30px;
  }

  .news-hero .page-title {
    font-size: 2rem;
    letter-spacing: 0.25em;
    text-indent: 0.25em;
  }

  .news-hero .page-subtitle {
    font-size: 3.2rem;
  }
}