/*矢印アニメーション*/

a.box:hover .arrow-right {
    background-color: #0090df;
    color: #fff;
    transition: 0.2s;
}

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

.arrow-right::before {
    transform: translateX(-200%);
}

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


/*矢印アニメーションEND*/


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

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

.wrap_works_top {
    position: relative;
    width: 87%;
    margin: 0 auto;
}

.wrap_works_top::before {
    content: '';
    position: absolute;
    background-image: url(../img/company/bg_message.png);
    width: 110vw;
    height: 100vw;
    background-size: 100%;
    top: 0;
    left: -10vw;
    background-repeat: no-repeat;
    z-index: -111;
}

.col_workstop {
    max-width: 1260px;
    margin: 0 auto;
    /* padding: 0px 4.4%; */
}





.deco .deco_work_top {
    width: 114px;
    height: 134px;
    overflow: hidden;
    background-image: url(../img/company/deco_water_companytop.svg);
    background-repeat: no-repeat;
    position: absolute;
    top: 30px;
    left: 496px;
    margin-left: 0;
    z-index: -1;
}

.deco .deco_work_water1 {
    width: 237px;
    height: 229px;
    overflow: hidden;
    background-image: url(../img/company//deco_water_message.png);
    background-repeat: no-repeat;
    position: absolute;
    top: 750px;
    left: 0;
    margin-left: -164px;
    z-index: -1;
}

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

.works_page .ttl_works {
    max-width: 270px;
    margin: 60px 0 0 0;
    letter-spacing: -13px;
}

.works_page .ttl_works img {
    transform: translateX(-12%);
}

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

.works_page .ttl_works .ja {
    position: relative;
}

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

@keyframes opac {
    0% {
      opacity: 0;
    }
    20% {
        opacity: 0;
      }
    100% {
      opacity:1;
    }
}


.inpage-navi {
    display: flex;
    margin: 55px 0 0 0;
    padding: 0;
}

.inpage-navi li {
    padding: 0 10px 0 25px;
    border: 1px solid #000;
    border-right: none;
    position: relative;
}

.inpage-navi li:nth-child(2) {
    padding-right: 22px;
}

.inpage-navi li:nth-child(3) {
    padding-right: 16px;
}

.inpage-navi li:nth-child(4) {
    padding-right: 22px;
}

.inpage-navi li:nth-child(4) {
    padding-right: 16px;
}

.inpage-navi li.last {
    border-right: 1px solid #000;
}

.inpage-navi li::after {
    content: '>';
    position: absolute;
    top: 0;
    left: 11px;
    transition: 0.2s;
}

.inpage-navi li:hover{
    cursor: pointer;
}

.inpage-navi li:hover::after {
    left: 14px;
}

.list-works {
    margin: 70px 0 0 0;
}

.col_works {
    width: 100%;
    margin: 20px auto 25px;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    /* border-top: 1px solid #c9c9c9; */
    border-left: 1px solid #c9c9c9;

}

.col_works a.box {
    width: calc(100% / 3);
    padding: 0px 10px;
    margin: 0 0;
    text-decoration: none;
    transition: all 1s;
    display: block;
    border-top: 1px solid #c9c9c9;
    border-right: 1px solid #c9c9c9;
    border-bottom: 1px solid #c9c9c9;
    background-color: rgba(255, 255, 255, 0.3);
    max-height: 334px;

}

.col_works a.box:nth-child(3n) {
    border-right: 1px solid #c9c9c9;
}

.col_works a.box:hover dt.image img {
    transform: scale(1.1);
    transition: 0.2s;
}

.col_works a.box dl {
    margin: 40px 0;
    padding: 0;
}

.col_works a.box dl dt {
    margin: 0 auto 25px;
    padding: 0;
    overflow: hidden;
    position: relative;
    z-index: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.col_works a.box dl dt.image {
    max-width: 286px;
    max-height: 190px;
    width: fit-content;
    position: relative;
}

.col_works a.box dl dt.image span.public {
    position: absolute;
    content: '';
    background-color: #004182;
    color: #fff;
    top: 0;
    left: 0;
    padding: 0 10px;
    z-index: 1;
}

.col_works a.box dl dt.image span.reform {
    position: absolute;
    content: '';
    background-color: #00a0e9;
    color: #fff;
    top: 0;
    left: 0;
    padding: 0 10px;
    z-index: 1;
}

.col_works a.box dl dt.image span.reform {
    position: absolute;
    content: '';
    background-color: #2fb5a2;
    color: #fff;
    top: 0;
    left: 0;
    padding: 0 10px;
    z-index: 1;
}

.col_works a.box dl dt.image span.trouble {
    position: absolute;
    content: '';
    background-color: #00a0e9;
    color: #fff;
    top: 0;
    left: 0;
    padding: 0 10px;
    z-index: 1;
}

.col_works a.box dl dt.image img {
    max-width: 286px;
    max-height: 190px;
    object-fit: contain;
    transition: transform .5s;
}

.col_works a.box dl dt span.noimg{
    width:  286px;
    height: 190px;
}

.col_works a.box dl dd {
    max-width: 286px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    width: auto;
}

.col_works a.box dl dd .date {
    font-size: 12px;
    font-family: "Inter";

}

.col_works a.box dl dd .works_ttl {
    margin: 0;
    padding: 0;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.4;
}

.col_works a.box .btn_works {
    position: absolute;
    top: 10%;
    right: 5%;
}


.page-view {
    margin: 50px 0 60px 0;
    padding: 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-view li {
    margin: 0 10px 0 0;
    padding: 0;
    display: inline-block;
}

.page-view li:first-child {
    margin-right: 15px;
}

.page-view li:last-child {
    margin-right: 0;
    margin-left: 5px;
}

.page-view li a,
.page-view li span {
    width: 45px;
    height: 45px;
    margin: 0;
    padding: 0px;
    color: #ffffff;
    font-size: 18px;
    text-align: center;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-view li a:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border: 1px solid #c9c9c9;
}

.page-view li a.active {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border: 1px solid #c9c9c9;
    color: #0090df;
}

.page-view li.first a,
.page-view li.last a {
    width: 32px;
    height: 32px;
    color: #fff;
    background-color: transparent;
    border-radius: 50%;
    border: 1px solid #fff;
    font-size: 13px;
}

.page-view li.first a:hover,
.page-view li.last a:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

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

#btn_scroll a {
    color: #0090df;
}

#btn_scroll .arrow-right::before,
#btn_scroll .arrow-right::after {
    top: 0px;
    right: 6px;
}


#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);
    }
}



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

    .col_works {
        justify-content: center;
        border: none;
    }

    .col_works a.box {
        width: 50%;
        padding: 12px 10px;
        max-width: 369px;
        border-top: none;
    }

    .col_works a.box:nth-child(1),
    .col_works a.box:nth-child(2) {
        border-top: 1px solid #c9c9c9;
    }

    .col_works a.box:nth-child(2n-1) {
        border-left: 1px solid #c9c9c9;
    }

    .col_works a.box dl {
        margin: 20px 0;
        padding: 0;
    }

    .col_works a.box dl dt.image {
        margin: 0 auto 25px;
        max-width: none;
        max-height: none;
        width: fit-content;
        position: relative;
    }

    .col_works a.box dl dt.image img {
        max-width: 286px;
        max-height: 190px;
        object-fit: contain;
    }
}

