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

共通

----------------------------------------*/
/* =========================
   やわらか配色（統一ルール）
   ========================= */
:root {
	/* ベース（表の枠/文字） */
	--tbl-border: rgba(0, 0, 0, .08);
	--tbl-text: rgba(25, 30, 35, .92);
	--tbl-text-sub: rgba(25, 30, 35, .72);

	/* TH（既存のグレーはそのままでもOK。ここは基準色） */
	--th-bg: #eef1f4;
	--th-text: rgba(20, 25, 30, .88);

	/* 指標カラー（背景と文字をセットで） */
	--m-et-bg: #dfeaf6;
	--m-et-text: #1f4f86;
	/* くすみブルー */
	--m-set-bg: #dcefee;
	--m-set-text: #1b6b67;
	/* くすみティール */
	--m-cxl-bg: #e7eaef;
	--m-cxl-text: #4a5462;
	/* 青みグレー（CXL用） */
	--m-rate-bg: #e9e1f3;
	--m-rate-text: #5a3f86;
	/* ラベンダー（率） */
	--m-ave-bg: #dfeee3;
	--m-ave-text: #2f6b45;
	/* セージ（Ave） */

	/* クレカ率：THグレーと差別化（淡い黄土） */
	--m-cc-bg: #f0e6d2;
	--m-cc-text: #7a5a1a;

	/* 稼働：THグレーと差別化（スレート） */
	--m-work-bg: #e2e7ef;
	--m-work-text: #344862;
}

/* 表全体の“濃さ”を少し柔らかく */
.table,
.table td,
.table th {
	border-color: var(--tbl-border);
	color: var(--tbl-text);
}

.table thead th {
	background: var(--th-bg);
	color: var(--th-text);
}

/* =========================
   年間データ（行ヘッダ想定）
   既に左列に色付けしてるなら、そこにクラスを付けて適用
   ========================= */
.row-et {
	background: var(--m-et-bg) !important;
	color: var(--m-et-text) !important;
}

.row-set {
	background: var(--m-set-bg) !important;
	color: var(--m-set-text) !important;
}

.row-cxl {
	background: var(--m-cxl-bg) !important;
	color: var(--m-cxl-text) !important;
}

.row-rate {
	background: var(--m-rate-bg) !important;
	color: var(--m-rate-text) !important;
}

.row-ave {
	background: var(--m-ave-bg) !important;
	color: var(--m-ave-text) !important;
}

.row-ccrate {
	background: var(--m-cc-bg) !important;
	color: var(--m-cc-text) !important;
}

/* =========================
   ランキング表：列ヘッダ/列の色分け
   稼働がTHグレー拾ってる問題を解消
   ========================= */
.th-work {
	background: var(--m-work-bg) !important;
	color: var(--m-work-text) !important;
}

/* 共通：見出し/コンテンツの視認性アップ */
.content-wrapper {
	background: #f6f7fb;
}

.card.card-gray>.card-header {
	background: #f0f2f8;
	color: #d6d6d6;
	border-bottom: 1px solid #e3e7f2;
}

/* .card .card-title {
	color: #2b2f3a;
} */

/* 最終更新エリア（PC） */
#latest_update {
	background: #ffffff;
	/* border: 1px solid #e3e7f2; */
	border-radius: 6px;
	padding: 8px 10px;
	gap: 8px;
}

/* 日別：ブース名＋バッジの縦ズレ解消 */
.booth-line {
	margin-bottom: 6px;
}

.booth-inline {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.booth-badge {
	display: inline-flex;
	align-items: center;
}

/* 日別テーブル：視認性 */
#individual_daily_list thead th {
	background: #f6f7fb;
	color: #1f2937;
	font-weight: 900;
	border-color: #e3e7f2;
}

#individual_daily_list tbody td {
	border-color: #e3e7f2;
	color: #111827;
}

.detail-row .cancel-detail {
	background: #fbfcff;
	border-top: 1px solid #eef1f8;
}

/* 年間テーブル群（total_count_listをclass化した前提） */
.total_count_list thead th {
	background: #f6f7fb;
	color: #1f2937;
	font-weight: 900;
	border-color: #e3e7f2;
}

.total_count_list tbody td,
.total_count_list tbody th {
	border-color: #e3e7f2;
}

/* テーブルを並べてる table-wrapper の余白＆見栄え */
.table-wrapper>table {
	background: #ffffff;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 14px;
}

.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;
}

/* 状態アイコン */
.status-icon {
	font-size: 1.1rem;
	transition: color .18s ease;
}

