@import url(style.css);
@import url(contents.css);

#header-bn2 {
    display: none;
}

@media screen and (max-width:960px) {
    #top-3promis {
        width: 645px;
        margin: 0 auto;
    }

    .flexslider {
        height: auto;
        margin: 0;
    }

    header,
    #contents-wrapper,
    footer {
        float: none;
        width: 100%;
        margin: 0;
        padding-top: 40px;
    }

    header,
    footer {
        padding-top: 0;
    }

    header {
        height: auto;
    }

    #header-inner,
    #footer-inner,
    #footer-b-inner,
    #main-img {
        width: 100%;
        margin: 0 auto;
        padding: 0;
    }

    #main-content,
    #side,
    #footer-inner,
    #footer-b-inner {
        width: calc(100% - 40px);
        float: none;
        position: inherit;
        margin: 0 auto 0;
    }

    #footer-b-inner {
        font-size: 11px;
        padding-top: 20px;
    }

    #side h2 {
        text-align: center;
    }
}


@media screen and (max-width:855px) {
    #header-inner h1 {
        width: 100%;
        text-align: center;
        float: none;
        margin-top: 0;
        padding-top: 20px;
        height: 85px;
    }

    #header-bn {
        display: none;
    }

    #header-bn2 {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
    }

    #header-bn2 ul li {
        float: left;
    }

    #main-img {
        margin-top: 40px;
    }
}

@media screen and (max-width:740px) {
    #side-banner2 {
        padding-bottom: 60px;
    }
}


@media screen and (max-width:510px) {
    img {
        max-width: 100%;
        height: auto;
    }

    .youtube {
        display: none;
    }

    /* youtube 螟悶☆*/
    #header-inner h1 {
        padding-top: 40px;
    }

    .non-youtube {
        display: block;
        text-align: right;
        padding-bottom: 30px;
    }

    #top-3promis,
    #top-3promis li {
        width: 100%;
        float: none;
        text-align: center;
    }

    #side-navi-main {
        margin: 0 auto 10px;
        float: left;
    }

    #side-banner1 {
        width: calc(100% - 230px);
        float: right;
        margin-top: 60px;
    }

    #side-banner2 {
        clear: both;
        width: 100%;
        text-align: center;
    }

    #main-img {
        margin-top: 60px;
    }
}

/*施工事例*/
.ex-archive,
.ex-archive2 {
    width: calc(100% - 20px);
    max-width: 650px;
    overflow: hidden;
    margin: 0 auto 17px;
}

.ex-archive img {
    display: block;
    margin: 0 auto;
}

.ex-archive2.half img {
    max-width: 314px;
    width: calc(50% - 9px);
}

.ex-archive2.half img.img-first {
    margin-right: 17px;
    float: left;
}

.ex-archive2.half img.img-second {
    margin: 0;
    float: right;
}

.ex-archive2 img.mr0 {
    margin-right: 0px;
}

.ex-list {
    width: 660px;
    overflow: hidden;
    margin-bottom: 15px;
}

.ex-list img {
    margin-right: 15px;
    margin-bottom: 15px;
    float: left;
}

.ex-box {
    padding: 15px 0;
    margin: 40px 0 0 0;
    border-top: #553116 dotted 1px;
}

table.ex-table {
    border-collapse: collapse;
    color: #553116;
    width: 645px;
    margin: 25px 0 20px;
}

.ex-table tr th {
    font-size: 14px;
    width: 150px;
    border-top: #553116 dotted 1px;
    border-bottom: #553116 dotted 1px;
    border-right: #553116 dotted 1px;
    padding: 5px 5px;
}

.ex-table tr td {
    font-size: 14px;
    border-top: #553116 dotted 1px;
    border-bottom: #553116 dotted 1px;
    padding: 5px 5px;
}

table.ex-table tr:nth-child(odd) td {
    background-color: #ebe4d3;
}

table.ex-table tr:nth-child(odd) th {
    background-color: #ebe4d3;
}


@media screen and (min-width:961px) {
    .ex-daichang {
        background: url(../img/common/ex-daichang-body.jpg) no-repeat;
        padding: 50px 0 40px 25px;
        font-size:14px;
        margin: 15px 0;
        height: auto;
        min-height: 145px;
    }

    .ex-daichang-l {
        background: url(../img/common/ex-daichang-l.jpg) no-repeat;
        padding: 50px 155px 20px 25px;
        height: 220px;
        font-size:14px;
        margin: 15px 0;
    }

    .ex-point, .ex-client { font-size:14px; }
}

