:root {
  --ecb-compare-headline-fs: 40px;
  --ecb-compare-fs-xxlarge: 24px;
  --ecb-compare-fs-xlarge: 20px;
  --ecb-compare-fs-large: 18px;
  --ecb-compare-fs-medium: 16px;
  --ecb-compare-fs-small: 14px;
  --ecb-compare-navy: #02153D;
  --ecb-compare-green: #21CFAE;
  --ecb-compare-green-gradient: linear-gradient(90deg, #21CFAE 0%, #00A686 100%);
  --ecb-compare-red: #C71749;
  --ecb-compare-red-gradient: var(--red-gradient, linear-gradient(90deg, #f14e18 0%, #d61f43 100%));
  --ecb-compare-pkg-blue: #212F7C;
  --ecb-compare-bg-gray: #F2F4F7;
  --ecb-compare-bg-saas: #ddf5ef;
  --ecb-compare-bg-pkg: #E0EAF1;
  --ecb-compare-text-color: #1a1a1a;
  --ecb-compare-radius-small: 8px;
  --ecb-compare-radius-medium: 12px;
  --ecb-compare-radius-large: 16px;
}

@media (max-width: 767px) {
  :root {
    --ecb-compare-headline-fs: 26px;
    --ecb-compare-fs-xxlarge: 20px;
    --ecb-compare-fs-xlarge: 18px;
    --ecb-compare-fs-large: 16px;
    --ecb-compare-fs-medium: 14px;
    --ecb-compare-fs-small: 12px;
  }
}


/* ==========================================================================
   共通パーツ
   ========================================================================== */
.ecb-compare-headline {
  margin-bottom: 20px;
  color: var(--ecb-compare-navy);
  font-size: var(--ecb-compare-headline-fs);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}
.ecb-compare-lead {
  margin-bottom: 50px;
  color: var(--ecb-compare-text-color);
  font-size: var(--ecb-compare-fs-medium);
  line-height: 1.8;
  text-align: center;
}
.ecb-compare-lead strong {
  font-weight: 700;
}
.ecb-compare-text-green {
  color: var(--ecb-compare-green);
  font-weight: 700;
}
.ecb-compare-text-red {
  color: var(--ecb-compare-red);
  font-weight: 700;
}
.ecb-compare-text-blue {
  color: var(--ecb-compare-pkg-blue);
  font-weight: 700;
}

/* ボックス左上のバッジ */
.ecb-compare-box-badge {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  padding: 5px 14px;
  border-radius: 0 0 4px 0;
  background: var(--ecb-compare-green);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.ecb-compare-box-badge.is-blue {
  background: var(--ecb-compare-pkg-blue);
}

/* チェック・注意アイコン */
.ecb-compare-badge-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  background: var(--ecb-compare-green);
  align-self: center;
}
.ecb-compare-badge-check::before {
  content: "";
  display: block;
  width: 9px;
  height: 7px;
  background-image: url("data:image/svg+xml,%3Csvg width='8' height='6' viewBox='0 0 8 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 3L3.2 5L7 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 9px 7px;
}
.ecb-compare-badge-check.is-blue {
  background: var(--ecb-compare-pkg-blue);
}
.ecb-compare-badge-alert {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  align-self: center;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.90745 1.33333C6.83748 -0.444447 9.16253 -0.444442 10.0925 1.33334L15.6727 12C16.6027 13.7778 15.4402 16 13.5801 16H2.41987C0.559825 16 -0.602698 13.7778 0.327324 12L5.90745 1.33333Z' fill='%23C71749'/%3E%3Cpath d='M6.79187 4H9.20814L8.80543 10.3014H7.19458L6.79187 4ZM6.81201 12.7519C6.81201 12.3131 6.92275 11.9584 7.14424 11.6877C7.36573 11.4169 7.65099 11.2816 8 11.2816C8.35573 11.2816 8.64099 11.4169 8.85576 11.6877C9.07726 11.9584 9.188 12.3131 9.188 12.7519C9.188 13.1907 9.07726 13.5454 8.85576 13.8161C8.64099 14.0869 8.35573 14.2222 8 14.2222C7.65099 14.2222 7.36573 14.0869 7.14424 13.8161C6.92275 13.5454 6.81201 13.1907 6.81201 12.7519Z' fill='white'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
}

/* ボタン */
.ecb-compare-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: all 0.3s ease;
}
.ecb-compare-btn-green {
  position: relative;
  z-index: 0;
  overflow: hidden;
  padding: 16px 40px;
  border: 2px solid transparent;
  background: var(--ecb-compare-green-gradient);
  background-size: 105% 100%;
  background-position: 5% center;
  color: #fff;
  font-size: var(--ecb-compare-fs-large);
}
.ecb-compare-btn-green::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
@media (hover: hover) {
  .ecb-compare-btn-green:hover::before {
    opacity: 1;
    visibility: visible;
  }
  .ecb-compare-btn-green:hover {
    color: var(--ecb-compare-green);
  }
}
.ecb-compare-btn-red {
  padding: 16px 56px;
  background: var(--ecb-compare-red-gradient);
  color: #fff;
  font-size: var(--ecb-compare-fs-large);
}
.ecb-compare-btn-red:hover {
  opacity: 0.85;
}
.ecb-compare-btn-outline {
  position: relative;
  padding: 12px 60px;
  border: 1px solid var(--ecb-compare-navy);
  background: #fff;
  color: var(--ecb-compare-navy);
  font-weight: 600;
  font-size: 14px;
}
.ecb-compare-btn-outline:hover {
  background: var(--ecb-compare-navy);
  color: #fff;
}
.ecb-compare-icon-arrow {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  position: absolute;
  right: 30px;
}

/* 吹き出し */
.ecb-compare-balloon {
  position: relative;
  display: inline-block;
  margin: 0 0 20px;
  padding: 6px 24px;
  border: 2px solid var(--ecb-compare-navy);
  border-radius: 4px;
  background: #fff;
  color: var(--ecb-compare-navy);
  font-size: var(--ecb-compare-fs-medium);
  font-weight: 700;
  line-height: 1.7;
}
.ecb-compare-balloon::before {
  content: "";
  display: block;
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 10px;
  height: 10px;
  background: var(--ecb-compare-navy);
  clip-path: polygon(0 0, 0 100%, 100% 0);
  transform: translateX(-50%);
}
.ecb-compare-balloon::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: #fff;
  clip-path: polygon(0 0, 0 100%, 100% 0);
  transform: translateX(-50%);
}

/* 丸矢印リンク */
.ecb-compare-link-circle-arrow {
  display: inline-block;
  color: var(--ecb-compare-text-color);
  font-weight: 600;
  text-decoration: none;
}
.ecb-compare-link-circle-arrow:hover {
  opacity: .7;
}
.ecb-compare-icon-circle-arrow {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  border-radius: 50%;
  background-color: var(--ecb-compare-green);
  position: relative;
  vertical-align: middle;
}
.ecb-compare-icon-circle-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 45%;
  width: 6px;
  height: 6px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}
@media (max-width: 767px) {
  .ecb-compare-btn {
    padding-left: 30px;
    padding-right: 30px;
  }
  .ecb-compare-lead {
    padding-bottom: 0;
    margin-bottom: 25px;
  }
  .ecb-compare-balloon {
    padding-left: 20px;
    padding-right: 20px;
  }
}


/* ==========================================================================
   Hero（メルカート と ecbeing どう違うの？）
   ========================================================================== */
.ecb-compare-hero {
  padding: 0 0 80px;
  background-color: #fff;
  text-align: center;
}
.ecb-compare-hero-sub {
  margin-bottom: 10px;
  color: var(--ecb-compare-navy);
  font-size: var(--ecb-compare-fs-xlarge);
  font-weight: 700;
  letter-spacing: 0.05em;
}
.ecb-compare-hero-headline {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 25px;
  color: var(--ecb-compare-navy);
  font-size: 33px;
  font-weight: 700;
}
.ecb-compare-hero-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}
.ecb-compare-hero-logo.is-mercart {
  width: 242px;
  height: 78px;
}
.ecb-compare-hero-logo.is-ecbeing {
  position: relative;
  top: -8px;
  width: 205px;
  height: 62px;
}
.ecb-compare-hero-lead {
  margin-bottom: 20px;
  color: var(--ecb-compare-green);
  font-size: calc(var(--ecb-compare-fs-xxlarge) - 2px);
  font-weight: 700;
  line-height: 1.4;
}
.ecb-compare-hero-description {
  margin-bottom: 32px;
  color: var(--ecb-compare-text-color);
  font-size: var(--ecb-compare-fs-medium);
  line-height: 1.9;
}
.ecb-compare-hero-description strong {
  font-weight: 700;
}
:is(.ecb-compare-hero-action, .ecb-compare-case) .ecb-compare-btn.ecb-compare-btn-green {
  width: 460px;
  max-width: 100%;
}
.ecb-compare-hero-sub-link {
  margin: 16px 0 0;
  font-size: var(--ecb-compare-fs-medium);
}
@media (max-width: 767px) {
  .ecb-compare-hero {
    padding: 0 0 50px;
  }
  .ecb-compare-hero-headline {
    gap: 5px 10px;
    font-size: 25px;
  }
  .ecb-compare-hero-logo {
    height: 32px;
  }
  .ecb-compare-hero-logo.is-mercart {
    width: auto;
    height: 50px;
  }
  .ecb-compare-hero-logo.is-ecbeing {
    position: relative;
    top: -5px;
    width: auto;
    height: 37px;
  }
  .ecb-compare-hero-suffix {
    width: 100%;
  }
  .ecb-compare-hero-action .ecb-compare-btn.ecb-compare-btn-green {
    width: 100%;
  }
  .ecb-compare-hero-description {
    text-align: left;
  }
  .ecb-compare-btn ~ .ecb-compare-hero-sub-link {
    margin-top: 30px;
  }
}


