/* ================================================================
   Bカート×ECコネクター MultiVendor LP — multivendor-lp.css
   Last updated: 2026-07-02  (インラインCSS集約版)
   ================================================================ */
/* ================================================================
   1. Design Tokens
   ================================================================ */
:root {
  /* --- Color --- */
  --primary: #1d2088;
  /* Bカート公式のアイデンティティネイビーを維持 */
  --accent: #0bb0f0;
  /* スッキリしたライトブルー */
  --accent2: #10a0e9;
  --light-bg: #f4f8fc;
  /* マルチベンダー用に清涼感のある背景色へ微調整 */
  --dark: #333;
  --success: #00b894;
  --warning: #fdcb6e;
  /* --- Gradients --- */
  --gradient-primary: linear-gradient(135deg, #1d2088 0%, #2a3cc7 100%);
  --gradient-accent: linear-gradient(135deg, #0bb0f0 0%, #10a0e9 100%);
  /* --- Typography --- */
  --font-family: 'Noto Sans JP', sans-serif;
  /* --- Radius --- */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 16px;
  /* --- Shadow --- */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .04);
  --shadow-md: 0 2px 12px rgba(0, 0, 0, .06);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, .08);
  --shadow-card: 0 2px 16px rgba(0, 0, 0, .05);
  --shadow-hover: 0 8px 28px rgba(0, 0, 0, .10);
  /* --- Transition --- */
  --transition-fast: .2s ease;
  --transition-base: .3s ease;
  /* --- Section Spacing --- */
  --section-py: 4.5rem;
  --section-py-sm: 2.5rem;
}

/* ================================================================
   2. Base / Reset
   ================================================================ */
* {
  font-family: var(--font-family);
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  color: var(--dark);
  overflow-x: hidden;
  padding-top: 66px;
}

html {
  overflow-x: hidden;
}

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

/* Visibility Assurance */
body.multivendor-lp .container,
body.multivendor-lp .row,
body.multivendor-lp section {
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
}

body.multivendor-lp .row {
  display: flex !important;
}

body.multivendor-lp header .container {
  display: flex !important;
  align-items: center;
}

/* ================================================================
   3. Layout — Header / Footer / Floating CTA
   ================================================================ */
.site-header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 26000;
}

header .navbar-nav .nav-link {
  color: var(--dark);
  font-weight: 700;
  font-size: .85rem;
  padding: .5rem .7rem;
  transition: color var(--transition-fast);
}

header .navbar-nav .nav-link:hover {
  color: var(--accent);
}

.header-logo {
  max-height: 34px;
}

.btn-cta-header {
  background: var(--primary);
  color: #fff !important;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  padding: .45rem 1rem;
  font-size: .82rem;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-cta-header:hover {
  background: #2a2da0;
  color: #fff;
  transform: translateY(-1px);
}

.nav-toggle-cb {
  display: none;
}

.nav-toggler-pointer {
  cursor: pointer;
}

.navbar-collapse {
  display: flex;
}

@media (max-width: 991px) {
  .navbar-collapse {
    display: none !important;
  }

  .nav-toggle-cb:checked~.navbar-collapse {
    display: block !important;
  }

  header .navbar-nav {
    width: 100%;
    padding: .55rem 0 .8rem;
    gap: .15rem;
  }

  header .navbar-nav .nav-item {
    width: 100%;
  }

  header .navbar-nav .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    border-radius: 10px;
    text-align: center;
    font-size: .92rem;
  }

  header .navbar-nav .nav-link:hover,
  header .navbar-nav .nav-link:focus {
    background: #eef2ff;
    color: var(--primary);
  }

  header .navbar-nav .nav-link[href="#contact-form-section"] {
    margin-top: .25rem;
    background: var(--primary);
    color: #fff;
  }
}

footer {
  background: #f5f5f5;
  padding: 1.2rem 0;
}

.floating-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, .12);
  padding: .6rem .8rem;
  z-index: 20000;
}

.floating-cta .btn-fc {
  width: 48%;
  font-size: .8rem;
  padding: .55rem .4rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: all var(--transition-fast);
}

.floating-cta .btn-fc:only-child {
  width: min(100%, 420px);
}

.btn-fc-primary {
  background: var(--gradient-primary);
  color: #fff !important;
}

.btn-fc-secondary {
  background: #fff;
  color: var(--primary) !important;
  border: 2px solid var(--primary);
}

/* ================================================================
   4. Main Visual
   ================================================================ */
/* Bootstrap Icons をインラインSVG化した際の縦位置調整（フォント時の vertical-align:-.125em を再現） */
svg.bi {
  vertical-align: -.125em;
  fill: currentColor;
}

.main-visual {
  background: #fafafa;
  padding: 3.5rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}

.main-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(255, 255, 255, .96) 0%,
      rgba(255, 255, 255, .90) 40%,
      rgba(255, 255, 255, .35) 70%,
      rgba(255, 255, 255, .05) 100%);
  pointer-events: none;
}

@media (max-width: 991px) {
  .main-visual::before {
    background: rgba(255, 255, 255, .88);
  }
}

.mv-container {
  position: relative;
  z-index: 1;
}

.mv-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  padding: .3rem .9rem;
  border-radius: 50px;
  margin-bottom: .8rem;
}

.mv-logo {
  max-width: 320px;
  margin-bottom: 1rem;
}

.mv-heading {
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1.65;
}

.mv-heading .hl {
  background: linear-gradient(transparent 60%, #b3e5fc 60%);
  padding: 0 3px;
}

.mv-sub {
  font-size: .95rem;
  color: #555;
  margin-top: .8rem;
  line-height: 1.8;
}

.mv-sub-line {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
}

.mv-numbers {
  display: flex;
  gap: 1.2rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}

.mv-num-item {
  text-align: center;
  background: #fff;
  border-radius: 12px;
  padding: .6rem 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e8eef5;
}

.mv-num-val {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
}

.mv-num-label {
  font-size: .7rem;
  color: #666;
}

.mv-note {
  font-size: .65rem;
  color: #999;
  margin-top: .6rem;
  line-height: 1.6;
}

.mv-visual-note {
  max-width: 576px;
  margin-left: auto;
  margin-right: auto;
  text-align: right;
}

.mv-cta-area {
  display: flex;
  gap: .8rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.mv-mockup {
  max-height: 400px;
}

/* [追加] ヒーローをグリッド化：既定は縦積み（タブレット/フォールバック）、PC(≥992px)で2カラム */
.mv-hero {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: .4rem;
}

.mv-hero .mv-visual {
  text-align: center;
}

@media (min-width: 992px) {
  .mv-hero {
    grid-template-columns: 1fr 1.4fr;
    grid-template-areas:
      "kicker  visual"
      "heading visual"
      "sub     visual"
      "numbers visual"
      "cta     visual";
    align-items: center;
    column-gap: 2rem;
  }

  .mv-hero .mv-kicker {
    grid-area: kicker;
  }

  .mv-hero .mv-heading {
    grid-area: heading;
  }

  .mv-hero .mv-sub {
    grid-area: sub;
  }

  .mv-hero .mv-numbers {
    grid-area: numbers;
  }

  .mv-hero .mv-visual {
    grid-area: visual;
  }

  .mv-hero .mv-cta-area {
    grid-area: cta;
  }
}

/* ================================================================
   5. Social Proof Bar
   ================================================================ */
.social-proof-bar {
  background: #f8f9fb;
  padding: 1.5rem 0;
  border-bottom: 1px solid #eee;
}

.sp-label {
  font-size: .75rem;
  color: #999;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .5rem;
  text-align: center;
}

.sp-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: .8rem;
}

.sp-stat {
  text-align: center;
}

.sp-stat-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
}

.sp-stat-label {
  font-size: .72rem;
  color: #888;
}

.sp-unit {
  font-size: .6em;
}

.sp-note {
  font-size: .65rem;
  color: #bbb;
}

/* ================================================================
   6. Info Bar
   ================================================================ */
.info-bar {
  background: var(--gradient-primary);
  padding: 1rem 0;
}

.info-bar p {
  color: #fff;
  font-size: 1rem;
  margin: 0;
  text-align: center;
  line-height: 1.7;
}

.info-bar .num {
  font-size: 1.3rem;
  font-weight: 900;
  color: #b3e5fc;
}

.info-campaign-deadline {
  font-weight: 800;
}

.info-campaign-main {
  color: #fff6a8;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  font-weight: 900;
  line-height: 1.3;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .18);
}

.info-campaign-sub {
  font-weight: 700;
}

/* ================================================================
   7. Section 共通
   ================================================================ */
section {
  padding: var(--section-py) 0;
}

.section-title {
  font-weight: 900;
  font-size: clamp(1.3rem, 2.8vw, 1.7rem);
  text-align: center;
  margin-bottom: .5rem;
  position: relative;
  color: var(--dark);
}

.section-title-white {
  color: #fff;
}

.text-nowrap-ja {
  white-space: nowrap;
}

.problem-title-break {
  display: none;
}

@media (max-width: 1199px) and (min-width: 576px) {
  .problem-title {
    font-size: clamp(1.35rem, 2.55vw, 1.62rem);
    white-space: nowrap;
  }
}

