@charset "utf-8";

/*========= 背景動画設定のCSS ===============*/

/*header設定*/
#header{
    position: relative;/*h1の中央寄せ配置の起点とするためのrelative*/
    height: 100vh;/*高さを全画面にあわせる*/
} 

#video-area{
    position: fixed;
    z-index: -1;/*最背面に設定*/
    top: 0;
    right:0;
    left:0;
    bottom:0;
    overflow: hidden;
}

#video {
    /*天地中央配置*/
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*縦横幅指定*/
    width: 177.77777778vh; /* 16:9 の幅→16 ÷ 9＝ 177.77% */
    height: 56.25vw; /* 16:9の幅 → 9 ÷ 16 = 56.25% */
    min-height: 100%;
    min-width: 100%;
}

/*見出し設定*/
h1{
    /*要素の配置*/
    position:absolute;
    /*要素を天地中央寄せ*/
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    /*見た目の調整*/
    color:#fff;
    text-shadow: 0 0 15px #666;
}

/*========= レイアウトのためのCSS ===============*/

#container{
background:#fff;
padding:300px 0;
text-align: center;
}

/* +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= */
body {
		background-image: url("/images/root/wanoyu_global.jpg");
}

@media screen and (min-width: 768px) { /* PC */
	#video {
	    top: 43%;
    	min-width: 125%;
    	min-height: 125%;
	}
	.fh5co-cover .desc{
		top: 92%;
	}
	.fh5co-cover .desc .leftImage1 img {
		max-width: 50%;
		margin-left: -5em;
	}
	.fh5co-cover .desc .rightImage1 img {
		max-width: 95%;
		margin-right: 2em;
		margin-top: 2em;
	}
}

@media screen and (max-width: 768px) { /* スマホ */
	.fh5co-cover .desc{
		top: 23%;
	}
	.fh5co-cover .desc .leftImage1 img {
		max-width: 95%;
	}
	.fh5co-cover .desc .rightImage1 img {
		max-width: 95%;
		margin-top: 7.5em;
	}
}

