.sticky-table {
  table-layout: fixed;
  display: block;
  position: relative;
  overflow: scroll;
  height: calc(100vh - 100px);
  font-size: 0;
}
.sticky-table thead,
.sticky-table tbody {
  display: block;
  background: #fff;
}
.sticky-table th,
.sticky-table td {
  font-size: 14px;
}
.sticky-table tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
}
.sticky-table thead {
  position: sticky;
  top: 0;
  z-index: 2;
}
.sticky-table thead tr {
  width: 100%;
}
.sticky-table thead th {
  background: #fff;
}
.sticky-table tbody td input[type=checkbox] {
  -webkit-transform: scale(1.6);
          transform: scale(1.6);
}
.sticky-table tbody th {
  padding-top: 2px;
  padding-bottom: 2px;
}
.sticky-table[data-sticky=order] thead tr th:first-child,
.sticky-table[data-sticky=order] tbody tr td:first-child {
  width: 5%;
}
.sticky-table[data-sticky=order] thead tr th:nth-child(2),
.sticky-table[data-sticky=order] tbody tr td:nth-child(2) {
  width: 10%;
}
.sticky-table[data-sticky=order] thead tr th:nth-child(3),
.sticky-table[data-sticky=order] tbody tr td:nth-child(3) {
  width: 8%;
}
.sticky-table[data-sticky=order] thead tr th:nth-child(4),
.sticky-table[data-sticky=order] tbody tr td:nth-child(4) {
  width: 12%;
}
.sticky-table[data-sticky=order] thead tr th:nth-child(5), .sticky-table[data-sticky=order] thead tr th:nth-child(6), .sticky-table[data-sticky=order] thead tr th:nth-child(7), .sticky-table[data-sticky=order] thead tr th:nth-child(8), .sticky-table[data-sticky=order] thead tr th:nth-child(9), .sticky-table[data-sticky=order] thead tr th:nth-child(10), .sticky-table[data-sticky=order] thead tr th:nth-child(11), .sticky-table[data-sticky=order] thead tr th:nth-child(12), .sticky-table[data-sticky=order] thead tr th:nth-child(13), .sticky-table[data-sticky=order] thead tr th:nth-child(14), .sticky-table[data-sticky=order] thead tr th:nth-child(15), .sticky-table[data-sticky=order] thead tr th:nth-child(16), .sticky-table[data-sticky=order] thead tr th:nth-child(17),
.sticky-table[data-sticky=order] tbody tr td:nth-child(5),
.sticky-table[data-sticky=order] tbody tr td:nth-child(6),
.sticky-table[data-sticky=order] tbody tr td:nth-child(7),
.sticky-table[data-sticky=order] tbody tr td:nth-child(8),
.sticky-table[data-sticky=order] tbody tr td:nth-child(9),
.sticky-table[data-sticky=order] tbody tr td:nth-child(10),
.sticky-table[data-sticky=order] tbody tr td:nth-child(11),
.sticky-table[data-sticky=order] tbody tr td:nth-child(12),
.sticky-table[data-sticky=order] tbody tr td:nth-child(13),
.sticky-table[data-sticky=order] tbody tr td:nth-child(14),
.sticky-table[data-sticky=order] tbody tr td:nth-child(15),
.sticky-table[data-sticky=order] tbody tr td:nth-child(16),
.sticky-table[data-sticky=order] tbody tr td:nth-child(17) {
  width: 5%;
}
.sticky-table[data-sticky=order-edit] thead tr th:first-child,
.sticky-table[data-sticky=order-edit] tbody tr td:first-child {
  width: 5%;
}
.sticky-table[data-sticky=order-edit] thead tr th:nth-child(2),
.sticky-table[data-sticky=order-edit] tbody tr td:nth-child(2) {
  width: 30%;
}
.sticky-table[data-sticky=order-edit] thead tr th:nth-child(3),
.sticky-table[data-sticky=order-edit] tbody tr td:nth-child(3) {
  width: 10%;
}
.sticky-table[data-sticky=order-edit] thead tr th:nth-child(4),
.sticky-table[data-sticky=order-edit] tbody tr td:nth-child(4) {
  width: 30%;
}
.sticky-table[data-sticky=order-edit] thead tr th:nth-child(5),
.sticky-table[data-sticky=order-edit] tbody tr td:nth-child(5) {
  width: 5%;
}
.sticky-table[data-sticky=order-edit] thead tr th:nth-child(6),
.sticky-table[data-sticky=order-edit] tbody tr td:nth-child(6) {
  width: 5%;
}
.sticky-table[data-sticky=order-edit] thead tr th:nth-child(7),
.sticky-table[data-sticky=order-edit] tbody tr td:nth-child(7) {
  width: 10%;
}
.sticky-table[data-sticky=order-edit] thead tr th:nth-child(8),
.sticky-table[data-sticky=order-edit] tbody tr td:nth-child(8) {
  width: 5%;
}
.sticky-table[data-sticky=work] thead tr th:first-child,
.sticky-table[data-sticky=work] tbody tr td:first-child {
  width: 5%;
}
.sticky-table[data-sticky=work] thead tr th:nth-child(2),
.sticky-table[data-sticky=work] tbody tr td:nth-child(2) {
  width: 10%;
}
.sticky-table[data-sticky=work] thead tr th:nth-child(3),
.sticky-table[data-sticky=work] tbody tr td:nth-child(3) {
  width: 5%;
}
.sticky-table[data-sticky=work] thead tr th:nth-child(4),
.sticky-table[data-sticky=work] tbody tr td:nth-child(4) {
  width: 10%;
}
.sticky-table[data-sticky=work] thead tr th:nth-child(5),
.sticky-table[data-sticky=work] tbody tr td:nth-child(5) {
  width: 5%;
}
.sticky-table[data-sticky=work] thead tr th:nth-child(6),
.sticky-table[data-sticky=work] tbody tr td:nth-child(6) {
  width: 10%;
}
.sticky-table[data-sticky=work] thead tr th:nth-child(7),
.sticky-table[data-sticky=work] tbody tr td:nth-child(7) {
  width: 5%;
}
.sticky-table[data-sticky=work] thead tr th:nth-child(8),
.sticky-table[data-sticky=work] tbody tr td:nth-child(8) {
  width: 15%;
}

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  word-break: break-all;
}

