@charset "UTF-8";
:root {
  --content_max_width:1200px;
  --content_width:890px;
  --content_header_m_t:55px;
  --content_m_b:150px;
  --main_color:#d3426a;
  --main_color_font:#fff;
  --sub_color:#42bfd3;
  --sub_color_font:#fff;
}

/*
input, select {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}
select{
    position: relative;

}*/
html {
  overflow-x: hidden;
  overflow-wrap: break-word;
  background: #eee;
  font-family: "Tahoma";
}

p {
  /*white-space: pre-wrap;*/
  overflow-wrap: break-word;
  line-height: 1.6em;
}

h1, h2, h3, h4 {
  font-family: "Tahoma";
}

img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

header {
  position: fixed;
  z-index: 10;
  width: 100%;
  /*padding:30px 0;*/
  box-sizing: border-box;
  color: #fff;
  transition: background 0.3s, color 0.3s, padding 0.3s;
  background: hsla(0, 0%, 100%, 0.8);
  background: #fff;
}

body {
  position: relative;
  /*font-family: 'Noto Sans JP', sans-serif;*/
  font-family: "Tahoma";
  letter-spacing: 2px;
  display: flex;
  flex-flow: column;
  min-height: 100vh;
  color: #666;
}

footer {
  padding: 10px 0;
  background: #ddd;
  color: #666;
  text-align: center;
}

main {
  width: 1200px;
  min-height: calc(100vh - 111px);
  margin: var(--content_header_m_t) auto 10px;
  text-align: center;
}

/*header*/
.header_nav_bg {
  background: hsla(0, 0%, 100%, 0.95);
  color: #666;
  box-shadow: 0 0 10px 0 hsla(0, 0%, 0%, 0.15);
}
.header_nav_bg .h1_outer {
  padding: 10px 0 10px 15px !important;
}
.header_nav_bg .header_nav .gNav-menu li a {
  padding: 15px 10px;
}

.header_inner {
  position: relative;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}
.header_inner .h1_outer {
  width: 100%;
  display: flex;
  align-items: center;
  background: var(--main_color);
  padding: 10px 0 10px 15px;
  transition: background 0.3s, color 0.3s, padding 0.3s;
}
.header_inner .h1_outer h1 a {
  font-size: 20px;
  display: inline-block;
  font-weight: bold;
  color: var(--main_color_font);
}
.header_inner .h1_outer h1 a img {
  width: auto;
  max-width: 200px;
  height: auto;
  max-height: 25px;
}
.header_inner .header_nav ul {
  display: flex;
  width: 800px;
  height: 100%;
}
.header_inner .header_nav ul li {
  width: 100%;
  border-left: 1px solid #ddd;
}
.header_inner .header_nav ul li:first-child {
  border-left: none;
}
.header_inner .header_nav ul li:last-child {
  border-right: 1px solid #ddd;
}
.header_inner .header_nav ul li a {
  position: relative;
  z-index: 2;
  background-color: #fff;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #486177;
  text-align: center;
  padding: 30px 10px;
  box-sizing: border-box;
  overflow: hidden;
  transition: all 0.2s;
}
.header_inner .header_nav ul li a:after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--main_color);
  transition: all 0.2s;
}
.header_inner .header_nav ul li a:hover {
  color: #fff;
}
.header_inner .header_nav ul li a:hover:after {
  bottom: 0;
}

/*ハンバーガーメニュー*/
#hamburger {
  display: flex;
  align-items: center;
}

.btn-gNav {
  display: none;
}

#hamburger .btn-gNav {
  display: block;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translate(0, -50%);
  width: 29px;
  height: 24px;
  z-index: 3;
  box-sizing: border-box;
  cursor: pointer;
  transition: all 400ms;
}

#hamburger .btn-gNav:before {
  content: "";
  display: block;
  position: absolute;
  top: -8px;
  left: -6px;
  width: 40px;
  height: 40px;
}

#hamburger .btn-gNav span {
  z-index: 20;
  position: absolute;
  width: 100%;
  height: 4px;
  background: #fff;
  border-radius: 10px;
  transition: all 400ms;
}

#hamburger .btn-gNav span:nth-child(1) {
  top: 0;
}

#hamburger .btn-gNav span:nth-child(2) {
  top: 10px;
}

#hamburger .btn-gNav span:nth-child(3) {
  top: 20px;
}

#hamburger .btn-gNav.open span:nth-child(1) {
  /*background: #fff;*/
  top: 10px;
  transform: rotate(-45deg);
}

#hamburger .btn-gNav.open span:nth-child(2), #hamburger .btn-gNav.open span:nth-child(3) {
  top: 10px;
  /*background: #fff;*/
  transform: rotate(45deg);
}

#gNav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 50%;
  height: 100%;
  background: #444;
  font-size: 16px;
  box-sizing: border-box;
  z-index: 2;
  padding-top: 50px;
  transition: 0.3s;
}

#gNav.open {
  right: 0px;
}

#gNav .gNav-menu {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
  margin-top: 100px;
}

#gNav .gNav-menu li {
  display: block;
  width: 100%;
  border-left: none;
  border-bottom: 1px solid #ccc;
}

#gNav .gNav-menu li:last-child {
  border-bottom: none;
}

#gNav .gNav-menu li a {
  color: #ddd;
  text-align: left;
  text-decoration: none;
  width: 100%;
  background: #444;
  display: block;
  padding: 20px 30px;
  box-sizing: border-box;
}

/*header end*/
/*汎用*/
::-moz-placeholder {
  color: #aaa;
}
::placeholder {
  color: #aaa;
}

.link_btn {
  display: block;
  width: 200px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  padding: 10px 20px;
  box-sizing: border-box;
  background: var(--main_color);
  border: 3px solid var(--main_color) !important;
  border-radius: 5px;
  color: var(--main_color_font);
  margin: 0 auto;
}
.link_btn:hover {
  color: var(--main_color);
  background: #fff;
}

.small_link_btn {
  display: block;
  width: 150px;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
  background: var(--main_color);
  border: 3px solid var(--main_color) !important;
  border-radius: 5px;
  font-size: 16px;
  color: var(--main_color_font);
  margin: 0 auto;
}
.small_link_btn:hover {
  color: var(--main_color);
  background: #fff;
}

.dl_btn {
  position: relative;
  display: inline-block;
}
.dl_btn::before {
  content: "";
  z-index: 3;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 20px;
  display: block;
  width: 24px;
  height: 24px;
  background: url(../img/download.png) no-repeat;
  background-size: cover;
}
.dl_btn::after {
  content: "";
  z-index: 2;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 17.5px;
  display: block;
  width: 29px;
  height: 29px;
  border-radius: 5px;
  background-color: var(--main_color);
}
.dl_btn .link_btn {
  padding: 10px 20px 10px 50px !important;
}

.table_btn {
  position: relative;
  display: inline-block;
}
.table_btn::before {
  content: "";
  z-index: 3;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 20px;
  display: block;
  width: 25px;
  height: 25px;
  background: url(../img/table.png) no-repeat;
  background-size: cover;
}
.table_btn::after {
  content: "";
  z-index: 2;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 17.5px;
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 5px;
  background-color: var(--main_color);
}
.table_btn .link_btn {
  padding: 10px 20px 10px 50px !important;
}

.delet_btn_area {
  text-align: right;
}
.delet_btn_area a {
  display: inline-block;
  position: relative;
  width: auto;
  padding: 10px 10px 10px 45px;
  color: #fff;
  line-height: 1em;
  border-radius: 10px;
  background: #990000;
}
.delet_btn_area a:before {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  content: "!";
  color: #990000;
  letter-spacing: 0;
  background: #fff;
  width: 20px;
  height: 20px;
  border-style: solid;
  border-radius: 20px;
}
.delet_btn_area .delete_submit_outer {
  position: relative;
  display: inline-block;
}
.delet_btn_area .delete_submit_outer input[type=submit] {
  display: inline-block;
  position: relative;
  width: auto;
  padding: 10px 10px 10px 45px;
  color: #fff;
  line-height: 1em;
  border-radius: 10px;
  background: #990000;
  border: none;
}
.delet_btn_area .delete_submit_outer:before {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  content: "!";
  color: #990000;
  letter-spacing: 0;
  background: #fff;
  width: 20px;
  height: 20px;
  border-style: solid;
  border-radius: 20px;
  z-index: 2;
}

.back_btn {
  display: inline-block;
  position: relative;
  width: auto;
  padding: 10px 10px 10px 30px;
  border: var(--sub_color);
  color: var(--sub_color);
  line-height: 1em;
  border: 2px solid var(--sub_color);
  border-radius: 10px;
  margin-bottom: 20px;
}
.back_btn::before {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 10px 5px 0;
  border-color: transparent var(--sub_color) transparent transparent;
}
.back_btn:hover {
  background: var(--sub_color);
  color: var(--sub_color_font);
}
.back_btn:hover::before {
  border-color: transparent var(--sub_color_font) transparent transparent;
}

