/* Base */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-black);
  background: var(--color-white);
}
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}
section { padding: var(--space-section-pc) 0; }
@media (max-width: 767px) {
  section { padding: var(--space-section-mobile) 0; }
}
.section-light { background: var(--color-gray-100); }
.section-dark { background: var(--color-black); color: var(--color-white); }
.section-teal { background: var(--color-teal-500); color: var(--color-white); }

h1, h2, h3, h4 { font-family: var(--font-jp); font-weight: 700; color: var(--color-black); line-height: 1.35; }
h1 { font-size: 48px; letter-spacing: -0.01em; }
h2 { font-size: 36px; letter-spacing: -0.005em; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
@media (max-width: 767px) {
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  h3 { font-size: 19px; }
}
p { color: var(--color-gray-600); }
.text-black { color: var(--color-black); }
.text-muted { color: var(--color-gray-600); }
.text-teal { color: var(--color-teal-500); }
.text-white { color: var(--color-white); }

.en {
  font-family: var(--font-en-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.eyebrow {
  font-family: var(--font-en-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-teal-500);
  display: inline-block;
  margin-bottom: 16px;
}
.num {
  font-family: var(--font-en-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head .lead { margin-top: 16px; color: var(--color-gray-600); font-size: 17px; }
@media (max-width: 767px) {
  .section-head { margin-bottom: 36px; }
}

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1023px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.spacer-sm { height: 24px; }
.spacer-md { height: 48px; }
.spacer-lg { height: 80px; }

.text-center { text-align: center; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
