@charset "utf-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
  font-size: 10px;
  overflow-y: scroll;
  color: #333;
}

body {
  height: 100%;
  line-height: 1.5;
  font-size: 1.6rem;
  font-family: sans-serif;
  -webkit-text-size-adjust: 100%;
  -webkit-overflow-scrolling: touch;
}

img {
  border: 0;
  height: auto;
  line-height: 0;
  max-width: 100%;
  vertical-align: top;
}

h1,h2,h3,h4,h5,h6 {
  font-weight: normal;
}

a {
  color: #778899;
}

a:hover {
  opacity: .6;
}

ul {
  list-style-type: none;
}

/*.hidden {
  display: none;
}
*/
.kerning {
  letter-spacing: -.5em;
}

.kerning *:not(.kerning) {
  letter-spacing: normal;
}

.flex {
  display: -o-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: -webkit-box; /*--- Android4.3以前 ---*/
  display: -webkit-flex;
  display: flex;
}

.panel {
  vertical-align: top;
  display: inline-block;
}

.container {
  margin: 0 auto;
  width: 1024px;
}

.required,
.error {
  color: red;
  font-size: 80%;
}

.error {
  margin: 5px 0 0;
}

.red {
  color: red;
}

.hide {
  display: none;
}

.center {
  text-align: center;
}

.right {
  text-align: right;
}

.mt10 {
  margin-top: 10px;
}

.mt20 {
  margin-top: 20px;
}

.mt30 {
  margin-top: 30px;
}

.mt40 {
  margin-top: 40px;
}

.mt50 {
  margin-top: 50px;
}

.mt60 {
  margin-top: 60px;
}

.mb10 {
  margin-bottom: 10px;
}

.mb20 {
  margin-bottom: 20px;
}

.mb30 {
  margin-bottom: 30px;
}

.mb40 {
  margin-bottom: 40px;
}

.mb50 {
  margin-bottom: 50px;
}

.mb60 {
  margin-bottom: 60px;
}

.mb70 {
  margin-bottom: 70px;
}

.em1 {
  width: 1em;
}
.em2 {
  width: 2em;
}
.em3 {
  width: 3em;
}
.em4 {
  width: 4em;
}
.em5 {
  width: 5em;
}
.em6 {
  width: 6em;
}
.em7 {
  width: 7em;
}
.em8 {
  width: 8em;
}
.em9 {
  width: 9em;
}
.em10 {
  width: 10em;
}
.em11 {
  width: 11em;
}
.em12 {
  width: 12em;
}
.em13 {
  width: 13em;
}
.em14 {
  width: 14em;
}
.em15 {
  width: 15em;
}
.em16 {
  width: 16em;
}
.em17 {
  width: 17em;
}
.em18 {
  width: 18em;
}
.em19 {
  width: 19em;
}
.em20 {
  width: 20em;
}

.p5 {
  width: 5%;
}
.p10 {
  width: 10%;
}
.p15 {
  width: 15%;
}
.p20 {
  width: 20%;
}
.p25 {
  width: 25%;
}
.p30 {
  width: 30%;
}
.p35 {
  width: 35%;
}
.p40 {
  width: 40%;
}
.p45 {
  width: 45%;
}
.p50 {
  width: 50%;
}
.p55 {
  width: 55%;
}
.p60 {
  width: 60%;
}
.p65 {
  width: 65%;
}
.p70 {
  width: 70%;
}
.p75 {
  width: 75%;
}
.p80 {
  width: 80%;
}
.p85 {
  width: 85%;
}
.p90 {
  width: 90%;
}
.p95 {
  width: 95%;
}
.p100 {
  width: 100%;
}

.result_nothing {
  text-align: center;
  font-size: 130%;
  margin: 30px 0 0;
}

.shugaki {
  font-size: 11.5px!important;
  font-weight: normal!important;
  color: #eb6101;
  margin: 5px 0 0;
}

.hide_when_only_one {
  display: none;
}

.this_is_new {
  color: #fff;
  background-color: red;
  padding: 2px 3px;
  font-size: 80%;
  margin: 0 0 0 .5em;
}

table {
  width: 100%;
  border-collapse: collapse;
}

input[type="reset"] {
  border: none;
  text-decoration: underline;
}

#breadcrumbs {
  font-size: 80%;
  padding: 4px 0;
  background-color: #eee;
}

#breadcrumbs span:after{
  color: #333;
  content: '>';
  margin: 0 6px 0 10px;
}

#breadcrumbs span:last-child:after{
  content: '';
}

header {
  padding: 14px 15px 10px;
  overflow: hidden;
  border-bottom: solid 5px #778899;
}

header h1 {
  color: #444;
  font-size: 130%;
  font-weight: bold;
  letter-spacing: 2px;
  float: left;
}

header h1 p {
  padding: 15px 0;
  margin: 0 0 0 10px;
}

header .signout {
  font-size: small;
  float: right;
  text-align: right;
  margin: 20px 0 0;
}

#gnavi {
  background-color: #778899;
  border-bottom: solid 5px #778899;
}

#gnavi a {
  color: #333;
  font-size: 90%;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  width: calc((100% - 15px) / 4);
  background-color: rgba(255,255,255,.9);
  padding: 10px 8px;
  margin: 0 5px 0 0;
}

#gnavi a:last-child {
  margin: 0;
}

.files #gnavi a.files,
.logs #gnavi a.logs,
.mails #gnavi a.mails,
.users #gnavi a.users,
.statements #gnavi a.statements,
.c_search #gnavi a.c_search,
.m_search #gnavi a.m_search,
.manual #gnavi a.manual,
.mypage #gnavi a.mypage,
.reports #gnavi a.reports {
  color: #333;
  background-color: rgba(255,255,255,.5);
}

.signin header .signout,
.application header .signout,
.maintenance header .signout {
  display: none;
}

article {
  min-height: 700px;
  padding: 0 15px 20px;
}

article .main_title {
  margin: 30px 0;
  position: relative;
  padding: 0 0 0 40px;
}

article .main_title:before {
  left: 0;
  bottom: 0;
  content: "";
  z-index: -1;
  width: 0.8em;
  height: 0.8em;
  display: block;
  position: absolute;
  background: #ffe2dc;
  -webkit-box-shadow: 0.5em -0.5em 0 0.16em #e3f1f7;
  box-shadow: 0.5em -0.5em 0 0.16em #e3f1f7;
}

article h1 {
  color: #333;
  margin: 0 0 20px;
}

article h2 {
  color: #333;
  font-size: 120%;
  font-weight: bold;
  margin: 35px 0 10px;
  padding: 4px 0 4px 8px;
  border-left: solid 10px #ececec;
  border-bottom: solid 2px #ececec;
}

article h2 + p {
  font-size: 80%;
  padding: 10px 0;
  clear: both;
}

article h2.ttl {
  font-size: 140%;
  margin: 10px 0 20px;
}

article h2.ttl + p {
  font-size: 100%;
}

article table table {
  margin: 5px 0 0;
}

article table th,
article table td {
  font-size: 100%;
  padding: 8px 10px;
}

article table th {
  width: 20%;
  text-align: center;
  border: solid 1px #e5e5e5;
  background-color: #edeeee;
}

article table td {
  width: 80%;
  border: solid 1px #e5e5e5;
}