/* ==========================================================================
   SaaS型EC vs パッケージ型EC
   ========================================================================== */
.ecb-compare-vs-type {
  padding: 80px 0;
  background-color: var(--ecb-compare-bg-gray);
}
.ecb-compare-vs-type-grid {
  display: flex;
  align-items: stretch;
  gap: 30px;
}
.ecb-compare-vs-type-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: var(--ecb-compare-radius-large);
  background: #fff;
  overflow: hidden;
}
.ecb-compare-vs-type-illustration {
  position: relative;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.ecb-compare-vs-type-box.is-saas .ecb-compare-vs-type-illustration {
  background: var(--ecb-compare-bg-saas);
}
.ecb-compare-vs-type-box.is-pkg .ecb-compare-vs-type-illustration {
  background: var(--ecb-compare-bg-pkg);
}
.ecb-compare-vs-type-img {
  max-height: 150px;
  width: auto;
}
.ecb-compare-vs-type-content {
  flex: 1;
  padding: 28px 32px 36px;
}
.ecb-compare-vs-type-title {
  margin: 0 0 22px;
  color: var(--ecb-compare-text-color);
  font-size: var(--ecb-compare-fs-xlarge);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}
.ecb-compare-vs-type-title-accent {
  color: var(--ecb-compare-green);
  font-size: 1.3em;
}
.ecb-compare-vs-type-box.is-pkg .ecb-compare-vs-type-title-accent {
  color: var(--ecb-compare-pkg-blue);
}
.ecb-compare-points {
  margin-bottom: 20px;
}
.ecb-compare-points:last-child {
  margin-bottom: 0;
}
.ecb-compare-points-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  color: var(--ecb-compare-text-color);
  font-size: var(--ecb-compare-fs-xlarge);
  font-weight: 700;
}
.ecb-compare-points ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ecb-compare-points li {
  position: relative;
  margin-bottom: 6px;
  padding-left: 16px;
  color: var(--ecb-compare-text-color);
  font-size: 15px;
  line-height: 1.7;
}
.ecb-compare-points li::before {
  content: "●";
  font-size: 7px;
  position: absolute;
  left: 0;
  top: 7px;
}
.ecb-compare-points-good li::before {
  color: var(--ecb-compare-green);
}
@media (max-width: 767px) {
  .ecb-compare-vs-type {
    padding: 50px 0;
  }
  .ecb-compare-vs-type-grid {
    flex-direction: column;
    gap: 20px;
  }
  .ecb-compare-vs-type-illustration {
    height: 180px;
  }
  .ecb-compare-vs-type-content {
    padding: 20px;
  }
  .ecb-compare-points-title {
    font-size: var(--ecb-compare-fs-large);
  }
  .ecb-compare-points li {
    font-size: var(--ecb-compare-fs-medium);
  }
}


