<?php $locale = get_locale(); ?>
<?php if ('en_US' !== $locale) : ?>
  <!-- パンくずリスト -->
  <?php if (strstr($_SERVER['REQUEST_URI'], 'temp-lp') || is_page('bsn')) : ?>
  <?php else : ?>
    <div class="footer-breadcrumbs">
      <?php if (is_page('request/thanks')) : ?>
        <div class="breadcrumbs" typeof="BreadcrumbList" vocab="https://schema.org/">
          <!-- Breadcrumb NavXT 6.6.0 -->
          <span property="itemListElement" typeof="ListItem"><a property="item" typeof="WebPage" title="Go to BitStar Agent." href="/" class="home"><span property="name">HOME</span></a>
            <meta property="position" content="1">
          </span>・<span property="itemListElement" typeof="ListItem"><a property="item" typeof="WebPage" title="Go to Request." href="/request" class="post post-page"><span property="name">Request</span></a>
            <meta property="position">
          </span>・<span>Thanks</span>
        </div>
    </div>
  <?php elseif (is_singular('request')) : ?>
    <div class="breadcrumbs" typeof="BreadcrumbList" vocab="https://schema.org/">
      <!-- Breadcrumb NavXT 6.6.0 -->
      <span property="itemListElement" typeof="ListItem"><a property="item" typeof="WebPage" title="Go to BitStar Agent." href="/" class="home"><span property="name">HOME</span></a>
        <meta property="position" content="1">
      </span>・<span property="itemListElement" typeof="ListItem"><a property="item" typeof="WebPage" title="Go to Request." href="/request" class="post post-page"><span property="name">Request</span></a>
        <meta property="position">
      </span>・<span>Download</span>
    </div>
  <?php elseif (is_singular('works')) : ?>
    <div class="breadcrumbs" typeof="BreadcrumbList" vocab="https://schema.org/">
      <!-- Breadcrumb NavXT 6.6.0 -->
      <span property="itemListElement" typeof="ListItem"><a property="item" typeof="WebPage" title="Go to BitStar Agent." href="/" class="home"><span property="name">HOME</span></a>
        <meta property="position" content="1">
      </span>・<span property="itemListElement" typeof="ListItem"><a property="item" typeof="WebPage" title="Go to Works." href="/works" class="post post-page"><span property="name">Works</span></a>
        <meta property="position">
        ・<span><?php
              if (mb_strlen($post->post_title) > 20) {
                $title = mb_substr($post->post_title, 0, 20);
                echo $title . '…';
              } else {
                echo $post->post_title;
              }
              ?></span>
    </div>
  <?php elseif (is_post_type_archive('request')) : ?>
    <div class="breadcrumbs" typeof="BreadcrumbList" vocab="https://schema.org/">
      <!-- Breadcrumb NavXT 6.6.0 -->
      <span property="itemListElement" typeof="ListItem"><a property="item" typeof="WebPage" title="Go to BitStar Agent." href="/" class="home"><span property="name">HOME</span></a>
        <meta property="position" content="1">
      </span>・<span property="itemListElement" typeof="ListItem"><span property="name">Request</span>
    </div>
  <?php elseif (is_post_type_archive('voice')) : ?>
    <div class="breadcrumbs" typeof="BreadcrumbList" vocab="https://schema.org/">
      <!-- Breadcrumb NavXT 6.6.0 -->
      <span property="itemListElement" typeof="ListItem"><a property="item" typeof="WebPage" title="Go to BitStar Agent." href="/" class="home"><span property="name">HOME</span></a>
        <meta property="position" content="1">
      </span>
      <meta property="position">
      </span>・<span><a href="/voice">Voice</a></span>
    </div>
  <?php elseif (is_singular('voice')) : ?>
    <div class="breadcrumbs" typeof="BreadcrumbList" vocab="https://schema.org/">
      <!-- Breadcrumb NavXT 6.6.0 -->
      <span property="itemListElement" typeof="ListItem"><a property="item" typeof="WebPage" title="Go to BitStar Agent." href="/" class="home"><span property="name">HOME</span></a>
        <meta property="position" content="1">
      </span>
      <meta property="position">
      </span>・<span><a href="/voice">Voice</a></span>
      <meta property="position">
      ・<span><?php
              if (mb_strlen($post->post_title) > 20) {
                $title = mb_substr($post->post_title, 0, 20);
                echo $title . '…';
              } else {
                echo $post->post_title;
              }
              ?></span>
    </div>
  <?php else : ?>
    <div class="breadcrumbs" typeof="BreadcrumbList" vocab="https://schema.org/">
      <?php if (function_exists('bcn_display')) {
          bcn_display();
        } ?>
    </div>
  <?php endif; ?>
  </div>
