@-webkit-keyframes blink_animation {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes blink_animation {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}




/********************************/
/*
リセット
/***********************/
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: inherit;
  vertical-align: baseline; }

html {
  line-height: 1; }

ol, ul {
  list-style: none; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle; }

q, blockquote {
  quotes: none; }

q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none; }

a, a:hover {
  text-decoration: none; }

a > img, nav > img, li > img, div > img {
  width: 100%;
  height: auto; }

a {
  cursor: pointer;
  text-decoration: none;
  color: #000; }

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block; }

button {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  padding: 0; }

@media screen and (min-width: 769px) {
  .sp_only {
    display: none !important; } }

.clearfix:after {
  content: ".";
  height: 0; }

body {
  position: absolute;
  background-color: #fff;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-size: 16px;
  font-family: "ヒラギノ角ゴシック Pro W3",Hiragino Kaku Gothic Pro,"メイリオ",Meiryo,Osaka,"MS Pゴシック",MS PGothic,sans-serif;
  font-family: 'Roboto', sans-serif;
  overflow: visible; }

body * {
  box-sizing: border-box; }

div, h1, h2, h3, h4, h5, ul, ol, li, dl, dt, dd {
  position: relative; }

h1, h2, h3, h4, h5 {
  margin: 0;
  padding: 0;
  line-height: 1; }

p, div, span {
  margin: 0;
  padding: 0;
  line-height: 1.5; }

ul, ol, li, dl, dt, dd {
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 1; }

img,
a img {
  border: none;
  display: inline-block; }

img {
  width: 100%;
  height: auto; }

h1, h2 {
  font-weight: bold; }

/********************************/

body {
  margin: 0;
  padding: 0;
  
  width: 100%;
  /*position: absolute;
  height: 100%;
  overflow: hidden;*/
}



body.noscroll {
  height: 100%;
  overflow: hidden; 
}



@media screen and (max-aspect-ratio: 1/1){
  /*縦長の時に対応*/
  .wrapper{
   /* border: solid red;*/
  }

  .pc_only {
    display: none !important; }

  .sp_only {
    display: block !important; }

}

@media screen and (min-width: 769px) {
  body {
    font-size: 16px; 
    } 
  }
@media screen and (max-width: 768px) {
  body {
    font-size: 2vw; 
  } 
}




