/* =======================================================
   パンくずリスト（既存デザインを統合）
   ======================================================= */
.breadcrumb {
  background: linear-gradient(to bottom, #ffffff 0%, #f5f5f5 100%);
  padding: 10px 0;
  border-bottom: 2px solid #e0e0e0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.breadcrumb .container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 20px;
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.breadcrumb li {
  font-size: 13px;
  color: #555;
  font-weight: 500;
  display: flex;
  align-items: center;
}
.breadcrumb li:not(:last-child)::after {
  content: '|';
  margin: 0 15px;
  color: #666;
  font-weight: normal;
}
.breadcrumb a {
  color: #003d82;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 5px 10px;
  border-radius: 4px;
}
.breadcrumb a:hover {
  background-color: #003d82;
  color: #ffffff;
  transform: translateY(-1px);
}
.breadcrumb li:last-child {
  color: #333;
  font-weight: 600;
}

/* =======================================================
   Notion連携エリア（共通ラッパー）
   ======================================================= */
#notion-blog-area {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}
.hidden { display: none !important; }

/* =======================================================
   一覧カード（4カラム対応デザイン）
   ======================================================= */
#news-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 28px;
  padding: 20px 0;
}

/* カード */
.news-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* サムネイル */
.news-card img,
.news-card .thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #e5ecf5; /* ほんのり青みの背景 */
}

/* テキスト部 */
.news-info {
  padding: 16px 18px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.news-date {
  font-size: 13px;
  color: #666;
  margin-bottom: 5px;
}
.news-card h3 {
  font-size: 17px;
  line-height: 1.5;
  color: #003d82;
  margin: 0 0 8px;
  font-weight: 600;
  border-left: 4px solid #003d82;
  padding-left: 8px;
}
.news-summary {
  font-size: 14px;
  color: #333;
  line-height: 1.7;
  margin-top: auto;
}
.news-summary .more {
  color: #003d82;
  font-weight: 600;
  margin-left: 3px;
}

/* =======================================================
   記事ページ
   ======================================================= */
#news-detail .post h1 {
  font-size: clamp(22px, 3.2vw, 36px);
  margin-bottom: 8px;
}
#news-detail .post-date {
  color: #666;
  margin-bottom: 24px;
}
#news-detail .post-body p {
  line-height: 1.9;
  font-size: 16px;
  color: #222;
  margin: 1em 0;
}
#news-detail .post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
}
#news-detail .post-body blockquote {
  margin: 1.2em 0;
  padding: 12px 16px;
  background: #f7f8fb;
  border-left: 4px solid #dbe3ff;
  border-radius: 6px;
}

/* =======================================================
   一覧へ戻るボタン
   ======================================================= */
.back-btn { margin-top: 40px; text-align: center; }
.back-btn button {
  background: #003d82;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  cursor: pointer;
  font-size: 15px;
  transition: background .2s ease;
}
.back-btn button:hover { background: #00275e; }

/* =======================================================
   レスポンシブ
   ======================================================= */
@media (max-width: 1024px) {
  #news-list { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}
@media (max-width: 768px) {
  #news-list { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}
@media (max-width: 599px) {
  #news-list { grid-template-columns: 1fr; gap: 20px; }
  .news-card h3 { font-size: 16px; }
  .news-info { padding: 14px; }
}

/* NEWバッジ */
.badge-new {
  display: inline-block;
  background: #ff3b30;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
  letter-spacing: .5px;
}

/* =========================================
   Pagination（たいわGC シンプル・ボタンのみ）
========================================= */
.news-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 50px auto;
  padding: 0;
  background: none;            /* ← 背景なし */
  border: none;                /* ← 枠線も削除 */
}

/* Prev / Next / 数字ボタン共通 */
.news-pager button {
  background: #fff;
  border: 1px solid #cfd6ea;
  color: #0033cc;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  min-width: 38px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* ホバー時 */
.news-pager button:hover:not(:disabled) {
  background: #0033cc;
  color: #fff;
  border-color: #0033cc;
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 現在のページ */
.news-pager .pager-num.is-current {
  background: #0033cc;
  color: #fff;
  font-weight: 700;
  border-color: #0033cc;
  cursor: default;
  transform: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* 無効状態（Prev/Next） */
.news-pager button:disabled {
  background: #fff;
  border-color: #ddd;
  color: #aaa;
  cursor: default;
  box-shadow: none;
}

/* 数字の間の「…」 */
.news-pager .pager-sep {
  color: #999;
  font-size: 15px;
  padding: 0 4px;
}

/* ページナンバーのまとまり */
.news-pager .pager-numbers {
  display: flex;
  gap: 4px;
}

/* 小さい画面でのレスポンシブ調整 */
@media (max-width: 600px) {
  .news-pager {
    gap: 6px;
    margin: 30px auto;
  }
  .news-pager button {
    font-size: 14px;
    padding: 6px 10px;
    min-width: 32px;
  }
}

/* ===== Pagination：たいわGC ボタンのみ・確定版 ===== */

/* コンテナ（帯背景なし） */
#news-pager {
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
}

/* 内側ラッパー */
#news-pager .news-pager {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 40px auto !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Prev/Next/数字 共通ボタン */
#news-pager .news-pager button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 38px !important;
  padding: 8px 14px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  color: #0033cc !important;
  background: #fff !important;
  border: 1px solid #cfd6ea !important;
  border-radius: 6px !important;
  box-shadow: 0 1px 2px rgba(0,0,0,.05) !important;
  cursor: pointer !important;
  transition: all .25s ease !important;
}

/* ホバー */
#news-pager .news-pager button:hover:not(:disabled) {
  background: #0033cc !important;
  color: #fff !important;
  border-color: #0033cc !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 2px 5px rgba(0,0,0,.1) !important;
}

/* 現在ページ */
#news-pager .news-pager .pager-num.is-current {
  background: #0033cc !important;
  color: #fff !important;
  border-color: #0033cc !important;
  font-weight: 700 !important;
  cursor: default !important;
  transform: none !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.1) !important;
}

/* 無効ボタン（Prev/Next） */
#news-pager .news-pager button:disabled {
  background: #fff !important;
  border-color: #ddd !important;
  color: #aaa !important;
  box-shadow: none !important;
  transform: none !important;
  cursor: default !important;
}

/* 数字の省略「…」と並び */
#news-pager .news-pager .pager-sep { color:#999 !important; padding:0 4px !important; }
#news-pager .news-pager .pager-numbers { display:flex !important; gap:4px !important; }

/* スマホ調整 */
@media (max-width: 600px) {
  #news-pager .news-pager { gap:6px !important; margin:30px auto !important; }
  #news-pager .news-pager button { font-size:14px !important; padding:6px 10px !important; min-width:32px !important; }
}




