@charset "UTF-8";

/* ==================================================== */
/* 아이백의원 - 이벤트 랜딩페이지 (통이미지 + 폼)           */
/* 시안 폭 900px → max-width 720px 중앙정렬                */
/* 상단/하단 통이미지(jpg) + 중간 상담신청 폼만 퍼블리싱      */
/* 포인트: 퍼플 #922ad8                                    */
/* ==================================================== */

.ibaek-landing {
	--lp-purple: #922ad8;
	--lp-gray: #808285;
	--lp-red: #ff5757;

	width: 100%;
	max-width: 720px;
	margin: 0 auto;
	background: var(--white, #fff);
	overflow-x: hidden;
	font-family: 'Pretendard', 'Pretendard', sans-serif;
	color: var(--black-02, #252525);
	box-sizing: border-box;
}

.ibaek-landing * { box-sizing: border-box; }

/* 통이미지 — 폭 100%, 위아래 빈틈 없이 */
.lp-img {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: top;
}

/* ==================== */
/* 상담신청 폼            */
/* ==================== */
.lp-apply {
	background: #faf7f2;   /* 시안: 폼 영역 아이보리 배경 */
	padding: 64px 40px 72px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 48px;
}

.lp-apply-head {
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.lp-apply-title {
	font-size: 44px;
	font-weight: 800;
	color: var(--brown-02, #443a35);   /* 시안: 어두운 브라운 제목 */
	line-height: 1;
}

.lp-apply-sub {
	font-size: 17px;
	color: var(--black-03, #515151);
}

.lp-form { width: 100%; display: flex; flex-direction: column; gap: 24px; align-items: center; }

.lp-form-card {
	width: 100%;
	background: var(--white);
	border-radius: 20px;
	box-shadow: 4px 4px 10px 4px rgba(0,0,0,0.08);
	padding: 40px;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.lp-field {
	display: flex;
	flex-direction: column;
	gap: 16px;
	border-bottom: 1px solid var(--lp-gray);
	padding-bottom: 12px;
}

.lp-field-label {
	font-size: 18px;
	color: var(--lp-gray);
}

.lp-field-label .req { color: var(--lp-red); }

.lp-input,
.lp-select {
	width: 100%;
	font-size: 18px;
	color: var(--black-02);
	background: transparent;
	border: none;
	padding: 4px 0;
}

.lp-input::placeholder { color: #b8b8b8; }

.lp-select-wrap { position: relative; }

.lp-select {
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	padding-right: 28px;
}

.lp-select-wrap::after {
	content: '';
	position: absolute;
	right: 4px;
	top: 50%;
	width: 9px;
	height: 9px;
	border-right: 1.5px solid var(--black-02);
	border-bottom: 1.5px solid var(--black-02);
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}

/* 동의 체크 */
.lp-agree {
	display: flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
}

.lp-check {
	appearance: none;
	-webkit-appearance: none;
	width: 24px;
	height: 24px;
	border: 1px solid var(--lp-gray);
	border-radius: 4px;
	cursor: pointer;
	position: relative;
	flex-shrink: 0;
}

.lp-check:checked {
	background: var(--lp-purple);
	border-color: var(--lp-purple);
}

.lp-check:checked::after {
	content: '';
	position: absolute;
	left: 8px;
	top: 4px;
	width: 6px;
	height: 11px;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(45deg);
}

.lp-agree-text {
	font-size: 16px;
	color: var(--lp-gray);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* 제출 버튼 */
.lp-submit {
	width: 100%;
	height: 72px;
	background: var(--lp-purple);
	border-radius: 12px;
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	border: none;
	cursor: pointer;
	transition: background 0.3s ease;
}

.lp-submit:hover { background: #7a1fb8; }

.lp-form-note {
	font-size: 15px;
	line-height: 1.6;
	color: var(--lp-gray);
	text-align: center;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* 카드 안에 들어간 안내문구: 버튼과 간격 */
.lp-form-card .lp-form-note {
	margin-top: 8px;
}

/* ===== Contact Form 7 호환 ===== */
.lp-form .wpcf7-form,
.lp-form .wpcf7 { width: 100%; }
.lp-form .wpcf7-form p { margin: 0 !important; }

/* CF7/테마 기본 input 스타일 무력화 */
.lp-form input.lp-input,
.lp-form select.lp-select {
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 4px 0 !important;
	height: auto !important;
	font-size: 18px !important;
	color: var(--black-02) !important;
	outline: none !important;
}

/* CF7 동의 래퍼 정렬 */
.lp-form .wpcf7-acceptance .wpcf7-list-item { margin: 0; }

/* CF7 제출 버튼 */
.lp-form input.lp-submit { -webkit-appearance: none; appearance: none; }

/* CF7 유효성/응답 메시지 (밝은 배경 기준) */
.lp-form .wpcf7-not-valid-tip {
	color: var(--lp-red);
	font-size: 13px;
	margin-top: 6px;
}
.lp-form .wpcf7-response-output {
	margin: 16px 0 0 !important;
	padding: 12px 16px !important;
	border-radius: 8px;
	font-size: 14px;
	text-align: center;
	color: var(--black-02, #252525);
}

/* ==================== */
/* Responsive            */
/* ==================== */
@media (max-width: 480px) {
	.lp-apply { padding: 48px 20px 56px; }
	.lp-apply-title { font-size: 34px; }
	.lp-form-card { padding: 28px 20px; }
}
