:root {
  --bg: #f4f2ec;
  --surface: #ffffff;
  --text: #171717;
  --muted: #6c6a64;
  --line: #d9d5cc;
  --accent: #171717;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
}

.site-header,
main,
.site-footer {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.logo {
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.03em;
}

nav {
  display: flex;
  gap: 24px;
}

nav a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--text);
}

.hero {
  min-height: 72vh;
  display: grid;
  align-content: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.section-label,
.card-kicker {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  max-width: 760px;
}

h1 {
  margin: 0;
  font-size: clamp(4rem, 13vw, 9rem);
  line-height: 0.88;
  letter-spacing: -0.075em;
}

.lead {
  margin: 32px 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.3rem);
}

.button {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--text);
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
  font-size: 0.9rem;
}

.button:hover,
.button:focus-visible {
  background: transparent;
  color: var(--text);
}

.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 24px;
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.05em;
}

.section > p:last-child {
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.card {
  min-height: 240px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.card h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
}

.card p:last-child {
  color: var(--muted);
}

.site-footer {
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    padding: 22px 0;
  }

  nav {
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero {
    min-height: 65vh;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 0;
  }
}
