/* common */
:root {
	/* color */
	--primary-color: #40444F;
	--primary-bg: #F0F0F0;
	--primary-button-color: #2A98E1;
	--gray-button-color: #F2F4F6;
	--gray-border-color: #C5C6C7;
	--disabled-bg: #F9FAFB;
	--disabled-color: #B2B4B8;

	/* font */
	--primary-font-size: 16px;
	--large-font-size: 13px;
	--font-size: 12px;
	--primary-font: 'Noto Sans JP';

	/* height */
	--header-height: 55px;
	--height-bottom: 134px;
	--min-width-screen-large: 1243px;
}
*,
::before,
::after {
	box-sizing: border-box;
}
img {
	max-height: 100%;
}
body {
	padding: 0;
	font-family: var(--primary-font) !important;
	color: var(--primary-color) !important;
	background: var(--primary-bg);
	overflow: hidden;
	font-size: 14px !important;
}
ul,
li {
	margin: 0;
	padding: 0 !important;
	list-style: none;
}
a {
	text-decoration: none !important;
}
button {
	font-size: 15px !important;
}
select:disabled{
	background-color: var(--disabled-bg);
}
.btn__primary {
	background-color: var(--primary-button-color) !important;
	color: white !important;
	padding-top: 0px !important;
    padding-bottom: 0px !important;
	min-height: 24.5px;
}
.btn__primary--large {
	height: 40px !important;
	font-size: 16px !important;
}
.btn__gray {
	background-color: var(--gray-button-color) !important;
	border: 1px solid var(--gray-border-color) !important;
	padding-top: 0px !important;
    padding-bottom: 0px !important;
}
.btn__gray--large {
	border: 1px solid #DBE0E6 !important;
    font-weight: 600 !important;
    color: var(--primary-color) !important;
    font-size: 16px !important;
	height: 40px;
	background-color: #F2F4F6 !important;
}
.btn__cancel {
	padding-top: 0px !important;
    padding-bottom: 0px !important;
	min-height: 24.5px;
	color: #fff !important;
    background-color: #6c757d !important;
    border-color: #6c757d !important;
}
.btn__torikeshi {
    background-color: var(--gray-button-color) !important;
    border: 1px solid var(--gray-border-color) !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    color: #D00101 !important;
    font-weight: bold !important;
    background: #f0f0f0;
}
/* background */
.bg__blue--light {
	background-color: #E5F0F9;
}
.weekend-saturday__bg {
    background-color: #FFE7E7;
}
.weekend-sunday__bg {
    background-color: #D2EAFB;
}
.bg__gray--td {
	background-color: #E8E8E8;
}
.bg__graylight--td {
	background-color: #F4F4F4;
}
.bg__primary {
	background-color: var(--primary-button-color) !important;
}
/* end background */
/* dimension */
.max-w-500px {
	max-width: 500px;
}
.max-w-700px {
	max-width: 700px;
}
.min-w-90px {
	min-width: 90px;
}
.min-w-120px {
	min-width: 120px;
}
/* end dimension */
#main {
	color: black;
	font-size: var(--large-font-size);
}
.main__wrapper {
	padding: 30px;
}
/* control */
input:disabled, 
button:disabled, 
textarea:disabled,
select:disabled {
    background-color: #D0D0D0 !important;
	cursor: not-allowed !important;
	pointer-events: auto !important;
}
input, select{
	height: 30px;
}
input, .textarea_ct, select {
    width: 100%;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    padding: 0px 3px;
	outline: none;
}
.input__lg {
	height: 40px;
	width: 210px;
	padding: 0px 10px;
}
.input__number {
	width: 70px;
}
.group__checkbox {
    display: flex;
    align-items: center;
}
[type=checkbox] {
    width: 15px;
    height: 15px;
    margin-right: 3px;
}
/* end control */
/* table */
table {
    width: 100%;
}
.table__separate {
	border-collapse: separate;
	border-spacing: 0px 5px !important;
}

