#mainBox h2 {
color: #D84254;
}

.req,
.option {
display: inline-block;
background-color: #FF840B;
margin: 2px 10px 0 0;
padding: 2px 8px;
color: #fff;
font-size: 12px;
line-height: normal;
}

.option {
background-color: #00A3C6;
}

.formTable {
margin-top: 20px;
width: 100%;
}

.contactBox {
margin-right: auto;
margin-left: auto;
}

#mailform th, #mailform td {
padding: 15px 0;
vertical-align: top;
line-height: 1.4;
}

#mailform th {
border: none;
font-weight: bold;
text-align: left;
padding-bottom: 0px;
}

#btnbox {
text-align: center;
padding: 20px 0;
}

#mailform {
padding-top: 20px;
}

#mailform td input[type="text"],
#mailform td input[type="email"],
#mailform td input[type="tel"],
#mailform td textarea {
-webkit-box-sizing: border-box;
box-sizing: border-box;
padding: 10px 5px;
font-size: 16px;
background: #e5edf3;
border: 2px solid #fff;
-webkit-appearance:none;
}

#mailform td input[type="text"]:focus,
#mailform td input[type="email"]:focus,
#mailform td input[type="tel"]:focus,
#mailform td textarea:focus {
outline: 0;
box-shadow: none;
border: 2px solid #FF9800;
background-color: #fff;
}

#mailform td input.mL {
width: 100%;
}
#mailform td input.wL {
width: 100%;
}
#mailform td textarea {
width: 100%;
}
#btnbox input[type="submit"] {
background-color: #044e87;
}
#btnbox input {
margin: 0 10px;
padding: 10px 26px;
background-color: #333;
color: #fff;
font-size: 15px;
border-bottom: 0px;
cursor: pointer;
border-style: none;	
transition: all .5s ease;
}

#mailform input[type="checkbox"], 
#mailform input[type="radio"] {
padding: 12px;
margin: 3px 6px 3px 3px;
}
#mailform input::placeholder {
color: rgba(0,0,0,0.3);
}

#btnbox input:hover {
opacity: 0.5;
filter: alpha(opacity=50);
-ms-filter: "alpha(opacity=50)";
-moz-opacity: 0.5;
-khtml-opacity: 0.5;
zoom: 1; 
}

#mailform td .checklist {
margin: 0;
padding: 0;
list-style: none;
font-size: 0;
}
#mailform label {
margin-right: 15px;
font-size: 15px;
}
#mailform td .checklist li {
display: inline-block;
width: 50%;
padding: 10px 0;
}

@media screen and (max-width: 767px) {
  #btnbox {
  display: flex;
  justify-content: center;
  }
  #btnbox input {
  padding: 15px;
  }
}

/* フロー */
#stepbox {
position: relative;
}
#stepbox ol {
width: 100%;
letter-spacing: -0.4em;
margin: 0 0 6px 0;
overflow: hidden;
padding: 0;
}
#stepbox ol li {
position: relative;
display: inline-block;
width: 33.33%;
height: 40px;
line-height: 40px;
font-size: 14px;
text-align: center;
background-color: #ddd;
color: #333;
letter-spacing: normal;
margin-right: 1%;
}
#stepbox ol li:after {
content: "";
display: block;
position: absolute;
top: 0;
right: -12px;
width: 0;
height: 0;
border-top: 20px solid transparent;
border-right: 10px solid transparent;
border-bottom: 20px solid transparent;
border-left: 15px solid #ddd;
background-color: #fff;
}
#stepbox ol li:last-child {
width: 30%;
margin-right: 0;
}
#stepbox ol li:last-child:after {
content: none;
}
#stepbox ol li.current {
background-color: #044e87;
color: #fff;
}
#stepbox ol li.current:after {
border-left-color: #044e87;
}

#msgbox {
position: relative;
margin: 10px 0;
padding: 10px 3%;
border: 1px solid #872D36;
color: #B20000;
text-align: left;
}
.formTable th {
border: none;
padding-bottom: 0px;
}
.formTable th, .formTable td {
padding: 15px 10px;
vertical-align: top;
line-height: 1.4;
}
.formTable th {
border: none;
text-align: left;
padding-bottom: 0px;	
}
.formTable td {
text-align: left;
border-bottom: 1px solid #DDD;
}
.error_messe {
text-align: left;
}

.comp {
padding: 20px 0 40px;
}

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

		#mailform th, #mailform td {
		display: block;
		}

		.conteTit_mailform img {
		width: 200px;
		height: auto;
		}
		.formTable th , .formTable td {
		display: block;
		}


		#contactform table th {
		width: 96%;
		display: inline-block;
		color: #fff;
		font-size: 14px;
		font-weight: normal;
		line-height: 1.5;
		background-color: #5B5B5B;
		padding: 5px 2%;
		margin: 0 auto;
		}
		#contactform table td {
		width: 96%;
		display: inline-block;
		padding: 6px 0 12px;
		}
		#contactform table td.ajst {
		padding-top: 16px;
		}
		input[type="submit"], input[type="reset"], input[type="button"], button, .btn {
		font-size: 15px;
		padding: 12px 20px;
		margin: 0 6px;
		}

}

@media screen and (min-width: 768px), print {

		#mailform {
		padding-bottom: 20px;
		}	

		#mailform th, #mailform td {
		border-bottom: 1px solid #DDD;
		}

		#mailform td .checklist li {
		display: inline-block;
		padding: 5px 0;
		width: auto;
		}
		#mailform td input.mL {
		width: 60%;
		}

		#contactform {
		width: 880px;
		margin: 0 auto;
		}	
		.conteTit_mailform {
		padding-left: 0px;
		padding-right: 0px;
		}
		.formTable th, .formTable td {
		text-align: left;
		border-bottom: 1px solid #DDD;
		}
		.formTable th {
		width: 200px;
		padding-bottom: 15px;
		}
		.error_messe {
		text-align: center;
		}

		.comp {
		padding: 40px 0 60px;
		}

}

#sampleReq {
background-color: #ECEF91;
padding: 10px 20px;
}

#mailform #sampleReq table {
width: 100%;
}

#mailform #sampleReq th, #mailform #sampleReq td {
display: block;
width: 100%;
border-bottom: none;
}

#mailform #sampleReq td {
text-align: center;
}

#mailform #sampleReq td label {
display: inline-block;
background-color: #fff;
padding: 10px 20px;
}

@media screen and (max-width: 767px) {
  #mailform #sampleReq td label {
  width: 100%;
  margin-bottom: 10px;
  text-align: left;
  box-sizing: border-box;
  }
}
