:root {
  --main-color: #345b9c;
  --link-color: #0072d7;
  --selected-color: #ddedfc;
  --header-color: #f7f6f5;
  --table-border: 1px rgb(214, 212, 212) solid;
  --disabled-color: #ebebeb;
  --readonly-color: #ebebeb;
  --input-color: #fff450;
  --grey-color: rgb(214, 212, 212);
  --darkgrey-color: #b8b8b8;
  --white-color: white;
  --readonly-color: #dcdcdc;
  --workflow-border: solid 1px #aaa;
  --workflow-button-size: 20px;
  --allow-input-color: #ecf3ff;
  --forbid-input-color: #f9f9f9;
}

* {
  margin: 0;
  padding: 0;
  color: #333;
  font-size: 14px;
  font-family: Arial, sans-serif;
}

html {
  height: 100%;
}

body {
  height: 100%;
}

th,
td {
  white-space: nowrap;
}

a * {
  cursor: pointer;
}

a,
a:link,
a:visited {
  text-decoration: none;
  background-color: transparent;
  cursor: pointer;
}

select:disabled {
  opacity: 1;
}

:disabled {
  background-color: var(--disabled-color);
}

.wrap {
  position: absolute;
  top: 80px;
  bottom: 10px;
  left: 10px;
}

.mult_wrap {
  display: flex;
  height: 100%;
}

textarea {
  padding: 3px;
}

._strlen {
  position: relative;
  margin-top: 2px;
  margin-left: 3px;
  font-size: 15px;
  color: gray;
}

._textArea {
  display: inline-block;
  position: relative;
}

._textlen {
  padding: 0px 24px;
  text-align: end;
  position: absolute;
  right: 0px;
  bottom: 6px;
  color: gray;
  user-select: none;
}

.img_maincolor {
  background-blend-mode: multiply;
  background-color: var(--main-color);
}

.img_plus,
.img_minus {
  display: inline-block;
  float: right;
  width: 16px;
  height: 16px;
  padding: 0px !important;
  flex-shrink: 0;
  background-repeat: no-repeat;
  margin: 0 auto !important;
  margin-right: 5px !important;
}

.img_plus {
  background-image: url('../img/plus.png');
  -webkit-mask-image: url('../img/plus.png');
}

.img_minus {
  background-image: url('../img/minus.png');
  -webkit-mask-image: url('../img/minus.png');
}

/* 進捗画面 */
div.progressback {
  z-index: 3500;
  position: fixed;
  top: 0px;
  left: 0px;

  width: 100%;
  height: 100%;

  background-color: #000000;
  opacity: 0.5;
}

/* メニュー */
#menu_frame {
  margin: 10px;
  border: var(--main-color) 1px solid;
  height: calc(100% - 23px);
  overflow: hidden;
}

#menu_primaryheader {
  padding: 10px;
  font-size: 20px;
  color: var(--main-color);
  vertical-align: middle;
  border-bottom: var(--main-color) 1px solid;
  display: flex;
  align-items: center;
}

#menu_primary {
  height: calc(100% - 43px);
  overflow-y: scroll;
}

#menu_primary::-webkit-scrollbar {
  width: 10px;
}

#menu_primary::-webkit-scrollbar-thumb {
  background-color: var(--grey-color);
  border-radius: 3px;
  border-right: 2px solid transparent;
  border-left: 2px solid transparent;
  background-clip: padding-box;
}

#menu_primary::-webkit-scrollbar-thumb:hover {
  background-color: var(--darkgrey-color);
}

#menu_primary::-webkit-scrollbar-track {
  margin-top: 4px;
  margin-bottom: 4px;
  margin-right: 2px;
}

#menu_header {
  position: relative;
  z-index: 1;
  display: flex;
  height: 32px;
  background-color: var(--main-color);
}

#menu_header .logo img {
  width: auto;
  height: 32px;
  margin-left: 5px;
}

#menu_header .nav_list {
  float: left;
  margin: 5px 0 0 20px;
  position: relative;
  list-style: none;
  list-style-position: outside;
}

#menu_header .nav_list li {
  float: left;
  margin-right: 15px;
}

#menu_header .nav_list li a {
  text-decoration: none;
  font-size: 1.5rem;
  font-size: 15px;
  color: White;
}

