
    <!-- ▼　新着情報　▼ -->
    <section id="main-news" class="jumbotron">
      <div class="container">
        <div class="row">
          <h2 class="col-12 text-center">新着情報</h2>
          <div class="col-12 col-md-10 offset-0 offset-md-1">
            <table class="table">
              <tbody>
              @foreach($news as $item)
              <form method="post" name="news{{ $loop->index }}" action="{{ route('news', ['management_code' => request()->route('management_code')]) }}" target="_blank">
                <input type="hidden" name="date" value="{{ $item->open_datetime->format('Y-m-d') }}">
                <input type="hidden" name="news" value="{{ $item->news }}">
                <tr>
                  <td>{{ $item->open_datetime->format('Y-m-d') }}</td>
                  <td><span class="small alert alert-success">NEWS</span></td>
                  <td><a href="javascript:news{{ $loop->index }}.submit()">{{ str($item->news)->before("\n") }}</a></td>
                </tr>
                @csrf
              </form>
              @endforeach
              </tbody>
            </table>
          </div>
        </div>
      </div>
    </section>
    <!-- ▲　新着情報　▲ -->