:root {
  --black: #111;
  --white: #fff;
  --paper: #f6f4ee;
  --border: 3px solid var(--black);
  --max: 1120px;
  --gap: 28px;
  --section: 104px;
  --h1: clamp(2.65rem, 4.6vw, 4.75rem);
  --h2: clamp(2.15rem, 4vw, 3.7rem);
  --h3: clamp(1.2rem, 1.4vw, 1.42rem);
  --body: 1rem;
  --lead: clamp(1.06rem, 1.2vw, 1.2rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--black);
  background: var(--paper);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: var(--body);
  font-weight: 500;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
}

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

h1,
h2,
h3 {
  margin-bottom: 24px;
  color: var(--black);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  font-size: var(--h1);
  padding-bottom: 0.18em;
}

h1 span {
  display: block;
}

h2 {
  font-size: var(--h2);
  padding-bottom: 0.14em;
}

h3 {
  font-size: var(--h3);
}

p {
  margin-bottom: 16px;
  text-wrap: pretty;
}

ul {
  margin: 0;
  padding-left: 1.1rem;
}

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

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 40;
  width: min(var(--max), calc(100% - 40px));
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -24px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.site-header.is-visible,
.site-header:focus-within {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--gap);
  min-height: 64px;
  padding: 8px 12px 8px 24px;
  border: var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
}

.brand {
  width: fit-content;
  font-weight: 900;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 0.92rem;
  font-weight: 900;
}

.nav-cta {
  justify-self: end;
  padding: 10px 18px;
  border: var(--border);
  border-radius: 999px;
  background: var(--white);
  font-weight: 900;
  transition: background 0.14s ease, color 0.14s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--black);
  color: var(--white);
}

.section {
  padding: var(--section) 0;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 96px 0 80px;
  background-color: #0d2030;
  background-image:
    linear-gradient(90deg, rgba(17, 17, 17, 0.54) 0%, rgba(17, 17, 17, 0.4) 42%, rgba(17, 17, 17, 0.08) 100%),
    url("assets/hero-kawaji-network.png");
  background-position: center;
  background-size: auto, cover;
  background-repeat: no-repeat;
}

.hero h1,
.hero p {
  color: var(--white);
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(3rem, 4.25vw, 4.15rem);
  line-height: 1.1;
}

.hero-grid,
.result-grid,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  align-items: center;
  gap: 56px;
}

.hero-grid {
  grid-template-columns: minmax(0, 0.56fr) minmax(360px, 0.44fr);
}

.hero-copy {
  max-width: 720px;
  padding-top: 24px;
}

.hero-text {
  max-width: 620px;
}

.hero-text,
.large-text,
.transition-lead,
.investment-copy {
  max-width: 760px;
  font-size: var(--lead);
  font-weight: 700;
}

.story-visual,
.result-visual {
  margin: 0;
  border: var(--border);
  border-radius: 28px;
  background: var(--white);
  overflow: hidden;
}

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border: 3px solid var(--black);
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  transition: background 0.14s ease, color 0.14s ease;
}

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

.hero-button {
  min-width: 260px;
  min-height: 70px;
}

.problem-section,
.flow-section {
  background: var(--white);
}

.problem-section h2 {
  max-width: 920px;
  margin-right: auto;
  margin-left: auto;
}

.problem-board,
.pricing-grid,
.investment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.problem-board {
  grid-template-columns: 1fr;
  max-width: 920px;
  margin-right: auto;
  margin-left: auto;
}

.problem-board article,
.problem-note,
.price-card,
.investment-grid article,
details,
.final-inner,
.usecase-card {
  border: var(--border);
  background: var(--white);
}

.problem-board article,
.price-card,
.investment-grid article,
.usecase-card {
  padding: 28px;
}

.problem-board article {
  display: grid;
  grid-template-columns: 144px minmax(220px, 0.4fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--gap);
  min-height: 124px;
}

.problem-board span,
.price-card > span,
.investment-grid span {
  display: block;
  margin-bottom: 18px;
  font-weight: 900;
}

.problem-board span,
.problem-board h3,
.problem-board p {
  margin-bottom: 0;
}

