@charset "UTF-8";

html {
	overflow-y: scroll;
	overflow-x: auto;
}

* {
	font-family: "メイリオ", sans-serif !important;
	font-weight: 300;
}

body {
	margin: 0;
	position: relative;
}

form {
	margin: 0;
}

input, select, textarea {
	font-size: 12px;
	padding: 5px;
	border: solid 1px #ccc;
	border-radius: 3px;
}

input.ymd {
	width: 5rem;
}

input.min {
	width: 55px;
}

select.nomal {
	width: 100px;
}

select.large {
	width: 200px;
}

.button {
	border: 1px solid #ccc;
	text-align: center;
	padding: 5px;
	border-radius: 3px;
	background-color: #eef7fe;
	user-select: none;
	width: 100px;
	margin: 5px;
}

.button:hover {
	opacity: 0.8;
	cursor: pointer;
}



/* loading animation */
.modal {
	position:   fixed;
	z-index:	1000;
	top:		0;
	left:	   0;
	height:	 100%;
	width:	  100%;
	background: rgba( 255, 255, 255, .8 ) 
				url('../img/loading.gif') 
				center center
				no-repeat;
}

.dialog {
	display: none;
	z-index: 2000;
}

/* ログイン */
#loginWrap {
	width: 400px;
	margin: 10vh auto;
	background-color: #bce0fd;
	padding: 5px 20px;
	display: flex;
	flex-flow: column nowrap;
	justify-content: center;
	align-items: center
}

#loginWrap > span {
	width: 70%;
	padding: 5px;
	text-align: right;
}

#loginTitle {
	width: 100%;
	margin: 5px;
	padding: 5px;
	background-color: #fff;
	font-size: larger;
	text-align: center;
}

#loginButton {
	margin: 5px;
	padding: 5px;
	width: 100px;
	border-radius: 3px;
	vertical-align: middle;
	text-align: center;
	font-size: 15px;
	background-color: #549ad4;
	color: white;
}


#main {
	position: relative;
	top: 5px;
	margin-left: 230px;
	font-size: 14px;
}

/*
#headerMenu {
	position: fixed;
	top: 0;
	left: 0;
	height: 40px;
	width: 100%;
	display: flex;
	justify-content: end;
	padding: 5px 20px;
	box-sizing: border-box;
	background-color: #fff;
	font-size: 16px;
}
*/

#setting {
	display: none;
	position: fixed;
	top: 40px;
	right: 0;
	background-color: #bce0fd;
	text-align: left;
	width: 200px;
}

#sideMenuWrap {
	position: fixed;
	top: 0;
	left: 0px;
	width: auto;
	background-color: #bce0fd;
	height: 100vh;
	padding: 5px;
	word-wrap: none;
	white-space: nowrap;
}

#sideMenu {
	width: 200px;
}

#sideMenu .category {
	padding-left: 1.5em;
	position: relative;
	color: #4b4b4b;
	font-weight: bold;
}

#sideMenu .category:hover {
	text-decoration: underline;
	cursor: pointer;
}

#sideMenu .category.home::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	background: url("../img/home.svg") no-repeat center center;
	background-size: 1.2em;
	width: 1.5em;
	height: 1.5em;
}

#sideMenu .category.shinchoku::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	background: url("../img/shinchoku.svg") no-repeat center center;
	background-size: 1em;
	width: 1.5em;
	height: 1.5em;
}

#sideMenu .category.order::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	background: url("../img/order.svg") no-repeat center center;
	background-size: 1em;
	width: 1.5em;
	height: 1.5em;
}

#sideMenu .category.setting::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	background: url("../img/setting.svg") no-repeat center center;
	background-size: 1em;
	width: 1.5em;
	height: 1.5em;
}

#sideMenu .category.user_setting::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	background: url("../img/user_icon.svg") no-repeat center center;
	background-size: 1em;
	width: 1.5em;
	height: 1.5em;
}

#sideMenu ul {
	list-style-type: none;
	padding: 5px 0;
	margin: 0;
}


#sideMenu ul li {
	list-style-type: none;
	margin: 3px 5px 3px 1.5em;
	background-color: #eef7fe;
	padding: 5px;
}

#sideMenu ul li:hover {
	opacity: 0.8;
	cursor: pointer;
}

#menuToggle {
	width: 1.5em;
	height: 40px;
	background: url("../img/menu.svg") no-repeat center center;
	background-size: 1.3em;
	cursor: pointer;
}


#mishukkaMsg {
	display: none;
	color: #ff0000;
	font-size: larger;
	width: 90%;
	padding: 1em;
	border: 1px solid #ccc;
	border-radius: 2px;
	margin: 5px 0;
	font-weight: bold;
}

#mishukkaMsg a,
#mishukkaMsg a:visited  {
	font-weight: bold;
	color: #ff0000;
}

