@charset "UTF-8";
/* debug */

pre {
	overflow: visible;
	padding: 60px 0 0;
}

@media print {
    .col-lg-12-print {
        width: 100%;	
    }

	@page {
		size: landscape;
	}
}

/*--- common ---*/

:root {
	--bs-custom-primary: #003366;
	--bs-custom-primary-hover: #115497;
	--bs-custom-secondary: #d5c16b;
	--bs-custom-secondary-hover: #e8dca4;
	--bs-gray-1: #9d9a9a;
}

::-webkit-scrollbar {
	width: 5px;
	height: 5px;
}

::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, 0.2);
	border-radius: 50px;
}

::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.1);
}

html {
	visibility: hidden;
}

html.wf-active {
	visibility: visible;
}

body {
	font-family: toppan-bunkyu-mincho-pr6n, "Yu Gothic", YuGothic, "Hiragino Sans", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif !important;
}

.bg-custom-primary {
	background-color: var(--bs-custom-primary) !important;
}

.text-custom-primary {
	color: var(--bs-custom-primary) !important;
}

.bg-custom-secondary {
	background-color: var(--bs-custom-secondary) !important;
}

label {
	user-select: none;
}

.form-control:focus, .form-select:focus, .form-check-input:focus, button:focus {
	outline: none !important;
	box-shadow: none !important;
}

.fs-7 {
	font-size: 0.9em;
}

.fs-8 {
	font-size: 0.8em;
}

.fs-9 {
	font-size: 0.8em;
}

/*--- nav ---*/

.navbar-light .navbar-toggler {
	border-color: rgba(0, 0, 0, 0);
	outline: none;
}

.navbar-light .navbar-toggler-icon {
	background-image: none;
}

.navbar-toggler-icon {
	position: relative;
	width: 30px;
	height: 20px;
	background: none;
	border: none;
	appearance: none;
	cursor: pointer;
	top: -1px;
}

.navbar-toggler-icon, .navbar-toggler-icon span {
	display: inline-block;
	box-sizing: border-box;
	transition: all ease-in-out 0.2s;
}

.navbar-toggler-icon span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: #fff;
	border-radius: 4px;
}

.navbar-toggler-icon span:nth-of-type(1) {
	top: 0;
}

.navbar-toggler-icon span:nth-of-type(2) {
	top: 50%;
	transform: translateY(-50%);
}

.navbar-toggler-icon span:nth-of-type(2)::after {
	top: 0;
	left: 0;
	content: '';
	position: absolute;
	width: 100%;
	height: 2px;
	background-color: #fff;
	border-radius: 4px;
	opacity: 0;
}

.navbar-toggler-icon span:nth-of-type(3) {
	bottom: 0;
}

#hbg-btn.opened span.navbar-toggler-icon span:nth-of-type(1) {
	transform: translate(50%) scale(0);
}

#hbg-btn.opened span.navbar-toggler-icon span:nth-of-type(2) {
	transform: translateY(-50%) rotate(45deg);
}

#hbg-btn.opened span.navbar-toggler-icon span:nth-of-type(2)::after {
	transform: translateY(-50%) rotate(90deg);
	opacity: 1;
}

#hbg-btn.opened span.navbar-toggler-icon span:nth-of-type(3) {
	transform: translate(-50%) scale(0);
}

.navbar-collapse.show {
	border-top: 1px solid initial;
}

/*--- header ---*/

img.header-logo {
	width: 100%;
	height: 35px;
	display: block;
}

/*--- main ---*/

main {
	padding-top: 60px;
}

/*--- form ---*/

.form-check-label, .form-check-input, .form-select {
	cursor: pointer;
}

.sec-form {
	max-width: 600px;
}

.textarea-custom {
	height: 150px;
	min-height: 100px;
	max-height: 300px;
}

.text-white-50 {
	color: rgba(255, 255, 255, .5);
}

.bg-purple {
	background-color: #6f42c1;
}

/* calendar */

.cld-cell {
	border-bottom: 1px solid #dee2e6 !important;
	border-right: 1px solid #dee2e6 !important;
	position: relative;
}

.cld-cell.cld-cell-off {
	background: #f8f9fa;
}

.cld-cell.cld-cell-hs {
	background: #ffebee;
}

.cld-cell.cld-cell-today {
	background: #cee4ff;
}

.cld-btn {
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	box-sizing: border-box;
	z-index: 99;
	top: 0;
	left: 0;
	cursor: pointer;
}

.cld-icon {
	position: relative;
}

.week-0 {
	color: var(--bs-danger);
}

.week-6 {
	color: var(--bs-primary);
}

.week-off {
	color: var(--bs-gray-1);
}

.week-0.week-off {
	color: #fd9fa8;
}

.week-6.week-off {
	color: #7caaec;
}

span.hs_square {
	display: inline-block;
	width: 16px;
	height: 16px;
	background: #ffebee;
	line-height: 1;
	border: 1px solid #ccc;
	vertical-align: text-top;
}

/* Button */

.btn {
	transition: all ease .33s;
}

.btn-custom01 {
	color: #fff;
	background-color: var(--bs-custom-primary);
	border-color: var(--bs-custom-primary);
}

.btn-custom01:hover {
	color: #fff;
	background-color: var(--bs-custom-primary-hover);
	border-color: var(--bs-custom-primary-hover);
}

.btn-outline-custom01 {
	color: var(--bs-custom-primary);
	border-color: var(--bs-custom-primary);
}

.btn-outline-custom01:hover {
	color: #fff;
	background-color: var(--bs-custom-primary-hover);
	border-color: var(--bs-custom-primary-hover);
}

/* Tooltip */

.bs-tooltip-top .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before {
	border-top-color: var(--bs-custom-primary);
}

