:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --ink: #171717;
  --muted: #666666;
  --line: #e7e7e7;
  --line-strong: #d7d7d7;
  --accent: #111111;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.05);
}

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

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

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
}

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

.site-shell {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.site-logo__mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #111111;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
}

.site-logo__type {
  font-size: 1.02rem;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a {
  position: relative;
  padding-bottom: 4px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero,
.section,
.document-hero,
.document-shell {
  background: #ffffff;
}

.hero {
  padding: 76px 0 56px;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a7a;
}

.hero__copy h1,
.section-heading h2,
.closing-banner h2,
.document-hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.section-heading h2,
.closing-banner h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.hero__lead,
.section-heading p,
.document-hero__lead,
.hero-note p,
.hero-stat__text,
.feature-card p,
.consumer-card p,
.document-status p,
.store-button__sub {
  color: var(--muted);
  line-height: 1.85;
}

.hero__lead {
  max-width: 42rem;
  margin: 24px 0 0;
  font-size: 1.02rem;
}

.hero__actions,
.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button,
.store-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.button:hover,
.button:focus-visible,
.store-button:hover,
.store-button:focus-visible {
  transform: translateY(-1px);
  border-color: #bdbdbd;
}

.button--primary {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.button--secondary {
  background: #ffffff;
  color: #111111;
}

.store-button {
  background: #ffffff;
  color: #111111;
  padding: 12px 18px;
  min-width: 220px;
  justify-content: space-between;
  box-shadow: var(--shadow);
}

.store-button__label {
  font-weight: 700;
}

.store-button__sub {
  font-size: 0.85rem;
}

.hero__panel,
.feature-card,
.consumer-card,
.closing-banner,
.document-card,
.document-index,
.document-status {
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero__panel {
  padding: 24px;
  border-radius: 28px;
}

.hero-note {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.hero-note__label,
.document-status__label {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a7a7a;
}

.hero-note strong,
.document-status strong {
  display: block;
  font-size: 1.12rem;
  line-height: 1.5;
}

.hero-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.hero-strip span,
.consumer-card__tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 700;
  color: #4f4f4f;
  background: #ffffff;
}

.hero-stat {
  padding-top: 12px;
}

.hero-stat__value {
  display: block;
  margin-bottom: 8px;
  font-size: 1.65rem;
  line-height: 1.4;
  font-weight: 800;
}

.section {
  padding: 48px 0 84px;
}

.section--line {
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 850px;
}

.section-heading p {
  margin: 18px 0 0;
}

.feature-band {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  padding: 26px;
  border-radius: 24px;
}

.feature-card__kicker {
  margin: 0 0 14px;
  font-size: 0.92rem;
  font-weight: 800;
  color: #8a8a8a;
}

.feature-card h3,
.consumer-card h3 {
  margin: 0;
  font-size: 1.36rem;
  line-height: 1.5;
}

.feature-card p,
.consumer-card p {
  margin: 14px 0 0;
}

.consumer-showcase {
  display: grid;
  gap: 18px;
}

.consumer-card {
  padding: 26px;
  border-radius: 28px;
}

.consumer-card--soft {
  border-color: #dcdcdc;
}

.closing-banner {
  padding: 28px 30px;
  border-radius: 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.closing-banner__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}

.document-hero {
  padding: 68px 0 28px;
}

.document-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.document-hero__lead {
  max-width: 42rem;
  margin: 18px 0 0;
}

.document-status {
  align-self: start;
  padding: 22px;
  border-radius: 24px;
}

.document-shell {
  padding: 0 0 72px;
}

.document-index {
  position: sticky;
  top: 104px;
  align-self: start;
  padding: 22px;
  border-radius: 24px;
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.document-index__title {
  margin: 0 0 4px;
  color: var(--ink);
  font-weight: 700;
}

.document-card {
  min-height: 680px;
  padding: 28px;
  border-radius: 32px;
}

.document-block {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.document-block:first-child {
  padding-top: 0;
}

.document-block:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.document-block--split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.document-block--note {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--line);
}

.document-line,
.document-list__item {
  border-radius: 999px;
  background: #ececec;
}

.document-line {
  height: 12px;
  margin-bottom: 12px;
}

.document-line--title {
  width: 32%;
  height: 16px;
  background: #dcdcdc;
}

.document-line--heading {
  width: 24%;
  height: 14px;
  background: #e4e4e4;
}

.document-line--long {
  width: 100%;
}

.document-line--medium {
  width: 72%;
}

.document-line--short {
  width: 48%;
}

.document-list {
  display: grid;
  gap: 12px;
}

.document-list__item {
  height: 46px;
}

@media (max-width: 960px) {
  .document-index {
    position: static;
    order: 2;
  }

  .closing-banner {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 28px, 1160px);
  }

  .site-header__inner {
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    gap: 14px;
    flex-wrap: wrap;
    font-size: 0.9rem;
  }

  .hero {
    padding-top: 44px;
  }

  .hero__copy h1 {
    max-width: none;
  }

  .document-card,
  .feature-card,
  .consumer-card,
  .hero__panel,
  .document-status,
  .document-index,
  .closing-banner {
    border-radius: 22px;
  }

  .document-block--split {
    grid-template-columns: 1fr;
  }

  .store-button {
    width: 100%;
  }
}
