/* 地図以外のページ（ランキング・対処法・このサイトについて・取引先ウォッチ） */
.guide-page { background: var(--bg); }
.guide { max-width: 820px; margin: 0 auto; padding: 36px 20px 56px; line-height: 1.85; }
.guide > h2:first-child, .guide h2 { font-family: var(--serif); font-size: 28px; line-height: 1.35; margin: 0 0 10px; letter-spacing: .01em; }
.guide h3 { font-family: var(--serif); font-size: 20px; margin: 40px 0 12px; padding-bottom: 6px; border-bottom: 1px solid var(--text); }
.guide section { scroll-margin-top: 76px; }
.guide .lead { font-size: 16px; color: var(--text-2); margin: 0 0 8px; }
.guide a { color: var(--link); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 8px; }
.toc a { font-size: 13.5px; padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 2px; background: var(--panel); color: var(--text); text-decoration: none; font-weight: 600; }
.toc a:hover { border-color: var(--text); }
.steps, .checks { padding-left: 22px; }
.steps li, .checks li { margin: 10px 0; }
.steps li::marker { font-weight: 800; }
.guide section > .checks, .guide section > .steps, .guide section > .types, .guide section > .help, .guide section > p.contact-box {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.guide section > .checks, .guide section > .steps { padding: 14px 18px 14px 40px; }
.types { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; overflow: hidden; }
.types th, .types td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.types tr:last-child td { border-bottom: 0; }
.types th { color: var(--muted); font-weight: 700; font-size: 12px; background: var(--panel-2); }
.types td:first-child { width: 24%; font-weight: 700; }
.types td:nth-child(2) { width: 26%; color: var(--text-2); }
.sev { display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 2px; margin-right: 6px; color: #fff; vertical-align: 1px; }
.sev.s5 { background: var(--sev5); } .sev.s4 { background: var(--sev4); } .sev.s3 { background: var(--sev3); } .sev.s2 { background: var(--sev2); } .sev.s1 { background: var(--sev1); }
.help { list-style: none; padding: 4px 18px; margin: 0; }
.help li { display: flex; flex-direction: column; padding: 12px 0; border-bottom: 1px solid var(--line); }
.help li:last-child { border-bottom: 0; }
.help li a { font-weight: 700; }
.help li span { color: var(--text-2); font-size: 13.5px; }
.contact-box { padding: 14px 18px; }
.guide-cta { margin-top: 44px; padding: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.guide-cta p { margin: 0 0 14px; font-weight: 600; }
@media (max-width: 700px) {
  .guide { padding: 24px 16px 40px; }
  .guide h2 { font-size: 23px; }
  .types thead { display: none; }
  .types td { display: block; width: auto !important; border: 0; padding: 3px 14px; }
  .types tr { display: block; border-bottom: 1px solid var(--line); padding: 10px 0; }
}

/* 取引先ウォッチ（business.html） */
.w-kicker { margin: 0 0 4px; font-size: 12.5px; font-weight: 800; color: var(--brand); letter-spacing: .08em; }
.w-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin: 20px 0; }
.w-stats div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; }
.w-stats b { display: block; font-size: 24px; line-height: 1.3; font-variant-numeric: tabular-nums; }
.w-stats span { font-size: 12.5px; color: var(--muted); }
.w-form textarea { width: 100%; background: var(--panel); border: 1.5px solid var(--line-2); border-radius: 10px; padding: 12px; font-size: 15px; }
.w-form textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(31,95,209,.15); }
.w-form-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 10px 0 16px; }
.w-form select { background: var(--panel); border: 1px solid var(--line-2); border-radius: 8px; padding: 5px 8px; }
.w-sum { font-size: 15px; }
.w-table td:first-child { width: 12%; font-weight: 400; white-space: nowrap; }
.w-table td:nth-child(2) { width: 34%; color: var(--text); }
.w-why { display: inline-block; margin-left: 6px; font-size: 11px; padding: 0 6px; border-radius: 2px; background: var(--panel-2); color: var(--text-2); }
.w-why.via { background: #fff3e0; color: #9a4a00; }
.w-mail { background: var(--panel-2); border-radius: var(--radius); padding: 16px; font-size: 14px; }
.w-mail-head { font-weight: 700; margin-bottom: 10px; }
.w-mail-item { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.w-mail-org { font-size: 16px; font-weight: 700; margin: 2px 0; }
.w-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.w-plan { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.w-plan.featured { border: 2px solid var(--text); }
.w-plan-name { font-weight: 700; }
.w-plan-price { font-size: 22px; font-weight: 800; margin: 4px 0; }
.w-plan-price small { font-size: 11.5px; color: var(--muted); margin-left: 4px; font-weight: 400; }
.w-plan ul { padding-left: 18px; margin: 6px 0 0; font-size: 13.5px; }
.w-faq dt { font-weight: 700; margin-top: 16px; }
.w-faq dd { margin: 4px 0 0; color: var(--text-2); }

/* ランキング（ranking.html） */
.r-page { max-width: 1080px; }
.r-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 8px 0 4px; }
.r-filters label { font-weight: 600; font-size: 14px; }
.r-filters select { margin-left: 4px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 8px; padding: 6px 8px; }
.r-range { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; }
.r-range label { margin-right: 2px; }
.r-presets { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.r-presets button { font: inherit; font-size: 13px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel); color: inherit; cursor: pointer; }
.r-presets button.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.r-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(440px, 1fr)); gap: 16px; margin: 10px 0 28px; }
.r-card { background: var(--panel); border: 1px solid var(--line); border-radius: 2px; padding: 18px 20px 14px; scroll-margin-top: 76px; }
.r-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.r-card h3 { margin: 0; padding: 0; border: 0; font-size: 18px; }
.r-note { margin: 2px 0 0; line-height: 1.6; }
.r-list { list-style: none; padding: 0; margin: 12px 0 10px; }
.r-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); line-height: 1.5; }
.r-list li:last-child { border-bottom: 0; }
.r-rank { font-weight: 800; font-size: 16px; color: var(--muted); text-align: center; }
.r-list li.top .r-rank { font-size: 20px; }
.r-list li:nth-child(1) .r-rank { color: #c99700; }
.r-list li:nth-child(2) .r-rank { color: #8f99a8; }
.r-list li:nth-child(3) .r-rank { color: #b5703a; }
.r-label { font-weight: 700; font-size: 14.5px; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.r-label a { color: var(--text); text-decoration: none; }
.r-label a:hover { text-decoration: underline; }
.r-bar { height: 6px; background: var(--panel-2); border-radius: 3px; margin: 5px 0 2px; overflow: hidden; }
.r-bar i { display: block; height: 100%; background: var(--brand); border-radius: 3px; }
.r-val { font-weight: 800; font-size: 15.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.r-list .small { line-height: 1.4; }
.r-share { display: flex; flex-wrap: wrap; gap: 6px; }
.r-share button { font-size: 12.5px; font-weight: 600; background: var(--panel); border: 1px solid var(--line-2); border-radius: 2px; padding: 5px 12px; cursor: pointer; }
.r-share button:hover { background: var(--panel-2); }
@media (max-width: 560px) { .r-cards { grid-template-columns: 1fr; } .r-card { padding: 16px; } }