.status-icon.active {
	color: #4cb162;
}

.status-icon.inactive {
	color: #d1d5db;
}

@media (hover: hover) {
	.status-icon.active:hover {
		color: #2d8340;
	}

	.status-icon.inactive:hover {
		color: #4b5563;
	}
}

/*----------------------------------------
サイドバー
----------------------------------------*/
.sidebar-light-olive .nav-sidebar>.nav-item>.nav-link.active {
	background-color: #56595d;
	color: #ffffff;
}

.nav-pills .nav-link:not(.active):hover {
	color: #0a6e69 !important;
}

.nav-sidebar .nav-item>.nav-link {
	margin-bottom: .3rem !important;
}

/* [class*=sidebar-light-] .nav-treeview>.nav-item>.nav-link.active {
	color: #0a6e69;
} */


a {
	color: #4b918d;
}

a:hover {
	color: #0a6e69;
	text-decoration: none;
}

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

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

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

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

.bg-lightgray {
	background-color: #f1f1f1 !important;
}

.bg-gray {
	background-color: #8d8d8d !important;
}

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

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

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

/* 非活化 */
.bg-disabled {
	background-color: #eeeeee !important;
	color: #999999 !important;
}

.bg-disabled a {
	color: #778d8c !important;
}

.bg-disabled a:hover {
	color: #4a6463;
	text-decoration: none;
}

.bg-disabled .btn {
	background-color: #d6d6d6 !important;
	color: #777 !important;
	border-color: #ccc !important;
}

.text-retired {
	color: #b02c2c;
}

.btn-outline-secondary {
	color: #6c757d;
	border-color: #bfbfbf;
}

.btn-outline-secondary:hover {
	color: #fff;
	background-color: #76bdb9;
	border-color: #76bdb9;
}

/* トグル */
.custom-control-input:checked~.custom-control-label::before {
	background-color: #51a8a4 !important;
	border-color: #51a8a4 !important;
}

.custom-control-input:focus~.custom-control-label::before {
	box-shadow: 0 0 0 0.2rem rgba(102, 179, 175, 0.25);
	border-color: #51a8a4;
}

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

/* Bootsrap4だから・・・ */
.custom-gap {
	display: flex;
	flex-wrap: wrap;
}

.custom-gap>div {
	margin-right: .75rem;
}

.custom-gap>div:last-child {
	margin-right: 0;
}

.custom-gap>div:nth-child(2n):last-child,
.custom-gap>div:nth-child(2n-1):last-child {
	margin-right: 0;
}

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

/* 詳細ボタン */
.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;
}

.invalid-feedback {
	background-color: #fff;
	padding-left: 0.3rem;
}

.custom-select.form-control-border,
.form-control.form-control-border {
	font-size: 1.2rem;
	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 {
	color: #fcfcfc;
	background-color: #919191;
}

.card-outline-default {
	background: #fcfcfc !important;
	border-top: 3px solid #8bc3ca !important;
}

.card-outline-secondary {
	background: #fcfcfc !important;
	border-top: 3px solid #777777 !important;
}

.card-outline-search {
	background: #fcfcfc !important;
	border-top: 3px solid #94c2eb !important;
}

#search_card .card-title {
	font-size: 90%;
}


/*----------------------------------------
ボタン
----------------------------------------*/
.btn-outline-light {
	color: #646464;
	border-color: #bbbbbb;
}

.btn-outline-light:hover {
	color: #363636;
	background-color: #cacaca;
}

.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;
}

/* masterhubのリンク、色ボタン */
.btn-masterhub {
	background: #f6f2fb !important;
	border-color: #ede5f7 !important;
	color: #4a4458 !important;
}

.btn-masterhub:hover {
	background: #ede5f7 !important;
	border-color: #dbcbee !important;
}

.btn-outline-masterhub {
	background-color: transparent;
	border: 1px solid #7f6ad8;
	color: #7f6ad8;
}

.btn-outline-masterhub:hover,
.btn-outline-masterhub:focus {
	background-color: #7f6ad8;
	border-color: #7f6ad8;
	color: #ffffff;
}

.btn-outline-masterhub.disabled,
.btn-outline-masterhub:disabled {
	opacity: 0.65;
	background-color: transparent;
	border-color: #7f6ad8;
	color: #7f6ad8;
}

.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 {
	font-size: 12px;
}

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

/* 大きめバッジ */
.badge-lg {
	font-size: 1rem !important;
	padding: .35rem;
	border-radius: .5rem;
	/* line-height: 1.1; */
}

