@charset "UTF-8";
/*******************************************************************************
 msys CSS
						(C)2020-2021 nabe@abk
*******************************************************************************/
/*--------------------------------------------------------------------
●全体配置
--------------------------------------------------------------------*/
* {
	box-sizing:		border-box;
}
html {
	margin-top:		0;
	font-size:		12pt;
	line-height:		1.5;
	min-height:		100%;
}
body {
	color:			#000;
	background-color:	#fff;

	margin:			0;
	padding:		0;
	font-family:		"メイリオ", serif;
}
h1,h2,h3, span.tag {
	font-family:		"メイリオ", sans-serif;
}
#header {
	color:			#fff;
	background-color:	#77f;

	position:		relative;
	height:			39px;
	border-bottom:		1px solid #008;
}
div.main {
	margin:			1em;
	line-height:		1.5;
}

/*--------------------------------------------------------------------
●開発用デザイン
--------------------------------------------------------------------*/
body.develop {
}
body.develop h1 {
}
body.develop article {
}

/*--------------------------------------------------------------------
●タイトル, ログイン情報
--------------------------------------------------------------------*/
h1 {
	position:		absolute;
	bottom:			1px;
	left:			12px;

	padding:		0;
	margin:			0;
	line-height:		1;
	font-family:		"HGP創英角ｺﾞｼｯｸUB";
	text-shadow:		1px 1px 2px black;
}
h1 a,
h1 a:link,
h1 a:visited {
	color:			inherit;
	text-decoration:	none;
}

#login-info {
	position:		absolute;
	font-size:		9pt;
	right:			8px;
	bottom:			1px;

	color:			#fff;
	text-shadow:		1px 1px 1px #008;
}
#login-info a,
#login-info a:link,
#login-info a:visited {
	color:			inherit;
	font-weight:		bold;
}
/*--------------------------------------------------------------------
●本文
--------------------------------------------------------------------*/
article {
	margin:			0;
	border-radius:		10px;
}
article + article {
	margin-top:		2em;
}
article.log {
	margin-top:		4em;
}

article h2:before,
article h3:before {
	border:			6px solid #339;
	border-radius:		6px;
	content:		"";
	display:		inline-block;
	height:			0;
	margin-right:		2px;
	margin-left:		4px;
	margin-bottom:		1px;
	box-shadow:		1px 1px 2px rgba(0,0,100,0.5);
}
article h2, article h3 {
	color:			#339;
	font-size:		14pt;
	margin-top:		8px;
	margin-bottom:		0.5em;

	text-shadow:		1px 1px 2px rgba(0,0,100,0.5);
}
article h2:after {
	display:		block;
	content:		"";
	height:			3px;
	margin:			0 12px 0 4px;
	background-image:	linear-gradient(to right,
				#339,	/* $c=main */
				#fff);
}
article h3:before {
	margin-left:		0px;
}
article h3 {
	margin:			1em 0;
	font-size:		12pt;
}

article div.body {
	margin:			0.5em 1em;
}

ul.main-menu li {
	margin:			0.7em 0;
}

/*--------------------------------------------------------------------
●カメラ画面、タグ表示
--------------------------------------------------------------------*/
figure.camera-image {
}
figure.camera-image img {
	display:	block;
	float:		right;
	max-width:	min(100%, 480px);
	margin-bottom:	1em;
}
article {
	clear:		both;
}

span.tag {
	display:		inline-block;

	color:			#fff;
	background-color:	#333;
	border-radius:		8px;
	padding:		4px 6px;

	font-weight:		bold;
	line-height:		1;
	vertical-align:		middle;
}
span.tag.run {
	background-color:	#00c;
}
span.tag.progress {
	background-color:	#080;
}
span.tag.stop {
	background-color:	#900;
}

button.operation {
	border-color:		#cc9287;
	background-image:	linear-gradient(to bottom, #f1a8b7, #945);
}
button.operation:hover {
	background-color:	#fab;
}
button.operation:disabled {
	background-color:	#c9a;
}

strong.memory {
	color:			#00f;
}


/*--------------------------------------------------------------------
●debug
--------------------------------------------------------------------*/

#debug {
	font-size:		10pt;
}
#debug strong {
	color:			#000;
}

