/* ---------- ---------- フォント ---------- ---------- */
@font-face {
	font-family: "Noto Sans JP";
	src: url("../fonts/NotoSansJP-Regular.otf") format("otf");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Noto Sans JP";
	src: url("../fonts/NotoSansJP-Bold.otf") format("otf");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}


/* ---------- ---------- 共用スタイル ---------- ---------- */
*:not(html) {
	font-family: 'Noto Sans JP', 'Noto Sans CJK JP', sans-serif;
	font-size: 16px;
	line-height: 1.5;
	box-sizing: border-box;
}

ul, li, label, p {
	margin: 0;
}

input:not([type="radio"], [type="checkbox"]),
textarea,
select {
	border: solid 1px rgba(0, 0, 0, 0.125);
	border-radius: 0;
	font-size: 0.875rem;
	padding: 0.5rem 0.625rem;
	width: 100%;
}

input:not([type="radio"], [type="checkbox"]):focus,
textarea:focus,
select:focus {
	border-color: #17a2b8;
}

input:not([type="radio"], [type="checkbox"]).error,
textarea.error,
select.error {
	border-color: #dc3545;
}

textarea {
	resize: none;
}

.select {
	position: relative;
}

.select::after {
	content: '';
	display: block;
	border-top: solid 5px #212529;
	border-left: solid 5px transparent;
	border-right: solid 5px transparent;
	position: absolute;
	top: 50%;
	right: 1rem;
	transform: translateY(-50%);
}

.select select {
	padding-right: 2rem;
}

.btn {
	font-size: 0.875rem;
	border-radius: 0;
}

.container-fluid {
	padding: 0;
}

.content-header {
	padding: 1.5rem;
}

.content-header h1 {
	font-size: 1.5rem;
	font-weight: 700;
}

.content-wrapper > .content {
	padding: 0 1.5rem 5rem;
}

.form_item .label {
	font-size: 0.875rem;
	font-weight: 700;
	margin-bottom: 0.25rem;
}

.form_item .element .error_message {
	display: none;
	font-size: 0.75rem;
	color: #dc3545;
	margin-top: 0.25rem;
}

.card {
	border-radius: 0;
}

.card .card-header h2 {
	margin: 0;
	font-weight: 700;
}

.card .card-header .search_form {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.card .card-header .search_form .form_item {
	display: flex;
	align-items: center;
}

.card .card-header .search_form .search_paginate .text {
	font-size: 0.75rem;
	margin-left: 0.5rem;
}

.card .card-header .search_form .search_keyword input {
	min-width: 200px;
}

.card .card-header .search_form .search_keyword .btn {
	height: 39px;
}

.card .card-body.table_list {
	padding: 0;
}

.card .card-body.table_list table {
	width: 100%;
}

.card .card-body.table_list thead {
	background-color: #f4f6f9;
	border-bottom: solid 2px rgba(0, 0, 0, 0.125);
}

.card .card-body.table_list thead th > div {
	font-size: 0.75rem;
	font-weight: 700;
	color: #6c757d;
	padding: 0.5rem;
}

.card .card-body.table_list thead th:first-of-type > div,
.card .card-body.table_list tbody td:first-of-type > div {
	padding-left: 1.25rem;
}

.card .card-body.table_list thead th:last-of-type > div,
.card .card-body.table_list tbody td:last-of-type > div {
	padding-right: 1.25rem;
}

.card .card-body.table_list tbody td > div {
	padding: 0.5rem;
}

.card .card-body.table_list thead th,
.card .card-body.table_list tbody td {
	vertical-align: middle;
}

.card .card-body.table_list tbody tr {
	cursor: default;
	transition: 0.3s;
}

.card .card-body.table_list tbody tr:hover {
	background-color: #f4f6f9;
}

.card .card-body.table_list tbody tr:not(:last-of-type) {
	border-bottom: solid 1px rgba(0, 0, 0, 0.125);
}

.card .card-body .form_item:not(:first-of-type) {
	margin-top: 1.5rem;
}

.alert_section,
.modal_section {
	display: none;
}


/* ---------- ---------- アラート ---------- ---------- */
.alert_view {
	position: fixed;
	top: 1rem;
	right: 1rem;
	z-index: 9999;
}

.alert_view .alert_container {
	display: flex;
	align-items: center;
	padding: 1rem;
	width: 320px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.125);
	cursor: pointer;
	transition: 0.3s;
	transform: translateX(120%);
}

.alert_view .alert_container:not(:last-of-type) {
	margin-bottom: 0.5rem;
}

.alert_view .alert_container.template {
	display: none;
}

.alert_view .success {
	background-color: #17a2b8;
}

.alert_view .fail {
	background-color: #dc3545;
}

.alert_view .alert_container .alert_icon i,
.alert_view .alert_container .alert_content p {
	color: #fff;
}

.alert_view .alert_container .alert_content p {
	font-size: 0.875rem;
	margin-left: 0.5rem;
	word-break: break-all;
}


/* ---------- ---------- モーダル ---------- ---------- */
.modal_view {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	display: none;
}

