.efficiency-page {
	width: 100%;
	max-width: 1340px;
	margin: 0 auto;
}

.efficiency-search-form {
	width: 720px;
	max-width: 100%;
	margin: 18px auto 48px;
	padding: 28px 58px 18px;
	background: #f7f6f5;
	border: none !important;
}

.efficiency-search-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 24px;
}

.efficiency-search-field,
.efficiency-search-year {
	min-width: 0;
}

.efficiency-search-year {
	display: flex;
	align-items: center;
	gap: 8px;
}

.efficiency-search-control {
	width: 100%;
	height: 27px;
	border: none;
	border-radius: 0;
	background-color: #fff;
	font-size: 12px;
	color: #555;
	padding: 3px 9px;
	box-shadow: none;
}

.efficiency-search-year-label {
	color: #555;
	font-size: 12px;
	white-space: nowrap;
}

.efficiency-search-actions {
	display: flex;
	justify-content: center;
	gap: 64px;
	margin-top: 22px;
}

@media (max-width: 768px) {
	.efficiency-search-form {
		padding: 24px 18px 20px;
		margin-bottom: 36px;
	}

	.efficiency-search-grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.efficiency-search-actions {
		gap: 24px;
	}
}

.efficiency-result-area {
	padding-bottom: 200px;
}

.efficiency-chart-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	margin-top: 24px;
}

.efficiency-chart-grid-single {
	grid-template-columns: minmax(0, 1fr);
}

.efficiency-chart-card {
	min-width: 0;
	padding: 24px;
	background: #fff;
	border: 1px solid #d6d4d2;
	border-radius: 6px;
}

.efficiency-chart-card h2 {
	margin: 0 0 20px;
	font-size: 18px;
	text-align: center;
}

.efficiency-chart-card-wide {
	margin-top: 24px;
	padding: 24px;
	background: #fff;
	border: 1px solid #d6d4d2;
	border-radius: 6px;
}

.efficiency-chart-card-wide h2 {
	margin: 0 0 20px;
	font-size: 18px;
	text-align: center;
}

.efficiency-chart-wrap {
	position: relative;
	height: 320px;
}

.efficiency-chart-wrap-work-type {
	height: 480px;
}

.efficiency-chart-wrap-list {
	height: 400px;
}

#workTypeChartData,
#nonOperatingChartData,
#mechanicChartData {
	display: none;
}

@media screen and (max-width: 767px) {

	.efficiency-chart-grid {
		grid-template-columns: 1fr;
	}

	.efficiency-chart-card,
	.efficiency-chart-card-wide {
		padding: 16px;
	}

	.efficiency-chart-wrap {
		height: 300px;
	}

	.efficiency-chart-wrap-work-type,
	.efficiency-chart-wrap-list {
		height: 420px;
	}
}

#trendChartData {
	display: none;
}

.trend-summary-area {
	margin-top: 24px;
}

.trend-summary-chart {
	width: 100%;
	min-width: 0;
	padding: 20px;
	background: #fff;
	border: 1px solid #d6d4d2;
	border-radius: 6px;
}

.trend-section-title {
	margin: 0 0 20px;
	font-size: 18px;
	text-align: center;
}

.trend-chart-wrap {
	position: relative;
	height: 440px;
}

@media screen and (max-width: 991px) {

	.trend-chart-wrap {
		height: 360px;
	}
}

.trend-work-count-area {
	margin-top: 32px;
	padding: 20px;
	background: #fff;
	border: 1px solid #d6d4d2;
	border-radius: 6px;
}

.trend-work-count-table {
	width: 100%;
	overflow: visible;
	padding-bottom: 10px;
}

.trend-work-count-table table {
	width: 100%;
	margin-bottom: 0;
	border-collapse: collapse;
	table-layout: fixed;
}

.trend-work-count-table th,
.trend-work-count-table td,
.efficiency-loss-table th,
.efficiency-loss-table td,
.efficiency-kpi-table th,
.efficiency-kpi-table td {
	padding: 6px 3px;
	font-size: 11px;
	line-height: 1.35;
	text-align: center;
	vertical-align: middle;
	white-space: normal;
	overflow-wrap: anywhere;
	border-left: 1px solid #999;
	border-right: 1px solid #999;
}

