@charset "utf-8";

/* 施工実績 css
-------------------------------*/

#contents{
    width: 90%;
    max-width: 1280px;
    margin: auto;
    display: flex;
    flex-flow: row-reverse;
    justify-content: space-between;
}

#main{
    width: calc(100% - 300px);
    
}
#side{
    width: 240px;
}
#side .ttl{
    margin-bottom: 30px;
    font-size: 12px;
    color: #9b9b9b;
}
#side .w_cat_list li{
    margin-bottom: 1px;
}
#side .w_cat_list li a{
    display: block;
    background-color: #e9eff6;
    padding: 20px 0 20px 20px;
}
#side .w_cat_list li.all a{
    background-color: transparent;
    font-weight: 700;
}
#side .w_cat_list li a:hover{
    color: #0861d6;
}

@media  screen and (max-width:910px){
    #contents{
        display: block;
    }

    #main{
        width: 100%;

    }
    #side{
        margin-top: 50px;
        width: 100%;
    }
    #side .ttl{
        margin-bottom: 20px;
    }

}
@media  screen and (max-width:640px){
    #side .ttl .en img{
        width: 120px;
        height: auto;
    }
    #side .w_cat_list li a{
        padding: 10px 20px;
    }

}


/* 施工実績 一覧
-------------------------------*/

.w_results_ttl{
    padding-bottom: 40px;
    border-bottom: solid 1px #cecece;
    margin-bottom: 40px;
}
.w_results_ttl span{
    display: inline-block;
}
.w_results_ttl span.on{
    padding-left: 10px;
    padding-right: 15px;
    font-size: 25px;
    border-left: solid 4px #000;
}
.w_results_list{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.w_results_list li{
    width: 31%;
    margin-left: 1%;
    margin-right: 1%;
    margin-bottom: 30px;
}
.w_results_list li .img{
    border: solid 1px #fff;
    margin-bottom: 10px;
}
.w_results_list li .img img{
    width: 100%;
    height: 220px;
    max-width: none;
    object-fit: contain;
}
.w_results_list li .site{
    font-size: 15px;
    color: #808080;
    margin-bottom: 5px;
    padding: 0 8px;
}
.w_results_list li .date{
    line-height: 1.4em;
    padding: 0 8px;
}

.w_results_list li a{
    display: block;
    transform: 0.3s;
}
.w_results_list li a:hover {
    filter: alpha(opacity=70);
    -moz-opacity:0.70;
    opacity:0.70;
}



@media  screen and (max-width:1420px){
    
    .w_results_list li .img img{
        height: 15.5vw;
    }
    .w_results_list li .site{
        padding: 0;
    }
    .w_results_list li .date{
        padding: 0;
    }


}
@media  screen and (max-width:910px){

    .w_results_ttl{
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
    .w_results_ttl span.on{
        font-size: 20px;
    }
    .w_results_list li .img{
        margin-bottom: 5px;
    }
    .w_results_list li .img img{
        height: 20vw;
    }
    .w_results_list li .site{
        font-size: 14px;
        margin-bottom: 0px;
    }
    .w_results_list li .date{
        font-size: 15px;
        line-height: 1.4em;
    }
    
}
@media  screen and (max-width:640px){

    .w_results_list li{
        width: 48%;
    }
    .w_results_list li .img img{
        height: 28vw;
    }

    .w_results_list li .site{
        font-size: 13px;
        margin-bottom: 0px;
    }
    .w_results_list li .date{
        font-size: 14px;
        line-height: 1.4em;
    }

}




/* 施工実績 詳細ページ
-------------------------------*/

.detail{
    margin-bottom: 80px;
}

.res_cat_name{
    margin-bottom: 10px;
    font-size: 90%;
    display: inline-block;
    background-color: #e9eff6;
    padding: 3px 15px;
}

.seko-name-ttl{
    font-size: 28px;
    line-height: 1.4em;
    padding-bottom: 30px;
    border-bottom: solid 1px #cecece;
    margin-bottom: 30px;
}


.seko-img{
    width: 100%;
    max-width: 780px;
    margin-bottom: 50px;
}

#slider {
    width: 100%;
    margin-bottom: 30px;
    padding: 0;
}

.slide-item{
    border: solid 1px #eee;
}

.slide-item img {
    width: 100%;
    max-width: none;
    height: 540px;
    object-fit: contain;
}

#thumbnail-list {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
}
#thumbnail-list li{
    padding: 0;
    margin: 0;
    margin-bottom: 10px;
    width: 23%;
    margin-right: 2.5%;
}
#thumbnail-list li:nth-child(4n){
    margin-right: 0;
}

