@charset "UTF-8";
/* ==========================================
	contact1_block
========================================== */

#contact1_block {
	padding: 80px 0 180px;
}

#contact1_block .intro_text {
	margin-top: 35px;
	display: inline-block;
}

#contact1_block table {
	width: 1000px;
	font-size: 15px;
	margin: 30px 0 50px;
}

#contact1_block table th {
	width: 260px;
	text-align: left;
	vertical-align: top;
	font-weight: 500;
	padding: 25px 0;
	border-bottom: 1px dotted #e6e6e6;
}

#contact1_block span.require {
	color: #FF0004;
	margin-left: 10px;
}

#contact1_block table td {
	padding: 25px 0;
	border-bottom: 1px dotted #e6e6e6;
}

#contact1_block input,
#contact1_block textarea{
	font-size: 16px;
	font-size: 1.6rem;
	padding:8px;
}

#contact1_block input.w400{
	width:400px;
}

#contact1_block input.w500{
	width:500px;
}

#contact1_block textarea{
	width:500px;
	height:150px;
}

#contact1_block #two_btn_area {
	width:540px;
	margin:0 auto;
}

#contact1_block .detail_btnn input {
	display: block;
    width: 190px;
    padding: 15px;
	background:#2f2f2f;
    margin: 0 auto;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    position: relative;
	cursor:pointer;
	border:none;
}

#contact1_block .detail_btnn input.left {
	background-color: #737373;
}

#contact1_block .detail_btnn input.left:hover {
	background-color: #333434;
}

#contact1_block .detail_btnn input.right {
	background-color: #a72424;
}

#contact1_block .detail_btnn input.right:hover {
	background-color: #870C0E;
}

#contact1_block .detail_btnn input:hover {
	background-color: #333434;
}

#contact1_block .thanks_box {
	margin: 50px 0 180px;
}

#contact1_block .thanks_box h4 {
	font-family:"Yu Mincho", "YuMincho", serif;
	font-size: 20px;
	font-weight: 600;
	color: #a72424;
	margin-bottom:15px;
}

#contact1_block .error {
	color: #FF0000;
}

#contact1_block .alert {
	color: #C60000;
	border: 1px solid #C60000;
	background-color: #F7E6E6;
	margin: 10px 0;
	padding: 10px 15px;
}

/*contactのホバーした色これ*/
#contact1_block .detail_btnn input:hover {
	background-color: #1b1b1b;
}

#contact1_block .contact_text {
	text-align: left;
    margin: 35px 0;
}
#contact1_block .contact_text a {
	text-decoration: underline;
}
#contact1_block .contact_text a:hover {
	text-decoration: none;
}
@media screen and (max-width: 840px) {
	
#contact1_block table {
	width: 100%;
	box-sizing:border-box;
	margin-bottom: 30px;
}

#contact1_block table tr{
	border-bottom:1px solid #EBEBEB;
}

#contact1_block table th{
	padding:20px 0 10px;
}

#contact1_block{
	padding: 40px 0 70px;
}

#contact1_block .contents_inner {
    width: 95%;
    margin: 0 auto;
	padding:0;
}

#contact1_block .contact_text {
	text-align: left;
    margin: 35px 0;
}

#contact1_block input.w300{
	width:100%;
	font-size:15px;
}

}

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

#contact1_block{
	padding: 40px 0 70px;
}

.contents_inner {
    width: 95%;
    margin: 0 auto;
	padding:0;
}

#contact1_block table {
	width: 100%;
	box-sizing:border-box;
	margin-bottom: 30px;
}

#contact1_block table tr{
	border-bottom:1px solid #EBEBEB;
}

#contact1_block table th{
	display: block;
    width: 100%;
	padding:20px 0 10px;
}

#contact1_block table td{
	display: block;
    width: 100%;
	padding-bottom:20px;
}

#contact1_block input.w400{
	width:100%;
	box-sizing:border-box;
}

#contact1_block input.w500{
	width:100%;
	box-sizing:border-box;
}

#contact1_block input.w300{
	width:100%;
	font-size:13px;
	box-sizing:border-box;
}

#contact1_block textarea{
	width:100%;
	height:100px;
	box-sizing:border-box;
}

#contact1_block #two_btn_area{
	width:100%;
}

#contact1_block .detail_btnn input.left {
	background-color: #737373;
}

#contact1_block .detail_btnn input.left:hover {
	background-color: #333434;
}

#contact1_block .detail_btnn input.right {
	background-color: #a72424;
}

#contact1_block .detail_btnn input.right:hover {
	background-color: #870C0E;
}

#contact1_block .detail_btnn input:hover {
	background-color: #333434;
}

#contact1_block .detail_btnn input {
	margin: 0 auto 20px;
	float: none !important;
	padding: 20px;
	font-size: 16px;
    width: 80%;
}

#contact1_block .contact_text {
	font-size:12px;
    margin: 30px 0 20px;
}

#contact1_block .thanks_box {
	margin: 0;
	padding-top:50px;
}

}

