/* CSS Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

a, button, input, textarea, select {
  -webkit-tap-highlight-color: transparent;
}


/* Custom Styles */
img{max-width: 100%; width: 100%;}
body{ background-color:black;}
.wrapper{
    margin: 0 auto;
    max-width: 640px;
    width: 100%;
    overflow-x: hidden;
}

.container{
  position: relative;
  width: 100%;
  background-image: url(../img/bg.png);
  background-size: 100%;
  background-position: 50% 0;
  /* aspect-ratio: 640 / 1386; */
  aspect-ratio: 640 / 1266;
  width: 100%;
  height: auto;
  min-height: calc(100vh - (100vw*110/640));
  margin-top: calc(100vw*120/640);
}
.container, .pc {
    display: none;
}
.pc{
  /* position: fixed; */
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
}

.pc>img{
  /* position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 100vh;
  width: auto;
  max-width: initial; */
  display: block;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.pc-header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  padding-left: 40px;
  background-color: #FFF;
  display: flex;
  align-items: center;
  z-index: 10;
}
.pc-header img{width: 303px;}


.item {
  opacity: 1;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.item.hide {
  opacity: 0;
}


.header{
    position: fixed;
    top: 0;
    z-index: 20;
}

.kv{
    display: block;
    margin-top: calc(100vh * -10/1386);
    position: relative;
    z-index: 19;
    transform: translateY(0%);
}
.kv.item.hide{
    transform: translateY(-100%);
}


.kv-btn{
    position: absolute;
    width: calc(100% * 290/640);
    top: calc(100% * 400/563);
    left: 50%;
    transform: translateX(-50%);
}
.kv-intro{
    animation: clickEffect 1.2s linear infinite;
    transform-origin: 50% 100%;
}
@keyframes clickEffect {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(1);
  }
  40% {
    transform: scale(.97);
  }
  60% {
    transform: scale(1);
  }
  100% {
    transform: scale(1);
  }
}

.kv-hand{
    position: absolute;
    width: calc(100vw * 70/640);
    top: calc(100% * 170/563);
    left: calc(100% * 560/640);
    animation: hand-slide-in 1.2s linear infinite;
}

@keyframes hand-slide-in {
  0% {
    transform: translate(80%,50%);
    opacity: 0;
  }
  30% {
    transform: translate(0,0);
    opacity: 1;
  }
  40% {
    transform: translate(0,0) scale(.9);
    opacity: 1;
  }
  50% {
    transform: translate(0,0);
    opacity: 1;
  }
  100% {
    transform: translate(0,0);
    opacity: 1;
  }
}

.test{
    position: relative;
    padding-bottom: calc(100% * 600/640);
}

.test-btn{
    position: absolute;
    width: calc(100% * 441/640);
    top: calc(100% * 40/640);
    left: 50%;
    transform: translateX(-50%) scale(1);
    transition-duration: .4s;
}
.test-btn.item.hide{
    transform: translateX(-50%) scale(.001);
}

.test-btn>a{
  display: block;
  position: relative;
  width: calc(100vw * 290/640);
  left: 50%;
  transform: translate(-50%,-50%);

  animation: clickEffect2 1.2s linear infinite;
  transform-origin: 50% 100%;
}
@keyframes clickEffect2 {
  0% {
    transform: translate(-50%,-50%) scale(1);
  }
  10% {
    transform: translate(-50%,-50%) scale(.97);
  }
  20% {
    transform: translate(-50%,-50%) scale(1);
  }
  30% {
    transform: translate(-50%,-50%) scale(.97);
  }
  40% {
    transform: translate(-50%,-50%) scale(1);
  }
  100% {
    transform: translate(-50%,-50%) scale(1);
  }
}

.test-hand{
    display: block;
    pointer-events: none;
    position: absolute;
    width: calc(100vw * 70/640);
    left: 100%;
    top: 50%;
    transform: translate(-50%, -20%);
    animation-delay: .3s;
    animation: hand-click-in 1.2s linear infinite;
}
@keyframes hand-click-in {
  0% {
    transform: translate(-50%, -20%);
  }
  10% {
    transform: translate(-50%, -20%) scale(.9);
  }
  20% {
    transform: translate(-50%, -20%);
  }
  30% {
    transform: translate(-50%, -20%) scale(.9);
  }
  40% {
    transform:translate(-50%, -20%);
  }
  100% {
    transform: translate(-50%, -20%);
  }
}

.deco-1{
    position: absolute;
    width: calc(100% * 281/640);
    top:calc(100% * -90/640);
    left: calc(100% * -57/640);
    transform: translateX(0%);
}
.deco-1.item.hide{
    transform: translateX(-100%);
}

.deco-2{
    position: absolute;
    width: calc(100% * 240/640);
    top:calc(100% * 270/640);
    left: calc(100% * 515/640);
    transform: translateX(0%);
}
.deco-2.item.hide{
    transform: translateX(100%);
}

.bottom-text{
  position: absolute;
  aspect-ratio: 424 / 50;
  width: calc(100% * 424 / 640);
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(100vh * 31 / 1386);
}