:root {
  --navy-900: #0a1a4d;
  --navy-800: #142b6f;
  --navy-700: #1e3a8a;
  --accent-pink: #e91e63;
  --accent-yellow: #ffd60a;
  --gray-50: #f8f9fb;
  --gray-100: #f1f3f7;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-900: #0f172a;
  --white: #ffffff;
  --slide-line: rgba(10, 26, 77, 0.07);
  --shadow: 0 20px 44px -24px rgba(10, 26, 77, 0.22);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--gray-900);
  line-height: 1.7;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 14px 0;
  border-bottom: 1px solid rgba(229, 231, 235, 0.72);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(14px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  color: var(--navy-900);
  font-size: 17px;
  font-style: italic;
  font-weight: 900;
}

.nav-logo span {
  margin-left: 8px;
  color: var(--navy-800);
  font-style: normal;
  font-size: 14px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  padding: 10px 8px;
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 900;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 11px 20px;
  border: 2px solid var(--navy-900);
  border-radius: 0;
  font-weight: 900;
  font-size: 14px;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--navy-900);
  color: var(--white);
}

.btn-primary:hover {
  border-color: var(--accent-pink);
  background: var(--accent-pink);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy-900);
}

.btn-outline:hover {
  background: var(--navy-900);
  color: var(--white);
}

.btn-lg {
  min-height: 54px;
  padding: 15px 28px;
  font-size: 15px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 128px 0 82px;
  background:
    linear-gradient(90deg, var(--slide-line) 1px, transparent 1px),
    linear-gradient(var(--slide-line) 1px, transparent 1px),
    linear-gradient(180deg, #f5f7fb 0%, #ffffff 100%);
  background-size: 42px 42px, 42px 42px, auto;
}

.hero::before {
  content: "";
  position: absolute;
  top: -14%;
  right: -18%;
  width: 70%;
  height: 118%;
  background:
    radial-gradient(circle at 30% 50%, rgba(233, 30, 99, 0.08), transparent 55%),
    radial-gradient(circle at 70% 30%, rgba(10, 26, 77, 0.10), transparent 55%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: 46px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  margin-bottom: 24px;
  border: 1px solid rgba(10, 26, 77, 0.14);
  background: rgba(255, 255, 255, 0.82);
  color: var(--navy-900);
  font-size: 12px;
  font-weight: 900;
}

.hero-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--accent-pink);
}

.hero h1 {
  margin: 0 0 22px;
  color: var(--navy-900);
  font-weight: 900;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.28;
}

.hero h1 .highlight {
  background-image: linear-gradient(180deg, transparent 65%, rgba(255, 214, 10, 0.66) 65%, rgba(255, 214, 10, 0.66) 95%, transparent 95%);
  padding: 0 4px;
}

.pink {
  color: var(--accent-pink);
}

.lead {
  max-width: 680px;
  margin: 0 0 36px;
  color: var(--gray-600);
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.95;
}

.lead strong {
  color: var(--navy-900);
}

.hero-ctas,
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-200);
}

.hero-meta-item {
  padding-right: 20px;
}

.hero-meta-item + .hero-meta-item {
  padding-left: 22px;
  border-left: 1px solid var(--gray-200);
}

.hero-meta-item .num {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--navy-900);
  font-weight: 900;
  font-size: clamp(24px, 3.4vw, 38px);
  line-height: 1;
}

.hero-meta-item .num small {
  color: var(--gray-600);
  font-size: 55%;
}

.hero-meta-item .label {
  margin-top: 8px;
  color: var(--gray-600);
  font-size: 11.5px;
  line-height: 1.55;
}

.hero-visual,
.section-illust,
.cta-illust {
  border: 1px solid rgba(10, 26, 77, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(245, 247, 251, 0.78)),
    linear-gradient(38deg, transparent 0 46%, rgba(233, 30, 99, 0.08) 46% 62%, transparent 62% 100%);
  box-shadow: var(--shadow);
}

.hero-visual {
  margin: 0;
  padding: 34px;
}

section {
  padding: 75px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  align-items: center;
  gap: 42px;
  margin-bottom: 38px;
}

.section-illust {
  justify-self: end;
  width: 250px;
  padding: 18px;
}

.section-tag {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent-pink);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0;
}

.section-title {
  max-width: 820px;
  margin: 0 0 16px;
  color: var(--navy-900);
  font-weight: 900;
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.35;
}

.section-lead {
  max-width: 720px;
  margin: 0;
  color: var(--gray-600);
  font-size: 14.5px;
  line-height: 1.95;
}

.problems {
  background: var(--gray-50);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.problem-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 18px;
  align-items: center;
  min-height: 178px;
  padding: 24px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  box-shadow: 0 12px 28px -22px rgba(10, 26, 77, 0.18);
}

.problem-illust {
  grid-row: 1 / span 2;
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.problem-card .ic {
  margin-bottom: 8px;
  color: var(--accent-pink);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0;
}

.problem-card p {
  margin: 0;
  color: var(--navy-900);
  font-weight: 900;
  font-size: 14.5px;
  line-height: 1.65;
}

.strengths {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  color: var(--white);
}

.strengths::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.6;
}

