@charset "utf-8";
/* ============================================================================
 * h8-overlay.css — 이 산출물의 **유일한 신규 저작 CSS**(R5 v1)
 *
 * 원본 CSS(css/ 의 나머지 전부)는 반입 그대로 두고 수정하지 않는다.
 * 보정이 필요하면 여기서 캐스케이드로 이긴다. head 정본(partials/head.html)이
 * 이 파일을 **항상 마지막**에 링크하므로 순서는 보장된다.
 *
 * 들어오는 것: 반응형 보강 · 원본 제외분(fullPage.js 등) 재구현 스타일 ·
 *              스크롤 헤더 상태 CSS(R12②) · skip-nav 표준(R23) · 깨진 규칙 무력화
 * 들어오지 않는 것: 원본이 이미 하고 있는 것(재저작 금지)
 * ========================================================================== */

/* --- R23 skip-nav 표준 (원본 헤더에 skip-nav 부재 → 표준 삽입) --------------- */
.skip-nav {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100000;
	padding: 10px 16px;
	background: #84c4e2;
	color: #fff;
	font-size: 14px;
	line-height: 1.4;
	text-decoration: none;
}
.skip-nav:focus {
	left: 0;
	outline: 2px solid #1b6a8c;
}

html:not(.sticky-header-enabled) #header.is-scrolled .header-body {
	position: fixed;
	top: 0;
	z-index: 1001;
	background: rgb(255, 255, 255);
	color: rgba(0, 0, 0, 0.5);
}
html:not(.sticky-header-enabled) #header.is-scrolled .header-body a {
	color: rgb(132, 196, 226);
}

/* --- 헤더 자리높이(min-height) — 뷰포트별 실측 복원 --------------------------
 * 원본 #header 는 인라인 style="min-height:…" 을 갖는다. 그 값은 서버 마크업이
 * 아니라 theme.js sticky 플러그인이 초기화 때 헤더 실높이를 재서 넣는 것이다
 * (theme.js: `self.options.wrapper.css('min-height', self.options.wrapper.height())`).
 * 고정헤더로 전환될 때 문서가 그만큼 튀지 않게 자리를 잡아두는 용도다.
 *
 * 스캐폴드는 이 런타임 값을 partials/header.html 에 211px 로 **박아** 두었고,
 * 그 탓에 모바일에서 헤더 실높이(114.34px)보다 97px 큰 흰 여백이 전 페이지에
 * 생겼다(정답샷 대비 +74~97px — 병렬 빌드 11개 유닛이 공통 보고).
 * 인라인을 걷어내 theme.js 가 뷰포트별로 재게 했고(모바일 해소), 태블릿은
 * 아래 규칙으로 정답샷 실측치를 되돌린다.
 *
 * 실측 근거(_shots 대비 문서높이, snap.py):
 *   m(390)  자연높이 = 정답 (about -22 / doctors 0 / bruxism -22 …, -22 는 전 페이지 공통 오프셋)
 *   t(768)  원본은 211 을 예약한다 — 자연높이로 두면 약 -96px 짧아진다
 *           (about -118 / doctors -96 / bruxism -119 / veneer -118 / bfaf -119)
 *   d(1440) 자연높이가 곧 211 이라 규칙 유무와 무관하다
 * theme.js 가 인라인으로 쓰는 값을 이겨야 하므로 !important 다(오버레이 전용 예외).
 * 경계 768px 는 원본이 쓰는 부트스트랩3 sm 브레이크포인트와 같다.
 * ------------------------------------------------------------------------- */
@media (min-width: 768px) {
	#header {
		min-height: 211px !important;
	}
}

