/* ==========================================================================
   tenshiru-career / 20代向けランキングページ
   コンセプト：高速道路の経路標識（route sign）— 迷わず前へ進むための道案内
   ========================================================================== */

:root {
	--route-green: #2e9fd8;
	--route-green-light: #1c7fb0;
	--paper: #f5f8fa;
	--paper-alt: #eaf3f7;
	--ink: #2b3640;
	--muted: #66737d;
	--amber: #ffc83d;
	--amber-deep: #d99a12;
	--line: #dce4e8;
	--white: #fff;
	--shadow: 0 10px 30px rgba(46, 159, 216, 0.12);
	--font-display: "Noto Sans JP", sans-serif;
}

body {
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-display);
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
}

.rt-page {
	width: min(100%, 1100px);
	margin: 0 auto;
	background: var(--white);
	min-height: 100vh;
}

/* ---- topbar / header ---- */
.rt-kv {
	display: block;
	line-height: 0;
}

.rt-kv img {
	width: 100%;
	height: auto;
}

.rt-topbar {
	padding: 7px 16px;
	background: var(--ink);
	color: #cddbd2;
	text-align: center;
	font-size: 12px;
	letter-spacing: 0.02em;
}

.rt-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 22px;
	border-bottom: 3px solid var(--route-green);
	position: sticky;
	top: 0;
	background: rgba(255, 255, 255, 0.97);
	backdrop-filter: blur(3px);
	z-index: 10;
}

.rt-brand {
	display: flex;
	align-items: center;
	text-decoration: none;
}

.rt-brand-logo {
	height: 34px;
	width: auto;
}

.rt-header-link {
	font-size: 13px;
	text-decoration: none;
	color: var(--white);
	font-weight: 700;
	background: var(--route-green);
	padding: 8px 14px;
	border-radius: 6px;
	white-space: nowrap;
}

.rt-crumb {
	padding: 9px 22px;
	font-size: 11px;
	color: var(--muted);
	background: var(--paper);
}

/* ---- hero ---- */
.rt-hero {
	padding: 40px 22px 30px;
	text-align: center;
	background: var(--paper-alt);
}

.rt-route-tag {
	display: inline-block;
	padding: 5px 12px;
	background: var(--route-green);
	color: var(--white);
	border-radius: 6px;
	font-family: var(--font-display);
	letter-spacing: 0.12em;
	font-size: 11px;
	font-weight: 700;
	margin-bottom: 14px;
}

.rt-eyebrow {
	display: block;
	margin-bottom: 10px;
	color: var(--route-green-light);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.06em;
}

.rt-h1 {
	font-size: clamp(26px, 5vw, 44px);
	line-height: 1.4;
	margin: 0;
	color: var(--ink);
	font-weight: 900;
	letter-spacing: 0.01em;
}

.rt-h1 em {
	font-style: normal;
	color: var(--amber);
}

.rt-lead {
	max-width: 680px;
	margin: 18px auto 0;
	color: var(--muted);
	font-size: 15px;
	font-weight: 500;
}

.rt-trust {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 22px 0 0;
}

.rt-trust li {
	padding: 6px 13px;
	border: 1px solid var(--route-green);
	border-radius: 999px;
	background: var(--white);
	color: var(--route-green);
	font-size: 12px;
	font-weight: 700;
}

/* ---- road line divider (signature) ---- */
.rt-roadline {
	height: 1px;
	background: var(--line);
}

/* ---- sections ---- */
main {
	padding-bottom: 90px;
}

.rt-section {
	padding: 46px 22px;
}

.rt-section--alt {
	background: var(--paper-alt);
}

.rt-section-head {
	text-align: center;
	margin-bottom: 26px;
}

.rt-kicker {
	display: inline-block;
	color: var(--route-green-light);
	font-weight: 800;
	font-size: 12px;
	letter-spacing: 0.14em;
	font-family: var(--font-display);
}

.rt-section-head h2 {
	font-size: clamp(22px, 4vw, 30px);
	line-height: 1.5;
	color: var(--ink);
	margin: 8px 0 8px;
	font-weight: 900;
}

.rt-section-head p {
	margin: 0;
	color: var(--muted);
	font-size: 14px;
}

