/* =========================================================
   クレカ現金化ランキング（2026-11 リニューアル：クリーム×オレンジ）
   ========================================================= */
:root {
  --orange: #F5821F;
  --orange-deep: #E8630A;
  --orange-pale: #FFF1E3;
  --yellow: #FFD43B;
  --yellow-deep: #FFB800;
  --yellow-pale: #FFF8DA;
  --cream: #FFF7EC;
  --accent: #E8481C;       /* 強調文字 */
  --cta-1: #FFA51F;
  --cta-2: #FF6A00;
  --navy: #1D2650;
  --ink: #2F2F36;
  --text: #3A3A42;
  --muted: #74747E;
  --line: #F1DFC6;
  --white: #fff;
  --gold: #E9B21B;
  --silver: #A9B0BC;
  --bronze: #C9824A;
  --radius: 16px;
  --shadow: 0 6px 22px rgba(120, 70, 0, .10);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 70px; }
body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.75;
  font-size: 15px;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.c-accent { color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  box-shadow: 0 2px 10px rgba(120,70,0,.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--yellow), var(--orange));
  color: var(--white); font-weight: 900; font-size: 18px;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.12);
}
.brand-name { font-weight: 900; font-size: 16px; color: var(--orange-deep); line-height: 1.15; }
.brand-name small { display: block; font-size: 10px; color: var(--ink); font-weight: 700; letter-spacing: .04em; }
.btn-header {
  text-decoration: none; font-weight: 700; font-size: 12px;
  color: var(--white); background: var(--orange);
  padding: 8px 14px; border-radius: 999px;
  box-shadow: 0 3px 0 var(--orange-deep);
}

