<?php
    if(!isset($relation_facilities)) {
        $relation_facilities = $item->relation_facilities;
    }
    $mansion = $item->getMansion();
?>
<?php
    $primary_school_name=$item->primary_school_name;
    if(!strstr($primary_school_name,'義務教育学校')){$primary_school_name=str_replace('学校','',$primary_school_name);}
    $primary_school_name2=$item->primary_school_name2;
    if(!strstr($primary_school_name2,'義務教育学校')){$primary_school_name2=str_replace('学校','',$primary_school_name2);}
    $primary_school_name3=$item->primary_school_name3;
    if(!strstr($primary_school_name3,'義務教育学校')){$primary_school_name3=str_replace('学校','',$primary_school_name3);}
    $secondary_school_name=$item->secondary_school_name;
    if(!strstr($secondary_school_name,'義務教育学校')){$secondary_school_name=str_replace('学校','',$secondary_school_name);}
    $secondary_school_name2=$item->secondary_school_name2;
    if(!strstr($secondary_school_name2,'義務教育学校')){$secondary_school_name2=str_replace('学校','',$secondary_school_name2);}
    $secondary_school_name3=$item->secondary_school_name3;
    if(!strstr($secondary_school_name3,'義務教育学校')){$secondary_school_name3=str_replace('学校','',$secondary_school_name3);}
?>


