$(function(){
	//スムーズスクロール（共通）
	$('.toTop a').click(function(){
	  $.scrollTo( $('#header'), {speed:700,axis:'y', queue:true} );
	  return false;
    });
	//スムーズスクロール（CSR）
	$('.anchorEmploy a').click(function(){
	  $.scrollTo( $('#employ'), {speed:700,axis:'y', queue:true} );
	  return false;
    });
	$('.anchorCommunity a').click(function(){
	  $.scrollTo( $('#community'), {speed:700,axis:'y', queue:true} );
	  return false;
    });
	//スムーズスクロール（お問い合わせ）
	$('.anchorWM a').click(function(){
	  $.scrollTo( $('#wm'), {speed:700,axis:'y', queue:true} );
	  return false;
    });
	$('.anchorIB a').click(function(){
	  $.scrollTo( $('#ib'), {speed:700,axis:'y', queue:true} );
	  return false;
    });
	$('.anchorGAM a').click(function(){
	  $.scrollTo( $('#gam'), {speed:700,axis:'y', queue:true} );
	  return false;
    });
	$('.anchorPR a').click(function(){
	  $.scrollTo( $('#pr'), {speed:700,axis:'y', queue:true} );
	  return false;
    });
	$('.anchorCareers a').click(function(){
	  $.scrollTo( $('#careers'), {speed:700,axis:'y', queue:true} );
	  return false;
    });
	$('.anchorAccess a').click(function(){
	  $.scrollTo( $('#access'), {speed:700,axis:'y', queue:true} );
	  return false;
    });
	//スムーズスクロール（ゴルフ）
	$('.anchorDonfan a').click(function(){
	  $.scrollTo( $('#donfan'), {speed:700,axis:'y', queue:true} );
	  return false;
    });
	$('.anchorHiratsuka a').click(function(){
	  $.scrollTo( $('#hiratsuka'), {speed:700,axis:'y', queue:true} );
	  return false;
    });
	$('.anchorHoshino a').click(function(){
	  $.scrollTo( $('#hoshino'), {speed:700,axis:'y', queue:true} );
	  return false;
    });
	$('.anchorIshikawa a').click(function(){
	  $.scrollTo( $('#ishikawa'), {speed:700,axis:'y', queue:true} );
	  return false;
    });
	$('.anchorIwata a').click(function(){
	  $.scrollTo( $('#iwata'), {speed:700,axis:'y', queue:true} );
	  return false;
    });
	$('.anchorJones a').click(function(){
	  $.scrollTo( $('#jones'), {speed:700,axis:'y', queue:true} );
	  return false;
    });
	$('.anchorKai a').click(function(){
	  $.scrollTo( $('#kai'), {speed:700,axis:'y', queue:true} );
	  return false;
    });
	$('.anchorKatayama a').click(function(){
	  $.scrollTo( $('#katayama'), {speed:700,axis:'y', queue:true} );
	  return false;
    });
	$('.anchorKondo a').click(function(){
	  $.scrollTo( $('#kondo'), {speed:700,axis:'y', queue:true} );
	  return false;
    });
	$('.anchorKubotani a').click(function(){
	  $.scrollTo( $('#kubotani'), {speed:700,axis:'y', queue:true} );
	  return false;
    });
	$('.anchorMarksen a').click(function(){
	  $.scrollTo( $('#marksen'), {speed:700,axis:'y', queue:true} );
	  return false;
    });
	$('.anchorMaruyama a').click(function(){
	  $.scrollTo( $('#maruyama'), {speed:700,axis:'y', queue:true} );
	  return false;
    });
	$('.anchorMiyamoto a').click(function(){
	  $.scrollTo( $('#miyamoto'), {speed:700,axis:'y', queue:true} );
	  return false;
    });
	$('.anchorMiyazato a').click(function(){
	  $.scrollTo( $('#miyazato'), {speed:700,axis:'y', queue:true} );
	  return false;
    });
	$('.anchorNakajima a').click(function(){
	  $.scrollTo( $('#nakajima'), {speed:700,axis:'y', queue:true} );
	  return false;
    });
	$('.anchorNakajimat a').click(function(){
	  $.scrollTo( $('#nakajimat'), {speed:700,axis:'y', queue:true} );
	  return false;
    });
	$('.anchorNogami a').click(function(){
	  $.scrollTo( $('#nogami'), {speed:700,axis:'y', queue:true} );
	  return false;
    });
	$('.anchorOzaki a').click(function(){
	  $.scrollTo( $('#ozaki'), {speed:700,axis:'y', queue:true} );
	  return false;
    });
	$('.anchorSKHo a').click(function(){
	  $.scrollTo( $('#skho'), {speed:700,axis:'y', queue:true} );
	  return false;
    });
	$('.anchorTakemoto a').click(function(){
	  $.scrollTo( $('#takemoto'), {speed:700,axis:'y', queue:true} );
	  return false;
    });
	$('.anchorTanihara a').click(function(){
	  $.scrollTo( $('#tanihara'), {speed:700,axis:'y', queue:true} );
	  return false;
    });
	$('.anchorTejima a').click(function(){
	  $.scrollTo( $('#tejima'), {speed:700,axis:'y', queue:true} );
	  return false;
    });
	$('.anchorYokota a').click(function(){
	  $.scrollTo( $('#yokota'), {speed:700,axis:'y', queue:true} );
	  return false;
    });
	//スムーズスクロール（採用）
	$('.faq1 a').click(function(){
	  $.scrollTo( $('#faq1'), {speed:700,axis:'y', queue:true} );
	  return false;
    });
	$('.faq2 a').click(function(){
	  $.scrollTo( $('#faq2'), {speed:700,axis:'y', queue:true} );
	  return false;
    });
	$('.faq3 a').click(function(){
	  $.scrollTo( $('#faq3'), {speed:700,axis:'y', queue:true} );
	  return false;
    });
	$('.faq4 a').click(function(){
	  $.scrollTo( $('#faq4'), {speed:700,axis:'y', queue:true} );
	  return false;
    });
	$('.faq5 a').click(function(){
	  $.scrollTo( $('#faq5'), {speed:700,axis:'y', queue:true} );
	  return false;
    });
	//ボックス展開
	$('.answerBlock').hide();
	$('.answerOpen a').click(function(){
		$('.answerBlock').show();
		$('.answerOpen').remove();
		return false;
	});
});
