<div class="p-search-common">
    <table class="p-search-common__tbl">
        <tr>
            <td rowspan="6" class="p-search-common__tbl-number">01</td>
            <th>マンション名</th>
            <td class="p-search-common__name">
                @include('admin.objects.components.hidden', ['name' => 'property[]', 'value' => '6'])
                @include('admin.objects.components.input', ['name' => 'name_apartment[]', 'placeholder' => ''])
            </td>
            <th>マンションID</th>
            <td>
                @include('admin.objects.components.input', ['name' => 'building_id[]', 'placeholder' => ''])
            </td>
            <th>築年数</th>
            <td class="p-search-common__years">
                @include('admin.objects.components.input', ['name' => 'years_from[]', 'placeholder' => '下限なし'])〜
                @include('admin.objects.components.input', ['name' => 'years_to[]', 'placeholder' => '上限なし'])年
            </td>
            <th>築年月</th>
            <td class="p-search-common__year-month">
                @include('admin.objects.components.input', ['name' => 'year_month_from[]', 'placeholder' => '0000/00'])〜
                @include('admin.objects.components.input', ['name' => 'year_month_to[]', 'placeholder' => '0000/00'])
            </td>
        </tr>

        <tr>
            <th>所在地</th>
            <td colspan="3" class="p-search-common__address">
                @include('admin.objects.components.selectbox', ['name' => 'address1[]', 'options' => $pref])
                @include('admin.objects.components.selectbox', ['name' => 'address2[]', 'options' => $city, 'title' => '市区郡'])
                @include('admin.objects.components.selectbox', ['name' => 'address3[]', 'options' => $town, 'title' => '町村'])
                @include('admin.objects.components.input', ['name' => 'address4[]'])
            </td>
            <th>階建</th>
            <td class="p-search-common__floor">
                @include('admin.objects.components.input', ['name' => 'floor_from[]', 'placeholder' => '下限なし'])〜
                @include('admin.objects.components.input', ['name' => 'floor_to[]', 'placeholder' => '上限なし'])階建
            </td>
            <th>総戸数</th>
            <td class="p-search-common__floor">
                @include('admin.objects.components.input', ['name' => '', 'placeholder' => '下限なし'])〜
                @include('admin.objects.components.input', ['name' => '', 'placeholder' => '上限なし'])戸
            </td>
        </tr>
        <tr>
            <th>交通</th>
            <td colspan="5" class="p-search-common__access">
                @include('admin.objects.components.selectbox', ['name' => 'access1[]', 'options' => $line, 'title' => '沿線'])
                @include('admin.objects.components.selectbox', ['name' => 'access2[]', 'options' => [], 'title' => '駅'])
                @include('admin.objects.components.selectbox', ['name' => 'access3[]', 'options' => $walk, 'title' => '徒歩/バス'])
                <span>バス</span>@include('admin.objects.components.input', ['name' => 'bus[]'])<span>分以内 / 徒歩</span>
                @include('admin.objects.components.input', ['name' => 'walk[]'])<span>分以内</span>
            </td>
            <th>ペット</th>
            <td>
                @include('admin.objects.components.selectbox', ['name' => 'is_pet[]', 'options' => $pet, 'title' => '可or不可'])
                @include('admin.objects.components.selectbox', ['name' => 'pet_num[]', 'options' => $pet_num, 'title' => '匹数'])
            </td>
        </tr>
        <tr>
            <th>学校区</th>
            <td colspan="3" >
                <div class="mb10">
                    @include('admin.objects.components.selectbox', ['name' => 'primary_school[]', 'options' => $primary_school, 'title' => '小学校区'])
                    徒歩@include('admin.objects.components.input', ['name' => 'primary_school_time[]'])<span>分以内</span>
                </div>
                <div>
                    @include('admin.objects.components.selectbox', ['name' => 'secondary_school[]', 'options' => $secondary_school, 'title' => '中学校区'])
                    徒歩@include('admin.objects.components.input', ['name' => 'secondary_school_time[]'])<span>分以内</span>
                </div>
            </td>
            <th>用途地域</th>
            <td>
                @include('admin.objects.components.selectbox', ['name' => 'use_area[]', 'options' => $use_area, 'title' => '用途地域'])
            </td>
            <th>駐車場</th>
            <td>
                @include('admin.objects.components.selectbox', ['name' => 'parking[]', 'options' => $parking, 'title' => '駐車場'])
            </td>
        </tr>
        <tr>
            <th rowspan="2">共用部</th>
            <td rowspan="2" colspan="5" >
            @include('admin.objects.components.checkbox', ['name' => 'shared', 'checkbox' => $shared, 'class' => 'checkbox_small'])
            </td>
            <th>事業主</th>
            <td>
                @include('admin.objects.components.input', ['name' => 'owner[]', 'placeholder' => ''])
            </td>
        </tr>
        <tr>
        <th>施工</th>
            <td>
                @include('admin.objects.components.input', ['name' => 'construction[]', 'placeholder' => ''])
            </td>
        </tr>
        <tr>
            <td colspan="9">
                <ul class="p-search-common__search-clear">
                    <li><a href="javascript:void(0);" class="clear-button">この条件をクリア</a></li>
                    <li><a href="javascript:void(0);" class="delete-form-button">この条件を削除</a></li>
                </ul>
            </td>
        </tr>
    </table>
</div>