/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

/* PC表示時のサイドバーとヘッダー固定設定 */
@media (min-width: 769px) {

	/* サイドバーを固定 */
	.sidebar {
		position: fixed !important;
		top: 0;
		left: 0;
		height: 100vh;
		z-index: 1000;
		overflow-y: auto;
		width: 224px;
		/* サイドバーの幅を明示的に設定 */
		box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
		/* 右側に影を追加 */
	}

	/* トップバーを固定 */
	.topbar {
		position: fixed !important;
		top: 0;
		left: 224px;
		/* サイドバーの幅分だけ左にオフセット */
		right: 0;
		z-index: 999;
		width: calc(100% - 224px);
	}

	/* コンテンツラッパーの調整 */
	#content-wrapper {
		margin-left: 224px;
		/* サイドバーの幅分だけマージンを設定 */
		padding-top: 0;
		/* トップバーの高さ分は下で調整 */
		height: 100vh;
		/* 画面全体の高さを使用 */
		display: flex;
		flex-direction: column;
		/* フレックスレイアウトでフッターを最下部に固定 */
	}

	/* メインコンテンツエリアの調整 */
	#content {
		padding-top: 80px;
		/* トップバーの高さ分のパディング */
		height: calc(100vh - 80px);
		/* ビューポートの高さからトップバーのみを引いた高さ */
		overflow-y: auto;
		/* コンテンツ部分のみスクロール可能 */
		display: flex;
		flex-direction: column;
		/* フレックスレイアウトでフッターを最下部に配置 */
	}

	/* データテーブルコンテナの調整 */
	.table-responsive {
		max-height: none;
		/* 固定高さを解除してスクロールに任せる */
	}

	/* ページコンテンツエリアの調整 */
	.container-fluid {
		padding-right: 20px;
		padding-left: 20px;
		flex: 1;
		/* 利用可能なスペースを最大限活用 */
		padding-bottom: 0;
		/* 下部余白を削除 */
	}

	/* フッターの調整 */
	.sticky-footer {
		background-color: #f8f9fc;
		/* コンテンツエリアと同じ背景色 */
		padding: 0.75rem 20px;
		/* サイドの余白をコンテンツエリアと合わせる */
		border-top: 1px solid #e3e6f0;
		/* 上部に境界線を追加 */
		flex-shrink: 0;
		/* フッターのサイズを固定 */
		margin: 0;
		/* すべてのマージンをリセット */
	}

	/* フッター内のコンテンツ調整 */
	.sticky-footer .container {
		margin: 0;
		padding: 0;
		max-width: none;
		/* 最大幅制限を解除 */
	}

	/* フッターテキストの調整 */
	.sticky-footer .copyright {
		font-size: 0.8rem;
		color: #6c757d;
		margin: 0;
		line-height: 1.2;
		text-align: center;
	}

	/* ユーザーメニューオーバーレイのz-index調整 */
	.user-menu-overlay {
		z-index: 10000;
		/* 固定ヘッダーより高いz-indexを設定 */
	}

	/* マップコンテナの調整（車両詳細ページ用） */
	.map-container:not(.car-view .map-container) {
		height: calc(100vh - 200px);
		/* ヘッダーとフッター分を考慮 */
		margin-bottom: 20px;
	}

	/* マップ表示時のステータスオーバーレイ調整 */
	.map-status-overlay {
		position: absolute;
		bottom: 12px;
		left: 50%;
		transform: translateX(-50%);
		width: auto;
		max-width: 90%;
		z-index: 10;
		background: rgba(255, 255, 255, 0.75);
		backdrop-filter: blur(12px);
		border: 1px solid rgba(227, 230, 240, 0.6);
		border-radius: 8px;
		padding: 12px 16px;
		display: flex;
		flex-wrap: nowrap;
		gap: 20px;
		align-items: center;
		box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		min-height: 60px;
		justify-content: center;
	}
}

/* モバイル用のPC設定リセット */
@media (max-width: 768px) {

	/* ページ全体の高さ設定でフッターを最下部に固定 */
	html,
	body {
		height: 100%;
		margin: 0;
		padding: 0;
	}

	#wrapper {
		min-height: 100vh;
		display: flex;
		flex-direction: column;
	}

	/* PC用の固定設定をモバイルで無効化 */
	.sidebar {
		position: fixed !important;
		/* 既存のオフキャンバス動作を維持 */
		margin-left: 0 !important;
		box-shadow: none !important;
		/* PC用の影を削除 */
	}

	/* スマホ表示時にサイドバーブランド（ロゴ）を強制表示 */
	.sidebar .sidebar-brand,
	.sidebar a.sidebar-brand,
	a.sidebar-brand.d-none.d-md-flex,
	.sidebar-brand {
		display: flex !important;
		/* すべての場合で強制的に表示 */
		visibility: visible !important;
		opacity: 1 !important;
		padding: 1rem 1.25rem !important;
		text-align: center !important;
		height: auto !important;
		align-items: center !important;
		justify-content: center !important;
		color: #fff !important;
		text-decoration: none !important;
		background-color: transparent !important;
	}

	/* ブランドテキストのスタイル */
	.sidebar .sidebar-brand-text,
	.sidebar-brand-text {
		font-size: 1.2rem !important;
		font-weight: 700 !important;
		color: #fff !important;
		margin: 0 !important;
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
	}

	/* Bootstrapクラスの完全上書き */
	@media (max-width: 767.98px) {
		.sidebar .d-none.d-md-flex {
			display: flex !important;
		}
	}

	.topbar {
		position: relative !important;
		left: 0 !important;
		width: 100% !important;
		margin-left: 0 !important;
	}

	#content-wrapper {
		margin-left: 0 !important;
		padding-top: 0 !important;
		width: 100% !important;
		flex: 1;
		display: flex;
		flex-direction: column;
	}

	#content {
		padding-top: 0 !important;
		height: auto !important;
		overflow-y: visible !important;
		padding-bottom: 0 !important;
		flex: 1;
	}

	.container-fluid {
		padding-right: 15px !important;
		padding-left: 15px !important;
		min-height: auto !important;
		flex: 1;
	}

	.sticky-footer {
		margin-left: 0 !important;
		margin-top: auto !important;
		/* フッターを最下部に自動配置 */
		padding: 1rem 0 !important;
		/* スマホ用に余白を調整 */
		background-color: #f8f9fc !important;
		/* コンテンツエリアと同じ背景色 */
		border-top: 1px solid #e3e6f0 !important;
		/* 上部に境界線を追加 */
		flex-shrink: 0 !important;
		/* フッターのサイズを固定 */
	}

	/* スマホ用フッターテキストの調整 */
	.sticky-footer .copyright {
		font-size: 0.8rem !important;
		/* PCと同じサイズに統一 */
		color: #6c757d !important;
		margin: 0 !important;
		line-height: 1.2 !important;
		/* PCと同じ行間に統一 */
		text-align: center !important;
	}

	/* スマホ用フッターコンテナの調整 */
	.sticky-footer .container {
		padding: 0 1rem !important;
	}

	/* スマホ用コンテンツエリアの下部余白を追加 */
	#content {
		padding-bottom: 1.5rem !important;
	}

	.container-fluid {
		padding-bottom: 1rem !important;
	}

	/* スマホ用カードコンポーネントの余白調整 */
	.card {
		margin-bottom: 2rem !important;
	}

	/* スマホ用ニュースカードの余白調整 */
	.news-container {
		margin-bottom: 1rem !important;
	}

	.user-menu-overlay {
		z-index: 100001 !important;
		/* サイドバーより高く */
	}

	/* マップ関連もモバイル用に戻す */
	.map-container:not(.car-view .map-container) {
		height: calc(100vh - 200px) !important;
		margin-bottom: 0 !important;
	}

	.map-status-overlay {
		position: absolute !important;
		bottom: 8px !important;
		left: 8px !important;
		right: 8px !important;
		transform: none !important;
		width: auto !important;
		z-index: 10 !important;
		background: rgba(255, 255, 255, 0.75);
		backdrop-filter: blur(12px);
		border: 1px solid rgba(227, 230, 240, 0.6);
		border-radius: 6px;
		padding: 8px 12px;
		display: flex;
		flex-wrap: nowrap;
		gap: 16px;
		align-items: center;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}
}