.info_list {
  padding: 20px;
  box-sizing: border-box;
  background: #fff;
  margin-bottom: 20px;
}
.info_list h3 {
  font-size: 20px;
  font-weight: bold;
  padding-bottom: 20px;
}
.info_list ul {
  margin-bottom: 30px;
}
.info_list ul li {
  border-bottom: 1px solid #ddd;
}
.info_list ul li a {
  display: block;
  color: #666;
  padding: 10px;
}
.info_list ul li a:hover {
  background: #eee;
}
.info_list ul li a time {
  text-align: right;
  font-size: 13px;
  color: #bbb;
  display: block;
}

.general {
  padding: 20px;
  box-sizing: border-box;
  background: #fff;
}
.general .general_title {
  border-bottom: 1px solid #ddd;
  padding-bottom: 20px;
  margin-bottom: 40px;
}
.general .general_title h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}
.general .general_title time {
  font-size: 14px;
  color: #ccc;
}
.general .general_inner {
  padding: 0 20px;
  margin-bottom: 30px;
}
.general h3 {
  font-size: 20px;
  font-weight: bold;
  padding-bottom: 20px;
}
.general p {
  margin-bottom: 20px;
}
.general ul {
  margin-bottom: 20px;
}
.general ul li {
  position: relative;
  padding: 5px 0 5px 20px;
  line-height: 1.4em;
}
.general ul li::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 10px;
  background: var(--sub_color);
}
.general dl {
  margin-top: 40px;
  margin-bottom: 20px;
}
.general dl:first-child {
  margin-top: 0;
}
.general dl dt {
  font-size: 16px;
  font-weight: bold;
  font-family: "Tahoma";
  margin-bottom: 20px;
}
.general dl dd p {
  margin-bottom: 20px !important;
}
.general strong {
  font-size: 20px;
  color: red;
  font-weight: bold;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
}
.pagination li {
  margin-right: 10px;
}
.pagination li:last-of-type {
  margin-right: 0;
}
.pagination li a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  box-sizing: border-box;
  color: var(--main_color);
  border: 1px solid #ddd;
  box-sizing: border-box;
  background: #fff;
}
.pagination .active a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #ddd;
  box-sizing: border-box;
  background: #fff;
  background: var(--main_color);
  color: var(--main_color_font);
  border: none;
}

.message {
  position: relative;
  width: 100%;
  padding: 20px 20px 20px 100px;
  border: 2px solid #42bfd3;
  box-sizing: border-box;
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.3em;
  background: #fff;
}
.message::before {
  position: absolute;
  left: 35px;
  top: 50%;
  transform: translateY(-50%);
  content: "!";
  line-height: 1em;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background: #42bfd3;
  font-size: 20px;
  color: #fff;
  font-weight: bold;
}

.error {
  border: 2px solid #990000;
  background: #990000;
  color: #fff;
  margin-bottom: 0;
  border-bottom: 1px solid #fff;
}
.error::before {
  background: #fff;
  color: #990000;
  border-radius: 0;
}
.error:last-of-type {
  border-bottom: none;
  margin-bottom: 20px;
}

/* チェックボックス*/
.input_check {
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 5px 10px 5px 30px;
  position: relative;
  width: auto;
  margin-right: 20px;
}
.input_check:last-of-type {
  margin-right: 0;
}
.input_check:before {
  background: #fff;
  border: 1px solid #231815;
  content: "";
  display: block;
  height: 16px;
  left: 5px;
  margin-top: -8px;
  position: absolute;
  top: 50%;
  width: 16px;
}
.input_check:after {
  border-right: 3px solid #ed7a9c;
  border-bottom: 3px solid #ed7a9c;
  content: "";
  display: block;
  height: 9px;
  left: 10px;
  margin-top: -7px;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: rotate(45deg);
  width: 5px;
}

input[type=checkbox] {
  display: none;
}
input[type=checkbox]:checked + .input_check::after {
  opacity: 1;
}
input[type=checkbox]:disabled + .input_check {
  color: #999;
}
input[type=checkbox]:disabled + .input_check:before {
  border: 1px solid #ccc;
}

.staff_border {
  border-bottom: 3px solid #8ac3ff;
}

.immediate_boss_border {
  border-bottom: 3px solid #9aed95;
}

.approval_border {
  border-bottom: 3px solid #f2c447;
}

.accounting_border {
  border-bottom: 3px solid #aaa;
}

/*チェックボックス　end*/
/*ラジオボタン*/
input[type=radio] {
  display: none;
}
input[type=radio] + label {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  cursor: pointer;
  padding: 5px;
  position: relative;
  width: auto;
}
input[type=radio] + label:before {
  content: "";
  width: 1em;
  height: 1em;
  background: #fff;
  border-radius: 100%;
  border: 1px solid #bfbfbf;
  display: inline-block;
  cursor: pointer;
  margin-right: 5px;
}
input[type=radio]:checked + label:before {
  background-color: #ed7a9c;
  box-shadow: inset 0 0 0 4px #fff;
}
input[type=radio]:focus + label:before {
  outline: none;
  border-color: #ed7a9c;
}
input[type=radio]:disabled + label:before {
  box-shadow: inset 0 0 0 4px #fff;
  border-color: #bfbfbf;
  background: #bfbfbf;
}
input[type=radio] + label:empty:before {
  margin-right: 0;
}

/*ラジオボタン　end*/
.modal {
  display: none;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9;
  width: 100%;
}

.modal_bg {
  background: rgba(0, 0, 0, 0.8);
  height: 100vh;
  position: absolute;
  width: 100%;
}

.modal_content {
  position: relative;
  background: #fff;
  left: 50%;
  padding: 90px 40px 40px;
  box-sizing: border-box;
  position: absolute;
  width: 95%;
  height: 90vh;
  top: 54.5%;
  transform: translate(-50%, -50%);
  text-align: center;
  overflow-y: scroll;
}
.modal_content article {
  text-align: center !important;
}
.modal_content h2 {
  display: inline-block;
  font-size: 18px;
  padding: 10px 20px;
  background: #666;
  color: #fff;
  border-left: 1px solid #ddd;
}
.modal_content .article {
  display: inline-block;
}
.modal_content .list_outer {
  text-align: left !important;
  display: inline-block !important;
  width: auto !important;
}
.modal_content .js_modal_close_mdl {
  display: flex;
  align-items: center;
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 5px;
  background-color: var(--main_color);
  color: var(--main_color_font);
  font-weight: bold;
}
.modal_content .js_modal_close_mdl span {
  display: inline-block;
  position: relative;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  border-radius: 20px;
  background: var(--main_color_font);
}
.modal_content .js_modal_close_mdl span:before, .modal_content .js_modal_close_mdl span:after {
  position: absolute;
  top: 2px;
  left: 9px;
  content: "";
  width: 3px;
  height: 15px;
  background: var(--main_color);
}
.modal_content .js_modal_close_mdl span:before {
  transform: rotate(45deg);
}
.modal_content .js_modal_close_mdl span:after {
  transform: rotate(-45deg);
}
.modal_content .modal_search_area {
  display: flex;
  align-items: center;
  width: 600px;
  margin: 0 auto 30px;
}
.modal_content .modal_search_area form {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal_content .modal_search_area form dl {
  display: flex;
  align-items: center;
}
.modal_content .modal_search_area form dl dt {
  padding: 10px;
  font-weight: bold;
  margin-right: 20px;
}
.modal_content .modal_search_area form dl dd input {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  font-size: 16px;
}

.js_modal_open {
  position: relative;
  width: 30px !important;
  height: 30px !important;
  min-height: auto !important;
  display: block;
  margin: 0 10px !important;
  background: var(--main_color);
  cursor: pointer;
  border-radius: 5px;
}
.js_modal_open:after {
  content: "";
  position: absolute;
  top: 5px;
  right: 4px;
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
}
.js_modal_open:before {
  content: "";
  position: absolute;
  top: 9px;
  left: 5px;
  width: 15px;
  height: 15px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

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

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

.text {
  text-align: left !important;
  justify-content: flex-start !important;
}

.list_text_link {
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  min-height: auto !important;
  background: none !important;
  color: var(--main_color) !important;
  border-bottom: 2px solid var(--main_color) !important;
  border-radius: 0 !important;
  padding: 0 0 2px 0 !important;
}

/*汎用 end*/
#login {
  display: flex;
  align-items: center;
  width: auto;
  background: #fff;
}
#login .logo {
  padding-top: 20px;
}
#login .logo figure {
  display: block;
  position: relative;
  max-width: 300px;
  margin: 0 auto 30px;
}
#login .logo figure:before {
  content: "";
  display: block;
  padding-top: 100%;
  background: #ddd;
}
#login .logo figure img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  -o-object-fit: cover;
     object-fit: cover;
}
#login .alert {
  width: 90%;
  display: block;
  padding: 20px 10px;
  background: red;
  color: #fff;
  font-weight: bold;
  text-align: center;
  box-sizing: border-box;
  margin: 0 auto 20px;
}
#login .form {
  width: 500px;
  margin: 0 auto;
}
#login .form input[type=text], #login .form input[type=password] {
  display: block;
  width: 80%;
  box-sizing: border-box;
  padding: 10px;
  margin: 0 auto 20px;
}
#login .form input[type=button] {
  border: none;
}
#login .form input[type=button]:hover {
  border: 1px solid var(--main_color);
}

