@charset "UTF-8";

/*---------------------------
　　TOP動画
---------------------------*/
.vid { overflow: hidden; }
.vid_cont { min-height: 50vh; }

.vid_cont img {
	display: block;
	width: 100%;
	height: auto;
}

#video {
	/*min-width: 1024px;*/
	width: 100%;
}

#video .vid {
	position: relative;
	height: calc(100vh - 140px);
	background-color: #f4f4f4;
	/*min-width: 1024px;*/
	width: 100%;
}

#video .vid .bg {
	position:absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	transition: .8s ease .8s;
	opacity: 1;
	overflow: hidden;
	transform: scale(1);
}

#video .vid .bg img {
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#video .vid .bg video {
	display: block;
	position: relative;
	width: 100%;
}

#video .vid .inner {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100% !important;
	max-width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	background-color: rgba(255,255,255,.3);
}

#video .vid .down {
	-webkit-transition: all 1s;
	-moz-transition: all 1s;
	-ms-transition: all 1s;
	-o-transition: all 1s;
	transition: all 1s;
	opacity: 1;
}

#video .vid.on .inner > div {
	text-align: center;
}

#video .vid .inner img {
/*	transition: .5s ease 5s;*/
	opacity: 0;
	transform: scale(1.3);
}

#video .vid.on .inner img {
	opacity: 1;
	transform: scale(1);
}

#video .vid.on .inner .txt {
	display: inline-block;
	max-width: 650px;
	margin: 0 auto 3%;
}

#video .vid .inner .arrow {
	display: block;
	margin: 2rem auto 2rem;
	width: 3vmin;
}

#video .vid.on .inner .down img:hover{
	background: none;
}
#video .txt_jiseki {
	display: inline-block;
	width: auto;
	height: 130px;
	margin-left: 1em;
	opacity: 0.9;
}


/*---------------------------------------------*/
@media screen and (max-width: 768px) {
/*---------------------------------------------*/

/* TOP動画
----------------*/
#video { min-width: 0; }

#video .vid {
	min-height: 360px;
	height:calc(100vh - 320px - 4rem);
	min-width:0;
}

#video .vid.on .inner .txt { max-width: 80%; }
#video .vid .inner .arrow { width: 2rem; }
#video .txt_jiseki { display: none; }

.jiseki { line-height: 0; }

}/* 768 */