/* オフキャンバスサイドバー用のスタイル */
@media (max-width: 768px) {
	body {
		overflow-x: hidden;
		/* 横スクロールを防止 */
		/* モバイル用の最適化 */
		-webkit-overflow-scrolling: touch;
		position: relative;
	}



	/* サイドバー表示時にbodyのスクロールを防止 */
	body.sidebar-mobile-open {
		overflow: hidden;
		position: fixed;
		/* サイドバー表示時は完全に固定 */
		width: 100%;
		height: 100vh;
	}

	.sidebar {
		width: 80vw;
		/* 画面幅の80%に設定 */
		max-width: 300px;
		/* 最大幅を設定して大きな画面でも適切なサイズに */
		transition: transform 0.3s ease;
		position: fixed;
		z-index: 100000;
		/* Z-indexを最高レベルに設定してMapLibreポップアップより上に表示 */
		height: 100%;
		overflow-y: auto;
		background-color: #162556;
		left: 0;
		/* 初期位置を0に設定し、transformで移動させる */
		top: 0;
		bottom: 0;
		transform: translate3d(-100%, 0, 0);
		/* translate3dでハードウェアアクセラレーションを有効化 */
		will-change: transform;
		/* パフォーマンス最適化 */
		box-shadow: none;
		/* 初期状態では影なし */
		-webkit-transform: translate3d(-100%, 0, 0);
		/* Webkit対応 */
		-webkit-backface-visibility: hidden;
		/* 描画問題の回避 */
		backface-visibility: hidden;
	}

	.sidebar.show {
		transform: translate3d(0, 0, 0);
		/* translate3dでハードウェアアクセラレーション維持 */
		-webkit-transform: translate3d(0, 0, 0);
		/* Webkit対応 */
		box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
		visibility: visible;
		/* 明示的に可視化 */
		opacity: 1;
		/* 完全に不透明に */
	}

	/* サイドバーの外側にある閉じるボタン */
	#sidebarClose {
		position: fixed;
		top: 1rem;
		left: 310px;
		/* サイドバーの最大幅より少し多い値 */
		z-index: 100001;
		/* サイドバーより上のレイヤーに配置 */
		background-color: transparent;
		border: none;
		color: #fff;
		font-size: 1.5rem;
		line-height: 1;
		padding: 0.5rem;
		cursor: pointer;
		transition: opacity 0.3s ease, visibility 0.3s ease;
		opacity: 0;
		visibility: hidden;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 36px;
		height: 36px;
		border-radius: 50%;
		background-color: rgba(0, 0, 0, 0.4);
		will-change: opacity, visibility;
		/* パフォーマンス最適化 */
	}

	#sidebarClose:hover {
		background-color: rgba(0, 0, 0, 0.6);
	}

	.sidebar.show+.sidebar-backdrop+#content-wrapper #sidebarClose,
	.sidebar.show~#sidebarClose {
		opacity: 1;
		visibility: visible;
	}

	#content-wrapper {
		width: 100%;
		transition: transform 0.3s;
	}

	.sidebar-backdrop {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background-color: rgba(0, 0, 0, 0.5);
		z-index: 99999;
		/* サイドバーより低いが他の要素より高いz-index */
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s ease, visibility 0.3s ease;
		will-change: opacity, visibility;
		/* パフォーマンス最適化 */
	}

	.sidebar-backdrop.show {
		opacity: 1;
		visibility: visible;
	}

	/* トグルボタンの強調表示 */
	#sidebarToggleTop {
		background-color: #f8f9fc;
		color: #3a3b45;
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	}

	/* モバイルでのサイドバーメニューのレイアウト修正 */
	.sidebar .nav-item {
		display: block !important;
		/* 項目を強制的に表示 */
		visibility: visible !important;
		opacity: 1 !important;
		position: relative;
		z-index: 1;
	}

	.sidebar .nav-item .nav-link {
		display: flex !important;
		align-items: center;
		padding: 0.625rem 1.25rem;
		width: 100%;
		flex-direction: row !important;
		visibility: visible !important;
		/* 可視性を強制的に確保 */
		opacity: 1 !important;
		/* 完全に不透明に */
		color: rgba(255, 255, 255, 0.8) !important;
		/* 文字色を明示的に設定 */
		text-decoration: none;
		position: relative;
		z-index: 2;
		transform: translateZ(0);
		/* ハードウェアアクセラレーション */
	}

	.sidebar .nav-item .nav-link:hover {
		color: #fff !important;
		background-color: rgba(255, 255, 255, 0.075);
	}

	.sidebar .nav-item .nav-link i {
		font-size: 1rem;
		margin-right: 0.75rem;
		width: 1.5rem;
		text-align: center;
		flex-shrink: 0;
		display: inline-block !important;
		/* アイコンを強制的に表示 */
		visibility: visible !important;
		opacity: 1 !important;
		color: inherit;
	}

	.sidebar .nav-item .nav-link span {
		font-size: 0.9rem;
		display: inline-block !important;
		/* テキストを強制的に表示 */
		white-space: nowrap;
		visibility: visible !important;
		opacity: 1 !important;
		color: inherit;
		flex: 1;
	}

	/* オフキャンバスヘッダー部分の設定 */
	.sidebar-header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 1rem 1.25rem;
		margin-bottom: 0;
	}

	.sidebar .sidebar-brand {
		padding: 1.25rem 1.25rem;
		text-align: left;
		height: auto;
		flex-grow: 1;
		display: block !important;
		/* ブランドを強制的に表示 */
		visibility: visible !important;
		opacity: 1 !important;
		color: #fff !important;
		/* 文字色を明示的に設定 */
	}

	.sidebar .sidebar-heading {
		padding: 0.75rem 1.25rem;
		font-size: 0.8rem;
		text-transform: uppercase;
		letter-spacing: 0.05em;
		color: rgba(255, 255, 255, 0.6) !important;
		text-align: left;
		margin-top: 0;
		/* 上部の余白を削除 */
		display: block !important;
		/* ヘッダーを強制的に表示 */
		visibility: visible !important;
		opacity: 1 !important;
	}

	.sidebar hr.sidebar-divider {
		margin: 0.5rem 0;
		/* 区切り線の余白を減らす */
		border-top: 1px solid rgba(255, 255, 255, 0.1);
		display: block !important;
		/* 区切り線を強制的に表示 */
		visibility: visible !important;
		opacity: 1 !important;
	}



	/* サイドバーのナビゲーションアイテムの余白を調整 */
	.sidebar .nav-item {
		margin-bottom: 0;
		/* 項目間の余白を削除 */
	}

	/* 最初のナビゲーション項目の上部に余白を追加 */
	.sidebar .nav-item:first-of-type {
		padding-top: 1rem;
	}
}

.sidebar {
	background-color: #162556;
	background-image: none;
}

.sidebar .sidebar-heading {
	/* text-align: center; */
	padding: 0 1rem;
	font-weight: 800;
	font-size: .65rem
}

#map {
	width: 100%;
	height: 100%;
}

.logo-text {
	font-size: 2.5rem;
	font-weight: 700;
	color: #333;
	margin-bottom: 0.2rem;
	/* ロゴとサブテキストの間隔を縮める */
}

.login-wrapper {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.login-form-box {
	width: 100%;
	max-width: 550px;
	min-width: 450px;
	margin: 0 auto;
}

@media (max-width: 768px) {
	.login-form-box {
		min-width: auto;
		padding: 0 5px;
	}

	.logo-text {
		font-size: 2rem;
	}

	.login-padding {
		padding: 0.5rem !important;
		/* p-2相当のパディング */
	}
}

.form-label {
	font-weight: 600;
	color: #4e73df;
	margin-bottom: 0.5rem;
	font-size: 0.9rem;
}

.forgot-password {
	text-align: right;
	font-size: 0.85rem;
	margin-bottom: 1rem;
}

.form-control {
	height: auto;
}

.card {
	border-radius: 0.5rem;
}

.btn-primary {
	font-weight: 600;
}

/* ログインボタンのスタイル */
#login-form-submit {
	min-width: 150px;
	margin-top: 10px;
}

.sidebar .nav-item .nav-link {
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}

/* DataTables調整スタイル */
/* 検索ボックスのサイズ調整 */
div.dataTables_wrapper div.dataTables_filter input {
	height: 32px;
	padding: 0.25rem 0.5rem;
	font-size: 0.875rem;
	border-radius: 0.2rem;
}

