@charset "UTF-8";
.mb1 {
  margin-bottom: 1rem !important;
}

.mb0 {
  margin-bottom: 0px !important;
}

.mb10px {
  margin-bottom: 10px !important;
}

.displaynone {
  display: none !important;
}

.linerTitle {
  margin: 0;
  border-bottom: 1px solid rgba(34, 36, 38, 0.15);
  padding-bottom: 5px;
  margin-bottom: 20px !important;
  display: -webkit-flex;
  display: flex;
  justify-content: space-between;
}

.sectionTitle {
  border-top: 2px solid #333;
  border-bottom: 2px solid #333;
  padding: 0.4em 0em 0.3em 0em;
  position: relative;
  margin: 0 auto 15px auto !important;
}

/*その他の設定*/
*, ::before, ::after {
  box-sizing: border-box;
}

.addSegment {
  margin-top: 1rem;
}
.addSegment .ui.checkbox label {
  min-width: initial;
}

@media screen and (max-width: 500px) {
  .hiddenSp {
    display: none;
  }
}

@media only screen and (max-width: 1144px) {
  .restrictionHide {
    display: none !important;
  }
}

#search_form .reportSelect {
  position: relative;
}
#search_form .reportSelect .item {
  padding: 0;
}
#search_form .reportSelect input[type=radio] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
#search_form .reportSelect input[type=radio] + label {
  display: block;
  height: 100%;
  width: 100%;
  cursor: pointer;
  padding: 10px 15px;
  line-height: 1em;
}
#search_form .reportSelect input[type=radio]:checked + label {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Defaults */
main .approval_wrap .approval_flow, main .approval_wrap .approval_comment {
  padding: 1rem 0 1rem 0;
}
main .approval_wrap .approval_flow h3, main .approval_wrap .approval_comment h3 {
  border-bottom: 1px solid rgba(34, 36, 38, 0.1);
  padding-bottom: 0.5em;
}
main .approval_wrap .approval_comment .ui.comments {
  max-width: initial;
  padding: 1rem;
  border: 1px solid rgba(34, 36, 38, 0.1);
  border-radius: 6px;
}
main .approval_wrap .approval_comment .ui.comments .comments {
  margin: 0 0 0em 3em;
  border-radius: 6px;
  border: 1px solid rgba(34, 36, 38, 0.1);
}
@media screen and (max-width: 500px) {
  main .btn_wrap .btn {
    margin-bottom: 5px;
  }
}

div.main.container.fixed_header.report_page {
  max-width: initial !important;
  position: relative;
  --report-page-scroll-margin-top: calc(45px + 55px + var(--env-banner-height) + 0.25rem);
}
div.main.container.fixed_header.report_page .ui.dividing.header {
  width: calc(100% - 2em - 253px);
  box-sizing: border-box;
  max-width: initial !important;
  margin: 0 0 0 0 !important;
}
@media only screen and (max-width: 1200px) {
  div.main.container.fixed_header.report_page .ui.dividing.header {
    width: calc(100% - 2em - 210px);
  }
}
@media only screen and (max-width: 1144px) {
  div.main.container.fixed_header.report_page .ui.dividing.header {
    width: calc(100% - 1em);
  }
}
@media screen and (max-width: 500px) {
  div.main.container.fixed_header.report_page .ui.dividing.header {
    width: calc(100% - 0em);
    left: 0;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

body.layouts .masthead > .container,
body.layouts .main.container,
body.layouts .fixed.menu > .container {
  max-width: initial !important;
  position: relative;
}

/* 管理ヘッダ: ハンバーガー・システム名まわりの縦区切り（Semantic .item::before）を非表示 */
.ui.fixed.inverted.main.menu > .ui.container > .item::before {
  display: none !important;
}

/* 管理ヘッダ: システム名（メニューへのリンク）のフォントを1段階だけ大きく */
.ui.fixed.inverted.main.menu > .ui.container > div.item > a {
  font-size: 1.07142857em;
}

/* ハンバーガー: アイコンをホバー領域の中央に（.item の padding-left:0 による左右非対称を打ち消し） */
.ui.fixed.inverted.main.menu .admin-sidebar-launch.icon.item {
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding-left: 0.92857143em !important;
  padding-right: 0.92857143em !important;
}
.ui.fixed.inverted.main.menu .admin-sidebar-launch.icon.item > .icon {
  margin: 0 !important;
}

/* 共通サイドメニュー先頭プレースホルダー（sidebar.blade.php の admin-sidebar-menu-pad） */
#common_menu.ui.vertical.inverted.menu > .item.admin-sidebar-menu-pad {
  min-height: 0.35em;
  padding-top: 0.5em;
  padding-bottom: 0.15em;
  pointer-events: none;
}

/*
 * 管理画面サイドバー（layouts/admin/app・body.layouts.pushable）
 * - TOC は固定ヘッダー(45px)直下。開閉は body.admin-sidebar-collapsed。
 * - max-width 1144px: semantic.docs の .toc{display:none} を上書きし .article にマージン付与。
 */
body.layouts.pushable .full.height > .toc {
  top: 45px;
  height: calc(100vh - 45px);
  box-sizing: border-box;
  z-index: 102;
  transition: transform 0.2s ease, visibility 0.2s ease;
}
body.layouts.pushable .full.height > .toc .ui.menu {
  max-height: 100% !important;
  height: 100% !important;
  box-sizing: border-box;
}
body.layouts.pushable .full.height > .article {
  transition: margin-left 0.2s ease;
}
body.layouts.pushable.admin-sidebar-collapsed .full.height > .toc {
  transform: translate3d(-100%, 0, 0);
  visibility: hidden;
}
body.layouts.pushable.admin-sidebar-collapsed .full.height > .article {
  margin-left: 0 !important;
}
body.layouts.pushable.admin-sidebar-collapsed .main.fixed_header .header {
  width: calc(100% - 2rem) !important;
  max-width: none !important;
}

@media only screen and (max-width: 1144px) {
  body.layouts.pushable .full.height > .toc {
    display: block !important;
    position: fixed !important;
    left: 0;
    width: 250px;
  }
  body.layouts.pushable .full.height > .article {
    margin-left: 250px !important;
  }
}

/*
 * #common_menu 子メニュー（.menu 化で Semantic 既定が当たると色が 0.5 に薄くなり、
 * .menu .item:before が none で仕切り線も消える → 従来の見た目に近づける）
 */
#common_menu.ui.vertical.inverted.menu .item > .menu {
  margin: 0.35em 0 0;
  padding-top: 0.15em;
}

#common_menu.ui.vertical.inverted.menu .menu a.item {
  position: relative;
  display: block;
  font-size: 1em !important;
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 0.92857143em 1.14285714em;
}

#common_menu.ui.vertical.inverted.menu .menu a.item:before {
  display: block !important;
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

#common_menu.ui.vertical.inverted.menu .menu a.item:first-child:before {
  display: none !important;
}

#common_menu.ui.vertical.inverted.menu .menu a.item:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08);
}

#common_menu.ui.vertical.inverted.menu .menu a.item.active {
  font-weight: bold;
  color: #ffffff !important;
}

.pushable > .pusher {
  overflow: visible;
}

.ui.center.aligned {
  justify-content: center;
  display: -webkit-flex;
  display: flex;
}

.ui.right.aligned {
  justify-content: flex-end;
  display: -webkit-flex;
  display: flex;
}

.ui.inverted.menu {
  border: 0 solid transparent;
  /* background: #0033CC; */
  background: #043886;
  box-shadow: none;
}

#login header {
  margin: 0 0 20px 0;
}

#change_password_wrap {
  display: none;
}

.has_id #change_password_wrap {
  display: block;
}

#login input {
  font-size: 26px;
  padding: 16px;
  font-weight: bold;
}

#login form.ui.form .field {
  margin-bottom: 25px;
}

.input input, .field input {
  padding: 0 0em;
}

input:disabled {
  background-color: transparent;
  border: none;
}

/* 金額確定ロック配下の無効入力は視認性のため背景色を#eeeに統一 */
.price_lock input:disabled,
.price_lock select:disabled,
.price_lock textarea:disabled {
  background-color: #eee !important;
}

.input_text {
  margin: 0;
  max-width: 100%;
  outline: 0;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  text-align: left;
  line-height: 1.21428571em;
  font-family: Lato, "Helvetica Neue", Arial, Helvetica, sans-serif;
  padding: 0.67857143em 1em;
  border: 1px solid rgba(34, 36, 38, 0.15);
  color: rgba(0, 0, 0, 0.87);
  border-radius: 0.28571429rem;
  transition: box-shadow 0.1s ease, border-color 0.1s ease;
  box-shadow: none;
  width: 100%;
  box-sizing: border-box;
}

input[type="number"]::-webkit-outer-spin-button, 
input[type="number"]::-webkit-inner-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
} 

select {
  border: 1px solid #c6c6c6;
  width: calc(100% - 0px);
  background-color: #fff;
  border-radius: 4px;
  padding: 0 0.5em;
}

.text-center {
  text-align: center;
  justify-content: center;
}

.text-right {
  text-align: right;
  justify-content: flex-end;
}

.number {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: flex-end !important;
}

form.ui.segments > .segment:nth-of-type(1) {
  border-top: none;
}

.ui.grid textarea {
  border: 1px solid #c6c6c6;
  background-color: #fff;
  border-radius: 4px;
  padding: 0.5em 0.5em;
  margin-right: 0.5em;
  width: 100%;
}
.ui.grid .ui.toggle.checkbox label {
  padding-top: 0;
}

.ui.table input:disabled {
  background-color: transparent;
}
.ui.table.transparent {
  background-color: transparent;
}
.ui.table thead th {
  padding: 0.5em 0.5em;
}
.ui.table th {
  vertical-align: middle;
}
.ui.table th.center {
  text-align: center;
}
.ui.table td {
  padding: 0.5em 0.5em;
  text-align: inherit;
  vertical-align: middle;
}
.ui.table td.center {
  text-align: center;
}
.ui.table td.right {
  text-align: right;
}
.ui.table tfoot th {
  padding: 0.5em 0.5em;
}
.ui.table tr.molkuji td {
  background-color: #f9fafb;
  font-weight: bold;
}
.ui.table .cell_label {
  width: 10%;
  text-align: center;
}
.ui.table .cell_date {
  width: 12%;
  text-align: center;
}
.ui.table .cell_district, .ui.table .cell_reception {
  width: 10%;
}
.ui.table .cell_username {
  width: 17%;
}
.ui.table .cell_staff {
  width: 10%;
}
.ui.table .cell_instructions {
  width: 30%;
}
.ui.table .cell_workingtime {
  width: 10%;
  text-align: center;
}
.ui.table td.cell_workingtime {
  text-align: center;
}
.ui.table .cell_process {
  width: 30%;
}
.ui.table .cell_estimated {
  width: 13%;
  text-align: center;
}
.ui.table .cell_arrival {
  width: 19%;
}
.ui.table th.cell_arrival {
  text-align: center;
}
.ui.table .num {
  width: 2.6em;
  display: inline-block;
  text-align: center;
}
.ui.table .ui.icon.buttons {
  width: 80px;
}
.ui.table .ui.icon.buttons .ui.button {
  width: 40px;
  max-width: 40px;
}

