.error { color: red; }
body {
    overscroll-behavior-y: none;
    overflow: hidden;
    touch-action: none;
    user-select: none;
    background-color:black;
    -ms-touch-action: none;
}
#ppreview {
    position: relative;
    left: 15px;
}
#lstream {
    position: absolute;
    width: 25%;
    top: 10px;
    left: 30px;
    z-index: 2;
}
#stream {
    position: absolute;
    width: 768px;
    height: 768px;
    top: 300px;
    left: 0px;
    z-index: 5;
}
#panel {
    position: absolute;
    top: 0px;
    right: 10%;
    color: white;
    background-color: black;
    z-index: 2;
}
#stopbtn {
    position: absolute;
    bottom: 20%;
    left: 10%;
    z-index: 2;
}
#finishbtn {
    position: absolute;
    top: 5%;
    right: 10%;
    z-index: 2;
}
#countdown {
    position: absolute;
    top: 10%;
    right: 35%;
    z-index: 3;
    color: #364e96;/*文字色*/
    border: solid 3px #364e96;/*線色*/
    padding: 0.5em;/*文字周りの余白*/
    border-radius: 0.5em;/*角丸*/
    background: #eaf3ff;
}
#zoomin {
    width: 50px;
    height: 50px;
    position: absolute;
    bottom: 10%;
    right: 50px;
    z-index: 2;
}
#zoomout {
    width: 50px;
    height: 50px;
    position: absolute;
    bottom: 10%;
    right: 110px;
    z-index: 2;
}
#processing {
    position: absolute;
    top: 45%;
    left: 45%;
}
#target {
    position: absolute;
    top: 45%;
    left: 45%;
}
#haptics {
    position: absolute;
    top: 15%;
    left: 40%;
}
#charthaptics-wrap {
    position: absolute;
    top: 10%;
    right: -10%;
    width: 200px;
    height: 200px
}
.is-hidden {
    display: none;
}

#statusbar {
    position: fixed;
    top: 0;
    right: 0;
    width: 60%;
    height: 10%;
}

#startbtn {
    position: fixed;
    top: 48%;
    left: 48%;
}

#rangeSlider {
    position: absolute;
    bottom: 20%;
    right: 30%;
    width: 40%;
    z-index: 2;
}

input[type="range"] {
  -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-container {
  background: #000;
}

input[type="range"]::-webkit-slider-runnable-track {
  width: 70%;
  height: 12px;
  background: #000;
  border-radius: 10px;
  border: 1px #fff solid;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 10px;
  width: 70%;
  border-radius: 10px;
  border: 1px #000 solid;
  background: #fff;
}

input[type="range"]:focus {
  outline: rgba(255, 255, 255, 0.2) solid 2px;
}

input[type="range"]:focus::-webkit-slider-runnable-track {
  background: #222;
}


#doubletap{
    width: 40px;
    height: 40px;
    background: transparent;
    border:10px solid #2696E8;
    border-radius: 50%;
    position: absolute;
    visibility: hidden;
   -webkit-pointer-events:none;
    pointer-events:none;
}

@keyframes doubletap{
    0%{
        transform: scale(1);
        opacity: 1;
        filter: blur(1px)
    }
    50%{
        transform: scale(2);
        opacity: 0.2;
        filter: blur(1px)
    }
    100%{
        transform: scale(1);
        opacity: 1;
        filter: blur(1px)
    }
}

#gestureleft_sheen{
  z-index: 999;
  position: fixed;
  bottom: 30%;
  left: 0%;
  width: 150px;
  height: 150px;
  opacity: 0.1;
}

#gestureright_sheen{
  z-index: 999;
  position: fixed;
  bottom: 30%;
  right: 0%;
  width: 150px;
  height: 150px;
  opacity: 0.1;
}

#gestureleft{
  z-index: 999;
  position: fixed;
  background: #2696E8;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  pointer-events: none;
/*  box-shadow: 0 0 80px, 0 0 90px, 0 0 100px; */
  color: #2696E8;
  opacity: 0.6;
  transform: translate(-50%, -50%);
  display: none;
  bottom: 30%;
  left: 20%;
}