/* 表示件数選択のサイズ調整 */
div.dataTables_wrapper div.dataTables_length select {
	min-width: 80px;
	height: 32px;
	padding: 0.25rem 0.5rem;
	font-size: 0.875rem;
}

/* 検索ボックスと表示件数選択のラベル調整 */
div.dataTables_wrapper div.dataTables_filter label,
div.dataTables_wrapper div.dataTables_length label {
	margin-bottom: 0.5rem;
	font-size: 0.875rem;
}

/* 両方に対するマージン調整 */
div.dataTables_wrapper div.dataTables_filter,
div.dataTables_wrapper div.dataTables_length {
	margin-bottom: 1rem;
}

/* テーブル全体のデザイン改善 */
table.dataTable {
	border-collapse: separate !important;
	border-spacing: 0;
	border-radius: 0.5rem;
	overflow: hidden;
	border: none;
	margin-top: 0.5rem !important;
	margin-bottom: 1rem !important;
	width: 100% !important;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.02);
}

/* テーブルヘッダー */
table.dataTable thead th {
	background: #f8f9fc;
	color: #4e73df;
	font-weight: 600;
	border-bottom: 1px solid #e3e6f0 !important;
	border-top: none;
	padding: 0.75rem 1rem;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	position: relative;
	white-space: nowrap;
}

/* テーブルボディ */
table.dataTable tbody td {
	padding: 0.75rem 1rem;
	font-size: 0.9rem;
	vertical-align: middle;
	border-bottom: 1px solid #f0f0f0;
	transition: all 0.2s;
}

/* ボーダー設定 */
table.dataTable.table-bordered {
	border: 1px solid #e3e6f0;
}

table.dataTable.table-bordered td,
table.dataTable.table-bordered th {
	border-left-width: 0;
	border-right: 1px solid #e3e6f0;
}

/* 行のホバー効果 */
table.dataTable tbody tr:hover {
	background-color: #f8f9fc;
}

/* 奇数偶数行の背景色 */
table.dataTable tbody tr:nth-of-type(odd) {
	background-color: rgba(0, 0, 0, 0.01);
}

/* バッジのスタイル調整 */
table.dataTable .badge {
	font-weight: 500;
	padding: 0.35em 0.65em;
	font-size: 0.75em;
	letter-spacing: 0.02em;
}

/* ソート関連のスタイル */
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after {
	top: 0.75rem;
	right: 0.5rem;
	font-size: 0.7rem;
}

/* ボタングループの間隔調整 */
table.dataTable .btn {
	padding: 0.25rem 0.5rem;
	font-size: 0.75rem;
}

/* 操作ボタンの表示改善 */
table.dataTable .btn-outline-info,
table.dataTable .btn-outline-danger {
	transition: all 0.2s;
	border-width: 1px;
}

table.dataTable .btn-outline-info:hover,
table.dataTable .btn-outline-danger:hover {
	transform: translateY(-1px);
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* レスポンシブ対応の改善 */
@media (max-width: 767.98px) {

	/* モバイル表示時のテーブルレイアウト調整 */
	div.dataTables_wrapper div.dataTables_length,
	div.dataTables_wrapper div.dataTables_filter,
	div.dataTables_wrapper div.dataTables_info,
	div.dataTables_wrapper div.dataTables_paginate {
		text-align: left;
		width: 100%;
		margin-bottom: 0.5rem;
	}

	/* 検索ボックスをモバイルでフル幅に */
	div.dataTables_wrapper div.dataTables_filter input {
		width: 100%;
		max-width: none;
		margin-left: 0;
	}

	/* 表示件数セレクタのモバイル表示調整 */
	div.dataTables_wrapper div.dataTables_length select {
		width: 80px;
		display: inline-block;
	}

	/* モバイルでのラベル表示を改善 */
	div.dataTables_wrapper div.dataTables_filter label,
	div.dataTables_wrapper div.dataTables_length label {
		display: flex;
		align-items: center;
		margin-bottom: 0.5rem;
		justify-content: flex-start;
		width: 100%;
	}

	div.dataTables_wrapper div.dataTables_filter label {
		flex-direction: column;
		align-items: flex-start;
	}

	div.dataTables_wrapper div.dataTables_filter input {
		margin-top: 0.25rem;
	}

	div.dataTables_wrapper div.dataTables_length label {
		flex-wrap: wrap;
	}

	div.dataTables_wrapper div.dataTables_length select {
		margin: 0 0.5rem;
	}

	/* ページネーションをモバイルに最適化 */
	div.dataTables_wrapper div.dataTables_paginate ul.pagination {
		justify-content: flex-start;
		flex-wrap: wrap;
		margin-top: 0.5rem;
	}

	div.dataTables_wrapper div.dataTables_paginate ul.pagination .page-item {
		margin-bottom: 0.25rem;
	}

	/* モバイルでのテーブル内容の調整 */
	table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control,
	table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control {
		padding-left: 30px;
	}

	/* レスポンシブ展開コンテンツを改善 */
	.dtr-details {
		width: 100%;
	}

	.dtr-details .dtr-data {
		word-break: break-word;
	}
}

/* テーブルのレスポンシブ改善 */
.table-responsive {
	min-height: 300px;
	/* テーブルの最小高さを確保 */
}

div.dataTables_wrapper .row {
	width: 100%;
	margin: 0;
}

footer.sticky-footer {
	padding: 0.75rem 20px;
	/* PC設定と合わせて縮小、左右の余白を追加 */
	flex-shrink: 0;
	background-color: #f8f9fc;
	/* コンテンツエリアと同じ背景色 */
	border-top: 1px solid #e3e6f0;
	/* 上部に境界線を追加 */
	margin: 0;
	/* すべてのマージンをリセット */
}

/* PC表示時のレイアウト最適化 */
@media (min-width: 769px) {

	/* ページ全体のレイアウト調整 */
	.row {
		margin-right: 0;
		margin-left: 0;
	}

	.col,
	.col-12,
	.col-md-12 {
		padding-right: 0;
		padding-left: 0;
	}

	/* カードコンテナの幅を最大限活用 */
	.card {
		margin-bottom: 1.5rem;
	}

	/* データテーブルのコンテナ幅を最大限活用 */
	.card-body {
		padding: 1.5rem;
	}

	/* フッターを画面下部にぴったり配置 */
	#wrapper {
		height: 100vh;
		overflow: hidden;
	}

	/* ボディの余白削除 */
	body {
		margin: 0;
		padding: 0;
	}
}

/* 車両位置表示のスタイル */
.map-container {
	position: relative;
	width: 100%;
	height: 700px;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1), 0 0 8px rgba(0, 0, 0, 0.05);
}

#map {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 1;
}

.map-status-overlay {
	position: absolute;
	bottom: 12px;
	left: 50%;
	transform: translateX(-50%);
	width: auto;
	max-width: 90%;
	z-index: 10;
	background: rgba(255, 255, 255, 0.75);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(227, 230, 240, 0.6);
	border-radius: 8px;
	padding: 12px 16px;
	display: flex;
	flex-wrap: nowrap;
	gap: 20px;
	align-items: center;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	min-height: 60px;
	justify-content: flex-start;
	scroll-behavior: smooth;
	scroll-snap-type: x proximity;
}

.map-status-overlay::-webkit-scrollbar {
	height: 3px;
	/* スクロールバーの高さ */
}

.map-status-overlay::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.05);
	border-radius: 2px;
}

.map-status-overlay::-webkit-scrollbar-thumb {
	background-color: rgba(0, 0, 0, 0.3);
	/* スクロールバーの色 */
	border-radius: 2px;
	/* スクロールバーの角丸 */
	transition: background-color 0.3s ease;
}

.map-status-overlay::-webkit-scrollbar-thumb:hover {
	background-color: rgba(0, 0, 0, 0.5);
}

.status-item {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-width: 90px;
	flex-shrink: 0;
	padding: 4px 8px;
	text-align: center;
	scroll-snap-align: start;
}

.status-label {
	font-size: 0.75rem;
	font-weight: 500;
	color: #718096;
	margin-bottom: 4px;
	white-space: nowrap;
	text-transform: none;
	letter-spacing: 0;
}

.status-value {
	font-size: 0.95rem;
	font-weight: 600;
	color: #4e73df;
	line-height: 1.3;
	white-space: nowrap;
	display: block;
}

/* 区切り線のスタイル - すべての項目の右側に一貫した区切り線を追加 */
.status-item:not(:last-child)::after {
	content: none;
	/* 共通の区切り線を無効化 */
}

