/* ==========================================================================
   XDR PlusOne — LP-specific layout
   Header, Hero, Footer, special section treatments
   ========================================================================== */

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  height: 72px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.site-header .inner {
  max-width: var(--content-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-header .logo img { height: 36px; }
.site-header nav {
  flex: 1;
  display: flex;
  gap: 28px;
  justify-content: center;
}
.site-header nav a {
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-fg);
  padding: 8px 4px;
  position: relative;
  transition: color 200ms var(--ease-standard);
}
.site-header nav a:hover { color: var(--brand-purple); }
.site-header nav a::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 4px;
  height: 1.5px;
  background: var(--brand-purple);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms var(--ease-emphasis);
}
.site-header nav a:hover::after { transform: scaleX(1); }

@media (max-width: 960px) {
  .site-header nav { display: none; }
  .site-header .inner { gap: 16px; padding: 0 20px; justify-content: space-between; }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #2E1F66 0%, #1E3A8A 100%);
  color: white;
  overflow: hidden;
  padding: 96px 0 120px;
}
.hero .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  mix-blend-mode: screen;
  pointer-events: none;
}
.hero .hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 60% at 80% 20%, rgba(91, 63, 191, 0.55), transparent 60%),
    linear-gradient(180deg, transparent 60%, rgba(15, 18, 38, 0.4) 100%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.hero-brand-logo {
  height: 48px;
  width: auto;
  margin: 0 0 28px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  display: block;
}
.hero .eyebrow-en {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-purple-light);
  margin: 0 0 18px;
}
.hero .eyebrow-en::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--brand-purple-light);
}
.hero h1 {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.3;
  letter-spacing: 0.01em;
  margin: 0 0 24px;
}
.hero h1 .hi {
  color: var(--brand-purple-light);
}
.hero .lead {
  font-family: var(--font-jp);
  font-size: 17px;
  line-height: 1.85;
  opacity: 0.92;
  max-width: 540px;
  margin: 0 0 36px;
}
.hero .lead strong { color: white; font-weight: 700; }
.hero .cta-row { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  font-family: var(--font-jp);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(15, 18, 38, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero .trust-chip strong { color: white; font-weight: 700; }
.hero .trust-chip svg { color: var(--brand-purple-light); flex-shrink: 0; }

/* ---------------- Hero atmosphere layers (static, restrained) ---------------- */
.hero-blob {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: 720px;
  height: 720px;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.55;
}
.hero-blob::before,
.hero-blob::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.hero-blob::before {
  width: 60%; height: 60%;
  left: 10%; top: 18%;
  background: radial-gradient(circle, #6E4FE0 0%, transparent 70%);
}
.hero-blob::after {
  width: 55%; height: 55%;
  right: 8%; bottom: 14%;
  background: radial-gradient(circle, #2853C9 0%, transparent 70%);
}
.hero-dotgrid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 50%, #000 30%, transparent 80%);
}

/* Subtle horizon line of light at the bottom of hero */
.hero-horizon {
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(183, 166, 255, 0.4) 50%,
    transparent 100%);
}

/* ---------------- Live Operations card stack (right side) ---------------- */
.ops-stack {
  position: relative;
  width: 100%;
  height: 540px;
  perspective: 1600px;
  perspective-origin: 60% 50%;
}
.ops-stack .ops-live {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(15, 18, 38, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: white;
  z-index: 5;
}
.ops-stack .ops-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: live-pulse 2.4s ease-out infinite;
}
@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.ops-card {
  position: absolute;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow:
    0 30px 60px -15px rgba(15, 18, 38, 0.5),
    0 8px 18px -6px rgba(15, 18, 38, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  transform-style: preserve-3d;
  will-change: transform;
}
.ops-card .ops-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--gray-200);
}
.ops-card .ops-head .ops-tag {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}
.ops-card .ops-head .ops-time {
  margin-left: auto;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-500);
  letter-spacing: 0.06em;
  font-feature-settings: "tnum" 1;
}
.ops-card .ops-head .ops-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ops-card .ops-head .ops-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.ops-card h3,
.ops-card h4 {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-950);
  margin: 0 0 8px;
  line-height: 1.45;
}
.ops-card .ops-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-jp);
  font-size: 12px;
  color: var(--gray-700);
  line-height: 1.55;
}
.ops-card .ops-meta li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
}
.ops-card .ops-meta li .k {
  color: var(--color-fg-subtle);
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ops-card .ops-meta li .v { font-weight: 600; color: var(--gray-900); font-family: var(--font-jp); }
.ops-card .ops-meta li .v.mono { font-family: var(--font-mono); font-size: 12px; }
.ops-card .ops-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--gray-200);
  font-family: var(--font-jp);
  font-size: 11px;
  color: var(--color-fg-subtle);
}
.ops-card .ops-foot strong { color: var(--brand-purple); font-weight: 700; }

/* 3D positions */
.ops-card.card-1 {
  top: 20px;
  z-index: 3;
  transform: translate3d(-30px, 0, 60px) rotateY(-9deg) rotateZ(-2.5deg);
  animation: card-float-1 7s ease-in-out infinite;
}
.ops-card.card-2 {
  top: 190px;
  z-index: 2;
  transform: translate3d(40px, 0, 0px) rotateY(-7deg) rotateZ(1.5deg);
  animation: card-float-2 8s ease-in-out 1.2s infinite;
}
.ops-card.card-3 {
  top: 360px;
  z-index: 1;
  transform: translate3d(-10px, 0, -50px) rotateY(-10deg) rotateZ(-1deg);
  animation: card-float-3 9s ease-in-out 2.4s infinite;
}
@keyframes card-float-1 {
  0%, 100% { transform: translate3d(-30px, 0, 60px) rotateY(-9deg) rotateZ(-2.5deg); }
  50%      { transform: translate3d(-30px, -8px, 60px) rotateY(-9deg) rotateZ(-2.5deg); }
}
@keyframes card-float-2 {
  0%, 100% { transform: translate3d(40px, 0, 0px) rotateY(-7deg) rotateZ(1.5deg); }
  50%      { transform: translate3d(40px, -10px, 0px) rotateY(-7deg) rotateZ(1.5deg); }
}
@keyframes card-float-3 {
  0%, 100% { transform: translate3d(-10px, 0, -50px) rotateY(-10deg) rotateZ(-1deg); }
  50%      { transform: translate3d(-10px, -6px, -50px) rotateY(-10deg) rotateZ(-1deg); }
}

