/* ==========================================================================
   BizHack AI - Modern, Ultra-Fast & Responsive Style
   Design Philosophy: Clean, readable typography, Core Web Vitals optimized,
   CLS-free ad placeholders, mobile-first.
   ========================================================================== */

:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --accent: #0ea5e9;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --bg-main: #ffffff;
  --bg-sub: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --border-focus: #94a3b8;
  --code-bg: #0f172a;
  --code-text: #e2e8f0;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Menlo, Consolas, monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

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

a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* 読了プログレスバー */
#read-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  width: 0%;
  z-index: 1000;
  transition: width 0.1s linear;
}

/* ヘッダー */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 999;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo-mark {
  width: 46px;
  height: 46px;
  background: #000000;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.25rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.logo-mark:hover {
  transform: scale(1.04);
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.logo-title {
  font-size: 1.45rem;
  font-weight: 850;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1.15;
  display: block;
}

.logo-tagline {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  display: block;
  margin-top: 3px;
  letter-spacing: -0.01em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
}

.nav-link:hover {
  background: var(--bg-sub);
  text-decoration: none;
}

/* レイアウトコンテナ */
.main-wrapper {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

/* ヒーローセクション（トップページ） */
.hero-section {
  background: radial-gradient(circle at 85% 30%, rgba(30, 41, 59, 0.75) 0%, #0a0e17 100%);
  color: white;
  padding: 3.5rem 3rem;
  border-radius: 20px;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-grid {
  display: block;
  max-width: 920px;
}

.hero-badge-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.hero-badge-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #f1f5f9;
  letter-spacing: 0.02em;
}

.hero-badge-sub {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #38bdf8;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 850;
  line-height: 1.3;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
}

.hero-title .time-accent {
  color: #38bdf8;
  font-weight: 900;
  padding: 0 0.2rem;
  border-bottom: 2px solid rgba(56, 189, 248, 0.5);
}

.hero-lead-box {
  background: rgba(15, 23, 42, 0.65);
  border-left: 3px solid #38bdf8;
  padding: 1.1rem 1.35rem;
  border-radius: 0 10px 10px 0;
  margin-bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-lead {
  font-size: 0.96rem;
  color: #cbd5e1;
  line-height: 1.75;
  margin-bottom: 0;
}

.hero-lead strong {
  color: #ffffff;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.stat-item strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: #38bdf8;
}

.stat-item span {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* ヒーロー右側のアートワークエンブレム */
.hero-emblem-card {
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.65), rgba(10, 14, 23, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  position: relative;
}

.hero-emblem-img {
  width: 140px;
  height: 140px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.18);
  margin-bottom: 1.1rem;
  background: #000;
}

.hero-emblem-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-emblem-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #38bdf8;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.hero-emblem-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f1f5f9;
  letter-spacing: -0.01em;
}

.hero-emblem-desc {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.35rem;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-emblem-card {
    display: none;
  }
  .hero-title {
    font-size: 2rem;
  }
}

/* セクションタイトル */
.section-header {
  margin-bottom: 1.75rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  position: relative;
  padding-left: 0.85rem;
}

.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 4px;
  background: var(--primary);
  border-radius: 2px;
}

/* 記事グリッド */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

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

.card-thumb {
  height: 200px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  overflow: hidden;
  box-shadow: inset 0 -20px 40px rgba(0, 0, 0, 0.15);
}

.thumb-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  width: 100%;
}

.thumb-tag-right {
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.3);
  letter-spacing: 0.02em;
}

.thumb-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 2;
  width: 100%;
}

.thumb-date {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, 0.95);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.25);
  letter-spacing: 0.02em;
  font-family: var(--font-mono);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.thumb-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  margin: auto 0;
  width: 100%;
}

.thumb-main-title {
  color: #ffffff;
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  margin-bottom: 0.45rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.thumb-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  padding: 0.3rem 0.85rem;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  letter-spacing: 0.02em;
}

/* サムネイル背景パターン装飾 */
.thumb-pattern {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0.15;
  background-image: radial-gradient(rgba(255, 255, 255, 0.9) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  z-index: 1;
}

.thumb-glow {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  filter: blur(45px);
  background: rgba(255, 255, 255, 0.25);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.category-tag {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
}
.cat-biz { background: #2563eb; }
.cat-field { background: #059669; }
.cat-tech { background: #7c3aed; }
.cat-solo { background: #d97706; }

.card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  color: #0f172a;
}

.card-title a {
  color: inherit;
}
.card-title a:hover {
  color: var(--primary);
  text-decoration: none;
}

.card-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  gap: 0.5rem;
}

.card-meta-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
  font-size: 0.75rem;
}

.card-date {
  font-size: 0.72rem;
  color: #64748b;
  font-family: var(--font-mono);
}

.author-chip {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--text-main);
}

.author-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: bold;
  color: white;
}

/* ==========================================================================
   記事詳細ページ スタイル
   ========================================================================== */

.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  align-items: start;
}

.article-main {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

/* ステマ規制対応 PR表記バー */
.pr-disclosure-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: #475569;
  margin-bottom: 1.5rem;
}

.pr-badge {
  background: #475569;
  color: white;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.7rem;
}

.article-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.75rem;
}