.table-wrap {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  overflow-x: scroll;
}
.table-wrap table.ui.table:first-child {
  margin-top: 1em;
}
.table-wrap table.ui.table th, .table-wrap table.ui.table td {
  white-space: nowrap;
}

.ui.grid .field label + input.dateTerm
{
  width: 150px !important;
}
.ui.grid > .column:not(.row) {
  padding-top: 0.5rem;
}
.ui.grid .column .ui.grid {
  margin-top: 0;
}
.ui.grid .column .ui.grid > .row {
  padding-top: 0;
}
.ui.grid .column.pd0_1rem {
  padding: 0 1em;
}
.ui.grid .field label {
  max-width: 100px;
}
.ui.grid .field label + input {
  min-width: 150px;
  width: calc(100% - 150px) !important;
}
@media screen and (max-width: 500px) {
  .ui.grid .field label + input {
    max-width: 100% !important;
    min-width: initial;
    width: 100% !important;
  }
}
.ui.grid .field label + select {
  min-width: 150px;
  width: calc(100% - 150px) !important;
}
@media screen and (max-width: 500px) {
  .ui.grid .field label + select {
    max-width: 100% !important;
    min-width: initial;
    width: 100% !important;
  }
}
.ui.grid h4 {
  padding: 0.25em 0em;
  margin: 0;
  font-size: 14px;
}
.ui.grid ol {
  padding-top: 0;
  margin-top: 0;
  list-style-position: inside;
  padding-left: 0;
}
.ui.grid ol li {
  list-style-type: upper-alpha;
}
.ui.grid .formGroup {
  width: auto;
  max-width: calc(100% - 10em);
}
@media screen and (max-width: 500px) {
  .ui.grid .formGroup {
    width: 100%;
    max-width: initial;
  }
}
.ui.grid .formGroup > .ui {
  margin-right: 5px;
  margin-bottom: 5px;
}
.ui.grid .rangeGroup {
  flex-wrap: nowrap;
}
.ui.grid .rangeGroup .rangeSeparator {
  padding: 0.5em;
  display: inline-block;
}
.ui.grid .rangeGroup > input {
  width: auto;
  max-width: 45%;
}

.ui.main.container {
  padding-top: 3.5rem;
}
.ui.main.container main a.anchor {
  top: -4rem;
}
.ui.main.container main .section {
  position: relative;
  margin-bottom: 3rem;
}
.ui.main.container main .form {
  margin: 0px;
}
.work_report_header {
  margin-top: 10px !important;
}
.ui.main.container main .reportSelect {
  margin-bottom: 15px;
}
.ui.main.container main .totalTime {
  text-align: right;
}
.ui.main.container main .totalTime::before {
  content: "合計作業時間";
  display: inline-block;
  margin-right: 1em;
}
.ui.main.container main .totalAmount {
  text-align: right;
}
.ui.main.container main .totalAmount::before {
  content: "合計金額";
  display: inline-block;
  margin-right: 1em;
}
.report_result_block {
  display: none;
  margin: 20px 0 15px;
}
.report_result_block .wrapper {
  margin-bottom: 30px;
}

.ui.right.floated.menu input {
  border: none;
  text-align: center;
  border-right: 1px solid rgba(34, 36, 38, 0.1);
  cursor: pointer;
}
@media screen and (max-width: 500px) {
  .ui.right.floated.menu input {
    max-width: 69%;
  }
}

#template {
  display: none;
}

.label1 {
  background-color: #00FF00 !important;
  color: #000 !important;
}
.label1 + .job {
  color: #000 !important;
}

.label2 {
  background-color: #FFA500 !important;
  color: #000 !important;
}
.label2 + .job {
  color: #000 !important;
}

.label3 {
  background-color: #00FFFF !important;
  color: #000 !important;
}
.label3 + .job {
  color: #000 !important;
}

.label4 {
  background-color: #FF0000 !important;
  color: #FFF !important;
}
.label4 + .job {
  color: #FFF !important;
}

.label5 {
  background-color: #5C6BC0 !important;
  color: #FFF !important;
}
.label5 + .job {
  color: #FFF !important;
}

.label6 {
  background-color: #FF00FF !important;
  color: #FFF !important;
}
.label6 + .job {
  color: #FFF !important;
}

.label7 {
  background-color: #9FA8DA !important;
  color: #000 !important;
}
.label7 + .job {
  color: #000 !important;
}

#timetable_v2 {
  position: relative;
  table-layout: fixed;
  width: 100%;
  box-sizing: border-box;
  border-spacing: 0px;
  border-collapse: inherit;
  line-height: 1em;
  border: 1px solid rgba(34, 36, 38, 0.1);
  border-bottom: none;
  contain: paint;
}
#timetable_v2 th, #timetable_v2 td {
  padding: 1em 1.3em;
  width: calc((100% - 150px) / 13);
}
#timetable_v2 th:first-of-type, #timetable_v2 td:first-of-type {
  width: 150px;
  min-width: 150px;
}
#timetable_v2 thead th, #timetable_v2 tfoot th {
  top: 0;
  z-index: 10;
  background-color: #f9fafb;
  border-bottom: 1px solid rgba(34, 36, 38, 0.1);
}
#timetable_v2 thead + thead th, #timetable_v2 tfoot + thead th {
  z-index: 9;
}
#timetable_v2 thead tr th {
  position: -webkit-sticky;
  position: sticky;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
}
#timetable_v2 tbody {
  position: relative;
}
#timetable_v2 tbody td {
  border-bottom: 1px solid rgba(34, 36, 38, 0.1);
  position: relative;
}
#timetable_v2 tbody td:not(:last-child):after {
  content: "";
  position: absolute;
  right: 0; /* 右側に線を描画 */
  top: 0;
  bottom: 0;
  border-right: 1px dotted #ccc;
}
#timetable_v2 tbody td.red::before {
  background-color: #b53829;
  display: block;
  content: "";
  height: 100%;
  width: 10px;
  position: absolute;
  left: 0;
  top: 0;
}
#timetable_v2 tbody td.orange::before {
  background-color: #d26f25;
  display: block;
  content: "";
  height: 100%;
  width: 10px;
  position: absolute;
  left: 0;
  top: 0;
}
#timetable_v2 tbody td.yellow::before {
  background-color: #e9b725;
  display: block;
  content: "";
  height: 100%;
  width: 10px;
  position: absolute;
  left: 0;
  top: 0;
}
#timetable_v2 tbody td.olive::before {
  background-color: #b4c329;
  display: block;
  content: "";
  height: 100%;
  width: 10px;
  position: absolute;
  left: 0;
  top: 0;
}
#timetable_v2 tbody td.green::before {
  background-color: #62ad41;
  display: block;
  content: "";
  height: 100%;
  width: 10px;
  position: absolute;
  left: 0;
  top: 0;
}
#timetable_v2 tbody td.teal::before {
  background-color: #5ba8a3;
  display: block;
  content: "";
  height: 100%;
  width: 10px;
  position: absolute;
  left: 0;
  top: 0;
}
#timetable_v2 tbody td.blue::before {
  background-color: #4578c7;
  display: block;
  content: "";
  height: 100%;
  width: 10px;
  position: absolute;
  left: 0;
  top: 0;
}
#timetable_v2 tbody td.violet::before {
  background-color: #4e35bf;
  display: block;
  content: "";
  height: 100%;
  width: 10px;
  position: absolute;
  left: 0;
  top: 0;
}
#timetable_v2 tbody td.purple::before {
  background-color: #8239be;
  display: block;
  content: "";
  height: 100%;
  width: 10px;
  position: absolute;
  left: 0;
  top: 0;
}
#timetable_v2 tbody td.pink::before {
  background-color: #bb448c;
  display: block;
  content: "";
  height: 100%;
  width: 10px;
  position: absolute;
  left: 0;
  top: 0;
}
#timetable_v2 tbody td.brown::before {
  background-color: #8c5f3a;
  display: block;
  content: "";
  height: 100%;
  width: 10px;
  position: absolute;
  left: 0;
  top: 0;
}
#timetable_v2 tbody td.grey::before {
  background-color: #6b6b6b;
  display: block;
  content: "";
  height: 100%;
  width: 10px;
  position: absolute;
  left: 0;
  top: 0;
}
#timetable_v2 tbody td.black::before {
  background-color: #1a1a1b;
  display: block;
  content: "";
  height: 100%;
  width: 10px;
  position: absolute;
  left: 0;
  top: 0;
}
#timetable_v2 tfoot {
  position: relative;
}
#timetable_v2 tfoot th, #timetable_v2 tfoot td {
  position: sticky;
  bottom: 0;
  z-index: 20;
}

.task {
  display: flex;
  align-items: center;
  border-radius: 0em;
  position: absolute;
  left: 0;
  top: 8%;
  height: 84%;
  min-width: 100%;
  background-color: #6b6b6b;
  color: #fff;
  cursor: pointer;
  z-index: 10;
  border: 1px solid #fff;
}
a.task,
a.task:visited {
  color: #fff;
  text-decoration: none;
}
.task.red {
  background-color: #b53829;
}
.task.orange {
  background-color: #d26f25;
}
.task.yellow {
  background-color: #e9b725;
}
.task.olive {
  background-color: #b4c329;
}
.task.green {
  background-color: #62ad41;
}
.task.teal {
  background-color: #5ba8a3;
}
.task.blue {
  background-color: #4578c7;
}
.task.violet {
  background-color: #4e35bf;
}
.task.purple {
  background-color: #8239be;
}
.task.pink {
  background-color: #bb448c;
}
.task.brown {
  background-color: #8c5f3a;
}
.task.grey {
  background-color: #6b6b6b;
}
.task.black {
  background-color: #1a1a1b;
}
.task.duration-30m {
  width: 50%; /* 30分 = 1時間の半分 */
}
.task.duration-1h {
  width: 100%; /* 1時間 */
}
.task.duration-1_5h {
  width: 150%; /* 2時間 = 1時間の2倍 */
}
.task.duration-2h {
  width: 200%; /* 2時間 = 1時間の2倍 */
}
.task.duration-2_5h {
  width: 250%;
}
.task.duration-3h {
  width: 300%;
}
.task.duration-3_5h {
  width: 350%;
}
.task.duration-4h {
  width: 400%;
}
.task.duration-4_5h {
  width: 450%;
}
.task.duration-5h {
  width: 500%;
}
.task.duration-5_5h {
  width: 550%;
}
.task.duration-6h {
  width: 600%;
}
.task.duration-6_5h {
  width: 650%;
}
.task.duration-7h {
  width: 700%;
}
.task.duration-7_5h {
  width: 750%;
}
.task.duration-8h {
  width: 800%;
}
.task.duration-8_5h {
  width: 850%;
}
.task.duration-9h {
  width: 900%;
}
.task.duration-9_5h {
  width: 950%;
}
.task.duration-10h {
  width: 1000%;
}
.task.duration-10_5h {
  width: 1050%;
}
.task.duration-11h {
  width: 1100%;
}
.task.duration-11_5h {
  width: 1150%;
}
.task.duration-12h {
  width: 1200%;
}
/* 開始位置は15分単位（1時間を4分割） */
.task.min15 {
  left: 25%;
}
.task.min30 {
  left: 50%;
}
.task.min45 {
  left: 75%;
}
.task .task-name {
  display: block;
  padding: 0.25em 0.5em;
  overflow: hidden; /* 余分なテキストを非表示にする */
  white-space: nowrap; /* テキストを一行で表示 */
  text-overflow: ellipsis; /* はみ出したテキストを省略記号で表示 */
}
.task a {
  color: #fff;
  text-decoration: none;
}

