@charset "UTF-8";
/* --------------------------
  TITLE : エステクロス 
  URI : escross.jp
  (C) エステクロス.
-------------------------- */

/* CONTACT
-------------------------- */

#contact {
	background: #ffffff;
	padding: 15px 15px 35px 15px;
	overflow: hidden;
}

#contact .contact_header {
	width: 100%;
}

#contact .contact_header h1 {
	font-size: 18px;
	padding: 10px 0 10px 0;
	font-weight: bold;
}

#contact .contact_header .caution {
	padding: 5px 15px;
	background-color: #f5f5f5;
	margin-bottom: 20px;
}

#contact .contact_header .caution p {
	line-height: 16px;
	margin: 10px 0;
}

#contact .valid {
	width: 100%;
	padding: 5px 15px;
	box-sizing: border-box;
	border: 1px solid #ff0000;
	margin-bottom: 20px;
}

#contact .valid p {
	line-height: 16px;
	margin: 10px 0;
	color: #ff0000;
}

#contact form dl {
	width: 100%;
}

#contact form dl dt {
	background-color: #f5f5f5;
	min-height: 40px;
	line-height: 40px;
	padding-left: 12px;
}

#contact form dl dt span {
	font-size: 9px;
	display: inline-block;
	height: 17px;
	line-height: 15px;
	margin-right: 5px;
	padding: 0 7px;
	box-sizing: border-box;
	background-color: #222222;
	color: #ffffff;
}

#contact form dl dd {
	padding: 5px 0;
	margin-bottom: 15px;
}

#contact form dl dd input[type=text],
#contact form dl dd input[type=tel],
#contact form dl dd input[type=email],
#contact form dl dd select,
#contact form dl dd textarea {
    appearance: none;
    width: 100%;
    height: 40px;
    padding: 7px 10px;
    border: 1px solid #b7b7b7;
    border-radius: 3px;
    background-color: #fff;
    color: #333333;
    font-size: 1em;
}

#contact form dl dd select {
    cursor: pointer;
}

#contact form dl dd label.contact_type {
    display: inline-flex;
    align-items: center;
    position: relative;
	width: 100%;
	margin-bottom: 10px;
}

#contact form dl dd label.contact_type::after {
    position: absolute;
    right: 15px;
    width: 10px;
    height: 7px;
    background-color: #535353;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
    pointer-events: none;
}

#contact form dl dd textarea {
    height: 70px;
}

#contact form .form_btn {
	margin: 0 auto;
	text-align: center;
}

#contact form input[type=submit],
#contact form input[type=reset] {
	display: inline-block;
	width: 120px;
	height: 40px;
	font-size: 14px;
	line-height: 38px;
	font-size: 12px;
	color: #222222;
	border: 1px solid #b7b7b7;
	background-image: url(/common/img/arrow-w.gif);
	background-repeat: no-repeat;
	background-size: 15px 10px;
	background-position: right 6px center;
	background-color: #ffffff;
	margin: 20px auto 0 auto;
	cursor: pointer;
	margin: 0 5px;
}

#contact form.check {
	margin-top: 10px;
	margin-bottom: 20px;
}

#contact form.check dd {
	margin-top: 5px;
	margin-left: 15px;
}

#contact form.check .form_btn {
	margin-top: 15px;
}


@media screen and (min-width: 640px) {

	#contact {
		padding: 20px 20px 45px 20px;
	}
	
	#contact .contact_header h1 {
		font-size: 20px;
		padding: 0 0 20px 0;
	}

	#contact form dl {
		display: grid;
		grid-template-columns: 200px 1fr;
		gap: 3px 15px;
		margin-bottom: 25px;
	}
	
	#contact form dl dt {
		min-height: 40px;
		place-content: center;
	}
	
	#contact form dl dd {
		padding: 5px 0;
		margin: 0;
		place-content: center;
	}
	
	#contact form dl dt span {
		font-size: 10px;
		height: 20px;
		line-height: 20px;
	}

	#contact form dl dd label.contact_type {
		max-width: 300px;
	}

	#contact form dl dd input[type=text],
	#contact form dl dd input[type=tel],
	#contact form dl dd input[type=email],
	#contact form dl dd select {
		max-width: 300px;
	}

	#contact form dl dd textarea {
		height: 5em;
	}
	
	#contact form input[type=submit],
	#contact form input[type=reset] {
		width: 150px;
	}

}

