/* ============================================================
   SKK ベーススタイル（リセット＋既定）
   tokens.css の後に読み込む
   ============================================================ */

/* --- 最小リセット --- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.icon { display: inline-flex; vertical-align: middle; width: 1em; height: 1em; }
ul, ol { list-style: none; }
h1, h2, h3, h4, p { overflow-wrap: anywhere; }

/* --- body 既定 --- */
body {
  font: 500 18px/1.6 var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

/* --- レイアウトユーティリティ --- */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

/* オフホワイトの交互背景帯 */
.band-soft { background: var(--color-bg-soft); }

/* --- アクセシビリティ --- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--color-primary); color: #fff;
  padding: var(--space-200) var(--space-400); z-index: 100;
}
.skip-link:focus { left: var(--space-400); top: var(--space-400); }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }

/* --- モーション低減の尊重 --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}