.table__separate th,
.table__separate td:not(:last-child) {
	border-right: none !important;
}
table:not(.sticky-table) th, table:not(.sticky-table) td {
    border: 1px solid #C5C6C7;
    padding: 3px;
	font-weight: 500;
	vertical-align: middle;
}
table:not(.sticky-table) th {
    text-align: center;
}
.table__main table:not(.sticky-table) th {
	box-shadow: inset 0 1px 0 #C5C6C7, inset 0 -1px 0 #C5C6C7;
    border-top: none !important;
    border-bottom: none !important;
}
.table__main tbody tr:first-child td {
    border-top: none !important;
}
table tr, .frame_component {
	height: 36px !important;
	min-height: 36px;
}
table tr.active {
	background-color: var(--primary-button-color);
	color: white;
	cursor: pointer;
}
table tr.active td {
	color: white !important;
}
table td, .frame_component>div {
	padding: 3px;
}
table th.title, .frame_component .label__title {
	border: 1px solid #C5C6C7;
    background: #F2F4F6;
	font-weight: 600;
}
table th.title__light, .frame_component .lable__title--light {
    background: #F8F9FA;
}
.table__main td {
	text-align: left;
}
.table__main {
	height: calc(100% - 255px);
}
.table__wrapper {
	height: 100%;
	overflow: auto;
	padding-bottom: 1px;
    max-width: 100%;
}
.table__fs tr {
	height: 24px !important;
    min-height: 24px !important;
}
.table__fs td,
.table__fs th {
	padding: 1px 3px !important;
}
.table__fs button {
	height: 20px;
    min-height: auto;
    font-size: 11px !important;
    min-width: 40px;
    padding: 0px 5px;
	vertical-align: bottom;
	display: flex;
	justify-content: center;
}
table.table__fs input[type=text], 
table.table__fs select {
	height: 21px;
}
.table__main table.table__fs input[type=text], 
.table__main table.table__fs table.table__fs select {
	height: 20px;
}
.table__bd {
	border-right: 1px solid #C5C6C7;
	display: table;
	width: 100%;
}
.screen__large .table__wrapper {
	overflow-x: auto;
}
.table__main th, .table__main td {
	border-top: none;
	border-right: none;
}
.table__main table {
    border-collapse: collapse!important;
	border-spacing: 0;
}
.table__wrapper thead {
	position: sticky;
	top: 0;
}
.table__fs--large {
	font-size: var(--font-size);
}
.screen__large .table__main, .screen__large .group__table {
	min-width: var(--min-width-screen-large);
}
.screen__large .group__table table {
	height: 100%;
}
.status__bg--yellow {
    background-color: #FEFD86;
}
.status__bg--gray {
    background-color: #D0D0D0;
}
.status__bg--graylight {
    background-color: #F0F0F0;
}
.status__bg--green {
    background-color: #82FE81;
}
.status__bg--pink {
    background-color: #FF81FE;
}
/* sortable */
.sortable {
	cursor: pointer;
	position: relative;
}
.sortable[data-sort=asc] .fa-sort-up,
.sortable[data-sort=desc] .fa-sort-down {
	display: inline !important;
    vertical-align: middle;
	position: absolute;
	right: 3px;
}
.sortable[data-sort=asc] .fa-sort-up {
	margin-top: 5px;
}
.sortable i {
	margin-left: 3px;
}
.grd_resize th {
	position: relative;
}
.grd_resize .bd__resize {
	position: absolute;
    background: #b5b5b5;
    width: 3px;
    height: 100%;
    top: 0px;
	right: 0px;
	cursor: e-resize;
	opacity: 0;
	transition: 0.3s all;
	border: none;
    padding: 0px;
	min-width: auto;
}
.grd_resize:not(:has(tbody td)) .bd__resize {
	display: none;
}
.grd_resize .bd__resize.dragging {
	cursor: pointer !important;
}
.grd_resize .bd__resize.resizable,
.grd_resize .bd__resize:hover {
	opacity: 1;
}
.table__clickable tr {
	cursor: pointer;
}
/* end table */
/* end common */
/* loader */
#loading {
	width: 100vw;
	height: 100vh;
	transition: all 1s;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	background: rgba(0, 0, 0, 0.5);
}

.loader {
	color: var(--first-color);
	font-size: 15px;
	width: 1em;
	height: 1em;
	border-radius: 50%;
	position: relative;
	text-indent: -9999em;
	margin: 50vh auto;
	animation: mulShdSpin 1.3s infinite linear;
	transform: translateZ(0);
}

@keyframes mulShdSpin {

	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;
	}
}
/* end loader */
/* scroll */
.table__wrapper::-webkit-scrollbar,
.modal-dialog-scrollable .modal-body::-webkit-scrollbar {
    width: 5px; 
	height: 10px;
}

.table__wrapper::-webkit-scrollbar-thumb, 
.group__top::-webkit-scrollbar-thumb,
.group__bottom::-webkit-scrollbar-thumb,
.modal-dialog-scrollable .modal-body::-webkit-scrollbar-thumb {
    background-color: #888; 
    border-radius: 5px;
}

