@charset "UTF-8";
/* CSS Document */

/*header設定*/
#main_visual{
	position: relative;/*ローディング画像などを表示す際の基点とするため指定*/
    height: 63vh;/*高さを全画面にあわせる*/
    text-align: center;
    color: #fff;
    /*ローディング画面時＆動画が表示されないときに表示する背景画像のレスポンシブ化*/
    background: url("../images/main.png") no-repeat;
    background-size: cover;
}

/* ローディングアイコン設定 */

#loading {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
  font-weight: bold;
}

/*jQueryで付与されたdisappearクラスがついたらロゴエリアを非表示*/

#loading.disappear{
     display: none;   
}


/* youtube設定 */

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

/*jQueryで付与されたappearクラスがついたらYoutubeエリアをふわっと表示*/
#youtube-area.appear {
	animation-name:PageAnimeAppear;
	animation-duration:.5s;
	animation-fill-mode:forwards;
}

@keyframes PageAnimeAppear{
	0% {
	opacity: 0;
	}
	100% {
	opacity: 1;
}
}

#youtube {
/*天地中央配置*/
  position: absolute;
  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%;
}

/*youtubeがクリックされないためのマスク*/
#youtube-mask{
    position: absolute;
    z-index: 2;/*下から2番目に表示*/
    top:0;
    width:100%;
    height: 100%;
  background: rgba(0,0,0,0.4);
}


/*youtube 上のロゴ */
h1{
  position:absolute;
  z-index: 10;/*下から2番目に表示*/
/*天地中央配置*/
  top: 40%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
/*色指定*/
  color:#fff;
  text-shadow: 0 0 15px #666;
}


@media only screen and (min-width:1px) and (max-width:1025px){
h1{
  top: 35%;
}
#main_visual{
    height: 80vh;
}

}

@media only screen and (min-width:1px) and (max-width:767px){
#main_visual{
    height: 75vh;
}
}


@media only screen and (min-width:1px) and (max-width:767px){
#main_visual{
    height: 75vh;
}
}


@media only screen and (min-width:1px) and (max-width:375px){
#main_visual{
    height: 85vh;
}
}





