:root {
  --navy: #0a2540;
  --navy-2: #123a62;
  --blue: #1769e0;
  --blue-soft: #eaf3ff;
  --teal: #0b6b5c;
  --teal-soft: #e8f8f3;
  --red: #b6403a;
  --red-soft: #fff1ef;
  --paper: #f7f9fc;
  --white: #fff;
  --line: #d8e0ea;
  --text: #1f2937;
  --muted: #64748b;
  --gold: #c88a1a;
  --shadow: 0 16px 38px rgba(10, 37, 64, .11);
  --shadow-strong: 0 28px 58px rgba(10, 37, 64, .18);
  --radius: 18px;
  --header-h: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.8;
  overflow-x: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.mobile-break {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header-h);
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid rgba(216, 224, 234, .8);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(10, 37, 64, .08);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(250px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand-company,
.brand-service {
  display: block;
  line-height: 1.25;
  white-space: nowrap;
}

.brand-company {
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
}

.brand-service {
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.2;
}

.header-cta {
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: 0 12px 24px rgba(23, 105, 224, .22);
  white-space: nowrap;
  justify-self: end;
}

.section-shell,
.section {
  position: relative;
  border-bottom: 1px solid rgba(216, 224, 234, .74);
}

.section {
  padding: 96px 0;
}

.hero {
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  padding: 116px 0 104px;
  background:
    radial-gradient(circle at 78% 18%, rgba(23, 105, 224, .11), transparent 28%),
    radial-gradient(circle at 20% 82%, rgba(11, 107, 92, .10), transparent 30%),
    linear-gradient(135deg, #fff 0%, #f7fbff 48%, #eef6ff 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: .52;
  background-image:
    linear-gradient(rgba(10, 37, 64, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 37, 64, .035) 1px, transparent 1px);
  background-size: 38px 38px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  align-items: center;
  gap: 48px;
}

.hero-grid > *,
.split-head > *,
.contact-grid > *,
.reason-layout > * {
  min-width: 0;
}

.issue-grid > *,
.approach-row > *,
.step-card-row > *,
.reason-grid > *,
.estimate-grid > * {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--blue);
  font: 800 13px/1.2 "IBM Plex Sans", "Noto Sans JP", sans-serif;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.hero .eyebrow {
  margin-bottom: 18px;
  font-size: clamp(12px, 1.25vw, 18px);
  line-height: 1.35;
  white-space: nowrap;
}

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

h1 {
  margin-bottom: 24px;
  color: var(--navy);
  font-size: clamp(40px, 5.5vw, 68px);
  line-height: 1.13;
  letter-spacing: 0;
}

h1 span {
  display: block;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 0;
  color: var(--navy);
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.28;
  letter-spacing: 0;
}

h3 {
  color: var(--navy);
  line-height: 1.42;
}

.hero-lead {
  max-width: 670px;
  margin-bottom: 30px;
  color: #395062;
  font-size: 18px;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: 0 18px 34px rgba(23, 105, 224, .24);
}

.text-link {
  color: var(--navy);
  font-weight: 800;
  border-bottom: 2px solid rgba(23, 105, 224, .35);
}

.hero-visual {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 32px;
  background: rgba(255, 255, 255, .58);
  box-shadow: var(--shadow-strong);
}

.hero-visual img,
.wide-visual img {
  width: 100%;
  border-radius: 24px;
}

.section-head {
  max-width: 850px;
  margin-bottom: 42px;
}

.section-head.compact {
  max-width: 1120px;
}

.section-reasons .section-head {
  max-width: 1120px;
}

.issue-grid,
.phase-grid,
.detail-grid,
.reason-grid,
.estimate-grid {
  display: grid;
  gap: 18px;
}

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

.issue-card,
.approach-card,
.phase-card,
.detail-card,
.reason-grid article,
.faq-list details,
.contact-form,
.contact-note {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.88));
  border: 1px solid rgba(216, 224, 234, .86);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.issue-card::before,
.approach-card::before,
.phase-card::before,
.detail-card::before,
.reason-grid article::before,
.contact-form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 42px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .62), transparent);
  pointer-events: none;
}

.issue-card {
  padding: 24px 22px 24px;
  min-height: 214px;
  border-color: rgba(182, 64, 58, .20);
  background: linear-gradient(180deg, #fff, var(--red-soft));
}

.issue-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, var(--red), #e19d92);
}

.issue-no {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--red);
  font: 800 13px/1 "IBM Plex Sans", sans-serif;
}

