/* ==========================================================
   オリパ還元率データ LPデザイン base
   すべてのスキン共通の骨組み。色・書体・角丸は各スキンの変数で決まる。
   ========================================================== */
.ord-lp-root {
  --ord-bg: #f6f2e8;
  --ord-surface: #ffffff;
  --ord-surface-2: #fbf9f4;
  --ord-text: #1d2733;
  --ord-muted: #4f5b68;
  --ord-line: #e2dccd;
  --ord-primary: #14314d;
  --ord-primary-deep: #0e2438;
  --ord-accent: #e6b450;
  --ord-accent-ink: #14314d;
  --ord-accent-text: #8a6a14;
  --ord-hero-bg: #14314d;
  --ord-hero-text: #ffffff;
  --ord-hero-muted: #c9d3de;
  --ord-band: #ffffff;
  --ord-radius: 14px;
  --ord-radius-sm: 8px;
  --ord-shadow: none;
  --ord-font-head: "Dela Gothic One", "Zen Kaku Gothic New", sans-serif;
  --ord-font-body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --ord-font-num: "M PLUS 1 Code", ui-monospace, monospace;
  --ord-wrap: 920px;
  color: var(--ord-text);
}
/* ページ全体：横スクロールを防ぎ、テーマの枠で帯が切れないようにする */
body:has(.ord-lp-root) { overflow-x: clip; }
body:has(.ord-lp-root) :is(.l-content, .l-mainContent, .l-article, #content, .post_content, .entry-content, .p-entry, article) { overflow: visible !important; }
body:has(.ord-lp-root) .post_content > .ord-lp-root:first-child { margin-top: 0; }
body:has(.ord-lp-root) :is(.l-content, .l-mainContent, .l-article, #content) { background: transparent !important; }

/* テーマ側のページタイトルは隠し、ヒーローの中に H1 を出す */
body:has(.ord-lp-root.ord-has-hero) .c-pageTitle,
body:has(.ord-lp-root.ord-has-hero) .l-topTitleArea,
body:has(.ord-lp-root.ord-has-hero) .entry-header,
body:has(.ord-lp-root.ord-has-hero) .p-articleHead { display: none !important; }

.ord-lp-root.ord-lp-root .post_content,
.ord-lp-root.ord-lp-root {
  font-family: var(--ord-font-body);
  color: var(--ord-text);
  line-height: 1.85;
  font-size: 16px;
}

/* テーマの見出し装飾をリセット */
.ord-lp-root.ord-lp-root :is(h2, h3, h4)::before,
.ord-lp-root.ord-lp-root :is(h2, h3, h4)::after,
.ord-lp-root.ord-lp-root :is(h2, h3, h4)::before,
.ord-lp-root.ord-lp-root :is(h2, h3, h4)::after { content: none !important; display: none !important; }
.ord-lp-root.ord-lp-root :is(h2, h3, h4),
.ord-lp-root.ord-lp-root :is(h2, h3, h4) {
  background: none; border: 0; padding: 0; box-shadow: none; color: var(--ord-primary);
}

/* ---------- セクション（h2 ごとに plugin が包む） ---------- */
.ord-lp-root.ord-lp-root .ord-sec {
  position: relative;
  background: var(--ord-bg);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 72px max(20px, calc(50vw - var(--ord-wrap) / 2));
}
.ord-lp-root.ord-lp-root .ord-sec:nth-of-type(even) { background: var(--ord-band); }
.ord-lp-root.ord-lp-root .ord-sec > * + * { margin-top: 1.2em; }
.ord-lp-root.ord-lp-root .ord-sec-head { margin-top: 0 !important; }

.ord-lp-root.ord-lp-root h2.wp-block-heading,
.ord-lp-root.ord-lp-root h2.wp-block-heading {
  font-family: var(--ord-font-head);
  font-weight: 400;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.35;
  margin: 0 0 28px;
  color: var(--ord-primary);
}
.ord-lp-root.ord-lp-root h3.wp-block-heading,
.ord-lp-root.ord-lp-root h3.wp-block-heading {
  font-size: 20px; font-weight: 700; margin: 40px 0 12px; line-height: 1.5;
}
.ord-lp-root.ord-lp-root h4.wp-block-heading,
.ord-lp-root.ord-lp-root h4.wp-block-heading {
  font-size: 19px; font-weight: 700; margin: 0 0 10px;
}

/* ---------- PR 表記 ---------- */
.ord-lp-root.ord-lp-root .ord-pr {
  margin: 0 !important; padding: 8px 0; font-size: 12px; color: var(--ord-muted);
}
.ord-lp-root.ord-lp-root .ord-pr p { margin: 0; }
.ord-lp-root.ord-lp-root .ord-pr strong {
  display: inline-block; border: 1px solid currentColor; border-radius: 4px; padding: 0 6px; margin-right: 6px; font-weight: 700;
}

/* ---------- ヒーロー ---------- */
.ord-lp-root.ord-lp-root .ord-hero {
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  margin-top: 0 !important;
  padding: 72px max(20px, calc(50vw - 560px)) 80px !important;
  background: var(--ord-hero-bg);
  color: var(--ord-hero-text);
  position: relative;
  overflow: hidden;
}
.ord-lp-root.ord-lp-root .ord-hero > * { max-width: 760px; margin-left: 0 !important; margin-right: 0 !important; }
.ord-lp-root.ord-lp-root .ord-hero .ord-hero-title {
  font-family: var(--ord-font-head); font-weight: 400;
  font-size: clamp(30px, 4.6vw, 52px); line-height: 1.3; margin: 0 0 24px;
  color: var(--ord-hero-text); background: none; padding: 0; border: 0;
}
.ord-lp-root.ord-lp-root .ord-hero .ord-hero-lead { font-size: 17px; color: var(--ord-hero-muted); margin: 0 0 16px; }
.ord-lp-root.ord-lp-root .ord-hero .ord-hero-date { font-size: 13px; color: var(--ord-hero-muted); margin: 0 0 28px; }
.ord-lp-root.ord-lp-root .ord-hero .wp-block-buttons { margin-top: 8px; }

/* ---------- ボタン ---------- */
.ord-lp-root.ord-lp-root .wp-block-button__link,
.ord-lp-root.ord-lp-root .wp-block-button__link {
  background: var(--ord-accent); color: var(--ord-accent-ink);
  font-weight: 700; font-size: 16px; border-radius: 999px;
  padding: 16px 36px; min-height: 48px; text-decoration: none; border: 0;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.ord-lp-root.ord-lp-root .wp-block-button__link:hover { transform: translateY(-1px); }
.ord-lp-root.ord-lp-root .wp-block-button__link:focus-visible { outline: 3px solid var(--ord-primary); outline-offset: 3px; }

/* ---------- 表 ---------- */
.ord-lp-root.ord-lp-root .wp-block-table,
.ord-lp-root.ord-lp-root .wp-block-table { overflow-x: auto; margin: 20px 0; }
.ord-lp-root.ord-lp-root .wp-block-table table {
  width: 100%; border-collapse: separate; border-spacing: 0; background: var(--ord-surface);
  border: 1px solid var(--ord-line); border-radius: var(--ord-radius-sm); overflow: hidden; font-size: 15px;
}
.ord-lp-root.ord-lp-root .wp-block-table :is(th, td) {
  border: 0; border-bottom: 1px solid var(--ord-line); padding: 14px 16px; text-align: left; vertical-align: top;
}
.ord-lp-root.ord-lp-root .wp-block-table tr:last-child td { border-bottom: 0; }
.ord-lp-root.ord-lp-root .wp-block-table thead th {
  background: var(--ord-primary); color: #fff; font-weight: 700; font-size: 14px; white-space: nowrap;
}
.ord-lp-root.ord-lp-root .wp-block-table tbody td:first-child { font-weight: 700; color: var(--ord-primary); background: var(--ord-surface-2); }
.ord-lp-root.ord-lp-root .ord-compare table { min-width: 640px; }
.ord-lp-root.ord-lp-root .ord-calc-example tbody tr:last-child td { background: var(--ord-surface-2); font-weight: 700; }
.ord-lp-root.ord-lp-root .ord-calc-example td:nth-child(n+2) { font-family: var(--ord-font-num); }

/* ---------- 計算式・注意・注記 ---------- */
.ord-lp-root.ord-lp-root .ord-formula {
  background: var(--ord-primary); color: #fff; border-radius: var(--ord-radius);
  padding: 28px 24px !important; text-align: center;
}
.ord-lp-root.ord-lp-root .ord-formula p { margin: 0; font-size: clamp(17px, 2.2vw, 22px); font-weight: 700; }
.ord-lp-root.ord-lp-root .ord-note, .ord-lp-root.ord-lp-root .ord-callout {
  background: var(--ord-surface); border: 1px solid var(--ord-line); border-left: 5px solid var(--ord-accent);
  border-radius: var(--ord-radius-sm); padding: 16px 20px !important;
}
.ord-lp-root.ord-lp-root .ord-note p, .ord-lp-root.ord-lp-root .ord-callout p { margin: 0; }
.ord-lp-root.ord-lp-root .ord-small { font-size: 13px; color: var(--ord-muted); }

/* ---------- おすすめカード ---------- */
.ord-lp-root.ord-lp-root .ord-rank-card {
  background: var(--ord-surface); border: 1px solid var(--ord-line); border-radius: var(--ord-radius);
  padding: 28px !important; margin: 24px 0 !important; box-shadow: var(--ord-shadow); position: relative;
}
.ord-lp-root.ord-lp-root .ord-rank-card > * { max-width: none !important; }
.ord-lp-root.ord-lp-root .ord-rank-card .ord-rank-title { font-size: 22px !important; }
.ord-lp-root.ord-lp-root .ord-rank-card .wp-block-table { margin: 16px 0; }
.ord-lp-root.ord-lp-root .ord-rank-card .wp-block-buttons { justify-content: flex-end; }

/* ---------- リスト ---------- */
.ord-lp-root.ord-lp-root ol.ord-steps { list-style: none; padding: 0; counter-reset: ordstep; display: grid; gap: 12px; }
.ord-lp-root.ord-lp-root ol.ord-steps > li {
  counter-increment: ordstep; position: relative; background: var(--ord-surface); border: 1px solid var(--ord-line);
  border-radius: var(--ord-radius-sm); padding: 16px 18px 16px 64px; margin: 0;
}
.ord-lp-root.ord-lp-root ol.ord-steps > li::before {
  content: counter(ordstep); position: absolute; left: 16px; top: 14px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--ord-accent); color: var(--ord-accent-ink); font-family: var(--ord-font-num); font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.ord-lp-root.ord-lp-root ul:is(.ord-checklist, .ord-do, .ord-dont, .ord-features) { list-style: none; padding: 0; display: grid; gap: 10px; }
.ord-lp-root.ord-lp-root ul:is(.ord-checklist, .ord-do, .ord-dont, .ord-features) > li {
  position: relative; padding: 12px 16px 12px 44px; margin: 0; background: var(--ord-surface);
  border: 1px solid var(--ord-line); border-radius: var(--ord-radius-sm);
}
.ord-lp-root.ord-lp-root ul:is(.ord-checklist, .ord-do, .ord-features) > li::before {
  content: ""; position: absolute; left: 16px; top: 18px; width: 14px; height: 8px;
  border-left: 3px solid var(--ord-accent-text); border-bottom: 3px solid var(--ord-accent-text); transform: rotate(-45deg);
}
.ord-lp-root.ord-lp-root ul.ord-dont > li::before {
  content: "×"; position: absolute; left: 16px; top: 10px; font-weight: 700; color: var(--ord-muted); font-size: 18px;
}

/* ---------- FAQ ---------- */
.ord-lp-root.ord-lp-root .wp-block-details {
  background: var(--ord-surface); border: 1px solid var(--ord-line); border-radius: var(--ord-radius-sm);
  padding: 0; margin: 10px 0; overflow: hidden;
}
.ord-lp-root.ord-lp-root .wp-block-details summary {
  cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 700; color: var(--ord-primary); list-style: none; position: relative;
}
.ord-lp-root.ord-lp-root .wp-block-details summary::-webkit-details-marker { display: none; }
.ord-lp-root.ord-lp-root .wp-block-details summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--ord-accent-text);
}
.ord-lp-root.ord-lp-root .wp-block-details[open] summary::after { content: "−"; }
.ord-lp-root.ord-lp-root .wp-block-details > p { padding: 0 20px 18px; margin: 0; }
.ord-lp-root.ord-lp-root .wp-block-details summary:focus-visible { outline: 3px solid var(--ord-accent); outline-offset: -3px; }

/* ---------- 運営者情報 ---------- */
.ord-lp-root.ord-lp-root .ord-lead { font-size: 18px; }
.ord-lp-root.ord-lp-root .ord-profile {
  background: var(--ord-surface); border: 1px solid var(--ord-line); border-radius: var(--ord-radius); padding: 28px !important;
}
.ord-lp-root.ord-lp-root .ord-profile .wp-block-image img { border-radius: 50%; }

.ord-lp-root.ord-lp-root hr.wp-block-separator { border: 0; border-top: 1px solid var(--ord-line); margin: 32px 0; }

/* ---------- スマホ下部の固定 CTA ---------- */
.ord-sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  display: none;
}
.ord-sticky-cta a {
  display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 999px;
  background: var(--ord-accent, #e6b450); color: var(--ord-accent-ink, #14314d); font-weight: 700; text-decoration: none;
  box-shadow: 0 6px 20px rgba(14, 36, 56, .25); font-family: var(--ord-font-body, sans-serif);
}
.ord-sticky-cta.is-show { display: block; }
@media (min-width: 900px) { .ord-sticky-cta { display: none !important; } }

/* ---------- 管理者用スキン切り替え ---------- */
.ord-skin-switcher {
  position: fixed; right: 16px; bottom: 16px; z-index: 99999; background: #0e2438; color: #fff; border-radius: 12px;
  padding: 10px 12px; font: 12px/1.4 system-ui, sans-serif; box-shadow: 0 6px 24px rgba(0,0,0,.3); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; max-width: calc(100vw - 32px);
}
.ord-skin-switcher a { color: #fff; text-decoration: none; padding: 6px 10px; border-radius: 8px; border: 1px solid #2f5275; }
.ord-skin-switcher a.is-current { background: #e6b450; color: #0e2438; border-color: #e6b450; font-weight: 700; }
@media (max-width: 899px) { .ord-skin-switcher { bottom: 80px; } }

/* ---------- レスポンシブ ---------- */
@media (max-width: 720px) {
  .ord-lp-root.ord-lp-root .ord-sec { padding: 52px 18px; }
  .ord-lp-root.ord-lp-root .ord-hero { padding: 48px 20px 56px !important; }
  .ord-lp-root.ord-lp-root .ord-rank-card { padding: 20px !important; }
  .ord-lp-root.ord-lp-root .ord-rank-card .wp-block-buttons { justify-content: stretch; }
  .ord-lp-root.ord-lp-root .ord-rank-card .wp-block-button, .ord-lp-root.ord-lp-root .ord-hero .wp-block-button { width: 100%; }
  .ord-lp-root.ord-lp-root .wp-block-button__link { width: 100%; justify-content: center; }
  .ord-lp-root.ord-lp-root .wp-block-table :is(th, td) { padding: 12px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .ord-lp-root.ord-lp-root * { transition: none !important; animation: none !important; }
}

/* 追加：ボタン配置と表の列幅 */
.ord-lp-root.ord-lp-root .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.ord-lp-root.ord-lp-root .ord-rank-table td:first-child,
.ord-lp-root.ord-lp-root .ord-siteinfo td:first-child,
.ord-lp-root.ord-lp-root .ord-profile-table td:first-child { width: 34%; }

/* ---------- ファーストビュー：中央そろえ＋おすすめ3社を横並び ---------- */
.ord-lp-root.ord-lp-root .ord-hero { text-align: center; padding-top: 64px !important; padding-bottom: 72px !important; }
.ord-lp-root.ord-lp-root .ord-hero > * { margin-left: auto !important; margin-right: auto !important; }
.ord-lp-root.ord-lp-root .ord-hero .ord-hero-title { max-width: 960px; font-size: clamp(28px, 4.2vw, 50px); line-height: 1.35; margin-bottom: 18px !important; }
.ord-lp-root.ord-lp-root .ord-nb { display: inline-block; }
.ord-lp-root.ord-lp-root .ord-hero .ord-hero-main { max-width: 720px; padding: 0 !important; }
.ord-lp-root.ord-lp-root .ord-hero .ord-hero-main > * { margin-left: auto !important; margin-right: auto !important; }
.ord-lp-root.ord-lp-root .ord-hero .ord-hero-lead { font-size: 16px; }
.ord-lp-root.ord-lp-root .ord-hero .ord-hero-date { margin-bottom: 10px; }
.ord-lp-root.ord-lp-root .ord-hero .ord-hero-sublink { font-size: 14px; font-weight: 700; margin: 0; }
.ord-lp-root.ord-lp-root .ord-hero .ord-hero-sublink a { color: var(--ord-hero-text); text-decoration: underline; text-underline-offset: 4px; }

.ord-lp-root.ord-lp-root .ord-hero .ord-hero-picks {
  max-width: 1040px !important; margin-top: 36px !important; padding: 0 !important;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; text-align: left;
}
.ord-lp-root.ord-lp-root .ord-hero .ord-hero-picks > * { margin: 0 !important; max-width: none !important; }
.ord-lp-root.ord-lp-root .ord-hero .ord-hero-picks-title,
.ord-lp-root.ord-lp-root .ord-hero .ord-hero-picks > .ord-small { grid-column: 1 / -1; text-align: center; color: var(--ord-hero-muted); }
.ord-lp-root.ord-lp-root .ord-hero .ord-hero-picks-title { font-size: 15px; color: var(--ord-hero-text); }
.ord-lp-root.ord-lp-root .ord-hero .ord-hero-picks-title strong::after { content: "PR"; margin-left: 8px; font-size: 11px; border: 1px solid currentColor; border-radius: 4px; padding: 0 6px; vertical-align: 2px; }
.ord-lp-root.ord-lp-root .ord-hero .ord-hero-pick {
  background: var(--ord-surface); color: var(--ord-text); border-radius: var(--ord-radius); padding: 22px 20px !important;
  display: flex !important; flex-direction: column; align-items: center; text-align: center; gap: 8px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .22);
}
.ord-lp-root.ord-lp-root .ord-hero .ord-hero-pick > * { margin: 0 !important; max-width: none !important; }
.ord-lp-root.ord-lp-root .ord-hero .ord-hero-pick::before {
  width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--ord-font-head); font-size: 18px; background: var(--ord-primary); color: var(--ord-accent);
}
.ord-lp-root.ord-lp-root .ord-hero .ord-pick-1::before { content: "1"; }
.ord-lp-root.ord-lp-root .ord-hero .ord-pick-2::before { content: "2"; }
.ord-lp-root.ord-lp-root .ord-hero .ord-pick-3::before { content: "3"; }
.ord-lp-root.ord-lp-root .ord-hero .ord-pick-name { font-size: 19px; color: var(--ord-primary); line-height: 1.4; }
.ord-lp-root.ord-lp-root .ord-hero .ord-pick-perk { font-size: 13px; color: var(--ord-muted); line-height: 1.6; flex-grow: 1; }
.ord-lp-root.ord-lp-root .ord-hero .ord-hero-pick .wp-block-buttons { width: 100%; justify-content: center; margin-top: 6px !important; }
.ord-lp-root.ord-lp-root .ord-hero .ord-hero-pick .wp-block-button,
.ord-lp-root.ord-lp-root .ord-hero .ord-hero-pick .wp-block-button__link { width: 100%; justify-content: center; }
.ord-lp-root.ord-lp-root .ord-hero .ord-hero-pick .wp-block-button__link { padding: 12px 16px; font-size: 15px; }

@media (max-width: 860px) {
  .ord-lp-root.ord-lp-root .ord-hero { padding-top: 40px !important; padding-bottom: 48px !important; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-hero-sublink { display: none; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-hero-lead { font-size: 15px; text-align: left; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-hero-picks { gap: 10px; margin-top: 24px !important; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-hero-pick { padding: 16px 12px !important; gap: 6px; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-hero-pick::before { width: 32px; height: 32px; font-size: 15px; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-pick-name { font-size: 16px; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-pick-perk { font-size: 12px; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-hero-pick .wp-block-button__link { font-size: 13px; padding: 10px 8px; }
}
/* スマホ：3社を横に3つ並べ、一度に見比べられるようにする */
@media (max-width: 640px) {
  .ord-lp-root.ord-lp-root .ord-hero { padding-left: 12px !important; padding-right: 12px !important; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-hero-main { padding: 0 8px !important; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-hero-picks { gap: 6px; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-hero-pick { padding: 12px 6px 10px !important; gap: 5px; border-radius: 10px; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-hero-pick::before { width: 26px; height: 26px; font-size: 13px; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-pick-name { font-size: 13px; line-height: 1.35; min-height: 2.7em; display: flex; align-items: center; justify-content: center; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-pick-perk { font-size: 11px; line-height: 1.5; text-align: left; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-hero-pick .wp-block-button__link { font-size: 12px; padding: 9px 4px; min-height: 40px; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-hero-picks > .ord-small { font-size: 11px; padding: 0 8px; }
}

/* おすすめカード内の「還元率を見るときのポイント」 */
.ord-lp-root.ord-lp-root .ord-rank-point {
  background: var(--ord-surface-2); border-left: 4px solid var(--ord-accent); border-radius: var(--ord-radius-sm);
  padding: 14px 18px !important; margin: 16px 0 !important;
}
.ord-lp-root.ord-lp-root .ord-rank-point > * { margin: 0 !important; max-width: none !important; }
.ord-lp-root.ord-lp-root .ord-rank-point > p:first-child { color: var(--ord-primary); margin-bottom: 4px !important; }
.ord-lp-root.ord-lp-root .ord-compare td:first-child { width: 130px; min-width: 130px; white-space: nowrap; }
.ord-lp-root.ord-lp-root .ord-compare :is(td, th) { font-size: 14px; }
@media (max-width: 640px) {
  .ord-lp-root.ord-lp-root .ord-hero .ord-hero-pick .wp-block-button__link { flex-direction: column; gap: 0; line-height: 1.3; padding: 8px 4px; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-btn-pr { font-size: 10px; font-weight: 400; }
}

/* ---------- 相場連携プラグインの表示 ---------- */
.ord-lp-root.ord-lp-root .ord-hero .ord-pick-rate { font-size: 13px; color: var(--ord-muted); }
.ord-lp-root.ord-lp-root .ord-hero .ord-pick-rate strong { display: block; font-family: var(--ord-font-num); font-size: 26px; color: var(--ord-primary); line-height: 1.2; }
.ord-lp-root.ord-lp-root .ord-rate-num { font-family: var(--ord-font-num); font-weight: 700; color: var(--ord-primary); }
.ord-lp-root.ord-lp-root .ord-rank-table .ord-rate-num { font-size: 20px; }
.ord-lp-root.ord-lp-root .ord-rate-empty { color: var(--ord-muted); font-size: 14px; }
.ord-lp-root.ord-lp-root .ord-rate-table tbody tr:first-child td { font-size: 18px; font-weight: 700; }
.ord-lp-root.ord-lp-root .ord-rate-table tbody tr:first-child td:not(:first-child) { font-family: var(--ord-font-num); color: var(--ord-primary); }
.ord-lp-root.ord-lp-root .ord-rate-trend { background: var(--ord-surface); border: 1px solid var(--ord-line); border-radius: var(--ord-radius); padding: 20px; margin: 16px 0; overflow-x: auto; }
.ord-lp-root.ord-lp-root .ord-rate-trend figcaption { margin-top: 8px; }
.ord-lp-root.ord-lp-root .ord-oripa { background: var(--ord-surface); border: 1px solid var(--ord-line); border-radius: var(--ord-radius); padding: 20px; margin: 16px 0; }
.ord-lp-root.ord-lp-root .ord-oripa-sum strong { font-family: var(--ord-font-num); font-size: 22px; color: var(--ord-primary); }
.ord-lp-root.ord-lp-root .ord-rate-source { text-align: right; }
@media (max-width: 640px) {
  .ord-lp-root.ord-lp-root .ord-hero .ord-pick-rate { font-size: 10px; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-pick-rate strong { font-size: 18px; }
}
.ord-lp-root.ord-lp-root .ord-rate-source a { color: var(--ord-primary); }

/* クラシックテーマで内側の枠が残った場合の保険 */
.ord-lp-root.ord-lp-root .wp-block-group__inner-container { display: contents; }

/* ---------- 各オリパのロゴ ---------- */
.ord-lp-root.ord-lp-root .ord-logo { margin: 0 !important; line-height: 0; }
.ord-lp-root.ord-lp-root .ord-logo a { display: inline-block; }
.ord-lp-root.ord-lp-root .ord-logo img { width: auto; max-width: 100%; object-fit: contain; border-radius: 4px; }
.ord-lp-root.ord-lp-root .ord-hero .ord-pick-logo { text-align: center; }
.ord-lp-root.ord-lp-root .ord-hero .ord-pick-logo img { height: 36px; }
.ord-lp-root.ord-lp-root .ord-rank-logo { margin: 4px 0 14px !important; }
.ord-lp-root.ord-lp-root .ord-rank-logo img { height: 48px; }
@media (max-width: 640px) {
  .ord-lp-root.ord-lp-root .ord-hero .ord-pick-logo img { height: 22px; }
  .ord-lp-root.ord-lp-root .ord-rank-logo img { height: 40px; }
}

/* ==========================================================
   v1.8.0 の調整
   ========================================================== */

/* SWELLのコンテンツ上部の余白を詰める（ヒーローがあるページだけ） */
body:has(.ord-lp-root.ord-has-hero) #content.l-content,
body:has(.ord-lp-root.ord-has-hero) .l-content { padding-top: 0 !important; margin-top: 0 !important; }
body:has(.ord-lp-root.ord-has-hero) .l-mainContent,
body:has(.ord-lp-root.ord-has-hero) .l-mainContent__inner,
body:has(.ord-lp-root.ord-has-hero) .l-article { padding-top: 0 !important; margin-top: 0 !important; }
body:has(.ord-lp-root.ord-has-hero) .l-mainContent__inner > .post_content,
body:has(.ord-lp-root.ord-has-hero) .post_content { margin-top: 0 !important; padding-top: 0 !important; }
body:has(.ord-lp-root.ord-has-hero) .p-articleHead,
body:has(.ord-lp-root.ord-has-hero) .p-articleMetas.-top,
body:has(.ord-lp-root.ord-has-hero) .p-articleThumb { display: none !important; }
.ord-lp-root.ord-lp-root > .ord-pr:first-child { margin-top: 0 !important; }

/* タイトルの行の長さをそろえる */
.ord-lp-root.ord-lp-root .ord-hero .ord-hero-title { text-wrap: balance; }

/* 「人気オリパサイトの比較を見る」：3選の下、少し大きく */
.ord-lp-root.ord-lp-root .ord-hero .ord-hero-sublink { display: block !important; text-align: center; font-size: 17px; margin-top: 28px !important; }
.ord-lp-root.ord-lp-root .ord-hero .ord-hero-sublink a::after { content: " ↓"; }
@media (max-width: 640px) { .ord-lp-root.ord-lp-root .ord-hero .ord-hero-sublink { font-size: 15px; margin-top: 18px !important; } }

/* ---------- ファーストビュー：1位を目立たせる ---------- */
.ord-lp-root.ord-lp-root .ord-hero .ord-hero-picks { padding-top: 18px !important; overflow: visible; }
.ord-lp-root.ord-lp-root .ord-hero .ord-hero-pick { position: relative; }
.ord-lp-root.ord-lp-root .ord-hero .ord-pick-1 {
  box-shadow: 0 0 0 3px var(--ord-accent), 0 18px 40px rgba(0, 0, 0, .3);
  /* 1.12.7：上に6px持ち上げる強調をやめ、ほかの2枚と上下をそろえる（枠の光と「おすすめ！」のラベルは残す） */
  transform: none;
}
.ord-lp-root.ord-lp-root .ord-hero .ord-pick-1::after {
  content: "おすすめ！"; position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  background: var(--ord-accent); color: var(--ord-accent-ink); font-weight: 700; font-size: 14px; line-height: 1;
  padding: 8px 16px; border-radius: 999px; white-space: nowrap; box-shadow: 0 4px 10px rgba(0,0,0,.2);
}
.ord-lp-root.ord-lp-root .ord-hero .ord-pick-1 .wp-block-button__link { box-shadow: 0 5px 0 color-mix(in srgb, var(--ord-accent) 60%, #000); }
@media (max-width: 640px) {
  .ord-lp-root.ord-lp-root .ord-hero .ord-pick-1 { transform: none; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-pick-1::after { font-size: 11px; padding: 5px 10px; top: -12px; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-btn-name { display: none; }
}

/* ---------- ボタンは常に中央、PRの小さな表記は使わない ---------- */
.ord-lp-root.ord-lp-root .wp-block-buttons { justify-content: center !important; }
.ord-lp-root.ord-lp-root .ord-rank-card .wp-block-buttons { justify-content: center !important; }
.ord-lp-root.ord-lp-root .ord-hero .ord-btn-name::after { content: ""; }

/* ---------- 比較表：ロゴ、1位を最も強調、2・3位を次点で強調 ---------- */
.ord-lp-root.ord-lp-root .ord-compare-sites thead th { vertical-align: top; text-align: center; white-space: normal; }
.ord-lp-root.ord-lp-root .ord-compare-sites thead th a { color: #fff; text-decoration: none; font-weight: 700; }
.ord-lp-root.ord-lp-root .ord-compare-sites thead th a:hover { text-decoration: underline; }
.ord-lp-root.ord-lp-root .ord-compare-sites .ord-table-logo {
  display: block; height: 30px; width: auto; max-width: 100%; margin: 8px auto 0; object-fit: contain;
  background: #fff; border-radius: 6px; padding: 4px 6px; box-sizing: content-box;
}
.ord-lp-root.ord-lp-root .ord-compare-sites thead th:first-child { text-align: left; vertical-align: middle; }
/* 1位 */
.ord-lp-root.ord-lp-root .ord-compare-sites thead th:nth-child(2) { background: var(--ord-accent); color: var(--ord-accent-ink); position: relative; padding-top: 30px; }
.ord-lp-root.ord-lp-root .ord-compare-sites thead th:nth-child(2) a { color: var(--ord-accent-ink); }
.ord-lp-root.ord-lp-root .ord-compare-sites thead th:nth-child(2)::before {
  content: "おすすめ1位"; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  font-size: 11px; font-weight: 700; background: var(--ord-primary); color: #fff; border-radius: 999px; padding: 2px 10px; white-space: nowrap;
}
.ord-lp-root.ord-lp-root .ord-compare-sites tbody td:nth-child(2) {
  background: color-mix(in srgb, var(--ord-accent) 14%, #fff); font-weight: 700;
  border-left: 3px solid var(--ord-accent); border-right: 3px solid var(--ord-accent);
}
.ord-lp-root.ord-lp-root .ord-compare-sites tbody tr:last-child td:nth-child(2) { border-bottom: 3px solid var(--ord-accent); }
/* 2位・3位 */
.ord-lp-root.ord-lp-root .ord-compare-sites thead th:nth-child(3),
.ord-lp-root.ord-lp-root .ord-compare-sites thead th:nth-child(4) { background: color-mix(in srgb, var(--ord-primary) 82%, #fff); position: relative; padding-top: 30px; }
.ord-lp-root.ord-lp-root .ord-compare-sites thead th:nth-child(3)::before,
.ord-lp-root.ord-lp-root .ord-compare-sites thead th:nth-child(4)::before {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  font-size: 11px; font-weight: 700; background: #fff; color: var(--ord-primary); border-radius: 999px; padding: 2px 10px; white-space: nowrap;
}
.ord-lp-root.ord-lp-root .ord-compare-sites thead th:nth-child(3)::before { content: "おすすめ2位"; }
.ord-lp-root.ord-lp-root .ord-compare-sites thead th:nth-child(4)::before { content: "おすすめ3位"; }
.ord-lp-root.ord-lp-root .ord-compare-sites thead th:nth-child(n+5) { padding-top: 30px; }
.ord-lp-root.ord-lp-root .ord-compare-sites tbody td:nth-child(3),
.ord-lp-root.ord-lp-root .ord-compare-sites tbody td:nth-child(4) { background: color-mix(in srgb, var(--ord-primary) 5%, #fff); }

/* ---------- 比較表のスクロール：1列目を固定し、3列目まで1画面に ---------- */
.ord-lp-root.ord-lp-root .ord-compare { -webkit-overflow-scrolling: touch; }
.ord-lp-root.ord-lp-root .ord-compare :is(th, td):first-child {
  position: sticky; left: 0; z-index: 2; background: var(--ord-surface-2);
  box-shadow: 2px 0 0 var(--ord-line);
}
.ord-lp-root.ord-lp-root .ord-compare thead th:first-child { background: var(--ord-primary); z-index: 3; }
@media (max-width: 640px) {
  .ord-lp-root.ord-lp-root .ord-compare table { table-layout: fixed; min-width: 0; width: max-content; }
  .ord-lp-root.ord-lp-root .ord-compare :is(th, td) { font-size: 12px; padding: 10px 8px; line-height: 1.6; }
  .ord-lp-root.ord-lp-root .ord-compare :is(th, td):first-child { width: 76px; min-width: 76px; max-width: 76px; white-space: normal; word-break: break-all; }
  .ord-lp-root.ord-lp-root .ord-compare :is(th, td):not(:first-child) { width: 128px; min-width: 128px; max-width: 128px; }
  .ord-lp-root.ord-lp-root .ord-compare-sites .ord-table-logo { height: 22px; }
}
.ord-lp-root.ord-lp-root .ord-compare-note { font-size: 12px; color: var(--ord-muted); margin-top: -8px !important; }

/* ---------- 還元率を見るときの注意 ---------- */
.ord-lp-root.ord-lp-root .ord-caution-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 0 !important; }
.ord-lp-root.ord-lp-root .ord-caution-grid > * { margin: 0 !important; max-width: none !important; }
.ord-lp-root.ord-lp-root .ord-caution-item {
  background: var(--ord-surface); border: 1px solid var(--ord-line); border-radius: var(--ord-radius); padding: 20px 20px 18px 72px !important; position: relative;
}
.ord-lp-root.ord-lp-root .ord-caution-item > * { margin: 0 !important; max-width: none !important; }
.ord-lp-root.ord-lp-root .ord-caution-no { position: absolute; left: 20px; top: 18px; width: 38px; height: 38px; border-radius: 50%; background: var(--ord-primary); color: var(--ord-accent); display: flex; align-items: center; justify-content: center; font-family: var(--ord-font-num); font-size: 18px; }
.ord-lp-root.ord-lp-root .ord-caution-title { font-size: 17px; color: var(--ord-primary); margin-bottom: 6px !important; }
.ord-lp-root.ord-lp-root .ord-caution-text { font-size: 14px; line-height: 1.75; }
.ord-lp-root.ord-lp-root .ord-caution-bar { background: var(--ord-primary); color: #fff; border-radius: var(--ord-radius); padding: 24px !important; margin-top: 18px !important; }
.ord-lp-root.ord-lp-root .ord-caution-bar > * { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
.ord-lp-root.ord-lp-root .ord-bar-title { font-size: 16px; margin: 0 0 14px !important; }
.ord-lp-root.ord-lp-root .ord-bar { display: flex; height: 30px; border-radius: 8px; overflow: hidden; background: rgba(255,255,255,.15); }
.ord-lp-root.ord-lp-root .ord-bar-hit { background: var(--ord-accent); min-width: 6px; }
.ord-lp-root.ord-lp-root .ord-bar-rest { background: rgba(255,255,255,.28); }
.ord-lp-root.ord-lp-root .ord-bar-legend { font-size: 13px; margin: 12px 0 0 !important; color: var(--ord-hero-muted); line-height: 1.9; }
.ord-lp-root.ord-lp-root .ord-key { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.ord-lp-root.ord-lp-root .ord-key-hit { background: var(--ord-accent); }
.ord-lp-root.ord-lp-root .ord-key-rest { background: rgba(255,255,255,.4); }
@media (max-width: 640px) {
  .ord-lp-root.ord-lp-root .ord-caution-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ord-lp-root.ord-lp-root .ord-caution-item { padding: 16px 16px 16px 62px !important; }
  .ord-lp-root.ord-lp-root .ord-caution-no { left: 14px; top: 16px; width: 34px; height: 34px; font-size: 16px; }
}

/* ---------- 還元率以外の選び方 ---------- */
.ord-lp-root.ord-lp-root .ord-choose-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 0 !important; }
.ord-lp-root.ord-lp-root .ord-choose-grid > * { margin: 0 !important; max-width: none !important; }
.ord-lp-root.ord-lp-root .ord-choose-item {
  background: var(--ord-surface); border: 1px solid var(--ord-line); border-top: 5px solid var(--ord-accent);
  border-radius: var(--ord-radius); padding: 22px !important;
}
.ord-lp-root.ord-lp-root .ord-choose-item > * { margin: 0 !important; max-width: none !important; }
.ord-lp-root.ord-lp-root .ord-choose-no { font-family: var(--ord-font-num); font-size: 26px; line-height: 1; color: var(--ord-accent-text); margin-bottom: 6px !important; }
.ord-lp-root.ord-lp-root .ord-choose-item h3.ord-choose-title { margin: 0 0 10px !important; padding: 0 !important; border: 0 !important; font-size: 18px; }
.ord-lp-root.ord-lp-root .ord-choose-text { font-size: 14.5px; line-height: 1.85; }
@media (max-width: 640px) { .ord-lp-root.ord-lp-root .ord-choose-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; } }

/* ---------- 出典・参考 ---------- */
.ord-lp-root.ord-lp-root .ord-sources { background: var(--ord-surface); border: 1px solid var(--ord-line); border-radius: var(--ord-radius-sm); padding: 16px 20px !important; font-size: 13.5px; }
.ord-lp-root.ord-lp-root .ord-sources > * { max-width: none !important; margin-left: 0 !important; }
.ord-lp-root.ord-lp-root .ord-sources p { margin: 0 0 6px !important; color: var(--ord-primary); }
.ord-lp-root.ord-lp-root .ord-sources ul { margin: 0; padding-left: 1.2em; }
.ord-lp-root.ord-lp-root .ord-sources li { margin: 2px 0; }
.ord-lp-root.ord-lp-root .ord-sources a::after { content: " ↗"; font-size: .85em; }
.ord-lp-root.ord-lp-root .ord-hero .ord-hero-pick .wp-block-button__link { gap: 0; }
.ord-lp-root.ord-lp-root .ord-hero .ord-hero-title { font-size: clamp(26px, 3.8vw, 46px); }
.ord-lp-root.ord-lp-root .ord-sources a, .ord-lp-root.ord-lp-root .ord-sec-law p a { color: var(--ord-accent-text); }
/* 比較表の列幅：1列目は細く、各社の列は同じ幅 */
.ord-lp-root.ord-lp-root .ord-compare :is(th, td) { box-sizing: border-box; }
.ord-lp-root.ord-lp-root .ord-compare-sites table { table-layout: fixed; width: max-content; min-width: 100%; }
.ord-lp-root.ord-lp-root .ord-compare-sites :is(th, td):first-child { width: 112px; min-width: 112px; }
.ord-lp-root.ord-lp-root .ord-compare-sites :is(th, td):not(:first-child) { width: 152px; min-width: 152px; }
@media (max-width: 640px) {
  .ord-lp-root.ord-lp-root .ord-compare table { min-width: 0 !important; }
  .ord-lp-root.ord-lp-root .ord-compare :is(th, td):first-child { width: 72px !important; min-width: 72px !important; max-width: 72px !important; }
  .ord-lp-root.ord-lp-root .ord-compare :is(th, td):not(:first-child) { width: 136px !important; min-width: 136px !important; max-width: 136px !important; }
  .ord-lp-root.ord-lp-root .ord-compare-sites thead th { padding-left: 6px; padding-right: 6px; }
}

/* ==========================================================
   v1.9.0：ファーストビューのカードを「ロゴ・特典・おすすめオリパ画像・表」の形に
   ========================================================== */
.ord-lp-root.ord-lp-root .ord-hero .ord-hero-picks { max-width: 1080px !important; gap: 18px; align-items: stretch; }
.ord-lp-root.ord-lp-root .ord-hero .ord-hero-pick {
  display: flex !important; flex-direction: column; align-items: stretch; text-align: left; gap: 12px;
  padding: 20px 18px 18px !important; overflow: hidden;
}
/* 左上の順位タグ */
.ord-lp-root.ord-lp-root .ord-hero .ord-hero-pick { overflow: visible; }
.ord-lp-root.ord-lp-root .ord-hero .ord-hero-pick::before {
  position: absolute; top: 0; left: 14px; width: auto; height: auto; border-radius: 0 0 8px 8px; transform: none;
  display: block; padding: 4px 10px 5px; line-height: 1.2;
  font-family: var(--ord-font-num); font-weight: 700; font-size: 13px; letter-spacing: .04em; color: #fff; z-index: 2;
}
.ord-lp-root.ord-lp-root .ord-hero .ord-pick-1::before { content: "No.1"; background: #d39b00; }
.ord-lp-root.ord-lp-root .ord-hero .ord-pick-2::before { content: "No.2"; background: #8c96a1; }
.ord-lp-root.ord-lp-root .ord-hero .ord-pick-3::before { content: "No.3"; background: #a8784d; }

.ord-lp-root.ord-lp-root .ord-hero .ord-pick-logo { text-align: center; padding: 6px 0 2px; }
.ord-lp-root.ord-lp-root .ord-hero .ord-pick-logo img { height: 44px; }

/* 特典は軽く、チェックの短い2行 */
.ord-lp-root.ord-lp-root .ord-hero ul.ord-pick-points { list-style: none; padding: 0 !important; margin: 0 !important; display: grid; gap: 4px; }
.ord-lp-root.ord-lp-root .ord-hero ul.ord-pick-points li {
  position: relative; padding-left: 22px; margin: 0; font-size: 13px; line-height: 1.6; color: var(--ord-text); background: none; border: 0;
}
.ord-lp-root.ord-lp-root .ord-hero ul.ord-pick-points li::before {
  content: ""; position: absolute; left: 3px; top: 6px; width: 10px; height: 6px;
  border-left: 2.5px solid var(--ord-accent-text); border-bottom: 2.5px solid var(--ord-accent-text); transform: rotate(-45deg);
}

/* おすすめオリパの画像と表 */
.ord-lp-root.ord-lp-root .ord-hero .ord-feature { display: flex; flex-direction: column; gap: 8px; }
.ord-lp-root.ord-lp-root .ord-feature-media { border-radius: 8px; overflow: hidden; line-height: 0; background: var(--ord-surface-2); }
.ord-lp-root.ord-lp-root .ord-feature-media a { display: block; }
.ord-lp-root.ord-lp-root .ord-feature-img { width: 100% !important; height: auto !important; aspect-ratio: 3 / 2; object-fit: cover; display: block; transition: transform .2s ease; }
.ord-lp-root.ord-lp-root .ord-feature-media a:hover .ord-feature-img { transform: scale(1.03); }
.ord-lp-root.ord-lp-root .ord-feature-name { font-weight: 700; font-size: 14px; color: var(--ord-primary); margin: 0 !important; text-align: left; }
.ord-lp-root.ord-lp-root .ord-feature-table { width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; border: 1px solid var(--ord-line); border-radius: 6px; overflow: hidden; }
.ord-lp-root.ord-lp-root .ord-feature-table th,
.ord-lp-root.ord-lp-root .ord-feature-table td { border: 0 !important; border-bottom: 1px solid var(--ord-line) !important; padding: 7px 10px; text-align: left; vertical-align: middle; background: none; color: var(--ord-text); }
.ord-lp-root.ord-lp-root .ord-feature-table tr:last-child :is(th, td) { border-bottom: 0 !important; }
.ord-lp-root.ord-lp-root .ord-feature-table th { width: 74px; background: var(--ord-surface-2) !important; font-weight: 700; font-size: 12px; color: var(--ord-muted); white-space: nowrap; }
.ord-lp-root.ord-lp-root .ord-feature-table th sup { font-size: 9px; }
.ord-lp-root.ord-lp-root .ord-frow-rate td,
.ord-lp-root.ord-lp-root .ord-frow-hit td { color: #c2185b; font-weight: 700; font-size: 15px; }
.ord-lp-root.ord-lp-root .ord-feature-note { display: block; margin-top: 4px; }
.ord-lp-root.ord-lp-root .ord-hero .ord-hero-pick .wp-block-buttons { margin-top: auto !important; padding-top: 4px; }
.ord-lp-root.ord-lp-root .ord-hero .ord-pick-rate { font-size: 12px; text-align: center; margin: 0 !important; }

/* 「人気オリパサイトの比較を見る」：枠付きのボタンにして目立たせる */
.ord-lp-root.ord-lp-root .ord-hero .ord-hero-sublink { margin-top: 32px !important; }
.ord-lp-root.ord-lp-root .ord-hero .ord-hero-sublink a {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 36px;
  border: 2px solid #fff; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 700; font-size: 17px;
  background: rgba(255,255,255,.08); transition: background .15s ease;
}
.ord-lp-root.ord-lp-root .ord-hero .ord-hero-sublink a:hover { background: rgba(255,255,255,.18); }
.ord-lp-root.ord-lp-root .ord-hero .ord-hero-sublink a::after { content: "↓"; font-size: 18px; }

/* タイトル：スマホでは「？」の後ろだけで改行し、2行に収める */
@media (max-width: 640px) {
  .ord-lp-root.ord-lp-root .ord-hero .ord-hero-title { font-size: clamp(19px, 5.7vw, 26px) !important; line-height: 1.5; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-hero-title .ord-nb { white-space: nowrap; }
}

/* スマホ：3社を1画面に3列で並べる（中身は要点だけに絞る） */
@media (max-width: 640px) {
  .ord-lp-root.ord-lp-root .ord-hero .ord-hero-picks { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 6px; padding-top: 16px !important; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-hero-pick { padding: 22px 6px 8px !important; gap: 6px; border-radius: 10px; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-hero-pick::before { left: 6px; font-size: 10px; padding: 2px 6px 3px; border-radius: 0 0 6px 6px; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-pick-1::after { font-size: 10px; padding: 4px 8px; top: -11px; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-pick-logo { padding: 0; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-pick-logo img { height: 20px; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-feature-name,
  .ord-lp-root.ord-lp-root .ord-hero .ord-frow-price,
  .ord-lp-root.ord-lp-root .ord-hero .ord-frow-note { display: none !important; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-feature { gap: 4px; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-feature-media { border-radius: 6px; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-feature-table { border: 0; background: none; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-feature-table tr { display: block; text-align: center; padding: 2px 0; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-feature-table :is(th, td) { display: block; width: auto; padding: 0; border: 0 !important; background: none !important; text-align: center; white-space: normal; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-feature-table th { font-size: 9.5px; color: var(--ord-muted); }
  .ord-lp-root.ord-lp-root .ord-hero .ord-frow-rate td,
  .ord-lp-root.ord-lp-root .ord-hero .ord-frow-hit td { font-size: 11.5px; line-height: 1.35; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-btn-name { display: none; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-hero-pick .wp-block-button__link { font-size: 11.5px; padding: 8px 2px; min-height: 36px; line-height: 1.3; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-hero-picks > .ord-small { font-size: 10.5px; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-hero-sublink a { font-size: 15px; padding: 10px 24px; min-height: 48px; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-hero-lead { font-size: 14px; line-height: 1.75; }
}

/* ---------- 比較表の見出し：ロゴ → 名前 ---------- */
.ord-lp-root.ord-lp-root .ord-compare-sites .ord-table-logo { margin: 0 auto 6px; }

/* ---------- 「カードを何円で数えるか」の表：2列目を広く ---------- */
.ord-lp-root.ord-lp-root .ord-basis table { table-layout: fixed; min-width: 600px; }
.ord-lp-root.ord-lp-root .ord-basis :is(th, td):nth-child(1) { width: 27%; }
.ord-lp-root.ord-lp-root .ord-basis :is(th, td):nth-child(2) { width: 33%; }
.ord-lp-root.ord-lp-root .ord-basis :is(th, td):nth-child(3) { width: 18%; }
.ord-lp-root.ord-lp-root .ord-basis :is(th, td):nth-child(4) { width: 22%; }
.ord-lp-root.ord-lp-root .ord-basis :is(th, td):first-child { position: static; box-shadow: none; }

/* ---------- 口数と価値の偏りのグラフ ---------- */
.ord-lp-root.ord-lp-root .ord-bars { display: grid; gap: 14px; margin: 6px 0 4px; }
.ord-lp-root.ord-lp-root .ord-bars-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: center; }
.ord-lp-root.ord-lp-root .ord-bars-label { font-weight: 700; font-size: 15px; line-height: 1.3; }
.ord-lp-root.ord-lp-root .ord-bars-label small { font-weight: 400; font-size: 11px; color: var(--ord-hero-muted); }
.ord-lp-root.ord-lp-root .ord-bars .ord-bar { height: 40px; }
.ord-lp-root.ord-lp-root .ord-seg { position: relative; display: flex; align-items: center; min-width: 4px; overflow: hidden; }
.ord-lp-root.ord-lp-root .ord-seg em { font-style: normal; font-size: 12px; font-weight: 700; white-space: nowrap; padding: 0 10px; }
.ord-lp-root.ord-lp-root .ord-seg-high { background: var(--ord-accent); color: var(--ord-accent-ink); }
.ord-lp-root.ord-lp-root .ord-seg-mid { background: color-mix(in srgb, var(--ord-accent) 45%, #ffffff); }
.ord-lp-root.ord-lp-root .ord-seg-low { background: rgba(255,255,255,.3); color: #fff; }
.ord-lp-root.ord-lp-root ul.ord-bar-legend { list-style: none; padding: 0 !important; margin: 14px 0 0 !important; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13px; color: var(--ord-hero-muted); }
.ord-lp-root.ord-lp-root ul.ord-bar-legend li { padding: 0; margin: 0; background: none; border: 0; color: inherit; }
.ord-lp-root.ord-lp-root ul.ord-bar-legend li::before { content: none; }
.ord-lp-root.ord-lp-root ul.ord-bar-legend strong { color: #fff; }
.ord-lp-root.ord-lp-root .ord-key-high { background: var(--ord-accent); }
.ord-lp-root.ord-lp-root .ord-key-mid { background: color-mix(in srgb, var(--ord-accent) 45%, #ffffff); }
.ord-lp-root.ord-lp-root .ord-key-low { background: rgba(255,255,255,.45); }
.ord-lp-root.ord-lp-root .ord-bar-text { margin: 14px 0 0 !important; font-size: 14px; line-height: 1.8; color: #fff; }
@media (max-width: 640px) {
  .ord-lp-root.ord-lp-root .ord-bars-row { grid-template-columns: 64px minmax(0, 1fr); gap: 8px; }
  .ord-lp-root.ord-lp-root .ord-bars-label { font-size: 13px; }
  .ord-lp-root.ord-lp-root .ord-seg em { font-size: 10.5px; padding: 0 6px; }
}
.ord-lp-root.ord-lp-root .ord-compare-sites thead th br { display: none; }
.ord-lp-root.ord-lp-root .ord-compare-sites thead th a { display: block; }
.ord-lp-root.ord-lp-root .ord-compare-sites thead th { vertical-align: top !important; }

/* ---------- 「カードを何円で数えるか」：1列目を固定、残りは横スクロール ---------- */
.ord-lp-root.ord-lp-root .ord-basis :is(th, td):first-child {
  position: sticky !important; left: 0; z-index: 2; background: var(--ord-surface-2); box-shadow: 2px 0 0 var(--ord-line) !important;
}
.ord-lp-root.ord-lp-root .ord-basis thead th:first-child { background: var(--ord-primary); z-index: 3; }
@media (max-width: 640px) {
  .ord-lp-root.ord-lp-root .ord-basis table { min-width: 0 !important; width: max-content; table-layout: fixed; }
  .ord-lp-root.ord-lp-root .ord-basis :is(th, td) { box-sizing: border-box; font-size: 12.5px; padding: 10px 8px; }
  .ord-lp-root.ord-lp-root .ord-basis :is(th, td):nth-child(1) { width: 96px !important; }
  .ord-lp-root.ord-lp-root .ord-basis :is(th, td):nth-child(2) { width: 150px !important; }
  .ord-lp-root.ord-lp-root .ord-basis :is(th, td):nth-child(3) { width: 104px !important; }
  .ord-lp-root.ord-lp-root .ord-basis :is(th, td):nth-child(4) { width: 112px !important; }
}

/* ---------- 比較表：見出しの行と1列目を固定し、表の中で縦横にスクロール ---------- */
.ord-lp-root.ord-lp-root .ord-compare-sites { max-height: min(78vh, 760px); overflow: auto !important; border-radius: var(--ord-radius-sm); border: 1px solid var(--ord-line); }
.ord-lp-root.ord-lp-root .ord-compare-sites table { border: 0; border-radius: 0; }
.ord-lp-root.ord-lp-root .ord-compare-sites thead th { position: sticky !important; top: 0; z-index: 3; }
.ord-lp-root.ord-lp-root .ord-compare-sites thead th:first-child { left: 0; z-index: 5; }
.ord-lp-root.ord-lp-root .ord-compare-sites tbody td:first-child { z-index: 2; }
.ord-lp-root.ord-lp-root .ord-compare-hint { font-size: 12px; color: var(--ord-muted); margin: 4px 0 0 !important; text-align: right; }
/* 固定列・固定見出しが効くよう、表そのものははみ出しを隠さない（角丸は外枠で付ける） */
.ord-lp-root.ord-lp-root :is(.ord-compare, .ord-basis) table { overflow: visible !important; }
.ord-lp-root.ord-lp-root .ord-basis { border: 1px solid var(--ord-line); border-radius: var(--ord-radius-sm); }
.ord-lp-root.ord-lp-root .ord-basis table { border: 0 !important; border-radius: 0 !important; }

/* 特典の箇条書き：PC・スマホとも必ず表示する */
.ord-lp-root.ord-lp-root .ord-hero ul.ord-pick-points { display: grid !important; visibility: visible !important; }
.ord-lp-root.ord-lp-root .ord-hero ul.ord-pick-points li { display: block !important; list-style: none !important; }
.ord-lp-root.ord-lp-root .ord-hero ul.ord-pick-points li::marker { content: none; }
@media (max-width: 640px) {
  .ord-lp-root.ord-lp-root .ord-hero ul.ord-pick-points { gap: 3px; }
  .ord-lp-root.ord-lp-root .ord-hero ul.ord-pick-points li { font-size: 10.5px !important; line-height: 1.45; padding-left: 13px; }
  .ord-lp-root.ord-lp-root .ord-hero ul.ord-pick-points li::before { left: 1px; top: 4px; width: 7px; height: 4px; border-left-width: 2px; border-bottom-width: 2px; }
}

/* ==========================================================
   v1.11.0：スマホでは3社を縦に並べ、1社ずつ大きく見せる
   ========================================================== */
@media (max-width: 640px) {
  .ord-lp-root.ord-lp-root .ord-hero .ord-hero-picks {
    grid-template-columns: minmax(0, 1fr) !important; grid-auto-flow: row !important; gap: 22px !important;
    overflow: visible !important; margin-left: 0 !important; margin-right: 0 !important; padding: 16px 4px 0 !important;
  }
  .ord-lp-root.ord-lp-root .ord-hero .ord-hero-picks-title,
  .ord-lp-root.ord-lp-root .ord-hero .ord-hero-picks > .ord-small { grid-column: auto !important; grid-row: auto !important; position: static !important; width: auto !important; text-align: center !important; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-hero-pick {
    grid-row: auto !important; padding: 26px 16px 16px !important; gap: 10px !important; border-radius: 14px !important;
  }
  .ord-lp-root.ord-lp-root .ord-hero .ord-hero-pick::before { left: 14px !important; font-size: 12px !important; padding: 3px 10px 4px !important; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-pick-1::after { font-size: 12px !important; padding: 6px 14px !important; top: -14px !important; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-pick-logo img { height: 34px !important; }
  .ord-lp-root.ord-lp-root .ord-hero ul.ord-pick-points li { font-size: 13.5px !important; line-height: 1.6 !important; padding-left: 22px !important; }
  .ord-lp-root.ord-lp-root .ord-hero ul.ord-pick-points li::before { left: 3px !important; top: 6px !important; width: 10px !important; height: 6px !important; border-left-width: 2.5px !important; border-bottom-width: 2.5px !important; }
  /* 画像と表を横に並べて、縦の長さを抑える */
  .ord-lp-root.ord-lp-root .ord-hero .ord-feature { display: grid !important; grid-template-columns: 46% minmax(0, 1fr); grid-template-areas: "media name" "media table"; column-gap: 10px; row-gap: 4px; align-items: start; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-feature-media { grid-area: media; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-feature-name { grid-area: name; display: block !important; font-size: 12.5px !important; line-height: 1.4; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-feature-table { grid-area: table; border: 1px solid var(--ord-line) !important; background: #fff !important; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-feature-table tr { display: table-row !important; padding: 0 !important; text-align: left !important; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-feature-table :is(th, td) { display: table-cell !important; padding: 5px 6px !important; text-align: left !important; border-bottom: 1px solid var(--ord-line) !important; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-feature-table tr:last-child :is(th, td) { border-bottom: 0 !important; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-feature-table th { width: 54px; font-size: 10.5px !important; background: var(--ord-surface-2) !important; white-space: nowrap; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-frow-price { display: table-row !important; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-frow-note { display: none !important; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-frow-rate td,
  .ord-lp-root.ord-lp-root .ord-hero .ord-frow-hit td { font-size: 12.5px !important; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-frow-price td { font-size: 12px; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-btn-name { display: inline !important; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-hero-pick .wp-block-button__link { font-size: 15px !important; padding: 13px 10px !important; min-height: 50px !important; flex-direction: row !important; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-hero-picks > .ord-small { font-size: 11.5px !important; }
}

/* ---------- 狙いカード比較（相場連携プラグインの [ord_target]） ---------- */
.ord-lp-root.ord-lp-root .ord-target { margin: 16px 0 24px; }
.ord-lp-root.ord-lp-root .ord-target-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; padding: 12px 16px; background: var(--ord-primary); color: #fff; border-radius: var(--ord-radius-sm) var(--ord-radius-sm) 0 0; }
.ord-lp-root.ord-lp-root .ord-target-head p { margin: 0 !important; color: #fff; }
.ord-lp-root.ord-lp-root .ord-target-card strong { font-size: 16px; }
.ord-lp-root.ord-lp-root .ord-target-market { font-size: 13px; }
.ord-lp-root.ord-lp-root .ord-target-market strong { font-size: 18px; color: var(--ord-accent); margin: 0 6px; font-family: var(--ord-font-num); }
.ord-lp-root.ord-lp-root .ord-target-market span { font-size: 11.5px; opacity: .8; }
.ord-lp-root.ord-lp-root .ord-target-table { margin: 0 !important; border: 1px solid var(--ord-line); border-top: 0; border-radius: 0 0 var(--ord-radius-sm) var(--ord-radius-sm); overflow-x: auto !important; }
.ord-lp-root.ord-lp-root .ord-target-table table { min-width: 640px; border: 0 !important; overflow: visible !important; }
.ord-lp-root.ord-lp-root .ord-target-table :is(th, td) { font-size: 13px; padding: 10px; vertical-align: middle; }
.ord-lp-root.ord-lp-root .ord-target-table :is(th, td):first-child { position: sticky; left: 0; z-index: 2; background: var(--ord-surface-2); font-weight: 700; box-shadow: 2px 0 0 var(--ord-line); }
.ord-lp-root.ord-lp-root .ord-target-table thead th:first-child { background: var(--ord-primary); z-index: 3; }
.ord-lp-root.ord-lp-root .ord-target-cost { font-weight: 700; font-family: var(--ord-font-num); white-space: nowrap; }
.ord-lp-root.ord-lp-root .ord-target-ratio { font-weight: 800; font-size: 15px !important; color: #c2185b; font-family: var(--ord-font-num); white-space: nowrap; }
.ord-lp-root.ord-lp-root .ord-target-ended td { opacity: .55; }
.ord-lp-root.ord-lp-root .ord-target + .ord-small, .ord-lp-root.ord-lp-root .ord-target .ord-small { margin-top: 8px !important; }

/* ---------- 1.12.0 計算の根拠の枠（相場連携 1.4.0 の [ord_rate_table] の下） ---------- */
.ord-lp-root.ord-lp-root .ord-rate-basis-box { background: var(--ord-surface); border: 1px solid var(--ord-line); border-left: 4px solid var(--ord-accent); border-radius: var(--ord-radius-sm); padding: 14px 18px; margin: 12px 0 24px; font-size: 13.5px; }
.ord-lp-root.ord-lp-root .ord-rate-basis-title { margin: 0 0 8px !important; color: var(--ord-primary); font-size: 14.5px; }
.ord-lp-root.ord-lp-root .ord-rate-basis-box dl { margin: 0; display: grid; gap: 6px; }
.ord-lp-root.ord-lp-root .ord-rate-basis-box dl > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 6px 0; border-top: 1px dashed var(--ord-line); }
.ord-lp-root.ord-lp-root .ord-rate-basis-box dl > div:first-child { border-top: 0; padding-top: 0; }
.ord-lp-root.ord-lp-root .ord-rate-basis-box dt { font-weight: 700; color: var(--ord-primary); }
.ord-lp-root.ord-lp-root .ord-rate-basis-box dd { margin: 0; line-height: 1.7; }
.ord-lp-root.ord-lp-root .ord-rate-basis-box > .ord-small { margin: 10px 0 0 !important; }
@media (max-width: 599px) {
  .ord-lp-root.ord-lp-root .ord-rate-basis-box { padding: 12px 14px; font-size: 13px; }
  .ord-lp-root.ord-lp-root .ord-rate-basis-box dl > div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- 1.12.0 更新履歴 [ord_changelog] ---------- */
.ord-lp-root.ord-lp-root .ord-log { background: var(--ord-surface); border: 1px solid var(--ord-line); border-radius: var(--ord-radius-sm); padding: 16px 20px; margin: 28px 0 12px; font-size: 13.5px; }
.ord-lp-root.ord-lp-root .ord-log-title { margin: 0 0 8px !important; color: var(--ord-primary); font-size: 14.5px; }
.ord-lp-root.ord-lp-root .ord-log-list { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.ord-lp-root.ord-lp-root .ord-log-item { display: grid; grid-template-columns: 8.5em auto 1fr; gap: 4px 10px; align-items: baseline; padding: 8px 0; border-top: 1px dashed var(--ord-line); margin: 0 !important; }
.ord-lp-root.ord-lp-root .ord-log-item::before { content: none !important; }
.ord-lp-root.ord-lp-root .ord-log-list > .ord-log-item:first-child { border-top: 0; }
.ord-lp-root.ord-lp-root .ord-log-item time { font-family: var(--ord-font-num); color: var(--ord-muted); white-space: nowrap; }
.ord-lp-root.ord-lp-root .ord-log-tag { font-size: 11.5px; font-weight: 700; line-height: 1; padding: 4px 8px; border-radius: 999px; background: var(--ord-surface-2); color: var(--ord-primary); white-space: nowrap; justify-self: start; }
.ord-lp-root.ord-lp-root .ord-log-remove .ord-log-tag, .ord-lp-root.ord-lp-root .ord-log-fix .ord-log-tag { background: #fdecea; color: #a12a1e; }
.ord-lp-root.ord-lp-root .ord-log-add .ord-log-tag, .ord-lp-root.ord-lp-root .ord-log-publish .ord-log-tag { background: var(--ord-accent); color: var(--ord-primary); }
.ord-lp-root.ord-lp-root .ord-log-text { line-height: 1.7; }
.ord-lp-root.ord-lp-root .ord-log-text a { color: var(--ord-accent-text); }
.ord-lp-root.ord-lp-root .ord-log-more { margin-top: 6px; border: 0 !important; background: none !important; }
.ord-lp-root.ord-lp-root .ord-log-more summary { cursor: pointer; font-weight: 700; color: var(--ord-accent-text); padding: 6px 0; list-style: none; }
.ord-lp-root.ord-lp-root .ord-log-more summary::-webkit-details-marker { display: none; }
.ord-lp-root.ord-lp-root .ord-log-more summary::after { content: " ▾"; }
.ord-lp-root.ord-lp-root .ord-log-more[open] summary::after { content: " ▴"; }
@media (max-width: 599px) {
  .ord-lp-root.ord-lp-root .ord-log { padding: 12px 14px; font-size: 13px; }
  .ord-lp-root.ord-lp-root .ord-log-item { grid-template-columns: auto 1fr; }
  .ord-lp-root.ord-lp-root .ord-log-text { grid-column: 1 / -1; }
}

/* ---------- 1.12.2 黄色マーカー（SWELLの「マーカー：黄」と同じクラス。LPの中でも確実に出るように） ---------- */
.ord-lp-root.ord-lp-root .mark_yellow { background: linear-gradient(transparent 58%, #ffe45c 58%) !important; color: inherit; padding: 0 1px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.ord-lp-root.ord-lp-root strong:has(> .mark_yellow) { color: var(--ord-text, inherit); }
.ord-lp-root.ord-lp-root .ord-hero .mark_yellow { background: linear-gradient(transparent 58%, rgba(255, 228, 92, .45) 58%) !important; }

/* ---------- 1.12.3 狙いカード比較：いちばん出やすいオリパ ---------- */
.ord-lp-root.ord-lp-root .ord-target-best td { background: #fffbe6; }
.ord-lp-root.ord-lp-root .ord-target-best td:first-child { background: #fff3c4; }
.ord-lp-root.ord-lp-root .ord-target-badge { display: inline-block; margin-top: 4px; padding: 3px 8px; border-radius: 999px; background: var(--ord-accent); color: var(--ord-primary); font-size: 11px; font-weight: 800; line-height: 1.2; white-space: nowrap; }

/* ---------- 1.12.4 図：何円で数えるか（.ord-ig-basis）と計算の手順（.ord-ig-steps） ---------- */
.ord-lp-root.ord-lp-root .ord-ig { margin: 20px 0 10px; }
/* 何円で数えるか：左に「同じ1枚」、右に3本の棒 */
.ord-lp-root.ord-lp-root .ord-ig-basis { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; align-items: center; background: var(--ord-surface, #fff); border: 1px solid var(--ord-line); border-radius: var(--ord-radius-sm, 10px); padding: 22px 22px 18px; }
.ord-lp-root.ord-lp-root .ord-ig-card { aspect-ratio: 63 / 88; border-radius: 8px; border: 3px solid var(--ord-primary); background:
  repeating-linear-gradient(135deg, transparent 0 9px, color-mix(in srgb, var(--ord-primary) 7%, transparent) 9px 10px), var(--ord-surface-2, #fafafa);
  display: flex; align-items: center; justify-content: center; text-align: center; position: relative; }
.ord-lp-root.ord-lp-root .ord-ig-card::before { content: ""; position: absolute; inset: 7px 7px 46%; border-radius: 4px; background: color-mix(in srgb, var(--ord-accent) 35%, transparent); }
.ord-lp-root.ord-lp-root .ord-ig-card span { position: relative; margin-top: 44%; font-weight: 800; font-size: 13px; line-height: 1.35; color: var(--ord-primary); }
.ord-lp-root.ord-lp-root .ord-ig-rows { display: grid; gap: 12px; margin: 0; }
.ord-lp-root.ord-lp-root .ord-ig-row { display: grid; grid-template-columns: 9.5em minmax(0, 1fr) 7.5em; gap: 4px 14px; align-items: center; }
.ord-lp-root.ord-lp-root .ord-ig-name { margin: 0 !important; font-weight: 700; font-size: 14px; line-height: 1.35; }
.ord-lp-root.ord-lp-root .ord-ig-name small, .ord-lp-root.ord-lp-root .ord-ig-result small { display: block; font-weight: 400; font-size: 11.5px; color: var(--ord-muted); }
.ord-lp-root.ord-lp-root .ord-ig-track { position: relative; height: 30px; }
.ord-lp-root.ord-lp-root .ord-ig-track::after { content: ""; position: absolute; left: 80%; top: -8px; bottom: -8px; border-left: 2px dashed color-mix(in srgb, var(--ord-primary) 45%, transparent); }
.ord-lp-root.ord-lp-root .ord-ig-bar { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); box-sizing: border-box; border-radius: 0 6px 6px 0; display: flex; align-items: center; justify-content: flex-end; padding-right: 10px; font-family: var(--ord-font-num); font-size: 12.5px; font-weight: 700; }
.ord-lp-root.ord-lp-root .is-sale .ord-ig-bar { background: color-mix(in srgb, var(--ord-primary) 55%, #fff); color: #fff; }
.ord-lp-root.ord-lp-root .is-median .ord-ig-bar { background: var(--ord-accent); color: var(--ord-accent-ink, #0b2b33); }
.ord-lp-root.ord-lp-root .is-buy .ord-ig-bar { background: color-mix(in srgb, var(--ord-primary) 22%, #fff); color: var(--ord-primary); }
.ord-lp-root.ord-lp-root .ord-ig-result { margin: 0 !important; font-size: 12px; line-height: 1.3; text-align: right; }
.ord-lp-root.ord-lp-root .ord-ig-result strong { display: block; font-family: var(--ord-font-num); font-size: 20px; color: var(--ord-primary); }
.ord-lp-root.ord-lp-root .is-median .ord-ig-name::after { content: "当サイトの基準"; display: inline-block; margin-top: 4px; padding: 2px 7px; border-radius: 999px; background: var(--ord-primary); color: var(--ord-accent); font-size: 10.5px; font-weight: 700; }
.ord-lp-root.ord-lp-root .ord-ig-legend { grid-column: 2; margin: 2px 0 0 !important; font-size: 11.5px; color: var(--ord-muted); }
@media (max-width: 599px) {
  .ord-lp-root.ord-lp-root .ord-ig-basis { grid-template-columns: 1fr; padding: 16px 14px 14px; gap: 14px; }
  .ord-lp-root.ord-lp-root .ord-ig-card { width: 60px; justify-self: center; }
  .ord-lp-root.ord-lp-root .ord-ig-card span { font-size: 11px; }
  .ord-lp-root.ord-lp-root .ord-ig-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name result" "track track"; }
  .ord-lp-root.ord-lp-root .ord-ig-name { grid-area: name; }
  .ord-lp-root.ord-lp-root .ord-ig-result { grid-area: result; }
  .ord-lp-root.ord-lp-root .ord-ig-track { grid-area: track; height: 24px; }
  .ord-lp-root.ord-lp-root .ord-ig-result strong { font-size: 18px; }
  .ord-lp-root.ord-lp-root .ord-ig-legend { grid-column: 1; }
}

/* 計算の手順：線でつないだ4つの手順 */
.ord-lp-root.ord-lp-root ol.ord-ig-steps { list-style: none !important; margin: 20px 0 10px !important; padding: 0 !important; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.ord-lp-root.ord-lp-root ol.ord-ig-steps::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 21px; height: 3px; background: var(--ord-primary); }
.ord-lp-root.ord-lp-root ol.ord-ig-steps > li { position: relative; margin: 0 !important; padding: 0 10px; text-align: center; }
.ord-lp-root.ord-lp-root ol.ord-ig-steps > li::before { content: none !important; }
.ord-lp-root.ord-lp-root .ord-ig-no { position: relative; z-index: 1; width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 50%; background: var(--ord-primary); color: var(--ord-accent); display: flex; align-items: center; justify-content: center; font-family: var(--ord-font-num); font-size: 19px; font-weight: 700; box-shadow: 0 0 0 5px var(--ord-band, #fff); }
.ord-lp-root.ord-lp-root ol.ord-ig-steps > li:last-child .ord-ig-no { background: var(--ord-surface, #fff); color: var(--ord-primary); border: 3px solid var(--ord-primary); }
.ord-lp-root.ord-lp-root .ord-ig-step-title { margin: 0 0 4px !important; font-weight: 800; font-size: 15px; color: var(--ord-primary); }
.ord-lp-root.ord-lp-root .ord-ig-step-text { margin: 0 !important; font-size: 13px; line-height: 1.65; }
.ord-lp-root.ord-lp-root .ord-ig-formula { display: inline-block; margin-top: 8px; padding: 6px 10px; border-radius: 6px; background: var(--ord-accent); color: var(--ord-accent-ink, #0b2b33); font-size: 12px; font-weight: 700; line-height: 1.5; }
.ord-lp-root.ord-lp-root .ord-ig-optional { display: inline-block; margin-left: 4px; font-size: 11px; font-weight: 700; color: var(--ord-muted); }
@media (max-width: 599px) {
  .ord-lp-root.ord-lp-root ol.ord-ig-steps { grid-template-columns: 1fr; gap: 16px; }
  .ord-lp-root.ord-lp-root ol.ord-ig-steps::before { left: 20px; right: auto; top: 22px; bottom: 22px; width: 3px; height: auto; }
  .ord-lp-root.ord-lp-root ol.ord-ig-steps > li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0 14px; text-align: left; padding: 0; }
  .ord-lp-root.ord-lp-root .ord-ig-no { grid-row: 1 / span 3; margin: 0; }
  .ord-lp-root.ord-lp-root .ord-ig-formula { justify-self: start; }
}

/* ---------- 1.12.5 本文の図（画像） ---------- */
.ord-lp-root.ord-lp-root .ord-figure { margin: 18px 0 14px !important; }
.ord-lp-root.ord-lp-root .ord-figure img { width: 100%; height: auto; border-radius: var(--ord-radius-sm, 10px); border: 1px solid var(--ord-line); }

/* ---------- 1.12.6 ファーストビューの3選：サイト名の見出し＋おすすめオリパの画像（ロゴの代わり） ---------- */
.ord-lp-root.ord-lp-root .ord-hero .ord-pick-site { margin: 4px 0 0 !important; padding: 0 0 6px; text-align: center; font-family: var(--ord-font-head); font-size: 19px; line-height: 1.3; color: var(--ord-primary); position: relative; }
.ord-lp-root.ord-lp-root .ord-hero .ord-pick-site::after { content: ""; display: block; width: 36px; height: 3px; margin: 6px auto 0; border-radius: 2px; background: var(--ord-accent); }
.ord-lp-root.ord-lp-root .ord-hero .ord-pick-banner { margin: 0 !important; border-radius: 8px; overflow: hidden; line-height: 0; background: var(--ord-surface-2); }
.ord-lp-root.ord-lp-root .ord-hero .ord-pick-banner a { display: block; }
.ord-lp-root.ord-lp-root .ord-hero .ord-pick-banner img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
@media (max-width: 599px) {
  .ord-lp-root.ord-lp-root .ord-hero .ord-pick-site { font-size: 17px; padding-bottom: 4px; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-pick-site::after { width: 28px; margin-top: 4px; }
}

/* ---------- 1.12.8 ヒーローの下のリード文（.ord-intro）と、ヒーロー末尾の最終更新日 ---------- */
.ord-lp-root.ord-lp-root .ord-hero > .ord-hero-date { margin: 18px auto 0 !important; font-size: 13px; color: var(--ord-hero-muted); }
.ord-lp-root.ord-lp-root .ord-intro { max-width: 760px; margin: 36px auto 8px !important; padding: 0 20px !important; text-align: center; }
.ord-lp-root.ord-lp-root .ord-intro > * { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
.ord-lp-root.ord-lp-root .ord-intro .ord-hero-lead { font-size: 17px; line-height: 1.9; color: var(--ord-text); margin: 0 0 10px !important; }
.ord-lp-root.ord-lp-root .ord-intro .ord-hero-lead:last-child { margin-bottom: 0 !important; }
.ord-lp-root.ord-lp-root .ord-intro + .ord-sec { margin-top: 8px; }
@media (max-width: 640px) {
  .ord-lp-root.ord-lp-root .ord-intro { margin-top: 24px !important; text-align: left; }
  .ord-lp-root.ord-lp-root .ord-intro .ord-hero-lead { font-size: 15px; line-height: 1.8; }
}

/* ---------- 1.12.9 おすすめ5選へのページ内リンク（.ord-jump） ---------- */
.ord-lp-root.ord-lp-root .ord-jump-title { margin: 22px 0 8px !important; font-size: 14px; font-weight: 700; color: var(--ord-primary); }
.ord-lp-root.ord-lp-root ul.ord-jump { list-style: none !important; margin: 0 0 8px !important; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; }
.ord-lp-root.ord-lp-root ul.ord-jump > li { margin: 0 !important; padding: 0 !important; }
.ord-lp-root.ord-lp-root ul.ord-jump > li::before, .ord-lp-root.ord-lp-root ul.ord-jump > li::marker { content: none !important; }
.ord-lp-root.ord-lp-root ul.ord-jump a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--ord-line); background: var(--ord-surface, #fff); color: var(--ord-primary); font-size: 14px; font-weight: 700; text-decoration: none; line-height: 1.3; }
.ord-lp-root.ord-lp-root ul.ord-jump a::after { content: "↓"; font-size: 12px; color: var(--ord-accent-text); }
.ord-lp-root.ord-lp-root ul.ord-jump a:hover, .ord-lp-root.ord-lp-root ul.ord-jump a:focus-visible { border-color: var(--ord-accent-text); }
.ord-lp-root.ord-lp-root .ord-rank-title[id] { scroll-margin-top: 90px; }
@media (max-width: 599px) {
  .ord-lp-root.ord-lp-root ul.ord-jump { gap: 6px; }
  .ord-lp-root.ord-lp-root ul.ord-jump a { padding: 7px 11px; font-size: 13px; }
}

/* ---------- 1.12.11 おすすめ5選のカード内：段落のあいだに本文と同じ余白 ---------- */
.ord-lp-root.ord-lp-root .ord-rank-card > p { margin-top: 0 !important; margin-bottom: 0 !important; line-height: 1.9; }
.ord-lp-root.ord-lp-root .ord-rank-card > * + p { margin-top: 1.1em !important; }
.ord-lp-root.ord-lp-root .ord-rank-card > .ord-rank-logo + p { margin-top: 1.2em !important; }

/* ---------- 1.12.12 「選ぶポイント」「注意」のカード内・偏りの図の説明：段落のあいだを空ける ---------- */
.ord-lp-root.ord-lp-root :is(.ord-choose-text, .ord-caution-text, .ord-bar-text) { margin-bottom: 0 !important; line-height: 1.85; }
.ord-lp-root.ord-lp-root :is(.ord-choose-text, .ord-caution-text, .ord-bar-text) + :is(.ord-choose-text, .ord-caution-text, .ord-bar-text) { margin-top: 0.9em !important; }

/* ---------- 1.12.13 [ord_card_basis] の表（相場連携 1.6.1 の3列） ---------- */
.ord-lp-root.ord-lp-root .ord-basis-real table { width: 100%; table-layout: auto; }
.ord-lp-root.ord-lp-root .ord-basis-real td:first-child strong { display: block; font-weight: 700; }
.ord-lp-root.ord-lp-root .ord-basis-real td:first-child small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--ord-muted); }
.ord-lp-root.ord-lp-root .ord-basis-real .ord-basis-yen { white-space: nowrap; font-family: var(--ord-font-num); font-weight: 700; font-size: 16px; color: var(--ord-primary); }
.ord-lp-root.ord-lp-root .ord-basis-real .ord-basis-cmp { white-space: nowrap; font-weight: 700; }
.ord-lp-root.ord-lp-root .ord-basis-real tr.is-base td { background: color-mix(in srgb, var(--ord-accent) 14%, #fff); }
.ord-lp-root.ord-lp-root .ord-basis-real :is(th, td) { vertical-align: middle; }
@media (max-width: 599px) {
  .ord-lp-root.ord-lp-root .ord-basis-real :is(th, td) { padding: 10px 8px; font-size: 13px; }
  .ord-lp-root.ord-lp-root .ord-basis-real th { white-space: nowrap; font-size: 12px; }
  .ord-lp-root.ord-lp-root .ord-basis-real .ord-basis-yen { font-size: 14px; }
  .ord-lp-root.ord-lp-root .ord-basis-real td:first-child small { font-size: 11px; }
}


/* ---------- 1.12.14 ① 比較表：見出しの色をそろえ、順位はメダル色のバッジで（案A） ---------- */
/* ① 案A：見出しの色をそろえ、順位はメダル色のバッジで */
.ord-lp-root.ord-lp-root .ord-compare-sites thead th:nth-child(3),
.ord-lp-root.ord-lp-root .ord-compare-sites thead th:nth-child(4) { background: var(--ord-primary); }
.ord-lp-root.ord-lp-root .ord-compare-sites tbody td:nth-child(3),
.ord-lp-root.ord-lp-root .ord-compare-sites tbody td:nth-child(4) { background: #fff; }
.ord-lp-root.ord-lp-root .ord-compare-sites thead th:nth-child(-n+4):not(:first-child)::before { color: #fff; font-size: 11.5px; padding: 3px 11px; box-shadow: 0 1px 0 rgba(0,0,0,.15); }
.ord-lp-root.ord-lp-root .ord-compare-sites thead th:nth-child(2)::before { background: #d39b00; }
.ord-lp-root.ord-lp-root .ord-compare-sites thead th:nth-child(3)::before { background: #8c96a1; }
.ord-lp-root.ord-lp-root .ord-compare-sites thead th:nth-child(4)::before { background: #a8784d; }

/* ---------- 1.12.14 ② 冒頭の3選：1位のカードを薄いシアン＋上端の帯（案A） ---------- */
/* ② 案A：1位のカードに色、上端に帯 */
.ord-lp-root.ord-lp-root .ord-hero .ord-hero-pick { padding-top: 48px !important; }
.ord-lp-root.ord-lp-root .ord-hero .ord-pick-1 { background: color-mix(in srgb, var(--ord-accent) 13%, #fff); box-shadow: 0 0 0 4px var(--ord-accent), 0 18px 40px rgba(0,0,0,.3); }
.ord-lp-root.ord-lp-root .ord-hero .ord-pick-1::before { z-index: 3; }
.ord-lp-root.ord-lp-root .ord-hero .ord-pick-1::after {
  content: "おすすめ！" !important; top: 0 !important; left: 0 !important; right: 0 !important; transform: none !important;
  border-radius: calc(var(--ord-radius, 14px) - 1px) calc(var(--ord-radius, 14px) - 1px) 0 0 !important; padding: 9px 10px !important; text-align: center; font-size: 14px !important; font-weight: 800;
  background: var(--ord-accent) !important; color: var(--ord-accent-ink) !important; box-shadow: none !important; letter-spacing: .02em;
}
.ord-lp-root.ord-lp-root .ord-hero .ord-pick-1 .ord-pick-site::after { background: var(--ord-primary); }
@media (max-width: 640px) {
  .ord-lp-root.ord-lp-root .ord-hero .ord-hero-pick { padding-top: 44px !important; }
  .ord-lp-root.ord-lp-root .ord-hero .ord-pick-1::after { font-size: 13px !important; padding: 8px 10px !important; }
}

/* ---------- 1.12.15 CV導線：スマホの固定ボタン2つ・特典ボタンのひとこと・文脈の出口・比較表の最下段 ---------- */
.ord-sticky-cta.is-show { display: grid; }
.ord-sticky-cta { left: 0; right: 0; bottom: 0; gap: 8px; grid-template-columns: 1fr; padding: 10px 10px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(27, 24, 69, .96); box-shadow: 0 -6px 20px rgba(0, 0, 0, .25); }
.ord-sticky-cta.has-top { grid-template-columns: 1fr 1.25fr; }
.ord-sticky-cta a { min-height: 50px; border-radius: 12px; flex-direction: column; font-size: 13.5px; font-weight: 800; line-height: 1.25; text-align: center; box-shadow: none; }
.ord-sticky-cta .ord-sticky-cmp { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .6); }
.ord-sticky-cta .ord-sticky-top { position: relative; background: var(--ord-accent, #2dd4e8); color: var(--ord-accent-ink, #0b2b33); }
.ord-sticky-cta .ord-sticky-top b { position: absolute; top: -8px; left: 8px; font-size: 10px; background: #d39b00; color: #fff; padding: 1px 6px; border-radius: 4px; }
.ord-sticky-cta .ord-sticky-top i { position: absolute; top: 4px; right: 8px; font-style: normal; font-size: 9px; border: 1px solid currentColor; border-radius: 3px; padding: 0 3px; }
.ord-sticky-cta .ord-sticky-top small { font-size: 10.5px; font-weight: 700; opacity: .85; }
body:has(.ord-sticky-cta.is-show) { padding-bottom: 76px; }

/* ボタンの下のひとこと（条件） */
.ord-lp-root.ord-lp-root .ord-cta-note { margin: 6px 0 0 !important; text-align: center; font-size: 12px !important; color: var(--ord-muted); line-height: 1.5 !important; }
.ord-lp-root.ord-lp-root .ord-rank-card > .ord-cta-note { margin-top: 6px !important; }

/* 解説の途中の小さな出口 */
.ord-lp-root.ord-lp-root .ord-inline-cta { position: relative; margin: 18px 0 !important; padding: 14px 16px 14px 66px !important; border-radius: 12px; border: 1.5px solid var(--ord-accent); background: color-mix(in srgb, var(--ord-accent) 8%, #fff); }
.ord-lp-root.ord-lp-root .ord-inline-cta::before { content: "PR"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: var(--ord-primary); color: var(--ord-accent); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 13px; }
.ord-lp-root.ord-lp-root .ord-inline-cta > p { margin: 0 !important; font-size: 14px; line-height: 1.65; }
.ord-lp-root.ord-lp-root .ord-inline-cta > p + p { margin-top: 4px !important; }
.ord-lp-root.ord-lp-root .ord-inline-cta a { font-weight: 800; color: var(--ord-accent-text); }
.ord-lp-root.ord-lp-root .ord-inline-cta a[rel~="sponsored"]::after { content: " ›"; }

/* 比較表の最下段「公式サイト」の行 */
.ord-lp-root.ord-lp-root .ord-compare-sites tr.ord-cta-row td { background: var(--ord-surface-2) !important; text-align: center; vertical-align: middle; }
.ord-lp-root.ord-lp-root .ord-compare-sites tr.ord-cta-row td:first-child { text-align: left; }
.ord-lp-root.ord-lp-root .ord-compare-sites tr.ord-cta-row td:nth-child(2) { background: color-mix(in srgb, var(--ord-accent) 14%, #fff) !important; }
.ord-lp-root.ord-lp-root .ord-compare-sites a.ord-mini-btn { display: block; padding: 9px 6px; border-radius: 999px; background: var(--ord-accent); color: var(--ord-accent-ink) !important; font-weight: 800; font-size: 12.5px; text-decoration: none !important; line-height: 1.3; white-space: nowrap; }
.ord-lp-root.ord-lp-root .ord-compare-sites tr.ord-cta-row small { display: block; margin-top: 4px; font-size: 10.5px; color: var(--ord-muted); font-weight: 400; }
