/* 退職代行の口コミ.com メインスタイル
   カラー: ネイビー #1a3a5c（信頼）／オレンジ #e8722a（CTA限定）／背景 #f7f8fa */

:root {
	--navy: #1a3a5c;
	--navy-dark: #12293f;
	--orange: #d95f14;
	--orange-dark: #b84f0e;
	--bg: #f7f8fa;
	--card: #ffffff;
	--text: #2b3440;
	--muted: #6b7684;
	--line: #e3e7ec;
	--star: #f5a623;
	--radius: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
	font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	color: var(--text);
	background: var(--bg);
	line-height: 1.75;
	font-size: 16px;
}

img { max-width: 100%; height: auto; }
a { color: var(--navy); }

.tsc-container { max-width: 860px; margin: 0 auto; padding: 0 16px; }

/* PR表記バー（ステマ規制対応・全ページ） */
.tsc-pr-bar {
	background: #eef1f5;
	color: var(--muted);
	font-size: 11px;
	text-align: center;
	padding: 4px 8px;
}

/* ヘッダー */
.tsc-header { background: var(--navy); }
.tsc-header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; gap: 8px; }
.tsc-logo { text-decoration: none; font-weight: 700; font-size: 20px; }
.tsc-logo-main { color: #fff; }
.tsc-logo-dot { color: #9fc3e8; }
.tsc-nav-list { list-style: none; display: flex; gap: 18px; flex-wrap: wrap; }
.tsc-nav-list a { color: #dbe6f1; text-decoration: none; font-size: 14px; }
.tsc-nav-list a:hover { color: #fff; }

/* メイン */
.tsc-main { padding: 24px 16px 48px; }

h1 { font-size: 26px; line-height: 1.4; margin: 8px 0 16px; }
h2 { font-size: 21px; margin: 32px 0 12px; padding-left: 10px; border-left: 4px solid var(--navy); }
h3 { font-size: 17px; margin: 20px 0 8px; }
p { margin: 0 0 14px; }

/* カード */
.tsc-card {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 18px;
	margin-bottom: 16px;
}

/* CTAボタン（オレンジはここだけ） */
.tsc-cta {
	display: inline-block;
	background: var(--orange);
	color: #fff !important;
	text-decoration: none;
	font-weight: 700;
	padding: 12px 24px;
	border-radius: 999px;
	border: none;
	font-size: 15px;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(232, 114, 42, 0.35);
}
.tsc-cta:hover { background: var(--orange-dark); }

/* ランキングカード */
.tsc-ranking { display: flex; flex-direction: column; gap: 14px; margin: 16px 0; }
.tsc-rank-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 18px 18px 18px 58px;
}
.tsc-rank-no {
	position: absolute;
	left: 14px;
	top: 16px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--navy);
	color: #fff;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}
.tsc-rank-card:nth-child(1) .tsc-rank-no { background: #d4a017; }
.tsc-rank-card:nth-child(2) .tsc-rank-no { background: #8c9aa8; }
.tsc-rank-card:nth-child(3) .tsc-rank-no { background: #a9714b; }
.tsc-rank-card h3 { margin: 0; }
.tsc-rank-card h3 a { text-decoration: none; }
.tsc-stars { color: var(--star); font-weight: 700; margin: 0; }
.tsc-stars small { color: var(--muted); font-weight: 400; }
.tsc-rank-info { color: var(--muted); font-size: 14px; margin: 0; }
.tsc-rank-card .tsc-cta { align-self: flex-start; }
.tsc-badge {
	display: inline-block;
	background: #eaf3ea;
	color: #2e7d43;
	font-size: 12px;
	border-radius: 4px;
	padding: 1px 8px;
	margin-left: 6px;
}

/* 業者スペック表 */
.tsc-spec { width: 100%; border-collapse: collapse; margin: 16px 0; background: var(--card); font-size: 15px; }
.tsc-spec th, .tsc-spec td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.tsc-spec th { background: #eef2f7; width: 36%; font-weight: 600; }

.tsc-stars-large { font-size: 20px; color: var(--star); font-weight: 700; }
.tsc-stars-large small { color: var(--muted); font-size: 14px; font-weight: 400; }

/* 口コミ */
.tsc-review {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 14px 16px;
	margin-bottom: 12px;
}
.tsc-review-head { margin-bottom: 6px; color: var(--star); font-weight: 700; }
.tsc-review-head strong { color: var(--text); margin-left: 6px; }
.tsc-review-head small { color: var(--muted); font-weight: 400; margin-left: 8px; }
.tsc-review p:last-child { margin-bottom: 0; }

/* フォーム */
.tsc-kuchikomi-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.tsc-kuchikomi-form label { font-size: 14px; font-weight: 600; }
.tsc-kuchikomi-form input[type="text"], .tsc-kuchikomi-form textarea, .tsc-kuchikomi-form select {
	width: 100%;
	padding: 10px;
	border: 1px solid var(--line);
	border-radius: 6px;
	font-size: 16px;
	margin-top: 4px;
	background: #fff;
}
.tsc-form-done { background: #eaf3ea; color: #2e7d43; padding: 12px 16px; border-radius: 6px; }
.tsc-note { color: var(--muted); font-size: 12px; }

/* フッター */
.tsc-footer { background: var(--navy-dark); color: #c6d3df; margin-top: 48px; padding: 32px 0; font-size: 13px; }
.tsc-footer-site { font-weight: 700; color: #fff; margin-bottom: 10px; }
.tsc-footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 14px; }
.tsc-footer-links a { color: #c6d3df; }
.tsc-copy { font-size: 12px; color: #8fa2b3; }

/* ヒーロー（旧・汎用） */
.tsc-hero { text-align: center; padding: 28px 8px 8px; }
.tsc-hero-lead { color: var(--muted); font-size: 15px; }

/* ===== ファーストビュー ===== */
.tsc-hero-fv {
	background: linear-gradient(160deg, var(--navy) 0%, #235280 65%, #2d6aa3 100%);
	color: #fff;
	text-align: center;
	margin: -24px -16px 28px;
	padding: 44px 20px 40px;
	position: relative;
	overflow: hidden;
}
.tsc-hero-fv::before {
	content: "";
	position: absolute;
	right: -60px;
	top: -60px;
	width: 220px;
	height: 220px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
}
.tsc-hero-fv::after {
	content: "";
	position: absolute;
	left: -40px;
	bottom: -80px;
	width: 180px;
	height: 180px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.05);
}
.tsc-hero-quote {
	display: inline-block;
	font-size: 14px;
	color: #cfe0f1;
	background: rgba(0, 0, 0, 0.18);
	border-radius: 999px;
	padding: 6px 18px;
	margin-bottom: 14px;
}
.tsc-hero-title { font-size: 26px; line-height: 1.5; margin: 0 0 14px; position: relative; z-index: 1; }
.tsc-marker {
	color: #ffd75e;
	border-bottom: 3px solid #f5c518;
	padding: 0 2px;
}
.tsc-hero-fv .tsc-hero-lead { color: #dbe6f1; font-size: 14px; margin-bottom: 18px; position: relative; z-index: 1; }
.tsc-hero-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; position: relative; z-index: 1; }
.tsc-hero-badges span {
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	font-size: 12px;
	padding: 5px 14px;
}
.tsc-hero-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; position: relative; z-index: 1; }
.tsc-cta-lg { font-size: 17px; padding: 16px 34px; }
.tsc-cta-ghost {
	display: inline-block;
	color: inherit;
	border: 1.5px solid currentColor;
	border-radius: 999px;
	padding: 9px 22px;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
}
main .tsc-cta-ghost { color: var(--navy); }

/* ===== 悩み別ナビ ===== */
.tsc-nayami-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.tsc-nayami-card {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 18px 14px;
	text-decoration: none;
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 4px;
	box-shadow: 0 1px 3px rgba(26, 58, 92, 0.08);
	transition: transform 0.15s, box-shadow 0.15s;
}
.tsc-nayami-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(26, 58, 92, 0.16); }
.tsc-nayami-icon { font-size: 26px; }
.tsc-nayami-card strong { color: var(--navy); font-size: 14px; }
.tsc-nayami-desc { color: var(--orange); font-size: 12px; font-weight: 700; }

/* ===== 比較表 ===== */
.tsc-scroll-hint { text-align: center; color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.tsc-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.tsc-compare { border-collapse: collapse; font-size: 13px; min-width: 640px; width: 100%; }
.tsc-compare th { background: var(--navy); color: #fff; padding: 10px 8px; font-weight: 600; white-space: nowrap; position: sticky; top: 0; }
.tsc-compare td { border-top: 1px solid var(--line); padding: 10px 8px; text-align: center; white-space: nowrap; }
.tsc-compare tr:nth-child(even) td { background: #f4f7fa; }
.tsc-td-name { text-align: left !important; font-weight: 700; }
.tsc-td-name a { text-decoration: none; }
.tsc-td-price { color: var(--orange); font-weight: 700; }
.tsc-ok { color: #2e7d43; font-weight: 700; }
.tsc-ng { color: #c0392b; }
.tsc-mini-cta {
	display: inline-block;
	background: var(--orange);
	color: #fff;
	border-radius: 6px;
	padding: 12px 16px;
	text-decoration: none;
	font-weight: 700;
	font-size: 13px;
}

/* ===== ランキングカード強化 ===== */
.tsc-rank-card { box-shadow: 0 1px 4px rgba(26, 58, 92, 0.08); }
.tsc-rank-pos-1 { border: 2px solid #d4a017; margin-top: 14px; }
.tsc-sub-link { font-size: 13px; padding: 6px; }
.tsc-rank-pos-1::before {
	content: "＼ 総合1位 ／";
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background: #d4a017;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	border-radius: 999px;
	padding: 2px 14px;
	white-space: nowrap;
}
.tsc-star-icons { color: var(--star); letter-spacing: 1px; }
.tsc-rank-price { margin: 0; }
.tsc-price-num { color: var(--orange); font-size: 24px; font-weight: 800; }
.tsc-type-chip { display: inline-block; font-size: 11px; font-weight: 700; border-radius: 4px; padding: 2px 8px; margin-left: 8px; vertical-align: 3px; }
.tsc-type-bengoshi { background: #f3ecfa; color: #6b3fa0; }
.tsc-type-kumiai { background: #eaf3ea; color: #2e7d43; }
.tsc-type-minkan { background: #e8f1fb; color: #1f5e9e; }
.tsc-type-none { background: #eee; color: #888; }
.tsc-badge-gray { background: #f0f2f4; color: #8a95a1; }
.tsc-cta-box { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.tsc-sub-link { font-size: 12px; color: var(--muted); }

/* 記事本文の読みやすさ */
.tsc-body h2 { background: #eef2f7; border-left: 5px solid var(--navy); padding: 10px 14px; border-radius: 0 6px 6px 0; }
.tsc-body h3 { border-bottom: 2px solid var(--line); padding-bottom: 6px; }
.tsc-body table { width: 100%; border-collapse: collapse; background: var(--card); font-size: 14px; margin: 14px 0; }
.tsc-body th, .tsc-body td { border: 1px solid var(--line); padding: 9px 10px; }
.tsc-body th { background: var(--navy); color: #fff; font-weight: 600; }
.tsc-body tr:nth-child(even) td { background: #f4f7fa; }
.tsc-body ul, .tsc-body ol { padding-left: 24px; margin-bottom: 14px; }
.tsc-body li { margin-bottom: 6px; }
.tsc-body a { font-weight: 600; }

/* 目次 */
.tsc-toc { background: var(--card); border: 2px solid var(--navy); border-radius: var(--radius); padding: 16px 18px; margin: 20px 0; }
.tsc-toc-title { font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.tsc-toc ol { margin: 0; padding-left: 22px; }
.tsc-toc li { margin-bottom: 4px; }
.tsc-toc a { text-decoration: none; }

/* 編集部ボックス */
.tsc-editor-box { background: #f4f7fa; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin-top: 28px; font-size: 13px; color: var(--muted); }
.tsc-editor-name { color: var(--text); margin-bottom: 6px; }

/* FAQ */
.tsc-faq { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin: 12px 0; }
.tsc-faq-q { font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.tsc-faq-a { margin: 0; }

/* パンくずリスト */
.tsc-breadcrumb { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.tsc-breadcrumb a { color: var(--muted); }
.tsc-bc-sep { margin: 0 6px; }

/* 業者ページ下部CTA */
.tsc-bottom-cta {
	text-align: center;
	background: #eef4fb;
	border: 1px solid #cfe0f1;
	border-radius: var(--radius);
	padding: 24px 16px;
	margin: 24px 0;
}
.tsc-bottom-cta-lead { font-weight: 600; color: var(--navy); }

/* セクション補助 */
.tsc-section-note { color: var(--muted); font-size: 12px; margin-top: -6px; }
.tsc-center { text-align: center; margin: 18px 0; }

/* 診断バナー */
.tsc-shindan-banner { text-align: center; background: #eef4fb; border-color: #cfe0f1; margin: 24px 0; }
.tsc-shindan-banner h2 { border: none; padding: 0; margin: 4px 0 8px; }

/* アイキャッチ */
.tsc-eyecatch img { border-radius: var(--radius); width: 100%; height: auto; }

/* 記事カードグリッド */
.tsc-post-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 720px) { .tsc-post-grid { grid-template-columns: 1fr 1fr; } }
.tsc-post-card {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	box-shadow: 0 1px 3px rgba(26, 58, 92, 0.08);
	transition: transform 0.15s, box-shadow 0.15s;
}
.tsc-post-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(26, 58, 92, 0.16); }
.tsc-post-card img { width: 100%; height: auto; display: block; }
.tsc-post-card-title { font-weight: 700; color: var(--text); padding: 12px 14px 4px; font-size: 15px; line-height: 1.5; }
.tsc-post-card small { color: var(--muted); padding: 0 14px 12px; font-size: 12px; }

/* 記事リスト */
.tsc-post-list { list-style: none; }
.tsc-post-list li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 8px; }
.tsc-post-list a { text-decoration: none; font-weight: 600; }
.tsc-post-list small { color: var(--muted); margin-left: 8px; }

/* タイプ絞り込み */
.tsc-type-filter .tsc-badge { text-decoration: none; font-size: 13px; padding: 4px 12px; }

/* 診断 */
.tsc-shindan-card { text-align: center; padding: 28px 20px; }
.tsc-shindan-progress { color: var(--muted); font-size: 13px; }
.tsc-shindan-opt {
	display: block;
	width: 100%;
	margin: 10px 0;
	padding: 14px;
	font-size: 15px;
	font-weight: 600;
	color: var(--navy);
	background: #fff;
	border: 2px solid var(--navy);
	border-radius: var(--radius);
	cursor: pointer;
}
.tsc-shindan-opt:hover { background: #eef4fb; }
.tsc-shindan-back {
	margin-top: 14px;
	background: none;
	border: none;
	color: var(--muted);
	font-size: 13px;
	cursor: pointer;
	text-decoration: underline;
	display: inline-block;
}
.tsc-shindan-card .tsc-cta { margin-top: 10px; }

/* PC */
@media (min-width: 720px) {
	.tsc-rank-card { flex-direction: row; align-items: center; }
	.tsc-rank-body { flex: 1; }
	.tsc-rank-card .tsc-cta { align-self: center; white-space: nowrap; }
	h1 { font-size: 30px; }
}
