</div><!-- end #primary -->
<?php if ( !is_singular( 'cast' ) && cp5_Kirki::get_option( 'cp5_options', 'page_column' ) !== 'one-col' ) { ?>
<?php get_sidebar(); ?>
<?php } ?>
</div><!-- end #main-content -->

<button class="material-scrolltop ripple teal button" type="button" r-light><i class="fa fa-angle-up fa-2x"
        aria-hidden="true"></i></button><!-- material-scrolltop button -->
</div><!-- end #content-block -->

<footer id="footer">
    <!-- start #footer -->
    <?php if ( is_active_sidebar( 'footer-widget' ) ) : ?>
    <div id="footer-widget-col"
        class="row small-up-1 large-up-<?php echo cp5_Kirki::get_option( 'cp5_options', 'footer_widget_column' ); ?>">
        <?php dynamic_sidebar( 'footer-widget' ); ?>
    </div>
    <?php endif; ?>
    <div id="footer-copy" class="column row text-center"><?php
		echo 'Copyright ' . date( 'Y' ) . ' <a href="' . home_url( '/' ) . '">' . get_bloginfo( 'name' ) . '</a>.All rights reserved';
		?></div>
</footer><!-- end #footer -->

<div id="drawer-menu" class="drawer-nav" role="banner">
    <!-- start #drawer-menu -->
    <div id="drawer-wrap">
        <div id="drawer_logo">
            <a href="<?php echo home_url(); ?>">
                <?php
							$site_logo = cp5_Kirki::get_option( 'cp5_options', 'logo' );

							if ( $site_logo ) {
								echo sprintf( '<img src="%1$s" alt="%2$s">', $site_logo, get_bloginfo( 'name' ) );
							}
							?>
            </a>

        </div>
        <div id="drawer-info" class="text-center">
            <div class="shop-info name"><?php bloginfo( 'name' ); ?></div>
            <?php if ( cp5_Kirki::get_option( 'cp5_options', 'address' ) ) { ?>
            <div class="shop-info address"><?php echo cp5_Kirki::get_option( 'cp5_options', 'address' ); ?></div>
            <?php } ?>
            <?php if ( cp5_Kirki::get_option( 'cp5_options', 'open' ) ) { ?>
            <div class="shop-info open">
                <?php _e( 'OPEN&nbsp;/&nbsp;', 'cp5i9000' ); ?><?php echo cp5_Kirki::get_option( 'cp5_options', 'open' ); ?>
            </div>
            <?php } ?>
            <div class="shop-info shop-tel">
                <a href="tel:<?php echo cp5_Kirki::get_option( 'cp5_options', 'tel' ); ?>"
                    class="button small tel-button"><i class="fa fa-lg fa-phone"></i>
                    <?php _e( 'Call the shop', 'cp5i9000' ); ?></a>
            </div>
        </div>
        <nav id="global-drawer-navi" role="navigation">
            <?php
			wp_nav_menu( array(
				'theme_location' => 'drawer_navigation',
				'menu' => '',
				'container' => 'ul',
				'container_class' => 'column',
				'container_id' => '',
				'menu_class' => 'no-bullet text-left drawer-menu',
				'menu_id' => '',
				'echo' => true,
				'fallback_cb' => 'wp_page_menu',
				'before' => '',
				'after' => '',
				'link_before' => '<span class="menu-title">',
				'link_after' => '</span>',
				'items_wrap' => '<ul id="%1$s" class="%2$s">%3$s</ul>',
				'depth' => 0,
				'walker' => ''
			) );
			?>
        </nav>
    </div>
</div><!-- end #drawer-menu -->

<button type="button" class="hide-for-large drawer-toggle drawer-hamburger">
    <span class="sr-only">toggle navigation</span>
    <span class="drawer-hamburger-icon"></span>
</button>

<?php if ( (bool) cp5_Kirki::get_option( 'cp5_options', 'enter_display_setting' ) ) { ?>
<div id="enter" class="overlay overlay-scale">
    <!-- start #enter -->
    <div class="row columns">
        <div id="enter-image" class="text-center">
            <?php
				if ( cp5_Kirki::get_option( 'cp5_options', 'enter_image' ) ) {

					echo sprintf( '<img src="%1$s" alt="%2$s">', cp5_Kirki::get_option( 'cp5_options', 'enter_image' ), get_bloginfo( 'name' ) );
				}
				?>
        </div>
        <div id="enter-navi" class="row columns">
            <div id="enter-button" class="small-12 medium-6 columns text-center"><button type="button"
                    class="large button expanded overlay-close ripple teal"
                    r-light><?php _e( '18 years and over "entrance"', 'cp5i9000' ); ?></button></div>
            <div id="leave-button" class="small-12 medium-6 columns text-center"><a href="http://www.yahoo.co.jp/"
                    class="large expanded button ripple teal"
                    r-light><?php _e( 'Less than 18 years old "leaving"', 'cp5i9000' ); ?></a></div>
        </div>
        <div id="enter-section" class="text-center">
            <?php
				$enter_caption = cp5_Kirki::get_option( 'cp5_options', 'enter_caption' );
				echo nl2br( $enter_caption );
				?>
        </div>
        <?php if ( is_active_sidebar( 'enter-widget' ) ) : ?>
        <div id="enter-widget-wrap"
            class="row small-up-1 large-up-<?php echo cp5_Kirki::get_option( 'cp5_options', 'enter_widget_column' ); ?>">
            <?php dynamic_sidebar( 'enter-widget' ); ?>
        </div>
        <?php endif; ?>
    </div>
</div><!-- end #enter -->
<?php } ?>
<?php wp_footer(); ?>
</body>

</html>

指名ランキング