/* =========================================================
   クレカ現金化ランキング（イラスト系デザイン）
   スマホ幅の1カラムを中央に置き、PCでは左右を背景柄で埋める
   ========================================================= */
:root {
  --cream: #FDF6E3;
  --cream-2: #FBEFC9;
  --mustard: #F2CC5B;
  --mustard-deep: #E8B425;
  --teal: #2DB3A6;
  --teal-pale: #E4F6F3;
  --red: #F2463D;
  --red-deep: #C9302A;
  --orange: #F39A1E;
  --pink: #EE5A7E;
  --text: #3A3530;
  --muted: #7A736B;
  --line: #EADFC2;
  --white: #fff;
  --gold: #E3A82B;
  --silver: #9EA6B4;
  --bronze: #C9824A;
  --round: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 64px; }
body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  color: var(--text);
  line-height: 1.7;
  font-size: 15px;
  background-color: var(--cream);
  background-image: radial-gradient(rgba(232, 180, 37, .22) 2px, transparent 2.5px);
  background-size: 22px 22px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; cursor: pointer; }
em { font-style: normal; }

.page {
  max-width: 520px;
  margin: 0 auto;
  background: var(--white);
  box-shadow: 0 0 24px rgba(120, 90, 20, .12);
  overflow: hidden;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  padding: 8px 14px;
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand span { font-family: var(--round); font-weight: 800; font-size: 16px; line-height: 1.2; color: var(--text); }
.brand small { display: block; font-size: 10px; color: var(--teal); font-weight: 700; letter-spacing: .05em; }

/* ---------- 共通パーツ ---------- */
.pill-title {
  display: table; margin: 0 auto 6px;
  background: var(--pink); color: var(--white);
  font-family: var(--round); font-weight: 800; font-size: 13px;
  padding: 3px 16px; border-radius: 999px;
}
.sec-title {
  text-align: center; font-family: var(--round); font-weight: 800;
  font-size: 22px; line-height: 1.45; color: var(--text);
}
.sec-title em { color: var(--pink); font-size: 1.15em; }
.sec-title.sm { font-size: 18px; }
.ribbon-title {
  position: relative; display: table; margin: 0 auto -14px; z-index: 2;
  background: var(--orange); color: var(--white);
  font-family: var(--round); font-weight: 800; font-size: 14px;
  padding: 6px 22px;
}
.ribbon-title::before, .ribbon-title::after {
  content: ""; position: absolute; top: 6px; bottom: -6px; width: 14px; background: #C9770F; z-index: -1;
}
.ribbon-title::before { left: -10px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 40% 50%); }
.ribbon-title::after { right: -10px; clip-path: polygon(0 0, 100% 0, 60% 50%, 100% 100%, 0 100%); }

