{{-- 
  メインレイアウトのメニュー
  案件に応じて変更する
--}}
            <h6 class="sidebar-heading d-flex justify-content-between align-items-center px-3 mt-2 mb-1 text-muted">
              <span>メイン機能</span>
            </h6>
            <ul class="nav flex-column">
              <li class="nav-item">
                <a class="nav-link @if(Route::is('home')){{ 'active' }}@endif" href="{{ route('home') }}">
                  <span class="bi bi-house-door me-1"></span>
                  @lang('system.title.home')
                </a>
              </li>
              <li class="nav-item">
                <a class="nav-link @if(Route::is('work.*')){{ 'active' }}@endif" href="{{ route('work.index') }}">
                  <span class="bi bi-calendar3 me-1"></span>
                  @lang('db.works')
                </a>
              </li>
              <li class="nav-item">
                <a class="nav-link @if(Route::is('emergency.*')){{ 'active' }}@endif" href="{{ route('emergency.index') }}">
                  <span class="bi bi-info-circle me-1"></span>
                  @lang('db.report_waypoint.emergency')
                </a>
              </li>
              <li class="nav-item">
                <a class="nav-link @if(Route::is('report.*')){{ 'active' }}@endif" href="{{ route('report.index') }}">
                  <span class="bi bi-clipboard-check me-1"></span>
                  @lang('db.reports')
                </a>
              </li>
            </ul>
            <h6 class="sidebar-heading d-flex justify-content-between align-items-center px-3 mt-2 mb-1 text-muted">
              <span>集計機能</span>
            </h6>
            <ul class="nav flex-column">
              <li class="nav-item">
                <a class="nav-link @if(Route::is('total.report.quantity')){{ 'active' }}@endif" href="{{ route('total.report.quantity') }}">
                  <span class="bi bi-calculator me-1"></span>
                  @lang('db.report_waypoint.quantity')@lang('system.title.total')
                </a>
              </li>
              <li class="nav-item">
                <a class="nav-link @if(Route::is('total.report.oil')){{ 'active' }}@endif" href="{{ route('total.report.oil') }}">
                  <span class="bi bi-calculator me-1"></span>
                  @lang('db.report.oil')@lang('system.title.total')
                </a>
              </li>
              <li class="nav-item">
                <a class="nav-link @if(Route::is('total.report.highway')){{ 'active' }}@endif" href="{{ route('total.report.highway') }}">
                  <span class="bi bi-calculator me-1"></span>
                  @lang('db.report_waypoint.highway_money')@lang('system.title.total')
                </a>
              </li>
            </ul>
            <h6 class="sidebar-heading d-flex justify-content-between align-items-center px-3 mt-2 mb-1 text-muted">
              <span>帳票</span>
            </h6>
            <ul class="nav flex-column">
              <li class="nav-item">
                <a class="nav-link @if(Route::is('pdf.billing') || Route::is('pdf.billing.*')){{ 'active' }}@endif" href="{{ route('pdf.billing') }}">
                  <span class="bi bi-printer me-1"></span>
                  @lang('db.pdf_billing')
                </a>
              </li>
            </ul>
            <h6 class="sidebar-heading d-flex justify-content-between align-items-center px-3 mt-4 mb-1 text-muted">
              <span>マスタ管理</span>
            </h6>
            <ul class="nav flex-column mb-2">
              <li class="nav-item">
                <a class="nav-link @if(Route::is('user.*')){{ 'active' }}@endif" href="{{ route('user.index') }}">
                  <span class="bi bi-person me-1"></span>
                  @lang('db.users')
                </a>
              </li>
              <li class="nav-item">
                <a class="nav-link @if(Route::is('car.*')){{ 'active' }}@endif" href="{{ route('car.index') }}">
                  <span class="bi bi-truck me-1"></span>
                  @lang('db.cars')
                </a>
              </li>
              <li class="nav-item">
                <a class="nav-link @if(Route::is('item.*')){{ 'active' }}@endif" href="{{ route('item.index') }}">
                  <span class="bi bi-box-seam me-1"></span>
                  @lang('db.items')
                </a>
              </li>
              <li class="nav-item">
                <a class="nav-link @if(Route::is('type.*')){{ 'active' }}@endif" href="{{ route('type.index') }}">
                  <span class="bi bi-inboxes me-1"></span>
                  @lang('db.types')
                </a>
              </li>
              <li class="nav-item">
                <a class="nav-link @if(Route::is('billing.*')){{ 'active' }}@endif" href="{{ route('billing.index') }}">
                  <span class="bi bi-building me-1"></span>
                  @lang('db.billings')
                </a>
              </li>
              <li class="nav-item">
                <a class="nav-link @if(Route::is('partner.*')){{ 'active' }}@endif" href="{{ route('partner.index') }}">
                  <span class="bi bi-people me-1"></span>
                  @lang('db.partners')
                </a>
              </li>
            </ul>
{{-- Mobile Menu --}}
            <div class="d-md-none">
              <h6 class="sidebar-heading d-flex justify-content-between align-items-center px-3 mt-4 mb-1 text-muted">
                <span>システムメニュー</span>
              </h6>
              <ul class="nav flex-column mb-2 d-md-none">
                <li class="nav-item">
                  <a class="nav-link" href="{{ route('logout') }}" onclick="event.preventDefault(); document.getElementById('logout-form').submit();">
                    <span class="bi bi-door-open-fill me-1"></span>
                    @lang('system.command.logout')
                  </a>
                </li>
              </ul>
            </div>
{{-- /Mobile Menu --}}