#top {
  display: flex;
}
#top article {
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  margin-right: 10px;
  background: #fff;
}
#top article h2 {
  display: inline-block;
  font-size: 18px;
  padding: 10px 20px;
  background: #666;
  color: #fff;
  border-left: 1px solid #ddd;
}
#top article section {
  padding: 20px;
}
#top article section h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}
#top article section .info_cell {
  display: flex;
}
#top article section .info_cell:last-of-type {
  margin-bottom: 50px;
}
#top article section .info_cell dt {
  width: 30%;
  background: var(--main_color);
  color: var(--main_color_font);
  padding: 20px;
  border-bottom: 1px solid #fff;
  box-sizing: border-box;
}
#top article section .info_cell dd {
  width: 70%;
  padding: 20px;
  border-bottom: 1px solid #ddd;
  box-sizing: border-box;
}
#top .side {
  width: 30%;
}
#top .dashbord_border {
  padding-bottom: 20px;
  border-bottom: 1px solid #ccc;
  margin-bottom: 20px;
}
#top .dashbord_btn_area {
  margin-bottom: 20px;
}
#top .dashbord_btn_area dl {
  margin-bottom: 20px;
}
#top .dashbord_btn_area dl dt {
  font-weight: bold;
  margin-bottom: 10px;
}
#top .dashbord_btn_area dl dd {
  display: flex;
  flex-wrap: wrap;
}
#top .dashbord_btn_area .btn_area_inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  width: 100%;
}
#top .dashbord_btn_area .btn_area_inner div {
  width: 250px;
}
#top .dashbord_btn_area .btn_area_inner div:last-of-type {
  margin-right: 0;
}
#top .dashbord_btn_area .btn_area_inner a {
  display: block;
  width: 250px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  padding: 20px 10px;
  box-sizing: border-box;
  background: var(--main_color);
  border: 3px solid var(--main_color) !important;
  border-radius: 5px;
  color: var(--main_color_font);
  margin-right: 20px;
  margin-bottom: 20px;
}
#top .dashbord_btn_area .btn_area_inner a:last-of-type {
  margin-right: 0;
}
#top .dashbord_btn_area .btn_area_inner a[target=_blank] {
  position: relative;
}
#top .dashbord_btn_area .btn_area_inner a[target=_blank]::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 10px;
  display: block;
  width: 24px;
  height: 24px;
  background: url(../img/blank_icon.png);
  background-size: cover;
}
#top .dashbord_btn_area .btn_area_inner p {
  margin-bottom: 20px;
}
#top .dashbord_btn_area .btn_area_inner + dl:last-of-type {
  margin-bottom: 0;
}

#list {
  width: calc(100% - 20px);
}
#list article section {
  margin-bottom: 10px;
}
#list article section:last-of-type {
  margin-bottom: 0;
}
#list article section h2 {
  display: inline-block;
  font-size: 18px;
  padding: 10px 20px;
  background: #666;
  color: #fff;
  border-left: 1px solid #ddd;
  min-width: 120px;
}
#list article .search_outer .search_head {
  display: flex;
  flex-wrap: wrap;
}
#list article .search_outer .dropdown {
  display: none;
}
#list article .search_outer .search_label {
  position: relative;
  display: block;
  width: 140px;
  height: 38px;
  border: none;
  margin: 0;
  z-index: 2;
}
#list article .search_outer .search_label:after {
  position: absolute;
  top: 0;
  left: 0;
  content: "クリックで表示▼";
  color: var(--main_color_font);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 38px;
  background: var(--main_color);
  font-size: 14px;
  z-index: 1;
}
#list article .search_outer #menu {
  display: none;
}
#list article .search_outer #menu:checked + .dropdown {
  display: block !important;
}
#list article .search_outer .search_inner {
  width: 100%;
  box-sizing: border-box;
  padding: 20px;
  background: #fff;
}
#list article .search_outer .search_inner form {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
#list article .search_outer .search_inner dl {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: 40%;
  max-width: 100%;
  margin-right: 5px;
  margin-bottom: 20px;
}
#list article .search_outer .search_inner dl dt {
  width: 160px;
  font-weight: bold;
}
#list article .search_outer .search_inner dl dd {
  width: calc(100% - 160px);
  letter-spacing: 0em;
}
#list article .search_outer .search_inner dl dd input {
  display: inline-block;
  width: 300px;
  max-width: 100%;
  padding: 5px;
  box-sizing: border-box;
}
#list article .search_outer .search_inner dl dd input[type=date] {
  width: 120px;
}
#list article .search_outer .search_inner dl dd select {
  display: inline-block;
  padding: 10px;
  box-sizing: border-box;
}
#list article .search_outer .search_inner .submit_area {
  width: 100%;
  margin-bottom: 0 !important;
}
@media screen and (max-width: 600px) {
  #list article .search_outer .search_inner dl {
    width: 100%;
    display: block;
  }
  #list article .search_outer .search_inner dl dt {
    width: 100%;
    text-align: left;
    margin-bottom: 10px;
    margin-right: 0;
  }
  #list article .search_outer .search_inner dl dd {
    width: 100%;
    display: flex;
    align-items: center;
  }
  #list article .search_outer .search_inner dl dd span {
    padding: 0 10px;
  }
  #list article .search_outer .search_inner dl dd input {
    width: 100%;
  }
}
#list article .search_outer .search_inner div {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
#list article .search_outer .search_inner div p {
  display: block;
  width: 100%;
}
#list article .search_outer .search_inner div span {
  margin-right: 20px;
}
#list article .search_outer .search_inner div input[type=text], #list article .search_outer .search_inner div input[type=search] {
  -webkit-appearance: none;
}
#list article .search_outer .search_inner div input[type=text], #list article .search_outer .search_inner div input[type=search], #list article .search_outer .search_inner div select {
  padding: 10px;
}
#list article .search_outer .search_inner div input[type=text] {
  width: 600px;
}
#list article .list_head_link {
  text-align: right;
  margin-bottom: 5px;
}
#list article .list_head_link a {
  position: relative;
  display: inline-block;
  padding: 15px 50px 15px 20px;
  font-size: 16px;
  color: var(--main_color_font);
  font-weight: bold;
  border-radius: 5px;
  background: var(--main_color);
}
#list article .list_head_link a::after {
  content: "▶︎";
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  font-weight: bold;
}
#list article .list_head_link_dl a {
  padding: 15px 20px 15px 50px !important;
}
#list article .list_head_link_dl a::after {
  content: "" !important;
  z-index: 3;
  width: 24px;
  height: 24px;
  left: 15px;
  right: auto;
  background: url(../img/download.png) no-repeat;
  background-size: cover;
}
#list article .list_new_line {
  text-align: left;
  background: #fff;
  padding: 10px 0px 0px;
  box-sizing: border-box;
  width: 100%;
  max-width: 450px;
  margin-right: 10px;
  margin-left: 10px;
  border-radius: 10px 10px 0 0;
}
#list article .list_new_line dl {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
#list article .list_new_line dl dt {
  display: block;
  font-weight: bold;
  margin-right: 10px;
  margin-bottom: 5px;
  line-height: 1em;
}
#list article .list_new_line dl dt span {
  display: inline-block;
  background: #666;
  color: #fff;
  letter-spacing: 0;
  box-sizing: border-box;
  padding: 7px;
  margin-right: 5px;
}
#list article .list_new_line dl dd {
  width: auto;
  margin: 0 10px 0 10px;
  margin-bottom: 5px;
}
#list article .list_new_line dl dd:last-child {
  margin: 0 0 5px 0;
}
#list article .list_new_line dl dd input {
  width: 150px;
  padding: 5px;
  box-sizing: border-box;
}
#list article .list_new_line dl dd .link_btn {
  font-size: 14px;
  font-weight: bold;
  width: auto;
  border-radius: 3px;
  line-height: 1em;
  padding: 5px 2px !important;
}

