@charset "utf-8";
.works .under_mv,
.works_detail .under_mv{
    background: url(../img/works/main_pc.jpg) no-repeat center/cover;
}
@media screen and (max-width: 1024px) {
    .works .under_mv,
    .works_detail .under_mv{
        background: url(../img/works/main_sp.jpg) no-repeat center/cover;
    }
}

.works .sec1{
    margin: 100px auto;
    max-width: 1100px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.works .sec1 .side{
    width: 20%;
}
.works .sec1 .side .box:first-of-type{
    margin-bottom: 40px;
}
.works .sec1 .side .box h3{
    font-size: 1.2rem;
    border-left: 4px solid #1f2c5c;
    padding: 5px 10px;
    margin-bottom: 10px;
}
.works .sec1 .side .box h3 span{
    font-family: oswald, sans-serif;
    font-size: 3rem;
    font-weight: 500;
    display: block;
    margin-bottom: 5px;
    color: #1f2c5c;
}
.works .sec1 .side .box ul li{
    position: relative;
    border-bottom: 1px solid #ccc;
}
.works .sec1 .side .box ul li:first-of-type{
    border-top: 1px solid #ccc;
}
.works .sec1 .side .box ul li a{
    position: relative;
    display: block;
    padding: 30px 15px;
}
.works .sec1 .side .box ul li a.active{
    background: #ecf5fb;
}
.works .sec1 .side .box ul li:before{
    content: "";
    position: absolute;
    background: #fff;
    border: 1px solid #1f2c5c;
    top: 50%;
    width: 24px;
    height: 24px;
    border-radius: 50px;
    transform: translate(40%, -50%);
    right: 15px;
    z-index: 2;
}
.works .sec1 .side .box ul li:after{
    content: "";
    position: absolute;
    top: 50%;
    right: 15px;
    width: 6px;
    height: 6px;
    border-top: 2px solid #1f2c5c;
    border-right: 2px solid #1f2c5c;
    -webkit-transform: translate(0%, -50%) rotate(45deg);
    transform: translate(0, -50%) rotate(45deg);
    z-index: 2;
}
.works .sec1 .contents{
    width: 78%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}
.works .sec1 .contents .box{
    position: relative;
    width: 48%;
    margin-bottom: 40px;
}
/* .works .sec1 .contents .box:nth-last-of-type(-n+2){ */
/*     margin-bottom:0; */
/* } */
.works .sec1 .contents .box a{
    display: block;
}
.works .sec1 .contents .box a:before{
    content: "";
    width: 1px;
    height: 100%;
    background: #fff;
    position: absolute;
    top: 0;
    right: 20px;
    z-index: 3;
    transform: scale(1, 1);
    transform-origin: left top;
    transition: transform .3s;
}
.works .sec1 .contents .box a:after{
    content: "";
    width: 100%;
    height: 1px;
    background: #fff;
    position: absolute;
    bottom: 110px;
    left: 0;
    z-index: 3;
}
.works .sec1 .contents .box a:hover:before{
    animation: border_anim2 .3s linear forwards;
}
@keyframes border_anim2 {
	0%{
		height: 100%;
	}
	100%{
		height: 0%;
	}
}
.works .sec1 .contents .box a:hover:after{
	animation: border_anim .3s linear forwards;
}
@keyframes border_anim {
	0%{
		width: 100%;
	}
	100%{
		width: 0%;
	}
}
.works .sec1 .contents .box:nth-of-type(odd){
    margin-right: 2%;
}
.works .sec1 .contents .box figure{
    position: relative;
    width: 100%;
    height:0;
    padding-top: 61.5%;
    overflow: hidden;
}
.works .sec1 .contents .box figure:after{
    content: "";
    background: rgb(51 51 51 / 60%);
    top: 0;
    width: 100%;
    height: 100%;
    left: 0;
    display: block;
    position: absolute;
    transition: all  0.3s ease;
}
.works .sec1 .contents .box figure:hover:after{
    background: transparent;
}
.works .sec1 .contents .box figure img{
    width: 100%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    transform: translate(-50%, -50%);
}
.works .sec1 .contents .box figure figcaption{
    position: absolute;
    bottom: 0;
    color: #fff;
    z-index: 2;
    padding: 20px;
}
.works .sec1 .contents .box figure figcaption h4{
    font-size:1.8rem;
    margin-bottom: 10px;
}
.works .sec1 .contents .box figure figcaption .status_area{
    display: flex;
    align-items: center;
}
.works .sec1 .contents .box figure figcaption .status_area .category{
    background: #ccc;
    padding: 5px 10px;
    margin-left: 15px;
    border-radius: 50px;
    font-size: 1.2rem;
}
.works .sec1 .contents .box figure figcaption .status_area .cate1{
    background: #1f2c5c;
}
.works .sec1 .contents .box figure figcaption .status_area .cate2{
    background: #ecf5fb;
    color: #1f2c5c;
}
.works .sec1 .contents .box figure figcaption .status_area .cate3{
    background: #888888;
}
@media screen and (max-width: 1024px) {
    .works .sec1{
        margin:60px 0;
        display: block;
    }
    .works .sec1 .contents{
        width:auto;
        display: block;
    }

    .works .sec1 .contents .select_wrap{
        margin: 0 4% 40px;
    }
    .works .sec1 .contents .select_wrap .category_area{
        margin-bottom: 30px;
    }
    .works .sec1 .contents .select_wrap h3{
        display: flex;
        align-items: center;
        font-size: 1.2rem;
        margin-bottom: 10px;
        border-left: 4px solid #1f2c5c;
        padding: 10px;
    }
    .works .sec1 .contents .select_wrap h3 span{
        font-family: oswald, sans-serif;
        font-size: 2rem;
        margin-right: 2%;
        color: #1f2c5c;
    }
    .works .sec1 .contents .select_wrap .select_box{
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        border:1px solid #333;
    }
    .works .sec1 .contents .select_wrap .select_box:before{
        content: "";
        background: #333;
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        width:10%;
        height:100%;
    }
    .works .sec1 .contents .select_wrap .select_box:after{
        content: "";
        position: absolute;
        top: 50%;
        right: 5%;
        width: 6px;
        height: 6px;
        border-bottom: 2px solid #fff;
        border-right: 2px solid #fff;
        -webkit-transform: translate(50%, -50%) rotate(45deg);
        transform: translate(50%, -50%) rotate(45deg);
    }
    .works .sec1 .contents .select_wrap .select_box select{
        width: 100%;
        padding: 18px 10px;
        line-height: 1;
        font-size: 1.4rem;
        border-radius: 0;
        border:1px;
    }
    .works .sec1 .contents .box{
        width: auto;
        margin: 0 4% 30px;
    }
    .works .sec1 .contents .box::nth-last-of-type(2){
        margin-bottom: 30px;
    }
    .works .sec1 .contents .box a:after{
        bottom: 35%;
    }
    .works .sec1 .contents .box:nth-of-type(odd){
        margin-right: 4%;
    }
    .works .sec1 .contents .box figure{
        overflow: hidden;
        width: 100%;
        height:0;
        padding-top: 61.5%;
        overflow: hidden;
    }
    .works .sec1 .contents .box figure figcaption{
        padding: 4%;
    }
    .works .sec1 .contents .box figure figcaption h4{
        font-size: 1.8vmax;
        margin-bottom:8px;
    }
    .works .sec1 .contents .box figure figcaption .status_area .category{
        margin-left: 10px;
    }
}

.works .sec2{
    margin: 100px auto;
    max-width: 1100px;
}
.works .sec2 .tab{
    display: flex;
    /* justify-content: space-between; */
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 70px;
}
.works .sec2 .tab li{
    font-weight: 600;
    font-size: 1.8rem;
    /* width: 18%; */
    width: calc((100% / 6) - 8.4px);
    background: #f0f0f0;
    text-align: center;
    padding: 25px 0;
    /* margin-bottom: 1%; */
}
.works .sec2 .tab li:hover{
    cursor: pointer;
}
.works .sec2 .tab li.is-active{
    position: relative;
    color: #fff;
    background:#1f2c5c;
}
.works .sec2 .tab li.is-active:after{
    content: "";
    border-top:  6px solid transparent;
    border-left:6px solid transparent;
    border-bottom: 6px solid #fff;
    border-right:6px solid #fff;
    width: 12px;
    height: 12px;
    position: absolute;
    bottom: 0;
    right: 0;
}
.works .sec2 .tab_contents li{
    display:none;
}
.works .sec2 .tab_contents li.is-show{
    display: block;
}
.works .sec2 .tab_contents li h4{
    font-size: 2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    border-left: 4px solid #1f2c5c;
    padding: 15px 10px;
    margin-bottom: 20px;
}
.works .sec2 .tab_contents li h4 span{
    margin-left: 15px;
    font-size: 1.4rem;
}
.works .sec2 .tab_contents li table,
.works .sec2 .tab_contents li table th,
.works .sec2 .tab_contents li table td{
    border-collapse: collapse;
}
.works .sec2 .tab_contents li table{
    width: 100%;
}
.works .sec2 .tab_contents li table thead{
    position: relative;
}
.works .sec2 .tab_contents li table thead:after{
    content: "";
    height: 20px;
    width: 100%;
    display: block;
}
.works .sec2 .tab_contents li table th{
    position:relative;
    width: 30%;
    padding: 18px 30px;
    line-height: 1.4;
}
.works .sec2 .tab_contents li table thead th{
    background: #ecf5fb;
    font-weight: 600;
}
.works .sec2 .tab_contents li table th:after{
    content: "";
    width: 1px;
    height: 70%;
    background: #333;
    top: 50%;
    position: absolute;
    right: 0;
    transform: translateY(-50%);
}
.works .sec2 .tab_contents li table tbody th:after{
    background: #ccc;
}
.works .sec2 .tab_contents li table td{
    padding: 18px 30px;
}
.works .sec2 .tab_contents li table thead td{
    background: #ecf5fb;
    font-weight: 600;
}
.works .sec2 .tab_contents li table tbody tr{
    border-bottom: 1px solid #ccc;
}
.works .sec2 .tab_contents li table tbody tr:first-of-type{
    border-top: 1px solid #ccc;
}
@media screen and (max-width: 1024px) {
    .works .sec2{
        margin: 60px 4%;
    }
    .works .sec2 h3{
        margin: 0 0 40px 4%;
    }
    .works .sec2 .tab {
        margin-bottom: 40px;
        /* justify-content: flex-start; */
        gap: 5px;
    }
    .works .sec2 .tab li {
        font-size: 1.2rem;
        width: calc((100% / 3) - 4px);
        padding: 20px 0;
        /* margin-bottom: 2%; */
        letter-spacing: 1px;
        /* margin-right: 2%; */
    }
    /* .works .sec2 .tab li:nth-of-type(3n) {
        margin-right:0;
    }
    .works .sec2 .tab li:nth-last-of-type(-n+5){
        margin-bottom: 2%;
    } */
    .works .sec2 .tab_contents li h4 {
        font-size:1.8rem;
        display: block;
        padding: 10px 10px;
    }
    .works .sec2 .tab_contents li h4 span {
        font-size: 1.2rem;
        display: block;
        margin: 10px 0 0 0;
    }
    .works .sec2 .tab_contents li .table_wrap{
        overflow-x: scroll;
        width: 100%;
    }
    .works .sec2 .tab_contents li table{
        width: 900px;
    }
    .works .sec2 .tab_contents li table tbody{
        -webkit-overflow-scrolling: touch;
        -webkit-text-size-adjust: 100%;
    }
    .works .sec2 .tab_contents li table th{
        padding: 18px 10px;
        width: 300px;
    }
    .works .sec2 .tab_contents li table td{
        padding: 18px 10px;
        width: 600px;
    }
    .works .sec2 .tab_contents li p{
        font-size: 1.2rem;
        margin: 5px;
    }
}

/* 施工実績詳細ページ用ここから */
.works_detail .sec1{
    position: relative;
    max-width: 1000px;
    margin: 100px auto;
}
.works_detail .sec1:before{
    content: "";
    width: calc(100vw + 1100px);
    background: #ecf5fb;
    height: 40%;
    position: absolute;
    top: 45px;
    left: calc(-1100px);
    z-index: -1;
}
.works_detail .sec1 h3.ttl{
    font-size: 2rem;
    color: #1f2c5c;
    font-weight: 600;
    padding: 30px 20px;
    background: #fff;
    border-top: 4px solid #1f2c5c;
}
.works_detail .sec1 .status_area{
    display: flex;
    align-items: center;
    margin: 30px 20px;
}
.works_detail .sec1 .status_area .date{
    font-family: eb-garamond, serif;
    color: #888888;
    font-size: 2rem;
    font-style: italic;
    letter-spacing: 0;
    margin-right: 20px;
}
.works_detail .sec1 .status_area .category{
    font-size: 1.2rem;
    padding: 5px 10px;
    border-radius: 50px;
    margin-right: 10px;
}

.works_detail .sec1 .status_area .cate1{
    background: #1f2c5c;
    color: #fff;
}
.works_detail .sec1 .status_area .cate2{
    background: #ecf5fb;
    color: #1f2c5c;
}
.works_detail .sec1 .status_area .cate3{
    background: #888888;
}
.works_detail .sec1 .detail_slide_wrap {
    display: flex;
    justify-content: space-between;
}
.works_detail .sec1 .detail_slide_wrap.no_slide {
  justify-content: center;
}
.works_detail .sec1 .detail_slide_wrap .detail_slide{
    width: 79%;
}
.works_detail .sec1 .detail_slide_wrap figure{
    position: relative;
    padding-top: 67%;
    overflow: hidden;
    background: #fff;
}
.works_detail .sec1 .detail_slide_wrap figure img{
    width: 100%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.works_detail .sec1 .detail_slide_wrap .detail_slide .slick-slide{
    margin: 0;
}
.works_detail .sec1 .detail_slide_wrap .slick-prev,
.works_detail .sec1 .detail_slide_wrap .slick-next{
    top: auto;
    bottom: calc(100% + -14px);
}
.works_detail .sec1 .detail_slide_wrap .slick-prev{
    right: calc(-17% + -10px);
    left: auto;
}
.works_detail .sec1 .detail_slide_wrap .slick-next{
    right: calc(-25% + -10px);
    left: auto;
}
.works_detail .sec1 .detail_slide_wrap .slick-prev::before{
    border-top: 2px solid #fff;
    border-bottom: 0;
    top: 55%;
    transform: translate(-50%, -50%) rotate(45deg);
}
.works_detail .sec1 .detail_slide_wrap .slick-next::before{
    border-bottom: 2px solid #fff;
    border-top: 0;
}
.works_detail .sec1 .detail_slide_wrap .detail_slide_nav {
    width: 20%;
}
.works_detail .sec1 .detail_slide_wrap.no_slide .detail_slide_nav {
  display: none;
}
.works_detail .sec1 .detail_slide_nav.slick-vertical .slick-slide {
    border: none;
    margin: 5px 0;
}

.works_detail .data_area{
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
}
.works_detail .data_area h3{
    width: 25%;
}
.works_detail .data_area dl{
    width: 75%;
}
.works_detail .data_area dl div{
    display: flex;
    border-bottom: 1px solid #ccc;
    padding: 25px 0px;
    align-items: flex-start;
}
.works_detail .data_area dl div:first-of-type{
    border-top: 1px solid #ccc;
}
.works_detail .data_area dl div dt{
    width: 25%;
    padding: 0 20px;
}
.works_detail .data_area dl div dd{
    width: 75%;
    line-height: 1.4;
    padding: 0 20px;
}
@media screen and (max-width: 1024px) {
    .works_detail .sec1{
        margin: 60px auto;
    }
    .works_detail .sec1:before{
        height: 30%;
        top: 20px;
    }
    .works_detail .sec1 h3.ttl{
        font-size: 1.6rem;
        padding: 18px 4%;
        margin: 0 4%;
        line-height: 1.4;
    }
    .works_detail .sec1 .status_area{
        margin: 20px 4%;
    }
    .works_detail .sec1 .status_area .date{
        font-size: 1.8rem;
        margin-right: 15px;
    }

    .works_detail .sec1 .detail_slide_wrap {
        display:block;
        margin: 0 4%;
    }
    .works_detail .sec1 .detail_slide_wrap .detail_slide{
        width:auto;
    }
    .works_detail .sec1 .detail_slide_wrap .detail_slide_nav {
        width: auto;
        margin-top: 20px;
    }
    .works_detail .sec1 .detail_slide_nav .slick-slide {
        margin:0 5px;
    }

    .works_detail .data_area{
        display: block;
        margin: 40px 4% 0;
    }
    .works_detail .data_area h3{
        width:auto;
        margin: 0 4% 40px;
    }
    .works_detail .data_area dl{
        width: auto;
    }
    .works_detail .data_area dl div{
        display: block;
        padding: 15px 4%;
    }
    .works_detail .data_area dl div:first-of-type{
        border-top: 1px solid #ccc;
    }
    .works_detail .data_area dl div dt{
        margin-bottom: 10px;
        background: #888;
        display: inline-block;
        color: #fff;
        padding: 5px 10px;
        width: 30%;
        text-align: center;
        border-radius: 50px;
    }
    .works_detail .data_area dl div dd{
        width:auto;
        padding: 0;
    }
}
