@charset "UTF-8";

/* ===================================================================
   blog.css - ブログ機能専用スタイルシート
   =================================================================== */

/* -------------------------------------------------------------------
   1. ブログ用CSS変数 & カテゴリカラー定義
   ------------------------------------------------------------------- */
:root {
  /* 既存共通変数のフォールバック設定 */
  --primary-color: #0A1E3E;
  --secondary-color: #72AEE6;
  --text-color: #333333;
  --bg-color: #f4f7f6;
  --card-bg-color: #ffffff;

  /* カテゴリ別アクセントカラー */
  --cat-international-trade: #3b82f6; /* 貿易＝輸入＋輸出（ブルー） */
  --cat-laser-pointer: #ef4444;       /* レーザーポインター・安全対策（レッド） */
  --cat-monozukuri: #10b981;          /* ものづくり・技術開発（グリーン） */
  --cat-business-insights: #8b5cf6;   /* ビジネスインサイト（パープル） */
}

/* -------------------------------------------------------------------
   カテゴリバッジ・ユーティリティ（共通クラス）
   ------------------------------------------------------------------- */
.category-badge,
.blog-card__category {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  border-radius: 20px;
  background-color: var(--secondary-color);
  line-height: 1.4;
  white-space: nowrap;
}

.category-badge.international-trade,
.blog-card__category.international-trade,
[data-category="international-trade"] {
  background-color: var(--cat-international-trade);
}

.category-badge.laser-pointer,
.blog-card__category.laser-pointer,
[data-category="laser-pointer"] {
  background-color: var(--cat-laser-pointer);
}

.category-badge.monozukuri,
.blog-card__category.monozukuri,
[data-category="monozukuri"] {
  background-color: var(--cat-monozukuri);
}

.category-badge.business-insights,
.blog-card__category.business-insights,
[data-category="business-insights"] {
  background-color: var(--cat-business-insights);
}

/* -------------------------------------------------------------------
   2. ブログ一覧ページ (blog/index.html)
   ------------------------------------------------------------------- */

/* 2-1. ヒーローセクション（フルスクリーン画像＋オーバーレイ） */
.blog-hero {
  position: relative;
  height: 420px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
  overflow: hidden;
}

.blog-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.blog-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 30, 62, 0.75) 0%, rgba(26, 54, 93, 0.6) 50%, rgba(10, 30, 62, 0.8) 100%);
  z-index: 1;
}

.blog-hero__particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.blog-hero__content {
  position: relative;
  z-index: 3;
}

.blog-hero__label {
  font-family: 'Inter', 'Bebas Neue', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 8px 0;
  animation: fadeInDown 0.8s ease-out;
}

.blog-hero__title {
  font-family: 'Bebas Neue', 'Teko', sans-serif;
  font-size: 5rem;
  font-weight: 700;
  margin: 0 0 16px 0;
  line-height: 1;
  color: #ffffff;
  letter-spacing: 0.12em;
  text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 0.8s ease-out;
}

.blog-hero__subtitle {
  font-size: 1rem;
  line-height: 1.8;
  opacity: 0.9;
  margin: 0;
  color: #ffffff;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.blog-hero__divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), rgba(114, 174, 230, 0.3));
  margin: 20px auto 0;
  border-radius: 2px;
  animation: fadeInUp 1.2s ease-out 0.4s both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 2-2. フィルターエリア */
.blog-filters {
  max-width: 1280px;
  margin: 40px auto 32px;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.filter-btn {
  display: inline-block;
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-color);
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
}

.filter-btn:hover {
  background-color: #f1f5f9;
  border-color: var(--secondary-color);
  color: var(--primary-color);
}

.filter-btn.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
}

.tag-chip {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.8rem;
  color: #64748b;
  background-color: #e2e8f0;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.tag-chip:hover {
  background-color: #cbd5e1;
  color: var(--primary-color);
}

.tag-chip.active {
  background-color: var(--secondary-color);
  color: #ffffff;
}

/* 2-3. 記事カードのグリッドレイアウト */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto 60px;
  padding: 0 20px;
  box-sizing: border-box;
}