@media screen and (max-width:960px) {
    .ex-daichang {
        background: url(../img/common/ex-daichang-body.jpg) no-repeat;
        padding: 50px 0 40px 25px;
        margin: 15px 0;
        font-size:14px;
        height: auto;
        min-height: 145px;
    }

    .ex-daichang-l {
        background: url(../img/common/ex-daichang-l.jpg) no-repeat;
        margin: 50px auto 40px;
        height: auto;
        font-size:14px;
        min-height: 145px;
    }
    .ex-point, .ex-client { font-size:14px; }
}

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

    .ex-daichang {
        background: url(../img/common/ex-daichang-body2.jpg) no-repeat;
        padding: 50px 25px 40px 25px;
        margin: 15px auto;
        height: auto;
        font-size:15px;
        line-height:160%;
    }

    .ex-daichang-l {
        background: url(../img/common/ex-daichang-l.jpg) no-repeat;
        margin: 50px auto 40px;
        height: auto;
        min-height: 145px;
        font-size:15px;
        line-height:160%;
    }
    .ex-point, .ex-client { font-size:15px; line-height: 150%; }

}

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

    .ex-daichang {
        background: url(../img/common/ex-daichang-body2.jpg) no-repeat;
        padding: 50px 10px 40px 10px;
        margin: 15px auto;
        height: auto;
        font-size:16px;
        line-height:175%;
    }

    .ex-daichang-l {
        background: url(../img/common/ex-daichang-l.jpg) no-repeat;
        margin: 50px auto 40px;
        height: auto;
        min-height: 145px;
        font-size:16px;
        line-height:175%;
    }
    .ex-point, .ex-client {
        padding-right:10px !important;
        padding-left:10px !important;
        font-size:16px;
        line-height:175%;
    }

}

.ex-client {
    padding: 0 25px 20px 25px;
}

.ex-point {
    margin-bottom: 50px;
}

.ex-point li:before {
    content: "■ ";
}

.sekou-one-box {
    width: 645px;
    margin: 0 auto 20px;
}

.sekou-one-box.ex-box img {
    width: auto;
    max-width: 100%;
}

/*.sekou-before-box { width:305px; float:left; }
    .sekou-hikaku-box1 { width:305px; float:left; }
    img.widesize { float:left; margin-top:80px; }
    img.narrowsize { display: none; }
    .sekou-after-box { width:305px; float:right; }
    .sekou-hikaku-box2 { width:305px; float:right; }*/
.sekou-detail-box {
    margin: 5px 0 20px;
    text-align: center;
}

/*    .sekou-before-box img, .sekou-after-box img, .sekou-hikaku-box2 img { width:100%; }


    .sekou-before-box .show-phone-box, .sekou-after-box .show-phone-box, .sekou-one-box .show-phone-box, .sekou-hikaku-box1 .show-phone-box, .sekou-hikaku-box2 .show-phone-box   { display: none; }
    .sekou-before-box .show-pc-box, .sekou-after-box .show-pc-box, .sekou-one-box .show-pc-box, .sekou-hikaku-box1 .show-pc-box, .sekou-hikaku-box2 .show-pc-box { display: block; }
*/

@media screen and (min-width:686px) {

    .sekou-before-box img,
    .sekou-after-box img,
    .sekou-hikaku-detailbox img,
    .sekou-hikaku-box1 img,
    .sekou-hikaku-box2 img {
        width: auto;
    }

    .sekou-before-box img.fullimg,
    .sekou-after-box img.fullimg,
    .sekou-hikaku-detailbox img.fullimg,
    .sekou-hikaku-box1 img.fullimg,
    .sekou-hikaku-box2 img.fullimg {
        max-width: 645px;
    }
}

