/* ==========================================================================
   Legal Pages — 特定商取引法 / 利用規約 / プライバシーポリシー
   ==========================================================================
   ページスラッグ tokusho / terms / privacy の共通レイアウト。
   管理画面で編集されたコンテンツを読みやすい prose カードで表示する。
   ========================================================================== */

.swch-legal-page {
	padding: 48px 24px 80px;
}

.swch-legal-container {
	max-width: 820px;
	margin: 0 auto;
}

/* ==========================================================================
   Header — tech-modern gradient eyebrow + title
   ========================================================================== */

.swch-legal-header {
	text-align: center;
	padding: 24px 0 40px;
	margin-bottom: 32px;
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.swch-legal-eyebrow {
	display: inline-block;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	background: linear-gradient(90deg, #4338ca, #db2777);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin-bottom: 12px;
}

.swch-legal-title {
	font-size: 1.75rem;
	font-weight: 700;
	color: #0b1020;
	margin: 0;
	letter-spacing: -0.02em;
	line-height: 1.35;
}

/* ==========================================================================
   Content card — 本文
   ========================================================================== */

.swch-legal-content {
	background: #ffffff;
	border-radius: 14px;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 8px 24px -12px rgba(55, 48, 163, 0.08);
	padding: 48px 56px;
	color: #1f2937;
	line-height: 1.85;
	font-size: 0.9375rem;
}

.swch-legal-content > *:first-child {
	margin-top: 0;
}

.swch-legal-content > *:last-child {
	margin-bottom: 0;
}

.swch-legal-content h2 {
	font-size: 1.25rem;
	font-weight: 700;
	color: #0b1020;
	margin: 2.25em 0 0.75em;
	padding-left: 12px;
	border-left: 3px solid #4338ca;
	letter-spacing: -0.01em;
	line-height: 1.45;
}

.swch-legal-content h3 {
	font-size: 1.0625rem;
	font-weight: 700;
	color: #111a3a;
	margin: 1.75em 0 0.5em;
	line-height: 1.5;
}

.swch-legal-content p {
	margin: 0 0 1.25em;
}

.swch-legal-content ul,
.swch-legal-content ol {
	margin: 0 0 1.25em;
	padding-left: 1.5em;
}

.swch-legal-content li {
	margin-bottom: 0.4em;
}

.swch-legal-content a {
	color: #4338ca;
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: color 0.15s ease;
}

.swch-legal-content a:hover {
	color: #db2777;
}

.swch-legal-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.25em 0 1.75em;
	font-size: 0.9375rem;
	background: #ffffff;
}

.swch-legal-content table th,
.swch-legal-content table td {
	padding: 14px 18px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	vertical-align: top;
	text-align: left;
}

.swch-legal-content table th {
	background: #f8fafc;
	font-weight: 700;
	color: #0b1020;
	width: 32%;
	white-space: nowrap;
}

.swch-legal-content dl {
	margin: 0 0 1.5em;
}

.swch-legal-content dt {
	font-weight: 700;
	color: #0b1020;
	margin-top: 1em;
}

.swch-legal-content dd {
	margin: 0.25em 0 0 1em;
}

.swch-legal-content hr {
	border: 0;
	border-top: 1px solid rgba(15, 23, 42, 0.08);
	margin: 2em 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
	.swch-legal-page {
		padding: 24px 16px 56px;
	}

	.swch-legal-header {
		padding: 12px 0 28px;
		margin-bottom: 24px;
	}

	.swch-legal-title {
		font-size: 1.375rem;
	}

	.swch-legal-content {
		padding: 28px 20px;
		border-radius: 10px;
		font-size: 0.9rem;
		line-height: 1.8;
	}

	.swch-legal-content h2 {
		font-size: 1.125rem;
		margin-top: 1.75em;
	}

	.swch-legal-content h3 {
		font-size: 1rem;
	}

	.swch-legal-content table th,
	.swch-legal-content table td {
		padding: 10px 12px;
		font-size: 0.875rem;
	}

	/* テーブルを縦積みに（特商法の項目表示で特に有効） */
	.swch-legal-content table,
	.swch-legal-content thead,
	.swch-legal-content tbody,
	.swch-legal-content tr,
	.swch-legal-content th,
	.swch-legal-content td {
		display: block;
	}

	.swch-legal-content table th {
		width: 100%;
		white-space: normal;
		border-bottom: 0;
	}

	.swch-legal-content table td {
		border-top: 0;
	}
}
