﻿body {
    overflow-x: hidden;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

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

#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%;
}

/*見出し設定*/

#logo_box img {
    max-width: 300px;
    width: 100%;
}

#enter img {
    max-width: 200px;
    width: 100%;
}

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

#container #main{
   text-align: center;
   background: rgb(0 0 0 / 30%);
   padding: 25px;
}

#container #main #enter{
   margin: 20px 0;
}


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

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

@media screen and (max-width:480px){
    #container{
        width: 80%;
        top: 35%;
    }
    #container #main{
       padding: 15px;
    }
    #logo_box img {
        max-width: 220px;
    }

#enter img {
        max-width: 180px;
    }
}