.list_outer {
  display: inline-block;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  /*セルタイトルと新規登録*/
  /*セルサイズ管理用*/
}
.list_outer h3 {
  text-align: left;
}
.list_outer .list_inner {
  display: inline-block;
  max-width: 100%;
  overflow-x: auto;
}
.list_outer .title_new-edit {
  display: flex;
  align-items: end;
  justify-content: space-between;
}
.list_outer .title_new-edit a {
  position: relative;
  box-sizing: border-box;
  padding: 20px 20px 20px 50px;
  background: var(--main_color);
  color: var(--main_color_font);
  font-weight: bold;
  /*margin-right: 1px;*/
  border-radius: 5px 5px 0 0;
  border-bottom: 1px solid #fff;
  /*margin: 0 auto;*/
}
.list_outer .title_new-edit a::before {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 21px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  content: "+";
  background: var(--main_color_font);
  color: var(--main_color);
  font-weight: bold;
  line-height: 1em;
  letter-spacing: 0;
}
.list_outer .grid_wrap {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  /*width: 100%;*/
  height: 77vh;
  max-height: 77vh;
  overflow-x: auto;
  border: 1px solid #ccc;
  background: #bbb;
  margin-bottom: 10px;
}
.list_outer .grid_wrap .list {
  position: absolute;
  top: 40px;
  margin-bottom: 0px !important;
}
.list_outer .grid_wrap .list_head {
  position: sticky;
  top: 0;
  left: 0;
  height: 40px;
  z-index: 3;
}
.list_outer .grid_wrap .list_head div {
  font-size: 14px;
  text-align: left;
  padding: 5px 10px;
  box-sizing: border-box;
}
.list_outer .grid_wrap .list_outer {
  position: absolute;
  top: 40px;
}
.list_outer .move_btn {
  position: relative;
}
.list_outer .moveBefore, .list_outer .moveNext {
  width: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
}
.list_outer .moveBefore {
  position: absolute;
  top: 5px;
}
.list_outer .moveNext {
  position: absolute;
  bottom: 5px;
}
.list_outer .form_alert {
  background: #c30909 !important;
}
.list_outer .form_alert .js_modal_open {
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px, rgb(255, 255, 255) 0px 0px 0px 2px;
}
.list_outer .size_cell_50 {
  display: flex;
  align-items: center;
  width: 50px;
}
.list_outer .size_cell_75 {
  display: flex;
  align-items: center;
  width: 75px;
}
.list_outer .size_cell_100 {
  display: flex;
  align-items: center;
  width: 100px;
}
.list_outer .size_cell_150 {
  display: flex;
  align-items: center;
  width: 150px;
}
.list_outer .size_cell_200 {
  display: flex;
  align-items: center;
  width: 200px;
}
.list_outer .size_cell_250 {
  display: flex;
  align-items: center;
  width: 250px;
}
.list_outer .size_cell_300 {
  display: flex;
  align-items: center;
  width: 300px;
}
.list_outer .size_cell_350 {
  display: flex;
  align-items: center;
  width: 350px;
}
.list_outer .size_cell_400 {
  display: flex;
  align-items: center;
  width: 400px;
}
.list_outer .size_cell_450 {
  display: flex;
  align-items: center;
  width: 450px;
}
.list_outer .size_cell_500 {
  display: flex;
  align-items: center;
  width: 500px;
}
.list_outer .user_id {
  display: flex;
  align-items: center;
  width: 300px;
}
.list_outer .mail_address {
  display: flex;
  align-items: center;
  width: 600px;
}
.list_outer .status {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  text-align: center;
}
.list_outer .edit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
}
.list_outer .edit .link_btn {
  font-weight: normal;
  padding: 0 !important;
}
.list_outer .no_index {
  width: 100%;
  text-align: center !important;
  justify-content: center !important;
  padding: 20px !important;
  box-sizing: border-box !important;
  border: none !important;
  font-weight: bold;
}
.list_outer .list_head {
  display: flex;
}
.list_outer .list_head div {
  border-left: 1px solid #ddd;
  background: #888;
  color: var(--main_color_font);
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
}
.list_outer .list_head div:first-of-type {
  border-left: none;
}
.list_outer .list_head div:last-of-type {
  border-right: none;
}
.list_outer .list {
  display: inline-block;
}
.list_outer .list:last-of-type {
  margin-bottom: 30px;
}
.list_outer .list li {
  background: #fff;
  border-bottom: 1px solid #ccc;
}
.list_outer .list li:nth-child(2n) {
  background: #f7f7f7;
}
.list_outer .list li:last-of-type {
  border-bottom: none;
}
.list_outer .list .new_edit {
  background: #fff9d8 !important;
}
.list_outer .list li, .list_outer .list form {
  display: flex;
}
.list_outer .list li:first-child div, .list_outer .list form:first-child div {
  border-top: none;
}
.list_outer .list li div, .list_outer .list form div {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  /*border-top: 1px solid #ddd;*/
  border-left: 1px solid #ddd;
  padding: 5px 10px;
  box-sizing: border-box;
  font-size: 14px;
  /*セル内分割*/
  /*フォーム自体のサイズ調整用*/
  /*フォーム自体のサイズ調整用 end*/
}
.list_outer .list li div:first-of-type, .list_outer .list form div:first-of-type {
  border-left: none;
}
.list_outer .list li div:last-of-type, .list_outer .list form div:last-of-type {
  border-right: 1px solid #ddd;
}
.list_outer .list li div span, .list_outer .list form div span {
  width: 100%;
  text-align: center;
}
.list_outer .list li div input, .list_outer .list li div select, .list_outer .list form div input, .list_outer .list form div select {
  width: 100%;
  padding: 5px;
  box-sizing: border-box;
}
.list_outer .list li div textarea, .list_outer .list form div textarea {
  width: 100%;
  height: 30px;
}
.list_outer .list li div a, .list_outer .list li div .link_btn, .list_outer .list form div a, .list_outer .list form div .link_btn {
  box-sizing: border-box;
  padding: 10px 15px;
  font-size: 14px;
  line-height: 1em;
  color: var(--main_color_font);
  background: var(--main_color);
  border-radius: 5px;
  margin: 0 auto;
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  letter-spacing: 0em;
}
.list_outer .list li div .size_form_100, .list_outer .list form div .size_form_100 {
  width: 100px;
}
.list_outer .list li div .size_form_150, .list_outer .list form div .size_form_150 {
  width: 150px;
}
.list_outer .list li div .size_form_200, .list_outer .list form div .size_form_200 {
  width: 200px;
}
.list_outer .list li div .size_form_250, .list_outer .list form div .size_form_250 {
  width: 250px;
}
.list_outer .list li div .size_form_300, .list_outer .list form div .size_form_300 {
  width: 300px;
}
.list_outer .list li div .size_form_350, .list_outer .list form div .size_form_350 {
  width: 350px;
}
.list_outer .list li div .size_form_400, .list_outer .list form div .size_form_400 {
  width: 400px;
}
.list_outer .list li div .size_form_450, .list_outer .list form div .size_form_450 {
  width: 450px;
}
.list_outer .list_foot {
  border-bottom: 1px solid #ddd;
  margin-bottom: 30px;
}
.list_outer .list_foot li {
  display: flex;
  background: #fff;
}
.list_outer .list_foot li div {
  border-top: 1px solid #ddd;
  border-left: 1px solid #ddd;
  padding: 10px 10px;
  box-sizing: border-box;
}
.list_outer .list_foot li div:last-of-type {
  border-right: 1px solid #ddd;
}
.list_outer .list_foot li div input, .list_outer .list_foot li div select {
  width: 100%;
  padding: 5px;
  box-sizing: border-box;
}
.list_outer .list_foot li div textarea {
  width: 100%;
  height: 30px;
}
.list_outer .list_foot li div a {
  box-sizing: border-box;
  padding: 10px 15px;
  font-size: 14px;
  line-height: 1em;
  color: var(--main_color_font);
  background: var(--main_color);
  border-radius: 5px;
}

.height_fit_list .grid_wrap {
  display: grid;
  height: auto;
  min-height: auto;
  max-height: inherit;
}
.height_fit_list .grid_wrap .list {
  position: relative;
  top: initial;
}

.list_check_edit {
  display: block;
  background: #fff;
  padding: 10px;
  margin: -10px 0 20px;
  width: 380px;
  text-align: center;
  border-left: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;
}
.list_check_edit select {
  display: inline-block;
  padding: 10px;
}
.list_check_edit input[type=submit] {
  display: inline-block;
  padding: 10px 15px;
  border-radius: 5px;
  border: none;
  background: var(--main_color);
  color: var(--main_color_font);
  font-weight: bold;
}

.not_check_info, .staff_check_info, .immediate_boss_check_info, .approval_check_info, .accounting_check_info {
  position: relative;
  display: inline-block;
  width: 90px !important;
  padding: 10px 30px 10px 8px;
  font-size: 14px;
  font-weight: bold;
  text-align: left !important;
  letter-spacing: 0em;
}
.not_check_info::before, .staff_check_info::before, .immediate_boss_check_info::before, .approval_check_info::before, .accounting_check_info::before {
  content: "";
  display: block;
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  width: 22px;
  height: 22px;
  border-radius: 20px;
}
.not_check_info::after, .staff_check_info::after, .immediate_boss_check_info::after, .approval_check_info::after, .accounting_check_info::after {
  content: "済";
  line-height: 0em;
  letter-spacing: 0em;
  font-size: 14px;
  color: #c30909;
  font-weight: bold;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
}

.not_check_info {
  text-align: center !important;
  padding: 10px !important;
  background: #fff;
  color: #888;
}
.not_check_info::before, .not_check_info::after {
  display: none !important;
}

.staff_check_info {
  background: #8ac3ff;
  color: #fff;
}

.immediate_boss_check_info {
  background: #9aed95;
  color: #fff;
}

.approval_check_info {
  background: #f2c447;
  color: #fff;
}

