/* MuchuBox Legal Pages - Shared styles */
:root {
	--bg: #0b0814;
	--surface: #15111f;
	--ink: #f4f4f6;
	--muted: rgba(244, 244, 246, 0.62);
	--accent: #a78bfa;
	--border: rgba(255, 255, 255, 0.08);
	--max: 720px;
}

* {
	box-sizing: border-box;
}

html, body {
	margin: 0;
	padding: 0;
}

body {
	background: linear-gradient(180deg, #1b1530 0%, var(--bg) 100%);
	color: var(--ink);
	font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans",
		"Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.75;
	min-height: 100vh;
	-webkit-font-smoothing: antialiased;
}

.container {
	max-width: var(--max);
	margin: 0 auto;
	padding: 48px 24px 96px;
}

header.site {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 32px;
	border-bottom: 1px solid var(--border);
	margin-bottom: 32px;
}

header.site .brand {
	font-weight: 800;
	font-size: 18px;
	color: var(--ink);
	text-decoration: none;
}

header.site nav a {
	color: var(--muted);
	margin-left: 16px;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
}

header.site nav a:hover {
	color: var(--accent);
}

h1 {
	font-size: 32px;
	font-weight: 800;
	letter-spacing: -0.5px;
	margin: 0 0 8px;
	line-height: 1.25;
}

h2 {
	font-size: 20px;
	font-weight: 700;
	margin: 40px 0 12px;
	color: var(--ink);
}

p, li {
	color: var(--ink);
	margin: 0 0 12px;
}

ol, ul {
	padding-left: 1.4em;
}

.lead {
	color: var(--muted);
	font-size: 16px;
	margin: 0 0 12px;
}

.meta {
	color: var(--muted);
	font-size: 13px;
	margin: 4px 0 32px;
}

a {
	color: var(--accent);
}

.card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 20px 24px;
	margin: 12px 0;
}

.contact-note {
	color: var(--muted);
	font-size: 14px;
}

footer.site {
	margin-top: 64px;
	padding-top: 24px;
	border-top: 1px solid var(--border);
	color: var(--muted);
	font-size: 13px;
	text-align: center;
}

/* スマホ対応 */
@media (max-width: 600px) {
	.container {
		padding: 32px 16px 72px;
	}

	header.site {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
		padding-bottom: 24px;
		margin-bottom: 24px;
	}

	header.site nav {
		display: flex;
		flex-wrap: wrap;
		gap: 16px;
	}

	header.site nav a {
		margin-left: 0;
	}

	h1 {
		font-size: 26px;
	}

	h2 {
		font-size: 18px;
		margin: 32px 0 10px;
	}

	.card {
		padding: 16px 18px;
	}
}