.span1col {
  grid-column: span 1; /* 1列分の幅 */
}

.span2col {
  grid-column: span 2; /* 1列分の幅 */
}

.span3col {
  grid-column: span 3; /* 2列分の幅 */
}

.span4col {
  grid-column: span 4; /* 3列分の幅 */
}

.span5col {
  grid-column: span 5; /* 3列分の幅 */
}

.span6col {
  grid-column: span 6; /* 3列分の幅 */
}

.grid_v2 {
  width: 100%;
  display: grid;
  column-gap: 5px;
  box-sizing: border-box;
  align-content: baseline;
  margin-top: 0;
  margin-bottom: 0.5rem;
}
.grid_v2 > * {
  padding: 0em 0.5em 0.5em 0.5em;
}
.grid_v2 .grid > * {
  padding: 0.1em 0em;
}
.grid_v2.cols-2 {
  grid-template-columns: 1fr 1fr;
}
.grid_v2.cols-4 {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
.grid_v2.cols-6 {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
}
.grid_v2.cols-8 {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
}
.grid_v2 .break {
  grid-column: 2/-1;
}
.grid_v2 h4 {
  padding: 0.25em 0em;
  margin: 0;
  font-size: 14px;
}
.grid_v2 ol {
  padding-top: 0;
  margin-top: 0;
  list-style-position: inside;
  padding-left: 0;
}

.commentbox {
  word-break: break-all;
  display: block;
  padding: 6px;
  border-radius: 6px;
  border: 1px solid #c6c6c6;
  margin-bottom: 0.5rem;
  word-break: break-all;
}
.commentbox + .commentbox {
  margin-left: 10px;
}

.inner > .gridtable {
  margin: 0 0 1rem 0;
}

.gridtable {
  width: 100%;
  display: grid;
  column-gap: 10px;
  box-sizing: border-box;
  align-content: baseline;
  margin: 0;
}
.gridtable dt, .gridtable dd {
  display: -webkit-flex;
  display: flex;
  align-items: center;
}
.gridtable.cols-2 {
  grid-template-columns: 150px 1fr;
}
.gridtable.cols-4 {
  grid-template-columns: 120px 1fr 120px 1fr;
}
.gridtable.ownerinfo {
  grid-template-columns: auto 1fr auto 1fr;
}
.gridtable.address {
  grid-template-columns: auto 1fr;
  grid-gap: 10px; /* グリッドアイテム間のギャップ */
}
.gridtable.address dd {
  max-width: 50%; /* 最大幅を200pxに設定 */
  margin-right: auto; /* 右側の余白を自動で調整して左寄せにする */
}
.gridtable.packed1 {
  grid-template-columns: auto 1fr auto 1fr auto 1fr;
  width: 70%;
}
.gridtable.cols-6 {
  grid-template-columns: 120px 1fr 120px 1fr 120px 1fr;
}
.gridtable.packed2 {
  grid-template-columns: 60px 1fr 60px 1fr 60px 1fr;
}
.gridtable.cols-8 {
  grid-template-columns: 120px 1fr 120px 1fr 120px 1fr 120px 1fr;
}
.gridtable.cols-8.evenly {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
}
.gridtable.custom_manager {
  grid-template-columns: 100px 170px 120px 170px 80px 170px;
}
.gridtable.receipt_company {
  grid-template-columns: 90px 250px 80px 200px 30px 100px;
}
.gridtable.custom_manager dt {
  align-items: center;
}
.gridtable.custom_startofwork {
  grid-template-columns: 120px 200px 2em 100px 2em 100px;
}
.gridtable.custom_startofwork dt {
  align-items: center;
}
.gridtable.mb1 {
  margin-bottom: 1rem;
}
.gridtable.mb0 {
  margin-bottom: 0rem;
}
.gridtable dt {
  font-weight: bold;
}
.gridtable dd {
  margin-left: 0;
}
.gridtable dt, .gridtable dd {
  padding: 0.25em 0em;
  display: -webkit-flex;
  display: flex;
  margin: 0 0 0px 0;
}
.gridtable dt .ui.form, .gridtable dd .ui.form {
  margin: 0px;
}

.report_table {
  padding: 0 0em;
}
.report_table.mb1 {
  margin-bottom: 1rem;
}
.report_table tr th, .report_table tr td {
  width: 14.2857142857%;
}
.report_list.mb1 {
  margin-bottom: 1rem;
}
.report_list > * {
  box-sizing: border-box;
  padding: 0 0.25em;
}
.report_list ol {
  list-style-position: inside;
  padding: 0;
  margin: 0;
}
.borderbox {
  word-break: break-all;
  padding: 10px 10px 6px 10px;
  border-radius: 3px;
  border: 1px solid #c6c6c6;
  margin-bottom: 1rem;
}
.borderbox h4 {
  padding: 0.25em 0em;
  margin: 0;
  font-size: 14px;
}
.ui.labeled.input:not([class*="corner labeled"]) .label:first-child {
  border: 1px solid rgba(34, 36, 38, 0.15);
}

.ui.form .paymentdetail.grid.ui,
.ui.form .paymentdetail.fields {
  padding: 3px 0 3px 0px;
}
.ui.form textarea:disabled,
.ui.form select:disabled,
.ui.form input:not([type]):disabled,
.ui.form input[type=date]:disabled,
.ui.form input[type=datetime-local]:disabled,
.ui.form input[type=email]:disabled,
.ui.form input[type=file]:disabled,
.ui.form input[type=number]:disabled,
.ui.form input[type=password]:disabled,
.ui.form input[type=search]:disabled,
.ui.form input[type=tel]:disabled,
.ui.form input[type=text]:disabled,
.ui.form input[type=time]:disabled,
.ui.form input[type=url]:disabled {
  background-color: transparent;
  -webkit-appearance: none; /* Chrome, Safari, Opera */
  -moz-appearance: none; /* Firefox */
  appearance: none; /* 標準 */
  color: #1a1a1b;
  opacity: 1;
}
.ui.form .fields {
  flex-wrap: wrap;
}
.ui.form .fields .field {
  margin-bottom: 5px;
}
.ui.form .field.inline label {
  width: 10em;
}
@media screen and (max-width: 500px) {
  .ui.form .column.stackable.grid .column {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

.ui.labeled input:not([type]),
.ui.labeled input[type=date],
.ui.labeled input[type=datetime-local],
.ui.labeled input[type=email],
.ui.labeled input[type=file],
.ui.labeled input[type=number],
.ui.labeled input[type=password],
.ui.labeled input[type=search],
.ui.labeled input[type=tel],
.ui.labeled input[type=text],
.ui.labeled input[type=time],
.ui.labeled input[type=url] {
  min-width: initial;
  max-width: initial;
  width: inherit;
}

#signature-field {
  word-break: break-all;
  padding: 10px 10px 6px 10px;
  border-radius: 3px;
  border: 1px solid #c6c6c6;
  margin-bottom: 1rem;
  position: relative;
  min-height: 200px;
  background-color: #fff;
  position: relative; /* 子要素のcanvasを正しく配置 */
}
#signature-field::before {
  content: "お客様サイン欄";
  position: absolute;
  top: 10px;
  left: 10px;
  color: #ccc;
}
#signature-field canvas {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.ui.checkbox .box:before,
.ui.checkbox label:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  content: "";
  background: #fff;
  border-radius: 0.21428571rem;
  transition: border 0.1s ease, opacity 0.1s ease, transform 0.1s ease, box-shadow 0.1s ease;
  border: 1px solid #d4d4d5;
}

.ui.checkbox label {
  cursor: pointer;
}

.ui.checkbox .box:after,
.ui.checkbox label:after {
  position: absolute;
  font-size: 14px;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  text-align: center;
  opacity: 0;
  color: rgba(0, 0, 0, 0.87);
  transition: border 0.1s ease, opacity 0.1s ease, transform 0.1s ease, box-shadow 0.1s ease;
}

.ui.inputnumber {
  display: -webkit-flex;
  display: flex;
  align-items: center;
  margin: auto;
  /* Firefox */
}
.ui.inputnumber button, .ui.inputnumber input {
  height: 40px;
  font-size: 15px;
}
.ui.inputnumber input::-webkit-outer-spin-button,
.ui.inputnumber input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.ui.inputnumber input[type=number] {
  -moz-appearance: textfield;
  text-align: center;
}
.ui.inputnumber button {
  padding: 0.67857143em 1em;
  display: -webkit-flex;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1em;
}
.ui.inputnumber button:nth-of-type(1) {
  border-radius: 0.28571429rem 0 0 0.28571429rem;
  margin-right: 0;
}
.ui.inputnumber button:nth-of-type(2) {
  border-radius: 0 0.28571429rem 0.28571429rem 0;
  margin-right: 0;
}
.ui.inputnumber input {
  margin: 0;
  outline: 0;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  text-align: left;
  line-height: 1.21428571em;
  font-family: Lato, "Helvetica Neue", Arial, Helvetica, sans-serif;
  padding: 0.67857143em 0.5em;
  background: #fff;
  border: 1px solid rgba(34, 36, 38, 0.15);
  color: rgba(0, 0, 0, 0.87);
  transition: box-shadow 0.1s ease, border-color 0.1s ease;
  box-shadow: none;
  width: 4em;
}

