/* CSS Design System for 3D CAD Guide */

:root {
  /* Quark-DIY 木のトーンに統一 */
  --bg-dark: #f3ead9;          /* ページ背景：クリーム */
  --bg-card: #fffdf8;          /* カード：紙色 */
  --bg-card-hover: #fff8ec;
  --border-color: #e6d5bd;     /* 薄茶のヘアライン */
  --border-highlight: #a5794f;

  --text-main: #4a3b2a;        /* 本文：濃い茶 */
  --text-muted: #8a7a5f;
  --text-dark: #fffdf8;        /* 木色ボタン上の文字＝明るく */

  --accent-cyan: #a5794f;      /* 主アクセント＝木の茶 */
  --accent-purple: #b0855c;    /* 副アクセント＝明るい茶 */
  --accent-green: #6f8f3c;     /* 自然な緑（無料表示など） */
  --accent-amber: #c08a3e;     /* 木のアンバー（星・freemium） */

  --gradient-primary: linear-gradient(135deg, #a5794f 0%, #8a5a2b 100%);
  --gradient-card: linear-gradient(180deg, #fffdf8 0%, #fdf7ec 100%);
  --gradient-highlight: linear-gradient(135deg, rgba(165, 121, 79, 0.10) 0%, rgba(122, 85, 51, 0.08) 100%);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-glow: 0 6px 18px rgba(122, 85, 51, 0.15);
  --shadow-card: 0 8px 22px -8px rgba(122, 85, 51, 0.28);

  --font-family: 'Inter', 'Noto Sans JP', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  background-image:
    radial-gradient(circle at 15% 12%, rgba(165, 121, 79, 0.05) 0%, transparent 42%),
    radial-gradient(circle at 85% 60%, rgba(122, 85, 51, 0.04) 0%, transparent 42%);
  background-attachment: fixed;
  padding-bottom: 60px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.25rem;
}

.logo-icon {
  font-size: 1.5rem;
}

/* 青緑で光る文字 (by Quark-DIY) */
.quark-brand {
  font-size: 0.95rem;
  font-weight: 800;
  color: #2dd4bf;
  text-shadow: 0 0 6px #2dd4bf, 0 0 12px rgba(45, 212, 191, 0.8), 0 0 20px rgba(20, 184, 166, 0.6);
  letter-spacing: 0.05em;
  margin-left: 6px;
}

.quark-brand-hero {
  font-size: 1.35rem;
  font-weight: 900;
  color: #2dd4bf;
  text-shadow: 0 0 8px #2dd4bf, 0 0 18px rgba(45, 212, 191, 0.9), 0 0 30px rgba(6, 182, 212, 0.7);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  animation: cyanGlow 2.5s ease-in-out infinite alternate;
}

@keyframes cyanGlow {
  0% {
    text-shadow: 0 0 5px #2dd4bf, 0 0 12px rgba(45, 212, 191, 0.7);
    transform: scale(1);
  }
  100% {
    text-shadow: 0 0 12px #2dd4bf, 0 0 25px rgba(45, 212, 191, 1), 0 0 40px rgba(6, 182, 212, 0.9);
    transform: scale(1.02);
  }
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent-cyan);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

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

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.3);
  margin-bottom: 12px;
}

/* Hero Section */
.hero-section {
  padding: 60px 0 40px;
  text-align: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 36px;
}

/* Beginner Highlight Box */
.hero-beginner-box {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12) 0%, rgba(192, 132, 252, 0.12) 100%);
  border: 2px solid var(--accent-cyan);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  max-width: 840px;
  margin: 0 auto 40px;
  text-align: left;
  position: relative;
  box-shadow: var(--shadow-glow);
}

.beginner-tag {
  display: inline-block;
  background: var(--accent-cyan);
  color: var(--text-dark);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.beginner-content {
  display: flex;
  align-items: center;
  gap: 24px;
}

.beginner-icon {
  font-size: 3rem;
}

.beginner-text h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
  color: #fff;
}

.beginner-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections General */
.section {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
}

/* Diagnostic Card */
.diagnostic-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
}

.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
}

.step {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;

  transition: all 0.3s ease;
}

.step.active {
  background: var(--accent-cyan);
  color: var(--text-dark);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.5);
}

.step-line {
  height: 2px;
  width: 60px;
  background: rgba(255, 255, 255, 0.1);
}

.question-step {
  display: none;
}