#menu_header .nav_list li img {
  margin-right: 3px;
  margin-bottom: 3px;
  height: 20px;
  width: 20px;
  vertical-align: middle;
}

#menu_header .utility {
  position: absolute;
  right: 0;
}

#menu_container {
  position: relative;
  z-index: 0;
  box-sizing: border-box;
  top: -32px;
  padding-top: 32px;
  height: 100%;
}

#menu_side {
  position: relative;
  z-index: 1;
  float: left;
  width: 203px;
  height: 100%;
  overflow: hidden;
  background-color: transparent;
}

#mainframe {
  display: block;
  z-index: 0;
  position: absolute;
  box-sizing: border-box;
  float: right;
  width: 100%;
  height: 100%;
  top: 0px;
  padding-top: 32px;
  padding-left: 203px;
}



/* メニュー全体 */
div#menu_tree * {
  margin: 0;
  padding: 5px 0px 5px 5px;
}

div#menu_tree {
  margin: 7px 0px 7px 7px;
  overflow: auto;
}

div#menu_tree dl {
  list-style: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* カテゴリ名 */
div#menu_tree dt {
  border-style: none none solid solid;
  border-color: white;
  background: var(--main-color);
}

div#menu_tree dt a {
  padding: 5px 0;
  display: block;
  text-decoration: none;
  color: white;
  background-color: var(--main-color);
  width: 100%;
  display: flex;
  align-items: center;
}

/* カテゴリメニュー */
/* div#menu_tree dd { border-width:1px;} */
div#menu_tree dd a {
  text-decoration: none;
  display: block;
  background: url(../img/arrow.gif) no-repeat left center;
  padding: 5px 0 5px 10px;
  color: black;
}

div#menu_tree dd a.end,
div#menu_tree dd a.end:hover {
  padding-bottom: 1px;
}

/* ダイレクトリンク */
div#menu_tree dt.direct a {
  display: block;
  color: black;
  background: var(--selected-color) url(../img/arrow.gif) no-repeat right center;
}

div#menu_tree dt.direct a:hover {
  color: #fff;
  background: var(--selected-color) url(../img/arrow_wh.gif) no-repeat right center;
}

div#menu_tree .menu_block {
  border-bottom: 1px dotted black;
  cursor: pointer;
}

div#menu_tree .menu_block:hover {
  background: var(--selected-color);
}

div#menu_tree .menu_ope {
  font-size: 12px;
  padding: 0px !important;
  color: var(--darkgrey-color);
}

/* タイトル */
.title {
  background-color: var(--header-color);
  position: fixed;
  padding: 3px 0px 3px 9px;
  font-size: 17px;
  font-weight: bold;
  color: var(--main-color);
  text-align: left;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  border-left: 5px solid var(--main-color);
  border-bottom: 1px solid var(--grey-color);
  z-index: 6000;
}

.subtitle {
  padding: 3px 0px 3px 9px;
  font-size: 17px;
  font-weight: bold;
  color: var(--main-color);
  text-align: left;
  text-overflow: ellipsis;
}
/* SCAW連携実績をヘッダ部に表示 */
.scaw-status-right {
  float: right;
  margin-right: 20px;
  font-size: 17px;
  font-weight: bold;
  padding: 3px 0px 3px 9px;
  border-radius: 4px;
  white-space: nowrap;
  color: var(--main-color);
}

.category_title {
  background-color: #97defa;
  position: relative;
  padding: .15em 0px .15em 0.5em;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: bold;
  color: #000;
  text-align: left;
  overflow: hidden;
  white-space: nowrap;
}


/* ボタン系 */
.btn-common {
  font-size: 16px !important;
  display: inline-block;
  padding: 0px 10px !important;
  text-decoration: none;
  color: #000;
  border-top: solid 1px #dcdcdc;
  border-left: solid 1px #dcdcdc;
  box-shadow: 1px 1px #000000;
  border-radius: 3px;
}

.btn-update {
  background-color: var(--header-color);
}

.btn-close {
  margin-left: 10px !important;
  background-color: #d3d3d3;
}

/* ツールバー */
.toolbar-wrap {
  border-bottom: 1px solid var(--grey-color) !important;
  overflow: hidden;
  top: 32px;
  position: fixed;
  width: 100%;
  background: var(--header-color);
  z-index: 6000;
}