/*--------------------------------------------------------------------
●表示調整
--------------------------------------------------------------------*/
a:link, a:visited {
	color:			#00d;
}
.plus {
	color:			blue;
}
.minus {
	color:			red;
}
p {
	text-indent:		1em;
}
p.ni {
	text-indent:		0;
}
.small, td.date,
td.ip, td.host, td.kana, td.address {
	font-size:		90%;
}
.hide {
	display:		none;
}

/*--------------------------------------------------------------------
●フォームテーブル
--------------------------------------------------------------------*/
form {
	padding:		0px;
	margin:			0px;
}
form + form:not(.slim) {
	margin-top:		2em;
}
div.checkbox {
	margin:			1em 0 1em 1em;
}
table.form {
	min-width:		600px;
}
table {
	padding:		1px;
	margin:			1em;

	border-collapse:	collapse;
	empty-cells:		show;
	border:			1px solid #bbb;
	border-radius:		4px;
}
td, th {
	padding:		2px 4px;
	border:			1px solid #bbb;
}
th {
	padding:		4px 4px;
}
th.row {
	line-height:		1;
}
td.error input,
td.check.error input {
	background-color:	#fff1f1;
}
input[type="checkbox"], input[type="radio"] {
	vertical-align:		middle;
	position:		relative;
	top:			-1px;
}
th.check,  td.check,
th.button, td.button {
	text-align:		center;
}
th.nowrap, td.nowrap {
	white-space:		nowrap;
}

#body td.focus {
	background-color:	#9e9;
}

/*--------------------------------------------------------------------
●テーブルの色
--------------------------------------------------------------------*/
th {
	background-color:	#ccddff;
}
td {
	background-color:	#f2faff;
}
th.check,  td.check,
th.button, td.button {
	background-color:	#eaf1ff;
}

/*--------------------------------------------------------------------
●テーブル文字サイズ
--------------------------------------------------------------------*/
table {
	font-size:		11pt;
	line-height:		130%;
}
table.list {
	font-size:		11pt;
	line-height:		120%;
}
table.log, table.slim  {
	font-size:		10.5pt;
	line-height:		120%;
}
table.slim  {
 	margin-left:		0;
	margin-right:		0;
}
table.list td,
table.list th {
	padding:		2px 4px;
}
table.list button {
	padding:		2px 4px;
}
table.list tr:hover td {
	background-color:	#ffd;
}

/*--------------------------------------------------------------------
●フォーム
--------------------------------------------------------------------*/
div.search select,
div.search input[type="text"],
div.search input[type="search"] {
	margin:			0 1px;
}
div.search button {
	vertical-align:		middle;
	position:		relative;
	top:			-2px;
}

.iblock:not(.hide) {
	display:		inline-block;
	margin:			0 4px;
}
div.iblocks {
	margin:			0.5em 0;
}

textarea, select, input {
	font-size:		12pt;
}
input[readonly]:not([disabled]) {
	background-color:	#eee;
}
input:invalid:not([required]), 
input.error, select.error {
	background-color:	#fee;
}
input.edit {
	background-color:	#eef;
}
#body td.focus {
	background-color:	#9e9;
}

.num, input[type="number"] {
	text-align:		right;
}
input.nospin[type="number"] {
	-moz-appearance:	textfield;
}
input.nospin[type="number"]::-webkit-inner-spin-button,
input.nospin[type="number"]::-webkit-outer-spin-button {
	-webkit-appearance:	none;
}
input.no-ime,
input[type="number"],
input[type="tel"],
input[type="ip"],
input[type="email"],
input[type="password"],
input.date, input.num {
	ime-mode:		disabled;
}
input[type="date"] {
	-moz-appearance:	textfield;
}

input[type="checkbox"]:checked + span.hevy {
	font-weight:		bold;
	color:			#000;
	padding:		0 2px;
	border-bottom:		2px solid red;
}

