#form_wrap {
    font-size: 16px;
}
#form_wrap .check input , #form_wrap .radio input {
    margin-right: 5px;
}
#form_wrap .contact_txt {
    text-align: center;
}
#form_wrap {
}
#form_wrap .footer_bottom {
    padding-bottom: 20px !important;
}
#form_wrap h3 {
    text-align: center;
    margin-bottom: 20px;
}
#form_wrap .privacy_link a {
    color: #000;
}

/* media query : mobile
---------------------------------------------*/
@media screen and (max-width: 768px) {
    .sp_mr {
        margin-top: 10px !important;
    }
    .form {
        width: auto;
        box-sizing: border-box;
    }
    .form .title {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        width: 100vw;
        height: 220px;
        text-align: center;
        margin: 0 calc(50% - 50vw) 50px;
        background-color: rgba(255, 255, 255, 0.6);
    }
    .form .title:after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url(../../assets/img/property-intro_title_bg.jpg) no-repeat;
        background-size: cover;
        background-position: center bottom 30%;
        z-index: -1;
    }
    .form .title h2 {
        font-size: 1.9rem;
        margin-bottom: 0;
    }
    .form form {
        margin-top: 30px;
    }
    .form .input-wrap {
        padding-bottom: 25px;
        margin-bottom: 20px;
        border-bottom: 1px solid #e3e3e3;
    }
    .form .input-wrap:first-of-type {
        padding-top: 20px;
        border-top: 1px solid #e3e3e3;
        border-bottom: 1px solid #e3e3e3;
    }
    .form .input-wrap label {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: justify;
        width: 100%;
        margin-bottom: 10px;
        box-sizing: border-box;
    }
    .form .input-wrap label .required {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 21px;
        font-size: 0.8rem;
        color: #fff;
        padding: 3px 7px;
        background-color: #BB0115;
        border-radius: 2px;
    }
    .form .input-wrap div.input {
        display: flex;
        width: 100%;
        box-sizing: border-box;
    }
    .form .input-wrap div.input input::placeholder {
        font-size: 1rem;
    }
    .form .input-wrap div.input > input,
    .form .input-wrap div.input > textarea {
        width: 100%;
        font-size: 1rem;
        padding: 15px;
        box-sizing: border-box;
    }
    .form .input-wrap div.input div {
        display: flex;
        width: 50%;
    }
    .form .privacy_02 .input-wrap div.input div {
        width: 100% !important;
    }
    .form .input-wrap div.input select {
        width: 100%;
        min-height: 55px;
        font-size: 1rem;
        padding: 15px;
        box-sizing: border-box;
    }
    .form .input-wrap div.input select option {
        padding: 3px 7px;
    }
    .form .form-submit_button {
        margin-top: 40px;
    }
    .form .button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 220px;
        height: 59px;
        font-size: 1rem;
        color: #fff;
        border-radius: 10px;
        margin-left: auto;
        margin-right: auto;
        border: 0 !important;
        background-color: #D70019;
        filter: drop-shadow(0 5px 0 rgb(128, 0, 15, 1));
        border: 0;
    }

    .form dl.confirm {
        display: flex;
        flex-wrap: wrap;
        box-sizing:border-box !important;
        margin-top: 30px;
    }
    .form dl.confirm dt,
    .form dl.confirm dd {
        display: flex;
        box-sizing:border-box !important;
        margin: 0 !important;
        flex-wrap: wrap;
        padding: 25px 0;
        border-bottom: 1px solid #e3e3e3;
        box-sizing: border-box;
    }
    .form dl.confirm dt:first-of-type,
    .form dl.confirm dd:first-of-type {
        border-top: 1px solid #e3e3e3;
        border-bottom: 1px solid #e3e3e3;
    }
    .form dl.confirm dt {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 30%;
        box-sizing: border-box;
    }
    .form dl.confirm dd {
        width: 70%;
        padding-left: 15px;
        box-sizing: border-box;
        margin-left: 0 !important;
    }
    .form .form-submit_button {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .form p.form-submit_button .button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: calc(50% - 7.5px);
        height: 59px;
        font-size: 1rem;
        color: #fff;
        border-radius: 10px;
        background-color: #D70019;
        filter: drop-shadow(0 5px 0 rgb(128, 0, 15, 1));
    }
    dd {
        margin-inline-start: 0 !important;
    }

    .form.complete .content {
        max-width: 780px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    } 
    .form .return_button {
        margin-top: 40px;
    }
    .form .return_button a {
        color: #fff;
    }
}

