@-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;
  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; }

@media screen and (max-width: 768px) {
  
  .pc_only {
    display: none !important; }

  .sp_only {
    display: block !important; } }
/********************************/

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


@media screen and (min-width: 769px) {
  body {
    font-size: 16px; 
    } 
  }
@media screen and (max-width: 768px) {
  body {
    font-size: 2vw; 
    } 
  }
body.noscroll {
  height: 100%;
  overflow: hidden; 
}




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

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);*/

  /* width: 80%;
  height: 80%; */
  top: 50%;
  left: 50%;
  transform: translateX(-50%) 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;
  /*border: solid 1px red;*/
}

.canvasarea canvas.show {
  opacity: 1;
}



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




.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;*/
}

.textbox{
  position: absolute;
  /* width: 100%;
  max-width: 668px; */
  left:50%;
  top:50%;
  transform: translate(-50%,-360%);
}

.dummy-text{
  position: relative;
  visibility:hidden;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2em;
  white-space: nowrap;
}

.textClip{
  position: absolute;
  width: 0%;height: 100%;
  overflow: hidden;
  transition:width 1s ease-in-out;
}

.textClip.open{
  width: 100%;
}

.textClip.notransition{
  transition:none;

}

.scene1,
.scene2,
.scene3,
.scene4{
  position: absolute;
  width: 100%;height: 100%;
  left:0;top:0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.8em;
  ;text-align: center;
  white-space: nowrap;
  visibility: hidden;

}

.scene1.show,
.scene2.show,
.scene3.show,
.scene4.show{
  visibility: visible;
}

@media screen and (max-width: 768px){
  .dummy-text,
  .scene1,
  .scene2,
  .scene3,
  .scene4{
    font-size: 3em;
  }

  .canvasarea {
    width: 100%;
  }

}

@media screen and (max-aspect-ratio: 1/1){
  .textbox{
    transform: translate(-50%,-500%);
  }
}