article table td.short {
  width: 20%;
}

.pagination {
  font-size: 90%;
  margin: 25px 0 0;
  text-align: right;
}

.pagination .pager a {
  text-decoration: none;
}

.pagination .pager a.current {
  color: #000;
  font-weight: bold;
}

.breadcrumbs {
  font-size: 85%;
  padding: 5px 0;
  background-color: #eee;
}

.breadcrumbs ul {
  list-style: none;
}

.breadcrumbs ul li {
  font-size: small;
  display: inline-block;
}

.breadcrumbs ul li:before {
  content: '>';
  margin: 0 5px 0 0;
}

.breadcrumbs ul li a {
  color: #555;
}

form input[type="text"],
form input[type="tel"],
form input[type="number"],
form input[type="password"] {
  padding: 4px 6px;
}

form input[type="number"] {
  -moz-appearance: textfield;
}

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

form input[type="submit"] {
  width: 200px;
  text-align: center;
  padding: 10px 18px;
  color: #fff;
  background-color: #778899;
  border: none;
  border-radius: 4px;
  font-size: 95%;
  cursor: pointer;
}

form input[type="submit"]:hover {
  opacity: .8;
}

form.search_company input[type="submit"] {
  width: auto;
  padding: 1px 18px;
}

.btn {
  color: #fff;
  text-decoration: none;
  background-color: #888;
  padding: 5px 12px;
  text-align: center;
}

.back {
  margin: 30px 0 0;
  text-align: center;
}

.back a,
form.back [type="submit"] {
  color: #fff;
  padding: 10px 18px;
  font-size: 80%;
  text-decoration: none;
  border-radius: 5px;
  background-color: #333;
}

.back [type="submit"] {
  width: auto;
  height: auto;
  color: #333;
  font-size: 80%;
  text-decoration: underline;
  background: none;
}

.delete {
  font-size: 90%;
  color: red;
}

footer {
  color: #fff;
  font-size: 80%;
  text-align: center;
  padding: 28px 15px;
  overflow: hidden;
  background: #778899;
}

/*
 ** signin
 */
.signin form {
  width: 40%;
  padding: 30px 40px;
  margin: 0 auto;
  border: solid 1px #ccc;
  border-radius: 5px;
  box-shadow: 2px 2px 2px 2px rgba(0,0,0,0.1);
}

.signin form dd {
  margin: 0 0 20px;
}

.signin form dd input[type="text"],
.signin form dd input[type="password"] {
  width: 100%;
  font-size: 110%;
}

.signin form input[type="submit"] {
  display: block;
  margin: 0 auto;
}

.signin form .store {
  font-size: 90%;
  text-align: center;
  margin: 0 0 10px;
}

.signin form .store input {
  margin: 0 10px 0 0;
}

.signin form .reset {
  font-size: 90%;
  text-align: center;
  margin: 8px 0;
}

.signin form .reset p {
  font-size: 90%;
  margin: 15px 0 0;
}

.signin form .reset p:before {
  content: "<<";
}

.signin form + p {
  margin: 50px 0 0;
}

.signin form + p a {
  padding: 14px 20px;
}

/*
 ** statements
 */
#statements.index .box {
  margin: 0 0 20px;
}

#statements.index .box h2 {
  font-size: 110%;
  margin: 35px 0 20px;
}

#statements.index .box .content .data .result {
  color: #666;
  padding: 10px;
  font-size: 80%;
  margin: 20px 0 0;
  background: #efefef;
  border: solid 1px #888;
}

#statements.index .search_company label span {
  margin: 0 8px;
}

#statements.index .type label span {
  margin: 0 8px 0 4px;
}

#statements.index .input th {
  text-align: left;
}

#statements.index .input td span {
  margin: 0 12px 0 4px;
}

#statements.index .input td .caution {
  color: red;
  font-size: 85%;
}

#statements.index #kessanki {
  border: solid 1px #ccc;
  padding: 2px 6px;
  margin: 10px 0 0;
}

#statements.index #kessanki span {
  background-color: #888;
  color: #fff;
  padding: 2px 6px;
  font-size: small;
}

#statements.index #kessanki small {
  margin: 0 6px 0 0;
  color: #888;
}

#statements.post #ttl_area div {
  width: 50%;
  vertical-align: middle;
}

#statements.post #ttl_area div:last-child {
  text-align: right;
}

#statements.post #ttl_area div:last-child a {
  font-size: 90%;
  text-decoration: none;
  color: #fff;
  background-color: #c3141c;
  border-radius: 5px;
  padding: 6px 12px;
}

#statements.post #search_data {
  font-size: 85%;
  padding: 8px 12px;
  border: solid 1px #ccc;
}

#statements.post #search_data span {
  margin: 0 12px 0 0;
}

#statements.post #search_area {
  width: 80%;
  height: 80%;
  overflow: hidden;
  position: absolute;
  top: 10%;
  left: 10%;
  padding: 2% 4%;
  background-color: rgba(255, 255, 255, .9);
  z-index: 999;
  border: solid 1px #ccc;
  border-radius: 4px;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, .2);
}

#statements.post #search_area [type="text"] {
  font-size: 110%;
  padding: 4px 8px;
}

#statements.post #search_area .query div {
  width: 50%;
}

#statements.post #search_area .result {
  height: 90%;
}

#statements.post #search_area .result .sum {
  color: #fff;
  background-color: #888;
  margin: 0 0 15px;
  padding: 2px 6px;
  display: inline-block;
  font-size: 90%;
}

#statements.post #search_area .result ul {
  height: 90%;
  overflow-y: scroll;
  transform: translateZ(0);
}

#statements.post #search_area .result ul li {
  margin: 0 0 25px;
  font-size: 90%;
  padding: 0 0 6px;
  border-bottom: solid 1px #ccc;
}

#statements.post #search_area .result ul li .cat {
  margin: 0 0 6px;
  border-bottom: solid 1px #ccc;
}

#statements.post #search_area .result ul li ul {
  margin: 6px 0 0;
  padding: 6px 10px;
  background-color: #f0f0f0;
  overflow: hidden;
}

#statements.post #search_area .result ul li ul li {
  width: calc(100% / 3);
  float: left;
  margin: 4px 0 0;
  padding: 0;
  border: none;
}

#statements.post #pagination {
  margin: 20px 0;
}

#statements.post #pagination a {
  margin: 0 6px 0 0;
}

#statements.post #pagination a.selected {
  font-weight: bold;
  text-decoration: none;
  cursor: default;
}

#statements.post th {
  font-size: 80%;
  text-align: left;
  font-weight: normal;
}

#statements.post .minus {
  color: red;
}

#statements.post .minus_group input {
  border-color: red;
}

#statements.post .parent th {
  width: 20%;
  /* vertical-align: top; */
}

#statements.post .parent_name {
  font-size: 1.4rem;
  position: relative;
}

#statements.post .parent .parent_name:after{
  width: 0px;
  height: 0px;
  content: "";
  right: -15px;
  display: block;
  position: absolute;
  top:calc(50% - 15px);
  border-left: 15px solid #edeeee;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
}

#statements.post .parent td {
  width: 30%;
}

#statements.post .parent td:nth-child(2) {
  width: 50%;
  background: #fff;
  padding: 10px 20px;
}