#searchresults_thumbnail .image_result_wrapper {
  justify-content: space-between;
  padding: 10px 0;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(12, 1fr);
}
#searchresults_thumbnail .image_result_wrapper .item {
  grid-column: auto/span 2;
  margin-bottom: 10px;
  border: 1px solid rgba(34, 36, 38, 0.1);
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}
@media screen and (max-width: 600px) {
  #searchresults_thumbnail .image_result_wrapper .item {
    grid-column: auto/span 6;
  }
}
#searchresults_thumbnail .image_result_wrapper .item .ui.checkbox {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
}
#searchresults_thumbnail .image_result_wrapper .item .image {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  position: relative;
}
#searchresults_thumbnail .image_result_wrapper .item .image img {
  width: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
#searchresults_thumbnail .image_result_wrapper .item .content {
  padding: 0.5rem;
}
#searchresults_thumbnail .image_result_wrapper .item .content dl {
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 0.8rem;
}
#searchresults_thumbnail .image_result_wrapper .item .content dl dt {
  width: 30%;
}
#searchresults_thumbnail .image_result_wrapper .item .content dl dd {
  width: 70%;
  margin-left: 0;
  overflow: hidden; /* 余分なテキストを非表示にする */
  white-space: nowrap; /* テキストを一行で表示 */
  text-overflow: ellipsis; /* はみ出したテキストを省略記号で表示 */
}

.staff_locatormap {
  width: 100%;
}
.staff_locatormap iframe {
  width: 100%;
}

.ui.mini.image,
.ui.mini.images .image,
.ui.mini.images img,
.ui.mini.images svg {
  width: 60px;
  height: auto;
  font-size: 0.78571429rem;
}

