/* =============================================================================
   Page: Legal (Privacy Policy / Terms of Use) — editorial monochrome
   ========================================================================== */

.tt-legal-page {
	padding-bottom: clamp(40px, 6vw, 80px);
}

/* ヘッダー (ヒーロー) 部分は components/title-hero.css に分離済み */

.tt-legal-page__body {
	font-family: "Noto Sans JP", sans-serif;
	font-size: 18px;
	line-height: 1.9;
	color: #000000;
}

.tt-legal-page__intro {
	font-size: 18px;
	color: #000000;
	margin: 0 0 clamp(32px, 5vw, 48px);
}

/* SP: 本番準拠で本文 16px */
@media (max-width: 768px) {
	.tt-legal-page__body,
	.tt-legal-page__intro {
		font-size: 16px;
	}
}

.tt-legal-article {
	padding: clamp(20px, 3vw, 28px) 0;
	border-top: 1px solid var(--tt-line);
}

.tt-legal-article:first-of-type {
	border-top: 0;
	padding-top: 0;
}

.tt-legal-article__title {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0 0 var(--space-4);
	font-family: var(--font-body);
	font-weight: 700;
	color: var(--tt-ink);
}

.tt-legal-article__number {
	font-family: var(--font-heading);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.1em;
	color: var(--tt-muted);
	text-transform: uppercase;
}

.tt-legal-article__label {
	font-size: clamp(18px, 2.2vw, 22px);
	line-height: 1.4;
	letter-spacing: 0.02em;
}

.tt-legal-article p {
	margin: 0 0 var(--space-4);
}

.tt-legal-article p:last-child {
	margin-bottom: 0;
}

.tt-legal-list {
	counter-reset: tt-legal;
	list-style: none;
	margin: var(--space-4) 0 0;
	padding: 0;
}

.tt-legal-list li {
	counter-increment: tt-legal;
	padding: 8px 0 8px 36px;
	position: relative;
}

.tt-legal-list li::before {
	content: counter(tt-legal, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 10px;
	font-family: var(--font-heading);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: var(--tt-muted);
	line-height: 1;
}

/* 項目間の hairline は削除 (セクション区切りでだけ罫線を出す) */

/* Contact dl */

.tt-legal-contact {
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: 8px clamp(16px, 3vw, 32px);
	margin: var(--space-5) 0 0;
	padding: clamp(16px, 3vw, 24px);
	background: var(--tt-bg);
	border: 1px solid var(--tt-line);
	border-radius: var(--radius-card);
}

.tt-legal-contact dt {
	font-family: var(--font-heading);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: var(--tt-muted);
	margin: 0;
	text-transform: uppercase;
	align-self: center;
}

.tt-legal-contact dd {
	margin: 0;
	font-weight: 600;
	color: var(--tt-ink);
	align-self: center;
	word-break: break-all;
}

.tt-legal-contact a,
.tt-legal-contact a:visited {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 4px;
	transition: opacity var(--dur-base) var(--ease);
}

.tt-legal-contact a:hover,
.tt-legal-contact a:focus-visible {
	opacity: 0.7;
}

.tt-legal-contact a:focus-visible {
	outline: 2px solid var(--tt-ink);
	outline-offset: 4px;
	border-radius: 2px;
}

@media (max-width: 480px) {
	.tt-legal-contact {
		grid-template-columns: 1fr;
		gap: 4px;
	}

	.tt-legal-contact dt {
		margin-top: var(--space-3);
	}

	.tt-legal-contact dt:first-of-type {
		margin-top: 0;
	}
}

.tt-legal-page__outro {
	margin: clamp(40px, 5vw, 56px) 0 0;
	text-align: right;
	font-family: var(--font-heading);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.1em;
	color: var(--tt-muted);
	text-transform: uppercase;
}

/* =============================================================================
   Terms of Use 系: 番号なしセクション (h2) + bullet list + CTA
   ========================================================================== */

.tt-legal-section {
	padding: clamp(20px, 3vw, 28px) 0;
	border-top: 1px solid var(--tt-line);
}

.tt-legal-section:first-of-type {
	border-top: 0;
	padding-top: 0;
}

.tt-legal-section__title {
	margin: 0 0 var(--space-4);
	font-family: var(--font-body);
	font-size: clamp(18px, 2.2vw, 22px);
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.4;
	color: var(--tt-ink);
}

.tt-legal-section p {
	margin: 0 0 var(--space-4);
}

.tt-legal-section p:last-child {
	margin-bottom: 0;
}

/* --- Unordered bullets ---------------------------------------------- */

.tt-legal-bullets {
	list-style: none;
	margin: var(--space-4) 0;
	padding: 0;
}

.tt-legal-bullets li {
	position: relative;
	padding: 8px 0 8px 24px;
}

.tt-legal-bullets li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 18px;
	width: 6px;
	height: 6px;
	background: var(--tt-ink);
	border-radius: 50%;
}

/* 項目間の hairline は削除 (セクション区切りでだけ罫線を出す) */

/* --- Inline link (アフターケアガイドページ等) ----------------------- */

.tt-legal-link,
.tt-legal-link:visited {
	color: var(--tt-ink);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 4px;
	transition: opacity var(--dur-base) var(--ease);
}

.tt-legal-link:hover,
.tt-legal-link:focus-visible,
.tt-legal-link:visited:hover,
.tt-legal-link:visited:focus-visible {
	opacity: 0.7;
	color: var(--tt-ink);
}

/* --- CTA wrapper (お問い合わせ先のボタン用) ------------------------ */

.tt-legal-cta-wrap {
	margin: var(--space-6) 0 0;
	text-align: center;
}

@media (max-width: 480px) {
	.tt-legal-cta-wrap .tt-btn {
		width: 100%;
	}
}
