@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Jost:wght@500;600&family=Noto+Sans+JP:wght@400;700&display=swap');


html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, main {
display: block;
}
body {
line-height: 1;
}
ul {
list-style: none;
padding: 0;
margin: 0;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
table, caption, tr, th, td,tbody, tfoot, thead {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
}
img {
  vertical-align: top;
}


body {
  font-family: 'Noto Sans JP',"Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
  /*font-size: 14px;*/
  color: #444;
}
img{
  vertical-align:top;
}
::placeholder {
  color: #CCC;
}
/* 旧Edge対応 */
::-ms-input-placeholder {
  color: #CCC;
}
/* IE対応 */
:-ms-input-placeholder {
  color: #CCC;
}
p {
  line-height: 1.5em;
}

input,
button,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 0;
  font: inherit;
  outline: none;
  font-size: 16px;
  line-height: 1.5em;
}
textarea {
  resize: vertical;
}
select {
  display: inline-block;
  padding: 5px;
}
label {
/* padding: 0 10px 0 10px;*/
}
input[type='radio'] {
  -webkit-appearance: button;
  -moz-appearance: button;
  appearance:　button;  
  transform:scale(1.5) !important;
}
input[type='checkbox'] {
  -webkit-appearance: checkbox;
  -moz-appearance: checkbox;
  appearance:　checkbox;  
  margin-right: 10px;
  transform:scale(1.5) !important;
}
input[type='checkbox'],
input[type='radio'],
input[type='submit'],
input[type='button'],
label,
button,
select {
  cursor: pointer;
}
input[type='submit'],
input[type='reset'],
input[type='button'],
button {
  padding: 0 16px;
  height: 36px;
  line-height: 36px;
  margin-left: 5px;
  color: #FFF;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
  min-width: 80px;
}
input[type='submit']:hover,
input[type='reset']:hover,
input[type='button']:hover,
button:hover {
  opacity: 0.8;
}
input[type="text"] {
  background-color: #FFF;
  border-radius: 0px 3px 3px 0px;
  padding: 4px 5px;
  box-shadow: 5px 5px 22px -12px rgba(87,87,87,0.4) inset, 0px 0px 0px 1px rgba(10,10,10,0.02);
}
.btn-colorGray {
  background: #666;
}
.btn-colorBlue {
  background: #0079dd;
}
#wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  background: url(../images/login-bg.svg) no-repeat 50% 50%;
  background-size: cover;
}
#wrap.top {
  align-items: center;  
}
#wrap.main {
  align-items: flex-start;  
}
#maincontent {
  margin: 20px;
  width: 100%;
  box-sizing: border-box;
}
header {
  width: 100%;
  display:flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 5px;
  background: rgba(255,255,255,1);
  box-sizing: border-box;
  padding: 0 20px;
  height: 60px;
}
header h1 {
  font-size: 28px;
  color: #555;
  font-weight: 500;
  letter-spacing: 0.05em;
}
header p.login-username {
  font-size: 12px;
  text-align: right;
}
article {
  margin: 20px 0 0;
  width: 100%;
  box-sizing: border-box;
  border-radius: 5px;
  background: rgba(255,255,255,1);
  box-sizing: border-box;
  padding: 20px;
}
.table {
	margin: 0 0 20px;
}
.table table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
	table-layout: fixed;
}
.table table th {
	padding: 0.2em;
	border: 1px solid #c9c9c9;
	vertical-align: top;
	word-wrap: break-word !important;
	word-break: break-all;
	font-size: 12px;
}
.table table td {
	border: 1px solid #c9c9c9;
	vertical-align: top;
	word-wrap: break-word !important;
	word-break: break-all;
	/*font-size: 13px;*/
	text-align: center;
	vertical-align: middle;
}
.table table th {
	background: #f0f0f0;
	white-space: nowrap;
	vertical-align: middle;
}
.table table p {
	margin: 0 0 0px !important;
}
.table table th {
	text-align: center !important;
}
.table table .txtcenter {
	text-align: center !important;
}
.table table td table td {
	border: none;
	border-right: 1px solid #c9c9c9;
	border-bottom: 1px solid #c9c9c9;
	vertical-align: top;
	word-wrap: break-word !important;
	word-break: break-all;
	background: #dbfaff;
	vertical-align: middle;  
	padding: 0.3em 0.2em;
}
.table table td table td table td {
	background: #fff3cb;  
}
.table table td table td:last-child {
  border-right:none;
}
.table table td table tr:last-child td {
  border-bottom:none;
}
.table table td table tr:last-child td table td {
  border-right: 1px solid #c9c9c9 !important;
  border-bottom: 1px solid #c9c9c9 !important;
}
.table table td table tr:last-child td table td:last-child{ 
  border-right: none !important;  
}
.table table td table tr:last-child td table tr:last-child td {
  border-bottom:none !important;  
}
.cl-y {
  background: #ddff00 !important;
}
.cl-red {
  color: #ff003d !important;
}