.toolbar-inner {
  margin: 0 10px;
}

.list-toolbar {
  float: left;
  overflow: hidden;
  list-style: none;
  list-style-position: outside;
}

.list-toolbar-utility {
  margin-left: 5px;
  float: right;
  overflow: hidden;
}

.toolbar-inner>ul>li {
  float: left;
  padding: 15px;
  font-weight: bold;
  font-size: 14px;
  padding: 0px 30px 0px 30px;
  cursor: pointer;
  width: auto;
  height: 35px;
  text-align: center;
  border: 1px 0 0 1px solid var(--grey-color);
  max-height: 40px;
}

.toolbar-inner>ul>li:hover {
  color: white !important;
  background: var(--grey-color);
}


/* 指示を出すやつ */
.box-operation {
  font-weight: normal;
  font-size: 12px;
  font-size: 1.2rem;
  padding: 5px;
  margin-bottom: 10px;
  border: 1px solid var(--grey-color);
  background: var(--header-color);
  -webkit-border-bottom-right-radius: 3px;
  -webkit-border-bottom-left-radius: 3px;
  -moz-border-radius-topleft: 3px;
  -moz-border-radius-topright: 3px;
  -moz-border-radius-bottomright: 3px;
  -moz-border-radius-bottomleft: 3px;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
  margin-top: 10px;
}

.box-operation input,
.box-operation select {
  border: var(--darkgrey-color) solid 1px;
  outline: none;
}

/* ページ遷移 */
.PAGER_page {
  display: inline-block;
}

.PAGER_page li.PAGER_button:hover {
  background: var(--selected-color);
}

.PAGER_page li.PAGER_button {
  float: left;
  display: block;
  min-width: 1.5em;
  padding: 0;
  text-align: center;
  color: #333;
  /* background: var(--white-color); */
  margin: 0 2px;
  line-height: 1.4;
  cursor: pointer;
}

.PAGER_page li.PAGER_arrow {
  float: left;
  display: block;
  min-width: 1.5em;
  padding: 0;
  text-align: center;
  margin: 0 2px;
  cursor: pointer;
}

.PAGER_page li.PAGER_arrow img {
  width: 21px;
  height: 21px;
}

.PAGER_page li.active {
  border-bottom: 2px solid var(--main-color);
  /* background-color: var(--selected-color); */
}

/* 明細画面 */
table.meisai {
  border-spacing: 0px;
  border-top: var(--table-border);
  border-left: var(--table-border);
}

table.meisai tr th {
  border-right: var(--table-border);
  border-bottom: var(--table-border);
  text-align: center;
  padding-left: 10px;
  padding-right: 10px;
  border-left-style: none;
  border-top-style: none;
  color: var(--main-color);
  background-color: var(--header-color);
}

table.meisai tr td {
  border-left: 0px;
  border-top: 0px;
  border-right: var(--table-border);
  border-bottom: var(--table-border);
  text-align: center;
  background-color: var(--white-color);
  position: relative;
}

table.meisai tr td input {
  width: 100%;
  box-sizing: border-box;
  border: none;
  font-size: 17px;
}

table.meisai tr td select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--main-color);
  /* 枠線 */
  font-size: 17px;
}

table.meisai td a {
  text-decoration: underline;
  color: var(--link-color);
  cursor: pointer;
}

input[readonly],
textarea[readonly],
.readonly {
  background-color: var(--readonly-color) !important;
}

input[disabled],
textarea[disabled],
.readonly {
  background-color: var(--readonly-color) !important;
}

input[checktype=num] {
  text-align: right;
}

input[checktype=money] {
  text-align: right;
}

.align_right {
  text-align: right !important;
}

/* サジェスト */
.ui-autocomplete {
  max-height: 150px;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  position: absolute;
  cursor: default;
  background: #fff;
}

.ui-widget-content {
  border: 1px solid #eee;
  color: #333;
  border: 1px solid #aaa;
  background: #fff;
  color: #333;
}

/* モーダルダイアログ */
.ui-dialog-titlebar {
  /*height:30px !important;*/
  border-left: 2px !important;
  border-right: 2px !important;
  border-top: 2px !important;
  border-bottom: 0px !important;
  border-style: solid !important;
  border-color: var(--header-color) !important;
  background-color: var(--header-color) !important;
  text-align: center !important;
}