.issue-card h3,
.approach-card h3,
.phase-card h3,
.detail-card h3,
.reason-grid h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.issue-card p,
.approach-card p,
.phase-card p,
.reason-grid p,
.split-head p,
.contact-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.approach-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.approach-card {
  padding: 22px;
}

.approach-image {
  width: 100%;
  margin-bottom: 22px;
  border: 1px solid rgba(216, 224, 234, .86);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(10, 37, 64, .10);
}

.mini-visual {
  height: 132px;
  margin-bottom: 22px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 80% 20%, rgba(23, 105, 224, .16), transparent 32%),
    linear-gradient(135deg, #f7fbff, #fff);
  border: 1px solid rgba(216, 224, 234, .86);
}

.mini-visual span {
  position: absolute;
  display: block;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(10, 37, 64, .09);
}

.visual-inventory,
.visual-map,
.visual-branch {
  position: relative;
}

.visual-inventory span:nth-child(1) { inset: 24px auto auto 24px; width: 42%; height: 28px; }
.visual-inventory span:nth-child(2) { inset: 62px auto auto 24px; width: 68%; height: 28px; }
.visual-inventory span:nth-child(3) { inset: 100px auto auto 24px; width: 54%; height: 14px; background: var(--blue-soft); }

.visual-map span:nth-child(1) { top: 24px; left: 24px; width: 74px; height: 44px; }
.visual-map span:nth-child(2) { top: 44px; left: 132px; width: 92px; height: 44px; background: var(--teal-soft); }
.visual-map span:nth-child(3) { top: 84px; left: 74px; width: 120px; height: 28px; background: var(--blue-soft); }

.visual-branch span:nth-child(1) { top: 50px; left: 24px; width: 90px; height: 38px; }
.visual-branch span:nth-child(2) { top: 26px; right: 24px; width: 96px; height: 34px; background: var(--blue-soft); }
.visual-branch span:nth-child(3) { right: 24px; bottom: 26px; width: 96px; height: 34px; background: var(--teal-soft); }

.phase-label,
.phase-chip {
  color: var(--blue);
  font: 800 13px/1 "IBM Plex Sans", sans-serif;
  letter-spacing: .04em;
}

.section-service,
.section-reasons,
.contact-section {
  background:
    radial-gradient(circle at 88% 12%, rgba(23, 105, 224, .08), transparent 24%),
    var(--paper);
}

.phase-stack {
  display: grid;
  gap: 28px;
  margin-top: 34px;
}

.phase-section {
  padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,251,255,.92));
  border: 1px solid rgba(216, 224, 234, .9);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.phase-section-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px 22px;
  margin-bottom: 22px;
}

.phase-section-head h3 {
  margin-bottom: 0;
  font-size: 28px;
}

.phase-section-head p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 800;
}