/*-----------login------------*/
#login {
  margin: auto auto;
  width: 320px;
}
#login ul {
  
}
#login ul li {
  display: flex;
  justify-content: flex-start;
}
#login form {
  margin: auto;
  padding: 22px 22px 22px 22px;
  width: 100%;
  border-radius: 5px;
  background: rgba(255,255,255,0.8);
  border-top: 3px solid #ddd;
  border-bottom: 3px solid #ddd;
}

#login form span {
  border-radius: 3px 0px 0px 3px;
  color: #606468;
/*  display: block;*/
  float: left;
  line-height: 50px;
  text-align: center;
  width: 50px;
  height: 50px;

}
#login form span.user {
  background: url(../images/icon-user.svg) no-repeat 50% 50% #7f99a5;
  background-size: 18px auto;  
}
#login form span.pass {
  background: url(../images/icon-pass.svg) no-repeat 50% 50% #7f99a5;
  background-size: 18px auto;  
}

#login form input[type="text"] {
  background-color: #FFF;
  border-radius: 0px 3px 3px 0px;
  margin-bottom: 1em;
  padding: 0 16px;
  width: calc(100% - 50px);
  height: 50px;
  box-shadow: 5px 5px 22px -12px rgba(87,87,87,0.4) inset, 0px 0px 0px 1px rgba(10,10,10,0.02);
}

#login form input[type="password"] {
  background-color: #FFF;
  border-radius: 0px 3px 3px 0px;
  color: #444;;
  margin-bottom: 1em;
  padding: 0 16px;
  width: calc(100% - 50px);
  height: 50px;
box-shadow: 5px 5px 22px -12px rgba(87,87,87,0.4) inset, 0px 0px 0px 1px rgba(10,10,10,0.02);
}

#login form input[type="submit"] {
  background: #0079dd;
  border: 0;
  width: 100%;
  height: 40px;
  border-radius: 3px;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
}
#login form input[type="submit"]:hover {
  background: #0098ff;
}

/*-----------main------------*/

.head {
  border-radius: 3px;
  border:solid 1px #99c9f1;
  background: #cce4f8;
  padding: 15px;
}
.submitBtn ul {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;  
  align-items: center;
}
.submitBtn ul li {
  margin-left: 10px;
}

#inventory-search {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

#inventory-search div.submitBtn {
  width: 190px;
}
#inventory-search div.submitBtn ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
}
#inventory-search div.submitBtn ul li {
  margin-left: 0;
}
#inventory-search div.searchbox {
  width: calc(100% - 200px);
}
#inventory-search div.searchbox ul {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}
#inventory-search div.searchbox ul.select1 li{
  margin: 4px 15px 4px 0;
  align-content: flex-start;
}
#inventory-search div.searchbox ul.select2 li{
  margin: 4px 0;
  display: flex;
  align-items: flex-start;
}
#inventory-search div.searchbox ul.select2 li select {
  min-width: 150px;
  min-height: 100px;
  margin: 0 10px;
}
#inventory-search div.searchbox ul li span {
  /*font-size: 12px;*/
  display: block;
  padding: 5px 0 0 86px;
}
#inventory-search div.searchbox ul.select3 li {
	margin-right:15px;
}
#inventory-search div.searchbox ul li input[type="text"] {
  min-width: 230px;
}
/*
#inventory-search div.searchbox ul li:first-child, 
#inventory-search div.searchbox ul li:nth-child(2),
#inventory-search div.searchbox ul li:nth-child(3){
  max-width:200px;
}

#inventory-search div.searchbox ul li:nth-child(4)
{
  width: 50%;
}
#inventory-search div.searchbox ul li:nth-child(5){
  width: 100%;
}
#inventory-search div.searchbox ul li.select4 {
  display: flex;
  align-items: center;
}
#inventory-search div.searchbox ul li.select4 select {
  margin-right: 10px;
}
*/