/* ---- tabs ---- */
.rt-tabs {
	max-width: 900px;
	margin: auto;
}

.rt-tab-input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.rt-tab-list {
	display: flex;
	gap: 8px;
	justify-content: center;
	margin-bottom: 20px;
}

.rt-tab-label {
	padding: 10px 22px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: var(--white);
	color: var(--muted);
	font-weight: 800;
	font-size: 13px;
	cursor: pointer;
}

.rt-tab-panel {
	display: none;
}

#tab-visual:checked ~ #panel-visual,
#tab-table:checked ~ #panel-table {
	display: block;
}

#tab-visual:checked ~ .rt-tab-list label[for="tab-visual"],
#tab-table:checked ~ .rt-tab-list label[for="tab-table"] {
	background: var(--route-green);
	border-color: var(--route-green);
	color: var(--white);
}

/* ---- quick visual comparison ---- */
.rt-quick-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}

.rt-quick-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 14px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--white);
	text-decoration: none;
	box-shadow: var(--shadow);
}

.rt-quick-thumb {
	display: block;
	position: relative;
	border-radius: 8px;
	overflow: hidden;
	aspect-ratio: 16 / 9;
}

.rt-quick-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rt-quick-medal {
	position: absolute;
	top: -10px;
	left: -10px;
	width: 52px !important;
	height: 52px !important;
	object-fit: contain !important;
	filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.25));
}

.rt-quick-name {
	font-weight: 800;
	color: var(--ink);
	font-size: 14px;
}

.rt-quick-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.rt-quick-score {
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.rt-quick-score strong {
	font-size: 20px;
	color: var(--route-green);
}

.rt-stars {
	color: var(--amber-deep);
	font-size: 13px;
	letter-spacing: 1px;
}

.rt-quick-metrics {
	display: flex;
	gap: 14px;
}

.rt-metric {
	font-size: 11px;
	color: var(--muted);
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.rt-icon-good {
	color: var(--route-green);
	font-size: 14px;
}

.rt-icon-mid {
	color: var(--amber-deep);
	font-size: 14px;
}

/* ---- reviews ---- */
.rt-reviews {
	margin: 0 20px 18px;
	padding: 16px;
	background: var(--paper-alt);
	border-radius: 10px;
	display: grid;
	gap: 12px;
}

.rt-reviews-title {
	margin: 0;
	font-size: 12px;
	font-weight: 800;
	color: var(--route-green-light);
}

.rt-review {
	display: flex;
	gap: 10px;
}

.rt-review-avatar {
	flex: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--white);
	border: 1px solid var(--line);
	display: grid;
	place-items: center;
	font-size: 15px;
}

.rt-review-body p {
	margin: 4px 0 0;
	font-size: 12px;
	color: var(--muted);
}

.rt-review-head {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.rt-review-persona {
	font-size: 12px;
	font-weight: 800;
	color: var(--ink);
}

.rt-review-stars {
	font-size: 11px;
	color: var(--amber-deep);
	letter-spacing: 1px;
}

.rt-review-stars b {
	margin-left: 4px;
	color: var(--muted);
	font-weight: 700;
}

.rt-sign--sm {
	min-height: auto;
	width: fit-content;
	padding: 4px 10px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.rt-sign--sm small {
	font-size: 9px;
}

.rt-sign--sm span {
	font-size: 15px;
}

/* ---- comparison table ---- */
.rt-compare-wrap {
	overflow: auto;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--white);
	box-shadow: var(--shadow);
}

.rt-compare-table {
	border-collapse: collapse;
	width: 100%;
	min-width: 700px;
	font-size: 13px;
}

.rt-compare-table th,
.rt-compare-table td {
	padding: 16px 14px;
	text-align: left;
	border-bottom: 1px solid var(--line);
	vertical-align: middle;
}

.rt-compare-table th {
	background: var(--paper-alt);
	color: var(--route-green-light);
	font-size: 12px;
	white-space: nowrap;
	font-weight: 800;
}

.rt-compare-table tr:last-child td {
	border-bottom: 0;
}

.rank-sign {
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 6px;
	background: var(--route-green);
	color: var(--white);
	font-weight: 900;
	font-family: var(--font-display);
	margin-right: 8px;
}

.rt-compare-table tr:first-child .rank-sign {
	background: var(--amber);
	color: var(--ink);
}

.rt-mini-btn {
	display: inline-block;
	padding: 8px 14px;
	border-radius: 6px;
	background: var(--amber);
	color: var(--ink);
	text-decoration: none;
	font-weight: 800;
	white-space: nowrap;
	font-size: 12px;
}

.rt-scroll-hint {
	display: none;
	margin: 8px 0 0;
	text-align: right;
	color: var(--muted);
	font-size: 11px;
}

/* ---- ranking cards ---- */
.rt-ranking {
	display: grid;
	gap: 24px;
	max-width: 860px;
	margin: auto;
}

.rt-card {
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--white);
	box-shadow: var(--shadow);
	overflow: hidden;
}

.rt-card-top {
	display: grid;
	grid-template-columns: 88px 1fr;
	gap: 16px;
	padding: 20px;
	border-bottom: 1px solid var(--line);
}

.rt-card-top--noSign {
	grid-template-columns: 1fr;
}

.rt-sign {
	border-radius: 12px;
	background: var(--route-green);
	color: var(--white);
	display: grid;
	place-items: center;
	text-align: center;
	min-height: 88px;
	font-weight: 900;
	line-height: 1.1;
}

.rt-sign--gold {
	background: var(--amber);
	color: var(--ink);
}

.rt-sign--medal {
	background: transparent;
	min-height: auto;
}

.rt-sign--medal img {
	width: 72px;
	height: 72px;
	object-fit: contain;
}

.rt-sign small {
	display: block;
	font-size: 11px;
	letter-spacing: 0.1em;
	font-family: var(--font-display);
}

.rt-sign span {
	font-size: 34px;
	font-family: var(--font-display);
}

.rt-card-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	flex-wrap: wrap;
}

