@charset "utf-8";
/* CSS Document */

:root {
	--font-size-050: 8px;
	/* 50% */
	--font-size-060: 9.6px;
	/* 60% */
	--font-size-070: 11.2px;
	/* 70% */
	--font-size-075: 12px;
	/* 75% */
	--font-size-080: 12.8px;
	/* 80% */
	--font-size-090: 14.4px;
	/* 90% */
	--font-size-100: 16px;
	/* 100% */
	--font-size-110: 17.6px;
	/* 110% */
	--font-size-120: 19.2px;
	/* 120% */
	--font-size-130: 20.8px;
	/* 130% */
	--font-size-140: 22.4px;
	/* 150% */
	--font-size-150: 24px;
	/* 150% */
	--font-size-180: 29px;
	/* 180% */
	--font-size-200: 32px;
	/* 200% */
	--font-size-250: 40px;
	/* 250% */
	--color-normal: #202124;
	--color-link: #1e1eff;
	--color-white: #eeeeee;
	--color-button: #008e00;
	--color-button-hover: #006400;
	--color-button-back-disabled: #c0c0c0;
	--color-text-back-disabled: #e5e5e5;
	--color-text-disabled: #808080;
	--color-datetime-disabled: #c0c0c0;
	--color-sortheader: #007000;
}

html {
	overflow-y: scroll;
}

body {
	font-family: sans-serif;
	font-size: var(--font-size-100);
	letter-spacing: 0.0em;
	line-height: 150%;
	margin: 0;
	color: var(--color-normal);
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	overflow: hidden;
	/* これを入れないとAndroid chromeで右に余白が入る */
}

h1 {
	font-size: var(--font-size-180);
	color: #43464C;
	padding: 0 0 1em 0;
}

h2 {
	font-size: var(--font-size-120);
	color: #43464C;
	padding: 0 0 0.3em 0;
}

h3 {
	font-size: var(--font-size-110);
	color: var(--color-normal);
}

body div {
	width: 100%;
}

div.table-frame {
	overflow-x: scroll;
}

table {
	table-layout: fixed;
	/* width: 100%; */
	/* min-width: 800px; */
}

header {
	background-color: lightgrey;
	width: 100%;
	margin: 0px;
	padding: 0px;
	display: flex;
	flex-direction: column;
	line-height: 1em;
}

