/* ========================================
   バスケット革命 - メインスタイルシート
   ======================================== */

/* ---- リセット・基本設定 ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #1a73e8;
  --primary-light: #4a9eff;
  --primary-dark: #0d47a1;
  --accent: #ff6b35;
  --accent-light: #ff8c5a;
  --bg-white: #ffffff;
  --bg-light: #f4f8ff;
  --bg-pale: #eaf3ff;
  --text-dark: #1a1a2e;
  --text-body: #3a3a5c;
  --text-muted: #6b7a99;
  --border: #d4e4ff;
  --shadow-sm: 0 2px 8px rgba(26,115,232,0.08);
  --shadow-md: 0 8px 32px rgba(26,115,232,0.12);
  --shadow-lg: 0 16px 48px rgba(26,115,232,0.18);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font-main: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-main);
  color: var(--text-body);
  background-color: var(--bg-white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ---- タイポグラフィ ---- */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-dark);
}

/* ---- ヘッダー ---- */
.site-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(26,115,232,0.3);
}

.logo-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.logo-text span {
  color: var(--primary);
}

.header-tagline {
  font-size: 12px;
  color: var(--text-muted);
  display: none;
}

@media (min-width: 600px) {
  .header-tagline {
    display: block;
  }
}

/* ---- ヒーローセクション ---- */
.hero {
  background: linear-gradient(135deg, #0d47a1 0%, #1a73e8 40%, #4a9eff 100%);
  color: white;
  padding: 80px 24px 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,107,53,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.95);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  color: white;
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero h1 em {
  font-style: normal;
  color: #ffd54f;
}

.hero-desc {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: white;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(255,107,53,0.4);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255,107,53,0.5);
  color: white;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  color: white;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.4);
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.25);
  color: white;
  transform: translateY(-2px);
}

/* ---- 統計バー ---- */
.stats-bar {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 8px 32px;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-size: 24px;
  font-weight: 900;
  color: var(--primary);
  display: block;
  line-height: 1.2;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ---- メインコンテナ ---- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- セクション共通 ---- */
section {
  padding: 64px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding: 4px 14px;
  background: var(--bg-pale);
  border-radius: 50px;
}

.section-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ---- 記事グリッド ---- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.article-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.card-eyecatch {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--bg-pale) 0%, var(--border) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  position: relative;
  overflow: hidden;
}

.card-eyecatch::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,115,232,0.05) 0%, rgba(74,158,255,0.1) 100%);
}

.card-body {
  padding: 20px;
}

.card-category {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-pale);
  padding: 3px 10px;
  border-radius: 50px;
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  padding: 6px 0;
}

.card-link:hover {
  color: var(--primary-dark);
  gap: 8px;
}

/* ---- 商材紹介エリア ---- */
.product-section {
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f2ff 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid var(--border);
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--accent) 0%, #ff8c5a 100%);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.product-name {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.4;
}

.product-desc {
  font-size: 16px;
  color: var(--text-body);
  margin-bottom: 28px;
  line-height: 1.8;
}

.product-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
  text-align: left;
}

.feature-item {
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--border);
}

.feature-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.5;
}

.feature-sub {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
}

.btn-cta-large {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent) 0%, #ff8c5a 100%);
  color: white;
  font-weight: 800;
  font-size: 18px;
  padding: 18px 40px;
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(255,107,53,0.4);
  transition: var(--transition);
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-cta-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255,107,53,0.5);
  color: white;
}

.cta-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ---- カテゴリセクション ---- */
.category-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.cat-tab {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid var(--border);
  background: var(--bg-white);
  color: var(--text-muted);
}

.cat-tab.active,
.cat-tab:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* ---- ピックアップ記事 ---- */
.featured-post {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
}

.featured-post .card-eyecatch {
  height: 100%;
  min-height: 260px;
  border-radius: 0;
  font-size: 72px;
}

.featured-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-body .card-title {
  font-size: 20px;
  -webkit-line-clamp: 4;
  margin-bottom: 16px;
}

.featured-body .card-excerpt {
  -webkit-line-clamp: 3;
  font-size: 14px;
  margin-bottom: 20px;
}

@media (max-width: 640px) {
  .featured-post {
    grid-template-columns: 1fr;
  }
  .featured-post .card-eyecatch {
    min-height: 180px;
  }
}

/* ---- ランキングリスト ---- */
.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ranking-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
}

.ranking-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
  color: inherit;
}

.rank-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--border);
  min-width: 40px;
  line-height: 1;
}

