/*----------------------------------------

共通

----------------------------------------*/
.w-5 {
	width: 5%;
}

.w-6 {
	width: 6%;
}

.w-9 {
	width: 9%;
}

.w-10 {
	width: 10%;
}

.w-12 {
	width: 12%;
}

.w-15 {
	width: 15%;
}

.w-18 {
	width: 18%;
}

.w-20 {
	width: 20%;
}

.w-30 {
	width: 30%;
}

.w-40 {
	width: 40%;
}

.none {
	display: none;
}


.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
	color: #fff;
	background-color: #b28b67;
	border-radius: 4px;
	transition: background-color 0.3s ease;
}

.nav-pills .nav-link:not(.active):hover {
	color: #8c6a4f;
	background-color: #e8d8c3;
	border-radius: 4px;
}

a {
	color: #b28b67;
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover {
	color: #8c6a4f;
}

/* 水平垂直中央揃え */
.flex-center-center {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

/* PC非表示、SP表示*/
.spon {
	display: none;
	padding: 0;
}

.md-spon {
	display: none !important;
}

.th-spon {
	display: none;
}

.tr-disable {
	background-color: #f2f2f2;
	color: #3b3b3b;
	opacity: 0.7;
}

.bg-disabled {
	background-color: #b6b6b6 !important;
}

.bg-lightblue {
	background-color: #14498d !important;
}

.bg-green {
	background-color: #2a6e0a !important;
}

.bg-yellow {
	background-color: #ffcf01 !important;
}

.swal2-title {
	padding-left: 0.5rem !important;
	text-align: left !important;
}

.text-lg {
	font-size: 2.4rem !important;
}

.server_path {
	position: absolute;
	top: -10000px;
	width: 1px;
	border: none;
	padding: 0;
	margin: 0;
}

.description-block>.description-text {
	font-size: 0.85rem;
	color: #4a4c4e;
}

/* 詳細ボタン */
.btn-text {
	display: inline;
}

.btn-icon {
	display: none;
}



/* 発信リンク無効化 */
/* a[href^="tel:"] {
	pointer-events: none;
} */

/* .main-header.scroll_fixed {
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
} */

.is-invalid>.invalid-feedback {
	display: block;
}


.custom-select.form-control-border,
.form-control.form-control-border {
	font-size: 1.3rem;
	font-weight: 600;
	border-top: 0;
	border-left: 0;
	border-right: 0;
	border-radius: 0;
	box-shadow: inherit;
}

/* カード */
.card-pink {
	border-color: #e83e8c !important;
}

.card-gray:not(.card-outline)>.card-header {
	background-color: #56595d;
}

.btn-orange {
	color: #1f2d3d;
	background-color: #fd7e14;
	border-color: #fd7e14;
	box-shadow: none;
}

.btn-group-toggle .btn-default:nth-child(1) {
	border-bottom: solid 3px #007bff;
}

.btn-group-toggle .btn-default:nth-child(2) {
	border-bottom: solid 3px #fd7e14;
}

.btn-group-toggle .btn-default:nth-child(3) {
	border-bottom: solid 3px #ffc107;
}

.btn-group-toggle .btn-default:nth-child(4) {
	border-bottom: solid 3px #605ca8;
}

.btn-group-toggle .btn-default:nth-child(5) {
	border-bottom: solid 3px #28a745;
}

.btn-group-toggle .btn-default:nth-child(6) {
	border-bottom: solid 3px #17a2b8;
}

.btn-group-toggle .btn-default:nth-child(1).active {
	background-color: #007bff;
	border-color: #007bff;
}

.btn-group-toggle .btn-default:nth-child(2).active {
	background-color: #fd7e14;
	border-color: #fd7e14;
}

.btn-group-toggle .btn-default:nth-child(3).active {
	background-color: #ffc107;
	border-color: #ffc107;
}

.btn-group-toggle .btn-default:nth-child(4).active {
	background-color: #605ca8;
	border-color: #605ca8;
}

.btn-group-toggle .btn-default:nth-child(5).active {
	background-color: #28a745;
	border-color: #28a745;
}

.btn-group-toggle .btn-default:nth-child(6).active {
	background-color: #17a2b8;
	border-color: #17a2b8;
}

/*--navbar--*/
.brand-link {
	font-size: 1.1rem;
	/* text-align: center; */
	border-bottom: 1px solid #c9c8c8;
	padding: .9rem 1.5rem .8rem 1rem;
}

.brand-link>img {
	width: 28px;
	margin: -3px 3px 0 0;
}

.badge.big {
	font-size: 110%;
}

.user-panel {
	border-bottom: 1px solid #c9c8c8;
}

/* 検索条件表示欄 */
#search_condition_area button {
	pointer-events: none;
}

.btn-condition {
	color: #1f2d3d;
	background-color: #dbdbdb;
	border-color: #dbdbdb;
	box-shadow: none;
}

.nodata-msg {
	padding: 8px 12px;
	font-size: 0.875rem;
	color: #6c757d;
}


.row_other {
	color: #9874d9;
}

.row_cancel {
	background-color: #e2e2e2;
	color: #999999;
}



th {
	text-align: center;
}

.table-bordered tr>*:last-child {
	border-right: none;
}

.table-bordered tr>*:first-child {
	border-left: none;
}

.table-bordered thead th {
	border-bottom-width: 0;
	padding: 5px;
}


#staff_list th,
#member_list th,
#schedule_list th,
#invoice_list th {
	background-color: #d9c2a3;
	color: #6e5f50;
}

table td {
	vertical-align: middle !important;
	text-align: center;
}

table td.center {
	vertical-align: middle !important;
	text-align: center;
}

table tr.center td>p {
	margin-bottom: 0px;
}


/*----------------------------------------
全画面ローディング
----------------------------------------*/
.fullscreen-loading {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}


/*----------------------------------------
顧客・従業員
----------------------------------------*/

#member_list tr.disabled {
	background-color: darkgrey;
}

#member_list td,
#staff_list td {
	padding: .4rem .3rem;
}

.color-box {
	display: inline-block;
	width: 18px;
	height: 18px;
	border-radius: 5px;
	background-color: var(--staff-color);
	vertical-align: middle;
}

#member_list .no {
	width: 20%;
}

#member_list .billing {
	width: 5%;
}

#member_list td.billing {
	font-size: 0.9rem;
}

#member_list .name {
	width: 30%;
}

#member_list td .name-kana {
	font-weight: 400;
	font-size: 0.85rem;
}

#member_list .place {
	width: 45%;
}

#member_list .life-icon {
	font-size: 0.6rem;
	line-height: 1;
	position: relative;
	top: -2px;
}