html {
  overflow-x: hidden;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  margin: 0;
  color: #222222;
  position: relative;
  width: 100%;
  overflow-x: hidden;
}

h2 span {
  font-size: 16px;
  font-weight: normal;
}

p {
  -webkit-margin-before: 0;
          margin-block-start: 0;
}

dd {
  margin-left: 0;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

a,
button {
  cursor: pointer;
}
a:hover,
button:hover {
  opacity: 0.7;
}
a.not-btn,
button.not-btn {
  display: inline-block;
  width: auto;
  background-color: transparent;
  border: none;
}

td.amount {
  text-align: right;
}

.nav-item button {
  position: relative;
  width: calc(250px - 1rem);
  -webkit-transition: width ease-in-out 0.3s;
  transition: width ease-in-out 0.3s;
  white-space: nowrap;
  margin-bottom: 0.2rem;
  color: #c2c7d0;
  text-decoration: none;
  text-align: left;
  padding: 0.5rem 1rem;
}
.nav-item:hover button {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

@-webkit-keyframes fadeOut {
  0% {
    opacity: 1;
    z-index: 1000;
  }
  50% {
    opacity: 1;
    z-index: 1000;
  }
  100% {
    opacity: 0;
    z-index: -1;
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
    z-index: 1000;
  }
  50% {
    opacity: 1;
    z-index: 1000;
  }
  100% {
    opacity: 0;
    z-index: -1;
  }
}
@media all {
  form {
    display: inline;
  }
  input[type=text], input[type=tel], input[type=email], input[type=password] {
    width: 100%;
    padding: 6px 13px;
    border: 1px solid #ccc;
  }
  input[type=date], input[type=time] {
    width: 45%;
    padding: 6px 13px;
    border: 1px solid #ccc;
  }
  textarea {
    width: 100%;
    padding: 6px 13px;
    border: 1px solid #ccc;
    min-height: 120px;
  }
  .alert {
    padding: 5px 10px;
    background-color: #ffdddd;
    color: #C13333;
    font-size: 12px;
    margin-top: 5px;
  }
  .alert-success {
    background-color: #E3F5DF;
    color: #0E6802;
    width: 500px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    text-align: center;
  }
  .alert-parent {
    text-align: center;
    padding: 10px 20px;
    font-size: 14px;
    margin-bottom: 30px;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
  label.select-arrow {
    position: relative;
    margin-bottom: 0;
  }
  label.select-arrow::after {
    display: block;
    content: "";
    position: absolute;
    top: 15px;
    right: 13px;
    width: 8px;
    height: 8px;
    border-right: 2px solid #979797;
    border-bottom: 2px solid #979797;
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
    pointer-events: none;
  }
  label.select-arrow--fake::after {
    border-right-color: #f1f1f1;
    border-bottom-color: #f1f1f1;
  }
  label.select-arrow select {
    position: relative;
    cursor: pointer;
    border: 1px solid #ccc;
    padding: 6px 40px 6px 13px;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
  }
  label.select-arrow select:hover {
    opacity: 0.7;
  }
}
@media all {
  .ajaxing {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
    text-align: center;
  }
  .ajaxing.show {
    display: block;
  }
  .ajaxing__block {
    display: table;
    width: 100%;
    height: 100%;
    position: relative;
  }
  .ajaxing__box {
    display: table-cell;
    width: 100%;
    vertical-align: middle;
  }
  .ajaxing__box__body {
    padding: 10px;
    color: #999;
    text-align: center;
    font-size: 30px;
  }
  .ajaxing__box__icon {
    font-size: 80px;
  }
  .ajaxing__box__icon .fa {
    color: #999;
  }
  .ajaxing__cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1100;
  }
  .ajaxing__upload-box {
    width: 100%;
    margin: 0 auto 10px;
    text-align: center;
  }
  .ajaxing__upload-box__drag-area {
    border: 4px dashed #ccc;
    border-radius: 10px;
    margin-bottom: 10px;
    position: relative;
  }
  .ajaxing__upload-box__btn-input {
    margin-bottom: 20px;
  }
  .ajaxing__upload-box__fake-input {
    display: none !important;
  }
  .ajaxing__upload-box__drag-enter {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #fff;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
  }
  .ajaxing__upload-box__drag-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 11;
    display: none;
  }
  .ajaxing__upload-box__uploaded-data {
    padding: 6px 12px;
    border: 1px solid #ccc;
  }
  .ajaxing__upload-box__uploaded-data__body {
    display: inline-block;
    text-align: left;
    margin: 0;
    font-size: 88%;
    padding: 6px 12px;
    margin-bottom: 10px;
  }
  .ajaxing__upload-box__uploaded-data__filenames {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .ajaxing__upload-box__uploaded-data__filename {
    margin: 5px;
    width: 100%;
    margin-bottom: 10px;
    padding: 20px 30px;
    border-radius: 10px;
    border: 1px solid #ccc;
    background-color: #f5f5f5;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    position: relative;
  }
  .ajaxing__upload-box__uploaded-data__filename[data-detail-page="1"] {
    margin-left: 0;
  }
  .ajaxing__upload-box__uploaded-data__filename::before {
    content: "\f15b";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #ccc;
    font-size: 20px;
    margin-right: 10px;
    margin-left: -10px;
  }
  .ajaxing__upload-box__uploaded-data__filename__body {
    display: inline-block;
    margin-right: 20px;
    text-align: center;
  }
  .ajaxing__upload-box__uploaded-data__filename__removable {
    position: absolute;
    right: 20px;
  }
  .ajaxing__upload-box__uploaded-data__filename__removable a {
    color: #999;
  }
  .ajaxing__upload-box__uploaded-data__filename__removable a:hover {
    color: #333;
  }
  .ajaxing__upload-box__uploaded-data__filename__removable i {
    font-size: 20px;
  }
  .ajaxing__upload-box__body {
    color: #999;
    text-align: center;
    font-size: 16px;
  }
  .ajaxing__upload-box__icon {
    font-size: 20px;
  }
  .ajaxing__upload-box__icon .fa {
    color: #999;
  }
  .ajaxing__upload-thumbnail {
    width: 200px;
    height: 200px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    border: 1px solid #ddd;
  }
}
@media (max-width: 767px) {
  .ajaxing__upload-box__drag-area, .ajaxing__upload-box__drag-enter {
    padding: 40px 0;
  }
}
@media (min-width: 768px) {
  .ajaxing__upload-box__drag-area {
    line-height: 100px;
  }
}
@media all {
  .login {
    height: 100vh;
    position: relative;
  }
  .login__header {
    background-color: #343a40;
  }
  .login__header * {
    color: #ffffff;
  }
  .login__header__logo {
    padding: 10px;
  }
  .login__header__logo__img {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    display: block;
  }
  .login__header__title {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    padding: 13px 0;
  }
  .login__block {
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 10px;
    padding-right: 10px;
  }
  .login__title {
    text-align: center;
    padding: 60px 0 20px;
    font-size: 18px;
    font-weight: bold;
    color: #979797;
  }
  .login__form {
    padding: 40px 20px;
    border-radius: 10px;
    -webkit-box-shadow: 0 1px 4px #ccc;
            box-shadow: 0 1px 4px #ccc;
  }
  .login dl {
    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;
    margin-bottom: 30px;
  }
  .login dt {
    font-size: 14px;
    color: #343a40;
    margin-right: 20px;
    width: 20%;
  }
  .login dd {
    margin-bottom: 0;
    width: 50%;
  }
  .login__submit {
    text-align: center;
  }
  .login__forget {
    padding-top: 15px;
    text-align: center;
  }
  .login__forget a {
    color: #4A90EC;
    font-size: 14px;
  }
  .login__footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    font-size: 12px;
    padding: 5px;
  }
  .login__footer p {
    margin: 0;
  }
}
.order__search-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  margin-bottom: 10px;
}
.order__search-box input {
  max-width: 600px;
}
.order__view th, .order__view td {
  border-color: #fff;
  font-size: 14px;
}
.order__view thead tr.order-column th {
  font-size: 14px;
}
.order__view tbody tr.hide {
  display: none;
}
.order__view tbody tr.order-value td {
  background-color: #d6f2bf;
}
.order__view tbody tr.estimate-column th {
  font-weight: bold;
  text-align: center;
  font-size: 12px;
  background-color: #d5f4ff;
}
.order__view tbody tr.estimate-value td {
  background-color: #d5f4ff;
}
.order__view tbody tr.estimate-value td.no-estimate {
  background-color: #ffdcdc;
}
.order__view tbody tr.estimate-total td {
  font-size: 12px;
}
.order__view[data-sticky=estimate] thead tr th:first-child,
.order__view[data-sticky=estimate] tbody tr td:not([colspan]):first-child {
  width: 5%;
}
.order__view[data-sticky=estimate] thead tr th:nth-child(2),
.order__view[data-sticky=estimate] tbody tr td:not([colspan]):nth-child(2) {
  width: 15%;
}
.order__view[data-sticky=estimate] thead tr th:nth-child(3),
.order__view[data-sticky=estimate] tbody tr td:not([colspan]):nth-child(3) {
  width: 5%;
}
.order__view[data-sticky=estimate] thead tr th:nth-child(4),
.order__view[data-sticky=estimate] tbody tr td:not([colspan]):nth-child(4) {
  width: 15%;
}
.order__view[data-sticky=estimate] thead tr th:nth-child(5),
.order__view[data-sticky=estimate] tbody tr td:not([colspan]):nth-child(5) {
  width: 10%;
}
.order__view[data-sticky=estimate] thead tr th:nth-child(6),
.order__view[data-sticky=estimate] tbody tr td:not([colspan]):nth-child(6) {
  width: 8%;
}
.order__view[data-sticky=estimate] thead tr th:nth-child(7),
.order__view[data-sticky=estimate] tbody tr td:not([colspan]):nth-child(7) {
  width: 8%;
}
.order__view[data-sticky=estimate] thead tr th:nth-child(8),
.order__view[data-sticky=estimate] tbody tr td:not([colspan]):nth-child(8) {
  width: 8%;
}
.order__view[data-sticky=estimate] thead tr th:nth-child(9),
.order__view[data-sticky=estimate] tbody tr td:not([colspan]):nth-child(9) {
  width: 8%;
}
.order__view[data-sticky=estimate] thead tr th:nth-child(10),
.order__view[data-sticky=estimate] tbody tr td:not([colspan]):nth-child(10) {
  width: 8%;
}

