:root {
	--color-main: #3F0000;
	--color-sub: #D9CCCC;
	--color-gray: #EFEFEF;
}
* {
	-webkit-appearance: none;
	font-family: "Helvetica", "游ゴシック", "ヒラギノ角ゴ ProN", "メイリオ", "MS Pゴシック", sans-serif;
	font-weight: 500;
	font-style: normal;
	font-size: 20px;
	line-height: 1.6;
	position: relative;
	color: var(--color-main);
	z-index: 1;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
a {
	text-decoration: none;
}
img {
	width: 100%;
	vertical-align: bottom;
}

.btn {
	text-align: center;
	display: block;
	margin: 30px auto;
	padding: 15px 0;
	border-radius: 5px;
	font-weight: bold;
	max-width: 500px;
	width: 90%;
	border: 0;
	background: var(--color-main);
	color: #FFF;
	cursor: pointer;
	user-select: none;
}
.btn.btn-true {
	background: rgb(247,93,139);
    background: linear-gradient(315deg, rgba(247,93,139,1) 0%, rgba(254,220,64,1) 100%);
    box-shadow: rgb(141 35 67 / 20%) 0px 5px 20px 0px;
}
.btn.btn-cancel {
	background: var(--color-gray);
	color: var(--color-main);
}



/* ---loading--- */
#loading-modal {
	display: none;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: center;
	align-items: center;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	background: rgba( 0, 0, 0, 0.3 );
	backdrop-filter: blur( 5px );
	-webkit-backdrop-filter: blur( 5px );
	z-index: 1000;
}
#loading-modal.active {
	display: -webkit-flex;
	display: flex;
}
#loading-modal .loader {
	color: #f9c975;
	font-size: 20px;
	margin: 100px auto;
	width: 1em;
	height: 1em;
	border-radius: 50%;
	position: relative;
	text-indent: -9999em;
	-webkit-animation: load4 1.3s infinite linear;
	animation: load4 1.3s infinite linear;
	-webkit-transform: translateZ(0);
	-ms-transform: translateZ(0);
	transform: translateZ(0);
}
@-webkit-keyframes load4 {
	0%,
	100% {
		box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
	}
	12.5% {
		box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
	}
	25% {
		box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
	}
	37.5% {
		box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
	}
	50% {
		box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
	}
	62.5% {
		box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
	}
	75% {
		box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
	}
	87.5% {
		box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
	}
}
@keyframes load4 {
	0%,
	100% {
		box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
	}
	12.5% {
		box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
	}
	25% {
		box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
	}
	37.5% {
		box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
	}
	50% {
		box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
	}
	62.5% {
		box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
	}
	75% {
		box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
	}
	87.5% {
		box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
	}
}


/*入力フォーム*/
.label {
	display: block;
	margin: 20px auto;
}
.label .label-ttl {
	font-weight: bold;
	color: var(--color-blue);
	font-size: 0.8em;
}
.label .label-detail {
	font-size: 0.6em;
	margin: 20px auto;
	line-height: 1.8em;
}
.label .input {
	display: block;
	width: 100%;
	border: 1px solid var(--color-sub);
	background: #FFF;
	font-size: 16px;
	padding: 10px;
	border-radius: 10px;
	transition: 0.3s;
	max-width: 100%;
	min-width: 100%;
	max-height: 500px;
}
.label .input:focus {
	border: 1px solid var(--color-main);
}
.label .label-error {
	font-size: 0.7em;
	color: #ff0000;
	min-height: 17px;
	opacity: 0;
	text-align: right;
}
.label .label-error.active {
	opacity: 1;
}