/* ==========================================================================
   向いている企業
   ========================================================================== */
.ecb-compare-fit {
  padding: 80px 0;
  background-color: #fff;
}
.ecb-compare-fit-grid {
  display: flex;
  align-items: stretch;
  gap: 30px;
  margin-bottom: 50px;
}
.ecb-compare-fit-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  border: 1px solid #E3E7EC;
  border-radius: var(--ecb-compare-radius-small);
  background: #fff;
  overflow: hidden;
}
.ecb-compare-fit-visual {
  position: relative;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.ecb-compare-fit-card.is-saas .ecb-compare-fit-visual {
  background: var(--ecb-compare-bg-saas);
}
.ecb-compare-fit-card.is-pkg .ecb-compare-fit-visual {
  background: var(--ecb-compare-bg-pkg);
}
.ecb-compare-fit-visual img {
  max-height: 140px;
  width: auto;
}
.ecb-compare-fit-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 28px 32px 32px;
}
.ecb-compare-fit-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--ecb-compare-text-color);
  font-size: var(--ecb-compare-fs-xlarge);
  font-weight: 700;
}
.ecb-compare-fit-title-name {
  color: var(--ecb-compare-green);
}
.ecb-compare-fit-title-name.is-blue {
  color: var(--ecb-compare-pkg-blue);
}
.ecb-compare-fit-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.ecb-compare-fit-list li {
  position: relative;
  padding: 10px 0 10px 16px;
  border-bottom: 1px solid #EEF1F4;
  color: var(--ecb-compare-text-color);
  font-size: 15px;
  line-height: 1.7;
}
.ecb-compare-fit-list li:last-child {
  border-bottom: none;
}
.ecb-compare-fit-list li::before {
  content: "●";
  font-size: 7px;
  position: absolute;
  left: 0;
  top: 18px;
  color: var(--ecb-compare-green);
}
.ecb-compare-fit-card.is-pkg .ecb-compare-fit-list li::before,
.ecb-compare-choice-card.is-ecbeing .ecb-compare-fit-list li::before {
  color: var(--ecb-compare-pkg-blue);
}
.ecb-compare-fit-scene {
  margin-top: auto;
  padding: 16px 20px;
  border-radius: 6px;
  background: #E8F9F4;
}
.ecb-compare-fit-card.is-pkg .ecb-compare-fit-scene {
  background: #EEF1F6;
}
.ecb-compare-fit-scene-label {
  display: block;
  margin-bottom: 4px;
  color: var(--ecb-compare-text-color);
  font-size: var(--ecb-compare-fs-small);
  font-weight: 700;
}
.ecb-compare-fit-scene p {
  margin: 0;
  color: var(--ecb-compare-text-color);
  font-size: 13px;
  line-height: 1.7;
}
.ecb-compare-fit-closing {
  margin: 0;
  color: var(--ecb-compare-navy);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.8;
  text-align: center;
}
@media (max-width: 767px) {
  .ecb-compare-fit {
    padding: 50px 0;
  }
  .ecb-compare-fit-grid {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
  }
  .ecb-compare-fit-visual {
    height: 160px;
  }
  .ecb-compare-fit-body {
    padding: 20px;
  }
  .ecb-compare-fit-list li {
    font-size: var(--ecb-compare-fs-medium);
  }
  .ecb-compare-fit-closing {
    font-size: var(--ecb-compare-fs-large);
  }
}