@media only screen and (min-width: 1200px) {
  .main.container {
    margin-left: 2em !important;
    margin-right: 2em !important;
  }
}
@media only screen and (max-width: 992px) {
  .main.container {
    margin-left: 1em !important;
    margin-right: 1em !important;
  }
}
.main.container > h2.ui.dividing.header {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  display: -webkit-flex;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.main.container > h2.ui.dividing.header .btn_wrap {
  margin-bottom: 0;
}
@media screen and (max-width: 500px) {
  .main.container > h2.ui.dividing.header {
    white-space: nowrap;
    font-size: 18px;
  }
}
.main.container > h2.ui.dividing.header span {
  display: -webkit-flex;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.main.container > h2.ui.dividing.header span .btn {
  margin-left: 0.5em;
}
@media screen and (max-width: 500px) {
  .main.container > h2.ui.dividing.header .ui.right.floated.menu {
    width: 70%;
  }
}
.main.container > h2.ui.dividing.header .ui.menu .icon.item {
  aspect-ratio: 1/1;
}

body.login .ui.grid .field label + input {
  min-width: none;
  width: 100% !important;
}
body.login main {
  position: relative;
}
body.login .pagelogin {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

/* ログイン：スマホでカード・タイトル幅を確保 */
@media screen and (max-width: 768px) {
  body.login {
    padding: 12px 10px;
  }
  body.login article.ui.centered.grid.container {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  body.login article.ui.centered.grid.container > .column {
    width: 100% !important;
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
  }
  body.login .ui.card > .content > .header {
    font-size: 1.05rem;
    line-height: 1.35;
  }
}

.ui.dividing.header.todayswork {
  padding: 10px 0;
  display: -webkit-flex;
  display: flex;
  align-items: center;
  justify-content: space-between;
  line-height: 1em;
  position: sticky;
  top: 45px;
  z-index: 10;
  background-color: #fff;
}
.ui.dividing.header.todayswork input:focus {
  border: none;
  outline: none;
}

.list_wrap {
  margin: 30px 0 30px 0;
}

.modal_material_add .ui.form dl.formtable, .passwordEdit .ui.form dl.formtable {
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  box-sizing: border-box;
}
.modal_material_add .ui.form dl.formtable dt, .modal_material_add .ui.form dl.formtable dd, .passwordEdit .ui.form dl.formtable dt, .passwordEdit .ui.form dl.formtable dd {
  padding: 1em;
  margin: 0 0 1em 0;
  padding: 0;
  display: -webkit-flex;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.modal_material_add .ui.form dl.formtable dt, .passwordEdit .ui.form dl.formtable dt {
  width: 220px;
}
.modal_material_add .ui.form dl.formtable dd, .passwordEdit .ui.form dl.formtable dd {
  width: calc(100% - 220px);
}
.modal_material_add .ui.form dl.formtable dd input[type=date], .passwordEdit .ui.form dl.formtable dd input[type=date] {
  width: 50%;
}
.modal_material_add .ui.form dl.formtable dd .ui.inputnumber, .passwordEdit .ui.form dl.formtable dd .ui.inputnumber {
  margin: 0;
  width: 25%;
}

.namebox {
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
}
.namebox .commentbox {
  width: 80%;
}
.namebox .commentbox:nth-of-type(2), .namebox .commentbox:nth-of-type(4), .namebox .commentbox:nth-of-type(6) {
  width: 15%;
  text-align: center;
}
.namebox .commentbox:nth-of-type(3), .namebox .commentbox:nth-of-type(5), .namebox .commentbox:nth-of-type(7) {
  width: 80%;
  margin-left: 0px;
}

#adminmenu {
  margin-top: 40px;
}

.adminmenu.ui.menu {
  margin-top: 2rem;
}
.adminmenu.ui.menu + h2.ui.dividing.header {
  margin-top: 1rem;
}

.ui.form .inline.field > div {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
}
.ui.form .inline.field > div .ui.checkbox {
  width: auto;
  margin-right: 2em;
}
.ui.form .inline.field > div .ui.checkbox label {
  padding-left: 2.2em;
  min-width: inheritinline;
}

.ui.form .inline.field .ui.textarea {
  width: calc(100% - 150px) !important;
}
@media screen and (max-width: 500px) {
  .ui.form .inline.field .ui.textarea {
    width: 100% !important;
    margin-right: 0;
  }
}

.form .ui.file_attach_table {
  margin-top: 0;
}
@media screen and (max-width: 600px) {
  .ui.file_attach_table a {
    margin-bottom: 5px;
  }
  .ui.file_attach_table .attach_file_name {
    margin-top: 8px;
  }
}
.file_attach_table tr:not(.attached) .show_btn {
  display: none;
}
body.readonly .file_attach_table .fileLabel,
body.readonly .file_attach_table tfoot,
body.readonly .file_attach_table .file_hide_btn {
  display: none !important;
}

.ui.form .inline.field > .ui.w100 {
  width: calc(100% - 140px);
}
.ui.form .inline.field .assignee {
  padding: 0;
  margin: 0;
  width: calc(100% - 160px);
  display: inline-table;
  align-items: center;
}
.ui.form .inline.field .assignee li {
  width: auto;
  margin: 0;
  padding: 0;
  list-style: none;
  display: -webkit-flex;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  table-layout: fixed;
  list-style-type: none;
  list-style-position: outside;
  padding: 5px 0 5px 0;
  border-bottom: 1px dotted #6b6b6b;
}
.ui.form .inline.field .assignee li .dept {
  margin-right: 15px;
  width: 4em;
  display: inline-block;
}
.ui.form .inline.field .assignee li .name {
  margin-right: 15px;
  width: 10em;
  display: inline-block;
}
.ui.form .inline.fields label {
  white-space: nowrap;
}
.ui.form .inline.fields .field > div {
  display: inline-block;
}
.ui.form.inner .btn {
  margin-bottom: 5px;
}

.addarea {
  border-top: 1px dashed #ddd;
  padding: 12px 0;
  border-bottom: 1px dashed #ddd;
  margin-bottom: 14px;
}

.filelist {
  padding-left: 0;
}
.filelist li {
  list-style: none;
  display: -webkit-flex;
  display: flex;
  align-items: center;
}
.filelist li label {
  display: inline-block;
  width: 10em;
  overflow: hidden; /* 余分なテキストを非表示にする */
  white-space: nowrap; /* テキストを一行で表示 */
  text-overflow: ellipsis; /* はみ出したテキストを省略記号で表示 */
}

.ui.grid > .column:not(.row) {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

#accountMenu {
  padding-left: inherit;
  height: 100%;
}

.report_wrap h3.bodertitle {
  border-bottom: 1px solid #9a9a9a;
  padding: 5px;
}
.report_wrap h3.bodertitle:hover {
  background-color: transparent;
}

.dlTable {
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  margin-bottom: 30px;
}
.dlTable dt {
  width: 20%;
}
.dlTable dd {
  width: 30%;
  margin-left: 0;
  margin-bottom: 10px;
}

.modal.modal_search_material .content {
  max-height: 80vh;
  overflow-y: scroll;
}
.modal.modal_search_material .content .toggle_wrap h3 {
  font-size: 14px;
  margin-bottom: 0px;
}
.modal.modal_search_material .content .toggle_wrap.open h3 {
  margin-bottom: 10px;
}

.dataViewArea {
  background-color: #eee;
  /* padding: 10px; */
  padding: 20px 15px;
  position: relative;
  margin-bottom: 10px;
  border-radius: 4px;
}
.dataViewArea .dataViewBody {
  display: -webkit-flex;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  border: 1px solid #ccc;
  border-bottom: none;
  margin-bottom: 0;
}
@media screen and (max-width: 500px) {
  .dataViewArea .dataViewBody {
    font-size: 90%;
  }
}
.dataViewArea .dataViewBody dt, .dataViewArea .dataViewBody dd {
  padding: 0.5em 0.5em;
  border-bottom: 1px solid #ccc;
}
.dataViewArea .dataViewBody dt {
  width: 20%;
  border-right: 1px solid #ccc;
  background-color: #e2e2e2;
  font-weight: bold;
}
@media screen and (max-width: 500px) {
  .dataViewArea .dataViewBody dt {
    width: 40%;
  }
}
.dataViewArea .dataViewBody dd {
  width: 30%;
  margin-left: 0;
  border-right: 1px solid #ccc;
}
.dataViewArea .dataViewBody dd:nth-of-type(2n) {
  border-right: none;
}
@media screen and (max-width: 500px) {
  .dataViewArea .dataViewBody dd {
    width: 60%;
    border-right: none;
  }
}

.modal_material_list .dataViewArea {
  background-color: #eee;
  padding: 10px;
  position: relative;
  border-radius: 4px;
  margin: 15px;
}
.modal_material_list .dataViewArea .dataViewBody {
  display: -webkit-flex;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  border: 1px solid #ccc;
  border-bottom: none;
  margin-top: 0;
  margin-bottom: 0;
}

.main_area input[type=text],
.main_area input[type=textbox], .main_area select {
  height: 40px !important;
}

.order_prod_table .itemName, .own_prod_table .itemName {
  width: 20%;
}
.order_prod_table .standard, .own_prod_table .standard {
  width: 19%;
}
.order_prod_table .quantity, .own_prod_table .quantity {
  width: 7%;
}
.order_prod_table .inspectionItem, .own_prod_table .inspectionItem {
  width: 10%;
}
.order_prod_table td.inspectionItem div, .own_prod_table td.inspectionItem div {
  width: 100%;
}
.order_prod_table .inspector, .own_prod_table .inspector {
  width: 14%;
}
.order_prod_table .supplier, .own_prod_table .supplier {
  width: 20%;
}
.order_prod_table .action, .own_prod_table .action {
  width: 10%;
}

.inspectionForm {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}
.inspectionForm dt, .inspectionForm dd {
  display: -webkit-flex;
  display: flex;
  align-items: center;
  padding: 0 5px 0 5px;
  white-space: nowrap;
}
.inspectionForm dt {
  grid-column: auto/span auto;
}
.inspectionForm dd {
  grid-column: auto/span 3;
  margin-left: 0;
}
@media screen and (max-width: 500px) {
  .inspectionForm dd {
    grid-column: auto/span 12;
  }
}

.testForm {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}
.testForm div {
  display: -webkit-flex;
  display: flex;
  align-items: center;
  padding: 0 5px 0 5px;
  white-space: nowrap;
}
.testForm div.shiken {
  grid-column: auto/span auto;
  padding-left: 0;
}
.testForm div.ui.input {
  grid-column: auto/span 3;
}
.testForm div.ui.input input {
  width: 60%;
}
.testForm div.ui.input select {
  width: 40%;
}
.testForm div .time {
  grid-column: auto/span 1;
}

.ui.input label {
  display: flex;
  align-items: center;
}
.ui.input.combo input {
  margin-right: 0;
  border-radius: 0.28571429rem 0 0 0.28571429rem;
  min-width: 50%;
}
.ui.input.combo select {
  margin-left: 0;
  border-radius: 0 0.28571429rem 0.28571429rem 0;
  min-width: 50%;
  max-width: 50%;
}
.ui.input.combo .ui.selection.dropdown {
  min-width: 50%;
  max-width: 50%;
  border-radius: 0 0.28571429rem 0.28571429rem 0;
}
.ui.input.time input {
  border-radius: 0.28571429rem 0 0 0.28571429rem;
}
.ui.input.time input + span.unit::after {
  display: flex;
  align-items: center;
  justify-self: center;
  content: "分";
  background-color: #fff;
  border-radius: 0 0.28571429rem 0.28571429rem 0;
  height: 100%;
  border: 1px solid rgba(34, 36, 38, 0.15);
  border-left: none;
  padding: 0 10px;
}

.search_header_area {
  display: flex;
  align-items: end;
  justify-content: space-between;
}
.toggle_wrap .inner {
  padding: 15px;
}
@media screen and (max-width: 500px) {
  .toggle_wrap .inner {
    padding: 2%;
  }
}

@media screen and (max-width: 500px) {
  table.order_prod_table th:nth-of-type(1), table.order_prod_table td:nth-of-type(1), table.own_prod_table th:nth-of-type(1), table.own_prod_table td:nth-of-type(1) {
    min-width: 10em;
  }
}
@media screen and (max-width: 500px) {
  table.order_prod_table th:nth-of-type(2), table.order_prod_table td:nth-of-type(2), table.own_prod_table th:nth-of-type(2), table.own_prod_table td:nth-of-type(2) {
    min-width: 9em;
  }
}
@media screen and (max-width: 500px) {
  table.order_prod_table th:nth-of-type(3), table.order_prod_table td:nth-of-type(3), table.own_prod_table th:nth-of-type(3), table.own_prod_table td:nth-of-type(3) {
    min-width: 5em;
  }
}
@media screen and (max-width: 500px) {
  table.order_prod_table th:nth-of-type(5), table.order_prod_table td:nth-of-type(5), table.own_prod_table th:nth-of-type(5), table.own_prod_table td:nth-of-type(5) {
    min-width: 7em;
  }
}
@media screen and (max-width: 500px) {
  table.order_prod_table th:nth-of-type(6), table.order_prod_table td:nth-of-type(6), table.own_prod_table th:nth-of-type(6), table.own_prod_table td:nth-of-type(6) {
    min-width: 10em;
  }
}

@media screen and (max-width: 500px) {
  table.delivery_member_table th:nth-of-type(1), table.delivery_member_table td:nth-of-type(1), table.partner_member_table th:nth-of-type(1), table.partner_member_table td:nth-of-type(1) {
    min-width: 10em;
  }
}
@media screen and (max-width: 500px) {
  table.delivery_member_table th:nth-of-type(2), table.delivery_member_table td:nth-of-type(2), table.partner_member_table th:nth-of-type(2), table.partner_member_table td:nth-of-type(2) {
    min-width: 7em;
  }
}
@media screen and (max-width: 500px) {
  table.delivery_member_table th:nth-of-type(3), table.delivery_member_table td:nth-of-type(3), table.partner_member_table th:nth-of-type(3), table.partner_member_table td:nth-of-type(3) {
    min-width: 12em;
  }
}
@media screen and (max-width: 500px) {
  table.delivery_member_table th:nth-of-type(4), table.delivery_member_table td:nth-of-type(4), table.partner_member_table th:nth-of-type(4), table.partner_member_table td:nth-of-type(4) {
    min-width: 12em;
  }
}
@media screen and (max-width: 500px) {
  table.delivery_member_table th:nth-of-type(5), table.delivery_member_table td:nth-of-type(5), table.partner_member_table th:nth-of-type(5), table.partner_member_table td:nth-of-type(5) {
    min-width: 12em;
  }
}

.fileLabel {
  padding: 10px 20px;
  color: #fff;
  background-color: #384878;
  cursor: pointer;
}
@media screen and (max-width: 500px) {
  .fileLabel {
    padding: 10px 10px;
    font-size: 13px;
  }
}

.attach_file_name {
  display: inline-block;
}
@media screen and (max-width: 500px) {
  .attach_file_name {
    font-size: 13px;
  }
}

input[type=file] {
  display: none;
}

.search_item_wrapper {
  overflow-y: auto;
}

.search_modal {
  width: 85% !important;
  height: 85% !important;
  min-height: 85% !important;
}

.modal_container {
  padding: 1em 2em;
}

.person:after {
  content: "名";
  display: flex;
  align-items: center;
  font-weight: 700;
  margin-left: 5px;
}

.divider {
  margin: 0 auto;
  padding: 0;
  margin-bottom: 30px;
  padding-top: 30px;
  border: none;
  border-bottom: 1px dashed #6b6b6b;
}

.parts main {
  padding: 3rem;
}
.parts main section {
  margin-bottom: 1em;
}
.animation {
  transition: all 0.5s ease-in-out 0.5s;
}

.btn_wrap {
  margin-bottom: 10px;
  display: block;
}

.btn.disabled {
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.45;
}
.btn.disabled:hover {
  background-color: #ccc;
}
.btn.request_btn.disabled:hover {
  background-color: #2185d0;
}
.btn {
  position: relative;
  cursor: pointer;
  display: inline-block;
  outline: 0;
  background-color: #ccc;
  color: rgba(0, 0, 0, 0.6);
  position: relative;
  margin: 0 0.25em 0 0;
  box-sizing: content-box;
  color: #fff;
  font-family: Lato, "Helvetica Neue", Arial, Helvetica, sans-serif;
  height: 36px;
  width: 70px;
  border-radius: 4px;
  border: none;
}
@media screen and (max-width: 500px) {
  .btn {
    width: auto;
    padding: 0 0.5em;
  }
}
.btn.compact {
  height: 24px;
  width: auto;
  padding: 0 10px;
}
.btn::before {
  display: -webkit-flex;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  color: #fff;
  font-size: 14px !important;
}
.btn::after {
  font-family: Icons;
  font-style: normal;
  font-weight: 400;
  text-align: center;
  -moz-osx-font-smoothing: grayscale;
  position: absolute;
  right: 0;
  top: 0;
  display: block;
  color: #fff;
  height: 36px;
  width: 36px;
  border-radius: 0 4px 4px 0;
  display: -webkit-flex;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1em;
}
.btn.arrival_btn {
  background-color: #21ba45;
}
.btn.arrival_btn:hover {
  background-color: #198f35;
}
.btn.arrival_btn::before {
  content: "到着";
}
.btn.finish_btn {
  background-color: #21ba45;
}
.btn.finish_btn:hover {
  background-color: #198f35;
}
.btn.finish_btn::before {
  content: "退場";
}
.btn.print_btn {
  background-color: #2185d0;
}
.btn.print_btn:hover {
  background-color: #1a69a4;
}
.btn.print_btn::before {
  content: "印刷";
}
.btn.save_btn {
  background-color: #2185d0;
}
.btn.save_btn:hover {
  background-color: #1a69a4;
}
.btn.save_btn::before {
  content: "保存";
}
.btn.sign_btn {
  background-color: #2185d0;
}
.btn.sign_btn:hover {
  background-color: #1a69a4;
}
.btn.sign_btn::before {
  content: "サイン";
}
.btn.inspect_item_open_btn {
  background-color: #2185d0;
  width: auto;
  padding: 0 1em;
}
.btn.inspect_item_open_btn:hover {
  background-color: #1a69a4;
}
.btn.inspect_item_open_btn::before {
  content: "検査項目追加";
}
.btn.inspect_add_btn {
  background-color: #2185d0;
}
.btn.inspect_add_btn:hover {
  background-color: #1a69a4;
}
.btn.inspect_add_btn::before {
  content: "検査追加";
}
.btn.check_sign_btn {
  background-color: #2185d0;
  width: 7em;
}
.btn.check_sign_btn:hover {
  background-color: #1a69a4;
}
.btn.check_sign_btn::before {
  content: "サイン確認";
}
.btn.request_btn {
  background-color: #2185d0;
  padding: 0 1em;
}
.btn.request_btn:hover {
  background-color: #1a69a4;
}
.btn.request_btn::before {
  content: "承認依頼";
}
.btn.estimate_btn {
  background-color: #2185d0;
  padding: 0 0.5em;
}
.btn.estimate_btn:hover {
  background-color: #1a69a4;
}
.btn.estimate_btn::before {
  content: "見積作成";
}
.btn.free_inspect_btn {
  background-color: #2185d0;
  padding: 0 0.5em;
}
.btn.free_inspect_btn:hover {
  background-color: #1a69a4;
}
.btn.free_inspect_btn::before {
  content: "点検";
}
.btn.family_btn {
  background-color: #2185d0;
  padding: 0 0.5em;
}
.btn.family_btn:hover {
  background-color: #1a69a4;
}
.btn.family_btn::before {
  content: "社内情報1";
}
.btn.structure_btn {
  background-color: #2185d0;
  padding: 0 0.5em;
}
.btn.structure_btn:hover {
  background-color: #1a69a4;
}
.btn.structure_btn::before {
  content: "社内情報2";
}

.btn.est_load_btn {
  background-color: #2185d0;
  padding-right: calc(36px + 0.5em);
  padding-left: 0.8em;
  width: auto;
  min-width: none;
}
.btn.est_load_btn:hover {
  background-color: #1a69a4;
}
.btn.est_load_btn::before {
  content: "見積から読込";
}
.btn.est_load_btn::after {
  content: "\f002";
  background-color: #1e77ba;
}
.btn.scheduleadd_btn {
  background-color: #2185d0;
  padding: 0 1em;
}
.btn.scheduleadd_btn:hover {
  background-color: #1a69a4;
}
.btn.scheduleadd_btn::before {
  content: "予定登録";
}
.btn.schedule_btn {
  background-color: #2185d0;
  padding: 0 1em;
}
.btn.schedule_btn:hover {
  background-color: #1a69a4;
}
.btn.schedule_btn::before {
  content: "予定内容";
}
.btn.approval_btn {
  background-color: #2185d0;
  width: 7em;
}
.btn.approval_btn:hover {
  background-color: #1a69a4;
}
.btn.approval_btn::before {
  content: "承認";
}
.btn.aprvlcancel_btn {
  background-color: #db2828;
  width: 7em;
}
.btn.aprvlcancel_btn:hover {
  background-color: #b21e1e;
}
.btn.aprvlcancel_btn::before {
  content: "承認取消";
}
.btn.deny_btn {
  background-color: #db2828;
  width: 7em;
}
.btn.deny_btn:hover {
  background-color: #b21e1e;
}
.btn.deny_btn::before {
  content: "非承認";
}
.btn.return_btn {
  background-color: #db2828;
  width: 7em;
}
.btn.return_btn:hover {
  background-color: #b21e1e;
}
.btn.return_btn::before {
  content: "差戻し";
}
.btn.approving_btn {
  background-color: #f2711c;
}
.btn.approving_btn:hover {
  background-color: #cf590c;
}
.btn.approving_btn::before {
  content: "承認中";
}
.btn.detail_btn {
  background-color: #2185d0;
}
.btn.detail_btn:hover {
  background-color: #1a69a4;
}
.btn.detail_btn::before {
  content: "詳細";
}
.btn.material_btn {
  background-color: #2185d0;
}
.btn.material_btn:hover {
  background-color: #1a69a4;
}
.btn.material_btn::before {
  content: "材料";
}
.btn.edit_btn {
  background-color: #21ba45;
}
.btn.edit_btn:hover {
  background-color: #198f35;
}
.btn.edit_btn::before {
  content: "編集";
}
.btn.ok_btn {
  background-color: #2185d0;
}
.btn.ok_btn:hover {
  background-color: #1a69a4;
}
.btn.ok_btn::before {
  content: "OK";
}
.btn.cancel_btn {
  background-color: #db2828;
}
.btn.cancel_btn:hover {
  background-color: #b21e1e;
}
.btn.cancel_btn::before {
  content: "取消";
}
.btn.credit_cancel_btn {
  background-color: #db2828;
}
.btn.credit_cancel_btn:hover {
  background-color: #b21e1e;
}
.btn.credit_cancel_btn::before {
  content: "解約";
}
.btn.delete_btn {
  background-color: #db2828;
}
.btn.delete_btn:hover {
  background-color: #b21e1e;
}
.btn.delete_btn::before {
  content: "削除";
}
.btn.copy_btn {
  background-color: #21ba45;
}
.btn.copy_btn:hover {
  background-color: #198f35;
}
.btn.copy_btn::before {
  content: "コピー";
}
.btn.delivery_btn {
  background-color: #2185d0;
}
.btn.delivery_btn:hover {
  background-color: #1a69a4;
}
.btn.delivery_btn::before {
  content: "納品書";
}
.btn.bill_btn {
  background-color: #2185d0;
}
.btn.bill_btn:hover {
  background-color: #1a69a4;
}
.btn.bill_btn::before {
  content: "請求書";
}
.btn.receipt_btn {
  background-color: #2185d0;
}
.btn.receipt_btn:hover {
  background-color: #1a69a4;
}
.btn.receipt_btn::before {
  content: "領収書";
}
.btn.date_change_btn {
  width: 90px;
  background-color: #f2711c;
}
.btn.date_change_btn:hover {
  background-color: #cf590c;
}
.btn.date_change_btn::before {
  content: "日時変更";
}
.btn.search_material_btn {
  background-color: #2185d0;
  padding-right: calc(36px + 0.5em);
  padding-left: 0.8em;
  width: auto;
  min-width: none;
}
.btn.search_material_btn:hover {
  background-color: #1a69a4;
}
.btn.search_material_btn::before {
  content: "材料検索";
}
.btn.search_material_btn::after {
  content: "\f002";
  background-color: #1e77ba;
}
.btn.search_refresh_btn {
  background-color: #2185d0;
  padding-right: calc(36px + 0.5em);
  padding-left: 0.8em;
  width: auto;
  min-width: none;
}
.btn.search_refresh_btn:hover {
  background-color: #1a69a4;
}
.btn.search_refresh_btn::before {
  content: "商品検索 リフレッシュ";
}
.btn.search_refresh_btn::after {
  content: "\f002";
  background-color: #1e77ba;
}
.btn.search_support_btn {
  background-color: #2185d0;
  padding-right: calc(36px + 0.5em);
  padding-left: 0.8em;
  width: auto;
}
.btn.search_support_btn:hover {
  background-color: #1a69a4;
}
.btn.search_support_btn::before {
  content: "商品検索 暮らしサポート";
}
.btn.search_support_btn::after {
  content: "\f002";
  background-color: #1e77ba;
}
.btn.manualinput_btn {
  background-color: #2185d0;
  padding-right: calc(36px + 0.5em);
  padding-left: 0.8em;
  width: auto;
}
.btn.manualinput_btn:hover {
  background-color: #1a69a4;
}
.btn.manualinput_btn::before {
  content: "手入力";
}
.btn.manualinput_btn::after {
  content: "\f303";
  background-color: #1e77ba;
}
.btn.clear_btn {
  background-color: #e0e1e2;
  width: auto;
  padding: 0 0.9em;
}
.btn.clear_btn:hover {
  background-color: #c6c8c9;
}
.btn.clear_btn::before {
  content: "検索条件クリア";
  color: rgba(0, 0, 0, 0.6);
}
.btn.imgpreview_btn {
  background-color: #e0e1e2;
  width: auto;
  padding: 0 0.9em;
}
.btn.imgpreview_btn:hover {
  background-color: #c6c8c9;
}
.btn.imgpreview_btn::before {
  content: "画像プレビュー";
  color: rgba(0, 0, 0, 0.6);
}
.btn.preview_btn {
  background-color: #e0e1e2;
  width: auto;
  padding: 0 0.9em;
}
.btn.preview_btn:hover {
  background-color: #c6c8c9;
}
.btn.preview_btn::before {
  content: "プレビュー";
  color: rgba(0, 0, 0, 0.6);
}
.btn.save_material_btn {
  background-color: #2185d0;
  padding: 0 0.8em;
  width: auto;
}
.btn.save_material_btn:hover {
  background-color: #1a69a4;
}
.btn.save_material_btn::before {
  content: "倉庫外材料使用登録";
}
.btn.import_material_btn {
  background-color: #2185d0;
  padding: 0 0.8em;
  width: auto;
}
.btn.import_material_btn:hover {
  background-color: #1a69a4;
}
.btn.import_material_btn::before {
  content: "使用材料一覧へ取込";
}
.btn.import_result_btn {
  background-color: #2185d0;
  padding: 0 0.8em;
  width: auto;
}
.btn.import_result_btn:hover {
  background-color: #1a69a4;
}
.btn.import_result_btn::before {
  content: "結果報告へ取込";
}
.btn.importfee_btn {
  background-color: #2185d0;
  padding: 0 0.8em;
  width: auto;
}
.btn.importfee_btn:hover {
  background-color: #1a69a4;
}
.btn.importfee_btn::before {
  content: "作業代金へ取込";
}
.btn.select_all_btn {
  background-color: #2185d0;
}
.btn.select_all_btn:hover {
  background-color: #1a69a4;
}
.btn.select_all_btn::before {
  content: "全選択";
}
.btn.cancel_all_btn {
  background-color: #db2828;
}
.btn.cancel_all_btn:hover {
  background-color: #b21e1e;
}
.btn.cancel_all_btn::before {
  content: "選択解除";
}
.btn.login_btn {
  background-color: #2185d0;
}
.btn.login_btn:hover {
  background-color: #1a69a4;
}
.btn.login_btn::before {
  content: "ログイン";
}

.btn.con_select_btn {
  background-color: #2185d0;
  padding: 0 0.8em;
  width: auto;
}
.btn.con_select_btn:hover {
  background-color: #1a69a4;
}
.btn.con_select_btn.con_plan_btn::before {
  content: "施工計画書";
}
.btn.con_select_btn.con_material_btn::before {
  content: "材料実績登録";
}
.btn.con_select_btn.con_work_btn::before {
  content: "作業実績登録";
}
.btn.con_select_btn.con_step_btn::before {
  content: "段階検査票";
}
.btn.con_select_btn.con_prod_btn::before {
  content: "施工製品検査票";
}
.btn.con_select_btn.con_ledger_btn::before {
  content: "工事台帳・施工数量";
}
.modal_material_list .construct_select_btn_row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 0.35em;
}
.modal_material_list .construct_select_btn_row .con_report_link_btn {
  margin-left: auto;
}
.btn.add_material_btn {
  background-color: #2185d0;
  padding: 0 0.8em;
  width: auto;
}
.btn.add_material_btn:hover {
  background-color: #1a69a4;
}
.btn.add_material_btn::before {
  content: "倉庫材料使用登録";
}
.btn.save_close_btn {
  background-color: #2185d0;
  padding: 0 0.8em;
  width: auto;
}
.btn.save_close_btn:hover {
  background-color: #1a69a4;
}
.btn.save_close_btn::before {
  content: "登録して閉じる";
}
.btn.continue_btn {
  background-color: #2185d0;
  padding: 0 0.8em;
  width: auto;
}
.btn.continue_btn:hover {
  background-color: #1a69a4;
}
.btn.continue_btn::before {
  content: "連続登録";
}
.btn.file_attach_btn {
  background-color: #2185d0;
}
.btn.file_attach_btn:hover {
  background-color: #1a69a4;
}
.btn.file_attach_btn::before {
  content: "添付";
}
.btn.copy_btn {
  background-color: #f2711c;
}
.btn.copy_btn:hover {
  background-color: #cf590c;
}
.btn.copy_btn::before {
  content: "複写";
}
.btn.file_attach_doc_btn {
  background-color: #2185d0;
  padding: 0 0.8em;
  width: auto;
}
.btn.file_attach_doc_btn:hover {
  background-color: #1a69a4;
}
.btn.file_attach_doc_btn::before {
  content: "添付資料登録";
}
.btn.finish_inspect_btn {
  background-color: #2185d0;
  padding: 0 0.8em;
  width: auto;
}
.btn.finish_inspect_btn:hover {
  background-color: #1a69a4;
}
.btn.finish_inspect_btn::before {
  content: "社内完成検査";
}
.btn.qty_confirm_link_btn {
  background-color: #2185d0;
  padding: 0 0.8em;
  width: auto;
}
.btn.qty_confirm_link_btn:hover {
  background-color: #1a69a4;
}
.btn.qty_confirm_link_btn::before {
  content: "施工数量確認書";
}
.btn.submit_doc_inspect_btn {
  background-color: #2185d0;
  padding: 0 0.8em;
  width: auto;
}
.btn.submit_doc_inspect_btn:hover {
  background-color: #1a69a4;
}
.btn.submit_doc_inspect_btn::before {
  content: "工事完了後提出書類チェック";
}
.btn.ledger_external_link_btn {
  background-color: #21ba45;
  padding-right: calc(36px + 0.5em);
  padding-left: 0.8em;
  width: auto;
}
.btn.ledger_external_link_btn:hover {
  background-color: #198f35;
}
.btn.ledger_external_link_btn::after {
  content: "\f35d";
  background-color: #198f35;
}
.btn.ledger_plan_link_btn::before {
  content: "施工計画書";
}
.btn.ledger_inspect_link_btn::before {
  content: "施工製品検査票";
}
.btn.ledger_report_link_btn::before {
  content: "取引情報";
}
.inspect_link_row_inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  white-space: nowrap;
}
.inspect_link_row_inner .btn {
  margin-right: 0.35em;
}
.inspect_link_row_inner .btn:last-child,
.inspect_link_row_inner .ledger_report_link_btn {
  margin-right: 0;
}
.inspect_link_row_inner .ledger_report_link_btn {
  margin-left: auto;
}

.btn.select_file_btn {
  color: #fff !important;
  cursor: pointer !important;
  background-color: #2185d0 !important;
  width: 22rem !important;
  height: 36px !important;
  padding: 0 !important;
}
.btn.select_file_btn::file-selector-button {
  background-color: #2185d0 !important;
  border: none !important;
  cursor: pointer !important;
  border-right: 1px solid #fff !important;
  padding: 0.25rem 1rem !important;
  margin-right: 1rem !important;
  height: 100% !important;
  color: #fff !important;
}
.btn.add_btn {
  background-color: #2185d0;
}
.btn.add_btn:hover {
  background-color: #1a69a4;
}
.btn.add_btn::before {
  content: "追加";
}
.btn.step_add_btn {
  background-color: #2185d0;
}
.btn.step_add_btn:hover {
  background-color: #1a69a4;
}
.btn.step_add_btn::before {
  content: "追加";
}
.btn.step_delete_btn {
  background-color: #db2828;
}
.btn.step_delete_btn:hover {
  background-color: #b21e1e;
}
.btn.step_delete_btn::before {
  content: "削除";
}
.btn.addblock_btn {
  background-color: #2185d0;
  width: auto;
  padding: 0 0.8em;
}
.btn.addblock_btn:hover {
  background-color: #1a69a4;
}
.btn.addblock_btn::before {
  content: "ブロックの作成へ";
}
.btn.search_btn {
  background-color: #2185d0;
  padding-right: 42px;
}
.btn.search_btn:hover {
  background-color: #1a69a4;
}
.btn.search_btn::before {
  content: "検索";
}
.btn.search_btn::after {
  content: "\f002";
  background-color: #1e77ba;
}
.btn.map_btn {
  background-color: #e0e1e2;
  width: auto;
  padding: 0 0.8em;
}
.btn.map_btn:hover {
  background-color: #c6c8c9;
}
.btn.map_btn::before {
  color: rgba(0, 0, 0, 0.6);
  content: "参考地図を見る";
}
.btn.table_up_btn {
  background-color: #e0e1e2;
  width: auto;
  padding: 0;
  width: 36px;
}
.btn.table_up_btn:hover {
  background-color: #c6c8c9;
}
.btn.table_up_btn::before {
  content: "\f077";
  background-color: #e0e1e2;
  font-family: Icons;
  font-style: normal;
  font-weight: 400;
  text-align: center;
  -moz-osx-font-smoothing: grayscale;
  position: absolute;
  right: 0;
  top: 0;
  display: block;
  color: rgba(0, 0, 0, 0.6);
  height: 36px;
  border-radius: 4px 4px;
  display: -webkit-flex;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1em;
}
.btn.table_down_btn {
  background-color: #e0e1e2;
  width: auto;
  padding: 0;
  width: 36px;
}
.btn.table_down_btn:hover {
  background-color: #c6c8c9;
}
.btn.table_down_btn::before {
  content: "\f078";
  background-color: #e0e1e2;
  font-family: Icons;
  font-style: normal;
  font-weight: 400;
  text-align: center;
  -moz-osx-font-smoothing: grayscale;
  position: absolute;
  right: 0;
  top: 0;
  display: block;
  color: rgba(0, 0, 0, 0.6);
  height: 36px;
  border-radius: 4px 4px;
  display: -webkit-flex;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1em;
}
.btn.item_refresh {
  background-color: #e0e1e2;
  font-weight: bold;
  padding-right: calc(36px + 0.5em);
  padding-left: 0.8em;
  width: auto;
}
.btn.item_refresh:hover {
  background-color: #c6c8c9;
}
.btn.item_refresh::before {
  content: "商品検索 リフレッシュ";
  color: rgba(0, 0, 0, 0.6);
}
.btn.item_refresh::after {
  content: "\f002";
  color: rgba(0, 0, 0, 0.6);
  background-color: #d3d4d6;
}
.btn.item_kurashi {
  background-color: #e0e1e2;
  font-weight: bold;
  padding-right: calc(36px + 0.5em);
  padding-left: 0.8em;
  width: auto;
}
.btn.item_kurashi:hover {
  background-color: #c6c8c9;
}
.btn.item_kurashi::before {
  content: "商品検索 暮らしサポート";
  color: rgba(0, 0, 0, 0.6);
}
.btn.item_kurashi::after {
  content: "\f002";
  color: rgba(0, 0, 0, 0.6);
  background-color: #d3d4d6;
}
.btn.request {
  background-color: #2185d0;
  width: 7em;
}
.btn.request:hover {
  background-color: #1a69a4;
}
.btn.request::before {
  content: "依頼する";
}
.btn.approval_action {
  background-color: #2185d0;
  width: 7em;
}
.btn.approval_action:hover {
  background-color: #1a69a4;
}
.btn.approval_action::before {
  content: "承認する";
}
.btn.approval_reset {
  background-color: #2185d0;
  width: 7em;
}
.btn.approval_reset:hover {
  background-color: #1a69a4;
}
.btn.approval_reset::before {
  content: "承認前に戻す";
}
.btn.approval_reset {
  background-color: #2185d0;
  width: 7em;
}
.btn.approval_reset:hover {
  background-color: #1a69a4;
}
.btn.approval_reset::before {
  content: "承認前に戻す";
}
.btn.rollback {
  background-color: #2185d0;
  width: 7em;
}
.btn.rollback:hover {
  background-color: #1a69a4;
}
.btn.rollback::before {
  content: "巻戻し";
}
.btn.rollback_action {
  background-color: #2185d0;
  width: 7em;
}
.btn.rollback_action:hover {
  background-color: #1a69a4;
}
.btn.rollback_action::before {
  content: "巻戻しする";
}
.btn.close {
  background-color: #e0e1e2;
}
.btn.close:hover {
  background-color: #c6c8c9;
}
.btn.close::before {
  color: rgba(0, 0, 0, 0.6);
  content: "閉じる";
}
.btn.login {
  background-color: #2185d0;
  padding-right: calc(36px + 0.5em);
  padding-left: 0.8em;
  width: auto;
  min-width: none;
}
.btn.login:hover {
  background-color: #1a69a4;
}
.btn.login::before {
  content: "ログイン";
}
.btn.login::after {
  content: "\f3c1";
  background-color: #1e77ba;
}
.btn.construction_plan {
  background-color: #2185d0;
  width: 9em;
}
.btn.construction_plan:hover {
  background-color: #1a69a4;
}
.btn.construction_plan::before {
  content: "施工計画書";
}
.btn.material_record {
  background-color: #2185d0;
  width: 9em;
}
.btn.material_record:hover {
  background-color: #1a69a4;
}
.btn.material_record::before {
  content: "材料実績登録";
}
.btn.work_record {
  background-color: #2185d0;
  width: 9em;
}
.btn.work_record:hover {
  background-color: #1a69a4;
}
.btn.work_record::before {
  content: "作業実績登録";
}
.btn.step_inspection {
  background-color: #2185d0;
  width: 9em;
}
.btn.step_inspection:hover {
  background-color: #1a69a4;
}
.btn.step_inspection::before {
  content: "段階検査表";
}
.btn.product_inspection {
  background-color: #2185d0;
  width: 9em;
}
.btn.product_inspection:hover {
  background-color: #1a69a4;
}
.btn.product_inspection::before {
  content: "施工製品検査票";
}

.btn.inspect_add_btn {
  background-color: #2185d0;
  padding: 0 1em;
}
.btn.inspect_add_btn:hover {
  background-color: #1a69a4;
}
.btn.inspect_add_btn::before {
  content: "検査追加";
}
.btn.inspect_item_open_btn {
  background-color: #f2711c;
  width: 8em;
}
.btn.inspect_item_open_btn:hover {
  background-color: #cf590c;
}
.btn.inspect_item_open_btn::before {
  content: "検査項目追加";
}
.btn.pw_change_btn {
  background-color: #f2711c;
}
.btn.pw_change_btn:hover {
  background-color: #cf590c;
}
.btn.pw_change_btn::before {
  content: "PW変更";
}
.btn.show_btn {
  background-color: #21ba45;
}
.btn.show_btn:hover {
  background-color: #198f35;
}
.btn.show_btn::before {
  content: "表示";
}

.tagitem {
  display: inline-block;
  height: 30px;
  width: 55px;
  white-space: nowrap;
  line-height: 24px;
  position: relative;
  padding: 0 0.5em 0 0.3em;
  background: #777;
  -webkit-border-bottom-right-radius: 3px;
  border-bottom-right-radius: 3px;
  -webkit-border-top-right-radius: 3px;
  border-top-right-radius: 3px;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  color: #fff;
  font-size: 11px;
  font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  font-weight: bold;
  margin-left: 1em;
  margin-right: 0.5em;
}
.tagitem::before {
  display: -webkit-flex;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  right: 1px;
  top: 0;
  bottom: 0;
  margin-right: 3px;
  color: #fff;
  position: absolute;
  z-index: 1;
}
.tagitem.estimate_lbl {
  background-color: #21ba45;
}
.tagitem.estimate_lbl::before {
  content: "見積";
}
.tagitem.during_lbl {
  background-color: #2185d0;
}
.tagitem.during_lbl::before {
  content: "対応中";
}
.tagitem.notstarted_lbl {
  background-color: #db2828;
}
.tagitem.notstarted_lbl::before {
  content: "未着手";
}
.tagitem.construct_lbl {
  background-color: #db2828;
}
.tagitem.construct_lbl::before {
  content: "工事中";
}
.tagitem.approving_lbl {
  /* background-color: #21ba45; */
  background-color: #f2711c;
}
.tagitem.approving_lbl::before {
  content: "承認中";
}
.tagitem.noncollect_lbl {
  background-color: #db2828;
}
.tagitem.noncollect_lbl::before {
  content: "未回収";
}
.tagitem.complete_lbl {
  background-color: #e0e1e2;
}
.tagitem.complete_lbl::before {
  content: "完成";
  color: rgba(0, 0, 0, 0.6);
}
.tagitem.finish_lbl {
  background-color: #e0e1e2;
}
.tagitem.finish_lbl::before {
  content: "完了";
  color: rgba(0, 0, 0, 0.6);
}

.tagitem.crm_notyet_lbl {
  background-color: #db2828;
}
.tagitem.crm_notyet_lbl::before {
  content: "着工前";
}
.tagitem.crm_working_lbl {
  background-color: #2185d0;
}
.tagitem.crm_working_lbl::before {
  content: "工事中";
}
.tagitem.crm_finish_lbl {
  background-color: #21ba45;
}
.tagitem.crm_finish_lbl::before {
  content: "現場完了";
}
.tagitem.crm_doc_incomplete_lbl {
  background-color: #f2711c;
}
.tagitem.crm_doc_incomplete_lbl::before {
  content: "書類未完";
}
.tagitem.crm_all_finish_lbl {
  background-color: #e0e1e2;
}
.tagitem.crm_all_finish_lbl::before {
  content: "業務完了";
  color: rgba(0, 0, 0, 0.6);
}
.tagitem::after {
  position: absolute;
  transform: translateY(-50%) translateX(50%) rotate(-45deg);
  top: 50%;
  right: 100%;
  content: "";
  background-color: inherit;
  background-image: none;
  width: 21px;
  height: 21px;
  transition: none;
}

.invalid {
  margin-left: 1em;
  font-weight: bold;
}
.invalid::before {
  margin-right: 0.5em;
  content: "無効";
  display: inline-block;
}
.invalid::after {
  font-size: 1em;
  font-weight: normal;
  font-family: outline-icons;
  content: "\f0c8";
  display: inline-block;
}
.invalid.active::after {
  font-family: Icons;
  content: "\f14a";
}

.ui.modal > .actions {
  display: -webkit-flex;
  display: flex;
  justify-content: flex-end;
}

.wrap {
  overflow-wrap: break-word;
  word-break: break-all;
}

.work_area .toggle_wrap {
  position: relative;
  margin-bottom: 1rem !important;
}

.work_chart tr.instance {
  height: 43px;
}

.structure_area .num_input {
  width: 100px !important;
}
.structure_area .select_input {
  width: 150px !important;
}

.total_area {
  text-align: right;
}
.total_area .title {
  margin-right:10px;
}
.total_area #total_work_time {
  margin-right:3px;
}

body.readonly .editonly{
  display: none !important;
}
body.readonly .save_btn.editonly,
body.readonly .file_save_btn.editonly {
  display: inline-block !important;
}
body.readonly.construct_finished .save_btn.editonly,
body.readonly.construct_finished .file_save_btn.editonly {
  display: none !important;
}

body.construct_finished [data-ts-prop-key="items"] .edit_btn,
body.construct_finished [data-ts-prop-key="items"] .copy_btn,
body.construct_finished [data-ts-prop-key="items"] .mat_delete_btn,
body.construct_finished .work_table .edit_btn,
body.construct_finished .work_table .work_delete_btn,
body.construct_finished .step_add_btn,
body.construct_finished #file_popup .file_save_btn {
  display: none !important;
}

