//div要素をrolloverさせるスクリプト

$(function() {
		   
    $(".menu").hover(function() {
        //$(this).css('border', 'solid');
        //$(this).css('border-width', 'thin');
		$(this).css('cursor', 'pointer');
        $(this).css('border-color', '#007197');
		$(this).css('background-color', '#f3f3f3');
    },function() {
        $(this).css('border-color', '#ffffff');
		$(this).css('background-color', '#ffffff');
    });
    $(".youso").hover(function() {
        $(this).css('cursor', 'pointer');
    });
	$(".devidced").hover(function() {
		$(this).css('cursor', 'pointer');
        $(this).css('border-color', '#007197');
		$(this).css('background-color', '#f3f3f3');
    },function() {
        $(this).css('border-color', '#ffffff');
		$(this).css('background-color', '#ffffff');
    });
	$(".devidced-r").hover(function() {
		$(this).css('cursor', 'pointer');
        $(this).css('border-color', '#007197');
		$(this).css('background-color', '#f3f3f3');
    },function() {
        $(this).css('border-color', '#ffffff');
		$(this).css('background-color', '#ffffff');
    });
		$(".area_l").hover(function() {
		$(this).css('cursor', 'pointer');
        $(this).css('border-color', '#007197');
		$(this).css('background-color', '#f3f3f3');
    },function() {
        $(this).css('border-color', '#ffffff');
		$(this).css('background-color', '#ffffff');
    });
		$(".area_last").hover(function() {
		$(this).css('cursor', 'pointer');
        $(this).css('border-color', '#007197');
		$(this).css('background-color', '#f3f3f3');
    },function() {
        $(this).css('border-color', '#ffffff');
		$(this).css('background-color', '#ffffff');
    });
    
    // 右クリック抑止のスクリプト
    $(document).bind('contextmenu', function () {
        return false;
    });
    
    $(".menu").click(function() {
        window.location = $(this).find('a').attr('href');
    });
	$(".devidced").click(function() {
        window.location = $(this).find('a').attr('href');
    });
	$(".devidced-r").click(function() {
        window.location = $(this).find('a').attr('href');
    });
	$(".area_l").click(function() {
        window.location = $(this).find('a').attr('href');
    });
	$(".area_last").click(function() {
        window.location = $(this).find('a').attr('href');
    });
});	
