/* =========================================================
 * page-privacy-policy.css
 * 「プライバシーポリシー」固定ページテンプレート専用CSS。
 * page-privacy-policy.php が使用されているページでのみ読み込まれる
 * （functions.php: tks_enqueue_legal_page_assets）。
 * 色・フォント等のトークンは base.css の CSS変数を利用する。
 * ========================================================= */

.tks-legal-page {
	background: var(--tks-surface);
	padding: 48px 0 var(--tks-section-gap);
}

.tks-legal-container {
	max-width: var(--tks-text-max-width);
}

.tks-legal-article {
	background: var(--tks-surface-container-lowest, var(--tks-surface-white));
	border: 1px solid var(--tks-border-subtle);
	border-radius: var(--tks-radius-lg);
	padding: 48px;
	font-family: var(--tks-font-body);
	color: var(--tks-on-surface);
}

.tks-legal-title {
	font-family: var(--tks-font-heading);
	font-size: 32px;
	font-weight: 700;
	margin: 0 0 8px;
	padding-bottom: 20px;
	border-bottom: 2px solid var(--tks-primary);
}

.tks-legal-lead {
	font-size: 15px;
	line-height: 1.9;
	color: var(--tks-on-surface-variant);
	margin: 20px 0;
}

.tks-legal-section {
	margin-top: 40px;
	padding-top: 32px;
	border-top: 1px solid var(--tks-border-subtle);
}
.tks-legal-section:first-of-type {
	margin-top: 32px;
}

.tks-legal-section h2 {
	font-family: var(--tks-font-heading);
	font-size: 18px;
	font-weight: 600;
	margin: 0 0 16px;
	display: flex;
	align-items: center;
	gap: 10px;
}
.tks-legal-section h2::before {
	content: '';
	width: 4px;
	height: 18px;
	background: var(--tks-primary);
	border-radius: 2px;
	display: inline-block;
}

.tks-legal-section p {
	font-size: 15px;
	line-height: 1.95;
	color: var(--tks-on-surface-variant);
	margin: 0 0 14px;
}
.tks-legal-section p:last-child {
	margin-bottom: 0;
}

.tks-legal-section ul {
	margin: 0 0 14px;
	padding-left: 0;
	list-style: none;
}
.tks-legal-section ul li {
	position: relative;
	padding-left: 20px;
	font-size: 15px;
	line-height: 1.9;
	color: var(--tks-on-surface-variant);
	margin-bottom: 8px;
}
.tks-legal-section ul li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 10px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--tks-primary);
}

.tks-legal-section a {
	color: var(--tks-primary);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.tks-legal-section a:hover {
	color: var(--tks-on-surface);
}

.tks-legal-dates {
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid var(--tks-border-subtle);
	font-size: 13px;
	color: var(--tks-text-sub);
	text-align: right;
	line-height: 1.8;
}

@media (max-width: 782px) {
	.tks-legal-article {
		padding: 28px 20px;
	}
	.tks-legal-title {
		font-size: 24px;
	}
}