.phase-section-green {
  background: linear-gradient(180deg, #fff, #f2fcf8);
}

.phase-section-green .phase-chip,
.phase-section-green .step-card strong {
  color: var(--teal);
}

.phase-section-navy {
  background: linear-gradient(180deg, #fff, #f4f8ff);
}

.phase-section-navy .phase-chip,
.phase-section-navy .step-card strong {
  color: var(--navy);
}

.step-card-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.step-card {
  min-height: 286px;
  padding: 16px;
  background: #fff;
  border: 1px solid rgba(216, 224, 234, .9);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(10, 37, 64, .08);
}

.step-card h4 {
  margin: 14px 0 8px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.35;
}

.step-card p {
  min-height: 52px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.step-card strong {
  display: block;
  color: var(--blue);
  font-size: 13px;
  line-height: 1.45;
}

.step-figure {
  position: relative;
  height: 112px;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 12%, rgba(23, 105, 224, .13), transparent 34%),
    linear-gradient(135deg, #f8fbff, #fff);
  border: 1px solid rgba(216, 224, 234, .86);
  border-radius: 15px;
}

.step-figure span {
  position: absolute;
  display: block;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 18px rgba(10, 37, 64, .08);
}

.fig-list span:nth-child(1),
.fig-doc span:nth-child(1),
.fig-score span:nth-child(1),
.fig-plan span:nth-child(1) {
  top: 18px;
  left: 18px;
  width: 70%;
  height: 18px;
  background: var(--blue-soft);
}

.fig-list span:nth-child(2),
.fig-doc span:nth-child(2),
.fig-score span:nth-child(2),
.fig-plan span:nth-child(2) {
  top: 48px;
  left: 18px;
  width: 58%;
  height: 18px;
}

.fig-list span:nth-child(3),
.fig-doc span:nth-child(3),
.fig-score span:nth-child(3),
.fig-plan span:nth-child(3) {
  top: 78px;
  left: 18px;
  width: 46%;
  height: 18px;
}

.fig-flow span:nth-child(1),
.fig-branch span:nth-child(1),
.fig-roadmap span:nth-child(1),
.fig-pm span:nth-child(1) {
  top: 42px;
  left: 16px;
  width: 42px;
  height: 28px;
}

.fig-flow span:nth-child(2),
.fig-branch span:nth-child(2),
.fig-roadmap span:nth-child(2),
.fig-pm span:nth-child(2) {
  top: 42px;
  left: 76px;
  width: 42px;
  height: 28px;
  background: var(--blue-soft);
}

.fig-flow span:nth-child(3),
.fig-branch span:nth-child(3),
.fig-roadmap span:nth-child(3),
.fig-pm span:nth-child(3) {
  top: 42px;
  left: 136px;
  width: 42px;
  height: 28px;
  background: var(--teal-soft);
}

.fig-issue span:nth-child(1),
.fig-check span:nth-child(1),
.fig-tool span:nth-child(1),
.fig-run span:nth-child(1),
.fig-scope span:nth-child(1),
.fig-compare span:nth-child(1) {
  top: 20px;
  left: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red-soft);
}

.fig-issue span:nth-child(2),
.fig-check span:nth-child(2),
.fig-tool span:nth-child(2),
.fig-run span:nth-child(2),
.fig-scope span:nth-child(2),
.fig-compare span:nth-child(2) {
  top: 30px;
  left: 86px;
  width: 96px;
  height: 16px;
  background: var(--blue-soft);
}

.fig-issue span:nth-child(3),
.fig-check span:nth-child(3),
.fig-tool span:nth-child(3),
.fig-run span:nth-child(3),
.fig-scope span:nth-child(3),
.fig-compare span:nth-child(3) {
  top: 62px;
  left: 86px;
  width: 72px;
  height: 16px;
  background: var(--teal-soft);
}

.step-figure-labeled {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 14px;
}

.step-figure-labeled span {
  position: static;
  min-width: 0;
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 7px 6px;
  color: var(--navy);
  background: #fff;
  border: 1px solid rgba(216, 224, 234, .92);
  border-radius: 13px;
  box-shadow: 0 10px 20px rgba(10, 37, 64, .09);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
}

.step-figure-labeled i {
  position: relative;
  display: block;
  width: 34px;
  height: 4px;
  background: var(--blue);
  border-radius: 999px;
}

.step-figure-labeled i::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -2px;
  width: 12px;
  height: 12px;
  border-top: 4px solid var(--blue);
  border-right: 4px solid var(--blue);
  transform: translateY(-50%) rotate(45deg);
  border-radius: 2px;
}

.artifact {
  --artifact-accent: var(--blue);
  --artifact-soft: var(--blue-soft);
  padding: 0;
  background:
    radial-gradient(circle at 86% 10%, rgba(23, 105, 224, .12), transparent 34%),
    linear-gradient(135deg, #f8fbff, #fff);
}

.phase-section-green .artifact {
  --artifact-accent: var(--teal);
  --artifact-soft: var(--teal-soft);
}

.phase-section-navy .artifact {
  --artifact-accent: var(--navy);
  --artifact-soft: #eef4ff;
}

.artifact::before {
  content: attr(data-title);
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  max-width: calc(100% - 24px);
  padding: 5px 9px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}

.phase-section-green .artifact::before {
  background: linear-gradient(135deg, var(--teal), #22a878);
}

.phase-section-navy .artifact::before {
  background: linear-gradient(135deg, var(--navy), #123a62);
}

.artifact::after {
  content: attr(data-note);
  position: absolute;
  right: 10px;
  bottom: 8px;
  left: 10px;
  z-index: 3;
  padding: 3px 7px;
  overflow: hidden;
  color: var(--navy);
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(216, 224, 234, .82);
  border-radius: 999px;
  box-shadow: 0 8px 14px rgba(10, 37, 64, .06);
  font-size: 10.5px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.artifact span {
  position: absolute;
  display: block;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(216, 224, 234, .95);
  box-shadow: 0 8px 16px rgba(10, 37, 64, .08);
}

.artifact-table span:nth-child(1),
.artifact-compare span:nth-child(1) {
  right: 14px;
  bottom: 16px;
  left: 14px;
  height: 54px;
  background:
    linear-gradient(var(--artifact-soft) 0 0) 0 0 / 100% 16px no-repeat,
    repeating-linear-gradient(90deg, transparent 0 33%, rgba(216,224,234,.9) 33% calc(33% + 1px), transparent calc(33% + 1px) 100%),
    repeating-linear-gradient(180deg, transparent 0 17px, rgba(216,224,234,.9) 17px 18px);
}

.artifact-table span:nth-child(2),
.artifact-compare span:nth-child(2) {
  right: 16px;
  bottom: 76px;
  width: 42px;
  height: 16px;
  background: var(--teal-soft);
}

.artifact-manual span:nth-child(1),
.artifact-requirement span:nth-child(1),
.artifact-operation span:nth-child(1) {
  top: 40px;
  right: 18px;
  bottom: 14px;
  left: 24px;
  background:
    linear-gradient(#dbeafe 0 0) 18px 22px / 62% 8px no-repeat,
    linear-gradient(#dbeafe 0 0) 18px 42px / 72% 8px no-repeat,
    linear-gradient(#dbeafe 0 0) 18px 62px / 48% 8px no-repeat,
    #fff;
}

.artifact-manual span:nth-child(2),
.artifact-requirement span:nth-child(2),
.artifact-operation span:nth-child(2) {
  top: 58px;
  left: 18px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--artifact-accent);
}

.artifact-io span:nth-child(1),
.artifact-flow span:nth-child(1),
.artifact-branch span:nth-child(1) {
  top: 52px;
  left: 18px;
  width: 54px;
  height: 34px;
}

.artifact-io span:nth-child(2),
.artifact-flow span:nth-child(2),
.artifact-branch span:nth-child(2) {
  top: 52px;
  left: 94px;
  width: 54px;
  height: 34px;
  background: var(--artifact-soft);
}

.artifact-io span:nth-child(3),
.artifact-flow span:nth-child(3),
.artifact-branch span:nth-child(3) {
  top: 68px;
  left: 72px;
  width: 22px;
  height: 4px;
  border: 0;
  background: var(--artifact-accent);
  box-shadow: none;
}

.artifact-io span:nth-child(3)::after,
.artifact-flow span:nth-child(3)::after,
.artifact-branch span:nth-child(3)::after {
  content: "";
  position: absolute;
  top: -5px;
  right: -4px;
  width: 12px;
  height: 12px;
  border-top: 4px solid var(--artifact-accent);
  border-right: 4px solid var(--artifact-accent);
  transform: rotate(45deg);
}

.artifact-branch span:nth-child(4) {
  top: 42px;
  right: 16px;
  width: 42px;
  height: 52px;
  background:
    linear-gradient(var(--blue) 0 0) 8px 10px / 26px 8px no-repeat,
    linear-gradient(var(--teal) 0 0) 8px 33px / 26px 8px no-repeat,
    #fff;
}

.artifact-score span:nth-child(1) {
  top: 48px;
  left: 20px;
  width: 76px;
  height: 8px;
  background: #dbeafe;
}

.artifact-score span:nth-child(2) {
  top: 68px;
  left: 20px;
  width: 108px;
  height: 8px;
  background: #f3d4cf;
}

.artifact-score span:nth-child(3) {
  top: 88px;
  left: 20px;
  width: 52px;
  height: 8px;
  background: var(--teal-soft);
}

.artifact-score span:nth-child(4),
.artifact-theme span:nth-child(4) {
  right: 18px;
  bottom: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 38%, var(--artifact-accent) 40% 100%);
}

.artifact-roadmap span:nth-child(1),
.artifact-plan span:nth-child(1) {
  top: 62px;
  right: 22px;
  left: 22px;
  height: 4px;
  border: 0;
  background: #cbd5e1;
  box-shadow: none;
}

.artifact-roadmap span:nth-child(2),
.artifact-roadmap span:nth-child(3),
.artifact-roadmap span:nth-child(4),
.artifact-plan span:nth-child(2),
.artifact-plan span:nth-child(3),
.artifact-plan span:nth-child(4) {
  top: 52px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--artifact-accent);
}

.artifact-roadmap span:nth-child(2),
.artifact-plan span:nth-child(2) { left: 28px; }
.artifact-roadmap span:nth-child(3),
.artifact-plan span:nth-child(3) { left: 86px; background: var(--teal); }
.artifact-roadmap span:nth-child(4),
.artifact-plan span:nth-child(4) { right: 28px; background: var(--gold); }

.artifact-issue span:nth-child(1),
.artifact-issue span:nth-child(2),
.artifact-issue span:nth-child(3) {
  width: 54px;
  height: 42px;
  background: var(--red-soft);
  border-color: rgba(182, 64, 58, .25);
}

.artifact-issue span:nth-child(1) { top: 46px; left: 18px; }
.artifact-issue span:nth-child(2) { top: 58px; left: 82px; }
.artifact-issue span:nth-child(3) { top: 44px; right: 18px; }

.artifact-theme span:nth-child(1),
.artifact-scope span:nth-child(1) {
  top: 45px;
  left: 25px;
  width: 66px;
  height: 50px;
  border-radius: 14px;
  background: var(--artifact-soft);
}

.artifact-theme span:nth-child(2),
.artifact-scope span:nth-child(2) {
  top: 60px;
  left: 108px;
  width: 54px;
  height: 20px;
  background: var(--artifact-accent);
}

.artifact-improved span:nth-child(1) {
  top: 46px;
  left: 20px;
  width: 72px;
  height: 50px;
  background:
    linear-gradient(var(--teal-soft) 0 0) 0 0 / 100% 15px no-repeat,
    repeating-linear-gradient(90deg, transparent 0 24px, rgba(216,224,234,.9) 24px 25px),
    repeating-linear-gradient(180deg, transparent 0 17px, rgba(216,224,234,.9) 17px 18px),
    #fff;
}

.artifact-improved span:nth-child(2) {
  top: 57px;
  right: 28px;
  width: 44px;
  height: 34px;
  background: var(--teal-soft);
}

.artifact-improved span:nth-child(2)::after,
.artifact-operation span:nth-child(3)::after,
.artifact-requirement span:nth-child(3)::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 8px;
  border-left: 4px solid var(--teal);
  border-bottom: 4px solid var(--teal);
  transform: rotate(-45deg);
  left: 12px;
  top: 9px;
}

.artifact-pm span:nth-child(1) {
  top: 44px;
  left: 20px;
  width: 122px;
  height: 58px;
  background:
    linear-gradient(var(--artifact-soft) 0 0) 10px 12px / 28px 34px no-repeat,
    linear-gradient(var(--red-soft) 0 0) 48px 12px / 28px 34px no-repeat,
    linear-gradient(var(--teal-soft) 0 0) 86px 12px / 28px 34px no-repeat,
    #fff;
}

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

.phase-card {
  min-height: 274px;
  padding: 24px;
}

.phase-card h3 {
  min-height: 58px;
}

.phase-card ul {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.phase-card li {
  padding: 8px 10px;
  color: #405267;
  background: #f7fbff;
  border: 1px solid rgba(216, 224, 234, .72);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
}

.phase-card-green .phase-chip {
  color: var(--teal);
}

.phase-card-green li {
  background: var(--teal-soft);
}

.phase-card-navy .phase-chip {
  color: var(--navy);
}

.wide-visual {
  margin-top: 28px;
  padding: 12px;
  background: rgba(255, 255, 255, .74);
  border: 1px solid rgba(216, 224, 234, .9);
  border-radius: 28px;
  box-shadow: var(--shadow-strong);
}

.split-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
  gap: 42px;
  align-items: end;
  margin-bottom: 38px;
}

.process-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.process-step {
  position: relative;
  min-height: 128px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -12px;
  width: 12px;
  height: 2px;
  background: var(--blue);
}

.process-step span,
.detail-card span,
.reason-grid span {
  display: block;
  margin-bottom: 16px;
  color: var(--blue);
  font: 800 13px/1 "IBM Plex Sans", sans-serif;
}

.process-step strong {
  color: var(--navy);
  font-size: 18px;
  line-height: 1.45;
}

.section-phase-detail {
  background: linear-gradient(180deg, #fff, #f8fbff);
}

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

.detail-card {
  padding: 24px;
}

.detail-card ol {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.detail-card li {
  counter-increment: step;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #405267;
  font-size: 14px;
  font-weight: 700;
}

.detail-card li::before {
  content: counter(step);
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--navy);
  border-radius: 50%;
  font: 700 12px/1 "IBM Plex Sans", sans-serif;
}

.case-visual {
  margin-top: 0;
}

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

.reason-grid article {
  min-height: 190px;
  padding: 24px;
}

.estimate-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 32px;
}

.estimate-grid span {
  padding: 16px;
  text-align: center;
  color: var(--navy);
  background: linear-gradient(180deg, #fff, #f7fbff);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(10, 37, 64, .07);
  font-weight: 800;
}

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

.faq-list details {
  padding: 0;
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 24px;
  color: var(--navy);
  font-weight: 800;
}

.faq-list p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(420px, 1.18fr);
  gap: 42px;
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.contact-copy h2 {
  margin-bottom: 20px;
}

.contact-note {
  margin-top: 28px;
  padding: 22px;
}

.contact-note strong,
.contact-note span {
  display: block;
}

.contact-note strong {
  color: var(--navy);
}

.contact-note span {
  margin-top: 10px;
  color: var(--muted);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 28px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.contact-form label span {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text);
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 3px solid rgba(23, 105, 224, .18);
  border-color: var(--blue);
}

.contact-form .full {
  grid-column: 1 / -1;
}

.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.consent {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  color: var(--muted) !important;
  font-weight: 500 !important;
}

.consent input {
  width: 18px;
  height: 18px;
}

.consent a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: .72;
}

.form-status {
  min-height: 24px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--muted);
  background: rgba(244, 247, 251, .9);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.form-status:empty {
  display: none;
}

.form-status.is-sending {
  color: var(--navy);
  background: rgba(230, 241, 255, .9);
}

.form-status.is-success {
  color: #0d5f55;
  background: rgba(226, 247, 241, .95);
}

.form-status.is-error {
  color: var(--red);
  background: rgba(255, 237, 237, .95);
}

.site-footer {
  padding: 34px 0;
  color: #dce7f4;
  background: var(--navy);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner strong,
.footer-inner span {
  display: block;
}

.footer-inner span {
  margin-top: 4px;
  color: #9fb4ce;
  font-size: 13px;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.privacy-main {
  padding: 92px 0;
  background: var(--paper);
}

.privacy-article {
  width: min(880px, calc(100% - 40px));
  margin-inline: auto;
  padding: 46px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.privacy-article h1 {
  font-size: clamp(34px, 4vw, 48px);
}

.privacy-article h2 {
  margin-top: 34px;
  margin-bottom: 12px;
  font-size: 22px;
}

.privacy-article p {
  color: #405267;
}

.privacy-date {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

@media (max-width: 1040px) {
  .nav {
    display: none;
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .hero-grid,
  .contact-grid,
  .reason-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .contact-copy,
  .reason-title {
    position: static;
  }

  .issue-grid,
  .phase-grid,
  .detail-grid,
  .reason-grid,
  .step-card-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 720px) {
  :root {
    --header-h: 70px;
  }

  .container {
    width: calc(100% - 28px);
  }

  .mobile-break {
    display: inline;
  }

  .header-inner {
    width: calc(100% - 28px);
  }

  .brand {
    min-width: 0;
  }

  .brand-service,
  .header-cta {
    display: none;
  }

  .section,
  .hero {
    padding: 68px 0;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .hero-actions .text-link {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .approach-card,
  .step-card,
  .issue-card,
  .reason-grid article {
    width: 100%;
  }

  .hero-visual {
    width: min(100%, 340px);
    margin-inline: auto;
  }

  .hero-visual img {
    min-width: 0;
  }

  .approach-image {
    width: 86%;
    margin-right: auto;
    margin-left: auto;
  }

  .step-figure {
    width: 86%;
    margin-right: auto;
    margin-left: auto;
  }

  h1 {
    font-size: clamp(33px, 10vw, 42px);
    line-height: 1.18;
  }

  .hero .eyebrow {
    font-size: clamp(10px, 3vw, 12px);
    white-space: nowrap;
  }

  h2 {
    font-size: clamp(21px, 5.7vw, 24px);
    line-height: 1.42;
  }

  .hero-lead {
    font-size: 16px;
  }

  .issue-grid,
  .approach-row,
  .phase-grid,
  .detail-grid,
  .step-card-row,
  .reason-grid,
  .estimate-grid,
  .process-rail,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .phase-section {
    padding: 20px;
  }

  .phase-section-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .phase-section-head h3 {
    font-size: 24px;
  }

  .split-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-form {
    padding: 22px;
  }

  .wide-visual {
    overflow-x: hidden;
  }

  .wide-visual img {
    min-width: 0;
  }

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

  .privacy-article {
    padding: 28px 22px;
  }
}
