ebc99d458c6ee1bf98be02453798f8c503dc62530887415247152f750c5bb334

Source Code:

$(function(){
    $(window).on('load', function () {
        init();
    });
    
    function init() {
        var $items = $('.gnavi_item');
        var $menuInner = $('.gnavi_bottom-menu');
        $items.on('touchstart', function (e) {
            if ($(this).hasClass('jsHover')) {
                $(this).removeClass('jsHover');
            } else {
                $items.removeClass('jsHover');
                $(this).addClass('jsHover');
            }
            e.stopPropagation();
        });
        $menuInner.on('touchstart', function (e) {
            e.stopPropagation();
        });
        $('body').on('touchstart', function (e) {
            $items.removeClass('jsHover');
            $(':focus').blur();
        });
        $items.on('mouseenter', function (e) {
            $(this).addClass('jsHover');
        });
        $items.on('mouseleave', function (e) {
            $(this).removeClass('jsHover');
        });
    }
});