@charset "UTF-8";

.hero_single {
    background: url(/img/contact/bg-hero_single.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.contact .contact_txt {
    margin-bottom: 65px;
    text-align: left;
}

.contact .tel {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 80px;
    font-weight: bold;
}

.contact .tel a {
    font-size: 50px;
    font-weight: 500;
}

.contact .tel {
    font-size: 16px;
}


/* フォーム */

.form {
    background: #0097BA;
    border-radius: 20px;
    padding: 90px 100px;
    max-width: 86%;
    margin: 0 auto;
    max-width: 1160px;
}

.form .sec_ttl {
    color: #fff;
    margin-bottom: 100px;
}

.form .sec_ttl::after {
    background: #fff;
}

.form_body dl {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.form_body dl dt {
    width: 180px;
    color: #fff;
}

.form_body dl dd {
    flex: 1;
}

.form_body dl.-req dt {
    position: relative;
}

.form_body dl.-req dt::after {
    content: '必須';
    position: absolute;
    right: 0;
    transform: translateY(50%);
    bottom: 50%;
    color: #F0DE00;
    font-size: 12px;
    font-weight: bold;
}

.form_body dl dd input[name="company"],
.form_body dl dd input[name="your-name"],
.form_body dl dd input[name="email"],
.form_body dl dd input[name="tel"],
.form_body dl dd input[name="number"],
.form_body dl dd input[name="address"],
.form_body dl dd textarea {
    background: #fff;
    border-radius: 5px;
    padding: 10px 10px;
}

.form_body dl dd input[name="company"],
.form_body dl dd input[name="your-name"],
.form_body dl dd input[name="email"],
.form_body dl dd input[name="tel"],
.form_body dl dd input[name="address"],
.form_body dl dd textarea {
    width: 100%;
}

.form_body dl dd input[name="number"] {
    margin-bottom: 20px;
    width: 260px;
}

.form_body dl dd input[type="radio"],
input[type="checkbox"] {
    all: revert;
    border: none;
}

.wpcf7-form-control .wpcf7-list-item.first {
    margin-left: 0;
}

.contact_number span {
    color: #fff;
    font-size: 20px;
}


.privacy {
    margin: 60px 0 50px;
    padding: 30px 40px;
    height: 260px;
    overflow: scroll;
    background: #fff;
    border-radius: 5px;
}

.privacy_ttl {
    margin-bottom: 15px;
}

.privacy_intro {
    margin-bottom: 20px;
}

.privacy_list dl {
    margin-bottom: 1em;
}

.privacy_list dl dt {
    color: #0097BA;
    margin-bottom: 3px;
}

.contact_submit_agree {
    text-align: center;
    margin-bottom: 50px;
}

.wpcf7-list-item-label {
    color: #fff;
}

.contact_submit_btn p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 30px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    color: #0097BA;
    font-size: 22px;
    transition-duration: 0.5s;
}

.contact_submit_btn p:hover {
    background: #004C5D;
    color: #fff;
    cursor: pointer;
}

.contact_submit_btn p .cmn_btn {
    transition-duration: 0.5s;
}

.contact_submit_btn p:hover .cmn_btn {
    background: #fff;
}

.contact_submit_btn p:hover .cmn_btn::after {
    background: url(/img/cmn/icon-arrow_hover.svg);
    background-size: cover;
    background-repeat: no-repeat;
    left: 60px;
}

.wpcf7-response-output {
    color: #fff;
}

.contact_submit .wpcf7-form-control .wpcf7-list-item {
    margin-left: 0 !important;
}




@media screen and (max-width:767px) {

    .hero_single {
        background: url(/img/contact/bg-hero_single_sp.png);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
    
    .contact .tel {
        flex-flow: column;
        gap: 0;
        align-items: start;
        margin-bottom: 20px;
    }

    .contact .tel a {
        font-size: 40px;
    }

    .form {
        padding: 43px 25px;
        max-width: 100%;
    }

    .form .sec_ttl {
        margin-bottom: 30px;
    }

    .form_body dl {
        flex-flow: column;
        gap: 10px;
        align-items: start;
    }

    .form_body dl dt {
        width: fit-content;
    }

    .form_body dl.-req dt::after {
        right: -30px;
    }

    .wpcf7-form-control .wpcf7-list-item:nth-child(3) {
        margin-left: 0;
    }

    .privacy {
        padding: 20px 15px;
        font-size: 13px;
    }

    .contact_submit_btn p {
        font-size: 18px;
        padding: 30px 20px ;
    }

    .wpcf7-spinner {
        display: none !important;
    }

    .wpcf7-list-item {
        font-size: 15px;
        margin-left: 2em !important;
    }

    .wpcf7-form-control .wpcf7-list-item.first,
    .wpcf7-form-control .wpcf7-list-item:nth-child(3) {
        margin-left: 0 !important;
    }

    .wpcf7-list-item {
        width: 40%;
    }

    /* .wpcf7-form-control .wpcf7-list-item {
        margin-left: 0 !important;
    } */
    
}