@charset "UTF-8";

.qtranxs-available-languages-message
{
	display:none;
}

#video_library,
.entry-title_p .entry-title,
#top .desc
{
	width: 100%;
	max-width: calc(1280px + 4rem);
	margin: 0rem auto;
	padding: 5rem 2rem 0rem 4rem;
}
#top .desc
{
	padding-top: 0;
	padding-bottom: 2rem;
}

#video_library
{
	display:flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 3rem;
}

#cate
{
	position:sticky;
	top: 4.5rem;
	display: flex;
	flex-direction: column;
	width: 15rem;
}

#cate .now
{
	color: rgb(150, 150, 150);
}

#cate .cate
{
	line-height: 1.3;
	padding-top: .5em;
	font-family: 'Zen-B', serif;
	font-weight: 700;
}

#cate .cate + .cate
{
	margin-top: .5em;
	border-top: 1px solid rgb(200, 200, 200);
}

#cont
{
	width: calc(100% - 20rem);
}

#cont h3
{
	font-family: 'Zen-B', serif;
	font-weight: 700;
	margin-bottom: 1em;
	padding-bottom: .5rem;
	border-bottom: 1px solid;
}

#cont .cont + .cont
{
	margin-top: 3em;
}

.cont > div
{
	display: flex;
	flex-wrap:wrap;
	width: calc(100% + 2rem);
	margin: -1rem;
}

.cont > div .video
{
	width: calc(100% / 3 - 2rem);
	margin: 1rem;
	
	font-family: 'Roboto-M', 'GG-M', sans-serif;
	font-weight: 550;
	line-height: 1.5;
	
	display:flex;
	flex-direction:column;
	padding-bottom: 2rem;
	
	border-bottom: 1px solid rgb(150, 150, 150);
}

.cont > div .video h4
{
	font-family: 'Roboto-M', 'GG-M', sans-serif;
	font-weight: 550;
}

figure.image
{
	width: 100%;
	aspect-ratio: 5.2 / 3;
	overflow:hidden;
	border: 1px solid rgba(0, 0, 0, .1);
}

figure.image > img
{
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.cont > div .text
{
	padding: 1rem 0 0;
}

.cont .time
{
	display:flex;
	align-items: center;
	color: rgb(120, 120, 120);
}

.cont .time:before
{
	font-family: "Font Awesome 5 Free";
	content:"\f017";
	display: inline-block;
	margin-right: .25em;
}

/**********************************************************************/
/****************************** YouTube *******************************/
/**********************************************************************/

.pkg
{
	display: inline-block;
	box-sizing:border-box;
	width: 100%;
}

.modal-open
{
	cursor: pointer;
	 width: 100%;
	 height: 100%;
	 position: absolute;
	 top: 0;
	 left: 0;
	z-index: 6;
	background-color: rgba(0, 0, 0, 0);

	-webkit-transition: background-color .2s ease;
	-moz-transition: background-color .2s ease;
	-ms-transition: background-color .2s ease;
	-o-transition: background-color .2s ease;
	transition: background-color .2s ease;
}
.modal-open:hover
{
	background-color: rgba(0, 0, 0, .3);
}

.modal-open:before
{
	content:"";
	display:block;
	position: absolute;
	width: 4rem;
	height: 3rem;
	background-color: rgba(50, 50, 50, .8);
	top:calc(50% - 1.5rem);
	left: calc(50% - 2rem);
	border-radius: 25%;
}
.modal-open:after
{
	content:"";
	display:block;
	position: absolute;
	width: 0;
	height: 0;
	top:calc(50% - .5rem);
	left: calc(50% - .4rem);
	border-style: solid;
	border-width: .5rem 0 .5rem 1rem;
	border-color: transparent transparent transparent rgb(255, 255, 255);
}

.vdo-body
{
	max-width: 100%;
	height: auto;
	aspect-ratio: 5.2 / 3;
	overflow: hidden;
	background-size: 102%;
	background-position: 50% 50%;
}

.pkg .vdo-ttl
{
	margin-top:1.5rem;
	font-size: .8rem;
	-webkit-justify-content: center;
	justify-content: center;
}

.pkg .vdo-desc
{
	font-size: 1em;
	margin: 1rem auto 2.5rem;
	max-width: calc(900px - 6rem);
}

.pkg .vdo-base
{
	border: 1px solid rgba(0, 0, 0, .1);
}


.modal-vdo-body
{
	width: calc(100% - 4rem);
/*	width: 100%;*/
	height: auto;
	padding-bottom: 56.25%;
	position: relative;
	overflow: hidden;
}

.modal-vdo-body iframe
{
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

/*//////////////////////////////////////////////////////////////////////////////////
///////////////////////////////// MEDIA SCREEN ////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////*/

@media screen and (max-width: 1200px)
{
	.cont > div .video
	{
		width:calc(100% / 2 - 2rem);
	}
}

@media screen and (max-width: 1000px)
{
	#video_library
	{
		flex-direction: column;
	}
	
	#cate
	{
		position:static;
		margin-bottom: 3rem;
	}
	
	#cont
	{
		width: calc(100% - 0rem);
	}
	
	.cont > div .video
	{
		width:calc(100% / 3 - 2rem);
	}
}

@media screen and (max-width: 800px)
{
	.cont > div .video
	{
		width:calc(100% / 2 - 2rem);
	}
}


@media screen and (max-width: 600px), (max-height: 600px)
{
	#video_library, .entry-title_p .entry-title,
	#top .desc
	{
		padding: 0rem 2rem;
	}
	
	.cont > div .video
	{
		width:calc(100% / 2 - 2rem);
	}
	
	#modalWindow
	{
		padding: 1.5rem 0;
	}
	.modal-body .popup
	{
		padding: 2rem 0rem;
	}
}