@media (max-width: 575px) {
  .problem-title-break {
    display: block;
  }
}

.section-subtitle {
  text-align: center;
  font-size: .9rem;
  color: #888;
  margin-bottom: 2.5rem;
}

.section-subtitle,
.service-desc,
.demo-desc-optional,
.contact-lead,
.flow-caption {
  text-align: center;
  word-break: keep-all;
  overflow-wrap: normal;
}

.section-label {
  display: inline-block;
  background: var(--light-bg);
  color: var(--accent2);
  font-size: .75rem;
  font-weight: 700;
  padding: .25rem .8rem;
  border-radius: 50px;
  margin-bottom: .6rem;
}

.section-label-dark {
  background: rgba(255, 255, 255, .15);
  color: #fff;
}

.section-divider {
  width: 50px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 0 auto 2.5rem;
}

/* [集約] 薄青背景セクションで英字タグ（PRICING等）が埋もれないよう白地に */
.service-section .section-label,
.steps-section .section-label,
.product-flow-section .section-label {
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
}

/* ================================================================
   8. Problems
   ================================================================ */
.problems {
  background: #fff;
}

.problem-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.2rem;
  text-align: center;
  height: 100%;
  transition: all var(--transition-base);
  position: relative;
}

.problem-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--accent);
}

.problem-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: var(--light-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: .8rem;
  color: var(--accent2);
}

.problem-text {
  font-size: .9rem;
  color: var(--dark);
  font-weight: 700;
  line-height: 1.7;
  margin: 0;
}

.problem-arrow {
  font-size: 2rem;
  color: var(--primary);
  margin: 1.5rem 0 .5rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(6px);
  }
}

.problem-resolve {
  font-size: clamp(1.3rem, 2.8vw, 1.7rem);
  color: var(--primary);
}

.problem-resolve-tail {
  white-space: nowrap;
}

@media (max-width: 1199px) {
  .problems .row>[class*="col-"] {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .problems .problem-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    text-align: left;
  }

  .problems .problem-icon {
    flex: 0 0 56px;
    margin: 0;
  }
}

.hl-marker {
  background: linear-gradient(transparent 60%, #b3e5fc 60%);
  padding: 0 3px;
}

/* ================================================================
   9. Service
   ================================================================ */
.service-section {
  background: var(--light-bg);
}

.service-logo {
  max-width: 280px;
}

.service-flow-img {
  max-width: 380px;
}

.service-desc {
  font-size: 1rem;
  line-height: 1.9;
  color: #444;
}

.stat-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: #fff;
  border-radius: 50px;
  padding: .45rem 1rem;
  margin: .25rem;
  font-weight: 700;
  font-size: .85rem;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  border: 1px solid #e8eef5;
}

.stat-badge .stat-num {
  color: var(--accent2);
  font-size: 1.15rem;
  font-weight: 900;
}

/* ================================================================
   10. Demo
   ================================================================ */
.demo-section {
  background: #fff;
}

.demo-card {
  background: #f8f9fb;
  border-radius: var(--radius-xl);
  padding: 1.8rem;
  height: 100%;
  border: 1px solid #e8e8e8;
  transition: all var(--transition-base);
}

.demo-card:hover {
  box-shadow: var(--shadow-md);
}

.demo-card h3 {
  font-weight: 900;
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: .5rem;
}

.demo-card p {
  font-size: .88rem;
  color: #555;
  line-height: 1.7;
}

@media (max-width: 1210px) {
  .demo-desc-optional {
    display: none !important;
  }
}

.demo-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  padding: .2rem .7rem;
  border-radius: 50px;
  margin-bottom: .6rem;
  color: #fff;
}

.demo-label.seller {
  background: var(--primary);
}

.demo-label.buyer {
  background: var(--accent);
}

.demo-icon-accent {
  color: var(--accent);
  margin-right: .2rem;
}

.demo-icon-primary {
  color: var(--primary);
  margin-right: .2rem;
}

.demo-card img {
  border-radius: 8px;
  border: 1px solid #ddd;
  width: 100%;
  max-height: 400px;
  object-fit: contain;
}

.demo-img-wrap {
  position: relative;
  cursor: pointer;
}

/* GIFをMP4動画化した際のインライン表示（imgと同じ振る舞い） */
.demo-card .demo-img-wrap video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: inherit;
}

.demo-zoom-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: .3rem .6rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: .3rem;
  opacity: 0;
  transition: opacity var(--transition-fast);
  pointer-events: none;
}

.demo-img-wrap:hover .demo-zoom-hint {
  opacity: 1;
}

.product-flow-section {
  background: var(--light-bg);
}

/* [集約] サービス概要のフロー図iframe（高さ確保・レスポンシブ）
   枠は透過（装飾なし）：中のページの背景もJSで透明化し、フロー図カードを
   セクション背景の上に直接浮かせる。overflow+radiusは中身の白背景の角丸クリップ用 */
.service-flow-iframe-wrap {
  position: relative;
  width: 100%;
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 1024 / 680;
  /* JSフィット前の初期高さ（フォールバック） */
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--light-bg);
}

.service-flow-iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* aspect-ratio 非対応ブラウザ向けフォールバック */
.flow-caption {
  display: none !important;
  width: calc(100% - clamp(2rem, 7.5vw, 5rem));
  max-width: min(100%, 1024px);
  margin-left: auto;
  margin-right: auto;
}

.flow-caption__compact {
  display: none;
}

@media (max-width: 1040px) {
  .service-desc-optional {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .flow-caption {
    display: none !important;
    width: 100%;
    max-width: 100%;
    font-size: .78rem;
    line-height: 1.7;
    padding: 0 .15rem;
  }
}

@supports not (aspect-ratio: 1 / 1) {
  .service-flow-iframe-wrap {
    height: 0;
    padding-bottom: 66.4%;
  }
}

/* ================================================================
   11. Results
   ================================================================ */
.results-section {
  background: linear-gradient(135deg, #1d2088 0%, #2a3cc7 50%, #0bb0f0 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.results-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, .05) 0%, transparent 70%);
  pointer-events: none;
}

.results-container {
  position: relative;
  z-index: 1;
}

.results-subtitle {
  opacity: .8;
  font-size: .88rem;
}

.result-card {
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  text-align: center;
  height: 100%;
  transition: all var(--transition-base);
}

.result-card:hover {
  background: rgba(255, 255, 255, .18);
  transform: translateY(-3px);
}

.result-icon {
  font-size: 2rem;
  margin-bottom: .5rem;
  opacity: .9;
}

.result-num {
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1.2;
}

.result-unit {
  font-size: .5em;
}

.result-label {
  font-size: .82rem;
  opacity: .85;
  margin-top: .3rem;
}

.result-note {
  font-size: .7rem;
  opacity: .6;
  margin-top: .2rem;
}

.results-note {
  font-size: .68rem;
  opacity: .5;
}

/* ================================================================
   12. Reasons
   ================================================================ */
.reasons {
  background: #fff;
}

.reason-card {
  background: #fff;
  border: none;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 1.8rem;
  height: 100%;
  transition: all var(--transition-base);
  border-left: 4px solid var(--accent);
  position: relative;
}

.reason-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.reason-card.featured {
  border-left-color: var(--primary);
  background: linear-gradient(135deg, #f4f5ff 0%, #fff 100%);
}

.reason-card.featured .reason-num {
  color: var(--primary);
}

.reason-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  opacity: .8;
}

.reason-title {
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--primary);
  margin: .6rem 0;
}

.reason-text {
  font-size: .88rem;
  color: #555;
  line-height: 1.8;
}

.reason-icon-img {
  width: 55px;
}

.rv-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  flex-wrap: wrap;
  padding: .8rem;
  background: #f8f9fb;
  border-radius: var(--radius-md);
  margin-top: .8rem;
}

.rv-flow-item {
  text-align: center;
  padding: .5rem .7rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .05);
  min-width: 80px;
}

.rv-flow-item .rv-icon {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: .1rem;
}

.rv-flow-item .rv-label {
  font-size: .68rem;
  font-weight: 700;
  color: var(--dark);
}

.rv-flow-item.active {
  background: var(--primary);
}

.rv-flow-item.active .rv-icon,
.rv-flow-item.active .rv-label {
  color: #fff;
}

.rv-flow-arrow {
  font-size: 1rem;
  color: var(--accent);
  font-weight: 900;
}

.rv-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .8rem;
}

.rv-badge {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  background: #f0f8ff;
  border: 1px solid #d0e8f8;
  border-radius: var(--radius-sm);
  padding: .3rem .6rem;
  font-size: .72rem;
  font-weight: 700;
  color: var(--primary);
}

.rv-check-list {
  list-style: none;
  padding: 0;
  margin: .6rem 0 0;
}

.rv-check-list li {
  font-size: .8rem;
  color: #444;
  padding: .2rem 0;
}

.rv-check-list li .bi-check-lg {
  color: var(--accent);
  font-size: .85rem;
  margin-right: .4rem;
}

/* ================================================================
   13. Features / Official Table
   ================================================================ */
.comparison-section {
  background: #f8f9fb;
}

.official-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.official-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 640px;
}