@media screen and (max-width:685px) {
    .sekou-one-box {
        width: calc(100% - 20px);
        margin: 0 auto 20px;
    }

    .sekou-before-box {
        width: 100%;
        text-align: center;
        float: none;
    }

    .sekou-hikaku-box1 {
        width: 100%;
        text-align: center;
        float: none;
    }

    .sekou-after-box {
        width: 100%;
        text-align: center;
        float: none;
    }

    /*
    .sekou-before-box .show-phone-box, .sekou-after-box .show-phone-box, .sekou-one-box .show-phone-box, .sekou-hikaku-box1 .show-phone-box, .sekou-hikaku-box2 .show-phone-box   { display: block; }
    .sekou-before-box .show-pc-box, .sekou-after-box .show-pc-box, .sekou-one-box .show-pc-box, .sekou-hikaku-box1 .show-pc-box, .sekou-hikaku-box2 .show-pc-box  { display: none; }
*/
    .sekou-hikaku-box2 {
        width: 100%;
        text-align: center;
        float: none;
    }

    .sekou-detail-box {
        margin: 5px 0 10px 0;
        text-align: center;
        border-bottom: 1px dotted #000;
    }

    .sekou-before-box img,
    .sekou-after-box img,
    .sekou-hikaku-detailbox img,
    .sekou-hikaku-box1 img,
    .sekou-hikaku-box2 img {
        width: auto;
    }

    .sekou-before-box img.fullimg,
    .sekou-after-box img.fullimg,
    .sekou-hikaku-detailbox img.fullimg,
    .sekou-hikaku-box1 img.fullimg,
    .sekou-hikaku-box2 img.fullimg {
        max-width: 645px;
        width: 100%;
    }

    img.widesize {
        display: none;
    }

    img.narrowsize {
        display: block;
        margin: 10px auto;
    }

    table.ex-table {
        width: calc(100% - 20px);
        margin: 0 auto 20px;
    }

    .ex-table tr th {
        width: 70px;
    }

    .ex-table tr td {
        width: calc(100% - 90px);
    }

    h5 {
        border: none;
        margin-bottom: 5px;
    }

}



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

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

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

/*
#single-movie-box .movie-thumb-box { width:100%; margin-bottom:20px;  }
#single-movie-box .movie-thumb-box img {width:100%; height:auto; }
*/
@media screen and (min-width:716px) {
    #single-movie-box .iframe-movie {
        width: 100%;
        height: 450px;
        margin-bottom: 10px;
    }
}

@media screen and (max-width:715px) {
    #single-movie-box .iframe-movie {
        width: 100%;
        height: 350px;
        margin-bottom: 10px;
    }
}

@media screen and (max-width:515px) {
    #single-movie-box .iframe-movie {
        width: 100%;
        height: 250px;
        margin-bottom: 10px;
    }
}

/***** pagenavi *****/
.pagenavi {
    font-size:13px;
    text-align: center;
}
@media screen and (max-width:515px) {

    .pagenavi { font-size:12px; margin-bottom:20px; }

}

.pagenavi .wp-pagenavi a,
.pagenavi .wp-pagenavi span {
    -webkit-border-radius: 2px 2px 2px 2px;
    border-radius: 2px 2px 2px 2px;
    text-decoration: none;
    background-color: #dcdcdc;
    padding: 3px 5px;
    color: #000;
    margin: 2px;
    border: none;
}

.pagenavi .wp-pagenavi a:hover,
.pagenavi .wp-pagenavi span.current {
    border-color: #000;
    text-decoration: underline;
    color: #000;
}

.pagenavi .wp-pagenavi span.current {
    background-color: #53361A;
    font-weight: bold;
    color: #fff;
}



span.index-category-span-work_whole,
span.index-category-span-work_kitchen,
span.index-category-span-work_exterior,
span.index-category-span-work_toilet,
span.index-category-span-work_interior,
span.index-category-span-work_all,
span.index-category-span-work_washroom,
span.index-category-span-work_bathroom,
span.index-category-span-work_staffchange {
    font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'Meiryo', 'メイリオ', Verdana, 游ゴシック体, 'Yu Gothic', YuGothic, 'ＭＳ Ｐゴシック', sans-serif;
    padding: 2px;
}

span.index-category-span-work_whole {
    background-color: darkred;
    color: #fff;
    letter-spacing: -0.05em;
}

span.index-category-span-work_kitchen {
    background-color: lightpink;
    color: #000;
    letter-spacing: -0.05em;
}

span.index-category-span-work_exterior {
    background-color: lightgreen;
    color: #000;
    letter-spacing: -0.1em;
}

span.index-category-span-work_toilet {
    background-color: yellow;
    color: #000;
    letter-spacing: -0.05em;
}

span.index-category-span-work_interior {
    background-color: orange;
    color: #fff;
    letter-spacing: -0.1em;
}

span.index-category-span-work_all {
    background-color: indianred;
    color: #fff;
    letter-spacing: -0.05em;
}

span.index-category-span-work_washroom {
    background-color: lightcyan;
    color: #000;
    letter-spacing: -0.05em;
}

