@-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:1.333vw;
  } 
}

@media screen and  (min-width:1200px){
   
    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: 100%;
  height: 100%;
  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;
}


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

.message{
  position:absolute;
  left:2em;
  top:1em;
  font-size:1.15em;
  z-index:1;
}


.ui{
  position:absolute;
  bottom:0;
  width:100%;
  display:flex;
  justify-content:space-between;
  height: 2.5em;
  bottom: 0.5em;
  font-size:1.125em;
  user-select: none;
  display:none;
}


.scaleslider{
  position:relative;
  width:25%;
  margin-left: 3em;
  top: -0.5em;
  
}

.scaleslider__bar{

  position:absolute;
  width:90%;
  height:0.4em;
  background-color:darkgray;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
}

.scaleslider__button{
  position:absolute;
  top:45%;
  transform:translateY(-50%);
  width:1em;
  height:1.8em;
  top:50%;
  width:0.75em;
  height:1.4em;
  background-color:gray;
  border-radius:0.25em;
  left:5%;
  left:calc(5% + 45% - 0.375em);
}

.scaleslider_discription{
  position:absolute;
  bottom:2.5em;
  text-align: center;
  width: 100%;
}

.scaleslider_discription p{
  line-height: 1;
  margin-bottom: -1.05em;
  letter-spacing: 0.075em;
}

.scaleslider_discription .notice{
  font-size: 0.7em;
  visibility:hidden;
}

.spacebtns{
  width:24%;
  display:flex;
  justify-content:space-between;
  padding-top: 1em;
  padding-right: 2em;
  right: 2em;
}

.spacebtns_discription{
  position:absolute;
  bottom:3.25em;
  text-align: center;
  width: 100%;
  padding-right: 1.75em;
  letter-spacing: 0.05em;
}

.spacebtn{
  width:6em;
  line-height:1;
  text-align:center;
  padding: 0.1em;
  user-select: none;
  letter-spacing:0.1em;
  font-size:0.8em
}




.spacebtn:before{
  content:"";
  background-color:darkgray;
  position:absolute;
  top:-1.4em;
  left:50%;
  transform:translateX(-50%);
  width:1.2em;
  height:1.2em;
  border-radius:0.6em;
}

.spacebtn.active:before{
  background-color:rgb(65, 248, 3);
}

.scaleslider__button-inner{
  display:none;
}



@media screen and (max-aspect-ratio:1){
  .message{
    font-size: 2.2em;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
  }

  .ui{
    flex-direction: column;
    font-size: 2.2em;
    padding:0 5%;
    height: 21vw;
    bottom:1em;
  }
  .scaleslider {
    width: 85%;
    margin-left:auto;
    margin-right:auto;
    margin-left:auto;
    margin-bottom:2em;
  }

  .scaleslider_discription{
    bottom: 0em;
  }

  .scaleslider_discription p {
    margin-bottom: -0.35em;
  }

  .spacebtns {
    width:82%;
    left: 50%;
    right: auto;
    padding:0 0.5em;
    transform: translateX(-50%);
  }

  .spacebtns_discription{
    margin-bottom: -1.5em;
    padding: 0;
    padding-right: 0.5em;
  }

  .spacebtn{
    border:solid 1px;
    border-radius:1em;
    line-height:1.5;
    width: 5em;
  }

  .spacebtn:first-child,
  .spacebtn:last-child{
    letter-spacing:0.04em;
  }

  .spacebtn span{
    display:none;
  }

  .spacebtn.active{
    border-color: rgb(65, 248, 3);
    background-color: rgb(65, 248, 3);
  }

  .spacebtn:before {
      display:none;
  }

  .canvasarea {
    top:48%;
  }

  .scaleslider__button-inner{
    display:block;
    position:absolute;
    background-color:rgba(255,0,0,0.0);
    width:260%;
    height:120%;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
  }
  

}
