.modal {
	width: 100%;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 200;
	padding-top: 60px;
	color: #000;
	font-size: 1.4rem;
	display: none;
	background-color: rgba(0, 0, 0, 0.6);
}

#sendMessageModal {
	z-index: 201;
}

#sendMessageModal .close_popup,
#sendMessageModal .modal_box {
	top: 100%;
}

.modal_box {
	height: 100%;
	background-color: #fff;
	border-top-right-radius: 10px;
	border-top-left-radius: 10px;
	padding: 24px 20px 20px;
	position: relative;
	overflow-y: auto;
}

.modal_area {
	max-width: 700px;
	margin: 0 auto;
}

.tab_content {
	margin-bottom: 70px;
}

.modal_cont_scroll {
	height: calc(100% - 191px);
	text-align: left;
	overflow-y: auto;
	font-size: 1.6rem;
}

.fullmodal_content {
	position: relative;
}

.close_popup,
.a_close {
	width: 20px;
	height: 20px;
	position: absolute;
	right: 25px;
	top: 20px;
	z-index: 10;
}

.close_popup:before,
.close_popup:after,
.a_close:before,
.a_close:after {
	content: " ";
	width: 100%;
	height: 2px;
	background-color: #fff;
	position: absolute;
	top: 50%;
	left: 0;
	transform-origin: center;
}

.close_bk:before,
.close_bk:after {
	background-color: #000;
}

.close_popup:before,
.a_close:before {
	transform: rotate(45deg);
}

.close_popup:after,
.a_close:after {
	transform: rotate(-45deg);
}

.full_modal {
	padding-top: 0;
}

.full_modal .modal_box {
	/* height: calc(100vh - 140px); */
	/* height: calc((var(--vh, 1vh) * 100) - 140px); */
	height: 100vh;
	border-radius: 0;
	text-align: left;
}

.full_modal .modal_box h2 {
	text-align: left;
}

.fullmodal_conts img {
	max-width: 100%;
}

#newsDetailModal.full_modal .close_popup {
	top: 5px;
	right: 5px;
	background: #fff;
	padding: 25px;
	border-radius: 50%;
}

#newsDetailModal.full_modal .close_popup::before,
#newsDetailModal.full_modal .close_popup::after {
	width: 20px;
	top: calc(50% - 1px);
	left: 15px;
}

.full_modal .modal_shadow {
	width: 100%;
	height: 40px;
	position: fixed;
	bottom: -40px;
	left: 0;
	background-color: #fff;
	box-shadow: 0 0 40px 40px #fff;
}

.modal_footer {
	max-width: 1440px;
	margin: 0 auto;
	padding: 40px 0;
}

#business_detail .modal_footer {
	padding-bottom: 60px;
}

.full_modal .sns_box {
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	padding-bottom: 10px;
}

.popup_remocont_box {
	display: flex;
	justify-content: space-between;
	padding: 20px 0;
}

.move_btns {
	flex: 1 0 auto;
}

.move_btns .btn {
	width: 48px;
	border-color: #cfd6e6;
}

.move_btns .btn.disabled_btn {
	opacity: 0.35;
	cursor: default;
	pointer-events: none;
}

.go_list_btn {
	margin: 0;
	margin-left: 10px;
}

/*  */

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
input[type="time"],
input[type="number"] {
	width: 100%;
	background-color: #f5f5fa;
	display: block;
	margin-bottom: 10px;
}

input::placeholder,
textarea::placeholder {
	color: #1d1d26;
}

textarea {
	width: 100%;
}

input[type="text"],
textarea {
	-webkit-ime-mode: active;
	-moz-ime-mode: active;
	-ms-ime-mode: active;
	ime-mode: active;
}

input[type="email"] {
	-webkit-ime-mode: inactive;
	-moz-ime-mode: inactive;
	-ms-ime-mode: inactive;
	ime-mode: inactive;
}

.send_btn_box {
	text-align: center;
	margin: 28px auto 0;
}

.checkbox {
	margin-bottom: 28px;
}

.checkbox input {
	display: none;
}