/* マップマーカーのポップアップスタイル */
.car-popup {
	padding: 5px;
}

.car-popup h5 {
	margin-top: 5px;
	margin-bottom: 10px;
	color: #4e73df;
	font-weight: 600;
	font-size: 1rem;
}

.car-popup p {
	margin-bottom: 5px;
	font-size: 0.85rem;
	line-height: 1.5;
}

/* マップコントロールのスタイル調整 */
.maplibregl-ctrl-bottom-right {
	bottom: 20px;
	right: 15px;
	z-index: 5;
}

.maplibregl-ctrl-group {
	border-radius: 8px !important;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1) !important;
	overflow: hidden;
	background-color: rgba(255, 255, 255, 0.9) !important;
	backdrop-filter: blur(4px);
	border: 1px solid rgba(0, 0, 0, 0.05) !important;
	z-index: 5;
}

.maplibregl-ctrl button {
	width: 36px !important;
	height: 36px !important;
}

.maplibregl-ctrl button.maplibregl-ctrl-zoom-in,
.maplibregl-ctrl button.maplibregl-ctrl-zoom-out {
	display: flex !important;
	align-items: center;
	justify-content: center;
}

.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon,
.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon {
	background-position: center !important;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
	.map-container {
		height: calc(100vh - 200px);
		/* フッター分のスペースを確保 */
		margin-bottom: 0;
	}

	.map-status-overlay {
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 10;
		background: rgba(255, 255, 255, 0.85);
		backdrop-filter: blur(8px);
		border-top: 1px solid #e3e6f0;
		padding: 8px 12px;
		display: flex;
		flex-wrap: nowrap;
		gap: 16px;
		align-items: center;
		box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.status-item {
		padding: 8px 12px;
		min-width: 80px;
		flex-shrink: 0;
	}

	.status-label {
		font-size: 0.7rem;
	}

	.status-value {
		font-size: 0.85rem;
	}

	/* モバイルでは拡大縮小ボタンを非表示 */
	.maplibregl-ctrl-bottom-right {
		display: none;
	}

	/* ページヘッダーのマージン調整 */
	.d-sm-flex.align-items-center.justify-content-between.mb-4 {
		margin-bottom: 1rem !important;
	}
}

@media (max-width: 576px) {
	.status-item {
		min-width: 80px;
		padding: 5px 10px;
	}
}

/* ステータス値のスタイル */
.status-value.status-active {
	color: #858796;
	/* グレー - 待機中 */
}

.status-value.status-inactive {
	color: #1cc88a;
	/* 緑色 - 稼働中 */
}

.status-value.status-maintenance {
	color: #f6c23e;
	/* 黄色 - メンテナンス中 */
}

.status-value.status-warning {
	color: #e74a3b;
	/* 赤色 - 警告 */
}

.status-value.status-critical {
	color: #c82333;
	font-weight: bold;
	/* 濃い赤色 - 危険 */
}

/* ダッシュボード - お知らせセクションのスタイル */
.news-item {
	border-radius: 0.5rem;
	transition: all 0.2s ease-in-out;
}

.news-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

/* ダッシュボード - シンプルメニューのスタイル */
.simple-menu-btn {
	padding: 10px 15px;
	border: 1px solid #e3e6f0;
	transition: all 0.2s ease-in-out;
	font-size: 0.875rem;
	font-weight: 500;
}

.simple-menu-btn:hover:not(:disabled) {
	transform: translateY(-1px);
	box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.simple-menu-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.simple-menu-btn i {
	color: #5a5c69;
}

.simple-menu-btn.btn-outline-primary i {
	color: #4e73df;
}

.simple-menu-btn.btn-outline-primary:hover:not(:disabled) i {
	color: #fff;
}

/* ルートボタンのスタイル */
.map-route-btn {
	position: absolute;
	right: 10px;
	top: 10px;
	z-index: 1000;
	width: 40px;
	height: 40px;
	background-color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
	cursor: pointer;
	transition: all 0.2s ease;
	border: 1px solid rgba(0, 0, 0, 0.1);
}

.map-route-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.map-route-btn svg {
	color: #4e73df;
}

/* ルートポップアップのスタイル */
.route-popup {
	position: absolute;
	right: 10px;
	top: 60px;
	z-index: 1001;
	background-color: white;
	border-radius: 8px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
	width: 280px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.3s ease;
}

.route-popup.active {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.route-popup-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 15px;
	border-bottom: 1px solid #eaecf4;
}

.route-popup-header h6 {
	margin: 0;
	font-weight: 600;
	color: #4e73df;
}

.close-popup {
	background: none;
	border: none;
	font-size: 1.5rem;
	line-height: 1;
	padding: 0;
	color: #858796;
	cursor: pointer;
}

.route-popup-body {
	padding: 15px;
}

.route-popup .form-group {
	margin-bottom: 15px;
}

.route-popup label {
	font-size: 0.8rem;
	font-weight: 600;
	color: #5a5c69;
	margin-bottom: 5px;
}

.route-popup .form-control {
	border-radius: 4px;
	height: 38px;
	font-size: 0.85rem;
}

.route-popup .btn-primary {
	margin-top: 10px;
}

/* ルート読み込み中のアラート */
.route-loading-alert {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 5;
	background-color: rgba(255, 255, 255, 0.9);
	border-radius: 8px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
	padding: 15px 20px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.route-loading-alert.error {
	background-color: rgba(231, 74, 59, 0.1);
	border-left: 4px solid #e74a3b;
}

.route-loading-alert span {
	font-weight: 500;
	color: #5a5c69;
}

.route-loading-alert.error span {
	color: #e74a3b;
}

.spinner-border {
	width: 1.2rem;
	height: 1.2rem;
	border-width: 0.2em;
}

/* カスタムポップアップのスタイル */
.maplibregl-popup.custom-popup {
	z-index: 99999 !important;
	position: relative !important;
}

.maplibregl-popup.custom-popup .maplibregl-popup-content {
	padding: 0;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	border: 1px solid rgba(0, 0, 0, 0.08);
	overflow: hidden;
	min-width: 280px;
	z-index: 99999 !important;
	position: relative !important;
}

.maplibregl-popup.custom-popup .maplibregl-popup-tip {
	border-top-color: white;
	z-index: 99999 !important;
	position: relative !important;
}

/* MapLibreポップアップ全体のz-index強制設定 */
.maplibregl-popup {
	z-index: 99999 !important;
}

/* すべてのMapLibreポップアップ要素に最高優先度を設定 */
div.maplibregl-popup {
	z-index: 99999 !important;
	position: relative !important;
}

div.maplibregl-popup * {
	z-index: inherit !important;
}

/* 閉じるボタンのカスタマイズ */
.maplibregl-popup.custom-popup .maplibregl-popup-close-button {
	position: absolute;
	right: 8px;
	top: 8px;
	width: 24px;
	height: 24px;
	background: rgba(255, 255, 255, 0.9);
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	color: #4e73df;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
	z-index: 99999 !important;
	text-decoration: none;
	outline: none;
	padding: 0;
	margin: 0;
}

.maplibregl-popup.custom-popup .maplibregl-popup-close-button:hover {
	background: white;
	color: #2d5aa0;
	border-color: rgba(255, 255, 255, 0.8);
	transform: scale(1.1);
}

.maplibregl-popup.custom-popup .maplibregl-popup-close-button:focus {
	outline: none;
	box-shadow: 0 0 0 2px rgba(78, 115, 223, 0.3);
}

.custom-car-popup {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.custom-car-popup .popup-header {
	background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
	color: white;
	padding: 15px;
	display: flex;
	align-items: center;
}

.custom-car-popup .vehicle-info {
	flex: 1;
}

.custom-car-popup .vehicle-title {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
}

.custom-car-popup .vehicle-plate {
	font-size: 0.8rem;
	opacity: 0.9;
	font-weight: 400;
}

.custom-car-popup .popup-body {
	padding: 15px;
	background: white;
}

.custom-car-popup .info-grid {
	display: grid;
	gap: 12px;
}

.custom-car-popup .info-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 0;
	border-bottom: 1px solid #f1f3f4;
}

.custom-car-popup .info-item:last-child {
	border-bottom: none;
}

.custom-car-popup .info-label {
	font-size: 0.8rem;
	color: #5a6c7d;
	font-weight: 500;
}

.custom-car-popup .info-value {
	font-size: 0.85rem;
	color: #2c3e50;
	font-weight: 600;
}

.custom-car-popup .popup-footer {
	padding: 12px 15px;
	background: #f8f9fa;
	border-top: 1px solid #e9ecef;
	display: flex;
	gap: 8px;
}

.custom-car-popup .popup-btn {
	flex: 1;
	padding: 8px 6px;
	text-decoration: none;
	border-radius: 6px;
	font-size: 0.7rem;
	font-weight: 500;
	text-align: center;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
	min-width: 0;
}

/* ICCIDコピー機能のスタイル */
.custom-car-popup .info-value-with-copy {
	display: flex;
	align-items: center;
	gap: 8px;
}

.custom-car-popup .copy-btn {
	background: none;
	border: 1px solid #e9ecef;
	border-radius: 4px;
	color: #6c757d;
	padding: 4px 6px;
	font-size: 0.75rem;
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
}

.custom-car-popup .copy-btn:hover {
	background: #f8f9fa;
	color: #4e73df;
	border-color: #4e73df;
}

.custom-car-popup .copy-btn.copied {
	background: #d1ecf1;
	color: #0c5460;
	border-color: #bee5eb;
}

.custom-car-popup .street-view-btn {
	background: #34a853;
	color: white;
}

.custom-car-popup .street-view-btn:hover {
	background: #2d8f47;
	color: white;
	text-decoration: none;
	transform: translateY(-1px);
}

.custom-car-popup .route-btn {
	background: #ff6b35;
	color: white;
}

.custom-car-popup .route-btn:hover {
	background: #e55a2b;
	color: white;
	text-decoration: none;
	transform: translateY(-1px);
}

/* 軌跡ポイント用のスタイル調整 */
.custom-car-popup.route-point .popup-header {
	background: linear-gradient(135deg, #1cc88a 0%, #13855c 100%);
}

.custom-car-popup.route-point .vehicle-icon {
	background: rgba(255, 255, 255, 0.2);
}

/* モバイル対応 */
@media (max-width: 768px) {
	.route-popup {
		width: calc(100% - 20px);
		left: 10px;
		right: auto;
	}
}

/* エンジン操作ボタンのスタイル - 上下中央揃え・区切り線調整版 */
.status-item.engine-control {
	cursor: default;
	background-color: transparent;
	border-radius: 0;
	padding: 0 25px 0 12px;
	/* 右側のパディングをさらに増やして区切り線との間隔を確保 */
	min-width: 110px;
	/* 最小幅を調整 */
	border: none;
	position: relative;
	scroll-snap-align: start;
}

/* 区切り線の設定を変更 - すべての設定をリセット */
.map-status-overlay .status-item:not(:first-child)::before {
	content: none;
	/* 既存の区切り線をすべて削除 */
}

/* engine-controlの右側だけに区切り線を追加 - 位置を真ん中に移動 */
.status-item.engine-control::after {
	content: '';
	position: absolute;
	right: 0;
	/* 右端から開始 */
	top: 10%;
	height: 80%;
	width: 1px;
	background-color: #ddd;
	transform: translateX(15px);
	/* 区切り線をさらに右に移動させて中間に配置 */
}

/* 速度アイテム（エンジン操作の次の要素）の左パディングを増やして区切り線との間隔を確保 */
.status-item.engine-control+.status-item {
	padding-left: 25px;
	/* 左側のパディングをさらに増やして区切り線との間隔を確保 */
}

/* ラベル部分を通常のステータスラベルと同じにする */
.status-item.engine-control .status-label {
	color: #666;
	font-size: 0.8rem;
	font-weight: 600;
	margin-bottom: 5px;
	text-transform: none;
	letter-spacing: normal;
}

/* 値の部分をボタン化 */
.engine-control-value {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.9rem;
	padding: 5px 10px;
	border-radius: 10px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* inactiveの場合のみカーソルをポインターに */
span#engineControlAction {
	cursor: pointer;
	transition: all 0.2s ease;
}

span#engineControlAction:hover {
	transform: translateY(-2px);
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

span#engineControlAction:active {
	transform: translateY(0);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* active状態のエンジン操作ボタンは操作不可にする */
.status-value.status-active,
.status-value.status-maintenance,
.status-value.status-off {
	cursor: not-allowed;
	opacity: 0.7;
}

.engine-control-value.engine-on {
	background-color: #1cc88a;
	color: white;
}

.engine-control-value.engine-off {
	background-color: #e74a3b;
	color: white;
}

.engine-control-value i {
	margin-right: 5px;
	font-size: 0.9rem;
}

/* モバイル対応 */
@media (max-width: 576px) {
	.status-item.engine-control {
		min-width: 90px;
		padding: 0 10px 0 8px;
		/* モバイル向けにパディングを調整 */
	}

	.status-item {
		padding: 0 8px;
		/* モバイル向けに各項目のパディングを縮小 */
	}

	.engine-control-value {
		font-size: 0.85rem;
		padding: 4px 8px;
	}
}

/* エンジン操作確認ダイアログ */
.engine-control-dialog {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease;
}

.engine-control-dialog.active {
	opacity: 1;
	visibility: visible;
}

.engine-dialog-content {
	background-color: white;
	border-radius: 8px;
	width: 90%;
	max-width: 400px;
	padding: 20px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.engine-dialog-header {
	margin-bottom: 15px;
	padding-bottom: 10px;
	border-bottom: 1px solid #eaecf4;
	text-align: center;
}

.engine-dialog-header h5 {
	margin: 0;
	color: #e74a3b;
	font-weight: 700;
}

.engine-dialog-body {
	margin-bottom: 20px;
	text-align: center;
}

.engine-dialog-footer {
	display: flex;
	justify-content: center;
	gap: 10px;
}

/* 地図のアトリビューション表示を左下に最小化して配置 */
.maplibregl-ctrl-bottom-left {
	/* 左下のコントロール位置を微調整 */
	left: 8px !important;
	bottom: 8px !important;
}

.maplibregl-ctrl-bottom-left .maplibregl-ctrl-attrib {
	/* アトリビューションコントロールのスタイル */
	background-color: rgba(255, 255, 255, 0.9) !important;
	backdrop-filter: blur(4px);
	border-radius: 4px !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
	border: 1px solid rgba(0, 0, 0, 0.1) !important;
	max-width: 200px;
	/* 最大幅を制限 */
	font-size: 10px !important;
}

.maplibregl-ctrl-bottom-left .maplibregl-ctrl-attrib-inner {
	/* アトリビューション内部のスタイル */
	font-size: 9px !important;
	line-height: 1.2 !important;
	padding: 2px 4px !important;
	color: #666 !important;
}

.maplibregl-ctrl-bottom-left .maplibregl-ctrl-attrib-inner a {
	/* アトリビューションリンクのスタイル */
	color: #4285F4 !important;
	text-decoration: none !important;
	font-size: 9px !important;
}

.maplibregl-ctrl-bottom-left .maplibregl-ctrl-attrib-inner a:hover {
	text-decoration: underline !important;
}

/* レスポンシブ対応 - モバイル端末での最小化 */
@media (max-width: 768px) {
	.maplibregl-ctrl-bottom-left .maplibregl-ctrl-attrib {
		max-width: 150px;
		font-size: 8px !important;
	}

	.maplibregl-ctrl-bottom-left .maplibregl-ctrl-attrib-inner {
		font-size: 8px !important;
		padding: 1px 3px !important;
	}

	.maplibregl-ctrl-bottom-left .maplibregl-ctrl-attrib-inner a {
		font-size: 8px !important;
	}
}

@media (max-width: 480px) {
	.maplibregl-ctrl-bottom-left .maplibregl-ctrl-attrib {
		max-width: 120px;
		font-size: 7px !important;
	}

	.maplibregl-ctrl-bottom-left .maplibregl-ctrl-attrib-inner {
		font-size: 7px !important;
		padding: 1px 2px !important;
	}

	.maplibregl-ctrl-bottom-left .maplibregl-ctrl-attrib-inner a {
		font-size: 7px !important;
	}
}

/* ================================================
   cars/view.php から移動したCSS
   ================================================ */

/* 車両詳細ページ用カスタムCSS */
.car-view .card {
	border: 1px solid #e3e6f0;
	box-shadow: none;
}

.car-view .border-left-primary {
	border-left: 0.25rem solid #4e73df !important;
}

.car-view .border-left-success {
	border-left: 0.25rem solid #1cc88a !important;
}

.car-view .border-left-info {
	border-left: 0.25rem solid #36b9cc !important;
}

.car-view .copy-btn {
	border: none;
	background: transparent;
	color: #6c757d;
	padding: 2px 6px;
	border-radius: 3px;
}

.car-view .card-body .text-xs {
	font-size: 0.75rem;
}

.car-view .badge {
	font-size: 0.7rem;
}

.car-view .h6 a {
	color: inherit;
	text-decoration: none;
}

/* カードヘッダーを白背景に */
.car-view .card-header {
	background-color: #ffffff !important;
	border-bottom: 1px solid #e3e6f0;
}

/* マップコンテナーの高さ調整 */
.car-view .map-container {
	height: 600px;
	width: 100%;
	position: relative;
	overflow: hidden;
	border-radius: 8px;
}

.car-view #map {
	height: 100% !important;
	width: 100% !important;
	border-radius: 0;
	border: none;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}

/* マップ用のカードのパディング調整 */
.car-view .map-card .card-body {
	padding: 0 !important;
	margin: 0 !important;
	height: 600px;
}

.car-view .map-card {
	overflow: hidden;
	height: auto;
	display: flex;
	flex-direction: column;
}

.car-view .map-card .card-header {
	flex-shrink: 0;
}

.car-view .map-card .card-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	height: 450px;
}

/* ステータス情報の表示調整 */
.car-view .map-status-overlay {
	position: absolute;
	bottom: 12px;
	left: 50%;
	transform: translateX(-50%);
	width: auto;
	max-width: 90%;
	z-index: 10;
	background: rgba(255, 255, 255, 0.75);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(227, 230, 240, 0.6);
	border-radius: 8px;
	padding: 12px 16px;
	display: flex;
	flex-wrap: nowrap;
	gap: 20px;
	align-items: center;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	height: auto;
	min-height: 60px;
	justify-content: flex-start;
	scroll-behavior: smooth;
	scroll-snap-type: x proximity;
}

/* スクロールバーを非表示 */
.car-view .map-status-overlay::-webkit-scrollbar {
	display: none;
}

.car-view .status-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	min-width: 90px;
	flex-shrink: 0;
	padding: 4px 8px;
	justify-content: center;
	scroll-snap-align: start;
}

.car-view .status-label {
	font-size: 0.75rem;
	color: #718096;
	margin-bottom: 4px;
	font-weight: 500;
	white-space: nowrap;
	text-transform: none;
	letter-spacing: 0;
}

.car-view .status-value {
	font-size: 0.95rem;
	font-weight: 600;
	color: #4e73df;
	line-height: 1.3;
	white-space: nowrap;
	display: block;
}

/* エンジン操作ボタンのスタイル */
.car-view .engine-control {
	cursor: pointer;
	padding: 8px 12px;
	border-radius: 6px;
}

/* コンテンツのスペーシング */
.car-view .mb-4 {
	margin-bottom: 1.5rem !important;
}

/* カードタイトルのスタイル */
.car-view .text-uppercase {
	letter-spacing: 0.5px;
}

/* アイコンのサイズ調整 */
.car-view .fa-2x {
	opacity: 0.1;
}

/* バッジの調整 */
.car-view .badge-success {
	background-color: #1cc88a;
}

.car-view .badge-secondary {
	background-color: #858796;
}

.car-view .badge-warning {
	background-color: #f6c23e;
}

/* 新しい情報セクションのスタイル */
.car-view .info-section-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 2rem;
	padding: 0.5rem 0;
	background: #f8f9fc;
	border-radius: 12px;
	margin-top: 0.5rem;
}

.car-view .info-section {
	background: #ffffff;
	border-radius: 10px;
	padding: 1.5rem;
}

.car-view .info-header {
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 2px solid #f1f3f4;
}

.car-view .info-title h6 {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 600;
	color: #2d3748;
	line-height: 1.2;
}

.car-view .info-content {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.car-view .info-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding: 0.5rem 0;
	border-bottom: 1px solid #f7fafc;
}

.car-view .info-row:last-child {
	border-bottom: none;
}

.car-view .info-label {
	font-size: 0.85rem;
	color: #4a5568;
	font-weight: 500;
	flex-shrink: 0;
	/* width: 120px; */
	margin-right: 1rem;
}

.car-view .info-value {
	font-size: 0.9rem;
	color: #1a202c;
	font-weight: 400;
	text-align: right;
	flex: 1;
	word-break: break-word;
}

.car-view .info-link {
	color: #3182ce;
	text-decoration: none;
	font-weight: 500;
}

.car-view .external-link {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
}

.car-view .iccid-value {
	font-family: 'Courier New', monospace;
	font-size: 0.85rem;
	background: #f7fafc;
	padding: 2px 6px;
	border-radius: 4px;
	margin-right: 0.5rem;
}

.car-view .copy-iccid-btn {
	background: none;
	border: none;
	color: #718096;
	cursor: pointer;
	padding: 4px 6px;
	border-radius: 4px;
}

.car-view .copy-iccid-btn.copied {
	color: #38a169;
}

.car-view .status-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.car-view .status-active {
	background: #c6f6d5;
	color: #276749;
}

.car-view .status-inactive {
	background: #e2e8f0;
	color: #4a5568;
}

.car-view .status-maintenance {
	background: #fed7d7;
	color: #c53030;
}

.car-view .highlight-time {
	color: #3182ce !important;
	font-weight: 600;
	font-family: 'Courier New', monospace;
	font-size: 0.85rem;
}

.car-view .warning-text {
	color: #e53e3e !important;
	font-weight: 500;
}

.car-view .info-empty {
	text-align: center;
	padding: 2rem 1rem;
}

.car-view .empty-message {
	display: block;
	color: #718096;
	font-size: 0.9rem;
	margin-bottom: 1rem;
}

.car-view .btn-outline-primary {
	border-color: #3182ce;
	color: #3182ce;
}

/* 車両詳細ページのモバイルレスポンシブ */
@media (max-width: 768px) {
	.car-view .card-body {
		padding: 1rem 0.75rem;
	}

	.car-view .col-auto {
		display: none;
	}

	.car-view .h3 {
		font-size: 1.25rem;
	}

	.car-view .map-container {
		height: auto;
		min-height: 400px;
		position: relative;
		overflow: hidden;
		border-radius: 6px;
		aspect-ratio: 16 / 10;
	}

	.car-view #map {
		height: 100% !important;
		width: 100% !important;
		position: absolute;
		top: 0;
		left: 0;
		z-index: 1;
	}

	.car-view .map-status-overlay {
		position: absolute;
		bottom: 8px;
		left: 8px;
		right: 8px;
		transform: none;
		width: auto;
		z-index: 10;
		background: rgba(255, 255, 255, 0.75);
		backdrop-filter: blur(12px);
		border: 1px solid rgba(227, 230, 240, 0.6);
		border-radius: 6px;
		padding: 8px 12px;
		gap: 14px;
		min-height: 50px;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	}

	.car-view .status-item {
		min-width: 75px;
		padding: 4px 6px;
		justify-content: center;
	}

	.car-view .status-label {
		font-size: 0.7rem;
		margin-bottom: 3px;
	}

	.car-view .status-value {
		font-size: 0.88rem;
		font-weight: 600;
	}
}