.ops-card .ops-tag.tag-detect { background: #FFE9E5; color: #C8362B; }
.ops-card .ops-tag.tag-review { background: var(--brand-purple-100); color: var(--brand-purple); }
.ops-card .ops-tag.tag-report { background: #E1F4EC; color: #1E7C5A; }

.ops-card .ops-status.s-resolved { color: #1E7C5A; }
.ops-card .ops-status.s-resolved::before { background: #1E7C5A; box-shadow: 0 0 6px rgba(30,124,90,0.5); }
.ops-card .ops-status.s-active { color: var(--brand-purple); }
.ops-card .ops-status.s-active::before { background: var(--brand-purple); box-shadow: 0 0 6px rgba(91,63,191,0.5); }
.ops-card .ops-status.s-info { color: var(--gray-500); }
.ops-card .ops-status.s-info::before { background: var(--gray-400); }

.ops-card.is-active::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  padding: 1.5px;
  background: linear-gradient(135deg, var(--brand-purple) 0%, transparent 50%, var(--brand-purple-light) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: active-edge 4s ease-in-out infinite;
}
@keyframes active-edge {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 1; }
}

.ops-timeline {
  position: absolute;
  left: 28px;
  top: 70px;
  bottom: 70px;
  width: 1px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(183, 166, 255, 0.6) 20%,
    rgba(183, 166, 255, 0.6) 80%,
    transparent 100%);
  z-index: 0;
}

@media (max-width: 1100px) {
  .ops-card.card-1 { transform: translate3d(-15px, 0, 30px) rotateY(-6deg) rotateZ(-1.5deg); animation: none; }
  .ops-card.card-2 { transform: translate3d(20px, 0, 0px) rotateY(-4deg) rotateZ(1deg); animation: none; }
  .ops-card.card-3 { transform: translate3d(-5px, 0, -25px) rotateY(-7deg) rotateZ(-0.5deg); animation: none; }
}
@media (max-width: 960px) {
  .ops-stack {
    height: auto;
    perspective: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 480px;
    margin: 0 auto;
  }
  .ops-card,
  .ops-card.card-1,
  .ops-card.card-2,
  .ops-card.card-3 {
    position: relative;
    top: auto;
    transform: none;
    animation: none;
  }
  .ops-timeline { display: none; }
  .ops-stack .ops-live { position: relative; top: 0; left: 0; transform: none; align-self: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .ops-stack .ops-live::before,
  .ops-card.card-1, .ops-card.card-2, .ops-card.card-3,
  .ops-card.is-active::after { animation: none !important; }
}
.flow-row {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  position: relative;
}
.flow-row .flow-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-purple-light);
  flex-shrink: 0;
}
.flow-row .flow-text { flex: 1; min-width: 0; }
.flow-row .flow-title {
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 2px;
  color: white;
}
.flow-row .flow-sub {
  font-family: var(--font-jp);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.6;
}
.flow-row .flow-badge {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--brand-purple-light);
  padding: 4px 8px;
  border: 1px solid rgba(183, 166, 255, 0.4);
  border-radius: 4px;
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .hero { padding: 80px 0 96px; }
  .hero .container { grid-template-columns: 1fr; gap: 48px; }
  .hero-diagram { max-width: 480px; }
}

/* ---------------- Service Definition block (AEO-first) ---------------- */
.service-definition {
  background: var(--color-bg);
  padding: 80px 0 72px;
  border-bottom: 1px solid var(--color-border);
}
.service-definition .container { max-width: 960px; }
.service-definition .sd-eyebrow {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-purple);
  margin: 0 0 16px;
}
.service-definition .sd-intro {
  font-family: var(--font-jp);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.85;
  color: var(--gray-950);
  margin: 0 0 32px;
  letter-spacing: 0.01em;
}
.service-definition .sd-intro strong { color: var(--brand-purple); font-weight: 700; }
.service-definition .sd-facts {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 14px 32px;
  margin: 0;
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
}
.service-definition .sd-facts dt {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-purple);
  padding-top: 2px;
}
.service-definition .sd-facts dd {
  margin: 0;
  font-family: var(--font-jp);
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray-800);
}
@media (max-width: 700px) {
  .service-definition .sd-facts { grid-template-columns: 1fr; gap: 4px 0; }
  .service-definition .sd-facts dt { padding-top: 16px; }
  .service-definition .sd-facts dt:first-of-type { padding-top: 0; }
}

/* Section TL;DR (answer-first) — leading sentence shared across sections */
.section-tldr {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.75;
  color: var(--brand-purple-900);
  background: var(--brand-purple-50);
  border-left: 3px solid var(--brand-purple);
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  margin: 0 0 32px;
  max-width: 760px;
}
.section--dark .section-tldr,
.cost .section-tldr,
.section--dark-bg .section-tldr {
  color: white;
  background: rgba(255, 255, 255, 0.06);
  border-left-color: var(--brand-purple-light);
}

/* ---------------- Flow (導入の流れ) — semantic ol ---------------- */
.flow-list {
  list-style: none;
  counter-reset: flow;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.flow-list > li {
  position: relative;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 28px 24px;
  counter-increment: flow;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.flow-list > li::before {
  content: "STEP " counter(flow, decimal-leading-zero);
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--brand-purple);
}
.flow-list .flow-title {
  font-family: var(--font-jp);
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  line-height: 1.5;
}
.flow-list .flow-body {
  font-family: var(--font-jp);
  font-size: 14px;
  line-height: 1.75;
  color: var(--color-fg-muted);
  margin: 0;
}
.flow-list .flow-meta {
  list-style: none;
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.flow-list .flow-meta > li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 10px;
  font-family: var(--font-jp);
  font-size: 12px;
  line-height: 1.6;
}
.flow-list .flow-meta .k {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-fg-subtle);
}
.flow-list .flow-meta .v { color: var(--gray-900); font-weight: 600; }

