.contact_page {
    padding-top: 60px;
    width: 100%;
    /* max-width: 1260px; */
    margin: 0 auto;
}

.contact_page::after {
    content: '';
    position: absolute;
    background-image: url(../img/company/bg_company_top.jpg);
    max-height: 880px;
    width: 46%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    top: 0;
    right: 0vw;
    background-repeat: no-repeat;
    z-index: -100;
}

.wrap_contact_top {
    position: relative;
}

.wrap_contact_top::before {
    content: '';
    position: absolute;
    background-image: url(../img/contact/bg_contact.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    width: 100vw;
    height: 100vw;
    top: 0vw;
    z-index: -1;
}

.col_contact_top {
    width: 87%;
    max-width: 1260px;
    margin: 0 auto;
    position: relative;
}


.deco .deco_contacttop {
    width: 128px;
    height: 150px;
    overflow: hidden;
    background-image: url(../img/company/deco_water_companytop.svg);
    background-repeat: no-repeat;
    position: absolute;
    background-size: 95%;
    top: -20px;
    left: 44%;
    margin-left: 0;
    z-index: -1;
}

.contact_page .ttl_contact {
    max-width: 356px;
    margin: 65px 0 0 0;
    letter-spacing: -13px;
}

.contact_page .ttl_contact img {
    transform: translateX(-12px);
}

.contact_page .ttl_contact .ja {
    margin: 15px 0 0 0px;
    letter-spacing: 1.3px;
    font-size: 17px;
}

.contact_page .ttl_contact .ja {
    position: relative;
}

.contact_page .ttl_contact .ja:has(span.active)::after {
    content: '';
    position: absolute;
    width: 41px;
    height: 1px;
    background-color: #000;
    top: 50%;
    left: 123px;
    animation: opac 2s both;
    opacity: 0;
}

@keyframes opac {
    0% {
        opacity: 0;
    }

    20% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.col_contact_top .flex_box {
    display: flex;

}

.col_contact_top .flex_box .left {
    width: 47%;
}

.col_contact_top .flex_box .left .leftarea_top {
    border-bottom: 1px solid #c5c6c6;
}

.col_contact_top .flex_box .left .contact_top_txt {
    max-width: 479px;
    margin: 45px 0 40px 0;
}

.col_contact_top .flex_box .right {
    width: 48%;
    margin: 0 0 0 5%;
}

.leftarea_bottom .mds,
.leftarea_bottom .tel {
    font-size: 20px;
    font-weight: bold;
    color: #004182;
}


.leftarea_bottom .mds {
    margin: 0 1em 0 0;
    position: relative;
}

.leftarea_bottom .mds::before {
    content: '';
    position: absolute;
    background-image: url(../img/contact/icon_tel.svg);
    width: 22px;
    height: 22px;
    top: 5px;
    left: -27px;
}

.leftarea_bottom {
    max-width: 479px;
    margin: 30px 0px 0 35px;
}

.leftarea_bottom .recept {
    position: relative;
    margin: 15px 0 0 0;
    padding: 0 0 0 16px;
}

.leftarea_bottom .recept::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 100%;
    background-color: #004182;
    left: -2px;
}

.col_contact_top .flex_box .right_flex {
    display: flex;
}

.col_contact_top .flex_box .right .img1 {
    max-width: 142px;
    transform: translateY(-6%);
}

.col_contact_top .flex_box .right .img2 {
    max-width: 142px;
    transform: translateY(-31%);
    margin: 0 23px;
}

.col_contact_top .flex_box .right .img3 {
    max-width: 142px;
    transform: translateY(-16%);
}

#btn_scroll {
    position: absolute;
    right: 45px;
    top: 90%;
    max-height: 50px;
    text-decoration: none;
    transform: rotate(90deg);
    font-size: 90%;
    line-height: 1.5rem;
    color: #140000;
}

#btn_scroll a {
    color: #0090df;
}

#btn_scroll a:hover {
    text-decoration: none;
}

#btn_scroll .arrow-right {
    color: #0090df;
    border-radius: 50%;
    border: solid 1px #0090df;
    background-color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-left: 16px;
    position: relative;
    overflow: hidden;
}

.arrow-right::before,
.arrow-right::after {
    content: "→";
    position: absolute;
    top: 1px;
    right: 7px;
    animation-fill-mode: both;
    animation-duration: 0.4s;
    font-size: 12px;
}

#btn_scroll .arrow-right::before,
#btn_scroll .arrow-right::after {
    top: 1.5px;
    right: 9px;
}


#btn_scroll:hover .arrow-right {
    background-color: #0090df;
    border: solid 1px #0090df;
    color: #fff;
    transition: 0.2s;
}

#btn_scroll:hover .arrow-right::before {
    animation-name: move_left_center;
    animation-delay: 0.2s;
}

#btn_scroll:hover .arrow-right::after {
    animation-name: move_center_right;
    animation-delay: 0.2s;
}