/*----------------------------------------

顧客・従業員詳細画面 

----------------------------------------*/

/* 顔写真
.photo .face_photo {
	width: 100px;
	height: 120px;
	margin: auto;
} */

.staff_name,
.member_name {
	font-size: clamp(2rem, 3vw, 3rem);
	font-weight: 600;
	padding-bottom: 0;
}

.info-block {
	background: #faf7f2;
	border-radius: 6px;
	padding: 0.5rem 0.75rem;
	margin-bottom: 0.75rem;
}

.info-block p {
	margin: 0.25rem 0;
	/* font-size: 0.9rem; */
	line-height: 1.2;
}

.col-form-label .postal,
.col-form-label .address {
	display: inline;
}

.col-form-label .postal-icon {
	font-size: 1.1rem;
	font-weight: 600;
}

/* デフォルト：1行 */
.status-block.compact .sep-slash {
	display: inline;
}

.status-block.compact .sep-break {
	display: none;
}

/* 日付が入ったら：2行） */
.status-block.stacked .sep-slash {
	display: none;
}

.status-block.stacked .sep-break {
	display: inline;
}


/*----------------------------------------

会員編集画面

----------------------------------------*/


/*----------------------------------------

HOME

----------------------------------------*/
/* 日別の横スクロール領域だけに適用（ページ全体のPtRは維持） */
#daily_schedule .ec-wrapper {
	/* 縦方向のラバーバンド＆PtRを “この領域内だけ” 停止 */
	overscroll-behavior-y: none;

	/* 横方向は親への連鎖を遮断（ページ側にバウンドが伝わらない） */
	overscroll-behavior-x: contain;

	/* 慣性スクロールは維持（iOS） */
	/* -webkit-overflow-scrolling: touch; */
}

/* < 今月/今日 >ボタン */
.input-group {
	--ec-button-border-color: #e8e8e8;
	--ec-button-bg-color: #ffffff;
	--ec-button-active-bg-color: #e8e8e8;
	--ec-button-active-border-color: #b6b6b6;
}

/* 重複防止 */
.ec-button-group .ec-prev {
	border-right: none;
}

/* 年月プルダウン */
#search_date_group .custom-select {
	/* background-color: #f5f0e8; */
	/* border: 1px solid #d2b48c; */
	color: #000;
	font-weight: bold;
	/* border-radius: 4px; */
	/* padding: 0.75rem 1rem; */
}

#calendar table th {
	background-color: #FFF !important;
}

/* 日別カレンダー */
.canceled-event {
	opacity: 0.7;
	text-decoration: line-through;
	text-decoration-color: #6e6e6e;
}


/* スタッフ名、終日 */
.ec-header .ec-day,
.ec-time-grid .ec-all-day .ec-sidebar-title {
	font-size: .7rem;
}

.ec-time-grid .ec-line,
.ec-time-grid .ec-time {
	height: 24px;
	font-size: .75rem;
}

/* 終日セルの帳尻合わせ */
.ec-sidebar {
	min-width: 40px;
}


.ec-event {
	color: #333 !important;
	font-size: .75rem !important;
}

/* 日別カレンダーの日付選択 */
.custom-date-wrapper {
	position: relative;
	display: inline-block;
	min-width: 200px;
}

.custom-date-wrapper input[type="date"] {
	position: absolute;
	opacity: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
}

.custom-date-display {
	cursor: pointer;
	background-color: white;
	border: none;
	border-bottom: 1px solid #ced4da;
	border-radius: 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.custom-date-display-lg {
	width: auto;
	padding: .375rem .75rem;
	font-size: 1.5rem;
}

.custom-date-display-sm {
	width: 100%;
	padding: .25rem .5rem;
	font-size: 1.15rem;
}

.custom-date-display-lg i,
.custom-date-display-sm i {
	font-size: 1rem;
}

.custom-date-display span {
	font-weight: bold;
}


.spawn-time {
	border-top: 1px solid #dee2e6 !important;
}

.has-all-day-schedule,
.staff-scheduled {
	background-color: var(--staff-color, #cccccc);
	border: 1px solid var(--staff-color, #cccccc);
	font-weight: normal;
	color: #333;
	font-size: .75rem;
}

/* 予定の四隅角丸 */
.staff-scheduled.start {
	padding-top: 3px;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
}

.staff-scheduled.end {
	padding-bottom: 3px;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
	border-bottom: 1px solid #dee2e6;
}

.small-box .h3 {
	font-size: 3.5rem;
	font-weight: 700;
}

.small-box span {
	font-size: 1.8rem;
	font-weight: 700;
}

/* 登録モーダルの会員検索欄 */
#member_search_results {
	position: absolute;
	z-index: 1000;
	max-height: 200px;
	overflow-y: auto;
	width: 100%;
	border: 1px solid #ccc;
	background-color: #fff;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	border-bottom-right-radius: .25rem;
	border-bottom-left-radius: .25rem;
	border-top-left-radius: .25rem;
	border-top-right-radius: .25rem;
}

.member-search-item {
	cursor: pointer;
}

.list-group-item {
	padding: .45rem .5rem;
}

.member-search-item:hover {
	background-color: #0964c5;
	color: #fff;
}

.no-results {
	text-align: center;
	font-weight: bold;
	padding: 10px;
	background-color: #fff3cd;
	color: #856404;
}

.form-check-label {
	font-size: 0.95rem;
	padding-top: 2px;
	margin-left: 2px;
}

/* 詳細モーダル */
#modal-schedule-detail #btn_cancel {
	pointer-events: none !important;
}



/* 月別カレンダー */
/* 曜日 */
.fc .fc-col-header-cell-cushion {
	font-size: .85rem;
}

.fc-day-today {
	background-color: #ffebcc !important;
	border: 2px solid #d2b48c;
}

/* 予定タイトル左ぞろえ */
.fc-h-event .fc-event-title-container {
	text-align: left;
}

/* 祝日セルの数字を日曜と同じ赤に */
.fc-daygrid-day-number.is-holiday {
	color: #fd6952 !important;
}

.fc-event-title {
	font-size: 0.7rem;
	color: #333;
}

/* .fc-daygrid-block-event .fc-event-title {
	filter: invert(100%) grayscale(100%) contrast(60);
} */

.fc-selected-highlight {
	background-color: #eeffcf !important;
}

.fc .fc-daygrid-day-top {
	flex-direction: row;
	background-color: #b0b0b026;
}

/* .fc-selected-event {
	background-color: rgb(0 0 0 / 0%) !important;
	border-color: rgb(0 0 0 / 0%) !important;
} */

.fc .fc-toolbar.fc-header-toolbar {
	margin-bottom: 0.5rem;
}

.fc-toolbar,
.fc-toolbar.fc-header-toolbar {
	margin: 0;
	padding: 0.2rem 1rem 0.8rem;
}

/* 予定一覧に表示される小さい日付 */
.fc-more-popover-misc {
	display: none !important;
}

.fc .fc-daygrid-more-link {
	font-size: 0.75rem;
	padding: 3px;
}


#ranking_list tbody {
	text-align: center;
}

