@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}

.clearfix {
  min-height: 1px;
}

* html .clearfix {
  height: 1px;
}

body {
  background: #fff;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  font-weight: 500;
}

#wrapper {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  min-height: 100vh;
}

header, footer, #contents {
  width: 100%;
  margin: 0 auto;
}

footer {
  margin-top: auto;
  margin-bottom: 1em;
}

footer small {
  padding-right: 1em;
  text-align: right;
  display: block;
}

.btnspinner {
  -ms-user-select: none;
  -moz-user-select: -moz-none;
  -webkit-user-select: none;
  user-select: none;
}

.spinner_area input {
  padding: 11px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 18px;
  width: auto;
  vertical-align: middle;
  /* デフォルトのスピナーを消す */
  -webkit-appearance: none;
  -moz-appearance: textfield;
}

.spinner_area input[type="button"] {
  cursor: pointer;
}

.red {
  color: red;
}

.blue {
  color: blue;
}

.inline {
  display: inline-block;
}

h1 {
  font-size: 1.5em;
  font-weight: bold;
  padding-top: 20px;
}

h2 {
  font-size: 1.2em;
  font-weight: bold;
}

table {
  border-collapse: collapse;
}

section {
  margin-bottom: 2em;
}

dl.side {
  width: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
}

dl.side dt {
  width: 10em;
  padding: 10px;
  background-color: white;
  border: none;
  border-bottom: 1px dashed #ccc;
}

dl.side dd {
  width: calc(100% - 10em);
  padding: 10px;
  border: none;
  border-bottom: 1px dashed #ccc;
}

dl.side.circle::before {
  color: #111987;
  font-size: 1.1em;
  font-weight: bold;
  content: '〇';
  margin-right: 10px;
}

input, select {
  padding: 5px;
  border: 1px solid #111987;
  border-radius: 5px;
}

input.long, select.long {
  width: 100%;
}

input.button, select.button {
  width: 5em;
  margin-right: 5px;
  background-color: white;
  -webkit-transition: .3s;
  transition: .3s;
}

input.button:hover, select.button:hover {
  color: white;
  background-color: #111987;
}

a.button {
  color: white;
  background-color: brown;
  text-align: center;
  text-decoration: none;
  line-height: 2em;
  border-radius: 5px;
  min-width: 8em;
  display: inline-block;
  -webkit-transition: .3s;
  transition: .3s;
}

a.tp1 {
  border: solid 1px orange;
  background-color: orange;
}

a.tp1:hover {
  color: orange;
  background-color: white;
}

a.tp2 {
  border: solid 1px green;
  background-color: green;
}

a.tp2:hover {
  color: green;
  background-color: white;
}

a.tp3 {
  border: solid 1px red;
  background-color: red;
}

a.tp3:hover {
  color: red;
  background-color: white;
}

a.tp4 {
  border: solid 1px skyblue;
  background-color: skyblue;
}

a.tp4:hover {
  color: skyblue;
  background-color: white;
}

a.tp4disable {
  color: skyblue;
  border: solid 1px skyblue;
  background-color: white;
}

a.tp5 {
  border: solid 2px black;
  background-color: green;
}

a.tp5:hover {
  color: green;
  background-color: white;
}

#text-clear-request {
  margin: 3px;
  padding: 2px 0;
  text-align: center;
  border: 1px solid black;
  border-radius: 5px;
}

.container {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
}

header, #contents {
  width: 1400px;
  margin: 1em auto;
}

nav .container {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -webkit-flex-direction: row-reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

nav .container div a {
  margin-right: 5px;
}

nav a {
  color: white;
  background-color: #111987;
  min-width: 10em;
  line-height: 2em;
  text-align: center;
  border: solid 1px #111987;
  border-radius: 5px;
  display: inline-block;
  text-decoration: none;
  -webkit-transition: .3s;
  transition: .3s;
}

nav a:hover {
  color: #111987;
  background-color: white;
}

nav a.orange {
  background-color: orange;
  border: solid 1px orange;
}

nav a.orange:hover {
  color: orange;
  background-color: white;
}

div#tablecontrol .container {
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

div#tablecontrol a.tp4, div#tablecontrol a.tp4disable {
  margin-right: 5px;
}

