/* ========================================
   REVIRALL // TECH INSIGHT - スタイルシート
   Generated by SEO TURBO
   ======================================== */

:root {
  /* カラー */
  --primary: #2563eb;
  --primary-dark: #1945a4;
  --primary-light: #7ca1f3;
  --text: #1e293b;
  --text-light: #64748b;
  --text-on-primary: #ffffff;
  --bg: #fefdfb;
  --bg-alt: #faf8f5;
  --border: #e8e4de;

  /* デザイントークン */
  --radius: 4px;
  --radius-sm: 2px;
  --radius-lg: 8px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.08);
  --border-width: 1px;
  --line-height: 1.8;
  --content-width: 1200px;
  --heading-scale: 1;
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  font-size: 16px;
  line-height: var(--line-height);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ========================================
   Header - 統一デザイン（全10スタイル共通）
   ======================================== */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  padding-top: 10px;
  padding-bottom: 10px;
  position: relative;
}

/* ロゴ */
.site-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.site-logo:hover {
  color: var(--primary);
}

/* SVGロゴ */
.site-logo-svg {
  display: inline-flex;
  align-items: center;
}

.site-logo-svg svg {
  height: 32px;
  width: auto;
  max-width: 160px;
}

/* 画像ロゴ */
.site-logo-image {
  display: inline-flex;
  align-items: center;
}

.site-logo-image img {
  height: 32px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.site-logo-large {
  font-size: 24px;
}

.site-logo-large svg,
.site-logo-large img {
  height: 40px;
}

/* ナビゲーション */
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
}

/* ナビ右寄せラッパー（グローバル） */
.site-nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

/* ========================================
   Header Style Variants (10 types)
   ======================================== */

/* 1. Simple - シンプル横並び */
.header-simple .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 2. Centered - ロゴ中央 */
.header-centered .container {
  flex-direction: column;
  gap: 15px;
  text-align: center;
}
.header-centered .site-nav {
  justify-content: center;
}

/* 3. Logo Left - ロゴ左大きめ */
.header-logo-left .site-logo {
  font-size: calc(28px * var(--heading-scale));
}
.header-logo-left .site-logo-large {
  font-size: calc(32px * var(--heading-scale));
}

/* 4. Transparent - 透過ヘッダー */
.header-transparent {
  position: absolute;
  width: 100%;
  background: transparent;
  border-bottom: none;
  box-shadow: none;
}
.header-transparent .site-logo,
.header-transparent .site-nav a {
  color: white;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.header-transparent .site-nav a:hover {
  background: rgba(255,255,255,0.15);
}

/* 5. Sticky Shrink - スクロールで縮小 */
.header-sticky-shrink {
  transition: padding 0.3s, background 0.3s;
}
.header-sticky-shrink.scrolled {
  padding: 8px 0;
  background: var(--bg);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.header-sticky-shrink.scrolled .site-logo {
  font-size: calc(18px * var(--heading-scale));
}

/* 6. Hamburger - ハンバーガーメニュー */
.header-hamburger .site-header-inner {
  position: relative;
}
.header-hamburger .site-nav {
  display: none;
}
/* header-hamburgerは共通の.hamburger-btn, .hamburger-line, .site-nav-mobileスタイルを使用 */
/* 常時ハンバーガー表示 */
.header-hamburger .hamburger-btn {
  display: flex;
}
.header-hamburger .site-nav-desktop {
  display: none;
}

/* ========================================
   レスポンシブ: 全ヘッダー共通モバイルナビ
   ======================================== */
/* デフォルト: ハンバーガーとモバイルナビは非表示 */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  z-index: 1001;
  transition: background 0.2s ease;
}

.hamburger-btn:hover {
  background: var(--bg-alt);
}

.hamburger-line {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.hamburger-btn.is-active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-btn.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-btn.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* モバイルナビ - モダンスライドイン */
.site-nav-mobile {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85vw);
  height: 100vh;
  height: 100dvh;
  background: var(--bg);
  padding: 0;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.site-nav-mobile.active {
  display: flex;
  right: 0;
}

/* モバイルナビ ヘッダー部分 */
.site-nav-mobile::before {
  content: 'Menu';
  display: block;
  padding: 24px 28px 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
}

.site-nav-mobile a {
  display: flex;
  align-items: center;
  padding: 18px 28px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: all 0.2s ease;
  position: relative;
}

.site-nav-mobile a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary);
  transform: scaleY(0);
  transition: transform 0.2s ease;
}

.site-nav-mobile a:hover {
  background: var(--bg-alt);
  color: var(--primary);
  padding-left: 32px;
}

.site-nav-mobile a:hover::before {
  transform: scaleY(1);
}

.site-nav-mobile a:last-child {
  border-bottom: none;
}

/* モバイルナビ オーバーレイ */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 999;
  transition: background 0.35s ease;
}

.mobile-nav-overlay.active {
  display: block;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* モバイル時: ハンバーガー表示、デスクトップナビ非表示 */
@media (max-width: 768px) {
  .site-nav-desktop {
    display: none !important;
  }
  .hamburger-btn {
    display: flex;
  }
  /* header-hamburgerスタイルは既に常時ハンバーガーなのでそのまま */
  .header-hamburger .hamburger-btn {
    display: flex;
  }
}

/* 7. Mega Menu - メガメニュー対応 */
.header-mega-menu .site-nav {
  gap: 0;
}
.header-mega-menu .nav-item {
  position: relative;
}
.header-mega-menu .nav-item > a {
  padding: 12px 20px;
}
.header-mega-menu .mega-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg);
  min-width: 500px;
  box-shadow: var(--shadow-hover);
  border-radius: 0 0 var(--radius) var(--radius);
  border: var(--border-width) solid var(--border);
  z-index: 200;
}
.header-mega-menu .nav-item:hover .mega-dropdown {
  display: block;
}
.header-mega-menu .mega-dropdown-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  padding: 25px;
}
.header-mega-menu .mega-col h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}
.header-mega-menu .mega-col a {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-light);
}
.header-mega-menu .mega-col a:hover {
  color: var(--primary);
}

/* 8. Split - ロゴ中央、ナビ両側 */
.header-split .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.header-split .site-nav-left {
  justify-self: start;
}

.header-split .site-logo {
  justify-self: center;
  font-size: 22px;
  font-weight: 700;
}

.header-split .site-nav-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Split レスポンシブ - 768pxで統一 */
@media (max-width: 768px) {
  .header-split .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .header-split .site-nav-left,
  .header-split .site-nav-right .site-nav-desktop {
    display: none;
  }
  .header-split .site-logo {
    flex: 1;
    text-align: left;
  }
}