#statements.post .parent td:nth-child(3) {
  overflow: hidden;
  background: #fff;
  vertical-align: top;
}

#statements.post .parent td:nth-child(3) table {
  width: 70%;
  float: right;
}

#statements.post .parent td:nth-child(3) table th,
#statements.post .parent td:nth-child(3) table td {
  border: none;
  padding: 0;
}

#statements.post .parent td:nth-child(3) table th {
  width: 40%;
  background: none;
}

#statements.post .parent td:nth-child(3) table td {
  width: 60%;
  text-align: right;
}

#statements.post .parent td:nth-child(3) table td[colspan="2"] {
  width: 100%;
  padding: 0 0 4px;
  border-bottom: 1px solid #aaa;
}

#statements.post .parent td:nth-child(3) table td.calculation {
  width: 100%;
  padding: 8px 0 0;
  border-top: 1px solid #aaa;
  border-bottom: none;
  font-size: 80%;
  color: #888;
}

#statements.post #loader {
  color: #e3f1f7;
  font-size: 20px;
  margin: 100px auto;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  position: relative;
  text-indent: -9999em;
  -webkit-animation: load4 1.3s infinite linear;
  animation: load4 1.3s infinite linear;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
@-webkit-keyframes load4 {
  0%,
  100% {
    box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
  }
  12.5% {
    box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  25% {
    box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  37.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  50% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  62.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
  }
  75% {
    box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
  }
  87.5% {
    box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
  }
}
@keyframes load4 {
  0%,
  100% {
    box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
  }
  12.5% {
    box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  25% {
    box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  37.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  50% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  62.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
  }
  75% {
    box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
  }
  87.5% {
    box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
  }
}

#statements.post #pdf_loader {
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,.3);
  position: fixed;
  display: none;
  top: 0;
  left: 0;
  z-index: 10000;
}

#statements.post #pdf_loader div {
  color: #e3f1f7;
  font-size: 20px;
  margin: 26% auto;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  position: relative;
  text-indent: -9999em;
  -webkit-animation: load44 1.3s infinite linear;
  animation: load44 1.3s infinite linear;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
@-webkit-keyframes load44 {
  0%,
  100% {
    box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
  }
  12.5% {
    box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  25% {
    box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  37.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  50% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  62.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
  }
  75% {
    box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
  }
  87.5% {
    box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
  }
}
@keyframes load44 {
  0%,
  100% {
    box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
  }
  12.5% {
    box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  25% {
    box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  37.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  50% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  62.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
  }
  75% {
    box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
  }
  87.5% {
    box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
  }
}


#statements.post .parent .parent_input {
  background: #f8f8f8;
}

#statements.post .parent .parent_input .total {
  width: 45%;
}

#statements.post .parent .parent_input .total_item {
  font-size: 100%;
}

#statements.post .parent .parent_input div {
  padding: 4px 10px 8px;
  box-sizing: border-box;
}

#statements.post .parent .parent_input .button_item {
  padding: 5px 10px;
  border-radius: 5px;
  text-decoration: none;
}

#statements.post .parent .parent_input .detail_item {
  color: #fbf9f9;
  background: #79bdd8;
}

#statements.post .parent .parent_input div:nth-child(3) {
  color: #888;
  font-size: 85%;
}

#statements.post .parent .children tr th {
  width: 30%;
  border: none;
  background: none;
  border-bottom: solid 2px #79bdd8;
}

#statements.post .parent .children tr td {
  width: 40%;
  border: none;
  background: none;
  border-bottom: solid 2px #ddd;
}

#statements.post .parent .children tr td:nth-child(3) {
  width: 30%;
  color: #888;
  font-size: 75%;
  overflow: hidden;
  text-align: right;
  vertical-align: middle;
}

#statements.post .parent .children input {
  width: 100%;
}

#statements.post .parent_total {
  background: #eee;
  box-shadow: 1px 1px 5px 1px rgba(0,0,0,0.2);
}

#statements.post .parent_total th,
#statements.post .parent_total td {
  border: none;
  padding: 20px 10px;
  /* border-bottom: solid 1px #e5e5e5; */
}

#statements.post .parent_total th {
  width: 90%;
  font-size: 1.6rem;
  text-align: right;
}

#statements.post .parent_total td {
  width: 10%;
}

#statements.post .parent_total input {
  font-size: 1.6rem;
}

#statements.post .make_pdf {
  text-align: center;
}

#statements.post .make_pdf input[type="submit"] {
  margin: 3em 0.5em 0 ;
  background-color: #c3141c;
  border-radius: 5px 5px;
}

#statements.post .calculation_diff {
  display: inline-block;
  margin-top: 10px;
  font-weight: bold;
  text-decoration: underline;
  font-size: 1.4rem;
}

#statements.post .calculation_diff {
  color: red;
}

#statements.post article table.total_3 {
  background: none;
  box-shadow: none;
  margin-top: 30px;
  margin-bottom: 50px;
}

#statements.post article table.total_3  th {
  font-weight: bold;
  font-size: 2.2rem;
  padding-top: 0;
  background-color:#fff;
  border-bottom: 1px solid #000;
}

#statements.post article table.total_3 td {
  font-weight: bold;
  font-size: 2.2rem;
  padding-top: 0;
  background-color:none;
  border-bottom: 1px solid #000;
}

#statements.post article table.origin_has_child {
  background: none;
  box-shadow: none;
  margin-top: 50px;
  margin-bottom: 50px;
}

#statements.post article table.origin_has_child  th {
  font-weight: bold;
  font-size: 3rem;
  padding-top: 0;
  background-color:#fff;
  border-bottom: 1px solid #000;
}

#statements.post article table.origin_has_child td {
  font-weight: bold;
  font-size: 3rem;
  padding-top: 0;
  background-color:none;
  border-bottom: 1px solid #000;
}

#statements.post article table.origin_no_child {
  margin-top: 40px;
}

#statements.post article table.origin_no_child.parent_total {
  margin-top: 0;
}

#statements.post input:-moz-read-only {
  background-color: #ccc;
}

#statements.post input:read-only {
  background-color: #ccc;
}

#statements.post #submit_values {
  background-color: #778899;
}

#statements.post #submit_values:read-only {
  background-color: #778899;
}

#statements.post input:disabled {
  background-color: #888;
  color: #333;
}

#statements.post.type3 input:disabled {
  background-color: #ccc;
  color: #333;
}
#statements.post .small_total {
  font-size: 1.6rem;
}


#statements.post .make_pdf a {
  width: 200px;
  text-align: center;
  padding: 10px 18px;
  color: #fff;
  background-color: #778899;
  border: none;
  border-radius: 4px;
  font-size: 95%;
  cursor: pointer;
  margin: 3em auto 0;
  background-color: #c3141c;
  border-radius: 5px 5px;
  display: block;
  text-decoration: none;
}

#statements.post .make_pdf .children_btns a {
  width: 300px;
  display: inline-block;
}

/**
 * #admin
 */
#admin.home article {
  margin: 12px 0 0;
}

#admin.home article p {
  margin: 0 0 6px;
}

#admin.statements .lists .lead {
  font-size: 90%;
  padding: 14px 20px;
  margin: 3ex 0 1ex;
  border: dotted 1px #ccc;
}