/* 2-4. 記事カード */
.blog-card {
  background-color: var(--card-bg-color, #ffffff);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.blog-card__image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #e2e8f0;
}

.blog-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card__image {
  transform: scale(1.03);
}

.blog-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card__category {
  align-self: flex-start;
  margin-bottom: 12px;
}

.blog-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.4;
  margin: 0 0 10px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__excerpt {
  font-size: 0.9rem;
  color: #666666;
  line-height: 1.6;
  margin: 0 0 16px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.blog-card__meta {
  font-size: 0.8rem;
  color: #999999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

.blog-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.blog-card__tag {
  font-size: 0.7rem;
  color: #64748b;
  background-color: #f1f5f9;
  padding: 2px 8px;
  border-radius: 9999px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.blog-card__tag:hover {
  background-color: var(--secondary-color);
  color: #ffffff;
}

/* 2-5. Coming Soon（記事0件時の表示） */
.blog-welcome {
  max-width: 960px;
  margin: 0 auto;
  padding: 60px 20px 80px;
  text-align: center;
  box-sizing: border-box;
}

.welcome-header {
  margin-bottom: 48px;
}

.welcome-badge {
  display: inline-block;
  font-family: 'Inter', 'Bebas Neue', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--secondary-color);
  background: rgba(114, 174, 230, 0.1);
  border: 1px solid rgba(114, 174, 230, 0.3);
  padding: 6px 20px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.welcome-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 16px 0;
  line-height: 1.4;
}

.welcome-text {
  font-size: 1rem;
  color: #666666;
  line-height: 1.9;
  margin: 0;
}

.category-section-title {
  font-size: 1rem;
  font-weight: 600;
  color: #999;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 24px 0;
  position: relative;
}

.category-section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--secondary-color);
  margin: 12px auto 0;
  border-radius: 1px;
}

.category-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: left;
}

.category-preview-card {
  background-color: var(--card-bg-color, #ffffff);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  border-top: 4px solid var(--cat-color, var(--secondary-color));
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.category-preview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(var(--cat-color-rgb, 114, 174, 230), 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.category-preview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.cat-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cat-color, var(--secondary-color)), rgba(var(--cat-color-rgb, 114, 174, 230), 0.7));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.cat-icon-wrapper i {
  font-size: 1.3rem;
  color: #ffffff;
}

.category-preview-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 8px 0;
}

.category-preview-card p {
  font-size: 0.9rem;
  color: #666666;
  line-height: 1.7;
  margin: 0 0 12px 0;
}

.cat-tag {
  font-size: 0.75rem;
  color: #999;
  font-family: 'Inter', monospace;
  letter-spacing: 0.03em;
}

/* 2-6. スクロールフェードインアニメーション */
.fade-in-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.no-results {
  text-align: center;
  font-size: 1rem;
  color: #999;
  padding: 40px 0;
}

/* -------------------------------------------------------------------
   3. ブログ記事ページ (blog/article.html)
   ------------------------------------------------------------------- */

/* 3-1. 記事ページラッパー & 全体配置 */
.blog-article {
  padding-top: 100px;
}

.blog-article article {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px 80px;
  box-sizing: border-box;
}

/* パンくずリスト */
.breadcrumb {
  font-size: 0.85rem;
  color: #666666;
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumb a {
  color: #666666;
  font-weight: 400;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.breadcrumb span.separator {
  color: #999999;
}

/* 記事タイトル */
.blog-article h1 {
  font-size: 2.2rem;
  color: var(--primary-color);
  line-height: 1.4;
  font-weight: 700;
  margin: 0 0 20px 0;
}

/* メタ情報 */
.article-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.article-meta time {
  color: #666666;
  font-size: 0.9rem;
}

.article-meta .tag-list {
  display: flex;
  gap: 8px;
  align-items: center;
}

.article-meta .tag-list span,
.article-meta .tag-list a {
  font-size: 0.8rem;
  color: #64748b;
  background-color: #e2e8f0;
  padding: 2px 10px;
  border-radius: 9999px;
  text-decoration: none;
}

/* セクション共通（本文等の最大幅780px設定） */
.article-intro,
.article-body,
.article-closing {
  max-width: 780px;
  margin: 0 auto;
  padding: 32px 0;
  box-sizing: border-box;
}

.article-intro {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444444;
  padding-top: 0;
}

/* ブレイクアウト（1080px表示要素） */
.breakout,
.hero-image-wrapper,
.closing-image-wrapper,
.article-body .mermaid,
.article-body .svg-chart {
  max-width: 1080px;
  margin: 32px auto;
  width: 100%;
  box-sizing: border-box;
}

/* 画像コンテナ */
.hero-image-wrapper,
.closing-image-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background-color: #e2e8f0;
}

.hero-image-wrapper img,
.closing-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ロゴオーバーレイ */
.logo-overlay {
  position: absolute;
  right: 16px;
  bottom: 16px;
  opacity: 0.4;
  width: 80px;
  pointer-events: none;
}

/* 記事本文内の見出し・要素 */
.article-body h2 {
  font-size: 1.7rem;
  color: var(--primary-color);
  padding-bottom: 12px;
  border-bottom: 3px solid var(--secondary-color);
  margin-top: 48px;
  margin-bottom: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.article-body h3 {
  font-size: 1.3rem;
  padding-left: 16px;
  border-left: 4px solid var(--secondary-color);
  margin-top: 32px;
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--primary-color);
}

.article-body p {
  line-height: 1.9;
  margin-bottom: 24px;
  color: var(--text-color);
  font-size: 1rem;
}

/* 表スタイル (styled-table 準拠) */
.article-body table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 30px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.article-body table th,
.article-body table td {
  border: 1px solid #dee2e6;
  padding: 15px;
  text-align: left;
  vertical-align: top;
}

.article-body table thead th,
.article-body table th {
  background-color: var(--secondary-color);
  color: #ffffff;
  font-weight: 700;
  white-space: nowrap;
}

.article-body table tbody tr:nth-child(even) {
  background-color: #f8f9fa;
}

.article-body table tbody tr:hover {
  background-color: #e9ecef;
}

/* 表のレスポンシブコンテナ用 */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 30px 0;
}

