@charset "UTF-8";

#contact-header {background-image: url(../img/contact-header.jpg);}

#contact{position: relative;padding: 80px 0 40px;}
#contact-flow{overflow: hidden;margin-bottom: 30px;}
.formtxt{margin-bottom: 30px;}
.page-tel{padding-top: 40px;}
.page-tel-in{
	width: 90%;
	margin: 0 auto 30px;
	text-align: center;
	padding: 30px 15px;
	background-color: #fff;
	border: 1px solid #003F8D;
}
.page-tel-in h3{margin-bottom: 20px;}
.page-tel-in h4{margin-bottom: 15px;border-bottom: 1px solid #ccc;padding-bottom: 5px;}
.page-tel-in a{display: inline-block;}

.table-title{background-color: #9AA2A5;margin: 0;padding: 15px;line-height: 1;color: #fff;font-weight: bold;}

#form h2 {
	font-size: 18px;
	font-size: 1.8rem;
	letter-spacing: 0.2em;
	text-align: center;
	color: #fff;
	line-height: 60px;
	background-color: #231A6A;
	margin-bottom: 25px;
}

#formarea{padding: 60px 30px;background-color: #fff;}
@media (max-width: 960px) {
	#formarea{padding: 30px 15px;}
}
@media (max-width: 767px) {
	#formarea{padding: 30px 10px;}
}

#formarea h4 {
	font-size: 18px;
	font-size: 1.8rem;
	font-weight: bold;
	letter-spacing: 0.2em;
	text-align: center;
	margin-bottom: 15px;
	padding-bottom: 10px;
	border-bottom: 1px dotted #ccc;
}
#form p{margin-bottom: 2px;}
#contact span.must {
  background-color: #f33;
  padding: 5px;
  color: #FFF;
  margin: 0px;
  letter-spacing: 0.12em;
	font-size: 13px;
	font-size: 1.3rem;
  font-weight: bold;
}


#preferred{font-weight: bold;}

#formarea table{text-align: left;}

/* ==========================================================================
 * フォーム
 * ========================================================================== */

input::-moz-focus-inner,
button::-moz-focus-inner {
  border: 0;
  padding: 0;
}
select,
textarea {
  font-family: inherit;
  font-size: 1em;
  box-shadow: none;
}
textarea {
  width: 100%;
  line-height: 1.35em;
  padding: 0.3em 0.35em;
}
input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="phone"],
input[type="tel"],
input[type="number"],
input[type="datetime"],
input[type="date"],
input[type="month"],
input[type="color"],
input[type="time"],
input[type="search"],
input[type="datetime-local"] {
  padding: 0.3em 0.35em;
  font-family: inherit;
  font-size: 100%;
  box-shadow: none;
}

button:active,
button:focus { outline: none;}

select[disabled],
textarea[disabled],
input[type="text"][disabled],
input[type="password"][disabled],
input[type="email"][disabled],
input[type="url"][disabled],
input[type="phone"][disabled],
input[type="tel"][disabled],
input[type="number"][disabled],
input[type="datetime"][disabled],
input[type="date"][disabled],
input[type="month"][disabled],
input[type="color"][disabled],
input[type="time"][disabled],
input[type="search"][disabled],
input[type="datetime-local"][disabled] {
  resize: none;
  color: rgba(0, 0, 0, 0.5);
}

select {
  outline: none;
  padding: 3px;
  background-color: #efefef;
  border: 1px solid #ddd;
  height: 33px;
  margin: 5px 0;
}

label {
  display: inline-block;
  margin-top: -2px;
  padding: 4px 2px;
  vertical-align: middle;
  cursor: pointer;
}