.trend-work-count-table thead th,
.efficiency-loss-table thead th,
.efficiency-kpi-table thead th {
	background: #666;
	color: #fff;
	border-top: 1px solid #999;
	border-bottom: 1px solid #999;
}

.trend-work-count-table tbody td,
.efficiency-loss-table tbody td,
.efficiency-kpi-table tbody td {
	border-top: 1px solid #d6d4d2;
}

.trend-work-count-table tbody tr.trend-work-type-start td {
	border-top: 1px solid #666;
}

.trend-work-count-table tbody tr:last-child td {
	border-bottom: 1px solid #999;
}

.trend-work-count-table tbody td[rowspan] {
	background: #d9edf7;
	color: #444;
	font-weight: 700;
	vertical-align: top;
}

.trend-work-count-table tbody tr:hover td:not([rowspan]) {
	background: #f7f7f7;
}

.trend-detail-table th:first-child,
.trend-detail-table th:nth-child(2),
.efficiency-loss-table th:first-child {
	width: 10%;
	text-align: center;
}

.trend-detail-table th:nth-child(n + 3) {
	width: 4.7%;
	text-align: center;
}

.trend-work-type-cell,
.trend-work-detail-cell {
	text-align: left !important;
}

.trend-number-cell {
	text-align: center !important;
}

.trend-detail-table th:nth-last-child(-n + 5) {
	background: #555;
}

.trend-detail-table td:nth-last-child(-n + 5) {
	background: #f1f1f1;
}

.trend-detail-table td[rowspan] {
	background: #d9edf7;
}

.trend-work-count-table table:not(.trend-detail-table) th:first-child,
.trend-work-count-table table:not(.trend-detail-table) td:first-child {
	width: 12%;
	text-align: center;
}

@media screen and (max-width: 991px) {
	.trend-work-count-area {
		padding: 14px 10px;
	}

	.trend-work-count-table th,
	.trend-work-count-table td {
		padding: 5px 2px;
		font-size: 10px;
	}
}

/* =========================================================
   効率分析：画面設計書準拠
   ========================================================= */
.efficiency-section-title,
.efficiency-verification-title {
	margin: 34px 0 12px;
	font-size: 18px;
	text-align: center;
}

.efficiency-chart-note {
	margin: -10px 0 14px;
	color: #666;
	font-size: 11px;
	text-align: center;
}

#workDtl1RateChartData {
	display: none;
}

.efficiency-kpi-section {
	width: 100%;
	max-width: none;
	margin: 0;
}

.efficiency-kpi-table {
	font-size: 18px;
	text-align: center;
	margin-bottom: 50px;
}

.efficiency-kpi-table th {
	background: #666;
	color: #fff;
	border-top: 1px solid #999;
	border-bottom: 1px solid #999;
}

.efficiency-alert-value {
	color: #f00 !important;
}

.efficiency-low-value {
	color: #7b4bb7 !important;
}

.efficiency-kpi-message {
	position: relative;
	max-width: 620px;
	margin: 34px auto 0;
	padding: 16px 24px;
	border: 2px solid #294c77;
	background: #fff;
	font-size: 16px;
	text-align: center;
}

.efficiency-verification-section {
	margin-top: 64px;
	padding-top: 24px;
	border-top: 2px solid #999;
}

.efficiency-verification-section h3 {
	margin: 28px 0 10px;
	font-size: 18px;
}

.efficiency-loss-section {
	width: 680px;
	max-width: 100%;
	margin: 0 auto;
}

.efficiency-loss-table {
	margin-bottom: 0;
	text-align: center;
}

.efficiency-loss-table th:first-child,
.efficiency-loss-table td:first-child {
	width: 40%;
}

.efficiency-verification-section {
	margin-bottom: 96px;
}

.efficiency-verification-section > .table:last-child {
	margin-bottom: 0;
}

@media screen and (max-width: 767px) {
	.efficiency-loss-section {
		width: 100%;
	}

	.efficiency-verification-section {
		margin-bottom: 64px;
	}
}

/* 効率分析：メカニック別実績 */
.efficiency-mechanic-table thead th {
	text-align: center;
	vertical-align: middle;
	white-space: nowrap;
}

.efficiency-mechanic-table th,
.efficiency-mechanic-table td {
	min-width: 88px;
}

.efficiency-mechanic-table th:first-child,
.efficiency-mechanic-table td:first-child {
	min-width: 120px;
}

