	$(document).ready(function() {
		$('.home,.about,.access,.link,.blog,.item,.map01,.map02,.map03,.map04,.map05,.map06,.map07,.map08,.map09,.map10,.map11').append('<span class="hover"></span>').each(function () {
	  		var $span = $('> span.hover', this).css('opacity', 0);
	  		$(this).hover(function () {
	    		$span.stop().fadeTo(100, 1);
	 		}, function () {
	   	$span.stop().fadeTo(1500, 0);
	  		});
		});
	});

// ページトップへ

	$(function(){
	$("#toTop a").click(function(){
	$('html,body').animate({ scrollTop: $($(this).attr("href")).offset().top }, 'slow','swing');
	return false;
	})
	});



// レイジーロード

	$(function() {
		$("article img").lazyload({effect : "fadeIn"});
	});



// 画像置換

// 	$(function(){
//	$('a img').hover(
//	function(){
//	$(this).attr('src', $(this).attr('src').replace('_off', '_on'));
//	},
//	function(){
//	if (!$(this).hasClass('currentPage')) {
//	$(this).attr('src', $(this).attr('src').replace('_on', '_off'));
//	}
//	});
//	});



// colorbox

	$(document).ready(function(){
	$("a[rel='colorbox']").colorbox({transition:"fade"})
	});



	$(window).load(function() {
	$('#head-photo').orbit({
	'bullets': false,
	'timer' : true,
	'captions': false,
	'animationSpeed': 1000,
	'animation' : 'fade'
	});
	});



// 画像置換（）

	$(function(){
	$("img.sample01").hover(
	function() {
	$(this).stop().animate({"opacity": "0"}, "slow");
	},
	function() {
	$(this).stop().animate({"opacity": "1"}, "slow");
	});
	});