@media print,
screen and (max-width: 750px) {
    #footer::after {
        bottom: -26vw;
    }
}

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

    .works_page::after {
        height: 10%;
        min-height: 570px;
    }

    .works_page .ttl_works {
        max-width: 100vw;
        min-width: 163px;
        margin: 30px 0 0 0;
    }

    .works_page .ttl_works img {
        height: 46.09px;
        width: auto;
    }

    .wrap_works_top::before {
        content: '';
        position: absolute;
        background-image: url(../img/works/sp/bg_works1.png);
        width: 101vw;
        height: 100vw;
        background-size: 130%;
        top: 15%;
        left: -6vw;
        background-repeat: no-repeat;
        z-index: -111;
    }


    .inpage-navi {
        flex-wrap: wrap;
        justify-content: center;
        margin: 30px 0 0 0;
    }

    .inpage-navi li {
        width: 94%;
        text-align: center;
        margin: 1% 3%;
        border-right: 1px solid #000;
        min-width: 130px;
    }

    .inpage-navi a {
        position: relative;
        width: 50%;
    }

    .inpage-navi li::after {
        content: none;
    }

    .inpage-navi a span {
        position: relative;
    }

    .inpage-navi a span::after {
        content: '>';
        position: absolute;
        top: -3px;
        left: -15%;
    }

    .deco.work {
        z-index: -1;
    }

    .deco .deco_work_top {
        top: 5vw;
        left: 71vw;
        margin-left: 0;
        z-index: -1;
        background-size: 18vw;
    }

    .deco .deco_work_water1 {
        background-size: 18vw;
        top: 42vw;
        left: -10vw;
        margin-left: 0;
        z-index: -1;
    }

    .list-works {
        margin: 30px 0 0 0;
    }

    .col_workstop {
        padding: 0;
    }

    .col_works a.box {
        width: 100%;
        /* max-width: none;
        aspect-ratio: 131 / 117; */
        padding: 4%;
    }

    .col_works a.box:first-child {
        border-bottom: none;
    }

    .col_works a.box {
        border-left: 1px solid #c9c9c9;
        max-height: none;
    }

    .col_works a.box dl {
        margin: 0px 0;
        padding: 0;
        width: 100%;
        height: 100%;
        box-sizing: border-box;
    }

    .col_works a.box dl dt.image {
        max-width: none;
        max-height: none;
        position: relative;
        margin: 0 auto 4%;
    }

    .col_works a.box dl dt.image img {
        width: 100%;
        /* max-width: none;
        max-height: 100%;
        object-fit: contain; */
    }

    .col_works a.box dl dt.image.tate img {
        max-width: 42vw;
        /* max-height: 303px; */
        width: auto;
        height: 100%;
    }

    .col_works a.box dl dd {
        max-width: none;
        margin: 0 auto;
    }

    .col_works a.box dl dd .date {
        font-size: clamp(10px, 2.8vw, 18px);
    }

    .col_works a.box dl dd .works_ttl {
        font-size: clamp(12px, 3.2vw, 24px);
    }

    .deco .deco_work_water2 {
        background-size: 14vw;
        top: -9vw;
        left: -11%;
        margin-left: 0;
        z-index: 0;
    }




    #footer::after {
        bottom: -24vw;
    }

    #footer {
        background-position: 40% 12%;
    }

}


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

    .page-view li.first a,
    .page-view li.last a {
        width: 23px;
        height: 23px;
        color: #fff;
        background-color: transparent;
        border-radius: 50%;
        border: 1px solid #fff;
        font-size: 12px;
    }

    .page-view li a,
    .page-view li span {
        width: 31px;
        height: 31px;
        margin: 0;
        padding: 0px;
        color: #ffffff;
        font-size: 18px;
        text-align: center;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #footer::after {
        bottom: -11vw;
    }
}

