/* 시술 후 주의사항 (/notice/) — 고정 헤더 아래 여유 (약관 페이지와 유사) */
.notice-page {
	max-width: 800px;
	margin: 0 auto;
	padding: 190px 24px 88px;
}

.notice-back-bar {
	margin: 0 0 16px;
	font-size: 15px;
}

.notice-back-bar a {
	color: inherit;
	text-decoration: underline;
}

/* #앵커로 열었을 때: 해당 시술 블록만 표시 */
.notice-page.notice-page--single h1.tit,
.notice-page.notice-page--single .notice-intro,
.notice-page.notice-page--single .notice-toc {
	display: none !important;
}

.notice-page.notice-page--single .notice-section {
	display: none;
	margin-top: 0;
	padding-top: 0;
	border-top: none;
}

.notice-page.notice-page--single .notice-section.is-active {
	display: block;
}

.notice-page h1.tit {
	font-size: 26px;
	font-weight: 700;
	margin: 0 0 12px;
	letter-spacing: -0.02em;
}

.notice-intro {
	font-size: 15px;
	color: #555;
	line-height: 1.6;
	margin-bottom: 28px;
}

.notice-toc-group {
	margin-bottom: 22px;
}

.notice-toc-group:last-child {
	margin-bottom: 0;
}

.notice-toc-group-title {
	font-size: 13px;
	font-weight: 700;
	color: #888;
	text-transform: none;
	letter-spacing: 0.02em;
	margin: 0 0 10px;
}

.notice-toc {
	background: #f7f7f7;
	border-radius: 12px;
	padding: 22px 22px 18px;
	margin-bottom: 40px;
}

.notice-toc-main-title {
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 18px;
	color: #111;
}

.notice-toc ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 10px;
}

.notice-toc li {
	margin: 0;
}

.notice-toc a {
	display: inline-block;
	font-size: 14px;
	color: #333;
	text-decoration: underline;
	text-underline-offset: 3px;
	padding: 4px 0;
}

.notice-toc a:hover {
	color: #000;
}

.notice-section {
	scroll-margin-top: 100px;
	padding-top: 36px;
	margin-top: 12px;
	border-top: 1px solid #e8e8e8;
}

.notice-section:first-of-type {
	border-top: none;
	padding-top: 8px;
	margin-top: 0;
}

.notice-section h2 {
	font-size: 19px;
	font-weight: 700;
	margin: 0 0 16px;
	color: #111;
	letter-spacing: -0.02em;
}

/* 본문 전체를 한 덩어리로 */
.notice-body {
	font-size: 15px;
	line-height: 1.75;
	color: #2a2a2a;
	background: #fafafa;
	border: 1px solid #ebebeb;
	border-radius: 14px;
	padding: 22px 24px 24px;
	margin: 0 0 4px;
}

.notice-body .notice-lead {
	font-size: 15px;
	line-height: 1.75;
	color: #444;
	margin: 0 0 20px;
	padding-bottom: 18px;
	border-bottom: 1px solid #e5e5e5;
}

.notice-body .notice-lead p {
	margin: 0 0 8px;
}

.notice-body .notice-lead p:last-child {
	margin-bottom: 0;
}

/* 번호 목록: 1. 2. 3. … (common.css 의 li { list-style:none } 덮어씀) */
.notice-body > ol {
	list-style: decimal;
	list-style-position: outside;
	margin: 0 0 18px;
	padding-left: 1.6em;
	font-variant-numeric: tabular-nums;
}

.notice-body > ol > li {
	list-style: inherit;
	display: list-item;
	margin: 0 0 14px;
	padding-left: 0.35em;
}

.notice-body > ol > li:last-child {
	margin-bottom: 0;
}

.notice-body > ol:last-child {
	margin-bottom: 0;
}

/* 하위 설명(필러 코/팔자 등) */
.notice-body .notice-sub {
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
}

.notice-body .notice-sub li {
	margin: 0 0 8px;
	padding-left: 1em;
	position: relative;
	font-size: 14px;
	line-height: 1.65;
	color: #555;
}

.notice-body .notice-sub li:last-child {
	margin-bottom: 0;
}

.notice-body .notice-sub li::before {
	content: '-';
	position: absolute;
	left: 0;
	color: #999;
}

.notice-body .notice-note {
	margin: 0 0 16px;
	padding-top: 16px;
	border-top: 1px solid #e5e5e5;
	font-size: 14px;
	line-height: 1.75;
	color: #444;
}

.notice-body .notice-foot {
	font-size: 14px;
	line-height: 1.7;
	color: #555;
	margin: 0;
	padding-top: 16px;
	border-top: 1px solid #e5e5e5;
}

@media (max-width: 768px) {
	.notice-page {
		padding: 100px 20px 72px;
	}

	.notice-page h1.tit {
		font-size: 22px;
	}

	.notice-section {
		scroll-margin-top: 96px;
	}

	.notice-body {
		padding: 18px 18px 20px;
		border-radius: 12px;
	}
}

@media (max-width: 480px) {
	.notice-page {
		padding-top: 120px;
	}
}
