@charset "utf-8";

@media only screen and (max-width:991px) {}
@media only screen and (max-width:767px) {}
@media only screen and (max-width:374px) {}

/*************************************************

 commonPageImage

*************************************************/
#mailform .commonPageImage {
	background-image: url(../images/contact/page_image.jpg);
}
@media only screen and (max-width:767px) {
	#mailform .commonPageImage {
		background-image: url(../images/contact/page_image_sp.jpg);
	}
}




/*************************************************

 commonwrap

*************************************************/
#mailform .commonwrap {
	max-width: 815px !important;
}
#mailform .lead {
	margin: 55px 0;
	font-size: 17px;
	font-weight: 100;
	text-align: center;
}
#mailform input[type="text"],
#mailform textarea {
	box-sizing: border-box;
	display: block;
	width: 100%;
	margin: 0;
	padding: 15px;
	background: none;
	border: none;
	border-radius: 0;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
#mailform button {
	display: block;
	background: none;
	border: none;
	border-radius: 0;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
@media only screen and (max-width:767px) {
	#mailform .commonwrap {
		max-width: 815px;
	}
	#mailform .lead {
		margin: 40px 0;
		font-size: 14px;
	}
	#mailform input[type="text"],
	#mailform textarea {
		padding: 12px 10px;
	}
}




/*************************************************

 formArea

*************************************************/
#mailform .formArea {
	padding: 30px 0;
	border-top: #000 solid 1px;
	border-bottom: #000 solid 1px;
}
#mailform .formArea > dl {
	display: table;
	width: 100%;
	table-layout: fixed;
}
#mailform .formArea > dl + dl {
	margin-top: 20px;
}
#mailform .formArea > dl > * {
	box-sizing: border-box;
	display: table-cell;
	vertical-align: top;
}
#mailform .formArea dt {
	width: 140px;
	padding-top: 12px;
	font-weight: 400;
	line-height: 1.2;
}
#mailform .formArea dt span {
	display: block;
	width: 30px;
	margin-top: 8px;
	padding: 3px 10px;
	color: #fff;
	font-size: 13px;
	background-color: #000;
}
#mailform .formArea .gray {
	background-color: #f3f3f3;
	border: none;
}
select.gray {
	padding: 15px;
	width: 40%;
}
@media only screen and (max-width:767px){
	select.gray {
    width: 100%;
}
}
#mailform .formArea textarea {
	height: 290px;
	resize: vertical;
}
#mailform .formArea .dateArea {
	display: flex;
	align-items: center;
}
#mailform .formArea .dateArea input {
	width: 95px;
	text-align: right;
}
#mailform .formArea .dateArea {
	margin-bottom: 5px;
}
#mailform .formArea .btns {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: 35px;
}
#mailform .formArea .btns button {
	width: 220px;
	margin: 5px 10px;
}
#mailform .formArea .error {
	color: #ff0000;
	display: block;
}

@media only screen and (min-width:768px) {
	#mailform .formArea .msgArea dt span {
		margin: 8px 0 0;
		width: 30px;
    display: block;
	}
}

@media only screen and (max-width:767px) {
	#mailform .formArea > dl,
	#mailform .formArea > dl > * {
		display: block;
	}
	#mailform .formArea > dl + dl {
		margin-top: 15px;
	}
	#mailform .formArea dt {
		width: auto;
		margin-bottom: 10px;
		padding-top: 0;
	}
	#mailform .formArea dt span {
		margin-left: 10px;
		padding: 2px 5px;
		font-size: 10px;
	}
	#mailform .formArea .gray {
		background-color: #f3f3f3;
	}
	#mailform .formArea textarea {
		height: 210px;
	}
	#mailform .formArea .dateArea {
		display: flex;
		align-items: center;
	}
	#mailform .formArea .dateArea input {
		width: 65px;
		text-align: right;
	}
	#mailform .formArea .dateArea {
		margin-bottom: 5px;
	}
	#mailform .formArea .btns {
		margin-top: 25px;
	}
	#mailform .formArea .btns button {
		width: 165px;
	}
}



#mailform .formArea.confirm dt {
	padding-top: 0;
	line-height: 1.66;
}


#mailform #finish {
	margin: 100px 0;
	text-align: center;
}
#mailform #finish .btn {
	max-width: 220px;
	margin: 20px auto 0;
}

/* 追加 */

p.formArea_p {
	margin-top: 5%;
}

@media only screen and (max-width:767px) {
	p.formArea_p {
		margin-top: 3%;
	}
}

p.lh{
	line-height: 23px;
}

@media only screen and (max-width:767px) {
	p.lh{
		line-height: 17px;
	}
}