/*=============================================
=            Section Com Video            =
=============================================*/

.com-video {
	position: absolute;
	z-index: 1;
	top: 0;
	right: 0;

	overflow: hidden;
	width: 100%;
	height: 100%;
	margin: auto;
}

.com-video__wrap {
	position: relative;
	width: 100%;
	height: 100%;
}

.com-video__video {

	position: absolute;
	z-index: 1;
	top: 0;
	right: 0;

	width: 100%;
	min-width: 100%;
	height: initial;
	min-height: 100%;
	margin: 0;

	padding: 0;
	transition: opacity 1s ease-in-out;
	opacity: 1;
	border: 0;

	pointer-events: none;
	aspect-ratio: 16/9;
}

.com-video__video-control {

	position: absolute;
	z-index: 1;
	right: 1rem;

	bottom: 1.5rem;

	height: 3rem;
}

.com-video__pause,
.com-video__play {

	width: 4rem;
	transition: 0.3s ease;
}

.com-video__pause img,
.com-video__play img {

	position: relative;

	z-index: 1;
	display: block;
	width: 100%;

	height: 100%;
	transition: 0.3s ease;
}

@media screen and (max-width: 768px) {


	.com-video__wrap {

		padding-bottom: calc(100% / 2 * 3);
	}

	.com-video__image {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.com-video__video {

		top: 50%;
		right: 50%;
		transform: translate(50%, -50%);
	}

	.com-video__video-control {
		bottom: 2rem;
	}

	.com-video__pause, .com-video__play {

		padding: var(--spacing-hf);
	}
}

/*=====  End of Section Main Banner Video  ======*/