span.index-category-span-work_bathroom {
    background-color: aquamarine;
    color: #000;
    letter-spacing: -0.05em;
}

span.index-category-span-work_staffchange {
    background-color: lightgray;
    color: #000;
    letter-spacing: -0.05em;
}



.lineup-youtenbox img {
    max-width: 645px;
    width: 100%;
    display: block;
    margin: 0 auto 10px;
}

@media screen and (min-width: 521px) {
    .sampleshot-yajirushi-pc {
        width: 100%;
    }

    .sampleshot01-pc {
        width: calc(50% - 25px);
        height: auto;
        float: left;
        margin-bottom: 10px;
    }

    .sampleshot02-pc {
        width: calc(50% - 25px);
        height: auto;
        float: right;
        margin-bottom: 10px;
    }

    .sampleshot01-sp {
        width: calc(50% - 25px);
        height: auto;
        float: left;
        margin-bottom: 10px;
    }

    .sampleshot02-sp {
        width: calc(50% - 25px);
        height: auto;
        float: right;
        margin-bottom: 10px;
    }

    img.about-president-img {
        float: right;
        margin-left: 10px;
    }

    .samplemovie01 {
        width: 49%;
        height: 280px;
        float: left;
    }

    .samplemovie02 {
        width: 49%;
        height: 280px;
        float: right;
    }
}

@media screen and (max-width: 520px) {
    img.about-president-img {
        float: none;
        display: block;
        margin: 0 auto 10px;
    }

    .sampleshot01-pc,
    .sampleshot02-pc {
        width: 100%;
        max-width: 420px;
        height: auto;
        float: none;
        display: block;
        margin: 0 auto 10px;
    }

    .sampleshot01-sp,
    .sampleshot02-sp {
        width: 100%;
        max-width: 420px;
        height: auto;
        float: none;
        display: block;
        margin: 0 auto 10px;
    }

    .sampleshot-yajirushi-pc {
        width: 100%;
        background: url(../img/page-photomemory/img-yajirushi_sp.png) no-repeat center center !important;
    }

    .sampleshot-yajirushi-sp {
        width: 100%;
        background: url(../img/page-photomemory/img-yajirushi_sp.png) no-repeat center center !important;
    }

    .sampleshot01-pc,
    .sampleshot01-sp {
        margin-bottom: 50px;
    }

    .samplemovie01 {
        width: 100%;
        max-width: 420px;
        height: 240px;
        float: none;
        display: block;
        margin: 0 auto 10px;
    }

    .samplemovie02 {
        width: 100%;
        max-width: 420px;
        height: 240px;
        float: none;
        display: block;
        margin: 0 auto;
    }
}

img.photobox-face1 {
    width: 45%;
    float: left;
    max-width: 420px;
}

img.photobox-info1 {
    width: 54%;
    float: right;
    max-width: 360px;
}

img.photobox-face2 {
    width: 45%;
    float: right;
    max-width: 420px;
}

img.photobox-info2 {
    width: 54%;
    float: left;
    max-width: 360px;
}

@media screen and (min-width: 621px) {
    .video-frame {
        width: 420px;
        float: right;
        margin-left: 10px;
        text-align: center;
        font-size: 13px;
    }

    .video-frame iframe {
        width: 420px;
        height: 240px;
    }
}

@media screen and (max-width: 620px) {
    .video-frame {
        width: 100%;
        max-width: 420px;
        float: none;
        margin: 0 auto 20px;
        text-align: center;
        font-size: 13px;
    }

    .video-frame iframe {
        width: 100%;
        max-width: 420px;
        height: 240px;
    }
}

@media screen and (min-width: 551px) {
    img.photographer-img1 {
        width: 49%;
        height: auto;
        float: left;
    }

    img.photographer-img2 {
        width: 49%;
        height: auto;
        float: right;
    }

    .sampleshot04 {
        width: 32%;
        height: auto;
        margin-right: 2%;
        float: left;
    }

    img.photobox-face1 {
        width: 45%;
        float: left;
        max-width: 420px;
    }

    img.photobox-info1 {
        width: calc(55% - 20px);
        float: left;
        max-width: 360px;
        margin-left: 20px;
    }

    img.photobox-face2 {
        width: 45%;
        float: right;
        max-width: 420px;
    }

    img.photobox-info2 {
        width: calc(55% - 20px);
        float: right;
        max-width: 360px;
        margin-right: 20px;
    }

    .photobox01 {
        margin-bottom: 40px;
    }

    .photobox3 {
        float: left;
        margin-right: 10px;
        font-size: 13px;
        width: 350px;
    }

    .photobox3 img {
        width: 100%;
    }
}