@keyframes haptics {
  0%, 40% {
    transform: skew(0deg, 0deg);
  }
  5% {
    transform: skew(5deg, 5deg);
  }
  10% {
    transform: skew(-4deg, -4deg);
  }
  15% {
    transform: skew(3deg, 3deg);
  }
  20% {
    transform: skew(-2deg, -2deg);
  }
  25% {
    transform: skew(1deg, 1deg);
  }
  30% {
    transform: skew(-0.6deg, -0.6deg);
  }
  35% {
    transform: skew(0.3deg, 0.3deg);
  }
}

/*
#gestureleft:before{
  content: '';
  position: absolute;
  background: #2696E8;
  width: 80px;
  height: 80px;
  opacity: 0.2;
  transform: translate(-30%, -30%);
  border-radius: 50%;
}
*/

#gestureright{
  z-index: 999;
  position: fixed;
  background: #2696E8;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  pointer-events: none;
/*  box-shadow: 0 0 80px, 0 0 90px, 0 0 100px; */
  color: #2696E8;
  opacity: 0.6;
  transform: translate(-50%, -50%);
  display: none;
  bottom: 30%;
  right: 0%;
}

/*
#gestureright:before{
  content: '';
  position: absolute;
  background: #2696E8;
  width: 80px;
  height: 80px;
  opacity: 0.2;
  transform: translate(-30%, -30%);
  border-radius: 50%;
}
*/

#gestureleft_tr{
  z-index: 999;
  position: fixed;
  background: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  pointer-events: none;
/*  box-shadow: 0 0 50px, 0 0 70px, 0 0 90px; */
  color: #ffffff;
  opacity: 0.4;
  transform: translate(-50%, -50%);
  display: none;
  bottom: 30%;
  left: 10%;
}

#gestureright_tr{
  z-index: 999;
  position: fixed;
  background: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  pointer-events: none;
/*  box-shadow: 0 0 50px, 0 0 70px, 0 0 90px;*/
  color: #ffffff;
  opacity: 0.4;
  transform: translate(-50%, -50%);
  display: none;
  bottom: 30%;
  right: 10%;
}

/*------------------------------------
  pie chart
------------------------------------*/
@media screen and (min-width: 751px) {
  .pie-chart-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}

.box {
  position: relative;
//  min-width: 200px;
//  width: 33.3333333333%;
//  height: 300px;
//  width: 33.3333333333%;
//  height: 200px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
//  background: #fff;
//  -webkit-box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
//          box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}
@media screen and (max-width: 750px) {
  .box {
    width: 100%;
  }
}
@media screen and (min-width: 751px) {
  .box + .box {
    margin-left: 20px;
  }
}
@media screen and (max-width: 750px) {
  .box + .box {
    margin-top: 20px;
  }
}
.box .percent {
  position: relative;
  width: 110px;
  height: 110px;
}
.box .percent svg {
  position: relative;
  width: 110px;
  height: 110px;
  -webkit-transform: rotate(-90deg);
          transform: rotate(-90deg);
}
.box .percent svg circle {
  position: relative;
  fill: none;
  stroke-width: 10;
  stroke: #f3f3f3;
  stroke-dasharray: 314;
  stroke-dashoffset: 0;
  stroke-linecap: round;
}
.box .percent .number {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: #111;
}
.box .percent .number .title {
  font-size: 50px;
}
.box .percent .number .title span {
  font-size: 22px;
}
.box .text {
  padding: 10px 0 0;
  text-align: center;
  font-weight: bold;
  font-size: 12px;
}
/*
.box .percent .line {
    -webkit-animation: circleAnim 1s forwards;
    animation: circleAnim 1s forwards;
}
*/
.box.blue .percent .line {
//  stroke-dashoffset: 52.8;
  stroke-dashoffset: 240.0;
  stroke: #03a9f4;
}
.box.red .percent .line {
  stroke-dashoffset: 154;
  stroke: #ff3051;
}
.box.green .percent .line {
  stroke-dashoffset: 321.2;
  stroke: #1fd26c;
}

/*
@-webkit-keyframes circleAnim {
  0% {
    stroke-dasharray: 0 440;
  }
  99.9%, to {
    stroke-dasharray: 440 440;
  }
}

@keyframes circleAnim {
  0% {
    stroke-dasharray: 0 440;
  }
  99.9%, to {
    stroke-dasharray: 440 440;
  }
}
*/