.ui-dialog-title {
  font-size: 16px !important;
  padding-left: 10px !important;
  display: inline-block !important;
  text-align: left !important;
  color: var(--main-color);
}

.ui-dialog-titlebar-close {
  position: absolute;
  right: 0px !important;
  top: 0px !important;
  margin: 6px !important;
  width: 25px !important;
  height: 25px !important;
}

.ui-modaldialog {
  border-right: 2px !important;
  border-left: 2px !important;
  border-style: solid !important;
  border-color: var(--header-color) !important;
  overflow: visible;
}

.ui-dialog-buttonpane {
  border: 2px solid var(--header-color) !important;
  margin-top: 0px !important;
}

.ui-dialog-buttonpane button {
  margin: 0 0 0 20 !important;
}

.ui-dialog {
  padding: 0 !important;
}

.search-modaldialog span {
  display: inline-block;
  margin-right: 10px;
}

.search-modaldialog p {
  display: inline-block;
  margin-right: 10px;
  font-size: 18px;
  color: var(--main-color);
}

/* 検索項目 */
.searchFlexBox{
  margin-bottom: 0.5rem;
}

.searchStatus {
  float: left;
  margin-right: 10px;
  position: relative;
}

.searchStatus label {
  float: left;
  padding: 7px 19px 7px 19px;
  align-items: center;
  border: 1px solid var(--main-color);
  border-right: none;
  border-radius: 2px 0 0 2px;
  color: var(--main-color);
}

.searchStatus div {
  float: left;
  color: var(--main-color);
  height: 35px;
  border: 1px solid var(--main-color);
  border-radius: 0px 2px 2px 0px;
  color: var(--main-color);
  /* margin-right: 10px;*/
}

.searchForm-status {
  height: 37px;
  padding: 8px;
  border: none;
  outline: none;
}

select.searchForm-status {
  border: 1px solid var(--main-color);
  color: var(--main-color);
}
/* SCAW連携実績 チェックボックスグループ */
.scaw-checkbox-container {
  display: flex;
  float: left;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 10px;
  height: 37px;
  border: 1px solid var(--main-color);
  border-left: none;
  border-radius: 0 2px 2px 0;
}

.scaw-checkbox-item {
  font-size: 12px;
  margin: 0;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.scaw-status-checkbox {
  margin-right: 5px;
  margin-left: 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--main-color);
}

input[type=color] {
  padding: 0;
  width: 80px;
  background: white;
  border: 1px solid var(--main-color);
  color: var(--main-color);
}

.searchForm-status[type="date"] {
  height: 34px;
}

.searchForm-status[type="date"]::after {
  content: "";
  position: absolute;
  bottom: 5px;
  width: 110px;
  border-bottom: 1px solid var(--grey-color);
}

.searchForm {
  float: left;
  position: relative;
  padding-top: 2px;
}

.searchForm-select {
  color: var(--main-color);
  height: 35px;
  padding: 8px;
  margin: 0;
  border: 1px solid var(--main-color);
  border-right: none;
  border-radius: 2px 0 0 2px;
  float: left;
  outline: none;
}
.searchForm-select-small {
  color:var(--main-color);
  height: 20px;
  padding: 0px;
  margin: 0;
  border: 1px solid var(--main-color);
  outline: none;
}
.searchForm-input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 234px;
  height: 35px;
  padding: 8px;
  margin: 0;
  border: 1px solid var(--main-color);
  outline: none;
}

.searchForm-submit {
  position: absolute;
  width: 36px;
  height: 35px;
  right: -36;
  margin: 0;
  border-radius: 0 3px 3px 0;
  background: var(--main-color);
  border: none;
  outline: none;
  cursor: pointer;
}

.searchForm-submit::before {
  position: absolute;
  content: '';
  width: 12px;
  height: 12px;
  top: calc(50% - 8px);
  left: calc(50% - 9px);
  border-radius: 50%;
  box-shadow: 0 0 0 2px #fff;
}

.searchForm-submit::after {
  position: absolute;
  content: '';
  width: 8px;
  height: 6px;
  top: calc(50% + 3px);
  left: calc(50% - 2px);
  border-top: solid 2px #fff;
  transform: rotate(45deg);
}

