/* ========== Claude Code Academy 共通スタイル ========== */

:root {
  --primary: #0c111d;
  --primary-light: #1a2032;
  --accent: #d97706;
  --accent-light: #fbbf24;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-soft: #f9fafb;
  --bg-card: #ffffff;
  --border: #e5e7eb;
  --code-bg: #1e293b;
  --code-text: #e2e8f0;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;
}

[data-theme="dark"] {
  --primary: #f9fafb;
  --primary-light: #d1d5db;
  --accent: #fbbf24;
  --accent-light: #fde68a;
  --text: #f3f4f6;
  --text-light: #9ca3af;
  --bg: #0c111d;
  --bg-soft: #1a2032;
  --bg-card: #1a2032;
  --border: #374151;
  --code-bg: #0f172a;
  --code-text: #e2e8f0;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  transition: background 0.3s, color 0.3s;
}

/* ========== レイアウト ========== */
.app {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}

/* サイドバー */
.sidebar {
  background: var(--bg-soft);
  border-right: 1px solid var(--border);
  padding: 1.5rem 1rem;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.sidebar-logo {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
}

.sidebar-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
}

.sidebar-subtitle {
  font-size: 0.75rem;
  color: var(--text-light);
}

.nav-section {
  margin-bottom: 1.5rem;
}

.nav-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  padding: 0 0.5rem;
}

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

.nav-item {
  margin-bottom: 0.125rem;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.875rem;
  transition: all 0.15s;
}

.nav-link:hover {
  background: var(--bg-card);
  color: var(--accent);
}

.nav-link.active {
  background: var(--accent);
  color: white;
  font-weight: 600;
}

.nav-link.active:hover {
  background: var(--accent);
  color: white;
}

.nav-link-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: var(--bg-card);
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.nav-link.active .nav-link-num {
  background: rgba(255, 255, 255, 0.25);
}

/* メインコンテンツ */
.main {
  padding: 2.5rem 3rem 5rem;
  max-width: 920px;
  width: 100%;
}

/* ヘッダー（コンテンツ上部） */
.content-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.breadcrumb a {
  color: var(--text-light);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent);
}

h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--primary);
  margin: 3rem 0 1rem;
  padding-top: 0.5rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin: 2rem 0 0.75rem;
}

h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1.5rem 0 0.5rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--text);
}

ul, ol {
  margin: 0 0 1rem 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

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

a:hover {
  text-decoration: underline;
}

/* メタ情報 */
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-light);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.meta-icon {
  width: 16px;
  height: 16px;
}

/* ヒーローセクション */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 5rem 3rem;
  border-radius: 16px;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.3) 0%, transparent 70%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(217, 119, 6, 0.2);
  color: var(--accent-light);
  padding: 0.375rem 0.875rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}