@media (max-width: 1100px) { .flow-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .flow-list { grid-template-columns: 1fr; } }

/* ---------------- Compare table (Differentiation) — semantic <table> ---------------- */
.compare-aeo {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  font-family: var(--font-jp);
}
.compare-aeo thead th {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-fg-muted);
  background: var(--gray-50);
  text-align: left;
  padding: 16px 24px;
  border-bottom: 1px solid var(--color-border);
}
.compare-aeo thead th.col-ours {
  color: white;
  background: var(--brand-purple);
}
.compare-aeo tbody th,
.compare-aeo tbody td {
  padding: 24px 28px;
  vertical-align: top;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  font-weight: 400;
}
.compare-aeo tbody tr:last-child th,
.compare-aeo tbody tr:last-child td { border-bottom: none; }
.compare-aeo tbody th {
  background: var(--gray-50);
  width: 220px;
  border-right: 1px solid var(--color-border);
}
.compare-aeo .topic-num {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--brand-purple);
  margin: 0 0 6px;
}
.compare-aeo .topic-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-950);
  margin: 0;
  line-height: 1.5;
}
.compare-aeo td.col-other {
  color: var(--color-fg-muted);
  border-right: 1px solid var(--color-border);
  font-size: 14px;
  line-height: 1.75;
}
.compare-aeo td.col-other .label {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-fg-subtle);
  display: block;
  margin: 0;
  margin: 0 0 6px;
}
.compare-aeo td.col-other .verdict {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 600;
  color: var(--gray-700);
}
.compare-aeo td.col-other .verdict::before {
  content: "非対応";
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  background: var(--gray-200);
  color: var(--gray-700);
  padding: 2px 6px;
  border-radius: 3px;
}
.compare-aeo td.col-ours-cell {
  background: var(--brand-purple-50);
  color: var(--gray-950);
  font-size: 14px;
  line-height: 1.75;
}
.compare-aeo td.col-ours-cell .label {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-purple);
  display: block;
  margin: 0;
  margin: 0 0 6px;
}
.compare-aeo td.col-ours-cell .verdict {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 700;
  color: var(--brand-purple-900);
}
.compare-aeo td.col-ours-cell .verdict::before {
  content: "対応";
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  background: var(--brand-purple);
  color: white;
  padding: 2px 6px;
  border-radius: 3px;
}
.compare-aeo .v-detail {
  display: block;
  margin-top: 6px;
  margin-bottom: 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--color-fg-subtle);
}
.compare-aeo td.col-ours-cell .v-detail { color: var(--brand-purple-900); }
@media (max-width: 800px) {
  .compare-aeo, .compare-aeo thead, .compare-aeo tbody, .compare-aeo tr, .compare-aeo th, .compare-aeo td { display: block; }
  .compare-aeo thead { display: none; }
  .compare-aeo tbody th { width: auto; border-right: none; padding: 16px 20px; }
  .compare-aeo td { border-right: none !important; padding: 16px 20px !important; }
}

/* ---------------- Reality (Section 1) ---------------- */
.reality {
  background: var(--color-bg);
  padding: var(--section-py) 0;
}
.reality .reality-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.reality .r-stat {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.reality .r-stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-purple), var(--color-danger));
  opacity: 0.7;
}
.reality .r-stat .r-route-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #FFE9E5 0%, var(--brand-purple-50) 100%);
  color: var(--color-danger);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  flex-shrink: 0;
}
.reality .r-stat .r-route-num {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-danger);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.reality .r-stat .r-route-num::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}
.reality .r-stat .stat-title {
  font-family: var(--font-jp);
  font-size: 19px;
  font-weight: 700;
  color: var(--gray-950);
  margin: 0;
  line-height: 1.5;
}
.reality .r-stat .stat-context {
  font-family: var(--font-jp);
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-fg-muted);
  margin: 0;
  flex: 1;
}
.reality .r-stat .stat-source {
  font-family: var(--font-jp);
  font-size: 12px;
  color: var(--color-fg-subtle);
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
  line-height: 1.6;
}
@media (max-width: 960px) {
  .reality .reality-stats { grid-template-columns: 1fr; }
}

/* ---------------- Cost (Section 2) ---------------- */
.cost {
  background: linear-gradient(135deg, #2E1F66 0%, #1E3A8A 100%);
  color: white;
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}
.cost::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 70% 30%, rgba(91,63,191,0.4), transparent 60%);
  pointer-events: none;
}
.cost::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}
.cost .container { position: relative; z-index: 1; }
.cost .eyebrow { color: var(--brand-purple-light); }
.cost .section-head h2 { color: white; }
.cost .section-head .lead { color: rgba(255,255,255,0.75); }

.cost-stage {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
  margin-top: 64px;
}
.cost-bignum {
  text-align: center;
}
.cost-bignum .num-display-2 {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: var(--num-display-2);
  line-height: 0.95;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, white 0%, var(--brand-purple-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-feature-settings: "tnum" 1;
  display: block;
}
.cost-bignum .num-unit {
  font-family: var(--font-jp);
  font-size: 32px;
  font-weight: 700;
  color: white;
  display: inline-block;
  margin-top: -16px;
}
.cost-bignum .num-label {
  font-family: var(--font-jp);
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin: 16px 0 0;
  line-height: 1.7;
}
.cost-bignum .num-source {
  font-family: var(--font-jp);
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin: 8px 0 0;
}

.cost-impact {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 28px;
  backdrop-filter: blur(10px);
}
.cost-impact h3 {
  font-family: var(--font-jp);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 20px;
  color: white;
}
.cost-impact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cost-impact-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.cost-impact-list li:last-child { border-bottom: none; padding-bottom: 0; }
.cost-impact-list .l-name {
  font-family: var(--font-jp);
  font-size: 14px;
  color: rgba(255,255,255,0.92);
  font-weight: 600;
}
.cost-impact-list .l-bar-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cost-impact-list .l-bar {
  width: 120px;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
}
.cost-impact-list .l-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-purple-light), #FF6B5C);
  border-radius: 3px;
}
.cost-impact-list .l-days {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 16px;
  color: white;
  font-feature-settings: "tnum" 1;
  min-width: 60px;
  text-align: right;
}
.cost-cta-row {
  margin-top: 48px;
  text-align: center;
}

