.modal {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100vw;
	z-index: 1050;
	display: none;
	overflow: hidden;
	outline: 0;
}

.modal-dialog {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	width: auto;
	max-width: 660px;
	margin: 25px auto;
	pointer-events: none;
}
.modal-container {
	position: relative;
	width: 100%;
	padding-right: 8px;
	padding-left: 8px;
}

.modal-content {
	position: relative;
	width: calc(100% + 40px);
	max-height: 100vh;
	padding: 0 20px;
	margin: 0 -20px;
	pointer-events: auto;
	outline: 0;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	overflow-x: hidden;
}
.modal-content::-webkit-scrollbar {
	display: none;
}
.modal-close {
	position: absolute;
	top: 25px;
	right: 25px;
	width: 24px;
	height: 24px;
	background: url("data:image/svg+xml;charset=UTF-8,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M1 15L15 1M15 15L1 1' stroke='black' stroke-width='2' stroke-linecap='round'/%3e%3c/svg%3e") no-repeat center / 14px;
	opacity: 0.4;
	z-index: 1;
}
.modal-close:hover {
	opacity: 1;
	cursor: pointer;
}
.modal-close-out {
	top: 5px;
	right: 0;
	width: 36px;
	height: 36px;
	background-size: 36px;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='36' height='36' viewBox='0 0 36 36' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M8.5 27L27 8.5M27 27L8.5 8.5' stroke='white' stroke-width='2' /%3e%3c/svg%3e");
	opacity: 1;
}
.modal-close-out:hover {
	opacity: 0.6;
}
.modal-container .modal-close {
	top: 14px;
	right: 30px;
}
.modal-body {
	position: relative;
	padding: 74px 84px 74px 74px;
	border-radius: 24px;
	background: var(--color-white);
	font-size: var(--font-size-h4);
	line-height: 1.3;
}
.modal-container .modal-body {
	padding: 36px 32px;
	border-radius: 12px;
}
.modal-body .btn {
	width: 100%;
	height: 50px;
	margin-top: 45px;
}

@media (max-width: 767px) {
	.modal-dialog {
		padding: 0 16px;
	}
	.modal-body {
		min-height: 200px;
		padding: 30px 33px;
	}
	.modal-container .modal-body {
		padding: 36px 16px;
	}
	.modal-body .btn {
		margin-top: 40px;
	}
	.modal-close {
		top: 20px;
		right: 20px;
	}
	.modal-container .modal-close {
		width: 28px;
		height: 28px;
		background-size: 28px;
	}
	.modal-close-out {
		top: 0;
		right: 10px;
	}
}

@media (pointer:coarse) {
	.modal-content {
		padding: 60px 20px !important;
	}
	.modal-container .modal-close,
	.modal-close,
	.modal-close-out {
		top: 30px !important;
	}
}

@media (min-width:576px) {
	.modal-container {
		max-width: 550px;
	}
}
@media (min-width:768px) {
	.modal-container {
		max-width: 720px;
	}
}
@media (min-width:992px) {
	.modal-container {
		max-width: 930px;
	}
}
@media (min-width:1200px) {
	.modal-container {
		max-width: 1200px;
	}
	.modal-video {
		max-width: 995px;
	}
}