<section class="p-search-results-header">
    <div class="p-search-results-header__wrapper">
    <div class="p-search-results-header__results">
            <h2 class="p-search-results-header__results-title">{{$title ?? ''}}</h2>
            <div class="d-flex p-search-results-header__results-count">
                <p class="">該当件数：<span class="p-search-results-header__results-total">{{$article_list->total()}}</span>件中　{{$first}}〜{{$last}}件表示</p>
                <div class="ml10 business_search">{{ $article_list->links() }}</div>
            </div>
        </div>
        <form method="POST" action="{{ route('business-list-print') }}" id="listPrintForm">
        @csrf
            @foreach($params as $key => $val)
                @if(!is_null($val))
                    @if(is_array($val))
                        @foreach($val as $tmp_val)
                            @include('business.objects.components.hidden', ['name' => $key.'[]', 'value' => $tmp_val])
                        @endforeach
                    @else
                        @include('business.objects.components.hidden', ['name' => $key, 'value' => $val])
                    @endif
                @endif
            @endforeach
        <ul class="p-search-results-header__button-list">
            <li class="">
                @include('business.objects.components.circle-btn',
                    ['id' => 'btnListPrint', 'class' => 'c-circle-btn__print', 'linkUrl' => 'javascript:void(0);',
                     'img' => '../../business/img/menu_icon2.png', 'title' => '印刷'])
            </li>
            <li class="">
                @include('business.objects.components.circle-btn',
                    ['id' => 'btnListPdf', 'class' => 'c-circle-btn__pdf', 'linkUrl' => 'javascript:void(0);',
                     'img' => '../../business/img/menu_icon2.png', 'title' => 'PDF'])
            </li>
            <li class="">
                @include('business.objects.components.link-btn', ['url' => route('business-top'), 'title' => '戻る', 'class' => 'p-search-results-header__button-list--back'])
            </li>
        </ul>
        </form>
    </div>
</section>