/* ==========================================================
   AI導入コンサルティング事業 — Design System
   ========================================================== */

:root {
  /* Palette */
  --ink: oklch(22% 0.02 255);
  --ink-2: oklch(35% 0.018 255);
  --muted: oklch(52% 0.015 255);
  --muted-2: oklch(68% 0.012 255);
  --line: oklch(92% 0.006 255);
  --line-2: oklch(96% 0.004 255);
  --bg: #ffffff;
  --bg-soft: oklch(98.5% 0.003 255);
  --bg-tint: oklch(97% 0.012 255);

  /* Brand */
  --blue: oklch(54% 0.18 252);
  --blue-ink: oklch(38% 0.16 252);
  --blue-soft: oklch(96% 0.025 252);
  --blue-line: oklch(88% 0.05 252);

  /* Sub accents */
  --green-soft: oklch(95% 0.035 155);
  --green-ink: oklch(42% 0.10 155);
  --purple-soft: oklch(96% 0.028 295);
  --purple-ink: oklch(45% 0.10 295);
  --gray-soft: oklch(96% 0.004 255);

  /* Type */
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --en: "Manrope", "Noto Sans JP", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Radii */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;

  /* Shadow */
  --shadow-1: 0 1px 2px oklch(20% 0.05 255 / 0.04), 0 1px 1px oklch(20% 0.05 255 / 0.03);
  --shadow-2: 0 8px 24px -10px oklch(35% 0.10 255 / 0.10), 0 2px 6px -2px oklch(35% 0.10 255 / 0.05);
  --shadow-3: 0 24px 48px -20px oklch(35% 0.12 255 / 0.18), 0 6px 12px -4px oklch(35% 0.10 255 / 0.06);

  /* Layout */
  --max: 1180px;
  --max-narrow: 920px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
a { color: inherit; text-decoration: none; }

/* ==========================================================
   Header
   ========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand__mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue) 0%, oklch(60% 0.18 280) 100%);
  position: relative;
  display: grid;
  place-items: center;
  color: white;
  font-family: var(--en);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -0.02em;
}
.brand__name {
  font-size: 14px;
  line-height: 1.2;
}
.brand__name small {
  display: block;
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.nav__link {
  font-size: 13.5px;
  white-space: nowrap;
  color: var(--ink-2);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  position: relative;
  border: 1px solid var(--line);
  background: white;
}
.nav__link:hover { background: var(--bg-tint); color: var(--ink); border-color: var(--ink-2); }
.nav__link.is-active {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}
.nav__link.is-active::after {
  display: none;
}
.nav__dropdown {
  position: relative;
}
.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 320px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-3);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.15s, transform 0.15s;
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav__dropdown-item {
  display: block;
  padding: 10px 12px;
  font-size: 13px;
  border-radius: var(--r-sm);
  color: var(--ink-2);
  transition: background 0.12s;
}
.nav__dropdown-item:hover { background: var(--blue-soft); color: var(--blue-ink); }
.nav__dropdown-item small {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 400;
  margin-top: 2px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: var(--ink);
  color: white;
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.15s;
}
.header-cta:hover { background: var(--blue-ink); }

/* mobile menu toggle */
.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  margin-left: auto;
  border-radius: var(--r-sm);
}
.menu-toggle:hover { background: var(--bg-tint); }

/* ==========================================================
   Buttons
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--r-full);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 1px 2px oklch(40% 0.18 252 / 0.3), inset 0 0 0 1px oklch(60% 0.20 252 / 0.5);
}
.btn--primary:hover { background: var(--blue-ink); box-shadow: var(--shadow-2); }
.btn--ghost {
  background: white;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink); background: white; }
.btn--dark {
  background: var(--ink);
  color: white;
}
.btn--dark:hover { background: oklch(15% 0.02 255); }
.btn--lg { padding: 16px 28px; font-size: 15px; }
.btn--sm { padding: 9px 16px; font-size: 13px; }

.btn .arrow {
  width: 14px; height: 14px;
  transition: transform 0.2s;
}
.btn:hover .arrow { transform: translateX(2px); }

/* ==========================================================
   Layout primitives
   ========================================================== */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}
