:root {
  --bg: #f7faff;
  --surface: rgba(255, 255, 255, 0.96);
  --line: #d8e6fb;
  --line-strong: #77b8ff;
  --text: #163164;
  --muted: #51668f;
  --blue: #185fe7;
  --blue-deep: #0d43b7;
  --blue-dark: #0a225f;
  --cyan: #3cc9ff;
  --green: #15a0ad;
  --purple: #5b56bf;
  --shadow: 0 18px 42px rgba(20, 75, 168, 0.11);
  --radius: 22px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0, rgba(56, 159, 255, 0.14), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(216, 230, 251, 0.85);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.95rem;
  color: var(--blue);
}

.brand-mark {
  width: 40px;
  height: 28px;
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, var(--blue) 6%, #75d8ff 96%);
  clip-path: polygon(0 100%, 26% 0, 56% 100%, 78% 36%, 100% 100%);
  border-radius: 6px;
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  left: 8px;
  top: 6px;
  background: #fff;
  border-radius: 3px 8px 3px 8px;
  opacity: 0.95;
}

.brand-text {
  font-style: italic;
  letter-spacing: -0.03em;
}

.brand-logo {
  display: block;
  height: 38px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav > a:hover,
.nav .nav-top:hover {
  color: var(--blue);
}

.nav .has-sub {
  position: relative;
}

.nav .has-sub > .nav-top::after {
  content: "▾";
  margin-left: 6px;
  font-size: 0.8em;
  color: var(--muted);
}

.nav .has-sub > .submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  margin-top: 14px;
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 8px;
  display: grid;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 40;
}

/* hover bridge so the menu doesn't close in the gap */
.nav .has-sub::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 18px;
}

.nav .has-sub:hover > .submenu,
.nav .has-sub:focus-within > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav .submenu a {
  display: block;
  padding: 11px 14px;
  border-radius: 9px;
  white-space: nowrap;
  color: var(--text);
}

.nav .submenu a:hover {
  background: var(--bg);
  color: var(--blue);
}

.section-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.banner-section {
  padding: 30px 0;
}

.service-banner {
  display: block;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-banner + .service-banner {
  margin-top: 26px;
}

.service-banner img {
  display: block;
  width: 100%;
  height: auto;
}

a.service-banner:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(20, 75, 168, 0.18);
}

.banner-static {
  cursor: default;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 16px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button::after {
  content: "›";
  margin-left: 12px;
  font-size: 1.25rem;
  line-height: 1;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  box-shadow: 0 14px 28px rgba(24, 95, 231, 0.24);
}

.button-secondary {
  color: var(--blue);
  background: #fff;
  border-color: #8cbcff;
}

.button-light {
  background: #fff;
  color: var(--blue-deep);
}

.button-outline-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
}

.hero {
  padding: 38px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 26px;
  align-items: start;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.15rem);
  line-height: 1.28;
  letter-spacing: -0.05em;
}

.hero-text {
  margin: 24px 0 0;
  font-size: 1.08rem;
  line-height: 1.9;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 26px;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.partner-logos span {
  min-width: 112px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: #4d6188;
  font-size: 0.94rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(14, 54, 133, 0.05);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
}

.hero-diagram {
  display: block;
  width: 100%;
  max-width: 660px;
  height: auto;
  margin: 0 auto;
}

.dashboard-panel {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 334px);
  padding: 12px 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
}

.dash-stats span {
  padding-top: 18px;
  border-top: 4px solid rgba(24, 95, 231, 0.16);
  font-weight: 700;
}

.dash-graphs {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr;
  gap: 10px;
  align-items: end;
}

.line-graph,
.bar-graph,
.pie-graph {
  height: 92px;
  border-radius: 10px;
  border: 1px solid #e3eeff;
  background: linear-gradient(180deg, #f8fbff, #eef6ff);
  position: relative;
  overflow: hidden;
}

.line-graph::before {
  content: "";
  position: absolute;
  inset: 18px 12px 18px;
  background:
    linear-gradient(transparent 48%, rgba(69, 112, 196, 0.12) 48%, rgba(69, 112, 196, 0.12) 54%, transparent 54%);
}

.line-graph::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 22px;
  height: 40px;
  border-bottom: 3px solid #37b0ff;
  border-right: 3px solid #37b0ff;
  transform: skewX(34deg);
  border-radius: 0 0 14px 0;
}