@media (max-width: 960px) {
  .cost-stage { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------------- Solution (Section 3) ---------------- */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.sol-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.sol-card .sol-shot {
  position: relative;
  height: 200px;
  background: linear-gradient(180deg, #1A1D33 0%, #0F1226 100%);
  border-bottom: 1px solid rgba(91,63,191,0.18);
  padding: 14px;
  font-family: var(--font-en);
  color: rgba(255,255,255,0.92);
  font-size: 11px;
  overflow: hidden;
}
.sol-card .sol-shot .shot-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.sol-card .sol-shot .shot-bar .dot {
  width: 6px; height: 6px; border-radius: 50%; background: #4ADE80;
}
.sol-card .sol-shot .shot-bar .dot.warn { background: var(--brand-purple-light); }
.sol-card .sol-shot .shot-bar .dot.info { background: rgba(255,255,255,0.4); }
.sol-card .sol-shot .shot-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 6px 8px;
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  margin-bottom: 6px;
  font-size: 10px;
}
.sol-card .sol-shot .shot-row .t { color: rgba(255,255,255,0.5); font-feature-settings: "tnum" 1; }
.sol-card .sol-shot .shot-row .m { color: rgba(255,255,255,0.85); font-family: var(--font-jp); }
.sol-card .sol-shot .shot-row .b {
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 2px 5px;
  border-radius: 3px;
  font-weight: 700;
}
.sol-card .sol-shot .shot-row .b.ok { background: rgba(74,222,128,0.15); color: #4ADE80; }
.sol-card .sol-shot .shot-row .b.eng { background: rgba(91,63,191,0.25); color: var(--brand-purple-light); }
.sol-card .sol-shot .shot-row .b.info { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6); }
.sol-card .sol-shot .shot-row .b.fail { background: rgba(200,54,43,0.18); color: #FF8775; }
.sol-card .sol-shot .shot-chart {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 36px;
  margin-top: 6px;
}
.sol-card .sol-shot .shot-chart .b {
  flex: 1;
  background: linear-gradient(180deg, var(--brand-purple-light), var(--brand-purple));
  border-radius: 1.5px 1.5px 0 0;
  min-height: 3px;
  opacity: 0.85;
}
.sol-card .sol-shot .shot-stat {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 8px;
}
.sol-card .sol-shot .shot-stat .v {
  font-size: 22px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
  font-feature-settings: "tnum" 1;
}
.sol-card .sol-shot .shot-stat .l {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.sol-card .sol-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.sol-card .sol-tag {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-purple);
}
.sol-card h3 {
  font-family: var(--font-jp);
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  line-height: 1.5;
  color: var(--gray-950);
}
.sol-card .sol-benefit {
  font-family: var(--font-jp);
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-fg-muted);
  margin: 0;
}
.sol-card .sol-benefit strong { color: var(--brand-purple); font-weight: 700; }
@media (max-width: 960px) {
  .solution-grid { grid-template-columns: 1fr; }
}

/* ---------------- Differentiation (Section 4) ---------------- */
.diff-rows {
  margin-top: 48px;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
}
.diff-row {
  display: grid;
  grid-template-columns: 220px 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--color-border);
}
.diff-row:last-child { border-bottom: none; }
.diff-row > div { padding: 28px 32px; }
.diff-row .d-topic {
  background: var(--gray-50);
  border-right: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}
.diff-row .d-topic .num {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--brand-purple);
}
.diff-row .d-topic .name {
  font-family: var(--font-jp);
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-950);
  line-height: 1.45;
}
.diff-row .d-other,
.diff-row .d-ours {
  font-family: var(--font-jp);
  font-size: 14px;
  line-height: 1.75;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.diff-row .d-label {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-fg-subtle);
  margin-bottom: 4px;
}
.diff-row .d-other .d-label { color: var(--color-fg-subtle); }
.diff-row .d-other {
  color: var(--color-fg-muted);
  border-right: 1px solid var(--color-border);
}
.diff-row .d-other .x {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.diff-row .d-other .x::before {
  content: "—";
  color: var(--color-fg-subtle);
  font-weight: 700;
}
.diff-row .d-ours {
  background: var(--brand-purple-50);
  color: var(--gray-950);
}
.diff-row .d-ours .d-label { color: var(--brand-purple); }
.diff-row .d-ours .check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--brand-purple-900);
}
.diff-row .d-ours .check::before {
  content: "✓";
  width: 18px;
  height: 18px;
  background: var(--brand-purple);
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
@media (max-width: 960px) {
  .diff-row { grid-template-columns: 1fr; }
  .diff-row .d-topic, .diff-row .d-other, .diff-row .d-ours {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }
}

/* ---------------- Refined Trust stat with context ---------------- */
.trust-stat {
  position: relative;
  background:
    radial-gradient(ellipse 90% 60% at 80% 0%, rgba(91, 63, 191, 0.18), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: white;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.trust-stat::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(183, 166, 255, 0.4), rgba(183, 166, 255, 0) 50%, rgba(183, 166, 255, 0.2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.trust-stat .ts-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(183, 166, 255, 0.25), rgba(91, 63, 191, 0.15));
  border: 1px solid rgba(183, 166, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-purple-light);
  margin-bottom: 4px;
  flex-shrink: 0;
}
.trust-stat .ts-num {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.03em;
  font-feature-settings: "tnum" 1;
  background: linear-gradient(180deg, white 0%, var(--brand-purple-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.trust-stat .ts-num .ts-unit {
  font-family: var(--font-jp);
  font-size: 20px;
  color: white;
  font-weight: 700;
  -webkit-background-clip: initial;
  background-clip: initial;
  background: none;
}
.trust-stat .ts-label {
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 700;
  color: white;
  margin: 0;
  line-height: 1.5;
}
.trust-stat .ts-context {
  font-family: var(--font-jp);
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.trust-stat .ts-source {
  font-family: var(--font-jp);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}
.trust-stat .ts-spark {
  margin-top: 4px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 28px;
}
.trust-stat .ts-spark .b {
  flex: 1;
  background: linear-gradient(180deg, var(--brand-purple-light), var(--brand-purple));
  border-radius: 1.5px 1.5px 0 0;
  min-height: 4px;
  opacity: 0.7;
}

/* Trust section — make stats grid a 3-column layout for visual richness */
.trust-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}
.trust-stats-grid::before {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  top: -20%;
  bottom: -20%;
  background:
    radial-gradient(ellipse 30% 50% at 20% 30%, rgba(91, 63, 191, 0.18), transparent 60%),
    radial-gradient(ellipse 30% 50% at 80% 70%, rgba(30, 58, 138, 0.18), transparent 60%);
  pointer-events: none;
  filter: blur(20px);
  z-index: -1;
}
@media (max-width: 960px) {
  .trust-stats-grid { grid-template-columns: 1fr; }
}

.trust-creds {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.trust-cred {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: white;
}
.trust-cred .tc-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(91,63,191,0.3);
  border: 1px solid rgba(183,166,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-purple-light);
  flex-shrink: 0;
}
.trust-cred .tc-text { flex: 1; }
.trust-cred .tc-name {
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin: 0 0 2px;
}
.trust-cred .tc-meta {
  font-family: var(--font-jp);
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  margin: 0;
  line-height: 1.5;
}
@media (max-width: 960px) {
  .trust-creds { grid-template-columns: 1fr; }
}

/* ---------------- Compact Features (Section 6) ---------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
  list-style: none;
  padding: 0;
}
.feat-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 200ms, box-shadow 200ms;
}
.feat-card dl,
.feat-card dd {
  margin: 0;
}
.feat-card:hover {
  border-color: var(--brand-purple-100);
  box-shadow: var(--shadow-sm);
}
.feat-card .feat-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--brand-purple-50);
  color: var(--brand-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.feat-card dt {
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-950);
  margin: 0;
  line-height: 1.45;
}
.feat-card dd {
  font-family: var(--font-jp);
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-fg-muted);
  margin: 0;
}
@media (max-width: 960px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }

/* ---------------- Pricing additions: "向いている人" + "どう変わるか" ---------------- */
.plan-card .plan-target {
  background: var(--gray-50);
  border-bottom: 1px solid var(--color-border);
  padding: 14px 24px;
  font-family: var(--font-jp);
  font-size: 12px;
  line-height: 1.7;
  color: var(--color-fg-muted);
}
.plan-card .plan-target strong {
  display: block;
  color: var(--gray-950);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 2px;
  letter-spacing: 0.04em;
}
.plan-card.is-recommended .plan-target {
  background: var(--brand-purple-50);
}
.plan-card .plan-change {
  background: var(--brand-purple-50);
  border-top: 1px solid var(--brand-purple-100);
  padding: 14px 24px;
  font-family: var(--font-jp);
  font-size: 13px;
  line-height: 1.6;
  color: var(--brand-purple-900);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.plan-card .plan-change::before {
  content: "→";
  color: var(--brand-purple);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------------- Risk section (only place red is allowed) ---------------- */
.risk-banner {
  background: var(--color-danger-bg);
  border: 1px solid var(--color-danger-border);
  border-radius: 14px;
  padding: 40px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.risk-banner .risk-icon { color: var(--color-danger); flex-shrink: 0; margin-top: 4px; }
.risk-banner .risk-eyebrow {
  font-family: var(--font-jp);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-danger);
  margin: 0 0 8px;
  letter-spacing: 0.04em;
}
.risk-banner .risk-num {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(72px, 8vw, 96px);
  line-height: 1;
  color: var(--color-danger);
  letter-spacing: -0.04em;
}
.risk-banner .risk-num-unit {
  font-size: 32px;
  font-family: var(--font-jp);
  color: var(--gray-950);
  margin-left: 6px;
}
.risk-banner .risk-explain {
  font-family: var(--font-jp);
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray-800);
  margin: 16px 0 0;
}
.risk-banner .risk-explain strong { font-weight: 700; }
.risk-banner .risk-source {
  font-family: var(--font-jp);
  font-size: 11px;
  color: var(--color-fg-subtle);
  margin: 12px 0 0;
}
.route-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 20px 24px;
}
.route-card .route-num {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-danger);
  margin: 0 0 6px;
}
.route-card h4 {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
}
.route-card p {
  font-family: var(--font-jp);
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-fg-muted);
  margin: 0;
}

/* ---------------- CTA strip (above-footer dark) ---------------- */
.cta-strip {
  background: linear-gradient(135deg, #2E1F66 0%, #1E3A8A 100%);
  color: white;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-strip .cta-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 30% 50%, rgba(91, 63, 191, 0.55), transparent 60%),
    radial-gradient(50% 40% at 75% 30%, rgba(30, 58, 138, 0.6), transparent 60%);
  pointer-events: none;
}
.cta-strip .container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 960px) {
  .cta-strip .container {
    grid-template-columns: 1fr;
    gap: 40px;
    justify-items: center;
  }
}
.cta-strip .cta-logo {
  height: 48px;
  margin-bottom: 18px;
  opacity: 0.95;
  filter: brightness(0) invert(1);
}
.cta-strip h2 {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.45;
  margin: 0 0 12px;
}
.cta-strip p {
  font-family: var(--font-jp);
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  max-width: 560px;
}
@media (max-width: 768px) {
  .cta-strip .container { grid-template-columns: 1fr; }
}

/* ---------------- Form section ---------------- */
.contact-section { background: var(--color-bg); padding: 96px 0; }
.contact-section .form-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 48px;
  box-shadow: var(--shadow-md);
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--gray-950);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 40px;
}
.site-footer .footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-footer .footer-top h3,
.site-footer h5 {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-purple-light);
  margin: 0 0 16px;
}
.site-footer p,
.site-footer a,
.site-footer .footer-top address li,
.site-footer .footer-top nav li {
  font-family: var(--font-jp);
  font-size: 13px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.65);
}
.site-footer .footer-top address li strong,
.site-footer .footer-top address li a strong {
  font-size: 13px;
  line-height: 1.85;
}
.site-footer a:hover { color: white; }
.site-footer .footer-logo img {
  height: 40px;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 6px; }