/* 小さめバッジ */
.badge-sm {
	font-size: 0.8rem !important;
	padding: .15rem;
	border-radius: .5rem;
	/* line-height: 1.1; */
}

.badge-secondary {
	background: #d6d3df !important;
	color: #4f4a5a !important;
}


.badge-success {
	background: #4cb162 !important;
	color: #fff !important;
}

.badge-light {
	background: #f6f2fb !important;
	color: #9ca3af !important;
}

.badge-warning {
	background: #e8b13a !important;
	color: #352f2a !important;
}


.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;
}

/* 各ページの表 */
/* DataTablesをAdminLTE風にする */
.dataTables_paginate .paginate_button {
	padding: 0.5rem 0.75rem;
	/* font-size: 1rem; */
	color: #6c757d;
	background-color: #fff;
	border: 1px solid #dee2e6;
	/* border-radius: 0.25rem; */
	transition: all 0.2s;
}

.dataTables_paginate .paginate_button.current {
	color: #fff !important;
	background-color: #66b3af !important;
	border-color: #66b3af !important;
}

.dataTables_paginate .paginate_button:hover {
	color: #fff !important;
	background-color: #66b3af !important;
	border-color: #66b3af !important;
}

.dataTables_wrapper .bottom {
	margin: 2.2rem 0 0.5rem;
}

.row_other {
	color: #9874d9;
}

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

/* ソート矢印 */
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting:before,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_desc:before {
	font-size: 1.2em;
	top: 1.4px;
}

/* ソート矢印 */
#ranking_list thead .sorting:after,
#ranking_list thead .sorting_asc:after,
#ranking_list thead .sorting_desc:after,
#ranking_list thead .sorting:before,
#ranking_list thead .sorting_asc:before,
#ranking_list thead .sorting_desc:before {
	font-size: 1.3em;
	top: 2px;
}


th {
	text-align: center;
}

.table-bordered td,
.table-bordered th {
	border: solid #dee2e6;
	border-width: 1px 1px 0 0;
}

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

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

}

#staff_list th,
#member_list th {
	background-color: #56595d;
	color: #FFF;
}

.mb-col-0 {
	margin-bottom: 0px;
}


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


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

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

/* =========================================================
  Month Nav
   ========================================================= */
[data-role="month-nav"] {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 8px;
	max-width: 100%;
	min-width: 0;
}

#btn_search_clear {
	white-space: nowrap;
	min-width: 52px;
	padding-left: 10px;
	padding-right: 10px;
	line-height: 1.1;
}

#btn_prev_month,
#btn_next_month {
	min-width: 44px;
	padding-left: 10px;
	padding-right: 10px;
	line-height: 1.1;
}

#form_input_month {
	max-width: 220px;
	min-width: 150px;
	width: 100%;
	flex: 1 1 auto;
}

/* さらに狭い時はボタンを詰める */
@media (max-width: 420px) {

	#btn_prev_month,
	#btn_next_month {
		min-width: 40px;
		padding-left: 8px;
		padding-right: 8px;
	}

	#btn_search_clear {
		min-width: 50px;
		padding-left: 8px;
		padding-right: 8px;
	}

	#form_input_month {
		min-width: 150px;
	}
}


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

グラフエリア

----------------------------------------*/
.paykind-2col .chart-box {
	min-height: 280px;
}

@media (max-width: 575.98px) {
	.paykind-2col .chart-box {
		min-height: 240px;
	}
}

#status-chart {
	min-height: 280px;
}

@media (max-width: 575.98px) {
	#status-chart {
		min-height: 240px;
	}
}

.chart-box {
	min-height: 260px;
}

.chart-box.-lg {
	min-height: 300px;
}

@media (max-width: 575.98px) {
	.chart-box {
		min-height: 220px;
	}

	.chart-box.-lg {
		min-height: 260px;
	}
}


/* -- 個別データ -- */
#member_list td:nth-child(1) {
	width: 5%;
}

#member_list td:nth-child(2) {
	width: 30%;
	font-weight: 600;
}

#member_list td:nth-child(3) {
	width: 15%;
}

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

#member_list td:nth-child(5) {
	width: 15%;
}

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

/* table tr.center td {
	font-size: clamp(0.85rem, calc(1.1vw - 0.15rem), 1rem);
} */

#member_list th:last-child,
#member_list td:last-child {
	border-left: 2px double #e9e9e9
}