.official-table thead th {
  padding: 16px;
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  vertical-align: middle;
  border-bottom: 2px solid #e5e7eb;
  background: #fafbfc;
}

.official-table thead th:first-child {
  text-align: left;
}

.official-table thead th.highlight {
  background: var(--primary);
  color: #fff;
  border-radius: 8px 8px 0 0;
}

.official-table thead th.other {
  color: #999;
}

.ot-th-feature {
  min-width: 240px;
}

.ot-th-bcart {
  min-width: 170px;
}

.ot-th-other {
  min-width: 150px;
}

.ot-th-icon {
  font-size: 12px;
  opacity: .7;
}

.official-table .cat-row td {
  padding: 14px 16px 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  background: #f5f8ff;
  border-bottom: 1px solid #e0e6f0;
  border-top: 2px solid #e8ecf4;
}

.cat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-sm);
  background: #e3f2fd;
  color: var(--accent2);
  font-size: 13px;
  margin-right: 8px;
  vertical-align: middle;
}

.cat-icon.invoice {
  background: #e8f5e9;
  color: #2e7d32;
}

.cat-icon.credit {
  background: #ede7f6;
  color: #5e35b1;
}

.official-table tbody tr:not(.cat-row):hover {
  background: #f8faff;
}

.official-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid #f0f1f3;
  vertical-align: middle;
}

.official-table tbody td:nth-child(2),
.official-table tbody td:nth-child(3) {
  text-align: center;
  font-size: 13px;
}

.fn-name {
  display: block;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--primary);
  line-height: 1.4;
}

.fn-desc {
  display: block;
  font-weight: 400;
  font-size: 11.5px;
  color: #999;
  margin-top: 2px;
  line-height: 1.4;
}

.official-table tbody td.hl {
  background: rgba(2, 119, 189, .03);
}

.hl-icon {
  display: inline-block;
  font-size: 18px;
  vertical-align: middle;
}

.hl-icon.check {
  color: var(--accent2);
}

.hl-icon.none {
  color: #d0d0d0;
}

.hl-icon.partial {
  color: #f5a623;
}

.hl-text {
  font-size: 11.5px;
  color: var(--accent2);
  font-weight: 500;
  display: block;
  margin-top: 3px;
}

.other-text {
  font-size: 11.5px;
  color: #aaa;
  display: block;
  margin-top: 3px;
}

.exclusive-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  background: #fef0ed;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}

.official-table-more {
  display: none;
}

.official-table-more.show {
  display: table-row-group;
}

.official-expand-bar {
  text-align: center;
  padding: 14px 0;
  position: relative;
}

.official-expand-bar::before {
  content: '';
  position: absolute;
  top: -32px;
  left: 0;
  right: 0;
  height: 32px;
  background: linear-gradient(transparent, #fff);
  pointer-events: none;
}

.official-expand-bar.expanded::before {
  display: none;
}

.official-expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent2);
  background: none;
  border: 1px solid #bdd7ef;
  padding: 9px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.official-expand-btn:hover {
  background: #e3f2fd;
  border-color: var(--accent2);
}

.official-expand-btn i {
  transition: transform var(--transition-base);
}

.official-expand-btn.rotated i {
  transform: rotate(180deg);
}

.table-note {
  font-size: 11px;
  color: #aaa;
  text-align: center;
  margin-top: 16px;
}

.bottom-message {
  text-align: center;
  margin-top: 28px;
  padding: 22px 20px;
  background: #f5f8ff;
  border-radius: var(--radius-md);
  border: 1px solid #e0e6f0;
}

.bottom-message p {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.bottom-message span {
  font-size: 12.5px;
  color: #888;
}

.bottom-message-icon {
  color: var(--accent2);
}

/* ================================================================
   14. Mid CTA
   ================================================================ */
.mid-cta {
  background: linear-gradient(135deg, #f0f8ff 0%, #e8f4fd 100%);
  padding: 2.5rem 0;
  text-align: center;
}

.mid-cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.mid-cta-text {
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: .3rem;
}

.mid-cta-sub {
  font-size: .82rem;
  color: #888;
  margin-bottom: 1rem;
}

/* ================================================================
   15. Testimonials
   ================================================================ */
.testimonials {
  background: #f8f9fb;
}

.testi-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 1.8rem;
  height: 100%;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  position: relative;
}

.testi-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.testi-industry {
  display: inline-block;
  background: var(--light-bg);
  color: var(--accent2);
  font-size: .7rem;
  font-weight: 700;
  padding: .2rem .6rem;
  border-radius: 4px;
  margin-bottom: .6rem;
}

.testi-text {
  font-size: .88rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: .8rem;
  border-top: 1px solid #f0f0f0;
  padding-top: .8rem;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent2);
  flex-shrink: 0;
}

.testi-name {
  font-weight: 700;
  font-size: .82rem;
  color: var(--dark);
}

.testi-role {
  font-size: .72rem;
  color: #999;
}

.testi-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: #fff3e0;
  color: #e67e22;
  font-size: .68rem;
  font-weight: 700;
  padding: .15rem .5rem;
  border-radius: 4px;
  margin-top: .2rem;
}

/* ================================================================
   16. Supplier Section (旧Buyerセクションリプレイス)
   ================================================================ */
.supplier-section {
  background: var(--light-bg);
}

.supplier-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.2rem;
  text-align: center;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid transparent;
}

.supplier-card:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
  transform: translateY(-2px);
}

.supplier-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--light-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: .6rem;
  color: var(--accent2);
}

.supplier-card-title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .4rem;
}

.supplier-card-desc {
  font-size: .82rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.supplier-sub-title {
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--primary);
  text-align: center;
  margin: 2.5rem 0 .3rem;
  padding-top: 2rem;
  border-top: 1px solid #d8e8f0;
}

.supplier-sub-title-icon {
  color: var(--accent);
}

.supplier-sub-desc {
  text-align: center;
  font-size: .85rem;
  color: #888;
  margin-bottom: 1.8rem;
}

/* ================================================================
   17. Invoice / Screen Cards (旧請求書カード流用)
   ================================================================ */
.inv-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 1.3rem;
  height: 100%;
  border: 1px solid #e0e0e0;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.inv-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.inv-card.inv-main {
  border: 2px solid var(--accent);
  position: relative;
}

.inv-card-head {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .8rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid #f0f0f0;
}

.inv-card-ico {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}

.inv-card-ico--accent {
  background: var(--accent);
}

.inv-card-ico--primary {
  background: var(--primary);
}

.inv-card-ico--postal {
  background: #7c8a97;
}

.inv-card-ttl {
  font-weight: 900;
  font-size: .9rem;
  color: var(--dark);
}

.inv-card-sub {
  font-size: .68rem;
  color: #999;
  margin-top: .1rem;
}

.inv-img-wrap {
  background: #fafbfc;
  border-radius: 8px;
  border: 1px solid #e8e8e8;
  padding: .4rem;
  margin-bottom: .8rem;
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.inv-img-wrap:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(11, 176, 240, .12);
}

.inv-img-wrap img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  border-radius: 4px;
}

.inv-zoom-hint {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: .58rem;
  font-weight: 700;
  padding: .2rem .5rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: .2rem;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.inv-img-wrap:hover .inv-zoom-hint {
  opacity: 1;
}

/* アノテーション吹き出し */
.inv-anno {
  position: absolute;
  background: var(--primary);
  color: #fff;
  font-size: .58rem;
  font-weight: 700;
  padding: .2rem .45rem;
  border-radius: 4px;
  white-space: nowrap;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
  pointer-events: none;
}

.inv-anno .an {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 13px;
  height: 13px;
  background: var(--accent);
  color: #fff;
  font-size: .48rem;
  font-weight: 900;
  border-radius: 50%;
  margin-right: .15rem;
}

.col-lg-3 .inv-card .inv-anno {
  max-width: 85%;
  white-space: normal;
  font-size: .65rem;
  padding: 3px 8px;
}

/* 位置マッピング */
.inv-anno--mail-1 {
  top: 25%;
  right: 5%;
}

.inv-anno--mail-2 {
  top: 55%;
  left: 5%;
}

.inv-anno--inv-1 {
  top: 12%;
  left: 6%;
}

.inv-anno--inv-2 {
  top: 40%;
  right: 6%;
}

.inv-anno--inv-3 {
  top: 62%;
  left: 8%;
}

.inv-anno--inv-4 {
  top: 82%;
  right: 8%;
}

.inv-anno--env-1 {
  top: 20%;
  right: 10%;
}

.inv-anno--env-2 {
  top: 60%;
  left: 10%;
}

.inv-email-preview {
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid #e0e0e0;
  padding: .5rem .6rem;
  font-size: .68rem;
  color: #444;
  margin-bottom: .6rem;
}

.inv-email-from {
  color: #999;
}

.inv-email-subj {
  font-weight: 700;
  color: var(--dark);
}

.inv-email-attach {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  background: #f5f5f5;
  border-radius: 3px;
  padding: .15rem .4rem;
  font-size: .62rem;
  color: var(--primary);
}

.inv-points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.inv-points li {
  font-size: .78rem;
  color: #444;
  padding: .3rem 0 .3rem 1.3rem;
  position: relative;
  line-height: 1.5;
  border-bottom: 1px solid #f5f5f5;
}

.inv-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: .78rem;
  top: .35rem;
  font-weight: 700;
}