.site-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .site-footer .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .site-footer .footer-bottom { flex-direction: column; gap: 8px; }
}

/* ---------------- Brand Architecture (About / 構成式) ---------------- */
.brand-arch {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--brand-purple-50) 100%);
  padding: var(--section-py) 0;
  overflow: hidden;
}
.brand-arch::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(91,63,191,0.08), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.brand-arch::after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(30,58,138,0.08), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.brand-arch-head {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
}
.brand-arch-head .eyebrow { justify-content: center; margin-bottom: 24px; }
.brand-arch-head .brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  margin-bottom: 24px;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.brand-arch-head .brand-logo-wrap img { height: 56px; }
.brand-arch-head h2 {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.4;
  letter-spacing: 0.01em;
  margin: 0 0 16px;
}
.brand-arch-head h2 .accent { color: var(--brand-purple); }
.brand-arch-head .lead {
  font-family: var(--font-jp);
  font-size: 17px;
  line-height: 1.85;
  color: var(--color-fg-muted);
  max-width: 720px;
  margin: 0 auto;
}

/* Formula grid: A + B + C = XDR PlusOne */
.arch-formula {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1.2fr;
  gap: 16px;
  align-items: stretch;
  position: relative;
}
.arch-block {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: transform 300ms var(--ease-emphasis), box-shadow 300ms var(--ease-emphasis);
  position: relative;
}
.arch-block:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.arch-illust {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--brand-purple-50) 0%, var(--brand-purple-100) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}
.arch-illust svg { color: var(--brand-purple); }
.arch-illust::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  border: 1px solid rgba(91,63,191,0.18);
  pointer-events: none;
}
.arch-block h3 {
  font-family: var(--font-jp);
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  line-height: 1.5;
  color: var(--gray-950);
}
.arch-block .badge-en {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-purple);
}
.arch-block p {
  font-family: var(--font-jp);
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-fg-muted);
  margin: 0;
}

