:root {
  --color-bg: #ffffff;
  --color-text: #111111;
  --color-muted: #666666;
  --color-border: #e5e5e5;
  --color-surface: #f7f7f7;
  --color-hover: #f1f1f1;
  --max-width: 1200px;
  --section-space: 96px;
  --section-space-sm: 64px;
  --radius: 8px;
  --shadow-soft: 0 20px 50px rgba(17, 17, 17, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: Inter, "Helvetica Neue", "Noto Sans JP", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

main {
  min-height: 70vh;
}

.container {
  width: min(100% - 40px, var(--max-width));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-space);
}

.section--compact {
  padding-block: 64px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.3;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

h1 {
  max-width: 1080px;
  margin-bottom: 24px;
  font-size: clamp(2.25rem, 5.4vw, 4.35rem);
  font-weight: 700;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  font-weight: 700;
}

p {
  color: var(--color-muted);
}

.lead {
  max-width: 780px;
  color: var(--color-text);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.6;
}

.muted {
  color: var(--color-muted);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 768px) {
  :root {
    --section-space: var(--section-space-sm);
  }

  .container {
    width: min(100% - 32px, var(--max-width));
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 24px, var(--max-width));
  }

  h1 {
    font-size: clamp(2rem, 9vw, 2.65rem);
  }
}