.bar-graph::before {
  content: "";
  position: absolute;
  inset: auto 14px 14px;
  height: 54px;
  background:
    linear-gradient(90deg, #2e7fff 0 18%, transparent 18% 29%, #54cbff 29% 48%, transparent 48% 58%, #17b6a9 58% 76%, transparent 76% 86%, #2558d9 86% 100%);
}

.pie-graph::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: conic-gradient(#2072ff 0 34%, #20c3f1 34% 57%, #ffbf56 57% 77%, #79d4c5 77% 100%);
}

.pie-graph::after {
  content: "";
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  background: #fff;
}

.platform-ring {
  position: absolute;
  inset: 120px 0 auto;
  height: 360px;
}

.ring {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 2px solid rgba(97, 190, 255, 0.34);
}

.ring-outer {
  top: 84px;
  width: 438px;
  height: 170px;
}

.ring-mid {
  top: 108px;
  width: 360px;
  height: 136px;
}

.ring-inner {
  top: 130px;
  width: 286px;
  height: 108px;
}

.platform-core {
  position: absolute;
  left: 50%;
  top: 28px;
  width: 244px;
  height: 126px;
  transform: translateX(-50%);
  border-radius: 50% / 36%;
  background: linear-gradient(180deg, #4bd0ff 0%, #136bdf 100%);
  box-shadow: 0 28px 52px rgba(19, 107, 223, 0.22);
}

.platform-core::before,
.platform-core::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  border-radius: 50%;
}

.platform-core::before {
  top: -14px;
  height: 36px;
  background: linear-gradient(180deg, #baf4ff, #78d7ff);
}

.platform-core::after {
  bottom: -14px;
  height: 28px;
  background: linear-gradient(180deg, rgba(19, 107, 223, 0.7), rgba(15, 75, 176, 0.98));
}

.core-logo,
.core-sub {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 176px;
  text-align: center;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 8px;
}

.core-logo {
  top: 42px;
  padding: 10px 10px 4px;
  color: var(--blue);
  font-weight: 800;
  font-style: italic;
}

.core-sub {
  top: 73px;
  width: 194px;
  padding: 2px 10px 10px;
  font-weight: 800;
  font-size: 0.95rem;
}

.agent-mascot {
  position: absolute;
  left: 50%;
  top: 246px;
  width: 88px;
  height: 116px;
  transform: translateX(-50%);
  z-index: 2;
}

.agent-head {
  position: absolute;
  left: 50%;
  top: 0;
  width: 70px;
  height: 52px;
  transform: translateX(-50%);
  border-radius: 20px;
  border: 3px solid #3f8fff;
  background: linear-gradient(180deg, #ffffff, #eaf4ff);
  box-shadow: 0 10px 22px rgba(24, 95, 231, 0.16);
}

.agent-head::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -12px;
  width: 4px;
  height: 14px;
  transform: translateX(-50%);
  background: #3f8fff;
  border-radius: 999px;
}

.agent-head::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -18px;
  width: 12px;
  height: 12px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #35c3ff;
  box-shadow: 0 0 0 6px rgba(53, 195, 255, 0.12);
}

.agent-eye {
  position: absolute;
  top: 20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
}

.agent-eye:first-child {
  left: 18px;
}

.agent-eye:last-child {
  right: 18px;
}

.agent-body {
  position: absolute;
  left: 50%;
  top: 52px;
  width: 46px;
  height: 36px;
  transform: translateX(-50%);
  border-radius: 18px;
  background: linear-gradient(180deg, #4ecbff, #1e7eff);
  box-shadow: 0 10px 18px rgba(24, 95, 231, 0.16);
}

.agent-arm,
.agent-leg {
  position: absolute;
  background: #3f8fff;
  border-radius: 999px;
}

.agent-arm {
  top: 58px;
  width: 26px;
  height: 4px;
}

.left-arm {
  left: 6px;
  transform: rotate(24deg);
}

.right-arm {
  right: 6px;
  transform: rotate(-24deg);
}

.agent-leg {
  top: 88px;
  width: 4px;
  height: 24px;
}

.left-leg {
  left: 36px;
  transform: rotate(12deg);
}

.right-leg {
  right: 36px;
  transform: rotate(-12deg);
}

.impact-pill {
  position: absolute;
  z-index: 2;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 2px solid rgba(92, 168, 255, 0.72);
  color: var(--blue-dark);
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(24, 95, 231, 0.12);
}

.impact-people {
  left: 126px;
  top: 338px;
}

.impact-cost {
  right: 100px;
  top: 338px;
}

.orbit-card {
  position: absolute;
  width: 170px;
  min-height: 112px;
  padding: 16px;
  border-radius: 18px;
  border: 2px solid rgba(92, 168, 255, 0.7);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow);
}

.orbit-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.55rem;
  color: var(--blue-dark);
}