.arch-op {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 28px;
  color: var(--brand-purple);
  width: 32px;
}

.arch-result {
  background: linear-gradient(135deg, var(--brand-purple-900) 0%, var(--brand-navy) 100%);
  color: white;
  border: none;
  box-shadow: var(--shadow-cta-lg);
  position: relative;
  overflow: hidden;
}
.arch-result::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 30% 20%, rgba(183,166,255,0.4), transparent 60%),
    radial-gradient(60% 60% at 80% 80%, rgba(30,58,138,0.6), transparent 60%);
  pointer-events: none;
}
.arch-result > * { position: relative; z-index: 1; }
.arch-result .arch-result-logo {
  height: 48px;
  margin-bottom: 4px;
}
.arch-result h3 { color: white; }
.arch-result p { color: rgba(255,255,255,0.85); }
.arch-result .badge-en { color: var(--brand-purple-light); }

@media (max-width: 1100px) {
  .arch-formula {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
  }
  .arch-formula .arch-op { display: none; }
  .arch-result {
    grid-column: 1 / -1;
    margin-top: 24px;
  }
  .arch-result::after {
    content: "= XDR PlusOne";
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-purple);
    color: white;
    font-family: var(--font-en);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
  }
}
@media (max-width: 700px) {
  .arch-formula { grid-template-columns: 1fr; }
}

/* Pricing lead — one line on desktop, wraps cleanly on mobile */
.pricing-lead {
  white-space: nowrap;
  overflow-x: auto;
}
@media (max-width: 1100px) {
  .pricing-lead { white-space: normal; overflow: visible; }
}