/*--------------------------------------------------------------------
●レシートテーブル
--------------------------------------------------------------------*/
table.receipt-lines,
table.receipt-lines input {
	font-size:		10.5pt;
}
table.receipt-lines input.title,
table.receipt-lines input.small {
	font-size:		9pt;
}
input[type="text"].date {
	text-align:		center;
}
.ui-dialog select {
	font-size:		10.5pt;
	line-height:		100%;
}

/*--------------------------------------------------------------------
●テーブル位置揃え
--------------------------------------------------------------------*/
th.left, td.left,
th.l, td.l, .l {
	text-align:		left;
	margin-right:		auto;
}
th.center, td.center,
th.c, td.c, .c {
	text-align:		center;
	margin-left:		auto;
	margin-right:		auto;
}
th.right, td.right,
th.r, td.r, .r {
	text-align:		right;
	margin-left:		auto;
}

/*--------------------------------------------------------------------
●ポップアップヘルプ
--------------------------------------------------------------------*/
.help {
	color:		rgba(255,255,255,0);
	font-weight:	bold;
	cursor:		pointer;

	display:	inline-block;
	width:		16px;
	height:		16px;
	vertical-align:	middle;
	margin:		0 0 3px 1px;

	background-image:	url('help-icon.png');
}
#receipt-lines-body .help {
	margin:		0 0 0 1px;
}

div.popup {
	display:	none;
	position:	absolute;
	z-index:	1100;

	background-color:	#ffe;
	padding:		6px;
	font-size:		11pt;
	max-width:		300px;

	border:			2px solid #e88;
	border-radius:		10px;
	box-shadow:		6px 6px 4px 2px rgba(60,60,60,0.75);
}
div.popup-help:before {
	content:		"HELP";
	color:			#fff;
	background-color:	#c33;
	border-radius:		6px;

	font-weight:		bold;
	font-size:		8pt;
	padding:		4px;
	margin:			-2px 4px 0 0px;

	display:		inline-block;
	line-height:		100%;
	vertical-align:		middle;
}
/*--------------------------------------------------------------------
●フォームサイズ指定部品
--------------------------------------------------------------------*/
.w20 { width: 20px; }
.w30 { width: 30px; }
.w40 { width: 40px; }
.w50 { width: 50px; }
.w60 { width: 60px; }
.w70 { width: 70px; }
.w80 { width: 80px; }
.w90 { width: 90px; }
.w100 { width: 100px; }
.w120 { width: 120px; }
.w140 { width: 140px; }
.w160 { width: 160px; }
.w200 { width: 200px; }
.w240 { width: 240px; }
.w280 { width: 280px; }
.w300 { width: 300px; }
.w320 { width: 320px; }
.w360 { width: 360px; }
.w400 { width: 400px; }
.w440 { width: 440px; }
.w480 { width: 480px; }
.w500 { width: 500px; }
.w512 { width: 512px; }
.w520 { width: 520px; }
.w560 { width: 560px; }
.w600 { width: 600px; }
.w640 { width: 640px; }
.w100p{ width: 100%; box-sizing: border-box; }
.w95p { width:  95%; }
.w90p { width:  90%; }
.w80p { width:  80%; }

.mw200 { min-width: 200px; }
.mw400 { min-width: 400px; }
.min-height:before {
	content:	"";
	display:	inline-block;
	min-height: 	50px;
	float:		left;
}


/*--------------------------------------------------------------------
●エラー表示
--------------------------------------------------------------------*/
div.error,
span.warning, span.error,
p.warning, p.error, strong {
	font-weight:	bold;
	color:		#d30;
}
em {
	color:		#d30;
	font-style:	normal;
}
div.debug-message {
	white-space:	pre;
}

