:root {
  --blue: #0061f1;
  --blue-dark: #052f83;
  --yellow: #ffd83d;
  --yellow-soft: #fff4a8;
  --black: #050505;
  --ink: #101828;
  --muted: #667085;
  --line: #111827;
  --surface: #fff9d9;
  --white: #ffffff;
  --accent: #10b981;
  --shadow: 10px 10px 0 rgba(5, 5, 5, 0.16);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body > main {
  overflow: hidden;
}

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

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

/* ── Header ── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  gap: 32px;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 3px solid var(--black);
  backdrop-filter: blur(12px);
}

.brand {
  justify-self: start;
  flex: 0 0 auto;
}

.brand img,
.site-footer img {
  height: auto;
}

.header-nav {
  display: flex;
  gap: 26px;
  justify-self: center;
  color: var(--black);
  font-size: 14px;
  font-weight: 700;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

.header-cta {
  white-space: nowrap;
}

.header-cta.secondary {
  color: var(--black);
  background: var(--white);
  box-shadow: 5px 5px 0 rgba(5, 5, 5, 0.14);
}

.header-nav a:hover,
.site-footer a:hover {
  color: var(--blue);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}

/* ── Buttons ── */

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 3px solid var(--black);
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.header-cta,
.button.primary {
  color: var(--black);
  background: var(--yellow);
  box-shadow: 5px 5px 0 var(--black);
}

.button.secondary {
  color: var(--black);
  background: var(--white);
  box-shadow: 5px 5px 0 rgba(5, 5, 5, 0.14);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

/* ── Hero ── */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 480px);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  min-height: calc(92svh - 76px);
  padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 72px) clamp(42px, 6vw, 72px);
  background:
    linear-gradient(120deg, rgba(255, 216, 61, 0.95) 0 48%, rgba(255, 251, 223, 0.98) 48% 100%),
    linear-gradient(180deg, #fffdf2, #fff8c8);
  border-bottom: 3px solid var(--black);
}

.hero::after {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: -3px;
  left: clamp(20px, 5vw, 72px);
  height: 18px;
  content: "";
  background: repeating-linear-gradient(135deg, var(--black) 0 14px, transparent 14px 28px);
  opacity: 0.12;
}

.hero-copy {
  min-width: 0;
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 16px;
  padding: 0 14px;
  color: var(--white);
  background: var(--black);
  border-radius: 999px;
  font-family: Inter, "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(38px, 4.8vw, 64px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--black);
  text-shadow: 3px 3px 0 rgba(255, 255, 255, 0.74);
}

h1 span {
  display: block;
  max-width: 100%;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: 0;
  color: var(--black);
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.45;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 20px;
  color: var(--black);
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 700;
  line-height: 1.9;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0 0 30px;
  list-style: none;
}

.hero-tags li {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  color: var(--black);
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 3px 3px 0 rgba(5, 5, 5, 0.16);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 540px;
  margin: 0;
}

.hero-metrics div {
  padding: 16px;
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: 18px;
  box-shadow: 5px 5px 0 rgba(5, 5, 5, 0.14);
}

.hero-metrics dt {
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.hero-metrics dd {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
}

.hero-form-panel {
  position: relative;
  min-width: 0;
  padding: clamp(20px, 3vw, 30px);
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: 34px;
  box-shadow: 14px 14px 0 var(--black);
}

.hero-form-panel h2 {
  margin-bottom: 10px;
  font-size: clamp(26px, 3vw, 36px);
}

.hero-form-panel > p:not(.form-kicker) {
  margin-bottom: 18px;
  color: #344054;
  font-weight: 800;
  line-height: 1.75;
}

.form-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 10px;
  padding: 0 12px;
  color: var(--white);
  background: var(--black);
  border-radius: 999px;
  font-family: Inter, "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 900;
}

.request-form.compact {
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

/* ── Proof strip ── */

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1180px;
  margin: -32px auto 0;
  padding: 32px clamp(22px, 4vw, 42px);
  background: var(--black);
  border: 3px solid var(--black);
  border-radius: 26px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}

.proof-item {
  text-align: center;
  color: var(--white);
}

.proof-item strong {
  display: block;
  font-family: Inter, sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--yellow);
}

.proof-item strong small {
  font-size: 0.5em;
}

.proof-item span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
}