.question-step.active {
  display: block;
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.question-step h3 {
  font-size: 1.25rem;
  margin-bottom: 24px;
  text-align: center;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.option-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: left;
  cursor: pointer;
  color: var(--text-main);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.option-btn:hover {
  background: rgba(56, 189, 248, 0.1);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.option-icon {
  font-size: 2rem;
}

.option-title {
  font-weight: 700;
  font-size: 1.05rem;
}

.option-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Diagnostic Result Box */
.result-box {
  text-align: center;
  padding: 20px 0;
}

.result-badge {
  display: inline-block;
  background: var(--accent-green);
  color: #000;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.result-box h3 {
  font-size: 2.2rem;
  margin-bottom: 12px;
  color: var(--accent-cyan);
}

.result-box p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.result-features {
  display: inline-block;
  text-align: left;
  background: rgba(0, 0, 0, 0.2);
  padding: 20px 30px;
  border-radius: var(--radius-md);
  margin-bottom: 30px;
}

/* Feature Section (Tinkercad Highlight) */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(12px);
}

.highlighted-card {
  border: 2px solid var(--accent-cyan);
  background: var(--gradient-card);
  position: relative;
  overflow: hidden;
}

.feature-badge {
  display: inline-block;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.feature-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}

.cad-logo-placeholder {
  background: #ff4757;
  color: white;
  font-weight: 900;
  font-size: 1.2rem;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  letter-spacing: -0.03em;
}

.feature-tagline {
  color: var(--text-muted);
  font-size: 1rem;
}

.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.check-list li strong {
  color: var(--text-main);
}

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

.feature-demo-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.examples-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0 24px;
}

.example-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Category Filters & CAD Cards Grid */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--accent-cyan);
  color: var(--text-dark);
  border-color: var(--accent-cyan);
}

.cad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.cad-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(8px);
}

.cad-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-glow);
}

.highlight-border {
  border: 2px solid rgba(56, 189, 248, 0.6);
}

.cad-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.cad-type-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}

.type-solid { background: rgba(56, 189, 248, 0.15); color: var(--accent-cyan); }
.type-sculpt { background: rgba(192, 132, 252, 0.15); color: var(--accent-purple); }

.cad-price-badge {
  font-size: 0.8rem;
  font-weight: 700;
}