@media print,
screen and (max-width: 450px) {
    #footer::after {
        bottom: 10vw;
    }

}





/*-----------------------詳細ページ---------------------------*/

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


.col_works_detail {
    max-width: 1260px;
    margin: 0 auto;
    /* padding: 0 4.4%; */
}

.wrap_works_detail {
    position: relative;
    width: 87%;
    margin: 0 auto;
}

.wrap_works_detail::before {
    content: '';
    position: absolute;
    background-image: url(../img/company/bg_message.png);
    width: 100vw;
    height: 100vw;
    background-size: 110%;
    top: 0;
    left: -6.5vw;
    background-repeat: no-repeat;
    z-index: -111;
}

#btn_scroll.detail {
    position: absolute;
    right: 0px;
    top: 14%;
    max-height: 50px;
    text-decoration: none;
    transform: rotate(90deg);
    font-size: 90%;
    line-height: 1.5rem;
    color: #0090df;
}

.work_detail {
    max-width: 750px;
    margin: 60px auto 0;
}

.recruit_page .ttl_recruit img {
    height: 51.09px;
    width: auto;
}

.flex_box {
    display: flex;
    margin: 0 0 0 0;
}

.work_detail .flex_box .tag {
    margin: 0 15px 0 0;
}

.work_detail .flex_box .tag.public span {
    padding: 5px 10px;
    background-color: #004182;
    color: #fff;
    font-size: 13px;
}

.work_detail .flex_box .tag.reform span {
    padding: 5px 10px;
    background-color: #2fb5a2;
    color: #fff;
    font-size: 13px;
}

.work_detail .flex_box .tag.trouble span {
    padding: 5px 10px;
    background-color: #00a0e9;
    color: #fff;
    font-size: 13px;
}

.case_ttl {
    font-size: 35px;
    font-weight: 500;
}

.case_honbun{
    margin: 20px 0;
    min-height: 300px;
}