label:hover { color: #777;}

#form table{border-top: 1px solid #ccc;width: 100%;background-color: #fff;}
#form table th{background-color: #F5FBFF;border-bottom: 1px solid #ccc;padding: 15px;color: #333;width: 230px;font-weight: bold;vertical-align: top;}
#form table td{border-bottom: 1px solid #ccc;padding: 15px;vertical-align: top;position: relative;line-height: 1.5;}
#form table td ul{margin-left: 1em;}
#form table td ul li{text-indent: -1em;}
@media (max-width: 767px) {
	#form table th{display: block;width: 100%;padding: 10px 15px;}
	#form table td{display: block;width: 100%;padding: 10px 0;}
	#form table th{border-bottom: none;}
}

#form table td span#job{display: block;}
#form input, #form textarea {
	padding: 5px;
	vertical-align: middle;
	border: #cccccc solid 1px;
	border-radius: 3px;
	margin: 5px;
}
input[type=radio] {margin-top: 2px!important;}
#formarea table th span.must {
	display: block;
	float: right;
	margin: 0px;
	padding: 5px 5px 4px;
	color: #FFF;
	background-color: #f33;
	letter-spacing: 0.12em;
	font-weight: bold;
	line-height: 1.2;
}
.form-policy {
	width: 90%;
	margin: 30px auto;
	padding: 18px 25px;
	background-color: #fff;
	border: 1px solid #ccc;
}
.form-policy h3 {
	font-size: 13px;
	font-size: 1.3rem;
	font-weight: bold;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #ccc;
  text-align: center;
  color: #003F8D;
}

span#type,span#type2{display: block;}

#birth1,#grad1,#zip2{width: 60px}
#birth2,#birth3,#birth4,#grad2{width: 40px;}

#nameSei,#nameMei,#furiSei,#furiMei{width: 30%;}
#mail1{width: 20%;}
#mail2{width: 30%;}
#tel1,#fax1{width: 45px;}
#tel2,#tel3,#fax2,#fax3{width: 80px;}

#zip1,#age,#child{width: 50px;}
#zip2,{width: 100px;}

#pref1{margin-bottom: 5px;}
#address1,#address2,#school,#department{width: 260px;}

/* バリデーション */
input.err,
select.err,
textarea.err,
.err input,
.err select,
.err textarea,
.chkgroup.err label {
  background: #fce4d6;
  border-color: #fdd7c1;
}

.err:focus,
.err input:focus,
.err select:focus,
.err textarea:focus { border-color:#fd6037;}
/* :::::::::: 送信ボタン :::::::::: */
.form-btn {
  margin-top: 40px;
  text-align: center;
}
.form-btn .btn {
  display: inline-block;
  background: #003F8D;
  max-width: 300px;
  width: 90%;
  height: 60px;
  line-height: 1.25;
  border: none;
  color: #fff;
  font-weight: bold;
	-webkit-transition: 0.2s;
	transition: 0.2s;
	font-size: 16px;
	font-size: 1.6rem;
	margin: 10px;
	letter-spacing: 0.12em;
}
.form-btn .btn::after{display: none;}
.form-btn .btn:hover{background: #e10000;}
/*
.form-btn .btn + .btn {
  margin-left: 20px;
}
*/
.form-btn .btn[hidden] {
  display: none;
}
.form-btn .btn-error,.form-btn .btn-reinput {background: #cccccc;}
.form-btn .btn-error:hover,.form-btn .btn-reinput:hover {background: #dcdcdc;}
.form-btn .btn-send {background: #003F8D;}

/*
@media (max-width: 960px) {
	#form th{width: 150px;padding-right: 15px;}
}
*/

#nameSei, #nameMei, #furiSei, #furiMei {width: 30%;}
#mail1 {width: 20%;}

#type label,#type2 label {
	display: block;
}

@media (max-width: 960px) {
	.formtxt{width: 90%;margin: 0 auto 30px;}
	#contact-flow{margin-bottom: 15px;}
	.form-btn .btn{width: 100%;margin: 0 0 10px;}
}
@media (max-width: 767px) {
	#form table{font-size: 1.4rem;}
	#birth1{width: 60px;}
	.formtxt{width: 90%;margin: 0 auto 15px;}
	.form-desc{display: block;}
}
@media (max-width: 480px) {
	#tel1,#fax1{width: 50px;}
	#tel2,#tel3,#fax2,#fax3{width: 75px;}
	#mail1{width: 90px;}
	#mail2{width: 130px;}
	#nameSei,#nameMei,#furiSei,#furiMei{width: 90px;}
	
}