#ranking_list tbody td {
	vertical-align: middle;
}

#home_schedule_list>tbody>tr.top {
	border-top: solid 2px #e7e7e7;
}

#home_schedule_list .category {
	padding: 4px;
	text-indent: 0;
	line-height: 1.2;
	text-align: center;
	width: 80px;
	font-weight: 400;
	flex: none;
	min-height: 24px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	font-size: 12px;
	border: 1px solid #dee2e6;
}

#home_schedule_list td:nth-child(1) {
	text-align: center;
	width: 20%;
}

/* ど真ん中配置 */
#home_schedule_list>tbody>tr>td {
	vertical-align: middle;
}

#home_attendance_list .description-text,
#home_stat_list .description-text {
	font-size: .9rem;
}

/* スマホの予定新規作成ボタン */
#btn_add_schedule {
	display: none;
}


/*--- カレンダー ---*/
/* 土曜日 */
.fc-day-sat .fc-daygrid-day-top,
.fc-day-sat .fc-scrollgrid-sync-inner .fc-col-header-cell-cushion,
.fc-day-sat .fc-list-day-cushion {
	color: #4294e6;
}

/* 日曜日 */
.fc-day-sun .fc-daygrid-day-top,
.fc-day-sun .fc-scrollgrid-sync-inner .fc-col-header-cell-cushion,
.fc-list-day-cushion {
	color: #fd6952;
}

.schedule_guide {
	font-size: 0.9rem;
}

.schedule_guide .acquired {
	width: 2rem;
	border-color: #474f97;
	background-color: #474f97;
	border-radius: 3px;
}

.schedule_guide .delivery {
	width: 2rem;
	border-color: #4b918d;
	background-color: #4b918d;
	border-radius: 3px;
}

.schedule_guide .birthday {
	width: 2rem;
	border-color: #e7d383;
	background-color: #e7d383;
	border-radius: 3px;
}

.home-info-box {
	box-shadow: 0 0 1px rgb(0 0 0 / 13%), 0 1px 3px rgb(0 0 0 / 20%);
	border-radius: .25rem;
	background: #fff;
	display: flex;
	margin-bottom: 1rem;
	min-height: 60px;
	padding: .5rem;
	position: relative;
}

.home-info-box .home-info-box-icon {
	border-radius: .25rem;
	-ms-flex-align: center;
	align-items: center;
	display: -ms-flexbox;
	display: flex;
	font-size: 1.875rem;
	-ms-flex-pack: center;
	justify-content: center;
	text-align: center;
	width: 50px;
}

.home-info-box .home-info-box-content {
	-ms-flex: 1;
	flex: 1;
	padding: 10px;
	display: flex;
}

.home-info-box .home-info-box-content .home-info-box-text {
	display: block;
	width: 70%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.home-info-box .home-info-box-content .home-info-box-number {
	display: block;
	width: 30%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.home-info-box .home-info-box-content .home-info-box-number {
	text-align: right;
	font-weight: 700;
}


.home-info-box .home-info-box-icon.bg-orange,
.home-info-box .home-info-box-icon.bg-warning {
	color: #fff !important;
}

.selected_highlight {
	background-color: #eeffcf;
	padding: 0 5px;
}

/* チェックマーク */
.day-checkmark-icon {
	color: #3d9970;
	position: absolute;
	font-size: 0.85rem;
	right: 0.4rem;
	top: 0.4rem;
}

.check_icon {
	color: #3d9970;
	font-size: 0.95rem;
}

.fc-daygrid-day {
	position: relative;
}


/* 日別データ */
.home_daily #individual_daily_list th:nth-child(1),
.home_daily #individual_daily_list td:nth-child(1) {
	width: 3%;
	/* 空のカラム */
}

.home_daily #individual_daily_list th:nth-child(2),
.home_daily #individual_daily_list td:nth-child(2) {
	width: 8%;
	/* 担当 */
}

.home_daily #individual_daily_list th:nth-child(3),
.home_daily #individual_daily_list td:nth-child(3) {
	width: 20%;
	/* サーバー名 */
}

.home_daily #individual_daily_list th:nth-child(4),
.home_daily #individual_daily_list td:nth-child(4) {
	width: 10%;
	/* ステータス */
}

.home_daily #individual_daily_list th:nth-child(5),
.home_daily #individual_daily_list td:nth-child(5) {
	width: 4%;
	/* 年齢 */
}

.home_daily #individual_daily_list th:nth-child(6),
.home_daily #individual_daily_list td:nth-child(6) {
	width: 4%;
	/* 性別 */
}

.home_daily #individual_daily_list th:nth-child(7),
.home_daily #individual_daily_list td:nth-child(7) {
	width: 12%;
	/* 決済方法 */
}

.home_daily #individual_daily_list th:nth-child(8),
.home_daily #individual_daily_list td:nth-child(8) {
	width: 15%;
	/* 配送方法 */
}

.home_daily #individual_daily_list th:nth-child(9),
.home_daily #individual_daily_list td:nth-child(9) {
	width: 4%;
	/* PAS */
}

.home_daily #individual_daily_list th:nth-child(10),
.home_daily #individual_daily_list td:nth-child(10) {
	width: 10%;
	/* 設置日 */
}

/* 
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
} */
#individual_daily_list {
	width: 100%;
	table-layout: auto;
	min-width: 800px;
	font-size: clamp(0.85rem, 1vw, 1rem);
}

#individual_daily_list th,
#individual_daily_list td {
	overflow: hidden;
	/* text-overflow: ellipsis; */
	white-space: nowrap;
}

/*-- スクロールバーのスタイル --*/
.table-responsive::-webkit-scrollbar {
	height: 8px;
}

.table-responsive::-webkit-scrollbar-thumb {
	background-color: #888;
	border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-track {
	background-color: #f1f1f1;
}

/* スクロール可能な領域を設定 */
.table-responsive {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

/* ランキング表 */
#ranking_list {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	background-color: #ffffff;
	border-radius: 3px;
	overflow: hidden;
}

#ranking_list tbody td {
	text-align: center;
	vertical-align: middle;
	padding: 0.6rem 0.8rem;
	border-bottom: 1px solid #e0e6ed;
}