#admin.statements .lists ul li h3 {
  font-weight: bold;
  margin: 3ex 0 1ex;
}

#admin.statements .lists ul li ul li {
  margin: 0 0 8px;
  padding: 6px 8px;
  border: solid 1px #ccc;
  background-color: #fafafa;
  cursor: pointer;
  font-size: 80%;
}

#admin.statements .lists ul li ul li p {
  vertical-align: middle;
}

#admin.statements .lists ul li ul li p:first-child {
  width: 4%;
}

#admin.statements .lists ul li ul li p:first-child span {
  width: 70%;
  display: block;
  text-align: center;
  background-color: #eee;
  border: solid 1px #ccc;
  padding: 4px 0;
}

#admin.statements .lists ul li ul li p:nth-child(2) {
  width: 50%;
}

#admin.statements .lists ul li ul li p:nth-child(3) {
  width: 46%;
  text-align: right;
  color: #888;
}

#admin.statements .lists ul li ul li p:nth-child(3) span {
  width: 20%;
}

#admin.statements .lists ul li ul li p:nth-child(3) span:last-child {
  width: 5%;
}

#admin.statements .add {
  text-align: center;
}

#admin.statements .add a {
  display: inline-block;
  border: solid 1px #ccc;
  border-radius: 5px;
  margin: 10px 0 0;
  padding: 4px 6px;
  text-decoration: none;
}

#admin.users article table {
  font-size: 80%;
}

#admin.users article table th,
#admin.users article table td {
  width: calc(40% / 3);
}

#admin.users article table th:nth-child(2),
#admin.users article table td:nth-child(2),
#admin.users article table th:nth-child(4),
#admin.users article table td:nth-child(4),
#admin.users article table th:nth-child(5),
#admin.users article table td:nth-child(5) {
  width: 20%;
}

#admin.users article table td:nth-child(4),
#admin.users article table td:nth-child(5) {
  text-align: right;
}

#admin.users article table td:nth-child(6) {
  text-align: center;
}

#admin.users .one_col th {
  width: 20%;
  text-align: left;
}

#admin.users .one_col td {
  width: 80%!important;
}
#admin.reports article p {
  font-size: 80%;
}
/**
 * #reports
 */
#reports #ttl_area .panel {
  width: 50%;
  vertical-align: middle;
}

#reports #ttl_area .panel:last-child {
  font-size: 85%;
  text-align: right;
}

#reports #ttl_area .panel:last-child p {
  margin: 4px 0;
}

#reports #ttl_area .panel:last-child span {
  width: 30px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  margin: 0 4px 0 0;
  border: solid 1px #ccc;
}

#reports .bg_ippan {
  background-color: #add8e6;
}

#reports.form tr.bg_ippan th {
  background-color: #add8e6;
}

#reports .bg_youran {
  background-color: #8fbc8f;
}

#reports .bg_both {
  background-color: #ffe4e1;
}

#reports nav {
  margin: 0 0 20px;
}

#reports nav a {
  margin: 0 4px 0 0;
  font-size: 95%;
}

#reports nav .categories div {
  margin: 0 20px 0 0;
}

#reports nav .categories span {
  font-size: 90%;
  background-color: #eee;
  padding: 6px 12px;
  margin: 0 4px 0 0;
  font-weight: bold;
}

#reports nav .categories a {
  padding : 4px 2px;
}

#reports nav .categories.page0 .page0,
#reports nav .categories.page1 .page1,
#reports nav .categories.page2 .page2,
#reports nav .categories.page3 .page3,
#reports nav .categories.page4 .page4,
#reports nav .categories.page5 .page5,
#reports nav .categories.page6 .page6,
#reports nav .categories.page7 .page7,
#reports nav .categories.page8 .page8 {
  background-color: green;
  color:#FFF;
}


#reports #error_area {
  margin: 0 0 20px;
  padding: 4px 8px;
  border: solid 6px red;
  font-size: 85%;
  color: red;
}

#reports #error_area ul {
  list-style-type: disc;
  padding: 0 0 0 1.5em;
}

#reports #warning_area {
  margin: 0 0 20px;
  padding: 4px 8px;
  border: solid 6px yellow;
  background: yellow;
  font-size: 85%;
  color: #000;
}

#reports #warning_area ul {
  list-style-type: disc;
  padding: 0 0 0 1.5em;
}

#reports h3 {
  font-size: 110%;
  margin: 10px 0 4px;
}

#reports h4 {
  font-size: 100%;
  margin: 10px 0 4px;
}

#reports.form table {
  width: 100%;
  margin: 0 0 30px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 80%;
}

#reports.form table table {
  margin: 0;
}

#reports.form table.w60 {
  width:60%;
  display: inline-block;
  vertical-align: top;
}
#reports.form table.w40 {
  width:40%;
  display: inline-block;
  vertical-align: top;
}

#reports.form table th {
  height:4em;
}

#reports input[type="text"],
#reports textarea {
  padding: 2px 4px;
  font-size: 100%;
}

#reports textarea {
  min-height: 100px;
  resize: none;
}

#reports select {
  font-size: 100%;
}

#reports [type="checkbox"],
#reports [type="radio"] {
  margin: 0 2px 0 0;
}

#reports #overlay {
  z-index:1;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-color:rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

#reports #overlay #modal {
  z-index:2;
  width:70%;
  padding: 1em;
  background:#fff;;
}

#reports #overlay #modal .header {
  text-align: center;
  font-size: 105%;
  font-weight: bold;
}

#reports #overlay #modal .body {
  border: solid 1px #ddd;
  margin: 20px 0;
  padding: 16px 12px;
}

#reports #overlay #modal .body .submit {
  text-align: center;
  padding: 6px 10px;
  color: #fff;
  background-color: #778899;
  border: none;
  border-radius: 4px;
  font-size: 95%;
  cursor: pointer;
  text-decoration: none;
  margin: 0 0 0 10px;
}

#reports #overlay #modal .footer {
  text-align: center;
}

#reports #overlay #modal .footer button {
  font-size: 90%;
  padding: 4px 6px;
  background-color: #eee;
  border: solid 1px #ccc;
  border-radius: 4px;
  cursor: pointer;
}

#reports #overlay #modal .body .result {
  height: 300px;
  margin: 20px 0 0;
  overflow-y: scroll;
  clear: both;
  font-size: 90%;
}

#reports #overlay #modal .body .result div {
  float: left;
  border: solid 1px #ddd;
  padding: 4px 6px;
}

#reports #overlay #modal .body .result .cat_ttl {
  width: 15%;
  background-color: #eee;
}

#reports #overlay #modal .body .result .cat_content {
  width: 35%;
}

#reports #overlay #modal .search_company .body .result .cat_ttl {
  width: 15%;
  background-color: #eee;
}

#reports #overlay #modal .search_company .body .result .cat_content {
  width: 35%;
}

#reports #overlay #modal .search_company .body .result .cat_location {
  width: 35%;
}

#reports #overlay #modal .search_company .body .result .cat_old_name {
  width: 15%;
}

#reports #overlay #modal .search_charge .body .result .cat_ttl {
  width: 10%;
  background-color: #eee;
}

#reports #overlay #modal .search_charge .body .result .cat_content {
  width: 30%;
}