.table__wrapper::-webkit-scrollbar-thumb:hover, 
.group__top::-webkit-scrollbar-thumb:hover,
.group__bottom::-webkit-scrollbar-thumb:hover,
.modal-dialog-scrollable .modal-body::-webkit-scrollbar-thumb:hover {
    background-color: #555; 
}

.table__wrapper::-webkit-scrollbar-track, 
.group__top::-webkit-scrollbar-track, 
.group__bottom::-webkit-scrollbar-track,
.modal-dialog-scrollable .modal-body::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}
.group__top::-webkit-scrollbar, 
.group__bottom::-webkit-scrollbar {
    height: 10px;
	width: 5px;
}
/* end scroll */
/* header */
#header {
	background: #40444F;
	height: var(--header-height);
}
.header__wrapper {
	padding: 10px 20px;
	height: 100%;
	display: flex;
	justify-content: space-between;
}
.header__wrapper b {
	display: flex;
}
.header__wrapper .title {
	margin-left: 20px;
	color: white;
	display: flex;
	align-items: center;
	font-size: 16px;
	margin-right: 60px;
}
.header__wrapper b {
	display: flex;
}
.header__wrapper .title b {
	text-wrap: nowrap;
}
.header__wrapper a.logo__icon {
	display: flex;
    height: 100%;
	max-width: 70px;
}
.title__header {
	display: none;
}
.header__wrapper .menu-icon {
	width: 50px;
	height: var(--header-height);
	position: absolute;
	right: 20px;
	top: 0px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	cursor: pointer;
	background: white;
	border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
	box-shadow: -1px -1px 7px 0px #b9b9b9;
}
.header__wrapper .bar {
	width: 80%;
	margin-left: 10%;
	height: 2px;
	background-color: #333;
}
.header__wrapper .bar:first-child {
	margin-top: 17px;
}
.header__wrapper .bar:last-child {
	margin-bottom: 17px;
}
#menu-header {
    min-height: 100px;
    max-height: calc(100vh - var(--header-height));
    bottom: auto;
    height: auto;
}
#menu-header .offcanvas-body {
	padding: 30px 50px 20px;
	height: 100%;
	min-height: 100px;
	max-height: calc(100vh - var(--header-height) - 1px);
}
#menu-header .menu-top {
	gap: 5px;
}
#menu-header .menu-top, #menu-header .menu-bottom {
	display: flex;
	flex-wrap: wrap;
}
#menu-header .menu-top__pc> div {
	flex-basis: calc(100% / 7 - 5px);
}
#menu-header .menu-top__pc> div:nth-child(n+8) {
	flex-basis: calc(100% / 6 - 5px) !important;
}
#menu-header .menu-top__ip> div {
	flex-basis: calc(100% / 4 - 5px);
}
#menu-header .menu-bottom {
	gap: 10px;
}
#menu-header .content> div {
	flex-basis: calc(100% / 5 - 8px);
}
#menu-header .menu-item {
	text-align: center;
	background: #D9D9D9;
	padding: 7x 5px;
	display: block;
	color: inherit;
	height: 100%;
	transition: all 0.3s;
	cursor: pointer;
	display: flex;
    flex-direction: column;
    justify-content: center;
}
#menu-header .menu-top .menu-item {
	height: 70px;
	border: 1px solid #BFBFBF;
	text-decoration: none !important;
}
#menu-header .menu-item  i {
	font-size: 20px;
	transition: all 0.1s;
}
#menu-header .menu-item div {
	font-weight: 500;
    font-size: 18px;
	font-weight: 600;
}
#menu-header .menu-item.active, #menu-header .menu-item:hover {
	background: #558ED5 !important; 
	color: white;
}
#menu-header .menu-bottom .menu-item {
	font-size: 18px;
	border-radius: 5px;
	background: #DCE6F2;
	border: 1px solid #E1E5EA;
	padding: 12px 5px;
	font-weight: 600;
	display: flex;
	justify-content: center;
	align-items: center;
	text-decoration: none !important;
}
#menu-header .menu-icon {
	top: auto;
    bottom: -55px;
    box-shadow: none;
}
fieldset.group__menu {
	width: 100%;
    border: 1px groove #ddd !important;
    -webkit-box-shadow:  0px 0px 0px 0px #000;
            box-shadow:  0px 0px 0px 0px #000;
}
fieldset.group__menu:not(:last-child) {
	margin-bottom: 10px;
}