/* ==========================================================================
   主要項目で比べる比較テーブル
   ========================================================================== */
.ecb-compare-vs {
  position: relative;
  padding: 80px 0;
  background-color: var(--ecb-compare-bg-gray);
}
.ecb-compare-vs::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-left: 80px solid transparent;
  border-right: 80px solid transparent;
  border-top: 50px solid #fff;
}
.ecb-compare-vs-table-wrapper {
  width: 100%;
  margin: 0 auto 50px;
  overflow-x: auto;
}
.ecb-compare-vs-source {
  margin: 8px 0 0;
  color: var(--ecb-compare-text-color);
  font-size: 10px;
  text-align: right;
}
.ecb-compare-vs-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--ecb-compare-radius-medium);
  overflow: hidden;
}
.ecb-compare-vs-table th,
.ecb-compare-vs-table td {
  padding: 18px 20px;
  border-bottom: 1px solid #E9ECF0;
  text-align: center;
  vertical-align: middle;
}
.ecb-compare-vs-table tbody tr:last-child th,
.ecb-compare-vs-table tbody tr:last-child td {
  border-bottom: none;
}
.ecb-compare-vs-table thead th {
  padding: 14px 20px;
}
.ecb-compare-vs-th-item {
  width: 26%;
  background: #fff;
  color: #767C88;
  font-size: 12px;
  font-weight: 500;
  text-align: left;
}
.ecb-compare-vs-th-mercart {
  width: 37%;
  background: var(--ecb-compare-green);
  color: #fff;
  font-family: 'Jost', sans-serif;
  font-size: var(--ecb-compare-fs-xlarge);
  font-weight: 700;
}
.ecb-compare-vs-th-tag {
  display: block;
  width: fit-content;
  margin: 6px auto 0;
  padding: 2px 12px;
  border-radius: 20px;
  background: #fff;
  color: var(--ecb-compare-green);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  font-weight: 700;
}
.ecb-compare-vs-th-ecbeing {
  width: 37%;
  background: var(--ecb-compare-pkg-blue);
  color: #fff;
  font-family: 'Jost', sans-serif;
  font-size: var(--ecb-compare-fs-xlarge);
  font-weight: 700;
}
.ecb-compare-vs-th-type {
  display: block;
  margin-top: 6px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  font-weight: 400;
  opacity: 0.85;
}
.ecb-compare-vs-table tbody th {
  background: #fff;
  color: var(--ecb-compare-text-color);
  font-size: var(--ecb-compare-fs-small);
  font-weight: 700;
  text-align: left;
}
.ecb-compare-vs-table td.is-mercart {
  background: #EAF8F4;
}
.ecb-compare-vs-strong {
  margin: 0;
  color: var(--ecb-compare-green);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}
