/* ===== 身近な自然体験ラボ - Design Tokens ===== */

:root {
  /* --- Core Green Palette (chosen: Deep Forest) --- */
  --ink: #1F2D1A;
  --ink-soft: #3A4A32;
  --forest-900: #1F3A1E;
  --forest-700: #2D5016;
  --forest-500: #4A6B2A;
  --forest-400: #6B8E4E;
  --forest-300: #8FB26A;
  --forest-200: #B5D19A;
  --forest-100: #DCE8CC;
  --forest-50:  #EEF3E4;

  /* Warm paper */
  --paper:      #FDFBF5;
  --paper-2:    #F6F1E4;
  --paper-3:    #ECE4D0;

  /* Accents */
  --honey:      #C9A961;
  --honey-soft: #E8D49A;
  --clay:       #B8674A;
  --sky:        #8FB8C9;

  /* Type */
  --font-sans: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', 'M PLUS Rounded 1c', system-ui, sans-serif;
  --font-serif: 'Zen Old Mincho', 'Noto Serif JP', 'Hiragino Mincho ProN', serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(31, 45, 26, 0.06), 0 2px 8px rgba(31, 45, 26, 0.04);
  --shadow-md: 0 4px 12px rgba(31, 45, 26, 0.08), 0 8px 24px rgba(31, 45, 26, 0.06);
  --shadow-lg: 0 12px 32px rgba(31, 45, 26, 0.10), 0 24px 60px rgba(31, 45, 26, 0.08);

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  font-weight: 500;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--forest-700); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--forest-500); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: var(--forest-900);
  margin: 0;
}

/* Mincho serif accents via class */
.serif { font-family: var(--font-serif); }
.mono  { font-family: var(--font-mono); }

/* Layout utilities */
.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}
.container-narrow {
  width: min(860px, 92vw);
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--forest-700);
  color: var(--paper);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--forest-900);
  color: var(--paper);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--forest-700);
  border: 1.5px solid var(--forest-400);
}
.btn-ghost:hover {
  background: var(--forest-50);
}
.btn-honey {
  background: var(--honey);
  color: #3A2E10;
  box-shadow: var(--shadow-sm);
}
.btn-honey:hover { background: #B69247; color: #3A2E10; transform: translateY(-2px); }

/* Tag / chip */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: var(--forest-50);
  color: var(--forest-700);
}

/* Section spacing */
section { padding: 96px 0; }
@media (max-width: 720px) {
  section { padding: 64px 0; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--forest-200); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--forest-300); }

/* Selection */
::selection { background: var(--honey-soft); color: var(--forest-900); }