body.construct_finished .work_table tbody td.center:last-child {
  text-align: left;
}

body.readonly:not(.construct_finished) [data-ts-prop-key="items"] .edit_btn,
body.readonly:not(.construct_finished) [data-ts-prop-key="items"] .copy_btn,
body.readonly:not(.construct_finished) [data-ts-prop-key="items"] .mat_delete_btn,
body.readonly:not(.construct_finished) .work_table .edit_btn,
body.readonly:not(.construct_finished) .work_table .work_delete_btn,
body.readonly:not(.construct_finished) .step_add_btn,
body.readonly:not(.construct_finished) #file_popup .file_save_btn,
body.readonly:not(.construct_finished) .save_btn.editonly,
body.readonly:not(.construct_finished) .file_save_btn.editonly,
body.readonly:not(.construct_finished) .save_close_btn,
body.readonly:not(.construct_finished) .continue_btn {
  pointer-events: none;
  opacity: 0.45;
  cursor: not-allowed;
}

#material_regist div.column.field {
  margin-bottom: 0.1rem;
}

#material_regist input:disabled {
  border: 1px solid rgba(34,36,38,.15);
  color: rgb(170, 170, 170);
}

div[data-ts-mode="add"] .fixed {
  display: none;
}
div[data-ts-mode="fix"] .added {
  display: none;
}
div[data-ts-mode="fix"] .item_edit_btn,
div[data-ts-mode="fix"] .item_delete_btn {
  display: none;
}