fieldset.group__menu legend {
	font-size: 1rem;
	font-weight: bold;
	margin-top: -15px;
    background: white;
    display: inline-block;
    width: auto;
    padding: 0px 10px 0px 5px;
}
fieldset.group__menu .content {
	padding: 0px 10px 10px 10px;
	display: flex;
	flex-wrap: wrap;
    gap: 10px;
}
/* end header */
/* content main */
#main {
	height: calc(100vh - var(--header-height));
	overflow-y: auto;
}
.screen__large {
    height: 100%;
}
.main__fixed {
	height: 100%;
}
.main__fixed .main__wrapper {
	height: 100%;
	display: flex;
	justify-content: space-between;
	flex-direction: column;
}
.main__fixed .main__wrapper .group__top {
	height: 100%;
}
.screen__large .main__wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
	padding: 0px;
}
.screen__large .group__top {
    height: calc(100% - var(--height-bottom));
    overflow: auto;
}
.group__bottom {
    border-top: 1px solid #C5C6C7;
    background: white;
	overflow-x: auto;
	overflow-y: hidden;
}
.screen__large .group__bottom table button {
    width: 90px;
}
.screen__large .group__bottom input:not([type="radio"]) {
    width: 200px;
    background: #FFFEEB;
    text-align: center;
    font-weight: bold;
}
.screen__large .group__bottom input[type=checkbox] {
	width: auto;
}
.screen__large .group__bottom .group__button button {
    width: 100px;
}
.title__table, .title__main {
	font-size: 18px;
	margin-bottom: 0.5rem;
}
/* end content main */
/* tabs control */
.custome-navtabs .nav-item {
	margin-left: 0.25rem !important;
}
.custome-navtabs .nav-item:first-child {
    margin-left: 1rem !important;
}
.custome-navtabs .nav-link {
	background-color: #d6d6d6 !important;
	border-color: #717171 #717171 transparent !important;
	color: var(--disabled-color) !important;
	min-width: 100px;
	border-radius: 0px !important;
}
.custome-navtabs .nav-link.active {
	background-color: var(--primary-button-color) !important;
	color: #000 !important;
	background-color: white !important;
}
.custome-contenttab.tab-content {
	height: calc(100% - 40px);
	border: 1px solid #717171;
	padding: 1rem;
}
.custome-contenttab.tab-content .tab-pane {
	height: 100%;
}
/* end tabs control */
/* modal */
.custome_model .modal-title {
	font-size: 18px;
}
.modal__full {
	max-width: unset !important;
    margin: 0px 1rem !important;
	height: 100% !important;
}
.modal__full .modal-content {
	height: 98%;
}
/* end modal */

/* for datepicker */
.ui-datepicker {
	z-index: 10000 !important;
}
#date {
	width: 150px;
	outline: none;
	border: 1px solid #aaa;
	padding: 6px 28px;
	color: #aaa;
}
.date-container {
	position: relative;
}
.date-container .date-text {
	position: absolute;
	top: 6px;
	left: 12px;
	color: #aaa;
}
.date-container .date-icon {
	position: absolute;
	top: 10px;
	right: 10px;
   /* pointer-events: none;
	*/
	cursor: pointer;
	color: #aaa;
}
.custome__datepicker, 
.custome__datetimepicker,
.custome__yearmonthpicker {
	position: relative;
	width: 100%;
}
.custome__datepicker .icon, 
.custome__datetimepicker .icon,
.custome__yearmonthpicker .icon {
	position: absolute;
	right: 10px;
	color: #aaa;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
}
.ui_tpicker_time_label {
	display: none;
}
.ui_tpicker_time  {
	display: none;
}

.month-year-picker table.ui-datepicker-calendar {
    display: none!important;
}
/* end datepicker */
/* pagination */
#pagination__table {
	margin: 10px 0px;
	display: flex;
    justify-content: center;
}
#pagination__table ul {
	margin-bottom: 0px;
}
#pagination__table .page-item .page-link {
    color: var(--primary-button-color);
    cursor: pointer;
}
#pagination__table .page-item.no-click .page-link {
    background: #c5c5c5;
    border: 1px solid #c5c5c5;
    cursor: not-allowed;
    color: #fff !important;
    cursor: not-allowed;
}
#pagination__table .page-item.active .page-link {
    background-color: var(--primary-button-color);
    border-color: var(--primary-button-color);
    color: white;
}
/* end pagination */
