/* ============================================================
   サイト共通の装飾 / ONP Ranking
   ・フッター前のポリシーリンク
   ・脚注・出典
   全ページで読み込まれます
   ============================================================ */

/* ---------- フッター前 ポリシーリンク ---------- */

.ono-policy-links {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0;
	width: 100%;
	margin: 40px auto 0;
	padding: 18px 20px;
	border-top: 1px solid #e5e7eb;
	background: #f8f9fa;
	font-size: 13px;
	line-height: 1.6;
}

.ono-policy-links a {
	position: relative;
	display: inline-block;
	padding: 3px 16px;
	color: #555;
	text-decoration: none;
	transition: color .2s ease, opacity .2s ease;
}

.ono-policy-links a:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 0;
	width: 1px;
	height: 12px;
	background: #d1d5db;
	transform: translateY(-50%);
}

.ono-policy-links a:hover {
	color: #111;
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media screen and (max-width: 768px) {
	.ono-policy-links {
		gap: 8px 0;
		margin-top: 30px;
		padding: 16px 12px;
		font-size: 12px;
	}
	.ono-policy-links a { padding: 2px 10px; }
}

@media screen and (max-width: 480px) {
	.ono-policy-links {
		justify-content: flex-start;
		padding: 15px 16px;
	}
	.ono-policy-links a {
		width: 50%;
		padding: 5px 8px;
	}
	.ono-policy-links a:not(:last-child)::after { display: none; }
}

/* ---------- 脚注・出典 ---------- */

.gk-refs { margin: 3.5em 0 0; }

.gk-refs__ttl {
	margin: 0 0 .8em !important;
	padding: 0 0 .5em !important;
	background: none !important;
	border: none !important;
	border-bottom: 2px solid #d4a12a !important;
	font-size: 1.35em !important;
	font-weight: 700;
	color: #333 !important;
}

.gk-refs__list {
	margin: 0;
	padding-left: 1.6em;
	font-size: .9em;
	line-height: 1.9;
}

.gk-refs__list > li {
	margin-bottom: .7em;
	scroll-margin-top: 80px;
}

.gk-refs__list a {
	color: #1a6fd4;
	word-break: break-all;
}

.gk-refs__list > li:target {
	background: #fff8e1;
	border-radius: 4px;
}

.gk-refs__back {
	margin-left: .4em;
	font-size: 1.05em;
	text-decoration: none;
}

.gk-fnref {
	font-size: .72em;
	vertical-align: super;
	line-height: 0;
}

.gk-fnref a {
	padding: 0 .1em;
	color: #1a6fd4;
	text-decoration: none;
}
