/**
 * JS CONSULTING privacy policy page — structural styles.
 * Enqueued only on the "privacy-policy" page (see functions.php), mirroring
 * how contact-page.css is scoped to is_page('contact'). Independent of
 * contact-page.css: no class names or selectors are shared with it, so
 * editing this file can never affect the contact page.
 *
 * .jsc-section-inner is intentionally redefined here for the same reason
 * contact-page.css redefines it: front-top.css / contact-page.css only load
 * on their own pages. Colors and fonts all come from tokens.css custom
 * properties; no hex values are introduced here.
 *
 * Intent: quiet, legible, "law document" — no cards, no heavy borders, no
 * large color blocks. Navy for headings, gold used only as a small accent,
 * generous line-height, thin dividers between chapters.
 */

.jsc-section-inner {
	max-width: var(--jsc-maxw);
	margin: 0 auto;
	padding: 0 24px;
}

/* ---------- HERO ---------- */
.jsc-legal-hero {
	background: var(--jsc-cream);
	border-bottom: 1px solid var(--jsc-gray-line);
	padding: 56px 0 40px;
	text-align: center;
}
.jsc-legal-hero-inner {
	max-width: 700px;
	margin: 0 auto;
}
.jsc-legal-hero .jsc-eyebrow {
	justify-content: center;
}
.jsc-legal-hero-heading {
	font-family: var(--jsc-font-heading);
	font-weight: 800;
	font-size: 32px;
	line-height: 1.5;
	color: var(--jsc-navy);
	margin: 0;
}

/* ---------- Body ---------- */
.jsc-legal-body-section {
	padding: 88px 0 104px;
}
.jsc-legal-body {
	max-width: 820px;
	margin: 0 auto;
	overflow-wrap: break-word;
}

.jsc-legal-intro {
	font-size: 15.5px;
	line-height: 1.9;
	color: var(--jsc-text-body);
	margin: 0 0 56px;
	padding-bottom: 40px;
	border-bottom: 1px solid var(--jsc-gray-line);
}

.jsc-legal-section {
	padding: 32px 0;
	border-top: 1px solid var(--jsc-gray-line);
}
.jsc-legal-section:first-of-type {
	border-top: none;
	padding-top: 0;
}

.jsc-legal-h {
	position: relative;
	font-family: var(--jsc-font-body);
	font-weight: 700;
	font-size: 21px;
	line-height: 1.6;
	color: var(--jsc-navy);
	margin: 0 0 18px;
	padding-left: 16px;
}
/* Small gold accent mark, purely decorative: does not alter the heading
   text itself (chapter numbering stays exactly as written in the source
   copy, e.g. "1．取得する個人情報"). */
.jsc-legal-h::before {
	content: "";
	position: absolute;
	left: 0;
	top: .3em;
	width: 4px;
	height: 1em;
	background: var(--jsc-gold);
	border-radius: 1px;
}

.jsc-legal-section p {
	font-size: 15.5px;
	line-height: 1.85;
	color: var(--jsc-text-body);
	margin: 0 0 16px;
}
.jsc-legal-section p:last-child {
	margin-bottom: 0;
}

.jsc-legal-list {
	margin: 0 0 16px;
	padding-left: 4px;
	list-style: none;
}
.jsc-legal-list:last-child {
	margin-bottom: 0;
}
.jsc-legal-list li {
	position: relative;
	padding-left: 20px;
	font-size: 15.5px;
	line-height: 1.85;
	color: var(--jsc-text-body);
}
.jsc-legal-list li + li {
	margin-top: 6px;
}
.jsc-legal-list li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: .78em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--jsc-gold);
}

.jsc-legal-contact {
	margin-top: 4px;
}
.jsc-legal-org {
	font-weight: 600;
}

.jsc-legal-date {
	margin: 48px 0 0;
	padding-top: 32px;
	border-top: 1px solid var(--jsc-gray-line);
	text-align: right;
	font-size: 14px;
	color: var(--jsc-text-muted);
}

/* ---------- Responsive: mobile ---------- */
@media (max-width: 760px) {
	.jsc-section-inner { padding: 0 16px; }

	.jsc-legal-hero { padding: 28px 0 20px; }
	.jsc-legal-hero .jsc-eyebrow { margin-bottom: 12px; }
	.jsc-legal-hero-heading { font-size: 23px; line-height: 1.5; }

	.jsc-legal-body-section { padding: 40px 0 56px; }

	.jsc-legal-intro {
		font-size: 14.5px;
		line-height: 1.8;
		margin-bottom: 32px;
		padding-bottom: 24px;
	}

	.jsc-legal-section { padding: 24px 0; }

	.jsc-legal-h { font-size: 18px; margin-bottom: 12px; }

	.jsc-legal-section p,
	.jsc-legal-list li {
		font-size: 14.5px;
		line-height: 1.75;
	}

	.jsc-legal-date {
		margin-top: 32px;
		padding-top: 24px;
		text-align: left;
	}
}