.container--narrow {
  max-width: var(--max-narrow);
}
.section {
  padding: 96px 0;
}
.section--tight { padding: 64px 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-ink);
}
.eyebrow::before {
  content: "";
  width: 16px; height: 1px;
  background: var(--blue);
}

.section-title {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.35;
  letter-spacing: 0.005em;
  font-weight: 700;
  margin: 14px 0 18px;
  color: var(--ink);
}
.section-lede {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.85;
  max-width: 640px;
}

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  position: relative;
  padding: 80px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(60% 60% at 88% 0%, oklch(96% 0.04 252) 0%, transparent 60%),
    radial-gradient(40% 40% at 4% 12%, oklch(96% 0.035 280) 0%, transparent 60%),
    linear-gradient(180deg, white 0%, white 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(oklch(85% 0.01 255 / 0.3) 1px, transparent 1px),
    linear-gradient(90deg, oklch(85% 0.01 255 / 0.3) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -1px -1px;
  mask-image: radial-gradient(70% 60% at 50% 30%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, black 0%, transparent 80%);
  pointer-events: none;
  opacity: 0.6;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}
.hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 24px;
  font-family: var(--en);
}
.hero__breadcrumb a { color: var(--muted); }
.hero__breadcrumb a:hover { color: var(--blue-ink); }
.hero__breadcrumb .sep { opacity: 0.4; }

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  font-size: 12px;
  color: var(--ink-2);
  margin-bottom: 22px;
  box-shadow: var(--shadow-1);
}
.hero__tag-pill {
  background: var(--blue);
  color: white;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-family: var(--en);
}

.hero__title {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.32;
  letter-spacing: 0.005em;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 22px;
  max-width: 18ch;
}
.hero__title .accent {
  color: var(--blue);
  position: relative;
}

.hero__sub {
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink-2);
  max-width: 620px;
  margin: 0 0 12px;
}
.hero__note {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--green-soft);
  border-radius: var(--r-sm);
}
.hero__note .dot {
  width: 6px; height: 6px;
  background: var(--green-ink);
  border-radius: 50%;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
}

.hero__chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  max-width: 920px;
}
.hero__chip {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-1);
}
.hero__chip-label {
  font-size: 11.5px;
  color: var(--muted);
  font-family: var(--en);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero__chip-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.hero__chip-value strong {
  font-family: var(--en);
  font-weight: 800;
  color: var(--blue);
}

/* hero side card (top page) */
.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: start;
}
.hero__side {
  position: relative;
  padding: 26px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-2);
}
.hero__side-title {
  font-size: 12px;
  font-family: var(--en);
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__side-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.flow-step {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.flow-step:last-child { border-bottom: 0; }
.flow-step__n {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--en);
  font-size: 12px;
  font-weight: 700;
  background: var(--bg-tint);
  color: var(--ink-2);
}
.flow-step.is-entry .flow-step__n {
  background: var(--blue);
  color: white;
}
.flow-step__name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.flow-step__name small {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: 11.5px;
  margin-top: 2px;
}
.flow-step__price {
  font-family: var(--en);
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-ink);
  white-space: nowrap;
}

/* ==========================================================
   Cards
   ========================================================== */
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  border-color: var(--blue-line);
  box-shadow: var(--shadow-2);
}
.card__num {
  font-family: var(--en);
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.06em;
}
.card__title {
  font-size: 17px;
  font-weight: 700;
  margin: 8px 0 10px;
  line-height: 1.55;
}
.card__body {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.85;
}

/* problem cards */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 40px;
}
.problem-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
}
.problem-item__icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: oklch(95% 0.03 30);
  color: oklch(50% 0.16 30);
  display: grid; place-items: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.problem-conclusion {
  margin-top: 36px;
  padding: 28px 32px;
  background: var(--ink);
  color: white;
  border-radius: var(--r-lg);
  font-size: 17px;
  line-height: 1.85;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.problem-conclusion__bar {
  width: 3px;
  background: var(--blue);
  border-radius: 2px;
  align-self: stretch;
  flex-shrink: 0;
}
.problem-conclusion strong {
  color: oklch(85% 0.10 252);
  font-weight: 700;
}

/* risk cards */
.risk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.risk-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  position: relative;
}
.risk-card__label {
  font-family: var(--en);
  font-size: 11px;
  color: oklch(50% 0.16 30);
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 10px;
}
.risk-card__title {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.5;
}
.risk-card__body {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}

