:root {
  --bcm-primary: #e58300;
  --bcm-primary-dark: #a95800;
  --bcm-primary-pale: #fff4e3;
  --bcm-navy: #334770;
  --bcm-text: #222;
  --bcm-border: #dedede;
}

.bcm-catalog, .bcm-catalog * { box-sizing: border-box; }
.bcm-catalog { width: 100%; color: var(--bcm-text); font-size: 16px; }
.bcm-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 24px 0 16px; border-bottom: 4px solid var(--bcm-primary); }
.bcm-heading h2 { margin: 0; color: var(--bcm-navy); font-size: clamp(26px, 3.2vw, 38px); line-height: 1.2; }
.bcm-eyebrow { margin: 0 0 5px; color: #e58300; font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.bcm-updated, .bcm-notice { color: #666; font-size: 13px; }
.bcm-updated { margin: 0; white-space: nowrap; }
.bcm-notice { margin: 10px 0 36px; }
.bcm-sort-form { margin: 0; }
.bcm-sort select { min-height: 46px; border: 1px solid #c9c9c9; background: #fff; color: var(--bcm-text); font: inherit; }
.bcm-sort { display: flex; align-items: center; gap: 12px; color: #555; font-size: 14px; }
.bcm-sort span { white-space: nowrap; }
.bcm-sort select { padding: 0 38px 0 12px; border-radius: 8px; }
.bcm-result-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 2px solid var(--bcm-navy); }
.bcm-result-row strong { color: var(--bcm-navy); font-size: 18px; }
.bcm-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 30px 18px; }
.bcm-card { min-width: 0; overflow: hidden; border: 1px solid var(--bcm-border); border-radius: 12px; background: #fff; box-shadow: 0 4px 14px rgba(51, 71, 112, .08); }
.bcm-image-wrap { position: relative; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; margin: 0; overflow: hidden; background: #f5f5f5; }
.bcm-image-wrap img { display: block; width: 100%; height: 100%; object-fit: contain; }
.bcm-no-image { color: #999; font-size: 12px; }
.bcm-card-body { padding: 14px; }
.bcm-card h3 { margin: 0 0 13px; color: var(--bcm-text); font-size: 13px; line-height: 1.5; }
.bcm-price { margin: 0; padding-top: 10px; border-top: 1px solid #eee; }
.bcm-price span { display: block; margin-bottom: 2px; color: #666; font-size: 11px; }
.bcm-price strong { color: #d60000; font-size: clamp(19px, 2vw, 25px); line-height: 1.2; }
.bcm-price-month { margin: 6px 0 0; color: #777; font-size: 11px; text-align: right; }
.bcm-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin: 36px 0 0; padding: 0; list-style: none; }
.bcm-pagination a, .bcm-pagination span { display: flex; min-width: 40px; min-height: 40px; align-items: center; justify-content: center; padding: 7px 11px; border: 1px solid var(--bcm-border); border-radius: 7px; color: var(--bcm-navy); text-decoration: none; }
.bcm-pagination .current { border-color: var(--bcm-primary); background: var(--bcm-primary); color: #fff; }
.bcm-catalog :focus-visible { outline: 3px solid #6f9cff; outline-offset: 2px; }

@media (max-width: 1024px) { .bcm-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .bcm-heading { align-items: start; flex-direction: column; gap: 9px; }
  .bcm-sort { justify-content: space-between; }
  .bcm-sort select { flex: 1; }
  .bcm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; }
  .bcm-card-body { padding: 11px; }
}

/* 共通買取CTA */
body .bcm-buying-cta,
body .bcm-buying-cta * {
  box-sizing: border-box !important;
}

body .bcm-buying-cta {
  width: 100vw !important;
  max-width: none !important;
  margin: 48px 0 -42px calc(50% - 50vw) !important;
  padding: 45px 24px 55px !important;
  border: 0 !important;
  background: #e58300 !important;
  color: #fff !important;
  text-align: initial !important;
}

body .bcm-buying-cta-heading {
  display: flex !important;
  width: 100% !important;
  max-width: 1000px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 22px !important;
  margin: 0 auto 28px !important;
  padding: 0 !important;
}

body .bcm-buying-cta-heading h2 {
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #fff !important;
  font-size: 38px !important;
  font-weight: 900 !important;
  letter-spacing: -.04em !important;
  line-height: 1.2 !important;
  text-align: center !important;
}

body .bcm-buying-cta-line {
  display: block !important;
  flex: 1 1 auto !important;
  width: auto !important;
  height: 3px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 2px !important;
  background: #fff !important;
  opacity: .8 !important;
}

body .bcm-buying-cta-content {
  display: flex !important;
  width: 100% !important;
  max-width: 1000px !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 30px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

body .bcm-buying-cta-copy {
  flex: 1 1 420px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

body .bcm-buying-cta-lead {
  display: inline-block !important;
  margin: 0 0 12px !important;
  padding: 3px 0 3px 13px !important;
  border: 0 !important;
  border-left: 5px solid #eeff00 !important;
  background: transparent !important;
  color: #fff !important;
  font-size: 23px !important;
  font-weight: 900 !important;
  letter-spacing: .03em !important;
  line-height: 1.4 !important;
}

body .bcm-buying-cta-description {
  margin: 0 0 0 18px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.7 !important;
}

body .bcm-buying-cta-button-wrap {
  flex: 0 1 350px !important;
  width: 350px !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}

body .bcm-buying-cta-button {
  display: flex !important;
  width: 100% !important;
  min-height: 54px !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 14px 24px !important;
  border: 2px solid #fff !important;
  border-radius: 4px !important;
  background: #fff !important;
  color: #e58300 !important;
  box-shadow: none !important;
  text-align: center !important;
  text-decoration: none !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  line-height: 1.4 !important;
  transition: background-color .2s, color .2s !important;
}

body .bcm-buying-cta-button:hover,
body .bcm-buying-cta-button:focus {
  border-color: #d60000 !important;
  background: #d60000 !important;
  color: #fff !important;
}

@media screen and (max-width: 700px) {
  body .bcm-buying-cta {
    margin: 36px 0 -42px calc(50% - 50vw) !important;
    padding: 30px 16px 30px !important;
    text-align: center !important;
  }

  body .bcm-buying-cta-heading {
    gap: 12px !important;
    margin-bottom: 18px !important;
  }

  body .bcm-buying-cta-heading h2 {
    font-size: 26px !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
  }

  body .bcm-buying-cta-line {
    min-width: 20px !important;
    height: 2px !important;
  }

  body .bcm-buying-cta-content {
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
  }

  body .bcm-buying-cta-copy {
    flex: none !important;
    width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  body .bcm-buying-cta-lead {
    display: block !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin: 0 auto 8px !important;
    padding: 4px 12px !important;
    font-size: 19px !important;
    line-height: 1.45 !important;
    text-align: center !important;
  }

  body .bcm-buying-cta-description {
    margin: 0 auto !important;
    padding: 0 !important;
    font-size: 13px !important;
    line-height: 1.75 !important;
    text-align: center !important;
  }

  body .bcm-buying-cta-button-wrap {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 16px auto 0 !important;
  }

  body .bcm-buying-cta-button {
    width: 350px !important;
    max-width: 86% !important;
    min-height: 56px !important;
    margin: 0 auto !important;
    padding: 14px 20px !important;
  }
}
