﻿/* ▼▼▼▼▼ 초기화 ▼▼▼▼▼ */
body {
	margin: 0;
	padding: 0;
}
/* 전체 영역 초기화 */
.survey_wrap {
	width: 100%;
	min-width: 300px;
	max-width: 800px;
	margin: 0 auto;
	height: 100vh;
}
html {
	scroll-behavior: smooth;
	background-color: #FAF9FF;
}


/* ▼▼▼▼▼ 견적, 원장님 정보 공개 ▼▼▼▼▼ */
.form_section {
	width: 100%;
	margin: 0 auto;
	text-align: center;
	background: #08012A; /* 예시용 배경 */
	padding-bottom: 40px;
}

.form_top_img {
	width: 100%;
	height: auto;
	margin-bottom: 20px;
}

.input_field {
	width: 86%;
	padding: 14px 16px;
	margin: 0 auto 15px;
	font-size: 16px;
	line-height: 1.4;
	border: 3px solid #d2d2d2;
	border-radius: 10px;
	box-sizing: border-box;
	display: block;
}

input.input_field {
	height: 52px;
}

select.input_field {
	height: 52px;
	padding-right: 40px; /* ▼ 여유 공간 확보 (화살표 때문에) */
}

	.input_field:focus {
		outline: none;
		border: 3px solid #592ad0;
		transition: .3s;
	}

	/* 유효하지 않은 경우 (숫자 외 입력 시) */
	.input_field.invalid {
		border: 3px solid red !important;
	}


.checkbox_area {
	width: 86%;
	margin: 0 auto;
	margin-bottom: 20px;
	color: #fff;
	font-size: 14px;
	text-align: left;
}

	.checkbox_area label {
		display: flex;
		align-items: center;
		gap: 8px;
	}

	.checkbox_area input[type="checkbox"] {
		display: none;
	}

	.checkbox_area img {
		width: 20px;
		height: 20px;
	}

.submit_btn {
	width: 86%;
	margin: 10px auto;
	padding: 16px;
	background: #503AB6;
	color: #fff;
	font-size: 18px;
	border: none;
	border-radius: 12px;
	font-weight: bold;
	cursor: pointer;
}

	.submit_btn i {
		color: #fff;
		font-size: 18px;
	}

/* ▼▼▼▼▼ 원더체인지 ▼▼▼▼▼ */
.section_two {
	position: relative;
	width: 100%;
	text-align: center;
}

.section_bg img {
	width: 100%;
	display: block;
}

/* 보라색 반투명 라운드 */
/*.nav_container {*/
/*background: rgba(97, 77, 188, 0.85); /* #614DBC + 투명도 */
/*width: 90%;*/
/*margin: -140px auto 0;*/
/*padding: 14px;*/
/*border-radius: 30px;*/
/*position: relative;*/
/*box-sizing: border-box;*/
/*z-index: 2;*/
/*transition: all 0.3s ease;*/
/*box-shadow: 0 0 12px 4px rgb(0 0 0 / 20%);*/
/*}*/

/*.nav_container.fixed {*/
/*position: fixed;*/
/*bottom: 0;*/
/*width: 90%;*/
/*max-width: 800px;*/
/*left: 50%;*/
/*transform: translateX(-50%);*/
/*z-index: 5;*/

/*transition: opacity 1s ease;*/
/*opacity: 1;*/
/*}*/
/*.nav_container.fixed.hidden {*/
/*opacity: 0;*/
/*}*/

/*.nav_top_text {*/
/*color: #fff;*/
/*font-size: 18px;*/
/*font-weight: 500;*/
/*margin: 0 0 10px 0;*/
/*}*/


/* 검정 네비 라운드 안에 버튼들 */
/*.nav_button_wrap {*/
/*background: #000;*/
/*border-radius: 999px;*/
/*display: flex;*/
/*justify-content: space-around;*/
/*align-items: center;*/
/*padding: 12px 5px;*/
/*gap: 6px;*/
/*flex-wrap: nowrap; /* 줄바꿈 금지 */
/*}*/

/*.nav_btn {*/
/*display: inline-block;*/
/*text-decoration: none;*/
/*color: #fff;*/
/*font-size: 11px;*/
/*text-align: center;*/
/*padding: 0;*/
/*border-radius: 999px;*/
/*background: transparent;*/
/*white-space: nowrap;*/
/*line-height: 1.4;*/
/*cursor: pointer;*/
/*display: inline-block;*/
/*}*/

/*.nav_btn.apply {*/
/*color: #fff608;*/
/*font-weight: 700;*/
/*}*/
/*.apply.active {*/
/*background: #FAF9FF;*/
/*color:#000;*/
/*}*/


/* ✅ active일 때만 완전한 흰 원 버튼 */
/*.nav_btn.active {*/
/*width: 60px;*/
/*height: 60px;*/
/*background: #fff;*/
/*color: #000;*/
/*border-radius: 50%;*/
/*padding: 0;*/
/*font-size: 11px;*/
/*font-weight: 700;*/
/*line-height: 1.3;*/
/*display: flex;*/
/*justify-content: center;*/
/*align-items: center;*/
/*}*/



/* ▼▼▼▼▼ 30일간 변화과정 ▼▼▼▼▼ */
.section_three {
	background-color: #FAF9FF;
	padding: 0 0 40px 0;
	text-align: center;
}

/*.section_img {*/
/*width: 100%;*/
/*max-width: 800px;*/
/*display: block;*/
/*}*/


.day_btn_wrap {
	display: flex;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 20px;
}