.strengths .container {
  position: relative;
  z-index: 1;
}

.section-head-dark .section-title,
.strengths .section-lead {
  color: var(--white);
}

.dark-card {
  background: rgba(255, 255, 255, 0.94);
}

.strength-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 0.95fr;
  gap: 18px;
  margin-top: 8px;
}

.strength-card {
  position: relative;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
}

.strength-card.featured {
  background: var(--white);
  color: var(--gray-900);
}

.strength-label,
.case-tag,
.case-visual-label,
.flow-step-num {
  color: var(--accent-pink);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0;
}

.strength-illust {
  width: 96px;
  height: 96px;
  margin: 0 0 18px;
  padding: 10px;
  border: 1px solid rgba(10, 26, 77, 0.1);
  background: rgba(255, 255, 255, 0.9);
  object-fit: contain;
}

.strength-card h3 {
  margin: 12px 0 16px;
  font-size: 22px;
  line-height: 1.45;
}

.strength-card .desc,
.strength-card li {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13.5px;
  line-height: 1.8;
}

.strength-card.featured .desc,
.strength-card.featured li {
  color: var(--gray-600);
}

.strength-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 18px;
}

.cases-section {
  background: var(--white);
}

.case-cards {
  display: grid;
  gap: 24px;
}

.case-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  background: var(--white);
  box-shadow: var(--shadow);
}

.case-visual {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 28px;
  background:
    linear-gradient(90deg, var(--slide-line) 1px, transparent 1px),
    linear-gradient(var(--slide-line) 1px, transparent 1px),
    #f2f5fa;
  background-size: 34px 34px;
}

.case-visual img {
  width: min(250px, 100%);
  margin: 0 auto 8px;
}

.case-visual h4 {
  margin: 0;
  color: var(--navy-900);
  font-weight: 900;
  font-size: 24px;
  line-height: 1.35;
}

.case-stat-big .num {
  color: var(--navy-900);
  font-weight: 900;
  font-size: 32px;
}

.case-stat-big small {
  margin-left: 4px;
  color: var(--gray-600);
  font-size: 55%;
}

.case-stat-big .label {
  color: var(--gray-600);
  font-size: 12px;
  font-weight: 700;
}

.case-body {
  padding: 34px 36px;
}

.case-body h3 {
  margin: 12px 0 16px;
  color: var(--navy-900);
  font-weight: 900;
  font-size: 28px;
  line-height: 1.42;
}

.case-desc {
  margin: 0;
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.95;
}

.case-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.case-tech span {
  padding: 6px 10px;
  background: var(--gray-100);
  color: var(--navy-900);
  font-size: 11px;
  font-weight: 900;
}

.flow {
  background: var(--gray-50);
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.flow-step {
  position: relative;
  min-height: 188px;
  padding: 24px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  box-shadow: var(--shadow);
}

.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 44px;
  right: -17px;
  z-index: 2;
  width: 34px;
  border-top: 3px solid var(--accent-pink);
}

.flow-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(233, 30, 99, 0.1);
  color: var(--accent-pink);
  font-size: 15px;
}

.flow-step h4 {
  margin: 16px 0 8px;
  color: var(--navy-900);
  font-weight: 900;
  font-size: 18px;
}

.flow-step p {
  margin: 0;
  color: var(--gray-600);
  font-size: 13px;
  line-height: 1.8;
}

.cta-section {
  overflow: hidden;
  background: var(--navy-900);
  color: var(--white);
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 44px;
}

.cta-content h2 {
  margin: 0 0 18px;
  font-weight: 900;
  font-size: clamp(26px, 3.8vw, 44px);
  line-height: 1.35;
}

.cta-lead {
  max-width: 720px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  line-height: 1.95;
}

.cta-section .btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.cta-section .btn-outline:hover {
  background: var(--white);
  color: var(--navy-900);
}

.cta-meta {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
}

.cta-meta a {
  display: inline-block;
  margin-top: 6px;
  color: rgba(255, 214, 10, 0.9);
  font-weight: 900;
}

.cta-illust {
  width: 360px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.94);
}

.footer {
  padding: 18px 0;
  border-top: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  font-size: 12px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 920px) {
  .hero-inner,
  .case-card,
  .cta-grid,
  .section-head {
    grid-template-columns: 1fr;
  }

  .section-illust {
    justify-self: start;
  }

  .strength-grid,
  .flow-steps {
    grid-template-columns: 1fr;
  }

  .flow-step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .container,
  .nav-inner,
  .hero-inner {
    padding-inline: 18px;
  }

  .nav-actions .nav-link {
    display: none;
  }

  .hero {
    padding-top: 112px;
  }

  .hero-meta {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-meta-item,
  .hero-meta-item + .hero-meta-item {
    padding: 16px 0 0;
    border-left: 0;
    border-top: 1px solid var(--gray-200);
  }

  .btn,
  .btn-lg {
    width: 100%;
  }

  .hero-visual {
    padding: 18px;
  }

  .case-body {
    padding: 26px 22px;
  }

  .footer-inner {
    display: grid;
  }
}