.tooltip-inner {
	background-color: var(--bs-custom-primary);
}

/* icons */

.bi-circle {
	color: var(--bs-primary);
}

.cld-cell-hs .bi-circle {
	color: var(--bs-danger);
}

.bi-telephone-fill {
	color: var(--bs-green);
}

.bi-triangle {
	color: var(--bs-warning);
}

.bi-x-lg {
	color: var(--bs-danger);
}

.bi-check-circle-fill {
	color: var(--bs-danger);
}

.bi-slash-square {
	color: var(--bs-secondary);
	opacity: 0.3 !important;
}

.bi-check-square-fill {
	color: var(--bs-green);
}

.cld-cell-off .bi-x-lg {
	color: var(--bs-gray-1);
}

/* room */

.swiper-container.room_swp .swiper-slide-active .slide-img, .swiper-container.room_swp .swiper-slide-duplicate-active .slide-img, .swiper-container.room_swp .swiper-slide-prev .slide-img {
	animation: none;
}

.swiper-container.room_swp .slide-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	user-select: none;
}

.swiper-button-prev.swiper-custom-button, .swiper-button-next.swiper-custom-button {
	z-index: 999;
	color: #fff;
	height: 100%;
	top: 0;
	margin: 0;
	width: 10%;
	max-width: 70px;
}

.swiper-button-prev.swiper-custom-button {
	left: 0;
}

.swiper-button-next.swiper-custom-button {
	right: 0;
}

.swiper-button-prev.swiper-custom-button:focus, .swiper-button-next.swiper-custom-button:focus {
	outline: none;
}

.swiper-button-next:after, .swiper-button-prev:after {
	font-size: 30px;
	text-shadow: 0 2px 5px rgb(0 0 0 / 70%);
}

.swiper-button-next.swiper-custom-button.swiper-button-disabled, .swiper-button-prev.swiper-custom-button.swiper-button-disabled {
	pointer-events: visible;
}

.swiper-pagination-bullet {
	width: 20px;
	height: 20px;
	text-align: center;
	line-height: 20px;
	font-size: 12px;
	color: #000;
	background: #fff;
	margin: 0px 4px;
	opacity: 0.6;
}

.swiper-pagination-bullet:focus {
	outline: none;
}

.swiper-pagination {
	bottom: 10px;
	width: 100%;
}

.swiper-pagination-bullet-active {
	color: #fff;
	background: #003366;
	opacity: 1;
}

.lightbox .lb-image {
	user-select: none;
}

main {
	background-image: url(../images/common/bg01.png);
}

.dlist {
	margin-bottom: 0 !important;
}

.dlist dd {
	margin-bottom: 0 !important;
}

/* inventory system */

.category-dropdown {
	overflow: hidden !important; 
	overflow-y: auto !important;
	max-height: 300px;
  }

.modal-dialog{
    overflow-y: initial !important
}
.modal-body{
    overflow: hidden;
	overflow-y: auto;
	max-height: calc(100vh - 150px);
}

input[type='checkbox'] {
    -webkit-appearance:none;
    width:20px;
    height:20px;
    background:white;
    border-radius:5px;
}

th, td {
	vertical-align: middle;
	text-align:center;
}

.square-input {
    width: 70px; 
}

.table-wrapper {
	overflow-x: auto;
	max-height:59vh;
}

.table-wrapper table {
	border-collapse: collapse;
	width: 100%;
}

.table-wrapper thead {
	position: sticky;
	top:-1%;
	background-color: #fff; 
	z-index: 1;
}

.shortenName {
    max-width: 180px; 
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
	text-align: left; 
	padding-left: 10px !important;
}

a.disabled {
	pointer-events: none;
	cursor: default;
}

.truncate {
    display: inline-block;
	vertical-align: middle;
	margin-bottom: 2px;
    max-width: 56px; 
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#log_bg_mark,
#log_sm_mark {
	display: inline-block;
	vertical-align: middle;
    max-width: 80px; 
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pagination {
	display: inline-block;
}

.pagination a {
	color: black;
	float: left;
	padding: 8px 16px;
	text-decoration: none;
	border-radius: 5px;
	border: 1px solid #ddd;
}

.pagination a.active {
	background-color: var(--bs-primary);
	color: white;
	border-radius: 5px;
}
  
.pagination a:hover:not(.active) {
	background-color: #ddd;
}

.pagination a:hover {
	cursor: pointer;
}

.record-table {
	table-layout: fixed; 
	width:100%;
	border: double lightgray;
}

#categoryColor::-webkit-color-swatch {
	border: solid 1px lightgrey;
	border-radius: 2px;
}

.tab-pane {
    display: block;
    height: 0;
    overflow: hidden;
}

.tab-pane.show {
    display: block;
    height: auto;
    overflow: auto;
}

.loader {
	width: 50px;
	padding: 8px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--bs-primary);
	--_m: 
	  conic-gradient(#0000 10%,#000),
	  linear-gradient(#000 0 0) content-box;
	-webkit-mask: var(--_m);
			mask: var(--_m);
	-webkit-mask-composite: source-out;
			mask-composite: subtract;
	animation: l3 1s infinite linear;
}
@keyframes l3 {
	to{transform: rotate(1turn)}
}

.modal-custom {
    --bs-modal-width: 350px;
}

.show-dropdowns,
.show-dropdowns .dropdown {
   position: static;
}

.sort {
	cursor: pointer;
}

.customCategory {
	height: 30px;
	margin: 1px;
	text-align: center;
}

.customCategoryText {
	margin: 0 auto;
    padding: 0 5px;
	max-width: 85px; 
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#staffSched:disabled {
	background-color: white;
}

.flatpickr-calendar {
	z-index: 10000 !important;
}

.bg-blue {
	background-color: #d4e0fa;
}