#reports #overlay #modal .search_charge .body .result .cat_office {
  width: 10%;
}

#reports.form .sub_text {
  font-size: 90%;
  margin: 10px 0 4px;
}

#reports.form table th,
#reports.form table td {
  padding: 6px 8px;
  border: solid 1px #ccc;
}

#reports.form table th {
  width: 20%;
  text-align: left;
}

#reports.form table td {
  width: 80%;
}

#reports.form table td div {
  margin: 0 0 6px;
}

#reports.form table td i.far {
  margin: 0 0 0 6px;
}

#reports.form table.branch {
  table-layout: auto;
}
#reports.form table.branch td {
  font-size: 80%;
}

#reports.form table.branch th:nth-child(1),
#reports.form table.branch td:nth-child(1) {
  width: 5%;
}

#reports.form table.branch th:nth-child(2),
#reports.form table.branch td:nth-child(2) {
  width: 20%;
}

#reports.form table.branch th:nth-child(3),
#reports.form table.branch td:nth-child(3) {
  width: 15%;
}

#reports.form table.branch th:nth-child(4),
#reports.form table.branch td:nth-child(4) {
  width: 12%;
}

#reports.form table.branch th:nth-child(5),
#reports.form table.branch td:nth-child(5) {
  width: 30%;
}

#reports.form table.branch th:nth-child(6),
#reports.form table.branch td:nth-child(6) {
  width: 5%;
}

#reports.form table.branch th:nth-child(7),
#reports.form table.branch td:nth-child(7) {
  width: 5%;
}

#reports.form table.branch_info th:nth-child(1),
#reports.form table.branch_info td:nth-child(1) {
  width: 15%;
}

#reports.form table.branch_info th:nth-child(2),
#reports.form table.branch_info td:nth-child(2) {
  width: 65%;
}

#reports.form table.branch_info th:nth-child(3),
#reports.form table.branch_info td:nth-child(3) {
  width: 15%;
}

#reports.form table.branch_info th:nth-child(4),
#reports.form table.branch_info td:nth-child(4) {
  width: 5%;
}

#reports.form table.type_items th:nth-child(1),
#reports.form table.type_items td:nth-child(1),
#reports.form table.type_items th:nth-child(3),
#reports.form table.type_items td:nth-child(3),
#reports.form table.type_items th:nth-child(4),
#reports.form table.type_items td:nth-child(4),
#reports.form table.type_items th:nth-child(6),
#reports.form table.type_items td:nth-child(6) {
  width: 10%;
}

#reports.form table.type_items th:nth-child(2),
#reports.form table.type_items td:nth-child(2),
#reports.form table.type_items th:nth-child(7),
#reports.form table.type_items td:nth-child(7) {
  width: 25%;
}

#reports.form table.type_items th:nth-child(5),
#reports.form table.type_items td:nth-child(5),
#reports.form table.type_items th:nth-child(8),
#reports.form table.type_items td:nth-child(8) {
  width: 5%;
}

#reports.form table.items th:nth-child(1),
#reports.form table.items td:nth-child(1) {
  width: 80%;
}

#reports.form table.items th:nth-child(2),
#reports.form table.items td:nth-child(2) {
  width: 10%;
}

#reports.form table.items th:nth-child(3),
#reports.form table.items td:nth-child(4) {
  width: 10%;
}

#reports.form table.grade th,
#reports.form table.grade td {
  width: calc(100% / 3);
}

#reports.form table.officer {
  table-layout: auto;
  font-size:70%;
}
#reports.form table.officer th,
#reports.form table.officer td {
  padding: 6px 4px;
}
#reports.form table.officer th:nth-child(1),
#reports.form table.officer td:nth-child(1) {
  width: 5%;
}
#reports.form table.officer th:nth-child(2),
#reports.form table.officer td:nth-child(2) {
  width: 15%;
}
#reports.form table.officer th:nth-child(3),
#reports.form table.officer td:nth-child(3) {
  width: 26%;
}
#reports.form table.officer th:nth-child(4),
#reports.form table.officer td:nth-child(4) {
  width: 10%;
}
#reports.form table.officer th:nth-child(5),
#reports.form table.officer td:nth-child(5) {
  width: 10%;
}
#reports.form table.officer th:nth-child(6),
#reports.form table.officer td:nth-child(6) {
  width: 8%;
}
#reports.form table.officer th:nth-child(7),
#reports.form table.officer td:nth-child(7) {
  width: 12%;
}
#reports.form table.officer th:nth-child(8),
#reports.form table.officer td:nth-child(8) {
  width: 5%;
}
#reports.form table.officer th:nth-child(9),
#reports.form table.officer td:nth-child(9) {
  width: 4%;
}

#reports.form table.stockholder {
  table-layout: auto;
}
#reports.form table.stockholder th:nth-child(1),
#reports.form table.stockholder td:nth-child(1) {
  width: 8%;  
}
#reports.form table.stockholder th:nth-child(2),
#reports.form table.stockholder td:nth-child(2) {
  width: 34%;
}
#reports.form table.stockholder th:nth-child(3),
#reports.form table.stockholder td:nth-child(3) {
  width: 8%;
}
#reports.form table.stockholder th:nth-child(4),
#reports.form table.stockholder td:nth-child(4) {
  width: 15%;
}
#reports.form table.stockholder th:nth-child(5),
#reports.form table.stockholder td:nth-child(5) {
  width: 10%;
}
#reports.form table.stockholder th:nth-child(6),
#reports.form table.stockholder td:nth-child(6) {
  width: 10%;
}
#reports.form table.stockholder th:nth-child(7),
#reports.form table.stockholder td:nth-child(7) {
  width: 10%;
}

#reports.form table.equipment th:nth-child(1),
#reports.form table.equipment td:nth-child(1) {
  width: 15%;
}

#reports.form table.equipment th:nth-child(2),
#reports.form table.equipment td:nth-child(2) {
  width: 25%;
}

#reports.form table.equipment th:nth-child(3),
#reports.form table.equipment td:nth-child(3) {
  width: 60%;
}
#reports.form table.equipment table.rosen {
  margin: 10px 0;
}




#reports.form table.company_equipment th,
#reports.form table.company_equipment td {
  width: calc(100% / 4);
}

#reports.form table.company_equipment.other.display {
  display: none!important;
}

#reports.form table.company_equipment.other th,
#reports.form table.company_equipment.other td {
  padding:2px 8px;
  height: 3em;
}


#reports.form table.bank th:nth-child(1),
#reports.form table.bank td:nth-child(1),
#reports.form table.bank th:nth-child(2),
#reports.form table.bank td:nth-child(2) {
  width: 30%;
}

#reports.form table.bank th:nth-child(3),
#reports.form table.bank td:nth-child(3),
#reports.form table.bank th:nth-child(4),
#reports.form table.bank td:nth-child(4),
#reports.form table.bank th:nth-child(5),
#reports.form table.bank td:nth-child(5) {
  width: calc(40% / 3);
}

#reports.form table.vendor {
  font-size: 65%;
}

#reports.form table.vendor {
  table-layout: auto;
}

#reports.form table.vendor th,
#reports.form table.vendor td {
  width: calc(47% / 7);
}