#member_list tr:nth-child(1) th:nth-child(1),
#member_list tr:nth-child(1) th:nth-child(2) {
	background: #FFF;
	border: none;
}

#member_list tr:nth-child(1) th:nth-child(3),
#member_list tr:nth-child(1) th:nth-child(4) {
	background: #56595d;
}

#member_list tr:nth-child(2) th {
	background: #8d8d8d;
}

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

従業員詳細画面 

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

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

.gfi_logo {
	object-fit: contain;
	width: 150px;
	height: 150px;
	margin: auto;
	filter: grayscale(100%);
	opacity: 0.3;
}


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

HOME

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

.content-header .d-none.d-md-flex {
	align-items: stretch;
}

#latest_update {
	display: inline-flex;
	align-items: center;
	height: 40px;
}

/* インポートボタン */
.content-header .btn-group {
	display: inline-flex;
	align-items: center;
	height: 40px;
}

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

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

#delivery_comp {
	visibility: hidden;
}

/* 日別データ（カレンダー） */
.booth-io-badge {
	font-size: 0.75rem;
	vertical-align: middle;
	padding: 0.28rem 0.5rem;
	margin-left: 0.25rem;
}

.fc-h-event .fc-event-title-container {
	text-align: center;
}

.fc-event-title {
	font-size: 1.2rem;
	/* font-weight: bold; */
	color: #333;
}

a.birthday .fc-event-title {
	font-size: .8rem;
	/* font-weight: bold; */
	color: #333;
}

.fc-today-highlight {
	background-color: #e3f0ff !important;
}

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

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

.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;
}


#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;
}

/*--- カレンダー ---*/
/* 土曜日 */
.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;
}

/* 日付・六曜 */
.fc .fc-daygrid-day-number {
	padding: 3px;
	font-size: 0.85rem;
	display: inline-block;
	width: 100%;
}

.fc .fc-daygrid-day-top {
	flex-direction: row;
}

.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;
}

.no-booth-day {
	color: #ccc;
	background-color: #f7f7f7;
	pointer-events: none;
}

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


/* 日別データ */
#daily_card .daily-info {
	padding-left: .8rem;
	padding-right: .85rem;
	padding-top: .5rem;
}

.home_daily #individual_daily_list th:nth-child(1),
.home_daily #individual_daily_list td:nth-child(1) {
	width: 3%;
	/* 空のカラム（SEQ） */
}

.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: 15%;
	/* サーバー名 */
}

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

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

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

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

.home_daily #individual_daily_list th:nth-child(8),
.home_daily #individual_daily_list td:nth-child(8) {
	width: 5%;
	/* 利用人数 */
}

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

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

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


#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;
}

#individual_daily_list .js-daily-row[data-has-detail="1"] {
	cursor: pointer;
}

#individual_daily_list .detail-row td {
	border-top: none;
}

#individual_daily_list tbody td,
#individual_daily_list tbody th {
	vertical-align: middle !important;
}

/* ステータス小 */
#individual_daily_list td:nth-child(4) small {
	display: block;
	margin-top: .125rem;
	line-height: 1.25;
}

/* 左端にアクセント */
#individual_daily_list tbody tr.row_cancel>td:first-child {
	box-shadow: inset 4px 0 0 #e2838b;
}

#individual_daily_list tbody tr.row_cancel:hover>td {
	color: #363636 !important;
}

/* cancel行 */
#individual_daily_list tbody tr.row_cancel>td {
	background: #f3f3f3 !important;
	color: #6d6d6d;
	position: relative;
	border-top-color: #e9ecef;
}

/* 詳細行 */
#individual_daily_list tbody tr.detail-row td.cancel-detail {
	background: #ffffff;
	color: #65686b;
	box-shadow: inset 4px 0 0 #e2838b;
	padding: .4rem .75rem;
}

#individual_daily_list .cancel-detail .meta-line {
	display: flex;
	align-items: baseline;
}

#individual_daily_list .cancel-detail .label {
	font-size: .78rem;
	color: #8a8f94;
	letter-spacing: .02em;
}

#individual_daily_list .cancel-detail .separator {
	opacity: .4;
}



/*-- スクロールバーのスタイル --*/
.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;
}

.nodata-msg {
	background-color: #f8f9fa;
	padding: 8px 12px;
	margin-top: 10px;
	font-size: clamp(0.85rem, 1vw, 1rem);
	color: #495057;
}

/* 日別データのブースメンバーエリア */
.member_section p {
	margin-bottom: 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;
}

/*----------------------------------------
インポート
----------------------------------------*/