.orbit-card span {
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.94rem;
}

.orbit-kpi {
  left: 26px;
  top: 58px;
}

.orbit-sales {
  right: 0;
  top: 72px;
}

.orbit-backoffice {
  left: 40px;
  top: 232px;
}

.orbit-hr {
  right: 2px;
  top: 260px;
}

.orbit-support {
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
}

.section {
  padding: 20px 0;
}

.section h2 {
  margin: 0 0 20px;
  text-align: center;
  font-size: clamp(2rem, 3vw, 2.7rem);
  letter-spacing: -0.04em;
}

.section-note {
  margin: 18px 0 0;
  text-align: center;
  color: var(--muted);
  line-height: 1.9;
}

.values .container {
  background: linear-gradient(180deg, #eef5ff 0%, #f7faff 100%);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 56px clamp(22px, 4vw, 60px);
}

.values-lead {
  max-width: 800px;
  margin: 16px auto 40px;
  text-align: center;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 2.05;
}

.value-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 32px rgba(16, 57, 130, 0.05);
  padding: 30px 26px;
}

.value-no {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  margin-bottom: 20px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(180deg, #1d5ce3, #0d419c);
}

.value-no.green {
  background: linear-gradient(180deg, #11adb3, #127c94);
}

.value-no.purple {
  background: linear-gradient(180deg, #6c66df, #493ca3);
}

.value-card h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.value-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.95;
}

.card-grid {
  display: grid;
  gap: 18px;
}

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

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

.card-grid.five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.issue-card,
.foundation-card,
.service-card,
.reason-card,
.use-card,
.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 32px rgba(16, 57, 130, 0.05);
}

.issue-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 26px 22px;
}

.icon-box,
.reason-emoji,
.service-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 18px;
  background: linear-gradient(180deg, #eff6ff, #d8e8ff);
  color: var(--blue);
  font-size: 1.75rem;
  font-weight: 800;
}