.accounting_check_info {
  background: #aaa;
  color: #fff;
}

.contract_grand_content_block {
  margin-bottom: 50px;
}
.contract_grand_content_block:first-of-type {
  margin-top: 30px;
}
.contract_grand_content_block .contract_grand_list_head {
  display: flex;
  width: auto;
  max-width: 1400px;
  margin: 0 auto !important;
}
.contract_grand_content_block .contract_grand_list_head .list_no {
  background-color: var(--main_color);
  color: #fff;
  padding: 10px 20px;
  box-sizing: border-box;
  border-radius: 10px 0 0 0;
}
.contract_grand_content_block .contract_grand_list_head .list_no dt {
  font-size: 12px;
  text-align: left;
  display: block;
  margin-bottom: 10px;
}
.contract_grand_content_block .contract_grand_list_head .list_no dd {
  display: block;
  font-size: 16px;
  font-weight: bold;
}
.contract_grand_content_block .contract_grand_list_head .list_no dd a {
  display: inline-block;
  color: #fff;
  padding-bottom: 5px;
  box-sizing: border-box;
  border-bottom: 1px solid #fff;
}
.contract_grand_content_block .contract_grand_list_head .list_title {
  background: #fff;
  padding: 10px 20px;
  box-sizing: border-box;
  border-radius: 0 10px 0 0;
}
.contract_grand_content_block .contract_grand_list_head .list_title dt {
  font-size: 12px;
  text-align: left;
  display: block;
  margin-bottom: 10px;
}
.contract_grand_content_block .contract_grand_list_head .list_title dd {
  display: block;
  font-size: 16px;
  font-weight: bold;
  text-align: left;
}
.contract_grand_content_block .list_outer .list_inner .grid_wrap .list li div a {
  display: inline-block;
  width: auto;
  height: auto;
  min-height: auto;
  background: none;
  color: var(--main_color);
  border-bottom: 2px solid var(--main_color) !important;
  border-radius: 0;
  padding: 0 0 2px 0;
}

.payment_add_btn {
  display: flex;
  justify-content: flex-end;
  width: 652px;
  margin: -12px auto 50px;
}
.payment_add_btn button {
  position: relative;
  display: block;
  background: var(--main_color);
  border: none;
  border-radius: 0 0 10px 10px;
  color: #fff;
  font-weight: bold;
  padding: 10px 20px 10px 50px;
}
.payment_add_btn button::before {
  position: absolute;
  content: "";
  top: 50%;
  transform: translateY(-50%);
  left: 10px;
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50px;
  background-color: #fff;
}
.payment_add_btn button::after {
  position: absolute;
  content: "+";
  font-weight: bold;
  font-size: 16px;
  color: var(--main_color);
  line-height: 0;
  top: 55%;
  transform: translateY(-50%);
  left: 15px;
  display: inline-block;
}

#edit .math_block {
  text-align: right;
}
#edit article {
  text-align: left;
  padding: 20px;
  box-sizing: border-box;
  background: #fff;
}
#edit article h2 {
  display: inline-block;
  font-size: 18px;
  padding: 10px 20px;
  background: #666;
  color: #fff;
  border-left: 1px solid #ddd;
  margin-bottom: 20px;
}
#edit article section {
  margin-bottom: 50px;
  counter-reset: number 0;
}
#edit article section:last-of-type {
  margin-bottom: 0;
}
#edit article section h3 {
  position: relative;
  font-size: 20px;
  display: block;
  width: 800px;
  padding: 0 0 10px 30px;
  box-sizing: border-box;
  border-bottom: 2px solid #999;
  margin: 0 auto 20px;
}
#edit article section h3:before {
  content: "";
  position: absolute;
  left: 5px;
  top: calc(50% - 5px);
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  background: #666;
  border-radius: 20px;
}
#edit article section .form_alert {
  position: relative;
  background: #cd5555 !important;
  border: solid 1px #000 !important;
  color: #fff !important;
  box-sizing: border-box;
}
#edit article section .form_alert::before {
  content: "!";
  position: absolute;
  z-index: 5;
  top: 2px;
  transform: translateX(100%);
  right: -5px;
  background: #fff;
  color: #990000;
  font-weight: bold;
  line-height: 1em;
  padding: 5px;
  box-sizing: border-box;
  border-radius: 20px;
  z-index: 5;
  width: 15px;
  height: 15px;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