.checkbox label {
	padding-left: 28px;
	position: relative;
}

.checkbox label:before {
	content: " ";
	position: absolute;
	left: 0;
	top: -2px;
	width: 18px;
	height: 18px;
	background-image: url("../imgs/ic_check_box.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.checkbox input:checked + label:before {
	background-image: url("../imgs/ic_check_box_check.png");
}

.modal_bk .modal_box {
	background-color: #000;
	color: #fff;
}

.modal_bk.full_modal .modal_shadow {
	background-color: #000;
	box-shadow: 0 0 15px 20px #000;
}

/* mini_modal */

.mini_modal .modal_box {
	max-width: 300px;
	height: auto;
	margin: 0 auto;
	border-radius: 10px;
}

/* md_modal */

.modal_box.md_modal {
	width: 90%;
	max-width: 768px;
	height: 90%;
	margin: auto;
	border-radius: 10px;
}

.modal_box.md_modal .close_popup {
	top: 20px;
	right: 20px;
}

.modal_box.md_modal .close_popup::before,
.modal_box.md_modal .close_popup::after {
	background-color: #000;
}

/* xl_modal */

.modal_box.xl_modal {
	width: 90%;
	max-width: 1140px;
	height: auto;
	max-height: 95%;
	margin: auto;
	border-radius: 10px;
	overflow: hidden;
}

.modal_box.xl_modal .close_popup {
	top: 20px;
	right: 20px;
}

.modal_box.xl_modal .close_popup::before,
.modal_box.xl_modal .close_popup::after {
	background-color: #000;
}

.xl_modal .modal_scroll {
	width: 100%;
	height: calc(100vh - 283px);
	overflow-y: auto;
}

@media screen and (min-width: 1024px) {
	.close_popup,
	.a_close {
		width: 26px;
		height: 26px;
	}
	.full_modal .modal_box {
		height: 100%;
		padding: 40px;
		font-size: 1.7rem;
	}
	.full_modal .modal_box h2 {
		font-size: 4rem;
	}
	#newsDetailModal.full_modal .close_popup {
		top: 40px;
		right: 40px;
		background: none;
		padding: 0;
		border-radius: 0;
	}
	#newsDetailModal.full_modal .close_popup::before,
	#newsDetailModal.full_modal .close_popup::after {
		width: 100%;
		top: 50%;
		left: 0;
	}
	#portfolioDetailModal .fullmodal_content {
		/* height: calc(100vh - 120px); */
		/* height: calc((var(--vh, 1vh) * 100) - 80px); */
	}
	#newsDetailModal .fullmodal_content {
		/* height: calc(100vh - 120px); */
		height: calc((var(--vh, 1vh) * 100) - 200px);
	}
	.fullmodal_conts {
		/* height: calc(100% - 144px); */
		height: 100%;
		overflow-y: auto;
		-ms-overflow-style: none;
		scrollbar-width: none;
	}
	.fullmodal_conts::-webkit-scrollbar {
		display: none;
	}
	.full_modal .modal_shadow {
		position: absolute;
	}
	.full_modal .sns_box ul {
		justify-content: flex-start;
	}
	.input_area {
		display: flex;
		justify-content: space-between;
	}
	.input_area input {
		margin-right: 8px;
	}
	.input_area input:last-of-type {
		margin-right: 0px;
	}
	.send_btn_box {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
	.send_btn_box .checkbox {
		margin-bottom: 0;
	}
	.send_btn_box .btn {
		margin: 0;
	}
	.modal_cont_scroll {
		height: calc(100% - 251px);
		text-align: left;
		overflow-y: auto;
		font-size: 1.6rem;
	}
	.modal_box.md_modal .term_cont {
		padding: 0 20px;
	}
	#serviceModal .modal_box.md_modal {
		height: calc(100vh - 35%);
	}
	#privacyModal .modal_box.md_modal {
		height: calc(100vh - 15%);
	}
}

@media screen and (min-width: 1440px) {
	.full_modal .modal_box h2 {
		font-size: 5.2rem;
	}
}
