@charset "UTF-8";

.confirm_wrap,
.thanks_wrap,
.wpcf7-response-output {
    display: none;
}

.contact_container {
    background: linear-gradient(180deg, rgba(238, 244, 254, 1) 0%, rgba(219, 233, 255, 1) 100%);
    padding: 8rem 0 12rem;
}

.contact_container .wrapper {
    background-color: #fff;
    padding: 6rem 0 8rem;
}

.contact_container .contact_text {
    font-size: 1.6rem;
    line-height: 2;
    margin-bottom: 5rem;
}

.table_contact {
    line-height: 1.5;
    margin-bottom: 4rem;
    width: 100%;
}

.table_contact * {
    letter-spacing: normal;
}

.confirm_wrap, .thanks_wrap, .wpcf7-response-output {
    display: none;
}

.table_contact tr {
    display: flex;
    flex-wrap: wrap;
    column-gap: 3rem;
    align-items: center;
    padding: 2rem 0;
    border-bottom: 1px solid #ccc;
    row-gap: 2rem;
}

.table_contact th {
    width: 27rem;
    text-align: left;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.table_contact td {
    width: calc(100% - 30rem);
    font-size: 1.6rem;
}

.table_contact th.required:after {
    content: "\5FC5\9808";
    display: block;
    padding: .3rem 1.4rem;
    font-size: 1.6rem;
    font-weight: 500;
    color: #c00;
    border: 1px solid #c00;
}

.table_contact input[type="text"], .table_contact input[type="tel"], .table_contact input[type="email"], .table_contact textarea {
    width: 100%;
    padding: 1rem;
    line-height: 1.5;
    font-size: 1.6rem;
    background-color: #fff;
    border: 1px solid #ccc;
}

.table_contact ::placeholder {
    color: #ccc;
}

.table_contact .wpcf7-checkbox {
    display: flex;
    flex-wrap: wrap;
    column-gap: 3rem;
    row-gap: 1rem;
}

.table_contact .wpcf7-checkbox .wpcf7-list-item.last {
    display: flex;
    width: 100%;
    align-items: center;
    column-gap: 3rem;
}

.table_contact .wpcf7-checkbox .wpcf7-list-item.last input[type="text"] {
    width: 40rem;
}

.table_contact .wpcf7-checkbox .wpcf7-list-item.last input[type="text"][disabled] {
    background-color: #f5f5f5;
}

.policy_consent {
    display: flex;
    justify-content: center;
    font-weight: 500;
    font-size: 1.8rem;
    margin: 4rem auto 3rem;
}

.policy_consent a {
    display: inline;
    color: #f99d25;
    text-decoration: underline;
}

.policy_consent label {
    display: flex;
    align-items: center;
    column-gap: 1rem;
}

.policy_consent input {
    transform: scale(1.5);
    margin-top: .3rem;
}

.submit_btn {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 4rem;
    row-gap: 2rem;
    padding: 0 2rem;
}

.submit_btn .confirm_button {
    width: 33rem;
    max-width: 33rem;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    line-height: 3;
    background-color: #445c7d;
    cursor: pointer;
    border: none;
    transition: opacity .2s;
}

.submit_btn .back_button {
    width: 33rem;
    max-width: 33rem;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    line-height: 3;
    background-color: #aaa;
    cursor: pointer;
    border: none;
}

.submit_btn .confirm_button:hover,
.submit_btn .back_button:hover {
    opacity: .8;
}

.submit_btn .confirm_button[disabled] {
    background-color: #ccc;
    cursor: initial;
    opacity: 1 !important;
}

.thanks_text {
    line-height: 2;
    text-align: center;
}

.thanks_text+.thanks_text {
    margin-top: 2em;
}

.thanks_btn {
    justify-content: center;
    margin-top: 5rem;
}

@media (max-width:767px) {
    .contact_container {
        padding: 4rem 0 8rem;
    }

    .contact_container .wrapper {
        padding: 3rem 0 6rem;
    }

    .table_contact {
        padding: 0;
    }

    .table_contact th {
        width: 100%;
        font-size: 1.6rem;
    }

    .table_contact td {
        width: 100%;
    }

    .table_contact .wpcf7-checkbox .wpcf7-list-item.last input[type="text"] {
        width: 20rem;
    }

    .text_wrap {
        padding: 5rem 0;
    }

    .policy_consent label {
        column-gap: 3rem;
    }

    .wpcf7-list-item {
        margin-left: 0;
    }

    .thanks_text {
        text-align: left;
    }
}