/* --- .etxt — R1 v2(MIXED-INLINE/BARE-TEXT) 수선용 텍스트 조각 래퍼 -------------
 * 빌더 HTML 에디터는 편집 커밋을 "요소 textContent 통째 plaintext 교체"로 하므로
 * (aibuilder-builder htmlEditorScript.ts → editTextByHid → set_content(escapeHtml)),
 * 한 컨테이너 안에 맨몸 텍스트와 <strong>/<span>/<a>/<img> 가 섞여 있으면 그 컨테이너를
 * 편집하는 순간 내부 마크업이 통째로 소실된다(규약 R1 v2 · htmledit_audit MIXED-INLINE).
 * 그래서 맨몸 텍스트 런만 <span class="etxt"> 로 감쌌다 — 텍스트·공백·순서는 1바이트도
 * 바꾸지 않았고, 원본 요소(클래스/구조)에도 손대지 않았다.
 *
 * 이 래퍼는 "원래 텍스트 노드였던 것"이라 렌더에 어떤 영향도 주면 안 된다.
 * 그런데 원본 CSS 에는 조상 컨텍스트의 span 을 직접 겨냥하는 규칙들이 있다 — 실측 2종:
 *   sub.css `.t_list > li > span{position:absolute;left:0}`            (목록 앞머리 기호)
 *   sub.css `.loc_list .bus_lc span{position:absolute;background:#9f0b1c;…}` (버스 배지)
 * 첫 시도(`.etxt.etxt` = 특정도 0,2,0)는 후자(0,2,1)에 져서 오시는길 버스 노선번호가
 * 전부 빨간 배지로 겹쳐 무너졌다(m 뷰포트 -257px 실측). 특정도 경쟁은 원본 CSS 를 다
 * 훑어야 안전을 보장할 수 없으므로, 래퍼는 `all: unset` + !important 로 못을 박는다:
 * 상속 프로퍼티는 부모값(= 텍스트 노드와 동일), 나머지는 초기값이 되어 어떤 원본 규칙도
 * 이 래퍼에 닿지 못한다. 대상이 우리가 만든 클래스뿐이라 원본 요소에는 영향이 없다.
 * (!important 는 이 파일의 #header min-height 와 같은 오버레이 전용 예외 — 원본 CSS 파일은
 *  그대로 두고 캐스케이드 밖에서만 이긴다.)
 * 아래 롱핸드는 `all` 미지원 구형 브라우저용 폴백이며 값은 unset 결과와 같다.
 * ------------------------------------------------------------------------- */
.etxt {
	all: unset !important;
	display: inline !important;
	position: static !important;
	float: none !important;
	top: auto !important;
	right: auto !important;
	bottom: auto !important;
	left: auto !important;
	width: auto !important;
	height: auto !important;
	min-width: 0 !important;
	min-height: 0 !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
	transform: none !important;
	vertical-align: baseline !important;
	font: inherit !important;
	color: inherit !important;
	letter-spacing: inherit !important;
	text-transform: inherit !important;
	text-decoration: inherit !important;
	text-shadow: none !important;
	white-space: inherit !important;
	word-break: inherit !important;
	line-height: inherit !important;
	visibility: inherit !important;
	opacity: 1 !important;
}
.etxt::before,
.etxt::after {
	content: none !important;
}

/* section4 flex 자식 폭 — 원본 default.css 의 `widows:100%` 오타 보정 */
#section4 #msec05,
#section4 #footer {
	width: 100%;
}

/* 섹션 네비 — 원본 fullpage.css #fp-nav 규격 계승(점 4px, 활성 12px) */
.snap-nav {
	position: fixed;
	top: 50%;
	margin: -32px 0 0;
	padding: 0;
	z-index: 100;
	list-style: none;
}
.snap-nav-right {
	right: 17px;
}
.snap-nav li {
	display: block;
	position: relative;
	width: 14px;
	height: 13px;
	margin: 7px;
}
.snap-nav li a {
	display: block;
	position: absolute;
	left: 50%;
	top: 50%;
	width: 4px;
	height: 4px;
	margin: -2px 0 0 -2px;
	border-radius: 50%;
	background: #a49e9a;
	cursor: pointer;
	text-decoration: none;
	transition: all 0.1s ease-in-out;
}
.snap-nav li:hover a {
	width: 10px;
	height: 10px;
	margin: -5px 0 0 -5px;
}
.snap-nav li a.active,
.snap-nav li:hover a.active {
	width: 12px;
	height: 12px;
	margin: -6px 0 0 -6px;
	background: #9e6c03;
}

