
<div class="p-results-current-condition">

    <div class="p-results-current-condition__head-mansion d-flex justify-content-between">
        <p class="p-results-current-condition__title"><?php echo e($title ?? ''); ?>　検索結果一覧</p>
        <ul class="c-tab-img-or-list nav" role="tablist">
            <li><a class="p-results-current-condition__btn-arrow" data-toggle="collapse" href="#searchPanel" role="button" aria-expanded="true" aria-controls="searchPanel"></a></li>
        </ul>
    </div>

    <ul class="collapse p-results-current-condition__panel show" id="searchPanel">
        <li class="p-results-current-condition__panel--li d-flex justify-content-between">
            <?php if(isset($condition['count_search'])): ?>
                <div class="">
                    
                    <?php for($i = 0; $i < $condition['count_search']; $i++): ?>
                        <p class="mt-2">
                            <?php if($condition['count_search'] > 1): ?>
                                <span class="p-results-current-condition__head mr-1 p-2"><?php echo e($i + 1); ?></span>
                            <?php endif; ?>
                            <?php $__currentLoopData = $condition; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $val): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <?php if(is_array($val)): ?>
                                    <?php if(isset($val[$i])): ?>
                                        <span class="p-results-current-condition__panel--title"><?php echo e($key); ?>：</span>
                                        <span class="border-right border-dark pr-2 mr-1"><?php echo e($val[$i]); ?></span>
                                    <?php endif; ?>
                                <?php endif; ?>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </p>
                    <?php endfor; ?>
                </div>
            <?php else: ?>
                <div class="d-flex">
    
                <?php $__currentLoopData = $condition; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $val): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <p><span class="p-results-current-condition__panel--title"><?php echo e($key); ?>：</span><?php echo e($val); ?></p>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>



            <?php endif; ?>
        </li>
    </ul>

</div>