.article-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.35;
  color: #0f172a;
  margin: 0.75rem 0 1.25rem 0;
  letter-spacing: -0.015em;
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* 目次（Table of Contents） */
.toc-box {
  background: var(--bg-sub);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}

.toc-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toc-list {
  list-style: none;
}

.toc-list li {
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.toc-list li a {
  color: #334155;
}
.toc-list li a:hover {
  color: var(--primary);
}

.toc-list li.toc-h3 {
  padding-left: 1.25rem;
  font-size: 0.85rem;
}

/* 本文タイポグラフィ */
.article-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin: 2.75rem 0 1.25rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e2e8f0;
}

.article-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin: 2rem 0 0.85rem 0;
  position: relative;
  padding-left: 0.65rem;
}

.article-content h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.article-content p {
  margin-bottom: 1.4rem;
  font-size: 1.02rem;
  line-height: 1.85;
}

.article-content ul, .article-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

/* 比較テーブル */
.table-responsive {
  overflow-x: auto;
  margin: 1.75rem 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.styled-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: left;
}

.styled-table th, .styled-table td {
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border);
}

.styled-table th {
  background: #f1f5f9;
  font-weight: 700;
  color: #0f172a;
}

.styled-table tr:hover {
  background: #f8fafc;
}

/* コピペ用プロンプト・コードブロック */
.code-box {
  background: var(--code-bg);
  border-radius: var(--radius-md);
  margin: 1.75rem 0;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.code-header {
  background: #1e293b;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #334155;
}

.code-title {
  color: #94a3b8;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  font-weight: 600;
}

.copy-btn {
  background: #334155;
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: background 0.15s ease;
}

.copy-btn:hover {
  background: var(--primary);
}

.code-content {
  padding: 1.25rem;
  overflow-x: auto;
  color: var(--code-text);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.6;
}

.code-content pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-all;
}

/* コールアウト・検証ボックス */
.callout-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin: 1.5rem 0;
}

.callout-box.success {
  background: #ecfdf5;
  border-color: #a7f3d0;
  border-left-color: #059669;
}

.callout-box.warning {
  background: #fffbeb;
  border-color: #fde68a;
  border-left-color: #d97706;
}

.callout-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* CLSゼロ化 広告枠プレースホルダー */
.ad-slot-placeholder {
  min-height: 280px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-md);
  margin: 2.25rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  position: relative;
}

.ad-label {
  font-size: 0.68rem;
  color: #94a3b8;
  position: absolute;
  top: 0.4rem;
  right: 0.65rem;
  letter-spacing: 0.05em;
}

.ad-demo-content {
  text-align: center;
}

.ad-demo-btn {
  display: inline-block;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-md);
  margin-top: 0.75rem;
  transition: transform 0.15s ease;
}

.ad-demo-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
  color: white;
}

/* 著者バイオカード */
.author-bio-card {
  background: var(--bg-sub);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2.5rem 0 1.5rem 0;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.bio-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.bio-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.bio-role {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.bio-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* サイドバー */
.article-sidebar {
  position: sticky;
  top: 5rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

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

.widget-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 0.4rem;
}

.popular-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.popular-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.popular-num {
  font-weight: 800;
  font-size: 1rem;
  color: #94a3b8;
  width: 20px;
}

.popular-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
}

/* フッター */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  border-top: 1px solid #1e293b;
  padding: 3rem 1.5rem 2rem 1.5rem;
  margin-top: 4rem;
  font-size: 0.88rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #94a3b8;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid #1e293b;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

/* レスポンシブ対応 */
@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .article-main {
    padding: 1.25rem;
  }
  .article-title {
    font-size: 1.5rem;
  }
  .hero-section {
    padding: 2rem 1.25rem;
  }
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }
}

/* 専属読者モニター 検証メモボックス */
.reader-review-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #6366f1;
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.4rem;
  margin: 1.75rem 0;
}

.reader-review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed #cbd5e1;
}

.reader-review-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: #1e1b4b;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.reader-tag {
  background: #e0e7ff;
  color: #4338ca;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
}

.reader-review-body {
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.65;
}

.reader-review-body p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   朝の3分AIルーティン表（チートシート）
   ========================================================================== */
.routine-section {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  margin: 3rem 0;
  box-shadow: var(--shadow-sm);
}

.routine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.routine-card {
  background: var(--bg-sub);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.routine-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
}

.routine-time {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  background: #e0f2fe;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 0.5rem;
}

.routine-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.4rem;
}

.routine-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.75rem;
  flex-grow: 1;
}

.routine-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.routine-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   手直しゼロ化！80点ドラフト検品チェックシート
   ========================================================================== */
.draft-checklist-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-left: 4px solid #16a34a;
  border-radius: var(--radius-sm);
  padding: 1.35rem 1.5rem;
  margin: 2rem 0;
}

.draft-checklist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  border-bottom: 1px dashed #86efac;
  padding-bottom: 0.5rem;
}

.draft-checklist-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #14532d;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.draft-badge {
  background: #dcfce7;
  color: #15803d;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  border: 1px solid #86efac;
}

.checklist-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: #166534;
  line-height: 1.5;
}

.checklist-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1.5px solid #16a34a;
  border-radius: 3px;
  background: white;
  color: #16a34a;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}