#edit article section .form_alert:after {
  content: "未入力";
  font-size: 12px;
  line-height: 1.1em;
  position: absolute;
  top: -1px;
  transform: translateX(100%);
  right: -1px;
  width: 24px;
  height: 61px;
  background: #990000;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  letter-spacing: 0em;
  padding-left: 6px;
  padding-bottom: 2px;
  box-sizing: border-box;
  border-radius: 0 5px 5px 0;
}
#edit article section .payment_schedule {
  padding: 0 !important;
  width: 1000px !important;
}
#edit article section .form_cell {
  display: flex;
  width: 800px;
  padding: 0 50px;
  margin: 0 auto;
}
#edit article section .form_cell:last-of-type dt {
  border-bottom: none;
}
#edit article section .form_cell:last-of-type dd {
  border-bottom: 1px solid #ddd;
}
#edit article section .form_cell dt {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  text-align: center;
  font-weight: bold;
  box-sizing: border-box;
  background: #ececec;
  box-sizing: border-box;
  border-bottom: 1px solid #fff;
}
#edit article section .form_cell dt span {
  display: block;
}
#edit article section .form_cell .required::before {
  content: "必須";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 9px;
  display: inline-block;
  padding: 5px;
  box-sizing: border-box;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0em;
  line-height: 1em;
  color: #fff;
  background-color: #990000;
}
#edit article section .form_cell dd {
  padding: 10px;
  width: calc(100% - 200px);
  text-align: left;
  border-top: 1px solid #ddd;
  border-right: 1px solid #ddd;
  box-sizing: border-box;
}
#edit article section .form_cell dd input, #edit article section .form_cell dd textarea {
  width: 100%;
  padding: 5px 10px;
  box-sizing: border-box;
  margin: 0;
}
#edit article section .form_cell dd .input_w25 {
  width: 25% !important;
}
#edit article section .form_cell dd .input_w30 {
  width: 30% !important;
}
#edit article section .form_cell dd .input_w50 {
  width: 50% !important;
}
#edit article section .form_cell dd select {
  padding: 10px;
}
#edit article section .form_cell dd span {
  display: flex;
  padding: 10px 0;
}
#edit article section .form_cell dd span input {
  width: auto;
  margin-right: 10px;
}
#edit article section .form_cell dd .cell_incell {
  display: flex;
  border-bottom: 1px solid #f3f3f3;
}
#edit article section .form_cell dd .cell_incell:last-of-type {
  border: none;
}
#edit article section .form_cell dd .cell_incell dt {
  width: 100%;
  max-width: 130px;
  padding-left: 50px;
  box-sizing: border-box;
  font-size: 14px;
  color: #666;
  font-weight: bold;
  text-align: right;
  justify-content: flex-end;
  background: #fff;
}
#edit article section .form_cell dd .cell_incell dd {
  width: 100%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #666;
  line-height: 1em;
}
#edit article section .form_cell dd .cell_incell dd input {
  width: 200px;
}
#edit article section .form_cell dd .cell_incell dd p {
  margin-right: 20px;
}
#edit article section .form_cell dd .cell_incell dd p:last-of-type {
  margin-right: 0;
}
#edit article section .form_cell dd .cell_incell .use_text {
  justify-content: flex-end;
}
#edit article section .form_cell dd .cell_incell .use_text input {
  margin: 0 20px;
}
#edit article section .form_cell dd .cell_incell .use_text select {
  margin: 0 20px;
}
#edit article section .form_cell dd table {
  width: 100%;
  border: 1px solid #ccc;
}
#edit article section .form_cell dd table tr {
  border-bottom: 1px solid #ccc;
}
#edit article section .form_cell dd table tr:last-of-type {
  border-bottom: none;
}
#edit article section .form_cell dd table tr th, #edit article section .form_cell dd table tr td {
  padding: 5px;
  box-sizing: border-box;
  border-right: 1px solid #ccc;
  vertical-align: middle;
}
#edit article section .form_cell dd table tr th {
  font-size: 14px;
  text-align: center;
  background-color: #f9f9f9;
  padding: 10px 0;
  box-sizing: border-box;
}
#edit article section .form_cell dd table tr th span {
  font-size: 12px;
  display: inline-block;
  color: #999;
  padding: 0;
}
#edit article section .form_cell dd table tr td {
  text-align: center;
}
#edit article section .form_cell dd table tr td:first-of-type {
  width: 40px;
  background-color: #f9f9f9;
}
#edit article section .form_cell dd table tr td:nth-child(4), #edit article section .form_cell dd table tr td:nth-child(6), #edit article section .form_cell dd table tr td:nth-child(7) {
  width: 90px;
}
#edit article section .form_cell dd table tr td:nth-child(4) input, #edit article section .form_cell dd table tr td:nth-child(6) input, #edit article section .form_cell dd table tr td:nth-child(7) input {
  width: 40px !important;
}
#edit article section .form_cell dd table tr td:last-of-type {
  border-right: none;
}
#edit article section .form_cell dd table .total_tr td {
  padding: 10px 0;
  box-sizing: border-box;
  background-color: #888 !important;
  color: #fff;
}
#edit article section .form_cell dd table .total_tr td span {
  display: inline-block;
  padding: 5px 10px;
  background: #fff;
  color: #333;
  font-size: 12px;
  margin-top: 10px;
}
#edit article section .form_cell dd table .total_tr td .not_same {
  color: #d51d1d !important;
}
#edit article section .form_cell dd ul li {
  margin-bottom: 5px;
}
#edit article section .form_cell dd ul li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  padding: 10px 0;
  box-sizing: border-box;
  background: #ccc;
  margin: 0 10px;
  font-weight: bold;
}
#edit article section .form_cell dd ul li input[type=checkbox] {
  width: auto !important;
}
#edit article section .form_cell .flex {
  display: flex;
  align-items: center;
}
#edit article section .form_cell .flex .span_wrap {
  margin: 0 10px;
}
#edit article section .form_cell .flex .span_wrap:first-child {
  margin: 0 10px 0 0;
}
#edit article section .form_cell .space_between {
  justify-content: space-between;
}
#edit article section .form_cell .range {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#edit article section .form_cell .range input {
  width: 45%;
}
#edit article section .form_cell .modal_input {
  display: flex;
  align-items: center;
}
#edit article section .form_cell .modal_input input {
  width: 40%;
}
#edit article section .form_cell .modal_input .small_input {
  width: 20%;
}
#edit article section .form_cell .modal_input .js_modal_open {
  margin: 0 20px;
}
#edit article section .form_cell #check_radio input[type=radio] {
  display: none;
}
#edit article section .form_cell #check_radio input[type=radio] + label {
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 5px 10px 5px 30px;
  position: relative;
  width: auto;
  margin-right: 20px;
}
#edit article section .form_cell #check_radio input[type=radio] + label:before {
  content: "";
  background: #fff;
  border: 1px solid #231815;
  display: block;
  height: 16px;
  left: 5px;
  margin-top: -8px;
  position: absolute;
  top: 50%;
  width: 16px;
  border-radius: inherit;
}
#edit article section .form_cell #check_radio input[type=radio] + label:after {
  border-right: 3px solid #ed7a9c;
  border-bottom: 3px solid #ed7a9c;
  content: "";
  display: block;
  height: 9px;
  left: 10px;
  margin-top: -7px;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: rotate(45deg);
  width: 5px;
}
#edit article section .form_cell #check_radio input[type=radio]:checked + label::after {
  opacity: 1;
}
#edit article section .non_flex {
  display: block !important;
}
#edit article section .non_flex dt {
  padding: 15px 0;
}
#edit article section .non_flex dd {
  width: 100%;
  border: none;
  padding: 0;
}
#edit article section .bottom_space {
  margin-bottom: 30px;
}
#edit article section .bottom_space dt {
  border-bottom: none;
}
#edit article section .bottom_space dd {
  border-bottom: 1px solid #ddd;
}
#edit article section .submit_area {
  margin-top: 30px;
  margin-bottom: 50px;
}
#edit article section .submit_area:last-of-type {
  margin-bottom: 0;
}
#edit article section .submit_area input {
  border: none;
}
#edit article section .flex_dl {
  display: flex;
}
#edit article section .flex_dl dl {
  display: block;
  padding-left: 0;
  width: 100%;
  margin: 0 10px;
}
#edit article section .flex_dl dl dt {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  border-bottom: 0;
}
#edit article section .flex_dl dl dd {
  width: 100%;
  border: 1px solid #ddd;
}
#edit article section .flex_dl dl .math_block {
  text-align: right;
  justify-content: end;
}
#edit article section .info_block {
  width: 100%;
  border: 10px solid #eee;
  padding: 20px;
  box-sizing: border-box;
  margin: 0 auto 40px;
  position: relative;
}
#edit article section .info_block:last-of-type {
  margin: 0 auto;
}
#edit article section .info_block:before {
  display: inline-block;
  position: absolute;
  left: 10px;
  top: -36px;
  border-radius: 10px 10px 0 0;
  background: #eee;
  padding: 10px 50px;
  font-weight: bold;
  counter-increment: number 1; /* number カウンタの増加数をセット */
  content: counter(number) " "; /* 表示形式を指定 */
}
#edit article section .info_block h4 {
  margin: 10px auto;
}
#edit article section .info_block h4:first-of-type {
  margin: 0 auto 10px;
}
#edit article section .info_block .content_outer dl {
  width: 100%;
  padding: 0;
}
#edit article section .info_block .content_outer .content_inner {
  display: flex;
}
#edit article section .info_block .content_outer .content_inner dl {
  width: 25%;
  flex-wrap: wrap;
  margin: 0;
  border-bottom: 1px solid #ddd;
}
#edit article section .info_block .content_outer .content_inner dl dt {
  width: 100%;
  height: 25px;
  border-bottom: none;
}
#edit article section .info_block .content_outer .content_inner dl dd {
  width: 100%;
  height: 50px;
  border-top: 0;
  border-bottom: 0;
}
#edit article section .info_block .content_outer .content_inner dl:first-of-type dd {
  border-left: 1px solid #ddd;
}
#edit article section .info_block .content_outer .content_inner dl .math_block {
  justify-content: end;
}
#edit article section .info_block .content_outer .content_inner .day_data {
  text-align: center;
  justify-content: center !important;
}
#edit article section .flex_ctrl {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
  width: 100%;
  margin: 0 auto;
}
#edit article section .flex_ctrl .flex_ctrl_inner {
  width: 100%;
  order: 2;
}
#edit article section .flex_ctrl .flex_ctrl_inner .form_cell dd {
  display: flex;
  align-items: center;
  background: #fff;
}
#edit article section .flex_ctrl .flex_ctrl_inner .form_cell dd input {
  width: auto;
  max-width: 100%;
  display: block;
}
#edit article section .flex_ctrl .count_block {
  order: 1;
  width: 800px;
  margin: 0 auto 10px;
  text-align: right;
}
#edit article section .flex_ctrl .count_block span {
  text-align: center;
  width: 40px;
  display: inline-block;
  font-weight: bold;
}
#edit article section .flex_ctrl .count_block span:before {
  content: counter(number) " "; /* 表示形式を指定 */
}
#edit article section .flex_ctrl .list_outer .grid_wrap {
  border-left: none;
  border-right: none;
  border-bottom: 1px solid #ccc;
}
#edit article section .flex_ctrl .list_outer .grid_wrap ul li div:first-of-type {
  border-left: 1px solid #ccc;
}
#edit article section .flex_ctrl .list_outer .grid_wrap ul input {
  font-size: 11px !important;
}
#edit article section .flex_ctrl .list_outer .grid_wrap ul .btn_select input:first-of-type {
  width: 55px;
}
#edit article section .flex_ctrl .list_outer .grid_wrap ul .link_btn {
  font-size: 14px !important;
}
#edit article .list_outer {
  width: 100%;
}
#edit article .list_other_info {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 30px;
}
#edit article .list_other_info dl dt {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--main_color);
  color: var(--main_color_font);
  font-weight: bold;
  padding: 10px;
  box-sizing: border-box;
}
#edit article .list_other_info dl dd {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  border-right: 1px solid #888;
  border-bottom: 1px solid #888;
  border-left: 1px solid #888;
}
#edit article .construction_link {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 30px;
}
#edit article .construction_link a {
  position: relative;
  display: inline-block;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  padding: 10px 45px 10px 20px;
  box-sizing: border-box;
  background: var(--main_color);
  border: 3px solid var(--main_color) !important;
  border-radius: 5px;
  color: var(--main_color_font);
  margin-left: 20px;
}
#edit article .construction_link a .link_btn:hover {
  color: var(--main_color);
  background: #fff;
}
#edit article .construction_link a .link_btn:hover::after {
  font-weight: bold;
  color: var(--main_color);
}
#edit article .construction_link a::after {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  content: "⇨";
  font-size: 16px;
  font-weight: bold;
  color: var(--main_color_font);
}

#content_list article {
  padding: 20px;
  box-sizing: border-box;
  background: #fff;
}
#content_list article section h2 {
  display: inline-block;
  font-size: 18px;
  padding: 10px 20px;
  background: #666;
  color: #fff;
  border-left: 1px solid #ddd;
  margin-bottom: 20px;
}
#content_list article section a {
  width: 500px;
  margin-bottom: 30px;
}