<?php endif; ?>
<?php endif; ?>

<div class="footer-wrap">

  <?php if (is_page('bsn')) : ?>
  <?php else : ?>

    <!-- お問い合わせリンク -->
    <div class="contact-link">
      <div class="contact-link-inner">

        <?php if ('en_US' == $locale) : ?>
          <div class="d-none d-md-flex justify-content-between mb-2 mb-md-5">
            <div class="contact-link-btn">
              <a href="/en/creator-en/contact/">
                <p class="sub en">Contact for</p>
                <h3 class="en">Creator</h3>
                <p>Please feel free to get in touch with us.</p>
              </a>
            </div>
            <div class="contact-link-btn">
              <a href="/en/biz-en/contact/">
                <p class="sub en">Contact for</p>
                <h3 class="en">Business</h3>
                <p>Please feel free to get in touch with us.</p>
              </a>
            </div>
          </div>

          <div class="d-md-none mb-2 mb-md-5">
            <div class="contact-link-btn">
              <a href="/en/biz-en/contact/">
                <h3 class="en">Contact</h3>
                <p>Please feel free to get in touch with us.</p>
              </a>
            </div>
          </div>

        <?php else : ?>

          <div class="d-none d-md-flex justify-content-between mb-2 mb-md-5">
            <div class="contact-link-btn">
              <a href="/creator/contact">
                <p class="sub en">Contact for</p>
                <h3 class="en">Creator</h3>
                <p>お気軽にお問い合わせください</p>
              </a>
            </div>
            <div class="contact-link-btn">
              <a href="/contact">
                <p class="sub en">Contact for</p>
                <h3 class="en">Business</h3>
                <p>お気軽にお問い合わせください</p>
              </a>
            </div>
          </div>

          <div class="d-md-none mb-2 mb-md-5">
            <div class="contact-link-btn">
              <a href="/contact">
                <h3 class="en">Contact</h3>
                <p>お気軽にお問い合わせください</p>
              </a>
            </div>
            <div class="contact-link-btn">
              <a href="/request">
                <h3 class="en">Request</h3>
                <p>資料請求はこちらから</p>
              </a>
            </div>
          </div>

        <?php endif; ?>

        <div class="d-flex align-items-center justify-content-center justify-content-md-between">
          <p class="d-none d-md-block mb-2">
            <?php if ('en_US' == $locale) : ?>
              <span style="font-size: small;">Enhancing people's raw, rough-hewn talent and enhancing the power of their content.</span><br>Polishing you into a shining success.
            <?php else : ?>
              <span style="font-size: small;">人という原石を。コンテンツのパワーを。</span><br>その輝きを、加速させる。
            <?php endif; ?>
          </p>
          <ul class="d-flex align-items-center">
            <li><a href="https://twitter.com/bitstar_tokyo" target="_blank"><svg xmlns="http://www.w3.org/2000/svg" width="30" height="28" viewBox="0 0 24 24">
                  <path d="M24 4.557c-.883.392-1.832.656-2.828.775 1.017-.609 1.798-1.574 2.165-2.724-.951.564-2.005.974-3.127 1.195-.897-.957-2.178-1.555-3.594-1.555-3.179 0-5.515 2.966-4.797 6.045-4.091-.205-7.719-2.165-10.148-5.144-1.29 2.213-.669 5.108 1.523 6.574-.806-.026-1.566-.247-2.229-.616-.054 2.281 1.581 4.415 3.949 4.89-.693.188-1.452.232-2.224.084.626 1.956 2.444 3.379 4.6 3.419-2.07 1.623-4.678 2.348-7.29 2.04 2.179 1.397 4.768 2.212 7.548 2.212 9.142 0 14.307-7.721 13.995-14.646.962-.695 1.797-1.562 2.457-2.549z" />
                </svg></a></li>
            <li class="mx-4 px-1 px-md-3"><a href="https://www.facebook.com/BitStar.Inc" target="_blank"><svg xmlns="http://www.w3.org/2000/svg" width="28" height="24" viewBox="0 0 24 24">
                  <path d="M9 8h-3v4h3v12h5v-12h3.642l.358-4h-4v-1.667c0-.955.192-1.333 1.115-1.333h2.885v-5h-3.808c-3.596 0-5.192 1.583-5.192 4.615v3.385z" />
                </svg></a></li>
            <li><a href="https://www.youtube.com/channel/UCtb5Mtc8-bKH9mcnCD7wMkA" target="_blank"><svg xmlns="http://www.w3.org/2000/svg" width="30" height="28" viewBox="0 0 24 24">
                  <path d="M19.615 3.184c-3.604-.246-11.631-.245-15.23 0-3.897.266-4.356 2.62-4.385 8.816.029 6.185.484 8.549 4.385 8.816 3.6.245 11.626.246 15.23 0 3.897-.266 4.356-2.62 4.385-8.816-.029-6.185-.484-8.549-4.385-8.816zm-10.615 12.816v-8l8 3.993-8 4.007z" />
                </svg></a></li>
          </ul>
        </div>

      </div>
    </div>

    <!-- 資料請求 -->
    <?php if ('en_US' !== $locale) : ?>
      <div class="request d-none d-md-block">
        <div class="request-inner">
          <div class="d-flex">
            <div class="request-title-unit">
              <p class="sub en">Download</p>
              <h3>資料請求</h3>
            </div>
            <div class="request-text">
              <p class="mb-3">サービスなどをもっと詳しく知りたい方は、<br>各種サービスの資料をダウンロードできます。</p>
              <a class="request-btn" href="/request">資料のダウンロード&nbsp;&nbsp;<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24">
                  <path d="M5 3l3.057-3 11.943 12-11.943 12-3.057-3 9-9z" />
                </svg></a>
              <picture>
                <source data-srcset="<?= App\asset_path('images/request-image.webp'); ?>" type="image/webp">
                <img width="296" height="216" class="lazyload" data-src="<?= App\asset_path('images/request-image.png'); ?>">
              </picture>
            </div>
          </div>
        </div>
      </div>
    <?php endif; ?>

  <?php endif; ?>
  <!-- footer -->
  <footer id="footer" class="content-info">
    <div class="footer-menu d-none d-md-block">
      <?php echo $__env->make('partials.footer-list', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
    </div>

    <div class="footer-copy d-none d-md-block">
      <div class="d-flex justify-content-between align-items-center">
        <div class="footer-copy__item">
          <?php if ('en_US' == $locale) : ?>
            <a href="<?php echo e(home_url('/')); ?>">Japanese</a> / <a href="<?php echo e(home_url('/cn/')); ?>">Chinese</a>
          <?php else : ?>
            <a href="<?php echo e(home_url('/en/')); ?>">English</a> / <a href="<?php echo e(home_url('/cn/')); ?>">Chinese</a>
          <?php endif; ?>
        </div>

        <div class="footer-copy__item text-center">
          <a href="https://bitstar.tokyo/corp/privacy" class="hover">Privacy Policy</a>
        </div>
        <ul class="footer-copy__item d-none d-md-flex align-items-center justify-content-end">
          <li><a href="https://twitter.com/bitstar_tokyo" target="_blank"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24">
                <path d="M24 4.557c-.883.392-1.832.656-2.828.775 1.017-.609 1.798-1.574 2.165-2.724-.951.564-2.005.974-3.127 1.195-.897-.957-2.178-1.555-3.594-1.555-3.179 0-5.515 2.966-4.797 6.045-4.091-.205-7.719-2.165-10.148-5.144-1.29 2.213-.669 5.108 1.523 6.574-.806-.026-1.566-.247-2.229-.616-.054 2.281 1.581 4.415 3.949 4.89-.693.188-1.452.232-2.224.084.626 1.956 2.444 3.379 4.6 3.419-2.07 1.623-4.678 2.348-7.29 2.04 2.179 1.397 4.768 2.212 7.548 2.212 9.142 0 14.307-7.721 13.995-14.646.962-.695 1.797-1.562 2.457-2.549z" />
              </svg></a></li>
          <li class="mx-3"><a href="https://www.facebook.com/BitStar.Inc" target="_blank"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24">
                <path d="M9 8h-3v4h3v12h5v-12h3.642l.358-4h-4v-1.667c0-.955.192-1.333 1.115-1.333h2.885v-5h-3.808c-3.596 0-5.192 1.583-5.192 4.615v3.385z" />
              </svg></a></li>
          <li><a href="https://www.youtube.com/channel/UCtb5Mtc8-bKH9mcnCD7wMkA" target="_blank"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24">
                <path d="M19.615 3.184c-3.604-.246-11.631-.245-15.23 0-3.897.266-4.356 2.62-4.385 8.816.029 6.185.484 8.549 4.385 8.816 3.6.245 11.626.246 15.23 0 3.897-.266 4.356-2.62 4.385-8.816-.029-6.185-.484-8.549-4.385-8.816zm-10.615 12.816v-8l8 3.993-8 4.007z" />
              </svg></a></li>
        </ul>
      </div>

      <small>©︎ BitStar, Inc.</small>
    </div>

    <div class="footer-menu d-md-none">
      <a class="brand" href="<?php if ('en_US' == $locale) {
                                echo '/en/';
                              } else {
                                echo '/';
                              } ?>"><svg width="69.473" height="77.777">
          <use xlink:href="#logo-agent"></use>
        </svg></a>

      <div class="sp-menu my-5">
        <ul class="en">
          <li class="mb-4"><a href="<?php if ('en_US' == $locale) {
                                      echo '/en/';
                                    } else {
                                      echo '/';
                                    } ?>">Home</a></li>
          <li class="mb-4"><a href="<?php if ('en_US' == $locale) {
                                      echo '/en/creator-en/';
                                    } else {
                                      echo '/creators/';
                                    } ?>">For Creator</a></li>
          <?php if ('en_US' == $locale) {
            echo '<li class="mb-4"><a href="/en/biz-en/">For Business</a></li>';
          } ?>
          <?php if ('en_US' !== $locale) : ?><li><a href="/works/">Works</a></li><?php endif; ?>
        </ul>
      </div>
      <div class="mt-auto sp-menu-footer pt-5 mt-5">
        <ul class="en">
          <li class="mb-4">- <a href="https://bitstar.tokyo/corp/" target="_blank">Company</a></li>
          <li class="mb-4">- <a href="https://bitstar.tokyo/studio/" target="_blank">BitStar Studio</a></li>
        </ul>
        <div class="en d-flex justify-content-between align-items-center">
          <small>©︎ BitStar, Inc.</small>
          <p><a href="https://bitstar.tokyo/corp/privacy/">Privacy Policy</a></p>
        </div>
      </div>
    </div>

  </footer>

</div>