.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: .9rem;
	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 i {
	color: var(--success);
}

.upload_icon:hover i {
	color: #19662b !important;
}

/*--- インポート完了モーダルをSwalっぽく ---*/
.modal-swal-like {
	border: none;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
	padding: 10px 14px 14px;
}

.modal-swal-like-close {
	right: 10px;
	top: 8px;
}

#modal-success .modal-title {
	font-weight: 700;
	font-size: 1.25rem;
}

#modal-success .modal-body p {
	font-size: 1rem;
	line-height: 1.6;
}


@media (max-width: 575.98px) {
	#modal-success .modal-footer {
		flex-direction: column;
	}

	#modal-success .modal-footer .btn {
		width: 100%;
	}
}

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


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

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


/*----------------------------------------
勤怠打刻
----------------------------------------*/
#attendance_card .date {
	text-align: center;
	font-size: 1.7rem;
	font-weight: 600;
	color: #686969;
}

#attendance_card .time {
	text-align: center;
	font-size: 4.2rem;
	font-weight: 600;
	color: #4b5155;
}

#form_input_workplace {
	width: 100%;
	max-width: 400px;
	height: calc(3.25rem + 2px);
}

label.btn {
	width: 18rem;
	height: 6rem;
	padding-top: 1.5rem;
	font-size: 25px;
}

#btn_check_in,
#btn_clock_in,
#btn_clock_out {
	width: 18rem;
	height: 6rem;
	padding-top: 0.8rem;
	font-size: 1.85rem !important;
	font-weight: 600;
	border: none !important;
	border-radius: 8px !important;
	color: #fff !important;
	transition: background-color 0.3s ease-in-out;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

#btn_check_in {
	font-size: 1.5rem;
}

#btn_clock_in {
	background-color: #4A90E2 !important;
}

#btn_clock_in:hover {
	background-color: #0b57a3 !important;
}

#btn_clock_in:focus {
	outline: none !important;
	box-shadow: none !important;
}

#btn_clock_out {
	background-color: #F5A623 !important;
}

#btn_clock_out:hover {
	background-color: #be7500 !important;
}

#btn_clock_out:focus {
	outline: none !important;
	box-shadow: none !important;
}

#btn_check_in {
	background-color: #7a5eab !important;
}

#btn_check_in:hover {
	background-color: #4b3774 !important;
}

#btn_check_in:focus {
	outline: none !important;
	box-shadow: none !important;
}

/* SweetAlert2 */
.swal2-no-scroll {
	overflow-y: hidden !important;
}

.swal2-no-scroll .swal2-html-container {
	max-height: none !important;
}


.swal2-title-center {
	text-align: center !important;
	margin: 0 auto !important;
}


.swal2-btn-clock-in {
	background-color: #4A90E2 !important;
	color: #fff !important;
	border: none !important;
	border-radius: 8px !important;
	font-size: clamp(1rem, 1.5vw, 1.3rem) !important;
	font-weight: bold !important;
	transition: background-color 0.3s ease-in-out;
}

.swal2-btn-clock-in:hover {
	background-color: #357ABD !important;
}

.swal2-btn-clock-out {
	background-color: #F5A623 !important;
	color: #fff !important;
	border: none !important;
	border-radius: 8px !important;
	font-size: clamp(1rem, 1.5vw, 1.3rem) !important;
	font-weight: bold !important;
	transition: background-color 0.3s ease-in-out;
}

.swal2-btn-clock-out:hover {
	background-color: #D4880A !important;
}

.swal2-btn-cancel {
	background-color: #A0A0A0 !important;
	color: #fff !important;
	border: none !important;
	border-radius: 8px !important;
	font-size: clamp(1rem, 1.5vw, 1.3rem) !important;
	font-weight: bold !important;
	transition: background-color 0.3s ease-in-out;
}

.swal2-btn-cancel:hover {
	background-color: #8A8A8A !important;
}

.swal2-btn-clock-in:focus,
.swal2-btn-clock-out:focus,
.swal2-btn-cancel:focus {
	outline: none !important;
	box-shadow: none !important;
}

.swal2-popup.swal2-no-scroll {
	overflow: hidden !important;
}

img.table-avatar {
	border-radius: 10%;
	display: inline;
	width: 25px;
	height: 30px;
}


#attendance_list td:nth-child(1) {
	width: 4rem;
	text-align: center;
}

#attendance_list td:nth-child(2) {
	width: 0.2rem;
	text-align: center;
}

