@charset "utf-8";
/* CSS Document */

/* ==================================================
   수강문의
===================================================== */
#wrap_new_counsel { margin-top: -410px !important; }
#wrap_new_counsel .counsel_close { z-index: 50 !important; }
#wrap_new_counsel h3 { position: static !important; }
.consult-container {
	width: 100%;
	max-width: 850px;
	margin: 0 auto;
	padding: 16px 0;
	background: #fff;
	border-radius: 15px;
}
/* 제목 */
.consult-form { width: 100%; }
.form-row {
	display: flex;
	align-items: center;
	width: 100%;
	margin-bottom: 24px;
}
.form-label {
	width: 200px !important;
	flex-shrink: 0;
	font-size: 20px;
	padding-left: 60px;
	font-weight: 600;
	color: #444;
	white-space: nowrap;
}
.required { color: #ff3d0b; }
.optional {
	color: #888;
	font-size: 16px;
}
.form-control,
#wrap_new_counsel #form_counsel .form-control {
	width: 529px;
	height: 46px;
	border: 1px solid #d1d1d1;
	border-radius: 5px;
	background: #fff;
	color: #444;
	font-family: inherit;
	font-size: 18px;
	text-align: center;
	outline: none;
	transition: border-color 0.2s;
	box-sizing: border-box;
}
.consult-form input[type=text].form-control,
#wrap_new_counsel #form_counsel input[type=text].form-control {
	width: 529px;
	height: 46px;
	box-sizing: border-box;
}
.consult-form input[type=tel].form-control,
#wrap_new_counsel #form_counsel input[type=tel].form-control {
	width: 0;
	min-width: 0;
	flex: 1;
	height: 46px;
	box-sizing: border-box;
}
.form-control:focus,
#wrap_new_counsel #form_counsel .form-control:focus { border-color: #ff5a1f; }
.form-control::placeholder {
	color: #999;
	opacity: 1;
}
/* 셀렉트 박스 */
select.form-control,
#wrap_new_counsel #form_counsel select.form-control {
	width: 529px;
	height: 46px;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1L7 8L13 1' fill='%23909090' stroke='%23909090' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 21px center;
	padding: 0 45px;
	box-sizing: border-box;
}
/* 전화번호 */
.phone-group {
	display: flex;
	gap: 7px;
	width: 529px;
}
.phone-prefix {
	width: 172px;
	flex-shrink: 0;
	font-size: 22px;
	color: #444;
	background-position: right 13px center !important;
	padding: 0 30px !important;
}
.phone-input {
	width: 172px;
	min-width: 0;
	flex: 1;
	font-size: 22px;
	text-align: center;
}
/* 개인정보 동의 */
.privacy-area {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 46px;
	margin-bottom: 45px;
}
.privacy-checkbox {
	width: 22px;
	height: 22px;
	border: 1px solid #aaa;
	border-radius: 3px;
	cursor: pointer;
	accent-color: #ff5a1f;
}
.privacy-label {
	width: fit-content !important;
	font-size: 17px;
	color: #444;
	cursor: pointer;
}
.privacy-button {
	height: 28px;
	padding: 0 9px;
	border: none;
	border-radius: 5px;
	background: #7b9be9;
	color: #fff;
	font-family: inherit;
	font-size: 15px;
	cursor: pointer;
}
.privacy-button:hover { background: #6487df; }
/* 상담 신청 버튼 */
.submit-area {
	display: flex;
	justify-content: center;
}
.submit-button {
	background: #ff5a00;
	display: block;
	margin: 0 auto;
	width: fit-content;
	height: 65px;
	line-height: 69px;
	border: none;
	border-radius: 15px;
	color: #fff;
	font-family: 'Gmarket_S_L';
	font-size: 34px;
	font-weight: 400;
	letter-spacing: -1px;
	cursor: pointer;
	transition: background 0.2s;
	text-align: center;
	padding: 0 50px;
}
.submit-button:hover { background: #f04c00; }
/* 상담 신청 로딩 및 완료 레이어 팝업 */
@keyframes consultSpin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}
.consult-loading-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9998;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 14px;
	background: rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
}
.consult-loading-overlay.active {
	display: flex;
}
.consult-loading-spinner {
	width: 54px;
	height: 54px;
	border: 5px solid rgba(255, 255, 255, 0.35);
	border-top-color: #ff5a00;
	border-radius: 50%;
	animation: consultSpin 0.8s linear infinite;
}
.consult-loading-text {
	color: #fff;
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.5px;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.consult-complete-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
}
.consult-complete-overlay.active {
	display: flex;
}
.consult-complete-popup {
	position: relative;
	background: #fff;
	padding: 32px 38px;
	border-radius: 14px;
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
	max-width: 92vw;
	box-sizing: border-box;
}
.consult-complete-close {
	position: absolute;
	top: 8px;
	right: 12px;
	background: none;
	border: none;
	font-size: 22px;
	color: #999;
	cursor: pointer;
	line-height: 1;
	padding: 4px;
}
.consult-complete-close:hover {
	color: #333;
}
.consult-complete-box {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 22px 34px;
	background: #fdece4;
	border-radius: 10px;
	box-sizing: border-box;
	text-align: left;
}
.consult-complete-icon {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #ff4a00;
	color: #fff;
	font-size: 23px;
	font-weight: 800;
	font-family: Arial, sans-serif;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	line-height: 1;
}
.consult-complete-text {
	flex: 1;
	text-align: left;
}
.consult-complete-text .complete-title,
.consult-complete-text .complete-desc {
	font-size: 16.5px;
	font-weight: 700;
	color: #222;
	line-height: 1.48;
	letter-spacing: -0.5px;
}
.consult-complete-text .complete-highlight {
	color: #ff4a00;
	font-weight: 800;
}
.consult-complete-text .complete-time {
	margin-top: 5px;
	font-size: 14px;
	font-weight: 500;
	color: #666;
	line-height: 1.4;
}
/* 개인정보 모달 */
.modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 1000;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(0, 0, 0, 0.45);
}
.modal.active { display: flex; }
.modal-content {
	width: 100%;
	max-width: 500px;
	padding: 30px;
	border-radius: 10px;
	background: #fff;
}
.modal-title {
	margin-bottom: 20px;
	font-size: 22px;
	font-weight: 700;
}
.modal-text {
	font-size: 15px;
	line-height: 1.8;
	color: #555;
}
.modal-close {
	display: block;
	width: 100%;
	height: 45px;
	margin-top: 25px;
	border: none;
	border-radius: 5px;
	background: #ff5a00;
	color: #fff;
	font-size: 16px;
	cursor: pointer;
}

    /* 반응형 */
    @media (max-width: 768px) {
.consult-container {
	min-height: 100vh;
	padding: 35px 20px;
}
.consult-title {
	margin-bottom: 40px;
	font-size: 28px;
}
.form-row {
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
	margin-bottom: 24px;
}
.form-label {
	width: 100%;
	padding-left: 0;
	font-size: 17px;
}
.form-control {
	width: 100%;
	height: 46px;
}
.phone-group {
	width: 100%;
	gap: 5px;
}
.phone-prefix {
	width: 27%;
	padding: 0 15px !important;
}
.phone-input {
	width: 0;
	flex: 1;
}
.privacy-area {
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 40px;
	margin-bottom: 40px;
}
.privacy-label { font-size: 14px; }
.submit-button {
	width: 100%;
	max-width: 475px;
	height: 65px;
	font-size: 27px;
	border-radius: 12px;
}
}
.submit-button span { margin-left: 20px; }
#ctn_consult .submit-button { background: #ff5a00; }
#ctn_consult .submit-button:hover { background: #f04c00; }
#pop_agree {
	position: absolute;
	top: 10%;
	left: 50%;
	margin-left: -320px;
	border: 5px solid #4f4f4f;
	border-radius: 15px;
	width: 580px;
	height: 350px;
	padding: 0 30px;
	box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.09);
	background: #fff;
	z-index: 2;
	display: none;
}
