:root {
  --navy: #08143d;
  --ink: #121826;
  --muted: #647084;
  --line: #dde5f2;
  --soft: #f7f9fc;
  --violet: #6d4dff;
  --blue: #1768ff;
  --mint: #0f9f8f;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Arial, sans-serif;
  line-height: 1.7;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 720;
  color: var(--navy);
}

.brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  color: #344054;
  font-size: 14px;
  font-weight: 620;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(56px, 8vw, 92px) clamp(20px, 6vw, 88px) clamp(42px, 6vw, 80px);
  background:
    linear-gradient(120deg, rgba(109, 77, 255, 0.08), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.hero-copy {
  max-width: 740px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(38px, 7vw, 80px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.35;
}

.lead {
  margin: 26px 0 0;
  max-width: 660px;
  color: #344054;
  font-size: clamp(16px, 2vw, 20px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 760;
  line-height: 1.2;
}

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

.button.secondary {
  color: var(--navy);
  border-color: var(--line);
  background: white;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.hero-visual img {
  width: min(100%, 520px);
  height: auto;
  object-fit: contain;
}

.section {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 6vw, 88px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.issue-band {
  background: #fbfcfe;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.issue-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.issue-grid p {
  min-height: 110px;
  margin: 0;
  padding: 24px;
  background: white;
  color: #344054;
  font-weight: 650;
}

.split,
.safety {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 72px);
}

.body-copy p {
  margin: 0 0 18px;
  color: #344054;
  font-size: 18px;
}

.services-preview {
  background: var(--navy);
  color: white;
}

.services-preview h2,
.services-preview h3 {
  color: white;
}

.services-preview .eyebrow {
  color: #9be7dd;
}

.service-list,
.price-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-list article,
.price-list article,
.service-detail article {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.service-list span,
.service-detail span {
  display: block;
  margin-bottom: 22px;
  color: #9be7dd;
  font-weight: 800;
}

.service-list p {
  margin: 0;
  color: #d5dcf0;
}

.safety {
  background: #ffffff;
}

.safety ul,
.service-detail ul {
  margin: 0;
  padding-left: 20px;
  color: #344054;
}

.safety li,
.service-detail li {
  margin-bottom: 12px;
}

.flow {
  background: var(--soft);
}

.flow ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.flow li {
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.flow strong {
  display: block;
  color: var(--navy);
  margin-bottom: 8px;
}

.flow span {
  color: var(--muted);
}

.contact {
  margin: clamp(36px, 6vw, 72px) clamp(20px, 6vw, 88px);
  padding: clamp(40px, 7vw, 72px);
  color: white;
  background: linear-gradient(135deg, var(--navy), #173a6d 58%, #0f766e);
  border-radius: 8px;
}

.contact h2 {
  color: white;
}

.contact p {
  max-width: 760px;
  color: #e8eefc;
}

.contact .eyebrow {
  color: #9be7dd;
}

.page-hero {
  padding: clamp(70px, 10vw, 126px) clamp(20px, 6vw, 88px) clamp(42px, 7vw, 76px);
  background: linear-gradient(180deg, #ffffff, #f7faff);
}

.page-hero.compact {
  padding-bottom: clamp(34px, 5vw, 58px);
}

.page-hero p:last-child {
  max-width: 850px;
  margin: 24px 0 0;
  color: #344054;
  font-size: 18px;
}

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

.service-detail article,
.price-list article {
  border-color: var(--line);
  background: white;
}

.service-detail p,
.price-list span,
.faq p {
  color: #344054;
}

.pricing {
  background: var(--soft);
}

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

.price-list h3 {
  min-height: 54px;
}

.price-list p {
  color: var(--navy);
  font-size: 20px;
  font-weight: 820;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 760;
}

.diagnosis-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
}

.check-list,
.report-grid,
.kpi-list {
  display: grid;
  gap: 16px;
}

.check-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.check-list article,
.diagnosis-panel,
.report-grid article,
.kpi-list p {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.check-list p,
.diagnosis-panel li,
.panel-note,
.report-grid p,
.report-header p,
.kpi-list span {
  color: #344054;
}

.diagnosis-panel {
  position: sticky;
  top: 98px;
  background: #fbfcfe;
}

.diagnosis-panel h2 {
  margin-bottom: 18px;
  font-size: 28px;
}

.diagnosis-panel ul {
  margin: 0 0 24px;
  padding-left: 20px;
}

.diagnosis-panel li {
  margin-bottom: 10px;
}

.panel-note {
  margin: 16px 0 0;
  font-size: 13px;
}

.deliverables,
.kpi {
  background: var(--soft);
}

.service-list.light article {
  border-color: var(--line);
  background: white;
}

.service-list.light h3 {
  color: var(--navy);
}

.service-list.light p {
  color: #344054;
}

.service-list.light span,
.report-grid span {
  color: var(--mint);
}

.report-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.report-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.report-grid span {
  display: block;
  margin-bottom: 18px;
  font-weight: 800;
}

.report-grid strong {
  display: block;
  margin-top: 20px;
  color: var(--navy);
}

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

.kpi-list p {
  margin: 0;
}

.kpi-list strong,
.kpi-list span {
  display: block;
}

.kpi-list strong {
  color: var(--navy);
  margin-bottom: 8px;
}

.profile dl,
.legal {
  max-width: 960px;
}

.profile dl {
  margin: 0;
  border-top: 1px solid var(--line);
}

.profile div {
  display: grid;
  grid-template-columns: minmax(160px, 0.32fr) minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.profile dt {
  color: var(--navy);
  font-weight: 760;
}

.profile dd {
  margin: 0;
  color: #344054;
}

.legal h2 {
  margin-top: 34px;
  font-size: 26px;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal p {
  color: #344054;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(20px, 6vw, 88px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 980px) {
  .hero,
  .split,
  .safety {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 280px;
  }

  .issue-grid,
  .service-list,
  .service-detail,
  .price-list,
  .flow ol,
  .check-list,
  .report-grid,
  .kpi-list {
    grid-template-columns: 1fr 1fr;
  }

  .diagnosis-layout {
    grid-template-columns: 1fr;
  }

  .diagnosis-panel {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
  }

  .hero-actions,
  footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .issue-grid,
  .service-list,
  .service-detail,
  .price-list,
  .flow ol,
  .check-list,
  .report-grid,
  .kpi-list {
    grid-template-columns: 1fr;
  }

  .report-header {
    align-items: start;
    flex-direction: column;
  }

  .profile div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .contact {
    margin-left: 20px;
    margin-right: 20px;
  }
}