/* Mermaid & SVG コンテナ */
.article-body .mermaid {
  text-align: center;
  overflow-x: auto;
  padding: 20px 0;
}

.article-body .svg-chart {
  text-align: center;
  overflow-x: auto;
  padding: 20px 0;
}

/* Mermaidフローチャート 最小フォントサイズ保証（16px以上） */
.article-body .mermaid text,
.article-body .mermaid .nodeLabel,
.article-body .mermaid .edgeLabel,
.article-body .mermaid .label {
  font-size: 16px !important;
  font-family: 'Noto Sans JP', 'M PLUS Rounded 1c', sans-serif !important;
}

/* -------------------------------------------------------------------
   4. CTA（行動喚起）セクション
   ------------------------------------------------------------------- */
.article-cta {
  background: linear-gradient(135deg, #0A1E3E 0%, #1A365D 100%);
  color: #ffffff;
  border-radius: 20px;
  max-width: 780px;
  margin: 48px auto;
  box-shadow: 0 15px 35px rgba(10, 30, 62, 0.2);
  position: relative;
  overflow: hidden;
}

.article-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(114, 174, 230, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-card {
  padding: 40px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-card h2,
.cta-card h3 {
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 16px 0;
  border: none;
  padding: 0;
}

.cta-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 28px 0;
}

.cta-button {
  display: inline-block;
  background-color: #ffffff;
  color: var(--primary-color);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 40px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.cta-button:hover {
  background-color: var(--secondary-color);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* -------------------------------------------------------------------
   5. 著者カード
   ------------------------------------------------------------------- */
.author-card {
  display: flex;
  align-items: center;
  background-color: var(--card-bg-color, #ffffff);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  max-width: 780px;
  margin: 48px auto;
  padding: 24px;
  gap: 20px;
  box-sizing: border-box;
}

.author-logo {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background-color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info {
  flex-grow: 1;
}

.author-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 6px 0;
  border: none;
  padding: 0;
}

.author-info p {
  font-size: 0.9rem;
  color: #666666;
  line-height: 1.6;
  margin: 0 0 8px 0;
}

.author-info a {
  color: var(--secondary-color);
  font-size: 0.9rem;
  text-decoration: none;
}

.author-info a:hover {
  text-decoration: underline;
}

/* -------------------------------------------------------------------
   7. 図表ズーム操作UI
   ------------------------------------------------------------------- */
.chart-zoom-wrapper {
  position: relative;
  margin: 32px auto;
}

.chart-zoom-controls {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  gap: 4px;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.chart-zoom-wrapper:hover .chart-zoom-controls {
  opacity: 1;
}

.chart-zoom-btn {
  width: 32px;
  height: 32px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-size: 0.9rem;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  padding: 0;
  line-height: 1;
}

.chart-zoom-btn:hover {
  background-color: #f1f5f9;
  border-color: var(--secondary-color);
  color: var(--primary-color);
}

/* SVG全般の最小フォントサイズ保証（16px） */
.article-body svg text,
.article-body .svg-chart text {
  font-size: 16px;
  font-family: 'Noto Sans JP', 'M PLUS Rounded 1c', sans-serif;
}

/* -------------------------------------------------------------------
   8. 静的マインドマップ（案件管理台帳カラーパレット）
   ------------------------------------------------------------------- */
.mindmap-static {
  max-width: 1080px;
  margin: 32px auto;
  text-align: center;
  overflow-x: auto;
  padding: 20px 0;
}

.mindmap-static svg {
  max-width: 100%;
  height: auto;
}

/* Mermaid mindmap ノードカラー上書き（案件管理台帳カラーパレット） */
.article-body .mermaid .mindmap-node rect {
  rx: 8;
  ry: 8;
}

/* -------------------------------------------------------------------
   9. 日付のパンくず右端表示
   ------------------------------------------------------------------- */
.breadcrumb {
  justify-content: flex-start;
}

.breadcrumb time {
  margin-left: auto;
  font-size: 0.75rem;
  color: #999999;
  white-space: nowrap;
  flex-shrink: 0;
}

/* -------------------------------------------------------------------
   10. タグクラウド（一覧ページ用）
   ------------------------------------------------------------------- */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  padding: 0;
}

.tag-cloud__item {
  display: inline-block;
  padding: 4px 14px;
  color: #64748b;
  background-color: #e2e8f0;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  border: none;
  font-family: inherit;
  line-height: 1.4;
}

.tag-cloud__item:hover {
  background-color: #cbd5e1;
  color: var(--primary-color);
}

.tag-cloud__item.active {
  background-color: var(--secondary-color);
  color: #ffffff;
}

/* タグサイズ3段階（記事数に応じて data-tag-scale を付与） */
.tag-cloud__item[data-tag-scale="1"] {
  font-size: 0.75rem;
}

.tag-cloud__item[data-tag-scale="2"] {
  font-size: 0.85rem;
  font-weight: 500;
}

.tag-cloud__item[data-tag-scale="3"] {
  font-size: 1rem;
  font-weight: 600;
}

/* 記事ページ内タグ（リンク化対応） */
.article-meta .tag-list a {
  transition: all 0.2s ease;
}

.article-meta .tag-list a:hover {
  background-color: var(--secondary-color);
  color: #ffffff;
}

/* -------------------------------------------------------------------
   6. レスポンシブ対応
   ------------------------------------------------------------------- */

/* タブレットサイズ（900px以下） */
@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .blog-hero {
    height: 250px;
  }

  .blog-hero__title {
    font-size: 1.8rem;
  }

  .blog-article h1 {
    font-size: 1.8rem;
  }

  .article-body h2 {
    font-size: 1.4rem;
    margin-top: 36px;
  }

  .article-body h3 {
    font-size: 1.15rem;
    margin-top: 24px;
  }

  .cta-card {
    padding: 32px 24px;
  }

  .cta-card h2,
  .cta-card h3 {
    font-size: 1.4rem;
  }
}

/* モバイルサイズ（600px以下） */
@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blog-hero {
    height: 200px;
    padding: 0 16px;
  }

  .blog-hero__title {
    font-size: 1.5rem;
  }

  .blog-hero__subtitle {
    font-size: 0.85rem;
  }

  .blog-filters {
    margin: 24px auto 20px;
    padding: 0 16px;
  }

  .welcome-title {
    font-size: 1.4rem;
  }

  .category-preview {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .blog-article {
    padding-top: 80px;
  }

  .blog-article article {
    padding: 0 16px 60px;
  }

  .blog-article h1 {
    font-size: 1.5rem;
  }

  .article-intro,
  .article-body,
  .article-closing {
    padding: 20px 0;
  }

  .article-body h2 {
    font-size: 1.25rem;
  }

  .article-body h3 {
    font-size: 1.05rem;
  }

  .article-cta {
    border-radius: 12px;
    margin: 32px auto;
  }

  .cta-card {
    padding: 24px 16px;
  }

  .cta-card h2,
  .cta-card h3 {
    font-size: 1.25rem;
  }

  .cta-button {
    padding: 12px 28px;
    font-size: 0.95rem;
    width: 100%;
    box-sizing: border-box;
  }

  .author-card {
    flex-direction: column;
    text-align: center;
    padding: 20px 16px;
  }

  .author-logo {
    margin: 0 auto;
  }
}