#estimate_details .details_input {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: left;
}
#estimate_details .details_input h2 {
  margin-bottom: 10px;
}
#estimate_details .details_input dl {
  margin-bottom: 30px;
}
#estimate_details .details_input dl .details_input_inner {
  display: flex;
  margin-bottom: 5px;
}
#estimate_details .details_input dl .details_input_inner dt {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-weight: bold;
  width: 30%;
}
#estimate_details .details_input dl .details_input_inner dd {
  display: flex;
  align-items: center;
  width: 70%;
  padding-left: 20px;
  box-sizing: border-box;
  min-height: 40px;
}
#estimate_details .details_input dl .details_input_inner dd input, #estimate_details .details_input dl .details_input_inner dd textarea, #estimate_details .details_input dl .details_input_inner dd select {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
}
#estimate_details .profit_rate_setting dl {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}
#estimate_details .profit_rate_setting dl dt {
  display: block;
  height: 100%;
  box-sizing: border-box;
  padding: 18px 10px;
  line-height: 1em;
  background: #666;
  font-weight: bold;
  color: #fff;
}
#estimate_details .profit_rate_setting dl dd {
  display: flex;
  justify-content: space-between;
  border: 1px solid;
  box-sizing: border-box;
  padding: 5px 10px;
  width: 450px;
}
#estimate_details .profit_rate_setting dl dd div {
  display: flex;
  align-items: center;
}
#estimate_details .profit_rate_setting dl dd div input[type=tel] {
  font-size: 18px;
  box-sizing: border-box;
  padding: 5px;
  text-align: right;
}
#estimate_details .profit_rate_setting dl dd div span {
  display: inline-block;
  font-size: 18px;
  margin-left: 10px;
}
#estimate_details .profit_rate_setting dl dd div .small_link_btn {
  padding: 5px 10px;
}
#estimate_details .details_table_outer {
  width: 100%;
  max-width: 1550px;
  margin: 0 auto 30px;
  overflow-x: auto;
  border: 1px solid #ccc;
}
#estimate_details .details_table_outer .details_table {
  width: 1550px;
  /*セル背景色*/
  /*セルサイズ*/
}
#estimate_details .details_table_outer .details_table .details_table_info {
  display: flex;
}
#estimate_details .details_table_outer .details_table .details_table_info div {
  font-weight: bold;
}
#estimate_details .details_table_outer .details_table .details_table_info div:nth-child(2) {
  width: 500px;
  padding: 10px;
  box-sizing: border-box;
  text-align: center;
  border-left: 1px solid #ccc;
}
#estimate_details .details_table_outer .details_table .details_table_info div:nth-child(3) {
  width: 404px;
  padding: 10px;
  box-sizing: border-box;
  text-align: center;
  border-left: 3px solid #ccc;
  border-top: 2px solid #ccc;
}
#estimate_details .details_table_outer .details_table .details_table_info div:last-child {
  width: 407px;
  padding: 10px;
  box-sizing: border-box;
  text-align: center;
  border-left: 3px solid #ccc;
  border-top: 2px solid #ccc;
  border-right: 3px solid #ccc;
}
#estimate_details .details_table_outer .details_table .details_table_head {
  display: flex;
  align-items: center;
  color: var(--main_color_font);
  background: var(--main_color);
  box-sizing: border-box;
}
#estimate_details .details_table_outer .details_table .details_table_head div {
  padding: 10px 5px;
  font-size: 14px;
  border-left: 1px solid #fff;
  box-sizing: border-box;
}
#estimate_details .details_table_outer .details_table .details_table_head div:first-of-type {
  border: none;
}
#estimate_details .details_table_outer .details_table .details_table_head div:nth-child(8) {
  border-left: 3px solid #fff;
}
#estimate_details .details_table_outer .details_table .details_table_head div:nth-child(11) {
  border-right: 2px solid #fff;
}
#estimate_details .details_table_outer .details_table .details_table_cell li {
  display: flex;
  border-bottom: 1px solid #ccc;
}
#estimate_details .details_table_outer .details_table .details_table_cell li:last-of-type {
  border-bottom: 3px solid #ccc;
}
#estimate_details .details_table_outer .details_table .details_table_cell li div {
  padding: 10px 5px;
  box-sizing: border-box;
  border-left: 1px solid #ccc;
}
#estimate_details .details_table_outer .details_table .details_table_cell li div:first-of-type {
  border-left: 1px solid #ccc;
}
#estimate_details .details_table_outer .details_table .details_table_cell li div:nth-child(5) {
  border-left: 3px solid #ccc;
}
#estimate_details .details_table_outer .details_table .details_table_cell li div:nth-child(9) {
  border-left: 3px solid #ccc;
}
#estimate_details .details_table_outer .details_table .details_table_cell li div:nth-child(12) {
  border-right: 2px solid #ccc;
}
#estimate_details .details_table_outer .details_table .details_table_cell li div:last-of-type {
  border-right: 1px solid #ccc;
}
#estimate_details .details_table_outer .details_table .details_table_cell li div input[type=text], #estimate_details .details_table_outer .details_table .details_table_cell li div input[type=number] {
  width: 100%;
  padding: 5px;
  box-sizing: border-box;
}
#estimate_details .details_table_outer .details_table .details_table_cell li div input[type=button] {
  background: var(--main_color);
  color: var(--main_color_font);
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  width: 100%;
  border-radius: 5px;
  padding: 5px 0px;
  line-height: 1em;
  margin-bottom: 10px;
}
#estimate_details .details_table_outer .details_table .details_table_cell li div input[type=button]:last-of-type {
  margin-bottom: 0;
}
#estimate_details .details_table_outer .details_table .details_table_cell li .modal_estimate_profit {
  background: #d9e6db !important;
}
#estimate_details .details_table_outer .details_table .details_table_foot li {
  display: flex;
  border-bottom: 1px solid #ccc;
  background: #f7f7f7;
}
#estimate_details .details_table_outer .details_table .details_table_foot li div {
  padding: 10px 5px;
  box-sizing: border-box;
  border-left: 1px solid #ccc;
}
#estimate_details .details_table_outer .details_table .details_table_foot li div input {
  width: 70px;
  padding: 5px;
  margin-right: 10px;
  box-sizing: border-box;
}
#estimate_details .details_table_outer .details_table .details_table_foot li div:first-of-type {
  border-left: 1px solid #ccc;
}
#estimate_details .details_table_outer .details_table .details_table_foot li div:nth-child(5) {
  border-left: 3px solid #ccc;
}
#estimate_details .details_table_outer .details_table .details_table_foot li div:nth-child(9) {
  border-left: 3px solid #ccc;
}
#estimate_details .details_table_outer .details_table .details_table_foot li div:nth-child(12) {
  border-right: 2px solid #ccc;
}
#estimate_details .details_table_outer .details_table .details_table_foot li div:last-of-type {
  border-right: 1px solid #ccc;
}
#estimate_details .details_table_outer .details_table .modal_estimate {
  display: flex;
  align-items: center;
  justify-content: center;
}
#estimate_details .details_table_outer .details_table .modal_estimate_profit {
  background: #e8f2e9;
  display: flex;
  align-items: center;
  justify-content: center;
}
#estimate_details .details_table_outer .details_table .modal_estimate_other {
  display: flex;
  align-items: center;
  justify-content: center;
}
#estimate_details .details_table_outer .details_table .arrow {
  width: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
#estimate_details .details_table_outer .details_table .arrow input[type=button] {
  width: 22px !important;
  border-radius: 22px;
}
#estimate_details .details_table_outer .details_table .name {
  width: 250px;
}
#estimate_details .details_table_outer .details_table .type {
  width: 200px;
}
#estimate_details .details_table_outer .details_table .quantity {
  width: 50px;
}
#estimate_details .details_table_outer .details_table .unit {
  width: 75px;
}
#estimate_details .details_table_outer .details_table .unit_price {
  width: 140px;
}
#estimate_details .details_table_outer .details_table .subtotal {
  width: 140px;
}
#estimate_details .details_table_outer .details_table .description {
  width: 100px;
}
#estimate_details .details_table_outer .details_table .button {
  width: 90px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
#estimate_details .details_table_outer .details_table .button .delete_btn {
  background: #666 !important;
}
#estimate_details .list_other_info {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 30px;
}
#estimate_details .list_other_info dl {
  display: flex;
}
#estimate_details .list_other_info dl div {
  border: 1px solid #ccc;
  width: 50%;
}
#estimate_details .list_other_info dl div dt {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--main_color);
  color: var(--main_color_font);
  font-weight: bold;
  padding: 10px;
  box-sizing: border-box;
}
#estimate_details .list_other_info dl div dd {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
}
#estimate_details .excel_import dl {
  display: block;
  width: 80%;
  margin: 0 auto;
  border-right: 1px solid #ccc;
  border-left: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}
