@charset "UTF-8";
.W860{
	width: 860px;
	margin: auto;
}
.h2P {
    text-align: center;
    line-height: 30px;
    margin: 0 0 24px;
}
.contactBox_tel {
    display:flex;
	flex-wrap:nowrap;
	justify-content:center;
}

.contactBox a.tel {
    width: 200px;
    margin: 0 5px 24px;
    border: solid 1px #000;
    text-align: center;
    padding: 12px 0 12px 0;
    font-size: 1.8rem;
    font-size: 18px;
    font-weight: bold;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    position: relative;
}

.contactBox a.tel .img-inline {
	display:inline;
	padding-right:0.5em;
	vertical-align:baseline;
	margin-bottom:-2px;
}
/*
.contactBox a.tel:before{
    content: url("../img/tel.svg");
    position: absolute;
    left: 18px;
    top: 14px;
}
*/
#mailform{
	text-align: initial;
}
#mailform td.MB{
	padding: 12px 0 34px;

}
/*-----------------------------------------------*/

table.mailform {
	width: 800px;
	box-sizing: border-box;
	margin: auto;
}
table.mailform input,
table.mailform textarea{
	font-size: 14px;
	font-size:14px;
	padding: 12px;
}
table.mailform tr th,table.mailform tr td {
	font-weight: normal;
	font-size: 1.4rem;
	font-size: 14px;
	padding: 12px 0;
	box-sizing: border-box;
}
table.mailform tr th {
	width: 200px;
	vertical-align: top;
	text-align: left;
	padding: 8px 16px 8px 0;
	font-size: 1.4rem;
	font-size: 14px;
	font-weight: bold;
}
table.mailform tr th span {
	color: #AB161A;
	font-size: 1.8rem;
	font-size: 18px;
	padding: 0 0 0 4px;
}
table.mailform tr th p {
	margin: 0px;
	padding: 0px;
	font-size: 10px;
	color: #999;
}
table.mailform tr td textarea {
	max-width: 100%;
	width: 100%;
	height: 160px;
	box-sizing: border-box;
	border: solid 1px #ccc;
}
table.mailform tr td textarea.hw{
	height: 45px;
}

table.mailform p{
	margin: 0 0 8px;
}

.mailform-w{
	width: 100% !important;
	padding: 4px 0;
}
table.mailform .fl-l {
    display: inline-block;
}
table.mailform .tel input {
    width: 100px;
	padding: 4px;
}
.mailform-btn{
	font-family: 'Montserrat', sans-serif;
	text-align: center;
	margin: 24px 0;
}
.mailform-btn:before,
.mailform-btn:after {
  position: absolute;
  z-index: -1;
  display: block;
  content: '';
}
.mailform-btn,
.mailform-btn:before,
.mailform-btn:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
}
.mailform-btn {
  display: inline-block;
  width: 200px;
  height: 54px;
  text-align: center;
  text-decoration: none;
  line-height: 54px;
  outline: none;  
  background-color: #AB161A;
  border: 2px solid 3#AB161A33;
  color: #fff;
  line-height: 50px;
  padding: 0 !important;
  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
}
.mailform-btn:hover {
  background-color: #fff;
  border-color: #AB161A;
  color: #AB161A;
}
.mailform-btn-c{
	text-align: center!important;
	margin: 24px 0;
}
/**/
.radio label{
  display:block;
  position:relative;
  padding-left: 24px;
  line-height: 30px;
}
.radio label input{
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  margin:auto;
}
.contactBut{
	text-align: center;
}


.checkbox01-input{
  display: none;
}
.checkbox01-parts{
  padding-left: 20px;
  position:relative;
  margin-right: 8px;
  line-height: 32px; 
}
.checkbox01-parts::before{
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  border: 1px solid #999;
  border-radius: 4px;
}
.checkbox01-input:checked + .checkbox01-parts{
  color: #000;
}
.checkbox01-input:checked + .checkbox01-parts::after{
  content: "";
  display: block;
  position: absolute;
  top: -5px;
  left: 5px;
  width: 7px;
  height: 14px;
  transform: rotate(40deg);
  border-bottom: 2px solid #AB161A;
  border-right: 2px solid #AB161A;
}

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

	.W860 {
	    width: 100%;
	    margin: auto;
	}
	.h2P{
		text-align: left;
	}

	div#mf_wrapper {
		width: auto;
		max-width: 100%;
	}
	table.mailform,table.mailform tbody,table.mailform tbody tr {
		border-spacing: 0px;
		border-collapse: collapse;
		display: block;
		width: auto;
		max-width: 100%;
	}
	table.mailform tr th,table.mailform tr td {
		display: block;
		width: auto;
		max-width: 100%;
		padding: 0px;
		box-sizing: border-box;
	}
	table.mailform tr th {
		border: none;
		padding: 4px 0 2px;
		text-align: left;
	}
	table.mailform tr th p {
		display: inline-block;
	}
	table.mailform tr th span {
		display: inline-block;
		margin: 0px 3px;
	}
	table.mailform tr td {
		padding: 4px 0 2px;
	}
	table.mailform tr td textarea,
	table.mailform tr td input,
	table.mailform tr td select {
		max-width: 100%;
		box-sizing: border-box;
		border: solid 1px #ccc;
	}
	table.mailform .tel input {
		width: 76px;
	}
	table.mailform tr td textarea {
		height: 140px;
	}

	.radio label{
	  padding-left: 30px;
	}
	.checkbox label{
	  padding-right: 0;		
	}

.contactBox_tel {
    display:flex;
	flex-wrap:wrap;
	justify-content:center;
}


}