@keyframes move_left_center {
    0% {
        transform: translateX(-180%);
    }

    100% {
        transform: translateX(0);
    }
}

.form_wrap {
    position: relative;
}

.form_wrap::before {
    content: '';
    position: absolute;
    background-image: url(../img/contact/bg_contact2.svg);
    background-repeat: no-repeat;
    background-size: 150%;
    background-position: center;
    width: 100vw;
    height: 100vw;
    top: 40vw;
    z-index: -1;
}

.form {
    width: 90%;
    max-width: 1065px;
    margin: 90px auto 0;
    padding: 90px 0;
    background-color: rgba(255, 255, 255, 0.3);
    border: 1px solid #c5c6c6;
}

.wpcf7 form div.visible-only-if-invalid {
    display: none;
}

.wpcf7 form.invalid div.visible-only-if-invalid {
    display: block;
    text-align: center;
    color: #dc3232;
    width: 92%;
    margin: 0 auto;
}

.form_mds {
    text-align: center;
    margin: 0 0 60px 0;
}

.form_mds span {
    position: relative;
    color: #004182;
}

.form_mds span::before {
    position: absolute;
    content: '';
    background-image: url(../img/contact/icon_mail.svg);
    width: 27px;
    height: 27px;
    top: 4px;
    left: -32px;
}

.form_list {
    width: 710px;
    margin: 0 auto;
    padding: 0 65px 40px;
    border-bottom: 1.05px solid #c5c6c6;
}

.form_list dl {
    margin: 25px 0 0 0;
    padding: 0;
}


.form_list dt {
    font-size: 16px;
    font-weight: 500;
}


.form_list dt.border {
    padding: 0 0 5px 0;
    border-bottom: 1px solid #c5c6c6;
}

.form_list dt span.required {
    font-size: 12px;
    font-weight: 400;
    color: #ff0000;
}

.radio_flex {
    display: flex;
    margin: 5px 0 0 1%;
}

.form_list dd {
    margin: 0;
    padding: 0;
}

.radio_flex .form_radio {
    width: 39%;
}

.radio_flex .form_radio:last-child {
    width: 21%;
}

.form_list dd input[type="text"],
.form_list dd textarea {
    background-color: #fff;
    width: 100%;
    padding: 16px 12px 14px 12px;
    margin: 10px 0;
    font-family: 'Noto Sans JP', Meiryo, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 400;
    border: 1px solid #c5c6c6;
}

.wpcf7-form-control.wpcf7-radio .wpcf7-list-item {
    width: 30%;
    margin: 5px 0 0 0em;
}


.wpcf7 input[type="url"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"] {
    direction: ltr;
    padding: 16px 12px 14px 12px;
    margin: 10px 0;
    border: 1px solid #c5c6c6;
}

.form_list dd textarea:last-child {
    margin: 18px 0;
}

.form_list dd input[type="text"]::placeholder {
    color: #c5c6c6;
}

.form_list dd.address input[type="text"] {
    width: 220px;
    margin-left: 1em;
}

.checkbox_privacy {
    width: 90%;
    margin: 50px auto 0;
    text-align: center;
}

.checkbox_privacy a {
    color: #004182;
    text-decoration: underline;
}

.btnarea_contact {
    margin: 50px 0 0 0;
    padding: 0;
    text-align: center;
}

.btnarea_contact input {
    width: 90%;
    max-width: 190px;
    height: 52px;
    margin: 10px;
    background-color: #fff;
    padding: 0 3% 0 0;
    color: #000;
    border: 1px solid #0090df;
    cursor: pointer;
    font-size: 15px;
}

.btnarea_contact input:hover {
    background-color: transparent;
}

.btnarea_contact label {
    position: relative;
}

.btnarea_contact label span.arrow {
    position: absolute;
    background-image: url(../img/contact/contact_arrow.svg);
    background-repeat: no-repeat;
    top: 9px;
    left: 67%;
    width: 19px;
    height: 7.5px;
}


span.p-country-name {
    display: none;
}


span.wpcf7-spinner {
    display: none;
}

.wpcf7 form .wpcf7-response-output {
    display: none;
}

/*-------------------------deco----------------------*/

.deco.contact {
    position: relative;
    z-index: -1;
}

.deco_contact_pipe {
    width: 733px;
    height: 301px;
    overflow: hidden;
    background-image: url(../img/company/deco_pipe_project2.png);
    background-repeat: no-repeat;
    background-size: 100%;
    position: absolute;
    top: -70px;
    left: 40%;
    margin-left: -980px;
    z-index: 0;
}

.deco_contact_water {
    width: 84px;
    height: 105px;
    overflow: hidden;
    background-image: url(../img/company/deco_water_profile2.png);
    background-repeat: no-repeat;
    position: absolute;
    top: 469px;
    left: 50%;
    margin-left: -678px;
    z-index: -1;
}

.deco_contact_water2 {
    width: 120px;
    height: 127px;
    overflow: hidden;
    background-image: url(../img/company/deco_water_profile.png);
    background-repeat: no-repeat;
    position: absolute;
    top: 1840px;
    left: 9%;
    margin-left: -168px;
    z-index: -1;
}








