#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 .footer_bottom {
    padding-bottom: 20px !important;
}
#form_wrap h3 {
    text-align: center;
    margin-bottom: 20px;
}

/* media query : mobile
---------------------------------------------*/
@media screen and (max-width: 768px) {
    .sp_mr {
        margin-top: 10px !important;
    }
    .form {
        width: auto;
        box-sizing: border-box;
        background-color: #fff;
    }
    .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 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: 70%;
        font-size: 1rem;
        padding: 15px;
        box-sizing: border-box;
    }
    .form .input-wrap div.input select.time_select {
        width: 100%;
    }
    .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: var(--mainColor);
        filter: drop-shadow(0 5px 0 rgb(153, 94, 0));
        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: var(--mainColor);
        filter: drop-shadow(0 5px 0 rgb(153, 94, 0));
    }
    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;
    }

    .form .input-wrap.radio_wrap div.input {
        display: block;
    }
    .form .input-wrap.radio_wrap div.input div {
        display: flex;
        align-items: center;
        width: auto !important;
        margin-bottom: 10px;
    }
    .form .input-wrap.radio_wrap div.input div input[type="radio"] {
        margin-right: 8px;
    }
    .form .input-wrap.radio_wrap div.input div label {
        padding: 0;
        margin-bottom: 0;
    }
    .form .contact_txt {
        text-align: left;
    }
    #form_wrap .contact_txt {
        text-align: left;
    }
}

/* 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 .input-wrap.radio_wrap div.input {
        display: block;
    }
    .form .input-wrap.radio_wrap div.input div {
        display: flex;
        align-items: center;
        width: auto !important;
        margin-bottom: 10px;
    }
    .form .input-wrap.radio_wrap div.input div input[type="radio"] {
        margin-right: 8px;
    }
    .form .input-wrap.radio_wrap div.input div label {
        padding: 0;
        margin-bottom: 0;
    }
    .form .privacy_02 .input-wrap div.input div {
        width: 100%;
        align-items: center;
    }
    .form .input-wrap div.input select {
        width: 33.33%;
        font-size: 1rem;
        padding: 18px;
        box-sizing: border-box;
    }
    .form .input-wrap div.input select.time_select {
        width: 100%;
    }
    .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: var(--mainColor);
        filter: drop-shadow(0 5px 0 rgb(153, 94, 0));
        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(153, 94, 0));
        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;
    }
    .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 var(--mainColor);
    border-radius: 10px;
    color: var(--mainColor);
    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: var(--mainColor);
}

#header_contact {
    text-align: center;
    padding: 30px;
    margin: 0 20px;
    background-color: white;
}
#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;
}

.sec_contact {
    background-color: #fcedd5;
    padding: 100px;
}

.contact_wrap {
    position: relative;
    padding: 20px;
    z-index: 1;
}

.contact_wrap .inner {
    border: 2px solid var(--mainColor);
    padding: 50px 20px;
    z-index: 1;
}

.privacy_checkbox {
    margin-right: 8px;
}

#footer {
    text-align: center;
    padding: 100px 0;
}

@media screen and (max-width: 768px) {
    .sec_contact {
        padding: 50px 0;
    }
    .contact_wrap {
        padding: 5px;
    }
    .contact_wrap .inner {
        padding: 20px;
    }
    #footer {
        padding-top: 30px;
    }
}

select.is_empty {
    color: gray;
}