.rank-num.top-1 { color: #ffd700; }
.rank-num.top-2 { color: #c0c0c0; }
.rank-num.top-3 { color: #cd7f32; }

.rank-icon {
  font-size: 28px;
  min-width: 40px;
  text-align: center;
}

.rank-content {
  flex: 1;
}

.rank-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 4px;
}

.rank-desc {
  font-size: 13px;
  color: var(--text-muted);
}

.rank-arrow {
  color: var(--primary);
  font-size: 18px;
  flex-shrink: 0;
}

/* ---- フッター ---- */
.site-footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
  padding: 48px 24px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-about .logo-text {
  color: white;
  margin-bottom: 12px;
  display: block;
  font-size: 20px;
}

.footer-about p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}

.footer-col h4 {
  color: white;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
}

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

.copyright {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

.disclaimer {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  max-width: 600px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---- 記事ページ共通 ---- */
.article-header {
  background: linear-gradient(135deg, #0d47a1 0%, #1a73e8 60%, #4a9eff 100%);
  color: white;
  padding: 60px 24px 80px;
  position: relative;
  overflow: hidden;
}

.article-header::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.article-header-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: white;
}

.breadcrumb-sep {
  color: rgba(255,255,255,0.4);
}

.article-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
}

.article-header h1 {
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 900;
  color: white;
  line-height: 1.4;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---- 記事本文 ---- */
.article-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  margin-top: -40px;
  position: relative;
  z-index: 2;
}

@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    order: -1;
  }
}

.article-main {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  min-width: 0;
}

@media (max-width: 640px) {
  .article-main {
    padding: 24px;
  }
}

/* 記事内見出し */
.article-main h2 {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 800;
  color: var(--text-dark);
  margin: 48px 0 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--primary);
  position: relative;
}

.article-main h2::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--accent);
}

.article-main h3 {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  color: var(--text-dark);
  margin: 36px 0 16px;
  padding-left: 16px;
  border-left: 4px solid var(--primary);
  background: var(--bg-pale);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.article-main h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 28px 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-main h4::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.article-main p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-body);
}

.article-main ul, .article-main ol {
  margin: 20px 0 20px 24px;
}

.article-main li {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.7;
}

/* ハイライトボックス */
.highlight-box {
  background: linear-gradient(135deg, #e8f2ff 0%, #f0f7ff 100%);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin: 28px 0;
}

.highlight-box .box-title {
  font-weight: 700;
  color: var(--primary);
  font-size: 15px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.highlight-box p {
  margin-bottom: 0;
  font-size: 15px;
}

/* 警告ボックス */
.warning-box {
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-left: 4px solid #ffc107;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin: 28px 0;
}

.warning-box .box-title {
  font-weight: 700;
  color: #f57c00;
  font-size: 15px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 成功ボックス */
.success-box {
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  border-left: 4px solid #4caf50;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin: 28px 0;
}

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

.check-list li {
  padding-left: 28px;
  position: relative;
}

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

/* 比較テーブル */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 15px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.compare-table th {
  background: var(--primary);
  color: white;
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
}

.compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.compare-table tr:nth-child(even) td {
  background: var(--bg-light);
}

.compare-table tr:last-child td {
  border-bottom: none;
}

/* 商材CTAボックス */
.article-cta-box {
  background: linear-gradient(135deg, #fff8f5 0%, #fff3ed 100%);
  border: 2px solid var(--accent-light);
  border-radius: var(--radius-md);
  padding: 32px;
  margin: 40px 0;
  text-align: center;
}

.cta-box-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}

.cta-box-desc {
  font-size: 15px;
  color: var(--text-body);
  margin-bottom: 24px;
  line-height: 1.7;
}

/* サイドバー */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.sidebar-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 目次 */
.toc-list {
  list-style: none;
  counter-reset: toc;
}

.toc-list > li {
  counter-increment: toc;
  margin-bottom: 10px;
}

.toc-list > li > a {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.5;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.toc-list > li > a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.toc-list > li > a::before {
  content: counter(toc);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* プロフィールカード */
.author-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.author-avatar {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 12px;
  box-shadow: 0 4px 16px rgba(26,115,232,0.3);
}

.author-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.author-title {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
}

.author-bio {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- アニメーション ---- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease both;
}

.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }

/* ---- スクロールトップ ---- */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ---- ユーティリティ ---- */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.bg-light { background-color: var(--bg-light); }
.bg-pale { background-color: var(--bg-pale); }

/* ---- レスポンシブ ---- */
@media (max-width: 768px) {
  .stats-inner {
    gap: 0;
  }
  .stat-item {
    padding: 8px 16px;
    flex: 1;
    min-width: 120px;
  }
  .article-grid {
    grid-template-columns: 1fr;
  }
  .product-card {
    padding: 28px 20px;
  }
  .hero {
    padding: 60px 20px 80px;
  }
}

@media (max-width: 480px) {
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 10px;
  }
  .stats-inner {
    flex-direction: column;
  }
}
