<div class="p-detail-main-sheet__right fright vertical-table-detail">
    <div>
        <table class="p-detail-main-sheet__right-tbl table-striped custom-table">
        <tr>
            <th class="w-100">建築条件</th>
        </tr>
        <tr>
            <td class="w-100">
                {{$item->land_condition_name}}
                @if($item->land_condition==1)
                    @if($item->land_condition_not==1)
                        （条件外し：可）
                    @endif
                    @if($item->building_plan_place or $item->building_plan_area)
                        <br />【建物プラン】
                        @if($item->building_plan_place)建物価格：{{number_format($item->building_plan_place, 0, ",", ",")}}万円@endif
                        @if($item->building_plan_area)建物面積：{{$item->building_plan_area}}m²@endif
                    @endif
                @endif
            </td>
        </tr>

        <tr>
            <th class="w-100">所在地</th>
        </tr>
        <tr>
            <td class="clearfix w-100" style="height: auto">
                {{-- @if(isset($item->zip)) 〒{{$item->zip}} @endif --}}

                {{ $item->address_info }}

{{--                    @if(isset($item->town_name) && !strstr($item->address,$item->town_name))--}}
{{--                        {{$item->pref_name}}{{$item->city_name}}{{$item->town_name}}{{$item->address}}--}}
{{--                    @endif--}}
{{--                    @if(isset($item->other_address))--}}
{{--                        {{$item->other_address}}--}}
{{--                    @endif--}}
{{--                @if(isset($item->address) && $item->address != '')--}}
{{--                    {{$item->address}}--}}
{{--                @elseif(isset($item->other_address) && $item->other_address != '')--}}
{{--                    {{$item->other_address}}--}}
{{--                @else--}}
{{--                    -/---}}
{{--                @endif--}}


            </td>
        </tr>

        <tr>
            <th class="w-100">交通</th>
        </tr>
        <tr>
            <td class="w-100">
                @include('business.objects.projects.traffic-info-other', ['article' => $mansion ?? $item])
            </td>
        </tr>
        <tr>
            <th class="w-100">土地面積</th>
        </tr>
        <tr>
            <td class="w-100">{{$item->land_area_val?? '-'}}&nbsp;m&sup2;</td>
        </tr>

        <tr>
            <th class="w-50">建ぺい率</th>
            <th class="w-50">容積率</th>
        </tr>
        <tr>
            <td class="w-50">{{intval($item->building_rate)?? '-'}}%</td>
            <td class="w-50">{{intval($item->volume_rate)?? '-'}}%</td>
        </tr>

        <tr>
            <th class="w-50">私道負担</th>
            <th class="w-50">地目</th>
        </tr>
        <tr>
            <td class="w-50">
                {{ $item->getRoadBurdenNamePrint() }}
            </td>
            <td class="w-50">{{$item->ground_name}}</td>
        </tr>
        <tr>
            <th class="w-50">現況</th>
            <th class="w-50">引渡し</th>
        </tr>

        <tr>
            <td class="w-50">
{{--                {{getCurrentStatusName($item->current_status, $item->property)}}--}}
{{--                @if($item->current_status==3)--}}
{{--                    @if($item->comp_year)--}}
{{--                        （造成工事完了予定年月：{{$item->comp_year}}年--}}
{{--                        @if($item->comp_month){{$item->comp_month}}月@endif--}}
{{--                        ）--}}
{{--                    @endif--}}
{{--                @endif--}}
                @if(getCurrentStatusName($item->current_status, $item->property) || ($item->current_status==3 && $item->comp_year) )
                    未造成
                @endif
            </td>
            <td class="w-50">
                @if($item->land_delivery == 1)
                    即
                @elseif($item->land_delivery == 2)
                    相談
                @elseif($item->land_delivery == 3)
                    {{$item->delivery_year}}年{{$item->delivery_month}}月
                @elseif($item->land_delivery == 4)
                    契約後{{$item->land_delivery_month}}ヶ月
                @else
                    -
                @endif
                {{-- @if($item->move_in_conditions)／{{$item->move_in_conditions}}@endif --}}
            </td>
        </tr>

        <tr>
            <th  class="w-100">セットバック</th>
        </tr>
        <tr>
            <td  class="w-100">{{$item->getSetPropName()}}</td>
        </tr>
        <tr>
            <th class="w-100">用途地域</th>
        </tr>
        <tr>
            <td class="w-100">
                {{$item->use_area_name??'-'}}@if($item->use_area_name != "" || $item->use_area_name != null)
                @endif

{{--                @if($item->use_area_name_sub != "")--}}
{{--                    ・{{$item->use_area_name_sub}}--}}
{{--                @endif--}}
{{--                @if($item->use_area_name_sub2 != "")--}}
{{--                    他--}}
{{--                @endif--}}
{{--                new ver--}}
                @if($item->use_area_name_sub != "" || $item->use_area_name_sub2 != "")
                    ・他
                @endif
            </td>
        </tr>
    </table>
    </div>
</div>