.rt-card-title h3 {
	font-size: 23px;
	color: var(--ink);
	margin: 0;
	font-weight: 900;
}

.rt-pr {
	font-size: 10px;
	border: 1px solid var(--line);
	border-radius: 4px;
	padding: 2px 6px;
	color: var(--muted);
}

.rt-catch {
	margin: 8px 0 0;
	font-weight: 800;
	color: var(--route-green-light);
}

.rt-card-body {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 20px;
	padding: 20px;
}

.rt-banner {
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid var(--line);
	background: var(--paper-alt);
}

.rt-banner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rt-point-title {
	font-size: 13px;
	color: var(--amber-deep);
	font-weight: 900;
	margin: 0 0 8px;
}

.rt-points {
	margin: 0;
	padding-left: 1.2em;
	font-size: 14px;
	list-style: disc;
}

.rt-points li + li {
	margin-top: 6px;
}

.rt-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 14px;
}

.rt-tag {
	font-size: 11px;
	font-weight: 700;
	background: var(--paper-alt);
	color: var(--route-green-light);
	border-radius: 5px;
	padding: 4px 8px;
}

.rt-editor {
	margin: 0 20px 18px;
	padding: 14px;
	background: var(--paper-alt);
	border-left: 4px solid var(--amber);
	font-size: 13px;
}

.rt-editor strong {
	color: var(--route-green);
}

.rt-cta-area {
	padding: 0 20px 20px;
	text-align: center;
}

.rt-cta {
	display: block;
	width: 100%;
	padding: 16px 18px;
	border-radius: 9px;
	background: var(--amber);
	color: var(--ink);
	text-decoration: none;
	font-weight: 900;
	box-shadow: 0 4px 0 var(--amber-deep);
}

.rt-cta:hover {
	filter: brightness(0.97);
}

.rt-cta-note {
	margin: 9px 0 0;
	font-size: 11px;
	color: var(--muted);
}

.rt-method {
	max-width: 860px;
	margin: 18px auto 0;
	padding: 16px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--white);
	font-size: 12px;
	color: var(--muted);
}

.rt-method summary {
	font-weight: 800;
	color: var(--route-green);
	cursor: pointer;
}

/* ---- how-to-choose cards ---- */
.rt-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	max-width: 860px;
	margin: auto;
}

.rt-info-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 20px;
}

.rt-num {
	font-weight: 900;
	color: var(--amber-deep);
	font-size: 12px;
	font-family: var(--font-display);
	letter-spacing: 0.06em;
}

