@charset "utf-8";
body#contact section#contactSection { margin-top: auto;}

.formtxt:before {content:"";display:block;width:5em; height:1px; background:#ccc;margin:0 auto 2em;}
.formtxt {padding: 0 3%;max-width: 900px; margin:auto;}
.formtxt p {margin:0;}
.formtxt p.mem1 {margin-top:1em;}
.formbox dl{margin-bottom: 0;margin-top: .5em;}
.formbox dl dt, .formbox dl dd {border: none;padding-left: 0;}
.condi {color: #fff; margin-right: 0.3em; font-size: 0.8em; padding: 0.4em 0.5em 0.4em 0.5em;
 border-radius: 0.3em; white-space: nowrap; text-align: center; font-weight: normal;background-color: #f5b555;}
.condi.hissu {background-color: #dc3232;}


.formbox input,
select.selectbox,
.formbox select{ width: 100%; padding: 10px 15px; border-radius: 5px;
 background: #fff; border: 1px solid #ccc; font-weight: 400;
 font-size: 16px; letter-spacing: .05em; line-height: 30px; text-align: left;height: auto;}

span.wpcf7-form-control-wrap.generation{position:relative;display: block;}
span.wpcf7-form-control-wrap.generation:before{content: ""; 
position: absolute; display: block;top: 1.5em; right:1em; left: auto;margin: 0;width: .8em;  height: .8em; border-top:.18em solid #58504A;
 border-right: .18em solid #58504A; -webkit-transform: rotate(135deg); transform: rotate(135deg); pointer-events: none;  }

.radiobm { display:flex;position:relative;flex-wrap: wrap;justify-content: space-between;z-index:2;}
.radiobm * {box-sizing: border-box;}
.radiobm .wpcf7-list-item { display:block; margin:0;}

.radiobm .wpcf7-list-item { width: 24.2%; padding: 0;position: relative;}
.yesno .radiobm .wpcf7-list-item { width:32%; }
.radiobm label{padding: .8em; width: 100%; display: block;margin: 0;}
.radiobm .wpcf7-list-item input{ width: auto;}
.radiobm .wpcf7-list-item-label {margin-left:.5em;}
.radiobm .wpcf7-list-item input + .wpcf7-list-item-label {/* position:relative; */z-index:-1;width: 100%;}
.radiobm .wpcf7-list-item input + .wpcf7-list-item-label:before {position:absolute; content:"";display:block;
 width: calc(100% + 0em); height: calc(100% + 0em); border-radius: 5px; background: #fff;
border: 1px solid #ccc;left: 0;top: 0;z-index:-2;}
.radiobm .wpcf7-list-item input:checked + .wpcf7-list-item-label { color:#FFF;}
.radiobm .wpcf7-list-item input:checked + .wpcf7-list-item-label:before {background: #2FAB6F;border-color: #2FAB6F;}


select.selectbox,.wpcf7-select {width: 100%; padding: 10px 15px; border-radius: 5px; font-size: 16px; letter-spacing: .05em; line-height: 30px; -webkit-appearance: none; -moz-appearance: none; appearance: none;}
input.wpcf7-submit { margin: 1em auto 0; position: relative; max-width: 14em; display: block; height: 71px; border-radius: 36px; padding: 0 56px; border: none; -webkit-transition: .3s cubic-bezier(.53,.165,.325,.96); transition: .3s cubic-bezier(.53,.165,.325,.96); font-weight: 700; font-size: 18px; letter-spacing: .05em; line-height: 30px; color: #fffcf5; box-shadow: 0 3px 30px hsl(0deg 0% 48% / 30%); text-align: center; background: #eb1f64; background: -webkit-gradient(linear, left top, right top, from(#fa325a), to(#e51774)); background: -webkit-linear-gradient(left, #fa325a 0%, #e51774 100%); background: -o-linear-gradient(left, #fa325a 0%, #e51774 100%); background: linear-gradient(to right, #fa325a 0%, #e51774 100%); }

input.wpcf7-submit:hover,
.wp-block-search__button:focus,
.wp-block-search__button:hover,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:focus, .btn-primary:hover {background: #fa325a;background: -webkit-gradient(linear, left top, right top, from(#e51774), to(#fa325a));background: -webkit-linear-gradient(left, #e51774 0%, #fa325a 100%);background: -o-linear-gradient(left, #e51774 0%, #fa325a 100%);background: linear-gradient(to right, #e51774 0%, #fa325a 100%);opacity: .7;}

.boxarea {}
.boxarea .wpcf7-form-control-wrap {}
.boxarea .wpcf7-form-control-wrap .wpcf7-radio {display: flex;gap: 15px;margin: 0;}
.boxarea .wpcf7-form-control-wrap .wpcf7-radio .wpcf7-list-item {width: 100%;display: block;margin: 0;}
.boxarea .wpcf7-form-control-wrap .wpcf7-radio .wpcf7-list-item label {display: block;cursor: pointer;}
.boxarea .wpcf7-form-control-wrap .wpcf7-radio .wpcf7-list-item label input[type="radio"] {display: none;}
.boxarea .wpcf7-form-control-wrap .wpcf7-radio .wpcf7-list-item label .wpcf7-list-item-label {display: block;width: 100%;padding: .8em;text-align: center;border: 1px solid #bdc3be;border-radius: .3em;cursor: pointer;}
.boxarea .wpcf7-form-control-wrap .wpcf7-radio .wpcf7-list-item label input[type="radio"]:checked + .wpcf7-list-item-label { background:#78b531; color:#FFF; border-color:#79b531;}
.boxarea + p {font-weight:600;margin-bottom: 0;}

.safety_detail textarea,.license_detail textarea{height: 8em !important;}

@media(min-width:768px){
.flex.sc2 {display: flex;justify-content: space-between;}
.flex.sc2 dl {width: 49%;margin: .5em 0 0;}
}
@media(max-width:768px){
.formbox .flex { display:block;}
.radiobm .wpcf7-list-item { width: 49%; padding: 0;position: relative;}
.radiobm .wpcf7-list-item +  .wpcf7-list-item{ margin-left:0;}
.radiobm .wpcf7-list-item:nth-child(n+3) {margin-top:.5em;}
.yesno .radiobm .wpcf7-list-item:nth-child(n+3) {margin-top:0;}
.radiobm .wpcf7-list-item-label {margin-left: .2em;}
.radiobm .wpcf7-list-item input + .wpcf7-list-item-label {}
.radiobm .wpcf7-list-item input + .wpcf7-list-item-label:before {}
}
@media(max-width:400px){
.radiobm .wpcf7-list-item { width:100%;}
.radiobm .wpcf7-list-item:nth-child(n+2) {margin-top:.5em;}
.yesno .radiobm .wpcf7-list-item:nth-child(n+2) {margin-top:0;}
}