/* Trade LP (CHARGESPOT) - scoped under .trade-lp */
.trade-lp {
  --lp-bg: #f5fbfc;
  --lp-bg2: #eef8fa;
  --lp-card: #ffffff;
  --lp-text: #102027;
  --lp-muted: #5c727a;
  --lp-line: #d9eef2;
  --lp-primary: #1fc2d3;
  --lp-primary-dark: #14a8b8;
  --lp-accent: #ffe44d;
  --lp-accent-soft: #fff7bf;
  --lp-shadow: 0 14px 34px rgba(16, 32, 39, 0.08);
  --lp-radius: 22px;
  --lp-radius-sm: 14px;
  --lp-max: 1120px;
  box-sizing: border-box;
  color: var(--lp-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  background:
    radial-gradient(circle at 10% 10%, rgba(31, 194, 211, 0.08) 0 2px, transparent 2px) 0 0/18px 18px,
    linear-gradient(#fff, #fff);
}

.trade-lp * {
  box-sizing: border-box;
}

.trade-lp img {
  max-width: 100%;
  display: block;
}

.trade-lp a {
  text-decoration: none;
  color: inherit;
}

.trade-lp .container {
  width: min(var(--lp-max), calc(100% - 32px));
  margin-inline: auto;
}

.trade-lp section {
  padding: 72px 0;
  position: relative;
}

.trade-lp .section-kicker {
  color: #FE3934;
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 11px;
  text-transform: uppercase;
  margin: 0 0 10px;
  text-align: center;
}

.trade-lp .section-title {
  margin: 0;
  text-align: center;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.trade-lp .section-desc {
  margin: 14px auto 0;
  max-width: 760px;
  text-align: center;
  color: var(--lp-muted);
  line-height: 1.9;
  font-size: 14px;
}

/* types */
.trade-lp .types {
  background: linear-gradient(180deg, #fff, var(--lp-bg));
}

.trade-lp .types-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.trade-lp .type-card {
  background: var(--lp-card);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(16, 32, 39, 0.06);
  box-shadow: var(--lp-shadow);
  display: flex;
  flex-direction: column;
}

.trade-lp .type-card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f0f0f0;
  border-radius: 14px 14px 0 0;
}

.trade-lp .type-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trade-lp .type-card-body {
  padding: 12px 16px 16px;
  text-align: center;
  flex: 1;
  min-width: 0;
}

.trade-lp .type-card-body h3 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 900;
}

.trade-lp .type-card-body p {
  margin: 0;
  color: var(--lp-muted);
  line-height: 1.65;
  font-size: 13px;
  text-align: center;
}

/* steps */
.trade-lp .usage {
  background: #fff;
}

.trade-lp .steps {
  margin-top: 34px;
  display: grid;
  gap: 34px;
}

.trade-lp .step-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.trade-lp .step-row:nth-child(even) .step-media {
  order: 2;
}

.trade-lp .step-row:nth-child(even) .step-content {
  order: 1;
}

.trade-lp .step-media {
  min-height: 260px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 20%, rgba(31, 194, 211, 0.18), transparent 34%),
    radial-gradient(circle at 80% 80%, rgba(255, 228, 77, 0.26), transparent 28%),
    #fff;
  border: 1px solid rgba(16, 32, 39, 0.06);
  box-shadow: var(--lp-shadow);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.trade-lp .step-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trade-lp .step-device {
  width: 170px;
  height: 300px;
  border-radius: 24px;
  background: linear-gradient(180deg, #fefefe, #f2f8fa);
  border: 1px solid rgba(16, 32, 39, 0.08);
  box-shadow: 0 18px 34px rgba(16, 32, 39, 0.16);
  position: relative;
  overflow: hidden;
}

.trade-lp .step-device::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 6px;
  border-radius: 999px;
  background: #d9e7ea;
}

.trade-lp .step-device-inner {
  position: absolute;
  inset: 28px 14px 14px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(31, 194, 211, 0.16), rgba(31, 194, 211, 0.03)),
    #fff;
  padding: 14px;
}

.trade-lp .step-device-inner .line {
  height: 12px;
  background: rgba(31, 194, 211, 0.14);
  border-radius: 999px;
  margin-bottom: 8px;
}

.trade-lp .step-device-inner .big {
  height: 80px;
  border-radius: 16px;
  background: rgba(255, 228, 77, 0.24);
  margin-top: 10px;
}

.trade-lp .step-content {
  position: relative;
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.trade-lp .step-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #FE3934;
  color: #fff;
  font-weight: 1000;
  margin: 0;
  flex-shrink: 0;
}

.trade-lp .step-content h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 1000;
  flex: 1 1 auto;
  min-width: 0;
}

.trade-lp .step-content p,
.trade-lp .step-content p {
  flex: 1 1 100%;
  width: 100%;
  margin: 0 0 14px;
  color: var(--lp-muted);
  font-size: 14px;
  line-height: 1.95;
  max-width: 480px;
}

.trade-lp .step-content p:last-child {
  margin-bottom: 0;
}

/* responsive */
@media (max-width: 960px) {
  .trade-lp .step-row {
    grid-template-columns: 1fr;
  }

  .trade-lp .step-content h3 {
    font-size: 20px;
  }

  .trade-lp .step-row:nth-child(even) .step-media,
  .trade-lp .step-row:nth-child(even) .step-content {
    order: unset;
  }

  /* 取扱商品群: モバイルでカルーセル */
  .trade-lp .types-grid {
    display: flex;
    flex-direction: row;
    grid-template-columns: unset;
    gap: 16px;
    padding: 8px 0 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .trade-lp .types-grid::-webkit-scrollbar {
    display: none;
  }

  .trade-lp .types-grid .type-card {
    flex: 0 0 85%;
    min-width: 260px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

@media (max-width: 640px) {
  .trade-lp section {
    padding: 58px 0;
  }

  .trade-lp .step-content h3 {
    font-size: 16px;
  }

  .trade-lp .container {
    width: min(var(--lp-max), calc(100% - 24px));
  }
}
