:root {
  --base-size: 16px;
  --base-leading: 1.625;
  --line-height-base: calc(var(--base-size) * var(--base-leading));
  --space-1: var(--line-height-base);
  --space-2: calc(var(--line-height-base) * 2);
  --space-3: calc(var(--line-height-base) * 3);
  --space-4: calc(var(--line-height-base) * 4);
  --space-6: calc(var(--line-height-base) * 6);
  --measure: 70ch;
  --page-max: 1188px;
  --ink: #000000;
  --muted: #000000;
  --quiet: #000000;
  --paper: #ffffff;
  --rule: #000000;
  --sans: "Avenir Next", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-size: var(--base-size);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--base-size);
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1, 'palt' 1;
  font-kerning: normal;
  line-height: var(--base-leading);
  text-rendering: optimizeLegibility;
  hanging-punctuation: first allow-end last;
}

a {
  color: inherit;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-color: currentColor;
}

p {
  max-width: var(--measure);
  margin-block: var(--line-height-base);
  color: var(--muted);
  font-feature-settings: 'kern' 1, 'liga' 1, 'onum' 1, 'pnum' 1, 'palt' 1;
  font-kerning: normal;
  hyphens: auto;
  orphans: 2;
  widows: 2;
  word-spacing: 0.02em;
}

ul,
ol {
  max-width: var(--measure);
  margin-block: var(--line-height-base);
  padding-inline-start: 1.25em;
  color: var(--muted);
}

li + li {
  margin-block-start: calc(var(--line-height-base) / 3);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-feature-settings: 'kern' 1, 'liga' 1, 'lnum' 1, 'palt' 1;
  font-kerning: normal;
  font-optical-sizing: auto;
  letter-spacing: 0;
}

h1 {
  max-width: 12em;
  font-size: clamp(3rem, 6.2vw, 5.8rem);
  font-variation-settings: 'opsz' 72, 'wght' 760;
  font-weight: 760;
  line-height: 1;
  word-break: keep-all;
  overflow-wrap: normal;
  line-break: strict;
}

h1 > span,
h2 > span,
.statement > span {
  display: block;
}

h1 > span {
  display: table;
  white-space: nowrap;
}

h2 {
  max-width: 15em;
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-variation-settings: 'opsz' 44, 'wght' 700;
  font-weight: 700;
  line-height: 1.08;
}

h3 {
  font-size: 1.18rem;
  font-variation-settings: 'opsz' 20, 'wght' 690;
  font-weight: 690;
  line-height: 1.32;
}

abbr {
  text-decoration: none;
}

.caps {
  font-feature-settings: 'kern' 1, 'liga' 1, 'lnum' 1;
  font-variant-numeric: lining-nums proportional-nums;
  letter-spacing: 0.07em;
}

.latin,
:lang(en) {
  font-size: 1.08em;
}

.tabular-num {
  font-feature-settings: 'tnum' 1, 'lnum' 1;
  font-variant-numeric: tabular-nums lining-nums;
}

.inner {
  width: min(calc(100% - 48px), var(--page-max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
}

.nav {
  width: min(calc(100% - 48px), var(--page-max));
  margin-inline: auto;
  min-height: calc(var(--line-height-base) * 2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 760;
  line-height: 1;
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  color: var(--muted);
  font-size: 0.86rem;
}

.nav-links a {
  text-decoration: none;
}

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

.hero {
  min-height: calc(var(--line-height-base) * 28);
  display: grid;
  align-items: end;
  padding-block-start: var(--space-6);
}

.hero-grid,
.two-column {
  display: grid;
  grid-template-columns: minmax(132px, 0.28fr) minmax(0, 1fr);
  gap: 48px;
}

.hero-copy,
.content-flow {
  display: grid;
  gap: var(--space-1);
  align-content: start;
}

.content-flow > p,
.content-flow > ul,
.content-flow > ol {
  margin-block: 0;
}

.section-mark {
  margin: 0;
  max-width: none;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.lead {
  max-width: 30em;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.28rem, 2.3vw, 1.72rem);
  font-variation-settings: 'opsz' 28, 'wght' 520;
  font-weight: 520;
  line-height: 1.55;
}

.proposition {
  max-width: 34em;
  margin: 0;
  color: var(--ink);
  font-feature-settings: 'kern' 1, 'liga' 1, 'onum' 1, 'pnum' 1;
}

.statement {
  max-width: 22em;
  margin: var(--space-1) 0 0;
  padding-inline-start: 0;
  color: var(--ink);
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  font-variation-settings: 'opsz' 36, 'wght' 720;
  font-weight: 720;
  line-height: 1.25;
}

.page {
  padding-block: var(--space-3) var(--space-4);
}

.article {
  width: min(calc(100% - 48px), 880px);
  margin-inline: auto;
  display: grid;
  gap: var(--space-1);
}

.article .hero {
  min-height: auto;
  display: grid;
  align-items: start;
  gap: var(--space-1);
  padding-block-start: var(--space-3);
  padding-block-end: var(--space-2);
}

.article h1 {
  max-width: 10.5em;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 1.03;
  word-break: keep-all;
  overflow-wrap: normal;
  line-break: strict;
}

.article h2 {
  margin-block-start: var(--space-3);
}

.article h3 {
  margin-block-start: var(--space-1);
}

.article .lead {
  max-width: 34em;
}

.kicker {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  max-width: var(--measure);
}

.pill {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 620;
  line-height: 1.4;
}

.axis-grid,
.fit-grid,
.note-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-block-start: var(--space-1);
}

.fit-grid,
.note-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.axis-grid article,
.fit-grid > div,
.note-list article {
  padding-block-start: calc(var(--line-height-base) / 2);
}

.axis-grid p,
.note-list p {
  margin-block: calc(var(--line-height-base) / 2) 0;
  font-size: 0.95rem;
}

.fit-grid ul {
  margin-block: calc(var(--line-height-base) / 2) 0;
}

.service-list {
  display: grid;
  gap: 24px;
  margin: var(--space-1) 0 0;
  padding: 0;
  list-style: none;
  max-width: none;
}

.service-list li {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: 24px;
  padding-block: var(--space-1);
}

.service-list h3 {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: baseline;
}

.service-list p {
  margin: 0;
}

.counter {
  color: var(--ink);
  font-size: 0.86rem;
  letter-spacing: 0.07em;
}

.site-footer {
  padding-block: var(--space-2);
  color: var(--quiet);
  font-size: 0.86rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-grid p {
  margin: 0;
}

@media (max-width: 820px) {
  .inner {
    width: min(calc(100% - 36px), var(--page-max));
  }

  .nav {
    min-height: auto;
    padding-block: 18px;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    gap: 12px 18px;
  }

  .hero {
    min-height: auto;
    padding-block-start: var(--space-4);
  }

  .hero-grid,
  .two-column,
  .service-list li,
  .axis-grid,
  .fit-grid,
  .note-list {
    grid-template-columns: 1fr;
  }

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

  .statement {
    max-width: var(--measure);
  }

  h1 {
    font-size: clamp(2rem, 9.2vw, 3rem);
  }

  .article {
    width: min(calc(100% - 36px), 880px);
  }

  .article h1 {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
  }

  .footer-grid {
    flex-direction: column;
  }
}