@media screen and (max-width: 550px) {
    img.photographer-img1 {
        width: auto;
        height: auto;
        float: none;
        display: block;
        margin: 0 auto 10px;
    }

    img.photographer-img2 {
        width: auto;
        height: auto;
        float: none;
        display: block;
        margin: 0 auto;
    }

    .sampleshot04 {
        width: auto;
        height: auto;
        float: none;
        display: block;
        margin: 0 auto 10px;
    }

    img.photobox-face1 {
        width: calc(100% - 20px);
        float: none;
        max-width: 420px;
        display: block;
        margin: 0 auto 10px;
    }

    img.photobox-info1 {
        width: calc(100% - 20px);
        float: none;
        max-width: 360px;
        display: block;
        margin: 0 auto 10px;
    }

    img.photobox-face2 {
        width: calc(100% - 20px);
        float: none;
        max-width: 420px;
        display: block;
        margin: 0 auto 10px;
    }

    img.photobox-info2 {
        width: calc(100% - 20px);
        float: none;
        max-width: 360px;
        display: block;
        margin: 0 auto 10px;
    }

    .photobox01 {
        margin-bottom: 40px;
    }

    .photobox3 {
        float: none;
        margin: 0 auto 10px;
        font-size: 13px;
        max-width: 400px;
    }

    .photobox3 img {
        width: 100%;
    }
}



@media screen and (min-width: 521px) {
    .workersbox {
        width: 40%;
        float: left;
        margin-right: 10px;
    }

    .img-worker01 {
        width: 49%;
        height: auto;
        margin-right: 2%;
        float: left;
        margin-bottom: 5px;
    }

    .img-worker02 {
        width: 49%;
        height: auto;
        float: right;
        margin-bottom: 5px;
    }

    .img-worker03 {
        width: 49%;
        height: auto;
        margin-right: 2%;
        float: left;
    }

    .img-worker04 {
        width: 49%;
        height: auto;
        float: right;
    }
}

@media screen and (max-width: 520px) {
    .workersbox {
        width: 100%;
        float: none;
        margin-bottom: 10px;
    }

    .img-worker01 {
        width: 49%;
        height: auto;
        margin-right: 2%;
        float: left;
        margin-bottom: 5px;
    }

    .img-worker02 {
        width: 49%;
        height: auto;
        float: right;
        margin-bottom: 5px;
    }

    .img-worker03 {
        width: 49%;
        height: auto;
        margin-right: 2%;
        float: left;
        margin-bottom: 10px;
    }

    .img-worker04 {
        width: 49%;
        height: auto;
        float: right;
        margin-bottom: 10px;
    }
}



.lineup-row01 {
    margin-bottom: 30px;
}

.lineup-row01 img.pcimg,
.lineup-row02 img.pcimg {
    max-width: 600px;
    width: calc(100% - 40px);
    display: block;
    margin: 0 auto 0 0;
}

.lineup-row01 img.spimg,
.lineup-row02 img.spimg {
    max-width: 305px;
    display: block;
    width: calc(100% - 20px);
    margin: 0 auto;
}

#main-content .chirashi-box1, #main-content .chirashi-box2, #main-content .chirashi-box3 {
    display: flex;
}

#main-content .chirashi-box1 a, #main-content .chirashi-box2 a, #main-content .chirashi-box3 a {
    padding:0;
    margin-right:10px;
    display: inline-flex;
}

#main-content .chirashi-box1 img, #main-content .chirashi-box2 img, #main-content .chirashi-box3 img {
    width:100%;
    height:auto;
    height:100%;
}

.reform-sec {
    border:1px solid #53361A;
    padding:10px;
    margin-bottom:20px;
}

.reform-photosec {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    font-size:14px;
}

.reform-photosec li a {
    margin:0 10px 0 0;
    text-decoration: none;
    color:#11599D;
}

.reform-photosec li a:hover {
    color:#d00;
}



h3.h3-social {
    font-size:36px;
    text-align: center;
    margin-bottom:10px;
}
h3.h3-social i {font-weight: normal; display: block;}
.social-box {
    text-align: center;
    background-color:#FBF4E1;
    padding:20px 10px;
    font-size:16px;
    font-weight: bold;
    line-height:1.5;
    margin-bottom:30px;
}

img.socialimg01 { max-width:100%; margin:0 auto; }