.hero h1 {
  color: white;
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 720px;
  margin-bottom: 2rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: white;
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.hero-cta:hover {
  background: var(--accent-light);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

/* カードグリッド */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.2s;
  position: relative;
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: white;
  border-radius: 8px;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.card-desc {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-light);
}

.card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

a.card-wrapper {
  text-decoration: none;
  color: inherit;
}

a.card-wrapper:hover {
  text-decoration: none;
}

/* コードブロック */
pre {
  background: var(--code-bg);
  color: var(--code-text);
  padding: 1.25rem 1.5rem;
  border-radius: 10px;
  overflow-x: auto;
  margin: 1.25rem 0;
  font-size: 0.875rem;
  line-height: 1.65;
  position: relative;
}

code {
  font-family: "SF Mono", Monaco, Consolas, "Courier New", monospace;
  font-size: 0.875em;
}

p code, li code, td code {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
  font-size: 0.85em;
  color: var(--accent);
}

pre code {
  background: transparent;
  border: 0;
  color: inherit;
  padding: 0;
}

.code-label {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  background: var(--accent);
  color: white;
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.copy-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
  font-size: 0.7rem;
  cursor: pointer;
  transition: all 0.15s;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.copy-btn.copied {
  background: var(--success);
  border-color: var(--success);
}

/* テーブル */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

th, td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

th {
  background: var(--bg-soft);
  font-weight: 700;
  color: var(--primary);
}

tr:last-child td {
  border-bottom: 0;
}

/* 通知ボックス */
.callout {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin: 1.25rem 0;
  border-left: 4px solid;
  position: relative;
}

.callout-info {
  background: rgba(59, 130, 246, 0.08);
  border-color: var(--info);
}

.callout-success {
  background: rgba(16, 185, 129, 0.08);
  border-color: var(--success);
}

.callout-warning {
  background: rgba(245, 158, 11, 0.08);
  border-color: var(--warning);
}

.callout-error {
  background: rgba(239, 68, 68, 0.08);
  border-color: var(--error);
}

.callout-tip {
  background: rgba(217, 119, 6, 0.08);
  border-color: var(--accent);
}

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

.callout p {
  margin: 0;
  font-size: 0.92rem;
}

.callout p + p {
  margin-top: 0.5rem;
}

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

.steps > li {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 3.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 0.75rem;
  counter-increment: step-counter;
}

.steps > li::before {
  content: counter(step-counter);
  position: absolute;
  left: 1rem;
  top: 1.25rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.step-title {
  font-weight: 700;
  margin-bottom: 0.25rem;
  font-size: 1rem;
  color: var(--primary);
}

/* キーボード表記 */
kbd {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 4px;
  padding: 0.125rem 0.5rem;
  font-family: "SF Mono", Monaco, Consolas, monospace;
  font-size: 0.85em;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}

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

.checklist > li {
  position: relative;
  padding: 0.5rem 0.5rem 0.5rem 2rem;
}

.checklist > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 4px;
  background: var(--bg-card);
}

.checklist > li.done::before {
  background: var(--success);
  border-color: var(--success);
}

.checklist > li.done::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.85rem;
  width: 8px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* バッジ */
.badge {
  display: inline-block;
  padding: 0.125rem 0.625rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.badge-easy { background: rgba(16, 185, 129, 0.15); color: var(--success); }
.badge-medium { background: rgba(245, 158, 11, 0.15); color: var(--warning); }
.badge-hard { background: rgba(239, 68, 68, 0.15); color: var(--error); }
.badge-info { background: rgba(59, 130, 246, 0.15); color: var(--info); }
.badge-tip { background: rgba(217, 119, 6, 0.15); color: var(--accent); }

/* チャプターナビ */
.chapter-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.chapter-nav-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s;
}

.chapter-nav-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  text-decoration: none;
}

.chapter-nav-label {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.chapter-nav-title {
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
}

.chapter-nav-item.next {
  text-align: right;
}

.chapter-nav-item.disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* 進捗バー */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  z-index: 100;
  transition: width 0.1s;
}

/* ツールバー */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.toolbar-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--text);
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.toolbar-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* モバイル */
.mobile-toggle {
  display: none;
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 50;
  background: var(--accent);
  color: white;
  border: 0;
  padding: 0.625rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 900px) {
  .app {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: fixed;
    left: -100%;
    top: 0;
    width: 280px;
    z-index: 40;
    transition: left 0.3s;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
  }

  .sidebar.open {
    left: 0;
  }

  .mobile-toggle {
    display: block;
  }

  .main {
    padding: 4.5rem 1.25rem 4rem;
  }

  .hero {
    padding: 3rem 1.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.4rem; }

  .chapter-nav {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* 印刷 */
@media print {
  .sidebar, .toolbar, .progress-bar, .chapter-nav, .mobile-toggle {
    display: none;
  }

  .main {
    padding: 0;
    max-width: 100%;
  }

  .app {
    grid-template-columns: 1fr;
  }
}

/* 折りたたみ */
details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin: 1rem 0;
}

summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
  padding: 0.25rem 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

summary::-webkit-details-marker {
  display: none;
}

summary::before {
  content: "▶";
  display: inline-block;
  font-size: 0.7em;
  transition: transform 0.2s;
  color: var(--accent);
}

details[open] summary::before {
  transform: rotate(90deg);
}

details > *:not(summary) {
  margin-top: 0.75rem;
}

/* タブ */
.tabs {
  margin: 1.5rem 0;
}

.tab-buttons {
  display: flex;
  gap: 0.25rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: 1rem;
}

.tab-btn {
  background: transparent;
  border: 0;
  padding: 0.625rem 1rem;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}

.tab-btn.active {
  color: var(--accent);
  border-color: var(--accent);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* 引用 */
blockquote {
  border-left: 4px solid var(--accent);
  padding: 0.5rem 1.25rem;
  background: rgba(217, 119, 6, 0.05);
  border-radius: 0 8px 8px 0;
  margin: 1.25rem 0;
  font-style: italic;
}

blockquote p {
  margin: 0;
}

/* ハイライト */
.highlight {
  background: linear-gradient(180deg, transparent 60%, rgba(217, 119, 6, 0.3) 60%);
  padding: 0 0.125rem;
}

/* TOC */
.toc {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.toc-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.toc-list li {
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}

.toc-list a {
  color: var(--text);
  text-decoration: none;
  display: inline-block;
  padding: 0.125rem 0;
  transition: color 0.15s;
}

.toc-list a:hover {
  color: var(--accent);
}

.toc-list .toc-h3 {
  padding-left: 1rem;
  font-size: 0.825rem;
}

/* スクロールトップ */
.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--accent);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  font-size: 1.25rem;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.2s;
}

.scroll-top.visible {
  display: flex;
}

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

/* キーボードショートカット表 */
.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.shortcut-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  text-align: center;
}

.shortcut-keys {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin-bottom: 0.75rem;
}

.shortcut-keys kbd {
  font-size: 1rem;
  padding: 0.375rem 0.75rem;
}

.shortcut-plus {
  color: var(--text-light);
  font-weight: 700;
}

.shortcut-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.shortcut-desc {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* タイムライン（Phase用） */
.timeline {
  position: relative;
  padding-left: 2rem;
  margin: 2rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 1.5rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.625rem;
  top: 0.5rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
}

.timeline-phase {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.25rem;
  letter-spacing: 0.05em;
}

.timeline-title {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.timeline-desc {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* FAQ */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  padding: 1rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--primary);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 400;
  transition: transform 0.2s;
}

details.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text);
}

.faq-answer p {
  margin-bottom: 0.5rem;
}

/* タグ */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin: 0.75rem 0;
}

.tag {
  font-size: 0.75rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 0.125rem 0.5rem;
  border-radius: 12px;
  color: var(--text-light);
}

/* 検索 */
.search-box {
  position: relative;
  margin-bottom: 1rem;
}

.search-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.5rem 0.75rem 0.5rem 2.25rem;
  border-radius: 6px;
  font-size: 0.875rem;
  color: var(--text);
}

.search-input:focus {
  outline: none;
  border-color: var(--accent);
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}

/* footer */
.footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
}
