body {
  overflow: hidden;
}
#opening {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99;
  color: #fff;
}
#opening > div {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
#opening .scroll {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3%;
  bottom: 0;
  top: auto;
  height: auto;
  z-index: 999;
}
#opening #progress {
  font-size: 27vw;
  margin-bottom: 15px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0;
}
#opening .container {
  width: 100vw;
}
#opening .container .img img {
  width: 100%;
  max-width: 100%;
  height: auto;
}
#opening .inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100vh;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-sizing: border-box;
}
#opening .inner:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100%;
  background: url(../img/shared/bg1.jpg) repeat;
  z-index: -1;
}
#opening .inner .name {
  font-size: 3.2vw;
  font-weight: 500;
  letter-spacing: 0.3em;
}
#opening .set1 {
  z-index: 2;
}
#opening .set2 {
  z-index: 1;
  transform: scale(1.3);
  transition: transform 2.4s ease, opacity 2s ease;
  transition-delay: 1s;
}
#opening .set3 {
  z-index: 0;
}
#opening .set3 .ttl {
  transition: transform 1s ease, opacity 2s ease;
  transition-delay: 3.2s;
  position: absolute;
  top: 103vw;
  width: auto;
  left: 10px;
}
.loaded {
  animation: unlock 0s forwards 5.5s;
}
.loaded #opening .set1 .inner {
  animation: clip 1.4s linear forwards;
}
.loaded #opening .set2 {
  transform: scale(1);
  opacity: 1;
}
.loaded #opening .set2 .inner {
  animation: clip 1s linear 2.4s forwards;
}
.loaded #opening .set3 {
  opacity: 1;
}
.loaded #opening .set3 .ttl {
  opacity: 1;
}
.loaded #opening .set3 .inner {
  animation: clip 1s linear 4s forwards;
}
@keyframes clip {
  0% {
    -webkit-clip-path: ellipse(100% 100% at 50% 50%);
    clip-path: ellipse(100% 100% at 50% 50%);
  }
  80% {
    width: 250vw;
    -webkit-clip-path: ellipse(100% 100% at -20% -43%);
    clip-path: ellipse(100% 100% at -20% -43%);
    margin-top: 0;
    padding-top: 0;
  }
  100% {
    margin-top: -70vw;
    padding-top: 60%;
    width: 250vw;
    -webkit-clip-path: ellipse(100% 100% at -20% -43%);
    clip-path: ellipse(100% 100% at -20% -43%);
  }
}
@keyframes unlock {
  100% {
    overflow: visible;
  }
}
#opening {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: none;
}
@media screen and (min-width: 768px) {
  #opening #progress {
    font-size: 220px;
    margin-bottom: 20px;
  }
  #opening .inner .name {
    font-size: 24px;
    letter-spacing: 0.3em;
  }
  #opening .scroll {
    width: auto;
  }
  #opening .set3 .ttl {
    top: 26%;
    width: auto;
    left: 9%;
  }
}