html.home-sections a.scroll-to-top {
	display: none !important;
}

/* 섹션 레이아웃 — 원본 fullpage.css 의 .fp-section.fp-table / .fp-tableCell 계약 */
html.snap-scroll-enabled #fullpage > .section {
	display: table;
	table-layout: fixed;
	width: 100%;
	min-height: 100vh;
}
html.snap-scroll-enabled #fullpage > .section > .snap-cell {
	display: table-cell;
	vertical-align: middle;
	width: 100%;
	height: 100%;
}

html.snap-scroll-enabled {
	scrollbar-width: none;
}
html.snap-scroll-enabled::-webkit-scrollbar {
	width: 0;
	height: 0;
	display: none;
}


.quick-mobile {
	display: none;
}
.quick-mobile img {
	width: 100%;
	height: auto;
	display: block;
}
@media (max-width: 1199px) {
	.quick-mobile {
		display: block;
	}
}

.msec04-mobile {
	display: none;
}
#msec04m .r_box {
	min-height: 350px;
	position: relative;
	padding-top: 50px;
	width: 100%;
}
#msec04m .r_box .num {
	font-size: 60px;
}
#msec04m .r_box .num:after {
	width: 50px;
}
#msec04m .bg1 {
	background: url(/uploads/mig_site/img/tab1_bg.jpg) right center no-repeat;
	background-size: cover;
}
#msec04m .bg2 {
	background: url(/uploads/mig_site/img/tab2_bg.jpg) center center no-repeat;
	background-size: cover;
}
#msec04m .bg3 {
	background: url(/uploads/mig_site/img/tab3_bg.jpg) center center no-repeat;
	background-size: cover;
}
#msec04m .bg4 {
	background: url(/uploads/mig_site/img/tab4_bg.jpg) center center no-repeat;
	background-size: cover;
}
#msec04m .bg5 {
	background: url(/uploads/mig_site/img/tab5_bg.jpg) center center no-repeat;
	background-size: cover;
}
@media (max-width: 1199px) {
	.msec04-mobile {
		display: block;
	}
	#section3 #msec04 {
		display: none;
	}
}

#msec04m .bg1,
#msec04m .bg2,
#msec04m .bg3,
#msec04m .bg4,
#msec04m .bg5 {
	min-height: 350px;
}


.body-member {
	background-attachment: fixed;
}

.body-member .panel-sign .panel-body .text-white {
	color: #333;
}



[data-bfaf-list-root]:not(.bfaf-guest) .block {
	display: none;
}


[data-bfaf-thumb-top],
[data-bfaf-thumb-bottom] {
	width: 100%;
	aspect-ratio: 600 / 261;
	object-fit: cover;
}
[data-bfaf-thumb] {
	width: 100%;
	aspect-ratio: 366 / 154;
	object-fit: cover;
}

/* --- 편집 단위 감싸기(span.ahb-txt) ------------------------------------------
 * <br>·아이콘·입력칸과 섞인 맨 텍스트를 span.ahb-txt 로 감쌌다(R1 — 빌더는 요소 자식이
 * 있는 텍스트 요소를 통째로 못 연다). 새 span 은 맨 텍스트처럼 인라인이어야 한다.
 * 원본 모바일 `#online_write .aree_wrp span{display:block}` 이 동의 라벨 안 새 span 을
 * 잡아 "동의함" 이 라디오 아래로 떨어지므로 그 자리만 되돌린다. */
#online_write .aree_wrp label span.ahb-txt {
	display: inline;
}
/* 라미네이트 FAQ 질문(`<a><span><img></span> 질문</a>`)의 원본 `.acdi … .qst a span` 은 번호 아이콘
 * 원(30px·absolute·배경)이다 — 질문 글자를 감싼 새 span 은 그 원이 아니므로 맨 텍스트로 되돌린다. */
.acdi ul li .qst a span.ahb-txt.ahb-txt {
	display: inline;
	position: static;
	width: auto;
	height: auto;
	margin: 0;
	border-radius: 0;
	background-color: transparent;
	color: inherit;
}