.inv-desc-grid {
  background: #f8f9fb;
  border-radius: 8px;
  padding: .8rem;
  margin: .5rem 0;
}

.inv-desc-item {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  font-size: .72rem;
  color: #444;
  line-height: 1.4;
  padding: .2rem 0;
}

.inv-desc-item strong {
  display: block;
  font-size: .74rem;
}

.inv-desc-item small {
  display: block;
  width: 100%;
  color: #888;
  font-size: .66rem;
}

.inv-desc-badge {
  background: var(--accent);
  font-size: .5rem;
}

.btn-inv-dl {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: #fff;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 700;
  font-size: .75rem;
  padding: .4rem 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition-fast);
  margin-top: .3rem;
}

.btn-inv-dl:hover {
  background: var(--primary);
  color: #fff;
}

.inv-badge-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #d8e8f0;
}

.inv-bb {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: #fff;
  border: 1px solid #d0e8f8;
  border-radius: var(--radius-sm);
  padding: .4rem .8rem;
  font-size: .72rem;
  font-weight: 700;
  color: var(--primary);
}

.inv-bb i {
  font-size: .85rem;
  color: var(--accent);
}

/* ================================================================
   18. Pricing
   ================================================================ */
.price-section {
  background: #fff;
}

.price-highlight {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--primary);
  text-align: center;
  margin-bottom: 2rem;
}

.price-highlight span {
  font-size: 1.8rem;
  color: var(--accent2);
}

.price-highlight-short {
  display: none;
}

@media (max-width: 1199px) {
  .price-highlight-long {
    display: none;
  }

  .price-highlight-short {
    display: inline;
  }

  .mvp-plans {
    max-width: 720px;
  }

  .mvp-plan {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .price-section .fold-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    width: 100%;
    margin: .2rem 0 1rem;
    padding: .7rem 1rem;
    background: #fff;
    border: 1px solid #c7d2fe;
    border-radius: 10px;
    color: #4338ca;
    font-weight: 700;
    font-size: .9rem;
    cursor: pointer;
  }

  .price-section .fold-toggle::after {
    content: "▼";
    font-size: .7em;
  }

  .price-section .fold-cb:checked~.fold-toggle::after {
    content: "▲";
  }

  .price-section .fold-body {
    display: none;
  }

  .price-section .fold-cb:checked~.fold-body {
    display: block;
  }
}

.plan-card {
  border: none;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, .07);
  transition: all var(--transition-base);
  height: 100%;
}

.plan-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.plan-header {
  padding: 1.3rem;
  text-align: center;
  color: #fff;
}

.plan-a .plan-header {
  background: linear-gradient(135deg, #0bb0f0, #10a0e9);
}

.plan-b .plan-header {
  background: linear-gradient(135deg, #0990d0, #0880c0);
}

.plan-name {
  font-size: 1.1rem;
  font-weight: 700;
}

.plan-target {
  font-size: .75rem;
  opacity: .9;
  margin-top: .2rem;
}

.plan-rate {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.1;
}

.plan-rate-label {
  font-size: .8rem;
  font-weight: 400;
}

.plan-rate-sub {
  font-size: .75rem;
  opacity: .85;
}

.plan-body {
  padding: 1.2rem;
  text-align: center;
}

.plan-enterprise {
  border: 2px dashed var(--accent);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.plan-header-enterprise {
  background: #fff;
  color: var(--primary);
  border-bottom: 1px solid #e8e8e8;
}

.plan-target-enterprise {
  color: #666;
}

.plan-rate-enterprise {
  font-size: 1.8rem;
  color: var(--primary);
}

.plan-rate-sub-enterprise {
  font-size: .75rem;
  color: #999;
}

.plan-body-enterprise {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.plan-enterprise-text {
  font-size: .85rem;
  color: #555;
  margin-bottom: .8rem;
}

.btn-enterprise-cta {
  font-size: .82rem;
  padding: .6rem 1.2rem;
}

.price-detail-wrap {
  background: #f9fafb;
  border-radius: 12px;
}

.price-detail-heading {
  font-size: .9rem;
}

.price-detail-table {
  font-size: .85rem;
}

.price-detail-table td {
  padding: .35rem .6rem;
  border-bottom: 1px solid #eee;
}

.price-detail-table td:first-child {
  color: #666;
  text-align: left;
}

.price-detail-table td:last-child {
  font-weight: 700;
  text-align: right;
}

.price-free {
  color: var(--accent2);
  font-weight: 900;
}

/* [集約] 料金ブロックの可読性改善（旧インライン） */
.price-section .rv-check-list {
  text-align: left;
}

.price-section .rv-check-list li {
  font-size: .92rem;
  color: #333;
  padding: .35rem 0;
  display: flex;
  align-items: flex-start;
  line-height: 1.5;
}

.price-section .rv-check-list li .bi-check-lg {
  font-size: .95rem;
  margin-right: .5rem;
  margin-top: .18rem;
  flex-shrink: 0;
}

.price-section .price-detail-wrap {
  background: #fff;
  border: 1px solid #e8eef5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}

.price-section .price-detail-heading {
  font-size: .95rem;
}

/* [集約] 料金カード（久社レイアウト準拠・Bカート配色） */
.mvp-plans {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto 1.5rem;
}

.mvp-plan {
  flex: 1 1 440px;
  max-width: 480px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--plan-tint);
  box-shadow: 0 2px 16px rgba(0, 0, 0, .07);
  display: flex;
  flex-direction: column;
}

.mvp-plan__header {
  background: var(--plan-theme);
  padding: 16px 20px;
  text-align: center;
  position: static;
  top: auto;
  z-index: auto;
  box-shadow: none;
}

.mvp-plan-title {
  color: #fff;
  font-weight: 900;
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0;
}

.mvp-plan__body {
  padding: 18px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.mvp-plan__pricings {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mvp-plan-pricing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0;
  min-height: 44px;
}

.mvp-plan-pricing__head {
  background: #fff;
  color: var(--plan-theme);
  font-weight: 700;
  font-size: .78rem;
  padding: .32rem .9rem;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
  margin: 0;
}

.mvp-plan-pricing__body {
  margin: 0;
  display: flex;
  align-items: baseline;
}

.mvp-plan-pricing__body--campaign {
  align-items: center;
  gap: 8px;
}

.mvp-price-old {
  color: #9ca3af;
  font-size: .95rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: line-through;
  white-space: nowrap;
  transform: translateY(-1px);
}

.mvp-price-arrow {
  color: #ef4444;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
}

.mvp-price-free {
  color: #e11d48;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.mvp-campaign-badge {
  align-self: center;
  margin: -2px 0 4px;
  padding: .42rem 1rem;
  border-radius: 999px;
  background: #ffdce5;
  color: #d4143a;
  font-size: .78rem;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
}

.mvp-price__value {
  font-size: 1.9rem;
  font-weight: 900;
  color: #1f2937;
  line-height: 1;
}

.mvp-price__addon {
  font-size: .9rem;
  font-weight: 700;
  color: #1f2937;
  margin-left: 2px;
}

.mvp-priceText {
  font-size: 1.55rem;
  font-weight: 900;
  color: #1f2937;
  margin: 0;
  line-height: 1;
}

.mvp-plan__details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mvp-plan-detail {
  background: #fff;
  border-radius: 12px;
  padding: 16px 18px;
}

.mvp-plan-detail-title {
  text-align: center;
  font-weight: 700;
  font-size: .95rem;
  color: #374151;
  margin: 0 0 10px;
}

.mvp-plan-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mvp-plan-list__item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: .32rem 0;
  font-size: .92rem;
  color: #333;
  line-height: 1.5;
}

.mvp-plan-list__item .mvp-check {
  color: var(--plan-theme);
  font-size: .95rem;
  flex-shrink: 0;
  margin-top: .12rem;
}

.mvp-plan-list__item .mvp-opt-price {
  margin-left: auto;
  font-weight: 700;
  white-space: nowrap;
  color: #1f2937;
  padding-left: 8px;
}

.mvp-plan__notes {
  font-size: .75rem;
  color: #6b7280;
  margin: 2px 0 0;
}

.mvp-plan__fold-notes {
  display: none;
}

.mvp-plan__cta {
  margin-top: auto;
  text-align: center;
  padding-top: 8px;
}

.mvp-plan__cta a {
  display: inline-block;
  background: var(--plan-theme);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  padding: .6rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity .2s ease;
}

.mvp-plan__cta a:hover {
  opacity: .88;
}

/* ================================================================
   19. Steps
   ================================================================ */
.steps-section {
  background: var(--light-bg);
}

.step-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 1.8rem 1.3rem;
  text-align: center;
  height: 100%;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--transition-base);
}

.step-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--gradient-accent);
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  border-radius: 50%;
  margin-bottom: .8rem;
}

.step-icon-img {
  width: 50px;
  margin-bottom: .8rem;
}

.step-title {
  font-weight: 900;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: .6rem;
}

.step-text {
  font-size: .85rem;
  color: #555;
  line-height: 1.7;
}

.step-highlight {
  color: var(--accent2);
  font-size: 1.05rem;
}

