* {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  -o-appearance: none;
  outline: none;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-align: center;
  color: #444;
  z-index: 5;
  scroll-behavior: smooth;
}
body {
  background: rgb(255, 255, 255);
}
table {
  border-collapse: collapse;
  table-layout: fixed;
}
th, td {
  word-break: break-all;
}
a, button, input[type="submit"], input[type="button"] {
  cursor: pointer;
}
a {
  text-decoration: none;
}
ul {
  list-style: none;
}
img {
  width: 100%;
  object-fit: contain;
}
input[type="text"],
input[type="number"],
input[type="password"],
input[type="tel"],
input[type="date"],
select, option,
textarea {
  display: inline-block;
  border: 1px solid #444;
  border-radius: 3px;
  padding: 2px;
  text-align: left;
  min-height: 20px;
  vertical-align: middle;
}
input[type="radio"] {
  height: 14px;
  width: 14px;
  background: #fff;
  border-radius: 50%;
  border: 2px solid rgb(1, 90, 170);
  vertical-align: -10%;
}
input[type="radio"]:checked {
  background: rgb(1, 90, 170);
  outline: 2px solid #fff;
  outline-offset: -4px;
}
input::placeholder {
  opacity: 0.35;
}
h2 {
  height: 60px;
  line-height: 60px;
  margin-bottom: 5px;
  color: rgb(1,90,170);
}
h3 {
  height: 40px;
  line-height: 40px;
  padding-top: 10px;
  color: rgb(189, 60, 0);
}
input[type="number"] {
  display: inline-block;
  border: 1px solid #444;
  border-radius: 3px;
  padding: 2px;
  text-align: right;
}
.header {
  width: 100%;
  padding: 1vh 2%;
  height: 7vh;
  display: flex;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  background: rgb(214, 228, 240);
}
.header div {
  height: 5vh;
}
.header_right {
  width: 35%;
  text-align: right;
}
.header_right img {
  width: 42px;
  margin-top: 2px;
  cursor: pointer;
}
.header_right button {
  margin-top: 8px;
}
.link_img {
  margin-right: 2%;
}
.link_img {
  display: inline-block;
  position: relative;
}
.badge {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 18px;
  height: 18px;
  line-height: 18px;
  background: rgb(189, 60, 0);
  color: #fff;
  border-radius: 50%;
  font-size: 0.8em;
}
.badge.no_count {
  background: none;
}
.link_img img {
  display: inline-block;
}
.close_menu {
  width: fit-content;
  color: #fff;
  font-size: 2em;
  font-weight: 600;
  margin: 0 10px 0 auto;
  padding: 8px 8px 0 0;
  cursor: pointer;
}
.logo {
  width: 50%;
  text-align: left;
}
.logo img {
  max-width: 240px;
  max-height: 5vh;
  margin-right: auto;
  object-position: left;
}
.logo p {
  height: 5vh;
  line-height: 5vh;
  letter-spacing: 0.05em;
  font-size: 1.2em;
  font-weight: 500;
  text-align: left;
}
.logo .long_name {
  font-size: 1em;
}
.main {
  width: 98%;
  margin: 7vh auto 0;
  min-height: 93vh;
  position: relative;
}
.vh88 {
  min-height: 88vh;
}
.footer {
  height: 5vh;
  line-height: 5vh;
}
iframe {
  width: 100%;
  height: 92.4vh;
}
.min_h100 {
  min-height: 100px!important;
}
.max_h70vh {
  max-height: 70vh!important;
}
.max_w400 {
  max-width: 400px!important;
}
.max_w600 {
  max-width: 600px!important;
}
.max_w720 {
  max-width: 720px!important;
}
.max_w960 {
  max-width: 960px!important;
}
.max_w1200 {
  max-width: 1200px!important;
}
button {
  display: inline-block;
  padding: 4px 8px;
  background: rgb(1,90,170);
  color: #fff;
  border: none;
  border-radius: 3px;
  font-size: 0.85em;
}
button:has(.estimate_small) {
  padding: 4px 6px;
}
button i {
  padding-top: 4px;
  height: 18px;
  color: #fff;
}
.detail_frame button {
  padding: 3px 6px;
}
.btn_request {
  width: 5.4em;
}
.login_frame {
  margin: 40px auto 60px;
  width: 98%;
  max-width: 450px;
  padding: 10px 1%;
  background: #fff;
  border: 2px solid rgb(1,90,170);
  border-radius: 5px;
  box-shadow: 2px 2px 4px -2px gray;
}
.login_frame p {
  display: block;
  width: 100%;
  margin: 0 auto 10px;
  text-align: center;
}
.login_frame span:not(.alert),
.login_frame label,
.login_frame input[type="text"], 
.login_frame input[type="password"] {
  display: block;
  width: 80%;
  max-width: 200px;
  margin: 0 auto;
  text-align: left;
}
.login_frame input[type="text"], 
.login_frame input[type="password"] {
  margin-bottom: 10px;
}
#sw_view {
  background: #fff;
  border: 1px solid #fff;
  border-radius: 50%;
  float: right;
  line-height: 15px;
  padding: 1px 4px;
}
#sw_view i {
  color: rgb(1,90,170);
  padding-top: 3px;
  line-height: 13px;
  font-size: 1.1em;
}
#sw_view2 {
  background: #fff;
  border: 1px solid #fff;
  border-radius: 50%;
  line-height: 14px;
  padding: 1px 4px;
}
#sw_view2 i {
  color: rgb(1,90,170);
  padding-top: 3px;
  line-height: 12px;
  font-size: 0.9em;
}
/* #sw_view.right_eye {
  padding: 3px;
  line-height: 12px;
  float: right;
}
label #sw_view.right_eye {
  padding: 0;
} */
#btn_forget_pass {
  border: none;
  background: none;
  color: rgb(1,90,170);
  font-size: 100%;
  font-weight: 600;
}
.top_menu a,
.top_menu button {
  display: block;
  width: 200px;
  height: 40px;
  line-height: 38px;
  margin: 15px auto;
  padding: 0;
  border: 1px solid rgb(1,90,170);
  border-radius: 3px;
  font-size: 0.9em;
  font-weight: 600;
}
.serach {
  width: 100%;
}
.btn_right {
  display: block;
  margin: 0 0 10px auto;
}
#sort_toggle {
  display: block;
  width: fit-content;
  height: 20px;
  background: #fff;
  border: 1px solid rgb(1,90,170);
  color: rgb(1,90,170);
  position: absolute;
  top: 1px;
  left: 1%;
  cursor: pointer;
  z-index: 20;
  border-radius: 3px;
  line-height: 18px;
  padding: 0 4px;
  font-size: 0.9em;
  font-weight: 600;
}
.sort_frame {
  width: 100%;
  max-width: none;
  margin: 0 auto 10px;
  padding: 10px 2%;
  background: rgb(238, 244, 248);
  border: none;
  border-radius: 3px;
  border: 1px solid #aaa;
  position: relative;
  transition: 0.5s;
}
.sort_frame.to_store {
  height: 20px;
  margin-bottom: 5px;
  padding: 0;
  background: none;
  border: none;
}
.admin .sort_frame.to_store {
  height: 0;
  margin: 0;
}
.sort_flex {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.sort_flex div {
  width: 32.5%;
  margin: 4px 0.4%;
  padding: 5px;
  background: #fff;
  border: 1px solid #bbb;
  font-size: 0.9em;
}
.sort_flex input {
  width: 100%;
  max-width: 240px;
}
.sort_frame.to_store *:not(#sort_toggle, #sort_toggle i) {
  display: none;
}
.sort_items {
  text-align: left;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.sort_item {
  display: block;
  font-size: 0.9em;
  margin-right: 0.5%;
  margin-bottom: 5px;
  padding: 2px 6px 2px 4px;
  border: 1px solid #444;
  border-radius: 3px;
  cursor: pointer;
}
.sort_item b {
  color: rgb(242, 93, 33);
}
.results {
  width: 100%;
  min-height: 22px;
  margin: 0 auto 5px;
  text-align: left;
  font-size: 0.9em;
}
.side_menu_frame {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 240px;
  height: 55vh;
  background: #000;
  z-index: 40;
  opacity: 0.9;
  transition: 0.8s;
}
.side_menu_frame.shourter {
  height: 35vh;
}
.side_menu_frame.stored {
  opacity: 0;
  width: 0;
}
.close_menu {
  width: fit-content;
  color: #fff;
  font-size: 2em;
  font-weight: 600;
  margin: 0 10px 0 auto;
  padding: 8px 8px 0 0;
  cursor: pointer;
}
.side_menu_frame a, .side_menu_frame span, .side_menu_frame button {
  display: block;
  width: fit-content;
  margin: 10px auto 24px 3%;
  padding: 1px 2px;
  background: none;
  color: #fff;
  border: none;
  transition: 0.2s;
  text-align: left;
  cursor: pointer;
  font-size: 1em;
}
#pagetop {
  position: fixed;
  bottom: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.2);
  color: rgb(1,90,170);
  font-weight: 600;
  width: 50px;
  padding: 10px 5px;
  text-align: center;
  transition: 0.5s;
  border-radius: 6px;
  border: 1px solid rgb(1,90,170);
  opacity: 0;
  cursor: pointer;
}
.btns {
  width: 100%;
  min-height: 28px;
  white-space: nowrap;
  text-align: left;
}
.btns button {
  vertical-align: 1px;
}
.btns button:not(.float_right) {
  margin-right: 0.8%;
}


