/* ─── Reset & Base ─── */
*, *::before, *::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; vertical-align: middle; }

a { color: inherit; text-decoration: none; touch-action: manipulation; }

h1, h2, h3, h4, h5 { line-height: 1.3; }

button { font-family: var(--font-sans); cursor: pointer; touch-action: manipulation; }

/* ─── Legacy column grid (keep for compat) ─── */
.clearfix::after { content: ''; display: table; clear: both; }
.row { display: flex; flex-wrap: wrap; margin: 0 -12px; }
[class^="col-"] { padding: 0 12px; }
.col-3  { width: 25%; }
.col-4  { width: 33.333%; }
.col-5  { width: 41.666%; }
.col-6  { width: 50%; }
.col-7  { width: 58.333%; }
.col-8  { width: 66.666%; }
.col-12 { width: 100%; }

@media (max-width: 768px) {
  .col-3, .col-4, .col-5, .col-6, .col-7, .col-8 { width: 100%; }
  .row { margin: 0; }
  [class^="col-"] { padding: 0; }
  .col-sp-12 { width: 100%; }
}

/* responsive show/hide */
.only_sp { display: none; }
@media (max-width: 768px) {
  .only_pc { display: none !important; }
  .only_sp { display: block; }
}

/* ─── Typography helpers ─── */
.text-gold   { color: var(--accent-gold); }
.text-muted  { color: var(--text-muted); }
.text-center { text-align: center; }
.mb-0  { margin-bottom: 0 !important; }
.mt-lg { margin-top: var(--space-lg); }