body#login {
  color: white;
  text-shadow: 1px 1px 0 #7C5B5B, -1px -1px 0 #7C5B5B, -1px 1px 0 #7C5B5B, 1px -1px 0 #7C5B5B, 0px 1px 0 #7C5B5B, -1px 0 #7C5B5B, -1px 0 0 #7C5B5B, 1px 0 0 #7C5B5B;
  background-image: url(../img/top_image.png);
  background-size: 700px;
  background-repeat: no-repeat;
  background-position: center 120px;
}

body#login form {
  width: 100%;
  height: 600px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

body#item #condition {
  margin-bottom: 3em;
}

body#item #condition select {
  width: 10em;
  height: 39px;
}

body#item #condition #searchtype, body#item #condition #searchtarget {
  margin-bottom: 10px;
  display: inline-block;
}

body#item #condition #searchtype label, body#item #condition #searchtarget label {
  width: 7em;
  text-align: center;
  padding: 5px 10px;
  border: 1px solid black;
  border-radius: 5px;
  display: inline-block;
}

body#item #condition #searchtype {
  margin-right: 3em;
}

body#item #condition #keyword {
  margin-bottom: 1em;
}

body#item #condition #keyword [type=text] {
  color: #111987;
  width: calc(100% - 15em - 15px);
  margin-right: 5px;
  background-color: white;
  line-height: 0.8em;
}

body#item #condition #keyword [type=submit] {
  width: 5em;
  margin-right: 0;
}

body#item form .container div {
  margin-right: 5px;
}

body#item form .container div:last-child {
  margin-right: 0;
}

body#item #basicinfo {
  font-weight: bold;
  margin-top: 1em;
  margin-bottom: 1em;
}

body#item div#iteminfo {
  max-width: 1115px;
  border: 1px solid lightslategray;
  border-bottom: none;
  margin-bottom: 1em;
}

body#item div#iteminfo div {
  border-bottom: 1px solid lightslategray;
}

body#item div#iteminfo div:nth-of-type(2n+1) {
  width: 8em;
  text-align: center;
  background-color: lightskyblue;
}

body#item div#iteminfo div:nth-of-type(2n+2) {
  width: calc(100% - 8em);
  padding-right: .5em;
  padding-left: .5em;
}

body#item #stockplace label {
  width: 7em;
  margin-right: 5px;
  margin-bottom: 5px;
  border: 1px solid black;
  text-align: center;
}

body#item input[type=radio] {
  display: none;
}

body#item input[type=radio]:checked + label {
  background: yellowgreen;
}

body#item #regist {
  margin-right: 1em;
}

body#item #regist th {
  width: 5em;
  vertical-align: top;
}

body#item #regist td {
  padding-bottom: 1em;
}

body#item #regist label {
  width: 5em;
  margin-bottom: 5px;
  text-align: center;
  border: 1px solid black;
  display: inline-block;
}

body#item #regist .counter1 {
  width: 6em;
}

body#item #execute {
  color: white;
  background-color: orangered;
  text-align: center;
  text-decoration: none;
  line-height: 40px;
  border-radius: 5px;
  min-width: 8em;
  display: inline-block;
  -webkit-transition: .3s;
  transition: .3s;
  border: solid 2px black;
}

body#item #execute:hover {
  color: black;
  background-color: white;
}

body#item #history {
  width: 600px;
}

body#item #history textarea {
  width: 100%;
  margin-bottom: 1em;
  border: 1px solid black;
}

body#item #history table {
  width: 100%;
}

body#item #history table th, body#item #history table td {
  border: 1px solid black;
}

body#item #history table th {
  background-color: lightgray;
}