.fadein_frame {
  position: fixed;
  top: 0;
  left: 0;
  width: 100dvw;
  height: 100dvh;
  background: rgba(100, 100, 100, 0.3);
  animation: fade_in 1s ease forwards;
  z-index: 30;
}
.fadein_frame#select_temp_frame {
  background: rgba(100, 100, 100, 0.4);
}
@keyframes fade_in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.fadein_frame .container {
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 10px;
  width: 98dvw;
  max-width: 640px;
  max-height: 70dvh;
  background: #fff;
  overflow-y: auto;
}
.fadein_frame.wide_frame .container {
  max-width: 800px;
  max-height: 80dvh;
}
.fadein_frame.wide_frame2 .container {
  max-width: 1040px;
  max-height: 80dvh;
}
.fadein_frame.wide_frame3 .container {
  max-width: 1200px;
  max-height: 80dvh;
}
.fadein_frame.low_frame .container {
  max-width: 500px;
  max-height: 40dvh;
}
.fadein_frame#select_temp_frame .container {
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 8px;
  width: 95dvw;
  max-width: 480px;
  max-height: 65dvh;
  background: #fff;
  border: 1px solid rgb(1,90,170);
  overflow-y: auto;
}
#rayout_sample {
  display: block;
  width: 90%;
  max-width: 340px;
  max-height: 340px;
  margin: 0 auto;
}
#rayout_sample.big_size {
  max-width: 500px;
  max-height: 500px;
}
.inner_title {
  font-size: 1.1em;
  font-weight: 600;
  position: relative;
  margin-bottom: 10px;
}
.inner_title2 {
  font-size: 1em;
  font-weight: 600;
  color: #666;
  margin-bottom: 5px;
}
.edit_estimate,
.edit_employee,
.chk_settlement {
  width: 100%;
  max-width: 560px;
  margin: 10px auto 20px;
  position: relative;
  border: 1px solid rgb(1, 90, 170);
}
.list_table td {
  word-break:break-word;
}
.wide_frame .edit_estimate,
.wide_frame .edit_employee {
  max-width: 720px;
}
.wide_frame2 .edit_estimate {
  max-width: 960px;
}
.wide_frame3 .edit_estimate {
  max-width: 1120px;
}
.edit_estimate th,
.edit_employee th,
.chk_settlement th {
  width: 35%;
  padding: 4px;
  border: 1px solid rgb(1, 90, 170);
  background: rgb(214, 228, 240);
  color: rgb(1, 90, 170);
  font-size: 0.9em;
  text-align: right;
}
.edit_estimate td,
.edit_employee td,
.chk_settlement td {
  width: 65%;
  padding: 4px;
  border: 1px solid rgb(1, 90, 170);
  font-size: 0.85em;
}
.edit_estimate.beside th,
.edit_employee.beside th {
  width: auto;
  text-align: center;
}
.edit_estimate.beside td,
.edit_employee.beside td {
  width: auto;
}
.edit_estimate.beside th:first-child,
.edit_estimate.beside td:first-child,
.edit_employee.beside th:first-child,
.edit_employee.beside td:first-child {
  width: 5%;
  text-align: center;
}
.edit_estimate input:not([type="radio"]),
.edit_employee input:not([type="radio"]) {
  width: 100%;
  max-width: 250px;
}
.wide_frame2 .edit_estimate input:not([type="radio"]),
.wide_frame3 .edit_estimate input:not([type="radio"]) {
  max-width: 400px;
}
.edit_estimate textarea,
.edit_employee textarea {
  width: 100%;
}
.edit_estimate textarea,
.edit_employee textarea {
  min-height: 40px;
}
.rows2 textarea {
  min-height: 70px;
}
.chk_settlement input[type="date"],
.chk_settlement input[type="time"] {
  display: inline-block;
  width: 110px;
  border: 1px solid #666;
  border-radius: 3px;
  height: 24px;
  vertical-align: 1px;
}
.chk_settlement input[type="time"] {
  width: 80px;
  margin-left: 1%;
}
.input_frame {
  width: 100%;
  display: flex;
  margin-bottom: 10px;
}
.input_frame p:nth-of-type(1) {
  width: 35%;
  text-align: right;
}
.input_frame p:nth-of-type(2) {
  width: 65%;
  text-align: left;
}
.list_table {
  width: 100%;
  min-width: 1250px;
  margin: 10px auto 20px;
  border: 1px solid rgb(1, 90, 170);
}
.list_table.narrow {
  max-width: 1100px;
}
.list_table th {
  padding: 4px;
  border: 1px solid rgb(1, 90, 170);
  background: rgb(214, 228, 240);
  color: rgb(1, 90, 170);
}
.list_table td {
  padding: 4px;
  border: 1px solid rgb(1, 90, 170);
}
.list_table *:not(.long_chars, .estimate_small),
.half_table *:not(.long_chars) {
  font-size: 0.98em;
}
.estimates_flex {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.list_frame {
  width: 59%;
  max-height: 72vh;
  overflow-y: auto;
}
.small_object {
  width: 31%;
  margin: 0 1.166% 64px;
  background-image: url("../image/object2.jpg");
  aspect-ratio: 210 / 240;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top;
  position: relative;
  cursor: pointer;
}
.small_object:hover:not(.selected_estimate) {
  opacity: 0.7;
}
.selected_estimate {
  opacity: 0.6;
  cursor: default;
}
.selected_estimate::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  /* background-color: rgba(1, 90, 170, 0.05); */
  background-color: rgba(0, 0, 0, 0.15);
}
.small_date {
  position: absolute;
  top: 3%;
  right: 8%;
  color: rgb(1, 90, 170);
  font-size: 1.15vw;
}
.small_name {
  position: absolute;
  top: 16%;
  left: 9%;
  color: rgb(1, 90, 170);
  font-size: 1vw;
}
.small_amount {
  position: absolute;
  top: 27%;
  left: 9%;
  width: 50%;
  padding-right: 1%;
  text-align: left;
  color: rgb(1, 90, 170);
  font-size: 1.15vw;
  border-bottom: 2px solid rgb(58, 130, 193);
}
.small_amount span {
  color: rgb(1, 90, 170);
}
.small_expiry {
  position: absolute;
  bottom: -9.5%;
  left: 0;
  width: 100%;
  padding: 0 0.5%;
  text-align: left;
  color: rgb(1, 90, 170);
  font-size: 1.1vw;
}
.card_payment {
  position: absolute;
  bottom: 4%;
  right: 6%;
  padding: 2px 3px;
  border-radius: 8px;
  background: rgb(242,93,33);
  color: #fff;
  font-size: 0.72em;
  line-height: 1.2;
  animation: blinking2 2s ease infinite;
}
.small_btns {
  position: absolute;
  bottom: -21%;
  width: 100%;
  padding-left: 1%;
  font-size: 1vw;
  text-align: left;
}
.small_btns button {
  margin-right: 0.6%;
  padding: 2px 4px;
}
.small_expiry b{
  color: rgb(1, 90, 170);
}
/* .small_object p {
  font-weight: 600;
  color: #777;
  margin-bottom: 2px;
} */
.small_object img {
  cursor: pointer;
}
.detail_frame {
  width: 40%;
  max-width: 440px;
}
.view_pdfs {
  float: left;
  margin-right: 1%;
  margin-bottom: 5px;
}
.btn_operate {
  float: right;
  margin-bottom: 5px;
}
#re_estimate,
#re_estimated,
#order,
#ordered,
#invoiced,
#settlemented {
  float: right;
  margin-bottom: 5px;
}
#re_estimated,
#ordered {
  background: rgb(242,93,33);
  pointer-events: none;
}
.re_estimate_explain {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}
embed {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 210 / 297;
}
#invoice_frame2 embed {
  max-width: 380px;
  margin: 5px auto;
}
.estimate_object {
  width: 100%;
  border: 2px solid #777;
  aspect-ratio: 210 / 297;
  padding: 8px;
}
.estimate_object h4 {
  width: 30%;
  margin: 10px auto;
  padding-bottom: 2px;
  color: #444;
  border-bottom-style: double;
  font-weight: 500;
  font-size: 1em;
  letter-spacing: 0.2em;
}
.flex_1 {
  display: flex;
  justify-content: space-between;
}
.left_1 {
  width: 70%;
}
.left_1 p {
  padding-left: 5px;
  text-align: left;
}
.left_1 p:nth-of-type(1) {
  font-size: 0.76em;
}
.left_1 p:nth-of-type(2) {
  font-size: 0.68em;
}
.right_1 {
  width: 30%;
}
.right_1 p {
  text-align: left;
}
.right_1 p:nth-of-type(1) {
  font-size: 0.68em;
}
.right_1 p:nth-of-type(2) {
  font-size: 0.68em;
}
.progress_bar {
  width: 100%;
  height: 50px;
  margin-bottom: 10px;
  padding: 5px 0;
  display: flex;
  justify-content: center;
}
.progress_icon {
  display: block;
  height: 40px;
  line-height: 36px;
  padding: 0 5px;
  background: #fff;
  color: #777;
  border: 2px solid #777;
  font-size: 0.85em;
  font-weight: 600;
}
.progress_icon.complete {
  border-color: #555;
  background: linear-gradient(135deg, #cacaca, #6f6f6f);
  color: #fff;
}
.progress_bar .in_progress {
  background: #777;
  color: #fff;
  animation: blinkAnime 2.4s ease infinite;
}
@keyframes blinkAnime {
  0% {
    background: #777;
  }
  50% {
    background: #bbb;
  }
  100% {
    background: #777;
  }
}
.and_gt {
  display: block;
  margin: 0 1% 0;
  height: 40px;
  line-height: 40px;
  color: #777;
  font-size: 0.9em;
  font-weight: 600;
}

/* .pagination {
  position: sticky;
  right: 0;
  left: 0;
  bottom: 10px;
} */
.page_numbers {
  display: inline-block;
  width: fit-content;
  min-width: 32px;
  height: 32px;
  line-height: 30px;
  padding: 0 4px;
  border: 1px solid rgb(1,90,170);
  color: rgb(1,90,170);
}
.page_numbers:not(.page_numbers:last-of-type) {
  margin-right: 0.5%;
}
.page_numbers:not(.page_numbers.current, .page_numbers.dots) {
  cursor: pointer;
}
.page_numbers.dots {
  border: none;
}
.page_numbers.current {
  background: rgb(1,90,170);
  color: #fff;
}
.half_table {
  width: 49%;
  max-width: 500px;
  margin: 10px 0 20px;
  border: 1px solid rgb(1, 90, 170);
  table-layout: inherit;
}
.half_table th {
  width: 28%;
  padding: 4px;
  border: 1px solid rgb(1, 90, 170);
  background: rgb(214, 228, 240);
  color: rgb(1, 90, 170);
}
.half_table td {
  width: 72%;
  padding: 4px;
  border: 1px solid rgb(1, 90, 170);
}
.half_table span {
  color: rgb(1, 90, 170);
}
.supplement {
  font-size: 0.78em;
  text-align: left;
}
.supplement button {
  padding: 2px 6px;
}
.statement_sample {
  width: 49%;
  max-width: 500px;
  margin: 10px 0 20px;
  border: 1px solid #ddd;
}
.statement_sample img {
  max-width: 500px;
  max-height: 560px;
}
.sample_heading {
  font-size: 0.7em;
}
.to_estimate {
  position: relative;
}
.btn_miss {
  background: none;
  border: 1px solid rgb(1, 90, 170);
  color: rgb(1, 90, 170);
  font-weight: 600;
}
.estimate_small {
  padding-left: 1px;
  font-size: 0.6em;
  color: #fff;
  vertical-align: bottom;
}
body:has(.pdf_container) {
  overflow: hidden;
}
.pdf_container {
  width: 100vw;
  height: 100vh;
  z-index: 10;
}
.pdf_btns {
  position: fixed;
  right: 0;
  bottom: 0;
  width: 120px;
  height: 100px;
  z-index: 20;
}
.pdf_btns button {
  display: block;
  width: 90px;
  margin-bottom: 10px;
  border: 2px solid #fff;
  font-size: 0.95em;
  animation: blinking3 3s ease infinite;
}
.list_table .estimate_type {
  font-size: 0.8em;
  line-height: 1.2;
}
.settlement_frame {
  width: 100%;
  max-width: 540px;
  margin: 10px auto;
  padding: 10px;
  background: #eee;
  border-radius: 5px;
}
.settlement_frame img {
  display: block;
  width: 95%;
  margin: 10px auto;
}
#edit_info_frame td:has(input:disabled) {
  background: #ddd;
}
.icon_sample {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgb(242, 93, 33);
  color: #fff;
  font-size: 11px;
  line-height: 14px;
}
.chk_icon::after {
  content: "!";
  position: absolute;
  top: -5px;
  right: -5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgb(242, 93, 33);
  font-size: 11px;
  line-height: 14px;
  animation: blinking 2s ease infinite;
}
.hover_underline:hover {
  opacity: 0.9;
  text-decoration: underline;
  text-decoration-color: rgb(242, 93, 33);
}
.pad_scroll {
  width: 100%;
  overflow-x: auto;
}
.flex_start {
  align-items: flex-start;
}
.events_none {
  pointer-events: none;
}
.bg_eee {
  background: #eee;
}
.brightness_07 {
  filter: brightness(0.7);
}
.margin_0auto {
  margin: 0 auto;
}
.margin_t10 {
  margin-top: 10px;
}
.margin_l10 {
  margin-left: 10px;
}
.margin_b0 {
  margin-bottom: 0;
}
.margin_b10 {
  margin-bottom: 10px;
}
.margin_b20 {
  margin-bottom: 20px;
}
.alert {
  color: red;
  text-align: left;
  animation: blinking2 2s ease infinite;
}
#add_row {
  display: block;
}
#kurukuru {
  position: fixed;
  width: 100%;
  height: 100vh;
  inset: 0;
  margin: auto;
  display: flex;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  align-items: center;
  z-index: 1000;
}
#kurukuru img {
  display: inline-block;
  width: 38px;
  object-fit: contain;
}

