@charset "utf-8";

.foam_table td img{
max-width: 100px;
}

.foam_table{
	width: 760px;
	margin: 0 auto;
}

.foam_table table{
	border: 1px solid #ccc;
  width: 100%;
}
.foam_table .radio{
padding: 10px 0 0;
}
.foam_table th{
	background-color: #f5f5f5;
	padding: 8px 5px;
	border: 1px solid #ccc;
	white-space: nowrap;
	position: relative;
	width: 26%;
}

.foam_table th .req{
	background-color: #f77c00;
	color: #fff;
	position: absolute;
	right: 5px;
	top: 0px;
  bottom: 0;
  height: 23px;
  margin: auto;
	font-size: 13px;
	border-radius: 5px;
	    padding: 1px 5px;
}

.foam_table td{
	border: 1px solid #ccc;

	padding: 15px 10px;
}

.foam_table select,.foam_table input[type="tel"],
.foam_table input[type="text"],.foam_table input[type="email"],.foam_table textarea{
	border: 1px solid #ccc;
	font-size: 16px;
	border-radius: 5px;
	padding: 8px 5px;

}
.foam_table select{
	max-width: 426px;

}
.foam_table .error_txt{
	color: red;
	font-size: 12px;
	font-weight: bold;
}

.required_radio.on .radio-input + label,
.foam_table .required.on{
background-color: pink;
}


.radio-input{
	opacity: 0;
	margin-bottom: 13px;
	margin-left: -10px;
}


.required_radio.on.ons .radio-input + label,
.foam_table .required.on.ons{
background-color: inherit;
}

.ons .error_txt{
	display: none;
}


.radio-input + label{
  padding-left: 20px;
  position:relative;
  margin-right: 20px;
  border: 1px solid #ccc;
	border-radius: 5px;
  padding: 5px 30px;
	cursor: pointer;
}
.radio-input + label::before{
  content: "";
  display: block;
  position: absolute;
  top: 8px;
  left: 5px;
  width: 15px;
  height: 15px;
  border: 1px solid #999;
  border-radius: 50%;
}
.ons .radio-input:checked + label,
.radio-input:checked + label{
  border: 1px solid #ccc;
	background-color: #ffffc0;
	font-weight: bold;
}
.radio-input:checked + label::after{
  content: "";
  display: block;
  position: absolute;
  top: 11px;
  left: 8px;
  width: 11px;
  height: 11px;
  background: #ec6c00;
  border-radius: 50%;
}

form .form_table {
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
    background-color: #ffffff;
}

.foam_table .kana{
font-size: 11px;
}

.back_text{
    display: inline-block;
}
.back_text a{
	padding: 16px 20px;
	border: 1px solid #ccc;
    border-radius: 5px;
	width: 100px;
	color: #333;
  margin-right: 40px;
	font-weight: bold;

}
/*
#form_submit:disabled {
  background-color: #ccc;
  border-bottom: 5px solid #999;
}
*/

   #form_submit{
   background-color: #ec6c00;
    color: #fff;
    border: none;
    padding: 14px 42px;
    border-radius: 5px;
    margin: 33px 0 52px;
    font-size: 16px;
    font-weight: bold;
		border-bottom: 5px solid #cc4c00;
  }
  #form_submit:hover{
cursor: pointer;
  }
  input[type="file"]{
	margin: 5px 0 5px;
}

.foam_table td p{
	font-size: 13px;
}
.terms{
	font-size: 15px;
	padding: 19px 0 0;

}

/* チェックボックス01 */
input[type=checkbox] {
    display: none;
}

.on .checkbox01,
.on .required label{
  background-color: pink;
}

.checkbox01 {
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    padding: 5px 0px 5px 30px;
    position: relative;
    width: auto;
}
.checkbox01::before {
    background: #fff;
    border: 1px solid #666;
		border-radius: 5px;
    content: '';
    display: block;
    height: 16px;
    left: 5px;
    margin-top: -8px;
    position: absolute;
    top: 50%;
    width: 16px;
}
.checkbox01::after {
    border-right: 3px solid #ec6c00;
    border-bottom: 3px solid #ec6c00;
    content: '';
    display: block;
    height: 9px;
    left: 10px;
    margin-top: -7px;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: rotate(45deg);
    width: 5px;
}
input[type=checkbox]:checked + .checkbox01::after {
    opacity: 1;
}

@media (max-width: 768px){
.title_contact img{
max-width: 100%;
}

	.foam_table {
    width: 100%;
}
.foam_table td,
.foam_table th{
    width: 100%;
		display: block;
}

.foam_table th{
    width: calc(100% - 10px);
}

.foam_table td{
    width: calc(100% - 20px);
}

select,
input[type="text"], .foam_table input[type="email"], .foam_table textarea {
	width: 100%;

}
.foam_table th .req {
    top: 9px;
}
}
