@charset "utf-8";
/* CSS Document */

html {
	height:100%;
	width:100%;
	scroll-behavior: smooth;
}
* html div#container {
	height: 100%;
}
body > #container {
	height: auto;
}
body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
}
div#container {
	float: none;
	margin:0 auto;
	padding: 0;
	position:relative;
	min-height: 100%;
	width: 100%;
	display: inline-block;
}

a,
header + nav ul li dl dt,
.page-link,
.page-item.active .page-link {
	color: #5b9bd5;
}
a:hover,
header + nav ul li dl dt:hover,
.btn:hover,
header dl dt:hover,
.page-link:hover,
.page-item.active .page-link:hover {
	color: #5b9bd5 !important;
	opacity: 0.7;
}

.btn {
	border: 1px solid #5b9bd5;
	color: #5b9bd5;
	background-color: #fff;
	border-radius: .5rem;
}
.btn,
.modal-footer .btn.submit {
	min-width: 100px;
} 
.btn:hover {
	color: #5b9bd5 !important;
}

.btn.search,
.btn.active,
.btn.submit {
	background-color: #5b9bd5;
	color: #fff;
	border-color: #5b9bd5;
}
.btn.search,
.btn.clear,
.btn.submit {
	min-width: 150px;
}
table .btn.submit {
	min-width: auto;
}
.btn.search:hover,
.btn.active:hover,
.btn.submit:hover,
.btn.btn-danger:hover,
.btn.payment_submit:hover {
	color: #fff !important;
}
.btn.koshin_submit:hover {
	color: #7dad19 !important;
}
.btn.btn-secondary {
	background-color: #6c757d;
	border-color: #6c757d;
}
.btn.btn-danger {
	background-color: #dc3545;
	border-color: #dc3545;
	color: #fff;
}
.btn.btn.koshin_submit {
	background-color: #7dad19;
	border-color: #7dad19;
	color: #fff;
}
.btn.payment_submit {
	background-color: #28a745 !important;
	border-color: #28a745 !important;
	color: #fff;
}

.btn.sort_button,
.btn.sort_button:hover {
	background-color: #fff;
	color: #5b9bd5 !important;
	min-width: auto;
}
.btn.back:hover {
	background-color: #f5f5f5;
}

.btn.list_button {
	background: none;
	color: #5b9bd5;
	border-radius: 0;
}

.btn.list_button_check {
	background: none;
	color: #28a745;
	border-radius: 0;
}

.btn.list_button:hover {
	color: #5b9bd5 !important;
}

.btn.list_button_check:hover {
	color: #28a745 !important;
}

.btn.regist {
	background-color: #fd7e00;
	color: #fff !important;
	border: none;
	min-width: 150px;
}

.btn.add {
	background-color: #59c0f7;
	color: #fff !important;
}

.monthly_sales button {
	width: 125px;
}

.btn img {
	height: 1.2em;
	vertical-align: middle;
	margin-top: -0.3rem;
}

header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 2;
	background-color: #59c0f7;
}
header h1 img {
	width: 120px;
}
header dl,
header dl dt,
header dl dd,
header + nav dl,
header + nav dl dt,
header + nav dl dd  {
	margin: 0;
	padding: 0;
}
header dl,
header + nav dl {
	position: relative;
}
header dl dt,
header dl dt:hover {
	color: #fff !important;
	cursor: pointer;
	font-weight: normal;
}
header dl dd,
header + nav dl dd {
	position: absolute;
	min-width: 100%;
	visibility: hidden;
    -webkit-transition: all .2s ease;
	transition: all .2s ease;
	z-index: 99999;
}
header dl dd {
	right: 0;
}
header + nav dl dd {
	left: 100%;
	top: 0;
}
header dl dt:hover + dd,
header dl dd:hover,
header + nav dl dt:hover + dd,
header + nav dl dd:hover {
	opacity: 1;
	visibility: visible;
}
header dl dd ul,
header + nav dl dd ul {
	border: 1px solid rgba(0,0,0,.15);
	padding: 5px 0;
	background-color: #fff;
}

header + nav {
	position: fixed;
	bottom: 0;
	left: 0;
	width: -webkit-calc(30px + 2rem);
	width: calc(30px + 2rem);
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background-color: #f1fafe;
}
header + nav ul {
	margin: 10px 0 -5px 0;
}
header + nav ul li {
	margin-bottom: 5px;
}
header + nav a,
header + nav ul li dl dt {
	padding: 0.5rem 0;
	display: block;
	cursor: pointer;
	text-align: center;
	font-size: 60%;
	font-weight: normal;
}
header + nav a:hover,
header + nav ul li dl dt:hover {
	text-decoration: none;
}
header + nav a i,
header + nav ul li dl dt i {
	font-size: 1.6rem;
	vertical-align: bottom;
	display: block !important;
}
header + nav ul li dl dd ul,
header + nav ul li dl dd ul li {
	margin: 0;
}
header + nav ul li dl dd ul li a {
	font-size: 100%;
}

