/* ============================================================
   Reset & Base
   ============================================================ */
.ecpro-top-body *, .ecpro-top-body *::before, .ecpro-top-body *::after { box-sizing: border-box; }
html:has(.ecpro-top-body) { font-size: 16px; }
body.ecpro-top-body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  color: #000;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.ecpro-top-body img { max-width: 100%; display: block; }
.ecpro-top-body a { color: inherit; text-decoration: none; }
.ecpro-top-body ul { list-style: none; padding: 0; margin: 0; }

/* Mobile-only inline elements (e.g. forced line breaks in hero) — hidden on
   desktop/tablet, shown on phones via the mobile media query below. */
.ecpro-top-body .mobile-only { display: none; }

/* ============================================================
   Page wrapper (1920px design)
   ============================================================ */
.ecpro-top-body .page-wrap {
  position: relative;
  width: 1920px;
  margin: 0 auto;
}
.ecpro-top-body .page {
  position: relative;
  width: 1920px;
  height: 6093px;
  margin: 0 auto;
  background: #fff;
  overflow: hidden;
}

/* ============================================================
   Background layers
   ============================================================ */
.ecpro-top-body .bg-hero {
  position: absolute;
  inset: 0 0 auto 0;
  width: 1920px;
  height: 762px;
  background: url('../images/top/rectangle49.png') no-repeat center center / cover;
}
.ecpro-top-body .bg-gray {
  position: absolute;
  top: 787px;
  left: 0;
  width: 1920px;
  height: 4045px;
  background: #f8f8f8;
}
.ecpro-top-body .bg-reasons {
  position: absolute;
  top: 2296px;
  left: 0;
  width: 1920px;
  height: 970px;
  background: linear-gradient(117.32deg, #af37ff 1.8%, #c266ff 44.8%, #0095ff 83%);
}
.ecpro-top-body .bg-footer {
  position: absolute;
  top: 5278px;
  left: 0;
  width: 1920px;
  height: 815px;
  background: #313440;
}

/* ============================================================
   Decorative ellipses
   ============================================================ */
.ecpro-top-body .deco {
  position: absolute;
  pointer-events: none;
  background: transparent no-repeat center / contain;
}
/* Figma の SVG（色・透明度・ノイズフィルタを含む完全な再現）をそのまま使用 */
.ecpro-top-body .deco-ellipse-9  { left: 1596px; top: 351px;  width: 298px; height: 298px;
  background-image: url("../images/top/ellipses/e9.svg"); }
.ecpro-top-body .deco-ellipse-5  { left: 518px;  top: -76px;  width: 199px; height: 199px;
  background-image: url("../images/top/ellipses/e5.svg"); }
.ecpro-top-body .deco-ellipse-4  { left: -108px; top: 415px;  width: 528px; height: 528px;
  background-image: url("../images/top/ellipses/e4.svg"); }
.ecpro-top-body .deco-ellipse-1  { left: 1423px; top: 1189px; width: 768px; height: 768px;
  background-image: url("../images/top/ellipses/e1.svg"); }
.ecpro-top-body .deco-ellipse-2  { left: 242px;  top: 1079px; width: 333px; height: 333px;
  background-image: url("../images/top/ellipses/e2.svg"); }
.ecpro-top-body .deco-ellipse-11 { left: 205px;  top: 3041px; width: 333px; height: 333px;
  background-image: url("../images/top/ellipses/e11.svg"); }
.ecpro-top-body .deco-ellipse-10 { left: 1423px; top: 2602px; width: 403px; height: 403px;
  background-image: url("../images/top/ellipses/e10.svg"); }
.ecpro-top-body .deco-ellipse-3  { left: -454px; top: 1649px; width: 768px; height: 768px;
  background-image: url("../images/top/ellipses/e3.svg"); }

/* ============================================================
   Header
   ============================================================ */
.ecpro-top-body .site-header { position: absolute; top: 17px; left: 50%; transform: translateX(-50%); z-index: 10; }
.ecpro-top-body .header-bar {
  width: 1200px;
  height: 53px;
  background: #fff;
  border-radius: 50px;
  display: flex;
  align-items: center;
  padding: 0 40px 0 16px;
  gap: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.ecpro-top-body .header-logo { display: inline-flex; }
.ecpro-top-body .header-logo img { width: auto; height: 35px; object-fit: contain; }
.ecpro-top-body .header-nav { margin-left: auto; display: flex; gap: 44px; align-items: center; }
.ecpro-top-body .header-nav a {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #313440;
  position: relative;
  padding: 4px 0;
  transition: color .2s ease;
}
.ecpro-top-body .header-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: linear-gradient(270deg, #b547ff 0%, #cd83ff 46.6%, #21a3ff 100%);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .25s ease;
}

/* ---------- サービス一覧ドロップダウン (PC) ---------- */
.ecpro-top-body .header-nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.ecpro-top-body .header-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 16px; /* バーとの間のホバー橋渡し */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
  z-index: 20;
}
.ecpro-top-body .header-nav-item:hover .header-dropdown, .ecpro-top-body .header-nav-item:focus-within .header-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.ecpro-top-body .header-dropdown-inner {
  min-width: 190px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  padding: 8px;
}
.ecpro-top-body .header-nav .header-dropdown-inner a {
  display: block;
  padding: 11px 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.ecpro-top-body .header-nav .header-dropdown-inner a::after { display: none; }
.ecpro-top-body .header-nav .header-dropdown-inner a:hover {
  background: #f4f4f7;
  color: #21a3ff;
}
.ecpro-top-body .header-cta {
  margin-left: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 172px;
  height: 40px;
  border-radius: 50px;
  background: linear-gradient(270deg, #b547ff 0%, #cd83ff 46.6%, #21a3ff 100%);
  color: #fff;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.ecpro-top-body .header-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 6px 18px rgba(181,71,255,.35);
}

/* ---------- Hamburger (mobile only) ---------- */
.ecpro-top-body .hamburger {
  display: none;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.ecpro-top-body .hamburger span {
  position: absolute;
  left: 9px;
  width: 22px;
  height: 2px;
  background: #313440;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.ecpro-top-body .hamburger span:nth-child(1) { top: 13px; }
.ecpro-top-body .hamburger span:nth-child(2) { top: 19px; }
.ecpro-top-body .hamburger span:nth-child(3) { top: 25px; }
.ecpro-top-body .hamburger.is-open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.ecpro-top-body .hamburger.is-open span:nth-child(2) { opacity: 0; }
.ecpro-top-body .hamburger.is-open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

.ecpro-top-body .mobile-menu {
  position: fixed;
  inset: 56px 0 0 0;
  background: rgba(255,255,255,.98);
  z-index: 99;
  padding: 24px 20px;
  overflow-y: auto;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}
.ecpro-top-body .mobile-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.ecpro-top-body .mobile-menu-nav { display: flex; flex-direction: column; gap: 4px; }
.ecpro-top-body .mobile-menu-nav a {
  display: block;
  padding: 18px 12px;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #313440;
  border-bottom: 1px solid #ececec;
}
/* サービス一覧配下のサブリンク（BRAIN / RPP） */
.ecpro-top-body .mobile-menu-nav a.mobile-menu-sub {
  padding: 14px 12px 14px 32px;
  font-weight: 500;
  font-size: 15px;
  color: #5a5a64;
}
.ecpro-top-body .mobile-menu-cta {
  margin-top: 18px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: 50px;
  background: linear-gradient(270deg, #b547ff 0%, #cd83ff 46.6%, #21a3ff 100%);
  color: #fff !important;
  border: 0 !important;
}

/* ============================================================
   Hero
   ============================================================ */
.ecpro-top-body .hero {
  position: absolute;
  top: 200px;
  left: 0;
  width: 1920px;
  text-align: center;
  color: #fff;
  z-index: 5;
}
.ecpro-top-body .hero-title {
  margin: 0;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 900;
  font-size: 85px;
  line-height: 90px;
  letter-spacing: 0;
}
.ecpro-top-body .hero-subtitle {
  margin: 42px auto 0;
  width: 650px;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 36px;
}
.ecpro-top-body .hero-desc {
  margin: 23px auto 0;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 30px;
}
.ecpro-top-body .hero-buttons {
  margin: 42px auto 0;
  display: flex;
  justify-content: center;
  gap: 6.4px;
}
.ecpro-top-body .hero-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 216.18px;
  height: 61px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ecpro-top-body .hero-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}
/* ロゴは高さ基準で統一（幅基準だと横長の BRAIN ロゴだけ小さく見えるため） */
.ecpro-top-body .hero-button img { height: 32px; width: auto; max-width: 92%; object-fit: contain; }

/* ============================================================
   Logos strip (右→左 無限スクロール)
   ============================================================ */
.ecpro-top-body .logos-strip {
  position: absolute;
  top: 696px;
  left: 0;
  width: 1920px;
  height: 91px;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.ecpro-top-body .logos-strip-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: logos-scroll 120s linear infinite;
  will-change: transform;
}
/* ロゴ画像は 400x120 の統一キャンバスに正規化済み。
   固定セル幅（200x60）＋均一 padding で間隔とサイズを揃える */
.ecpro-top-body .logos-strip-track img {
  width: 200px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
  padding: 0 24px;
  box-sizing: content-box;
}
@keyframes logos-scroll {
  from { transform: translateX(0); }
  /* track contains 2 sets; move by 50% = 1 full set width */
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ecpro-top-body .logos-strip-track { animation: none; }
}

/* ============================================================
   Solution heading
   ============================================================ */
.ecpro-top-body .solution-title {
  position: absolute;
  top: 886px;
  left: 0;
  width: 1920px;
  margin: 0;
  text-align: center;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 62px;
  color: #000;
  z-index: 2;
}
.ecpro-top-body .solution-title .hl {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 0 18px;
  border-radius: 4px;
  font-weight: 800;
}
.ecpro-top-body .solution-pill {
  position: absolute;
  top: 1096px;
  left: 50%;
  transform: translateX(-50%);
  width: 620px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  background: linear-gradient(270deg, #b547ff, #cd83ff 46.6%, #21a3ff);
  color: #fff;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 1.1px;
  z-index: 2;
  white-space: nowrap;
}

/* ============================================================
   Product cards (BRAIN / RPP)
   ============================================================ */
.ecpro-top-body .product-card {
  position: absolute;
  left: 361px;
  width: 1199px;
  height: 495px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0,0,0,0.07);
  padding: 51px 60px 0;
}
.ecpro-top-body .product-card--brain { top: 1172px; }
.ecpro-top-body .product-card--rpp   { top: 1709px; }

.ecpro-top-body .product-card .badge { position: absolute; top: 59px; }
.ecpro-top-body .product-card .badge:nth-of-type(1) { left: 63px; }
.ecpro-top-body .product-card .badge:nth-of-type(2) { left: 194px; }

.ecpro-top-body .product-card-title {
  position: absolute;
  top: 183px;
  left: 63px;
  width: 530px;
  margin: 0;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 38px;
  letter-spacing: 1.1px;
  color: #000;
}
.ecpro-top-body .product-card--rpp .product-card-title { width: 562px; }
.ecpro-top-body .product-card-list {
  position: absolute;
  top: 273px;
  left: 63px;
  width: 530px;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 32px;
  letter-spacing: 0.8px;
}
.ecpro-top-body .product-card-list li { position: relative; padding-left: 22px; text-align: left; }
.ecpro-top-body .product-card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 14px;
  height: 8px;
  background: url('../images/top/vector1.svg') no-repeat center / contain;
}
.ecpro-top-body .product-card--rpp .product-card-list li::before {
  background-image: url('../images/top/vector7.svg');
}

/* BRAIN/RPP ロゴは元画像の文字高さが同一（116px）のため、
   表示高さを 52px に統一して視覚サイズを揃える（幅は縦横比なり） */
.ecpro-top-body .product-card-logo {
  position: absolute;
  top: 108px;
  left: 61px;
  width: 314px;
  height: 52px;
}
.ecpro-top-body .product-card-logo img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.ecpro-top-body .product-card--rpp .product-card-logo { width: 280px; }

.ecpro-top-body .product-card-image {
  position: absolute;
  top: 48px;
  left: 650px;
  width: 510px;
  height: 416px;
  border-radius: 10px;
  overflow: hidden;
}
.ecpro-top-body .product-card-image img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   Badges
   ============================================================ */
.ecpro-top-body .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 29px;
  padding: 0 18px;
  border-radius: 50px;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.7px;
  color: #fff;
}
.ecpro-top-body .badge-cyan   { background: #00b8d9; border: 1px solid #00b8d9; }
.ecpro-top-body .badge-purple { background: #9566ee; }

/* ============================================================
   Card CTA buttons (BRAIN/RPP detail)
   ============================================================ */
.ecpro-top-body .card-cta {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 62px;
  width: 296px;
  border-radius: 7px;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.8px;
  color: #fff;
  gap: 14px;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.ecpro-top-body .product-card--brain .card-cta { top: 391px; left: 63px; }
.ecpro-top-body .product-card--rpp   .card-cta { top: 391px; left: 63px; }
.ecpro-top-body .card-cta--cyan   { background: #00b8d9; }
.ecpro-top-body .card-cta--purple { background: #9566ee; }
.ecpro-top-body .card-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}
.ecpro-top-body .card-cta--cyan:hover   { box-shadow: 0 10px 24px rgba(0,184,217,0.35); }
.ecpro-top-body .card-cta--purple:hover { box-shadow: 0 10px 24px rgba(149,102,238,0.35); }
.ecpro-top-body .card-cta .arrow {
  width: 8.5px;
  height: 8.5px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  display: inline-block;
  transition: transform .2s ease;
}
.ecpro-top-body .card-cta:hover .arrow { transform: rotate(45deg) translate(2px, -2px); }
.ecpro-top-body .card-cta--small {
  height: 46px;
  width: 204px;
  font-size: 14px;
  letter-spacing: 0.7px;
  position: absolute;
}

/* ============================================================
   Reasons
   ============================================================ */
.ecpro-top-body .reasons {
  position: absolute;
  top: 2397px;
  left: 0;
  width: 1920px;
  text-align: center;
  color: #fff;
}
.ecpro-top-body .reasons-title {
  margin: 0;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 52px;
  line-height: 65px;
}
.ecpro-top-body .reasons-subtitle {
  margin: 16px 0 0;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 60px;
  letter-spacing: 1px;
}

.ecpro-top-body .reason-card {
  position: absolute;
  width: 375px;
  height: 592px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0,0,0,0.07);
  padding: 40px 28px 30px;
  text-align: left;
  color: #000;
}
.ecpro-top-body .reason-card:nth-of-type(1) { top: 181px; left: 361px; }
.ecpro-top-body .reason-card:nth-of-type(2) { top: 181px; left: 50%; transform: translateX(-50%); width: 373px; }
.ecpro-top-body .reason-card:nth-of-type(3) { top: 181px; left: 1185px; }

.ecpro-top-body .reason-num {
  position: absolute;
  top: -32px;
  left: 28px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #313440;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -1.25px;
}

.ecpro-top-body .reason-card-image {
  width: 100%;
  max-width: 295px;
  height: 224px;
  margin: 0 auto;
  object-fit: cover;
  display: block;
}
.ecpro-top-body .reason-card:nth-of-type(3) .reason-card-image {
  object-fit: contain;
}
.ecpro-top-body .reason-card-title {
  margin: 48px 0 0;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 36px;
  letter-spacing: 0.6px;
}
.ecpro-top-body .reason-card-text {
  margin: 18px 0 0;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 28px;
  letter-spacing: 0.2px;
}
.ecpro-top-body .reason-card--center {
  text-align: center;
  padding: 40px 14px 30px;
}

/* Card 02: 12 logos in 4x3 grid at top */
.ecpro-top-body .reason-card--center .reason-logos {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 12px 6px;
  align-items: center;
  justify-items: center;
  width: 100%;
  height: 229px;
  margin: 0;
}
/* ロゴは余白トリミング済みの統一キャンバス（220x90）に正規化済み。
   全セル同一サイズで表示して見え感を揃える */
.ecpro-top-body .reason-card--center .reason-logos img {
  width: 110px;
  height: 45px;
  object-fit: contain;
}
/* 縦型紋章ロゴ（馬路村）は横幅が出ない分、少し大きめに表示して見え感を揃える
   （キャンバス比 220:90 を保ったまま拡大） */
.ecpro-top-body .reason-card--center .reason-logos img[alt="馬路村"] {
  width: 127px;
  height: 52px;
}

.ecpro-top-body .reason-card-note {
  margin: 4px 14px 0 0;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #000;
  text-align: right;
  letter-spacing: 0.6px;
}
.ecpro-top-body .reason-card-pretitle {
  /* 訴求ブロックの開始位置をカード01/03の見出し上端（カード上端から312px）に揃える */
  margin: 22px 0 0;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 1.1px;
  line-height: 1.4;
}
.ecpro-top-body .reason-card-stat {
  margin: 6px 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  line-height: 1;
}
.ecpro-top-body .reason-card-num-big {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 110px;
  letter-spacing: -5.5px;
  background: linear-gradient(270deg, #b547ff, #cd83ff 46.6%, #21a3ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.ecpro-top-body .reason-card-num-suffix {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 800;
  font-size: 30px;
  letter-spacing: 1.5px;
  color: #000;
  padding-bottom: 8px;
}
.ecpro-top-body .reason-card-text-center {
  /* 他カードの本文と同じ左寄せ・左右余白（カード端から28px）に揃える */
  margin: 18px 14px 0;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 28px;
  letter-spacing: 0.2px;
  color: #000;
  text-align: left;
}

/* ============================================================
   Voices
   ============================================================ */
.ecpro-top-body .voices {
  position: absolute;
  top: 3340px;
  left: 0;
  width: 1920px;
  text-align: center;
}
.ecpro-top-body .voices-title {
  margin: 0;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 52px;
  line-height: 65px;
  color: #000;
}
.ecpro-top-body .voices-subtitle {
  margin: 16px 0 50px;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 60px;
  letter-spacing: 1px;
  color: #000;
}

.ecpro-top-body .voice-card {
  position: absolute;
  top: 197px;
  width: 280px;
  height: 373px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0,0,0,0.07);
  padding: 26px 27px;
  text-align: left;
  transition: transform .25s ease, box-shadow .25s ease;
}
.ecpro-top-body .voice-card:nth-of-type(1) { left: 361px; }
.ecpro-top-body .voice-card:nth-of-type(2) { left: 664px; }
.ecpro-top-body .voice-card:nth-of-type(3) { left: 967px; }
.ecpro-top-body .voice-card:nth-of-type(4) { left: 1270px; }

.ecpro-top-body .voice-tags { display: flex; gap: 7px; flex-wrap: wrap; }
.ecpro-top-body .voice-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  border-radius: 50px;
  padding: 0 14px;
  height: 22px;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
}
.ecpro-top-body .voice-logo {
  margin: 18px auto 0;
  height: 92px;
  object-fit: contain;
}
.ecpro-top-body .voice-photo {
  margin: 18px auto 0;
  width: 89px;
  height: 89px;
  border-radius: 50%;
  object-fit: cover;
}
.ecpro-top-body .voice-name {
  margin: 26px 0 0;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  color: #000;
}
.ecpro-top-body .voice-text {
  margin: 16px 0 0;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 25px;
  color: #000;
  /* 本文は /voices/ と共通データのため、トップでは3行で省略表示 */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ecpro-top-body .voice-arrow {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(270deg, #b547ff, #cd83ff 46.6%, #21a3ff);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.ecpro-top-body .voice-arrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
}

/* ============================================================
   Black CTA buttons (導入実績を見る、ブログ一覧を見る)
   ============================================================ */
.ecpro-top-body .black-cta {
  position: absolute;
  top: 615px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 296px;
  height: 65px;
  background: #000;
  border-radius: 7px;
  color: #fff;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.8px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.ecpro-top-body .black-cta:hover {
  background: #1f1f1f;
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}
.ecpro-top-body .black-cta::after {
  content: '';
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.ecpro-top-body .black-cta:hover::after { transform: rotate(45deg) translate(2px, -2px); }

/* ============================================================
   Blog
   ============================================================ */
.ecpro-top-body .blog {
  position: absolute;
  top: 4101px;
  left: 0;
  width: 1920px;
  text-align: center;
}
.ecpro-top-body .blog-title {
  margin: 0 0 80px;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 52px;
  line-height: 65px;
  color: #000;
}
.ecpro-top-body .blog-item {
  position: absolute;
  left: 361px;
  width: 1189px;
  height: 88px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0,0,0,0.07);
  padding: 34px 40px;
  text-align: left;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ecpro-top-body .blog-item:nth-of-type(1) { top: 101px; }
.ecpro-top-body .blog-item:nth-of-type(2) { top: 207px; }
.ecpro-top-body .blog-item:nth-of-type(3) { top: 313px; }
.ecpro-top-body .blog-item:nth-of-type(4) { top: 419px; }

.ecpro-top-body .blog-date {
  display: inline-block;
  width: 95px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #969696;
  vertical-align: middle;
}
.ecpro-top-body .blog-tag {
  display: inline-block;
  vertical-align: middle;
  margin-right: 20px;
  width: 121px;
  height: 20px;
  border: 1px solid #87d444;
  color: #87d444;
  border-radius: 4px;
  text-align: center;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 20px;
}
.ecpro-top-body .blog-tag--filled { background: #fff; }
.ecpro-top-body .blog-headline {
  display: inline-block;
  vertical-align: middle;
  margin: 0;
  width: 760px;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  color: #000;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ecpro-top-body .blog-headline a { color: inherit; text-decoration: none; }
.ecpro-top-body .blog-headline a:hover { opacity: 0.7; }
.ecpro-top-body .blog-arrow {
  position: absolute;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(225deg, #b547ff 0%, #cd83ff 46.6%, #21a3ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.ecpro-top-body .blog-arrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  margin-left: -3px;
}

.ecpro-top-body .blog .black-cta { top: 565px; }

/* ============================================================
   Bottom CTA
   ============================================================ */
.ecpro-top-body .bottom-cta {
  position: absolute;
  top: 4909px;
  left: 0;
  width: 1920px;
  display: flex;
  justify-content: center;
  gap: 23px;
}
.ecpro-top-body .bottom-cta-card {
  position: relative;
  width: 583px;
  height: 304px;
  border-radius: 10px;
  padding: 38px 38px 0;
}
.ecpro-top-body .bottom-cta-card--cyan { background: #e6f8f9; }
.ecpro-top-body .bottom-cta-card--purple { background: #faf5ff; width: 593px; }
.ecpro-top-body .bottom-cta-card .badge { display: inline-flex; }
.ecpro-top-body .bottom-cta-card .badge + .badge { margin-left: 8px; }
/* BRAIN/RPP とも表示高さ 48px に統一（幅は縦横比なり・左揃え） */
.ecpro-top-body .bottom-cta-logo {
  margin-top: 26px;
  width: 290px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
}
/* フォントサイズは RPP 側（文字数が多く 18px が上限）に合わせて両カード統一 */
.ecpro-top-body .bottom-cta-text {
  margin: 24px 0 0;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 38px;
  letter-spacing: 0.4px;
  color: #000;
  white-space: nowrap;
}
.ecpro-top-body .bottom-cta-card .card-cta--small {
  position: absolute;
  bottom: 38px;
  left: 38px;
}

/* ============================================================
   Footer
   ============================================================ */
.ecpro-top-body .site-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 1920px;
  height: 815px;
  color: #fff;
}
.ecpro-top-body .footer-inner {
  position: relative;
  width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding-top: 70px;
  display: grid;
  grid-template-columns: 800px 200px 220px;
  align-content: start;
}
.ecpro-top-body .footer-logo {
  width: 128px;
  height: 35px;
  object-fit: contain;
  margin-bottom: 27px;
}
.ecpro-top-body .footer-tag {
  margin: 0 0 36px;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 38px;
  letter-spacing: 0.8px;
}
.ecpro-top-body .footer-company {
  margin: 0;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 30px;
  letter-spacing: 0.8px;
}
.ecpro-top-body .footer-address {
  margin: 0;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 30px;
  letter-spacing: 0.8px;
}
.ecpro-top-body .footer-copy-bar {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.ecpro-top-body .footer-copy {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 38px;
  letter-spacing: 0.7px;
}
.ecpro-top-body .footer-legal-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
}
.ecpro-top-body .footer-legal-links a {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.6px;
  color: #fff;
  white-space: nowrap;
}
.ecpro-top-body .footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ecpro-top-body .footer-nav-head {
  margin: 0 0 0;
  color: #d2d5de;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 30px;
  letter-spacing: 0.8px;
}
.ecpro-top-body .footer-nav-head:not(:first-child) { margin-top: 18px; }
.ecpro-top-body .footer-nav a {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 30px;
  letter-spacing: 0.8px;
  color: #fff;
  transition: opacity .2s ease, color .2s ease;
}

/* フッター下のバナー (BRAIN / RPP) */
.ecpro-top-body .footer-bottom-cta {
  grid-column: 1 / -1;
  align-self: start;
  display: flex;
  gap: 23px;
  margin-top: 48px;
  width: 1200px;
}
/* Brain フッターの CTA バナー（footer.css）と同一の見た目に揃える */
.ecpro-top-body .footer-bottom-cta .bottom-cta-card {
  position: relative;
  flex: 0 0 auto;
  width: 583px;
  height: 160px;
  border-radius: 10px;
  padding: 24px 38px;
  display: flex;
  flex-direction: column;
  color: #000;
  box-sizing: border-box;
}
.ecpro-top-body .footer-bottom-cta .bottom-cta-card--cyan { background: #e6f8f9; }
.ecpro-top-body .footer-bottom-cta .bottom-cta-card--purple { background: #faf5ff; width: 593px; }
.ecpro-top-body .footer-bottom-cta .bottom-cta-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}
.ecpro-top-body .footer-bottom-cta .bottom-cta-card-badges {
  display: flex;
  gap: 8px;
  align-items: center;
}
.ecpro-top-body .footer-bottom-cta .bottom-cta-card-badges--stack {
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}
.ecpro-top-body .footer-bottom-cta .bottom-cta-card .badge { display: inline-flex; flex-shrink: 0; }
.ecpro-top-body .footer-bottom-cta .bottom-cta-logo {
  height: 51px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  margin: 0;
}
.ecpro-top-body .footer-bottom-cta .bottom-cta-logo--brain { width: 310px; height: 51px; }
.ecpro-top-body .footer-bottom-cta .bottom-cta-logo--rpp { width: 284px; height: 59px; }
.ecpro-top-body .footer-bottom-cta .bottom-cta-text {
  margin: 14px 0 0;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 38px;
  letter-spacing: 0.9px;
  color: #000;
  white-space: normal;
}

/* ============================================================
   Responsive: Tablet (768px - 1919px)
   1920px design proportionally scaled to viewport width
   ============================================================ */
@media (max-width: 1919px) and (min-width: 768px) {
  body.ecpro-top-body { overflow-x: hidden; }
  .ecpro-top-body .page-wrap {
    width: 100vw;
    /* CSS variable --scale is set by inline script in <head> based on viewport width.
       Using calc(100vw / 1920px) makes a unitless ratio that works with scale(). */
    height: calc(1920px * var(--scale, 1) * (6093 / 1920));
    overflow: hidden;
  }
  .ecpro-top-body .page {
    transform: scale(var(--scale, 1));
    transform-origin: top left;
  }
}

/* ============================================================
   Responsive: Mobile (under 768px)
   1-column stacked layout
   ============================================================ */
@media (max-width: 767px) {
  html:has(.ecpro-top-body) { font-size: 14px; }
  body.ecpro-top-body { overflow-x: hidden; }

  .ecpro-top-body .page-wrap { width: 100%; }
  .ecpro-top-body .page {
    width: 100%;
    height: auto;
    overflow: visible;
  }

  /* Hide desktop-only background layers and decorations */
  .ecpro-top-body .bg-hero, .ecpro-top-body .bg-gray, .ecpro-top-body .bg-reasons, .ecpro-top-body .bg-footer, .ecpro-top-body .deco { display: none !important; }

  /* Universal reset of absolute/fixed positioning inside .page. */
  .ecpro-top-body .page, .ecpro-top-body .page * {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
  }
  .ecpro-top-body .page { position: relative !important; }
  /* Restore positioning for elements that need it on mobile */
  .ecpro-top-body .site-header { position: sticky !important; top: 0 !important; }
  .ecpro-top-body .mobile-menu { position: fixed !important; top: 56px !important; left: 0 !important; right: 0 !important; bottom: 0 !important; }
  .ecpro-top-body .hamburger { position: relative !important; }
  .ecpro-top-body .hamburger span {
    position: absolute !important;
    left: 9px !important;
  }
  .ecpro-top-body .hamburger span:nth-child(1) { top: 13px !important; }
  .ecpro-top-body .hamburger span:nth-child(2) { top: 19px !important; }
  .ecpro-top-body .hamburger span:nth-child(3) { top: 25px !important; }
  .ecpro-top-body .hamburger.is-open span:nth-child(1) { top: 19px !important; transform: rotate(45deg) !important; }
  .ecpro-top-body .hamburger.is-open span:nth-child(2) { opacity: 0; }
  .ecpro-top-body .hamburger.is-open span:nth-child(3) { top: 19px !important; transform: rotate(-45deg) !important; }
  .ecpro-top-body .voice-card { position: relative !important; }
  .ecpro-top-body .voice-arrow {
    position: absolute !important;
    bottom: 16px !important;
    right: 16px !important;
  }
  .ecpro-top-body .blog-item { position: relative !important; }
  .ecpro-top-body .blog-arrow {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
  }

  /* ---------- Header ---------- */
  .ecpro-top-body .site-header {
    width: 100%;
    z-index: 100;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  }
  .ecpro-top-body .header-bar {
    width: 100%;
    height: 56px;
    border-radius: 0;
    padding: 0 12px 0 16px;
    box-shadow: none;
    display: flex;
    align-items: center;
  }
  .ecpro-top-body .header-logo { display: inline-flex; }
  .ecpro-top-body .header-logo img { width: auto; height: 26px; }
  .ecpro-top-body .header-nav { display: none; }
  .ecpro-top-body .header-cta { display: none; }
  .ecpro-top-body .hamburger { display: block !important; margin-left: auto; }
  .ecpro-top-body .mobile-menu { display: block; }

  /* ---------- Hero ---------- */
  .ecpro-top-body .hero {
    width: 100%;
    padding: 56px 20px 44px;
    text-align: center;
    background:
      linear-gradient(180deg, rgba(120, 30, 200, 0.55) 0%, rgba(0, 130, 230, 0.45) 100%),
      url('../images/top/rectangle49.png') no-repeat center center / cover;
  }
  .ecpro-top-body .hero-title {
    font-size: 38px;
    line-height: 1.25;
    letter-spacing: -0.5px;
    margin: 0 0 18px;
    width: auto;
    text-shadow: 0 2px 12px rgba(40, 0, 80, 0.35);
  }
  .ecpro-top-body .hero-subtitle {
    font-size: 15px;
    font-weight: 700;
    margin: 0 auto 14px;
    line-height: 1.6;
    width: auto;
    max-width: 320px;
    letter-spacing: 0.2px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
  }
  .ecpro-top-body .hero-desc {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.85;
    margin: 0 auto 26px;
    width: auto;
    max-width: 90%;
    opacity: 0.94;
  }
  .ecpro-top-body .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    margin: 0;
  }
  .ecpro-top-body .hero-button {
    width: 220px;
    height: 56px;
  }

  /* ---------- Logos strip (50% scale of 110px → 55px) ----------
     The universal `.page * { transform: none !important }` reset above
     would normally kill keyframe `transform: translateX()` animation,
     so we use the standalone `translate` property which is unaffected
     by the legacy `transform` reset. */
  .ecpro-top-body .mobile-only { display: inline; }

  .ecpro-top-body .logos-strip {
    width: 100%;
    height: 55px;
    overflow: hidden;
    background: #fff;
    display: flex !important;
    align-items: center;
  }
  .ecpro-top-body .logos-strip-track {
    display: flex !important;
    align-items: center;
    gap: 0;
    width: max-content !important;
    animation: logos-scroll-mobile 80s linear infinite !important;
    will-change: translate;
  }
  .ecpro-top-body .logos-strip-track img, .ecpro-top-body .logos-strip img {
    width: 130px !important;
    height: 39px !important;
    flex-shrink: 0;
    object-fit: contain;
    padding: 0 12px !important;
    box-sizing: content-box !important;
  }
  @keyframes logos-scroll-mobile {
    from { translate: 0 0; }
    to   { translate: -50% 0; }
  }
  @media (prefers-reduced-motion: reduce) {
    .ecpro-top-body .logos-strip-track { animation: none !important; }
  }

  /* ---------- Solution heading ---------- */
  .ecpro-top-body .solution-title {
    width: 100%;
    margin: 60px 0 18px;
    padding: 0 20px;
    font-size: 22px;
    line-height: 1.5;
    text-align: center;
  }
  .ecpro-top-body .solution-title .hl {
    padding: 2px 10px;
    font-size: 22px;
    display: inline-block;
    margin: 4px 2px;
  }
  .ecpro-top-body .solution-pill {
    width: calc(100% - 40px);
    max-width: 360px;
    height: auto;
    padding: 8px 14px;
    margin: 0 auto 30px;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
    white-space: normal;
    letter-spacing: 0;
  }

  /* ---------- Product cards ---------- */
  .ecpro-top-body .product-card {
    width: calc(100% - 40px) !important;
    height: auto !important;
    margin: 0 auto 24px !important;
    padding: 22px 20px 26px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center;
    column-gap: 8px;
    row-gap: 12px;
  }
  /* Re-order children for natural mobile flow:
     1. Badges (inline row)
     2. Logo
     3. Image (visual)
     4. Title
     5. List
     6. CTA */
  .ecpro-top-body .product-card .badge {
    order: 1 !important;
    align-self: flex-start;
    display: inline-flex !important;
    margin: 0 !important;
  }
  .ecpro-top-body .product-card-logo {
    order: 2 !important;
    flex: 0 0 100% !important;
    width: auto !important;
    height: auto !important;
    margin: 6px 0 4px !important;
  }
  .ecpro-top-body .product-card-logo img {
    height: 37px !important;
    width: auto !important;
    object-fit: contain;
  }
  .ecpro-top-body .product-card-image {
    order: 3 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 4px 0 6px !important;
    aspect-ratio: 510 / 320;
    border-radius: 10px;
    overflow: hidden;
  }
  .ecpro-top-body .product-card-image img { width: 100%; height: 100%; object-fit: cover; }
  .ecpro-top-body .product-card-title {
    order: 4 !important;
    flex: 0 0 100% !important;
    width: auto !important;
    font-size: 17px !important;
    line-height: 1.6 !important;
    letter-spacing: 0.4px !important;
    margin: 0 !important;
  }
  .ecpro-top-body .product-card-list {
    order: 5 !important;
    flex: 0 0 100% !important;
    width: auto !important;
    margin: 0 !important;
  }
  .ecpro-top-body .product-card-list li {
    position: relative !important;
    padding-left: 22px !important;
    font-size: 13px !important;
    line-height: 1.85 !important;
  }
  /* Restore checkmark icons (universal reset above made them static and lost) */
  .ecpro-top-body .product-card-list li::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 10px !important;
    width: 14px !important;
    height: 8px !important;
    background: url('../images/top/vector1.svg') no-repeat center / contain !important;
  }
  .ecpro-top-body .product-card--rpp .product-card-list li::before {
    background-image: url('../images/top/vector7.svg') !important;
  }
  .ecpro-top-body .card-cta {
    order: 6 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 280px !important;
    height: 48px !important;
    font-size: 14px !important;
    margin: 6px auto 0 !important;
    align-self: center;
  }

  /* Fix arrow icons broken by universal `transform: none !important` reset.
     Re-apply rotate(45deg) so chevrons display correctly. */
  .ecpro-top-body .arrow, .ecpro-top-body .card-cta .arrow, .ecpro-top-body .blog-arrow::before, .ecpro-top-body .voice-arrow::before, .ecpro-top-body .black-cta::after {
    transform: rotate(45deg) !important;
  }
  .ecpro-top-body .card-cta .arrow {
    width: 8.5px !important;
    height: 8.5px !important;
    border-top: 2px solid #fff !important;
    border-right: 2px solid #fff !important;
    display: inline-block !important;
  }

  /* ---------- Reasons ---------- */
  .ecpro-top-body .reasons {
    width: 100%;
    padding: 60px 20px 60px;
    background: linear-gradient(155deg, #af37ff, #c266ff 50%, #0095ff);
  }
  .ecpro-top-body .reasons-title {
    font-size: 24px;
    margin: 0 0 12px;
    text-align: center;
    width: auto;
  }
  .ecpro-top-body .reasons-subtitle {
    font-size: 13px;
    line-height: 1.7;
    margin: 0 0 30px;
    text-align: center;
    width: auto;
  }
  .ecpro-top-body .reason-card {
    width: 100% !important;
    height: auto !important;
    margin: 0 0 20px !important;
    padding: 28px 20px;
  }
  .ecpro-top-body .reason-card:last-child { margin-bottom: 0 !important; }
  .ecpro-top-body .reason-num {
    position: static !important;
    margin: 0 0 16px;
  }
  .ecpro-top-body .reason-card-image {
    position: static !important;
    width: 100%;
    height: auto;
    margin: 0 auto 14px;
    max-width: 260px;
  }
  .ecpro-top-body .reason-card-title {
    position: static !important;
    width: auto;
    font-size: 18px;
    line-height: 1.5;
    margin: 0 0 12px;
  }
  .ecpro-top-body .reason-card-text {
    position: static !important;
    width: auto;
    font-size: 13px;
    line-height: 1.8;
  }
  .ecpro-top-body .reason-card-pretitle, .ecpro-top-body .reason-card-stat, .ecpro-top-body .reason-card-num-big, .ecpro-top-body .reason-card-num-suffix, .ecpro-top-body .reason-card-text-center, .ecpro-top-body .reason-card-note {
    position: static !important;
    width: auto;
  }
  .ecpro-top-body .reason-card-stat { display: flex !important; align-items: flex-end; justify-content: center; gap: 6px; margin: 4px 0; }
  .ecpro-top-body .reason-card-num-big { font-size: 76px !important; line-height: 1; }
  .ecpro-top-body .reason-card-num-suffix { font-size: 22px !important; padding-bottom: 4px; }
  .ecpro-top-body .reason-card-pretitle { font-size: 18px; margin: 18px 0 0; text-align: center; }
  .ecpro-top-body .reason-card-text-center { font-size: 13px; line-height: 1.8; margin: 12px 0 0; text-align: left; }
  .ecpro-top-body .reason-card-note { font-size: 11px; text-align: right; margin: 4px 0 0; }
  .ecpro-top-body .reason-card--center { padding: 28px 16px !important; }
  .ecpro-top-body .reason-card--center .reason-logos {
    position: static !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    grid-template-rows: repeat(4, auto) !important;
    gap: 12px 6px;
    margin: 6px 0 0 !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box;
  }
  .ecpro-top-body .reason-card--center .reason-logos img {
    width: 88px !important;
    height: 36px !important;
    object-fit: contain !important;
    justify-self: center;
  }

  /* ---------- Voices ---------- */
  .ecpro-top-body .voices {
    width: 100%;
    padding: 56px 16px 56px;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    column-gap: 10px;
    row-gap: 12px;
  }
  /* Section title / subtitle / black-cta should span full row */
  .ecpro-top-body .voices > .voices-title, .ecpro-top-body .voices > .voices-subtitle, .ecpro-top-body .voices > .black-cta {
    grid-column: 1 / -1 !important;
  }
  .ecpro-top-body .voices-title {
    font-size: 24px;
    margin: 0 0 4px;
    text-align: center;
    width: auto;
  }
  .ecpro-top-body .voices-subtitle {
    font-size: 13px;
    line-height: 1.7;
    margin: 0 0 18px;
    text-align: center;
    width: auto;
  }
  .ecpro-top-body .voice-card {
    width: 100% !important;
    height: auto !important;
    min-height: 240px !important;
    margin: 0 !important;
    padding: 16px 14px 48px !important;
    left: auto !important;
    top: auto !important;
    position: relative !important;
  }
  .ecpro-top-body .voice-tags {
    position: static !important;
    margin: 0 0 10px;
    gap: 4px;
    flex-wrap: wrap;
  }
  .ecpro-top-body .voice-tags span {
    font-size: 10px !important;
    padding: 0 8px !important;
    height: 18px !important;
  }
  .ecpro-top-body .voice-logo, .ecpro-top-body .voice-photo {
    position: static !important;
    width: auto;
    max-width: 100px;
    margin: 4px auto 8px !important;
  }
  .ecpro-top-body .voice-photo {
    width: 60px !important;
    height: 60px !important;
  }
  .ecpro-top-body .voice-logo {
    height: 56px !important;
    object-fit: contain;
  }
  .ecpro-top-body .voice-name {
    position: static !important;
    width: auto;
    font-size: 12px !important;
    line-height: 1.5 !important;
    margin: 6px 0 4px !important;
  }
  .ecpro-top-body .voice-text {
    position: static !important;
    width: auto;
    font-size: 11px !important;
    line-height: 1.7 !important;
    margin: 0 !important;
  }
  .ecpro-top-body .voice-arrow {
    position: absolute !important;
    bottom: 12px !important;
    right: 12px !important;
    width: 30px !important;
    height: 30px !important;
    margin: 0 !important;
  }
  .ecpro-top-body .voice-arrow::before {
    width: 6px !important;
    height: 6px !important;
  }

  /* ---------- Black CTA ---------- */
  .ecpro-top-body .black-cta {
    width: 240px !important;
    height: 48px !important;
    margin: 24px auto 0 !important;
    font-size: 13px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
  .ecpro-top-body .black-cta::after {
    content: '' !important;
    width: 7px !important;
    height: 7px !important;
    border-top: 2px solid #fff !important;
    border-right: 2px solid #fff !important;
  }

  /* ---------- Blog ---------- */
  .ecpro-top-body .blog {
    width: 100%;
    padding: 56px 20px 56px;
  }
  .ecpro-top-body .blog-title {
    font-size: 24px;
    margin: 0 0 24px;
    text-align: center;
  }
  .ecpro-top-body .blog-item {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 0 10px !important;
    padding: 16px 56px 16px 16px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px;
    position: relative !important;
  }
  .ecpro-top-body .blog-item:last-of-type { margin-bottom: 0 !important; }
  .ecpro-top-body .blog-date, .ecpro-top-body .blog-tag, .ecpro-top-body .blog-headline {
    position: static !important;
    width: auto !important;
    margin: 0 !important;
    display: inline-block !important;
  }
  .ecpro-top-body .blog-date { font-size: 12px !important; color: #969696; }
  .ecpro-top-body .blog-tag {
    font-size: 11px !important;
    height: 20px !important;
    line-height: 18px !important;
    padding: 0 8px !important;
    width: auto !important;
    min-width: 0 !important;
  }
  .ecpro-top-body .blog-headline {
    font-size: 13px !important;
    line-height: 1.55 !important;
    font-weight: 700;
    margin-top: 2px !important;
    /* Allow long Japanese titles to wrap */
    white-space: normal !important;
    word-break: break-word;
  }
  .ecpro-top-body .blog-arrow {
    position: absolute !important;
    top: 50% !important;
    right: 12px !important;
    bottom: auto !important;
    margin: 0 !important;
    width: 34px !important;
    height: 34px !important;
    transform: translateY(-50%) !important;
  }
  .ecpro-top-body .blog-arrow::before {
    width: 6px !important;
    height: 6px !important;
    margin-left: -1px !important;
  }

  /* ---------- Bottom CTA ---------- */
  .ecpro-top-body .bottom-cta {
    width: 100%;
    padding: 0 20px;
    margin: 40px 0 60px;
    flex-direction: column;
    gap: 16px;
    display: flex;
    align-items: center;
  }
  .ecpro-top-body .bottom-cta-card {
    width: 100% !important;
    height: auto !important;
    padding: 24px 20px;
  }
  .ecpro-top-body .bottom-cta-logo {
    position: static !important;
    width: auto;
    height: 36px;
    margin: 14px 0;
  }
  .ecpro-top-body .bottom-cta-text {
    position: static !important;
    width: auto;
    font-size: 13px;
    line-height: 1.7;
    margin: 0 0 16px;
    white-space: normal !important;
    letter-spacing: 0 !important;
  }
  .ecpro-top-body .bottom-cta-text--rpp {
    font-size: 13px !important;
    white-space: normal !important;
  }
  .ecpro-top-body .card-cta--small { position: static !important; width: 100%; max-width: 240px; }

  /* ---------- Footer ---------- */
  .ecpro-top-body .site-footer {
    width: 100%;
    height: auto;
    padding: 48px 20px 28px;
    background: #313440;
  }
  /* Override desktop grid layout (3 columns) so all rows stack vertically */
  .ecpro-top-body .footer-inner {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 28px;
    padding-top: 0 !important;
  }
  .ecpro-top-body .footer-left { width: 100% !important; }
  .ecpro-top-body .footer-logo { width: 110px; margin: 0 0 14px; }
  .ecpro-top-body .footer-tag { font-size: 12px !important; line-height: 1.7 !important; margin: 0 0 18px !important; }
  .ecpro-top-body .footer-company { font-size: 13px !important; line-height: 1.5 !important; margin: 0 0 6px !important; }
  .ecpro-top-body .footer-address { font-size: 12px !important; line-height: 1.8 !important; margin: 0 0 0 !important; }
  /* Copyright: now a direct child of .footer-inner (placed after nav columns
     in HTML), so on mobile it naturally appears at the very bottom of the
     footer. Make it full width with a top divider. */
  .ecpro-top-body .footer-copy-bar {
    position: static !important;
    width: auto !important;
    max-width: 100% !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin: 6px 0 0 !important;
    padding-top: 18px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.18) !important;
  }
  .ecpro-top-body .footer-copy {
    width: auto !important;
    max-width: 100% !important;
    font-size: 11px !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    text-align: left !important;
    order: 2;
  }
  .ecpro-top-body .footer-legal-links {
    gap: 20px;
    order: 1;
  }
  .ecpro-top-body .footer-legal-links a { font-size: 12px !important; }
  /* フッター下バナー: 縦積み */
  .ecpro-top-body .footer-bottom-cta {
    width: 100% !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin-top: 4px !important;
  }
  .ecpro-top-body .footer-bottom-cta .bottom-cta-card {
    width: 100% !important;
    height: auto !important;
    padding: 20px !important;
  }
  .ecpro-top-body .footer-bottom-cta .bottom-cta-card-row {
    flex-wrap: wrap !important;
    gap: 10px !important;
  }
  .ecpro-top-body .footer-bottom-cta .bottom-cta-card-badges--stack {
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  .ecpro-top-body .footer-bottom-cta .bottom-cta-logo {
    position: static !important;
    width: auto !important;
    max-width: 200px !important;
    height: auto !important;
    max-height: 40px !important;
    margin: 0 !important;
  }
  .ecpro-top-body .footer-bottom-cta .bottom-cta-card .badge {
    font-size: 12px !important;
    padding: 0 12px !important;
    height: 26px !important;
  }
  .ecpro-top-body .footer-bottom-cta .bottom-cta-text {
    position: static !important;
    width: auto !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
    margin: 12px 0 0 !important;
    white-space: normal !important;
  }
  /* Footer nav columns: stacked, full width */
  .ecpro-top-body .footer-nav {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }
  .ecpro-top-body .footer-nav-head {
    font-size: 13px !important;
    line-height: 2 !important;
    margin: 0 !important;
    color: #d2d5de;
  }
  .ecpro-top-body .footer-nav-head:not(:first-child) { margin-top: 12px !important; }
  .ecpro-top-body .footer-nav a {
    font-size: 14px !important;
    line-height: 2 !important;
    display: block;
  }
  /* Footer-left: flex column so children stack neatly */
  .ecpro-top-body .footer-left {
    display: flex !important;
    flex-direction: column !important;
  }

  /* ---------- Bottom CTA: ensure card-cta--small chevron renders correctly ---------- */
  .ecpro-top-body .bottom-cta-card .card-cta--small {
    align-self: center;
  }
  .ecpro-top-body .card-cta--small .arrow {
    transform: rotate(45deg) !important;
    border-top: 2px solid #fff !important;
    border-right: 2px solid #fff !important;
    width: 8px !important;
    height: 8px !important;
  }
}