.day_btn {
	border: 1px solid #614DBC;
	color: #614DBC;
	background: #fff;
	padding: 6px 12px;
	border-radius: 30px;
	font-size: 14px;
	cursor: pointer;
	transition: 0.2s;
}

	.day_btn.active {
		background: #614DBC;
		color: #fff;
	}

.swipe_area {
	display: flex;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 10px;
	cursor: grab;
}

	.swipe_area.dragging {
		cursor: grabbing;
	}

	.swipe_area::-webkit-scrollbar {
		height: 6px;
	}

	.swipe_area::-webkit-scrollbar-track {
		background: #fff;
		border-radius: 999px;
	}

	.swipe_area::-webkit-scrollbar-thumb {
		background: #614DBC;
		border-radius: 999px;
	}

.swipe_inner {
	display: flex;
	gap: 10px;
	width: max-content;
	padding: 10px;
}

.swipe_img {
	width: calc((100% - 10px) / 2); /* ✅ 2개 보이게 */
	border-radius: 10px;
	flex-shrink: 0;
	object-fit: cover;
	margin-right: 12px; /* 원하는 여백 값 */
}

.swipe_scroll_hint {
	margin-top: 15px;
	padding-right: 10px;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 4px;
	font-size: 11px;
	color: #bbb;
}

	.swipe_scroll_hint img {
		width: 16px;
		height: auto;
	}




/* ▼▼▼▼▼ 흉터 회복과정 ▼▼▼▼▼ */
/* ✅ 4영역 배경색 */
.section_four {
	background-color: #fff;
	padding: 0 20px;
	text-align: center;
}

/* ✅ 버튼 */
.day_btn_wrap_sec4 {
	display: flex;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 20px;
}

.day_btn_sec4 {
	border: 1px solid #614DBC;
	color: #614DBC;
	background: #fff;
	padding: 6px 12px;
	border-radius: 30px;
	font-size: 14px;
	cursor: pointer;
	transition: 0.2s;
}

	.day_btn_sec4.active {
		background: #614DBC;
		color: #fff;
	}

/* ✅ 슬라이드 */
.swipe_area_sec4 {
	display: flex;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 10px;
	cursor: grab;
}

	.swipe_area_sec4::-webkit-scrollbar {
		height: 6px;
	}

	.swipe_area_sec4::-webkit-scrollbar-track {
		background: #faf9ff;
		border-radius: 999px;
	}

	.swipe_area_sec4::-webkit-scrollbar-thumb {
		background: #614DBC;
		border-radius: 999px;
	}

.swipe_inner {
	display: flex;
	gap: 10px;
	width: max-content;
	padding: 10px;
}

.swipe_img_sec4 {
	width: calc((100% - 10px) / 2); /* ✅ 2개 보이게 */
	border-radius: 10px;
	flex-shrink: 0;
	margin-right: 12px; /* 원하는 여백 값 */
}

/* ✅ scroll 힌트 (공용 사용 가능) */
.swipe_scroll_hint {
	margin-top: 4px;
	padding-right: 10px;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 4px;
	font-size: 11px;
	color: #bbb;
}

	.swipe_scroll_hint img {
		width: 16px;
		height: auto;
	}

.swipe_img.small {
	width: 160px; /* 기존 240px의 2/3 */
}

/* ▼▼▼▼▼ 리얼 후기 ▼▼▼▼▼ */
.section_five {
	padding: 0 20px 40px 20px;
	text-align: center;
	background-color: #F9F9F9;
}



/* 쇼츠 */
.section_img2 {
	width: 100%;
	max-width: 800px;
	display: block;
	margin: 0 auto;
}

.shorts_embed_wrap {
	margin-top: 20px;
	display: flex;
	justify-content: center;
}

.shorts_iframe {
	border-radius: 20px; /* ✅ 라운드 처리 */
	overflow: hidden;
}


.section_six {
	background-color: #fff;
	padding: 0 0 40px 0;
	text-align: center;
}


/* ▼▼▼▼▼ 수술 플랜 ▼▼▼▼▼ */
.section_sec5 {
	background-color: #FAF9FF;
	padding: 0 20px 40px 20px;
	text-align: center;
}




.section_black {
	background-color: #000;
	padding: 30px 20px;
	text-align: center;
}

.img_row {
	display: flex;
	justify-content: center;
	gap: 10px; /* 이미지 간 간격 */
	flex-wrap: wrap; /* 모바일에서 줄바꿈 허용 */
}

.half_img {
	width: calc(50% - 5px); /* 2개 합쳐도 100% */
	max-width: 400px;
	object-fit: cover;
}



/* ▼▼▼▼▼ 팝업 영역 ▼▼▼▼▼ */
.event-layer-popup {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 9999;
}

.popup-img {
	width: 80vw;
	max-width: 400px;
	height: auto;
	display: block;
}

.popup-close-btn {
	position: absolute;
	left: 50%;
	bottom: 40px;
	transform: translateX(-50%);
	cursor: pointer;
	width: 50%;
	max-width: 200px;
}

.event-layer-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.5);
	z-index: 9998;
	display: none;
}

.nav_container.hidden {
	opacity: 0;
	pointer-events: none; /* 클릭 차단 */
	transition: opacity 1s ease;
}




select {
	color: #999;
}

	select option {
		color: #000; /* 실제로 선택되었을 때는 진한 글씨로 보이게 */
	}

	select:invalid {
		color: #999; /* placeholder처럼 보여야 하는 기본 option일 때 */
	}

	select:valid {
		color: #000; /* 실제 옵션 선택 시 진한 색 */
	}