.arrow_fix {
  position: absolute;
  top: 10px;
  left: 115px;
  width: 0px;
  border-color: var(--main-color);
  border-style: solid;
  border-width: 9px;
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-right-color: transparent;
  pointer-events: none;
}

.arrow {
  position: absolute;
  top: 10px;
  left: calc(100% - 30px);
  width: 0px;
  border-color: var(--main-color);
  border-style: solid;
  border-width: 9px;
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-right-color: transparent;
  pointer-events: none;
}

.listscroll {
  width: 100%;
  overflow: auto;
  margin-bottom: 10px;
}

/* 検索テーブル */
table.search {
  border-spacing: 0px;
  border-left: var(--table-border);
  border-top: var(--table-border);
}

table.search th {
  padding: 5px;
  border-right: var(--table-border);
  border-bottom: var(--table-border);
  border-left-style: none;
  border-top-style: none;
  color: var(--main-color);
  background-color: var(--header-color);

  position: sticky;
  top: 0;
  z-index: 1;
}

table.search td {
  padding: 5px;
  border-right: var(--table-border);
  border-bottom: var(--table-border);
  border-left-style: none;
  border-top-style: none;
  position: relative;
  text-align: left;
}

input.search {
  border: 1px solid var(--main-color);
  /* 枠線 */
  height: 28px;
  border-radius: 5px;
}

table.search td a {
  text-decoration: underline;
  color: var(--link-color);
  cursor: pointer;
}

table.search.multheader thead th {
  height: 32px;
  position: sticky;
  white-space: nowrap;
}
/*テーブルヘッダーの固定 */
table.search.multheader thead tr:nth-child(1) th {
  top: 0;
}

table.search.multheader thead tr:nth-child(2) th {
  top: 32px;
}


.input_into {
  position: absolute;
  right: 1px;
}

.tooltip_btn {
  width: 70px;
  height: 30px;
  background: white;
  color: #fff;
  font-weight: bold;
  font-size: 12px;
  border: none;
  background: #000000a1;
}

/* 入力部分の背景色 */
input[type=tel]:focus,
input[type=text]:focus,
input[type=date]:focus,
select:focus {
  background: var(--input-color) !important;
}

/* エラー用 */
div.errormessage {
  margin: 0 0 0.5em 0;
  padding: 4px 12px;
  line-height: 1.5;
  clear: both;
  background-repeat: no-repeat;
  background-position: 5px 5px;
  color: red;
}

div.errormessage span {
  filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/content/img/css/cancel_48.png', sizingMethod='scale');
  width: 48px;
  height: 48px;
  position: relative;
  top: -5px;
  left: -5px;
  display: block;
  text-indent: -9999px;
  float: left;
}

/* form用 */
.grid {
  flex-wrap: wrap;
  display: flex;
}