main {
	z-index: 0;
	margin-left: -webkit-calc(30px + 2rem);
	margin-left: calc(30px + 2rem);
}

.breadcrumb {
	background-color: #f4f4f4;
	width: calc(100% + 1rem);
}
.breadcrumb li:after {
	content: "＞";
	margin: 0 5px;
	color: #5b9bd5;
}
.breadcrumb li:last-child:after {
	display: none;
}

main h2 {
	border-left: 5px solid #5b9bd5;
}

section h3 {
	border-left: 3px solid #5b9bd5;
	position: relative;
}
section h3:after {
	content: "";
	position: absolute;
	bottom: 0;
	height: 1px;
	left: 0;
	right: 0;
	background-color: #dee2e6;
}

.nav-tabs .nav-item a.nav-link,
.nav-tabs .nav-item a.nav-link:hover {
	color: #888 !important;
}
.nav-tabs .nav-item a.nav-link.active,
.nav-tabs .nav-item a.nav-link.active:hover {
	color: #495057 !important;
}
.nav-tabs .nav-item img,
.nav-tabs .nav-item i {
	vertical-align: middle;
	margin-top: -.25rem;
	margin-right: 5px;
}
.nav-tabs .nav-item img {
	height: 1.5rem;
}
.nav-tabs .nav-item i {
	color: #888 !important;
	font-size: 1.5rem;
}
.nav-tabs .nav-item .number {
	display: inline-block;
	vertical-align: super;
	margin-left: .75rem;
	position: relative;
	font-size: 80%;
	color: #fff;
	text-align: center;
	margin-top: -7px;
}
.nav-tabs .nav-item .number span {
	position: relative;
	z-index: 1;
}
.nav-tabs .nav-item .number:before {
	content: "";
	position: absolute;
	z-index: 0;
	display: block;
	background-color: #dc3545;
	width: 1.3rem;
	height: 1.3rem;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border-radius: 100%;
}

.check {
	position: relative;
}
.check:after {
	content: "";
	display: block;
	position: absolute;
	width: 1.3em;
	height: 1.3em;
	border: 2px solid #dc3545;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border-radius: 100%;
	box-sizing: border-box;
}
.text-danger.check:after {
	border: 2px solid #dc3545;
}
.text-black-50.check:after {
	border: 2px solid rgba(0,0,0,.5);
}

section.block,
section.search {
	background-color: #F5F9FC;
}

form {
	display: inline;
}

textarea.form-control {
	height: 150px;
}

.search_display dt .hide,
.search_display dt .show {
	display: inline-block;
	cursor: pointer;
	color: #aaa;
}


.bootstrap-datetimepicker-widget {
	padding: 0 !important;
}
.bootstrap-datetimepicker-widget table,
.bootstrap-datetimepicker-widget p,
.bootstrap-datetimepicker-widget div,
.bootstrap-datetimepicker-widget ul,
.bootstrap-datetimepicker-widget ul li {
	margin: 0 !important;
}
.bootstrap-datetimepicker-widget table th,
.bootstrap-datetimepicker-widget table td {
	border: none !important;
	text-align: center !important;
	vertical-align: middle !important;
}
.bootstrap-datetimepicker-widget table th.prev,
.bootstrap-datetimepicker-widget table th.next,
.bootstrap-datetimepicker-widget table tbody td {
	cursor: pointer;
}
.datepicker-days th.dow:first-child,
.datepicker-days td:first-child {
	color: #dc3545 !important;
}
.datepicker-days th.dow:last-child,
.datepicker-days td:last-child {
	color: #007bff !important;
}
.bootstrap-datetimepicker-widget table tbody tr td.old,
.bootstrap-datetimepicker-widget table tbody tr td.new {
	opacity: 0.5;
}
.bootstrap-datetimepicker-widget a.btn {
	min-width: auto;
	margin: 0;
	padding: 0;
}
table.mouseover .bootstrap-datetimepicker-widget tr th,
table.mouseover .bootstrap-datetimepicker-widget tr td,
table.mouseover .bootstrap-datetimepicker-widget tr:hover th,
table.mouseover .bootstrap-datetimepicker-widget tr:hover td,
table.mouseover tr:not(.no_link):hover .bootstrap-datetimepicker-widget th,
table.mouseover tr:not(.no_link):hover .bootstrap-datetimepicker-widget td {
	background: none;
}
table.mouseover th .bootstrap-datetimepicker-widget tr td {
	font-weight: normal;
}

.list-scrol {
	overflow-y: auto;
	position: relative;
	z-index: 0;
}
.list-scrol table thead th {
	position: sticky;
	top: 0;
	border: 1px solid #dee2e6 !important;
	z-index: 1;
}
.list-scrol table thead th:before {
  content: "";
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: -1px;
  right: -1px;
  border: 1px solid #dee2e6;
  z-index: 0;
}
.list-scrol table thead th button,
.list-scrol table thead th input {
	position: relative;
	z-index: 1;
}
.list-scrol table thead td {
	position: relative;
	z-index: 0;
}