/* ── Sections ── */

section {
  padding: clamp(74px, 10vw, 120px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 880px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 38px;
  text-align: center;
}

.section-heading .eyebrow {
  margin-right: auto;
  margin-left: auto;
}

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.7fr);
  align-items: center;
  gap: 40px;
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
  text-align: left;
}

.section-heading.split .eyebrow {
  margin-left: 0;
}

.section-heading.split > p {
  margin: 0;
  color: var(--black);
  font-weight: 800;
  line-height: 1.9;
}

/* ── Pain ── */

.pain {
  background: #fffdf2;
}

.pain-grid,
.case-grid,
.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.pain-grid article,
.feature-list article {
  min-height: 250px;
  padding: 28px;
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.pain-grid p,
.feature-list p,
.case-body p,
.faq-list p,
.flow-list p,
.request-copy p {
  color: #344054;
  line-height: 1.85;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  color: var(--black);
  background: var(--yellow);
  border: 3px solid var(--black);
  border-radius: 50%;
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

/* ── Cases ── */

.cases,
.flow {
  background:
    linear-gradient(180deg, #fff4a8 0, #fffdf2 100%);
}

.case-card {
  overflow: hidden;
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.case-visual {
  min-height: 190px;
  background-color: #e8f1ff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.case-visual.proposal {
  background-image:
    linear-gradient(135deg, rgba(5, 47, 131, 0.9), rgba(0, 97, 241, 0.34)),
    url("data:image/svg+xml,%3Csvg width='480' height='260' viewBox='0 0 480 260' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='70' y='54' width='190' height='144' rx='10' fill='white' opacity='.92'/%3E%3Crect x='96' y='84' width='118' height='12' rx='6' fill='%230061F1'/%3E%3Crect x='96' y='114' width='138' height='10' rx='5' fill='%23B9D5FF'/%3E%3Crect x='96' y='140' width='92' height='10' rx='5' fill='%23B9D5FF'/%3E%3Crect x='288' y='84' width='112' height='112' rx='18' fill='%2310B981' opacity='.82'/%3E%3Cpath d='M315 141h58M344 112v58' stroke='white' stroke-width='12' stroke-linecap='round'/%3E%3C/svg%3E");
}

.case-visual.crm {
  background-image:
    linear-gradient(135deg, rgba(16, 185, 129, 0.86), rgba(0, 97, 241, 0.44)),
    url("data:image/svg+xml,%3Csvg width='480' height='260' viewBox='0 0 480 260' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='74' y='62' width='332' height='136' rx='14' fill='white' opacity='.92'/%3E%3Crect x='100' y='88' width='84' height='14' rx='7' fill='%23052F83'/%3E%3Crect x='100' y='122' width='280' height='10' rx='5' fill='%23D9E2EF'/%3E%3Crect x='100' y='150' width='220' height='10' rx='5' fill='%23D9E2EF'/%3E%3Ccircle cx='352' cy='95' r='20' fill='%230061F1'/%3E%3C/svg%3E");
}

.case-visual.knowledge {
  background-image:
    linear-gradient(135deg, rgba(5, 47, 131, 0.82), rgba(16, 185, 129, 0.42)),
    url("data:image/svg+xml,%3Csvg width='480' height='260' viewBox='0 0 480 260' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='240' cy='130' r='70' fill='white' opacity='.92'/%3E%3Cpath d='M240 82v96M192 130h96' stroke='%230061F1' stroke-width='10' stroke-linecap='round'/%3E%3Ccircle cx='128' cy='96' r='28' fill='%2310B981' opacity='.85'/%3E%3Ccircle cx='352' cy='166' r='28' fill='%23052F83' opacity='.85'/%3E%3Cpath d='M152 106l55 18M328 154l-55-18' stroke='white' stroke-width='8' stroke-linecap='round' opacity='.8'/%3E%3C/svg%3E");
}

.case-body {
  padding: 26px;
}

.case-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 12px;
  padding: 0 12px;
  color: var(--black);
  background: var(--yellow);
  border: 2px solid var(--black);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

/* ── Features ── */

.features {
  background: #fffdf2;
}

.feature-list article {
  background: var(--surface);
}

/* ── Pricing ── */

.pricing {
  background: #fffdf2;
}

.pricing-card {
  max-width: 480px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px);
  text-align: center;
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.pricing-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 16px;
  padding: 0 16px;
  color: var(--white);
  background: var(--black);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
}

.pricing-price {
  margin-bottom: 28px;
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
}

.pricing-price strong {
  font-family: Inter, sans-serif;
  font-size: clamp(48px, 6vw, 64px);
  font-weight: 800;
  line-height: 1;
}

.pricing-price small {
  font-size: 20px;
  font-weight: 900;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: left;
}

.pricing-features li {
  padding: 12px 0;
  border-bottom: 1px solid #e5e7eb;
  font-weight: 700;
  padding-left: 28px;
  position: relative;
}

.pricing-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 900;
}

.pricing-note {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 13px;
}

.pricing-card .button {
  width: 100%;
}

/* ── Flow ── */

.flow-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  padding: 0;
  margin: 0 auto;
  list-style: none;
}

.flow-list li {
  padding: 28px;
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.flow-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  color: var(--black);
  background: var(--yellow);
  border: 3px solid var(--black);
  border-radius: 50%;
  font-family: Inter, sans-serif;
  font-weight: 800;
}

/* ── Request ── */

.request {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  color: var(--black);
  background: var(--yellow);
  border-top: 3px solid var(--black);
  border-bottom: 3px solid var(--black);
}

.request-copy {
  max-width: 640px;
  justify-self: end;
}

.request .eyebrow {
  color: var(--white);
}

.request-copy p {
  color: var(--black);
}

.request-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  color: var(--ink);
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.request-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
}

