@charset "UTF-8";
#con_mainvisual {
	height: 350px;
    background-image: url(../images/con_mainvisual.jpg);
    background-size: cover;
	background-position: center top;
    background-repeat: no-repeat;
}
#con_mainvisual h2 {
	font-size: 2rem;
	line-height: 350px;
	position: relative;
	padding-top: 40px;
	color: #333333;
}
h2:before {
	position: absolute;
	content: 'CONTACT US';
	top: -2rem;
	left: 0;
	font-size: 5rem;
	display: inline-block;
	color: #333333;
}
#contactInfo p {
	border: 1px solid #999999;
	padding: 20px 30px;
}
#contactInfo a {
	color: #9f957c;
	margin: 0 .3em;
	padding-bottom: 2px;
	border-bottom: 1px solid #9f957c;
}
#contactInfo a:hover {
	border: none;
}
#contactInfo,#mailform {
	padding-top: 100px;
}
#phone {
	padding-top: 200px;
	margin-top: -100px;
}
#con_contents h3 {
	font-size: 2.5rem;
	color: #9f957c;
	padding: 0 0 35px 60px;
	position: relative;
}
#con_contents h3:before {
	position: absolute;
	left: 0;
	top: -14px;
    content: '\f0e0';
    font-family: 'Font Awesome 5 Free';
	font-size: 1.8em;
	font-weight: 900;
}
#phone h3:before {
    content: '\f879';
}
form {
	margin-top: 10px;
	padding: 25px 5% 50px;
	background: #eee;
	text-align: center;
}
.formTable {
	width: 100%;
	text-align: left;
}
.formTable th {
	margin: 25px 0 5px;
	font-weight: normal;
}
.formTable th,.formTable td {
	display: block;
}
.formTable span {
	background: #AF011C;
	color: #fff;
	font-size: .8em;
	vertical-align: 2px;
	margin-left: .8em;
	padding: 5px 8px 4px;
	border-radius: 4px;
}
select,input[type="text"],textarea {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 10px;
	width: 100%;
	transition: .3s;
}
select:focus,input[type='text']:focus,textarea:focus {
	box-shadow: 0 0 5px 1px rgba(159,149,124,.3);
}
select {
	cursor: pointer;
}
.selectbox {
	position: relative;
}
.selectbox:before {
	position: absolute;
	top: 45%;
	right: 20px;
	content: '';
	border-top: 7px solid #666666;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	pointer-events: none;
}
input[type="submit"] {
	color: #9f957c;
	margin-top: 40px;
	padding: 15px 40px;
	border: 2px solid #9f957c;
	border-radius: 100vh;
	transition: .3s;
}
input[type="submit"]:hover {
	background: #9f957c;
	color: #fff;
}
#form_privacy {
	font-size: .9em;
	margin-top: 20px;
	text-align: left;
}
#phone p {
	text-align: center;
	border: 1px solid #999999;
	padding: 30px;
	margin-bottom: 100px;
}
#phone a {
	font-size: 4rem;
	color: #9f957c;
}
#phone span {
	background: #9f957c;
	color: #fff;
	margin-left: 30px;
	padding: 4px 12px 3px;
	border-radius: 4px;
	vertical-align: 8px;
}





@media screen and (min-width: 560px) and (max-width: 959px) {
	
#con_mainvisual {
	height: 300px;
}
#con_mainvisual h2 {
	font-size: 1.8rem;
	line-height: 300px;
	padding-top: 25px;
}
h2:before {
	top: -1.8rem;
	font-size: 4rem;
}
#contactInfo,#mailform {
	padding-top: 50px;
}
#phone {
	padding-top: 120px;
	margin-top: -70px;
}
#con_contents h3 {
	font-size: 2.3rem;
	padding: 0 0 20px 50px;
}
#con_contents h3:before {
	top: -11px;
	font-size: 1.6em;
}
form {
	padding: 15px 5% 40px;
}
input[type="submit"] {
	margin-top: 30px;
}
#form_privacy {
	margin-top: 10px;
}
#phone p {
	padding: 20px;
	margin-bottom: 50px;
}
#phone a {
	font-size: 3rem;
}
#phone span {
	vertical-align: 6px;
}
}





@media screen and (max-width: 559px) {

#con_mainvisual {
	height: 250px;
}
#con_mainvisual h2 {
	font-size: 1.7rem;
	line-height: 250px;
	padding-top: 20px;
}
h2:before {
	top: -1.7rem;
	font-size: 3rem;
}
#contactInfo,#mailform {
	padding-top: 50px;
}
#phone {
	padding-top: 106px;
	margin-top: -56px;
}
#con_contents h3 {
	font-size: 2rem;
	padding: 0 0 10px 40px;
}
#con_contents h3:before {
	top: -7px;
	font-size: 1.5em;
}
form {
	padding: 10px 5% 35px;
}
.formTable th {
	margin: 20px 0 3px;
}
input[type="submit"] {
	margin-top: 25px;
}
#form_privacy {
	font-size: .9em;
	margin-top: 10px;
}
#phone p {
	padding: 25px 10px 15px;
	margin: 30px 0 50px;
	position: relative;
}
#phone p:before {
	position: absolute;
	content: 'タップして電話をかける';
	top: -15px;
	left: 50%;
	-webkit-transform: translate(-50%, 0);
    	-ms-transform: translate(-50%, 0);
        	transform: translate(-50%, 0);
	display: inline-block;
	width: 200px;
	height: 30px;
	line-height: 30px;
	border-radius: 4px;
	background-color: #9f957c;
	color: #fff;
}
#phone p:after {
	content: "";
	position: absolute;
	top: 15px;
	left: 50%;
	border-top: 7px solid #9f957c;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
}
#phone a {
	font-size: 3rem;
}
#phone span {
	background: #fff;
	color: #9f957c;
	vertical-align: 0;
	display: block;
	margin-left: 0;
}
}





@media(min-width: 560px){
a[href*="tel:"]{
	pointer-events: none;
	border-bottom: none;
}
}