/* media query : desktop
---------------------------------------------*/
@media screen and (min-width: 769px) {
    .form {
        margin: 0 auto;
    }
    .form form {
        margin-top: 50px;
    }
    .form .input-wrap {
        display: flex;
        padding-bottom: 25px;
        margin-bottom: 25px;
        border-bottom: 1px solid #e3e3e3;
    }
    .form .input-wrap:first-of-type {
        padding-top: 25px;
        border-top: 1px solid #e3e3e3;
        border-bottom: 1px solid #e3e3e3;
    }
    .form .input-wrap label {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: justify;
        width: 210px;
        padding: 0 15px;
        box-sizing: border-box;
    }
    .form .input-wrap label .required {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 23px;
        font-size: 0.8rem;
        color: #fff;
        padding: 3px 7px;
        background-color: #BB0115;
        border-radius: 2px;
    }
    .form .input-wrap div.input {
        display: flex;
        flex: 1;
        padding: 0 15px;
        box-sizing: border-box;
    }
    .form .input-wrap div.input input::placeholder {
        font-size: 1rem;
    }
    .form .input-wrap div.input > input,
    .form .input-wrap div.input > textarea {
        width: 100%;
        font-size: 1rem;
        padding: 18px;
        box-sizing: border-box;
    }
    .form .input-wrap div.input div {
        display: flex;
        width: 33.33%;
    }
    .form .privacy_02 .input-wrap div.input div  {
        width: 100%;
        align-items: center!important;
    }
    .form .input-wrap div.input select {
        /* width: 33.33%; */
        min-height: 60px;
        font-size: 1rem;
        padding: 18px;
        box-sizing: border-box;
    }
    .form .input-wrap div.input select option {
        padding: 3px 7px;
    }
    .form div.form-submit_button {
        margin-top: 50px;
    }
    .form .button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 255px;
        height: 64px;
        font-size: 1rem;
        color: #fff;
        border-radius: 10px;
        border:0 !important;
        margin-top: -5px;
        margin-left: auto;
        margin-right: auto;
        background-color: #D70019;
        filter: drop-shadow(0 5px 0 rgb(128, 0, 15));
        border: 0;
        border-color: #00498a !important;
        transition: all 0.3s ease;
    }
    .form .button:hover {
        margin-top: 0;
        margin-bottom: -5px;
        filter: drop-shadow(0 0 0 rgb(128, 0, 15, 1));
        cursor: pointer;
    }

    .form dl.confirm {
        display: flex !important;
        flex-wrap: wrap;
        margin-top: 50px;
    }
    .form dl.confirm dt,
    .form dl.confirm dd {
        padding: 35px 15px;
        border-bottom: 1px solid #e3e3e3;
        box-sizing: border-box !important;
        margin-left: 0 !important;
    }
    .form dl.confirm dt:first-of-type,
    .form dl.confirm dd:first-of-type {
        border-top: 1px solid #e3e3e3;
        border-bottom: 1px solid #e3e3e3;
    }
    .form dl.confirm dt {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        width: 25%;
        box-sizing: border-box !important;
    }
    .form dl.confirm dd {
        width: 75%;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        text-align: start;
    }
    .form .form-submit_button {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 550px;
        margin-left: auto;
        margin-right: auto;
    }

    .form.complete .content {
        max-width: 780px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    } 
    .form .return_button {
        margin-top: 50px;
    }
    .form .return_button a {
        color: #fff;
    }
}


input[type="submit"] {
    border: 0;
    box-shadow: 0;
}
input[type="button"] {
    border: 0;
    box-shadow: 0;
}
.form div.validation-error {
    display: block;
    color: #d00303;
    text-align: justify;
    padding-left: 10px;
}
.form .error-message {
    background-color: #efefef;
    color: #d00303;
}
#form_wrap input , #form_wrap textarea , #form_wrap select {
    border: 1px solid #2E2722;
}

#form_wrap .btn {
    border: 3px solid #D70019;
    border-radius: 10px;
    color: #D70019;
    margin: 5rem auto 0 auto;
    text-align: center;
    display: block;
    width: 100%;
    max-width: 300px;
    padding: 1rem 0;
    text-decoration: none !important;
}
#form_wrap .btn:hover {
    color: #fff;
    background-color: #D70019;
}

#header_contact {
    text-align: center;
    padding: 50px;
    margin: 0 20px;
}
#header_contact h1 {
    line-height: 0;
    margin: 0;
}

.privacy_01 , .privacy_02 {
    text-align: justify;
    padding-bottom: 1rem;
}
.error-message {
    list-style: none;
    padding: 1rem;
}
@media screen and (max-width: 768px) {
    .calendar_gap{
        margin-bottom: 1rem;
    }
}