<html <?php echo get_language_attributes(); ?>>
  <?php echo $__env->make('partials.head', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
  <body <?php body_class() ?>><?php wp_body_open(); ?>

    <div class="header-wrap">
      <?php do_action('get_header') ?>
      <?php echo $__env->make('partials.header', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
    </div>
  <div class="breadcrumb-wrap">
    <ol class="breadcrumb font-small" itemscope itemtype="https://schema.org/BreadcrumbList">
      <li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
        <a class="home" itemprop="item" href="<?php echo e(home_url('/')); ?>">
          <span itemprop="name">HOME</span>
        </a>
        <meta itemprop="position" content="1">
      </li>
      <li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
          <span itemprop="name">準備中のページ</span>
        <meta itemprop="position" content="2">
      </li>
    </ol>
  </div>


    <div class="wrapper bg-white">
      <div class="container pb-5">
        <div class="page-title-unit">
          <h1>このコンテンツは只今準備中です。</h1>
          <p class="mt-3">申し訳ございません。お探しのコンテンツは準備中です。</p>
        </div>

        <?php $__env->startSection('content'); ?>
          <?php if(!have_posts()): ?>
          <div class="text-center">
            <p>お探しのページは</p>
            <ul>
                <li>すでに削除されている・公開期間が終わっている</li>
                <li>アクセスしたアドレスが異なっている</li>
            </ul>
            <p>などの理由で見つかりませんでした。</p><br><br>
            <p><a href="<?php echo e(home_url('/')); ?>">トップページ</a>に戻る</p>
            </div>
          <?php endif; ?>
      </div>
    </div>


    <div class="back-to-top-wrap d-sm-none">
      <a class="back-to-top" href="#">BACK TO TOP <img src="<?= App\asset_path('images/back-to-top-btn.svg'); ?>"></a>
    </div>
    <div class="wrapper bg-gray">
      <div class="container">
        <!-- RECOMMEND VIDEO -->
        <div class="recommend-video">
          <div class="title-unit2" data-aos="fade-up">
            <h2>RECOMMEND VIDEO</h2>
            <p>おすすめ動画</p>
          </div>
          <ul class="video-list2">
            <?php $args = array(
              'posts_per_page'   => 3, //5件表示する
              'meta_key' => 'recommend', //カスタムフィールドのキー
              'meta_value' => 1, //カスタムフィールドの値
              );
              $my_query = new WP_Query($args);
            if ($my_query->have_posts()) : while ($my_query->have_posts()) : $my_query->the_post();
            ?>

            <li data-aos="fade-up">
              <div class="img-wrap">
                <div class="thumb-wrap">
                  <a href="<?php echo e(get_permalink()); ?>">
                    <img src="https://i.ytimg.com/vi/<?php $txt = get_field('youtubeid'); if($txt){?><?php echo $txt; }?>/maxresdefault.jpg" class="img-responsive">
                    <svg class="play-btn" x="0" y="0" width="36px" height="36px" viewBox="0 0 36 36">
                      <use class="play-btn-style" fill="#fff" x="0px" y="0" width="36px" height="36px" xlink:href="#play-btn"></use>
                    </svg>
                  </a>
                </div>
              </div>
              <div class="text-wrap">
                <div class="info">
                  <p class="cat"><?php the_category(' '); ?></p>
                  <time class="date"><?php echo e(get_the_date()); ?></time>
                </div>
                <a href="<?php echo e(get_permalink()); ?>">
                  <h2 class="title"><?php the_title(); ?></a></h2>
                  <p class="client"><?php $txt = get_field('企業名'); if($txt){?><?php echo $txt; }?></p>
                </a>
              </div>
            </li>
            <!-- <?php endwhile; endif; wp_reset_postdata(); ?> -->
          </ul>
          <!-- <a class="btn-more mx-auto mx-sm-0" href="#">View More</a> -->
        </div>
      </div><!-- container -->
    </div><!-- wrapper -->
    <?php do_action('get_footer') ?>
    <?php echo $__env->make('partials.footer', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
    <?php wp_footer() ?>
  </body>
</html>
