body, div, p, h1, h2, h3, h4 {
	margin: 0;
	padding: 0;
}

body,
input[type=text],
input[type=password],
input[type=button],
input[type=submit],
textarea {
	font-size: 18px;
	font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", arial, sans-serif;
}

h1 {
	font-size: 150%;
}

h2 {
	font-size: 135%;
}

a:hover {
	opacity: 0.75;
}

.small {
	font-size: 75%;
}

.attention {
	color: #f30;
	font-weight: bold;
}

header .container,
.content,
footer .container {
	width: 100%;
	max-width: 1024px;
	margin: auto;
	box-sizing: border-box;
}

header h1 {
	padding: 0.25em 0;
	line-height: 1;
}

header a {
	color: #333;
	text-decoration: none;
}

header .container {
	padding: 0.5em 0 0 0;
	text-align: center;
}

header .detail {
	margin: 0 0.75rem;
	line-height: 1.75rem;
}

header .detail:after {
	content: "";
	display: block;
	clear: both;
}

header .detail p:first-of-type {
	width: calc(100% - 7em);
	float: left;
	text-align: left;
}

header .detail p:last-of-type {
	width: 7em;
	float: right;
	text-align: right;
}

header nav {
	width: 100%;
	border-top: 1px solid #333;
	border-bottom: 1px solid #333;
}

header nav ul {
	width: 100%;
	max-width: 1024px;
	margin: 0 auto;
	padding: 0 0.75rem;
	box-sizing: border-box;
}

header nav ul:after {
	content: "";
	display: block;
	clear: both;
}

header nav li {
	display: inline-block;
	border-left: 1px solid #333;
	box-sizing: border-box;
}

header nav li:last-child {
	border-right: 1px solid #333;
}

header nav li a {
	display: block;
	width: 100%;
	height: 100%;
	line-height: 2.5em;
	text-align: center;
}

.content {
	padding: 0.75rem;
}

.content section > h2 {
	margin-bottom: 0.75rem;
}

.content section > p {
	margin: 0 0.5rem 0.75rem 0.5rem;
}

.content .of {
	position: relative;
}

.content .of > * {
	width: 100%;
	overflow-x: hidden;
	text-overflow: ellipsis;
	word-break: keep-all;
	white-space: nowrap;
}

.content a {
	color: #03f;
}

.content table,
.content th,
.content td {
	border: 1px solid #333;
	border-collapse: collapse;
}

.content table {
	width: 100%;
	table-layout: fixed;
	box-sizing: border-box;
}

.content th,
.content td {
	padding: 5px;
	box-sizing: border-box;
}

.editBox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.75);
	z-index: 1;
}

.editBox > div {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 90%;
	max-width: 900px;
	height: 70%;
	margin: auto;
	padding: 15px 30px;
	font-size: 95%;
	background: #fff;
	box-sizing: border-box;
}

.editBox form {
	height: 100%;
}

.editBox h2 {
	text-align: center;
	margin-bottom: 0.5em;
}

.editBox .body {
	height: calc(100% - 6em);
	overflow-y: scroll;
}

.editBox .body dl {
	display: grid;
	margin: 0;
	padding: 0;
	border-top: 1px solid #333;
	border-left: 1px solid #333;
	line-height: 1.25;
}

.editBox .body dt,
.editBox .body dd {
	margin: 0;
	padding: 0.15rem;
	border-right: 1px solid #333;
	border-bottom: 1px solid #333;
	box-sizing: border-box;
}

.editBox .body dt {
	font-weight: bold;
}

.editBox .body dd > * {
	vertical-align: bottom;
}

.editBox input[type=text],
.editBox textarea {
	display: block;
	appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
	width: 100%;
	padding: 0;
	border: 0;
	border-radius: 0;
	font-size: 100%;
	box-sizing: border-box;
}

.editBox textarea {
	height: 7.5rem;
	line-height: 1.25;
	font-size: 85%;
}

.editBox .btn_close {
	position: absolute;
	top: 15px;
	right: 30px;
	font-size: 200%;
	line-height: 1;
}

.editBox .btn_close a {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
}

.editBox .btn_close a:after {
	content: "\f00d";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	color: #333;
}

.editBox .btns {
	position: absolute;
	bottom: 15px;
	left: 0;
	width: 100%;
	line-height: 2em;
	text-align: center;
}

.editBox .btns a {
	display: inline-flex;
	width: 6em;
	height: 2.5rem;
	line-height: 1;
	border: 1px solid #333;
	border-radius: 10px;
	font-size: 125%;
	box-sizing: border-box;
	color: #333;
	text-decoration: none;
	justify-content: center;
	align-items: center;
}

.loadingBox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.75);
	z-index: 1;
}

.loadingBox > div {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100px;
	height: 100px;
	margin: auto;
	font-size: 300%;
	color: #fff;
	box-sizing: border-box;
}

footer {
	padding: 0.75rem 0;
	border-top: 1px solid #333;
	text-align: center;
}

@media screen and (min-width:768px){
/* PC */
.sp {
	display: none;
}

header nav li {
	width: 25%;
}

.editBox .body dl {
	grid-template-columns: 22% 1fr;
}

.editBox .body dt {
	padding-left: 1em;
	border-right-style: dashed;
}
/* PC end */
}

@media screen and (max-width:767px){
/* SP */
.no-sp {
	display: none;
}

body,
input[type=text],
input[type=password],
input[type=button],
input[type=submit],
textarea {
	font-size: 14px;
}

header nav li {
	width: calc(100% / 3);
}

.editBox > div {
	height: 90%;
	padding: 1rem;
}

.editBox .btn_close {
	position: absolute;
	top: 1rem;
	right: 1rem;
}

.editBox .body dl {
	grid-template-columns: 6em 1fr;
}

.editBox .body dt {
	border-right-style: dashed;
	border-bottom-style: solid;
}

.editBox .body dt.full {
	grid-column: span 2;
	border-right-style: solid;
	border-bottom-style: dashed;
}

.editBox .body dd.full {
	grid-column: span 2;
}
/* SP end */
}

@media print {
/* print */
.no-print {
	display: none;
}
.sp {
	display: none;
}

body {
	min-width: 1024px;
}

header nav li {
	width: 25%;
}
/* print end */
}