.ecb-compare-vs-strong.is-navy {
  color: var(--ecb-compare-navy);
}
.ecb-compare-vs-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border: 1px solid var(--ecb-compare-green);
  border-radius: 20px;
  background: #fff;
  color: var(--ecb-compare-green);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}
.ecb-compare-vs-badge::before {
  content: "";
  display: inline-block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--ecb-compare-green);
  background-image: url("data:image/svg+xml,%3Csvg width='8' height='6' viewBox='0 0 8 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 3L3.2 5L7 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 9px 7px;
}
.ecb-compare-vs-badge.is-navy {
  border-color: var(--ecb-compare-pkg-blue);
  color: var(--ecb-compare-pkg-blue);
}
.ecb-compare-vs-badge.is-navy::before {
  background-color: var(--ecb-compare-pkg-blue);
}
.ecb-compare-vs-note {
  margin: 8px 0 0;
  color: #555E6E;
  font-size: 12px;
  line-height: 1.5;
}
.ecb-compare-vs-bottom {
  text-align: center;
}
.ecb-compare-vs-bottom-text {
  margin-bottom: 30px;
  color: var(--ecb-compare-text-color);
  font-size: var(--ecb-compare-fs-medium);
  line-height: 1.8;
}
.ecb-compare-vs-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}
.ecb-compare-vs-buttons .ecb-compare-btn {
  width: 390px;
}
@media (max-width: 767px) {
  .ecb-compare-vs {
    padding: 50px 0;
  }
  .ecb-compare-vs::before {
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-top: 30px solid #fff;
  }
  .ecb-compare-vs-table-wrapper {
    margin-bottom: 30px;
  }
  .ecb-compare-vs-source {
    text-align: left;
    margin-top: 15px;
    line-height: 1.4;
  }
  .ecb-compare-vs-table th,
  .ecb-compare-vs-table td {
    padding: 12px 14px;
  }
  .ecb-compare-vs-bottom-text {
    margin-bottom: 20px;
  }
  .ecb-compare-vs-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .ecb-compare-vs-buttons .ecb-compare-btn {
    width: 100%;
    min-width: unset;
  }
}


/* ==========================================================================
   こんな企業は「メルカート」、こんな企業は「ecbeing」
   ========================================================================== */
