@charset "UTF-8";

.video-container {
	width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}
video {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  z-index: -1;
}
#loader-img {
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  z-index: 5;
}
#loader-img:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(46,107,158,0.7);
  z-index: 5;
}

.block {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
  overflow: hidden;
  margin: 0 auto;
}
.block img {
  width: 100%;
}
.block:after {
  content: "";
  position: absolute;
  top: -100%;
  left: -100%;
  transform: skew(30deg);
  width: 205%;
  height: 205%;
  background: #000;
}
.active.block:after {
  top: 350%;
  left: -350%;
  transition: all 2s cubic-bezier(.645, .045, .355, 1);
	transition-delay: 1s;
}

@media screen and (max-width:640px){
  .block {
    width: 100%;
  }
}


#loader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 650px;
  height: 250px;
  margin-top: -100px;
  margin-left: -350px;
  text-align: center;
  color: #fff;
  z-index: 9;
}
#loader p {
  color: #fff;
	font-size: 1.1em;
	font-family: "Noto Sans JP", sans-serif;
}
@media screen and (max-width: 414px) {
  #loader {
    width: 300px;
    margin-left: -150px;
  }
}

.img-wrap svg {
  width: 650px;
}
#logo{
  stroke:#FFF;
  stroke-width:2px;
  fill:transparent;
  stroke-dasharray:1425px;
  stroke-dashoffset:1425px;
  animation:anim 2.5s ease-in 0s forwards;
}
@keyframes anim{
0%{stroke-dashoffset:1425px; fill-opacity:0;}
90%{stroke-dashoffset:0; fill-opacity:0.5;}
100%{stroke-width:0; fill-opacity:1;}
}

@media screen and (max-width: 414px) {
  .img-wrap svg {
    width: 300px;
  }
}

header.top {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	z-index: 20;
}

p.scroll {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 50px;
	font-size: 1.2em;
	z-index: 25;
}

p.scroll a {
	position: relative;
  padding-top: 60px;
	color: #FFF;
	text-decoration: none;
}
p.scroll a span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 30px;
  height: 50px;
  margin-left: -15px;
  border: 2px solid #fff;
  border-radius: 50px;
  box-sizing: border-box;
}
p.scroll a span::before {
  position: absolute;
  top: 10px;
  left: 50%;
  content: '';
  width: 6px;
  height: 6px;
  margin-left: -3px;
  background-color: #fff;
  border-radius: 100%;
  -webkit-animation: sdb 2s infinite;
  animation: sdb 2s infinite;
  box-sizing: border-box;
}
@-webkit-keyframes sdb {
  0% {
    -webkit-transform: translate(0, 0);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    -webkit-transform: translate(0, 20px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes sdb {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    transform: translate(0, 20px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
