@charset "UTF-8";
/* CSS Document */

#contact1,.contact1 {
	max-width:934px;
	padding-top:13px;
	padding-right:13px;
	padding-bottom:25px;
	padding-left:13px;
	line-height:1.7em;
	}

/* メールフォーム */
#contact2 {
	background-color:#FFFAEC;
	padding-top:25px;
}

#contact2 dl.form {
    display: -webkit-flex;
    display: -moz-flex;
    display: flex;
	flex-wrap: wrap;
	align-items: stretch;		
	width: 90%;
    margin: 0 auto;
}

#contact2 dl.form dt {
	width: 230px;
	background-image:url(../img/company/03.gif);
	background-repeat:no-repeat;
	background-position:left 10px;
	padding-top:10px;
	padding-bottom:10px;
	padding-left:20px;
}

#contact2 dl.form dd {
	width: calc(100% - 270px);
	padding-top:5px;
	padding-bottom:10px;
	padding-left:20px;
}

#contact2 input {
	height:1.2em;
}

input.form {
	border:0;
	padding:5px;
	font-size:1em;
	font-family:Arial, sans-serif;
	color:#333;
	border:solid 1px #FECA2E;
	width:300px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

textarea.form {
	border:0;
	padding:5px;
	font-size:1em;
	font-family:Arial, sans-serif;
	color:#333;
	border:solid 1px #FECA2E;
	width:480px;
	margin:0 0 20px;	
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

button.formB1,
button.formB2 {
	border:solid 1px #fff;
	padding:15px 30px;
	margin:0 0 20px;
	font-family:Arial, sans-serif;
	font-size:1.2em;
	text-transform:uppercase;
	font-weight:bold;
	color:#FFF;
	cursor:pointer;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

.formB {
	text-align:center;
}

p.tel {
	padding-top:5px;
}

button.formB1{
	background-color:#BCBCBC;
}

button.formB2 {
	background-color:#FECA2E;
}

@media screen and (max-width:600px) {
	#contact2 {
		width: 95%;
		margin: 0 auto 25px;
	}
	
	#contact2 dl.form dt,
	#contact2 dl.form dd {
		width: 100%;
	}
	
	#contact2 dl.form dd {
		border-bottom: solid 1px #ffecb3;
	}
	
	textarea.form {
		width: 95%;
	}
	select {
		padding: 5px;
	}
	
	input.yourname {
		width: 5em;
	}
}