.ecb-compare-choice {
  padding: 80px 0;
  background-color: #fff;
}
.ecb-compare-choice-grid {
  display: flex;
  align-items: stretch;
  gap: 30px;
  margin-bottom: 50px;
}
.ecb-compare-choice-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  border: 1px solid #E3E7EC;
  border-radius: var(--ecb-compare-radius-small);
  background: #fff;
  overflow: hidden;
}
.ecb-compare-choice-visual {
  position: relative;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.ecb-compare-choice-card.is-mercart .ecb-compare-choice-visual {
  background: var(--ecb-compare-bg-saas);
}
.ecb-compare-choice-card.is-ecbeing .ecb-compare-choice-visual {
  background: var(--ecb-compare-bg-pkg);
}
.ecb-compare-choice-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.ecb-compare-choice-card.is-mercart .ecb-compare-choice-logo {
  width: 290px;
  height: 90px;
}
.ecb-compare-choice-card.is-ecbeing .ecb-compare-choice-logo {
  width: 260px;
  height: 80px;
}
.ecb-compare-choice-body {
  flex: 1;
  padding: 28px 32px 32px;
}
.ecb-compare-choice-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--ecb-compare-green);
  font-size: var(--ecb-compare-fs-xlarge);
  font-weight: 700;
}
.ecb-compare-choice-card.is-ecbeing .ecb-compare-choice-title {
  color: var(--ecb-compare-pkg-blue);
}
.ecb-compare-choice-body .ecb-compare-fit-list {
  margin-bottom: 0;
}
.ecb-compare-choice-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 24px;
  font-size: var(--ecb-compare-fs-medium);
  text-align: center;
}
.ecb-compare-choice-cta .ecb-compare-btn-red {
  width: 390px;
}
.ecb-compare-choice-note {
  position: relative;
  display: inline-block;
  margin: 0 0 24px;
  padding: 6px 24px;
  border: 2px solid var(--ecb-compare-navy);
  border-radius: 4px;
  background: #fff;
  color: var(--ecb-compare-navy);
  font-size: var(--ecb-compare-fs-medium);
  line-height: 1.7;
}
.ecb-compare-choice-note::before {
  content: "";
  display: block;
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 10px;
  height: 10px;
  background: var(--ecb-compare-navy);
  clip-path: polygon(0 0, 0 100%, 100% 0);
  transform: translateX(-50%);
}
.ecb-compare-choice-note::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: #fff;
  clip-path: polygon(0 0, 0 100%, 100% 0);
  transform: translateX(-50%);
}
.ecb-compare-choice-note strong {
  font-weight: 700;
}
@media (max-width: 767px) {
  .ecb-compare-choice {
    padding: 50px 0 0;
  }
  .ecb-compare-choice-grid {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
  }
  .ecb-compare-choice-visual {
    height: 120px;
  }
  .ecb-compare-choice-card.is-mercart .ecb-compare-choice-logo,
  .ecb-compare-choice-card.is-ecbeing .ecb-compare-choice-logo {
    width: auto;
    height: 48px;
  }
  .ecb-compare-choice-body {
    padding: 20px;
  }
  .ecb-compare-choice-note {
    padding: 12px 16px;
    text-align: left;
  }
  .ecb-compare-choice-cta {
    padding-left: 0;
    padding-right: 0;
  }
  .ecb-compare-choice-cta .ecb-compare-btn-red {
    width: 100%;
  }
}


/* ==========================================================================
   導入事例
   ========================================================================== */
.ecb-compare-case {
  padding: 80px 0;
  background-color: #fff;
  text-align: center;
}
.ecb-compare-case-list {
  margin: 0 0 48px;
}
.ecb-compare-case-list .top-case-item {
  width: 280px;
}
.ecb-compare-case-list .top-case-item a {
  border-radius: var(--ecb-compare-radius-medium);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.ecb-compare-case-btn {
  margin: 0 0 40px;
  text-align: center;
}
.ecb-compare-case-btn .ecb-compare-btn-outline {
  width: 360px;
}
.ecb-compare-case-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (max-width: 767px) {
  .ecb-compare-case {
    padding: 50px 0;
  }
  .ecb-compare-case-list {
    margin-bottom: 30px;
  }
  .ecb-compare-case-btn {
    margin-bottom: 30px;
    padding: 0 15px;
  }
  .ecb-compare-case-btn .ecb-compare-btn-outline {
    width: 100%;
  }
  .ecb-compare-case-cta {
    padding: 0 15px;
  }
  .ecb-compare-case-cta .ecb-compare-btn.ecb-compare-btn-green {
    width: 100%;
    min-width: unset;
  }
}


/* ==========================================================================
   よくあるご質問
   ========================================================================== */
.ecb-compare-faq {
  padding: 80px 0;
  margin-bottom: 60px;
  background-color: var(--ecb-compare-bg-gray);
}
.ecb-compare-faq .ecb-compare-headline {
  margin-bottom: 40px;
}
@media (max-width: 767px) {
  .ecb-compare-faq {
    padding: 50px 0 25px;
    margin-bottom: 50px;
  }
  .ecb-compare-faq .ecb-compare-headline {
    margin-bottom: 25px;
  }
}