.problem-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  margin-top: var(--gap);
  padding: 28px;
  background: var(--paper);
  font-size: var(--lead);
  font-weight: 700;
}

.approach-section,
.pricing-section {
  background: var(--black);
  color: var(--white);
}

.approach-section h2,
.approach-section h3,
.approach-section p,
.pricing-section h2,
.pricing-section h3,
.pricing-section p,
.pricing-section li,
.pricing-section small,
.pricing-section span {
  color: var(--white);
}

.approach-section {
  padding: 120px 0;
}

.approach-card {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 64px);
  border: 3px solid var(--white);
  border-radius: 16px;
  background: var(--black);
}

.approach-label {
  margin-bottom: 18px;
  font-weight: 900;
}

.approach-capital {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 3px solid var(--white);
}

.approach-capital h3 {
  max-width: 760px;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
}

.approach-capital p {
  max-width: 760px;
  margin-bottom: 0;
  font-size: var(--lead);
  font-weight: 700;
}

.feature-transition {
  padding-bottom: var(--section);
}

.feature-triad {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "visual eval"
    "connect connect";
  gap: var(--gap);
  max-width: 920px;
  margin: 48px auto 0;
}

.feature-triad::before {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 35%;
  height: 35%;
  border: 7px solid var(--black);
  border-radius: 999px;
  content: "";
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.feature-triad article {
  position: relative;
  z-index: 1;
  min-height: 220px;
  padding: clamp(24px, 3vw, 34px);
  border: var(--border);
  border-radius: 16px;
  background: var(--white);
}

.feature-triad article:nth-child(1) {
  grid-area: visual;
}

.feature-triad article:nth-child(2) {
  grid-area: eval;
}

.feature-triad article:nth-child(3) {
  grid-area: connect;
  width: min(440px, 100%);
  justify-self: center;
}

.flow-section {
  padding-top: 0;
  padding-bottom: 96px;
}

.flow-prompt {
  display: grid;
  min-height: 42vh;
  align-content: end;
  padding-bottom: 48px;
}

.flow-prompt p {
  max-width: 720px;
  margin-bottom: 10px;
  font-size: var(--lead);
  font-weight: 900;
}

.flow-prompt span {
  display: inline-flex;
  font-size: 2rem;
  font-weight: 900;
  animation: ellipsisPulse 1.4s ease-in-out infinite;
}

@keyframes ellipsisPulse {
  0%, 100% { opacity: 0.25; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(4px); }
}

.flow-intro {
  min-height: 38vh;
  display: grid;
  align-content: center;
}

.flow-intro p {
  max-width: 760px;
  font-size: var(--lead);
  font-weight: 900;
}

.story-stack {
  display: grid;
  gap: 0;
  min-height: 260vh;
}

.story-card {
  position: sticky;
  top: 96px;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(24px, 3vw, 36px);
  min-height: 56vh;
  margin-bottom: 16vh;
  padding: clamp(24px, 3vw, 34px);
  border: var(--border);
  border-radius: 16px;
  background: var(--white);
}

.story-card:nth-child(2) {
  top: 112px;
}

.story-card:nth-child(3) {
  top: 128px;
}

.story-card:nth-child(4) {
  top: 144px;
}

.story-copy span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border: 2px solid var(--black);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1;
}

.story-visual img {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: var(--white);
}

.result-section {
  background: var(--black);
  color: var(--white);
  margin-top: -28vh;
  padding-top: 144px;
}

.result-section h2,
.result-section p,
.result-section li {
  color: var(--white);
}

.result-transition {
  width: min(860px, 100%);
  margin: 0 0 64px;
  padding-left: 24px;
  border-left: 8px solid var(--white);
  color: var(--white);
  font-size: var(--lead);
  font-weight: 900;
}

.result-number {
  margin: 28px 0;
  font-size: clamp(4rem, 9vw, 8.25rem);
  font-weight: 900;
  line-height: 1;
}

.result-grid {
  grid-template-columns: minmax(0, 920px);
  gap: 0;
}

.result-grid > div {
  max-width: 920px;
}

.result-grid .large-text {
  max-width: 820px;
}

