@charset "UTF-8";
header .img-mark {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 50px;
}
header button {
  top: 2px;
  right: 10px;
}

#sidebar {
  position: sticky;
  top: 50px;
  max-height: calc(100vh - 50px);
  overflow: scroll;
}
#sidebar .nav-item-parent:before {
  content: "▶︎";
  vertical-align: middle;
  font-size: 0.8rem;
  transition: 0.5s;
}
#sidebar .nav.show .nav-item-parent:before {
  content: "▽";
  vertical-align: middle;
  font-size: 0.8rem;
}
#sidebar .nav-link {
  color: #333;
}
#sidebar .nav-link.active {
  color: #2470dc;
  border: 1px solid #2470dc;
  border-radius: 0.2em;
}
#sidebar i {
  font-size: 0.8em;
  padding-top: 0.1em;
  padding-right: 0.2em;
}

.bg-app {
  background: #5efefd;
}

.bg-app:hover {
  background: #5ed1fe;
}

.bg-dock {
  background: #5efefd;
}

.bg-dock:hover {
  background: #5ed2fe;
}

.container h1 {
  font-size: 1.6rem;
}

.btn-panel {
  width: 100%;
  min-height: 10em;
}
.btn-panel p {
  font-size: 2rem;
}

.btn-panel-h {
  min-height: 5em;
}
.btn-panel-h p {
  font-size: 1.2rem;
}

.form-bordred {
  border: 1px solid silver;
}

.container-form h1 {
  font-size: 1.4rem;
}
.container-form h3 {
  font-size: 1.1rem;
  padding-top: 0.5rem;
}
.container-form .bordered {
  border: 1px solid #333;
  border-radius: 4px;
  padding: 1rem;
}
.container-form .cus-name {
  font-size: 1.2rem;
}
.container-form label {
  font-weight: bold;
}
.container-form .h-01 {
  height: 6em;
}
.container-form th small {
  font-size: 10px;
}
.container-form table .th-vertical {
  width: 2rem;
  -ms-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
}
.container-form table .header {
  width: 6rem;
}
.container-form .list-group-item span {
  width: 8em;
}
.container-form .info-date {
  width: 40%;
}

#debug {
  position: fixed;
  top: 0;
  left: 0;
}

.container-signature img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  border: 1px solid #333333;
}

canvas {
  outline: 2px solid #333333;
}

#signature {
  border: 1px solid #333333;
  width: 100%;
  height: 100%;
  margin-top: 0px;
  position: absolute;
  top: 0px;
  left: 0px;
}

#signature-box {
  position: fixed;
  z-index: 2000;
  background: rgb(255, 255, 255);
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
}

.nav-signature {
  position: absolute;
  bottom: 10px;
  left: 5%;
  width: 90%;
  text-align: center;
  border-radius: 4px;
}

.btn-active {
  border: 6px solid #ff9d00 !important;
}

.btn-color {
  border: 2px #a0a0a0 solid;
}

#btn-signature-clear {
  display: block;
  margin: 0px auto;
}

#signature-preview {
  width: 280px;
  height: 140px;
  outline: 1px solid silver;
}

.img-signature {
  width: 80px;
  height: auto;
  border: 2px solid silver;
  border-radius: 2px;
}

#illust {
  display: block;
  max-width: 50%;
  width: auto;
  height: auto;
  margin: 20px auto;
}

.result-info {
  position: absolute;
  border: 1px solid silver;
  border-radius: 4px;
  background: #fff;
  font-size: 28px;
  padding: 4px;
}
.result-info .badge-1 {
  color: #dd0000;
}
.result-info .badge-2 {
  color: #111;
}
.result-info .badge-NA {
  color: #a0a0a0;
}
.result-info .result-customer-name {
  border-bottom: 1px solid silver;
}

.info-NA {
  color: #a0a0a0;
}

#result h2 {
  line-height: 1;
}

.box-comment {
  padding: 1rem;
  border: 1px solid silver;
  border-radius: 0.5rem;
}
.box-comment p {
  font-size: 1.8rem;
}

@media print {
  header {
    opacity: 0;
  }
  #result-cap {
    display: none;
  }
}
/* スマホ */
@media screen and (max-width: 428px) {
  .container-form .h-01 {
    height: 12em;
  }
}
/* タブレット */
@media only screen and (min-width: 429px) and (max-width: 1024px) {
  .container-form .h-01 {
    height: 12em;
  }
}
/* パソコン */
@media screen and (min-width: 1024px) {
  .container-form .h-01 {
    height: 8em;
  }
}