#ranking_list tbody .rank-name {
	font-weight: 600;
	text-decoration: none;
}

#ranking_list tbody .rank-name:hover {
	text-decoration: underline;
}

#ranking_list tbody td.ok-rate {
	font-weight: bold;
	color: #2c6e91;
}


#ranking_list tbody tr:last-child td:first-child {
	border-bottom-left-radius: 3px;
}

#ranking_list tbody tr:last-child td:last-child {
	border-bottom-right-radius: 3px;
}


/*----------------------------------------

個別データ管理

----------------------------------------*/

.yearly_chart {
	width: 100%;
	max-width: 800px;
	height: auto;
	overflow: hidden;
}

#yearly-chart {
	width: 100%;
	height: 400px;
}

.paykind_chart,
.status_chart {
	width: 100%;
	max-width: 400px;
	height: auto;
	overflow: hidden;
}

#paykind-chart,
#status-chart {
	width: 100%;
	height: 185px;
}

td.highlight {
	background: #f0f7fa;
	font-weight: 600;
	border: 1px solid #d0e2eb;
	color: #2c3e50;
}

th.highlight {
	background: rgba(44, 78, 99, 0.85) !important;
	color: #ffffff;
}

.description-block>.description-header {
	font-size: 2.0rem !important;
}

.description-block>.description-header>span {
	font-size: 1rem;
}

/*----------------------------------------

会費請求管理

----------------------------------------*/
.gridjs-th-content {
	width: 80%;
}

#invoice_grid table {
	min-width: 750px;
}

#invoice_grid th,
#invoice_grid td {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#invoice_grid td:nth-child(1),
#invoice_grid td:nth-child(4),
#invoice_grid td:nth-child(5) {
	font-size: 0.85rem;
}

td.gridjs-td {
	padding: 10px !important;
}


/* 新規作成モーダル */
#create_form .modal-dialog .form-group label {
	padding-left: 0;
	text-indent: 0;
}

#create_form .modal-dialog .form-group label::before {
	display: none;
}

/* 曜日チェックのactive時の上書き */
#custom_weekdays_group .btn-outline-secondary.active,
#custom_weekdays_group .btn-outline-secondary:active,
#custom_weekdays_group .btn-outline-secondary:checked {
	color: #fff !important;
	background-color: #f3a30f !important;
	border-color: #f3a30f !important;
}

/* 繰り返し詳細設定部分の縦線 */
#repeat_custom_wrapper {
	border-left: 4px solid #a4a4a4;
	background-color: #f8f9fa;
	padding-left: 1.5rem;
	margin-left: 1rem;
}

/* 繰り返し詳細設定タイトル */
#repeat_custom_wrapper h6 {
	position: relative;
	font-weight: bold;
	color: #495057;
}

.label-highlight {
	background-color: #9c9c9c40 !important;
	/* background-color: #eeffcf !important; */
}

/* 編集画面 */
#invoice-edit .invoice .invoice-detail-list td {
	vertical-align: middle;
	padding: 0.25rem;
}

#invoice-edit .invoice .invoice-detail-list .form_input_detail_price {
	width: 5rem;
}

#invoice-edit .invoice .invoice-detail-list .form_input_detail_quanitiy {
	width: 3rem;
}

#invoice-edit .invoice .invoice-detail-list .form_input_detail_unit {
	width: 4rem;
}

#invoice-edit .invoice .invoice_total {
	font-weight: 700;
}

/* 納入依頼書一覧 */
/*ボタン*/
form>.container-fluid>.card>.card-header #invoice_button {
	justify-content: end;
}

#invoice_list td:nth-child(1),
#invoice_list td:nth-child(2),
#invoice_list td:nth-child(3),
#invoice_list td:nth-child(4) {
	text-align: center;
}

#invoice_list td:nth-child(5),
#invoice_list td:nth-child(6) {
	text-align: right;
}


#invoice_list td:nth-child(1),
#invoice_list td:nth-child(2) {
	width: 5%;
}

#invoice_list td:nth-child(3) {
	width: 12%;
}

#invoice_list td:nth-child(4) {
	width: 15%;
}

#invoice_list td:nth-child(5),
#invoice_list td:nth-child(6) {
	width: 10%;
}

.invoice-switch-group {
	border: 1px solid #e8e8e8;
	border-radius: 4px;
	overflow: hidden;
}

.invoice-switch-group .btn {
	border: none;
	border-left: 1px solid #e8e8e8;
}

.invoice-switch-group .btn:first-child {
	border-left: none;
}

/*----------------------------------------

インポート

----------------------------------------*/

.file_upload_area {
	padding: 3rem 0;
	border: dashed 1px #777;
	text-align: center;
}

.file_upload_area .btn_area {
	padding-top: 3rem;
}

.card-title-custom {
	font-weight: 400;
}

.description-text {
	font-size: 1.1rem;
	color: #6c757d;
}

/* ファイルアップロードエリア */
.file_upload_area {
	background-color: #f9f9f9;
	cursor: pointer;
	padding: 2rem 0 4rem;
	border-radius: 0.25rem;
	border: dashed 1px #777;
}

.file_upload_area label {
	cursor: pointer;
	color: #6c757d;
}

.file_upload_area i {
	font-size: 3rem;
	margin-bottom: 1rem;
}

.upload_icon:hover i {
	color: var(--primary);
}

/*--- 会費納入状況一覧 ---*/
#deposit_list .first {
	background: #e973a0;
}

#deposit_list .second {
	background: #5ca4df;
}

#deposit_list .gray {
	background: #f0efef;
}

/*----------------------------------------

予定管理

----------------------------------------*/

/* 予定一覧：検索欄 */

.schedule-detail-link {
	color: #9d7550;
	cursor: pointer;
}

.schedule-detail-link:hover {
	color: #816349;
}

.daterangepicker .table-condensed th {
	background-color: #cecece;
	border-radius: initial !important;
}

.daterangepicker .drp-buttons .btn {
	margin-left: 3px !important;
	font-size: 10px !important;
}

.daterangepicker .drp-selected {
	font-size: 11px !important;
	font-weight: 600;
}

/* 予定一覧 */
.table-secondary td {
	border-color: #cdcdcd;
}

.table-disable {
	background-color: #ede4e6 !important;
	color: #a8a29c !important;
	opacity: 0.9;
}

.table-disable .schedule-detail-link,
.table-disable a {
	color: #a8a29c;
}

.table-disable .cancel-label {
	background-color: #d16565;
	color: #fff;
	padding: 2px 6px;
	border-radius: 5px;
	font-size: 0.75rem;
	margin-left: 8px;
}

