/*メニュー開閉及びポインター切り替え*/
$(function(){
	$("#com").toggle(function(){
		$("#com1,#com2,#com3,#com4,#com5,#com6").show("fast");
	},
	function(){
		$("#com1,#com2,#com3,#com4,#com5,#com6").slideUp("fast");
	})
})

$(function(){
	$("#com1,#com2,#com3,#com4,#com5,#com6").hover(function(){
		$(this).css("background-color","#FFFFDC");
	},function(){
		$(this).css("background-color","#E6E6E6");
	})
})


$(function(){
	$("#emb").toggle(function(){
		$("#emb1,#emb2,#emb3,#emb4,#emb5").show("fast");
	},
	function(){
		$("#emb1,#emb2,#emb3,#emb4,#emb5").slideUp("fast");
	})
})

$(function(){
	$("#emb1,#emb2,#emb3,#emb4,#emb5").hover(function(){
		$(this).css("background-color","#FFFFDC");
	},function(){
		$(this).css("background-color","#E6E6E6");
	})
})

$(function(){
	$("#abo").hover(function(){
		$(this).css("background-color","#FFFFDC");
	},function(){
		$(this).css("background-color","#FFFFFF");
	})
})

$(function(){
	$("#rec").hover(function(){
		$(this).css("background-color","#FFFFDC");
	},function(){
		$(this).css("background-color","#FFFFFF");
	})
})

$(function(){
	$("#con").hover(function(){
		$(this).css("background-color","#FFFFDC");
	},function(){
		$(this).css("background-color","#FFFFFF");
	})
})

$(document).ready(function() {
	$("#com,#emb").hover(function(){
		$(this).css("cursor","pointer"); 
	},function(){
		$(this).css("cursor","default"); 
		});
});

/*About Us内開閉及びポインター切り替え*/
var a = 0;
$(function(){
	$("#ideatop,#close").click(function(){
	　if(a == 0){
		$("#arrow").attr("src","img/arrow1.gif");
		$("#idea").show("slow");
		$("#ideatop").css("border-bottom","2px dotted #000000");
		$("#ideatop").css("color","#000000");
		a = 1;
		}else{
		$("#arrow").attr("src","img/arrow2.gif");
		$("#idea").hide("normal");
		$("#ideatop").css("border-bottom","2px dotted #888888");
		$("#ideatop").css("color","#555555");
		a = 0;		
		}
	})
})

$(function(){
  $("#ideatop,#close").hover(function(){
　　　$(this).css("cursor","pointer");
  },
  function(){
　　　$(this).css("cursor","default");
  })
})

var b = 0;
$(function(){
	$("#developtop,#close2").click(function(){
	　if(b == 0){
		$("#devarrow").attr("src","img/arrow5.gif");
		$("#develop").show("slow");
		$("#developtop").css("border-bottom","2px dotted #000000");
		$("#developtop").css("color","#000000");
		b = 1;
		}else{
		$("#devarrow").attr("src","img/arrow6.gif");
		$("#develop").hide("normal");
		$("#developtop").css("border-bottom","2px dotted #888888");
		$("#developtop").css("color","#555555");
		b = 0;		
		}
	})
})

$(function(){
  $("#developtop,#close2").hover(function(){
　　　$(this).css("cursor","pointer");
  },
  function(){
　　　$(this).css("cursor","default");
  })
})


var c = 0;
$(function(){
	$("#outlinetop,#close3").click(function(){
	　if(c == 0){
		$("#outarrow").attr("src","img/arrow7.gif");
		$("#outline").show("slow");
		$("#outlinetop").css("border-bottom","2px dotted #000000");
		$("#outlinetop").css("color","#000000");
		c = 1;
		}else{
		$("#outarrow").attr("src","img/arrow8.gif");
		$("#outline").hide("normal");
		$("#outlinetop").css("border-bottom","2px dotted #888888");
		$("#outlinetop").css("color","#555555");
		c = 0;		
		}
	})
})

$(function(){
  $("#outlinetop,#close3").hover(function(){
　　　$(this).css("cursor","pointer");
  },
  function(){
　　　$(this).css("cursor","default");
  })
})