<div id="{{$active}}" class="row c-tab">
    <p class="col-8 c-tab__title">
        {{$title??null}}
    </p>
    <ul class="col-4 d-flex justify-content-between c-tab__list">
@if($type == 'news')
        <li class="c-tab__link @if($active=='list') active @endif"><a href="{{ route('news') }}">一覧</a></li>
        <li class="c-tab__link @if($active=='regist') active @endif"><a href="{{ route('news-regist') }}">登録</a></li>
@elseif($type == 'recommend')
        <li class="c-tab__link @if($active=='list') active @endif"><a href="{{ route('recommend') }}">一覧</a></li>
        <li class="c-tab__link @if($active=='regist') active @endif"><a href="{{ route('recommend-regist') }}">検索</a></li>
@elseif($type == 'store')
        <li class="c-tab__link @if($active=='list') active @endif"><a href="{{ route('store') }}">一覧</a></li>
        <li class="c-tab__link @if($active=='regist') active @endif"><a href="{{ route('store-regist') }}">登録</a></li>
@elseif($type == 'reform')
        <li class="c-tab__link @if($active=='list') active @endif"><a href="{{ route('reform') }}">一覧</a></li>
        <li class="c-tab__link @if($active=='regist') active @endif"><a href="{{ route('reform-regist') }}">登録</a></li>
@endif
    </ul>
</div>