<div class="p-detail-summary">
    <h3 class="p-detail-summary__title"><?php echo e($item->article_name); ?><!--（<?php echo e($item->main_traffic_station); ?>

        駅）<?php echo e($item->property_name); ?>-->
        <?php if($item->price and $item->status!=4 and $item->status!=5): ?>
        <span
            class="p-detail-summary__price"><span><?php echo e(number_format($item->price, 0, ",", ",")); ?></span>万円<?php if($item->tax==2): ?><!--（税込）--><?php endif; ?></span>
        <?php endif; ?>
        <span class="p-detail-summary__id">No.<?php echo e($item->building_id); ?></span>
      </h3>
    <table class="p-detail-summary__catch">
        <tr>
            <th>キャッチコピー</th>
            <td colspan="3"><?php echo e($item->catchcopy); ?></td>
        </tr>
        <tr>
            <th>ポイント</th>
            <td colspan="3"><?php echo e($item->point); ?></td>
        </tr>
        <tr>
            <th>営業担当者コメント</th>
            <td colspan="3"><?php echo e($item->comment); ?></td>
        </tr>
        <tr>
            <th>営業担当者（HP記載用）</th>
            <td><?php echo e($item->hp_charge_name); ?></td>
            <th>広告掲載指示</th>
            <td>自社HP：<?php if($item->own_company == 2): ?> 入稿 <?php else: ?> 未 <?php endif; ?>/SUMMO：<?php if($item->suumo == 2): ?> 入稿 <?php else: ?> 未 <?php endif; ?>
                /HOMES：<?php if($item->homes == 2): ?> 入稿 <?php else: ?> 未 <?php endif; ?>/athome：<?php if($item->athome == 2): ?> 入稿 <?php else: ?> 未 <?php endif; ?></td>
        </tr>
    </table>
    <div class="p-detail-summary__tbl justify-content-between">
        <div class="p-detail-summary__tbl-left fleft">
            <h4>基本情報</h4>
            <table>
                <?php if($item->property == 1 || $item->property == 2 || $item->property == 3 || $item->property == 4 || $item->property == 5): ?>
                    <tr>
                        <th>物件番号</th>
                        <td><?php echo e($item->building_id); ?></td>
                    </tr>
                    <tr>
                        <th>物件種別</th>
                        <td><?php echo e($item->property_name); ?></td>
                    </tr>
                    <tr>
                        <th>物件名</th>
                        <td><?php echo e($item->name); ?></td>
                    </tr>
                <?php elseif($item->property == 6 || $item->property == 7 || $item->property == null): ?>
                    <tr>
                        <th>マンション建物番号</th>
                        <td><?php echo e($item->mansion_id); ?></td>
                    </tr>
                    <tr>
                        <th>マンション名</th>
                        <td><?php echo e($item->article_name); ?><!--（<?php echo e($item->main_traffic_station); ?>駅）<?php echo e($item->property_name); ?>--></td>
                    </tr>
                    <tr>
                        <th>物件番号</th>
                        <td><?php echo e($item->building_id); ?></td>
                    </tr>
                <!--<tr>
          <th>物件種別</th><td><?php echo e($item->property_name); ?></td>
        </tr>
        <tr>
          <th>物件名</th><td><?php echo e($item->name); ?></td>
        </tr>-->
                    <tr>
                        <th>部屋番号</th>
                        <td><?php echo e($item->room_num); ?>号室</td>
                    </tr>
                <?php endif; ?>
                <?php if(!in_array($item->property, [1,2,3])): ?>
                <tr>
                    <th>未入居</th>
                    <td><?php echo e((int)$item->occupied ? '〇' : '-'); ?></td>
                </tr>
                <?php endif; ?>
                <tr>
                    <th>収益物件</th>
                    <td><?php echo e((int)$item->revenue ? '〇' : '-'); ?></td>
                </tr>
                <tr>
                    <th>ステータス</th>
                    <td><?php echo e(getStatus($item->status)); ?></td>
                </tr>
                <tr>
                    <th>物件取扱店舗名</th>
                    <td><?php if(isset($shop_name)): ?><?php echo e($shop_name); ?><?php endif; ?></td>
                </tr>
                <tr>
                    <th>所在地</th>
                    <td colspan="2">
                        <?php if(isset($item->address) && $item->address != ''): ?>
                            <?php echo e($item->address); ?>

                        <?php elseif(isset($item->other_address) && $item->other_address != ''): ?>
                            <?php echo e($item->other_address); ?>

                        <?php else: ?>
                            -/-
                        <?php endif; ?>
                    </td>
                </tr>
                <tr>
                    <th>物件位置情報</th>
                    <td>緯度：<?php echo e($item->lat); ?>　経度：<?php echo e($item->lng); ?></td>
                </tr>
                <tr>
                    <th>交通</th>
                    <td>
                        <?php echo $__env->make('business.objects.projects.traffic-info-summary', ['article' => $mansion?? $item], \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>
                    </td>
                </tr>
                <tr>
                    <th>学校区</th>

                    <td>
                        <?php if(!isset($item->primary_school_name) and !isset($item->secondary_school_name) && !isset($item->other_secondary_school_2) && !isset($item->other_primary_school_2)): ?>
                            -
                        <?php endif; ?>
                        <?php if(isset($item->primary_school_name)): ?>
                            <?php echo e($primary_school_name); ?> <?php if(isset($item->primary_school_distance)): ?>
                                約<?php echo e($item->primary_school_distance); ?>m
                            <?php endif; ?> <?php if(isset($item->primary_school_time)): ?>
                                /&nbsp;徒歩<?php echo e($item->primary_school_time); ?>分
                            <?php endif; ?>
                        <?php endif; ?>
                        <?php if(isset($item->primary_school_name2)): ?>
                            <?php echo e($primary_school_name2); ?> <?php if(isset($item->primary_school2_distance)): ?>
                                約<?php echo e($item->primary_school2_distance); ?>m
                            <?php endif; ?> <?php if(isset($item->primary_school_time2)): ?>
                                /&nbsp;徒歩<?php echo e($item->primary_school_time2); ?>分
                            <?php endif; ?>
                        <?php endif; ?>
                        <?php if(isset($item->primary_school_name3)): ?>
                            <?php echo e($primary_school_name3); ?> <?php if(isset($item->primary_school3_distance)): ?>
                                約<?php echo e($item->primary_school3_distance); ?>m
                            <?php endif; ?> <?php if(isset($item->primary_school_time3)): ?>
                                /&nbsp;徒歩<?php echo e($item->primary_school_time3); ?>分
                            <?php endif; ?>
                        <?php endif; ?>
                        <?php if(isset($item->secondary_school_name)): ?>
                            <?php echo e($secondary_school_name); ?> <?php if(isset($item->secondary_school_distance)): ?>
                                約<?php echo e($item->secondary_school_distance); ?>m
                            <?php endif; ?> <?php if(isset($item->secondary_school_time)): ?>
                                /&nbsp;徒歩<?php echo e($item->secondary_school_time); ?>分
                            <?php endif; ?>
                        <?php endif; ?>
                        <?php if(isset($item->secondary_school_name2)): ?>
                            <?php echo e($secondary_school_name2); ?> <?php if(isset($item->secondary_school2_distance)): ?>
                                約<?php echo e($item->secondary_school2_distance); ?>m
                            <?php endif; ?> <?php if(isset($item->secondary_school_time2)): ?>
                                /&nbsp;徒歩<?php echo e($item->secondary_school_time2); ?>分
                            <?php endif; ?>
                        <?php endif; ?>
                        <?php if(isset($item->secondary_school_name3)): ?>
                            <?php echo e($secondary_school_name3); ?> <?php if(isset($item->secondary_school3_distance)): ?>
                                約<?php echo e($item->secondary_school3_distance); ?>m
                            <?php endif; ?> <?php if(isset($item->secondary_school_time3)): ?>
                                /&nbsp;徒歩<?php echo e($item->secondary_school_time3); ?>分
                            <?php endif; ?>
                        <?php endif; ?>

                        <?php if(isset($item->other_primary_school_2)): ?>
                            <?php echo e($item->other_primary_school_2); ?>約<?php echo e($item->other_primary_school_3); ?>m
                            <?php if(isset($item->other_primary_school_3)): ?>
                                /徒歩<?php echo e(ceil($item->other_primary_school_3/80)); ?>分　
                            <?php endif; ?><br>
                        <?php endif; ?>
                        <?php if(isset($item->other_secondary_school_2)): ?>
                            <?php echo e($item->other_secondary_school_2); ?>約<?php echo e($item->other_secondary_school_3); ?>m
                            <?php if(isset($item->other_secondary_school_3)): ?>
                                /徒歩<?php echo e(ceil($item->other_secondary_school_3/80)); ?>分　
                            <?php endif; ?><br>
                        <?php endif; ?>
                    </td>
                </tr>




<tr>
    <th>備考1（社内用）</th>
    <td><?php echo e($item->memo1 ?? '-'); ?></td>
</tr>
<tr>
    <th>備考2（社内用）</th>
    <td><?php echo e($item->memo2 ?? '-'); ?></td>
</tr>
<!--<tr>
    <th>備考</th>
    <td><?php echo e($item->memo_business ?? '-'); ?></td>
</tr>-->
                <?php $__currentLoopData = $customs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $custom): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <tr>
                        <th>
                            <div class="search_target_title">【オリジナル】<br /><?php echo e($custom->name); ?></div>
                        </th>

                        <td>
                            <?php switch($custom->type):
                                case (1): ?>
                                <?php echo e(empty(optional($item->customs()->where("code", $custom->code)->first())->contents) ? "-" : "〇"); ?>

                                <?php break; ?>
                                <?php case (2): ?>
                                <?php if(implode(", ", $item->customs()->where("code", $custom->code)->get()->pluck("contents")->toArray())==0): ?>0
                                <?php else: ?>
                                <?php echo e(implode(", ", $item->customs()->where("code", $custom->code)->get()->pluck("contents")->toArray())); ?>

                                <?php endif; ?>
                                <?php break; ?>
                                <?php case (3): ?>
                                <?php echo e(implode(", ", $item->customs()->where("code", $custom->code)->get()->pluck("contents")->toArray())); ?>

                                <?php break; ?>
                            <?php endswitch; ?>
                        </td>
                    </tr>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                <tr>
                  <th>取引態様</th>
                  <td><?php echo e($manner_name); ?></td>
                </tr>
            </table>

            <h4>価格</h4>
            <table>
              <?php if($item->status == 4): ?>
              <tr>
                  <th>成約価格</th>
                  <td>
                    <?php if($item->price_closing): ?>
                  <?php echo e(number_format($item->price_closing, 0, ",", ",")); ?><span>万円<?php if($item->tax==2): ?><!--（税込）--><?php endif; ?></span><?php if($item->close_date != null): ?> / <?php echo e(date('Y年m月d日', strtotime($item->close_date))); ?><?php endif; ?>
                    <?php else: ?>
                    -
                    <?php endif; ?>
                  </td>
              </tr>
              <tr>
                  <th>最終物件価格</th>
                  <td><?php echo e(number_format($item->price, 0, ",", ",")); ?>万円</td>
              </tr>
              <?php else: ?>
                <tr>
                    <th>物件価格</th>
                    <td><?php echo e(number_format($item->price, 0, ",", ",")); ?>万円</td>
                </tr>
                <?php endif; ?>
                <!--<tr>
                    <th>有線放送に係る費用</th>
                    <td>
                        <?php if($item->broadcasting == 1): ?>
                            <span>
                                初期費用：
                                <?php switch($item->broadcasting_presence):
                                    case (0): ?>
                                        無
                                        <?php break; ?>
                                    <?php case (1): ?>
                                        有（<?php echo e($item->broadcasting_cost); ?>円）
                                        <?php break; ?>
                                    <?php case (2): ?>
                                        有（金額未定）
                                        <?php break; ?>
                                <?php endswitch; ?>
                            </span>
                            <br>
                            <span>
                                定額費用：
                                <?php switch($item->broadcasting_fixed_presence):
                                    case (0): ?>
                                    無
                                    <?php break; ?>
                                    <?php case (1): ?>
                                    有（<?php echo e($item->broadcasting_fixed_cost); ?>円/<?php echo e($item->broadcasting_fixed_cost_unit == 1 ? "月" : "年"); ?>）
                                    <?php break; ?>
                                    <?php case (2): ?>
                                    有（金額未定）
                                    <?php break; ?>
                                <?php endswitch; ?>
                            </span>
                        <?php elseif($item->broadcasting == 2): ?>
                            未選択
                        <?php else: ?>
                            無
                        <?php endif; ?>
                    </td>
                </tr>
                <tr>
                    <th>CATVに係る費用</th>
                    <td>
                        <?php if($item->catv == 1): ?>
                            <span>
                                初期費用：
                                <?php switch($item->catv_presence):
                                    case (0): ?>
                                    無
                                    <?php break; ?>
                                    <?php case (1): ?>
                                    有（<?php echo e($item->catv_cost); ?>円）
                                    <?php break; ?>
                                    <?php case (2): ?>
                                    共有
                                    <?php break; ?>
                                <?php endswitch; ?>
                            </span>
                            <br>
                            <span>
                                定額費用：
                                <?php switch($item->catv_fixed_presence):
                                    case (0): ?>
                                    無
                                    <?php break; ?>
                                    <?php case (1): ?>
                                    有（<?php echo e($item->catv_fixed_cost); ?>円/<?php echo e($item->catv_fixed_cost_unit == 1 ? "月" : "年"); ?>）
                                    <?php break; ?>
                                    <?php case (2): ?>
                                    共有
                                    <?php break; ?>
                                <?php endswitch; ?>
                            </span>
                        <?php elseif($item->catv == 2): ?>
                            未選択
                        <?php else: ?>
                            無
                        <?php endif; ?>
                    </td>
                </tr>-->
                <tr>
                    <th>物件価格変更履歴</th>
                    <td>
                        <?php $__currentLoopData = $item->price_histories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $p): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <?php if($key > 0): ?>
                                変更：<?php echo e(number_format($p->price, 0)); ?>万円 <?php if(!empty($p->regist_date)): ?> (<?php echo e(date('Y/m/d', strtotime($p->regist_date))); ?>) <?php endif; ?>
                            <?php else: ?>
                                登録：<?php echo e(number_format($p->price, 0)); ?>万円 <?php if(!empty($p->regist_date)): ?> (<?php echo e(date('Y/m/d', strtotime($p->regist_date))); ?>) <?php endif; ?>
                            <?php endif; ?>
                            <br>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                    </td>
                </tr>
                <?php if($item->property == 6 || $item->property == 7 || $item->property == null): ?>
                    <tr>
                        <th>管理費</th>
                        <td><?php echo e(number_format($item->management_cost, 0, ",", ",")); ?>円/<?php if($item->management_cost_unit==1): ?>月<?php else: ?>年<?php endif; ?></td>
                    </tr>
                    <tr>
                        <th>修繕積立金</th>
                        <td><?php echo e(number_format($item->repair_cost, 0, ",", ",")); ?>円/<?php if($item->repair_cost_unit==1): ?>月<?php else: ?>年<?php endif; ?></td>
                    </tr>
                    <tr>
                        <th>修繕積立基金</th>
                        <td>
                          <?php if($item->repair_fund==1): ?>
                          <?php echo e(number_format($item->repair_fund_unit, 0, ",", ",")); ?>円/一括
                          <?php elseif($item->repair_fund==2): ?>
                          -
                          <?php else: ?>
                          無
                          <?php endif; ?>
                        </td>
                    </tr>
                    <tr>
                        <th>駐車場（敷地内）</th>
                        <td><?php echo e($item->getParkingText()); ?></td>
                    </tr>
                    <tr>
                        <th>駐車場（敷地外）</th>
                        <td><?php echo e($item->getParkingOutText()); ?></td>
                    </tr>
                <?php endif; ?>

                
                
                

                <!--<?php if(!in_array($item->property, [1,2,3,4])): ?>
                    <tr>
                        <th>インターネットに係る費用</th>
                        <td>
                            <?php
                                if($item->internet != null) {
                                    $bstNames = ['無', '有', '未設定'];
                                    $text = $bstNames[$item->internet] ?? '';
                                    if($item->internet == 1) {
                                        $text .= '<br>';
                                        $names = ['無', '有', '有（金額未定）'];
                                        if($item->internet_presence != null) {
                                            $text .= '- '.($names[$item->internet_presence] ?? '');
                                            if($item->internet_presence == 1) {
                                                $text .= ': '.($item->internet_cost).'円';
                                            }
                                        }
                                        if($item->internet_fixed_presence != null) {
                                            $text .= '<br>- '.($names[$item->internet_fixed_presence] ?? '');
                                            if($item->internet_fixed_presence == 1) {
                                                $text .= ': '.($item->internet_fixed_presence).'円/'.($item->internet_fixed_cost_unit == 1) ? '月' : '年';
                                            }
                                        }
                                    }
                                    echo $text;
                                }
                            ?>
                        </td>
                    </tr>
                <?php endif; ?>
                <tr>
                    <th>町会費など</th>
                    <td><?php echo e(!empty($item->council) ? getCouncilName($item) : '-'); ?></td>
                </tr>
                <tr>
                    <th>温泉</th>
                    <td><?php echo e(!empty($item->spring) ? getSpringName($item) : '-'); ?></td>
                </tr>-->
                <tr>
                  <th>その他費用</th>
                  <td>
                    <?php if($item->another_cost1): ?>
                    <?php echo e(getAnotherCost($item, [1])); ?>

                    <?php endif; ?>
                    <?php if($item->another_cost2): ?>
                    <br /><?php echo e(getAnotherCost($item, [2])); ?>

                    <?php endif; ?>
                    <?php if($item->another_cost3): ?>
                    <br /><?php echo e($item->another_cost3); ?>

                    <?php endif; ?>
                    <?php if(!$item->another_cost1 and !$item->another_cost2 and !$item->another_cost3): ?>
                    -
                    <?php endif; ?>
                  </td>
                    <!--<th>その他諸費用1</th>
                    <td><?php echo e(getAnotherCost($item, [1])); ?></td>
                </tr>
                <tr>
                    <th>その他諸費用2</th>
                    <td><?php echo e(getAnotherCost($item, [2])); ?></td>
                </tr>
                <tr>
                    <th>その他諸費用3</th>
                    <td><?php echo e($item->another_cost3); ?></td>-->

                </tr>
                <tr>
                    <th>
                        <div class="search_target_title">価格備考</div>
                    </th>
                <td><?php echo e($item->price_note ?? "-"); ?></td>
              </tr>
            </table>
            <h4>制限事項</h4>
            <table>
                <tr>
                    <th>法令上の制限</th>
                    <?php if(empty($mansion)): ?>
                        <td><?php echo ($tmpLaws = $item->getLowRestrictionName()) ? $tmpLaws : '-'; ?></td>
                    <?php else: ?>
                        <td><?php echo ($tmpLaws = $mansion->getLowRestrictionName()) ? $tmpLaws : '-'; ?></td>
                    <?php endif; ?>
                </tr>
                <tr>
                    <th>その他制限事項</th>
                    <?php if(empty($mansion)): ?>
                        <td><?php echo ($tmpLaws = $item->getOtherRestriction()) ? $tmpLaws : '-'; ?></td>
                    <?php else: ?>
                        <td><?php echo ($tmpLaws = $mansion->getOtherRestriction()) ? $tmpLaws : '-'; ?></td>
                    <?php endif; ?>
                </tr>
            </table>
        </div>
        <div class="p-detail-summary__tbl-right fright">
            <h4>物件概要</h4>
            <table>
                <tr>
                    <th>土地権利</th>
                    <?php
                        $dataLand = $item;
                        if ($mansion = $item->getMansion())
                            $dataLand = $mansion;
                    ?>
                    <td>
                      <?php if($dataLand->land_right==1): ?>
                      所有権
                      <?php elseif($dataLand->land_right==2): ?>
                      <span>借地権のみ</span>
                      <?php elseif($dataLand->land_right==3): ?>
                      <span>所有権・借地権混在</span>
                      <?php else: ?>
                      -
                      <?php endif; ?>
                        <?php echo $__env->make('business.objects.components.land-right', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>
                    </td>
                </tr>
            </table>

            <h4>土地情報</h4>
            <table>
              <?php if($item->property == 1 || $item->property == 2 || $item->property == 3 || $item->property == 4 || $item->property == 5): ?>
                <tr>
                    <th>土地面積</th>
                    <td><?php echo e($item->land_area_val?? '-'); ?>&nbsp;m&sup2;</td>
                </tr>
                <tr>
                    <th>土地条件</th>
                    <td>
                      <?php if($item->land_condition1 or $item->land_condition_2 or $item->land_condition3): ?>
                        <?php if($item->land_condition_area1): ?>
                            傾斜部分&nbsp;<?php echo e($item->land_condition_area1); ?><?php if($item->land_condition_unit1==2): ?>m&sup2;<?php elseif($item->land_condition_unit1==3): ?>％ <?php endif; ?>
                            <br>
                        <?php endif; ?>
                        <?php if($item->land_condition_area2): ?>
                            路地上部分&nbsp;<?php echo e($item->land_condition_area2); ?><?php if($item->land_condition_unit2==2): ?>m&sup2;<?php elseif($item->land_condition_unit2==3): ?>％<?php endif; ?>
                            <br>
                        <?php endif; ?>
                        <?php if($item->land_condition_area3): ?>
                            高圧線下<?php echo e($item->land_condition_area3); ?>m&sup2;
                        <?php endif; ?>
                      <?php else: ?>
                      -
                      <?php endif; ?>
                    </td>
                </tr>
                <tr>
                    <th>引渡し</th>
                    <td>
                        <?php
                            $propertyArticleLand = [1,2,3];
                            $isArticleLand = in_array($item->property, $propertyArticleLand);
                        ?>
                            <?php if($item->move_in == 1): ?>
                                即
                            <?php elseif($item->move_in == 2): ?>
                                相談
                            <?php elseif($item->move_in == 3): ?>
                                指定有：<?php echo e($item->move_in_year); ?>年<?php echo e($item->move_in_month); ?>月
                            <?php elseif($item->move_in == 4): ?>
                                契約後<?php echo e($item->move_in_contract_month); ?>ヶ月
                            <?php elseif($item->move_in == 5): ?>
                                不明
                            <?php else: ?>
                                -
                            <?php endif; ?>
                        <?php if($item->move_in_conditions): ?>／<?php echo e($item->move_in_conditions); ?><?php endif; ?>
                    </td>
                </tr>
                <tr>
                    <th>再建築</th>
                    <td>
                      <?php if($item->land_not==1): ?>
                        再建築不可
                      <?php else: ?>
                        -
                      <?php endif; ?>
                    </td>
                </tr>
                <?php if($item->property == 1 || $item->property == 2 || $item->property == 3): ?>
                <tr>
                  <th>現況</th>
                  <td>
                    <?php echo e(getCurrentStatusName($item->current_status)); ?>

                    <?php if($item->current_status==3): ?>
                    <?php if($item->comp_year): ?>
                    （造成工事完了予定年月：<?php echo e($item->comp_year); ?>年
                    <?php if($item->comp_month): ?><?php echo e($item->comp_month); ?>月<?php endif; ?>
                    ）
                    <?php endif; ?>
                    <?php endif; ?>
                  </td>
                </tr>
                <tr>
                  <th>建築条件</th>
                  <td>
                    <?php echo e($item->getLanConditionName()); ?>

                    <?php if($item->land_condition==1): ?>
                    <?php if($item->land_condition_not==1): ?>
                    （条件外し：可）
                    <?php endif; ?>
                    <?php if($item->building_plan_place or $item->building_plan_area): ?>
                    <br />【建物プラン】
                    <?php if($item->building_plan_place): ?>建物価格：<?php echo e(number_format($item->building_plan_place, 0, ",", ",")); ?>万円<?php endif; ?>
                    <?php if($item->building_plan_area): ?>建物面積：<?php echo e($item->building_plan_area); ?>m²<?php endif; ?>
                    <?php endif; ?>
                    <?php endif; ?>
                  </td>
                </tr>
                <?php endif; ?>
                <tr>
                  <th>地目</th>
                  <td><?php echo e($item->getGroundName()); ?></td>
                </tr>
                <tr>
                  <th>私道負担</th>
                  <td><?php echo e($item->getRoadBurdenName()); ?></td>
                </tr>
                <tr>
                  <th>地役権</th>
                  <td><?php echo e($item->getEasement()); ?></td>
                </tr>
                <tr>
                  <th>接道</th>
                  <td><?php if($item->getLanDirectionName()): ?><?php echo $item->getLanDirectionName(); ?><?php else: ?>-<?php endif; ?></td>
                </tr>
                <?php if($item->property == 1 || $item->property == 2 || $item->property == 3 || $item->property == 4 || $item->property == 5): ?>
                <tr>
                  <th>上水道</th>
                  <td><?php echo e(getWaterSupplyName($item->water_supply)); ?></td>
                </tr>
                <tr>
                  <th>下水道</th>
                  <td><?php echo e($item->getSewerageName()); ?></td>
                </tr>
                <?php endif; ?>
                <tr>
                  <th>ガス・オール電化</th>
                  <?php if(empty($mansion)): ?>
                      <td><?php echo e($item->getGasName()); ?></td>
                  <?php else: ?>
                      <td><?php echo e($mansion->getGasName()); ?></td>
                  <?php endif; ?>
                </tr>
                <?php if($item->property == 1 || $item->property == 2 || $item->property == 3): ?>
                <tr>
                  <th>車庫</th>
                  <td><?php echo e($item->garage == 1 ? '掘込車庫' : '-'); ?></td>
                </tr>
                <?php endif; ?>
                <tr>
                  <th>セットバック</th>
                  <td><?php echo e($item->getSetPropName()); ?></td>
                </tr>
                <?php endif; ?>
                <?php if($item->property != null): ?>
                <tr>
                    <th>建ぺい率</th>
                    <td><?php echo e(intval($item->building_rate)?? '-'); ?>%</td>
                </tr>
                <tr>
                    <th>容積率</th>
                    <td><?php echo e(intval($item->volume_rate)?? '-'); ?>%</td>
                </tr>
                <?php endif; ?>
                <tr>
                    <th>用途地域</th>
                    <td>
                        <!--<?php echo e(Config::get('const.USE_AREA_NAME')[$item->use_area_name] ?? '-'); ?><?php if($item->use_area_name != "" || $item->use_area_name != null): ?>
                            <br> <?php endif; ?>
                        <?php if($item->use_area_name_sub != "" && $item->use_area_name_sub != "その他"): ?>
                            一部 <?php echo e(Config::get('const.USE_AREA_NAME')[$item->use_area_name_sub] ?? ""); ?>を含む<br>
                        <?php endif; ?>
                        <?php if($item->use_area_name_sub2 != "" && $item->use_area_name_sub2 != "その他"): ?>
                            一部 <?php echo e(Config::get('const.USE_AREA_NAME')[$item->use_area_name_sub2] ?? ""); ?>を含む<br>
                        <?php endif; ?>-->
                        <?php echo e($item->use_area_name??'-'); ?><?php if($item->use_area_name != "" || $item->use_area_name != null): ?>
                            <br> <?php endif; ?>
                        <?php if($item->use_area_name_sub != ""): ?>
                            一部 <?php echo e($item->use_area_name_sub); ?>を含む<br>
                        <?php endif; ?>
                        <?php if($item->use_area_name_sub2 != ""): ?>
                            一部 <?php echo e($item->use_area_name_sub2); ?>を含む<br>
                        <?php endif; ?>
                    </td>
                </tr>
                <tr>
                    <th>都市計画</th>
                    <td>
                        <?php if($dataLand->city_plan == 2): ?>
                            <?php echo e($dataLand->getCityPlanName()); ?><br>
                            建築許可理由 <?php echo e($dataLand->getCityPlanReasonName()); ?>

                        <?php else: ?>
                            <?php echo e($dataLand->getCityPlanName()); ?>

                        <?php endif; ?>
                    </td>
                </tr>
                <?php if($item->property == 1 || $item->property == 2 || $item->property == 3): ?>
                <tr>
                    <th>総区画数</th>
                    <td>
                        <?php echo e($item->section?? '-'); ?>区画
                    </td>
                </tr>
                <?php endif; ?>
                <?php if(! is_null($item->property)): ?>
                      <tr>
                          <th>
                              <div class="search_target_title">土地備考</div>
                          </th>
                          <td><?php echo e($item->land_note ?? "-"); ?></td>
                      </tr>
                  <?php endif; ?>
            </table>
            <?php if($item->property == 4 || $item->property == 5): ?>
                <h4>建物情報</h4>
                <table>
                <tr>
                    <th>建物面積</th>
                    <td><?php echo e($item->total_area_val?? '-'); ?>&nbsp;m&sup2;</td>
                </tr>
                <tr>
                    <th>建物条件</th>
                    <td><?php echo $item->getBuildingCondition(); ?></td>
                </tr>
                <tr>
                    <th>間取り</th>
                    <td><?php echo e($item->getFloorPlan()); ?></td>
                </tr>
                <tr>
                    <th>総戸数</th>
                    <td><?php echo e($item->total_unit); ?>戸</td>
                </tr>
                <tr>
                    <?php if($item->age_year == null && $item->age_month == null && $item->completed_contract_month != null): ?>
                        <th>完成予定</th>
                        <td>契約後<?php echo e($item->completed_contract_month); ?>ヶ月</td>
                    <?php elseif($item->age_year > date("Y") || ($item->age_year == date("Y") && $item->age_month >= date("m") )): ?>
                        <th>完成予定</th>
                        <td><?php echo e($item->age_year?? "-"); ?>年<?php echo e($item->age_month?? "-"); ?>月<?php echo e($item->completed_text??''); ?></td>
                    <?php else: ?>
                        <th>築年月</th>
                        <td><?php echo e($item->age_year?? "-"); ?>年<?php echo e($item->age_month?? "-"); ?>月<?php echo e($item->completed_text??''); ?></td>
                    <?php endif; ?>


                </tr>
                <tr>
                    <th>引渡し</th>
                    <td>
                        <?php
                            $deliveryNames = ['未選択', '即', '相談', '指定有'];
                            echo isset($deliveryNames[$item->land_delivery]) ? $deliveryNames[$item->land_delivery] : '-';
                        ?>
                        <?php if($item->move_in_conditions): ?>／<?php echo e($item->move_in_conditions); ?><?php endif; ?>
                    </td>
                </tr>
                <tr>
                    <th>現況</th>
                    <td>
                      <?php echo e(getCurrentStatusName($item->current_status)); ?>

                      <?php if(getCurrentStatusName($item->current_status, $item->property)=='賃貸中' and ($item->current_status_val or $item->current_status_rate)): ?>
                      （
                            <?php if($item->current_status_val): ?>
                                賃料：<?php echo e(number_format(is_numeric($item->current_status_val) ? $item->current_status_val : intval(str_replace(',', '', $item->current_status_val)), 0, ",", ",")); ?>

                                円/月　
                            <?php endif; ?>
                        <?php if($item->current_status_rate): ?>利回り：<?php echo e($item->current_status_rate); ?>％<?php endif; ?>
                      ）
                      <?php endif; ?>
                    </td>
                </tr>
                <tr>
                    <th>構造</th>
                    <td>
                        <?php echo e($item->construction_name); ?>

                        <?php if($item->construction_sub_name != ""): ?>・一部<?php echo e($item->construction_sub_name); ?><?php endif; ?>
                    </td>
                </tr>
                <tr>
                    <th>階数</th>
                    <td>
                      <?php if($item->underground): ?>
                        地上<?php echo e($item->floor ? $item->floor.'階' : ''); ?>地下<?php echo e($item->underground ? $item->underground.'階' : ''); ?>建
                      <?php else: ?>
                        <?php echo e($item->floor ? $item->floor.'階' : ''); ?>建
                      <?php endif; ?>
                    </td>
                </tr>
                <tr>
                    <th>駐車場/可能台数</th>
                    <td>
                        <?php
                            $parNames = ['未設定', '無'];
                            $parNames[8] = '掘込車庫';
                            $parNames[9] = '車庫';
                            $parNames[10] = '地下車庫';
                            $parNames[11] = 'カースペース';
                            $parNames[12] = 'カーポート';
                        ?>
                        <?php if($item->parking != null): ?>
                            <?php echo e($parNames[$item->parking] ?? ''); ?><?php echo e(!empty($item->parking_num) ? '/'.$item->parking_num.'台' : ''); ?>

                        <?php else: ?>
                            -
                        <?php endif; ?>
                    </td>
                </tr>
                <tr>
                    <th>建築確認番号</th>
                    <td><?php echo e($item->architecture_no ?? '-'); ?></td>
                </tr>
                <tr>
                    <th>リフォーム（外装）</th>
                    <td>
                        <?php echo $item->getExteriorHTML(); ?>

                    </td>
                </tr>
                <tr>
                    <th>リフォーム（内装）</th>
                    <td>
                        <?php echo $item->getInteriorHTML(); ?>

                    </td>
                </tr>
                <?php if(strpos(request()->url(), route('business-for-sale-detail', $item->building_id)) !== false || strpos(request()->url(), route('business-close-detail', $item->building_id)) !== false): ?>
                    <?php if(! in_array($item->property, [1, 2, 3])): ?>
                        <tr>
                            <th>建物備考</th>
                            <td><?php echo e($item->build_note ?? "-"); ?></td>
                        </tr>
                    <?php endif; ?>
                <?php endif; ?>
                </table>
            <?php endif; ?>
            
            <?php if($item->property == 6 || $item->property == 7 || $item->property == null): ?>
                <h4>マンション建物情報</h4>
                <table>
                    <tr>
                        <th>専有面積</th>
                        <td><?php echo e($item->total_area_val); ?>&nbsp;m&sup2;</td>
                    </tr>
                    <tr>
                        <th>間取り</th>
                        <td><?php echo e($item->floor_plan); ?><?php echo e($item->floor_plan_name); ?></td>
                    </tr>
                    <?php if($item->property != null): ?>
                        <tr>
                            <th>LDK</th>
                            <td><?php echo e($item->original4 == 1 ? 'はい' : '番号'); ?></td>
                        </tr>
                    <?php endif; ?>
                    <tr>
                        <th>バルコニー面積</th>
                        <td><?php if($item->balcony_direction): ?><?php echo e($item->getDirectionName($item->balcony_direction)); ?>向き <?php endif; ?><?php echo e($item->balcony_area_val??'-'); ?>&nbsp;m&sup2;</td>
                    </tr>
                    <tr>
                        <th>ルーフバルコニー面積</th>
                        <td>
                            <?php if($item->loof_balcony_area_val): ?>
                                <?php echo e($item->loof_balcony_area_val); ?>&nbsp;m&sup2;
                                （<?php echo e(number_format($item->loof_balcony_area_cost, 0, ",", ",")); ?>円／<?php echo e($item->loof_balcony_area_unit == 1 ? "月" : "年"); ?>）
                            <?php else: ?>
                                -
                            <?php endif; ?>
                        </td>
                    </tr>
                    <tr>
                        <th>専用庭面積</th>
                        <td>
                            <?php if($item->garden_area_val): ?>
                                <?php echo e($item->garden_area_val); ?>&nbsp;m&sup2;
                                （<?php echo e(number_format($item->garden_area_cost, 0, ",", ",")); ?>円／<?php echo e($item->garden_area_unit == 1 ? "月" : "年"); ?>）
                            <?php else: ?>
                                -
                            <?php endif; ?>
                        </td>
                    </tr>
                    <tr>
                        <th>テラス面積</th>
                        <td>
                            <?php if($item->terrace_area_val): ?>
                                <!--<?php echo e($item->getDirectionName($item->terrace_direction)); ?> --><?php echo e($item->terrace_area_val); ?>&nbsp;m&sup2;
                                （<?php echo e(number_format($item->terrace_area_cost, 0, ",", ",")); ?>円／<?php echo e($item->terrace_area_unit == 1 ? "月" : "年"); ?>）
                            <?php else: ?>
                                -
                            <?php endif; ?>
                        </td>
                    </tr>
                    <tr>
                        <th>引渡し</th>

                        <td>
                            <?php if($item->move_in == 1): ?>
                                即
                            <?php elseif($item->move_in == 2): ?>
                                相談
                            <?php elseif($item->move_in == 3): ?>
                                指定有：<?php echo e($item->move_in_year); ?>年<?php echo e($item->move_in_month); ?>月
                            <?php elseif($item->move_in == 4): ?>
                                契約後<?php echo e($item->move_in_contract_month); ?>ヶ月
                            <?php elseif($item->move_in == 5): ?>
                                不明
                            <?php else: ?>
                                -
                            <?php endif; ?>
                            <?php if($item->move_in_conditions): ?>／<?php echo e($item->move_in_conditions); ?><?php endif; ?>
                        </td>
                    </tr>
                    <tr>
                        <th>階数</th>
                        <td>
                          <?php if($item->maisonette==1): ?>
                        <?php echo e($item->maisonette_from ? $item->maisonette_from : ''); ?>〜<?php echo e($item->maisonette_to ? $item->maisonette_to : ''); ?>

                        <?php else: ?>
                          <?php echo e($item->whereabouts ? $item->whereabouts : '-'); ?>

                        <?php endif; ?>
                        階/
                        <?php if(optional($mansion)->underground>0): ?>地上<?php endif; ?><?php echo e(!empty(optional($mansion)->floor) ? optional($mansion)->floor : '-'); ?>階
                        <?php if(optional($mansion)->underground>0): ?>地下<?php echo e($mansion->underground ? $mansion->underground.'階' : ''); ?><?php endif; ?>建
                        </td>
                    </tr>
                    <tr>
                        <th>リフォーム（内装）</th>
                        <td><?php echo e($item->getInteriorText()); ?></td>
                    </tr>
                    <tr>
                        <th>総戸数</th>
                        <td><?php echo e($item->total_unit); ?>戸</td>
                    </tr>
                    <tr>






                        <?php if(empty($mansion)): ?>
                            <?php if($item->age_year == null && $item->age_month == null && $item->completed_contract_month != null): ?>
                                <th>完成予定</th>
                                <td>契約後<?php echo e($item->completed_contract_month); ?>ヶ月</td>
                            <?php elseif($item->age_year > date("Y") || ($item->age_year == date("Y") && $item->age_month >= date("m") )): ?>
                                <th>完成予定</th>
                                <td><?php echo e($item->age_year?? "-"); ?>年<?php echo e($item->age_month?? "-"); ?>月</td>
                            <?php else: ?>
                                <th>築年月</th>
                                <td><?php echo e($item->age_year?? "-"); ?>年<?php echo e($item->age_month?? "-"); ?>月</td>
                            <?php endif; ?>
                        <?php else: ?>
                            <?php if($mansion->age_year == null && $mansion->age_month == null): ?>
                                <th>築年月</th>
                                <td>-</td>
                            <?php elseif($mansion->age_year > date("Y") || ($mansion->age_year == date("Y") && $mansion->age_month >= date("m") )): ?>
                                <th>完成予定</th>
                                <td><?php echo e($mansion->age_year?? "-"); ?>年<?php echo e($mansion->age_month?? "-"); ?>月</td>
                            <?php else: ?>
                                <th>築年月</th>
                                <td><?php echo e($mansion->age_year?? "-"); ?>年<?php echo e($mansion->age_month?? "-"); ?>月</td>
                            <?php endif; ?>
                        <?php endif; ?>
                    </tr>
                    <tr>
                        <th>構造</th>
                        <td>
                            <?php echo e($item->construction_name); ?>

                            <?php if($item->construction_sub_name != ""): ?>・一部<?php echo e($item->construction_sub_name); ?><?php endif; ?>
                        </td>
                    </tr>
                    <tr>
                        <th>敷地面積</th>
                        <td><?php echo e($item->land_area_val); ?>&nbsp;m&sup2;</td>
                    </tr>
                    <tr>
                        <th>分譲会社</th>
                        <?php if(empty($mansion)): ?>
                            <td><?php echo e($item->sales_company); ?></td>
                        <?php else: ?>
                            <td><?php echo e($mansion->sales_company); ?></td>
                        <?php endif; ?>
                    </tr>
                    <tr>
                        <th>施工会社</th>
                        <?php if(empty($mansion)): ?>
                            <td><?php echo e($item->construction_company); ?></td>
                        <?php else: ?>
                            <td><?php echo e($mansion->construction_company); ?></td>
                        <?php endif; ?>
                    </tr>
                    <tr>
                        <th>管理会社</th>
                        <?php if(empty($mansion)): ?>
                            <td><?php if($item->management_company): ?><?php echo e($item->management_company); ?><?php else: ?>-<?php endif; ?></td>
                        <?php else: ?>
                            <td><?php if($mansion->management_company): ?><?php echo e($mansion->management_company); ?><?php else: ?>-<?php endif; ?></td>
                        <?php endif; ?>
                    </tr>
                    <tr>
                        <th>管理形態</th>
                        <td><?php if($item->management_name): ?><?php echo e($item->management_name); ?><?php else: ?>-<?php endif; ?></td>
                    </tr>
                    <tr>
                        <th>共用部</th>
                        <td><?php echo e($item->shared_text); ?></td>
                    </tr>
                    <tr>
                        <th>ペット飼育</th>
                        <td>
                            <?php
                            if($item->pet != null) {
                                $pNames = ['未設定', '不可', '可', '相談'];
                                echo $pNames[$item->pet] ?? '';
                            }
                            if($item->pet_num){
                              echo '（'.$item->pet_num.'匹）<br />※匹数をお客様にお伝えする際には、管理規約を確認してください。';
                            }
                            ?>
                        </td>
                    </tr>

                    
                    <tr>
                        <th>現況</th>
                        <td>
                          <?php echo e(getCurrentStatusName($item->current_status)); ?>

                          <?php if(getCurrentStatusName($item->current_status, $item->property)=='賃貸中' and ($item->current_status_val or $item->current_status_rate)): ?>
                          （
                          <?php if($item->current_status_val): ?>賃料：<?php echo e(number_format(is_numeric($item->current_status_val) ? $item->current_status_val : intval(str_replace(',', '', $item->current_status_val)), 0, ",", ",")); ?>円/月　<?php endif; ?>
                          <?php if($item->current_status_rate): ?>利回り：<?php echo e($item->current_status_rate); ?>％<?php endif; ?>
                          ）
                          <?php endif; ?>
                        </td>
                    </tr>
                    <tr>
                        <th>ガス・オール電化</th>
                        <?php if(empty($mansion)): ?>
                            <td><?php echo e($item->getGasName()); ?></td>
                        <?php else: ?>
                            <td><?php echo e($mansion->getGasName()); ?></td>
                        <?php endif; ?>
                    </tr>
                    
                    <?php if(strpos(request()->url(), route('business-for-sale-detail', $item->building_id)) !== false || strpos(request()->url(), route('business-close-detail', $item->building_id)) !== false): ?>
                        <tr>
                            <th>建物備考</th>
                            <td><?php echo e($item->build_note ?? "-"); ?></td>
                        </tr>
                    <?php endif; ?>
                </table>
            <?php endif; ?>
            <!--<h4>周辺施設</h4>
            <table>
              <tr>
                  <th>施設</th>
                  <td>
                      <?php if(!$relation_facilities->isEmpty()): ?>
                          <?php $__currentLoopData = $relation_facilities; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $facility): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                              施設　徒歩<?php echo e($facility->time ?? '-'); ?>分（約<?php echo e($facility->distance ?? '-'); ?>m)
                              <?php echo !$loop->last ? '<br>' : null; ?>

                          <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                      <?php else: ?>
                          -
                      <?php endif; ?>
                  </td>
              </tr>
            </table>-->
            <h4>投資・事業用</h4>
            <table>
                <tr>
                    <th>区分</th>
                    <td>
                      <?php if($item->classfication == 1): ?>
                      居住用
                      <?php elseif($item->classfication == 2): ?>
                      事業用
                      <?php else: ?>
                      投資用
                      <?php endif; ?>
                      </td>
                </tr>
                <?php if($item->classfication != 1): ?>
                <?php if($item->property == 4 || $item->property == 5): ?>
                <tr>
                    <th>売買区分</th>
                    <td>
                        <?php if($item->classfication == 1): ?>
                            -
                        <?php else: ?>
                           <?php echo e($item->trading_classfication == 1 ? '一棟売' : '一括売'); ?>

                        <?php endif; ?>
                    </td>
                </tr>
                <?php elseif(empty($item->property)): ?>
                <tr>
                    <th>売買区分</th>
                    <td>
                        <?php if($item->classfication == 1): ?>
                            -
                        <?php else: ?>
                           <?php echo e($item->trading_classfication == 1 ? '一室売' : '一括売'); ?>

                        <?php endif; ?>
                    </td>
                </tr>
                <?php endif; ?>
                <?php if($item->classfication == 2): ?>
                <tr>
                    <th>事業用用途</th>
                    <td>
                        <?php if($item->classfication == 1 || $item->classfication == 3): ?>
                            -
                        <?php else: ?>
                            <?php echo e(!empty($item->use_method) && $item->classfication == 2 ? $item->getUserMethod() : '-'); ?>

                        <?php endif; ?>
                    </td>
                </tr>
                <?php if($item->property != 1 and $item->property != 2 and $item->property != 3): ?>
                <tr>
                    <th>事業用引渡し状態</th>
                    <td>
                        <?php if(false): ?>
                            -
                        <?php else: ?>
                            <?php
                                $names = ['-', '造作譲渡あり', '造作譲渡なし', '設備無償譲渡', 'スケルトン渡し'];
                                echo $names[$item->business_status] ?? '';
                            ?>
                        <?php endif; ?>
                    </td>
                </tr>
                <?php endif; ?>
                <?php endif; ?>
                <?php if($item->classfication == 3): ?>
                <tr>
                    <th>投資用現況</th>
                    <td>
                      <?php
                        echo $item->getInvestmentPerformance();
                      ?>
                        <!--
                        <?php if($item->investment_performance): ?>
                        <br />投資用収入実績：<?php echo e(number_format($item->investment_performance, 0, ",", ",")); ?>円/<?php echo e($item->investment_performance_unit == 1 ? "月" : "年"); ?>

                        <?php endif; ?>
                        <?php if($item->investment_interest): ?>
                        <br />投資用年利回り：<?php echo e($item->investment_interest); ?>%
                        <?php endif; ?>
                      -->
                    </td>
                </tr>
                <?php endif; ?>
                <?php endif; ?>
            </table>

            <h4>イベント</h4>
            <table>
                <tr>
                    <th>カテゴリ</th>
                    <td><?php echo e(!empty($item->event_category) ? $item->getEventCategoryName() : '-'); ?></td>
                </tr>
                <tr>
                    <th>日程</th>
                    <td><?php echo e(!empty($item->event_category) && !empty($item->event_schedule) ? $item->getEventScheduleName() : '-'); ?></td>
                </tr>
                <tr>
                    <th>時間</th>
                    <td>
                        <?php if(!empty($item->from_hour) or $item->to_hour): ?>
                            <?php if($item->from_hour): ?><?php echo e($item->from_hour); ?>：<?php echo e(($item->from_minute > 9) ? $item->from_minute : '0'.$item->from_minute); ?>〜<?php endif; ?>
                            <?php if($item->to_hour): ?><?php echo e($item->to_hour); ?>：<?php echo e(($item->to_minute > 9) ? $item->to_minute : '0'.$item->to_minute); ?><?php endif; ?>
                        <?php else: ?>
                            -
                        <?php endif; ?>
                    </td>
                </tr>
                <tr>
                    <th>予約</th>
                    <td><?php echo e($item->reservation ? '完全予約制' : '-'); ?></td>
                </tr>
                <tr>
                    <th>イベント備考</th>
                    <td><?php echo e($item->event_comment ?? "-"); ?></td>
                </tr>
            </table>
        </div>
        <div class="clear"></div>
    </div>
</div>
