/* HARITA 回遊ナビ v1.0.0 */
:root {
	--hky-green: #2e5b45;
	--hky-green-dark: #234736;
	--hky-green-pale: #eaf2ee;
	--hky-ink: #363427;
	--hky-line: #dde3df;
}

/* =========================================================
   ① 連載ナビ
   ======================================================= */
.hky-series-banner {
	background: var(--hky-green-pale);
	border-left: 4px solid var(--hky-green);
	border-radius: 6px;
	padding: 10px 14px;
	margin: 0 0 20px;
	font-size: 13.5px;
	color: var(--hky-ink);
	line-height: 1.6;
}

.hky-series-banner a {
	color: var(--hky-green);
	font-weight: 700;
	text-decoration: none;
}

.hky-series-banner a:hover {
	text-decoration: underline;
}

.hky-series-nav {
	border: 1px solid var(--hky-line);
	border-radius: 12px;
	overflow: hidden;
	margin: 28px 0 20px;
	background: #fff;
	box-shadow: 0 2px 10px rgba(20, 40, 30, 0.05);
}

.hky-series-nav-head {
	background: var(--hky-green);
	color: #fff;
	font-size: 13.5px;
	font-weight: 700;
	padding: 9px 14px;
}

.hky-series-nav-row {
	display: flex;
}

.hky-series-cell {
	flex: 1 1 50%;
	min-width: 0;
	display: block;
	padding: 12px 14px;
	text-decoration: none;
	color: var(--hky-ink);
	transition: background 0.12s;
}

.hky-series-cell + .hky-series-cell {
	border-left: 1px solid var(--hky-line);
}

a.hky-series-cell:hover {
	background: var(--hky-green-pale);
}

.hky-series-next {
	text-align: right;
}

.hky-series-dir {
	display: block;
	font-size: 11.5px;
	font-weight: 700;
	color: var(--hky-green);
	margin-bottom: 4px;
}

.hky-series-title {
	display: block;
	font-size: 13px;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hky-series-none {
	color: #9aa39d;
	font-size: 12.5px;
	align-self: center;
	text-align: center;
}

.hky-series-toc {
	display: block;
	text-align: center;
	padding: 10px 14px;
	border-top: 1px solid var(--hky-line);
	font-size: 13px;
	font-weight: 700;
	color: var(--hky-green);
	text-decoration: none;
	background: #fafbfa;
}

.hky-series-toc:hover {
	background: var(--hky-green-pale);
}

@media (max-width: 600px) {
	.hky-series-nav-row {
		flex-direction: column;
	}

	.hky-series-cell + .hky-series-cell {
		border-left: none;
		border-top: 1px solid var(--hky-line);
	}

	.hky-series-next {
		text-align: left;
	}
}

/* =========================================================
   ② 人気検索ワード
   ======================================================= */
.hky-popular {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 18px 0 6px;
}

.hky-popular--search {
	margin: 12px 0 0;
	padding-top: 12px;
	border-top: 1px dashed var(--hky-line);
}

.hky-popular-label {
	font-size: 12px;
	color: #6b6f6c;
}

.hky-popular-chip {
	display: inline-block;
	font-size: 12.5px;
	line-height: 1;
	padding: 7px 12px;
	border: 1px solid var(--hky-line);
	border-radius: 999px;
	color: var(--hky-ink);
	background: #fff;
	text-decoration: none;
	transition: all 0.12s;
}

.hky-popular-chip:hover {
	border-color: var(--hky-green);
	color: var(--hky-green);
	background: var(--hky-green-pale);
}

/* =========================================================
   ③ 用語の自動内部リンク
   ======================================================= */
a.hky-term {
	color: var(--hky-green);
	text-decoration: none;
	border-bottom: 1px dashed var(--hky-green);
	padding-bottom: 1px;
}

a.hky-term:hover {
	background: var(--hky-green-pale);
}

/* =========================================================
   ④ 「次はこれ」カード
   ======================================================= */
.hky-next-pick {
	display: flex;
	align-items: stretch;
	gap: 0;
	border: 2px solid var(--hky-green);
	border-radius: 12px;
	overflow: hidden;
	margin: 24px 0 8px;
	text-decoration: none;
	background: #fff;
	box-shadow: 0 2px 10px rgba(20, 40, 30, 0.07);
	transition: box-shadow 0.15s, transform 0.15s;
}

.hky-next-pick:hover {
	box-shadow: 0 6px 18px rgba(20, 40, 30, 0.15);
	transform: translateY(-1px);
}

.hky-next-thumb {
	flex: 0 0 34%;
	min-height: 110px;
	background-size: cover;
	background-position: center;
	background-color: #f2f4f2;
}

.hky-next-thumb--ph {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 34px;
}

.hky-next-body {
	flex: 1;
	min-width: 0;
	padding: 14px 16px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
}

.hky-next-label {
	display: inline-block;
	align-self: flex-start;
	font-size: 11px;
	font-weight: 700;
	color: #fff;
	background: var(--hky-green);
	border-radius: 999px;
	padding: 3px 10px;
}

.hky-next-title {
	font-size: 15px;
	font-weight: 700;
	color: var(--hky-ink);
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hky-next-cat {
	font-size: 11.5px;
	color: var(--hky-green);
}

@media (max-width: 600px) {
	.hky-next-thumb {
		flex-basis: 38%;
		min-height: 96px;
	}

	.hky-next-title {
		font-size: 13.5px;
	}
}