/* [集約] FLOWステップのBootstrapアイコン（画像アイコンと高さを合わせる） */
.steps-section .step-icon-bi {
  font-size: 46px;
  line-height: 50px;
  color: var(--accent2);
  display: block;
  margin: 0 auto .8rem;
  height: 50px;
}

@media (max-width: 1199px) {
  .steps-section .row.g-3.justify-content-center.mb-4.pb-2 {
    display: none;
  }

  .steps-section .step-icon-bi,
  .steps-section .step-text {
    display: none;
  }

  .steps-section .row-cols-2>* {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .steps-section .step-card {
    padding: .7rem 1rem;
    display: flex;
    align-items: center;
    gap: .8rem;
    text-align: left;
  }

  .steps-section .step-card .step-num {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .steps-section .step-card .step-title {
    margin-bottom: 0;
  }

  .demo-section .col-auto.d-none.d-md-block,
  .product-flow-section .col-auto.d-none.d-md-block {
    display: none !important;
  }

  .demo-section .p-3.rounded-3 .bi,
  .product-flow-section .p-3.rounded-3 .bi {
    display: none;
  }

  .demo-section .col-6.col-md-auto,
  .product-flow-section .col-6.col-md-auto {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
    min-width: 0 !important;
  }

  .demo-section .p-3.rounded-3,
  .product-flow-section .p-3.rounded-3 {
    padding: .7rem .9rem !important;
    display: flex;
    align-items: center;
    gap: .6rem;
    text-align: left;
  }

  .demo-section .p-3.rounded-3 p,
  .product-flow-section .p-3.rounded-3 p {
    order: 1;
    flex: 1 1 auto;
    text-align: left;
    margin: 0;
  }

  .demo-section .p-3.rounded-3 .badge,
  .product-flow-section .p-3.rounded-3 .badge {
    order: 2;
    margin: 0 0 0 auto !important;
    flex-shrink: 0;
  }

  .demo-section .p-3.rounded-3 br,
  .product-flow-section .p-3.rounded-3 br {
    display: none;
  }
}

.user-type-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  height: 100%;
}

.user-type-box:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
}

.user-type-title {
  font-weight: 900;
  color: var(--primary);
  font-size: .95rem;
  margin-bottom: .4rem;
}

.user-type-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #fff;
  font-size: .75rem;
  margin-right: .3rem;
}

.user-type-icon--primary {
  background: var(--primary);
}

.user-type-icon--accent {
  background: var(--accent);
}

.user-type-desc {
  font-size: .85rem;
  color: #555;
}

.btn-user-type {
  font-size: .82rem;
  padding: .5rem 1.2rem;
}

/* [集約] FLOW下のユーザータイプボックスを中央揃え */
.steps-section .user-type-box {
  text-align: center;
}

.steps-section .user-type-title {
  justify-content: center;
  display: flex;
  align-items: center;
}

/* ================================================================
   20. FAQ
   ================================================================ */
.faq-section {
  background: #fff;
}

.faq-cat-title {
  font-weight: 900;
  color: var(--primary);
  font-size: .9rem;
  margin: 1.5rem 0 .8rem;
  padding-left: .7rem;
  border-left: 3px solid var(--accent);
}

.faq-item {
  border: 1px solid #e8e8e8;
  border-radius: var(--radius-md);
  margin-bottom: .5rem;
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  gap: .9rem;
  font-weight: 700;
  font-size: .9rem;
  color: var(--dark);
  padding: .8rem 2.5rem .8rem 1.2rem;
  cursor: pointer;
  list-style: none;
  position: relative;
  line-height: 1.5;
}

.faq-item summary::before {
  content: 'Q';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: .45rem;
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  flex: 0 0 auto;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  font-weight: 400;
  color: #999;
}

.faq-item[open] summary::after {
  content: '-';
}

.faq-item[open] summary {
  background: #f0f8ff;
  color: var(--primary);
}

.faq-answer {
  padding: .8rem 1.2rem;
  font-size: .88rem;
  line-height: 1.8;
  color: #555;
  border-top: 1px solid #eee;
}

.faq-all-link {
  color: var(--accent2);
  font-weight: 700;
  text-decoration: none;
}

/* ================================================================
   21. Contact
   ================================================================ */
.contact-section {
  background: var(--gradient-primary);
  color: #fff;
  text-align: center;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 50%;
  height: 160%;
  background: radial-gradient(ellipse, rgba(11, 176, 240, .2) 0%, transparent 70%);
  pointer-events: none;
}

.contact-container {
  position: relative;
  z-index: 1;
}

.contact-lead {
  opacity: .85;
  font-size: .92rem;
  margin-bottom: 1.5rem;
}

.btn-cta-contact {
  background: #fff;
  color: var(--primary) !important;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  padding: .85rem 2rem;
  font-size: 1rem;
  transition: all var(--transition-fast);
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
}

.btn-cta-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
}

.btn-cta-contact-outline {
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, .6);
  border-radius: 8px;
  font-weight: 700;
  padding: .8rem 2rem;
  font-size: 1rem;
  transition: all var(--transition-fast);
  text-decoration: none;
  display: inline-block;
}

.btn-cta-contact-outline:hover {
  background: #fff;
  color: var(--primary) !important;
  transform: translateY(-2px);
}

.btn-micro-light {
  color: rgba(255, 255, 255, .6);
}

.contact-divider {
  border-top: 1px solid rgba(255, 255, 255, .15);
  padding-top: 1.5rem;
  margin-top: 1rem;
}

.contact-info-label {
  opacity: .8;
  font-size: .88rem;
  margin-bottom: .3rem;
}

.contact-info-text {
  opacity: .7;
  font-size: .82rem;
  margin-bottom: .3rem;
}

.contact-link {
  color: #b3e5fc;
  text-decoration: none;
}

.contact-footer {
  margin-top: 1rem;
  padding-top: .5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.contact-footer-text {
  opacity: .5;
}

/* [集約] コンタクト末尾リンク集 */
.contact-links {
  line-height: 2;
}

.contact-links-sep {
  color: rgba(255, 255, 255, .35);
  margin: 0 .5rem;
  font-size: .8rem;
}

/* ================================================================
   22. Lightbox
   ================================================================ */
.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .85);
  z-index: 30000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  cursor: zoom-out;
}

.lb-overlay.active {
  display: flex;
}

.lb-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lb-img-box {
  overflow: auto;
  max-height: 80vh;
  border-radius: 8px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, .4);
  cursor: default;
  position: relative;
}

.lb-img-box img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  cursor: pointer;
}

.lb-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  opacity: .8;
}

.lb-close:hover {
  opacity: 1;
}

.lb-cap {
  color: #fff;
  font-size: .78rem;
  text-align: center;
  margin-top: .6rem;
  opacity: .8;
}

/* ================================================================
   23. Utilities
   ================================================================ */
.btn-cta-primary {
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  padding: .85rem 1.8rem;
  font-size: .95rem;
  transition: all var(--transition-fast);
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 14px rgba(29, 32, 136, .25);
}

.btn-cta-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(29, 32, 136, .35);
}

.btn-cta-secondary {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 8px;
  font-weight: 700;
  padding: .8rem 1.8rem;
  font-size: .95rem;
  transition: all var(--transition-fast);
  text-decoration: none;
  display: inline-block;
}

.btn-cta-secondary:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-micro {
  font-size: .72rem;
  color: #888;
  margin-top: .3rem;
  display: block;
  text-align: center;
}

/* [集約] ヒーローCTA：カードとの余白を詰め、主役ボタンとして一回り大きく */
.mv-cta-area {
  margin-top: 1rem;
}

.mv-cta-area .btn-cta-primary {
  padding: 1rem 2.4rem;
  font-size: 1.05rem;
  box-shadow: 0 6px 20px rgba(29, 32, 136, .30);
}