/* solution */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.solution-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  position: relative;
  overflow: hidden;
}
.solution-card__icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--blue-soft);
  color: var(--blue);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.solution-card h3 {
  font-size: 17px;
  margin: 0 0 10px;
  font-weight: 700;
}
.solution-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.85;
  margin: 0;
}
.solution-card--green .solution-card__icon { background: var(--green-soft); color: var(--green-ink); }
.solution-card--purple .solution-card__icon { background: var(--purple-soft); color: var(--purple-ink); }

/* ==========================================================
   Service overview flow (Steps)
   ========================================================== */
.flow {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  position: relative;
}
.flow.flow--six {
  grid-template-columns: repeat(6, 1fr);
}
.flow__step {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.flow__step:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.flow__step.is-entry {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.flow__step.is-entry .flow__step-tag { color: oklch(85% 0.10 252); }
.flow__step.is-entry .flow__step-price { color: white; }
.flow__step.is-entry .flow__step-body { color: oklch(80% 0.01 255); }
.flow__step-tag {
  font-family: var(--en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue);
  text-transform: uppercase;
}
.flow__step-title {
  font-size: 15.5px;
  font-weight: 700;
  margin: 8px 0 6px;
  line-height: 1.4;
}
.flow__step-price {
  font-family: var(--en);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-ink);
  margin-bottom: 12px;
}
.flow__step-price small {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  color: var(--muted);
  display: block;
}
.flow__step-body {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
}

/* ==========================================================
   Service product blocks
   ========================================================== */
.product {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.product:first-of-type { border-top: 0; padding-top: 0; }
.product--featured {
  background: linear-gradient(180deg, var(--blue-soft) 0%, transparent 100%);
  border-radius: var(--r-xl);
  padding: 56px 40px;
  border: 1px solid var(--blue-line);
  margin: 32px 0;
  position: relative;
}
.product--featured::before {
  content: "MAIN PLAN";
  position: absolute;
  top: -10px;
  left: 32px;
  background: var(--blue);
  color: white;
  font-family: var(--en);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 4px 14px;
  border-radius: var(--r-full);
}
.product__tag--featured {
  background: var(--blue) !important;
  color: white !important;
}
.product__intro {
  position: sticky;
  top: 100px;
}
.product__tag {
  font-family: var(--en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  background: var(--blue-soft);
  border-radius: var(--r-full);
  margin-bottom: 16px;
}
.product__title {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.4;
}
.product__price {
  font-family: var(--en);
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 18px;
}
.product__price small {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  color: var(--muted);
  margin-left: 6px;
}
.product__desc {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.95;
  margin-bottom: 22px;
}
.product__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.product__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 18px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-2);
}
.product__list .check {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  display: grid; place-items: center;
  margin-top: 2px;
}

/* ==========================================================
   Tools section
   ========================================================== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 40px;
}
.tool-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
}
.tool-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.tool-card__logo {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  font-family: var(--en);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.tool-card__name {
  font-size: 14px;
  font-weight: 700;
}
.tool-card__role {
  font-size: 11px;
  color: var(--muted);
  font-family: var(--en);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}
.tool-card__body {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.8;
}

/* contact tools */
.contact-tools {
  margin-top: 28px;
  padding: 24px 28px;
  background: var(--bg-soft);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.contact-tools h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px;
}
.contact-tools p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.contact-tools__items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.contact-tools__chip {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-tools__chip .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}

/* ==========================================================
   Industry cards (top page)
   ========================================================== */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.industry-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
}
.industry-card:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}
.industry-card__num {
  font-family: var(--en);
  font-size: 11px;
  font-weight: 700;
  color: var(--muted-2);
  letter-spacing: 0.1em;
}
.industry-card__title {
  font-size: 17px;
  font-weight: 700;
  margin: 10px 0 10px;
  line-height: 1.5;
}
.industry-card__body {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.85;
  flex: 1;
}
.industry-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
}
.industry-card__more .arrow { width: 13px; height: 13px; transition: transform 0.2s; }
.industry-card:hover .industry-card__more .arrow { transform: translateX(3px); }

/* ==========================================================
   Process timeline
   ========================================================== */
