<!--
function check_contact() {

//名前
   if (document.Form_contact.c_name.value == "") {
      alert("\nお名前を入力してください。\n");
      document.Form_contact.c_name.style.backgroundColor='#f5f5f5';
      document.Form_contact.c_name.focus()
      return false;
   } else {
   	  document.Form_contact.c_name.style.backgroundColor='#f5f5f5';
   }


//メールアドレス（未入力）
   if (document.Form_contact.c_mail.value == "") {
      alert("\nメールアドレスを入力してください。\n");
      document.Form_contact.c_mail.style.backgroundColor='#f5f5f5';
      document.Form_contact.c_mail.focus()
      return false;
   } else {
   	  document.Form_contact.c_mail.style.backgroundColor='#f5f5f5';
   }



//メールアドレス（誤入力）
   if (!document.Form_contact.c_mail.value.match(/.+@.+\..+/)) {
      alert("メールアドレスを正しく入力してください。\n半角英数字のみで正しく入力してください。\n");
      document.Form_contact.c_mail.style.backgroundColor='#f5f5f5';
      document.Form_contact.c_mail.focus()
      return false;
   } else {
   	   document.Form_contact.c_mail.style.backgroundColor='#f5f5f5';
   }



//項目
   if (document.Form_contact.c_koumoku.options[document.Form_contact.c_koumoku.selectedIndex].value == "") {
      alert("\n【項目】を\n選択してください。\n");
      document.Form_contact.c_koumoku.style.backgroundColor='#f5f5f5';
      document.Form_contact.c_koumoku.focus()
      return false;
   } else {
   	  document.Form_contact.c_koumoku.style.backgroundColor='#f5f5f5';
   }




//予約の場合
   if (document.Form_contact.c_koumoku.options[document.Form_contact.c_koumoku.selectedIndex].value == "ご予約") {


//電話番号（未入力）
   if (document.Form_contact.c_tel.value == "") {
      alert("【電話番号】を\n入力してください。\n");
      document.Form_contact.c_tel.style.backgroundColor='#f5f5f5';
      document.Form_contact.c_tel.focus()
      return false;
   } else {
   	   document.Form_contact.c_tel.style.backgroundColor='#f5f5f5';
   }

//電話番号（誤入力）
   if (document.Form_contact.c_tel.value.match(/[^0-9]+/)) {
      alert("【電話番号】を\n正しく入力してください。\nハイフン(-)を除いた半角数字のみで\n入力してください。\n");
      document.Form_contact.c_tel.style.backgroundColor='#f5f5f5';
      document.Form_contact.c_tel.focus()
      return false;
   } else {
   	   document.Form_contact.c_tel.style.backgroundColor='#f5f5f5';
   }



//第１希望
   if (document.Form_contact.c_celeb1.options[document.Form_contact.c_celeb1.selectedIndex].value == "") {
      alert("\n【第１希望のセレブ】を\n選択してください。\n");
      document.Form_contact.c_celeb1.style.backgroundColor='#f5f5f5';
      document.Form_contact.c_celeb1.focus()
      return false;
   } else {
   	  document.Form_contact.c_celeb1.style.backgroundColor='#f5f5f5';
   }


//ご予定のコース・タイプ(2)
	var result_c_course1 = "";
	for (i=0; i<2; i++){
		if (document.Form_contact.c_course1[i].checked){
			result_c_course1 = document.Form_contact.c_course1[i].value;
		}
	}

	if (result_c_course1 == "") {
		alert("\n【ご予定のコース・タイプ】\nを選択してください。\n");
		document.Form_contact.elements[9].focus()
		return false;
	}

//ご予定のコース・時間(9)
	var result_c_course2 = "";
	for (i=0; i<9; i++){
		if (document.Form_contact.c_course2[i].checked){
			result_c_course2 = document.Form_contact.c_course2[i].value;
		}
	}

	if (result_c_course2 == "") {
		alert("\n【ご予定のコース・時間】\nを選択してください。\n");
		document.Form_contact.c_course2[11].focus()
		return false;
	}



//ご希望の日時・月
   if (document.Form_contact.c_month.options[document.Form_contact.c_month.selectedIndex].value == "") {
      alert("\n【ご希望の日時・月】を\n選択してください。\n");
      document.Form_contact.c_month.style.backgroundColor='#f5f5f5';
      document.Form_contact.c_month.focus()
      return false;
   } else {
   	  document.Form_contact.c_month.style.backgroundColor='#f5f5f5';
   }


//ご希望の日時・日
   if (document.Form_contact.c_date.options[document.Form_contact.c_date.selectedIndex].value == "") {
      alert("\n【ご希望の日時・日】を\n選択してください。\n");
      document.Form_contact.c_date.style.backgroundColor='#f5f5f5';
      document.Form_contact.c_date.focus()
      return false;
   } else {
   	  document.Form_contact.c_date.style.backgroundColor='#f5f5f5';
   }


//ご希望の日時・時
   if (document.Form_contact.c_time.options[document.Form_contact.c_time.selectedIndex].value == "") {
      alert("\n【ご希望の日時・時】を\n選択してください。\n");
      document.Form_contact.c_time.style.backgroundColor='#f5f5f5';
      document.Form_contact.c_time.focus()
      return false;
   } else {
   	  document.Form_contact.c_time.style.backgroundColor='#f5f5f5';
   }

//ご案内場所
   if (document.Form_contact.c_area.value == "") {
      alert("【ご案内場所】を\n入力してください。\n");
      document.Form_contact.c_area.style.backgroundColor='#f5f5f5';
      document.Form_contact.c_area.focus()
      return false;
   } else {
   	   document.Form_contact.c_area.style.backgroundColor='#f5f5f5';
   }


}
//ここまで予約の場合



//お問い合せの場合
   if (document.Form_contact.c_koumoku.options[document.Form_contact.c_koumoku.selectedIndex].value == "お問い合せ") {

//コメント
   if (document.Form_contact.c_message.value == "") {
      alert("\nお問い合せの内容を入力してください。\n");
      document.Form_contact.c_message.style.backgroundColor='#f5f5f5';
      document.Form_contact.c_message.focus()
      return false;
   } else {
   	  document.Form_contact.c_message.style.backgroundColor='#f5f5f5';
   }

   }



//求人お問い合せの場合
   if (document.Form_contact.c_koumoku.options[document.Form_contact.c_koumoku.selectedIndex].value == "求人お問い合せ") {

//コメント
   if (document.Form_contact.c_message.value == "") {
      alert("\n求人お問い合せの内容を入力してください。\n");
      document.Form_contact.c_message.style.backgroundColor='#f5f5f5';
      document.Form_contact.c_message.focus()
      return false;
   } else {
   	  document.Form_contact.c_message.style.backgroundColor='#f5f5f5';
   }

   }




//相互リンクの場合
   if (document.Form_contact.c_koumoku.options[document.Form_contact.c_koumoku.selectedIndex].value == "相互リンク") {

//コメント
   if (document.Form_contact.c_message.value == "") {
      alert("\n相互リンクの内容を入力してください。\n");
      document.Form_contact.c_message.style.backgroundColor='#f5f5f5';
      document.Form_contact.c_message.focus()
      return false;
   } else {
   	  document.Form_contact.c_message.style.backgroundColor='#f5f5f5';
   }

   }



//その他の場合
   if (document.Form_contact.c_koumoku.options[document.Form_contact.c_koumoku.selectedIndex].value == "その他") {

//コメント
   if (document.Form_contact.c_message.value == "") {
      alert("\nその他の内容を入力してください。\n");
      document.Form_contact.c_message.style.backgroundColor='#f5f5f5';
      document.Form_contact.c_message.focus()
      return false;
   } else {
   	  document.Form_contact.c_message.style.backgroundColor='#f5f5f5';
   }

   }





//-------------------------------------------------------------------------------------------------------
//送信確認
	if(window.confirm('送信してよろしいですか？')){
		return true;
	} else {
		window.alert('送信をキャンセルしました。');
		return false;
	} 

}
//-->