header div.header-div {
	margin: 0px;
	padding: 0px 5px 0px 5px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

header a.header-logo {
	margin: 3px 0px 0px 5px;
}

header a.header-logo img {
	width: 191px;
	height: 24px;
}

header div.user-menu {
	margin: 0px 0px 0px auto;
	padding: 0px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	width: auto;
	position: relative;
}

header div.language {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	width: 15em;
	margin: 0px 1em 0px 0px;
	overflow: hidden;
	white-space: nowrap;
}

header nav {
	/* max-height: calc(100% - 350px); */
	/* これを入れないとAndroid chromeで文字が大きくなる、再描画で行間が変わる、ことがある */
	width: calc(100% - 191px);
	margin: 0;
	overflow: hidden;
	padding-bottom: 1px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

header nav ul {
	width: fit-content;
	margin: 0;
}

header nav ul li {
	width: 10em;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 2px;
	margin-right: 2px;
	font-size: var(--font-size-090);
	letter-spacing: 0px;
	font-weight: normal;
	cursor: pointer;
	text-align: center;
	float: left;
	list-style-type: none;
	border: 1px solid transparent;
}

div .horz-container {
	display: flex;
	flex-direction: row;
	align-items: start;
	justify-content: start;
	position: relative;
	width: auto;
	background: transparent;
	gap: 15px;
}

div .horz-container-vcenter {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: start;
	position: relative;
	width: auto;
	background: transparent;
	gap: 15px;
}

div .horz-container-narrow {
	display: flex;
	flex-direction: row;
	align-items: start;
	justify-content: start;
	position: relative;
	width: auto;
	background: transparent;
	gap: 0.3em;
}

div .vert-container {
	display: flex;
	flex-direction: column;
	align-items: start;
	justify-content: start;
	position: relative;
	background: transparent;
	padding: 0;
	width: auto;
	gap: 0.5em;
}

div .vert-container-nogap {
	display: flex;
	flex-direction: column;
	align-items: start;
	justify-content: start;
	position: relative;
	background: transparent;
	padding: 0;
	width: auto;
	gap: 0em;
}

div .vert-container-narrow {
	display: flex;
	flex-direction: column;
	align-items: start;
	justify-content: start;
	position: relative;
	background: transparent;
	padding: 0;
	width: auto;
	gap: 0;
}

th a {
	color: var(--color-sortheader);
	text-decoration: none;
}

form {
	width: 100%;
}

button {
	border: none;
	border-radius: 5px;
	line-height: 2em;
	font-size: var(--font-size-090);
	padding: 0.1em 1.5em 0.1em 1.5em;
	background-color: var(--color-button);
	color: white;
	min-width: 3em;
}

form input[type="submit"] {
	border: none;
	border-radius: 5px;
	line-height: 2em;
	font-size: var(--font-size-090);
	padding: 0.1em 2em 0.1em 2em;
	background-color: var(--color-button);
	color: white;
	min-width: 3em;
}

form input[type="submit"]:hover {
	background-color: var(--color-button-hover);
	transition: 0.3s ease-out;
}

form input[type="submit"]:disabled {
	background-color: var(--color-button-back-disabled) !important;
}

form input[type="text"] {
	width: 100%;
	height: 2em;
	padding: 0px 4px 0px 4px;
	font-size: var(--font-size-100);
	border-radius: 3px;
	border: 2px solid #ddd;
	box-sizing: border-box;
}

form input[type="number"] {
	width: 100%;
	height: 2em;
	padding: 0px 4px 0px 4px;
	font-size: var(--font-size-100);
	border-radius: 3px;
	border: 2px solid #ddd;
	box-sizing: border-box;
}

form input[type="email"] {
	width: 100%;
	height: 2em;
	padding: 0px 4px 0px 4px;
	font-size: var(--font-size-100);
	border-radius: 3px;
	border: 2px solid #ddd;
	box-sizing: border-box;
}

form input[type="text"]:disabled {
	background-color: var(--color-text-back-disabled) !important;
	color: var(--color-text-disabled) !important;
}

form input[type="number"]:disabled {
	background-color: var(--color-text-back-disabled) !important;
	color: var(--color-text-disabled) !important;
}

form input[type="email"]:disabled {
	background-color: var(--color-text-back-disabled) !important;
	color: var(--color-text-disabled) !important;
}

form input[type="datetime-local"]:disabled {
	color: var(--color-datetime-disabled) !important;
}

form input[type="password"] {
	width: 100%;
	height: 2em;
	padding: 0px 4px 0px 4px;
	font-size: var(--font-size-100);
	border-radius: 3px;
	border: 2px solid #ddd;
	box-sizing: border-box;
}

form input[type="radio"] {
	margin: 0px 4px 0px 0px;
	font-size: var(--font-size-100);
}

form input.readonly {
	background-color: silver;
}

form textarea {
	resize: both;
	width: 100%;
	padding: 0px 4px 0px 4px;
	font-size: var(--font-size-100);
	border-radius: 3px;
	border: 2px solid #ddd;
	box-sizing: border-box;
}

body section {
	width: 100%;
	padding: 1em 1em 0.5em 1em;
}

form label {
	font-size: var(--font-size-100);
	line-height: 2em;
}

body ul {
	margin: 0.5em 0em 1em 0em;
	padding-left: 1em;
}

body ul li {
	margin: 10px 0px 10px 0px;
	line-height: 2em;
}

form ul {
	margin: 0.5em 0em 1em 0em;
	padding-left: 1em;
}

form ul li {
	margin: 0.5em 0em 0.5em 0em;
	line-height: 2em;
}

form ul li ul {
	margin: 0em 0em 0em 1.5em;
}

form ul li ul li {
	margin: 0.1em 0em 0.1em 0em;
	line-height: 2em;
}

a {
	color: var(--color-link);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a.disabled {
	pointer-events: none !important;
	color: gray !important;
}

form table {
	border-collapse: collapse;
	border-spacing: 0;
	width: 100%;
	min-width: 40em;
}

form table tr {
	border: none;
}

form table tr th {
	padding: 5px 10px 5px 10px;
	text-align: left;
	overflow-wrap: break-word;
}

form table tr th hr {
	height: 0;
	border: none;
}

form table tr.selection-list {
	border-top: solid 1px black;
	border-bottom: solid 1px black;
}

tr.selection-list:hover {
	background-color: #eaeaea;
}

form table tr td {
	padding: 5px 10px 5px 10px;
	text-align: left;
	/* overflow: hidden; */
	overflow-wrap: break-word;
}

form table tr td hr {
	height: 0.4em;
	border: none;
}

form table tr td input[type="submit"] {
	border: none;
	border-radius: 5px;
	line-height: 2em;
	font-size: var(--font-size-080);
	padding: 0em 0.3em 0.1em 0.3em;
	margin: 0.1em 0em 0.1em 0em;
	background-color: var(--color-button);
	color: white;
}

form table tr td input[type="submit"]:hover {
	background-color: var(--color-button-hover);
	transition: 0.3s ease-out;
}

form table tr td input[type="submit"]:disabled {
	background-color: var(--color-button-back-disabled) !important;
}

form table th.btntype {
	width: 2em;
}

form table th.btntype2 {
	width: 4em;
}

hr {
	height: 2em;
	border: none;
}

hr.thick1 {
	height: 1em;
	border: none;
}

hr.thin {
	height: 0.4em;
	border: none;
}

select {
	width: 100%;
	height: 2em;
	padding: 0px 4px 0px 4px;
	font-size: var(--font-size-100);
	border-radius: 3px;
	border: 2px solid #ddd;
	cursor: pointer;
	text-overflow: ellipsis;
	outline: none;
	box-shadow: none;
	appearance: auto;
}

.selection-list:hover {
	background-color: #ddd;
}

select.readonly {
	background-color: silver;
}

select:disabled {
	background-color: var(--color-text-back-disabled) !important;
}

footer {
	display: flex;
	flex-direction: row;
	align-items: end;
	justify-content: start;
	position: relative;
	background: transparent;
	padding: 1em 0 1em 0;
	width: auto;
	gap: 3.5em 3.5em;
}

.message {
	text-align: left;
	font-size: var(--font-size-150);
	color: green;
	line-height: 1.5em;
	padding: 0;
	margin: 0 0 0.5em 0;
}

.error-message {
	text-align: left;
	font-size: var(--font-size-150);
	color: red;
	line-height: 1.5em;
	padding: 0;
	margin: 0 0 0.5em 0;
}

.progressbar {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: start;
	position: relative;
	background: transparent;
	width: auto;
	gap: 10px 10px;
}

.progressbar-shape {
	border: none;
	border-radius: 4px;
	background-color: silver;
	width: 100px;
	height: 8px;
	overflow: hidden;
}

.progressbar-bar {
	position: relative;
	border: none;
	background-color: var(--color-normal);
	height: 8px;
}

.progressbar-pretext {
	font-size: var(--font-size-090);
	color: var(--color-normal);
}

.progressbar-posttext {
	font-size: var(--font-size-090);
	color: var(--color-normal);
}

.width32 {
	width: 32em !important;
}

.width22 {
	width: 22em !important;
}

form div.checkbox-listbox {
	height: 6em;
	overflow: auto;
	padding: 0px 4px 0px 4px;
	border-radius: 3px;
	border: 2px solid #ddd;
	box-sizing: border-box;
}

form div.checkbox-listbox input[type="checkbox"] {
	height: 1em;
	margin: 0em 0.2em 0em 0em;
	font-size: var(--font-size-100);
}

/************ File dialog **********/

div.commctrls-filedialog-div {
	display: flex;
	justify-content: left;
	align-items: flex-start;
}

div.commctrls-filedialog-div ul {
	margin: 0.1em 2em 0em 0em;
}

div.commctrls-filedialog-div ul li {
	margin: 0.2em 0em 0.2em 0em;
	line-height: 1.2em;
}

div.commctrls-filedialog-div input[type="file"] {
	display: none;
	line-height: 1.7em;
	padding: 0px;
	margin: 0px;
}

div.commctrls-filedialog-div label.for-button {
	border: none;
	border-radius: 5px;
	line-height: 2em;
	font-size: var(--font-size-090);
	padding: 0.1em 1.5em 0.1em 1.5em;
	margin: 0px;
	background-color: var(--color-button);
	color: white;
	display: inline-block;
	position: relative;
	cursor: pointer;
}

div.commctrls-filedialog-div label.for-button:hover {
	background-color: var(--color-button-hover);
	transition: 0.1s ease-out;
}

div.commctrls-filedialog-div label.for-button::after {
	content: "";
	color: transparent;
	width: 0px;
	height: 0px;
	position: absolute;
}

form#imagelist table tr td img {
	width: 128px;
	height: 128px;
	object-fit: contain;
}

.disabled {
	pointer-events: none !important;
	color: gray !important;
}

.grayed-out {
	color: gray !important;
}