dl.itemID {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 20px;
  margin-bottom: 20px;
}
dl.itemID dt {
  background: #f9f9f9;
  padding: 0.6em 1.6em;
  border:solid 1px #CCC;
}
dl.itemID dd {
  background: #f9f9f9;
  padding: 0.6em 1.6em;
  border-top:solid 1px #CCC;
  border-bottom:solid 1px #CCC;
  border-right:solid 1px #CCC;
}


.mb5 {margin-bottom: 5px !important;}
.mb10 {margin-bottom: 10px !important;}
.mb15 {margin-bottom: 15px !important;}
.mb20 {margin-bottom: 20px !important;}
.mb25 {margin-bottom: 25px !important;}
.mb30 {margin-bottom: 30px !important;}
.mb35 {margin-bottom: 35px !important;}
.mb40 {margin-bottom: 40px !important;}
.mb45 {margin-bottom: 45px !important;}
.mb50 {margin-bottom: 50px !important;}
.mt5 {margin-top: 5px !important;}
.mt10 {margin-top: 10px !important;}
.mt15 {margin-top: 15px !important;}
.mt20 {margin-top: 20px !important;}
.mt25 {margin-top: 25px !important;}
.mt30 {margin-top: 30px !important;}
.mt35 {margin-top: 35px !important;}
.mt40 {margin-top: 40px !important;}
.mt45 {margin-top: 45px !important;}
.mt50 {margin-top: 50px !important;}

.align_center {margin: 0 auto !important;text-align:center !important;}
.align_left {text-align: left !important;padding-left:10px;}
.align_right {text-align: right !important:padding-right:5px;}

#item-code-th{
	width: 220px;
}
#manage-code-th{
	width: 220px;
}
#item-name-th{
	
}
#competitors-th{
	width: 60px;
}
#salesclosed-th{
	width: 60px;
}
#stock-all-th{
	width: 220px;
}

@media screen and (max-width:840px) {
  #login {
	width: 60%;
  }
  #item-name-th{
  	width: auto;
  }

}
@media screen and (max-width:680px) {
  #inventory-search form {
	flex-direction: column;
	align-items: flex-start;
  }
  #inventory-search div.submitBtn,
  #inventory-search div.searchbox {
	width: 100%;
  }
  #inventory-search div.submitBtn {
	margin-top: 15px;
  }
  #inventory-search div.submitBtn ul li {
	width: 48%;
  }
  #inventory-search div.submitBtn ul li {
	width: 48%;
  }
  #inventory-search div.submitBtn ul li input[type='submit'],
  #inventory-search div.submitBtn ul li input[type='reset'],
  #inventory-search div.submitBtn ul liinput[type='button'],
  #inventory-search div.submitBtn ul li button {
	width: 100%;
  }
  #inventory-search div.searchbox ul {
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	flex-direction: column;
  }
  #inventory-search div.searchbox ul.select1 li {
	  width: 100%;
  }
  #inventory-search div.searchbox ul.select1 li label,
  #inventory-search div.searchbox ul.select2 li label {
	width: 60px;
  }
  #inventory-search div.searchbox ul li input[type="text"] {
	width: calc(100% - 80px);
  }
  #inventory-search div.searchbox ul.select2 li{
	margin: 4px 0;
	display: flex;
	align-items: flex-start;
	flex-direction: column;
  } 
  #inventory-search div.searchbox ul.select2 li select {
	width: 100%;
	margin: 0 0 5px;
  }
  header h1 {
	font-size: 22px;
  }
  .login-username {
	width: 40%;
  }
  dl.itemID {
	font-size: 15px;
  }
  dl.itemID dt {
	padding: 0.6em 1em;
  }
  dl.itemID dd {
	padding: 0.6em 1em;
  }
  .table table th {
	  white-space: normal;
  }
}


@media screen and (max-width:480px) {
  #login {
	width: 80%;
  }
}


.login-form-group{
  text-align: center;
  margin:20px 0 0 0 ;
}

.help-block{
  width: 100%!important;
  font-weight:bold;
  color:#c60d0d!important;
}
h1 img{
  vertical-align:top;
}
.searchbox label{
  margin:5px;
}
.absent{
	color:red;
	cursor:pointer;
}
.sortth{
	width: 55px;
}
.sortno{
	width: 50px;
	border: 1px solid #ccc;
	box-shadow: none !important;
	background-color: #eee !important;
	margin: 2px;
	text-align:right;
}
.sorton_title{
	font-size: 20px;
	color: #555;
	font-weight: 500;
	letter-spacing: 0.05em;  
}
i{
	padding:0 5px;
}
.stock_info{
	color:red;
	font-weight:bold;
	font-size:1.2em
}