/* Sorabun 順位チェック（/rank/）の LP。ヘッダー・ボタン・フッターの土台は legal.css。色は公式サイトの LP（lp.css）にそろえる。 */
.rk-page { --blue: #2B5FDC; --blue-light: #5A85EA; --blue-tint: #EEF3FE; --navy: #1D2A4D; --navy-band: #233B69; --bg-soft: #F6F8FD; --text: #2A3448; --muted: #5B6B82; --border: #E6ECF6; --radius: 18px; --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 10px 28px rgba(35, 59, 105, .08); color: var(--text); letter-spacing: .01em; }
.rk-page main { overflow: hidden; }
.rk-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.rk-narrow { max-width: 820px; }
.rk-center { text-align: center; justify-content: center; }
.rk-sp { display: none; }
.rk-page .btn-primary { color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-light)); box-shadow: 0 8px 22px rgba(43, 95, 220, .28); }
.rk-page .nav-links a { font-weight: 500; }

/* ---- ファーストビュー ---- */
.rk-hero { background: radial-gradient(1200px 520px at 78% -8%, #E3ECFF 0, rgba(227, 236, 255, 0) 62%), linear-gradient(180deg, #F6F9FF 0, #fff 78%); padding: 64px 0 56px; }
.rk-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
.rk-eyebrow { font-family: 'Nunito', 'Noto Sans JP', sans-serif; font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--blue); margin-bottom: 14px; }
.rk-hero h1 { font-size: clamp(29px, 3.55vw, 44px); line-height: 1.32; font-weight: 900; color: var(--navy); letter-spacing: .01em; }
.rk-hero-sub { margin-top: 20px; font-size: 16.5px; line-height: 1.95; color: #3A4560; }
.rk-hero-sub strong { color: var(--navy); background: linear-gradient(transparent 62%, #DCE7FF 62%); }
.rk-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.rk-btn-lg { padding: 15px 34px; font-size: 16px; }
.rk-btn-ghost { color: var(--blue); font-weight: 700; font-size: 14.5px; text-decoration: none; border-bottom: 2px solid #C9D8FB; padding-bottom: 2px; }
.rk-btn-ghost:hover { border-color: var(--blue); }
.rk-note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.rk-shot-cap { margin-top: 10px; font-size: 12px; color: var(--muted); text-align: right; }

/* ---- 画面の見本（窓） ---- */
.rk-win { background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 2px 4px rgba(16, 24, 40, .04), 0 24px 60px rgba(35, 59, 105, .16); overflow: hidden; }
.rk-win-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #F3F6FC; border-bottom: 1px solid var(--border); }
.rk-win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D5DDEC; }
.rk-win-bar span { margin-left: 10px; font-size: 12px; color: var(--muted); font-weight: 700; }
.rk-win-body { padding: 18px 18px 16px; }
.rk-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.rk-kpis-2 { grid-template-columns: repeat(2, 1fr); margin: 14px 0 0; }
.rk-kpis > div { background: var(--bg-soft); border-radius: 12px; padding: 10px 12px; }
.rk-kpis b { display: block; font-family: 'Nunito', sans-serif; font-size: 24px; font-weight: 900; color: var(--navy); line-height: 1.2; }
.rk-kpis small { font-size: 13px; color: var(--muted); font-weight: 700; }
.rk-kpis span { font-size: 11.5px; color: var(--muted); line-height: 1.4; display: block; }
.rk-tbl { width: 100%; border-collapse: collapse; font-size: 13px; color: var(--navy); }
.rk-tbl th { text-align: left; font-size: 11.5px; color: var(--muted); font-weight: 700; padding: 6px 8px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.rk-tbl td { padding: 9px 8px; border-bottom: 1px solid #F0F3FA; vertical-align: middle; }
.rk-tbl tr:last-child td { border-bottom: 0; }
.rk-tbl td b { font-family: 'Nunito', sans-serif; font-size: 16px; font-weight: 900; }
.rk-tbl td small { display: block; font-size: 11px; color: var(--muted); font-weight: 400; margin-top: 1px; }
.rk-spark svg { display: block; }
.rk-up { color: #1a7f37; font-weight: 700; } .rk-down { color: #c0392b; font-weight: 700; } .rk-mute { color: var(--muted); }
.rk-pill { display: inline-block; font-style: normal; font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 2px 10px; background: #EEF2F9; color: #55637C; margin: 0 4px 3px 0; white-space: nowrap; }
.rk-pill.rk-good { background: #E3F5EA; color: #177a38; }
.rk-ai-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 12px; padding: 10px 12px; background: var(--blue-tint); border-radius: 12px; font-size: 12.5px; color: var(--navy); }
.rk-ai-q { font-weight: 700; flex: 1 1 100%; }
.rk-ai-a { font-weight: 700; color: var(--muted); } .rk-ai-a i { margin-left: 6px; }
.rk-aio { border: 1px solid #DCE6FB; background: linear-gradient(180deg, #F5F8FF, #fff); border-radius: 14px; padding: 14px 16px; }
.rk-aio-h { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--navy); }
.rk-aio-t { margin: 10px 0 12px; } .rk-aio-t i { display: block; height: 9px; border-radius: 5px; background: #E4EAF6; margin-bottom: 7px; }
.rk-aio-src { font-size: 12px; color: var(--muted); }
.rk-quote { margin-top: 12px; background: var(--bg-soft); border-radius: 12px; padding: 12px 14px; font-size: 12.5px; }
.rk-quote b { color: var(--navy); font-size: 12px; } .rk-quote p { margin: 4px 0; line-height: 1.7; } .rk-quote small { color: var(--muted); font-size: 11.5px; }
.rk-quote mark { background: #FFF1B8; color: inherit; padding: 0 2px; border-radius: 3px; }
.rk-search { display: flex; gap: 8px; margin-bottom: 12px; } .rk-search span { flex: 1; border: 1px solid #CBD8F5; border-radius: 10px; padding: 8px 12px; font-size: 13px; color: var(--navy); }
.rk-search i, .rk-addbtn i { font-style: normal; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 8px 16px; white-space: nowrap; }
.rk-addbtn { margin-top: 12px; text-align: right; }
.rk-cb { display: inline-block; width: 14px; height: 14px; border: 1.5px solid #B9C6E0; border-radius: 4px; margin-right: 8px; vertical-align: -2px; }
.rk-cb.rk-on { background: var(--blue); border-color: var(--blue); box-shadow: inset 0 0 0 2px #fff; }
.rk-bar { display: inline-block; width: 64px; height: 8px; background: #E9EEF8; border-radius: 4px; overflow: hidden; } .rk-bar i { display: block; height: 100%; background: var(--blue-light); }

/* ---- 数字の帯 ---- */
.rk-band { background: var(--navy-band); color: #fff; }
.rk-band-in { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding-top: 26px; padding-bottom: 26px; }
.rk-band-in > div { text-align: center; padding: 4px 8px; border-left: 1px solid rgba(255, 255, 255, .14); }
.rk-band-in > div:first-child { border-left: 0; }
.rk-band b { display: block; font-family: 'Nunito', sans-serif; font-size: 40px; font-weight: 900; line-height: 1.1; }
.rk-band span { display: block; font-size: 13.5px; font-weight: 700; margin-top: 4px; color: #DCE6FB; }
.rk-band small { display: block; font-size: 11.5px; font-weight: 400; color: #AFC0E4; }

/* ---- 節の共通 ---- */
.rk-sec { padding: 84px 0; background: #fff; }
.rk-soft { background: var(--bg-soft); }
.rk-h2 { text-align: center; font-size: clamp(25px, 3.1vw, 36px); line-height: 1.5; font-weight: 900; color: var(--navy); }
.rk-lead-c { max-width: 720px; margin: 18px auto 0; text-align: center; font-size: 15.5px; line-height: 1.95; color: #3A4560; }
.rk-small { font-size: 13px; color: var(--muted); line-height: 1.8; margin-top: 22px; }
.rk-more { text-align: center; margin-top: 28px; } .rk-more a { color: var(--blue); font-weight: 700; font-size: 14.5px; text-decoration: none; border-bottom: 2px solid #C9D8FB; padding-bottom: 2px; }

/* ---- 実測データ ---- */
.rk-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.rk-facts > div { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 26px 24px; box-shadow: var(--shadow); }
.rk-facts b { font-family: 'Nunito', sans-serif; font-size: 60px; font-weight: 900; color: var(--blue); line-height: 1; }
.rk-facts small { font-size: 19px; color: var(--muted); font-weight: 800; }
.rk-facts h3 { margin-top: 14px; font-size: 17px; color: var(--navy); line-height: 1.5; }
.rk-facts p { margin-top: 8px; font-size: 13.5px; line-height: 1.85; color: #4A5670; }

/* ---- 機能（左右交互） ---- */
.rk-feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; margin-top: 76px; }
.rk-feat.rk-rev .rk-feat-copy { order: 2; }
.rk-num { font-family: 'Nunito', sans-serif; font-size: 15px; font-weight: 900; color: var(--blue); letter-spacing: .1em; }
.rk-feat h3 { margin-top: 8px; font-size: clamp(21px, 2.3vw, 27px); line-height: 1.5; color: var(--navy); font-weight: 900; }
.rk-feat-copy > p { margin-top: 14px; font-size: 15px; line-height: 1.95; color: #3A4560; }
.rk-checks { list-style: none; margin: 18px 0 0; padding: 0; }
.rk-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.75; color: var(--text); margin-bottom: 9px; }
.rk-checks svg { flex: 0 0 18px; margin-top: 4px; }

/* ---- カード4つ ---- */
.rk-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.rk-cards > div { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 22px; background: #fff; box-shadow: var(--shadow); }
.rk-cards h3 { font-size: 16px; color: var(--navy); line-height: 1.5; } .rk-cards p { margin-top: 8px; font-size: 13.5px; line-height: 1.85; color: #4A5670; }

/* ---- 使い方 ---- */
.rk-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 44px 0 0; padding: 0; counter-reset: none; }
.rk-steps li { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.rk-steps span { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; background: var(--blue); color: #fff; font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 17px; }
.rk-steps h3 { margin-top: 14px; font-size: 17px; color: var(--navy); } .rk-steps p { margin-top: 8px; font-size: 14px; line-height: 1.85; color: #4A5670; }

/* ---- 料金 ---- */
.rk-price { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); max-width: 900px; margin: 44px auto 0; border: 2px solid #CFDDFB; border-radius: 22px; overflow: hidden; box-shadow: 0 2px 4px rgba(16, 24, 40, .04), 0 24px 60px rgba(35, 59, 105, .12); background: #fff; }
.rk-price-main { background: linear-gradient(180deg, #F3F7FF, #fff); padding: 34px 30px; text-align: center; border-right: 1px solid var(--border); }
.rk-price-name { font-weight: 700; color: var(--navy); font-size: 15px; }
.rk-price-n { margin-top: 10px; color: var(--navy); font-size: 18px; font-weight: 700; } .rk-price-n b { font-family: 'Nunito', sans-serif; font-size: 58px; font-weight: 900; line-height: 1; margin-right: 2px; } .rk-price-n small { font-size: 13px; color: var(--muted); font-weight: 500; }
.rk-price-first { display: table; margin: 14px auto 22px; background: #FFF4D6; color: #8A5A00; font-size: 14px; font-weight: 700; border-radius: 999px; padding: 5px 16px; } .rk-price-first b { font-size: 17px; }
.rk-price-list { margin: 0; padding: 32px 30px; align-self: center; }

/* ---- できないこと・FAQ ---- */
.rk-limits { margin: 36px 0 0 1.3em; } .rk-limits li { font-size: 14.5px; line-height: 1.95; color: #3A4560; margin-bottom: 8px; }
.rk-faqs { margin-top: 36px; }
.rk-faq { border: 1px solid var(--border); border-radius: 14px; padding: 16px 20px; margin-bottom: 12px; background: #fff; }
.rk-faq summary { font-weight: 700; color: var(--navy); cursor: pointer; font-size: 15.5px; line-height: 1.6; }
.rk-faq p { margin: 12px 0 2px; font-size: 14.5px; line-height: 1.95; color: #3A4560; } .rk-faq a { color: var(--blue); }

/* ---- 締め ---- */
.rk-final { background: linear-gradient(135deg, #1D2A4D, #2A4A8F); color: #fff; padding: 84px 0 64px; text-align: center; }
.rk-final h2 { font-size: clamp(25px, 3.2vw, 38px); line-height: 1.5; font-weight: 900; }
.rk-final > .rk-wrap > p { margin-top: 16px; font-size: 16px; color: #DCE6FB; }
.rk-btn-white { background: #fff; color: var(--blue) !important; box-shadow: 0 10px 28px rgba(0, 0, 0, .22); }
.rk-on-dark { color: #fff; border-color: rgba(255, 255, 255, .45); }
.rk-final .rk-terms { max-width: 760px; margin: 44px auto 0; font-size: 12px; line-height: 1.9; color: #AFC0E4; text-align: left; } .rk-terms a { color: #DCE6FB; }

/* ---- スマホ ---- */
@media (max-width: 960px) {
	.rk-hero { padding: 40px 0 44px; }
	.rk-hero-in, .rk-feat { grid-template-columns: minmax(0, 1fr); gap: 30px; }
	.rk-feat { margin-top: 56px; } .rk-feat.rk-rev .rk-feat-copy { order: 0; }
	.rk-band-in { grid-template-columns: repeat(2, 1fr); gap: 18px 8px; } .rk-band-in > div { border-left: 0; } .rk-band-in > div:last-child { grid-column: 1 / -1; }
	.rk-facts, .rk-steps { grid-template-columns: minmax(0, 1fr); } .rk-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rk-price { grid-template-columns: minmax(0, 1fr); } .rk-price-main { border-right: 0; border-bottom: 1px solid var(--border); }
	.rk-sec { padding: 60px 0; } .rk-sp { display: inline; }
}
@media (max-width: 560px) {
	.rk-wrap { padding: 0 18px; }
	.rk-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rk-cards { grid-template-columns: minmax(0, 1fr); }
	.rk-win-body { padding: 14px 12px; overflow-x: auto; } .rk-tbl { min-width: 430px; } .rk-hero h1 { font-size: 30px; }
	.rk-btn-lg { width: 100%; text-align: center; } .rk-btns { justify-content: center; }
	.rk-band b { font-size: 34px; } .rk-facts b { font-size: 52px; }
}