.relative {
  position: relative;
}
.blue {
  color: rgb(1, 90, 170);
}
.bg_blue {
  background: rgb(1, 90, 170);
}
.sky {
  color: rgb(95, 218, 220);
}
.bg_sky {
  background: rgb(95, 218, 220);
}
.gray {
  color: rgb(140, 140, 140);
}
.bg_gray {
  background: rgb(140, 140, 140);
}
.green {
  color: rgb(0,165,79);
}
.bg_green {
  background: rgb(0,165,79);
}
.red {
  color: rgb(242,93,33)!important;
}
.bg_red {
  background: rgb(242,93,33)!important;
}
.purple {
  color: rgb(136, 4, 136);
}
.bg_purple {
  background: rgb(136, 4, 136);
}
.brown {
  color: rgb(185, 137, 48);
}
.bg_brown {
  background: rgb(185, 137, 48);
}
.bg_silver {
  background: linear-gradient(135deg, rgb(220, 220, 220), silver);
}
.bg_gold {
  background: linear-gradient(135deg, rgb(255, 232, 100), gold);
}
.w50px {
  width: 50px!important;
}
.w100px {
  width: 100px!important;
}
.w3per {
  width: 3%!important;
}
.w4per {
  width: 4%!important;
}
.w5per {
  width: 5%!important;
}
.w6per {
  width: 6%!important;
}
.w8per {
  width: 8%!important;
}
.w9per {
  width: 9%!important;
}
.w10per {
  width: 10%!important;
}
.w12per {
  width: 12%!important;
}
.w13per {
  width: 13%!important;
}
.w15per {
  width: 15%!important;
}
.w16per {
  width: 15%!important;
}
.w17per {
  width: 17%!important;
}
.w19per {
  width: 19%!important;
}
.w20per {
  width: 20%!important;
}
.w22per {
  width: 22%!important;
}
.w23per {
  width: 23%!important;
}
.w25per {
  width: 25%!important;
}
.w30per {
  width: 30%!important;
}
.w35per {
  width: 35%!important;
}
.w40per {
  width: 40%!important;
}
.w45per {
  width: 45%!important;
}
.w50per {
  width: 50%!important;
}
.w60per {
  width: 60%!important;
}
.w65per {
  width: 65%!important;
}
.w70per {
  width: 70%!important;
}
.w80per {
  width: 80%!important;
}
.font085 {
  font-size: 0.85em!important;
}
.mb10 {
  margin-bottom: 10px;
}
.sticky {
  position: sticky;
  top: 0;
  margin: 0;
  height: 0;
  text-align: right;
  z-index: 20;
}
.align_left {
  text-align: left!important;
}
.align_right {
  text-align: right!important;
}
.flex {
  display: flex;
}
.space_between {
  justify-content: space-between;
}
.space10 {
  height: 10px;
}
.space20 {
  height: 20px;
}
.space30 {
  height: 30px;
}
.space100 {
  height: 100px;
}
.long_chars {
  font-size: 0.8em;
}
.for_sp, .for_sp2, .for_sp3 {
  display: none;
}
@media(max-width: 1100px) {
  .small_object {
    margin: 0 1.166% 60px;
  }
  .small_date {
    font-size: 1.25vw;
  }
  .small_name {
    font-size: 1.15vw;
  }
  .small_amount {
    font-size: 1.25vw;
  }
  .small_expiry {
    font-size: 1.2vw;
  }
  .small_btns {
    bottom: -21.5%;
  }
  .wide_frame3 .beside {
    width: 1120px;
  }
}
@media(max-width: 768px) {
  .sort_flex div {
    width: 49%;
    margin: 4px 0.5%;
  }
  .list_table.narrow {
    max-width: 720px;
  }
  .list_table *:not(.long_chars, .estimate_small),
  .half_table *:not(.long_chars) {
    font-size: 0.94em;
  }
  .list_frame {
    width: 53.5%;
  }
  .detail_frame button {
    font-size: 0.8em;
  }
  .small_object {
    width: 47.6%;
    margin: 0 1.2% 56px;
  }
  .small_date {
    font-size: 1.75vw;
  }
  .small_name {
    font-size: 1.7vw;
  }
  .small_amount {
    font-size: 1.75vw;
  }
  .small_expiry {
    font-size: 1.6vw;
  }
  .small_btns {
    bottom: -22%;
    font-size: 1.6vw;
  }
  .detail_frame {
    width: 46%;
  }
  .progress_icon {
    height: 36px;
    line-height: 32px;
    padding: 0 2px;
    font-size: 0.7em;
  }
  .wide_frame2 .beside {
    width: 960px;
  }
}
@media(max-width:480px) {
  h2 {
    height: 50px;
    line-height: 50px;
    font-size: 1.4em;
  }
  .header_right img {
    width: 32px;
    margin-top: 1px;
    cursor: pointer;
  }
  .sp_scroll {
    width: 100%;
    overflow-x: scroll;
  }
  .sort_frame {
    background: #fff;
  }
  .sort_flex div {
    border-left: none;
    border-right: none;
    border-bottom: none;
    width: 95%;
    margin: 3px 2.5%;
  }
  .sort_item {
    font-size: 0.8em;
    padding: 1px 5px 2px 3px;
    border: 1px solid #444;
    border-radius: 3px;
    cursor: pointer;
  }
  .sample_heading {
    font-size: 0.6em;
  }
  button {
    padding: 3px 6px;
  }
  .btns button {
    font-size: 0.78em;
  }
  .btns button:not(.float_right) {
    margin-right: 0.2%;
  }
  #rayout_sample {
    max-width: 180px;
  }
  .edit_estimate input[type="date"] {
    max-width: 110px;
  }
  .fadein_frame .container {
    padding: 5px;
  }
  .wide_frame .beside {
    width: 720px;
  }
  .edit_estimate th {
    padding: 4px 2px;
  }
  .edit_estimate td {
    padding: 4px 2px;
  }
  .list_frame {
    width: 100%;
    max-height: none;
  }
  .small_object {
    width: 47%;
    margin: 0 1.5% 56px;
    background-image: url("../image/object2.jpg");
    aspect-ratio: 210 / 240;
  }
  .small_object:last-of-type {
    padding-bottom: 60px;
  }
  .small_date {
    font-size: 3vw;
  }
  .small_name {
    font-size: 2.8vw;
  }
  .small_amount {
    font-size: 3vw;
  }
  .small_expiry {
    bottom: -8.5%;
    font-size: 2.9vw;
  }
  .small_btns {
    bottom: -19%;
    font-size: 3.05vw;
  }
  #invoice_frame2 embed {
    max-width: 320px;
  }
  .pdf_btns {
    width: 90px;
    height: 80px;
  }
  .pdf_btns button {
    width: 80px;
    margin-bottom: 5px;
    font-size: 0.85em;
  }
  .detail_frame {
    display: none;
  }
  .progress_icon:not(.one_line) {
    height: 40px;
    line-height: 18px;
    padding: 0 3px;
  }
  .selected_estimate {
    opacity: 1;
    cursor: pointer;
  }
  .selected_estimate::before {
    display: none;
  }
  .statement_sample {
    width: 100%;
  }
  .and_gt {
    font-size: 0.8em;
  }
  .sp_column {
    flex-direction: column;
  }
  .half_table {
    width: 100%;
  }
  .for_pc {
    display: none;
  }
  .for_sp {
    display: block;
  }
  .for_sp2 {
    display: inline;
  }
  .for_sp3 {
    display: table-cell;
  }
  .sp_07em {
    font-size: 0.7em;
  }
}
.float_left {
  float: left;
}
.float_right {
  float: right;
}
.hide {
  display: none !important;
}
.default {
  cursor: default;
}
@keyframes blinking {
  0% {
    opacity: 0.1;
  }
  40% {
    opacity: 1;
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 0.1;
  }
}
@keyframes blinking2 {
  0% {
    opacity: 0.2;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.2;
  }
}
@keyframes blinking3 {
  0% {
    opacity: 0.5;
  }
  40% {
    opacity: 1;
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 0.5;
  }
}