body#item #history table td {
  text-align: center;
}

body#item #result div {
  text-align: right;
  margin-bottom: 5px;
}

body#item #result table {
  width: 100%;
}

body#item #result table tr:nth-child(2n+1) {
  background-color: #ececec;
}

body#item #result table th, body#item #result table td {
  padding: 3px;
}

body#item #result table th {
  background-color: lightgray;
  text-align: center;
}

body#item #result table th:first-child {
  width: 150px;
}

body#item #result table td:first-child {
  text-align: center;
}

body#item #result table td:nth-child(2) {
  padding-right: .5em;
  padding-left: .5em;
}

body#item #result table td:nth-of-type(n+2) {
  border-left: solid 1px lightgray;
}

body#entry dl {
  margin-bottom: 1em;
}

body#entry dl dd {
  margin-bottom: 2em;
}

body#entry dl dd input {
  width: 100%;
}

body#table table {
  width: 100%;
}

body#table table th {
  background-color: lightgray;
  vertical-align: middle;
}

body#table table th, body#table table td {
  border: 1px solid black;
  text-align: center;
}

body#table #stock th:first-of-type, body#table #stock td:first-of-type {
  display: none;
}

body#table #stock th:nth-of-type(2), body#table #stock td:nth-of-type(2) {
  width: 100px;
}

body#table #stock th:nth-of-type(n+4), body#table #stock td:nth-of-type(n+4) {
  width: 4em;
}

body#table #stock th:nth-of-type(7), body#table #stock td:nth-of-type(7) {
  display: none;
}

body#table #stock th:nth-of-type(8), body#table #stock td:nth-of-type(8) {
  display: none;
}

body#table #stock th:nth-of-type(9), body#table #stock td:nth-of-type(9) {
  display: none;
}

body#table #stock th:nth-of-type(10), body#table #stock td:nth-of-type(10) {
  display: none;
}

body#table #stock th:nth-of-type(11), body#table #stock td:nth-of-type(11) {
  display: none;
}

body#table #stock th:nth-of-type(12), body#table #stock td:nth-of-type(12) {
  display: none;
}

body#table #stock th:nth-of-type(18), body#table #stock td:nth-of-type(18) {
  display: none;
}

body#table #stock th:nth-of-type(19), body#table #stock td:nth-of-type(19) {
  display: none;
}

body#table #stock th:nth-of-type(20), body#table #stock td:nth-of-type(20) {
  display: none;
}

body#table #stock th:nth-of-type(21), body#table #stock td:nth-of-type(21) {
  display: none;
}

body#table #stock th:nth-of-type(22), body#table #stock td:nth-of-type(22) {
  display: none;
}

body#table #stock th:nth-of-type(23), body#table #stock td:nth-of-type(23) {
  display: none;
}

body#table #stock th:last-of-type, body#table #stock td:last-of-type {
  width: 10em;
}

body#table #stock td:nth-of-type(3) {
  text-align: left;
  padding-left: 5px;
}

body#selectfile #contents .container {
  margin-top: 1em;
  margin-left: 20em;
}

@media screen and (max-width: 1400px) {
  header, #contents {
    width: calc(100% - 10px);
  }
}

@media screen and (max-width: 768px) {
  body#item #condition #keyword [type=text] {
    width: calc(100% - 5em - 15px);
  }
}

@media screen and (max-width: 420px) {
  .sp {
    display: none;
  }
  body#item #condition {
    margin-bottom: 1em;
  }
  body#item #condition #searchtype {
    margin-right: 1em;
  }
  body#item #condition #searchtype label {
    width: 3em;
    padding: 5px;
  }
  body#item #condition #keyword {
    margin-bottom: 0;
  }
  body#item #basicinfo {
    margin-top: 0;
  }
  body#item #stockplace label {
    width: calc((100% - 6px) / 3);
    margin-right: 3px;
  }
  body#item #stockplace label:nth-of-type(3n+3) {
    margin-right: 0;
  }
}
