.contact_form h2{
    font-size: 28px;
    margin-bottom: 40px;
}
.form{
    background: #fff6dc;
    padding: 45px 40px;
    margin-bottom:100px;
    border-radius: 30px;
    margin-top: 50px;
}
.form table{
    width: 100%;
}
.form table th{
    font-size: 20px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    width: 317px;
}
.form table th .hissu{
    background: var(--site-secondary);
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    border-radius: 6px;
    padding: 3px 15px 5px;
}
.form table td{
    padding: 20px 0;
    width: 63%;
}
.form table td input{
    border: none;
    background: #fff;
    border-radius: 10px;
    padding: 20px 25px;
}
.name{
    width: 430px;
}
.zip-box label{
    margin-right: 10px;
}
.zip-box input{
    margin-bottom: 20px;
    width: 257px;
}
.pref-select{
    position: relative;
}
.pref-select::after{
    content: '';
    background: url(../img/common/down_arrow.svg)no-repeat center top;
    background-size: contain;
    width: 13px;
    height: 11px;
    position:absolute;
    top:35%;
    left:38%;
    transform:translateY(-50%);
}
.pref-select select{
    width: 257px;
    border: none;
    border-radius: 10px;
    padding:20px 25px;
    margin:0 0 20px 31px;
}

.pref-select select{
    appearance: none;
}

.addr-box{
    margin-left: 31px;
}

::placeholder {
    color: #a7a7a7;
    font-size: 18px;
  }
.call_num{
    width: 340px;
  }
.mail-address{
    width: 100%;
}
textarea{
    border: none;
    border-radius: 10px;
    width: 100%;
    padding: 20px;
}
#form_btn .btn_color input[type="submit"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: var(--site-primary);
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
  }
#form_btn{
    margin: 30px auto 10px;
    max-width: 291px;
    text-align: center;
}
#form_btn .btn_color{
    display: inline-block;
    border-radius: 50px; 
    
    font-weight: bold;
    cursor: pointer;
    padding: 10px 40px;
    background: var(--site-primary);
    color: #ffffff; 
    transition: .3s;
    box-shadow: 0px 6px 0px #d77575;
    border: none;
    width: 100%;
    position: relative;
  }
  #form_btn .btn_color::after{
    content: '';
    background: url(../img/top/arrow-right-white.svg) center no-repeat;
    background-size: contain;
    position: absolute;
    width: 13px;
    height: 11px;
    top: 50%;
    right: 20px;
    -webkit-transform: translate(0px, -50%);
    transform: translate(0px, -50%);
  }

/*contact form7 css*/
form.invalid .wpcf7-response-output{
    padding: 20px!important;
    border-radius: 10px!important;
}
div.wpcf7 .wpcf7-spinner{
    display: none!important;
}
#autozip{
    display: none!important;
}
@media only screen and (max-width: 1024px) {
    .form table th{
        width: 100%;
        font-size: clamp(16px, 1.8vw, 18px);
    }
    .form table th .hissu{
        font-size: clamp(16px, 1.8vw, 18px);
    }
    .form table td{
        padding-left: 20px;
        width: 60%;
    }
    .addr-box input{
        width: 100%;
    }
    .pref-select::after{
        left: 250px;
    }
}

@media only screen and (max-width: 960px) {
    .form table th{
        width: 220px;
    }
    .form table td{
        width: 50%;
    }
    .form table td input,
    .name{
        width: 100%;
    }
    .form table td .zip-box input{
        width: 70%;
    }

}

@media only screen and (max-width: 568px) {
    .contact_form h2{
        font-size: 20px;
        line-height: 1.5;
        text-align: left;
        margin-bottom: 20px;
    }
    .contact_form p{
        text-align: left;
    }
    .form{
        padding: 20px;
        margin:20px 0 30px;
    }
    .form table th,
    .form table td{
        display: block;
        width: 100%;
    }
    .form table td{
        width: 100%;
        padding: 10px 0;
    }
    .form table th .hissu{
        margin-left: 30px;
        padding:0 10px 2px;
    }
    .contact_form .form p{
        text-align: center;
    }
    ::placeholder {
        font-size: 16px;
      }
}
