@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500&display=swap');

#bg-color {
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: -1;
  background: #c7c8c9;
}
#bg-video:before {
  background: url(../img/mv_dot.png);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: '';
  z-index: 1;
}
#bg-video:after {
  background-color: rgba(255, 255, 255, 0.4);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: '';
  z-index: 2;
}
#bg-video #video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}

#header .cont .logo {
  position: fixed;
  top: 115px;
  left: 15px;
  width: 150px;
  line-height: 0;
  z-index: 1000;
  transform: translateY(-100px);
  transition: all 1s ease-in-out;
}

.content {
  max-width: 980px;
  margin: 0 auto;
}

h1 {
  position: fixed;
  top: 40px;
  left: 40px;
  width: 116px;
  line-height: 0;
  z-index: 1000;
  transform: translateY(-100px);
  transition: all 1s ease-in-out;
}
h1.show {
  transform: translateY(0);
  -webkit-transform: translateY(0);
}

#btn-menu {
  position: fixed;
  top: 40px;
  right: 40px;
  width: 36px;
  height: 32px;
  z-index: 1000;
  overflow: hidden;
  cursor: pointer;
}
#btn-menu span {
  width: 100%;
  height: 2px;
  background: #fff;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
}
#btn-menu span:nth-of-type(2) {
  top: 15px;
  left: -50%;
}
#btn-menu span:nth-of-type(3) {
  top: 15px;
  left: 50%;
}
#btn-menu span:nth-of-type(4) {
  top: 30px;
}

#btn-menu.open span {
  background: #464646;
}
#btn-menu.open span:nth-of-type(1) {
  -webkit-transform: translateY(15px) translateX(0) rotate(45deg);
  transform: translateY(15px) translateX(0) rotate(45deg);
}
#btn-menu.open span:nth-of-type(2) {
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
}
#btn-menu.open span:nth-of-type(3) {
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
}
#btn-menu.open span:nth-of-type(4) {
  -webkit-transform: translateY(-15px) translateX(0) rotate(-45deg);
  transform: translateY(-15px) translateX(0) rotate(-45deg);
}

#menu {
  background-color: rgba(255, 255, 255, 0.9);
  position: fixed;
  top: 40px;
  right: 40px;
  width: 550px;
  z-index: -1;
  opacity: 0;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
}
#menu ul {
  padding: 6% 8%;
}
#menu li {
  font-size: 20px;
  margin: 0 0 5%;
  font-family: Gotham, 'Gotham', 'Montserrat', 'Open Sans', 'Helvetica Neue',
    Helvetica, Arial, sans-serif;
  transform-origin: left bottom;
  transform: scaleY(0);
  -webkit-transform: scaleY(0);
  transition: transform 0.9s cubic-bezier(0.19, 1, 0.22, 1) 0.5s;
  -webkit-transition: transform 0.9s cubic-bezier(0.19, 1, 0.22, 1) 0.5s;
}
#menu li:last-of-type {
  margin: 0;
}
#menu li span {
  margin: 0 0 0 2.5em;
  font-size: 12px;
  display: inline-block;
  font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ',
    Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', Osaka, Arial, Helvetica,
    Verdana, sans-serif;
}

#menu li a {
  position: relative;
  pointer-events: none;
  display: inline-block;
}
#menu li a:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: #f2f2f2;
  display: block;
  z-index: -1;
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
}
#menu li.active a:before,
#menu li a:hover:before {
  width: 100%;
}
#menu.open {
  opacity: 1;
  z-index: 999;
}
#menu.open li {
  opacity: 1;
  transform: scaleY(1);
  -webkit-transform: scaleY(1);
}
#menu.open li a {
  pointer-events: auto;
}

/* Media */
@media screen and (max-width: 1400px) {
  h1 {
    top: 15px;
    left: 15px;
  }
  #btn-menu {
    top: 15px;
    right: 15px;
  }
  #menu {
    top: 15px;
    right: 15px;
    width: 400px;
  }
}

@media screen and (max-width: 480px) {
  #menu {
    width: calc(100% - 50px);
  }
  #menu li {
    font-size: 4vw;
  }
  #menu li span {
    font-size: 3vw;
  }
}
