<?php
/**
 * フッターの出力
 *
 * @author     AnimaGate, Inc.
 * @link       https://support.animagate.com/product/wp-nishiki-pro/
 */

?>
				<?php do_action( 'nishiki_pro_after_inner_content' ); ?>
			</div>
			<?php do_action( 'nishiki_pro_after_content' ); ?>
			<?php do_action( 'nishiki_pro_before_site_footer' ); ?>
			<?php
			if ( has_nav_menu( 'footer' ) ) {
				$sticky = '';
				if ( get_theme_mod( 'setting_' . NISHIKI_PRO_PREFIX_FOOTER . '_nav_sticky', 'none' ) !== 'none' ) {
					$sticky = ' class="' . esc_html( get_theme_mod( 'setting_' . NISHIKI_PRO_PREFIX_FOOTER . '_nav_sticky' ) ) . '"';
				}
				$nav_args = array(
					'theme_location'  => 'footer',
					'container_class' => '',
					'container'       => '',
					'menu_id'         => '',
					'items_wrap'      => '<div id="footer-nav"' . $sticky . '><ul class="flex container text-center p-0">%3$s</ul></div>',
					'walker'          => new NISHIKI_PRO_WALKER_FOOTER_NAV(),
				);
				wp_nav_menu( $nav_args );
			}
			?>
			<?php nishiki_pro_get_template_part( 'parts/footer/content' ); ?>
			<?php do_action( 'nishiki_pro_after_site_footer' ); ?>
		</div>
		<?php wp_footer(); ?>
		<?php do_action( 'nishiki_pro_body_close' ); ?>
	</body>
</html>