#reports.form table.vendor th:nth-child(4),
#reports.form table.vendor td:nth-child(4),
#reports.form table.vendor th:nth-child(6),
#reports.form table.vendor td:nth-child(6) {
  width: 18%;
}

#reports.form table.vendor th:nth-child(10),
#reports.form table.vendor td:nth-child(10) {
  width: 5%;
}

#reports.form table.vendor th:nth-child(2),
#reports.form table.vendor td:nth-child(2) {
  width: 15%;
}

#reports.form table.vendor td:nth-child(1) {
  width: 8%;
}

#reports.form table.vendor th:nth-child(7),
#reports.form table.vendor td:nth-child(7) {
  width: 10%;
}

#reports.form table.vendor th:nth-child(9),
#reports.form table.vendor td:nth-child(9) {
  width: 6%;
}

#reports.form table.vendor th:nth-child(10),
#reports.form table.vendor td:nth-child(10) {
  width: 6%;
}

#reports.form table.vendor.siire,
#reports.form table.vendor.hanbai {
  font-size: 65%;
}

#reports.form table.vendor.siire,
#reports.form table.vendor.hanbai {
  table-layout: auto;
}

#reports.form table.vendor.siire th:nth-child(1),
#reports.form table.vendor.siire td:nth-child(1),
#reports.form table.vendor.hanbai th:nth-child(1),
#reports.form table.vendor.hanbai td:nth-child(1) {
  width: 8%;
}

#reports.form table.vendor.siire th:nth-child(2),
#reports.form table.vendor.siire td:nth-child(2),
#reports.form table.vendor.hanbai th:nth-child(2),
#reports.form table.vendor.hanbai td:nth-child(2) {
  width: 8%;
}

#reports.form table.vendor.siire th:nth-child(3),
#reports.form table.vendor.siire td:nth-child(3),
#reports.form table.vendor.hanbai th:nth-child(3),
#reports.form table.vendor.hanbai td:nth-child(3) {
  width: 4%;
}

#reports.form table.vendor.siire th:nth-child(4),
#reports.form table.vendor.siire td:nth-child(4),
#reports.form table.vendor.hanbai th:nth-child(4),
#reports.form table.vendor.hanbai td:nth-child(4) {
  width: 18%;
}

#reports.form table.vendor.siire th:nth-child(5),
#reports.form table.vendor.siire td:nth-child(5),
#reports.form table.vendor.hanbai th:nth-child(5),
#reports.form table.vendor.hanbai td:nth-child(5) {
  width: 7%;
}

#reports.form table.vendor.siire th:nth-child(6),
#reports.form table.vendor.siire td:nth-child(6),
#reports.form table.vendor.hanbai th:nth-child(6),
#reports.form table.vendor.hanbai td:nth-child(6) {
  width: 14%;
}


#reports.form table.vendor.siire th:nth-child(7),
#reports.form table.vendor.siire td:nth-child(7),
#reports.form table.vendor.hanbai th:nth-child(7),
#reports.form table.vendor.hanbai td:nth-child(7) {
  width: 5%;
}

#reports.form table.vendor.siire th:nth-child(8),
#reports.form table.vendor.siire td:nth-child(8),
#reports.form table.vendor.hanbai th:nth-child(8),
#reports.form table.vendor.hanbai td:nth-child(8) {
  width: 7%;
}

#reports.form table.vendor.siire th:nth-child(9),
#reports.form table.vendor.siire td:nth-child(9),
#reports.form table.vendor.hanbai th:nth-child(9),
#reports.form table.vendor.hanbai td:nth-child(9) {
  width: 7%;
}

#reports.form table.vendor.siire th:nth-child(10),
#reports.form table.vendor.siire td:nth-child(10),
#reports.form table.vendor.hanbai th:nth-child(10),
#reports.form table.vendor.hanbai td:nth-child(10) {
  width: 6%;
}

#reports.form table.vendor.siire th:nth-child(11),
#reports.form table.vendor.siire td:nth-child(11),
#reports.form table.vendor.hanbai th:nth-child(11),
#reports.form table.vendor.hanbai td:nth-child(11) {
  width: 4%;
}

#reports.form table.vendor.siire th:nth-child(12),
#reports.form table.vendor.siire td:nth-child(12),
#reports.form table.vendor.hanbai th:nth-child(12),
#reports.form table.vendor.hanbai td:nth-child(12) {
  width: 4%;
}

#reports.form table.vendor td,
#reports.form table.vendor th {
  padding-left:4px;
  padding-right:4px;
}

#reports.form table.subcontractor,
#reports.form table.subcontractor {
  table-layout: auto;
}

#reports.form table.subcontractor th,
#reports.form table.subcontractor td {
  width: calc(25% / 3);
}

#reports.form table.subcontractor th:nth-child(2),
#reports.form table.subcontractor td:nth-child(2) {
  width: 40%;
}

#reports.form table.subcontractor th:nth-child(3),
#reports.form table.subcontractor td:nth-child(3) {
  width: 35%;
}

#reports.form table.subcontractor th:nth-child(5),
#reports.form table.subcontractor td:nth-child(5) {
  width: 10%;
}

/*#reports.form table.kessan input,
#reports.form table.kessan select,*/
#reports.form table.kessan td {
  font-size: 70%;
}

#reports.form table.kessan input,
#reports.form table.kessan select {
  font-size: 110%;
}


#reports.form table.kessan {
  table-layout: auto;
}

#reports.form table.kessan th:nth-child(1),
#reports.form table.kessan td:nth-child(1),
#reports.form table.kessan th:nth-child(6),
#reports.form table.kessan td:nth-child(6),
#reports.form table.kessan th:nth-child(11),
#reports.form table.kessan td:nth-child(11) {
  width: 10%;
}

#reports.form table.kessan th:nth-child(2),
#reports.form table.kessan td:nth-child(2),
#reports.form table.kessan th:nth-child(10),
#reports.form table.kessan td:nth-child(10) {
  width: 5%;
}

#reports.form table.kessan th:nth-child(3),
#reports.form table.kessan td:nth-child(3) {
  width: 15%;
}

#reports.form table.kessan th:nth-child(4),
#reports.form table.kessan td:nth-child(4),
#reports.form table.kessan th:nth-child(5),
#reports.form table.kessan td:nth-child(5),
#reports.form table.kessan th:nth-child(7),
#reports.form table.kessan td:nth-child(7),
#reports.form table.kessan th:nth-child(8),
#reports.form table.kessan td:nth-child(8) {
  width: 8%;
}

#reports.form table.kessan th:nth-child(9),
#reports.form table.kessan td:nth-child(9) {
  width: 7%;
}

#reports.form table.kessan th:nth-child(12),
#reports.form table.kessan td:nth-child(12) {
  width: 5%;
}

#reports.form table.kessan th:nth-child(13),
#reports.form table.kessan td:nth-child(13) {
  width: 5%;
}

#reports.form table.kariire {
  table-layout: auto;
}
#reports.form table.kariire th,
#reports.form table.kariire td {
  height:auto;
  padding: 4px 8px;
}

#reports.form .daihyou {
  margin-bottom: 0;
}

#reports.form .daihyou th {
  width:200px;
}

#reports.form .detail th {
  width:200px;
}


#reports.form table.kankei {
  table-layout: auto;
}

#reports.form table.kankei th,
#reports.form table.kankei td {
  height: 2em;
}

