@charset "utf-8";
/* mailform.css */

.form {
	max-width: 900px;
	margin: 0 auto;
	width: 90%;
}
::placeholder{
	color:#888;
}

input[type=text], input[type=radio], select, textarea {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
}
input[type=text], input[type=radio], textarea,
input[type=email]{
	width: 100%;
	border-top:none;
	border-right:none;
	border-left: none;
	height: 50px;
	border:  solid 1px transparent;
	background-color: #f1f1f1;
	padding: 0.5em;
}
input[type="radio"]{
	width: fit-content;
}
input[type="checkbox"]{
	transform: scale(1.6);
	margin-right:8px;
}
.co_table{
	display: flex;
	padding: 0 0 10px 0;
	margin: 0 0 10px 0;
	border-bottom: 1px solid #ccc;
}
.co_table dt,
.co_table dd{
	min-height:40px;
}


.co_table dt{
	width: 25%;
	display: flex;
	align-items: center;
	text-align:left;
}
.co_table dd{
	width: 75%;
	display: flex;
	align-items: center;
	margin: 0;
	text-align:left;
}
.label-danger{
	font-size: 0.7em;
    display: inline-block;
    vertical-align: middle;
	background-color: #d9534f;
	border-radius: 5px;
	padding: 0px 5px;
	color: #fff;
	margin: 0 0 0 5px;
}

.radio-wrap {
display: flex;
flex-wrap: wrap;
}
.radio-wrap label {
	padding-right:20px;
}

.radio-wrap label input[type="radio"] {
	opacity: 0;
	height: auto;
	appearance: none;
	position: absolute;
}
.radio-wrap label .radio_txt {
	display: inline-block; 
	position: relative;
	padding-left: 26px;
	line-height: 1.5;

}
.radio-wrap label .radio_txt::before {
	position: absolute;
	top: 2px;
	left: 0;
	width: 18px;
	height: 18px;
	border: 1px solid #eee;
	background: #fff;
	content: "";
	border-radius: 50%;
}
.radio-wrap label .radio_txt::after {
	position: absolute;
	top: 6px;
	left: 4px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background-color: #bf0000;
	content: "";
	opacity: 0;
	transition: all 0.3s;
}
.radio-wrap label input:focus + span::before {
	box-shadow: 0 0 4px #bf0000;
}
.radio-wrap label input:checked + span::after {
	opacity: 1;
}
.co_table .short {
    width: 200px;
    margin-bottom: 10px;
}
.submit_tac{
	text-align: center;
}
input[type="submit"], a.back {
    width: auto;
    height: auto;
    text-align: center;
    border: 0px solid;
    padding: 10px 20px;
    background-color: var(--basecolor);
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 40px;
    min-width:200px;
    display:inline-block;
    cursor:pointer;
}
.err_msg{
	color:#d00;
	margin-bottom:30px;
}