/* 9. Drawer Left - 左からドロワー */
.header-drawer-left {
  position: relative;
}
.header-drawer-left .drawer-toggle {
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
}
.header-drawer-left .drawer-icon {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  position: relative;
}
.header-drawer-left .drawer-icon::before,
.header-drawer-left .drawer-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--text);
  left: 0;
}
.header-drawer-left .drawer-icon::before { top: -7px; }
.header-drawer-left .drawer-icon::after { top: 7px; }
.header-drawer-left .drawer-nav {
  position: fixed;
  top: 0;
  left: -300px;
  width: 280px;
  height: 100vh;
  background: var(--bg);
  box-shadow: var(--shadow-hover);
  z-index: 1000;
  transition: left 0.3s;
}
.header-drawer-left .drawer-nav.open {
  left: 0;
}
.header-drawer-left .drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: var(--border-width) solid var(--border);
}
.header-drawer-left .drawer-title {
  font-weight: 700;
  font-size: 18px;
}
.header-drawer-left .drawer-close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--text-light);
}
.header-drawer-left .drawer-links {
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.header-drawer-left .drawer-links a {
  padding: 15px 10px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.header-drawer-left .drawer-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 999;
}
.header-drawer-left .drawer-overlay.active {
  display: block;
}

/* 10. Topbar Nav - 上部バー + 下部ナビ2段 */
.header-topbar-nav {
  padding: 0;
}
.header-topbar-nav .topbar {
  background: var(--bg-alt);
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}
.header-topbar-nav .topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-topbar-nav .topbar-text {
  color: var(--text-light);
}
.header-topbar-nav .topbar-social {
  display: flex;
  gap: 15px;
}
.header-topbar-nav .topbar-social a {
  color: var(--text-light);
  font-size: 12px;
}
.header-topbar-nav .main-header {
  padding: 15px 0;
}
.header-topbar-nav .main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ========================================
   Hero
   ======================================== */

.hero {
  background: linear-gradient(135deg, #1945a4 0%, #2563eb 100%);
  color: var(--text-on-primary);
  padding: 120px 0;
  text-align: center;
}

.hero h1 {
  font-size: clamp(calc(28px * var(--heading-scale)), 5vw, calc(42px * var(--heading-scale)));
  font-weight: 700;
  margin-bottom: 15px;
}

.hero p {
  font-size: 18px;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}


/* ========================================
   Main Layout
   ======================================== */

/* ========================================
   Sidebar Widget Styles
   ======================================== */
.sidebar-widget {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}

.sidebar-widget h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}

.sidebar-widget ul {
  list-style: none;
}

.sidebar-widget li {
  margin: 8px 0;
}

.sidebar-widget a {
  color: var(--text-light);
  font-size: 14px;
  transition: color 0.2s;
}

.sidebar-widget a:hover {
  color: var(--primary);
}


/* ========================================
   Posts Grid
   ======================================== */
.posts-grid {
  padding: 60px 0;
}

.posts-grid h2 {
  font-size: calc(24px * var(--heading-scale));
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
}

.posts-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.post-card {
  background: var(--bg);
  border: var(--border-width) solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.post-card-image {
  width: 100%;
  height: 180px;
  background: var(--bg-alt);
  object-fit: cover;
}

.post-card-content {
  padding: 20px;
}

.post-card-title {
  font-size: calc(18px * var(--heading-scale));
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}

.post-card-title a {
  color: var(--text);
}

.post-card-title a:hover {
  color: var(--primary);
}

.post-card-meta {
  font-size: 13px;
  color: var(--text-light);
}

.post-card-excerpt {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 10px;
  line-height: 1.6;
}



/* ========================================
   Post Card Button (Read Article)
   ======================================== */

.post-card-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 16px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s ease, transform 0.2s ease;
  position: relative;
  z-index: 10;
}
.post-card-btn:hover {
  background: var(--primary-dark, var(--primary));
  transform: translateY(-1px);
}


/* ========================================
   Sidebar Mobile Common (Toggle Button)
   ======================================== */

/* サイドバー折りたたみトグル（モバイル用） */
.sidebar-mobile-toggle {
  display: none;
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-alt, #f5f5f5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  margin-bottom: 12px;
  transition: background 0.2s, border-color 0.2s;
}
.sidebar-mobile-toggle:hover {
  background: var(--bg);
  border-color: var(--primary);
}
.sidebar-mobile-toggle::after {
  content: '';
  float: right;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid var(--text-light);
  margin-top: 5px;
  transition: transform 0.3s ease;
}
.sidebar-mobile-toggle.active::after {
  transform: rotate(180deg);
}
.sidebar-mobile-content {
  display: block;
}
@media (max-width: 768px) {
  .sidebar-mobile-toggle {
    display: block;
  }
  .sidebar-mobile-content {
    display: none;
  }
  .sidebar-mobile-content.active {
    display: block;
  }
}

/* ========================================
   Sidebar Style Variants (10 types)
   ======================================== */

.main-layout { display: grid; gap: 40px; grid-template-columns: 1fr 240px; }
.sidebar { position: relative; }
@media (max-width: 768px) { .main-layout { display: block !important; padding: 16px !important; } .sidebar { margin-top: 24px; border-top: 1px solid var(--border); padding-top: 16px; position: relative !important; } }

/* ========================================
   Nav Style Variants (10 types)
   ======================================== */

.site-nav { display: flex; gap: 25px; align-items: center; }
.site-nav a { padding: 8px 12px; }

/* ========================================
   Card Style Variants (10 types)
   ======================================== */

.post-card { background: var(--bg); border: 2px solid var(--border); }
.post-card:hover { border-color: var(--primary); }

/* ========================================
   CTA Style Variants (10 types)
   ======================================== */


/* ========================================
   Article Detail Layout Variants (10 types)
   ======================================== */

.article-container { max-width: 720px; margin: 0 auto; padding: 40px 20px; }

/* ========================================
   Article Layout Variants (10 types)
   ======================================== */

.posts-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
@media (max-width: 640px) { .posts-list { grid-template-columns: 1fr; } }

.no-posts {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
  background: var(--bg-alt);
  border-radius: var(--radius);
}

/* カテゴリバッジ */
.post-card-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(59, 130, 246, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 画像ホバーエフェクト */
.post-card-image-wrapper {
  overflow: hidden;
}

.post-card-image {
  transition: transform 0.3s ease;
}

.post-card:hover .post-card-image {
  transform: scale(1.05);
}

/* タグ */
.post-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.post-card-tag {
  font-size: 11px;
  color: var(--text-light);
  background: var(--bg-alt);
  padding: 3px 8px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.post-card-tag:hover {
  background: var(--primary);
  color: var(--text-on-primary);
}

/* 読了時間 */
.post-card-read-time {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-light);
}

/* フィルター・検索 */
.posts-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
  padding: 20px;
  background: var(--bg-alt);
  border-radius: var(--radius);
}

.posts-search {
  flex: 1;
  min-width: 200px;
}

.posts-search input {
  width: 100%;
  padding: 12px 16px;
  border: var(--border-width) solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.posts-search input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.posts-category-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.category-btn {
  padding: 8px 16px;
  border: var(--border-width) solid var(--border);
  border-radius: 20px;
  background: var(--bg);
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.category-btn:hover,
.category-btn.active {
  background: var(--primary);
  color: var(--text-on-primary);
  border-color: var(--primary);
}

/* ページネーション */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 50px;
  padding: 20px 0;
}

.pagination-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: var(--border-width) solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
}

.pagination-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.pagination-btn.active {
  background: var(--primary);
  color: var(--text-on-primary);
  border-color: var(--primary);
}

.pagination-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.pagination-ellipsis {
  color: var(--text-light);
  padding: 0 5px;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .posts-list {
    grid-template-columns: 1fr;
  }

  .posts-filter {
    flex-direction: column;
  }

  .posts-search {
    min-width: 100%;
  }

  .pagination {
    flex-wrap: wrap;
  }
}

/* ローディングスケルトン */
.skeleton {
  background: linear-gradient(90deg, var(--bg-alt) 25%, var(--border) 50%, var(--bg-alt) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ========================================
   Article Page
   ======================================== */

.article-header {
  background: linear-gradient(135deg, #1945a4 0%, #2563eb 100%);
  color: var(--text-on-primary);
  padding: 60px 0 80px;
  margin-bottom: -40px;
}

.article-header h1 {
  font-size: clamp(calc(24px * var(--heading-scale)), 4vw, calc(36px * var(--heading-scale)));
  font-weight: 700;
  line-height: 1.4;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.article-meta {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  opacity: 0.85;
}


.article-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 50px;
}

/* ========================================
   Article Mobile Responsive - 徹底最適化
   ======================================== */
@media (max-width: 768px) {
  /* コンテナの余白を極限まで削減 */
  .container {
    padding: 0 8px;
  }

  /* 記事ヘッダー */
  .article-header {
    padding: 30px 0 40px;
    margin-bottom: -20px;
  }

  .article-header h1 {
    font-size: clamp(20px, 6vw, 28px);
    line-height: 1.35;
    padding: 0 4px;
  }

  .article-meta {
    font-size: 12px;
    margin-top: 12px;
  }

  /* 記事本文 */
  .article-content {
    padding: 20px 8px;
    border-radius: 0;
    box-shadow: none;
    margin: 0 -8px;
    width: calc(100% + 16px);
  }

  /* 見出し */
  .article-content h2 {
    font-size: 18px;
    margin: 32px 0 14px;
    padding-bottom: 8px;
    border-bottom-width: 2px;
  }

  .article-content h3 {
    font-size: 16px;
    margin: 24px 0 10px;
    padding-left: 10px;
    border-left-width: 3px;
  }

  .article-content h4 {
    font-size: 15px;
    margin: 20px 0 8px;
  }

  /* 段落・テキスト */
  .article-content p {
    font-size: 15px;
    line-height: 1.8;
    margin: 14px 0;
  }

  /* リード文のはみ出し解除 */
  .article-content > p:first-of-type {
    font-size: 15px;
    line-height: 1.8;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
  }

  /* リスト */
  .article-content ul,
  .article-content ol {
    margin: 14px 0;
    padding-left: 18px;
  }

  .article-content li {
    font-size: 15px;
    margin: 6px 0;
    line-height: 1.7;
  }

  /* 引用 */
  .article-content blockquote {
    padding: 12px 14px;
    margin: 16px 0;
    font-size: 14px;
  }

  /* コード */
  .article-content code {
    font-size: 12px;
    padding: 1px 4px;
  }

  .article-content pre {
    padding: 12px 10px;
    margin: 16px -8px;
    border-radius: 0;
    font-size: 12px;
  }

  /* テーブル */
  .article-content table {
    display: block;
    overflow-x: auto;
    margin: 16px -8px;
    width: calc(100% + 16px);
  }

  .article-content th,
  .article-content td {
    padding: 8px 10px;
    font-size: 13px;
    white-space: nowrap;
  }

  /* 画像 */
  .article-content img {
    margin: 16px -8px;
    width: calc(100% + 16px);
    max-width: none;
    border-radius: 0;
  }

  /* ポイント・メモ・警告ボックス */
  .point-box,
  .warning-box,
  .memo-box {
    padding: 12px 14px;
    margin: 16px 0;
    border-radius: 0 6px 6px 0;
  }

  .point-box p,
  .warning-box p,
  .memo-box p {
    font-size: 14px;
    line-height: 1.7;
  }

  /* Q&Aボックス */
  .qa-box {
    margin: 16px 0;
  }

  .qa-question,
  .qa-answer {
    padding: 12px 14px;
    font-size: 14px;
  }

  .qa-label {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  /* チェックリスト・ステップリスト */
  .check-list li,
  .step-list li {
    font-size: 14px;
    padding-left: 24px;
    margin-bottom: 8px;
  }

  .step-list li {
    padding-left: 40px;
  }

  .step-list li::before {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }

  /* CTAセクション */
  .cta-section {
    padding: 24px 16px;
    margin: 24px -8px;
    border-radius: 0;
  }

  .cta-text {
    font-size: 15px;
    margin-bottom: 14px;
  }

  .cta-button {
    padding: 10px 20px;
    font-size: 14px;
  }

  /* 関連記事・シェアボタン */
  .related-posts {
    padding: 20px 8px;
    margin: 24px -8px 0;
  }

  .related-posts h3 {
    font-size: 16px;
    margin-bottom: 14px;
  }

  .share-buttons {
    padding: 16px 8px;
    margin: 20px -8px;
  }

  .share-buttons a {
    padding: 8px 12px;
    font-size: 12px;
  }
}

/* 更に小さい画面（480px以下） */
@media (max-width: 480px) {
  .container {
    padding: 0 4px;
  }

  .article-header h1 {
    font-size: 18px;
    padding: 0 2px;
  }

  .article-meta {
    font-size: 11px;
  }

  .article-content {
    padding: 16px 4px;
    margin: 0 -4px;
    width: calc(100% + 8px);
  }

  .article-content h2 {
    font-size: 16px;
    margin: 28px 0 12px;
  }

  .article-content h3 {
    font-size: 15px;
    margin: 20px 0 8px;
  }

  .article-content p,
  .article-content li {
    font-size: 14px;
    line-height: 1.75;
  }

  .article-content ul,
  .article-content ol {
    padding-left: 14px;
  }

  .article-content pre {
    padding: 10px 8px;
    margin: 14px -4px;
    font-size: 11px;
  }

  .article-content img {
    margin: 14px -4px;
    width: calc(100% + 8px);
  }

  .point-box,
  .warning-box,
  .memo-box {
    padding: 10px 12px;
    margin: 14px 0;
  }

  .point-box p,
  .warning-box p,
  .memo-box p {
    font-size: 13px;
  }
}

.article-content h2 {
  font-size: calc(24px * var(--heading-scale));
  font-weight: 700;
  margin: 50px 0 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--primary);
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content h3 {
  font-size: calc(20px * var(--heading-scale));
  font-weight: 600;
  margin: 35px 0 15px;
  padding-left: 15px;
  border-left: 4px solid var(--primary);
}

.article-content h4 {
  font-size: calc(18px * var(--heading-scale));
  font-weight: 600;
  margin: 30px 0 12px;
  color: var(--primary-dark);
}

.article-content p {
  margin: 20px 0;
}

/* リード文（記事最初のパラグラフ） - 横幅を広く、読みやすく */
.article-content > p:first-of-type {
  font-size: 1.15em;
  line-height: 2;
  color: var(--text-secondary);
  max-width: 120%;
  margin-left: -10%;
  margin-right: -10%;
  padding: 0 10%;
  position: relative;
}

.article-content ul, .article-content ol {
  margin: 20px 0;
  padding-left: 25px;
}

.article-content li {
  margin: 10px 0;
}

.article-content strong {
  color: var(--primary-dark);
  font-weight: 600;
}

.article-content blockquote {
  background: var(--bg-alt);
  border-left: 4px solid var(--primary);
  padding: 20px 25px;
  margin: 25px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.article-content code {
  background: var(--bg-alt);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-family: 'SF Mono', Consolas, monospace;
  font-size: 14px;
}

.article-content pre {
  background: #1e293b;
  color: #e2e8f0;
  padding: 20px;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 25px 0;
}

.article-content pre code {
  background: transparent;
  padding: 0;
  color: inherit;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
}

.article-content th,
.article-content td {
  padding: 12px 15px;
  border: var(--border-width) solid var(--border);
  text-align: left;
}

.article-content th {
  background: var(--bg-alt);
  font-weight: 600;
}

.article-content tr:nth-child(even) {
  background: var(--bg-alt);
}

/* ========================================
   Article Decorations (生成記事用装飾クラス)
   ======================================== */

/* ポイントボックス */
.point-box {
  background: linear-gradient(135deg, var(--primary-light), var(--bg-alt));
  border-left: 4px solid var(--primary);
  padding: 20px 25px;
  margin: 25px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.point-box p {
  margin: 0;
  color: var(--text);
}

/* 注意ボックス */
.warning-box {
  background: linear-gradient(135deg, #fef3c7, #fef9c3);
  border-left: 4px solid #f59e0b;
  padding: 20px 25px;
  margin: 25px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.warning-box p {
  margin: 0;
  color: #92400e;
}

/* メモボックス */
.memo-box {
  background: var(--bg-alt);
  border: var(--border-width) solid var(--border);
  padding: 20px 25px;
  margin: 25px 0;
  border-radius: var(--radius);
}

.memo-box p {
  margin: 0;
}

/* マーカー（蛍光ペン風） */
.marker {
  background: linear-gradient(transparent 60%, #fef08a 60%);
  padding: 0 2px;
}

.marker-pink {
  background: linear-gradient(transparent 60%, #fecdd3 60%);
  padding: 0 2px;
}

.marker-green {
  background: linear-gradient(transparent 60%, #bbf7d0 60%);
  padding: 0 2px;
}

.marker-blue {
  background: linear-gradient(transparent 60%, #bfdbfe 60%);
  padding: 0 2px;
}

/* チェックリスト */
.check-list {
  list-style: none;
  padding-left: 0;
  margin: 25px 0;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* ステップリスト */
.step-list {
  counter-reset: step-counter;
  list-style: none;
  padding-left: 0;
  margin: 25px 0;
}

.step-list li {
  position: relative;
  padding-left: 50px;
  margin-bottom: 20px;
  counter-increment: step-counter;
}

.step-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
}

/* Q&Aボックス */
.qa-box {
  background: var(--bg-alt);
  border-radius: var(--radius);
  margin: 25px 0;
  overflow: hidden;
}

.qa-question {
  background: var(--primary);
  color: white;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.qa-answer {
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.qa-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: bold;
  font-size: 14px;
  flex-shrink: 0;
}

.qa-question .qa-label {
  background: rgba(255,255,255,0.2);
}

.qa-answer .qa-label {
  background: var(--primary);
  color: white;
}

.qa-text {
  flex: 1;
}

/* 引用ボックス */
.quote-box {
  border-left: 4px solid var(--border);
  padding: 20px 25px;
  margin: 25px 0;
  background: var(--bg-alt);
  font-style: italic;
}

.quote-box p {
  margin: 0 0 10px 0;
}

.quote-box cite {
  display: block;
  color: var(--text-light);
  font-size: 14px;
  font-style: normal;
}

/* 比較テーブル */
.comparison-table {
  margin: 25px 0;
  overflow-x: auto;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 12px 15px;
  border: var(--border-width) solid var(--border);
  text-align: center;
}

.comparison-table th {
  background: var(--bg-alt);
  font-weight: 600;
}

.comparison-table .good {
  background: #dcfce7;
  color: #166534;
}

.comparison-table .bad {
  background: #fee2e2;
  color: #991b1b;
}

/* バッジ */
.badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 9999px;
  margin-right: 5px;
}

.badge-primary {
  background: var(--primary);
  color: white;
}

.badge-success {
  background: #22c55e;
  color: white;
}

.badge-warning {
  background: #f59e0b;
  color: white;
}

.badge-danger {
  background: #ef4444;
  color: white;
}

/* ========================================
   Theme-specific Article Styles (テーマ別 - 10種全対応)
   ======================================== */

/* Corporate Theme - ビジネス向け */
.theme-corporate .point-box,
.style-corporate {
  border-left-color: #1e40af;
  background: linear-gradient(135deg, #1e40af08, #1e40af15);
}

/* Blog Modern Theme - モダンブログ */
.theme-blog-modern .point-box,
.style-blog-modern {
  border-left-color: var(--primary);
  background: linear-gradient(135deg, var(--primary-light), var(--bg-alt));
}

/* Magazine Theme - マガジン風 */
.theme-magazine .point-box,
.style-magazine {
  border-left-color: #dc2626;
  background: linear-gradient(135deg, #dc262608, #dc262615);
}

/* Portfolio Theme - ポートフォリオ */
.theme-portfolio .point-box,
.style-portfolio {
  border-left-color: #0891b2;
  background: linear-gradient(135deg, #0891b208, #0891b215);
}

/* Tech Theme - テック向け */
.theme-tech .point-box,
.style-tech {
  border-left-color: #7c3aed;
  background: linear-gradient(135deg, #7c3aed08, #7c3aed15);
}

/* Lifestyle Theme - ライフスタイル */
.theme-lifestyle .point-box,
.style-lifestyle {
  border-left-color: #ec4899;
  background: linear-gradient(135deg, #ec489908, #ec489915);
}

/* News Theme - ニュースサイト */
.theme-news .point-box,
.style-news {
  border-left-color: #0f172a;
  background: linear-gradient(135deg, #0f172a08, #0f172a15);
}

/* Minimal Theme - ミニマル */
.theme-minimal .point-box,
.style-minimal {
  border-left-color: #64748b;
  background: var(--bg-alt);
}

/* Creative Theme - クリエイティブ */
.theme-creative .point-box,
.style-creative {
  border-left-color: #f97316;
  background: linear-gradient(135deg, #f9731608, #f9731615);
}

/* Documentation Theme - ドキュメント */
.theme-documentation .point-box,
.style-documentation {
  border-left-color: #059669;
  background: linear-gradient(135deg, #05966908, #05966915);
}

/* Article Section */
.article-section {
  margin: 40px 0;
}

/* Content Card */
.content-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 25px;
  margin: 25px 0;
}

.card-flat {
  box-shadow: none;
  border: var(--border-width) solid var(--border);
}

.card-elevated {
  box-shadow: var(--shadow);
}

.card-bordered {
  border: 2px solid var(--primary);
}

.card-minimal {
  padding: 15px;
  background: transparent;
  border-bottom: var(--border-width) solid var(--border);
  border-radius: 0;
}

.card-glass {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
}

/* 追加カードスタイル (10種全対応) */
.card-image-top {
  padding: 0;
}

.card-image-top img {
  width: 100%;
  border-radius: var(--radius) var(--radius) 0 0;
}

.card-image-top .card-content {
  padding: 20px;
}

.card-image-left {
  display: flex;
  gap: 20px;
  padding: 0;
}

.card-image-left img {
  width: 40%;
  object-fit: cover;
  border-radius: var(--radius) 0 0 var(--radius);
}

.card-image-left .card-content {
  padding: 20px;
  flex: 1;
}

.card-image-overlay {
  position: relative;
  padding: 0;
  overflow: hidden;
}

.card-image-overlay img {
  width: 100%;
  border-radius: var(--radius);
}

.card-image-overlay .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  border-radius: 0 0 var(--radius) var(--radius);
}

.card-gradient-border {
  border: 2px solid transparent;
  background: linear-gradient(var(--bg), var(--bg)) padding-box,
              linear-gradient(135deg, var(--primary), var(--accent, var(--primary-light))) border-box;
}

.card-hover-zoom {
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card-hover-zoom:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* Feature List */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}

.feature-list li {
  padding: 12px 0 12px 30px;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 40px;
  border-radius: var(--radius);
  text-align: center;
  margin: 40px 0;
}

.cta-text {
  font-size: 18px;
  margin-bottom: 20px;
}

.cta-button {
  display: inline-block;
  background: white;
  color: var(--primary);
  padding: 12px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* CTA Variations */
.cta-banner {
  border-radius: 0;
  margin: 40px -20px;
  padding: 30px 20px;
}

.cta-inline {
  background: var(--bg-alt);
  color: var(--text);
  padding: 25px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cta-inline .cta-button {
  background: var(--primary);
  color: white;
}

.cta-floating {
  position: fixed;
  bottom: 20px;
  right: 20px;
  margin: 0;
  padding: 15px 25px;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.cta-end-of-article {
  margin-top: 60px;
  padding: 50px 40px;
}

/* 追加CTAスタイル (10種全対応) */
.cta-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  z-index: 1000;
  max-width: 500px;
  width: 90%;
}

.cta-sidebar-sticky {
  position: sticky;
  top: 20px;
  background: var(--primary);
  color: white;
  padding: 25px;
  border-radius: var(--radius);
  text-align: center;
}

.cta-sidebar-sticky .cta-button {
  background: white;
  color: var(--primary);
  width: 100%;
  margin-top: 15px;
}

.cta-footer-cta {
  background: var(--bg-alt);
  color: var(--text);
  border-top: 4px solid var(--primary);
  margin: 0;
  border-radius: 0;
}

.cta-exit-intent {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.cta-exit-intent .cta-content {
  background: var(--bg);
  padding: 40px;
  border-radius: var(--radius-lg);
  max-width: 500px;
  text-align: center;
}

.cta-scroll-trigger {
  position: fixed;
  bottom: -100px;
  left: 0;
  right: 0;
  background: var(--primary);
  color: white;
  padding: 20px;
  text-align: center;
  transition: bottom 0.3s;
  z-index: 100;
}

.cta-scroll-trigger.visible {
  bottom: 0;
}

/* ========================================
   Layout Classes (記事詳細レイアウト - 10種全対応)
   ======================================== */
.layout-classic {
  max-width: 750px;
  margin: 0 auto;
}

.layout-wide {
  max-width: 1000px;
  margin: 0 auto;
}

.layout-narrow {
  max-width: 600px;
  margin: 0 auto;
}

.layout-with-toc {
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 40px;
}

.layout-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}

.layout-full-width {
  max-width: none;
  width: 100%;
}

.layout-card-style {
  background: var(--bg);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.layout-magazine {
  max-width: 800px;
  margin: 0 auto;
}

.layout-magazine h2 {
  font-size: 1.8em;
  border-bottom: 3px solid var(--primary);
  padding-bottom: 10px;
}

.layout-documentation {
  max-width: 900px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.8;
}

.layout-immersive {
  max-width: 700px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 2;
}

/* ========================================
   Q&A Style Variations (カードスタイル連動)
   ======================================== */
.qa-style-flat .qa-question {
  background: var(--bg-alt);
  color: var(--text);
}

.qa-style-flat .qa-answer .qa-label {
  background: var(--text-light);
}

.qa-style-elevated {
  box-shadow: var(--shadow);
}

.qa-style-bordered {
  border: 2px solid var(--primary);
}

.qa-style-bordered .qa-question {
  background: transparent;
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}

.qa-style-minimal {
  background: transparent;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
}

.qa-style-minimal .qa-question {
  background: transparent;
  color: var(--text);
  padding: 15px 0;
}

.qa-style-minimal .qa-answer {
  padding: 15px 0;
}

.qa-style-glass {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
}

.qa-style-image-top,
.qa-style-image-left,
.qa-style-image-overlay,
.qa-style-gradient-border,
.qa-style-hover-zoom {
  /* これらはカード用で、Q&Aには標準スタイルを適用 */
  box-shadow: var(--shadow);
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
  background: var(--bg-alt);
  border-top: var(--border-width) solid var(--border);
  padding: 40px 0;
  margin-top: 60px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  color: var(--text-light);
  font-size: 14px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  color: var(--text-light);
  transition: color 0.2s;
  padding: 8px;
  border-radius: var(--radius-sm);
}

.footer-social a:hover {
  color: var(--primary);
  background: var(--bg);
}

/* Footer Minimal */
.footer-minimal {
  padding: 25px 0;
  text-align: center;
}

/* Footer Detailed */
.footer-detailed .footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-detailed h4 {
  font-size: calc(16px * var(--heading-scale));
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text);
}

.footer-detailed ul {
  list-style: none;
}

.footer-detailed li {
  margin: 8px 0;
}

.footer-detailed .footer-bottom {
  padding-top: 20px;
  border-top: var(--border-width) solid var(--border);
  text-align: center;
}

.footer-detailed .footer-about p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
}

.footer-detailed .footer-links ul {
  padding: 0;
  margin: 0;
}

.footer-detailed .footer-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-detailed .footer-links a:hover {
  color: var(--primary);
}

.footer-detailed .footer-social-section .social-links {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.footer-detailed .footer-social-section .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg-alt);
  border-radius: 50%;
  color: var(--text);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.footer-detailed .footer-social-section .social-links a:hover {
  background: var(--primary);
  color: var(--text-on-primary);
  transform: translateY(-2px);
}

/* ========================================
   Footer Style Variants (10 types)
   ======================================== */

/* 1. Simple - シンプル1行 */
.footer-simple {
  text-align: center;
}
.footer-simple .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.footer-simple .social-links {
  display: flex;
  gap: 15px;
}
.footer-simple .social-links a {
  color: var(--text-light);
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.footer-simple .social-links a:hover {
  color: var(--primary);
  background: var(--bg);
}

/* 3. Mega Footer - 大型フッター */
.footer-mega {
  padding: 60px 0 30px;
}
.footer-mega .footer-mega-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-mega .footer-brand .footer-logo {
  font-size: calc(24px * var(--heading-scale));
  font-weight: 700;
  color: var(--text);
  margin-bottom: 15px;
}
.footer-mega .footer-brand p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.footer-mega .footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text);
}
.footer-mega .footer-col ul {
  list-style: none;
}
.footer-mega .footer-col li {
  margin: 10px 0;
}
.footer-mega .footer-col a {
  color: var(--text-light);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-mega .footer-col a:hover {
  color: var(--primary);
}
.footer-mega .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: var(--border-width) solid var(--border);
}
.footer-mega .footer-legal {
  display: flex;
  gap: 20px;
}
.footer-mega .footer-legal a {
  color: var(--text-light);
  font-size: 13px;
}

/* 4. Newsletter - メルマガ登録付き */
.footer-newsletter {
  padding: 50px 0 30px;
}
.footer-newsletter .newsletter-section {
  text-align: center;
  max-width: 500px;
  margin: 0 auto 40px;
}
.footer-newsletter .newsletter-section h3 {
  font-size: calc(24px * var(--heading-scale));
  font-weight: 700;
  margin-bottom: 10px;
}
.footer-newsletter .newsletter-section p {
  color: var(--text-light);
  margin-bottom: 20px;
}
.footer-newsletter .newsletter-form {
  display: flex;
  gap: 10px;
}
.footer-newsletter .newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: var(--border-width) solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  background: var(--bg);
}
.footer-newsletter .newsletter-form input:focus {
  outline: none;
  border-color: var(--primary);
}
.footer-newsletter .newsletter-form button {
  padding: 12px 24px;
  background: var(--primary);
  color: var(--text-on-primary);
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.footer-newsletter .newsletter-form button:hover {
  background: var(--primary-dark);
}
.footer-newsletter .footer-bottom-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: var(--border-width) solid var(--border);
}

/* 5. CTA Footer - 問い合わせ誘導 */
.footer-cta {
  padding: 0;
}
.footer-cta .footer-cta-section {
  background: var(--primary);
  color: var(--text-on-primary);
  padding: 50px 20px;
  text-align: center;
}
.footer-cta .footer-cta-section h3 {
  font-size: calc(28px * var(--heading-scale));
  font-weight: 700;
  margin-bottom: 10px;
}
.footer-cta .footer-cta-section p {
  opacity: 0.9;
  margin-bottom: 25px;
}
.footer-cta .footer-cta-section .btn {
  background: white;
  color: var(--primary);
}
.footer-cta .footer-cta-section .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}
.footer-cta .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 20px;
}

/* 6. Sitemap Footer - サイトマップ型 */
.footer-sitemap {
  padding: 50px 0 30px;
}
.footer-sitemap .sitemap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}
.footer-sitemap .sitemap-col h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}
.footer-sitemap .sitemap-col ul {
  list-style: none;
}
.footer-sitemap .sitemap-col li {
  margin: 8px 0;
}
.footer-sitemap .sitemap-col a {
  color: var(--text-light);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-sitemap .sitemap-col a:hover {
  color: var(--primary);
}
.footer-sitemap .footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: var(--border-width) solid var(--border);
}

/* 7. Branded - ブランドロゴ大きめ */
.footer-branded {
  padding: 60px 0 40px;
  text-align: center;
}
.footer-branded .footer-brand-large {
  margin-bottom: 30px;
}
.footer-branded .brand-name {
  font-size: calc(36px * var(--heading-scale));
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.footer-branded .brand-tagline {
  color: var(--text-light);
  font-size: 16px;
}
.footer-branded .footer-links-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}
.footer-branded .footer-links-row a {
  color: var(--text);
  font-weight: 500;
  transition: color 0.2s;
}
.footer-branded .footer-links-row a:hover {
  color: var(--primary);
}
.footer-branded .social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}
.footer-branded .copyright {
  color: var(--text-light);
}

/* 8. Social Focus - SNS中心 */
.footer-social-focus {
  padding: 60px 0 40px;
  text-align: center;
}
.footer-social-focus .social-focus-section {
  margin-bottom: 40px;
}
.footer-social-focus .social-focus-section h3 {
  font-size: calc(24px * var(--heading-scale));
  font-weight: 700;
  margin-bottom: 25px;
}
.footer-social-focus .social-large {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.footer-social-focus .social-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius);
  color: white;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}
.footer-social-focus .social-twitter {
  background: #1da1f2;
}
.footer-social-focus .social-facebook {
  background: #1877f2;
}
.footer-social-focus .social-instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.footer-social-focus .social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}
.footer-social-focus .footer-bottom {
  padding-top: 30px;
  border-top: var(--border-width) solid var(--border);
}

/* 9. Contact Footer - 連絡先情報中心 */
.footer-contact {
  padding: 50px 0 30px;
}
.footer-contact .contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  margin-bottom: 30px;
}
.footer-contact .contact-info h3 {
  font-size: calc(24px * var(--heading-scale));
  font-weight: 700;
  margin-bottom: 20px;
}
.footer-contact .contact-list {
  list-style: none;
}
.footer-contact .contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 15px 0;
  color: var(--text-light);
}
.footer-contact .contact-list svg {
  color: var(--primary);
  flex-shrink: 0;
}
.footer-contact .contact-list a {
  color: var(--text-light);
}
.footer-contact .contact-list a:hover {
  color: var(--primary);
}
.footer-contact .contact-social h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
}
.footer-contact .footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: var(--border-width) solid var(--border);
}

/* Footer Responsive */
@media (max-width: 768px) {
  .site-footer {
    padding: 30px 0;
  }

  /* 法的リンク - 横一列でコンパクト */
  .footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
  }
  .footer-legal-links a {
    font-size: 11px;
    white-space: nowrap;
  }

  /* Simple Footer - 中央揃え、コンパクト */
  .footer-simple .container {
    gap: 12px;
  }
  .footer-simple .copyright {
    font-size: 12px;
  }
  .footer-simple .social-links {
    gap: 10px;
  }
  .footer-simple .social-links a {
    padding: 6px;
  }
  .footer-simple .social-links svg {
    width: 18px;
    height: 18px;
  }

  /* Detailed Footer - 1カラム化 */
  .footer-detailed .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: center;
  }
  .footer-detailed .footer-social-section .social-links {
    justify-content: center;
  }

  /* Mega Footer */
  .footer-mega .footer-mega-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: center;
  }
  .footer-mega .footer-brand .social-links {
    justify-content: center;
  }
  .footer-mega .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  .footer-mega .footer-legal {
    justify-content: center;
  }

  /* Sitemap Footer */
  .footer-sitemap .sitemap-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    text-align: left;
  }
  .footer-sitemap .sitemap-col h4 {
    font-size: 12px;
    margin-bottom: 10px;
  }
  .footer-sitemap .sitemap-col a {
    font-size: 12px;
  }

  /* Contact Footer */
  .footer-contact .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .footer-contact .contact-list {
    display: inline-block;
    text-align: left;
  }
  .footer-contact .contact-social .social-links {
    justify-content: center;
  }

  /* Social Focus Footer */
  .footer-social-focus .social-large {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .footer-social-focus .social-btn {
    padding: 12px 24px;
    font-size: 14px;
  }
  .footer-social-focus .footer-nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
  }
  .footer-social-focus .footer-nav-links a {
    font-size: 12px;
  }

  /* Branded Footer */
  .footer-branded {
    padding: 40px 0 30px;
  }
  .footer-branded .brand-name {
    font-size: calc(24px * var(--heading-scale));
  }
  .footer-branded .brand-tagline {
    font-size: 14px;
  }
  .footer-branded .footer-links-row {
    flex-wrap: wrap;
    gap: 12px 20px;
  }
  .footer-branded .footer-links-row a {
    font-size: 12px;
  }

  /* Newsletter Footer */
  .footer-newsletter {
    padding: 40px 0 25px;
  }
  .footer-newsletter .newsletter-section h3 {
    font-size: calc(20px * var(--heading-scale));
  }
  .footer-newsletter .newsletter-form {
    flex-direction: column;
    gap: 10px;
  }
  .footer-newsletter .newsletter-form button {
    width: 100%;
  }
  .footer-newsletter .footer-bottom-section {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  /* CTA Footer */
  .footer-cta .footer-cta-section {
    padding: 40px 20px;
  }
  .footer-cta .footer-cta-section h3 {
    font-size: calc(22px * var(--heading-scale));
  }
  .footer-cta .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* 更に小さい画面用 */
@media (max-width: 480px) {
  .footer-legal-links {
    flex-direction: row;
    gap: 6px 12px;
  }
  .footer-legal-links a {
    font-size: 10px;
  }
  .footer-sitemap .sitemap-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-branded .footer-links-row {
    flex-direction: column;
    gap: 10px;
  }
}

/* ========================================
   Buttons & UI Elements
   ======================================== */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-on-primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: var(--bg-alt);
  color: var(--text);
  border: var(--border-width) solid var(--border);
}

.btn-secondary:hover {
  background: var(--border);
}

/* Tags */
.tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  background: var(--bg-alt);
  color: var(--text-light);
  border-radius: var(--radius-sm);
  margin: 2px;
  transition: all 0.2s;
}

.tag:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

/* ========================================
   Utilities
   ======================================== */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--primary);
  width: 0%;
  z-index: 1000;
  transition: width 0.1s;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--text-on-primary);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  box-shadow: var(--shadow);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.5s ease-out;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
  :root {
    --heading-scale: 0.95;
  }

  .site-header .container {
    flex-direction: column;
    gap: 15px;
  }

  .hero {
    padding: 80px 0;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .posts-list {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Article Decoration Components
   ======================================== */

/* マーカー（蛍光ペン風） */
.marker { background: linear-gradient(transparent 60%, #fef08a 60%); }
.marker-pink { background: linear-gradient(transparent 60%, #fbcfe8 60%); }
.marker-green { background: linear-gradient(transparent 60%, #bbf7d0 60%); }
.marker-blue { background: linear-gradient(transparent 60%, #bfdbfe 60%); }
.marker-gradient { background: linear-gradient(transparent 60%, #fef08a 60%); font-weight: 600; }
.marker-gradient-blue { background: linear-gradient(transparent 60%, #bfdbfe 60%); font-weight: 600; }
.marker-gradient-pink { background: linear-gradient(transparent 60%, #fbcfe8 60%); font-weight: 600; }

/* ポイントボックス */
.point-box { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: var(--radius); padding: 20px 25px; margin: 25px 0; position: relative; }
.point-box::before { content: 'POINT'; position: absolute; top: -12px; left: 20px; background: var(--primary); color: white; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 4px; }

/* 警告ボックス */
.warning-box { background: #fef2f2; border: 1px solid #fecaca; border-radius: var(--radius); padding: 20px 25px; margin: 25px 0; position: relative; }
.warning-box::before { content: 'WARNING'; position: absolute; top: -12px; left: 20px; background: #ef4444; color: white; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 4px; }

/* メモボックス */
.memo-box { background: #f0fdf4; border: 1px solid #86efac; border-radius: var(--radius); padding: 20px 25px; margin: 25px 0; position: relative; }
.memo-box::before { content: 'MEMO'; position: absolute; top: -12px; left: 20px; background: #22c55e; color: white; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 4px; }

/* インフォボックス */
.info-box { background: #fefce8; border: 1px solid #fde047; border-radius: var(--radius); padding: 20px 25px; margin: 25px 0; position: relative; }
.info-box::before { content: 'INFO'; position: absolute; top: -12px; left: 20px; background: #eab308; color: white; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 4px; }

/* チェックリスト */
.check-list { list-style: none; padding: 0; margin: 25px 0; }
.check-list li { position: relative; padding-left: 30px; margin: 12px 0; }
.check-list li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; background: var(--success); border-radius: 50%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E"); background-size: 14px; background-position: center; background-repeat: no-repeat; }

/* ステップリスト */
.step-list { list-style: none; padding: 0; margin: 25px 0; counter-reset: step-counter; }
.step-list li { position: relative; padding-left: 50px; margin: 20px 0; min-height: 40px; }
.step-list li::before { counter-increment: step-counter; content: 'STEP ' counter(step-counter); position: absolute; left: 0; top: 0; background: var(--primary); color: white; font-size: 10px; font-weight: 700; padding: 4px 8px; border-radius: 4px; }

/* Q&Aボックス */
.qa-box { margin: 30px 0; }
.qa-question, .qa-answer { display: flex; align-items: flex-start; gap: 15px; }
.qa-question { margin-bottom: 15px; }
.qa-answer { padding-left: 20px; }
.qa-label { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; }
.qa-question .qa-label { background: #ef4444; color: white; }
.qa-answer .qa-label { background: #3b82f6; color: white; }
.qa-text { flex: 1; padding-top: 4px; }

/* 比較テーブル */
.comparison-table { width: 100%; border-collapse: collapse; margin: 25px 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.comparison-table th { background: var(--primary); color: white; padding: 15px; font-weight: 600; }
.comparison-table td { padding: 15px; border-bottom: 1px solid var(--border); }
.comparison-table tr:nth-child(even) { background: var(--bg-alt); }
.comparison-table .good { color: #16a34a; font-weight: 600; }
.comparison-table .bad { color: #dc2626; font-weight: 600; }

/* バッジ */
.badge { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.badge-primary { background: var(--primary); color: white; }
.badge-success { background: #10b981; color: white; }
.badge-warning { background: #f59e0b; color: white; }
.badge-danger { background: #ef4444; color: white; }
.badge-outline { background: transparent; border: 1px solid var(--primary); color: var(--primary); }

/* 引用ボックス */
.quote-box { background: var(--bg-alt); border-radius: var(--radius); padding: 25px; margin: 25px 0; position: relative; }
.quote-box::before { content: '"'; position: absolute; top: -10px; left: 20px; font-size: 60px; color: var(--primary); opacity: 0.3; font-family: Georgia, serif; line-height: 1; }
.quote-box p { font-style: italic; padding-left: 30px; margin: 0; }
.quote-box cite { display: block; text-align: right; margin-top: 15px; font-style: normal; color: var(--text-light); font-size: 14px; }

/* タイムライン */
.timeline { position: relative; padding-left: 30px; margin: 25px 0; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-bottom: 25px; }
.timeline-item::before { content: ''; position: absolute; left: -26px; top: 5px; width: 12px; height: 12px; background: var(--primary); border-radius: 50%; border: 2px solid white; box-shadow: 0 0 0 2px var(--primary); }
.timeline-date { font-size: 13px; color: var(--text-light); margin-bottom: 5px; }
.timeline-content { font-weight: 500; }

/* プログレスインジケーター */
.progress-indicator { margin: 20px 0; }
.progress-indicator-label { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 14px; }
.progress-indicator-bar { height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
.progress-indicator-fill { height: 100%; background: var(--primary); border-radius: 4px; }

/* 統計カード */
.stat-card { display: flex; align-items: center; gap: 15px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; border-radius: var(--radius); padding: 20px 25px; margin: 20px 0; }
.stat-card-number { font-size: 36px; font-weight: 800; line-height: 1; }
.stat-card-label { font-size: 14px; opacity: 0.9; }

/* メリット・デメリットボックス */
.merit-box, .demerit-box { border-radius: var(--radius); padding: 20px 25px; margin: 20px 0; }
.merit-box { background: #f0fdf4; border-left: 4px solid #22c55e; }
.demerit-box { background: #fef2f2; border-left: 4px solid #ef4444; }
.merit-box h4, .demerit-box h4 { display: flex; align-items: center; gap: 8px; margin-bottom: 15px; font-size: 16px; }
.merit-box h4::before { content: '○'; color: #22c55e; font-weight: bold; }
.demerit-box h4::before { content: '×'; color: #ef4444; font-weight: bold; }
.merit-box ul, .demerit-box ul { margin: 0; padding-left: 20px; }

/* コールアウト */
.callout { display: flex; align-items: flex-start; gap: 15px; background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); border-radius: var(--radius); padding: 20px; margin: 25px 0; }
.callout-icon { width: 32px; height: 32px; flex-shrink: 0; background: #f59e0b; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; }
.callout-content { flex: 1; }
.callout-content p { margin: 0; font-weight: 500; }

/* カードグリッド */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin: 25px 0; }
.card-grid-item { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; transition: transform 0.2s, box-shadow 0.2s; }
.card-grid-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.card-grid-item h4 { font-size: 16px; margin-bottom: 10px; }
.card-grid-item p { font-size: 14px; color: var(--text-light); margin: 0; }

/* 吹き出し */
.speech-bubble { position: relative; background: var(--bg-alt); border-radius: var(--radius); padding: 20px; margin: 25px 0 25px 50px; }
.speech-bubble::before { content: ''; position: absolute; left: -15px; top: 20px; border: 8px solid transparent; border-right-color: var(--bg-alt); }
.speech-bubble-icon { position: absolute; left: -50px; top: 10px; width: 40px; height: 40px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 18px; }

/* 注釈 */
.footnote { font-size: 13px; color: var(--text-light); border-top: 1px solid var(--border); padding-top: 15px; margin-top: 30px; }
.footnote::before { content: '※ '; color: var(--primary); }

/* 数字ハイライト */
.number-highlight { font-size: 1.5em; font-weight: 700; color: var(--primary); }

/* キーワード */
.keyword { background: #dbeafe; color: var(--primary-dark); padding: 2px 8px; border-radius: 4px; font-weight: 500; }

/* 評価スター */
.rating { display: inline-flex; gap: 4px; color: #fbbf24; font-size: 20px; }
.rating-empty { color: var(--border); }

/* ========================================
   Print Styles
   ======================================== */
@media print {
  .site-header,
  .site-footer,
  .back-to-top,
  .progress-bar {
    display: none;
  }

  .article-content {
    box-shadow: none;
    padding: 0;
  }

  body {
    color: #000;
    background: #fff;
  }
}








