/* -------------------------------------------------------
 * リセット・ベース
 * ------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-primary);
  background-color: var(--color-bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-blue);
  text-decoration: none;
  transition: color 0.15s;
}
a:hover { color: var(--color-blue-hover); }

ul, ol { list-style: none; }

/* -------------------------------------------------------
 * タイポグラフィ
 * ------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text-primary);
}

/* ページH1 */
h1 { font-size: 48px; }
/* セクションH2 */
h2 { font-size: 32px; }
/* カードH3 */
h3 { font-size: 20px; font-weight: 600; }

p { line-height: 1.8; }

/* 数字・英語 */
.font-numeric {
  font-family: var(--font-numeric);
}

/* -------------------------------------------------------
 * レスポンシブ タイポグラフィ
 * ------------------------------------------------------- */
@media (max-width: 767px) {
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  h3 { font-size: 18px; }
}

/* -------------------------------------------------------
 * ユーティリティ
 * ------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-muted   { color: var(--color-text-secondary); font-size: 14px; }
.text-small   { font-size: 14px; }
.text-label   { font-size: 12px; font-weight: 500; color: var(--color-text-secondary); }
.font-bold    { font-weight: 700; }
.font-semibold{ font-weight: 600; }