.modal_view .modal_overlay {
	background-color: rgba(0, 0, 0, 0.125);
	width: 100%;
	height: 100%;
}

.modal_view .modal_container {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #fff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.125);
	width: calc(100% - 30px);
	max-width: 600px;
}

.modal_view .modal_container .modal_header {
	padding: 1rem;
	display: flex;
	justify-content: space-between;
	border-bottom: solid 1px rgba(0, 0, 0, 0.125);
}

.modal_view .modal_container .modal_header .title {
	font-size: 1rem;
	font-weight: 700;
}

.modal_view .modal_container .modal_header .close_btn {
	width: 24px;
	height: 24px;
	background-color: #adb5bd;
	border-radius: 50%;
	cursor: pointer;
	transition: 0.3s;
	position: relative;
}

.modal_view .modal_container .modal_header .close_btn::after,
.modal_view .modal_container .modal_header .close_btn::before {
	content: '';
	display: block;
	width: 2px;
	height: 10px;
	background-color: #fff;
	position: absolute;
	top: 7px;
	left: 11px;
}

.modal_view .modal_container .modal_header .close_btn::after {
	transform: rotate(45deg);
}

.modal_view .modal_container .modal_header .close_btn::before {
	transform: rotate(135deg);
}

.modal_view .modal_container .modal_header .close_btn:hover {
	opacity: 0.7;
}

.modal_view .modal_container .modal_content {
	padding: 1.5rem 1rem;
}

.modal_view .modal_container .modal_content .form_item:not(:first-of-type) {
	margin-top: 1.5rem;
}

.modal_view .modal_container .modal_buttons {
	display: flex;
	justify-content: flex-end;
	gap: 0.5rem;
	padding: 1rem;
	border-top: solid 1px rgba(0, 0, 0, 0.125);
}

.modal_view .modal_container .modal_buttons .btn {
	min-width: 80px;
}


/* ---------- ---------- ページネーション ---------- ---------- */
.pagination li:not(:last-of-type) {
	margin-right: 0.25rem;
}

.pagination li a,
.pagination li span {
	min-width: 35px;
	height: 35px;
	border: solid 1px rgba(0, 0, 0, 0.125);
	background-color: #fff;
	color: #212529;
	font-size: 0.75rem;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 0.25rem;
	transition: 0.3s;
}

.pagination li.active span {
	background-color: #17a2b8;
	border-color: #17a2b8;
	color: #fff;
	font-weight: 700;
	cursor: default;
}

.pagination li.disabled span {
	opacity: 0.5;
	cursor: not-allowed;
}

.pagination li a:hover {
	background-color: #17a2b8;
	border-color: #17a2b8;
	color: #fff;
}

.pagination .prev_btn span,
.pagination .prev_btn a,
.pagination .next_btn span,
.pagination .next_btn a {
	position: relative;
}

.pagination .prev_btn span::after,
.pagination .prev_btn a::after,
.pagination .next_btn span::after,
.pagination .next_btn a::after {
	content: '';
	display: block;
	width: 7px;
	height: 7px;
	border-top: solid 2px #212529;
	border-right: solid 2px #212529;
	position: absolute;
	top: 13px;
}

.pagination .prev_btn span::after,
.pagination .prev_btn a::after {
	left: 14px;
	transform: rotate(-135deg);
}

.pagination .next_btn span::after,
.pagination .next_btn a::after {
	left: 11px;
	transform: rotate(45deg);
}

.pagination .prev_btn a:hover::after,
.pagination .next_btn a:hover::after {
	border-color: #fff;
}


/* ---------- ---------- loading ---------- ---------- */
.loading {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.7);
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

.loading .loader {
	color: #212529;
	font-size: 90px;
	text-indent: -9999em;
	overflow: hidden;
	width: 1em;
	height: 1em;
	border-radius: 50%;
	margin: 72px auto;
	position: relative;
	-webkit-transform: translateZ(0);
	-ms-transform: translateZ(0);
	transform: translateZ(0);
	-webkit-animation: load6 1.7s infinite ease, round 1.7s infinite ease;
	animation: load6 1.7s infinite ease, round 1.7s infinite ease;
}

@-webkit-keyframes load6 {
	0% {
		box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
	}
	5%,
	95% {
		box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
	}
	10%,
	59% {
		box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
	}
	20% {
		box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em;
	}
	38% {
		box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em;
	}
	100% {
		box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
	}
}
@keyframes load6 {
	0% {
		box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
	}
	5%,
	95% {
		box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
	}
	10%,
	59% {
		box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
	}
	20% {
		box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em;
	}
	38% {
		box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em;
	}
	100% {
		box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
	}
}
@-webkit-keyframes round {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}
@keyframes round {
	0% {
	  -webkit-transform: rotate(0deg);
	  transform: rotate(0deg);
	}
	100% {
	  -webkit-transform: rotate(360deg);
	  transform: rotate(360deg);
	}
}

.loading .message {
	text-align: center;
	font-size: 1.25rem;
	color: #6c757d;
}