#attendance_list td:nth-child(3) {
	font-size: 1.2rem;
	width: 5rem;
	font-weight: 600;
	padding: 0.75rem 0;
}

#attendance_list td:nth-child(4) {
	width: 0.5rem;
	padding: 0.75rem 0;
}

#attendance_list td:nth-child(5) {
	width: 0.2rem;
}

#attendance_list td:nth-child(6) {
	width: 15rem;
	text-align: left;
}

/* 委員会 */
#attendance_list td:nth-child(7) {
	width: 5rem;
	text-align: left;
}

#attendance_list td:nth-child(8) {
	width: 2rem;
}

/* 全員参加の予定 */
/* #attendance_list .committee_all td:nth-child(1) {
	width: 13%;
}

#attendance_list .committee_all td:nth-child(3) {
	width: 15%;
}

#attendance_list .committee_all td:nth-child(5) {
	width: 42%;
} */


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

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

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

/*----------------------------------------
交通費管理
----------------------------------------*/
.custom-date-wrapper {
	position: relative;
	display: inline-block;
	min-width: 130px;
}

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

.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.25rem;
}

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

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



/*----------------------------------------
統計分析
----------------------------------------*/
/* タブ */
.nav-tabs .nav-link.active {
	border-top: 3px solid #5c5c5c;
}

.user-statistics-block,
.age-statistics-block,
.cross-statistics-block {
	padding: 0.5rem;
	border: 1px solid #dee2e6;
	border-radius: 0.25rem;
	font-size: 0.93rem;
}

/* 期間選択 */
.input-group-text.tilde {
	background-color: #fff !important;
	border: none;
}

/* データなし */
.nodata .swal2-title {
	font-size: 1.3rem !important;
}

.nodata .swal2-html-container {
	font-size: 1.1rem !important;
}

/* 見出し（スタッフ名） */
.user-statistics-block h6,
.age-statistics-block h6,
.cross-statistics-block h6 {
	/* font-size: 0.95rem; */
	padding-bottom: 0.25rem;
	border-bottom: 1px solid #dee2e6;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* グラフの外枠 */
.chart-container {
	position: relative;
	height: 180px;
}

/* グラフ */
canvas.chart-bar {
	width: 100% !important;
	height: 100% !important;
	display: block;
}

/* th用 */
.th-acquire {
	background-color: rgba(54, 162, 235, 0.6);
}

.th-clx {
	background-color: rgba(220, 53, 69, 0.6);
}

.th-ok {
	background-color: rgba(255, 193, 7, 0.6);
}

.th-ok-rate {
	background-color: rgba(40, 167, 69, 0.6);
}

/* クロス集計 */
.cross-statistics-block th {
	font-size: 0.9rem;
}

.cross-statistics-block td {
	font-size: 1rem;
}

/* ヘッダー */
.cross_table thead tr>th:nth-child(2) {
	background-color: rgba(54, 162, 235, 0.08);
}

.cross_table thead tr>th:nth-child(3) {
	background-color: rgba(79, 192, 75, 0.08);
}

.cross_table thead tr>th:nth-child(4) {
	background-color: rgba(255, 206, 86, 0.12);
}

#cross_statistics_card .cross-statistics-block table {
	table-layout: fixed;
	/* 列幅をcolgroupに従わせる */
}

/* 1列目（年代）は固定幅、残り12列を均等に */
#cross_statistics_card .cross-colgroup .col-age {
	width: 6rem;
}

#cross_statistics_card .cross-colgroup .col-num {
	/* 年代列ぶんを引いて 12分割 */
	width: calc((100% - 6rem) / 12);
}

#cross_statistics_card table th,
#cross_statistics_card table td {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	vertical-align: middle;
}

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


#cross_statistics_card .on-dark {
	color: #fff !important;
	font-weight: 600;
}

/* 簡易凡例 */
.cross-legend {
	display: flex;
	align-items: center;
	gap: .75rem;
	font-size: 13px;
	margin: .25rem 0 .5rem;
}

.cross-legend .legend-bar {
	display: inline-block;
	width: 24px;
	height: 10px;
	margin-right: 4px;
}

.cross-legend .legend-acq {
	background: rgba(27, 130, 199, 0.5);
}

.cross-legend .legend-cxl {
	background: rgba(235, 44, 76, 0.5);
}

.border-top-double {
	border-top: #dadada solid 3px !important
}

/* バーをセル幅いっぱいに表示 */
.cross-statistics-block td[data-raw] {
	line-height: 2;
}