#auth_popup,
#admin_passwd_popup {
  width: 750px;
}

#auth_popup .auth_column {
  width: 50%;
}

tr.purchased_row {
  background-color: #e0ffff;
}

.news {
  /* ボタンっぽいデザインを入れる */
  width: 70px;
  padding: 3px 5px;
  border: solid 1px #000;
  border-radius: 5px;
  position: relative; /* 基準値とする */
}

.has_batch .batch {
  position: absolute;     /* 相対位置に指定 */
  top: -10px;             /* 表示位置を上から-10pxの位置にする */
  left: calc(100% - 10px);/* 表示位置を右から内側に10pxの位置 */
  color: #FFF;            /* 文字色を白に指定 */
  font-weight: bold;      /* 太文字にする */
  line-height: 20px;      /* 行の高さを指定 */
  text-align: center;     /* 文字を中央揃えにする */
  background: #db2828;    /* 背景色を赤に指定 */
  border-radius: 10px;    /* line-heightの半分の角丸を指定 */
  min-width: 20px;        /* 最低幅を指定 */
  padding: 0 3px;         /* 左右に少しだけ余白を設定 */
  box-sizing: border-box; /* 計算しやすいように */
}

tr.imported_row .file_attach_btn {
  display: none;
}

#material_popup_title.copy_mode::after {
  content: "(複写)";
}

