/* =========================================================
   クレカ現金化ランキング（黄色テーマ）
   ========================================================= */
:root {
  --yellow: #FFD43B;
  --yellow-deep: #FFB800;
  --yellow-pale: #FFF8DA;
  --yellow-soft: #FFFCEE;
  --accent: #F0531C;       /* 朱オレンジ：強調文字 */
  --accent-pale: #FFEDE4;
  --cta-1: #FFA51F;
  --cta-2: #FF6A00;
  --navy: #1D2650;
  --navy-2: #2C3770;
  --text: #2B2B33;
  --muted: #6B6B75;
  --line: #ECE4C8;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 6px 20px rgba(60, 45, 0, .08);
}

*, *::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(--white);
  line-height: 1.7;
  font-size: 15px;
}
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; }
.wrap { width: 100%; max-width: 1080px; 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; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 3px solid var(--yellow);
  backdrop-filter: blur(6px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: var(--yellow);
  font-weight: 900; font-size: 18px;
}
.brand-name { font-weight: 900; font-size: 15px; color: var(--navy); line-height: 1.2; }
.brand-name small { display: block; font-size: 10px; color: var(--accent); font-weight: 700; }
.btn-header {
  text-decoration: none; font-weight: 700; font-size: 12px;
  color: var(--white); background: var(--navy);
  padding: 8px 14px; border-radius: 999px;
}

/* ---------- CTA Button ---------- */
.btn-cta {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  text-decoration: none; color: var(--white); font-weight: 900;
  background: linear-gradient(180deg, var(--cta-1), var(--cta-2));
  border-radius: 999px;
  box-shadow: 0 5px 0 #C94F00, 0 10px 18px rgba(255,106,0,.28);
  padding: 14px 26px; font-size: 16px;
  transition: transform .15s, box-shadow .15s;
}
.btn-cta:hover { transform: translateY(2px); box-shadow: 0 3px 0 #C94F00, 0 6px 12px rgba(255,106,0,.25); }
.btn-cta-lg { padding: 18px 30px; font-size: 19px; }
.btn-cta-sm { padding: 8px 6px; font-size: 11px; width: 100%; box-shadow: 0 3px 0 #C94F00; gap: 4px; white-space: nowrap; }
.btn-block { display: flex; width: 100%; }
.cta-arrow { font-size: .75em; }
.cta-badge {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--yellow); color: var(--navy);
  font-size: 11px; line-height: 1.15; font-weight: 900; text-align: center;
  margin-left: -14px; flex-shrink: 0;
}
.cta-badge.sm { width: 36px; height: 36px; font-size: 11px; margin-left: -10px; }
.btn-cta::after { /* 光沢 */
  content: ""; position: absolute; inset: 3px 12px auto; height: 40%;
  border-radius: 999px; background: linear-gradient(rgba(255,255,255,.35), rgba(255,255,255,0));
  pointer-events: none;
}

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, #FFE45C 0%, #FFC928 100%); }
.hero-visual { max-width: 560px; margin: 0 auto; }
.hero-visual img { width: 100%; }
.hero-cta-area { padding: 18px 16px 26px; text-align: center; max-width: 560px; margin: 0 auto; }
.hero-cta-area .btn-cta { width: 100%; }
.hero-note { font-size: 11px; color: #6A5200; margin-top: 12px; }

/* ---------- Section 共通 ---------- */
.sec { padding: 56px 0; }
.sec-label {
  display: inline-block;
  font-family: "Montserrat", sans-serif; font-weight: 800; letter-spacing: .04em;
  font-size: 14px; color: var(--white); background: var(--navy);
  padding: 4px 14px; border-radius: 8px; margin-bottom: 12px;
}
.sec-label-accent { background: var(--accent); }
.sec-title { font-size: 25px; font-weight: 900; color: var(--navy); line-height: 1.45; }
.sec-title em { font-style: normal; color: var(--accent); }
.sec-sub { color: var(--muted); font-size: 14px; margin-top: 8px; }

/* ---------- CHECK ---------- */
.worries { background: var(--yellow-pale); }
.check-list { margin-top: 24px; display: grid; gap: 10px; }
.check-list li {
  position: relative; background: var(--white);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 14px 14px 52px; font-weight: 700; font-size: 15px;
}
.check-list li::before {
  content: "✓"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); color: var(--white);
  display: grid; place-items: center; font-size: 14px; font-weight: 900;
}
.worry-solve {
  margin-top: 22px; text-align: center; font-weight: 900; color: var(--navy);
  background: var(--yellow-soft); border: 2px dashed var(--yellow-deep);
  border-radius: 10px; padding: 16px;
}
.worry-solve b { color: var(--accent); }

/* ---------- COMPARE ---------- */
.table-scroll { margin-top: 24px; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 12px; box-shadow: var(--shadow); }
.cmp-table { width: 100%; table-layout: fixed; border-collapse: collapse; background: var(--white); font-size: 13px; text-align: center; }
.cmp-table th, .cmp-table td { border: 1px solid var(--line); padding: 8px 4px; vertical-align: middle; }
.cmp-table tbody th { background: var(--navy); color: var(--white); font-size: 11px; line-height: 1.35; }
.cmp-corner { background: var(--navy); color: var(--white); font-size: 11px; width: 52px; }
.cmp-col { background: var(--navy-2); color: var(--white); position: relative; padding-top: 14px !important; }
.cmp-col b { display: block; font-size: 12px; margin-top: 4px; line-height: 1.3; }
.cmp-col.cmp-1 { background: linear-gradient(180deg, #FFE14D, var(--yellow-deep)); color: var(--navy); padding-top: 26px !important; }
.cmp-pick {
  position: absolute; top: 0; left: 0; right: 0;
  background: var(--accent); color: var(--white); font-size: 11px; font-weight: 900; padding: 2px 0;
}
.num-circle {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%;
  font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 15px;
  color: var(--white); background: #9AA0B5;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.15);
}
.num-circle.n1 { background: linear-gradient(180deg, #F7C948, #D99A00); }
.num-circle.n2 { background: linear-gradient(180deg, #C9CED8, #8F96A8); }
.num-circle.n3 { background: linear-gradient(180deg, #E0A57A, #B26B3C); }
.num-circle.lg { width: 44px; height: 44px; font-size: 22px; flex-shrink: 0; }
.cmp-table td.hl { background: var(--yellow-soft); }
.cmp-thumb { display: block; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; }
.cmp-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cmp-num { color: var(--muted); font-size: 11px; }
.cmp-num b { display: block; font-size: 18px; color: var(--navy); font-family: "Montserrat", sans-serif; line-height: 1.1; }
.hl .cmp-num b, .c-accent { color: var(--accent); }
.hl .cmp-num b { font-size: 21px; }
.cmp-table td b { color: var(--navy); }
.hl b.c-accent { color: var(--accent); font-size: 16px; }
.cmp-chip { display: inline-block; background: var(--accent); color: var(--white); font-weight: 900; font-size: 11px; padding: 2px 8px; border-radius: 999px; margin-bottom: 4px; }
.cmp-sm { display: block; font-size: 11px; line-height: 1.45; }
.cmp-note { font-size: 11px; color: var(--muted); margin-top: 8px; }

/* ---------- WHAT'S THIS ---------- */
.about { background: var(--white); }
.about-box { margin-top: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; box-shadow: var(--shadow); }
.about-box > p { font-size: 14px; }
.about-box > p b { color: var(--accent); }
.about-steps { margin-top: 20px; display: grid; gap: 18px; position: relative; }
.about-steps li { display: flex; gap: 14px; position: relative; }
.about-steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 15px; top: 36px; bottom: -14px;
  border-left: 2px dashed var(--yellow-deep);
}
.step-num {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: var(--navy); color: var(--white); display: grid; place-items: center;
  font-family: "Montserrat", sans-serif; font-weight: 800;
}
.about-steps h3 { font-size: 16px; color: var(--navy); }
.about-steps p { font-size: 13px; color: var(--muted); }

/* ---------- RANKING ---------- */
.ranking { background: var(--yellow-pale); }
.rank-card {
  position: relative;
  margin-top: 28px; background: var(--white);
  border-radius: 18px; padding: 20px 16px 22px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.rank-card.rank-1 { margin-top: 36px; border: 3px solid var(--yellow-deep); box-shadow: 0 0 0 5px rgba(255,212,59,.35), var(--shadow); }
.rank-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.rank-head h3 { font-size: 22px; font-weight: 900; color: var(--navy); line-height: 1.2; }
.stars { color: #FFB400; letter-spacing: 2px; font-size: 15px; }
.rank-crown { position: absolute; top: -14px; right: 14px; box-shadow: 0 3px 8px rgba(240,83,28,.3); background: var(--accent); color: var(--white); font-size: 12px; font-weight: 900; padding: 4px 10px; border-radius: 999px; }
.rank-body { margin-top: 14px; display: grid; gap: 14px; }
.rank-photo { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.rank-photo img { width: 100%; aspect-ratio: 1100 / 792; object-fit: cover; object-position: top; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { background: var(--accent-pale); color: var(--accent); font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 6px; }
.specs { margin-top: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.spec { background: #F7F7FA; border-radius: 10px; padding: 10px 4px; text-align: center; }
.rank-1 .spec { background: var(--yellow-soft); }
.spec-label { display: block; font-size: 11px; color: var(--muted); font-weight: 700; }
.spec-val { display: block; font-size: 12px; font-weight: 700; color: var(--navy); }
.spec-val b { font-size: 18px; color: var(--accent); font-family: "Montserrat", "Noto Sans JP", sans-serif; }
.rank-reason { margin-top: 16px; background: linear-gradient(180deg, #FFF3B8, var(--yellow-soft)); border-radius: 12px; padding: 14px 14px 16px; }
.rr-label { text-align: center; font-weight: 900; color: var(--navy); font-size: 15px; }
.rr-label b { color: var(--accent); font-size: 18px; }
.rr-list { margin-top: 10px; display: grid; gap: 6px; }
.rr-list li { position: relative; padding-left: 24px; font-size: 14px; }
.rr-list li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 11px; display: grid; place-items: center; font-weight: 900; }
.rr-list b { color: var(--accent); }
.rank-point { margin-top: 14px; border: 2px solid var(--navy); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.point-head { font-weight: 900; color: var(--navy); margin-bottom: 4px; }
.rank-point b { color: var(--accent); }
.reviews { margin-top: 14px; display: grid; gap: 10px; }
.reviews li { display: flex; gap: 10px; background: #F7F7FA; border-radius: 12px; padding: 12px; font-size: 13px; }
.rv-head { margin-top: 16px; font-weight: 900; color: var(--navy); font-size: 14px; border-left: 4px solid var(--yellow-deep); padding-left: 8px; }
.rv-head + .reviews, .rv-head + .facts { margin-top: 8px; }
.rv-icon { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; background: #DDE1EE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Ccircle cx='12' cy='9' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7z'/%3E%3C/svg%3E") center/26px no-repeat; }
.rv-src { font-size: 11px; color: var(--muted); margin-top: 6px; }
.rv-src a { color: var(--muted); }
.facts { display: grid; gap: 6px; background: #F7F7FA; border-radius: 12px; padding: 12px 14px; }
.facts li { position: relative; padding-left: 22px; font-size: 13px; }
.facts li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 900; }
.rv-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--white); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.rv-title { font-weight: 900; color: var(--navy); font-size: 14px; }
.rv-meta { display: block; font-size: 11px; color: var(--muted); font-weight: 500; }
.rank-card > .btn-cta { margin-top: 18px; }
.cta-micro { text-align: center; font-size: 12px; font-weight: 700; color: var(--accent); margin-top: 10px; }

/* ---------- HOW TO ---------- */
.flow-list { margin-top: 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.flow-step {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 26px 12px 14px; text-align: center; box-shadow: var(--shadow);
}
.flow-num {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--navy); color: var(--white); font-family: "Montserrat", sans-serif;
  font-weight: 800; font-size: 11px; padding: 2px 12px; border-radius: 999px;
}
.flow-ic { font-size: 30px; display: block; }
.flow-step h3 { font-size: 15px; color: var(--navy); margin-top: 4px; }
.flow-step p { font-size: 12px; color: var(--muted); line-height: 1.55; margin-top: 4px; }

/* ---------- TIPS ---------- */
.tips { background: var(--yellow-pale); }
.pick-box { margin-top: 22px; background: var(--yellow-soft); border: 2px solid var(--yellow-deep); border-radius: 12px; padding: 16px; font-size: 14px; }
.pick-head { font-weight: 900; color: var(--accent); margin-bottom: 6px; font-size: 15px; }
.pick-badge { display: inline-block; background: var(--yellow-deep); color: var(--navy); font-size: 11px; padding: 2px 8px; border-radius: 6px; margin-right: 8px; vertical-align: 2px; }
.howto-grid { margin-top: 16px; display: grid; gap: 10px; }
.howto-item { display: flex; gap: 12px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.ht-img { width: 84px; height: 84px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.ht-img img { width: 100%; height: 100%; object-fit: cover; }
.ht-num { display: inline-block; background: var(--accent-pale); color: var(--accent); font-size: 11px; font-weight: 900; padding: 1px 8px; border-radius: 6px; }
.howto-item h3 { font-size: 15px; color: var(--navy); }
.howto-item p { font-size: 12px; color: var(--muted); line-height: 1.55; }

/* ---------- NOTICE ---------- */
.notice-list { margin-top: 20px; display: grid; gap: 8px; }
.notice-list li { position: relative; padding: 12px 14px 12px 38px; background: #F7F7FA; border-radius: 10px; font-size: 13px; }
.notice-list li::before { content: "!"; position: absolute; left: 12px; top: 13px; width: 18px; height: 18px; border-radius: 50%; background: var(--navy); color: var(--yellow); font-weight: 900; font-size: 12px; display: grid; place-items: center; }
.notice-list b { color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #D5D9EA; padding: 40px 0 110px; text-align: center; font-size: 12px; }
.footer-brand { font-weight: 900; color: var(--white); font-size: 17px; }
.footer-pr { margin: 14px auto 0; max-width: 720px; text-align: left; background: rgba(255,255,255,.06); padding: 10px 12px; border-radius: 8px; }
.pr-badge { display: inline-block; background: var(--yellow); color: var(--navy); font-weight: 900; font-size: 10px; padding: 0 6px; border-radius: 4px; margin-right: 6px; }
.footer-nav { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; }
.footer-nav a { color: #AEB4CC; text-decoration: none; }
.footer-notes { margin: 18px auto 0; max-width: 720px; text-align: left; color: #AEB4CC; font-size: 11px; display: grid; gap: 4px; }
.copyright { margin-top: 18px; color: #8C93AF; font-size: 11px; }

/* ---------- Sticky CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(29,38,80,.92);
  transform: translateY(110%); transition: transform .3s;
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn-cta { padding: 12px 20px; font-size: 16px; }

/* =========================================================
   Tablet / PC
   ========================================================= */
@media (min-width: 768px) {
  .sec { padding: 80px 0; }
  .sec-title { font-size: 32px; }
  .check-list { grid-template-columns: 1fr 1fr; }
  .check-list li:last-child { grid-column: 1 / -1; }
  .flow-list { grid-template-columns: repeat(4, 1fr); }
  .howto-grid { grid-template-columns: 1fr 1fr; }
  .cmp-table { font-size: 14px; }
  .cmp-corner { width: 90px; }
  .cmp-table tbody th { font-size: 13px; }
  .cmp-col b { font-size: 15px; }
  .cmp-sm { font-size: 13px; }
  .btn-cta-sm { font-size: 13px; padding: 10px; max-width: 180px; }
  .cmp-table th, .cmp-table td { padding: 12px 10px; }
  .cmp-num b { font-size: 26px; }
  .hl .cmp-num b { font-size: 32px; }
}
@media (min-width: 900px) {
  .hero-visual { max-width: 1280px; }
  .hero-cta-area { max-width: 520px; padding: 22px 16px 34px; }
  .rank-card { padding: 30px 32px 32px; }
  .rank-body { grid-template-columns: 46% 1fr; gap: 24px; align-items: start; }
  .rank-head h3 { font-size: 26px; }
  .spec-val b { font-size: 22px; }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .rank-2 .reviews, .rank-3 .reviews { grid-template-columns: 1fr 1fr; }
  .reviews li { flex-direction: column; }
  .rank-card > .btn-cta { max-width: 520px; margin-left: auto; margin-right: auto; }
  .sticky-cta { left: auto; right: 20px; bottom: 20px; width: 340px; border-radius: 999px; padding: 8px; }
}
