/* ===== ブログ一覧 ===== */
.blog-hero {
  padding: 56px 48px 40px;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
}
.blog-hero h1 {
  font-size: 26px;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 8px;
}
.blog-hero p { font-size: 14px; color: #888; }

.blog-list {
  max-width: 760px;
  margin: 48px auto 64px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px 28px;
  transition: box-shadow 0.2s;
}
.blog-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.07); }

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.blog-category {
  font-size: 11px;
  font-weight: 700;
  color: #3b82f6;
  background: #eff6ff;
  padding: 2px 10px;
  border-radius: 20px;
}
.blog-card-date { font-size: 12px; color: #bbb; }

.blog-card h2 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.5;
  margin-bottom: 8px;
}
.blog-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}

/* ページネーション */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.pagination a { border: 1px solid #e2e8f0; color: #555; }
.pagination a:hover { border-color: #3b82f6; color: #3b82f6; }
.pagination span.current { background: #3b82f6; color: white; }
.pagination span.dots { color: #bbb; }

/* ===== 記事詳細 ===== */
.article-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.article-breadcrumb {
  font-size: 12px;
  color: #bbb;
  margin-bottom: 28px;
}
.article-breadcrumb a { color: #3b82f6; text-decoration: none; }
.article-breadcrumb a:hover { text-decoration: underline; }
.article-breadcrumb span { margin: 0 4px; }

.article-header { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid #f0f0f0; }
.article-header .blog-category { margin-bottom: 12px; }
.article-header h1 {
  font-size: 26px;
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.4;
  margin-bottom: 14px;
}
.article-header .article-date { font-size: 12px; color: #bbb; }

.article-body { font-size: 15px; color: #333; line-height: 1.9; }
.article-body h2 {
  font-size: 19px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 40px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e2e8f0;
}
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px 22px; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: #1a1a2e; }
.article-body a { color: #3b82f6; }
.article-body table {
  width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 13px;
}
.article-body th {
  background: #f8faff; padding: 9px 12px;
  border: 1px solid #e2e8f0; font-weight: 700; color: #1a1a2e;
}
.article-body td { padding: 9px 12px; border: 1px solid #e2e8f0; color: #444; }

/* CTA */
.article-cta {
  margin-top: 48px;
  background: #1a1a2e;
  border-radius: 12px;
  padding: 36px 32px;
  text-align: center;
}
.article-cta h3 { font-size: 18px; font-weight: 700; color: white; margin-bottom: 8px; }
.article-cta p { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 20px; line-height: 1.7; }
.article-cta a {
  display: inline-block;
  background: #3b82f6;
  color: white;
  padding: 11px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: background 0.2s;
}
.article-cta a:hover { background: #2563eb; }

/* 前後ナビ */
.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}
.article-nav a {
  display: block;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px 18px;
  text-decoration: none;
  transition: border-color 0.2s;
}
.article-nav a:hover { border-color: #3b82f6; }
.article-nav .nav-label { font-size: 11px; color: #bbb; margin-bottom: 4px; }
.article-nav .nav-title { font-size: 13px; font-weight: 600; color: #1a1a2e; line-height: 1.4; }
.article-nav .nav-next { text-align: right; }

@media (max-width: 768px) {
  .blog-hero { padding: 36px 20px 28px; }
  .blog-list { padding: 0 16px; margin-top: 32px; }
  .blog-card { padding: 18px 20px; }
  .article-page { padding: 28px 16px 60px; }
  .article-header h1 { font-size: 20px; }
  .article-body { font-size: 14px; }
  .article-nav { grid-template-columns: 1fr; }
  .article-cta { padding: 28px 20px; }
}