/*--------------------------------------------------------------------
●ボタンデザイン
--------------------------------------------------------------------*/
/* ボタンデザイン */
button {
	padding:		4px 8px;
	text-indent:		0;
	line-height:		100%;
	vertical-align:		middle;
	font-family:		"メイリオ","IPAGothic","VL Gothic",sans-serif;

	cursor:			pointer;

	color:			#f9f9f9;
	font-weight:		bold;
	border:			1px solid #7e9fb5;
	border-radius:		6px;
	background-image:	linear-gradient(to bottom, #72a6e9, #5f8da1);
}
button:hover
{
	border-radius:		6px;
	cursor:			pointer;
	background-image:	none;
	background-color:	#85cbf1;
}
button:disabled
{
	color:			#666;
	background-image:	none;
	background-color:	#7b8fb6;
}
label {
	user-select: none;
}
button + button:not(.no-margin),
label  + button,
button + a {
	margin-left:		1em;
}
button.mini,
button.search-btn {
	vertical-align:		top;
}
button.mini,
table.list button.mini {
	padding:		2px 2px;
	margin:			0 1px;
}

/*--------------------------------------------------------------------
●UIアイコン
--------------------------------------------------------------------*/
.ui-icon {
	width:			16px;
	height:			16px;
	display:		inline-block;
	background-position:	99px 99px;
	background-repeat:	no-repeat;
}
.ui-icon.ui-button {
	padding:		0;
	cursor:			pointer;
	box-sizing:		content-box;
}
.ui-button.ui-button-icon-only:not(.ui-icon) {
	margin:			0;
	padding:		0;
	width:			24px;
	height:			24px;
	box-sizing:		border-box;
	vertical-align:		top;
}
.ui-button.ui-button-icon-only:not(.ui-icon) .ui-icon {
	vertical-align:		middle;
}

/* クリックできるアイコン */
button,
.ui-icon-close,
.ui-icon-search,
.ui-icon-close,
.ui-icon-closethick {
	cursor:			pointer;
}
.ui-icon {
	background-image:	url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAAAgAQMAAAC//W0vAAAABlBMVEUAfYH8/PxBHNbdAAAAAnRSTlP/AOW3MEoAAADJSURBVBjTdc4xjgIxDEDRjChSUOQIPkoOskehMBIH4EoZUUy509GgTaQtpiSIJiiRjR0BooBUr3D8bfj1zBvJMSiWxbSFMFnmw8Hcrg1jvf6OO1Nr2/zVyz7ZBwtkp1ydavMFdNbOP515KW5e94HkLjyv+7eJ/4V92Z6PHGtPRD6z1iT8+bLPDDYyIyGxJCYmbJ5QOHLDAuRNhoAFsyNQQh6S3TpTfHBpCKutVUIamhc2DJiVTjhy0WVgiCdZJvQSjs9Ezyu/XHYH55/2IroZ0KMAAAAASUVORK5CYII=");
}
/* jQuery UI icons */
.ui-icon-search	{ background-position:   0px 0px; }
.ui-icon-wrench	{ background-position: -16px 0px; }
.ui-icon-image	{ background-position: -32px 0px; }
.ui-icon-close	{ background-position: -48px 0px; }
.ui-icon-closethick { background-position: -64px 0px; }

/* js-switch icon */
.sw-show .ui-icon.switch-icon {
	background-position:	-0px -16px;
	width:			14px;
	height:			13px;
}
.sw-hide .ui-icon.switch-icon {
	background-position:	-16px -16px;
	width:			14px;
	height:			13px;
}


/*--------------------------------------------------------------------
●UI, dialog, z-index:1000-1099
--------------------------------------------------------------------*/
.ui-overlay {
	background-color:	rgba(0,0,0,0.2);
	position:		fixed;
	top:			0;
	left:			0;
	width:			100%;
	height:			100%;
}
.ui-dialog {
	position:		absolute;
	padding:		0;

	resize:			both;
	overflow:		hidden;
	min-width:		200px;

	max-height:		100vh;
}
.ui-dialog, .ui-dialog-content {
	box-sizing:		border-box;
}
.ui-dialog-titlebar {
	font-size:		12pt;
	font-weight:		bold;
	padding:		0.4em 1em;
	position:		relative;
	cursor:			move;
}
.ui-dialog-titlebar .ui-button {
	position:		absolute;
	right:			0.5em;
	top:			0.4em;
	padding:		0;
	line-height:		0;
}
.ui-dialog-content {
	padding:		0.5em 1em;
	overflow:		auto;
}
.ui-dialog-buttonpane {
	text-align:		right;
	padding:		0.3em 1em 0.5em 0;
}
.ui-dialog-buttonpane button {
	font-weight:		normal;
	text-align:		left;
	margin:			0.5em 0.2em;
	padding:		0.4em 1em;
	line-height:		1.5;
}

/* エラーダイアログ */
.ui-dialog.error-dialog {
	color:			#000;
	background-color:	#fff8f8;
	border-color:		#f69;
	background-image:	none;
}
.ui-dialog.error-dialog .ui-widget-header {
	background-color:	#f69;
	background-image:	none;
}
.ui-dialog.error-dialog .ui-button {
	color:			#444;
	border-color:		#d99;
	background-image:	linear-gradient(to bottom, #fdd, #faa);
}
.ui-dialog.error-dialog .ui-button:hover {
	background-image:	linear-gradient(to bottom, #fee, #fcc);
}

/* エラーダイアログの閉じるボタン（常に赤アイコン） */
.ui-dialog.error-dialog .ui-icon-closethick {
	border-color:		#900;
	background-image:	url('data:image/gif;base64,R0lGODlhEAAQAIAAAPwAAAAAACH5BAEAAAEALAAAAAAQABAAAAIkjI+puwDqkotnvmqNvXjP5nHQxmgkE4pdKGXBaVKxKmPljScFADs=');
	background-position:	0px 0px;
}

/*--------------------------------------------------------------------
ダイアログのカスタマイズ
--------------------------------------------------------------------*/
.ui-dialog {
	background-color:	#f2fffa;		/* $c=sysbg */
	border:			2px solid #85cbe6;
	border-radius:		10px;
	box-shadow:		8px 8px 4px 4px rgba(60,60,100,0.75);
	padding:		0;

	font-size:		10.5pt;
	line-height:		130%;
}
.ui-dialog .ui-widget-header {
	color:			#000;
	background-color:	#85cbe6;
	font-weight:		bold;
	font-size:		12pt;

	border:			none;
	border-radius:		8px 8px 0 0;
}
.ui-dialog .ui-widget-header button {
	background-image:	none;
	background-color:	#def;
}
.ui-dialog span.ui-dialog-title {
	height:			1em;
	margin-top:		0;
	padding-top:		0;
	padding-bottom:		2px;
}
.ui-dialog button.ui-button {
	border-radius:		4px;
}
.ui-dialog .ui-icon {
	text-indent:		0px;
}
.ui-dialog span.ui-icon-closethick {
}
.ui-dialog .ui-dialog-buttonpane {
	margin-top:		0px;
	padding-top:		0px;
}

.ui-dialog div.pre {
	white-space:		pre;
	white-space:		pre-wrap;	/* CSS3 */
	font-family:		monospace;
}
.ui-dialog ul {
	margin:			1em 0em;
}
.ui-dialog p {
	text-indent:		0;
	margin-left:		1em;
}
.ui-dialog th,
.ui-dialog td {
	white-space:		nowrap;
}


/*--------------------------------------------------------------------
●スマホ対応
--------------------------------------------------------------------*/
.sp {
	display:		none;
}
@media screen and (max-width: 640px) {
	.sp {
		display:	block;
	}
	.nosp {
		display:	none	!important;
	}

	table {
		margin-left:	-2px;
		margin-right:	-2px;
	}
	table td, table th {
		font-size:	8pt;
	}
	table td.small {
		font-size:	7pt;
		line-height:	1.2;
	}
	table th {
		padding-left:	1px;
		padding-right:	1px;
	}
	table td {
		padding-left:	2px;
		padding-right:	2px;
	}

	.mw200 { min-width: 0px; }
	.mw400 { min-width: 0px; }
	table {
		box-sizing:	border-box;
		width:		100%;
	}
	.w120 { width: 100px; }
	.w160 { width: 120px; }
	.w200 { width: 140px; }
	.w240 { width: 160px; }
	.w280 { width: 180px; }
	.w300 { width: 200px; }
	.w320, .w360, .w400,
	.w440, .w480, .w500, .w512,
	.w520, .w560, .w600, .w640 {
		box-sizing:	border-box;
		width:		100%;
	}

	td.date {
		font-size:	8pt;
	}
	.ip {
		word-break:	break-all;
	}
}