.grid>div {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.grid span {
  white-space: nowrap;
}

.grid select {
  height: 100%;
  box-sizing: border-box;
  border: 1px solid var(--main-color);
  font-size: 17px;
}

.text-input {
  margin: 0px 3px 1px 0px;
  position: relative;
  min-height: 32px;
  display: flex;
  align-items: center;
  border: var(--table-border);
}

.text-input>label {
  height: 100%;
  display: flex;
  align-items: center;
  color: var(--main-color);
  background-color: var(--header-color);
  font-weight: bold;
  white-space: nowrap;
  border-right: var(--table-border);
  min-width: 150px;
  justify-content: center;
}

.text-input input {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  border: none;
  font-size: 17px;
}

.text-input .show_text {
  color: var(--main-color);
  padding-left: 4px;
  display: flex;
  align-items: center;
  border: none;
  font-size: 17px;
}


/* テーブルヘッダ固定 */
tr.fix th,
td {
  position: stickey;
}

/*
インデックス部分
選択時
*/
.menu_selected {
  border-left: 5px solid var(--main-color) !important;
}

/* DTREE用 */
.folderTree {
  padding-right: 10px;
}
.dtree{
  height: 100%;
  overflow-y: auto;
}

.dtreeicon {
  border: 0px;
  height: 24px;
  cursor: pointer;
  vertical-align: text-bottom;
}

.dtreelink {
  font-size: 18px;
  color: #000;
  text-decoration: none;
}

.dtreelink a:hover {
  color: #345373;
}

.dtree_caption {
  font-weight: bold;
  color: #ff0000;
  font-size: 10px;
}

.dtree_drophover {
  background: #ff8877 !important;
}

.dtree_dirselect {
  background: #ffff88;
}

/* 入力デザイン */
.headline {
  display: flex;
  align-items: center;
  background: var(--header-color);
  color: var(--main-color);
  height: 32px;
  /*margin-top: 8px;*/
  font-size: 17px;
  font-weight: normal;
  border: 1px solid var(--main-color);
  text-align: center;
  padding: 0.2em 0.2em 0.2em 0.4em;
}

.headline-content {
  overflow-y: auto;
  border-left: 1px solid var(--main-color);
  border-right: 1px solid var(--main-color);
  border-bottom: 1px solid var(--main-color);
}

.grid {
  flex-wrap: wrap;
  display: flex;
}

.text-input>label,
.text-area>label {
  height: 100%;
  display: flex;
  align-items: center;
  color: var(--main-color);
  background-color: var(--header-color);
  font-weight: normal;
  white-space: nowrap;
  border: var(--table-border);
  min-width: 150px;
  justify-content: center;
}

.text-input input {
  padding: 0px 4px;
}

.text-input input,
.text-input select,
.text-input div {
  width: 300px;
  height: 100%;
  display: flex;
  align-items: center;
  border: none;
  font-size: 17px;
  outline: var(--table-border);
  border-left: none;
}

.text-input .text-box {
  height: 100%;
  width: 150px;
  border: none;
  font-size: 17px;
  outline: var(--table-border);
  border-left: none;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.text-input input.text-input-select {
  width: 50px;
  text-align: center;
}

.text-input .describe {
  white-space: nowrap;
}

/*
ショートカットキー
*/
.func {
  position: relative;
  height: 50%;
}

.key {
  color: #aaa;
  font-size: 13px;
  text-align: center;
  height: 50%;
}


.ui-front {
  z-index: 4000;
}

.moveable-line,
.moveable-control {
  background: var(--darkgrey-color) !important;
}

input[type=checkbox].form-control {
  width: 16px;
  height: 16px;
}

.multiSelects {
  width: 100%;
}

.form-control.allowInput,
.multiSelects.allowInput {
  background-color: var(--allow-input-color);
}

.form-control.forbidInput,
.multiSelects.forbidInput {
  background-color: var(--forbid-input-color);
}

/* 削除済みレコード共通 */
.delete_tr {
  background: var(--darkgrey-color);
}


/** ダイアログデザイン */
.dialog_title_box {
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  margin: 4px;
  padding: 4px;
}

.content_title_box {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  margin-bottom: 8px;
}

.dialog_title_box>legend {
  text-align: start;
  font-size: 12px;
  margin-left: 4px;
}

.dialog_error {
  text-align: start;
  font-size: 12px;
  color: red;
}

.dialog_content_box {
  padding: 0px 8px;
}

.dialog-attention {
  font-size: 10px;
  color: red;
}

.dialog_flexbox {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 40px 1fr;
}

.dialog_input {}

/** チェックボックスデザイン */
.checknox-wrap {
  width: max-content;
  display: block;
  position: relative;
  padding-left: 30px;
  margin-top: 6px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 12px;
  user-select: none;
}

/* デフォルトチェックボックス非表示 */
.checknox-wrap input {
  display: none;
}

/* チェックボックスのスタイル */
.checknox-wrap .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  border: 2px solid #999999;
  box-sizing: border-box;
  border-radius: 4px;
}

/* チェックマーク作成 */
.checknox-wrap .checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 4px;
  top: 0px;
  width: 5px;
  height: 10px;
  border: 2px solid #FFF;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* チェック時のスタイル */
.checknox-wrap input:checked+.checkmark {
  background-color: #0070bd;
  border: 4px solid #0070bd;
}

/* チェック時 チェックマーク表示 */
.checknox-wrap input:checked+.checkmark:after {
  display: block;
}

/* tooltip */
.tooltip {
  background-image: linear-gradient(-45deg, #f00 5px, transparent 0);
}

.pointtip {
  background-image: radial-gradient(circle closest-side at 96% 88%, rgba(238, 43, 43, 1) 79%, rgba(255, 255, 255, 0) 80%);
}

.overlay_selected {
  background-color: #AAFFAA;
}

/** 条件追加の検索ボックス **/
.addCondition {
  display: flex;
  align-items: center;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  height:24px;
  margin-bottom: -1px;
}
.minus_icon{
  margin-left: -7px;
  visibility:hidden;
}
.new_ser_radio{
  display: flex;
  margin-top: 1px;
  margin-left: 20px;
  right: 0;
}
.radios{
  margin-top: 5px;
  margin-left: 5px;
} 
.searchForm-submit{
  right: auto;
}   
#add_search_form{
  width: 30px;
  margin-left: 20px;
}

/* アコーディオンメニュー */
.accordion {
  display: flex;
  align-items: center;
  background: var(--header-color);
  color: var(--main-color);
  height: 32px;
  border-radius: 3px;
  margin-top: 8px;
  font-size: 16px;
  font-weight: bold;
  border: 1px solid #ccc;
  cursor: pointer;
  text-align: center;
  border: 2px solid var(--menu-border-color);
  }
  .accordion:hover {
  opacity: 0.8;
  }
  
  .accordion-content {
  padding: 12px;
  margin-top: -2px;
  padding: 12px;
  border-left: 2px solid var(--menu-border-color);
  border-right: 2px solid var(--menu-border-color);
  border-bottom: 2px solid var(--menu-border-color);
  border-radius: 0px 0px 4px 4px;
  }
  .toggle_btn {
  display: inline-flex;
  height: 26px;
  cursor: pointer;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  margin: 0px 8px;
  background: url(../img/remove.svg) no-repeat right top;
  }
  
  .toggle_btn.open {
  background: url(../img/add.svg) no-repeat right top;
  }
  .td_btn {
      display: inline-flex;
      height: 26px;
      width: 26px;
      cursor: pointer;
      text-indent: 100%;
      white-space: nowrap;
      overflow: hidden;
      margin: 0px 8px;
      background: url(../img/remove.svg) no-repeat center;
  }

  .mergecheckbox{
    position: relative;
    top: auto;
    margin-right: 2px;
    user-select: none;
    width: 20%;
    height: 50%;
    accent-color: #345b9c;
  }

  .merge-requirement>label{
    width: 110; 
    font-size: 14px;
  }
  
  /*---------------外部連携テンプレート用---------------------*/
  
  .checkbox-group {
    display: flex;
    flex-wrap: wrap; /* 必要に応じて折り返しを許可 */
    accent-color: var(--main-color); 
    padding-top: 2px;
    align-items: center;
  }
  .checkbox-group input[type="checkbox"] {
    width: 30px; /* チェックボックスの幅 */
    height: 37px; /* チェックボックスの高さ */
    margin-left: 5px; 
    margin-right: 5px; 
    margin-top: 0; /* 不要な余白を削除 */
    margin-bottom: 0; /* 不要な余白を削除 */
    padding: 0; /* パディングをリセット */
  }

  .checkbox-group label {
    float: left;
    padding: 7px 19px 7px 19px;
    border-radius: 2px 0 0 2px;
    display: flex;
  }

  .searchForm-numbers {
    height: 35px;
    padding: 8px;
    border: none;
    outline: none;
  }
  
  .searchForm-button-container {
    display: flex;
    justify-content: flex-start; /* ボタンを右側に配置 */
    margin-top: 10px; /* 上部に余白を追加 */
    margin-bottom: 70px;
  }

  /*------------------------------------------------------*/

  /* BIZXIM連携帳票選択時の合成・複製ボタン無効化 */
  .bizxim-button-disabled {
    opacity: 0.5;
    pointer-events: none;
  }

  /* #501: 連携済み（完了）の製造指図書 - 非活性表示 */
  #toolbar li.disabled,
  #toolbar_right li.disabled {
    opacity: .45;
    pointer-events: none;
    cursor: not-allowed;
  }

  .wrap_img .readonly {
    color: #666;
    pointer-events: none;
  }

  input[type=checkbox].readonly {
    cursor: not-allowed;
  }