#schedule_list .category {
	padding: 2px 6px;
	line-height: 1.2;
	display: inline-block;
	font-size: .8rem;
	font-weight: 400;
	white-space: nowrap;
}



#schedule_list td {
	text-align: center;
}

#schedule_list th:nth-child(1),
#schedule_list td:nth-child(1) {
	width: 11%;
	text-align: center;
	font-size: .93rem;
}

#schedule_list th:nth-child(2),
#schedule_list td:nth-child(2) {
	width: 17%;
	text-align: center;
	font-size: .93rem;
}

#schedule_list th:nth-child(3),
#schedule_list td:nth-child(3) {
	width: 37%;
	text-align: center;
	font-size: .93rem;
}

#schedule_list th:nth-child(4),
#schedule_list td:nth-child(4) {
	width: 15%;
}

#schedule_list th:nth-child(5),
#schedule_list td:nth-child(5),
#schedule_list th:nth-child(6),
#schedule_list td:nth-child(6) {
	width: 10%;
	font-size: .87rem;
}

/* #schedule_list th:nth-child(7),
#schedule_list td:nth-child(7) {
	width: 10%;
} */


.custom_danger {
	background: #ffbac5;
	border: 2px solid #e44069;
}


/* 予定詳細 */
.bg-light,
.bg-light>a {
	color: #414141 !important;
	background-color: #efefef !important;
}

.bg-na,
.bg-na>a {
	color: #8b8b8b !important;
	background-color: #ffffff !important;
}

.staff-color-box {
	width: 18px;
	height: 18px;
	border-radius: 4px;
	flex-shrink: 0;
}

.staff-color-box-lg {
	width: 40px;
	height: 20px;
	border-radius: 4px;
	flex-shrink: 0;
}


/* .lead {
	position: relative;
	display: inline-block;
	border-bottom: solid 1px #d5d5d5;
	padding: 5px 0 5px 0;
} */

.btn-outline-orange {
	color: #ff8615;
	border-color: #ff8615;
}

.btn-outline-orange:hover {
	color: #FFF;
	background-color: #ff8615;
}

.btn-outline-docs {
	color: #1F64C2;
	border-color: #1F64C2;
}

.btn-outline-docs:hover {
	color: #FFF;
	background-color: #1F64C2;
}

.btn-outline-xlsx {
	color: #0D6E38;
	border-color: #0D6E38;
}

.btn-outline-xlsx:hover {
	color: #FFF;
	background-color: #0D6E38;
}


/*--- 予定new,edit ---*/
.custom-file {
	overflow: hidden;
}

.custom-file-label {
	white-space: nowrap;
	margin-bottom: 0;
}

.card .pickup {
	max-height: 300px;
}

/*----------------------------------------

			個別データ一覧

----------------------------------------*/
#usage_history_table td.date,
#reservation_table td.date {
	text-align: center;
}

#usage_history_table td.date span,
#reservation_table td.date span {
	display: inline-block;
	text-align: left;
	min-width: 120px;
}

/*----------------------------------------

ログイン画面

----------------------------------------*/

.login_container {
	overflow: hidden;
	height: 100svh;
}

.login_container>.container {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate3d(-50%, -50%, 0);
}

.login_container .logo {
	padding-right: 15px;
	padding-left: 15px;
}

.login_container .logo img {
	max-width: 300px;
	width: 100%;
}

.btn_login {
	background-color: #a07468 !important;
	transition: background-color .15s ease-in-out, opacity .15s ease-in-out !important;
}

.btn_login:hover {
	background-color: #6b4545 !important;
	opacity: .9 !important;
}


/* カード */
.card>.card-header,
.container-fluid>.card>.card-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.7rem;
	flex-wrap: wrap;
}

.card>.card-header::after,
.container-fluid>.card>.card-header::after {
	display: none;
}

.card>.card-header>.card-title,
.container-fluid>.card>.card-header>.card-title {
	float: unset;
}

.card>.card-header>.card-tools,
.container-fluid>.card>.card-header>.card-tools {
	float: unset;
	margin-right: 0;
}

/* 見出しラベル */
/* .form-group>label:not(.form-check-label,.custom-file-label) {
	padding-left: 20px;
	text-indent: -20px;
}

.form-group>label:not(.form-check-label,.custom-file-label)::before {
	content: "";
	display: inline-block;
	background: #005A9F;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	margin-right: 10px;
}

.form-group>input+label:not(.form-check-label,.custom-file-label),
.form-edit .form-group>label {
	padding-left: 0;
	text-indent: 0;
}

.form-group>input+label:not(.form-check-label,.custom-file-label)::before,
.form-edit .form-group>label::before {
	display: none;
} */

/* 表示順 */
.wrap-sort {
	min-width: 340px;
}

/* 詳細ページ レイアウトパターン1 */
.layout-detail01 .form-group {
	align-items: flex-start;
	margin-bottom: 0.5rem;
}

.layout-detail01 .form-group>label {
	background: #f5e6cc;
	color: #6e5f50;
	padding: 4px;
	text-indent: 0;
	border-radius: 12px;
	line-height: 1.2;
	text-align: center;
	width: 140px;
	font-weight: 400;
	flex: none;
	min-height: 24px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: clamp(0.8rem, 1vw, 1rem);
}


.layout-detail01 .form-group>label::before {
	display: none;
}

.layout-detail01 .form-group>div {
	flex: 1;
	padding-left: 15px;
}

/* トグルスイッチ用の補正 */
.layout-detail01 .form-group.no-flex-pl>div {
	padding-left: 0 !important;
	flex: initial !important;
}

.layout-detail01 .form-group>div p {
	padding: 0;
}

/* サイドメニュー */
.layout-fixed .main-sidebar {
	background: #FFF;
}

.badge {
	font-size: 12px;
}


/*----------------------------------------

マスタ管理

----------------------------------------*/

.dragicon {
	cursor: grab;
}

.dragicon:active {
	cursor: grabbing;
}

.card-body.master {
	padding: 1.25rem .5rem;
}

/*----------------------------------------

統計管理

----------------------------------------*/
#total_count_list th,
#member_statistics_list th {
	background: #919191;
	color: #FFF;
}

/* 左上透明にする */
#total_count_list th.first-th {
	background: #FFF;
	border-left: #FFF;
	border-top: #FFF;
}


#total_count_list th,
#total_count_list td {
	border-right: 1px solid #dee2e6;
}

#total_count_list th.acquired,
#total_count_list th.ok,
#total_count_list th.cancel,
#total_count_list th.delivery,
#total_count_list tr:last-child {
	border-bottom: 1px solid #dee2e6;
}

#total_count_list .delivery_tr {
	border-top: 4px solid #d3d3d3;
}

