html {
  font-size: 62.5%;
}

body {
  color: #333;
  font-size: 1.2rem;
  font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  position: relative;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
}

body.modal-open {
  position: fixed;
}

#header_container {
  width: 100%;
  background-color: #0091ea;
  color: #fff;
  position: absolute;
  top: 0;
  z-index: 999;
}

#header_container h1 {
  margin: 0;
  text-align: center;
  font-weight: normal;
  height: 50px;
  line-height: 50px;
}

#page_container {
  width: 100%;
  height: calc(100% - 50px);
  padding-top: 50px;
  text-align: center;
  display: flex;
  flex-flow: column;
  align-content: center;
  justify-content: center;
  position: relative;
}

/* .full-height-container {
  height: calc(100% - 50px);
} */

#page_container .page-title {
  font-size: 2.0rem;
  height: 40px;
  margin: 40px auto 0;
}

#page_container .page-title:after {
  content: "";
  display: block;
  margin: 0 auto;
  width: 100px;
  padding-top: 5px;
  border-bottom: #0091ea 1px solid;
}

#page_container .page-description {
  font-size: 1.5rem;
  margin-bottom: 0;
}

#page_container .content-area {
  flex-grow: 1;
  display: flex;
  flex-flow: column;
  margin-top: 40px;
  width: 100%;
}

#page_container .content-area.overflow-y {
  margin: 10px auto 0;
  overflow-y: auto;
  width: 90%;
  -webkit-overflow-scrolling: touch;
  display: block;
}

#page_container .content-area.bordered {
  border: #b0bec5 1px solid;
  box-shadow: inset 0 0 2px #000000;
}

#page_container .content-area.justify-center {
  margin-top: 0;
  justify-content: center;
}

#page_container .content-area .login {
  margin-bottom: 100px;
}

#page_container .section-title {
  margin: 0 auto 20px;
  font-size: 1.7rem;
}

#page_container .content-area .input {
  display: block;
  width: 70%;
  max-width: 500px;
  height: 30px;
  margin: 20px auto 0;
  background-color: whitesmoke;
  border: none;
  border-bottom: grey solid 1px;
  border-radius: 5px 5px 0 0 / 5px 5px 0 0;
  padding: 5px;
}

#page_container .content-area .input.select {
  box-sizing: content-box;
}

#page_container .tutorial-section {
  text-align: left;
  width: 85%;
  margin: auto;
  max-width: 500px;
}

#page_container .tutorial-section-title {
  font-size: 1.5rem;
  border-left: #0064b7 5px solid;
  padding-left: 10px;
}

#page_container .tutorial-section-content {
  padding-left: 30px;
}

#page_container .tutorial-section-content li>ul {
  list-style-type: none;
  padding-left: 15px;
}

#page_container .tutorial-section-content li>ul>li::before {
  content: '- ';
}

#page_container .result-item {
  display: flex;
  width: 90%;
  margin: 10px auto 0;
  padding: 7px;
  background-color: #e1f5fe;
  position: relative;
  box-shadow: 0px 2px 1px -1px rgba(0,0,0,0.6);
}

#page_container .result-item:nth-child(odd) {
  background-color: #e6ffff;
}

#page_container .result-item .thumbnail {
  width: 90px;
  height: 90px;
  background-color: #002f6c;
}

#page_container .result-item .result-info {
  text-align: left;
  margin-left: 10px;
}

#page_container .result-item .result-info .timestamp {
  font-size: 1.2rem;
}

#page_container .result-item .result-info .status {
  font-size: 1.0rem;
}

#page_container .result-item .arrow {
  height: 100%;
  width: 20px;
  position: absolute;
  top: 0;
  right: 0;
}

#page_container .result-item .arrow::after {
  display: block;
  content: '';
  border-top: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 7px solid #0064b7;
  height: 0;
  position: absolute;
  left: 5px;
  top: 0;
  bottom: 0;
  margin: auto;
}

#page_container .button-area {
  width: 80%;
  max-width: 500px;
  /* height: 50px; */
  min-height: 50px;
  margin: 20px auto;
  display: flex;
  justify-content: center;
  padding: 5px;
  flex-wrap: wrap;
}

#page_container .common-button {
  margin: 5px;
  flex-grow: 1;
  height: 50px;
  border-radius: 10px;
  font-size: 1.5rem;
}

#page_container .back-button {
  background-color: #fff;
  border: grey solid 1px;
  color: black;
  flex: 2;
}

#page_container .next-button {
  background-color: #0091ea;
  border: none;
  color: white;
  flex: 2;
}

#page_container .list-button {
  background-color: #fff;
  border: grey solid 1px;
  color: black;
}

#camera-container, #camera--view, #camera--sensor, #camera--output {
  width: 100%;
  height: 100%;
  position: fixed;
  object-fit: cover;
}