.checks li { position: relative; padding: 5px 0 5px 28px; font-weight: 500; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 7px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--mustard); color: var(--white);
  font-size: 12px; font-weight: 900; display: grid; place-items: center;
}
.checks em, .checks b { color: var(--pink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.medal {
  position: relative; flex-shrink: 0;
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  font-family: var(--round); font-weight: 800; font-size: 20px; color: var(--white);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .55), 0 2px 0 rgba(0, 0, 0, .12);
}
.medal::before, .medal::after {
  content: ""; position: absolute; bottom: -9px; width: 10px; height: 14px; z-index: -1;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 75%, 0 100%);
}
.medal::before { left: 10px; transform: rotate(14deg); }
.medal::after { right: 10px; transform: rotate(-14deg); }
.medal-gold { background: radial-gradient(circle at 35% 30%, #FFE08A, var(--gold)); }
.medal-silver { background: radial-gradient(circle at 35% 30%, #EEF1F6, var(--silver)); }
.medal-bronze { background: radial-gradient(circle at 35% 30%, #F2C49E, var(--bronze)); }
.medal-gold::before, .medal-gold::after { background: var(--red); }
.medal-silver::before, .medal-silver::after { background: #5B7FC7; }
.medal-bronze::before, .medal-bronze::after { background: var(--teal); }
.medal.sm { width: 32px; height: 32px; font-size: 15px; }
.medal.sm::before, .medal.sm::after { width: 8px; height: 10px; bottom: -6px; }
.medal.sm::before { left: 7px; } .medal.sm::after { right: 7px; }

/* 申込ボタン */
.btn-apply {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; margin-top: 14px; padding: 13px 12px 11px;
  background: var(--red); color: var(--white); text-decoration: none; text-align: center;
  border-radius: 8px; box-shadow: 0 5px 0 var(--red-deep);
  transition: transform .12s, box-shadow .12s;
}
.btn-apply:hover { transform: translateY(3px); box-shadow: 0 2px 0 var(--red-deep); }
.ba-main { font-family: var(--round); font-weight: 800; font-size: 19px; line-height: 1.3; }
.ba-sub { font-size: 11px; opacity: .9; margin-top: 2px; }

/* 仕様テーブル */
.spec { width: 100%; border-collapse: collapse; font-size: 12px; }
.spec th, .spec td { border: 1px solid #E3E0DA; padding: 5px 6px; vertical-align: middle; }
.spec th { background: #F3F1EC; font-weight: 700; width: 42%; text-align: center; }
.spec td { background: var(--white); }
.spec .num { font-family: var(--round); font-size: 19px; color: var(--red); font-weight: 800; }
.spec small { font-size: 11px; line-height: 1.4; display: block; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--cream-2), var(--cream));
  padding: 14px 14px 16px;
  border-bottom: 3px solid var(--mustard);
}
.hero-inner { display: grid; grid-template-columns: 44% 1fr; align-items: center; gap: 4px; }
.hero-ill { position: relative; }
.hero-ill img { width: 100%; transform: scale(1.08); transform-origin: 40% 60%; }
.hero-badge {
  position: absolute; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: #F07A5A; color: var(--white); border: 2px solid var(--white);
  font-family: var(--round); font-weight: 800; font-size: 11px; line-height: 1.15; text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .15);
}
.hb-1 { top: 2%; left: -2%; }
.hb-2 { top: -2%; left: 34%; background: var(--teal); }
.hero-text { text-align: center; }
.hero-pill {
  display: inline-block; background: var(--pink); color: var(--white);
  font-family: var(--round); font-weight: 800; font-size: 13px;
  padding: 3px 12px; border-radius: 999px; transform: rotate(-3deg);
}
.hero h1 {
  font-family: var(--round); font-weight: 800; line-height: 1.15; margin-top: 8px;
  font-size: 22px; color: var(--text);
  text-shadow: 2px 2px 0 var(--white), -2px -2px 0 var(--white), 2px -2px 0 var(--white), -2px 2px 0 var(--white);
}
.hero h1 span { display: block; font-size: 42px; color: var(--text); letter-spacing: .02em; background: linear-gradient(transparent 62%, var(--mustard) 62%); }
.hero-sub { margin-top: 6px; font-family: var(--round); font-weight: 800; font-size: 15px; }
.hero-sub b { color: var(--pink); font-size: 22px; }

.time-bar {
  margin-top: 12px; background: #34302C; color: var(--white);
  text-align: center; font-weight: 700; font-size: 14px; padding: 9px 8px; border-radius: 4px;
}
.time-bar b {
  display: inline-block; margin: 0 6px; font-family: var(--round); font-size: 22px;
  color: #FFE45C; border-bottom: 2px solid #FFE45C; line-height: 1.1;
}
.time-bar.is-closed b { font-size: 14px; }
.hero-facts { margin-top: 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.hero-facts li {
  background: var(--white); border: 2px solid var(--mustard); border-radius: 10px;
  text-align: center; padding: 6px 2px 5px; line-height: 1.2;
}
.hero-facts small { display: block; font-size: 11px; font-weight: 700; color: var(--muted); }
.hero-facts b { font-family: var(--round); font-weight: 800; color: var(--red); font-size: 20px; }
.hero-facts i { font-style: normal; font-size: 12px; }
.hero-note { font-size: 10px; color: var(--muted); margin-top: 6px; text-align: center; }

/* ---------- 診断 ---------- */
.quiz-sec { padding: 22px 14px 6px; }
.quiz { border: 3px solid var(--teal); border-radius: 14px; background: var(--teal-pale); padding: 0 12px 14px; }
.quiz-head {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  background: var(--teal); color: var(--white); margin: 0 -12px 10px;
  border-radius: 10px 10px 0 0; padding: 4px 8px;
  font-family: var(--round); font-weight: 800; font-size: 16px;
}
.quiz-head img { width: 52px; height: 52px; margin: -16px 0 -6px; }
.quiz-head b { color: #FFE45C; font-size: 18px; }
.quiz-progress { display: flex; justify-content: center; gap: 6px; margin-bottom: 8px; }
.quiz-progress span { width: 28px; height: 5px; border-radius: 3px; background: #C3E8E3; }
.quiz-progress span.on { background: var(--teal); }
.qs-q { text-align: center; font-weight: 900; font-size: 16px; margin-bottom: 10px; }
.qs-q span { color: #F07A5A; font-family: var(--round); margin-right: 6px; }
.qs-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.qs-opts button {
  background: var(--white); border: 2px solid #F07A5A; border-radius: 8px; color: var(--text);
  font-weight: 700; font-size: 14px; padding: 10px 4px; box-shadow: 0 3px 0 #E7B9A8;
}
.qs-opts button:hover { background: #FFF1EC; }
.quiz-result { text-align: center; }
.qr-lead { font-weight: 900; color: var(--teal); }
.qr-rank { display: inline-block; margin-top: 4px; background: var(--mustard); color: var(--white); font-weight: 900; font-size: 12px; padding: 1px 10px; border-radius: 999px; }
.qr-name { font-family: var(--round); font-weight: 800; font-size: 24px; }
.qr-photo { margin: 6px auto 8px; max-width: 280px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.qr-specs { text-align: left; display: inline-block; font-size: 14px; }
.quiz-retry { margin-top: 10px; background: none; border: 0; color: var(--teal); text-decoration: underline; font-weight: 700; }
.quiz-note { font-size: 11px; color: var(--muted); margin-top: 8px; }

/* ---------- 1位の注目特典 ---------- */
.campaign { padding: 22px 14px 6px; }
.cp-box { border: 2px solid var(--mustard); background: #FFFCF2; padding: 22px 10px 12px; }
.cp-name { text-align: center; font-family: var(--round); font-weight: 800; font-size: 20px; text-decoration: underline; text-underline-offset: 4px; }
.cp-body, .rc-body { margin-top: 10px; display: grid; grid-template-columns: 46% 1fr; gap: 8px; align-items: start; }
.cp-shot img, .rc-shot img { width: 100%; aspect-ratio: 1100 / 792; object-fit: cover; object-position: top; border: 1px solid var(--line); }
.cp-offer { margin-top: 10px; border: 2px solid var(--mustard); background: var(--white); text-align: center; }
.cp-lead { background: var(--mustard); font-weight: 900; font-size: 14px; padding: 3px; }
.cp-main { color: var(--pink); font-family: var(--round); font-weight: 800; font-size: 20px; padding: 6px; text-decoration: underline; text-underline-offset: 4px; }
.cp-note { font-size: 10px; color: var(--muted); margin-top: 8px; }

/* ---------- TOP3 ---------- */
.top3 { padding: 24px 14px 6px; }
.top3-list { display: grid; gap: 8px; margin-top: 8px; }
.top3-list a {
  display: grid; grid-template-columns: 34px 1fr; grid-template-areas: "m n" "m c" "m s";
  column-gap: 10px; align-items: center;
  background: var(--white); border: 2px solid var(--line); border-radius: 12px; padding: 10px 12px; text-decoration: none;
}
.top3-list li:first-child a { border-color: var(--mustard); background: #FFFCF0; }
.top3-list .medal { grid-area: m; }
.t3-name { grid-area: n; font-family: var(--round); font-weight: 800; font-size: 17px; color: var(--teal); text-decoration: underline; }
.t3-catch { grid-area: c; font-size: 12px; font-weight: 700; }
.t3-specs { grid-area: s; display: flex; gap: 12px; font-size: 11px; color: var(--muted); }
.t3-specs b { color: var(--red); font-size: 15px; margin-left: 4px; font-family: var(--round); }

/* ---------- こんな方におすすめ ---------- */
.recommend { padding: 22px 14px 8px; }
.rec-box { border: 2px solid var(--mustard); border-radius: 10px; background: #FFFAEA; overflow: hidden; }
.rec-head { display: flex; align-items: center; justify-content: space-between; background: var(--mustard); padding: 0 8px 0 12px; font-weight: 900; color: var(--white); font-size: 16px; }
.rec-head b { font-size: 18px; }
.rec-head img { width: 64px; height: 64px; margin: -18px 0 -4px; }
.rec-box .checks { padding: 8px 12px; }
.rec-box .checks li { border-bottom: 1px dashed var(--line); padding-top: 9px; padding-bottom: 9px; }
.rec-box .checks li::before { top: 11px; }
.rec-box .checks li:last-child { border-bottom: 0; }
.howit { margin-top: 10px; border: 2px solid var(--teal); border-radius: 8px; background: var(--white); }
.howit summary { list-style: none; cursor: pointer; padding: 12px 44px 12px 14px; font-weight: 900; position: relative; }
.howit summary::-webkit-details-marker { display: none; }
.howit summary::after, .faq-item summary::after {
  content: "+"; position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border-radius: 50%; background: var(--teal); color: var(--white);
  display: grid; place-items: center; font-weight: 900; line-height: 1;
}
.howit[open] summary::after, .faq-item[open] summary::after { content: "−"; }
.howit-body { padding: 0 14px 14px; font-size: 14px; }
.howit-body b { color: var(--pink); }
.flow { margin: 10px 0; display: grid; gap: 6px; }
.flow li { display: flex; gap: 8px; align-items: center; background: var(--teal-pale); border-radius: 6px; padding: 7px 10px; font-weight: 700; }
.flow span { width: 22px; height: 22px; border-radius: 50%; background: var(--teal); color: var(--white); display: grid; place-items: center; font-size: 12px; flex-shrink: 0; }

/* ---------- ランキング ---------- */
.ranking { margin-top: 18px; padding: 24px 12px 20px; background: var(--cream); }
.rank-card {
  margin-top: 22px; background: var(--white); border-top: 5px solid var(--orange);
  padding: 14px 12px 16px; box-shadow: 0 2px 8px rgba(120, 90, 20, .1);
}
.rank-card.rank-1 { border-top-color: var(--gold); }
.rank-card.rank-2 { border-top-color: var(--silver); }
.rank-card.rank-3 { border-top-color: var(--bronze); }
.rc-head { display: flex; align-items: center; gap: 12px; position: relative; z-index: 0; }
.rc-head h3 { font-family: var(--round); font-weight: 800; font-size: 21px; line-height: 1.3; }
.rc-head h3 a { color: var(--teal); }
.rc-catch { font-size: 12px; font-weight: 700; margin-top: 2px; }

.point { margin-top: 14px; border: 2px solid var(--mustard); border-radius: 6px; }
.point-head {
  display: flex; align-items: flex-end; gap: 4px; background: #FFF4CF;
  padding: 0 10px; height: 44px; overflow: visible;
}
.point-head img { width: 66px; height: 66px; margin-bottom: -6px; align-self: flex-end; }
.point-head span { font-family: var(--round); font-weight: 800; font-size: 22px; color: var(--pink); line-height: 1; margin-bottom: 8px; }
.point-head i { color: var(--mustard-deep); font-style: normal; margin-left: 2px; }
.point-head small { font-family: var(--round); font-weight: 800; font-size: 15px; margin-bottom: 9px; }
.point .checks { padding: 8px 10px; font-size: 14px; }

.reason { margin-top: 12px; background: #FFF6F2; border: 2px dashed #F3B2A0; border-radius: 8px; padding: 10px 12px; }
.reason-head { text-align: center; font-weight: 900; }
.reason-head b { color: var(--red); font-size: 18px; }
.reason .checks { font-size: 14px; margin-top: 4px; }

.rv-box { margin-top: 14px; }
.rv-tabs { display: flex; gap: 4px; }
.rv-tab {
  flex: 1; border: 0; border-radius: 6px 6px 0 0; padding: 6px 4px;
  background: #D8D6D2; color: var(--white); font-weight: 900; font-size: 13px;
}
.rv-tab.is-active { background: var(--teal); }
.rv-panel { border: 2px solid var(--teal); padding: 10px; display: grid; gap: 12px; }
.rv-panel li { display: grid; grid-template-columns: 56px 1fr; gap: 10px; }
.rv-av { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.rv-title { font-weight: 900; font-size: 13px; line-height: 1.5; }
.rv-meta { display: block; font-size: 11px; color: var(--muted); font-weight: 500; }
.rv-text { margin-top: 4px; font-size: 12px; line-height: 1.65; background: #F7F4EA; border-radius: 6px; padding: 7px 9px; }
.rv-src { font-size: 10px; color: var(--muted); margin-top: 6px; }
.rv-src a { color: var(--muted); }

.countdown { margin-top: 14px; text-align: center; border-radius: 6px; overflow: hidden; position: relative; }
.cd-head {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  background: #FFF56A; font-weight: 900; font-size: 15px; padding: 3px;
}
.cd-head img { width: 30px; height: 30px; }
.cd-body { background: #34302C; color: var(--white); font-weight: 700; font-size: 13px; padding: 6px 4px 8px; }
.cd-body b { font-family: var(--round); font-size: 26px; color: #FFE45C; margin: 0 2px; }
.cd-body small { display: block; font-size: 11px; opacity: .8; font-weight: 500; }
.countdown.is-closed .cd-body { font-size: 14px; }
.countdown::after {
  content: ""; position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%);
  border: 8px solid transparent; border-top-color: #34302C; border-bottom: 0;
}
.countdown + .btn-apply { margin-top: 16px; }

.rank-note { font-size: 10px; color: var(--muted); margin-top: 12px; }

/* ---------- 選び方 ---------- */
.choose { padding: 28px 14px 10px; }
.persona { margin-top: 16px; border: 2px solid var(--teal); border-radius: 4px; overflow: hidden; }
.persona h3 { background: var(--teal); color: var(--white); text-align: center; font-weight: 900; font-size: 16px; padding: 7px; }
.ps-top { display: flex; align-items: center; gap: 10px; padding: 10px 12px 4px; }
.ps-top img { width: 80px; height: 80px; flex-shrink: 0; border-radius: 50%; object-fit: cover; }
.ps-top li { font-size: 13px; padding-left: 14px; position: relative; }
.ps-top li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.ps-picks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 6px 12px; }
.ps-pick { text-align: center; font-size: 12px; font-weight: 700; color: var(--teal); }
.ps-pick img { aspect-ratio: 1100 / 792; object-fit: cover; object-position: top; border: 1px solid var(--line); margin-bottom: 4px; }
.ps-text { margin: 4px 12px 12px; background: #F7F4EA; padding: 9px 11px; font-size: 13px; }

/* ---------- 一押し ---------- */
.best { padding: 26px 14px 10px; background: var(--cream-2); margin-top: 18px; }
.best-box { position: relative; background: var(--white); border: 3px solid #F07A5A; border-radius: 12px; padding: 24px 12px 14px; text-align: center; }
.best-ill { position: absolute; top: -34px; right: -6px; width: 92px; height: 92px; }
.best-name { font-family: var(--round); font-weight: 800; font-size: 22px; }
.best-name a { color: var(--teal); }
.best-shot { display: block; max-width: 260px; margin: 8px auto 0; }
.best-shot img { aspect-ratio: 1100 / 792; object-fit: cover; object-position: top; border: 1px solid var(--line); }
.best-text { font-size: 13px; text-align: left; margin-top: 10px; }

/* ---------- FAQ ---------- */
.faq { padding: 28px 14px 10px; position: relative; }
.faq-ill { position: absolute; top: 14px; right: 6px; width: 80px; height: 80px; }
.faq-item { margin-top: 10px; border: 2px solid var(--teal); border-radius: 6px; background: var(--white); }
.faq-item:first-of-type { margin-top: 18px; }
.faq-item summary { list-style: none; cursor: pointer; position: relative; padding: 11px 42px 11px 12px; font-weight: 900; font-size: 14px; display: flex; gap: 8px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.q { color: var(--teal); font-family: var(--round); font-size: 20px; line-height: 1; }
.faq-item p { padding: 0 14px 12px 36px; font-size: 13px; }

/* ---------- 注意 ---------- */
.notice { padding: 24px 14px 16px; }
.notice ul { margin-top: 10px; display: grid; gap: 6px; }
.notice li { font-size: 12px; background: #F7F4EA; border-radius: 6px; padding: 8px 10px 8px 26px; position: relative; }
.notice li::before { content: "!"; position: absolute; left: 9px; top: 8px; color: var(--red); font-weight: 900; }

/* ---------- Footer ---------- */
.site-footer { background: #3A3530; color: #E9E3D8; padding: 22px 16px 96px; font-size: 12px; }
.about { background: var(--white); color: var(--text); border-radius: 6px; padding: 12px 14px; }
.about-head { font-weight: 900; margin-bottom: 4px; }
.footer-pr { margin-top: 14px; }
.pr-badge { display: inline-block; background: var(--mustard); color: var(--text); font-weight: 900; font-size: 10px; padding: 0 6px; border-radius: 4px; margin-right: 6px; }
.footer-nav { margin-top: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; }
.footer-nav a { color: var(--white); text-decoration: none; }
.footer-notes { margin-top: 14px; color: #BDB4A6; font-size: 11px; display: grid; gap: 3px; }
.copyright { margin-top: 14px; text-align: center; color: #A59C8E; font-size: 11px; }

/* ---------- 追従CTA ---------- */
.sticky-cta {
  position: fixed; left: 50%; bottom: 0; z-index: 50; width: 100%; max-width: 520px;
  transform: translate(-50%, 110%); transition: transform .3s;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(58, 53, 48, .92);
}
.sticky-cta.show { transform: translate(-50%, 0); }
.btn-apply.sm { margin-top: 0; padding: 11px 10px; flex-direction: row; }
.btn-apply.sm .ba-main { font-size: 17px; display: flex; align-items: center; gap: 8px; }
.sc-badge { background: var(--white); color: var(--red); font-size: 12px; border-radius: 999px; padding: 1px 8px; }

/* ---------- いまの受付状況 ---------- */
.live { padding: 20px 14px 4px; }
.live-card {
  background: linear-gradient(160deg, #2F3B52, #232C3E); color: var(--white);
  border-radius: 16px; padding: 14px 14px 12px; box-shadow: 0 8px 20px rgba(35, 44, 62, .25);
}
.live-head { display: flex; align-items: center; justify-content: space-between; }
.live-title { font-family: var(--round); font-weight: 800; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: #3DDC97; box-shadow: 0 0 0 0 rgba(61, 220, 151, .6); animation: lvpulse 1.6s infinite; }
@keyframes lvpulse { 70% { box-shadow: 0 0 0 8px rgba(61, 220, 151, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); } }
.live-clock { font-size: 11px; color: #AEB8CC; }
.lv-time { font-family: var(--round); font-weight: 800; font-size: 18px; color: #FFE45C; margin-right: 2px; }
.lv-scale { display: flex; justify-content: space-between; margin: 10px 0 0 108px; font-size: 9px; color: #8F9AB2; }
.lv-list li + li { border-top: 1px solid rgba(255, 255, 255, .08); }
.lv-row a {
  display: grid; grid-template-columns: 32px 66px 1fr; grid-template-areas: "m n t" "m p note";
  column-gap: 10px; row-gap: 3px; align-items: center; padding: 9px 0; text-decoration: none; color: var(--white);
}
.lv-row .medal { grid-area: m; }
.lv-name { grid-area: n; font-weight: 900; font-size: 13px; line-height: 1.3; }
.lv-pill { grid-area: p; justify-self: start; display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 900; padding: 1px 8px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #C9D1E1; }
.lv-pill i { width: 6px; height: 6px; border-radius: 50%; background: #8F9AB2; }
.lv-row.is-open .lv-pill { background: rgba(61, 220, 151, .16); color: #3DDC97; }
.lv-row.is-open .lv-pill i { background: #3DDC97; }
.lv-track { grid-area: t; position: relative; height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .1); }
.lv-open { position: absolute; top: 0; bottom: 0; border-radius: 6px; background: linear-gradient(90deg, #F2CC5B, #F39A1E); }
.lv-row:not(.is-open) .lv-open { background: #5B6680; }
.lv-now { position: absolute; top: -4px; width: 2px; height: 18px; background: #FF6B6B; border-radius: 1px; }
.lv-now::after { content: ""; position: absolute; top: -3px; left: -3px; width: 8px; height: 8px; border-radius: 50%; background: #FF6B6B; }
.lv-note { grid-area: note; font-size: 11px; color: #C9D1E1; }
.lv-row.is-open .lv-note { color: #FFE45C; font-weight: 700; }
.live-note { margin-top: 6px; font-size: 9.5px; color: #8F9AB2; }

/* ---------- チャット診断 ---------- */
.chat-sec { padding: 22px 14px 6px; }
.chat { border-radius: 18px; overflow: hidden; background: #EEF2E6; box-shadow: 0 6px 18px rgba(80, 70, 40, .12); border: 2px solid #E3D9B8; }
.chat-bar { display: flex; align-items: center; gap: 10px; background: var(--white); padding: 10px 12px; border-bottom: 1px solid #E3D9B8; }
.chat-bar img { width: 44px; height: 44px; border-radius: 50%; background: #FFF4CF; object-fit: cover; border: 2px solid var(--mustard); }
.chat-who { font-family: var(--round); font-weight: 800; font-size: 15px; line-height: 1.2; }
.chat-sub { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.chat-sub i { width: 7px; height: 7px; border-radius: 50%; background: #3DBF7F; }
.chat-log {
  padding: 14px 12px 6px; display: grid; gap: 10px; min-height: 120px;
  background-image: radial-gradient(rgba(180, 160, 100, .14) 1.5px, transparent 2px); background-size: 16px 16px;
}
.msg { display: flex; gap: 8px; align-items: flex-end; animation: msgin .25s ease-out; }
@keyframes msgin { from { opacity: 0; transform: translateY(6px); } }
.msg img { width: 34px; height: 34px; border-radius: 50%; background: #FFF4CF; border: 1.5px solid var(--mustard); object-fit: cover; flex-shrink: 0; }
.msg p { max-width: 78%; padding: 9px 13px; border-radius: 16px; font-weight: 700; font-size: 14px; line-height: 1.55; }
.msg.bot p { background: var(--white); border-bottom-left-radius: 4px; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); }
.msg.me { justify-content: flex-end; }
.msg.me p { background: #F07A5A; color: var(--white); border-bottom-right-radius: 4px; }
.msg.typing p { display: flex; gap: 4px; padding: 13px 14px; }
.msg.typing p span { width: 7px; height: 7px; border-radius: 50%; background: #C8C0A8; animation: blink 1s infinite; }
.msg.typing p span:nth-child(2) { animation-delay: .15s; }
.msg.typing p span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chat-opts { padding: 6px 12px 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chat-opts:empty { padding: 0 0 8px; }
.chat-opts > button {
  background: var(--white); border: 2px solid #F07A5A; color: #E2603F; border-radius: 999px;
  padding: 9px 6px; font-weight: 900; font-size: 13.5px; box-shadow: 0 3px 0 #EBC0B0; animation: msgin .25s ease-out;
}
.chat-opts > button:active { transform: translateY(2px); box-shadow: 0 1px 0 #EBC0B0; }
.chat-result { grid-column: 1 / -1; background: var(--white); border-radius: 14px; padding: 14px 12px; text-align: center; border: 2px solid var(--mustard); animation: msgin .3s ease-out; }
.cr-rank { display: inline-block; background: var(--mustard); color: var(--white); font-weight: 900; font-size: 12px; padding: 1px 12px; border-radius: 999px; }
.cr-name { font-family: var(--round); font-weight: 800; font-size: 24px; margin-top: 2px; }
.chat-result img { margin: 6px auto 8px; max-width: 280px; width: 100%; border-radius: 6px; border: 1px solid var(--line); aspect-ratio: 1100 / 792; object-fit: cover; object-position: top; }
.cr-catch { font-weight: 700; font-size: 14px; }
.cr-figs { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
.cr-figs li { background: #FFF8E3; border-radius: 10px; padding: 4px 14px; line-height: 1.2; }
.cr-figs small { display: block; font-size: 10.5px; color: var(--muted); font-weight: 700; }
.cr-figs b { font-family: var(--round); font-size: 20px; color: var(--red); }
.chat-retry { margin-top: 10px; background: none; border: 0; color: var(--teal); text-decoration: underline; font-weight: 700; }
.lv-row a { grid-template-columns: 32px 88px 1fr; }
.lv-scale { margin-left: 140px; }
.lv-name { white-space: nowrap; font-size: 13.5px; }
.hero-sub { white-space: nowrap; font-size: 14px; }
.hero-sub b { font-size: 20px; }

/* ---------- TOP3 比較表 ---------- */
.top3 .sec-title { margin-bottom: 12px; }
.cmp-box { border: 2px solid var(--mustard); border-radius: 12px; overflow: hidden; background: var(--white); box-shadow: 0 4px 12px rgba(120, 90, 20, .08); }
.cmp { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: center; font-size: 12px; }
.cmp th, .cmp td { border-bottom: 1px solid #EFE6CC; border-left: 1px solid #EFE6CC; padding: 8px 4px; vertical-align: middle; }
.cmp tr > :first-child { border-left: 0; }
.cmp-corner, .cmp tbody th { width: 52px; background: #FBF4DF; font-size: 11px; font-weight: 900; color: var(--text); line-height: 1.35; }
.cmp thead th { position: relative; padding: 18px 4px 8px; background: #FFFDF7; }
.cmp thead th .medal { margin: 0 auto 6px; }
.cmp thead th a { display: block; font-family: var(--round); font-weight: 800; font-size: 13px; line-height: 1.3; color: var(--teal); }
.cmp thead th.hl { background: #FFF2C4; }
.cmp-pick { position: absolute; top: 0; left: 0; right: 0; background: var(--red); color: var(--white); font-size: 10px; font-weight: 900; padding: 1px 0; letter-spacing: .1em; }
.cmp td.hl { background: #FFFAE6; }
.cmp-shot img { width: 100%; aspect-ratio: 1100 / 792; object-fit: cover; object-position: top; border: 1px solid var(--line); border-radius: 4px; }
.cmp .num { font-family: var(--round); font-size: 20px; font-weight: 800; color: var(--red); }
.cmp td.hl .num { font-size: 23px; }
.cmp .s { display: block; font-size: 10.5px; line-height: 1.45; }
.cmp-cta td { border-bottom: 0; }
.cmp-btn { display: block; background: var(--red); color: var(--white); text-decoration: none; font-weight: 900; font-size: 11.5px; padding: 8px 2px; border-radius: 6px; box-shadow: 0 3px 0 var(--red-deep); }
.cmp-note { font-size: 10px; color: var(--muted); margin-top: 6px; }
.cmp-corner, .cmp tbody th { width: 46px; font-size: 10.5px; }
.cmp thead th a { font-size: 12px; letter-spacing: -.03em; white-space: nowrap; }
@media (min-width: 400px) { .cmp thead th a { font-size: 13px; } }
.rec-head { font-size: 14px; white-space: nowrap; }
.rec-head b { font-size: 16px; }
.rec-head img { width: 58px; height: 58px; }

/* 比較表の「特長」行を目立たせる */
.cmp-feat th { background: var(--red); color: var(--white); }
.cmp-feat td { background: #FFF1F1; padding: 8px 5px; }
.cmp-feat td.hl { background: #FFE4E0; }
.feat { position: relative; display: block; font-size: 11.5px; font-weight: 900; line-height: 1.45; color: var(--text); padding-top: 18px; }
.feat::before { content: "POINT"; position: absolute; top: 0; left: 50%; transform: translateX(-50%); background: var(--red); color: var(--white); font-family: var(--round); font-size: 9px; letter-spacing: .1em; padding: 0 7px; border-radius: 999px; }
.feat em { font-style: normal; color: var(--red); font-size: 14px; background: linear-gradient(transparent 62%, #FFE45C 62%); }
.cmp td.hl .feat em { font-size: 15px; }
.cmp .cmp-feat th { background: var(--red); color: var(--white); }
.feat em { white-space: nowrap; }

/* QA対応 */
.pr-top { background: #3A3530; color: #F3EEE4; font-size: 11px; text-align: center; padding: 4px 8px; }
.pr-top span { display: inline-block; background: var(--mustard); color: var(--text); font-weight: 900; font-size: 10px; border-radius: 3px; padding: 0 5px; margin-right: 6px; }
.src-note { font-size: 10px; color: var(--muted); padding: 0 10px 8px; }
.best-text small { display: block; font-size: 10px; color: var(--muted); margin-top: 4px; }
.cmp-btn { padding: 12px 2px; }
.rv-tab { min-height: 44px; }
.rc-head h3 a, .cmp thead th a, .best-name a { color: #1B8A7F; }
/* タブで隠した口コミは表示しない（display:grid が hidden 属性より優先されるため） */
.rv-panel[hidden] { display: none; }
