

<div class="p-detail-main-sheet__right fright horizontal-table-detail">
    @include('business.objects.projects.print.point-recommend')
    <div>
        <table class="p-detail-main-sheet__right-tbl custom-table">
        <tr>
            <th>建築条件</th>
            <td colspan="3">
                {{$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>所在地</th>
            <td colspan="3" class="clearfix" 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="p-detail-main-sheet__right-tbl-double">交通</th>
            <td colspan="3" class="p-detail-main-sheet__right-tbl-double">
                @include('business.objects.projects.traffic-info-other', ['article' => $mansion ?? $item])
            </td>
        </tr>
        <tr>
            <th>土地面積</th>
            <td colspan="3">{{$item->land_area_val?? '-'}}&nbsp;m&sup2;</td>
        </tr>
        <tr>
            <th>建ぺい率</th>
            <td class="p-detail-main-sheet__right-tbl-half">{{intval($item->building_rate)?? '-'}}%</td>
            <th>容積率</th>
            <td class="p-detail-main-sheet__right-tbl-half">{{intval($item->volume_rate)?? '-'}}%</td>
        </tr>

        <tr>
            <th>私道負担</th>
            <td class="p-detail-main-sheet__right-tbl-half">
                {{ $item->getRoadBurdenNamePrint() }}
            </td>
            <th >地目</th>
            <td class="p-detail-main-sheet__right-tbl-half">{{$item->ground_name}}</td>
        </tr>
        <tr>
            <th>現況</th>
            <td class="p-detail-main-sheet__right-tbl-half">
{{--                {{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>
            <th>引渡し</th>
            <td class="p-detail-main-sheet__right-tbl-half">
                @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>セットバック</th>
            <td colspan="3">{{$item->getSetPropName()}}</td>
        </tr>
        <tr>
            <th>用途地域</th>
            <td colspan="3">
                {{$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 class="description-detail" style="padding-left: 0; padding-right: 0">
        <div style="padding: 0" class="p-detail-main-sheet__left-point">{{ $item->getMemobusiness2() }}</div>
        {{--        <span class="p-detail-main-sheet__left-right @if($item->property == 4 || $item->property == 5) p-detail-main-sheet__left-right-house @endif">--}}
{{--                    @if($item->classfication == 2 or $item->classfication == 3)--}}
{{--                ■--}}
{{--                @if($item->classfication != 1)--}}
{{--                    @if($item->property == 4 || $item->property == 5)--}}
{{--                        売買区分：{{$item->trading_classfication == 1 ? '一棟売　' : '一括売　'}}--}}
{{--                    @elseif(empty($item->property))--}}
{{--                        売買区分：{{$item->trading_classfication == 1 ? '一室売　' : '一括売　'}}--}}
{{--                    @endif--}}
{{--                    @if($item->classfication == 2)--}}
{{--                        事業用用途：{{!empty($item->use_method) && $item->classfication == 2 ? $item->getUserMethod() : '-'}}--}}
{{--                        事業用引渡し状態：--}}
{{--                        @php--}}
{{--                            $names = ['-', '造作譲渡あり', '造作譲渡なし', '設備無償譲渡', 'スケルトン渡し'];--}}
{{--                            echo $names[$item->business_status] ?? '';--}}
{{--                        @endphp--}}
{{--                    @elseif($item->classfication == 3)--}}
{{--                        {{ str_replace('<br>','　',$item->getInvestmentPerformance()) }}--}}

{{--                    @endif--}}
{{--                @endif--}}
{{--            @endif--}}
{{--            @if($item->land_right == 2 or $item->land_right == 3)--}}
{{--                @switch($item->land_right)--}}
{{--                    @case(0)--}}
{{--                    @break--}}
{{--                    @case(1)--}}
{{--                    @break--}}
{{--                    @case(2)--}}
{{--                    @case(3)--}}
{{--                    <br>--}}
{{--                    <span>--}}
{{--                              ■借地権種別：{{ getLeaseholdKind($item->leasehold_kind) }}--}}
{{--                          </span>--}}
{{--                    <br>--}}
{{--                    <span>--}}
{{--                              地代：--}}
{{--                              @if ($item->land_rent == 1)--}}
{{--                            {{ $item->land_rent_val }}円/--}}
{{--                            @php--}}
{{--                                $landUnits = ["", "月", "年", "一括"];--}}
{{--                            @endphp--}}
{{--                            {{ $landUnits[$item->land_rent_unit] ?? "" }}--}}
{{--                        @else--}}
{{--                            無--}}
{{--                        @endif--}}
{{--                          </span>--}}
{{--                    <br>--}}
{{--                    <span>--}}
{{--                              借地期間：{{ $item->leasehold_period == 1 ? "残存" : "新規" }} ({{ $item->leasehold_period_year }}年{{ $item->leasehold_period_month }}ヶ月)--}}
{{--                          </span>--}}
{{--                    <br>--}}
{{--                    <span>--}}
{{--                              権利金：--}}
{{--                              @if ($item->right_cost == 0)--}}
{{--                            無--}}
{{--                        @else--}}
{{--                            有(価格に含む) ({{ $item->right_cost_val }}万円)--}}
{{--                        @endif--}}
{{--                          </span>--}}
{{--                    <br>--}}
{{--                    <span>--}}
{{--                              保証金：--}}
{{--                              @if ($item->deposit_cost == 0)--}}
{{--                            無--}}
{{--                        @else--}}
{{--                            有 ({{ $item->deposit_cost_val }}万円)--}}
{{--                        @endif--}}
{{--                          </span>--}}
{{--                    <br>--}}
{{--                    <span>--}}
{{--                              敷金：--}}
{{--                              @if ($item->security_deposit_cost == 0)--}}
{{--                            無--}}
{{--                        @else--}}
{{--                            有 ({{ $item->security_deposit_cost_val }}万円)--}}
{{--                        @endif--}}
{{--                          </span>--}}
{{--                    <br>--}}
{{--                    <span>--}}
{{--                              借地権その他契約事項：{{ $item->other_leasehold }}--}}
{{--                          </span>--}}
{{--                    <br>--}}
{{--                    @if ($item->land_right == 3)--}}
{{--                        <span>--}}
{{--                                  借地権割合：{{ $item->leasehold_rate }}%--}}
{{--                              </span>--}}
{{--                        <br>--}}
{{--                    @endif--}}
{{--                    @php--}}
{{--                        $isMore = [3, 4, 7, 8];--}}
{{--                    @endphp--}}
{{--                    @if (in_array($item->leasehold_kind, $isMore))--}}
{{--                        <span>--}}
{{--                                  @php--}}
{{--                                      $registrationsText = ["未選択", "可", "不可", "相談"];--}}
{{--                                  @endphp--}}
{{--                                  定期借地権設定登記：{{ $registrationsText[$item->regular_leased_registration] ?? "" }}--}}
{{--                              </span>--}}
{{--                        <br>--}}
{{--                        <span>--}}
{{--                                  @php--}}
{{--                                      $seasonsText = ["未選択", "一定期間毎", "事前協議により決定"];--}}
{{--                                  @endphp--}}
{{--                                  定期借地権賃料改定時期：{{ $seasonsText[$item->regular_leased_season] ?? "" }}--}}
{{--                            {{ $item->regular_leased_season == 1 ? $item->regular_leased_season_nen . "年毎" : "" }}--}}
{{--                              </span>--}}
{{--                        <br>--}}
{{--                        <span>--}}
{{--                                  @php--}}
{{--                                      $costsText = ["未選択", "公式", "事前協議により決定"];--}}
{{--                                  @endphp--}}
{{--                                  定期借地権賃料改定額：{{ $costsText[$item->regular_leased_cost] ?? "" }}--}}
{{--                              </span>--}}
{{--                        <br>--}}
{{--                        <span>--}}
{{--                                  @php--}}
{{--                                      $transfersText = ["未選択", "可", "不可"];--}}
{{--                                  @endphp--}}
{{--                                  定期借地権譲渡転貸：{{ $transfersText[$item->regular_leased_transfer] ?? "" }}--}}
{{--                            @if ($item->regular_leased_transfer == 1)--}}
{{--                                <br>--}}
{{--                                <span>--}}
{{--                                          @php--}}
{{--                                              $transferMethodsText = ["未選択", "承諾不要", "通知要", "承諾要"];--}}
{{--                                          @endphp--}}
{{--                                          &nbsp;&nbsp;&nbsp;承諾要否・方法：{{ $transferMethodsText[$item->regular_leased_transfer_method] }}--}}
{{--                                      </span>--}}
{{--                                <br>--}}
{{--                                <span>--}}
{{--                                          @php--}}
{{--                                              $transferNecessitiesText = ["未選択", "要", "不要", "未定"];--}}
{{--                                          @endphp--}}
{{--                                          &nbsp;&nbsp;&nbsp;承諾料要否：{{ $transferNecessitiesText[$item->regular_leased_transfer_necessity] }}--}}
{{--                                      </span>--}}
{{--                                <br>--}}
{{--                                <span>--}}
{{--                                          @php--}}
{{--                                              $transferConsentsText = ["未選択", "地主", "転貸主"];--}}
{{--                                          @endphp--}}
{{--                                          &nbsp;&nbsp;&nbsp;承諾者：{{ $transferConsentsText[$item->regular_leased_transfer_consent] }}--}}
{{--                                      </span>--}}
{{--                            @endif--}}
{{--                              </span>--}}
{{--                        <br>--}}
{{--                    @endif--}}
{{--                    @break--}}
{{--                @endswitch--}}
{{--            @endif--}}
{{--            @if(isset($item->dataLand) && ($item->dataLand->land_right == 2 or $item->dataLand->land_right == 3))--}}
{{--                ■@include('business.objects.components.land-right', ['dataLand' => $item->dataLand])--}}
{{--            @endif--}}
{{--            @if (empty($item->mansion) and $item->getLowRestrictionName())--}}
{{--                ■法令上の制限：{{str_replace('<br>',', ',$item->getLowRestrictionName())}}--}}
{{--            @elseif(!empty($item->mansion) && $item->mansion->getLowRestrictionName())--}}
{{--                ■法令上の制限：{{str_replace('<br>',', ',$item->mansion->getLowRestrictionName())}}--}}
{{--            @endif--}}
{{--            @if (empty($item->mansion) and $item->getOtherRestriction())--}}
{{--                ■その他制限事項：{{str_replace('<br>',', ',$item->getOtherRestriction())}}--}}
{{--            @elseif(!empty($item->mansion) && $item->mansion->getOtherRestriction())--}}
{{--                ■その他制限事項：{{str_replace('<br>',', ',$item->mansion->getOtherRestriction())}}--}}
{{--            @endif--}}
{{--            @if($item->getExteriorHTML() and $item->getExteriorHTML()!='無')--}}
{{--                ■リフォーム外装：{!! $item->getExteriorHTML() !!}--}}
{{--            @endif--}}
{{--            @if($item->getInteriorHTML() and $item->getInteriorHTML()!='無')--}}
{{--                ■リフォーム内装：{!! $item->getInteriorHTML() !!}--}}
{{--            @endif--}}
{{--            @if($item->architecture_no)--}}
{{--                ■建築確認：{{$item->architecture_no??'-'}}--}}
{{--            @endif--}}
{{--            @if( $item->develop_num)--}}
{{--                ■開発許可：{{$item->develop_num??'-'}}--}}
{{--            @endif--}}
{{--                    </span>--}}
{{--        <span class="p-detail-main-sheet__left-right">--}}
{{--            ■図面と現況が異なる場合は、現況優先とします。■掲載物件は成約済・売却中止になる場合があります。--}}
{{--        </span>--}}
    </div>
</div>
<style>
    .p-detail-main-sheet__right-tbl th{
        height: auto;
    }
</style>