.process {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  counter-reset: step;
}
.process__step {
  position: relative;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 22px 24px;
  counter-increment: step;
}
.process__step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--en);
  font-size: 36px;
  font-weight: 800;
  color: var(--blue-soft);
  position: absolute;
  top: 14px;
  right: 18px;
  line-height: 1;
  letter-spacing: -0.04em;
}
.process__step h4 {
  font-size: 15px;
  margin: 0 0 8px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.process__step p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ==========================================================
   Pricing table
   ========================================================== */
.pricing {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.pricing__row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.6fr auto;
  align-items: center;
  gap: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 26px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pricing__row:hover {
  border-color: var(--blue-line);
  box-shadow: var(--shadow-1);
}
.pricing__row.is-entry {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
  position: relative;
}
.pricing__row.is-entry::before {
  content: "MOST POPULAR";
  position: absolute;
  top: -10px;
  left: 24px;
  background: var(--ink);
  color: white;
  font-family: var(--en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: var(--r-full);
}
.pricing__name {
  font-size: 16px;
  font-weight: 700;
}
.pricing__name small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-family: var(--en);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 4px;
}
.pricing__row.is-entry .pricing__name small { color: oklch(85% 0.10 252); }
.pricing__price {
  font-family: var(--en);
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
}
.pricing__row.is-entry .pricing__price { color: white; }
.pricing__price small {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 4px;
}
.pricing__row.is-entry .pricing__price small { color: oklch(85% 0.10 252); }
.pricing__desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}
.pricing__row.is-entry .pricing__desc { color: oklch(90% 0.04 252); }
.pricing__cta {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue);
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: var(--r-full);
  border: 1px solid var(--blue-line);
  transition: background 0.15s, color 0.15s;
}
.pricing__cta:hover { background: var(--blue); color: white; }
.pricing__row.is-entry .pricing__cta {
  background: white;
  color: var(--blue);
  border-color: white;
}
.pricing__row.is-entry .pricing__cta:hover { background: var(--ink); color: white; }
.pricing__note {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.8;
  padding-left: 16px;
  border-left: 2px solid var(--line);
}

/* ==========================================================
   FAQ
   ========================================================== */
.faq {
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__q {
  width: 100%;
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  gap: 16px;
  align-items: center;
  padding: 24px 4px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  font-family: var(--sans);
}
.faq__q-marker {
  font-family: var(--en);
  font-weight: 800;
  color: var(--blue);
  font-size: 16px;
}
.faq__q-toggle {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-tint);
  display: grid; place-items: center;
  transition: background 0.2s, transform 0.2s;
}
.faq__item.is-open .faq__q-toggle {
  background: var(--blue);
  color: white;
  transform: rotate(45deg);
}
.faq__a {
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  gap: 16px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.95;
  padding: 0 4px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s, padding 0.3s;
}
.faq__item.is-open .faq__a {
  max-height: 400px;
  padding: 0 4px 24px;
}
.faq__a-marker {
  font-family: var(--en);
  font-weight: 800;
  color: var(--muted-2);
}

/* ==========================================================
   Case study
   ========================================================== */
.case {
  margin-top: 40px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 48px;
  position: relative;
}
.case__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--purple-soft);
  color: var(--purple-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: var(--r-full);
  font-family: var(--en);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.case h3 {
  font-size: 24px;
  margin: 0 0 16px;
  line-height: 1.55;
}
.case p {
  font-size: 14.5px;
  line-height: 2;
  color: var(--ink-2);
  margin: 0 0 16px;
}
.case__voice {
  background: var(--bg-soft);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
}
.case__voice-badge {
  display: inline-block;
  padding: 4px 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--muted);
  font-family: var(--en);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.case__voice-quote {
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--ink);
  margin: 0;
  position: relative;
  padding-left: 20px;
}
.case__voice-quote::before {
  content: "「";
  position: absolute;
  left: -4px;
  top: -2px;
  font-size: 28px;
  color: var(--blue);
  font-weight: 700;
}
.case__voice-attr {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
}

/* ==========================================================
   Final CTA
   ========================================================== */