#total_count_list td,
#member_statistics_list td {
	text-align: right;
}

#total_count_list tr.yearly td {
	background: #f1f1f1;
	font-weight: bold;
}

#total_count_list th.acquired {
	background: #474f97;
}

#total_count_list th.ok {
	background: #4b7b97;
}

#total_count_list th.cancel {
	background: #678697;
}

#total_count_list th.delivery {
	background: #4b918d;
}

#total_count_list th.acqired_paykind,
#total_count_list th.paykind {
	background: #9c9c9c;
}

#total_count_list th.yearly {
	background: #56595d;
}

#total_count_list th.month {
	width: fit-content;
	background: #cacaca;
	color: #000;
	border-bottom: 1px solid #dee2e6;
}

/* #total_count_list .average_tr td:last-child {
	font-weight: 600;
} */

#total_count_list td:last-child {
	border-left: 3px double #dee2e6;
}

#total_count_list tr.total {
	border-top: 3px double #dee2e6;
}

#member_statistics_list td:first-child {
	font-weight: 600;
	border-right: 3px double #dee2e6;
	text-align: center;
	width: 15%;
}

#member_statistics_list td:nth-of-type(14),
#member_statistics_list td:nth-of-type(15) {
	border-left: 3px double #dee2e6;
	text-align: center;
	width: 10%;
}

#member_statistics_list th:nth-child(n+2):nth-child(-n+13),
#member_statistics_list td:nth-child(n+2):nth-child(-n+13) {
	width: 5%;
	min-width: 40px;
	max-width: 60px;
	text-align: center;
}

#member_statistics_list th:nth-child(n+2):nth-child(-n+13) {
	white-space: nowrap;
}

#total_count_list {
	width: 100%;
	table-layout: fixed;
}

#total_count_list th,
#total_count_list td {
	text-align: center;
	vertical-align: middle;
	padding: 8px;
}

#total_count_list th:first-child,
#total_count_list td:first-child {
	width: 15%;
}

#total_count_list th:last-child,
#total_count_list td:last-child {
	width: 10%;
	font-weight: bold;
}

#total_count_list th:nth-child(n+2):nth-child(-n+13),
#total_count_list td:nth-child(n+2):nth-child(-n+13) {
	width: 6.25%;
	/* (100% - 15% - 10%) / 12 */
}

#total_count_list thead th {
	white-space: nowrap;
}

#total_count_list td.credit,
#total_count_list td.other,
#total_count_list td:last-child {
	background: #f3f3f3;
}

/*////////////////////////////////////////////////////////////////////////////////////////*/

