/* ========================================================================
   base.css — 無害ミニマム
   ===================================================================== */

/* 1) ボックスモデル安定化 */
*, *::before, *::after { box-sizing: border-box; }

/* 2) メディア要素の挙動 */
img, video, canvas, svg { max-width: 100%; height: auto; display: block; }

/* 3) フォームUIのフォント継承 */
input, button, textarea, select { font: inherit; color: inherit; }

/* 4) html/bodyの最低限設定 */
html, body { min-height: 100%; }

/* 5) 低モーション対応 */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* 6) グローバルタイポ設定 */
html, body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-body, #656464);   /* ← 本文は共通色へ */
  background-color: var(--color-bg, #fff);
}