.discount_cell {
  display: flex;
  width: 100% !important;
}

.discount_cell .discount_wrapper {
  display: flex;
}

.discount_cell .discount_wrapper .discount_mark {
  display: flex;
  height: 100%;
  align-items: center;
}

#middle_area,
#finish_area,
#submit_doc_area {
  background-color: #D1CFCF;
  font-size: 1.3rem;
}

#finish_area,
#submit_doc_area,
#attach_area {
  scroll-margin-top: var(--report-page-scroll-margin-top);
}

.middle_container .block,
.finish_container .block,
.submit_doc_container .block {
  margin-top: 5px;
}

.middle_container .block .linerTitle,
.finish_container .block .linerTitle,
.submit_doc_container .block .linerTitle {
  font-size: 1.2rem;
  margin-bottom: 0 !important;
}

.inspect_table {
  margin-top: 20px;
  font-size: 1.2rem;
}

.submit_doc_table th.checkCol,
.submit_doc_table td.center {
  width: 80px;
  text-align: center;
}

.submit_doc_table th.itemName,
.submit_doc_table td:first-child {
  text-align: left;
}

.submit_doc_table .ui.checkbox label {
  padding-left: 1.2em;
}

.submit_doc_table .ui.checkbox.disabled {
  opacity: 0.45;
}

.report_result_block .item_report_wrapper {
  margin-bottom: 30px;
  overflow-x: scroll;
  overflow-y: hidden;
}
.item_report_table {
  width: 1300px !important;
  white-space: normal !important;
}

.search_result_table .apr_plan {
  word-break: break-all;
}

.file_area {
  table-layout: fixed;
  width: 100%;
}

.file_area .file_row {
  display: flex;
  width: 100%;
}

.file_area .file_row .file_cell {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.file_area .file_row .image_preview_cell {
  flex: 4;
}

.file_area .file_row .button_cell {
  flex: 1;
}

.image_preview_cell .image_preview {
  width: 90px;
  height: 60px;
  margin-right: 10px;
}

/* 金額確定ロック用スタイル */
.price-locked {
  pointer-events: none !important;
  background-color: #eee !important;
}

.price-locked:focus {
  outline: none !important;
  box-shadow: none !important;
}

:root {
  --env-banner-height: 0px;
}

body.has-env-banner {
  --env-banner-height: 28px;
}

.env-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10002;
  height: 28px;
  line-height: 28px;
  text-align: center;
  font-weight: bold;
  font-size: 13px;
  color: #fff;
  letter-spacing: 0.04em;
  background: #767676;
}

.env-banner--local {
  background: #db2828;
}

.env-banner--staging {
  background: #f2711c;
}

.env-banner--testing {
  background: #2185d0;
}

body.has-env-banner .ui.fixed.menu,
body.has-env-banner .ui.fixed.inverted.main.menu {
  top: 28px;
}

body.has-env-banner.layouts.pushable .full.height > .toc {
  top: 73px;
  height: calc(100vh - 73px);
}

body.has-env-banner .main.container {
  padding-top: 73px;
}

body.has-env-banner .ui.dividing.header.todayswork {
  top: 73px;
}

body.has-env-banner.login main {
  padding-top: var(--env-banner-height);
}