.case_honbun img.aligncenter{
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.case_img {
    max-width: 744px;
    margin: 15px 0 0 0;
}

.case_img.tate {
    max-width: 590px;
    margin: 15px auto 0;
}

.work_detail .txt {
    text-align: center;
    margin: 3% 0 60px 0;
}

.box_information {
    border: 1px solid #000;
    padding: 10px 25px;
    margin: 90px 0 40px 0;
}

.box_information .ttl {
    font-weight: bold;
    border-bottom: 1px solid #000;
    font-size: 20px;
}

.box_information .element {
    padding: 15px 0 5px 0;
    display: flex;
    justify-content: space-between
}

.box_information .name {
    background-color: #000;
    color: #fff;
    padding: 3px 6px;
    margin: 0 10px 0 0;
}

.col_pagenation {
    width: 92%;
    max-width: 700px;
    margin: 0 auto;
    padding: 50px 0;
}

.col_pagenation .fleft,
.col_pagenation .fright {
    width: 30%;
    max-width: 200px;
    padding: 8px 0;
}

.col_pagenation .fleft a:hover .arrow-circle,
.col_pagenation .fright a:hover .arrow-circle {
    background-color: rgba(255, 255, 255, 0.3);
}

.col_pagenation .fleft {
    text-align: right;
}

a.btn_back {
    width: 30%;
    max-width: 190px;
    margin: 0 auto;
    padding: 8px;
    color: #000000;
    text-align: center;
    background-color: #ffffff;
    border: 1.5px solid #0090df;
    display: block;
    transition: background .3s;
    -moz-transition: background .3s;
    -webkit-transition: background .3s;
    position: relative;
}

a.btn_back:hover {
    background-color: transparent;
}

a.btn_back span.arrow {
    position: absolute;
    background-image: url(../img/contact/contact_arrow.svg);
    background-repeat: no-repeat;
    top: 20px;
    left: 76%;
    width: 17px;
    height: 7.5px;
}


.col_pagenation span.arrow-circle {
    background-color: transparent;
    border-radius: 50%;
    border: 1px solid #0090df;
    margin: 0 15px;
    padding: 5px 9px;
    color: #0090df;
}


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

    #btn_scroll.detail {
        right: -9%;
        top: 14%;
    }
}

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

    #btn_scroll {
        right: -8%;
    }

    #btn_scroll.detail {
        right: -11%;
        top: 14%;
    }
}


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

    .col_works_detail {
        padding: 0;
    }

    .work_detail {
        margin: 30px auto 0;
    }

    .wrap_works_detail::before {
        content: '';
        position: absolute;
        background-image: url(../img/works/sp/bg_works1.png);
        width: 101vw;
        height: 100vw;
        background-size: 130%;
        top: 24%;
        left: -6vw;
        background-repeat: no-repeat;
        z-index: -111;
    }

    .flex_box {
        flex-direction: column;
    }

    .flex_box .date {
        font-size: clamp(16px, 3.2vw, 18px);
        margin: 5px 0 0 0;
    }

    .case_ttl {
        font-size: min(48px, 7vw);
        line-height: 1.2;
    }

    .case_img {
        margin: 33px 0 0 0;
    }

    .work_detail .txt {
        margin: 3% 0 35px 0;
        text-align: left;
    }

    .box_information {
        border: 1px solid #000;
        padding: 10px 5%;
    }

    .box_information .element {
        padding: 0 0 5px 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .box_information .element .contents {
        margin: 16px 0 0 0;
    }

    .col_pagenation {
        width: 100%;
    }

    .col_pagenation span.arrow-circle {
        margin: 0 10px;
        padding: 5px 9px;
    }

}



@media print,
screen and (max-width: 600px) {
    a.btn_back {
        padding: 8px 4% 8px 8px;
    }
}

@media print,
screen and (max-width: 500px) {
    a.btn_back {
        padding: 8px 7% 8px 8px;
    }
}


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

    .col_pagenation span.none {
        display: none;
    }

    .col_pagenation .fleft,
    .col_pagenation .fright {
        width: 22%;
    }

    a.btn_back {
        width: 40%;
    }

    .col_pagenation span.arrow-circle {
        margin: 0 5px;
        padding: 5px 9px;
    }

}

@media print,
screen and (max-width: 400px) {
    a.btn_back {
        padding: 8px 10% 8px 8px;
    }
}