/* ---------- 共通：CTA ---------- */
.btn-cta {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0 10px;
  text-decoration: none; text-align: center;
  color: var(--white); font-weight: 900;
  background: linear-gradient(180deg, var(--cta-1), var(--cta-2));
  border-radius: 999px;
  box-shadow: 0 5px 0 #C24E00, 0 10px 18px rgba(232,99,10,.28);
  padding: 14px 44px 14px 24px;
  transition: transform .15s, box-shadow .15s;
}
.btn-cta:hover { transform: translateY(2px); box-shadow: 0 3px 0 #C24E00, 0 6px 12px rgba(232,99,10,.25); }
.btn-cta:active { transform: translateY(4px); box-shadow: 0 1px 0 #C24E00; }
.btn-block { display: flex; width: 100%; }
.btn-cta-lg { font-size: 19px; padding: 14px 52px 16px 28px; }
.btn-cta-sm { font-size: 12px; padding: 8px 10px; box-shadow: 0 3px 0 #C24E00; width: 100%; }
.cta-sub {
  flex-basis: 100%; font-size: 11px; font-weight: 700; letter-spacing: .06em; opacity: .95;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.cta-sub::before, .cta-sub::after { content: ""; width: 14px; height: 1px; background: currentColor; opacity: .7; }
.cta-arrow {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 50%; background: var(--white);
}
.cta-arrow::after {
  content: ""; position: absolute; left: 9px; top: 7px;
  border: 5px solid transparent; border-left: 7px solid var(--cta-2); border-right: 0;
}
.cta-badge {
  display: inline-grid; place-items: center;
  font-size: 11px; line-height: 1; font-weight: 900;
  background: var(--white); color: var(--orange-deep);
  border-radius: 999px; padding: 5px 9px;
}
.cta-micro { text-align: center; font-size: 12px; font-weight: 700; color: var(--orange-deep); margin-top: 10px; }

/* ---------- 共通：振込時刻バー ---------- */
.time-bar {
  display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 0 8px;
  background: var(--ink); color: var(--white);
  border-radius: 10px; padding: 9px 12px;
  font-weight: 700; font-size: 13px; line-height: 1.3;
}
.tb-time {
  font-family: "Montserrat", sans-serif; font-weight: 800;
  color: var(--yellow); font-size: 26px; letter-spacing: .02em;
  border-bottom: 2px solid var(--yellow);
}
.time-bar.is-closed .tb-time { font-family: inherit; font-size: 15px; border-bottom: 0; }
.rank-cta .time-bar { margin-bottom: 14px; border-radius: 10px 10px 4px 4px; }

/* ---------- 共通：見出し ---------- */
.sec { padding: 52px 0; }
.ribbon {
  position: relative; display: table; margin: 0 auto 14px;
  background: var(--orange); color: var(--white);
  font-weight: 900; font-size: 14px; letter-spacing: .04em;
  padding: 7px 26px;
}
.ribbon::before, .ribbon::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 14px;
  background: inherit;
}
.ribbon::before { left: -12px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 60% 50%); }
.ribbon::after { right: -12px; clip-path: polygon(0 0, 100% 0, 40% 50%, 100% 100%, 0 100%); }
.ribbon-navy { background: var(--navy); }
.sec-title {
  text-align: center; font-weight: 900; color: var(--ink);
  font-size: 25px; line-height: 1.45; letter-spacing: .02em;
}
.sec-title em {
  font-style: normal; color: var(--orange-deep);
  background: linear-gradient(transparent 70%, var(--yellow) 70%);
}
.sec-title + .sec-sub, .sec-title + .table-scroll { margin-top: 10px; }
.sec-sub { text-align: center; color: var(--muted); font-size: 13px; margin-bottom: 24px; }
.sec-title:not(:has(+ .sec-sub)) { margin-bottom: 24px; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, #FFE7B3 0%, var(--cream) 100%); }
.hero-visual { max-width: 1344px; margin: 0 auto; }
.hero-visual img { width: 100%; }
.hero-bottom { padding-top: 14px; padding-bottom: 4px; }
.time-bar-hero { font-size: 14px; padding: 11px 12px; }
.time-bar-hero .tb-time { font-size: 30px; }
.hero-note { text-align: center; font-size: 11px; color: var(--muted); margin-top: 8px; }

/* ---------- 金額診断 ---------- */
.quiz-sec { padding: 28px 0 8px; }
.quiz {
  position: relative; background: var(--white);
  border: 3px solid var(--yellow); border-radius: var(--radius);
  padding: 34px 16px 18px; box-shadow: var(--shadow);
}
.quiz-head { position: absolute; left: 12px; right: 12px; top: -20px; display: flex; align-items: center; gap: 8px; }
.quiz-badge {
  flex-shrink: 0; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; align-content: center;
  background: var(--orange); color: var(--white);
  font-size: 10px; font-weight: 900; line-height: 1.05; text-align: center;
  box-shadow: 0 3px 0 var(--orange-deep);
}
.quiz-badge b { display: block; font-family: "Montserrat", sans-serif; font-size: 20px; }
.quiz-title {
  background: var(--yellow); color: var(--ink); font-weight: 900; font-size: 15px;
  padding: 6px 14px; border-radius: 6px; margin-top: 4px;
}
.quiz-q { text-align: center; font-weight: 900; color: var(--ink); font-size: 19px; margin: 6px 0 14px; }
.quiz-no { font-family: "Montserrat", sans-serif; color: var(--orange-deep); margin-right: 10px; font-size: 20px; }
.quiz-no small { font-size: 13px; color: var(--muted); }
.quiz-opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.quiz-opts-3 { grid-template-columns: repeat(3, 1fr); }
.quiz-opts button {
  cursor: pointer; background: var(--white);
  border: 2px solid var(--orange); border-radius: 10px;
  color: var(--ink); font-weight: 900; font-size: 13px; line-height: 1.3;
  padding: 14px 4px; box-shadow: 0 4px 0 var(--orange);
  transition: transform .12s, box-shadow .12s, background .12s;
}
.quiz-opts button:hover { background: var(--orange-pale); }
.quiz-opts button:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--orange); }
.quiz-step.is-active { animation: fadeUp .3s ease; }
.quiz-progress { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.quiz-progress span { width: 26px; height: 5px; border-radius: 3px; background: var(--line); }
.quiz-progress span.on { background: var(--orange); }
.quiz-result { animation: fadeUp .35s ease; }
.qr-label { text-align: center; font-weight: 900; color: var(--orange-deep); line-height: 1.4; margin-bottom: 12px; }
.qr-card {
  display: grid; grid-template-columns: 42% 1fr; gap: 12px; align-items: center;
  background: var(--yellow-pale); border-radius: 12px; padding: 12px; margin-bottom: 16px;
}
.qr-photo img { border-radius: 8px; border: 1px solid var(--line); aspect-ratio: 4/3; object-fit: cover; object-position: top; width: 100%; }
.qr-rank { font-size: 11px; font-weight: 700; color: var(--muted); }
.qr-name { font-size: 22px; font-weight: 900; color: var(--ink); line-height: 1.3; margin-bottom: 4px; }
.qr-specs li { font-size: 13px; font-weight: 700; }
.qr-specs b { color: var(--accent); font-size: 16px; }
.quiz-retry {
  display: block; margin: 14px auto 0; cursor: pointer;
  background: none; border: 0; color: var(--muted); font-size: 13px; text-decoration: underline;
}
.quiz-note { text-align: center; font-size: 11px; color: var(--muted); margin-top: 6px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- こんな方に ---------- */
.worries { padding-top: 40px; padding-bottom: 8px; }
.worries + .about { padding-top: 24px; }
.rec-box {
  position: relative; background: var(--white); border-radius: var(--radius);
  padding: 30px 18px 22px; box-shadow: var(--shadow);
}
.rec-title { text-align: center; margin-top: -48px; margin-bottom: 18px; }
.rec-title-in {
  display: inline-block; background: var(--yellow); color: var(--ink);
  font-weight: 900; font-size: 18px; padding: 8px 20px; border-radius: 8px;
  box-shadow: 0 4px 0 var(--yellow-deep);
}
.rec-title em { font-style: normal; color: var(--accent); }
.check-list { display: grid; gap: 10px; margin-bottom: 14px; }
.check-list li {
  position: relative; padding-left: 34px;
  font-weight: 700; font-size: 15px; color: var(--ink); line-height: 1.5;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 24px; height: 24px; border-radius: 50%; background: var(--yellow);
}
.check-list li::after {
  content: ""; position: absolute; left: 8px; top: 5px;
  width: 6px; height: 11px; border: solid var(--white); border-width: 0 3px 3px 0; transform: rotate(45deg);
}
.rec-box .sec-sub { margin-bottom: 0; }
.worry-solve {
  margin-top: 22px; text-align: center; font-weight: 700; font-size: 15px; color: var(--ink);
}
.worry-solve b { color: var(--orange-deep); font-size: 17px; }

/* ---------- 比較表 ---------- */
.compare { background: var(--white); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -16px; padding: 8px 16px 6px; }
.cmp-table {
  width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0;
  font-size: 13px; text-align: center;
}
.cmp-table th, .cmp-table td { padding: 10px 6px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cmp-table tbody th {
  background: var(--orange-pale); color: var(--orange-deep); font-weight: 900; font-size: 12px; width: 64px;
}
.cmp-corner { background: var(--orange); color: var(--white); border-radius: 10px 0 0 0; }
.cmp-col { position: relative; background: var(--orange); color: var(--white); padding-top: 14px !important; }
.cmp-col b { display: block; font-size: 14px; margin-top: 2px; }
.cmp-3 { border-radius: 0 10px 0 0; }
.cmp-pick {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--white); font-size: 10px; font-weight: 900;
  padding: 2px 10px; border-radius: 999px; white-space: nowrap;
}
.cmp-table td.hl { background: var(--yellow-pale); }
.cmp-table tbody tr:last-child td.hl { border-radius: 0 0 10px 10px; }
.cmp-thumb { display: block; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.cmp-thumb img { width: 100%; }
.cmp-num b { font-family: "Montserrat", sans-serif; font-size: 22px; color: var(--accent); }
.cmp-num small { font-size: 12px; }
.cmp-table td b { font-weight: 900; }
.cmp-chip {
  display: inline-block; background: var(--orange); color: var(--white);
  font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 999px; margin-bottom: 3px;
}
.cmp-sm { display: block; font-size: 12px; line-height: 1.5; }
.cmp-note { font-size: 11px; color: var(--muted); text-align: right; margin-top: 6px; }

/* ---------- 王冠 ---------- */
.crown { position: relative; display: inline-grid; place-items: center; width: 44px; height: 34px; }
.crown svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.crown b { position: relative; font-family: "Montserrat", sans-serif; font-size: 14px; color: var(--white); padding-top: 9px; }
.crown-gold svg { fill: var(--gold); }
.crown-silver svg { fill: var(--silver); }
.crown-bronze svg { fill: var(--bronze); }
.cmp-col .crown { width: 34px; height: 26px; }
.cmp-col .crown b { font-size: 12px; padding-top: 6px; }

/* ---------- 現金化とは ---------- */
.about-box { background: var(--white); border-radius: var(--radius); padding: 22px 18px; box-shadow: var(--shadow); }
.about-box > p { font-size: 14px; margin-bottom: 18px; }
.about-box > p b { color: var(--orange-deep); }
.about-steps { display: grid; gap: 12px; }
.about-steps li { display: flex; gap: 12px; align-items: flex-start; background: var(--cream); border-radius: 12px; padding: 12px 14px; }
.step-num {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--orange); color: var(--white);
  font-family: "Montserrat", sans-serif; font-weight: 800;
}
.about-steps h3 { font-size: 15px; font-weight: 900; color: var(--ink); }
.about-steps p { font-size: 13px; color: var(--muted); }

/* ---------- ランキングカード ---------- */
.ranking { background: var(--white); }
.rank-card {
  position: relative; background: var(--white);
  border: 2px solid var(--line); border-top: 6px solid var(--orange);
  border-radius: var(--radius); padding: 20px 16px 22px;
  box-shadow: var(--shadow); margin-top: 34px;
}
.rank-1 { border-color: var(--orange); border-width: 3px 3px 3px; border-top-width: 6px; }
.rank-ribbon {
  position: absolute; top: -16px; right: 14px;
  background: var(--accent); color: var(--white); font-size: 12px; font-weight: 900;
  padding: 4px 14px; border-radius: 999px; box-shadow: 0 3px 0 #B5320F;
}
.rank-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.rank-head .crown { width: 54px; height: 42px; flex-shrink: 0; }
.rank-head .crown b { font-size: 17px; padding-top: 12px; }
.rank-name h3 {
  display: inline; font-size: 24px; font-weight: 900; color: var(--ink); line-height: 1.3;
  background: linear-gradient(transparent 72%, var(--yellow) 72%);
}
.stars { color: #F3A712; font-size: 15px; letter-spacing: 2px; line-height: 1.4; }
.rank-photo img { border-radius: 10px; border: 1px solid var(--line); width: 100%; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 10px; }
.spec {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: var(--orange-pale); border-radius: 10px; padding: 8px 4px; text-align: center;
}
.spec-label {
  font-size: 11px; font-weight: 900; color: var(--white);
  background: var(--orange); border-radius: 999px; padding: 1px 10px;
}
.spec-val { font-size: 12px; font-weight: 700; color: var(--ink); }
.spec-val b { font-family: "Montserrat", sans-serif; font-size: 20px; color: var(--accent); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tags li {
  font-size: 12px; font-weight: 700; color: var(--orange-deep);
  border: 1px solid var(--orange); border-radius: 999px; padding: 2px 10px; background: var(--white);
}
.rank-reason {
  background: var(--yellow-pale); border: 2px solid var(--yellow); border-radius: 12px;
  padding: 14px 14px 12px; margin-bottom: 14px;
}
.rr-label { text-align: center; font-weight: 900; color: var(--ink); margin-bottom: 8px; }
.rr-label b { color: var(--accent); font-size: 1.2em; }
.rr-list { display: grid; gap: 6px; }
.rr-list li { position: relative; padding-left: 26px; font-size: 14px; line-height: 1.6; }
.rr-list li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 18px; height: 18px; border-radius: 50%; background: var(--orange);
}
.rr-list li::after {
  content: ""; position: absolute; left: 6px; top: 6px;
  width: 5px; height: 9px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.rr-list b { color: var(--accent); }
.rank-point { border-left: 4px solid var(--orange); background: var(--cream); border-radius: 0 10px 10px 0; padding: 10px 14px; margin-bottom: 16px; }
.point-head { font-weight: 900; color: var(--orange-deep); font-size: 13px; }
.rank-point p:last-child { font-size: 14px; }

/* 口コミ（タブ） */
.rv-head { font-weight: 900; color: var(--ink); font-size: 14px; margin-bottom: 8px; }
.rv-tabs { display: flex; gap: 4px; }
.rv-tab {
  flex: 1; cursor: pointer; border: 0; border-radius: 10px 10px 0 0;
  background: #E7E3DD; color: var(--muted); font-weight: 900; font-size: 13px; padding: 9px 4px;
}
.rv-tab.is-active { background: var(--orange); color: var(--white); }
.rv-panels { border: 2px solid var(--orange); border-radius: 0 0 12px 12px; padding: 12px; }
.rv-panel { display: flex; gap: 12px; align-items: flex-start; background: var(--cream); border-radius: 10px; padding: 12px; }
.rv-panel.is-active { animation: fadeUp .25s ease; }
.rv-icon {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: center 20%;
  border: 2px solid var(--orange); background: #FFF1DC;
}
.rv-title { font-weight: 900; color: var(--ink); font-size: 14px; line-height: 1.5; margin-bottom: 4px; }
.rv-meta { display: block; font-size: 11px; font-weight: 500; color: var(--muted); }
.rv-body p:last-child { font-size: 13px; line-height: 1.7; }
.rv-src { font-size: 11px; color: var(--muted); margin: 8px 0 18px; }
.rank-cta { margin-top: 4px; }

/* ---------- ご利用の流れ ---------- */
.flow-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.flow-step {
  position: relative; background: var(--white); border-radius: var(--radius);
  padding: 30px 12px 14px; text-align: center; box-shadow: var(--shadow);
}
.flow-num {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: var(--white); font-family: "Montserrat", sans-serif;
  font-weight: 800; font-size: 12px; padding: 3px 12px; border-radius: 999px;
}
.flow-ic { display: block; font-size: 30px; line-height: 1.2; margin-bottom: 4px; }
.flow-step h3 { font-size: 15px; font-weight: 900; color: var(--ink); }
.flow-step p { font-size: 12px; color: var(--muted); line-height: 1.6; }

/* ---------- 選び方 ---------- */
.tips { background: var(--white); }
.pick-box {
  background: var(--yellow-pale); border: 2px solid var(--yellow); border-radius: var(--radius);
  padding: 18px 16px; margin-bottom: 20px;
}
.pick-head { font-weight: 900; color: var(--ink); font-size: 16px; line-height: 1.5; margin-bottom: 8px; }
.pick-badge {
  display: inline-block; background: var(--accent); color: var(--white);
  font-size: 11px; padding: 2px 10px; border-radius: 999px; margin-right: 8px; vertical-align: 2px;
}
.pick-box > p:not(.pick-head) { font-size: 14px; margin-bottom: 14px; }
.howto-grid { display: grid; gap: 12px; }
.howto-item { display: flex; gap: 12px; align-items: center; background: var(--cream); border-radius: 12px; padding: 10px; }
.ht-img { flex-shrink: 0; width: 88px; }
.ht-img img { border-radius: 10px; }
.ht-num {
  display: inline-block; font-size: 11px; font-weight: 900; color: var(--white);
  background: var(--orange); border-radius: 999px; padding: 0 10px;
}
.ht-text h3 { font-size: 15px; font-weight: 900; color: var(--ink); margin: 2px 0; }
.ht-text p { font-size: 12px; color: var(--muted); line-height: 1.6; }

/* ---------- 注意事項 ---------- */
.notice-list { display: grid; gap: 8px; background: var(--white); border-radius: var(--radius); padding: 18px 16px; box-shadow: var(--shadow); }
.notice-list li { position: relative; padding-left: 18px; font-size: 13px; line-height: 1.6; }
.notice-list li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.notice-list b { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #D9D9DE; padding: 32px 0 96px; font-size: 12px; }
.footer-brand { font-weight: 900; color: var(--white); font-size: 16px; margin-bottom: 10px; }
.footer-pr { margin-bottom: 14px; line-height: 1.7; }
.pr-badge { display: inline-block; background: var(--orange); color: var(--white); font-weight: 900; font-size: 10px; padding: 0 6px; border-radius: 3px; margin-right: 6px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 14px; }
.footer-nav a { color: var(--white); text-decoration: none; font-weight: 700; }
.footer-notes p { font-size: 11px; color: #A9A9B2; line-height: 1.7; margin-bottom: 4px; }
.copyright { margin-top: 16px; font-size: 11px; color: #8A8A93; }

/* ---------- 追従CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.95); box-shadow: 0 -4px 14px rgba(0,0,0,.08);
  transform: translateY(110%); transition: transform .3s;
}
.sticky-cta.show { transform: none; }
.sticky-cta .btn-cta { max-width: 520px; margin: 0 auto; font-size: 16px; padding: 12px 48px 12px 16px; }

/* ---------- PC ---------- */
@media (min-width: 900px) {
  body { font-size: 16px; }
  .sec { padding: 72px 0; }
  .sec-title { font-size: 32px; }
  .ribbon { font-size: 15px; }
  .hero-bottom { max-width: 760px; }
  .quiz { padding: 40px 28px 22px; }
  .quiz-opts button { font-size: 15px; padding: 16px 6px; }
  .rank-card { padding: 28px 30px 30px; }
  .rank-photo { max-width: 560px; margin: 0 auto; }
  .flow-list { grid-template-columns: repeat(4, 1fr); }
  .howto-grid { grid-template-columns: repeat(2, 1fr); }
  .sticky-cta { left: auto; right: 20px; bottom: 20px; width: 380px; border-radius: 999px; padding: 8px; }
}
@media (max-width: 599px) {
  .quiz-opts { grid-template-columns: repeat(2, 1fr); }
  .quiz-opts-3 { grid-template-columns: repeat(3, 1fr); }
  .btn-cta-lg { font-size: 17px; }
}
.quiz-opts button { white-space: nowrap; }
.hero-cta { margin-top: 12px; }
.hero-cta .cta-badge { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 10px; line-height: 1.15; padding: 6px 7px; border-radius: 50%; width: 38px; height: 38px; }
.rank-cta .btn-cta-lg, .qr-cta { font-size: 17px; padding-left: 14px; padding-right: 46px; white-space: nowrap; }
@media (min-width: 900px) { .rank-cta .btn-cta-lg, .qr-cta { font-size: 20px; } }
