@charset "UTF-8";

.contact_hl {
    font-size: 4rem;
    margin-bottom: 3rem;
    letter-spacing: .15em;
    text-align: center;
    color: #236926;
}

.contact_text {
    font-size: 1.8rem;
    line-height: 2.67em;
    text-align: center;
    margin-bottom: 3rem;
}

.confirm_wrap,
.thanks_wrap,
.wpcf7-response-output {
    display: none;
}

.wpcf7-list-item {
    margin: 0;
}

.form_wrap {
    margin: 0 auto;
    width: 980px;
    max-width: 100%;
}

.form_wrap table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.8rem;
}

.form_wrap table th {
    min-width: 30rem;
    border: 1px solid #d5d5d5;
    background-color: #f8f8f4;
    padding: 2rem 9rem 2rem 1rem;
    text-align: right;
    position: relative;
}

.form_wrap table th.required:after {
    content: "\5FC5\9808";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 2rem;
    margin: auto 0;
    font-size: 1.8rem;
    padding: 0 .8rem;
    border-radius: 4px;
    border: 1px solid #98121c;
    color: #98121c;
    height: 1.5em;
}

.form_wrap table td {
    border: 1px solid #d5d5d5;
    padding: 2rem;
}

.form_wrap input[type="text"],
.form_wrap input[type="email"],
.form_wrap input[type="tel"] {
    width: 100%;
    height: 42px;
    line-height: 1.5;
    padding: 0 1em;
    border: 1px solid #b2b2b2;
    border-radius: 4px;
}

.form_wrap select {
    width: 20rem;
    height: 42px;
    border: 1px solid #b2b2b2;
    border-radius: 4px;
    padding: 0 .8em;
}

.form_wrap textarea {
    width: 100%;
    line-height: 1.5;
    padding: 1em;
    border: 1px solid #b2b2b2;
    border-radius: 4px;
}

.form_wrap .wpcf7-checkbox,
.form_wrap .wpcf7-radio {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 5rem;
    row-gap: 1rem;
}

.form_wrap .wpcf7-checkbox input[type="checkbox"],
.form_wrap .wpcf7-radio input[type="radio"] {
    position: absolute;
    visibility: hidden;
    opacity: 0;
}

.form_wrap .wpcf7-checkbox label .wpcf7-list-item-label,
.form_wrap .wpcf7-radio label .wpcf7-list-item-label {
    position: relative;
    padding: 0 0 0 1.5em;
}

.form_wrap .wpcf7-radio .wpcf7-list-item-label:before {
    content: "";
    width: 1.1em;
    height: 1.1em;
    position: absolute;
    top: .1em;
    left: 0;
    bottom: 0;
    margin: auto 0;
    border-radius: 50%;
    border: 1px solid #b2b2b2;
}

.form_wrap .wpcf7-radio .wpcf7-list-item-label:after {
    content: "";
    width: .6em;
    height: .6em;
    position: absolute;
    top: .1em;
    left: 0;
    bottom: 0;
    margin: auto calc(.25em + 1px);
    border-radius: 50%;
    background-color: #236926;
    opacity: 0;
    transition: .1s;
}

.form_wrap .wpcf7-radio input[type="radio"]:checked+.wpcf7-list-item-label:after {
    opacity: 1;
}

.form_wrap .wpcf7-free-text {
    width: 100px;
}

.form_wrap #zip {
    width: 6.1em;
}

.form_wrap #zip1 {
    width: 8.9em;
}

.form_wrap .address_yubin {
    display: flex;
    align-items: center;
    column-gap: .8rem;
    margin-bottom: 1.8rem;
}

.form_wrap .address_region {
    margin-bottom: 1.8rem;
}

.form_wrap .policy_consent {
    margin: 4rem 0;
    text-align: center;
}

.form_wrap .policy_text {
    font-size: 1.8rem;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 3.6rem;
}

.form_wrap .policy_text a {
    display: inline;
    color: #236926;
    text-decoration: underline;
}

.form_wrap .policy_consent #accept {
    transform: scale(1.2);
    margin-right: .5rem;
}

.form_wrap .submit_btn {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
}

.form_wrap .submit_btn .confirm_button {
    width: 40rem;
    border-radius: 100px;
    background-color: #f07a36;
    position: relative;
    padding: 1.6rem 3rem;
    font-size: 2rem;
    text-align: center;
    color: #fff;
    letter-spacing: .08em;
    border: 2px solid #f07a36;
    transition: .2s;
    background-image: url(../img/common/arrow_2.svg);
    background-repeat: no-repeat;
    background-size: 1rem;
    background-position: right 2rem center;
    max-width: 100%;
}

.form_wrap .submit_btn .confirm_button:hover {
    background-image: url(../img/common/arrow_3.svg);
}

.form_wrap .submit_btn .confirm_button:hover {
    color: #f07a36;
    background-color: #fff;
}

.wpcf7-spinner {
    display: none;
}

.form_wrap .submit_btn .back_button {
    width: 40rem;
    border-radius: 100px;
    background-color: #888;
    position: relative;
    padding: 1.6rem 3rem;
    font-size: 2rem;
    text-align: center;
    color: #fff;
    letter-spacing: .08em;
    border: 2px solid #888;
    transition: .2s;
    max-width: 100%;
}

.form_wrap .submit_btn .back_button:hover {
    color: #888;
    background-color: #fff;
}

@media (max-width:767px) {
    .contact_hl {
        font-size: 2.6rem;
    }

    .contact_text {
        font-size: 1.6rem;
    }

    .form_wrap table {
        font-size: 1.6rem;
    }

    .form_wrap table th,
    .form_wrap table td {
        width: 100%;
        display: block;
        min-width: 0;
    }

    .form_wrap table th {
        text-align: left;
        padding: 1rem 9rem 1rem 2rem;
    }

    .form_wrap table td {
        padding: 2rem 1.5rem;
    }

    .form_wrap .policy_text {
        font-size: 1.6rem;
    }
}