@charset "utf-8";
body {
	font-family: 'Meiryo', 'Hiragino Kaku Gothic ProN', 'Osaka', sans-serif;
}

th, td {
	vertical-align: middle;
}

th.symbol {
	white-space: nowrap;
	width: 1%;
}

td.control, td.symbol {
	white-space: nowrap;
	width: 1%;
}

th.numeric {
	white-space: nowrap;
	width: 1%;
}

td.numeric {
	text-align: right;
	white-space: nowrap;
	width: 1%;
}

th>a {
	text-decoration: none;
}

textarea {
	height: 20em;
}

header {
	padding: 0.5rem;
	margin-bottom: 0.5rem;
}

header a {
	text-decoration: none;
}

header h1 {
	font-size: 2rem;
	font-weight: normal;
	margin: 0;
}

header h1 a {
	color: inherit;
}

#logo {
	margin-top: -0.2em;
	width: 1em;
}

header h2 {
	font-size: 1rem;
	font-weight: normal;
	margin: 0;
}

#logout-link {
	text-decoration: none;
}

#logout-link:hover {
	text-decoration: underline;
}

#menu {
	box-sizing: border-box;
}

#menu a {
	display: block;
	border-bottom: 1px solid #cfdbdc;
	text-decoration: none;
	padding: 0.5rem;
}

#menu>a:hover {
	text-decoration: underline;
}

main h2 {
	font-size: 1.5rem;
	font-weight: normal;
	margin-bottom: 1rem;
}

main .command {
	margin-bottom: 0.5rem;
}

#list thead {
	background-color: #fff;
	position: sticky;
	top: 0;
}

#list tfoot {
	background-color: #fff;
	position: sticky;
	bottom: -1px;
}

#list tfoot td {
	text-align: right;
}

/* for Haori */

body::after {
	background-color: #fff;
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

body.ready::after {
	content: none;
}

th[data-name] {
	color: #0a58ca;
	cursor: pointer;
	padding-right: 1.5rem;
}

th[data-sort] {
	position: relative;
}

th[data-sort]::after {
	font-family: bootstrap-icons;
	font-weight: normal;
	position: absolute;
	top: 0.5em;
	margin-left: 0.1rem;
	vertical-align: text-bottom;
}

th[data-sort="asc"]::after {
	content: "\f235";
}

th[data-sort="desc"]::after {
	content: "\f229";
}

#list[data-count="0"] tfoot td, #list:not([data-count]) tfoot td {
	text-align: center;
}

[data-fetch-url]:not([data-fetch-object]) {
	visibility: hidden;
}