/* CSS Document */

#pagetitle #head {
	background: url(img/contact_topimg.jpg) center center / cover no-repeat;
}

#pagetitle #head #label {
	background: #339dcb;
}

#pagetitle #head #label h2,
#contact h3 {
	margin: 0 auto;
	overflow: hidden;
	text-indent: -9999px;
	display: block;
}

#pagetitle #head #label h2 {
	height: 19px;
	width: 140px;
	background: url(img/contact_h2.png) no-repeat;
	background-size: 140px 19px;
}

#contact h3 {
	margin: 45px auto 30px;
	height: 25px;
	width: 252px;
	background: url(img/contact_h3_01.png) no-repeat;
	background-size: 252px 25px;
}

/*--------------------------------------
    フォーム
--------------------------------------*/

#contact p {
	width: 100% ;
}

#contact form {
	margin: 50px 0 160px;
}

#contact p.cap {
	margin: 0 auto 50px;
	text-align: left;
}

#contact hr {
	margin: 45px auto 60px;
	width: 84%;
	border-top: 2px solid #999;
}

#contact p.awasete {
	margin: 0 0 45px;
	font-weight: bold;
	text-align: center;
	color: #348fb5;
}

#contact table {
	border-collapse: collapse;
	width: 100%;
	text-align: left;
	letter-spacing: 0.1em;
}

#contact table th {
	text-align: right;
	vertical-align: top;
	font-weight: bold;
	width: 30%;
	padding: 17px 4% 0 0;
}
#contact table th.check {
	padding: 9px 4% 0 0;
}

#contact table td {
	width: 66%;
	padding: 10px 0;
}

#contact table td p {
	margin: 8px 0 0;
	font-size: 90%;
	padding-left:1em;
	text-indent:-1em;
}

#contact table td input[type="text"],
#contact table td input[type="email"],
#contact table td input[type="tel"],
#contact table td select,
#contact table td textarea {
	box-sizing: border-box;
	width: 100%;
	max-width: 550px;
	font-size: 100%;
	letter-spacing: 0.05em;
	padding: 1.5% 3%;
	border-radius : 10px;
	border: 2px solid #ccc;
    -webkit-appearance : none;
    -webkit-tap-highlight-color : rgba(0,0,0,0);
}

#contact table td select,
#contact table td input.date {
	width: 260px;
}

#contact table td input.margin {
	margin: 0 0 6px;
}

#contact table td input[type="radio"] {
	vertical-align:0.01em;
}

#contact .button {
	margin: 80px auto 0;
	text-align: center;
}

#contact .button input[type="submit"] {
	width: 100%;
	max-width: 300px;
	font-size: 20px;
	font-weight: bold;
	letter-spacing: 0.05em;
	padding: 1.25% 2%;
	color: #fff;
    background-color: #339dcb; /* #f60; */
	border: 2px solid #339dcb; /* #f60; */
	border-radius: 20px;
    -webkit-appearance : none;
    -webkit-tap-highlight-color : rgba(0,0,0,0);
}

@media (any-hover: hover) {
  #contact .button input[type="submit"] {
    transition: background-color 0.2s;
  }
  #contact .button input[type="submit"]:hover {
	background-color: #6ea8cb; /* #54802f; */
	border: 2px solid #6ea8cb;
	}
}

@media screen and (max-width: 580px) {
	#contact p.awasete {
	text-align: left;
	}
	#contact hr {
	width: 100%
	}
	#contact table tr,
	#contact table th,
	#contact table td {
	display: block;
	}
	section#contact table th {
	text-align: left;
	width: 96%;
	padding: 10px 4% 0 0;
	}
	#contact table td {
	width: 100%;
	padding: 10px 0;
	}
	#contact table td input[type="text"],
	#contact table td input[type="email"],
	#contact table td input[type="tel"],
	#contact table td textarea {
	max-width: 100%;
	}
	#contact .button p {
	text-align: left;
	}
	#contact .button input[type="submit"] {
	width: 80%;
	}
}