#camera--output {
  z-index: 0;
}

#camera-container {
  z-index: 0;
  text-align: initial;
}

#camera--view, #camera--sensor {
  z-index: 1;
}

#camera--trigger{
  width: 200px;
  height:200px;
  background-color: #888;
  color: white;
  font-size: 16px;
  border-radius: 100px;
  border: solid 1px #888;
  padding: 15px 20px;
  text-align: center;
  /*
  box-shadow: 0 5px 10px 0 rgba(0,0,0,0.2);
  */
  position: fixed;
  bottom: 30px;
  left: calc(50% - 100px);
  z-index: 2;
  text-indent: -10000px;
  /*
  opacity:0.5;
  */
}

.indicator {
  background-color: #537dc2;
  position: absolute;
  z-index: 2;
}

#v-indicator {
  width: 10px;
  height: 100%;
  top: 0;
  bottom: 0;
}

#h-indicator {
  width: 100%;
  height: 10px;
  left: 0;
  right: 0;
}

#c-indicator {
  width: 30px;
  height: 30px;
  border-radius: 15px;
  background-color: red;
  position: absolute;
  -webkit-transform: translate(-50%, -50%);
  -webkit-transition: background-color 0.3s ease-in-out;
  z-index: 2;
}

#v-refference {
  width: 0;
  height: 100%;
  border-left: 5px dotted white;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  z-index: 2;
}

#h-refference {
  width: 100%;
  height: 0px;
  border-bottom: 5px dotted white;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 2;
}

#guideline-front {
  position: absolute;
  height: 95%;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 2;
}

#guideline-side {
  position: absolute;
  height: 95%;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  display: none;
  z-index: 2;
}

.blocked {
  display: block;
}

.image-flick-container {
  max-width: 90vw;
  max-height: 70vh;
  margin: 0 auto;
  scroll-snap-type: x mandatory;
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.image-flick-container>#front-image {
  display: inline-block;
  max-width: 100%;
  max-height: 100%;
  scroll-snap-align: start;
  object-fit: cover;
}

.image-flick-container>#side-image {
  display: inline-block;
  max-width: 100%;
  max-height: 100%;
  scroll-snap-align: start;
  margin-left: 10px;
  object-fit: cover;
}

.image-horizontal-container {
  display: flex;
  max-width: 90vw;
  max-height: 40vh;
  margin: 0 auto;
  justify-content: space-between;
}

.image-horizontal-container>#front-image {
  width: 48%;
  object-fit: contain;
}

.image-horizontal-container>#side-image {
  width: 48%;
  object-fit: contain;
}

.content-description {
  margin: 20px auto 0;
  font-size: 1.4rem;
}

.bold {
  font-weight: bold;
  font-size: 1.4rem;
}

.mt-0 {
  margin-top: 0;
}

#modal-spinner-container {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.5);
  z-index: 1000;
}

#modal-spinner-message {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 10px;
  margin: 0 auto;
  font-size: 1.0rem;
  line-height: 20px;
}

#modal-spinner {
  background-color: white;
  border-radius: 20px;
  display: inline-block;
  position: fixed;
  width: 128px;
  height: 128px;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}

#modal-spinner div {
  transform-origin: 64px 48px;
  animation: modal-spinner 1.2s linear infinite;
}

#modal-spinner div:after {
  content: " ";
  display: block;
  position: absolute;
  top: 30px;
  left: 62px;
  width: 3px;
  height: 10px;
  border-radius: 20%;
  background: #000;
}

#modal-spinner div:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: -1.1s;
}

#modal-spinner div:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -1s;
}

#modal-spinner div:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -0.9s;
}

#modal-spinner div:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.8s;
}

#modal-spinner div:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.7s;
}

#modal-spinner div:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.6s;
}

#modal-spinner div:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.5s;
}

#modal-spinner div:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.4s;
}

#modal-spinner div:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.3s;
}

#modal-spinner div:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.2s;
}

#modal-spinner div:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.1s;
}

#modal-spinner div:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: 0s;
}

@keyframes modal-spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.basic-table {
  width: 80%;
  max-width: 500px;
  margin: 20px auto 0;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 1.4rem;
  line-height: 4.0rem;
}

.basic-table th {
  border-left: 1px solid #3c6690;
  border-top: 1px solid #3c6690;
  border-bottom: 1px solid #3c6690;
}

.basic-table th:last-child{
  border-right: 1px solid #a8b7c5;
}

.basic-table td {
  border-left: 1px solid #3c6690;
  border-top: 1px solid #3c6690;
  border-bottom: 1px solid #3c6690;
}

.basic-table td:last-child{
  border-right: 1px solid #a8b7c5;
}