#estimate_details .excel_import dl dt {
  background-color: #ccc;
  box-sizing: border-box;
  padding: 10px 0;
  text-align: center;
}
#estimate_details .excel_import dl dt span {
  display: inline-block;
  background: #217346;
  color: #fff;
  font-weight: bold;
  padding: 5px 5px 6px 7px;
  line-height: 1em;
  margin-right: 10px;
}
#estimate_details .excel_import dl dd {
  box-sizing: border-box;
  padding: 10px;
}
#estimate_details .excel_import dl dd textarea {
  width: 100%;
  min-height: 200px;
  box-sizing: border-box;
  background: #f4f4f4;
}
#estimate_details .output_btn {
  width: 100%;
  max-width: 800px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0 auto;
}
#estimate_details .output_btn dl {
  width: 100%;
}
#estimate_details .output_btn dl dt {
  display: block;
  background: #666;
  color: #fff;
  font-weight: bold;
  padding: 10px;
  box-sizing: border-box;
}
#estimate_details .output_btn dl dd {
  padding: 30px 0;
}
#estimate_details .output_btn span {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}
#estimate_details .output_btn span:last-of-type {
  margin-bottom: 0;
}
#estimate_details .output_btn span::before {
  display: block;
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 25px;
  border-radius: 0 5px 0 0;
  background: #fff;
}
#estimate_details .output_btn span::after {
  display: block;
  content: "X";
  font-size: 20px;
  font-weight: bold;
  color: #217346;
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}
#estimate_details .output_btn span input {
  display: block;
  width: 250px;
  font-size: 16px;
  border: none;
  background: var(--main_color);
  color: var(--main_color_font);
  padding: 10px 30px 10px 10px;
  border-radius: 5px;
  box-sizing: border-box;
  cursor: pointer;
}
#estimate_details .output_btn span input:disabled {
  background-color: #ddd !important;
  border: 3px solid #ddd !important;
}
#estimate_details .output_btn #close_wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  width: 100%;
}
#estimate_details .output_btn #close_wrap dl {
  width: 250px;
  margin-bottom: 30px;
}
#estimate_details .output_btn .close_wrap_over {
  position: relative;
}
#estimate_details .output_btn .close_wrap_over::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.6;
  background-color: #333;
}
#estimate_details .output_btn .close_wrap_over::after {
  content: "チェックを押されると書類発行可能になります";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  z-index: 3;
  text-align: center;
  font-weight: bold;
  color: #fff;
}
#estimate_details .output_btn .output_check_area {
  width: 100%;
  margin-bottom: 20px;
}
#estimate_details .output_btn .output_check_area p {
  display: block;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
}
#estimate_details .output_btn .output_check_area div {
  display: flex;
  align-items: center;
  justify-content: center;
}

.month_select {
  display: flex;
  justify-content: center;
  font-size: 24px;
}
.month_select a {
  display: flex;
  align-items: center;
  padding: 5px 10px;
  box-sizing: border-box;
  background: var(--main_color);
  color: var(--main_color_font);
}
.month_select span {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  font-weight: bold;
  color: var(--main_color);
  box-sizing: border-box;
  background: #fff;
}

#cash_flow {
  display: inline-block;
  max-width: 100%;
  margin: 0 auto 30px;
}
#cash_flow table {
  position: relative;
  width: auto;
  max-height: 87vh;
  background: #fff;
  table-layout: fixed;
  box-sizing: border-box;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-collapse: separate;
  border-left: 1px solid #ccc;
}
#cash_flow table thead {
  position: sticky;
  top: 0;
  z-index: 3;
}
#cash_flow table thead tr {
  background: #fff;
  box-shadow: 0px 10px 16px -15px rgba(0, 0, 0, 0.6);
}
#cash_flow table thead tr th {
  width: 60%;
  table-layout: fixed;
  border-top: 1px solid #ccc;
  border-bottom: 5px solid #ccc;
  box-sizing: border-box;
}
#cash_flow table thead tr th:first-of-type {
  position: sticky;
  left: 0;
  background: #aaa;
  z-index: 11;
  /*border-right: 1px solid #ccc;*/
  width: 100px;
}
#cash_flow table thead tr th:first-of-type span {
  width: 60px;
  display: inline-block;
}
#cash_flow table thead tr th .th_outer {
  display: flex;
}
#cash_flow table thead tr th .th_outer div {
  width: 60%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid #ccc;
  background: #fff;
  color: #dc5c49;
}
#cash_flow table thead tr th .th_outer dl {
  width: 40%;
  font-size: 12px;
  box-sizing: border-box;
  background: #fff;
  color: #dc5c49;
  border-left: 1px solid #eee;
}
#cash_flow table thead tr th .th_outer dl dt {
  padding: 5px;
  box-sizing: border-box;
  text-align: center;
  word-break: break-all;
  overflow-wrap: break-word;
}
#cash_flow table thead tr th .th_outer dl dd {
  text-align: right;
  padding: 5px;
  /*border-left: 1px solid var(--main_color_font);*/
  box-sizing: border-box;
  word-break: break-all;
  overflow-wrap: break-word;
}
#cash_flow table tbody tr:nth-child(2n) {
  background: #f6f6f6;
}
#cash_flow table tbody tr:nth-child(2n) th {
  background: #f6f6f6;
}
#cash_flow table tbody tr th {
  position: sticky;
  left: 0;
  text-align: center;
  vertical-align: middle;
  border-collapse: collapse;
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;
  width: 60px;
  background: #fff;
  word-break: break-all;
  overflow-wrap: break-word;
}
#cash_flow table tbody tr td {
  font-size: 14px;
  border-left: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  word-break: break-all;
  overflow-wrap: break-word;
  min-height: 100px;
}
#cash_flow table tbody tr td dl {
  display: flex;
  flex-direction: row;
  width: 450px;
  min-height: 35px;
  font-size: 12px;
  box-sizing: border-box;
  border-bottom: 1px solid #eee;
}
#cash_flow table tbody tr td dl:hover {
  background: #ffec87 !important;
}
#cash_flow table tbody tr td dl:hover dd:last-of-type button {
  visibility: visible;
}
#cash_flow table tbody tr td dl dt {
  display: flex;
  align-items: center;
  justify-content: start;
  text-align: left;
  width: calc(60% - 40px);
  padding: 0 5px;
  /*border-left: 1px solid #666;*/
  box-sizing: border-box;
  order: 2;
  word-break: break-all;
  overflow-wrap: break-word;
}
#cash_flow table tbody tr td dl dd {
  width: 40%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 5px;
  border-left: 1px solid #eee;
  box-sizing: border-box;
  order: 3;
  font-weight: bold;
  word-break: break-all;
  overflow-wrap: break-word;
}
#cash_flow table tbody tr td dl dd:last-of-type {
  width: 40px;
  order: 1;
  text-align: center;
  border-left: 0;
}
#cash_flow table tbody tr td dl dd:last-of-type button {
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 20px;
  height: 20px;
  background: #990000;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 20px;
}
#cash_flow table tbody tr td dl dd input {
  box-sizing: border-box;
}
#cash_flow table tbody tr td .new_edit {
  background: #fff9d8 !important;
}
#cash_flow table tbody tr td .new_edit dt {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  order: 1;
  border-left: 0;
  width: 270px;
}
#cash_flow table tbody tr td .new_edit dt input[type=text] {
  width: 85%;
  display: inline-block;
  box-sizing: border-box;
}
#cash_flow table tbody tr td .new_edit dd {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 130px;
  border-left: 1px solid #ccc;
  padding: 0 0 0 5px;
  order: 2;
}
#cash_flow table tbody tr td .new_edit dd input[type=text] {
  width: 100%;
  box-sizing: border-box;
}
#cash_flow table tbody tr td .new_edit dd:last-of-type {
  width: 50px;
  justify-content: center;
  margin-left: 0;
  padding: 0;
  order: 3;
  border: 0;
  text-align: center;
}
#cash_flow table tfoot {
  position: sticky;
  bottom: 0;
  background: #dc5c49;
  color: #fff;
}
#cash_flow table tfoot tr th {
  font-size: 12px;
  position: sticky;
  left: 0;
  z-index: 9;
  background: #dc5c49;
  border-right: 1px solid #fff;
}
#cash_flow table tfoot tr td dl {
  display: flex;
  width: 100%;
  font-size: 12px;
  box-sizing: border-box;
}
#cash_flow table tfoot tr td dl dt {
  width: 60%;
  padding: 15px 10px;
  border-left: 1px solid #fff;
  box-sizing: border-box;
}
#cash_flow table tfoot tr td dl dd {
  width: 40%;
  border-left: 1px solid #888;
  text-align: right;
  padding: 15px 10px;
  box-sizing: border-box;
}
#cash_flow table tfoot tr td dl dd input {
  box-sizing: border-box;
}
#cash_flow .total {
  margin: 20px 0 50px 0;
}
#cash_flow .total dl {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#cash_flow .total dl dt {
  background: var(--main_color);
  color: var(--main_color_font);
  border: 1px solid var(--main_color);
  font-weight: bold;
  text-align: center;
  width: 200px;
  padding: 20px;
  box-sizing: border-box;
}
#cash_flow .total dl dd {
  border: 1px solid var(--main_color);
  width: 300px;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
  font-weight: bold;
  background: var(--main_color_font);
}
#cash_flow .total div {
  display: inline-block;
}
#cash_flow .total div a {
  margin-left: 30px;
}

#deposit {
  margin: 50px 0;
}

#deposit_btn {
  margin: 30px 0;
  text-align: center;
}/*# sourceMappingURL=style.css.map */