#reports.form table.kankei th:nth-child(1),
#reports.form table.kankei td:nth-child(1),
#reports.form table.kankei th:nth-child(3),
#reports.form table.kankei td:nth-child(3) {
   width: 15%;
}

#reports.form table.kankei th:nth-child(2),
#reports.form table.kankei td:nth-child(2),
#reports.form table.kankei th:nth-child(4),
#reports.form table.kankei td:nth-child(4) {
  width: 30%;
}
/*
#reports.form table.kessan th:nth-child(1),
#reports.form table.kessan td:nth-child(1),
#reports.form table.kessan th:nth-child(6),
#reports.form table.kessan td:nth-child(6) {
  width: 35%;
}

#reports.form table.kessan th:nth-child(3),
#reports.form table.kessan td:nth-child(3){
  width: 50%;
}

#reports.form table.kessan th:nth-child(11),
#reports.form table.kessan td:nth-child(11) {
  width: 15%;
}

#reports.form table.kessan th:nth-child(12),
#reports.form table.kessan td:nth-child(12) {
  width: 13%;
}
*/

/*
#reports.form table.kessan th:nth-child(2),
#reports.form table.kessan td:nth-child(2) {
  width: 10%;
}
#reports.form table.kessan th:nth-child(3),
#reports.form table.kessan td:nth-child(3) {
  width: 37%;
}
#reports.form table.kessan th:nth-child(4),
#reports.form table.kessan td:nth-child(4) {
  width: 25%;
}
#reports.form table.kessan th:nth-child(5),
#reports.form table.kessan td:nth-child(5) {
  width: 25%;
}
#reports.form table.kessan th:nth-child(6),
#reports.form table.kessan td:nth-child(6) {
  width: 25%;
}
#reports.form table.kessan th:nth-child(7),
#reports.form table.kessan td:nth-child(7) {
  width: 25%;
}
#reports.form table.kessan th:nth-child(8),
#reports.form table.kessan td:nth-child(8) {
  width: 25%;
}
#reports.form table.kessan th:nth-child(9),
#reports.form table.kessan td:nth-child(9) {
  width: 15%;
}
#reports.form table.kessan th:nth-child(10),
#reports.form table.kessan td:nth-child(10) {
  width: 15%;
}
#reports.form table.kessan th:nth-child(11),
#reports.form table.kessan td:nth-child(11) {
  width: 25%;
}
*/
#reports.form table.chosa_rireki input:read-only,
#reports.form table.sokucho_rireki input:read-only,
#reports.form table.sanko_rireki input:read-only {
  background: #cbcbcb;
}


#reports.form table.chosa_rireki {
  table-layout: auto;
}

#reports.form table.chosa_rireki th,
#reports.form table.chosa_rireki td {
  width: 10%;
}

#reports.form table.chosa_rireki th:nth-child(1),
#reports.form table.chosa_rireki td:nth-child(1) {
  width: 28%;
}
#reports.form table.chosa_rireki th:nth-child(2),
#reports.form table.chosa_rireki td:nth-child(2),
#reports.form table.chosa_rireki th:nth-child(3),
#reports.form table.chosa_rireki td:nth-child(3) {
  width: 15%;
}
#reports.form table.chosa_rireki th:nth-child(5),
#reports.form table.chosa_rireki td:nth-child(5) {
  width: 20%;
}
#reports.form table.chosa_rireki th:nth-child(4),
#reports.form table.chosa_rireki td:nth-child(4),
#reports.form table.chosa_rireki th:nth-child(6),
#reports.form table.chosa_rireki td:nth-child(6),
#reports.form table.chosa_rireki th:nth-child(7),
#reports.form table.chosa_rireki td:nth-child(7) {
  width: 8%;
}

#reports.form table.sokucho_rireki {
  table-layout: auto;
}

#reports.form table.sokucho_rireki th:nth-child(1),
#reports.form table.sokucho_rireki td:nth-child(1) {
  width: 20%;
}
#reports.form table.sokucho_rireki th:nth-child(2),
#reports.form table.sokucho_rireki td:nth-child(2) {
  width: 20%;
}
#reports.form table.sokucho_rireki th:nth-child(3),
#reports.form table.sokucho_rireki td:nth-child(3) {
  width: 50%;
}
#reports.form table.sokucho_rireki th:nth-child(4),
#reports.form table.sokucho_rireki td:nth-child(4),
#reports.form table.sokucho_rireki th:nth-child(5),
#reports.form table.sokucho_rireki td:nth-child(5) {
  width: 5%;
}

#reports.form table.sanko_rireki {
  table-layout: auto;
}

#reports.form table.sanko_rireki th:nth-child(1),
#reports.form table.sanko_rireki td:nth-child(1) {
  width: 20%;
}
#reports.form table.sanko_rireki th:nth-child(2),
#reports.form table.sanko_rireki td:nth-child(2) {
  width: 70%;
}
#reports.form table.sanko_rireki th:nth-child(3),
#reports.form table.sanko_rireki td:nth-child(3),
#reports.form table.sanko_rireki th:nth-child(4),
#reports.form table.sanko_rireki td:nth-child(4) {
  width: 5%;
}

#reports.form table.payment th {
  width: 15%;
}

#reports.form table.payment td {
  width: 35%;
}

#reports.form table.sales th {
  width: 15%;
}

#reports.form table.sales td {
  width: calc(85% / 2);
}

#reports.form table.affiliate {
  table-layout: auto;
}

#reports.form table.affiliate th:nth-child(1),
#reports.form table.affiliate td:nth-child(1) {
  width: 8%;
}

#reports.form table.affiliate th:nth-child(2),
#reports.form table.affiliate td:nth-child(2) {
  width: 10%;
}

#reports.form table.affiliate th:nth-child(3),
#reports.form table.affiliate td:nth-child(3) {
  width: 56%;
}

#reports.form table.affiliate th:nth-child(4),
#reports.form table.affiliate td:nth-child(4) {
  width: 20%;
}

#reports.form table.affiliate th:nth-child(5),
#reports.form table.affiliate td:nth-child(5) {
  width: 6%;
}


#reports.form table.kashi_taore {
  table-layout: auto;
}

#reports.form table.kashi_taore th:nth-child(1),
#reports.form table.kashi_taore td:nth-child(1) {
    width: 19%;
}
#reports.form table.kashi_taore th:nth-child(2),
#reports.form table.kashi_taore td:nth-child(2) {
    width: 30%;
}
#reports.form table.kashi_taore th:nth-child(3),
#reports.form table.kashi_taore td:nth-child(3) {
    width: 16%;
}
#reports.form table.kashi_taore th:nth-child(4),
#reports.form table.kashi_taore td:nth-child(4) {
    width: 15%;
}
#reports.form table.kashi_taore th:nth-child(5),
#reports.form table.kashi_taore td:nth-child(5),
#reports.form table.kashi_taore th:nth-child(6),
#reports.form table.kashi_taore td:nth-child(6),
#reports.form table.kashi_taore th:nth-child(7),
#reports.form table.kashi_taore td:nth-child(7) {
    width: 5%;
}
#reports.form table.kashi_taore th:nth-child(8),
#reports.form table.kashi_taore td:nth-child(8) {
    width: 5%;
}

