﻿@charset "utf-8";

.eyecatch_contact{
	background-color: #303030;
}

#mf1{
	margin-bottom: 80px;
}

.contact_txt01{
	margin-bottom: 60px;
	font-size: 0.9375rem;
	text-align: center;
}

.contact_tel_fax{
	margin-bottom: 80px;
}

.contact_tel_fax div{
	margin-bottom: 20px;
	justify-content: center;
	align-items: center;
}

.contact_tel_fax div:last-child{
	margin-bottom: 0;
}

.contact_tel_fax div p{
	width: 270px;
	margin-right: 40px;
	font-size: 1.25rem;
	font-weight: bold;
	line-height: 60px;
	border-right: solid 5px #252525;
}

#mf2{
	margin-bottom: 100px;
}

#mf2 h3{
	margin-bottom: 40px;
	font-size: 1.25rem;
	font-weight: bold;
	text-align: center;
}

#mf2 table{
	width: 100%;
	margin-bottom: 30px;
}

#mf2 table th{
	width: 30%;
	padding: 15px 30px;
	font-size: 0.9375rem;
	font-weight: bold;
	border-bottom: solid 5px #fff;
	background-color: #f3f3f3;
	position: relative;
}

#mf2 table th span{
	padding: 0 8px;
	font-size: 0.75rem;
	color: #fff;
	background-color: #f80000;
	position: absolute;
	top: 15px;
	right: 10px;
}

#mf2 table td{
	width: 70%;
	padding: 5px 30px;
	font-size: 0.9375rem;
}

#mf2 form input[type=checkbox]{
	margin-right: 5px;
}

#mf2 table td label{
	margin-right: 20px;
}

#mf2 table td label:last-child{
	margin-right: 0;
}

#mf2 form input[type=text]{
	width: 100%;
	height: 40px;
	padding: 2px;
	box-sizing: border-box;
}

#mf2 form input.txtbox_s{
	width: 40%;
}

#mf2 form select{
	width: 30%;
	height: 40px;
}

#mf2 form input[type=submit]{
	width: 260px;
	margin: 0 auto;
	padding: 15px 0;
	font-size: 0.9375rem;
	color: #fff;
	text-align: center;
	border: none;
	border-radius: 6px;
	background-color: #479ad4;
	display: block;
	transition: 0.5s;
	cursor: pointer;
}

#mf2 form input[type=submit]:hover{
	opacity: 0.7;
}

#mf2 form textarea{
    width: 100%;
}

#mf2 form input[type=submit][name=back]{
    margin-bottom: 1rem;
}

#mf2 form .err{
    color: #f80000;
    font-weight: 700;
}











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

#mf1{
	width: 90%;
	margin: 0 auto 60px;
}

.contact_txt01{
	margin-bottom: 40px;
}

.contact_tel_fax{
	margin-bottom: 60px;
}

.contact_tel_fax div{
	margin-bottom: 40px;
}

.contact_tel_fax div p{
	width: auto;
	margin: 0 0 15px 0;
	line-height: 30px;
	border-right: none;
}

.contact_tel_fax div p::after{
	content: "";
	width: 50px;
	margin: 10px auto 0;
	border-bottom: solid 5px #252525;
	display: block;
}

.contact_tel_fax div img{
	width: 80%;
}

#mf2{
	width: 90%;
	margin: 0 auto 60px;
}

#mf2 h3{
	margin-bottom: 30px;
}

#mf2 table tr {
    width: 100%;
    display: block;
    list-style: none;
}

#mf2 table th{
	width: auto;
	padding: 10px 30px;
	display: list-item;
}

#mf2 table th span{
	margin-left: 10px;
	position: static;
}

#mf2 table td{
	width: auto;
	padding: 10px 20px 20px;
	display: list-item;
}

#mf2 form input.txtbox_s{
	width: 60%;
}

#mf2 form select{
	width: 40%;
}

}