@media (max-width: 767px) {

	.mb-col-0 {
		margin-bottom: 1rem;
	}

	/* 詳細ボタン */
	.btn-text {
		display: none;
	}

	.btn-icon {
		display: inline;
	}

	/* 	各ページ一覧テーブル共通 */
	.content-header h1.master {
		font-size: 1.45rem;
		margin: 0;
	}

	.card-body h2 {
		font-size: 1.5rem;
		margin: 0;
	}

	.table th,
	.table td {
		white-space: nowrap;
	}

	/* レスポンシブル表示非表示 */
	.md-none {
		display: none !important;
	}

	.md-spon {
		display: inline !important;
	}

	.md-spon-block {
		display: block !important;
	}

	.login_container .logo img {
		max-width: 280px;
	}

	/* .table-bordered {
		border: none;
	} */

	.table-bordered tr {
		position: relative;
		margin-bottom: 10px;
	}

	a[href^="tel:"] {
		pointer-events: auto;
	}

	.fc-daygrid-day {
		height: 55px;
	}

	.modal .modal-header {
		padding: .65rem 1rem;
	}

	.modal .modal-header h5 {
		font-size: 1.1rem !important;
	}

	/*----------------------------------------

			顧客管理

----------------------------------------*/
	#member_list td.place {
		text-align: left;
		font-size: 0.8rem;
	}

	#member_list td .name-kana {
		font-weight: 400;
		font-size: 0.7rem;
	}

	/*----------------------------------------

			マスタ管理

----------------------------------------*/

	#master-button>button {
		font-size: 1rem;
		padding: .5rem .6rem;
	}

	#btn_sort_fix {
		display: none !important;
	}

	/*----------------------------------------

			HOME

----------------------------------------*/

	/* 日付プルダウン */
	.custom-date-wrapper {
		min-width: 165px;
	}

	/* イベントカレンダー */
	.custom-select.form-control-border,
	.form-control.form-control-border {
		font-size: 1.2rem;
	}

	/* ヘッダー・終日・本体をスクロール同期 */
	.ec-wrapper {
		overflow-x: auto;
		white-space: nowrap;
		display: flex;
		flex-direction: column;
	}

	.ec-days {
		display: flex;
		overflow-x: auto;
		white-space: nowrap;
		min-width: 800px;
	}

	.ec-resource {
		min-width: 150px;
		flex: 1;
	}

	.ec-time-grid .ec-all-day .ec-sidebar-title {
		padding: 8px 4.5px !important;
	}

	/* スタッフ名、終日 */
	.ec-header .ec-day,
	.ec-time-grid .ec-all-day .ec-sidebar-title {
		font-size: .6rem;
	}

	.ec-event {
		font-size: .65rem !important;
	}

	/* resourceの幅制限 */
	.ec-header,
	.ec-all-day,
	.ec-body {
		min-width: 400px !important;
	}

	/* 日付・六曜 */
	.fc .fc-daygrid-day-number {
		padding: 3px;
		font-size: 0.7rem;
	}

	.schedule_guide {
		font-size: 0.8rem;
	}

	.fc-toolbar {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 1rem;
	}

	.fc .fc-toolbar-title {
		font-size: 1.5em;
		font-weight: 700;
	}

	.fc .fc-toolbar.fc-header-toolbar {
		margin: 0.5em 0;
	}

	.fc-toolbar,
	.fc-toolbar.fc-header-toolbar {
		padding: 0 0.5rem 0.5rem;
	}

	.birthday .fc-event-title {
		font-size: 0.85rem;
	}

	.fc .fc-button {
		font-size: 0.75rem;
	}

	.fc .fc-daygrid-body-natural .fc-daygrid-day-events {
		margin-bottom: 0.3rem;
	}

	.card-body#calendar {
		padding: 1rem 0.4rem;
	}

	.card-body#number {
		padding: 1rem 0.4rem;
	}

	.description-block>.description-header>span {
		font-size: 0.8rem;
	}

	.description-block>.description-header {
		font-size: 1.6rem !important;
	}

	.description-percentage,
	#detail-member {
		font-size: 0.85rem;
	}

	#ranking_list thead {
		font-size: .8rem;
	}

	#btn_add_schedule_pc {
		display: none;
	}

	#btn_add_schedule {
		display: flex;
		position: fixed;
		bottom: 40px;
		right: 20px;
		width: 56px;
		height: 56px;
		background-color: #e18a42;
		color: white;
		border: none;
		border-radius: 50%;
		align-items: center;
		justify-content: center;
		box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
		transition: background-color 0.3s, transform 0.2s;
		z-index: 1050;
	}

	#btn_add_schedule:hover {
		background-color: #e0b056;
		transform: scale(1.1);
	}

	#btn_add_schedule i {
		font-size: 24px;
	}

	/*----------------------------------------

			個別データ一覧

----------------------------------------*/

	#usage_history_table,
	#reservation_table,
	#repeat_schedule_table {
		font-size: 0.9rem;
	}

	#usage_history_table td.date,
	#reservation_table td.date {
		text-align: center;
	}

	#usage_history_table td.date span,
	#reservation_table td.date span {
		display: inline;
		text-align: inherit;
		min-width: auto;
	}


	/*----------------------------------------

			予定管理

----------------------------------------*/

	/* 予定一覧 */

	.alert {
		padding: .7rem 1rem;
	}

	#schedule_list td {
		font-size: 0.9rem;
	}

	.custom_warning {
		font-size: clamp(0.85rem, 2vw, 1.1rem);
	}

	/* 予定詳細 */
	#btn_check_in,
	#btn_clock_in,
	#btn_clock_out {
		height: auto;
		font-size: 1.5rem !important;
		padding-top: 1rem;
		padding-bottom: 1rem;
	}

	#form_input_workplace {
		font-size: 1.1rem;
	}

	#attendance_list.table td,
	.table th {
		padding: .55rem;
	}

	.card-body.attendance-card {
		padding: 1.25rem 0.7rem;
	}

	.guide,
	.sort {
		font-size: 0.9rem;
	}

	#attendance_list td:nth-child(3) {
		/* width: 2rem; */
		font-size: 1.02rem;
		text-align: center;
	}

	/* #attendance_list td:nth-child(5) {
		width: fit-content;
	} */


	/*----------------------------------------

請求管理

----------------------------------------*/

	/* 請求一覧 */
	#invoice_grid th {
		font-size: 0.9rem;
	}

	td.gridjs-td {
		padding: 10px !important;
	}

	/* Grid.js全体の横スクロール制御 */
	.table-responsive {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.highlight-row,
	.collapse {
		background-color: #f0f8ff !important;
	}

	tr.highlight-row td {
		border-top: 1px solid #cfcfcf;
	}

	/* アイコン */
	.icon-toggle {
		display: inline-block;
		transition: transform 0.3s ease;
		font-size: .8rem;
	}

	.icon-toggle.rotate {
		transform: rotate(180deg);
	}

	/*ボタン*/
	#invoice_card .btn.list {
		display: block;
		width: 100%;
	}

	#invoice_card .btn.new_invoice,
	#invoice_card .btn.invoices {
		width: 48%;
	}

	#invoice_list .btn-detail,
	#invoice_list .btn_pdf {
		font-size: 0.7rem;
	}

	#invoice_list tr {
		text-align: center;
		/* display: flex; */
		flex-wrap: wrap;
		width: auto;
		border-top: solid 1px #7464646e;
		font-size: clamp(0.8rem, 2.6vw, 1rem);
		margin-bottom: 0;
	}

	#invoice_list td {
		padding: 0.8rem 0.3rem;
	}

	#invoice_list td:first-child,
	#invoice_list th:first-child {
		border-left: none !important;
	}


	/* #invoice_list th:nth-child(1),
	#invoice_list td:nth-child(1) {
		order: 1;
		width: 10%;
		padding-left: 0 !important;
	}

	#invoice_list th:nth-child(2),
	#invoice_list td:nth-child(2) {
		order: 2;
		width: 28%;
		font-weight: 600;
	}

	#invoice_list th:nth-child(3),
	#invoice_list td:nth-child(3) {
		order: 3;
		width: 20%;
	} */

	/*支払い方法*/
	/* #invoice_list th:nth-child(4),
	#invoice_list td:nth-child(4) {
		order: 8;
		width: 35%;
		text-align: center;
		border-top: solid 1.5px #6464646e;
	} */

	/*期限*/
	/* #invoice_list th:nth-child(6),
	#invoice_list td:nth-child(6) {
		order: 7;
		width: 35%;
		text-align: center;
		border-top: solid 1.5px #6464646e;
		padding-left: 0.5rem;
	} */


	/*----会費納入状況一覧----*/
	#deposit_list tbody tr td {
		border: solid 1px #dee2e6;
	}

	#deposit_list th.first,
	#deposit_list th.second,
	#deposit_list td {
		font-size: clamp(0.8rem, 2.5vw, 1rem);
	}

	#deposit_list .th-large {
		font-size: 0.9rem !important;
	}

	/*----会費納入状況一覧----*/
	#deposit_list tbody tr td {
		border: solid 1px #dee2e6;
	}

	#deposit_list th.first,
	#deposit_list th.second,
	#deposit_list td {
		font-size: clamp(0.8rem, 2.5vw, 1rem);
	}

	#deposit_list .th-large {
		font-size: 0.9rem !important;
	}


	/* 表示順 */
	.wrap-sort {
		min-width: 100%;
	}

	/* 出欠情報 テーブル */
	.attendance-card {
		overflow: hidden;
	}

	.attendance_list_wrapper {
		width: calc(100% + 2.5rem);
	}

	.attendance_list_wrapper>.inner {
		width: 100%;
		margin-left: -1.25rem;
		padding: 0 1.25rem;
		overflow: auto;
		-ms-overflow-style: none;
		scrollbar-width: none;
	}

	.attendance_list_wrapper>.inner>table {
		white-space: nowrap;
		background: #FFF;
	}

	.googleCalendar iframe {
		width: 100%;
		height: 400px;
		max-width: 800px;
	}

	.cal_wrapper {
		max-width: 960px;
		min-width: 200px;
		margin: 2.0833% auto;
	}

	.googleCalendar {
		position: relative;
		padding-bottom: 100%;
		height: 0;
	}

	.googleCalendar iframe {
		position: absolute;
		top: 0;
		left: 0;
		width: 100% !important;
		height: 100% !important;
	}



	/*----------------------------------------

		統計管理

----------------------------------------*/
	#total_statistics_card,
	#member_statistics_card {
		padding: 1.25rem .8rem;
	}

	#total_count_list,
	#member_statistics_list {
		width: auto;
		white-space: nowrap;
	}

	#member_statistics_list th,
	#member_statistics_list td,
	#total_count_list th,
	#total_count_list td {
		min-width: 80px;
		padding: 8px;
		vertical-align: middle;
		text-align: center;
		border-right: 1px solid #dee2e6;
		/* テキストの折り返しを防ぐ */
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.table-wrapper {
		display: inline-block;
		min-width: 100%;
	}

	/*-- 縞模様の背景色 --*/
	/* 偶数行の背景色 */
	#member_statistics_list tbody tr:nth-child(even) {
		background-color: #f1f1f1;
	}

	/* 奇数行の背景色 */
	#member_statistics_list tbody tr:nth-child(odd) {
		background-color: #ffffff;
	}

	/* 固定する列のスタイル */

	#total_count_list th.paykind,
	#total_count_list td.credit,
	#total_count_list td.other,
	#total_count_list th:first-child,
	#member_statistics_list th:first-child,
	#total_count_list th:last-child,
	#member_statistics_list th:last-child,
	#total_count_list td:first-child,
	#member_statistics_list td:first-child,
	#total_count_list td:last-child,
	#member_statistics_list td:last-child {
		position: sticky;
		z-index: 1;
	}


	#total_count_list th.paykind,
	#total_count_list th:first-child,
	#member_statistics_list th:first-child,
	#total_count_list td:first-child,
	#member_statistics_list td:first-child {
		left: 0;
		width: 15%;
		border-right: 1px solid #dee2e6;
	}

	#total_count_list td.credit,
	#total_count_list td.other {
		left: 44px;
		/* これでいいのかな */
		border-right: 1px solid #dee2e6;
	}

	#total_count_list th:last-child,
	#member_statistics_list th:last-child,
	#total_count_list td:last-child,
	#member_statistics_list td:last-child {
		right: 0;
		width: 10%;
		border-left: 1px solid #dee2e6;
	}

	/*いらないかも*/
	/* #total_count_list thead th,
	#member_statistics_list thead th {
		white-space: nowrap;
	} */

	/* 背景色と枠線 */
	#total_count_list th:first-child:before,
	#member_statistics_list th:first-child:before,
	#total_count_list td:first-child:before,
	#member_statistics_list td:first-child:before,
	#total_count_list th:last-child:before,
	#member_statistics_list th:last-child:before,
	#total_count_list td:last-child:before,
	#member_statistics_list td:last-child:before {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		z-index: -1;
		background: inherit;
		border-right: 1px solid #dee2e6;
		border-left: 1px solid #dee2e6;
	}

	#total_count_list tr.average_tr {
		border-top: 3px double #dee2e6;
	}

	/* 左上の目隠し */
	#total_count_list th.first-th:before {
		background: #FFF;
		border-left: 1px solid #FFF;
		/* border-top: 1px solid #FFF; */
	}

	/* 一番上の行のth (従業員名と出席率) の背景色を#9e9e9eに固定 */
	#member_statistics_list thead th:first-child,
	#member_statistics_list thead th:last-child {
		background-color: #9e9e9e;
		color: #FFF;
		z-index: 2;
	}

	#member_statistics_list td:first-child {
		font-weight: 600;
		border-right: 3px double #dee2e6;
		text-align: center;
	}

	#member_statistics_list td:nth-of-type(14),
	#member_statistics_list td:nth-of-type(15) {
		border-left: 3px double #dee2e6;
		text-align: center;
	}

	/* 固定する列の背景色 */
	#member_statistics_list th:first-child,
	#member_statistics_list td:first-child,
	#member_statistics_list th:last-child,
	#member_statistics_list td:last-child {
		background: inherit;
	}

	#member_statistics_list th:first-child:before,
	#member_statistics_list td:first-child:before,
	#member_statistics_list th:last-child:before,
	#member_statistics_list td:last-child:before {
		background: inherit;
		/* border-right: 1px solid #dee2e6; */
	}

	/*-- 特定の th の背景色 --*/
	#total_count_list th.acquired:before,
	#total_count_list th.delivery:before {
		background: #4b918d;
	}

	#total_count_list th.paykind:before {
		background: #8dc4b3;
	}

	/* 7月～6月までの幅均等 */
	#total_count_list th:nth-child(n+2):nth-child(-n+13),
	#total_count_list td:nth-child(n+2):nth-child(-n+13),
	#member_statistics_list th:nth-child(n+2):nth-child(-n+13),
	#member_statistics_list td:nth-child(n+2):nth-child(-n+13) {
		width: 6.25%;
	}

	/*-- スクロールバーのスタイル --*/
	.table-responsive::-webkit-scrollbar {
		height: 8px;
	}

	.table-responsive::-webkit-scrollbar-thumb {
		background-color: #888;
		border-radius: 4px;
	}

	.table-responsive::-webkit-scrollbar-track {
		background-color: #f1f1f1;
	}

	/* スクロール可能な領域を設定 */
	.table-responsive {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	#individual_daily_list {
		font-size: 0.85rem;
	}

	#latest_update,
	#detail-booth {
		font-size: .9rem;
	}

	/* マスタ */
	#master_category_table th,
	#master_category_table td {
		white-space: normal !important;
		font-size: 0.9rem;
		word-break: break-word;
	}

}