.rt-info-card h3 {
	font-size: 16px;
	color: var(--ink);
	line-height: 1.5;
	margin: 6px 0 6px;
	font-weight: 800;
}

.rt-info-card p {
	font-size: 13px;
	color: var(--muted);
	margin: 0;
}

/* ---- flow ---- */
.rt-flow {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	max-width: 860px;
	margin: auto;
}

.rt-step {
	text-align: center;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 18px 10px;
	position: relative;
}

.rt-step b {
	display: block;
	color: var(--amber-deep);
	font-size: 12px;
	font-family: var(--font-display);
}

.rt-step strong {
	display: block;
	color: var(--ink);
	margin: 7px 0;
	font-size: 14px;
	font-weight: 800;
}

.rt-step span {
	font-size: 12px;
	color: var(--muted);
}

/* ---- faq ---- */
.rt-faq {
	max-width: 860px;
	margin: auto;
	display: grid;
	gap: 9px;
}

.rt-faq-item {
	border: 1px solid var(--line);
	border-radius: 9px;
	background: var(--white);
	padding: 15px 17px;
}

.rt-faq-item summary {
	font-weight: 800;
	color: var(--ink);
	cursor: pointer;
}

.rt-faq-item p {
	font-size: 13px;
	color: var(--muted);
	margin: 10px 0 0;
}

/* ---- disclosure ---- */
.rt-disclosure {
	max-width: 860px;
	margin: auto;
	font-size: 12px;
	color: var(--muted);
}

.rt-disclosure h3 {
	font-size: 15px;
	color: var(--ink);
	margin: 20px 0 5px;
	font-weight: 800;
}

.rt-disclosure p {
	margin: 0;
}

/* ---- footer ---- */
.rt-footer {
	background: var(--route-green);
	color: #cddbd2;
	padding: 30px 22px;
	text-align: center;
	font-size: 11px;
}

.rt-footer-logo {
	height: 28px;
	width: auto;
	margin: 0 auto 18px;
}

.rt-footer nav {
	display: flex;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 16px;
}

.rt-footer a {
	color: var(--white);
	text-decoration: none;
}

/* ---- sticky cta (mobile) ---- */
.rt-sticky-cta {
	display: none;
}

/* ---- responsive ---- */
@media (max-width: 700px) {
	body {
		background: var(--white);
	}

	.rt-header {
		padding: 12px 16px;
	}

	.rt-header-link {
		display: none;
	}

	.rt-quick-grid {
		grid-template-columns: 1fr;
	}

	.rt-tab-label {
		padding: 9px 16px;
		font-size: 12px;
	}

	.rt-crumb {
		padding: 8px 16px;
	}

	.rt-hero,
	.rt-section {
		padding-left: 16px;
		padding-right: 16px;
	}

	.rt-hero {
		padding-top: 30px;
	}

	.rt-scroll-hint {
		display: block;
	}

	.rt-card-top {
		grid-template-columns: 64px 1fr;
		padding: 15px;
		gap: 12px;
	}

	.rt-card-top--noSign {
		grid-template-columns: 1fr;
	}

	.rt-sign--medal img {
		width: 56px;
		height: 56px;
	}

	.rt-sign {
		min-height: 64px;
	}

	.rt-sign span {
		font-size: 26px;
	}

	.rt-card-title h3 {
		font-size: 20px;
	}

	.rt-card-body {
		grid-template-columns: 1fr;
		padding: 15px;
	}

	.rt-editor,
	.rt-reviews {
		margin: 0 15px 15px;
	}

	.rt-cta-area {
		padding: 0 15px 17px;
	}

	.rt-cards {
		grid-template-columns: 1fr;
	}

	.rt-flow {
		grid-template-columns: 1fr 1fr;
	}

	.rt-sticky-cta {
		display: block;
		position: fixed;
		left: 10px;
		right: 10px;
		bottom: 10px;
		z-index: 20;
		text-align: center;
		padding: 14px;
		border-radius: 10px;
		background: var(--amber);
		color: var(--ink);
		text-decoration: none;
		font-weight: 900;
		box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

:focus-visible {
	outline: 3px solid var(--amber);
	outline-offset: 2px;
}
