@charset "shift_jis";
@media screen and (min-width: 951px) {
  /* 951px以上に適用されるCSS */
  #video-header {
    position: relative;
    height: 100vh;
  }
  #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%;
  }
  #video-h1 {
    position: absolute;
    top: 40%;
    right: 10%;
    color: #fff;
    font-size: 4em;
    font-style: italic;
    text-align: right;
    text-shadow: 0 0 15px #333;
  }
}
@media screen and (max-width: 950px) {
  /* 950px以下に適用されるCSS */
  #video-header {
    position: relative;
    height: 70vh;
  }
  #video {
    position: absolute;
    z-index: -1;
    top: 40%;
    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: 80%;
    min-width: 100%;
  }
  #video-h1 {
    position: absolute;
    width: 50%;
    top: 20%;
    right: 10%;
    color: #fff;
    font-size: 1.5em;
    font-style: italic;
    text-align: right;
    text-shadow: 0 0 5px #333;
  }
}
#video-area {
  position: fixed;
  z-index: -1;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  overflow: hidden;
}