/* クロス集計の十字hover */
#cross_statistics_card {
	--cross-hl: rgba(139, 139, 139, 0.096);
	--cross-hl-strong: rgba(139, 139, 139, 0.55);
}

#cross_statistics_card tr.cross-hover-row>th,
#cross_statistics_card tr.cross-hover-row>td {
	background-image: linear-gradient(var(--cross-hl), var(--cross-hl));
}

#cross_statistics_card .cross-col-overlay {
	box-shadow: inset 0 0 0 9999px var(--cross-hl);
}

#cross_statistics_card .cross-focus-cell {
	outline: 2px solid var(--cross-hl-strong);
	outline-offset: -2px;
}

#cross_statistics_card td,
#cross_statistics_card th {
	padding: 0 2px 0
}

#cross_statistics_card tr {
	height: 2rem;
}

/*----------------------------------------
全画面ローディング
----------------------------------------*/
.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;
}


/*----------------------------------------
ログイン画面
----------------------------------------*/
.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: #005A9F !important;
	transition: opacity .15s ease-in-out !important;
}

.btn_login:hover {
	opacity: .8 !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;
}

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

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

.layout-detail01 .form-group>label {
	background: #9e9e9e;
	;
	color: #ffffff;
	padding: 4px;
	text-indent: 0;
	border-radius: 12px;
	line-height: 1.2;
	text-align: center;
	width: 90px;
	font-weight: 400;
	flex: none;
	min-height: 24px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 12px;
}

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

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

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

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

/* 親ツリーが開いているとき色 */
.nav-sidebar .has-treeview.menu-open>a.nav-link {
	color: #4b918d;
}

/* 矢印とアイコンも同色に */
.nav-sidebar .has-treeview.menu-open>a.nav-link .nav-icon,
.nav-sidebar .has-treeview.menu-open>a.nav-link .right {
	color: currentColor;
}

/* ボタン */
.btn-type01 {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 14px;
}


/*----------------------------------------
マスタ管理
----------------------------------------*/

.dragicon {
	cursor: grab;
}

.dragicon:active {
	cursor: grabbing;
}

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

@media (max-width: 1200px) {

	/* ボタン */
	.btn-type01 {
		font-size: 0;
		background: none;
		border: none;
		padding: 0;
		display: inline-block;
	}

	.btn-type01 i {
		font-size: 14px;
	}
}

/*----------------------------------------
統計分析
----------------------------------------*/

#total_count_list {
	border: none;
}

#total_count_list th,
#member_statistics_list th {
	background: #a2a2a2;
	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 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;
}

#ranking_list th.cxl-col,
#total_count_list th.cancel {
	background: #678697;
}


#total_count_list th.delivery {
	background: #459891;
}

#total_count_list th.first_delivery {
	background: #6c9491;
}

#total_count_list th.acqired_paykind,
#total_count_list th.paykind {
	background: #9c9c9c;
	font-size: .9rem;
}

#total_count_list th.ok_rate {
	background: #769A6D;
}

#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 {
	vertical-align: middle;
	padding: 8px;
}

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

#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;
	min-width: 45px;
}

#total_count_list th.credit,
#total_count_list th.other {
	background: #f3f3f3;
	color: #313131;
	border-left: 1px solid #dee2e6;
}

#total_count_list td:last-child {
	background: #f3f3f3;
}

#total_count_list tbody th {
	min-width: 78px;
}

/* =========================================================
   Yearly tables（年間データ表）
   ========================================================= */

#total_count_list th.acquired {
	background: var(--th-et);
}

#total_count_list th.ok {
	background: var(--th-install);
}

#total_count_list th.ok_rate {
	background: var(--th-install-rate);
}

#total_count_list th.ok_ave {
	background: var(--th-install-ave);
}

#total_count_list th.cancel {
	background: var(--th-cxl);
}


/* “設置済 / 設置予定” は別パレット */
#total_count_list th.delivery {
	background: var(--th-delivery-done);
}

#total_count_list th.dl_card_rate {
	background: #b6a3cc;
	font-size: .85rem;
}

#total_count_list th.first_delivery {
	background: var(--th-delivery-plan);
}

#total_count_list th.credit,
#total_count_list th.other {
	background: var(--th-break-bg);
	color: var(--th-break-fg);
}


/*////////////////////////////////////////////////////////////////////////////////////////*/
@media (min-width: 1200px) and (max-width: 1599.98px) {
	#cross_statistics_card .col-xl-4 {
		flex: 0 0 50%;
		max-width: 50%;
	}
}

