:root {
  --background: #f7fbff;
  --surface: #ffffff;
  --soft-blue: #eaf4ff;
  --soft-blue-2: #f1f7fc;
  --primary-blue: #4a90c2;
  --deep-blue: #245578;
  --text: #1e2a35;
  --muted: #667788;
  --muted-2: #8a98a8;
  --border: #dde8f1;
  --growth: #6f9e8a;
  --gold: #d3a64a;
  --error: #c95c54;
  --shadow: 0 18px 50px rgba(36, 85, 120, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 251, 255, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 24px;
  gap: 20px;
}

.brand,
.nav-actions,
.footer-brand {
  display: flex;
  align-items: center;
}

.brand {
  flex: 0 0 auto;
  gap: 10px;
  min-height: 44px;
  color: var(--deep-blue);
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.brand span {
  white-space: nowrap;
}

.brand-logo {
  display: block;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 8px 18px rgba(36, 85, 120, 0.12);
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  min-width: 0;
  gap: 18px;
}

.nav-links,
.nav-actions {
  gap: 18px;
  font-size: 14px;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
}

.nav-links {
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.nav-actions {
  flex: 0 0 auto;
}

.nav-links a,
.nav-actions a:not(.button),
.nav-actions a,
.footer-links a,
.footer-brand a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a,
.nav-actions a:not(.button) {
  display: flex;
  align-items: center;
  min-height: 44px;
}

.nav-links a:hover,
.nav-actions a:hover,
.footer-links a:hover,
.footer-brand a:hover {
  color: var(--deep-blue);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--deep-blue);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(74, 144, 194, 0.36);
  outline-offset: 3px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--deep-blue);
  border-radius: 14px;
  background: var(--deep-blue);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(36, 85, 120, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  background: #1d4968;
  box-shadow: 0 14px 30px rgba(36, 85, 120, 0.18);
  transform: translateY(-1px);
}

.button.secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--deep-blue) !important;
  box-shadow: none;
}

