@charset "utf-8";

body {
	min-width: 768px;
	margin: 0;
	padding: 0;
	font-family: 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'YuGothic', '游ゴシック', 'メイリオ', 'Meiryo', 'MS PGothic', 'MS Gothic', sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

a {
	color: inherit;
}

a:hover {
	opacity: 0.7;
}

a.btn {
	display: inline-block;
	margin: 0.25em 0;
	padding: 0.25em 1em;
	border: 1px solid #000;
	border-radius: 0.75em;
	text-decoration: none;
}

header {
	min-width: 1024px;
	text-align: center;
}

header h1 {
	line-height: 2;
}

header .link {
	display: flex;
	width: 90%;
	max-width: 1024px;
	height: 1.5rem;
	margin: -1.75rem auto 0.25em auto;
	line-height: 1.5rem;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
}

header nav {
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
}

header nav ul {
	width: 90%;
	max-width: 1024px;
	margin: auto;
	list-style: none;
	box-sizing: border-box;
}

header nav ul:after {
	content: "";
	display: block;
	clear: both;
}

header nav li {
	position: relative;
	display: block;
	float: left;
	width: 20%;
	box-sizing: border-box;
}

header nav li:first-child:before,
header nav li:after {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	width: 1px;
	height: 65%;
	margin: auto;
	background-color: #000;
}

header nav li:first-child:before {
	left: 0;
}

header nav li:after {
	right: 0;
}

header nav li a {
	display: block;
	width: 100%;
	padding: 0.5em 0;
	text-decoration: none;
}

main {
	width: 90%;
	width: 1024px;
	min-height: 360px;
	margin: auto;
	padding: 1rem;
	list-style: none;
	box-sizing: border-box;
}

main h2,
main p,
main div,
main ul,
main ol {
	margin-bottom: 0.5rem;
}

main h2:last-child,
main p:last-child,
main div:last-child,
main ul:last-child,
main ol:last-child {
	margin-bottom: 0;
}

main .errMsg {
	color: #f00;
}

main table,
main table th,
main table td {
	border: 1px solid #000;
	border-collapse: collapse;
}

main table.list {
	width: 100%;
}

main table.list caption {
	text-align: left;
}

main table.list th,
main table.list td {
	padding: 0.25em;
}

main table.list th {
	background: #eef;
}

main table td {
	font-size: 90%;
	word-break: break-all;
}

.editBox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 1;
}

.editBox > div {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 80%;
	max-width: 800px;
	height: 80%;
	margin: auto;
	padding: 2rem;
	background-color: #fff;
	overflow: scroll;
}

.editBox > div > * {
	min-width: 750px;
}

.editBox .btn_close {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	width: 100%;
	height: 2rem;
	line-height: 2rem;
	font-size: 2rem;
	text-align: right;
}

.editBox h2 {
	text-align: center;
	margin-bottom: 0.5rem;
}

.editBox dl:after {
	content: "";
	display: block;
	clear: both;
}

.editBox dt {
	float: left;
	width: 7em;
	margin-bottom: 0.5rem;
}

.editBox dd {
	float: left;
	width: calc(100% - 7.5rem);
	margin-bottom: 0.5rem;
}

.editBox dd input[type=text],
.editBox dd textarea,
.editBox dd .select_wrap {
	border: 1px solid #333;
	box-sizing: border-box;
}

.editBox dd input[type=text],
.editBox dd textarea {
	width: 100%;
}

.editBox dd .select_wrap {
	position: relative;
	display: inline-block;
}

.editBox dd select {
	padding-right: 2rem;
}

.editBox dd .select_wrap::after {
	content: "\f107";
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0.25rem;
	width: 1rem;
	height: 1rem;
	line-height: 1rem;
	margin: auto;
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	text-align: center;
	pointer-events: none;
	z-index: 1;
}

.editBox dd label {
	cursor: pointer;
}

.editBox dd input[type=file] {
	display: none;
}

.editBox dd textarea {
	height: 12em;
}

.editBox .btns {
	text-align: center;
}

.editBox .btns a {
	margin: 1em 1.5rem;
}

footer {
	min-width: 1024px;
	padding: 1rem;
	border-top: 1px solid #000;
	text-align: center;
}