.result-number span {
  font-size: 0.62em;
}

.result-visual {
  padding: 22px;
  border-color: var(--white);
  background: var(--white);
}

.result-visual img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.result-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-top: 48px;
}

.result-metrics article {
  display: grid;
  align-content: start;
  min-height: 208px;
  padding: clamp(20px, 2.4vw, 28px);
  border: 2px solid var(--white);
  border-radius: 8px;
}

.result-metrics span {
  display: block;
  margin-bottom: 16px;
  font-weight: 900;
  color: var(--white);
}

.result-metrics strong {
  display: block;
  color: var(--white);
  font-size: clamp(2rem, 3vw, 3.35rem);
  font-weight: 900;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.result-metrics em {
  font-style: normal;
  font-size: 0.7em;
}

.result-metrics p {
  margin: 18px 0 0;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.45;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.check-list li {
  border-top: 1px solid currentColor;
  padding-top: 10px;
  font-weight: 700;
}

.compact {
  grid-template-columns: repeat(2, 1fr);
}

.cta-band {
  border-bottom: var(--border);
  background: var(--white);
}

.cta-inner {
  display: grid;
  justify-items: center;
  gap: 22px;
  text-align: center;
}

.cta-inner .button {
  min-width: 320px;
  min-height: 76px;
  font-size: 1.15rem;
}

.usecase-cta,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
}

.cta-inner h2 {
  max-width: 850px;
}

.cta-inner p,
.usecase-cta p,
.footer-inner p {
  margin-bottom: 0;
  font-weight: 900;
}

.usecase-cta p {
  max-width: 820px;
  font-size: var(--h2);
  font-weight: 900;
  line-height: 1.15;
}

.usecase-section {
  overflow: hidden;
}

.usecase-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--gap);
}

.usecase-head h2 {
  margin-bottom: 0;
}

.usecase-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.usecase-button {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  font: inherit;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
  transition: background 0.14s ease, color 0.14s ease;
}

.usecase-button:hover,
.usecase-button:focus-visible {
  background: var(--black);
  color: var(--white);
}

.usecase-track {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-inline: 20px;
  scroll-snap-type: x proximity;
  width: 100%;
  padding: 32px 20px 18px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.usecase-track::-webkit-scrollbar {
  display: none;
}

.usecase-card {
  flex: 0 0 auto;
  width: clamp(320px, 32vw, 460px);
  min-height: 520px;
  border-radius: 16px;
  overflow: hidden;
  scroll-snap-align: start;
}

.usecase-card img {
  width: calc(100% + 56px);
  max-width: none;
  margin: -28px -28px 24px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: var(--border);
}

.industry {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 12px;
  border: 2px solid var(--black);
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 900;
}

.usecase-cta {
  margin-top: 40px;
}

.price-card {
  border-color: var(--white);
  border-radius: 16px;
  background: var(--black);
}

.pricing-section {
  padding-bottom: 88px;
}

.section-title {
  margin-bottom: 18px;
  color: var(--white);
  font-size: var(--lead);
  font-weight: 900;
}

.price-card.featured {
  background: var(--white);
}

.price-card.featured h3,
.price-card.featured p,
.price-card.featured li,
.price-card.featured small,
.price-card.featured span {
  color: var(--black);
}

.price {
  margin: 10px 0 0;
  font-size: clamp(1.8rem, 2.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
}

.price-card small {
  display: block;
  margin-bottom: 22px;
  font-weight: 900;
}

.investment-grid {
  grid-template-columns: 1fr 1fr;
  gap: 24px 40px;
  margin: 40px auto var(--gap);
  padding: 24px 0 0;
  border-top: 2px solid rgba(255, 255, 255, 0.48);
}

.investment-grid p {
  max-width: 520px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.75;
}

.investment-grid article {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--black);
}

.investment-grid span {
  margin-bottom: 10px;
  color: var(--white);
  font-size: 0.92rem;
}

.investment-button {
  display: flex;
  width: min(420px, 100%);
  min-height: 78px;
  margin: 56px auto 0;
  font-size: 1.15rem;
}

.faq-layout {
  grid-template-columns: 0.42fr 1fr;
  align-items: start;
}

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

summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 22px 20px;
}