.list-scrol_x {
	overflow-x: auto;
	position: relative;
	z-index: 0;
}
.list-scrol_x table thead th {
	position: sticky;
	top: 0;
	border: 1px solid #dee2e6 !important;
	z-index: 1;
}
.list-scrol_x table thead th:before {
  content: "";
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: -1px;
  right: -1px;
  border: 1px solid #dee2e6;
  z-index: 0;
}
.list-scrol_x table thead th button,
.list-scrol_x table thead th input {
	position: relative;
	z-index: 1;
}
.list-scrol_x table thead td {
	position: relative;
	z-index: 0;
}

table.mouseover tbody tr td {
	position: relative;
}
table.mouseover tbody tr:not(.no_link):hover td,
table.list td label {
	cursor: pointer;
}
table.mouseover tbody tr:not(.no_link):hover td {
	background-color: #e7f2ff;
}
table.tr-link tbody tr:not(.no_link) td:not(:first-child):hover:before {
	content: "";
	position: absolute;
	border: 2px solid #007bff;
	top: -1px;
	bottom: -1px;
	left: -1px;
	right: -1px;
}

.page-item {
	vertical-align: baseline;
}
.page-link {
	border: none;
	padding: 0;
	margin: 0 8px;
}
.page-link:hover {
	background: none;
}
.page-item.active .page-link {
	background: none;
	font-size: 130%;
	font-weight: bold;
}
.page-item:first-child .page-link,
.page-item:last-child .page-link {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

.nav-tabs .nav-link {
	position: relative;
}
.nav-tabs .nav-link.active:after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 1rem;
	right: 1rem;
	height: 2px;
	display: block;
	background-color: #59c0f7;
}

.switch {
	opacity: 0;
	cursor: pointer;
	width: 0;
	height: 0;
}
.switch + label {
	display: block;
	width: 2.25em;
	height: 1.2em;
	background-color: #ddd;
	cursor: pointer;
	border-radius: 1.5em;
	position: relative;
	transition: all 0.3s;
	margin: 0;
}
.switch:checked + label {
	background-color: #5b9bd5;
}
.switch + label:before {
	content: "";
	position: absolute;
	height: calc(1.2em - 2px);
	width: calc(1.2em - 2px);
	background-color: #fff;
	box-sizing: border-box;
	top: 1px;
	left: 1px;
	border-radius: 1.5em;
}
.switch:checked + label:before {
	left: auto;
	right: 1px;
}

.list-head {
	background-color: #b8daff;
	border-color: #7abaff;
}

.table th,
tr.total td {
	background-color: #f5f5f5;
}

td.td-button {
	position: relative;
}
td.td-button a,
td.td-button button {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 100%;
}

.sort_button {
	position: relative;
	text-align: center;
}
.sort_button i {
	opacity: 0.5;
	display: block;
	margin-top: -0.15rem;
}
.small .sort_button i {
	font-size: 80%;
}
.sort_button:hover i,
.sort_button .date i {
	opacity: 1;
}
.sort_button button,
.list-scrol table thead th.sort_button button {
	position: absolute;
	border: none;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: none;
	width: 100%;
	z-index: 0;
	padding: 0;
}
.list-scrol_x table thead th.sort_button button {
	position: absolute;
	border: none;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: none;
	width: 100%;
	z-index: 0;
	padding: 0;
}
.sort_button button.submit {
	position: static;
	width: auto;
}

.lead i {
	font-size: 2rem;
	display: block;
}
.lead a:hover {
	text-decoration: none;
}

.small i {
	font-size: 80%;
}
.small input[type="text"],
.small input[type="button"],
.small input[type="submit"],
.small button,
.small select {
	font-size: 100%;
	line-height: normal;
}
.list.small input[type="text"],
.list.small select {
	height: calc(1em + .75rem + 2px);
}
.list.small input[type="text"],
.list.small select,
.list.small .input-group-text {
	padding-top: 0;
	padding-bottom: 0;
}

table.list th,
table.list td {
	padding: 3px;
	font-size: 90%;
}

.modal-max {
	width: 98%;
	max-width: none;
}

.modal-header-h2 {
	border-left: 5px solid #5b9bd5;
	padding-left: 0.5rem!important;
}

.modal-footer-2 {
	border-top: 0px;
}

.modal-content-2 {
	width: 50%
}

.list-scrol {
  overflow-x: auto;
  white-space: nowrap;
}
.list-scrol_x {
  overflow-x: auto;
  white-space: nowrap;
}
p.disp-title {
  margin-top: 10px;
  margin-bottom: 0;
}

label, input[type='checkbox'] {
    cursor: pointer;
}

label, input[type='radio'] {
    cursor: pointer;
}