@media (max-width: 768px) {

	#total_count_list th,
	#member_statistics_list th,
	#total_count_list td,
	#member_statistics_list td {
		min-width: 45px;
	}

	#total_count_list th.paykind span {
		writing-mode: vertical-rl;
		text-orientation: upright;
		white-space: nowrap;
		/* width: 20px; */
		font-size: 0.7rem;
		-webkit-writing-mode: vertical-rl;
		-webkit-text-orientation: upright;
	}

	#total_count_list th,
	#total_count_list td.credit,
	#total_count_list td.other {
		font-size: .8rem;
	}
}

@media (max-width: 576px) {
	.xs-none {
		display: none !important;
	}

	.card-header#button_header {
		display: block;
	}

	.card-header #invoice_button {
		text-align: center;
	}

	button.list {
		margin-top: 0.8rem;
		margin-bottom: 0.5rem;
		display: block;
		width: 100%;
	}

	button.btn.new_invoice,
	button.btn.invoices {
		width: 49%;
	}

	/* 値側だけを次の行にして全幅 */
	.layout-detail01 .form-group.row.wrap-under-sm>div {
		flex: 0 0 100%;
		max-width: 100%;
		padding-left: 1rem;
		padding-top: .3rem;
	}

	.layout-detail01 .form-group.row.wrap-under-sm>div .form-control-plaintext {
		white-space: normal;
		word-break: break-word;
	}

	.col-form-label .postal,
	.col-form-label .address {
		display: block;
	}
}