/* チェックボックス01 */
.checkbox {
	text-align: center;
}
.checkbox input[type=checkbox] {
	display: none;
}
.checkbox .checkbox01 {
	box-sizing: border-box;
	cursor: pointer;
	display: inline-block;
	padding: 5px 0px 5px 30px;
	position: relative;
	width: auto;
	font-size: 0.7em;
}
.checkbox .checkbox01::before {
	background: #fff;
	border: 1px solid var(--color-gray);
	content: '';
	display: block;
	height: 20px;
	width: 20px;
	left: 3px;
	margin-top: -8px;
	position: absolute;
	top: 45%;
	border-radius: 8px;
}
.checkbox .checkbox01::after {
	border-right: 3px solid var(--color-gray);
	border-bottom: 3px solid var(--color-gray);
	content: '';
	display: block;
	height: 9px;
	left: 10px;
	margin-top: -7px;
	opacity: 0;
	position: absolute;
	top: 48%;
	transform: rotate(45deg);
	width: 5px;
}
.checkbox input[type=checkbox]:checked + .checkbox01::after {
	opacity: 1;
}



/*nav*/
#nav {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	width: 250px;
	height: 100%;
	margin: auto;
	background: #FFF;
	border-right: 1px solid var(--color-gray);
	z-index: 10;
}
#nav .nav-contents {
	padding: 10px;
}
#nav .nav-contents .nav-logo {
	display: block;
	width: 100%;
	margin: 40px auto;
}
#nav .nav-contents .nav-logo img {}
#nav .nav-contents .nav-list {
	list-style: none;
}
#nav .nav-contents .nav-list li {
	margin: 10px auto;
}
#nav .nav-contents .nav-list li a {
	display: block;
	border-radius: 5px;
	padding: 10px;
	background: var(--color-gray);
	font-size: 0.8em;
}
#nav .nav-contents .nav-list li a:hover {
	background: #FFF;
}
#nav .nav-contents .nav-user {
	margin-top: 40px;
	font-size: 0.8em;
	padding: 10px;
	border-top: 1px solid var(--color-gray);
}



/*共通パーツ*/
main {
	padding-left: 250px;
}
main article {
	width: 100%;
	padding: 50px;
}
h1 {
	font-weight: bold;
	font-size: 1.6em;
}

section {
	margin: 30px auto;
}


.sort-wrap {
	margin: auto auto 20px;
}
.sort-wrap .label {
	width: 200px;
	margin: auto auto auto 0;
}
.sort-wrap .label-ttl {
	font-size: 0.6em;
}


.table-wrap {
	width: 100%;
	max-height: 60vh;
	overflow: auto;
}
.table-wrap .table {
	width: fit-content;
	min-width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
	background: #FFF;
}
.table-wrap .table thead {
	z-index: 5;
}
.table-wrap .table thead th {
	font-size: 0.8em;
	background: var(--color-gray);
	position: sticky;
	top: 0;
	text-align: left;
}
.table-wrap .table tbody tr {}
.table-wrap .table tbody tr.detailpush {
	cursor: pointer;
}
.table-wrap .table th,
.table-wrap .table td {
	padding: 10px;
	max-width: 200px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.table-wrap .table td {
	font-size: 0.8em;
	border-bottom: 1px solid var(--color-gray);
}



.detail_bg {
	position: fixed;
	top: 0;
	bottom: 0;
	right: 0;
	z-index: 100;
	width: 0%;
	background: rgba( 0, 0, 0, 0.3 );
	backdrop-filter: blur( 5px );
	-webkit-backdrop-filter: blur( 5px );
	transition: 0.3s;
}
.detail_active .detail_bg {
	width: 100%;
}
.detail {
	z-index: 110;
	position: fixed;
	top: 0;
	bottom: 0;
	right: -800px;
	z-index: 100;
	max-width: 800px;
	width: 100%;
	transition: 0.3s;
	background: #FFF;
}
.detail_active .detail {
	right: 0px;
}
.detail .detail-wrap {
	padding: 50px;
}
.detail .detail-wrap h2 {
	font-weight: bold;
	font-size: 1em;
}

.detailform {
	max-height: 80vh;
	overflow: auto;
}