.thumbnail-item {
    box-sizing: border-box;
    position: relative;
}
.thumbnail-item:after {
    content: '';
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    transition: .3s opacity linear;
}
.thumbnail-item.thumbnail-current:after {
    opacity: 0;
}
.thumbnail-item img {
    width: 100%;
    max-width: none;
    height: 130px;
    object-fit: cover;
}

.seko-date{
    width: 100%;
    border-top: solid 1px #cecece;
    line-height: 1.6em;
}
.seko-date tr{
    border-bottom: solid 1px #cecece;
}
.seko-date th{
    width: 20%;
    padding: 20px;
    color: #666;
    font-weight: 700;
}
.seko-date td{
    width: 80%;
    padding: 20px 0;
}

.btn_back a{
    display: block;
    width: 140px;
    text-align: center;
    background-color: #fff;
    border: solid 1px #cecece;
    border-radius: 3px;
    padding: 20px 0;
    font-weight: 700;
    color: #666;
    transition: 0.3s;
}
.btn_back a:hover{
    color: #0861d6;
}

@media  (min-width:911px) and (max-width:1420px){

    .slide-item img {
        height: 42vw;
    }
    .thumbnail-item img {
        height: 9vw;
    }
}
@media  screen and (max-width:870px){

    .slide-item img {
        height: 60vw;
    }
    .thumbnail-item img {
        height: 15vw;
    }
}


