/* =========================
   base.css
   サイト全体の土台（必須）
   ========================= */

/* ---------- CSS Variables ---------- */
:root {
  --primary-color: #3b82f6;
  --secondary-color: #6b7280;

  --white: #ffffff;
  --black: #000000;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;

  --red-500: #ef4444;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --green-500: #22c55e;
}

/* ---------- Reset / Normalize ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ---------- Base Typography ---------- */
body {
  font-family: -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, "Helvetica Neue",
               Arial, sans-serif;
  color: var(--gray-800);
  line-height: 1.5;
  background-color: var(--gray-50);
}

/* ---------- Common Elements ---------- */
a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------- Layout Helper ---------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ---------- Utility (minimal) ---------- */
.disabled-link {
  pointer-events: none;
  cursor: default;
  opacity: 0.7;
}
