@charset "utf-8";
body {
	background-color: #222222;
}
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
img {
	display: block;
	width: 100%;
}

.container {
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
}
ul {
	list-style: none;
}
.sec2 {
	background-color: #920b1c;
	padding: 6% 12%;
}
.checkbox-container {
	max-width: 600px;
	margin: 6% auto;
	text-align: left;
	background-color: white;
	color: black;
	padding: 3%;
	border-radius: 10px;
}

.checkbox-item {
	margin-bottom: 1.2%;
	border: 1px solid #ccc;
	background-color: white;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	padding: 3%;
	border-radius: 10px;
	display: flex;
	align-items: center;
	cursor: pointer;
	font-size: clamp(13px, 2vw, 20px);
}
.checkbox-item:last-child {
	margin-bottom: 0;
}
.checkbox-item input[type="checkbox"] {
	appearance: none;
	width: 20px;
	height: 20px;
	border: 1px solid #333;
	border-radius: 50%;
	vertical-align: middle;
	margin-right: 10px;
	cursor: pointer;
}

.checkbox-item input[type="checkbox"]:checked {
	background-color: #fff;
	border-color: #333;
	position: relative;
}

.checkbox-item input[type="checkbox"]:checked::before {
	content: "";
	position: absolute;
	top: 4px;
	left: 4px;
	width: 10px;
	height: 10px;
	background-color: #850000;
	border-radius: 50%;
}
/*.checkbox-item label{*/
/*	width: 100%;*/
/*	height: 100%;*/
/*}*/
.form_wrapper {
	background-color: #fff;
	padding: 5% 12%;
}
form {
	margin: 0 auto;
}
.form_box {
	display: flex;
	flex-direction: column;
	margin-bottom: 3%;
	gap: 10px;
}

.form_box .counsel_hp_box {
	display: flex;
	gap: 10px;
	align-items: center;
	position: relative;
}

.form_box .counsel_hp_box span {
	font-size: clamp(16px, 3vw, 26px);
	font-weight: bold;
	position: absolute;
	top: 50%;
	left: 15px;
	transform: translateY(-50%);
	text-align: center;
	width: 45px;
	display: inline-block;
}

.form_box .counsel_hp {
	width: 100%;
	padding-left: 70px;
}

.form_box label {
	font-size: clamp(16px, 3vw, 26px);
	margin-bottom: 10px;
	font-weight: bold;
}
.form_box input {
	font-size: clamp(14px, 3vw, 26px);
	padding: 4% 5%;
	border-radius: 10px;
	border: 1px solid #999999;
}
.form_box input::placeholder {
	font-size: clamp(14px, 3vw, 26px);
	color: #333;
}
.privacy_box {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}
#privacy_agreement {
	width: 20px;
	height: 20px;
	margin-right: 2%;
	cursor: pointer;
}
.label_privacy_agreement {
	font-size: clamp(14px, 2vw, 20px);
}
.privacy_modal {
	font-weight: bold;
	cursor: pointer;
	font-size: clamp(14px, 2vw, 20px);
}
.form_box button {
}
.consult_request_btn {
	display: block;
	width: 100%;
}
/*모달창*/
#privacy_modal_container {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	z-index: 100;
}
.privacy_modal_content {
	position: absolute;
	width: 80%;
	height: 50%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #fff;
	padding: 2%;
	border-radius: 10px;
}
.privacy_modal_contents {
	width: 100%;
	height: 100%;
	overflow-y: auto; /* 세로 스크롤을 자동으로 생성 */
	overflow-x: hidden; /* 가로 스크롤을 숨김 */
}
.close {
	text-align: right;
	cursor: pointer;
	position: absolute;
	top: -6%;
	right: 1%;
	font-weight: bold;
	color: #ffffff;
}
@media (max-width: 768px) {
	#privacy_agreement {
		width: 15px;
		height: 15px;
	}
	.privacy_modal_content {
		padding: 5%;
		height: 50%;
	}
}
