@charset "utf-8";

/* ==========================================
   NEWS共通スタイル
   ========================================== */

/* 画面下部フッター固定用のレイアウト調整 */
html, body {
  height: 100%;
  margin: 0;
}

.system-body-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content-wrapper {
  flex: 1 0 auto;
}

.site-footer {
  flex-shrink: 0;
}

/* ページ上部ロゴ */
.info-header-logo {
  text-align: center;
  padding: 0 0 4rem;
}
.info-header-logo img {
  max-width: 180px;
  height: auto;
}

/* content-section パディング調整 */
.content-section {
  padding: 0 1rem 4rem;
}


/* ==========================================
   1. NEWS個別記事ページ専用スタイル
   ========================================== */

.news-detail-container {
  max-width: 900px;
  margin: 0 auto;
}
.news-detail-header {
  border-bottom: 1px solid #CCCCCC;
  padding-bottom: 2rem;
  margin-bottom: 3rem;
}
.news-detail-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.news-detail-title {
  font-size: 1.5rem;
  line-height: 1.5;
  letter-spacing: 0.08em;
  font-weight: 500;
}
@media (min-width: 768px) {
  .news-detail-title {
    font-size: 2.25rem;
  }
}
.news-detail-body {
  font-size: 1rem;
  line-height: 2.2;
  letter-spacing: 0.08em;
}
.news-detail-body p {
  margin-bottom: 2rem;
}

/* 画像見切れ防止ブロック */
.news-detail-image-block {
  margin: 2.5rem 0;
  border: 1px solid #CCCCCC;
  width: 100%;
}
.news-detail-image-block img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* 下部ボタン群 (SP: 縦並び / PC: 横並び) */
.news-detail-btn-container {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.news-detail-btn-container .btn-collision {
  width: 100%;
  max-width: 280px;
}
@media (min-width: 1024px) {
  .news-detail-btn-container {
    margin-top: 6rem;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }
  .news-detail-btn-container .btn-collision {
    width: 240px;
  }
}


/* ==========================================
   2. NEWS一覧ページ専用スタイル
   ========================================== */

.news-page-container {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

/* ページナビゲーションエリア */
.page-nav-wrapper {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
@media (min-width: 1024px) {
  .page-nav-wrapper {
    margin-top: 6rem;
  }
}
.page-nav-wrapper .btn-collision {
  width: 100% !important;
  max-width: 280px !important;
  margin: 0 auto !important;
}

/* ページネーション UI */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 3rem;
  font-family: 'Inter', sans-serif;
}
.pagination-container button {
  background-color: transparent;
  border: 1px solid #111;
  color: #111;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  font-size: 13px;
  letter-spacing: 0.05em;
  cursor: pointer;
  border-radius: 0;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pagination-container button:hover {
  background-color: #111;
  color: #fff;
}
.pagination-container button.active {
  background-color: #111;
  color: #fff;
  border-color: #111;
  font-weight: bold;
}