.issue-card p {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.foundation-card {
  display: flex;
  gap: 18px;
  padding: 20px;
  align-items: flex-start;
}

.foundation-label {
  width: 76px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(180deg, #1d5ce3, #0d419c);
}

.foundation-label.green {
  background: linear-gradient(180deg, #11adb3, #127c94);
}

.foundation-label.purple {
  background: linear-gradient(180deg, #6c66df, #493ca3);
}

.foundation-card h3,
.service-card h3,
.reason-card h3,
.use-card h3,
.step-card h3 {
  margin: 0 0 8px;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

.foundation-card p,
.service-card p,
.reason-card p,
.step-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.process-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 18px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.process-strip span {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 52px;
  color: var(--blue-deep);
  font-weight: 800;
}

.process-strip span:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -12px;
  color: var(--blue);
}

.service-card,
.use-card {
  padding: 22px;
}

.service-icon {
  margin-bottom: 16px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.step-card {
  position: relative;
  padding: 20px 18px;
}

.step-card:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -10px;
  top: 40px;
  color: var(--blue);
  font-size: 1.35rem;
  font-weight: 700;
}

.step-no {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
}

.reason-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
}

.use-card .check-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.use-card .check-list li {
  position: relative;
  padding-left: 24px;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.7;
}

.use-card .check-list li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-size: 0.9rem;
}

.mini-chart {
  height: 170px;
  margin-bottom: 18px;
  border-radius: 18px;
  border: 1px solid #e2eeff;
  background: linear-gradient(180deg, #ffffff, #f5f9ff);
  position: relative;
  overflow: hidden;
}

.chart-report::before {
  content: "";
  position: absolute;
  inset: 22px;
  background:
    linear-gradient(180deg, transparent 0 68%, #e7f1ff 68% 100%),
    linear-gradient(90deg, #2a7af8 0 10%, transparent 10% 18%, #52a8ff 18% 28%, transparent 28% 36%, #79d4c5 36% 46%, transparent 46% 54%, #2457d9 54% 64%, transparent 64% 72%, #ffbf56 72% 82%, transparent 82% 90%, #3db0ff 90% 100%);
}

.chart-report::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 24px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: conic-gradient(#1f72ff 0 34%, #2cc8ff 34% 62%, #ffbf56 62% 100%);
  box-shadow: inset 0 0 0 18px #fff;
}

.chart-invoice::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 116px;
  top: 26px;
  bottom: 24px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, #eaf2ff 0 18px, transparent 18px 40px),
    linear-gradient(180deg, transparent 0 42px, #eef5ff 42px 54px, transparent 54px 78px, #eef5ff 78px 90px, transparent 90px);
}

.chart-invoice::after {
  content: "¥1,250,000\a¥1,137,500\a¥112,500";
  white-space: pre;
  position: absolute;
  right: 18px;
  top: 30px;
  width: 86px;
  padding: 12px 10px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #edf5ff);
  border: 1px solid #dbeaff;
  color: var(--blue-dark);
  font-weight: 700;
  line-height: 1.9;
  text-align: right;
}

.chart-chat::before {
  content: "";
  position: absolute;
  inset: 28px 18px 28px 22px;
  background:
    linear-gradient(180deg, transparent 0 12%, #eef5ff 12% 24%, transparent 24% 40%, #eef5ff 40% 52%, transparent 52% 68%, #eef5ff 68% 80%, transparent 80%),
    linear-gradient(90deg, #dceaff 0 74%, #69b0ff 74% 100%);
  border-radius: 14px;
}

.support-banner {
  padding: 6px 0 18px;
}

.support-banner-inner {
  display: grid;
  grid-template-columns: 88px 1fr 88px;
  gap: 16px;
  align-items: center;
  padding: 18px 22px;
  border: 1px solid #a9ccff;
  border-radius: 20px;
  background: linear-gradient(180deg, #f6fbff, #edf5ff);
}

.support-copy h2 {
  margin: 0 0 6px;
  text-align: center;
  font-size: clamp(1.5rem, 2.4vw, 2.05rem);
}

.support-copy p {
  margin: 0;
  text-align: center;
  color: var(--muted);
}

.avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 30%, #ffffff 0 14px, transparent 15px),
    radial-gradient(circle at 50% 62%, #ffffff 0 22px, transparent 23px),
    linear-gradient(180deg, #d8e8ff, #9ec1ff);
  border: 1px solid #b9d4ff;
}

.cta-band {
  margin-top: 16px;
  padding: 34px 0;
  background:
    radial-gradient(circle at 14% 40%, rgba(77, 178, 255, 0.26), transparent 25%),
    radial-gradient(circle at 86% 18%, rgba(48, 125, 255, 0.24), transparent 22%),
    linear-gradient(135deg, #082563 0%, #0b3d9a 40%, #0b56d6 100%);
  color: #fff;
}

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

.cta-band h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer {
  padding: 64px 0 40px;
  background: #ffffff;
  border-top: 1px solid var(--line);
  color: #333a44;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo-link {
  display: inline-block;
}

.footer-logo {
  display: block;
  height: 52px;
  width: auto;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 56px;
  margin-top: 44px;
}

.footer-badges img {
  display: block;
  width: 100%;
  max-width: 500px;
  height: auto;
}

.footer-company {
  margin: 44px 0 0;
  font-size: 1.05rem;
  line-height: 2.2;
  color: #333a44;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 40px;
}

.footer-nav a {
  padding: 2px 18px;
  border-left: 1px solid #c9d2de;
  color: #333a44;
  font-size: 0.95rem;
  line-height: 1.3;
}

.footer-nav a:last-child {
  border-right: 1px solid #c9d2de;
}

.footer-nav a:hover {
  color: var(--blue);
}

.footer-copy {
  display: block;
  margin-top: 30px;
  color: #8a94a6;
  font-size: 0.85rem;
}

.media-band {
  padding: 30px 0 40px;
}

.media-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px 36px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(135deg, #eaf3ff 0%, #f5faff 60%, #eef9ff 100%);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.media-banner:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 52px rgba(20, 75, 168, 0.16);
}

.media-banner-main {
  min-width: 0;
}

.media-banner-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 6px;
}

.media-banner-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 8px;
}

.media-banner-name {
  font-size: 1.75rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--blue);
}

.media-banner-tag {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green);
}

.media-banner-desc {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.media-banner-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  box-shadow: 0 14px 28px rgba(24, 95, 231, 0.24);
}

@media (max-width: 1120px) {
  .hero-grid,
  .card-grid.three,
  .card-grid.four,
  .card-grid.five,
  .steps,
  .footer-grid,
  .cta-band-inner {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }

  .hero-visual {
    padding-top: 0;
  }

  .step-card::after {
    display: none;
  }

  .support-banner-inner {
    grid-template-columns: 1fr;
  }

  .avatar {
    display: none;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .media-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 26px 24px;
  }

  .media-banner-cta {
    width: 100%;
    justify-content: center;
  }

  .brand {
    font-size: 1.55rem;
  }

  .brand-logo {
    height: 32px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: 24px;
  }

  .hero h1 {
    font-size: 2.15rem;
  }

  .hero-text,
  .section-note {
    font-size: 0.98rem;
  }

  .hero-grid {
    gap: 18px;
  }

  .partner-logos span {
    min-width: calc(50% - 6px);
  }

  .hero-visual {
    padding-top: 0;
  }

  .hero-diagram {
    max-width: 100%;
  }

  .dashboard-panel {
    width: 100%;
  }

  .platform-ring {
    inset: 164px 0 auto;
  }

  .ring-outer {
    width: 318px;
    height: 146px;
  }

  .ring-mid {
    width: 272px;
    height: 122px;
  }

  .ring-inner {
    width: 222px;
    height: 96px;
  }

  .platform-core {
    width: 196px;
    height: 118px;
  }

  .core-sub {
    width: 176px;
    font-size: 0.82rem;
  }

  .agent-mascot {
    top: 314px;
    width: 74px;
    height: 104px;
  }

  .agent-head {
    width: 60px;
    height: 46px;
  }

  .agent-head::before {
    top: -10px;
    height: 12px;
  }

  .agent-head::after {
    top: -16px;
  }

  .agent-eye {
    top: 18px;
  }

  .agent-body {
    top: 48px;
    width: 40px;
    height: 30px;
  }

  .agent-arm {
    top: 54px;
    width: 22px;
  }

  .agent-leg {
    top: 78px;
    height: 22px;
  }

  .impact-pill {
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  .impact-people {
    left: 22px;
    top: 382px;
  }

  .impact-cost {
    right: 22px;
    top: 382px;
  }

  .orbit-card {
    width: 46%;
    min-height: 120px;
  }

  .orbit-kpi,
  .orbit-sales {
    top: 430px;
  }

  .orbit-backoffice,
  .orbit-hr {
    top: 572px;
  }

  .orbit-kpi,
  .orbit-backoffice {
    left: 0;
  }

  .orbit-sales,
  .orbit-hr {
    right: 0;
  }

  .orbit-support {
    bottom: 80px;
    width: 64%;
  }

  .issue-card p {
    font-size: 1.1rem;
  }

  .process-strip {
    grid-template-columns: 1fr;
  }

  .process-strip span:not(:last-child)::after {
    content: "↓";
    right: 50%;
    top: calc(100% + 1px);
    transform: translateX(50%);
  }

  .cta-actions,
  .cta-actions .button {
    width: 100%;
  }

  .footer-badges {
    gap: 28px;
    margin-top: 36px;
  }

  .footer-badges img {
    max-width: 320px;
  }
}


/* ===== Shared migration layout ===== */
.site-header .menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: #eef5ff;
  color: var(--blue, #185fe7);
  cursor: pointer;
}

.site-header .menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: currentColor;
}

.site-header .header-cta {
  margin-left: auto;
  flex: 0 0 auto;
}

.site-sp-menu {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
}

.site-sp-menu__panel {
  position: relative;
  z-index: 2;
  width: min(88vw, 370px);
  height: 100%;
  padding: 24px 22px;
  overflow-y: auto;
  background: #fff;
  box-shadow: 18px 0 42px rgba(10, 34, 95, 0.16);
  transform: translateX(-100%);
  transition: transform 0.24s ease;
  pointer-events: auto;
}

.site-sp-menu__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.48);
  opacity: 0;
  transition: opacity 0.24s ease;
  pointer-events: none;
}

body.is-menu-open {
  overflow: hidden;
}

body.is-menu-open .site-sp-menu {
  pointer-events: auto;
}

body.is-menu-open .site-sp-menu__panel {
  transform: translateX(0);
}

body.is-menu-open .site-sp-menu__overlay {
  opacity: 1;
  pointer-events: auto;
}

.site-sp-menu__close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 0;
  border-radius: 50%;
  background: #eef5ff;
  color: var(--blue, #185fe7);
  font-size: 1.45rem;
  cursor: pointer;
}

.site-sp-menu__title {
  margin: 18px 0 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--blue, #185fe7);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.site-sp-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-sp-menu a {
  display: block;
  padding: 14px 8px;
  border-bottom: 1px solid #e1e8f5;
  color: var(--text, #163164);
  font-weight: 700;
}

.site-sp-menu .sub-menu a {
  padding-left: 24px;
  color: var(--muted, #51668f);
  font-size: 0.94rem;
}

.page-main {
  min-height: 50vh;
}

.legacy-page {
  padding: 64px 0 84px;
}

.legacy-page__head {
  max-width: 880px;
  margin: 0 auto 34px;
  text-align: center;
}

.legacy-page__label {
  color: var(--blue, #185fe7);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legacy-page__head h1 {
  margin: 12px 0 0;
  color: var(--blue-dark, #0a225f);
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.3;
}

.legacy-page__head p {
  margin: 18px 0 0;
  color: var(--muted, #51668f);
  line-height: 1.9;
}

.simple-form {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line, #d8e6fb);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow, 0 18px 42px rgba(20, 75, 168, 0.11));
}

.simple-form__row {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.simple-form__row:first-child {
  margin-top: 0;
}

.simple-form label {
  color: var(--blue-dark, #0a225f);
  font-weight: 800;
}

.simple-form__labelLine {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.simple-form__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 3px 8px;
  background: #e53935;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
}

.simple-form__badge.-optional {
  background: #8492a6;
}

.simple-form input,
.simple-form select,
.simple-form textarea {
  width: 100%;
  border: 1px solid var(--line, #d8e6fb);
  border-radius: 12px;
  padding: 13px 14px;
  font: inherit;
}

.simple-form input.is-invalid,
.simple-form select.is-invalid,
.simple-form textarea.is-invalid {
  border-color: #e53935;
  background: #fff8f8;
}

.simple-form textarea {
  min-height: 150px;
  resize: vertical;
}

.simple-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.simple-form__check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--text, #1f2937);
  font-weight: 700;
}

.simple-form__check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  padding: 0;
  margin: 0;
}

.simple-form__check a {
  color: var(--blue, #185fe7);
  text-decoration: underline;
}

.simple-form__error {
  display: none;
  color: #e53935;
  font-size: 0.88rem;
  font-weight: 700;
}

.simple-form__error.is-visible {
  display: block;
}

.simple-form__response {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid #e53935;
  background: #fff8f8;
  color: #b3261e;
  font-weight: 700;
}

.simple-form__response.is-success {
  border-color: #1f9d55;
  background: #f0fff4;
  color: #137333;
}

.simple-form__response.is-error {
  border-color: #e53935;
  background: #fff8f8;
  color: #b3261e;
}

.simple-form__response.is-visible {
  display: block;
}

.simple-form__response ul {
  margin: 8px 0 0;
  padding-left: 1.2em;
}

.simple-form__submit.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.simple-form__submit:not(.is-disabled) {
  cursor: pointer;
}

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

  .site-header .menu-toggle {
    display: inline-block;
  }
}

@media (max-width: 780px) {
}
