/* PB Multi Prices 0.3.0 — [pb_multi_prices]。SWELL の本文（.post_content）の中で使う前提で、ol・li・p・a・figure の既定を打ち消す */
.pbmp {
  --pbmp-ink: #1b1b19;
  --pbmp-muted: #696761;
  --pbmp-line: #d9d5cc;
  --pbmp-surface: #f7f5f0;
  --pbmp-accent: #d94a00;
  --pbmp-accent-dark: #b73d00;
  margin: 1.5rem 0 2rem;
  color: var(--pbmp-ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.5;
  box-sizing: border-box;
}
.pbmp *, .pbmp *::before, .pbmp *::after { box-sizing: border-box; }
.post_content .pbmp p, .pbmp p { margin: 0; padding: 0; }
.post_content .pbmp figure, .pbmp figure { margin: 0; padding: 0; }
.post_content .pbmp ol.pbmp__grid, .pbmp ol.pbmp__grid { margin: 0; padding: 0; list-style: none; }
.post_content .pbmp ol.pbmp__grid > li, .pbmp ol.pbmp__grid > li { margin: 0; list-style: none; }
.post_content .pbmp ol.pbmp__grid > li::before, .post_content .pbmp ol.pbmp__grid > li::marker { content: none; display: none; }
.pbmp img { max-width: 100%; border: 0; box-shadow: none; }

/* ヒーロー（全9種セット） */
.pbmp__hero {
  position: relative;
  overflow: hidden;
  background: var(--pbmp-surface);
  border: 1px solid var(--pbmp-line);
  border-radius: 4px;
  box-shadow: 0 18px 44px rgba(28, 25, 20, .12);
  isolation: isolate;
}
.pbmp__hero::before { position: absolute; inset: 0 auto 0 0; z-index: 2; width: 5px; background: var(--pbmp-accent); content: ""; }
.pbmp__hero::after {
  position: absolute; top: -170px; right: -170px; z-index: -1; width: 400px; height: 400px; border: 1px solid rgba(217, 74, 0, .14);
  border-radius: 50%; box-shadow: 0 0 0 36px rgba(217, 74, 0, .035), 0 0 0 72px rgba(217, 74, 0, .025); content: "";
}
.pbmp__promo { background: var(--pbmp-accent); color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .03em; padding: 13px 16px 12px 22px; }
.pbmp__promo span { display: inline-block; }
.pbmp__hmain { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); gap: 12px; align-items: center; padding: 18px 16px 18px 22px; }
.pbmp__himg { min-width: 0; }
.pbmp__himg .pbmp__img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.pbmp__hbody { min-width: 0; }
.pbmp__brand { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.pbmp__tag { background: var(--pbmp-accent); color: #fff; padding: 2px 7px; letter-spacing: 0; font-size: 11px; line-height: 1.4; }
.pbmp__title { word-break: keep-all; overflow-wrap: break-word; text-wrap: balance; margin: 6px 0 8px !important; font-size: clamp(16px, 4.4vw, 24px); font-weight: 800; line-height: 1.35; }
.pbmp__sub { word-break: keep-all; display: block; margin-top: 2px; color: var(--pbmp-muted); font-size: .64em; font-weight: 700; letter-spacing: .04em; }
.pbmp__label { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; color: var(--pbmp-muted); font-size: 12px; font-weight: 700; }
/* 発売前の印（発売日が今日より後のときだけ出る。発売日を過ぎれば自動で消える） */
.pbmp__pre { display: inline-block; padding: 1px 8px; border: 1px solid var(--pbmp-accent); border-radius: 999px; background: #fff; color: var(--pbmp-accent); font-size: 11px; font-weight: 800; line-height: 1.6; letter-spacing: .02em; white-space: nowrap; }
.pbmp__amount { color: var(--pbmp-accent); font-weight: 800; line-height: 1.05; white-space: nowrap; }
.pbmp__amount .pbmp__num { font-size: clamp(34px, 10vw, 56px); letter-spacing: -.02em; }
.pbmp__amount .pbmp__yen { margin-left: 2px; font-size: clamp(14px, 3.8vw, 20px); }
.pbmp__sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-top: 8px !important; padding-top: 8px; border-top: 1px solid var(--pbmp-line); font-size: 12px; font-weight: 700; color: var(--pbmp-ink); }
.pbmp__sumval { font-size: 15px; font-weight: 800; }
.pbmp__sumnote { word-break: auto-phrase; text-wrap: pretty; margin-top: 2px !important; color: var(--pbmp-muted); font-size: 10px; line-height: 1.5; }
.pbmp a.pbmp__cta, .post_content .pbmp a.pbmp__cta {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; margin-top: 12px; padding: 12px 16px;
  background: var(--pbmp-accent); color: #fff !important; border-radius: 3px; box-shadow: 0 8px 18px rgba(217, 74, 0, .25);
  font-size: 15px; font-weight: 800; line-height: 1.3; text-decoration: none !important; white-space: nowrap;
}
.pbmp a.pbmp__cta:hover { background: var(--pbmp-accent-dark); }
.pbmp__arrow { flex: 0 0 auto; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* 免責文（ヒーローの下に 1 回） */
.pbmp__disc { word-break: auto-phrase; text-wrap: pretty; margin-top: 10px !important; color: var(--pbmp-muted); font-size: 11px; line-height: 1.7; }

/* 見出し・グリッド */
.pbmp__gnote { word-break: auto-phrase; text-wrap: pretty; margin-top: 10px !important; color: var(--pbmp-muted); font-size: 11px; line-height: 1.7; }
.pbmp__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 22px 0 10px; }
.pbmp__headt { font-size: 18px; font-weight: 800; line-height: 1.3; }
.pbmp__headn { flex: 0 0 auto; white-space: nowrap; color: var(--pbmp-muted); font-size: 12px; font-weight: 700; }
.pbmp__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.post_content .pbmp ol.pbmp__grid > li.pbmp__card, .pbmp ol.pbmp__grid > li.pbmp__card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 8px 10px 12px; background: #fff; border: 1px solid var(--pbmp-line); border-radius: 4px; }
.pbmp__thumb { position: relative; overflow: hidden; width: 100%; aspect-ratio: var(--pbmp-ratio, 1 / 1); border-radius: 2px; background: #fff; }
.pbmp__thumb .pbmp__img { position: absolute; inset: 0; display: block; width: 100%; max-width: none; height: 100%; object-fit: contain; }
.pbmp__rk { position: absolute; top: 4px; left: 4px; z-index: 1; padding: 2px 7px; background: var(--pbmp-ink); color: #fff; font-size: 11px; font-weight: 800; line-height: 1.5; border-radius: 2px; }
.pbmp__rk--prize { max-width: calc(100% - 64px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: var(--pbmp-accent); }
.pbmp__kind { margin-top: 8px !important; color: var(--pbmp-muted); font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.pbmp__bd { position: absolute; top: 4px; right: 4px; z-index: 1; padding: 2px 6px; font-size: 10px; font-weight: 800; line-height: 1.5; border-radius: 2px; }
.pbmp__bd--hi { background: var(--pbmp-accent); color: #fff; }
.pbmp__bd--lo { background: #fff; color: var(--pbmp-muted); border: 1px solid var(--pbmp-line); }
.pbmp__kind + .pbmp__lab { margin-top: 0 !important; }
.pbmp__lab + .pbmp__name, .pbmp__kind + .pbmp__name { margin-top: 2px !important; }
.pbmp__lab { margin-top: 8px !important; color: var(--pbmp-accent); font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.pbmp__name { margin-top: 8px !important; margin-bottom: auto !important; min-height: 1.5em; font-size: 12px; font-weight: 700; line-height: 1.5; overflow-wrap: break-word; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pbmp__price { margin-top: 8px !important; color: var(--pbmp-accent); font-weight: 800; line-height: 1.1; white-space: nowrap; }
.pbmp__price .pbmp__num { font-size: 28px; letter-spacing: -.01em; }
.pbmp__price--long .pbmp__num { font-size: 22px; }
.pbmp__price .pbmp__yen { margin-left: 1px; font-size: 14px; }
/* source="ichiban": 価格のない賞の「買取中！」（折り返せる・数字の枠より小さめ）と、範囲の価格（〜 の後ろで折り返せる） */
.pbmp__price--soon { white-space: normal; line-height: 1.3; word-break: auto-phrase; overflow-wrap: break-word; }
.pbmp__price--soon .pbmp__txt { font-size: 18px; letter-spacing: 0; }
.pbmp__price--range { white-space: normal; line-height: 1.25; }
.pbmp__price--range .pbmp__num { font-size: 18px; }
.pbmp__nb { white-space: nowrap; }
.pbmp__bar { height: 4px; margin: 6px 0 10px; overflow: hidden; background: #ece8df; border-radius: 2px; }
.pbmp__bar span { display: block; height: 100%; background: var(--pbmp-accent); border-radius: 2px; }
.pbmp__bar--none { visibility: hidden; }
.pbmp a.pbmp__btn, .post_content .pbmp a.pbmp__btn {
  display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 44px; margin-top: auto; padding: 10px 6px;
  background: var(--pbmp-accent); color: #fff !important; border-radius: 3px; font-size: 13px; font-weight: 800; line-height: 1.2; text-decoration: none !important; white-space: nowrap;
}
.pbmp a.pbmp__btn:hover { background: var(--pbmp-accent-dark); }
.pbmp a.pbmp__btn .pbmp__arrow { width: 14px; height: 14px; }
.pbmp a:focus-visible { outline: 3px solid #1b1b19; outline-offset: 2px; }

@media (min-width: 700px) {
  .pbmp__promo { padding: 15px 30px 14px 36px; font-size: 15px; }
  .pbmp__hmain { grid-template-columns: 230px minmax(0, 1fr); gap: 34px; padding: 26px 32px 26px 36px; }
  .pbmp__title { font-size: 24px; }
  .pbmp__amount .pbmp__num { font-size: 56px; }
  .pbmp__amount .pbmp__yen { font-size: 22px; }
  .pbmp a.pbmp__cta, .post_content .pbmp a.pbmp__cta { max-width: 340px; }
  .pbmp__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .post_content .pbmp ol.pbmp__grid > li.pbmp__card, .pbmp ol.pbmp__grid > li.pbmp__card { padding: 10px 12px 14px; }
  .pbmp__price .pbmp__num { font-size: 30px; }
  .pbmp__price--long .pbmp__num { font-size: 24px; }
  .pbmp__price--soon .pbmp__txt { font-size: 20px; }
  .pbmp__price--range .pbmp__num { font-size: 22px; }
  .pbmp__name { font-size: 13px; }
}
/* 題名に長い一続きの語があるヒーロー（PHP が pbmp__hero--long を付ける）: 狭い画面では画像を上・文字を下の縦積みにして、語の途中で割れないようにする */
@media (max-width: 599px) {
  .pbmp__hero--long .pbmp__hmain { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .pbmp__hero--long .pbmp__himg { max-width: 240px; margin: 0 auto; }
}
/* 題名に長い語があるヒーローは、本文の幅がいちばん狭い 700〜1199px（サイドバーが付く幅）で題名を少し小さくして、語の途中で割れないようにする */
@media (min-width: 700px) and (max-width: 1199px) {
  .pbmp__hero--long .pbmp__title { font-size: 20px; }
}
@media (max-width: 359px) {
  .pbmp__hmain { grid-template-columns: minmax(0, 1fr); }
  .pbmp__himg { max-width: 160px; }
}
@media (prefers-reduced-motion: no-preference) {
  .pbmp a.pbmp__cta, .pbmp a.pbmp__btn { transition: background-color .15s ease; }
}