/* レスポンシブデザイン - 車両詳細 */
@media (max-width: 992px) {
	.car-view .info-section-container {
		grid-template-columns: 1fr;
		gap: 1.5rem;
		padding: 1.5rem;
	}

	.car-view .info-section {
		padding: 1.25rem;
	}

	.car-view .info-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.25rem;
	}

	.car-view .info-label {
		width: auto;
		margin-right: 0;
		margin-bottom: 0.25rem;
	}

	.car-view .info-value {
		text-align: left;
	}
}

@media (max-width: 768px) {
	.car-view .info-section-container {
		padding: 0.5rem 0;
		margin-left: 0;
		margin-right: 0;
		border-radius: 0;
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.car-view .info-section {
		margin: 0;
		border-radius: 6px;
		padding: 1rem;
	}

	.car-view .info-header {
		margin-bottom: 1rem;
		padding-bottom: 0.75rem;
	}

	.car-view .info-icon {
		width: 40px;
		height: 40px;
		font-size: 1rem;
	}

	.car-view .info-title h6 {
		font-size: 1rem;
	}
}

/* ================================================
   layout/dashboard.php から移動したCSS
   ================================================ */

/* QRモーダル専用スタイル */
.dashboard .modal-dialog-centered {
	display: flex;
	align-items: center;
	min-height: calc(100% - 1rem);
}

.dashboard .modal-dialog-centered::before {
	content: "";
	display: block;
	height: calc(100vh - 1rem);
	height: -webkit-min-content;
	height: -moz-min-content;
	height: min-content;
}

@media (min-width: 576px) {
	.dashboard .modal-dialog-centered {
		min-height: calc(100% - 3.5rem);
	}

	.dashboard .modal-dialog-centered::before {
		height: calc(100vh - 3.5rem);
		height: -webkit-min-content;
		height: -moz-min-content;
		height: min-content;
	}
}

/* QRスキャンモーダル専用スタイル */
.dashboard .qr-modal-dialog {
	max-width: 90vw;
	width: auto;
	margin: 1rem auto;
}

.dashboard .qr-modal-content {
	border-radius: 10px;
	overflow: hidden;
}

.dashboard .qr-modal-header {
	padding: 0.75rem 1rem;
	border-bottom: 1px solid #dee2e6;
	background-color: #f8f9fa;
}

.dashboard .qr-modal-body {
	padding: 1rem;
}

.dashboard .qr-reader-container {
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	border-radius: 8px;
	overflow: hidden;
	background-color: #000;
}

.dashboard .qr-video {
	width: 100%;
	height: auto;
	max-height: 60vh;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}

.dashboard .qr-message-container {
	margin-top: 1rem;
}

.dashboard .qr-instruction {
	margin-bottom: 0.5rem;
	font-size: 0.9rem;
}

.dashboard .qr-result,
.dashboard .qr-error {
	margin-bottom: 0;
	padding: 0.5rem 0.75rem;
	font-size: 0.875rem;
}

.dashboard .qr-modal-footer {
	padding: 0.5rem 1rem;
	border-top: 1px solid #dee2e6;
	background-color: #f8f9fa;
}

/* スマホサイズでの最適化 */
@media (max-width: 576px) {
	.dashboard .qr-modal-dialog {
		max-width: 95vw;
		margin: 0.5rem auto;
	}

	.dashboard .qr-modal-body {
		padding: 0.75rem;
	}

	.dashboard .qr-video {
		max-height: 50vh;
		border-radius: 6px;
	}

	.dashboard .qr-modal-header,
	.dashboard .qr-modal-footer {
		padding: 0.5rem 0.75rem;
	}

	.dashboard .modal-title {
		font-size: 1.1rem;
	}
}

/* PCサイズでの最適化 */
@media (min-width: 768px) {
	.dashboard .qr-modal-dialog {
		max-width: 500px;
		width: 500px;
		margin-left: auto;
		margin-right: auto;
	}

	.dashboard .qr-video {
		max-height: 70vh;
	}
}

/* カスタムニューススタイル */
.dashboard .news-container {
	padding: 0;
}

/* ニュースアイテムのスタイル */
.dashboard .news-item {
	margin-bottom: 0.75rem;
	border-radius: 0.5rem;
	overflow: hidden;
	box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
	transition: all 0.3s ease;
	border: 1px solid #e3e6f0;
}

.dashboard .news-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
	border-color: #4e73df;
}

