.loader,
.loader:after {
  border-radius: 50%;
  width: 60px;
  height: 60px;
}
.loader {
  margin: auto;
  font-size: 10px;
  position: relative;
  text-indent: -9999em;
  border-top: 2px solid rgba(241, 147, 46, 0.2);
  border-right: 2px solid rgba(241, 147, 46, 0.2);
  border-bottom: 2px solid rgba(241, 147, 46, 0.2);
  border-left: 2px solid #f1932e;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
}
@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
html {
    overflow-y: scroll;
}
body {
    overflow-x: hidden;
    overflow-y: hidden;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
}
#indexAnimationWrapper {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    z-index: 999999;
    overflow: hidden;
}
#indexAnimation {
    position: relative;
    width: 100%;
    height: 100%;
}
.indexAnimationLayer {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
#indexAnimationLayer1 {
    background-color: #fff;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
#indexAnimationLayer2 {
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}
#indexAnimationLayer2 img {
    width: 236px;
    height: 275px;
    display: block;
}
#indexAnimationLayer3 {
    z-index: 3;
    width: 200%;
    background-color: #F1932E;
    transform: skewX(-30deg);
    transform-origin: top right;
    left: calc( 200vw + 20vh );
}

#header {
    transform: translateY(-30%);
    opacity: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
}
.hero,
.hero::before {
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
}
.hero-recruit {
    transform: translateY(30%);
    opacity: 0;
}
.hero-text>span {
    overflow: hidden;
}
.hero-text>span>span {
    transform: translateY(100%);
    display: block;
}

.on #indexAnimationLayer1>div{
    animation:indexAnimationFadeout .2s linear 1s forwards;
}
.on #indexAnimationLayer2 {
    animation:indexAnimationFadein .5s linear 2s forwards,indexAnimationDel 0s linear 4.6s forwards;
}
.on #indexAnimationLayer3 {
    animation:indexAnimationLayer3 1.2s ease-in-out 4s forwards;
}
.on #indexAnimationLayer1{
    animation:indexAnimationDel 0s linear 4.6s forwards;
}
.on #indexAnimationWrapper {
    animation:indexAnimationZindex 0s linear 5.5s forwards;
}
.on #header {
    animation:indexAnimationHeader .5s ease 6.3s forwards;
}
.on .hero-recruit {
    animation:indexAnimationRecruit .5s ease 6.3s forwards;
}
.on .hero-text>span:first-child>span {
    animation:indexAnimationTxt .6s ease 5.3s forwards;
}
.on .hero-text>span:nth-child(2)>span {
    animation:indexAnimationTxt .8s ease 5.7s forwards;
}
body.on {
    animation:indexAnimationBody 0s linear 6.5s forwards;
}

/* exist */
body.exist {
    overflow:visible;
}
.exist #header {
    animation:indexAnimationHeader .5s ease 0s forwards;
}
.exist .hero-recruit {
    animation:indexAnimationRecruit .5s ease 1s forwards;
}
.exist .hero-text>span:first-child>span {
    animation:indexAnimationTxt .6s ease .5s forwards;
}
.exist .hero-text>span:nth-child(2)>span {
    animation:indexAnimationTxt .8s ease .75s forwards;
}

@keyframes indexAnimationFadein {
    0% {opacity:0;}
    100% {opacity:1;}
}
@keyframes indexAnimationFadeout {
    0% {opacity:1;}
    100% {opacity:0;}
}
@keyframes indexAnimationDel {
    0% {opacity:1;}
    100% {opacity:0;}
}
@keyframes indexAnimationLayer3 {
    0% {left:calc( 200vw + 20vh );}
    100% {left:-160%;}
}
@keyframes indexAnimationZindex {
    0% {z-index: 999999;}
    100% {z-index: 0;}
}
@keyframes indexAnimationHeader {
    0% {transform: translateY(-30%);opacity: 0;}
    100% {transform: translateY(0%);opacity: 1;}
}
@keyframes indexAnimationRecruit {
    0% {transform: translateY(30%);opacity: 0;}
    100% {transform: translateY(0%);opacity: 1;}
}
@keyframes indexAnimationTxt {
    0% {transform: translateY(100%);}
    100% {transform: translateY(0%);}
}
@keyframes indexAnimationBody {
    0% {overflow-y: hidden;height: 100vh;    height: calc(var(--vh, 1vh) * 100);
    }
    100% {overflow-y: auto;height: auto;}
}

@media (max-width:767px) {
    #header {
        position: fixed;
    }
        #indexAnimationLayer2 img {
        width: 180px;
        height: 210px;
    }
}