@media (max-width: 1360px) {
  .mv-hero-download-cta {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .service-desc-prefix {
    display: none;
  }
}

/* ================================================================
   23b. Fold / Collapse (スマホのみ折りたたみ・純CSS)
   PCでは常時展開（トグル非表示・本体表示）、スマホのみ初期折りたたみ
   ================================================================ */
.fold-cb {
  display: none;
}

.fold-toggle {
  display: none;
}

/* ================================================================
   24. Responsive
   ================================================================ */
@media (max-width: 767px) {
  section {
    padding: var(--section-py-sm) 0;
  }

  body {
    padding-top: 74px;
    padding-bottom: 55px;
  }

  .floating-cta {
    display: flex;
    gap: .4rem;
    justify-content: center;
  }

  .floating-cta .btn-fc {
    width: min(100%, 420px);
    font-size: .95rem;
    padding: .75rem .8rem;
  }

  .mv-visual-note {
    text-align: center;
  }

  .mv-mockup {
    max-height: 260px;
  }

  .official-table {
    font-size: 13px;
  }

  .official-table thead th {
    font-size: 12px;
    padding: 10px;
  }

  .official-table tbody td {
    padding: 11px 10px;
  }

  .fn-name {
    font-size: 12.5px;
  }

  .fn-desc {
    font-size: 10.5px;
  }

  .cat-icon {
    width: 22px;
    height: 22px;
    font-size: 11px;
    margin-right: 6px;
  }

  .official-expand-btn {
    font-size: 12px;
    padding: 8px 18px;
  }

  /* [集約] 料金カード：モバイルでは縦積み */
  .mvp-plan {
    flex: 1 1 100%;
    max-width: 100%;
  }

  /* [復活] ヒーローのモックアップ画像はスマホでも表示する（max-height:260px で縮小表示） */
  /* ※ヒーローのレイアウト定義は「〜991px」ブロックへ移設（タブレット帯にも適用するため） */
  /* [SP] PROBLEMカード：縦1列（4枚積み）・アイコン非表示・余白圧縮 */
  .problems .row>[class*="col-"] {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .problem-card .problem-icon {
    display: none;
  }

  .problem-card {
    padding: 1rem .9rem;
  }

  .problem-text {
    font-size: .82rem;
    line-height: 1.6;
  }

  /* [積極案・SP] DEMO/商品登録フローのステップ：縦1列・低背・アイコン非表示 */
  .demo-section .p-3.rounded-3 .bi,
  .product-flow-section .p-3.rounded-3 .bi {
    display: none;
  }

  .demo-section .col-6.col-md-auto,
  .product-flow-section .col-6.col-md-auto {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
    min-width: 0 !important;
  }

  .demo-section .p-3.rounded-3,
  .product-flow-section .p-3.rounded-3 {
    padding: .7rem .9rem !important;
    display: flex;
    align-items: center;
    gap: .6rem;
    text-align: left;
  }

  /* テキストを左端に、タグ（商社/メーカー/会員）を右端に配置 */
  .demo-section .p-3.rounded-3 p,
  .product-flow-section .p-3.rounded-3 p {
    order: 1;
    flex: 1 1 auto;
    text-align: left;
    margin: 0;
  }

  .demo-section .p-3.rounded-3 .badge,
  .product-flow-section .p-3.rounded-3 .badge {
    order: 2;
    margin: 0 0 0 auto !important;
    flex-shrink: 0;
  }

  .demo-section .p-3.rounded-3 br,
  .product-flow-section .p-3.rounded-3 br {
    display: none;
  }

  /* [SP] FLOWステップ：縦1列・アイコンと説明文を非表示、番号＋タイトルを1行で */
  .steps-section .step-icon-bi {
    display: none;
  }

  .steps-section .step-text {
    display: none;
  }

  .steps-section .row-cols-2>* {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .step-card {
    padding: .7rem 1rem;
    display: flex;
    align-items: center;
    gap: .7rem;
    text-align: left;
  }

  .step-card .step-num {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .step-card .step-title {
    margin-bottom: 0;
  }

  /* [SP] フロー図iframe：横幅いっぱい＆縦を長めに（狭幅でラベルが折り返し縦に伸びるため、下切れ防止で縦長比率へ） */
  .service-flow-iframe-wrap {
    border-radius: var(--radius-md);
    margin-left: -.5rem;
    margin-right: -.5rem;
    width: calc(100% + 1rem);
    aspect-ratio: 1024 / 860;
  }

  /* [SP] セクション余白の圧縮（継ぎ目の間延び対策） */
  :root {
    --section-py-sm: 2rem;
  }

  .section-divider {
    margin-bottom: 1.5rem;
  }

  .section-subtitle {
    margin-bottom: 1.5rem;
  }

  /* [SP] 見出しの日本語を語の途中で折り返さない（折り返し点がない長文は任意折りで、はみ出し防止） */
  .section-title {
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  /* [SP] 余白圧縮 第2弾：セクション継ぎ目・ユーティリティ余白の重なりを解消 */
  /* 可視性保証ルール（body.multivendor-lp .row{display:flex!important}）に負けないよう d-none を強制 */
  body.multivendor-lp .row.d-none,
  .row.d-none {
    display: none !important;
  }

  .main-visual {
    padding-bottom: 1.25rem;
  }

  .problem-arrow {
    margin: .75rem 0 .25rem;
  }

  .problems .problem-resolve {
    font-size: clamp(1.18rem, 4.8vw, 1.5rem);
    line-height: 1.45;
    margin-bottom: .5rem !important;
    padding-bottom: 0 !important;
  }

  .fold-toggle {
    margin: .2rem 0 .5rem;
  }

  .demo-section .row.justify-content-center.mb-4 {
    margin-bottom: 1rem !important;
  }

  .demo-section .row.g-4.mb-4.pb-2 {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .product-flow-section .row.mb-4 {
    margin-bottom: 1rem !important;
  }

  .price-highlight {
    font-size: 1.05rem;
    margin-bottom: 1rem;
  }

  .mvp-plans {
    gap: 14px;
    margin-bottom: 1.25rem;
  }

  .mvp-plan__body {
    padding: 14px 16px 14px;
    gap: 10px;
  }

  .price-notes-outside {
    display: none;
  }

  .mvp-plan__fold-notes {
    display: block;
    color: #64748b;
    font-size: .78rem;
    line-height: 1.7;
    text-align: center;
    margin-top: .75rem;
  }

  .mvp-plan__fold-notes p {
    margin: 0 0 .45rem;
  }

  .price-section .container {
    padding-bottom: 76px;
  }

  .price-section .text-center.mt-3.mb-4.pb-2 {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .steps-section .row.g-3.mb-4:not(.pb-2) {
    margin-bottom: 1rem !important;
  }

  .steps-section .row.g-3.mb-4.pb-2 {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .faq-section .row.mb-4.pb-2 {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .contact-section {
    padding: 2.5rem 0;
  }

  .contact-section .mb-4 {
    margin-bottom: 1rem !important;
  }

  /* [SP] PROBLEMカードの手動改行を解除し、幅に合わせた自然折り返しに */
  .problem-text br {
    display: none;
  }

  /* [SP] 比較表：横スクロールをやめ、行ごとのカードに組み替え（3者の対比は維持） */
  .mv-compare-table {
    display: block;
    min-width: 0 !important;
  }

  .mv-compare-table thead {
    display: none;
  }

  .mv-compare-table tbody {
    display: block;
  }

  .mv-compare-table tr {
    display: block;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 10px;
  }

  .mv-compare-table td {
    display: block;
    width: auto !important;
    text-align: left !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 3px 0 !important;
    font-size: .85rem;
  }

  .mv-compare-table td:first-child {
    font-weight: 700;
    color: #334155;
    font-size: .9rem;
    margin-bottom: 6px;
    padding-bottom: 6px !important;
    border-bottom: 1px dashed #e2e8f0 !important;
  }

  .mv-compare-table td:nth-child(2) {
    color: #312e81;
    font-weight: 700;
  }

  .mv-compare-table td:nth-child(2)::before {
    content: "本サービス：";
    color: #4338ca;
  }

  .mv-compare-table td:nth-child(3),
  .mv-compare-table td:nth-child(4) {
    color: #94a3b8;
  }

  .mv-compare-table td:nth-child(3)::before {
    content: "マーケットプレイス：";
    font-weight: 700;
  }

  .mv-compare-table td:nth-child(4)::before {
    content: "ドロップシッピング：";
    font-weight: 700;
  }

  /* [SP] 折りたたみUI：トグル表示・本体は初期非表示、チェックで展開 */
  .fold-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    width: 100%;
    margin: .2rem 0 1rem;
    padding: .7rem 1rem;
    background: #fff;
    border: 1px solid #c7d2fe;
    border-radius: 10px;
    color: #4338ca;
    font-weight: 700;
    font-size: .9rem;
    cursor: pointer;
  }

  .fold-toggle::after {
    content: "▼";
    font-size: .7em;
  }

  .fold-cb:checked~.fold-toggle::after {
    content: "▲";
  }

  .fold-body {
    display: none;
  }

  .fold-cb:checked~.fold-body {
    display: block;
  }
}

/* ================================================================
   25. Responsive 追補
   ================================================================ */
/* [〜991px] ヒーロー：キッカー→H1（1行）→画像→CTA。サブ文・実績カードは非表示
   （スマホ横向き・タブレット縦もこのレイアウトでカバー） */
@media (max-width: 991px) {
  .main-visual {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }

  .mv-hero {
    grid-template-areas:
      "kicker"
      "heading"
      "visual"
      "cta";
    row-gap: 1rem;
  }

  .mv-hero .mv-kicker {
    grid-area: kicker;
    text-align: center;
    margin-bottom: 0;
    font-size: clamp(.68rem, 3.4vw, .82rem) !important;
  }

  .mv-hero .mv-heading {
    grid-area: heading;
    text-align: center;
    font-size: clamp(.95rem, 4.5vw, 1.5rem);
    line-height: 1.45;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .mv-heading-line {
    display: inline-block;
    white-space: nowrap;
    max-width: 100%;
  }

  .mv-heading-brand {
    display: block !important;
    white-space: normal;
    font-size: .62em;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: .02em;
    margin-top: .35rem;
  }

  .mv-hero .mv-visual {
    grid-area: visual;
  }

  .mv-hero .mv-cta-area {
    grid-area: cta;
    display: block;
    text-align: center;
  }

  .mv-hero .mv-cta-area .btn-cta-primary {
    display: block;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
  }

  .mv-hero .mv-sub,
  .mv-hero .mv-numbers {
    display: none;
  }
}

/* [タブレット帯 768〜991px] DEMO/OPTIONステップ：矢印を消して3列グリッドに整列。
   フロー図iframeは中間比率で下切れを防止 */
@media (min-width: 768px) and (max-width: 991px) {

  .demo-section .col-auto.d-none.d-md-block,
  .product-flow-section .col-auto.d-none.d-md-block {
    display: none !important;
  }

  .demo-section .col-6.col-md-auto,
  .product-flow-section .col-6.col-md-auto {
    flex: 0 0 32%;
    max-width: 32%;
    min-width: 0 !important;
  }

  .service-flow-iframe-wrap {
    aspect-ratio: 1024 / 760;
  }
}

/* [極小幅 〜400px] ヘッダーロゴの防御的縮小（横はみ出し防止） */
@media (max-width: 400px) {
  .navbar-brand {
    min-width: 0;
    gap: .4rem !important;
  }

  .navbar-brand .header-logo {
    height: 22px !important;
    max-width: 42vw;
    object-fit: contain;
  }

  .logo-x-divider {
    font-size: .9em !important;
  }
}

/* [a11y] 視差効果を減らす設定のユーザーにはアニメーションを無効化 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .problem-arrow {
    animation: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* [CLS対策] デモ画像は枠の比率を先に確保して読み込み時のガタつきを防止 */
.demo-card .demo-img-wrap img {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: contain;
}

/* [JSフィット時] フロー図の枠を中身の幅に合わせたら、外枠の装飾を外して中カードを主役に
   （二重枠・二重背景の見た目を回避）。JSが効かない環境ではこのクラスは付かない */
.service-flow-iframe-wrap.is-fitted {
  background: var(--light-bg);
  border: 0;
  box-shadow: none;
  margin-left: auto;
  margin-right: auto;
}

/* ================================================================
   26. PCレイアウト微調整（全ページレビューでの検出事項）
   ================================================================ */
/* [PC] info-bar：2つのフレーズが密着していたので間隔を追加 */
.info-bar .d-inline-block {
  margin: 0 .35em;
}

/* [PC] PROBLEM末尾「これらの課題を〜」下の空白を圧縮（mb-4 pb-2 の上書き） */
.problems .problem-resolve {
  margin-bottom: .75rem !important;
  padding-bottom: 0 !important;
}

@media (min-width: 992px) {

  /* [PC] ヒーロー価値カード：3枚を常に1行に（可変幅で均等に縮む）
     左カラムをさらに狭めた分、左右パディング・gapを追加で圧縮
     （見出し・サブ文のフォントサイズは維持、余白のみ削る） */
  .mv-numbers {
    gap: .25rem;
    flex-wrap: nowrap;
    width: min(100%, 31rem);
  }

  .mv-num-item {
    flex: 1 1 0;
    min-width: 0;
    padding: .35rem .18rem;
  }

  .mv-num-item:nth-child(2) {
    flex: .82 1 0;
  }

  /* [PC] 「メーカー費用ゼロ」はvalue・labelとも文字数が多いため、他2枚より広めに配分 */
  .mv-num-item:nth-child(3) {
    flex: 1.3 1 0;
  }

  .mv-num-val {
    font-size: clamp(.85rem, 1.2vw, 1.3rem);
    white-space: nowrap;
  }

  .mv-num-label {
    font-size: .6rem;
  }

  /* [PC] ヒーロー画像：右カラム幅いっぱいに広げ、右端をヘッダーナビと揃える
     （is-fitted幅縮小はJS側で無効化済み。ここでは常時フル幅を強制） */
  .mv-hero .mv-visual .hero-iframe-wrap {
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  /* [PC] DEMO/OPTIONの5ステップ：カードを可変幅にして常に1行（矢印のぶら下がり防止） */
  .demo-section .col-6.col-md-auto,
  .product-flow-section .col-6.col-md-auto {
    flex: 1 1 0;
    max-width: none;
    min-width: 0 !important;
  }
}

/* [可読性] 3行を超える本文段落は中央寄せだと行頭が揃わず読みにくいため、
   タブレット以上では左寄せに（見出し・1行キャプションは中央のまま） */
@media (min-width: 768px) {
  .service-desc {
    text-align: center;
  }
}

@media (max-width: 1199px) {
  .service-desc-softbreak {
    display: none;
  }

  .flow-caption__desktop {
    display: none;
  }

  .flow-caption__compact {
    display: inline;
  }
}

@media (max-width: 1199px) {
  .problems .problem-card {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    min-height: 74px;
    padding: .85rem 1.2rem;
    text-align: left;
  }

  .problems .problem-card .problem-icon {
    display: inline-flex !important;
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    margin: 0;
    font-size: 1.25rem;
  }

  .problems .problem-text {
    flex: 1 1 auto;
    white-space: nowrap;
    font-size: clamp(.95rem, 1.7vw, 1.08rem);
    line-height: 1.45;
  }

  .problems .problem-text br {
    display: none;
  }
}

@media (max-width: 575px) {
  .section-subtitle,
  .service-desc,
  .demo-desc-optional,
  .contact-lead,
  .flow-caption {
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .contact-lead .text-nowrap-ja {
    white-space: normal;
  }

  .problems .problem-text {
    white-space: nowrap;
    font-size: clamp(.5rem, 2.55vw, .82rem);
    line-height: 1.4;
    letter-spacing: 0;
  }

  .problems .problem-text br {
    display: none;
  }

  .problems .problem-card {
    gap: .55rem;
    min-height: 64px;
    padding: .7rem .75rem;
  }

  .problems .problem-card .problem-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .product-flow-section .service-desc {
    word-break: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 1199px) {
  .demo-section .col-auto.d-none.d-md-block,
  .product-flow-section .col-auto.d-none.d-md-block {
    display: none !important;
  }

  .demo-section .col-6.col-md-auto,
  .product-flow-section .col-6.col-md-auto {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
    min-width: 0 !important;
  }
}

/* ================================================================
   27. Glossary（用語の整理）
   ================================================================ */
.glossary-section {
  background: #fff;
}

.glossary-section .fold-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  width: fit-content;
  max-width: 100%;
  margin: .2rem auto 1rem;
  padding: .7rem 1.2rem;
  background: #fff;
  border: 1px solid #c7d2fe;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
  border-radius: 50px;
  color: var(--primary);
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
}

.glossary-section .fold-toggle::after {
  content: "▼";
  font-size: .7em;
}

.glossary-section .fold-cb:checked~.fold-toggle::after {
  content: "▲";
}

.glossary-section .fold-body {
  display: none;
}

.glossary-section .fold-cb:checked~.fold-body {
  display: block;
}

.glossary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
}

.glossary-item {
  background: var(--light-bg);
  border: 1px solid #e8eef5;
  border-radius: 12px;
  padding: 14px 16px;
}

.glossary-item dt {
  margin-bottom: .4rem;
}

.glossary-item dd {
  margin: 0;
  font-size: .85rem;
  color: #555;
  line-height: 1.7;
}

.g-chip {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  padding: .18rem .75rem;
  border-radius: 50px;
}

.g-chip--mv {
  background: var(--primary);
  color: #fff;
}

.g-chip--trader {
  background: #e0e7ff;
  color: #4338ca;
}

/* DEMOの商社タグと同色 */
.g-chip--maker {
  background: #dcfce7;
  color: #15803d;
}

/* メーカータグと同色 */
.g-chip--member {
  background: #fef3c7;
  color: #92400e;
}

/* 会員タグと同色 */
.g-chip--neutral {
  background: #eef2f6;
  color: #475569;
}

/* 下部導線：料金（白）→ FAQ（水色）→ 問い合わせフォーム（白）→ 用語集（水色）で交互感を維持 */
.faq-section {
  background: var(--light-bg);
}

.contact-form-section {
  background: #fff;
}

.glossary-section {
  background: var(--light-bg);
}

.faq-section .section-label,
.glossary-section .section-label {
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
}

.contact-label-eng {
  background: var(--light-bg);
}

.faq-item {
  background: #fff;
}

.glossary-item {
  background: #fff;
}

@media (max-width: 767px) {
  .glossary-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .glossary-section .row.mb-4.pb-2 {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
}

/* [PC 992〜1199px] この帯はコンテナ幅960px固定のためH1が行落ちしやすい。
   フォントを固定して4行構成を維持 */
@media (min-width: 992px) and (max-width: 1199px) {
  .mv-heading {
    font-size: 1.7rem;
  }
}

@media (min-width: 992px) and (max-width: 1399px) {
  .mv-hero {
    grid-template-columns: 1.08fr 1.32fr;
  }

  .mv-sub {
    font-size: .86rem;
    white-space: nowrap;
  }
}

/* ================================================================
   28. DEMO/OPTION GIF埋め込み — 実寸フィット
   GIF（ブラウザ画面キャプチャ）は16:9ではないため、CLS対策の
   aspect-ratio:16/9 と max-height:400px を解除し、実際の縦横比で表示する
   ================================================================ */
.demo-card .demo-img-wrap img,
.demo-card img {
  aspect-ratio: auto !important;
  /* セクション25の 16/9 固定を解除 */
  max-height: none !important;
  /* セクション10の max-height:400px を解除 */
  width: 100%;
  height: auto !important;
  object-fit: contain;
}

/* ================================================================
   29. 商品登録フローGIFの縮小（約20%小さく表示）
   カード全体（外枠・パディング込み）を縮小することで、画像は
   引き続きカード幅いっぱいに表示させ、メーカー運用イメージと同じ
   余白感を保つ
   ================================================================ */
.product-flow-section .demo-card {
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

/* ================================================================
   30. ヒーロー画像（iframe埋め込み）
   mv-mockup（img）に代えて、同一オリジンのiframeを表示。
   高さ・幅のフィットは script.js の setupIframeFit で自動調整
   ================================================================ */
.hero-iframe-wrap {
  position: relative;
  width: 100%;
  max-width: 576px;
  margin: 0 auto;
  aspect-ratio: 4 / 3;
  /* JSフィット前の初期比率（フォールバック） */
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: transparent;
}

.hero-iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@supports not (aspect-ratio: 1 / 1) {
  .hero-iframe-wrap {
    height: 0;
    padding-bottom: 75%;
  }
}

.hero-iframe-wrap.is-fitted {
  background: transparent;
  border: 0;
  box-shadow: none;
  margin-left: auto;
  margin-right: auto;
}

.hero-image-mobile {
  display: none;
  width: 100%;
  max-width: 576px;
  height: auto;
  margin: 0 auto;
}

@media (max-width: 1399px) {
  .hero-iframe-wrap {
    display: none;
  }

  .hero-image-mobile {
    display: block;
  }
}

@media (max-width: 767px) {
  .hero-image-mobile {
    max-width: 320px;
  }
}

/* サービスフロー：スマホ幅で iframe を静止画(WebP)に切替（軽量化） */
.service-flow-image-mobile {
  display: none;
  width: 100%;
  max-width: 842px;
  height: auto;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .service-flow-iframe-wrap {
    display: none;
  }

  .service-flow-image-mobile {
    display: block;
  }
}

/* ================================================================
   14. AI-OCR Inquiry Form Section (Added)
   ================================================================ */
.contact-form-section {
  background: #fff;
  padding: var(--section-py) 0;
  position: relative;
}

.container-contact-custom {
  max-width: 960px;
}

.contact-label-eng {
  display: inline-block;
  background: var(--light-bg);
  color: var(--accent2);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 0;
  padding: .25rem .8rem;
  border-radius: 50px;
  margin-bottom: .6rem;
  text-transform: uppercase;
}

.contact-form-title {
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.contact-form-subtitle {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 2rem;
}

.contact-form-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.5rem 3rem;
  box-shadow: var(--shadow-card);
  border: 1px solid #e8eef5;
}

@media (max-width: 767px) {
  .contact-form-card {
    padding: 2rem 1.5rem;
  }
}

.form-label-custom {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.required-badge {
  background-color: var(--primary);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  line-height: 1;
}

.optional-badge {
  background-color: var(--light-bg);
  color: #666;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  line-height: 1;
}

.form-input-custom {
  width: 100%;
  padding: 0.9rem 1.1rem;
  font-size: 0.95rem;
  color: var(--dark);
  background-color: #fbfdff;
  border: 1px solid #dfe8f2;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.form-input-custom::placeholder {
  color: #9aa8b7;
}

.textarea-custom::placeholder {
  font-size: .88rem;
  line-height: 1.65;
}

.form-input-custom:hover {
  border-color: var(--accent2);
}

.form-input-custom:focus {
  outline: none;
  background-color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(29, 32, 136, 0.12);
}

.textarea-custom {
  resize: vertical;
  min-height: 110px;
}

.text-center-btn {
  text-align: center;
  margin-top: 2rem;
}

.contact-submit-btn {
  width: 100%;
  max-width: 320px;
  background: var(--gradient-primary);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 1.1rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(29, 32, 136, 0.25);
  transition: all var(--transition-fast);
}

.contact-submit-btn:hover {
  background: #2a2da0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(29, 32, 136, 0.35);
}

.contact-submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(29, 32, 136, 0.2);
}

.contact-joint-use-notice {
  font-size: .8rem;
  line-height: 1.7;
  color: #888;
  margin: 1rem 0 0;
}

.joint-use-link {
  color: var(--accent2);
  text-decoration: underline;
  cursor: pointer;
}

.joint-use-disclosure {
  margin-top: 1.5rem;
}

.joint-use-details {
  border: 1px solid #e8e8e8;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.joint-use-details summary {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: .88rem;
  color: var(--dark);
  padding: .8rem 2.5rem .8rem 1.2rem;
  cursor: pointer;
  list-style: none;
  position: relative;
  line-height: 1.5;
}

.joint-use-details summary::-webkit-details-marker {
  display: none;
}

.joint-use-details summary::after {
  content: '+';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  font-weight: 400;
  color: #999;
}

.joint-use-details[open] summary::after {
  content: '-';
}

.joint-use-details[open] summary {
  background: #f0f8ff;
  color: var(--primary);
}

.joint-use-body {
  padding: 1rem 1.2rem;
  font-size: .85rem;
  line-height: 1.8;
  color: #555;
  border-top: 1px solid #eee;
}

.joint-use-body p {
  margin-bottom: .9rem;
}

.joint-use-body p:last-child {
  margin-bottom: 0;
}

/* ================================================================
   32. Shared Markup Utilities
   HTMLからstyle属性を分離するための共通補助クラス
   ================================================================ */
.site-header .header-logo {
  height: 28px;
  width: auto;
}

.logo-x-divider {
  font-weight: 700;
  color: #94a3b8;
  font-size: 1.1em;
  line-height: 1;
}

.mv-kicker {
  display: inline-block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: #4338ca;
  background: #eef2ff;
  border-radius: 999px;
  padding: .3em 1em;
  margin-bottom: 1rem;
}

.mv-compare-heading {
  font-size: 1.05rem;
}

.mv-compare-box {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px 16px;
  box-shadow: 0 6px 24px rgba(15, 23, 42, .06);
}

.mv-compare-scroll {
  overflow-x: auto;
}

.mv-compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 8px;
  min-width: 640px;
}

.mv-compare-table th:first-child {
  width: 22%;
}

.mv-compare-table th:not(:first-child) {
  width: 26%;
  text-align: center;
  padding: 14px 10px;
  border-radius: 12px;
  font-weight: 700;
}

.mv-compare-table th:nth-child(2) {
  background: #4338ca;
  color: #fff;
  font-size: .92rem;
}

.mv-compare-table th:nth-child(n+3) {
  background: #f1f5f9;
  color: #94a3b8;
  font-size: .9rem;
}

.mv-compare-table td {
  padding: 14px 10px;
}

.mv-compare-table td:first-child {
  font-weight: 700;
  color: #334155;
  font-size: .9rem;
}

.mv-compare-table td:nth-child(2) {
  text-align: center;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  border-radius: 12px;
  color: #312e81;
  font-weight: 700;
  font-size: .9rem;
}

.mv-compare-table td:nth-child(n+3) {
  text-align: center;
  background: #f8fafc;
  border-radius: 12px;
  color: #94a3b8;
  font-size: .88rem;
}

.flow-step-col {
  min-width: 150px;
}

.flow-step-card {
  background: #f1f5f9;
}

.flow-step-card--white {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
  border: 1px solid #e8eef5;
}

.flow-step-card--accent {
  background: #eef2ff;
  border: 1px solid #c7d2fe;
}

.flow-step-badge {
  font-size: .7rem;
}

.flow-step-badge--trader {
  background: #e0e7ff;
  color: #4338ca;
}

.flow-step-badge--maker {
  background: #dcfce7;
  color: #15803d;
}

.flow-step-badge--member {
  background: #fef3c7;
  color: #92400e;
}

.flow-step-icon {
  font-size: 1.6rem;
  color: #6366f1;
}

.flow-step-icon--primary {
  color: #4338ca;
}

.flow-arrow-icon {
  font-size: 1.3rem;
}

.mvp-plan--standard {
  --plan-theme: #1d2088;
  --plan-tint: #edeef6;
}

.mvp-plan--enterprise {
  --plan-theme: #0bb0f0;
  --plan-tint: #e8f6fd;
}

.hp-field {
  display: none;
}

.inquiry-form-error {
  display: none;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  color: #b91c1c;
  font-size: .9rem;
  font-weight: 700;
}

.inquiry-complete-msg {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
}

.inquiry-complete-icon {
  margin-bottom: 1.5rem;
}

.inquiry-complete-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: #1d2088;
  margin-bottom: 1rem;
}

.inquiry-complete-text {
  color: #475569;
  font-size: .95rem;
  line-height: 1.8;
  margin: 0;
}

@media (max-width: 1360px) {
  .mv-hero .mv-hero-download-cta {
    display: none !important;
  }

  .mv-hero .mv-numbers {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .mv-sub {
    font-size: clamp(.82rem, .74vw, .95rem);
  }
}

/* Final section-background order after hiding FLOW */
.faq-section {
  background: var(--light-bg) !important;
}

.contact-form-section {
  background: #fff !important;
}

.glossary-section {
  background: var(--light-bg) !important;
}
