$(function() {
	    var num = 1;
	    $('#gallery_index li a')
	    //マウスオーバー画像を配置
	    .each(function(){
	        $(this).css('background', 'url(./img/detail_b_h.gif) no-repeat 10px 0px');
	        $(this).css('display', 'block');
	        num++;
	    })
	    .find('img').hover(
	        function(){
	            $(this).stop().animate({'opacity' : '0'}, 10);
	        },
	        function(){
	            $(this).stop().animate({'opacity' : '1'}, 500);
	        }
	    );
	});
	$(function() {
	    var num = 1;
	    $('a.mo')
	    //マウスオーバー画像を配置
	    .each(function(){
	        $(this).css('background', 'url(./img/detail0'+num+'_h.gif) no-repeat 0px 0px');
	        $(this).css('display', 'block');
	        num++;
	    })
	    .find('img').hover(
	        function(){
	            $(this).stop().animate({'opacity' : '0'}, 10);
	        },
	        function(){
	            $(this).stop().animate({'opacity' : '1'}, 500);
	        }
	    );
	});
	$(function() {
	    var num = 1;
	    $('a.con')
	    //マウスオーバー画像を配置
	    .each(function(){
	        $(this).css('background', 'url(./img/contactlink_h.jpg) no-repeat 0px 0px');
	        $(this).css('display', 'block');
	        num++;
	    })
	    .find('img').hover(
	        function(){
	            $(this).stop().animate({'opacity' : '0'}, 10);
				$(this).css('background', '#C4AF80 url(./img/contactlink_h.jpg) no-repeat 0px 0px');
	        },
	        function(){
	            $(this).stop().animate({'opacity' : '1'}, 500);
	        }
	    );
	});
	$(function() {
	    var num = 1;
	    $('a.fcon')
	    //マウスオーバー画像を配置
	    .each(function(){
	        $(this).css('background', 'url(./img/footercontact_h.png) no-repeat 0px 0px');
	        $(this).css('display', 'block');
	        num++;
	    })
	    .find('img').hover(
	        function(){
	            $(this).stop().animate({'opacity' : '0'}, 10);
				$(this).closest('div.right').css('background-color', '#C4AF80');
	        },
	        function(){
	            $(this).stop().animate({'opacity' : '1'}, 500);
				$(this).closest('div.right').css('background', 'none');
	        }
	    );
	});
	$(function() {
	    var num = 1;
	    $('#outline footer a')
	    //マウスオーバー画像を配置
	    .each(function(){
	        $(this).css('background', 'url(./img/link' +num+'_h.png) no-repeat 0px 0px');
	        $(this).css('display', 'block');
	        num++;
	    })
	    .find('img').hover(
	        function(){
	            $(this).stop().animate({'opacity' : '0'}, 10);
				$(this).closest('div.right').css('background-color', '#C4AF80');
	        },
	        function(){
	            $(this).stop().animate({'opacity' : '1'}, 500);
				$(this).closest('div.right').css('background', 'none');
	        }
	    );
	});
	$(function() {
	    var num = 1;
	    $('header hgroup h2 a')
	    //マウスオーバー画像を配置
	    .each(function(){
	        $(this).css('background', 'url(./img/h_inq_h.gif) no-repeat 0px 0px');
	        $(this).css('display', 'block');
	        $(this).css('width', '170px');
	        num++;
	    })
	    .find('img').hover(
	        function(){
	            $(this).stop().animate({'opacity' : '0.5'}, 10);
				$(this).closest('div.right').css('background-color', '#C4AF80');
	        },
	        function(){
	            $(this).stop().animate({'opacity' : '1'}, 500);
				$(this).closest('div.right').css('background', 'none');
	        }
	    );
	});
	$(function() {
	    var num = 1;
	    $('header nav a')
	    //マウスオーバー画像を配置
	    .each(function(){
	        $(this).css('background-color', '#C4AF80');
	        $(this).css('display', 'block');
	        $(this).css('width', '146px');
	        $(this).css('float', 'left');
	    })
	    .find('img').hover(
	        function(){
	            $(this).stop().animate({'opacity' : '0.5'}, 10);
				$(this).closest('div.right').css('background-color', '#C4AF80');
	        },
	        function(){
	            $(this).stop().animate({'opacity' : '1'}, 500);
				$(this).closest('div.right').css('background', 'none');
	        }
	    );
	});
	$(function() {
	    var num = 1;
	    $('p.toinq a')
	    //マウスオーバー画像を配置
	    .each(function(){
	        $(this).css('background', 'url(./img/inqh.jpg) no-repeat 0px 0px');
	        $(this).css('display', 'block');
	        $(this).css('width', '250px');
	    })
	    .find('img').hover(
	        function(){
	            $(this).stop().animate({'opacity' : '0.0'}, 10);
	        },
	        function(){
	            $(this).stop().animate({'opacity' : '1'}, 500);
	        }
	    );
	});
	$(function() {
	    var num = 1;
	    $('p.tosec a')
	    //マウスオーバー画像を配置
	    .each(function(){
	        $(this).css('background', 'url(./img/todatailh.jpg) no-repeat 0px 0px');
	        $(this).css('display', 'block');
	    })
	    .find('img').hover(
	        function(){
	            $(this).stop().animate({'opacity' : '0'}, 10);
				$(this).css('background-color', '#ffffff');
	        },
	        function(){
	            $(this).stop().animate({'opacity' : '1'}, 500);
				$(this).css('background-color', '#ffffff');
	        }
	    );
	});