.dashboard .news-item:last-child {
	margin-bottom: 0;
}

/* ニュースリンクのスタイル */
.dashboard .news-link {
	text-decoration: none;
	color: inherit;
	display: block;
	padding: 1rem;
	transition: background-color 0.2s ease;
}

.dashboard .news-link:hover {
	text-decoration: none;
	color: inherit;
	background-color: #f8f9fc;
}

/* ニュースコンテンツのスタイル */
.dashboard .news-content {
	width: 100%;
}

/* ニュースヘッダーのスタイル */
.dashboard .news-header {
	margin-bottom: 0.75rem;
}

.dashboard .news-meta {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.dashboard .news-badges {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	flex-wrap: wrap;
}

.dashboard .news-category-badge {
	font-size: 0.75rem;
	padding: 0.25rem 0.5rem;
	border-radius: 0.25rem;
	font-weight: 500;
}

.dashboard .news-status-badge {
	font-size: 0.7rem;
	padding: 0.2rem 0.4rem;
}

.dashboard .news-date {
	font-size: 0.75rem;
	color: #6c757d;
	white-space: nowrap;
}

/* ニュースボディのスタイル */
.dashboard .news-body {
	margin-bottom: 0.75rem;
}

.dashboard .news-title {
	font-size: 1rem;
	font-weight: 600;
	color: #2d3436;
	margin-bottom: 0.5rem;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.dashboard .news-excerpt {
	font-size: 0.875rem;
	color: #636e72;
	line-height: 1.5;
	margin-bottom: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ニュースフッターのスタイル */
.dashboard .news-footer {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding-top: 0.5rem;
	border-top: 1px solid #e9ecef;
}

.dashboard .news-read-more {
	font-size: 0.75rem;
	color: #4e73df;
	font-weight: 500;
	transition: color 0.2s ease;
}

.dashboard .news-item:hover .news-read-more {
	color: #2e59d9;
}

/* 空のニュース状態のスタイル */
.dashboard .news-empty {
	text-align: center;
	padding: 3rem 1rem;
	background-color: #f8f9fc;
	border-radius: 0.5rem;
	border: 2px dashed #d1d3e2;
}

.dashboard .news-empty-content {
	max-width: 300px;
	margin: 0 auto;
}

.dashboard .news-empty-icon {
	font-size: 3rem;
	color: #d1d3e2;
	margin-bottom: 1rem;
}

.dashboard .news-empty-title {
	font-size: 1.1rem;
	color: #5a5c69;
	margin-bottom: 0.5rem;
	font-weight: 600;
}

.dashboard .news-empty-text {
	font-size: 0.875rem;
	color: #858796;
	margin-bottom: 0;
	line-height: 1.5;
}

/* モバイル対応 */
@media (max-width: 768px) {
	.dashboard .news-meta {
		flex-direction: column;
		align-items: flex-start;
	}

	.dashboard .news-badges {
		margin-bottom: 0.25rem;
	}

	.dashboard .news-footer {
		justify-content: center;
	}

	.dashboard .news-title {
		font-size: 0.9rem;
	}

	.dashboard .news-excerpt {
		font-size: 0.8rem;
	}
}

/* フォーカス時のスタイル */
.dashboard .news-link:focus {
	outline: 2px solid #4e73df;
	outline-offset: 2px;
}

/* ================================================
   layout/header.php から移動したCSS
   ================================================ */

/* カスタムマルチセレクト */
.custom-multiselect-wrapper {
	position: relative;
}

.custom-multiselect-btn {
	border: 1px solid #d1d3e2;
	border-radius: 0.35rem;
	padding: 0.375rem 0.75rem;
	font-size: 1rem;
	text-align: left;
	background-color: #fff;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.custom-multiselect-btn::after {
	display: none;
	/* Bootstrap標準の矢印を非表示 */
}

.custom-multiselect-btn .fas {
	margin-left: 8px;
}

.custom-multiselect-menu {
	display: none;
	position: absolute;
	width: 100%;
	max-height: 300px;
	overflow-y: auto;
	background-color: #fff;
	border: 1px solid #d1d3e2;
	border-radius: 0.35rem;
	z-index: 1000;
	padding: 0.5rem;
	margin-top: 0.25rem;
	box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

.custom-multiselect-option {
	padding: 0.375rem 0;
	cursor: pointer;
	transition: background-color 0.2s;
}

.custom-multiselect-option:hover {
	background-color: rgba(78, 115, 223, 0.05);
}

.custom-multiselect-option label {
	margin-bottom: 0;
	width: 100%;
	cursor: pointer;
}

.custom-multiselect-option input[type="checkbox"] {
	margin-right: 0.5rem;
}

.custom-multiselect-search {
	position: sticky;
	top: 0;
	background-color: #fff;
	padding: 0.25rem 0;
	z-index: 1;
}

.open .custom-multiselect-menu {
	display: block;
}

/* カスタム選択プルダウン（検索機能付き） */
.custom-searchable-select-wrapper {
	position: relative;
}

.custom-searchable-select-btn {
	border: 1px solid #d1d3e2;
	border-radius: 0.35rem;
	padding: 0.375rem 2rem 0.375rem 0.75rem;
	font-size: 1rem;
	text-align: left;
	background-color: #fff;
	cursor: pointer;
	display: block;
	width: 100%;
	min-height: 38px;
	position: relative;
}

.custom-searchable-select-btn:focus {
	outline: 0;
	border-color: #4e73df;
	box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
}

.custom-searchable-select-btn::after {
	content: '';
	position: absolute;
	right: 0.75rem;
	top: 50%;
	transform: translateY(-50%);
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 5px solid #6c757d;
}

.custom-searchable-select-btn.open::after {
	border-top: none;
	border-bottom: 5px solid #6c757d;
}

.custom-searchable-select-menu {
	display: none;
	position: absolute;
	width: 100%;
	max-height: 300px;
	overflow-y: auto;
	background-color: #fff;
	border: 1px solid #d1d3e2;
	border-radius: 0.35rem;
	z-index: 1050;
	margin-top: 0.25rem;
	box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

/* 上向き表示の場合 */
.custom-searchable-select-menu.show-above {
	top: auto;
	bottom: 100%;
	margin-top: 0;
	margin-bottom: 0.25rem;
	border-radius: 0.35rem;
	box-shadow: 0 -0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

.custom-searchable-select-search {
	position: sticky;
	top: 0;
	background-color: #fff;
	padding: 0.5rem;
	border-bottom: 1px solid #e3e6f0;
	z-index: 1;
}

.custom-searchable-select-search input {
	width: 100%;
	padding: 0.375rem 0.75rem;
	border: 1px solid #d1d3e2;
	border-radius: 0.25rem;
	font-size: 0.875rem;
}

.custom-searchable-select-options {
	padding: 0.25rem 0;
}

.custom-searchable-select-option {
	padding: 0.5rem 0.75rem;
	cursor: pointer;
	transition: background-color 0.2s;
	border-bottom: 1px solid #f8f9fc;
}

.custom-searchable-select-option:hover {
	background-color: rgba(78, 115, 223, 0.05);
}

.custom-searchable-select-option:last-child {
	border-bottom: none;
}

.custom-searchable-select-option.selected {
	background-color: rgba(78, 115, 223, 0.1);
	color: #4e73df;
}

.custom-searchable-select-option.new-item {
	background-color: rgba(40, 167, 69, 0.1);
	color: #28a745;
	font-style: italic;
}

.custom-searchable-select-option.new-item:hover {
	background-color: rgba(40, 167, 69, 0.15);
}

.custom-searchable-select-option.no-results {
	color: #6c757d;
	font-style: italic;
	cursor: default;
}

.custom-searchable-select-option.no-results:hover {
	background-color: transparent;
}

.open .custom-searchable-select-menu {
	display: block;
}


/* ユーザーメニューオーバーレイ */
.user-menu-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 9999;
	display: none;
	justify-content: center;
	align-items: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.user-menu-overlay.show {
	display: flex;
	opacity: 1;
}

.user-menu-content {
	background: white;
	border-radius: 15px;
	padding: 2rem;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	text-align: center;
	min-width: 280px;
	max-width: 90%;
	transform: scale(0.8);
	transition: transform 0.3s ease;
}

.user-menu-overlay.show .user-menu-content {
	transform: scale(1);
}

.user-menu-title {
	font-size: 1.25rem;
	color: #5a5c69;
	margin-bottom: 1.5rem;
	font-weight: 600;
}

.user-menu-user {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 2rem;
	padding: 1rem;
	background: #f8f9fc;
	border-radius: 10px;
}

.user-menu-avatar {
	width: 50px;
	height: 50px;
	background: #4e73df;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 1rem;
}

.user-menu-avatar i {
	color: white;
	font-size: 1.5rem;
}

.user-menu-name {
	font-size: 1.1rem;
	color: #5a5c69;
	font-weight: 500;
}

.user-menu-buttons {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.user-menu-logout-btn {
	background: #e74a3b;
	color: white;
	border: none;
	padding: 0.875rem 2rem;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.2s ease;
	text-decoration: none;
	display: inline-block;
}

.user-menu-logout-btn:hover {
	background: #c0392b;
	color: white;
	text-decoration: none;
}

.user-menu-cancel-btn {
	background: #6c757d;
	color: white;
	border: none;
	padding: 0.75rem 2rem;
	border-radius: 8px;
	font-size: 0.9rem;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.user-menu-cancel-btn:hover {
	background: #545b62;
}

/* ユーザーボタンのスタイル調整 */
#userMenuButton {
	background: none !important;
	border: none !important;
	padding: 0.5rem 0.75rem !important;
	border-radius: 0.35rem !important;
	transition: background-color 0.15s ease-in-out !important;
}

#userMenuButton:hover {
	background-color: rgba(255, 255, 255, 0.1) !important;
}

#userMenuButton:focus {
	outline: none !important;
	box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25) !important;
}

/* モバイル対応 */
@media (max-width: 768px) {
	.user-menu-content {
		padding: 1.5rem;
		min-width: 260px;
	}

	.user-menu-buttons {
		gap: 0.75rem;
	}
}

/* ================================================
   QRモーダル・デバイス関連 - 共通
   ================================================ */

/* QRスキャンモーダル専用スタイル - ダッシュボード用（汎用） */
#qr-scan-modal .qr-modal-dialog {
	max-width: 90vw;
	width: auto;
	margin: 1rem auto;
}

#qr-scan-modal .qr-modal-content {
	border-radius: 10px;
	overflow: hidden;
}

#qr-scan-modal .qr-modal-header {
	padding: 0.75rem 1rem;
	border-bottom: 1px solid #dee2e6;
	background-color: #f8f9fa;
}

#qr-scan-modal .qr-modal-body {
	padding: 1rem;
}