/* ---------------- HubSpot embedded form overrides ---------------- */
.form-embed-wrap { box-sizing: border-box; }
.form-embed-wrap .hs-form-frame,
.form-embed-wrap .hs-form-frame iframe,
.form-embed-wrap .hs-form,
.form-embed-wrap form {
  width: 100% !important;
  max-width: 100% !important;
}
.form-embed-wrap .hs-form-field { width: 100%; }
.form-embed-wrap .hs-input,
.form-embed-wrap input[type="text"],
.form-embed-wrap input[type="email"],
.form-embed-wrap input[type="tel"],
.form-embed-wrap textarea,
.form-embed-wrap select {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
.form-embed-wrap iframe {
  width: 100% !important;
  min-width: 100%;
}
@media (max-width: 600px) {
  .form-embed-wrap { padding: 2px 4px 6px !important; border-radius: 10px !important; }
}

/* ============================================================
   Mobile responsive — comprehensive page-wide adjustments
   ============================================================ */

/* Header on narrow screens */
@media (max-width: 600px) {
  .site-header { height: 60px; }
  .site-header .inner { padding: 0 16px; gap: 12px; }
  .site-header .logo img { height: 28px; }
  .site-header .btn-sm {
    height: 36px; padding: 0 12px;
    font-size: 12px;
    letter-spacing: 0.02em;
  }
  .site-header .btn-sm .arrow { display: none; }
}

/* Hero — tighter on mobile */
@media (max-width: 768px) {
  .hero { padding: 64px 0 80px; }
  .hero .container { gap: 36px; }
  .hero-brand-logo { height: 36px; margin-bottom: 18px; }
  .hero h1 { font-size: clamp(28px, 8vw, 38px) !important; line-height: 1.35; margin: 0 0 18px !important; }
  .hero .lead { font-size: 15px !important; line-height: 1.8; }
  .hero .cta-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero .cta-row .btn { width: 100%; justify-content: center; }
  .hero .trust-chip { width: 100%; box-sizing: border-box; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 26px !important; }
}

/* Hero ops-stack — already stacks at 960px, tighten on mobile */
@media (max-width: 600px) {
  .ops-stack { gap: 12px; }
  .ops-card { padding: 16px 18px; border-radius: 12px; }
  .ops-card h3 { font-size: 14px !important; }
  .ops-card .ops-meta li { font-size: 11px; grid-template-columns: 70px 1fr; }
  .ops-card .ops-foot { font-size: 10px; }
}

/* Service Definition mobile typography */
@media (max-width: 600px) {
  .service-definition { padding: 56px 0 48px; }
  .service-definition .sd-intro { font-size: 16px; line-height: 1.85; }
  .service-definition .sd-facts { gap: 2px 0; padding-top: 16px; }
  .service-definition .sd-facts dt { font-size: 10px; padding-top: 14px; }
  .service-definition .sd-facts dt:first-of-type { padding-top: 0; }
  .service-definition .sd-facts dd { font-size: 13px; }
}

/* All section heads — tighter on mobile */
@media (max-width: 768px) {
  .section-head { margin-bottom: 32px; }
  .section-head .eyebrow { margin-bottom: 10px; font-size: 11px; }
  .section-head h2,
  .text-h2 { font-size: clamp(22px, 6vw, 32px) !important; line-height: 1.4; }
  .section-tldr { font-size: 14px; padding: 12px 14px; }
}

/* Reality stats — keep already responsive but tighten card padding */
@media (max-width: 600px) {
  .reality .r-stat { padding: 24px 22px; }
  .reality .r-stat .r-route-icon { width: 44px; height: 44px; border-radius: 12px; }
  .reality .r-stat .stat-title { font-size: 17px; }
  .reality .r-stat .stat-context { font-size: 13px; line-height: 1.75; }
}

/* Cost section — bignum and breakdown tighter on mobile */
@media (max-width: 600px) {
  .cost { padding: 64px 0 72px; }
  .cost-stage { gap: 32px; }
  .cost-bignum .num-display-2 { font-size: 88px !important; }
  .cost-bignum .num-unit { font-size: 24px; margin-top: -12px; }
  .cost-bignum .num-label { font-size: 14px; }
  .cost-impact { padding: 22px 20px; border-radius: 12px; }
  .cost-impact h3 { font-size: 16px; margin-bottom: 14px; }
  .cost-impact-list .l-name { font-size: 13px; }
  .cost-impact-list .l-bar { width: 80px; }
  .cost-impact-list .l-days { font-size: 14px; min-width: 50px; }
}

/* Solution cards on mobile */
@media (max-width: 600px) {
  .sol-card .sol-shot { height: 180px; padding: 12px; }
  .sol-card .sol-body { padding: 18px 20px 22px; gap: 10px; }
  .sol-card h3 { font-size: 16px; }
  .sol-card .sol-benefit { font-size: 13px; }
}

/* Differentiation table when stacked */
@media (max-width: 800px) {
  .compare-aeo tbody th { padding: 18px 20px !important; }
  .compare-aeo tbody td { padding: 18px 20px !important; }
  .compare-aeo .topic-name { font-size: 16px; }
  .compare-aeo .col-other,
  .compare-aeo .col-ours-cell { font-size: 13px; line-height: 1.7; }
}

/* Trust stats grid tightening on mobile */
@media (max-width: 600px) {
  .trust-stat { padding: 24px 22px; }
  .trust-stat .ts-icon { width: 38px; height: 38px; }
  .trust-stat .ts-num { font-size: 52px; }
  .trust-stat .ts-num .ts-unit { font-size: 17px; }
  .trust-stat .ts-label { font-size: 14px; }
  .trust-stat .ts-context { font-size: 12px; padding: 12px 0; }
  .trust-creds { gap: 10px; margin-top: 32px; }
  .trust-cred { padding: 14px 16px; gap: 12px; }
  .trust-cred .tc-icon { width: 36px; height: 36px; }
  .trust-cred .tc-name { font-size: 13px; }
  .trust-cred .tc-meta { font-size: 11px; }
}

/* Pricing — make cards comfortable on mobile */
@media (max-width: 600px) {
  .plans-grid { gap: 24px; padding-top: 8px; }
  .plan-card .plan-header { padding: 22px 20px 20px; }
  .plan-card .plan-name { font-size: 26px; }
  .plan-card .plan-target { padding: 12px 20px; font-size: 11px; }
  .plan-card .plan-features { padding: 18px 20px 6px; }
  .plan-card .plan-features li { font-size: 13px; padding: 10px 0; }
  .plan-card .plan-cta { padding: 12px 20px 22px; }
  .plans-intro { font-size: 14px; padding: 14px 18px; }
  .plans-footnote { font-size: 11px; line-height: 1.85; }
}

/* Flow list — already responsive, tighten cards */
@media (max-width: 600px) {
  .flow-list > li { padding: 22px 20px; gap: 10px; }
  .flow-list .flow-title { font-size: 16px; }
  .flow-list .flow-body { font-size: 13px; }
  .flow-list .flow-meta > li { grid-template-columns: 70px 1fr; font-size: 11px; }
  .flow-list .flow-meta .k { font-size: 9px; }
}

/* FAQ accordion */
@media (max-width: 600px) {
  .acc-head { padding: 16px 18px; font-size: 14px; gap: 12px; }
  .acc-body > div { padding: 0 18px 16px 50px; font-size: 13px; }
  .acc-head .q-mark { width: 18px; }
}

/* Final CTA — already stacks at 960px, tighten on mobile */
@media (max-width: 600px) {
  .cta-strip { padding: 64px 0 80px !important; }
  .cta-strip h2 { font-size: clamp(22px, 6vw, 32px) !important; line-height: 1.45; }
  .cta-strip p { font-size: 14px !important; line-height: 1.8; }
  .cta-strip .cta-logo { height: 36px !important; margin-bottom: 14px !important; }
  .cta-strip .container > div:first-child { max-width: 100% !important; }
}

/* Footer columns + bottom bar */
@media (max-width: 600px) {
  .site-footer { padding: 48px 0 32px; }
  .site-footer .footer-top { gap: 28px; padding-bottom: 32px; }
  .site-footer .footer-top h3,
  .site-footer h5 { font-size: 10px; margin-bottom: 12px; }
  .site-footer p,
  .site-footer a,
  .site-footer .footer-top address li,
  .site-footer .footer-top nav li { font-size: 12px; line-height: 1.8; }
  .site-footer .footer-eeat { grid-template-columns: 1fr; gap: 16px; padding-top: 20px; margin-top: 24px; }
  .site-footer .footer-eeat p { font-size: 11px; }
  .site-footer .footer-bottom { padding-top: 18px; font-size: 10px; gap: 6px; }
}

/* Trust marquee — slow down on mobile so it's not too jittery */
@media (max-width: 600px) {
  .trust-marquee { padding: 24px 0; }
  .trust-marquee .label { font-size: 10px; margin-bottom: 12px; }
  .trust-marquee .item { font-size: 13px; }
  .marquee-track { gap: 40px; animation-duration: 24s; }
}

/* Sticky CTA on mobile — already converts to bottom bar at 768px, refine */
@media (max-width: 600px) {
  .sticky-cta { padding: 14px 18px; font-size: 13px; }
}

/* Prevent any horizontal overflow */
@media (max-width: 768px) {
  body { overflow-x: hidden; }
  .container, .container-narrow { padding: 0 16px; }
  /* SVGs / images stay within their parents */
  img, svg, table { max-width: 100%; height: auto; }
}

/* ---------------- Plans (選べる3つのプラン) ---------------- */
.plans-intro {
  background: var(--brand-purple-50);
  border-radius: 12px;
  padding: 18px 24px;
  margin-bottom: 32px;
  font-family: var(--font-jp);
  font-size: 15px;
  text-align: center;
  color: var(--brand-purple-900);
}
.plans-intro strong { color: var(--brand-purple); font-weight: 700; }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  padding-top: 16px;
}
.plan-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 200ms var(--ease-standard),
              box-shadow 200ms var(--ease-standard),
              transform 200ms var(--ease-standard);
}
.plan-card .plan-header {
  padding: 28px 24px 24px;
  color: white;
  text-align: center;
  position: relative;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}