.final-cta {
  background: var(--ink);
  color: white;
  border-radius: var(--r-xl);
  padding: 64px 56px;
  margin: 0;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 60% at 90% 30%, oklch(50% 0.18 252 / 0.4) 0%, transparent 60%),
    radial-gradient(40% 50% at 10% 80%, oklch(45% 0.18 280 / 0.3) 0%, transparent 60%);
  pointer-events: none;
}
.final-cta__inner { position: relative; z-index: 1; }
.final-cta h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.4;
  margin: 0 0 22px;
  font-weight: 700;
}
.final-cta p {
  font-size: 15.5px;
  color: oklch(85% 0.01 255);
  line-height: 2;
  max-width: 620px;
  margin: 0 0 32px;
}
.final-cta__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.final-cta .btn--primary {
  background: white;
  color: var(--ink);
}
.final-cta .btn--primary:hover { background: oklch(95% 0.04 252); }
.final-cta .btn--ghost {
  background: transparent;
  color: white;
  border-color: oklch(40% 0.02 255);
}
.final-cta .btn--ghost:hover { border-color: white; }

/* ==========================================================
   Footer
   ========================================================== */
.footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 32px;
  background: white;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__col h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 16px;
  font-family: var(--en);
}
.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.footer__col a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.15s;
}
.footer__col a:hover { color: var(--blue); }
.footer__about {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  margin: 12px 0 0;
  max-width: 320px;
}
.footer__company {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.85;
}
.footer__company strong {
  color: var(--ink);
  font-weight: 700;
}
.footer__company a {
  color: var(--blue);
}
.footer__company a:hover {
  color: var(--blue-ink);
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted-2);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

/* ==========================================================
   LP-specific accents
   ========================================================== */
.lp-improvements {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 40px;
}
.lp-improvement {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.2s, transform 0.2s;
}
.lp-improvement:hover {
  border-color: var(--blue-line);
  transform: translateY(-1px);
}
.lp-improvement__num {
  font-family: var(--en);
  font-size: 11px;
  color: var(--muted-2);
  font-weight: 700;
  flex-shrink: 0;
}

/* dev support */
.dev-support {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: start;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 44px;
}
.dev-support h3 {
  font-size: 22px;
  margin: 0 0 14px;
  line-height: 1.55;
}
.dev-support p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  margin: 0;
}
.dev-support ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.dev-support li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: var(--bg-soft);
  border-radius: var(--r-md);
  font-size: 13.5px;
  font-weight: 500;
}
.dev-support li::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ==========================================================
   Utilities
   ========================================================== */
.divider {
  height: 1px;
  background: var(--line);
  margin: 0;
}
.text-center { text-align: center; }
.center-block { margin-left: auto; margin-right: auto; }

/* sitemap (page) */
.sitemap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 32px;
}
.sitemap-grid__node {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 16px;
  padding: 16px 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: 14px;
}

/* page transitions */
.page-fade {
  animation: pageFade 0.4s ease;
}
@keyframes pageFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1080px) {
  .hero__layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero__side { position: static; }
  .hero__visual--mocks { min-height: 0 !important; max-width: 100%; overflow: hidden; }
}
@media (max-width: 960px) {
  .product { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
  .product__intro { position: static; }
  .solution-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow.flow--six { grid-template-columns: 1fr 1fr; }
  .case { grid-template-columns: 1fr; padding: 32px; gap: 28px; }
  .dev-support { grid-template-columns: 1fr; padding: 28px; }
  .pricing__row { grid-template-columns: 1fr; gap: 8px; padding: 20px; }
  .pricing__cta { justify-self: start; margin-top: 4px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-tools { grid-template-columns: 1fr; gap: 16px; }
  .final-cta { padding: 40px 28px; }
}
@media (max-width: 1080px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-drawer.is-open { display: block; }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .container, .hero__inner { padding-left: 20px; padding-right: 20px; }
  .flow { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
  .hero__title { font-size: 32px; }
  .case { padding: 24px; }
  .product__title { font-size: 22px; }
  .nav-drawer.is-open { display: block; }
}

/* drawer (mobile) */
.nav-drawer {
  display: none;
  position: fixed;
  inset: 64px 0 0 0;
  background: white;
  z-index: 40;
  padding: 24px;
  overflow-y: auto;
  border-top: 1px solid var(--line);
}
.nav-drawer__group {
  margin-bottom: 24px;
}
.nav-drawer__group-title {
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.nav-drawer__link {
  display: block;
  padding: 14px 16px;
  background: var(--bg-soft);
  border-radius: var(--r-md);
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
}
