/* ===== カセスタ (Kasesuta) — Main Stylesheet ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #0a1628;
  --navy-2:  #0f2044;
  --navy-3:  #1a3560;
  --blue:    #ea580c;
  --blue-l:  #f97316;
  --blue-xl: #fff1e6;
  --teal:    #fb923c;
  --green:   #10b981;
  --green-d: #059669;
  --red:     #ef4444;
  --amber:   #f59e0b;
  --amber-d: #d97706;
  --gray-50: #f8fafc;
  --gray-100:#f1f5f9;
  --gray-200:#e2e8f0;
  --gray-300:#cbd5e1;
  --gray-400:#94a3b8;
  --gray-600:#475569;
  --gray-700:#334155;
  --gray-900:#0f172a;
  --text:    #1e293b;
  --text-sub:#64748b;
  --r:       8px;
  --r-sm:    5px;
  --sh:      0 1px 3px rgba(0,0,0,.06),0 1px 2px rgba(0,0,0,.04);
  --sh-md:   0 4px 12px rgba(0,0,0,.08);
  --sh-lg:   0 8px 24px rgba(0,0,0,.12);
  --border:  1px solid var(--gray-200);
}

body { font-family:'Noto Sans JP',system-ui,sans-serif; color:var(--text); background:var(--gray-50); line-height:1.65; font-size:14px; }
a { color:var(--blue); text-decoration:none; }
a:hover { text-decoration:underline; }
button { cursor:pointer; font-family:inherit; }
.wrap { max-width:1160px; margin:0 auto; padding:0 20px; }

/* ===== TOP BAR ===== */
.top-bar { background:var(--navy); color:#94a3b8; font-size:11px; padding:5px 0; border-bottom:1px solid var(--navy-3); }
.top-bar .wrap { display:flex; justify-content:space-between; align-items:center; }
.top-bar a { color:#94a3b8; }
.top-bar a:hover { color:#fff; text-decoration:none; }
.top-bar-left { display:flex; gap:16px; align-items:center; }
.top-bar-right { display:flex; gap:16px; }
.live-dot { width:6px; height:6px; border-radius:50%; background:#10b981; display:inline-block; margin-right:4px; animation:pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1}50%{opacity:.4} }

/* ===== HEADER ===== */
.site-header { background:var(--navy-2); border-bottom:2px solid var(--blue); box-shadow:0 2px 12px rgba(0,0,0,.3); position:sticky; top:0; z-index:200; }
.header-row { display:flex; align-items:center; height:56px; gap:24px; }
.site-logo { display:flex; align-items:center; gap:10px; white-space:nowrap; }
.site-logo:hover { text-decoration:none; }
.logo-mark { background:linear-gradient(135deg,var(--blue),var(--teal)); width:34px; height:34px; border-radius:7px; display:flex; align-items:center; justify-content:center; }
.logo-ja { font-size:17px; font-weight:900; color:#fff; letter-spacing:-.3px; }
.logo-en { font-size:10px; color:#94a3b8; letter-spacing:.15em; font-weight:600; text-transform:uppercase; margin-left:2px; }
.logo-text { display:flex; flex-direction:column; justify-content:center; line-height:1.1; }
.header-nav { display:flex; gap:2px; margin-left:auto; }
.header-nav a { font-size:13px; font-weight:500; color:#94a3b8; padding:6px 12px; border-radius:var(--r-sm); transition:all .15s; white-space:nowrap; }
.header-nav a:hover { color:#fff; background:rgba(255,255,255,.08); text-decoration:none; }
.header-nav a.active { color:#fff; background:rgba(30,111,217,.4); }
.header-cta { background:var(--blue); color:#fff !important; border-radius:var(--r-sm); font-weight:600 !important; font-size:12px !important; padding:6px 14px !important; }
.header-cta:hover { background:var(--blue-l) !important; }
.menu-btn { display:none; flex-direction:column; justify-content:center; align-items:center; gap:5px; width:44px; height:44px; padding:0; background:none; border:none; margin-left:auto; cursor:pointer; -webkit-tap-highlight-color:transparent; }
.menu-btn span { display:block; width:22px; height:2px; background:#94a3b8; border-radius:2px; transition:transform .2s, opacity .2s; }
.menu-btn.is-open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity:0; }
.menu-btn.is-open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }
.sp-nav { display:none; background:var(--navy-2); border-bottom:1px solid var(--navy-3); flex-direction:column; }
.sp-nav a { padding:15px 20px; font-size:15px; color:#cbd5e1; border-bottom:1px solid var(--navy-3); }
.sp-nav a:active { background:rgba(255,255,255,.06); }

/* ===== HERO ===== */
.hero { background:linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 40%, #0d2a52 100%); padding:52px 0 44px; position:relative; overflow:hidden; }
.hero::before { content:''; position:absolute; top:0; left:0; right:0; bottom:0; background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231e6fd9' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero-inner { display:grid; grid-template-columns:1fr 320px; gap:48px; align-items:center; position:relative; }
.hero-eyebrow { display:flex; align-items:center; gap:8px; margin-bottom:16px; }
.hero-badge { background:rgba(30,111,217,.25); border:1px solid rgba(30,111,217,.4); color:#fdba74; font-size:11px; font-weight:700; padding:3px 12px; border-radius:100px; letter-spacing:.08em; }
.hero-updated { color:#64748b; font-size:11px; }
.hero h1 { font-size:clamp(24px,3.5vw,38px); font-weight:900; color:#fff; line-height:1.25; margin-bottom:12px; }
.hero h1 span { color:var(--teal); }
.hero-concept { font-size:14px; color:#f1f5f9; font-weight:600; letter-spacing:.04em; margin-bottom:12px; border-left:3px solid var(--teal); padding-left:12px; }
.hero-desc { font-size:15px; color:#dbe4ee; line-height:1.9; margin-bottom:28px; }
.hero-btns { display:flex; gap:10px; flex-wrap:wrap; }

/* ===== HERO STATS PANEL ===== */
.hero-panel { background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.1); border-radius:12px; padding:24px; backdrop-filter:blur(4px); }
.panel-title { font-size:10px; font-weight:700; color:#64748b; letter-spacing:.12em; text-transform:uppercase; margin-bottom:16px; padding-bottom:12px; border-bottom:1px solid rgba(255,255,255,.07); }
.panel-stats { display:flex; flex-direction:column; gap:12px; }
.pstat { display:flex; align-items:center; justify-content:space-between; }
.pstat-label { font-size:12px; color:#94a3b8; }
.pstat-val { font-size:20px; font-weight:900; color:#fff; }
.pstat-val.up { color:#10b981; }
.pstat-val.teal { color:var(--teal); }
.pstat-val.amber { color:var(--amber); }
.pstat-sub { font-size:10px; color:#64748b; text-align:right; }

/* ===== NOTICE BAR ===== */
.notice-bar { background:#1a1a2e; border-bottom:1px solid #2d2d4a; color:#6b7280; font-size:11px; padding:6px 0; }
.notice-bar .wrap { display:flex; align-items:center; gap:8px; justify-content:center; }

/* ===== FILTER BAR ===== */
.filter-bar { background:#fff; border-bottom:var(--border); position:sticky; top:56px; z-index:100; box-shadow:var(--sh); }
.filter-inner { display:flex; align-items:center; gap:10px; flex-wrap:wrap; padding:10px 0; }
.search-box { display:flex; align-items:center; gap:7px; border:var(--border); border-radius:var(--r-sm); padding:6px 11px; background:var(--gray-50); flex:0 0 200px; }
.search-box input { border:none; background:none; outline:none; font-size:13px; width:100%; font-family:inherit; color:var(--text); }
.filter-chips { display:flex; gap:5px; flex-wrap:wrap; flex:1; }
.chip { font-size:12px; font-weight:500; padding:4px 12px; border-radius:100px; border:var(--border); background:#fff; color:var(--text-sub); transition:all .15s; white-space:nowrap; }
.chip:hover { border-color:var(--blue); color:var(--blue); }
.chip.active { background:var(--blue); border-color:var(--blue); color:#fff; }
.chip-sep { color:var(--gray-300); font-size:16px; line-height:28px; padding:0 2px; user-select:none; }
.sort-box select { font-size:12px; font-weight:500; padding:5px 26px 5px 9px; border:var(--border); border-radius:var(--r-sm); background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E") no-repeat right 7px center; appearance:none; cursor:pointer; font-family:inherit; color:var(--text); }
.result-count { font-size:12px; color:var(--text-sub); white-space:nowrap; margin-left:auto; }

/* ===== SECTION ===== */
.section { padding:56px 0; }
.bg-white { background:#fff; }
.bg-gray  { background:var(--gray-50); }
.sec-head { margin-bottom:32px; }
.sec-head-inner { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.sec-label { font-size:10px; font-weight:700; color:var(--blue); letter-spacing:.12em; text-transform:uppercase; margin-bottom:6px; }
.sec-title { font-size:clamp(18px,2.5vw,24px); font-weight:800; color:var(--gray-900); line-height:1.3; }
.sec-sub { font-size:13px; color:var(--text-sub); margin-top:4px; }
.update-info { display:flex; align-items:center; gap:5px; font-size:11px; color:var(--green); white-space:nowrap; }
.source-tabs { display:flex; gap:0; border-bottom:2px solid var(--gray-200); margin-bottom:28px; }
.source-tab { font-size:13px; font-weight:600; padding:9px 20px; color:var(--text-sub); border-bottom:2px solid transparent; margin-bottom:-2px; cursor:pointer; transition:all .15s; }
.source-tab.active { color:var(--blue); border-bottom-color:var(--blue); }

/* ===== RANKING TABLE ===== */
.rank-table-wrap { background:#fff; border:var(--border); border-radius:var(--r); overflow:hidden; box-shadow:var(--sh); }
.rank-table-head { display:grid; grid-template-columns:60px 1fr 100px 100px 90px 90px 120px; background:var(--gray-900); color:#94a3b8; font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; padding:10px 16px; gap:8px; }
.rank-rows { display:flex; flex-direction:column; }
.rank-row { display:grid; grid-template-columns:60px 1fr 100px 100px 90px 90px 120px; gap:8px; padding:16px; border-bottom:var(--border); align-items:center; transition:background .12s; }
.rank-row:last-child { border-bottom:none; }
.rank-row:hover { background:var(--blue-xl); }
.rank-row.gold   { border-left:3px solid var(--amber); }
.rank-row.silver { border-left:3px solid #94a3b8; }
.rank-row.bronze { border-left:3px solid #cd7f32; }

.rk-num { display:flex; flex-direction:column; align-items:center; gap:2px; }
.rk-medal { font-size:20px; line-height:1; }
.rk-n { font-size:18px; font-weight:900; color:var(--blue); line-height:1; }
.rk-score { font-size:9px; color:var(--text-sub); }

.rk-info { min-width:0; }
.rk-tags { display:flex; gap:4px; flex-wrap:wrap; margin-bottom:5px; }
.tag { font-size:10px; font-weight:700; padding:1px 8px; border-radius:3px; }
.tag-gogo  { background:#fef3c7; color:#b45309; }
.tag-info  { background:#fce7f3; color:#9d174d; }
.tag-cart  { background:#ecfdf5; color:#065f46; }
.tag-a8    { background:#fff7ed; color:#c2410c; }
.tag-tcs   { background:#fff7ed; color:#0369a1; }
.tag-at     { background:#f5f3ff; color:#6d28d9; }
.tag-direct { background:#fef9c3; color:#854d0e; }
.tag-type  { background:var(--blue-xl); color:var(--blue); }
.tag-hot   { background:#fef2f2; color:#dc2626; }
.tag-new   { background:#f0fdf4; color:#15803d; }
.tag-award { background:#fefce8; color:#854d0e; }
.tag-free  { background:#f0fdf4; color:#15803d; font-weight:700; }
/* マイポイント バナー（index） */
.pt-banner { display:flex; align-items:center; gap:16px; margin:18px 0 0;
  background:linear-gradient(135deg,#fffbeb,#fff7ed); border:1px solid #fcd34d;
  border-radius:14px; padding:16px 20px; text-decoration:none; box-shadow:0 2px 10px rgba(217,119,6,.12);
  transition:transform .15s, box-shadow .15s; }
.pt-banner:hover { transform:translateY(-2px); box-shadow:0 6px 18px rgba(217,119,6,.2); text-decoration:none; }
.pt-banner-icon { font-size:34px; flex-shrink:0; }
.pt-banner-main { flex:1; min-width:0; }
.pt-banner-top { display:flex; align-items:baseline; gap:10px; margin-bottom:8px; }
.pt-banner-label { font-size:13px; font-weight:800; color:#92400e; }
.pt-banner-pts { font-size:26px; font-weight:900; color:#b45309; line-height:1; }
.pt-banner-pts .pt-unit { font-size:14px; margin-left:2px; }
.pt-banner-bar { height:9px; background:#fde68a; border-radius:20px; overflow:hidden; }
.pt-banner-fill { height:100%; width:0; background:linear-gradient(90deg,#f59e0b,#fbbf24); border-radius:20px; transition:width .5s; }
.pt-banner-text { font-size:12px; color:#92400e; margin-top:6px; }
.pt-banner-text strong { font-size:14px; color:#b45309; }
.pt-banner-cta { flex-shrink:0; background:#d97706; color:#fff; font-size:13px; font-weight:800;
  padding:10px 16px; border-radius:8px; white-space:nowrap; }
@media(max-width:640px) {
  .pt-banner { flex-wrap:wrap; gap:12px; }
  .pt-banner-icon { font-size:28px; }
  .pt-banner-cta { width:100%; text-align:center; }
}

/* 商品サムネイル */
.thumb { border-radius:8px; object-fit:cover; flex-shrink:0; background:#f1f5f9; display:block; }
.thumb-emoji { display:flex; align-items:center; justify-content:center; flex-shrink:0;
  border-radius:8px; line-height:1; color:#fff; text-shadow:0 1px 2px rgba(0,0,0,.18); }
.thumb-g-ea     { background:linear-gradient(135deg,#ea580c,#fdba74); }
.thumb-g-tool   { background:linear-gradient(135deg,#7c3aed,#a78bfa); }
.thumb-g-manual { background:linear-gradient(135deg,#d97706,#f59e0b); }
.thumb-g-stock  { background:linear-gradient(135deg,#059669,#34d399); }
.thumb-g-crypto { background:linear-gradient(135deg,#ea580c,#fb923c); }
.thumb-g-other  { background:linear-gradient(135deg,#475569,#94a3b8); }
.thumb-g-biz    { background:linear-gradient(135deg,#0d9488,#2dd4bf); }
.card-name-row { display:flex; gap:10px; align-items:center; margin-bottom:6px; }
.card-name-row .card-name { margin-bottom:0; }
.rk-title-row { display:flex; gap:10px; align-items:center; }

.rk-name { font-size:14px; font-weight:700; color:var(--gray-900); line-height:1.3; margin-bottom:2px; }
.rk-name a { color:inherit; }
.rk-name a:hover { color:var(--blue); text-decoration:none; }
.rk-pairs { font-size:11px; color:var(--text-sub); }

.rk-rating { display:flex; flex-direction:column; gap:3px; }
.stars-sm { color:var(--amber); font-size:11px; letter-spacing:.5px; }
.rating-num { font-size:16px; font-weight:800; color:var(--gray-900); }
.rating-cnt { font-size:10px; color:var(--text-sub); }

.rk-return { display:flex; flex-direction:column; gap:2px; }
.return-num { font-size:16px; font-weight:800; color:var(--green-d); }
.return-label { font-size:10px; color:var(--text-sub); }

.rk-dd { display:flex; flex-direction:column; gap:2px; }
.dd-num { font-size:15px; font-weight:700; }
.dd-num.low { color:var(--green-d); }
.dd-num.mid { color:var(--amber-d); }
.dd-num.high { color:var(--red); }
.dd-label { font-size:10px; color:var(--text-sub); }

.rk-price { display:flex; flex-direction:column; gap:2px; }
.price-num { font-size:14px; font-weight:700; color:var(--gray-900); }
.price-label { font-size:10px; color:var(--text-sub); }

.rk-action { display:flex; flex-direction:column; gap:6px; align-items:flex-start; }

/* ===== SCORE BAR ===== */
.score-bar-row { display:flex; align-items:center; gap:6px; margin-top:4px; }
.score-bar { height:4px; border-radius:2px; background:var(--gray-200); flex:1; overflow:hidden; }
.score-fill { height:100%; border-radius:2px; background:linear-gradient(90deg,var(--blue),var(--teal)); }
.score-val { font-size:11px; font-weight:700; color:var(--blue); white-space:nowrap; }

/* ===== CARDS ===== */
.card-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:16px; margin-bottom:28px; }
.ea-card { background:#fff; border:var(--border); border-radius:var(--r); overflow:hidden; box-shadow:var(--sh); transition:box-shadow .2s,transform .15s; display:flex; flex-direction:column; }
.ea-card:hover { box-shadow:var(--sh-lg); transform:translateY(-2px); }
.card-head { height:100px; display:flex; align-items:center; justify-content:center; position:relative; font-size:40px; }
.card-head-gogo { background:linear-gradient(135deg,#9a3412,#ea580c); }
.card-head-info { background:linear-gradient(135deg,#7c2d9d,#db2777); }
.card-head-cart { background:linear-gradient(135deg,#065f46,#059669); }
.card-head-a8   { background:linear-gradient(135deg,#9a3412,#ea580c); }
.card-head-tcs  { background:linear-gradient(135deg,#0c4a6e,#0284c7); }
.card-head-at     { background:linear-gradient(135deg,#4c1d95,#7c3aed); }
.card-head-direct { background:linear-gradient(135deg,#78350f,#d97706); }
.card-badge { position:absolute; top:10px; left:10px; font-size:9px; font-weight:700; padding:2px 8px; border-radius:3px; }
.badge-gogo { background:rgba(255,255,255,.9); color:#c2410c; }
.badge-info { background:rgba(255,255,255,.9); color:#9d174d; }
.badge-cart { background:rgba(255,255,255,.9); color:#065f46; }
.badge-a8   { background:rgba(255,255,255,.9); color:#c2410c; }
.badge-tcs  { background:rgba(255,255,255,.9); color:#0369a1; }
.badge-at     { background:rgba(255,255,255,.9); color:#6d28d9; }
.badge-direct { background:rgba(255,255,255,.9); color:#92400e; }
.card-rank-flag { position:absolute; top:10px; right:10px; background:rgba(0,0,0,.55); color:#fff; font-size:10px; font-weight:700; padding:2px 8px; border-radius:3px; }
.card-body { padding:14px; flex:1; display:flex; flex-direction:column; }
.card-tags { display:flex; gap:4px; flex-wrap:wrap; margin-bottom:7px; }
.card-name { font-size:14px; font-weight:700; margin-bottom:5px; line-height:1.4; color:var(--gray-900); }
.card-name a { color:inherit; }
.card-name a:hover { color:var(--blue); text-decoration:none; }
.card-desc { font-size:12px; color:var(--text-sub); flex:1; line-height:1.6; margin-bottom:10px; }
.card-metrics { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; margin-bottom:10px; border:var(--border); border-radius:var(--r-sm); overflow:hidden; }
.metric-cell { padding:7px 8px; text-align:center; background:var(--gray-50); }
.metric-cell + .metric-cell { border-left:var(--border); }
.metric-val { font-size:14px; font-weight:800; line-height:1; }
.metric-val.green { color:var(--green-d); }
.metric-val.blue  { color:var(--blue); }
.metric-val.amber { color:var(--amber-d); }
.metric-label { font-size:9px; color:var(--text-sub); margin-top:2px; }
.card-footer { display:flex; align-items:center; justify-content:space-between; padding-top:10px; border-top:var(--border); }
.card-price { font-size:14px; font-weight:700; color:var(--gray-900); }
.card-price-free { color:#15803d; font-size:16px; }
.chip-free { border-color:#15803d !important; color:#15803d !important; }
.chip-free.active { background:#15803d !important; color:#fff !important; }

/* ===== REVIEW SUMMARY ===== */
.review-summary { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:12px; margin-bottom:32px; }
.rsummary-card { background:#fff; border:var(--border); border-radius:var(--r); padding:18px 20px; box-shadow:var(--sh); display:flex; align-items:center; gap:14px; }
.rsummary-icon { font-size:24px; }
.rsummary-num { font-size:26px; font-weight:900; color:var(--gray-900); line-height:1; }
.rsummary-label { font-size:11px; color:var(--text-sub); margin-top:2px; }

/* ===== REVIEW FEED ===== */
.review-feed { display:grid; grid-template-columns:repeat(auto-fill,minmax(320px,1fr)); gap:14px; margin-bottom:20px; }
.review-card { background:#fff; border:var(--border); border-radius:var(--r); padding:16px; box-shadow:var(--sh); }
.review-top { display:flex; align-items:flex-start; gap:10px; margin-bottom:10px; }
.review-av { width:38px; height:38px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:14px; color:#fff; flex-shrink:0; }
.review-meta { flex:1; }
.review-name { font-size:13px; font-weight:700; color:var(--gray-900); }
.review-sub { font-size:11px; color:var(--text-sub); }
.review-stars { color:var(--amber); font-size:12px; }
.review-product-tag { display:inline-block; font-size:10px; background:var(--blue-xl); color:var(--blue); padding:2px 9px; border-radius:3px; margin-bottom:7px; font-weight:600; }
.review-text { font-size:13px; line-height:1.7; color:var(--gray-700); }
.review-result { display:flex; align-items:center; gap:5px; margin-top:8px; font-size:12px; font-weight:700; }
.result-up { color:var(--green-d); }
.result-down { color:var(--red); }
.review-date { font-size:10px; color:var(--text-sub); margin-top:6px; }

/* ===== GUIDE ===== */
.guide-steps { display:flex; flex-direction:column; }
.guide-step { display:grid; grid-template-columns:72px 1fr; gap:20px; padding:28px 0; border-bottom:var(--border); }
.guide-step:last-child { border-bottom:none; }
.step-num { font-size:44px; font-weight:900; color:var(--gray-200); line-height:1; padding-top:2px; }
.step-body h3 { font-size:15px; font-weight:700; color:var(--gray-900); margin-bottom:6px; }
.step-body p { font-size:13px; color:var(--text-sub); line-height:1.7; margin-bottom:10px; }
.step-checks { display:flex; flex-direction:column; gap:3px; }
.check-item { font-size:12px; color:var(--green-d); font-weight:500; }

/* ===== FAQ ===== */
.faq-list { max-width:720px; margin:0 auto 28px; }
.faq-cat { max-width:720px; margin:0 auto 10px; font-size:14px; font-weight:800; color:var(--gray-900);
  padding-bottom:8px; border-bottom:2px solid var(--blue); }
.faq-item { border-bottom:var(--border); }
.faq-q { width:100%; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px 0; background:none; border:none; font-size:14px; font-weight:600; color:var(--text); text-align:left; }
.faq-q svg { flex-shrink:0; transition:transform .2s; }
.faq-q.open svg { transform:rotate(180deg); }
.faq-a { display:none; padding:0 0 16px; }
.faq-a.open { display:block; }
.faq-a p { font-size:13px; color:var(--text-sub); line-height:1.8; }

/* ===== TRUST BAR ===== */
.trust-bar { background:var(--navy-2); padding:32px 0; }
.trust-inner { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:24px; }
.trust-item { display:flex; align-items:flex-start; gap:12px; }
.trust-icon { font-size:20px; margin-top:2px; }
.trust-title { font-size:13px; font-weight:700; color:#fff; margin-bottom:3px; }
.trust-desc { font-size:11px; color:#94a3b8; line-height:1.5; }

/* ===== FOOTER ===== */
.site-footer { background:var(--navy); padding:44px 0 24px; }
.footer-grid { display:grid; grid-template-columns:240px repeat(3,1fr); gap:40px; margin-bottom:36px; }
.footer-brand { }
.footer-logo { display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.footer-logo .logo-ja { font-size:15px; }
.footer-tagline { font-size:11px; color:#94a3b8; line-height:1.7; }
.footer-col-title { font-size:11px; font-weight:700; color:#94a3b8; letter-spacing:.1em; text-transform:uppercase; margin-bottom:12px; }
.footer-col { display:flex; flex-direction:column; gap:0; }
.footer-col a { color:#64748b; font-size:12px; padding:4px 0; transition:color .15s; }
.footer-col a:hover { color:#fff; text-decoration:none; }
.footer-bottom { border-top:1px solid #1e2d45; padding-top:20px; }
.footer-disclaimer { font-size:10px; color:#64748b; line-height:1.8; margin-bottom:10px; }
.copyright { font-size:11px; color:#64748b; text-align:center; }
.more-link { text-align:center; margin-top:8px; }

/* ===== BUTTONS ===== */
.btn { display:inline-flex; align-items:center; gap:5px; padding:8px 18px; border-radius:var(--r-sm); font-size:13px; font-weight:600; border:none; transition:all .15s; text-decoration:none; white-space:nowrap; }
.btn:hover { text-decoration:none; }
.btn-primary { background:var(--blue); color:#fff; }
.btn-primary:hover { background:var(--blue-l); color:#fff; }
.btn-amber { background:var(--amber); color:#fff; }
.btn-amber:hover { background:var(--amber-d); color:#fff; }
.btn-outline { color:var(--blue); border:1.5px solid var(--blue); background:transparent; }
.btn-outline:hover { background:var(--blue); color:#fff; }
.btn-outline-dark { color:#94a3b8; border:1.5px solid #1e2d45; background:transparent; }
.btn-outline-dark:hover { border-color:#94a3b8; color:#fff; }
.btn-sm { padding:5px 12px; font-size:12px; }
.btn-xs { padding:4px 10px; font-size:11px; }
.btn-white { background:#fff; color:var(--blue); }
.btn-white:hover { background:#fff7ed; color:var(--blue); }
.btn-ghost { background:rgba(255,255,255,.1); color:#fff; border:1px solid rgba(255,255,255,.2); }
.btn-ghost:hover { background:rgba(255,255,255,.18); color:#fff; }

/* ===== UTIL ===== */
.hidden { display:none !important; }
.text-green { color:var(--green-d); }
.text-amber { color:var(--amber-d); }
.text-red { color:var(--red); }

/* ===== RESPONSIVE ===== */
@media(max-width:1024px) {
  .rank-table-head,
  .rank-row { grid-template-columns:52px 1fr 90px 90px 80px 130px; }
  .rank-table-head > *:nth-child(6),
  .rank-row > *:nth-child(6) { display:none; }
}
@media(max-width:900px) {
  .hero-inner { grid-template-columns:1fr; }
  .hero-panel { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
  .panel-stats { display:contents; }
  .rank-table-head { display:none; }
  .rank-row { grid-template-columns:48px 1fr; grid-template-rows:auto auto; gap:10px; }
  .rank-row > *:nth-child(n+3) { display:none; }
  .rk-action { grid-column:1/-1; flex-direction:row; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:24px; }
}
@media(max-width:640px) {
  .header-nav { display:none; }
  .menu-btn { display:flex; }
  .top-bar { display:none; }
  .footer-grid { grid-template-columns:1fr; }

  /* SPメニューはヘッダー（sticky）直下に固定表示する。
     通常フローのままだとスクロール後に画面外で開いてしまうため。 */
  .sp-nav {
    position:fixed; top:58px; left:0; right:0; z-index:190;
    max-height:calc(100vh - 58px); overflow-y:auto;
    box-shadow:0 10px 26px rgba(0,0,0,.45);
  }
  .sp-nav.open { display:flex; }

  /* フィルターバーの圧縮（従来は約340px＝画面の4割を占有していた） */
  .filter-bar { top:58px; }
  .filter-inner {
    display:grid; grid-template-columns:1fr auto;
    grid-template-areas:"search search" "chips chips" "count sort";
    align-items:center; gap:8px; padding:8px 0; flex-wrap:nowrap;
  }
  .search-box   { grid-area:search; flex:1 1 auto; padding:8px 11px; }
  .search-box input { font-size:16px; } /* 16px未満だとiOSで自動ズームする */
  .filter-chips {
    grid-area:chips; flex-wrap:nowrap; overflow-x:auto; gap:6px;
    -webkit-overflow-scrolling:touch; scrollbar-width:none; padding-bottom:2px;
  }
  .filter-chips::-webkit-scrollbar { display:none; }
  .chip { flex:0 0 auto; padding:6px 13px; font-size:12.5px; }
  .result-count { grid-area:count; margin-left:0; }
  .sort-box { grid-area:sort; }
  .sort-box select { font-size:12.5px; padding:6px 26px 6px 9px; }
}
