/* ============================================================
   ウェブサポーターズ™ — メインスタイルシート
   カラーパレット:
     Navy  : #1b365d
     Orange: #ff7f27
     BG    : #f2f4f6
     White : #ffffff
   ============================================================ */

/* ── リセット & ベース ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #1b365d;
  --navy-dark:   #122545;
  --navy-light:  #2a4f8a;
  --orange:      #ff7f27;
  --orange-dark: #e06010;
  --bg:          #f2f4f6;
  --bg-card:     #ffffff;
  --text:        #333333;
  --text-muted:  #6b7280;
  --border:      #e2e8f0;
  --premium:     #f59e0b;
  --radius:      10px;
  --radius-lg:   16px;
  --shadow:      0 2px 12px rgba(0,0,0,.07);
  --shadow-lg:   0 8px 32px rgba(0,0,0,.12);
  --transition:  0.2s ease;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', "游ゴシック体", YuGothic, "Hiragino Kaku Gothic ProN", sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--orange); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange-dark); }
img { max-width: 100%; height: auto; }
button { cursor: pointer; font-family: inherit; }

.l-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── フラッシュメッセージ ─────────────────────────────────── */
.flash {
  position: fixed;
  top: 1rem; right: 1rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 420px;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 1;
  transition: opacity 0.4s;
  animation: slideIn 0.3s ease;
}
@keyframes slideIn { from { transform: translateX(120%); } to { transform: none; } }
.flash--success { background: #ecfdf5; border-left: 4px solid #10b981; color: #065f46; }
.flash--error   { background: #fef2f2; border-left: 4px solid #ef4444; color: #7f1d1d; }
.flash__close { background: none; border: none; font-size: 1.2rem; color: inherit; opacity: 0.5; margin-left: auto; }
.flash__close:hover { opacity: 1; }

/* ── ヘッダー ─────────────────────────────────────────────── */
.site-header {
  background: var(--bg-card);
  border-bottom: 3px solid var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(27,54,93,0.1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}

/* ロゴ */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.logo-mark {
  width: 36px; height: 36px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.logo-mark--sm { width: 28px; height: 28px; font-size: 0.9rem; border-radius: 6px; }
.logo-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

/* ナビ */
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-link:hover, .nav-link--active {
  background: rgba(27,54,93,0.07);
  color: var(--navy);
}
.nav-link--admin { color: var(--orange); }
.nav-link--admin:hover { background: rgba(255,127,39,0.1); color: var(--orange-dark); }
.nav-btn {
  padding: 0.45rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition);
}
.nav-btn--ghost {
  border: 1.5px solid var(--navy);
  color: var(--navy);
}
.nav-btn--ghost:hover { background: var(--navy); color: #fff; }
.nav-btn--primary {
  background: var(--orange);
  color: #fff;
}
.nav-btn--primary:hover { background: var(--orange-dark); transform: translateY(-1px); }

/* バッジ */
.badge {
  display: inline-block;
  padding: 0.1em 0.45em;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.4;
}
.badge--premium { background: var(--premium); color: #fff; }
.badge--free    { background: var(--text-muted); color: #fff; }

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.25s;
}

/* ── メイン ────────────────────────────────────────────────── */
.site-main { flex: 1; padding: 2rem 0 3rem; }

/* ── フッター ──────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 2.5rem 0 1.5rem;
  margin-top: auto;
}
.footer-inner {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.footer-brand { flex: 1; display: flex; flex-direction: column; gap: 0.35rem; }
.footer-name { color: #fff; font-weight: 700; font-size: 1rem; }
.footer-tagline { font-size: 0.8rem; opacity: 0.7; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.footer-nav a { color: rgba(255,255,255,0.7); font-size: 0.875rem; }
.footer-nav a:hover { color: #fff; }
.footer-copy { font-size: 0.75rem; opacity: 0.5; text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1rem; }

/* ── カード ─────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  transition: box-shadow var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); }

/* ── セクションタイトル ─────────────────────────────────────── */
.section-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  padding-left: 0.75rem;
  border-left: 3px solid var(--orange);
  margin-bottom: 1.25rem;
}

/* ── ボタン ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(27,54,93,.25); }
.btn--orange  { background: var(--orange); color: #fff; }
.btn--orange:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn--ghost   { background: transparent; border: 1.5px solid var(--border); color: var(--text); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--danger  { background: #ef4444; color: #fff; }
.btn--danger:hover { background: #dc2626; }
.btn--sm { padding: 0.35rem 0.9rem; font-size: 0.8rem; }

/* ── フォーム ────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.65rem 0.875rem;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,54,93,0.1);
}
.form-textarea { min-height: 130px; resize: vertical; }
.form-hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.3rem; }
.form-error-msg {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 6px;
  padding: 0.875rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  color: #7f1d1d;
}
.form-error-msg ul { padding-left: 1.25rem; margin: 0.25rem 0 0; }

/* ── アラート ────────────────────────────────────────────────── */
.alert {
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.alert--info    { background: #eff6ff; border-left: 4px solid #3b82f6; color: #1e3a5f; }
.alert--warning { background: #fffbeb; border-left: 4px solid var(--premium); color: #78350f; }
.alert--danger  { background: #fef2f2; border-left: 4px solid #ef4444; color: #7f1d1d; }

/* ── テーブル ────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.table th, .table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.table th {
  background: var(--bg);
  font-weight: 700;
  color: var(--navy);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.table tr:hover td { background: rgba(27,54,93,0.02); }

/* ── ページネーション ─────────────────────────────────────── */
.pagination {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 2rem;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  color: var(--text);
  transition: all var(--transition);
}
.pagination a:hover { border-color: var(--navy); color: var(--navy); }
.pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ── フォーラム スレッド行 ─────────────────────────────────── */
.thread-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: background var(--transition);
}
.thread-row:last-child { border-bottom: none; }
.thread-row:hover { background: rgba(27,54,93,0.03); }
.thread-row--pinned { background: rgba(255,127,39,0.04); }
.thread-icon { font-size: 1.3rem; flex-shrink: 0; }
.thread-info { flex: 1; min-width: 0; }
.thread-title {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.thread-meta { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.2rem; }
.thread-replies {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: right;
  flex-shrink: 0;
}
.thread-replies strong { display: block; font-size: 1.1rem; color: var(--navy); }

/* ── カテゴリカード ────────────────────────────────────────── */
.cat-card {
  display: block;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-decoration: none;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.cat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  background: var(--navy);
}
.cat-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.cat-card--premium::before { background: linear-gradient(90deg, var(--premium), var(--orange)); }
.cat-card__icon  { font-size: 2rem; margin-bottom: 0.75rem; }
.cat-card__name  { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 0.25rem; }
.cat-card__desc  { font-size: 0.82rem; color: var(--text-muted); }
.cat-card__meta  { display: flex; gap: 1rem; margin-top: 0.75rem; font-size: 0.78rem; color: var(--text-muted); }

/* ── 会員バッジ ────────────────────────────────────────────── */
.member-level { display: inline-flex; align-items: center; gap: 0.3rem; }
.level-badge {
  padding: 0.15em 0.5em;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
}
.level-badge--premium { background: linear-gradient(135deg, #f59e0b, #ef4444); color: #fff; }
.level-badge--free    { background: var(--border); color: var(--text-muted); }

/* ── 認証ページ ────────────────────────────────────────────── */
.auth-page { min-height: calc(100vh - 200px); display: flex; align-items: center; }
.auth-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}
.auth-box__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.auth-box__subtitle { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1.75rem; }
.auth-divider { text-align: center; color: var(--text-muted); font-size: 0.85rem; margin: 1.25rem 0; }
.auth-link-row { text-align: center; font-size: 0.875rem; margin-top: 1rem; color: var(--text-muted); }

/* ── ヒーローセクション ────────────────────────────────────── */
/* ── ヒーローセクション（静的フォールバック用） ──────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #3a6fc4 100%);
  color: #fff;
  padding: 4rem 0 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero__inner { position: relative; z-index: 1; }
.hero__title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; line-height: 1.3; margin-bottom: 0.75rem; }
.hero__title span { color: var(--orange); }
.hero__sub { font-size: 1rem; opacity: 0.85; margin-bottom: 2rem; }
.hero__btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero__btn {
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  transition: all var(--transition);
  text-decoration: none;
}
.hero__btn--primary { background: var(--orange); color: #fff; }
.hero__btn--primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,127,39,.4); color: #fff; }
.hero__btn--ghost { border: 2px solid rgba(255,255,255,0.5); color: #fff; }
.hero__btn--ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ── スライドショー ────────────────────────────────────────── */
.home-slideshow {
  position: relative;
  height: clamp(300px, 35vh, 450px);
  overflow: hidden;
  background: #111827;
}
.slides-container {
  width: 100%;
  height: 100%;
  position: relative;
}
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(17, 24, 39, 0.45) 0%, rgba(17, 24, 39, 0.7) 100%);
  z-index: 2;
}
.slide.active {
  opacity: 1;
  z-index: 2;
}
.slide-content {
  text-align: center;
  color: #ffffff;
  z-index: 3;
  padding: 0 1.5rem;
  max-width: 850px;
}
.slide-title {
  font-size: clamp(1.6rem, 3.8vw, 2.5rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.8);
}
.slide-title span {
  color: var(--orange);
  background: linear-gradient(transparent 70%, rgba(255,127,39,0.12) 70%);
}
.slide-sub {
  font-size: clamp(0.85rem, 1.8vw, 1.05rem);
  opacity: 0.95;
  font-weight: 500;
  margin-top: 0.75rem;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}
.slide-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.6rem;
}
.slide-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.25s ease;
}
.slide-dots .dot:hover,
.slide-dots .dot.active {
  background: #ffffff;
  transform: scale(1.2);
}

/* ── 統計バー ──────────────────────────────────────────────── */
.stats-bar {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.5rem 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.stats-bar__num { font-size: 1.8rem; font-weight: 700; color: var(--navy); }
.stats-bar__label { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.15rem; }

/* ── 会員プランカード ───────────────────────────────────────── */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.plan-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
}
.plan-card--premium {
  border-color: var(--orange);
  position: relative;
  box-shadow: 0 0 0 3px rgba(255,127,39,.15);
}
.plan-card--premium::before {
  content: '⭐ おすすめ';
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2em 0.75em;
  border-radius: 20px;
}
.plan-card__icon  { font-size: 2.5rem; margin-bottom: 0.75rem; }
.plan-card__name  { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.plan-card__price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.plan-card__price sup { font-size: 1rem; vertical-align: top; margin-top: 0.4rem; }
.plan-card__period { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.plan-card__desc { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1.5rem; }

/* ── 管理画面サイドバー ────────────────────────────────────── */
.admin-layout { display: flex; gap: 2rem; align-items: flex-start; }
.admin-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  position: sticky;
  top: 80px;
}
.admin-sidebar__title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0 0.5rem;
  margin-bottom: 0.5rem;
}
.admin-nav { list-style: none; }
.admin-nav li { margin: 0.15rem 0; }
.admin-nav a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  color: var(--text);
  transition: all var(--transition);
}
.admin-nav a:hover, .admin-nav a.active { background: rgba(27,54,93,0.07); color: var(--navy); font-weight: 600; }
.admin-content { flex: 1; min-width: 0; }
.admin-page-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

/* ── スレッド詳細 ──────────────────────────────────────────── */
.post-body {
  line-height: 1.85;
  font-size: 0.95rem;
  white-space: pre-wrap;
  word-break: break-word;
}
.reply-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}
.reply-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
}
.reply-author { font-weight: 700; color: var(--navy); }
.reply-date { color: var(--text-muted); }

/* ── レスポンシブ ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--bg-card);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 2px solid var(--border);
    gap: 0.35rem;
  }
  .site-nav--open { display: flex; }
  .site-header { position: relative; }
  .footer-inner { flex-direction: column; }
  .stats-bar { grid-template-columns: repeat(3,1fr); gap: 0.5rem; padding: 1rem; }
  .stats-bar__num { font-size: 1.4rem; }
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; position: static; }
  .hero { padding: 2.5rem 0 2rem; }
}

@media (max-width: 480px) {
  .auth-box { padding: 1.75rem 1.25rem; }
  .thread-row { flex-wrap: wrap; gap: 0.5rem; }
  .thread-replies { width: 100%; text-align: left; display: flex; gap: 0.5rem; align-items: center; }
  .thread-replies strong { display: inline; }
}

/* ── ブログ・お知らせ記事のスタイリング ───────────────────────── */
.blog-content {
  line-height: 1.85;
  font-size: 1.05rem;
  color: var(--text);
}
.blog-content p {
  margin-bottom: 1.5rem;
}
.blog-content h2, .blog-content .wp-block-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--border);
}
.blog-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}
.blog-content blockquote, .blog-content .wp-block-quote {
  background: #f8fafc;
  border-left: 4px solid var(--orange);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 4px;
}
.blog-content blockquote p, .blog-content .wp-block-quote p {
  margin-bottom: 0;
  font-style: italic;
}
.blog-content img, .blog-content figure {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem auto;
  border-radius: var(--radius);
}
.blog-content figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}
.blog-content ul, .blog-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
}
.blog-content li {
  margin-bottom: 0.4rem;
}
.blog-content pre, .blog-content code {
  background: #e2e8f0;
  font-family: Consolas, Monaco, monospace;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9rem;
}
.blog-content pre {
  padding: 1rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

/* ── トップページ ブログスライダー ────────────────────────────── */
.slider-post-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange) !important;
  box-shadow: var(--shadow-md) !important;
}
.slider-post-card:hover .slider-post-card__thumb img {
  transform: scale(1.05);
}
.swiper-button-prev-custom:hover, .swiper-button-next-custom:hover {
  background: var(--navy) !important;
  color: #fff !important;
  border-color: var(--navy) !important;
}