.wrapper {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

main {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

main h1 {
  position: absolute;
  top: 0;
  left: 0;
  visibility: hidden;
}

.canvasframe{
  position: relative;
  height: 100%;
  /*width: calc(100vw - 110px);*/
  width: calc(100vw - 0px);
  margin-left: 0px;
}

.canvasarea {
  position: relative;
  height: 100%;
  background-size: 100% 100%;
  background-size: cover;
  background-position: center;
  width: 100%;
  /*background-image: url(../img/bg.jpg);*/
  
 /* max-height: calc(100% - 110px);*/
  top: 50%;
  transform: translateY(-50%);
}

    



.canvasarea canvas {
  -webkit-transition: opacity 0.6s ease-out;
  -o-transition: opacity 0.6s ease-out;
  transition: opacity 0.6s ease-out;
  display: block;
}

.canvasarea canvas.show {
  opacity: 1;
}

.main__guide {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}


.uibord{
  position: absolute;
  top: 0;right: 0;
  height: 100vh;
  width: 110px;
  background-color: #999;
  padding-top: 50px;
  padding-left: 1em;
}

.uibord__btns{
  display: flex;
  flex-direction: column;
  position: absolute;
  bottom: 5em;
}

.uibord__btn{
  margin-bottom: 1em;
  color: #fff;
  user-select: none;
}

.uibord__btns-set{
  margin-bottom: 2em;
}

.capture-sample{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;left: 0;
  opacity: 0;
  border: solid #e26e32 12px;
  border-radius: 56px;
  transform-origin: 98% 98%;
  display: block;
  overflow: hidden;

  transition: transform 0.6s ease-out,opacity 0.6s ease-out;
}

.capture-sample.compact{
  transform: scale(0.25);
  opacity: 1;
}

.capture-sample.hide{
   opacity: 0;
}

.shutter__area{
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.shutter__top,
.shutter__bottom{
 position: absolute;
  width: 100%;
   top: 0;
  left: 0;
   height: 50%;
   background-color: rgba(0,0,0,0.3);
   transform-origin: left top;
   transform: scaleY(0);
  
}

.shutter__bottom{
  top: auto;
  bottom: 0;
  transform-origin: left bottom;
}

.shutter__area.shoot .shutter__top,
.shutter__area.shoot .shutter__bottom{
   transition: transform 0.15s linear;
   transform: scaleY(100%);
}

.model-change-preloader{
  position: absolute;
  display: block;
  left: 50%;top: 50%;
  width: 40%;
  opacity: 0;
  transform: translate(-50%,-50%);
  transition: opacity .3s ease-out;
  
}

.model-change-preloader.show{
  opacity: 1;
}

.guide-h,
.guide-v{
  position: absolute;
  pointer-events: none;
   top: 0;
   left: 0;
}
.guide-h{
  height: 50%;
  width: 100%;
  /*border-bottom: solid 1px red;*/

}

.guide-v{
  height:100%;
  width: 50%;
  /*border-right: solid 1px red;*/
}

/* header{
  font-weight: 900;
  font-size: 2.5em;
  position: absolute;
  width: 100vw;
  top: 0.3em;
  z-index: 2;
  margin-left: 1em;
} */

.repeat{
  position: absolute;
  bottom: 2em;
  right: 2em;
  width: 15vh;
  cursor: pointer;
}

.discription{
  font-size: 1.15em;
  position: absolute;
  left: 1em;
  top: 5em;
  width: 40%;
}

.discription li{
  margin-bottom: 0.5em;
  line-height: 1.25;
  margin-left: 1em;
  text-indent: -1em;

}

.control{
  width: 28vh;
   position: absolute;
  left: 2.5em;
  bottom: 2em;
}

.control__stop{
  width: 45%;
  cursor: pointer;
}

.control__play{
   width: 45%;
   cursor: pointer;
}

@media screen and (max-aspect-ratio: 1/1){
  /*縦長の時に対応*/

   body{
    font-size: 1.8vw; 
  } 

  /* header{
    font-size: 4.7em;
    line-height: 1.2;
  } */
  .canvasframe{
  height: 100vw;
   top: 50%;
   transform: translateY(-50%);
 
  }

  .discription{
    top: 7.5em;
     font-size: 2em;
     width: 60%;
  }

  .repeat{
    position: absolute;
    bottom: 2em;
    right: 2em;
    width: 15vw;
  }

  .control{
    width: 30vw;
  }
}

.song-area{
  position: absolute;
  width: 100%;
  left:50%;
  transform: translate(-50%,0);
  top:8vh;
  text-align: center;
}


.song-area [class^="song__"]{
  font-family: 'Roboto';
  font-style: italic;
  font-weight: bold;
  font-size: 2.8em;
  text-align: center;
}

@media screen and (min-aspect-ratio: 1.5/1){
  .song-area{
    top:12vh;
  }
  .song-area [class^="song__"]{
   font-size: 2.2em; 
  }
  .song-area [class^="song__"] br{
    display: none;
  }
}



@media screen and (min-aspect-ratio: 2.5/1){
  .song-area{
    top:8vh;
  }
  .song-area [class^="song__"]{
   font-size: 1.2em; 
  }

  .song-area [class^="song__"] br{
    display: none;
  }
}



@media screen and (max-aspect-ratio: 1/1){
  /*縦長の時に対応*/

  .wrapper{
   /*  height: auto; */
  }

  main{
    height: 100%;
  }

  .song-area{
    top:18vh;
  }
  .song-area [class^="song__"]{
    font-size: 4em;
  } 
}



.song__1,
.song__2,
.song__3,
.song__4,
.song__5{
  visibility: hidden;
  position: absolute;
  display: inline-block;
  width: 100%;
  top:0;left: 0;
}



.song__1{
  position: relative;
}

.song__1.show,
.song__2.show,
.song__3.show,
.song__4.show,
.song__5.show{
  visibility:visible;
}

.songline-guide{
  visibility: hidden;
}

.songline{
  display: inline-block;
}

.songline:nth-child(3) .songline-clip{
  transition-delay: 1.4s;
}



.songline-clip{
  position: absolute;
  overflow: hidden;
  transition: width 1.6s ease-out;
  width: 0%;
 
  top:0;
}

.show .songline-clip{
  width: 100%;

}

.song__3 .songline-clip{
  transition-delay: 0s;
  transition-duration:0.4s;
}

.song__2 .songline-clip{
  transition-duration:1.2s;
}

.song__2 .songline:nth-child(3) .songline-clip{
  transition-delay: 1.2s;
}

.song__4 .songline-clip{
  transition-duration:1.2s;
}
.song__5 .songline-clip{
  transition-duration:0.8s;
}

.song__4 .songline:nth-child(3) .songline-clip{
  transition-delay: 1.0s;
}
.song__5 .songline:nth-child(3) .songline-clip{
  transition-delay: 0.8s;
}

.show .songline-clip{
  width: 100%;
}

.songline-inner{
  white-space: nowrap;
  
}