@media  screen and (max-width:910px){
    
    .seko-name-ttl{
        font-size: 22px;
        line-height: 1.4em;
    }
    .seko-date th{
        padding-right: 0;
        padding-left: 10px;
    }
    
}
@media  screen and (max-width:640px){
    .detail{
        margin-bottom: 40px;
    }

    .seko-name-ttl{
        font-size: 20px;
        line-height: 1.4em;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .seko-date th{
        display: inline-block;
        width: 100%;
        padding: 10px;
        background-color: #fff;
    }
    .seko-date td{
        display: inline-block;
        width: 100%;
        padding: 10px;
    }

    .btn_back a{
        margin: auto;
        padding: 10px 0;
    }

}








/* 新着情報　一覧
-------------------------------*/

.news_list{
    width: 100%;
    margin-bottom: 100px;
}
.news_list .pic a{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 120px;
    padding: 0 40px;
    background: url(../img/common/btn_ya.png) 98% center no-repeat;
    color: #000;
    border-bottom: solid 1px #fff;
}
.news_list .pic a:hover{
/*    background-position: 99% center;*/
    color: #0861d6;
}
.news_list .pic a ._in{
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}

.news_list .pic a .cate{
    width: 110px;
}
.news_list .pic a .cate span{
    display: inline-block;
    width: 90px;
    text-align: center;
    background-color: #0861d6;
    font-size: 90%;
    line-height: 1.2em;
    padding: 4px 0;
    border-radius: 20px;
    color: #fff;
}

.news_list .pic a .ymd{
    width: 120px;
    color: #6a6b77;
    font-size: 90%;
    font-weight: 700;
}
.news_list .pic a .ttl{
    width: calc(100% - 230px);
    font-size: 18px;
    line-height: 1.6em;
}

.pager{
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.page-numbers{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    color: #0861d6;
    font-size: 20px;
    line-height: 1.2em;
    margin-left: 2px;
    margin-right: 2px;
}
.page-numbers.current,
.page-numbers:hover{
    background-color: #b5d0f3;
}
@media  screen and (max-width:910px){
    .news_list .pic a{
        padding: 0 ;
    }
    .news_list .pic a .ttl{
        width: 100%;
        margin-top: 10px;
        font-size: 16px;
        line-height: 1.4em;
    }

}
@media  screen and (max-width:640px){

    .news_list .pic a{
        height: auto;
        padding: 15px 0;
    }

    .page-numbers{
        width: 30px;
        height: 30px;
        font-size: 16px;
        line-height: 1.2em;
    }
    
}




/* 新着情報　詳細ページ
-------------------------------*/

.entry_header{
    width: 100%;
    display: flex;
    justify-content:flex-start;
    align-items: center;
    margin-bottom: 20px;
}
.entry_header .cate{
    display: inline-block;
    width: 90px;
    text-align: center;
    background-color: #0861d6;
    font-size: 90%;
    line-height: 1.2em;
    padding: 4px 0;
    border-radius: 20px;
    color: #fff;
    margin-right: 20px;
}
.entry_header .ymd{
    width: 120px;
    color: #6a6b77;
    font-size: 90%;
    font-weight: 700;
}

.entry_title{
    font-size: 26px;
    line-height: 1.6em;
    margin-bottom: 50px;
}
.entry_content p{
    margin-bottom: 10px;
    
}


.post_link{
    margin-top: 80px;
    width: 100%;
    text-align: center;
    font-size: 15px;
}
.post_link span{
    margin-left: 1em;
    margin-right: 1em;
}
.post_link span a:hover{
    color: #0861d6;
}
.news_btn_back{
    padding-top: 30px;
    padding-bottom: 50px;
    text-align: center;
}
.news_btn_back a{
    width: 220px;
    background-color: #fff;
    border-radius: 3px;
    padding: 10px 50px;
    font-weight: 700;
    background-image: url(../img/common/btn_ya_l.png);
    background-position: 10px center;
    background-repeat: no-repeat;
}
.news_btn_back a:hover{
    color: #0861d6;
}


@media  screen and (max-width:910px){

    .entry_title{
        font-size: 20px;
        line-height: 1.6em;
        margin-bottom: 40px;
    }

}
@media  screen and (max-width:640px){

}




/* 投稿画像等設定 */

img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img {
    max-width: 100%; 
    height: auto;
}

.alignleft,
img.alignleft {
    display: inline;
    float: left;
    margin-right: 15px;
    margin-top: 10px;
}

.alignright,
img.alignright {
    display: inline;
    float: right;
    margin-left: 15px;
    margin-top: 10px;
}

.aligncenter,
img.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
}

img.alignleft,
img.alignright,
img.aligncenter {
    margin-bottom: 12px;
}

.wp-caption {
    background: #f1f1f1;
    line-height: 18px;
    margin-bottom: 20px;
    max-width: 632px !important;
    padding: 4px;
    text-align: center;
}

.wp-caption img {
    margin: 5px 5px 0;
}

.wp-caption p.wp-caption-text {
    color: #888;
    font-size: 12px;
    margin: 5px;
}

.wp-smiley {
    margin: 0;
}

.gallery {
    margin: 0 auto 18px;
}

.gallery .gallery-item {
    float: left;
    margin-top: 0;
    text-align: center;
    width: 33%;
}

.gallery-columns-2 .gallery-item {
    width: 50%;
}

.gallery-columns-4 .gallery-item {
    width: 25%;
}

.gallery img {
    border: 2px solid #cfcfcf;
}

.gallery-columns-2 .attachment-medium {
    max-width: 92%;
    height: auto;
}

.gallery-columns-4 .attachment-thumbnail {
    max-width: 84%;
    height: auto;
}

.gallery .gallery-caption {
    color: #888;
    font-size: 12px;
    margin: 0 0 12px;
}

.gallery dl {
    margin: 0;
}

.gallery img {
    border: 10px solid #f1f1f1;
}

.gallery br+br {
    display: none;
}

#content .attachment img {
    display: block;
    margin: 0 auto;
}

/* 投稿画像等設定end */






