.price-free { color: var(--accent-green); }
.price-freemium { color: var(--accent-amber); }
.price-paid { color: #f43f5e; }

.cad-name {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.cad-maker {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.cad-scores {
  background: rgba(0, 0, 0, 0.25);
  padding: 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.score-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.score-stars {
  font-weight: 700;
  color: var(--accent-amber);
}

.cad-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.cad-pros-cons {
  list-style: none;
  font-size: 0.85rem;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cad-pros-cons .pro { color: #4ade80; }
.cad-pros-cons .con { color: #f87171; }

.cad-target {
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent-cyan);
}

/* 4 Points Guide */
.points-grid {
  gap: 28px;
}

.point-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}

.point-number {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.08);
  position: absolute;
  top: 16px;
  right: 24px;
}

.point-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #fff;
}

.point-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.point-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.comp-box {
  background: rgba(0, 0, 0, 0.2);
  padding: 14px;
  border-radius: var(--radius-sm);
}

.comp-box h4 {
  font-size: 0.9rem;
  margin-bottom: 6px;
}

/* Comparison Table */
.table-wrapper {
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
}

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

.comparison-table th, .comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
  background: rgba(15, 23, 42, 0.9);
  color: var(--accent-cyan);
  font-weight: 700;
}

.highlight-row {
  background: rgba(56, 189, 248, 0.1);
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 40px 0;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  margin-top: 60px;
  font-size: 0.9rem;
}

/* Markdown Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 800px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-glow);
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
}

.modal-body {
  padding: 24px;
  flex-grow: 1;
  overflow-y: auto;
}

.modal-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

#markdown-text-area {
  width: 100%;
  height: 350px;
  background: #090d16;
  color: #e2e8f0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-family: monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  resize: vertical;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-title { font-size: 2.2rem; }
  .beginner-content { flex-direction: column; text-align: center; }
  .grid-2col { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .point-comparison { grid-template-columns: 1fr; }
}

/* ============================================================
   Quark-DIY 木トーン統一：ハードコード色の上書き（ダーク→明るい木調）
   ============================================================ */

/* ヘッダー：紙色の帯に */
.site-header {
  background: rgba(255, 253, 248, 0.9);
  border-bottom: 2px solid var(--wood, #a5794f);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.nav-links a { color: var(--text-main); }
.nav-links a:hover { color: #a5794f; }
/* Quark-DIYトップへ戻るボタン（ロゴ横） */
.back-to-site {
  display: inline-block;
  background: #a5794f;
  color: #fffdf8;
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  margin-left: 10px;
  transition: background 0.2s ease;
}
.back-to-site:hover { background: #8a5a2b; color: #fffdf8; }
/* ヘッダー項目が1文字ずつ折り返される問題の対策 */
.header-container { flex-wrap: wrap; gap: 10px 16px; }
.nav-links { flex-wrap: wrap; gap: 10px 18px; }
.nav-links a { white-space: nowrap; }
.logo, .logo-text { white-space: nowrap; }

/* 「by Quark-DIY」：発光をやめて木の茶で */
.quark-brand,
.quark-brand-hero {
  color: #7a5533;
  text-shadow: none;
  animation: none;
}

/* ボタン */
.btn-primary { box-shadow: 0 3px 10px rgba(122, 85, 51, 0.25); }
.btn-primary:hover { box-shadow: 0 5px 16px rgba(122, 85, 51, 0.35); }
.btn-secondary { background: #f3ead9; color: #4a3b2a; border: 1px solid #e6d5bd; }
.btn-secondary:hover { background: #ecdfc8; color: #4a3b2a; }
.btn-outline:hover { border-color: #a5794f; color: #7a5533; }

/* バッジ */
.badge {
  background: #efe5d3;
  color: #7a5533;
  border: 1px solid #e6d5bd;
}

/* ヒーローの初心者ボックス */
.hero-beginner-box {
  background: linear-gradient(135deg, rgba(165, 121, 79, 0.10) 0%, rgba(122, 85, 51, 0.08) 100%);
  border: 2px solid #a5794f;
  box-shadow: 0 8px 22px -8px rgba(122, 85, 51, 0.28);
}
.beginner-text h3 { color: #7a5533; }

/* 診断ステップ */
.step { background: #ecdfc8; color: #8a7a5f; }
.step.active { color: #fffdf8; box-shadow: 0 3px 10px rgba(122, 85, 51, 0.30); }
.step-line { background: #e6d5bd; }

/* 選択肢ボタン */
.option-btn { background: #fffdf8; }
.option-btn:hover { background: #f6ecd9; border-color: #a5794f; }

/* 診断結果 */
.result-badge { background: #7a5533; color: #fffdf8; }
.result-features { background: #f3ead9; }

/* Tinkercadハイライト */
.feature-demo-card { background: #f6ecd9; }
.example-item { background: #f3ead9; border: 1px solid #e6d5bd; }

/* CADカードのフィルタ */
.filter-btn { background: #fffdf8; }
.filter-btn:hover, .filter-btn.active { color: #fffdf8; }

/* CADカード */
.cad-card:hover { box-shadow: 0 10px 24px -10px rgba(122, 85, 51, 0.30); }
.highlight-border { border: 2px solid rgba(165, 121, 79, 0.7); }
.type-solid { background: #ece0cd; color: #7a5533; }
.type-sculpt { background: #efe1d3; color: #8a5a2b; }
.price-paid { color: #b5533a; }
.cad-scores { background: #f3ead9; }
.cad-pros-cons .pro { color: #5f8a2f; }
.cad-pros-cons .con { color: #b5533a; }
.cad-target { background: #f6ecd9; border-left: 3px solid #a5794f; }

/* 4つのポイント */
.point-number { color: rgba(122, 85, 51, 0.10); }
.point-card h3 { color: #7a5533; }
.comp-box { background: #f3ead9; }

/* 比較表 */
.comparison-table th { background: #efe5d3; color: #7a5533; }
.highlight-row { background: rgba(165, 121, 79, 0.10); }

/* CADロゴチップ（Tinkercad）を木トーンに */
.cad-logo-placeholder { background: #8a5a2b; color: #fffdf8; }

/* 記事用Markdownモーダル */
.modal-overlay { background: rgba(74, 59, 42, 0.55); }
.modal-content { box-shadow: 0 12px 40px rgba(74, 59, 42, 0.35); }
#markdown-text-area { background: #f7f1e6; color: #4a3b2a; }