@media (min-width: 992px) {

	/* PCでは余白、線いり */
	[data-role="range-filter"] {
		border-left: 1px solid #dee2e6;
		padding-left: 1rem;
		margin-left: 1rem;
	}
}

@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-title {
		font-size: 1rem;
	}

	.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;
	}

	.table-sm .table-bordered td {
		border: none;
	}

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

	.lc-title {
		font-size: 1rem;
	}

	.table-bordered {
		border: none;
	}

	.table-bordered tr {
		/* border-top: none !important; */
		position: relative;
		margin-bottom: 10px;
	}

	/* .table-bordered tr::after{
		content: "";
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		border: 1px solid #6464646e;
	} */

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

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



	/*----------------------------------------
			マスタ管理
----------------------------------------*/

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

	#btn_sort_fix {
		display: none !important;
	}

	/*----------------------------------------
			HOME
----------------------------------------*/

	/* 日付・六曜 */
	.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_card,
	.card-body#ranking,
	.card-body#number {
		padding: 1rem 0.4rem;
	}

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

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


	/* ランキングアイコンのサイズ調整 */
	#ranking_list tbody tr:nth-child(1) .ranking-icon,
	#ranking_list tbody tr:nth-child(2) .ranking-icon,
	#ranking_list tbody tr:nth-child(3) .ranking-icon {
		width: 30px;
		height: 30px;
	}

	#ranking_list tbody tr:nth-child(n+4) .ranking-icon {
		width: 20px;
		height: 20px;
	}

	/* アイコンがある行 */
	#ranking_list tbody tr:nth-child(1) td,
	#ranking_list tbody tr:nth-child(2) td,
	#ranking_list tbody tr:nth-child(3) td {
		height: 40px;
	}

	/* アイコンの列 */
	#ranking_list tbody td:first-child {
		padding: 2px 5px;
	}

	#daily_data #detail-member {
		font-size: .9rem;
	}

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

			個別データ一覧

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

	#member_list td:nth-child(2) {
		width: 20%;
		font-weight: 600;
	}

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

	#member_list tr {
		border: 1px solid #6464646e;
	}


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

		統計分析

----------------------------------------*/
	/* データなし */
	.nodata .swal2-title {
		font-size: 1rem !important;
	}

	.nodata .swal2-html-container {
		font-size: .8rem !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%;
	}

	/*いらないかも*/
	/* #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: #474f97;
	} */

	#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;
	}

	/* マスタ */
	#server_list td,
	#workplace_list td {
		white-space: normal;
		word-wrap: break-word;
		word-break: break-all;
	}

	#server_list tbody,
	#workplace_list tbody {
		font-size: 0.9rem;
	}

	/* クロス統計 */
	#cross_statistics_card .cross-colgroup .col-age {
		width: 5rem;
	}

	#cross_statistics_card .cross-colgroup .col-num {
		width: calc((100% - 5rem) / 6);
	}

	/* 凡例：小さめ＆折返し可 */
	#cross_statistics_card .cross-legend {
		display: flex;
		align-items: center;
		gap: .5rem;
		font-size: 11px;
		flex-wrap: wrap;
		margin: .25rem 0 .5rem;
	}

	#cross_statistics_card table {
		font-size: .75rem;
	}

	/* 行の高さ：やや詰める */
	#cross_statistics_card tr {
		height: 1.85rem;
	}

}





@media (max-width: 768px) {

	.custom-gap {
		flex-wrap: wrap;
	}

	.custom-gap>div {
		margin-right: .35rem;
	}

	.custom-gap>div:nth-child(2n) {
		margin-right: 0;
	}

	#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%;
	}
}

/* iOS Safari専用: month の文字が上に寄る問題の補正 */
@supports (-webkit-touch-callout: none) {

	#form_input_month.form-control,
	input[type="month"].form-control {
		font-size: 16px;
		line-height: 1.4;
	}

	#form_input_month::-webkit-datetime-edit,
	input[type="month"]::-webkit-datetime-edit {
		padding: 0 .25rem;
		line-height: 1.4;
	}

	#form_input_month::-webkit-datetime-edit-year-field,
	#form_input_month::-webkit-datetime-edit-month-field,
	input[type="month"]::-webkit-datetime-edit-year-field,
	input[type="month"]::-webkit-datetime-edit-month-field {
		padding: 0;
	}

	/* 古いiOS */
	#form_input_month::-webkit-date-and-time-value,
	input[type="month"]::-webkit-date-and-time-value {
		min-height: 1.4em;
		line-height: 1.4;
	}
}