.view-navi ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
}

.estimate__select ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
}

.totalling__view th {
  text-align: center;
}
.totalling__view th:nth-child(1) {
  width: 20%;
}
.totalling__view th:nth-child(2) {
  width: 10%;
}
.totalling__view th:nth-child(3) {
  width: 20%;
}
.totalling__view th:nth-child(4) {
  width: 25%;
}
.totalling__view th:nth-child(5) {
  width: 25%;
}
.totalling__view[data-table=totalling-compare] th {
  width: 5%;
}
.totalling__view tr.in-house td {
  background-color: #f9f9f9;
}
.totalling__view tr.in-house td[rowspan="2"] {
  background-color: #fff;
}
.totalling__view tr.out-house td {
  background-color: #d6f2bf;
  font-weight: bold;
}
.totalling__view tr.totalling-cost th, .totalling__view tr.totalling-cost td {
  background-color: #ffe3ef;
}
.totalling__view tr.totalling-cost td[rowspan] {
  background-color: #fff;
  border-bottom-color: black;
}
.totalling__view tr.totalling-estimate th, .totalling__view tr.totalling-estimate td {
  background-color: #d4ebff;
}
.totalling__view tr.totalling-amount th, .totalling__view tr.totalling-amount td {
  background-color: #ffffff;
  border-bottom-color: black;
}