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


/* スマートフォン用CSS */
@media screen and (max-width: 630px) {
#contact {
}

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

#contact .form {
	margin: 8% 0;
}
#contact dl {
    width: 100%;
    height: auto;
    margin: 0%;
    padding: 3% 0% 4%;
    line-height: 190%;
	display: flex;
	flex-wrap: wrap;
    border-bottom: dotted 1px #cccccc;
}
#contact dt {
	width: 100%;
    height: auto;
    margin: 0%;
	padding: 0.5% 2%;
	text-align: left;
}
#contact dl:first-child {
	border-top:1px dotted #cccccc;
}
#contact dt input {
	width: 100%;
}
#contact dt span {
	text-align: center;
    margin: 0px 0px 0px 10px;
	padding: 0px 5px 2px;
	font-size: 70%;
	color: #ffffff;
	background-color: #dd3333;
	border-radius: 3px;
}
#contact dd {
    width: 100%;
    height: auto;
    margin: 0%;
	padding: 0 2%;
}

#contact dd.s {
	width: 50%;
}
#contact dd.m {
	width: 70%;
}
#contact dd.l {
	width: 100%;
}
#contact input, #contact textarea {
	width: 100%;
	font-weight: 300;
	padding: 5px;
	box-sizing: border-box;
}
#contact textarea {
	height: 150px;
	min-height: 150px;
	min-width: 100%;
	max-width: 100%;
}
#contact dd input, #contact dd textarea {
	font-weight: 300;
	padding: 5px;
	border:1px solid #cccccc;
	font-size: 13px;
}
#contact .error{
	width: 100%;
	margin: 5% auto 0;
	border: 5px solid #FFE7E7;
	padding: 10px 15px; 
	box-sizing: border-box;
	font-size: 11px;
	line-height: 1.8em;
}

/* 送信完了画面 */
#contact .thankyou{
	width: 50%;
	margin: 5% auto;
}
#contact .center{
	text-align: center;
}
#contact h4{
	font-size: 14px;
	font-weight: 500;
	line-height: 2em;
}

/* TEL & E-MAIL */
.contact_box {
	width: 90%;
	margin:20px auto 0;
	padding: 30px 0 30px;
	box-sizing: border-box;
	border-radius: 10px;
	background-color: #ffffff;
}
.contact_box .button_box{
	width: 100%;
	margin: 0 auto;
	font-size: 16px;
	text-align: center;
	font-weight: bold;
	color: #ffffff;
}
.contact_box .tel {
	width: 80%;
	margin: 0 auto;
	font-size: 20px;
}
.contact_box .tel a {
	height: 30px;
	background-color: #56AF33;
	padding: 5px 0;
	display: block;
	color: #ffffff;
	border-radius: 5px;
	line-height: normal;
}
.contact_box .tel .caption {
	font-size: 14px;
	margin-bottom: 15px;
	line-height: 200%;
	font-weight: normal;
	color: #333333;
}

.contact_box .mail {
	width: 80%;
	margin: 0 auto;
	font-size: 18px;
}
.contact_box .mail a {
	height: 30px;
	background-color: #333333;
	padding: 5px 0;
	display: block;
	color: #ffffff;
	border-radius: 5px;
	line-height: normal;
}
.contact_box .tel img, .contact_box .mail img {
	width: 22px;
	margin: -5px 8px 0 0;
	vertical-align: middle;
}

}










/* PCページ用CSS */
@media print, screen and (min-width: 631px) {
#contact {
}

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

#contact .center {
	text-align: center;
}

#contact .form {
	margin: 30px 0;
}
#contact dl {
	width:1000px;
	height:auto;
	margin:0px 0px 1px;
	padding: 20px 20px;
    line-height: 190%;
	border-bottom:1px dotted #cccccc;
	display: flex;
	box-sizing: border-box;
}
#contact dl:first-child {
	border-top:1px dotted #cccccc;
}
#contact dt {
	width: 230px;
    height: auto;
    margin: 0px 20px 0px 0px;
}
#contact dt span {
	text-align: center;
    margin: 0px 0px 0px 10px;
	padding: 0px 5px 2px;
	font-size: 70%;
	color: #ffffff;
	background-color: #dd3333;
	border-radius: 3px;
}
#contact dd {
	width: 710px;
    height: auto;
    margin: 0px 0px 0px 0px;
}
#contact dd.s {
	width: 250px;
}
#contact dd.m {
	width: 500px;
}
#contact dd.l {
	width: 710px;
}
#contact input, #contact textarea {
	width: 100%;
	font-size: 16px;
	font-weight: 300;
	padding: 5px;
	box-sizing: border-box;
}
#contact textarea {
	height: 150px;
	min-height: 150px;
	min-width: 710px;
	max-width: 710px;
}

#contact .error{
	width: 450px;
	margin: 20px auto 0;
	border: 5px solid #FFE7E7;
	padding: 10px 20px; 
	box-sizing: border-box;
	font-size: 14px;
	line-height: 2em;
}

/* 送信完了画面 */
#contact .thankyou{
	width: 250px;
	margin: 40px auto;
}
#contact h4{
	font-size: 20px;
	font-weight: 500;
	line-height: 2em;
}
#contact .center{
	text-align: center;
}

/* TEL & E-MAIL */
.contact_box {
	width: 1000px;
	margin: 30px auto 0px;
	padding: 40px 0 20px;
	box-sizing: border-box;
	border-radius: 10px;
	background-color: #ffffff;
}
.contact_box h2 {
	text-align: center;
	color: #42352E;
	margin-bottom: 10px;
	font-size: 38px;
	font-weight: normal;
}
.contact_box .button_box{
	width: 725px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	font-size: 24px;
	text-align: center;
	font-weight: bold;
	color: #ffffff;
}
.contact_box .tel {
	width: 350px;
	font-size: 27px;
}
.contact_box .tel a {
	height: 40px;
	background-color: #56AF33;
	padding: 10px 0;
	display: block;
	color: #ffffff;
	border-radius: 8px;
	line-height: normal;
}
.contact_box .tel .caption {
	font-size: 14px;
	line-height: 200%;
	font-weight: normal;
	color: #333333;
}

.contact_box .mail {
	width: 350px;
}
.contact_box .mail a {
	height: 40px;
	background-color: #333333;
	padding: 10px 0;
	display: block;
	color: #ffffff;
	border-radius: 8px;
	line-height: normal;
}
.contact_box .tel img, .contact_box .mail img {
	width: 28px;
	margin: -3px 10px 3px 0;
	vertical-align: middle;
}

}