.hero {
  padding: clamp(64px, 8vw, 112px) clamp(16px, 4vw, 48px) clamp(56px, 7vw, 96px);
  background:
    radial-gradient(circle at 80% 20%, rgba(74, 144, 194, 0.16), transparent 32%),
    linear-gradient(180deg, #f7fbff 0%, #eef7ff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  line-height: 1.06;
  letter-spacing: -0.01em;
}

h1 {
  max-width: 720px;
  font-size: clamp(2.4rem, 6.4vw, 4.25rem);
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
}

h3 {
  font-size: 20px;
}

.lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.hero-lines {
  margin: 22px 0 0;
  color: var(--deep-blue);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.phone-wrap {
  display: flex;
  justify-content: center;
}

.phone {
  width: min(340px, 100%);
  max-width: 100%;
  padding: 18px;
  border: 10px solid #dcebf6;
  border-radius: 38px;
  background: #f8fcff;
  box-shadow: var(--shadow);
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 8px 18px;
  color: var(--deep-blue);
  font-weight: 800;
}

.phone-top img {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  object-fit: contain;
}

.phone-card,
.chart-card,
.card,
.step,
.notice,
.legal-page {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(36, 85, 120, 0.06);
}

.phone-card {
  padding: 18px;
  margin-bottom: 14px;
}

.phone-card.primary {
  background: var(--soft-blue);
}

.phone-card small,
.chart-card span {
  display: block;
  color: var(--primary-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.phone-card strong {
  display: block;
  margin: 8px 0;
  color: var(--text);
  font-size: 22px;
  line-height: 1.15;
}

.phone-card button {
  width: 100%;
  margin-top: 16px;
  padding: 12px;
  border: 0;
  border-radius: 12px;
  background: var(--deep-blue);
  color: #fff;
  font-weight: 800;
}

.mini-row {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
}

.mini-row span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--growth);
}

.mini-row p {
  margin: 0;
  color: var(--text);
}

.mini-row b {
  color: var(--muted-2);
  font-size: 12px;
}

.phone-progress {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.phone-progress div {
  padding: 14px;
  border-radius: 16px;
  background: var(--surface);
}

.phone-progress strong,
.chart-card strong {
  display: block;
  color: var(--deep-blue);
  font-size: 24px;
}

.phone-progress span {
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding: clamp(56px, 8vw, 100px) clamp(16px, 4vw, 48px);
}

.section.soft,
.kaizen {
  background: var(--soft-blue-2);
}

.section-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.section-inner.narrow {
  max-width: 760px;
  text-align: center;
}

.section-inner p {
  color: var(--muted);
  font-size: 18px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.card,
.step {
  padding: 26px;
}

.card p,
.step p,
.legal-page p,
.legal-page li {
  color: var(--muted);
}

.steps {
  display: grid;
  counter-reset: steps;
  gap: 18px;
  margin-top: 34px;
}

.steps.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step::before {
  counter-increment: steps;
  content: counter(steps, decimal-leading-zero);
  display: block;
  margin-bottom: 18px;
  color: var(--primary-blue);
  font-weight: 900;
}

.insights {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 54px;
  align-items: center;
}

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

.chart-card {
  min-height: 170px;
  padding: 22px;
  overflow: hidden;
}

.bars {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 62px;
  margin-top: 18px;
}

.bars i {
  display: block;
  flex: 1;
  border-radius: 999px;
  background: var(--primary-blue);
}

.bars i:nth-child(1) { height: 38%; opacity: 0.42; }
.bars i:nth-child(2) { height: 58%; opacity: 0.58; }
.bars i:nth-child(3) { height: 72%; opacity: 0.72; }
.bars i:nth-child(4) { height: 64%; opacity: 0.62; }
.bars i:nth-child(5) { height: 90%; }

.line {
  height: 64px;
  margin-top: 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, transparent 45%, rgba(74, 144, 194, 0.24) 46%),
    linear-gradient(160deg, transparent 40%, var(--primary-blue) 41%, var(--primary-blue) 46%, transparent 47%);
}

.progress-track {
  height: 12px;
  margin-top: 28px;
  border-radius: 999px;
  background: var(--soft-blue);
  overflow: hidden;
}

.progress-track i {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: var(--growth);
}

.kaizen-words {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.kaizen-words span {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--deep-blue);
  font-weight: 800;
}

.emotion {
  background: var(--deep-blue);
  color: #fff;
  text-align: center;
}

.emotion h2,
.emotion p {
  color: #fff;
}

.emotion p {
  opacity: 0.78;
}

.final-cta {
  text-align: center;
}

.site-footer {
  padding: 54px 24px 28px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: 1240px;
  margin: 0 auto;
}

.footer-brand {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-brand strong {
  color: var(--deep-blue);
  font-size: 20px;
}

.footer-brand p {
  margin: 0;
  color: var(--muted);
}

.footer-brand span {
  color: var(--text);
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-end;
  gap: 14px 20px;
  max-width: 520px;
}

.copyright {
  max-width: 1240px;
  margin: 32px auto 0;
  color: var(--muted-2);
  font-size: 14px;
}

.legal-page {
  width: calc(100% - 48px);
  max-width: 820px;
  margin: 64px auto;
  padding: 42px;
}

.legal-page h1 {
  font-size: clamp(36px, 6vw, 56px);
}

.legal-page h2 {
  margin-top: 34px;
  color: var(--deep-blue);
  font-size: 24px;
}

.notice {
  margin-top: 24px;
  padding: 18px;
  background: var(--soft-blue-2);
}

.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

@media (max-width: 960px) {
  .nav {
    padding: 12px 20px;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .nav,
  .nav-menu,
  .nav-links,
  .nav-actions {
    gap: 12px;
  }

  .nav-links,
  .nav-actions {
    font-size: 13px;
  }

  .button {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-grid,
  .insights,
  .steps.four,
  .chart-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    text-align: center;
  }

  .hero-copy .actions {
    justify-content: center;
  }

  .hero-copy,
  .hero-copy h1,
  .hero-copy .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .phone {
    width: min(320px, 100%);
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

  .nav.is-open .nav-menu {
    display: flex;
  }

  .nav-links,
  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    font-size: 14px;
  }

  .nav-links a,
  .nav-actions a:not(.button) {
    padding: 0 10px;
  }
}

@media (max-width: 560px) {
  .nav {
    padding: 10px 16px;
  }

  .brand {
    font-size: 17px;
  }

  .brand-logo {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }

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

  .lead {
    font-size: 17px;
  }

  .actions {
    width: 100%;
  }

  .button {
    width: 100%;
    min-height: 48px;
  }

  .hero {
    padding-top: 54px;
  }

  .phone {
    width: min(300px, 100%);
    padding: 14px;
    border-width: 8px;
    border-radius: 32px;
  }

  .phone-card {
    padding: 15px;
  }

  .chart-card {
    min-height: 150px;
    padding: 18px;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
  }

  .footer-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }

  .legal-page {
    width: calc(100% - 32px);
    margin: 28px auto;
    padding: 24px 20px;
    border-radius: 16px;
  }
}

@media (min-width: 768px) and (max-width: 1120px) {
  .nav {
    gap: 14px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav-menu,
  .nav-links,
  .nav-actions {
    gap: 12px;
  }

  .button {
    padding-left: 16px;
    padding-right: 16px;
  }
}