.plan-card.basic .plan-header {
  background: linear-gradient(135deg, #7C5BD6 0%, var(--brand-purple) 100%);
}
.plan-card.standard .plan-header {
  background: linear-gradient(135deg, var(--brand-purple) 0%, var(--brand-purple-900) 100%);
}
.plan-card.premium .plan-header {
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-700) 100%);
}
.plan-card .plan-tag {
  display: inline-block;
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.plan-card .plan-name {
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 1;
}
.plan-card .plan-features {
  list-style: none;
  margin: 0;
  padding: 24px 24px 8px;
  flex: 1;
}
.plan-card .plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  font-family: var(--font-jp);
  font-size: 14px;
  line-height: 1.55;
  border-bottom: 1px solid var(--color-border);
}
.plan-card .plan-features li:last-child { border-bottom: none; }
.plan-card .plan-features li .feat-icon {
  flex-shrink: 0;
  margin-top: 2px;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.plan-card .plan-features li.included { color: var(--gray-950); }
.plan-card .plan-features li.included .feat-icon { color: var(--brand-purple); }
.plan-card .plan-features li.excluded { color: var(--gray-400); }
.plan-card .plan-features li.excluded .feat-name { text-decoration: line-through; text-decoration-color: var(--gray-300); }
.plan-card .plan-features li .feat-note {
  display: block;
  font-size: 12px;
  color: var(--color-fg-subtle);
  margin-top: 2px;
}
.plan-card .plan-cta {
  padding: 16px 24px 28px;
}
.plan-card .plan-cta .btn { width: 100%; }

.plan-card.is-recommended {
  border-color: var(--brand-purple);
  box-shadow: var(--shadow-cta);
  transform: translateY(-12px);
}
.plan-card.is-recommended .recommended-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-purple);
  color: white;
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  box-shadow: var(--shadow-cta);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.plan-card.is-recommended .recommended-badge::before,
.plan-card.is-recommended .recommended-badge::after {
  content: "";
  width: 12px;
  height: 1.5px;
  background: white;
  border-radius: 999px;
}

.plans-footnote {
  font-family: var(--font-jp);
  font-size: 12px;
  line-height: 1.85;
  color: var(--color-fg-subtle);
  margin-top: 32px;
  text-align: center;
}
.plans-footnote .danger {
  color: var(--color-danger);
  font-weight: 700;
}

@media (max-width: 960px) {
  .plans-grid { grid-template-columns: 1fr; gap: 32px; }
  .plan-card.is-recommended { transform: none; }
}

/* ---------------- Trust marquee ---------------- */
.trust-marquee {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 32px 0;
}
.trust-marquee .label {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-fg-subtle);
  text-align: center;
  margin-bottom: 16px;
}
.trust-marquee .item {
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-700);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.trust-marquee .marquee-track {
  margin: 0;
  padding: 0;
  list-style: none;
}
.trust-marquee .item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-purple);
}