table {
	border-collapse: separate;
	border-spacing: 0;
	border: solid 1px #d4d4d4;
	border-right: none;
	border-top: 0px;
	margin-bottom: 10vh;
}

table tr.title th {
	text-align: center;
	color: #000;
	background-color: #d4d4d4;
}

table tr.title th:not(:last-child) {
	border-right: 1px solid #fff;
}

table tr.title:nth-child(1) th {
	position: sticky;
	position: -webkit-sticky;
	/*top: 40px;*/
	top: 0;
	left: 0;
	font-weight: normal;
}

table tr.shukei1 {
	background-color: #549ad4;
    color: #fff;
}

table tr.shukei2 {
	background-color: #eef7fe;
    color: #000;
}

td, th {
	white-space: nowrap;
	padding: 2px 7px;
	font-size: 14px;
	border-right: 1px solid #d4d4d4;
	border-bottom: 1px solid #d4d4d4;
}

td > .button {
	padding: 2px;
	width: 50px;
	margin: 0;
}

td.mark {
	text-align: center;
	min-width: 50px;
}

td.number {
	text-align: right;
}

.unselectable {
	user-select: none;
}


#userName {
	padding-left: 1.5em;
	position: relative;
	margin-bottom: 5px;
}

#userName::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	background: url("../img/user_icon.svg") no-repeat center center;
	background-size: 1em;
	width: 1.5em;
	height: 1.5em;
}


.page_title {
	background-color: #549ad4;
	color: #fff;
	font-size: 18px;
	padding: 5px;
	font-weight: bold;
	box-sizing: border-box;
	height: 40px;
}

.search_cond_disp::before {
	content: "検索条件";
	margin-right: 1em;
	left: -5em;
	top: 0;
	position: absolute;
	font-weight: bold;
	line-height: 24px;
}

.search_cond_disp {
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-evenly;
	align-items: center;
	border-radius: 3px;
	background-color: #d4d4d4;
	width: 7em;
	margin-top: 5px;
	margin-left: 6em;
	position: relative;
	user-select: none;
	line-height: 20px;
}

.search_cond_disp > div {
	width: 50%;
	text-align: center;
	padding: 2px;
}

.search_cond_disp > div#scOn {
	border-radius: 3px 0 0 3px;
}

.search_cond_disp > div#scOff {
	border-radius:  0 3px 3px 0;
}

.search_cond_disp > div.checked {
	background-color: #549ad4;
	color: #fff;
}

.search_cond_disp > div:not(.checked) {
	opacity: 0.8;
	cursor: pointer;
}

.search_area {
	display: flex;
	margin: 0;
	flex-flow: row wrap;
}

.search_area .search_parts {
	min-width: 340px;
}

.search_area .search_parts dl {
	display: flex;
	flex-flow: row;
	justify-content: flex-start;
	align-items: center;
	margin: 5px;
}


.search_area .search_parts dt {
	text-align: right;
	width: 130px;
	padding-right: 5px;
}

.search_area .search_parts dd {
	margin: 0;
}

.button_area {
	display: flex;
	border-bottom: solid 1px #ccc;
	flex-flow: row nowrap;
	justify-content: flex-start;
	align-items: center;
	height: 50px;
	margin-bottom: 10px;
}

.button_area .button {
	margin: 0 10px;
}

#topButton {
	display: none;
	position: fixed;
	right: 20px;
	bottom: 20px;
	background: #e45c58 url("../img/top.svg") no-repeat center center;
	background-size: 20px;
	width: 40px;
	height: 40px;
	border-radius: 20px;
	opacity: 0.6;
}

#topButton:hover {
	opacity: 1;
	cursor: pointer;
}

.edit_area {
	width: 600px;
	font-size: 12px;
}

.edit_area dl {
	display: table;
	border-bottom: 1px solid #d1d1d1;
	width: 100%;
	margin: 0;
	padding-top: 5px;
	padding-bottom: 5px;
}

.edit_area dt {
	display: table-cell;
	width: 100px;
	font-weight: normal;
	vertical-align: middle;
}

.edit_area dd {
	display: table-cell;
	width: auto;
	height: 30px;
	vertical-align: middle;
}

.edit_area table {
	margin: 10px;
}


.barcode {
	border: 1px solid #ccc;
	padding: 5px;
	margin-top: 5px;
}

.barcode > dl {
	border-bottom: none;
}


#drop-zone {
	border: 3px dotted #ccc;
	margin: 10px 0;
	padding: 30px;
	display: flex;
	flex-flow: column nowrap;
	justify-content: space-between;
	height: 150px;
	width: 80%;
}

#drop-zone > .button {
	 width: 100px;
}

.attention {
	color: #ff0000;
	margin: 10px 0;
}