#reports.form table.kaisya_kosei {
  table-layout: auto;
}

#reports.form table.kaisya_kosei th {
  width: 10%;
}

#reports.form table.kaisya_kosei td {
  width: 40%;
}

#reports.form table.shihonkin_hensen {
  table-layout: auto;
}

#reports.form table.shihonkin_hensen th:nth-child(1),
#reports.form table.shihonkin_hensen td:nth-child(1) {
  width: 30%;
}

#reports.form table.shihonkin_hensen th:nth-child(2),
#reports.form table.shihonkin_hensen td:nth-child(2) {
  width: 60%;
}

#reports.form table.shihonkin_hensen th:nth-child(3),
#reports.form table.shihonkin_hensen td:nth-child(3) {
  width: 10%;
}

#reports.form .mr10 {
  margin-right: 10px;
}

#reports.form input[type="submit"] {
  width: 200px;
  text-align: center;
  padding: 10px 18px;
  color: #fff;
  border: none;
  font-size: 95%;
  cursor: pointer;
  margin: 3em auto 80px;
  background-color: #c3141c;
  border-radius: 5px 5px;
  display: block;
  text-decoration: none;
}

#reports.form .is_confirm #submit_btns input[type="submit"] {
  background-color: #c3141c;
}

#reports #smart_submit {
  font-size: 100%;
  display: inline-block;
  border: 2px solid #FFF;
  padding: 2px 12px;
  color: #FFF;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  background-color: #c3141c;
  margin-top: 10px;
}


#reports.form .history input[type="submit"] {
  width: auto;
  text-align: center;
  padding: 3px 3px;
  /*color: #fff;*/
  /*border: none;*/
  margin: 0 0 0 10px;
  /*background-color: #c3141c;*/
  /*border-radius: 5px 5px;*/
  display: inline-block;
  text-decoration: none;
}

#reports.form .print_sheet,
#reports.form .print_report,
#reports.form .confirm {
  display: inline-block;
  margin-bottom: 20px;
}

#reports.form .print_sheet{
  width:auto;
}

#reports.form .print_report {
  width:40%;
}

#reports.form .confirm {
  width:20%;
  text-align: right;
}

#reports.form .print_sheet input[type="submit"],
#reports.form .print_report input[type="submit"] ,
#reports.form .confirm input[type="button"] {
  width: auto;
  text-align: center;
  padding: 5px 10px;
  font-size: 90%;
  color: #fff;
  border: none;
  margin: 0 0 0 10px;
  background-color: #c3141c;
  border-radius: 5px 5px;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
}

#reports.form .print_sheet input[type="submit"],
#reports.form .print_report input[type="submit"] {
  background-color: green;
}

#reports.form #ttl_area a {
  background-color: #fff;
  padding: 6px 12px;
  color: gray;
  border: solid 1px gray;
  text-decoration: none;
  margin: 10px 0;
  display: inline-block;
  border-radius: 5px;
}

#reports.form #ttl_area a.used {
  background-color: gray;
  padding: 6px 12px;
  color: #fff;
  text-decoration: none;
  margin: 10px 0;
  display: inline-block;
  border-radius: 5px;
}

#reports.form .confirm input[type="button"] {
  margin-top: 20px;
  background-color: blue;
}

#reports.form .bankruptcy {
  color: red;
  font-size: 120%;
}

#reports.form .bankruptcy th,
#reports.form .bankruptcy td {
  height: 2em;
}

#reports.form .confirm.last {
  width: 100%;
  text-align: center;
}

#reports.form .is_confirm input:read-only,
#reports.form .is_confirm textarea:read-only {
  background: #cbcbcb;
}

#reports.form .confirm a {
  width: auto;
  text-align: center;
  padding: 5px 10px;
  font-size: 90%;
  color: #fff;
  border: none;
  margin: 0 0 0 10px;
  border-radius: 5px 5px;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  background-color: blue;
}

#reports.index table {
  width: 100%;
  margin: 0 0 30px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 80%;
}

#reports.index table th {
  text-align: left;
}

#reports.index #add_search {
  text-align: center;
  margin: 0 0 30px;
}

#reports.index #submit_btns {
  text-align: center;
}

#reports.index #result {
  margin: 40px 0;
}

#reports.index #result .control {
  margin: 0 0 20px;
  padding: 6px 8px;
  border: solid 1px #ccc;
}

#reports.index #result .control div {
  width: 50%;
}

#reports.index #result .control div:last-child {
  text-align: right;
}

#reports.form table.enkaku {
  table-layout: auto;
}

#reports.form .enkaku th:nth-child(1),
#reports.form .enkaku td:nth-child(1) {
  width:20%;
}

#reports.form .enkaku th:nth-child(2),
#reports.form .enkaku td:nth-child(2) {
  width:68%;
}

#reports.form .enkaku th:nth-child(3),
#reports.form .enkaku td:nth-child(3) {
  width:6%;
}

#reports.form .enkaku th:nth-child(4),
#reports.form .enkaku td:nth-child(4) {
  width:6%;
}


#reports.form table.keireki {
  table-layout: auto;
}

#reports.form .keireki th:nth-child(1),
#reports.form .keireki td:nth-child(1) {
  width:20%;
}

#reports.form .keireki th:nth-child(2),
#reports.form .keireki td:nth-child(2) {
  width:60%;
}

#reports.form .keireki th:nth-child(3),
#reports.form .keireki td:nth-child(3) {
  width:10%;
}

#reports.form .keireki th:nth-child(4),
#reports.form .keireki td:nth-child(4) {
  width:10%;
}

#reports.form .loader_wrap {
  width: 100vw;
  height: 100vh;
  /*
  top: 50%;
  left: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  */
  background-color: rgba(0,0,0,0.3);
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  display: none;
}

#reports.form .loading {
  width: 1.2em;
  height: 1.2em;
  font-size: 16px;
  margin: 46vh auto;
  border-radius: 50%;
  position: relative;
  text-indent: -9999em;
  -webkit-animation: loading 1.1s infinite ease;
  animation: loading 1.1s infinite ease;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}

@-webkit-keyframes loading {
  0%,
  100% {
    box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
  }
  12.5% {
    box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  25% {
    box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  37.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  50% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  62.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
  }
  75% {
    box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
  }
  87.5% {
    box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
  }
}
@keyframes loading {
  0%,
  100% {
    box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
  }
  12.5% {
    box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  25% {
    box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  37.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  50% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  62.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
  }
  75% {
    box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
  }
  87.5% {
    box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
  }
}

#reports.form .mode_top_bottom {
  position: fixed;
  bottom:100px;
  right:50px;
  font-size:90%;
  text-align: right;
}

#reports.form .mode_top_bottom .confirm.last {
  width:auto;
}

#reports.form #nav.fixed {
  position: fixed;
  top:0;
  background: white;
  width:100%;
  padding:10px 0;
}

#reports #form_descripttion {
  display: flex;
  justify-content: space-between;
  border:1px solid #000;
  font-size: 80%;
  margin: 10px 0 30px;
}
#reports #form_descripttion div {
  width: 50%;
  padding: 1em;
}
#reports #form_descripttion span {
  padding-left: 1em;
  /*text-indent: 1em;*/
  display: inline-block;
}
.tosan {
  color:red;
}