.final-cta {
  padding-top: 48px;
}

.final-inner {
  padding: 56px;
  text-align: center;
}

.final-inner h2,
.final-inner p {
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
}

.company-note {
  margin-top: 28px;
  margin-bottom: 0;
  font-size: 0.92rem;
  font-weight: 900;
}

.company-note a {
  border-bottom: 2px solid currentColor;
}

.site-footer {
  padding: 36px 0 48px;
}

.footer-inner {
  border-top: var(--border);
  padding-top: 24px;
}

:focus-visible {
  outline: 3px solid var(--black);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .nav-wrap {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero-grid,
  .story-card,
  .result-grid,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .result-transition,
  .problem-board,
  .feature-triad,
  .pricing-grid,
  .investment-grid,
  .problem-note {
    grid-template-columns: 1fr;
  }

  .feature-triad {
    grid-template-areas:
      "visual"
      "eval"
      "connect";
  }

  .feature-triad::before {
    display: none;
  }

  .problem-board article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .story-card {
    position: relative;
    top: auto !important;
    min-height: auto;
    margin-bottom: 32px;
  }

  .story-stack {
    min-height: auto;
    gap: 28px;
  }

  .result-section {
    margin-top: 0;
    padding-top: 96px;
  }

  .result-metrics {
    grid-template-columns: 1fr;
  }

  .cta-inner,
  .usecase-cta,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  :root {
    --section: 72px;
    --gap: 18px;
    --h1: clamp(2.05rem, 9.6vw, 3rem);
    --h2: clamp(1.86rem, 8.4vw, 2.65rem);
    --h3: clamp(1.12rem, 5vw, 1.28rem);
  }

  body {
    font-size: 15px;
  }

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

  .site-header {
    top: 12px;
  }

  .nav-wrap {
    min-height: 58px;
  }

  .nav-cta {
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  .button {
    width: 100%;
  }

  .hero {
    min-height: 94svh;
    padding: 92px 0 48px;
    background-image:
      linear-gradient(90deg, rgba(17, 17, 17, 0.86) 0%, rgba(17, 17, 17, 0.74) 58%, rgba(17, 17, 17, 0.46) 100%),
      url("assets/hero-kawaji-network.png");
    background-position: center, 52% center;
    background-size: auto, cover;
  }

  .hero-copy {
    padding-top: 0;
    max-width: none;
  }

  .hero-text {
    max-width: none;
    font-size: 0.98rem;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2rem, 8.5vw, 2.72rem);
    line-height: 1.12;
  }

  h1,
  h2,
  h3,
  p {
    text-wrap: wrap;
  }

  .large-text,
  .transition-lead,
  .investment-copy,
  .approach-capital h3,
  .approach-capital p,
  .cta-inner h2,
  .usecase-cta p,
  .final-inner h2,
  .final-inner p {
    max-width: none;
  }

  .problem-board article,
  .price-card,
  .usecase-card {
    padding: 22px;
  }

  .approach-card {
    padding: 28px 22px;
  }

  .feature-triad {
    margin-top: 32px;
  }

  .feature-triad article {
    min-height: auto;
  }

  .flow-prompt {
    min-height: 28vh;
    padding-bottom: 32px;
  }

  .flow-intro {
    min-height: auto;
    padding: 40px 0 48px;
  }

  .story-card {
    gap: 22px;
    padding: 22px;
  }

  .story-visual,
  .result-visual {
    border-width: 2px;
    border-radius: 12px;
  }

  .result-number {
    font-size: clamp(3.4rem, 17vw, 5rem);
  }

  .result-metrics article {
    min-height: auto;
  }

  .usecase-track {
    padding-inline: 14px;
  }

  .usecase-card {
    width: min(84vw, 360px);
    min-height: 500px;
  }

  .usecase-card img {
    width: calc(100% + 44px);
    margin: -22px -22px 24px;
  }

  .story-card,
  .result-visual,
  .final-inner {
    padding: 22px;
  }

  .compact,
  .result-metrics {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .flow-prompt span,
  .usecase-track {
    animation: none;
  }
}