.request-form input,
.request-form textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--ink);
  font: inherit;
  background: #fbfdff;
  border: 2px solid var(--black);
  border-radius: 14px;
}

.request-form textarea {
  resize: vertical;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 20px;
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.form-status.is-success {
  color: #047857;
}

.form-status.is-error {
  color: #b42318;
}

.request-form .button:disabled {
  cursor: wait;
  opacity: 0.72;
}

/* ── FAQ ── */

.faq {
  background: #fffdf2;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
}

.faq-list details {
  padding: 22px 24px;
  border: 3px solid var(--black);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 5px 5px 0 rgba(5, 5, 5, 0.12);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 16px 0 0;
}

/* ── Footer ── */

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 5vw, 72px);
  color: var(--black);
  background: var(--white);
  border-top: 3px solid var(--black);
}

.site-footer nav {
  display: flex;
  gap: 20px;
  font-size: 14px;
  font-weight: 800;
}

.site-footer p {
  margin: 0;
  font-size: 13px;
}

/* ── Mobile CTA bar (hidden on desktop) ── */

.mobile-cta-bar {
  display: none;
}

/* ── Responsive ── */

@media (max-width: 920px) {
  .site-header {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    align-items: center;
  }

  .nav-toggle {
    display: flex;
    order: 2;
  }

  .header-cta-group {
    display: none;
  }

  .mobile-cta-bar {
    display: flex;
    gap: 10px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 30;
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-top: 3px solid var(--black);
  }

  .mobile-cta-bar .button {
    flex: 1;
    min-height: 48px;
    font-size: 14px;
  }

  body {
    padding-bottom: 76px;
  }

  .header-nav {
    display: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
    order: 4;
    padding: 8px 0;
    border-top: 2px solid #e5e7eb;
  }

  .nav-open .header-nav {
    display: flex;
  }

  .header-nav a {
    padding: 14px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 16px;
  }

  .nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero,
  .section-heading.split,
  .request {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-form-panel {
    order: 1;
  }

  .pain-grid,
  .case-grid,
  .feature-list,
  .flow-list {
    grid-template-columns: 1fr;
  }

  .request-copy {
    justify-self: stretch;
    max-width: none;
  }

  .proof-strip {
    grid-template-columns: repeat(2, 1fr);
    margin-left: 16px;
    margin-right: 16px;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 68px;
    padding: 12px 16px;
  }

  .brand img {
    width: 168px;
    height: auto;
  }

  .header-cta {
    min-height: 44px;
    padding: 0 16px;
    font-size: 13px;
  }

  .hero,
  section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .proof-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-left: 16px;
    margin-right: 16px;
  }

  h1 span {
    overflow-wrap: anywhere;
  }

  .hero-form-panel .button {
    width: 100%;
  }

  h1 {
    font-size: 36px;
  }

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

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
