/*=============================

form専用CSS

=============================*/

.p-contact-require--any {
    background: #CFCFCF !important;
}
/*=============================
任意色追加
=============================*/
.form{
    background: #FFF;
}
.form__ttl{
    text-align: center;
    font-size: clamp(30px,5vw,48px);
}
table{
    border-collapse: collapse;
}
tr{
    border-bottom: 1px dotted #5c5c5c;
}
th{
    width: 40%;
    padding: 10px;
    font-size: clamp(16px,3vw,24px);
	background: #f5f5f5;
}
td{
    width: 60%;
    padding: 10px;
}
input{
    background: #FAECEC;
    border: solid 1px #CDD6DD;
    width: 100%;
    font-size: clamp(16px,2vw,20px);
}
.p-contact-require{
    background: #f77fba;
    color: #ffffff;
    padding: 0px 5px;
}
.p-contact__box{
    margin: 30px auto 0px;
    font-weight: bold;
    padding-top: 30px;
    border-top: 1px dotted #5c5c5c;
    text-align: center;
}
.p-contact__box input{
    width: clamp(30%,3vw,50%);
    padding: clamp(10px,2vw,30px);
    font-size: clamp(20px,3vw,28px);
    color: #000000;
}
.p-contact_lead01 p{
    font-size: clamp(16px,3vw,20px);
}
.contact_day-contents,
.contact_time-contents{
    margin-bottom: 10px;
}
.contact_day-contents select,
.contact_time-contents select{
    font-size: 24px;
    background: #ffffff;
}

.contact_time-contents {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.contact_time-contents::after {
    position: absolute;
    right: 15px;
    width: 10px;
    height: 7px;
    background-color: #535353;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
    pointer-events: none;
}
.mwform-tel-field input{
        width: 25%!important;
    }

.contact_time-contents select {
    appearance: none;
    min-width: 230px;
    padding: .4em calc(.8em + 30px) .4em .8em;
    border: 1px solid #cccccc;
    border-radius: 3px;
    background-color: #fff;
    color: #333333;
    cursor: pointer;
    font-size: clamp(16px,1vw,20px);
}
@media screen and (max-width:750px) {
    th{
        padding: 5px;
        font-size: 13px;
		background: #f5f5f5;
    }
}
textarea{
    margin-top: 20px;
    width: 100%;
    background: #ffffff;
    font-size: 16px;
    height: 200px;
    border:1px solid #000000;
}
label{
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin-top: 20px;
    padding: 0;
}
label span{
    width: 40%!important;
    text-align: center;
    font-size: clamp(16px,3vw,24px);
}
label input{
    width:60%;
}
label input[type=checkbox] {
    transform: scale(0.8);
}

	.horizontal-item input[type=radio]~.mwform-radio-field-text,
	.horizontal-item input[type=checkbox]~.mwform-checkbox-field-text {
    -webkit-align-items: center;
    align-items: center;
    background: #fff;
    border: 1px solid #cfcfcf;
    border-radius: 4px;
    box-sizing: border-box;
    cursor: pointer;
    display: -webkit-flex;
    display: flex;
    font-size: 15px;
    height: 100%;
    -webkit-justify-content: center;
    justify-content: center;
    line-height: 1.5;
    padding: 8px 0;
    position: relative;
    text-align: center;
    transition: all .2s ease;
    width: 100%;
}
.horizontal-item input[type=radio]~.mwform-radio-field-text:before,
.horizontal-item input[type=checkbox]~.mwform-checkbox-field-text:before {
    background: #d8d8d8;
    border: 1px solid #cfcfcf;
    border-radius: 10px;
    bottom: 0;
    height: 16px;
    left: 10px;
    margin: auto 0;
    top: 0;
    width: 16px;
}
.horizontal-item input[type=radio]~.mwform-radio-field-text:after,
.horizontal-item input[type=checkbox]~.mwform-checkbox-field-text:after {
    background: #fff;
    border-radius: 10px;
    bottom: 0;
    height: 8px;
    left: 14px;
    margin: auto 0;
    top: 0;
    width: 8px;
}
.horizontal-item input[type=radio]~.mwform-radio-field-text:after,
.horizontal-item input[type=radio]~.mwform-radio-field-text:before,
.horizontal-item input[type=checkbox]~.mwform-checkbox-field-text:after,
.horizontal-item input[type=checkbox]~.mwform-checkbox-field-text:before {
    content: "";
    display: block;
    position: absolute;
    transition: all .2s ease;
}
.horizontal-item input[type=radio]:checked~.mwform-radio-field-text:after,
.horizontal-item input[type=checkbox]:checked~.mwform-checkbox-field-text:after {
    background-color: #ab9584;
}
.mwform-radio-field.horizontal-item label input,
.mwform-checkbox-field.horizontal-item label input{
	display: none;
}
.horizontal-item input[type=radio]:checked~.mwform-radio-field-text,
.horizontal-item input[type=checkbox]:checked~.mwform-checkbox-field-text {
    background-color: #ab9584;
    border-color: #ab9584;
    color: #fff;
}
.p-contact-data__contents div small{
	font-size: 60%;
}
.form__ttl{
	border-bottom: 1px dotted #5c5c5c;
}
input {
    font-size: clamp(16px,1vw,20px);
}
label:has(#mwform-checkbox-agreement-1) {
	justify-content: center;
	padding-bottom: 10px;
}
.mw_wp_form .error{
    font-size: clamp(14px,2vw,18px);
    font-weight: bold;
}
input[name="__children[mwf_agreement][]"]+span{
    text-align: center;
}

.mwform-checkbox-field-text{
    margin: 0 auto;
}