/*****************レスポンシブ*************************/

@media print,
screen and (max-width: 1500px) {
    #btn_scroll {
        right: -75px;
    }
}


@media print,
screen and (max-width: 850px) {

    .deco_contact_water {
        background-size: 9vw;
        top: 894px;
        left: -3%;
        margin-left: 0;
        z-index: -1;
    }

    .deco_contact_water2 {
        background-size: 9vw;
        top: 1840px;
        left: -4%;
        margin-left: -0;
        z-index: -1;
    }

    .contact_page::after {
        max-height: 770px;
    }

    .wrap_contact_top::before {
        top: 70%;
    }

    .deco .deco_contacttop {

        top: -20px;
        left: 70%;
        margin-left: 0;
        z-index: -1;
    }

    .col_contact_top {
        padding: 0;
    }

    .col_contact_top .flex_box {
        display: flex;
        flex-direction: column-reverse;
    }

    .col_contact_top .flex_box .left {
        width: 100%;
        margin: 0 auto;
    }

    .col_contact_top .flex_box .left .leftarea_top {
        border-bottom: none;
    }

    .leftarea_bottom {
        width: 90%;
        margin: 0 auto;
        max-width: none;
    }

    .box_mds-tel {
        max-width: 250px;
        margin: 0 auto 0 0;
        line-height: 1.5;
    }

    .leftarea_bottom .tel {
        font-size: 23px;
        font-weight: 600;
    }

    .leftarea_bottom .recept {
        margin: 15px 0 0 -1.5em;
    }

    .col_contact_top .flex_box .right_flex {
        /* justify-content: center; */
    }

    .col_contact_top .flex_box .right {
        width: 100%;
        margin: 150px auto 0;
        transform: translateX(-7.5%);
    }



    .col_contact_top .flex_box .right .img2 {
        margin: 0 3%;
    }

    .col_contact_top .flex_box .left .contact_top_txt {
        max-width: none;
        margin: 40px auto;
    }


    #btn_scroll {
        top: 53%;
        right: -75px;
    }

    .form_list {
        width: 90%;
        padding: 0 0 15px 0;
    }
}


@media print,
screen and (max-width: 750px) {

    .deco_contact_pipe {
        width: 733px;
        height: 301px;
        overflow: hidden;
        background-image: url(../img/company/deco_pipe_project2.png);
        background-repeat: no-repeat;
        background-size: 40vw;
        position: absolute;
        top: -4vw;
        left: -25vw;
        margin-left: 0;
        z-index: -1;
    }


    .contact_page .ttl_contact {
        max-width: 100vw;
        margin: 30px 0 0 0;
    }

    .contact_page .ttl_contact .ja {
        margin: 15px 0 0 -4px;
    }

    .contact_page .ttl_contact img {
        height: 51.09px;
        width: auto;
    }

    .col_contact_top .flex_box .right {
        width: 100%;
        margin: 150px 0 0 0;
        /* transform: translateX(-8%); */
    }

    .form_wrap::before {
        width: 100vw;
        height: 100vw;
        top: 1020px;
        z-index: -1;
    }


    .form {
        margin: 60px auto;
        padding: 30px 0;
    }

    .form_mds {
        text-align: center;
        width: 90%;
        margin: 0 1% 6.8% 9%;
    }

    .form_list .yubin dt {
        display: flex;
    }

    .form_list .yubin .txt {
        min-width: 64px;
    }

    .form_list dl:not(:first-child) {
        border-top: 2px dotted #c5c6c6;
        margin: 15px 0 0 0;
        padding: 15px 0 0 0;
    }

    .form_list dd textarea:last-child {
        margin: 10px 0;
    }

    .btnarea_contact {
        margin: 30px 0 0 0;
    }

    .checkbox_privacy {
        margin: 25px auto 0;
        text-align: center;
    }
}

@media print,
screen and (max-width: 700px) {
    .form_list dt.last {
        line-height: 1.5;
    }

    .btnarea_contact input {
        padding: 0 5% 0 0;
    }

    .btnarea_contact label span.arrow {
        top: 9px;
        left: 67%;
    }

}

@media print,
screen and (max-width: 550px) {

    #btn_scroll {
        top: 50%;
        right: -60px;
    }

    .radio_flex {
        flex-wrap: wrap;
    }

    .radio_flex .form_radio {
        width: 50%;
    }

    .radio_flex .form_radio:last-child {
        width: 100%;
    }
}

@media print,
screen and (max-width: 450px) {

    .wpcf7-form-control.wpcf7-radio .wpcf7-list-item {
        width: 100%;
    }

    .wpcf7 input[type="url"],
    .wpcf7 input[type="email"],
    .wpcf7 input[type="tel"] {
        width: 100%;
    }
}

@media print,
screen and (max-width: 400px) {

    #btn_scroll {
        top: 40%;
    }
}