@charset "UTF-8";
/* --------------------
  visual-visual
-------------------- */
#visual .mask{
	background: url(../images/top/mask.png) repeat 0 0;
	position: absolute;
	min-width: 100%;
  	min-height: 100vh;
	width: 100%;
	height: 100vh;
	z-index: 3;
}
#visual .visual-info{
	width: 100%;
	height: 300px;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	position: absolute;
	text-align: center;
	z-index: 4;
}
#visual .visual-info p{
	margin-bottom: 30px;
}
.video-wrap{
  height: 100%;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}
#video{
  background-attachment: fixed;
  background-position: center center;
  background-size: cover;
  min-height: 100%;
  min-height: 100vh;
  min-width: 100%;
  min-width: 100vw;
  z-index: 1;
  overflow: hidden;
}
@media screen and (max-width:1024px){
#visual h2{
	font-size: 3.5rem;
}
#visual .visual-info p{
	font-size: 1.2rem;
	margin-bottom: 5px;
}
/* --------------------
  top-visual
-------------------- */
#visual video,
#visual .mask{
	display: none;
}
.video-wrap{
	height: 0vh;
}
#visual .visual{
	background:	url(../images/top/me_top.jpg) no-repeat;
	background-position: center;
	background-size: cover;
	width: 100%;
}
#visual .visual-info{
	width: 100%;
	height: 150px;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	position: absolute;
	text-align: center;
	z-index: 2;
}
}

@media screen and (max-width:767px){
/*　画面サイズが767px以下の場合、このスタイルを読み込む　*/
#visual video,
#visual .mask{
	display: none;
}
#visual .visual{
	background:	url(../images/top/me_top.jpg) no-repeat;
	background-position: center;
	background-size: cover;
	width: 100%;
	text-align: center;
	color: #fff;
}
#visual .visual-info{
	width: 85%;
	height: 150px;
	z-index: 2;
}
#visual .visual-info p{
	padding-top: 5px;
}
}
@media screen and (max-width:320px){
	#visual h2 {
    font-size: 3rem;
	}
	#visual .visual-info {
    width: 97%;
	}
}