#qr-scan-modal .qr-reader-container {
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	border-radius: 8px;
	overflow: hidden;
	background-color: #000;
}

#qr-scan-modal .qr-video {
	width: 100%;
	height: auto;
	max-height: 60vh;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}

#qr-scan-modal .qr-message-container {
	margin-top: 1rem;
}

#qr-scan-modal .qr-instruction {
	margin-bottom: 0.5rem;
	font-size: 0.9rem;
}

#qr-scan-modal .qr-result,
#qr-scan-modal .qr-error {
	margin-bottom: 0;
	padding: 0.5rem 0.75rem;
	font-size: 0.875rem;
}

#qr-scan-modal .qr-modal-footer {
	padding: 0.5rem 1rem;
	border-top: 1px solid #dee2e6;
	background-color: #f8f9fa;
}

/* スマホサイズでの最適化 */
@media (max-width: 576px) {
	#qr-scan-modal .qr-modal-dialog {
		max-width: 95vw;
		margin: 0.5rem auto;
	}

	#qr-scan-modal .qr-modal-body {
		padding: 0.75rem;
	}

	#qr-scan-modal .qr-video {
		max-height: 50vh;
		border-radius: 6px;
	}

	#qr-scan-modal .qr-modal-header,
	#qr-scan-modal .qr-modal-footer {
		padding: 0.5rem 0.75rem;
	}

	#qr-scan-modal .modal-title {
		font-size: 1.1rem;
	}
}

/* PCサイズでの最適化 */
@media (min-width: 768px) {
	#qr-scan-modal .qr-modal-dialog {
		max-width: 500px;
		width: 500px;
		margin-left: auto;
		margin-right: auto;
	}

	#qr-scan-modal .qr-video {
		max-height: 70vh;
	}
}

/* QRスキャン隠し要素 */
.qr-hidden {
	display: none !important;
}

/* デバイス情報テーブルの調整 */
.device-info-table th {
	width: 50px;
	text-align: center;
}

.device-info-table .action-column {
	width: 130px;
	text-align: center;
}

/* インラインスタイルの代替クラス */
.hidden {
	display: none;
}

.inline-margin-bottom-20 {
	margin-bottom: 20px;
}

.max-width-75 {
	max-width: 75%;
}

/* テーブル幅調整クラス */
.table-width-50 {
	width: 50px;
}

.table-width-130 {
	width: 130px;
}

/* JSで生成される要素のスタイル */
.route-point-start-marker {
	color: #2ecc71 !important;
	margin: 0 0 5px 0 !important;
	font-weight: bold !important;
}

.route-point-end-marker {
	color: #e74c3c !important;
	margin: 0 0 5px 0 !important;
	font-weight: bold !important;
}