/* 傑品QACSS */

.jp-banner {
    background-size: cover;
    height: 100px;
    padding-top: 36px;
}

.portfolio-bg {
    background-image: url("../images/portfolio-jiepin/portfolio_slide01.jpg");
    background-position: center center;
}

.people-bg {
    background-image: url("../images/portfolio-jiepin/people_slide01.jpg");
    background-position: top center;
}

.drink-bg {
    background-image: url("../images/portfolio-jiepin/drink_slide01.jpg");
    background-position: top center;
}

.bike-bg {
    background-image: url("../images/portfolio-jiepin/bike_slide01.jpg");
    background-position: top center;
}

.boutique-bg {
    background-image: url("../images/portfolio-jiepin/boutique-slide01.jpg");
    background-position: center center;
}

.industral-bg {
    background-image: url("../images/portfolio-jiepin/industral_slide01.jpg");
    background-position: center center;
}

.food-bg {
    background-image: url("../images/portfolio-jiepin/food_slide01.jpg");
    background-position: center top;
}

.space-bg {
    background-image: url("../images/portfolio-jiepin/space_slide01.jpg");
    background-position: center center;
}

.life-bg {
    background-image: url("../images/portfolio-jiepin/life_slide01.jpg");
    background-position: top center;
}


.jp-banner h2 {

    text-align: center;
    font-size: 20px;
    color: #fff;
    letter-spacing: 0.02em;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, .7)
}

.jp-banner h2+span {
    margin-top: 2px;
    font-size: 12px;
    display: block;
    text-align: center;
    color: #333;
}

/* SNAV */
.s-nav {
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
    /* display: block; */
}

.s-nav ul {
    width: 100%;
    display: inline-block;
    /* background-color: #ff7300; */
    margin-bottom: 10px;
}

.s-nav li {
    float: left;
    width: 50%;
}

.s-nav li>a {
    display: block;
    color: #333;
    text-align: center;
    border: 1px solid #ddd;
    margin: 2px 2px;
    line-height: 40px;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 1px 1px 1px #eee;
    font-size: 17px;
}

.s-nav li>a:hover {
    background-color: rgb(216, 239, 253);
}

.s-nav a.active {
    background-color: rgb(37, 83, 184);
    background: linear-gradient(180deg, rgb(0, 95, 219), rgb(0, 79, 153));
    color: white;
}



/* S1 */
.jp-portfolio-s1 {
    /* background-image: url("../images/jp-intro.jpg"); */
    background-size: cover;
    background-position: center center;
    padding-top: 20px;
    padding-bottom: 20px;
    background-attachment: fixed;
    letter-spacing: 0.02em;
    background: #ffffff;
    /* Old browsers */
    background: linear-gradient(to bottom, #ffffff 0%, #eeeeee 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */

}


.jp-portfolio-s1 .pic {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 0 5px rgba(0, 0, 0, .5);
}

.jp-portfolio-s1 .pic img {
    transition: all 1s;
}

.jp-portfolio-s1 .pic:hover img {
    transform: scale(1.1);
}

.jp-portfolio-s1 h3 {

    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
    font-size: 24px;
    /* font-weight: bold; */

}

.jp-portfolio-s1 i {
    margin-bottom: 2px;
    color: #ff7300;
    margin-right: 5px;
}


.jp-portfolio-s1 .pic p {
    line-height: 40px;
    background-color: rgba(0, 0, 0, .5);
    position: absolute;
    z-index: 10;
    bottom: 0px;
    text-align: center;
    left: 0;
    right: 0;

}



.jp-portfolio-s1 a {
    color: #fff;
}



.content-intro>h4 {
    text-align: center;
    font-size: 20px;
    margin-top: -10px;
    margin-bottom: 10px;
    font-weight: bold;
    color: rgb(44, 126, 180);
    
}

.content-intro>p {
    padding: 10px 15px;
    text-align: justify;
    line-height: 1.3em;
    background-color: rgb(250, 250, 250);
    border-radius: 10px;
    color: rgb(100, 100, 100);

}



/* ///////////////////////////////////////////////////////////////////////////////////////////// */
/* /////////////////////////////////////////////////// 平板////////////////////////////////// */
/* ///////////////////////////////////////////////////////////////////////////////////////////// */
@media screen and (min-width:768px) {

    /*con-intro*/

    .content-intro {
        /* padding: 10px; */
        border: 1px solid rgb(210, 210, 210);
        position: relative;
        padding: 10px 20px;
        border-radius: 5px;
        width: 98%;
        margin: 20px auto;
        margin-top: 25px;
        background-color: rgb(250, 250, 250);


    }

    .content-intro>h4 {
        margin: 0;
        border: 1px solid rgb(190, 190, 190);
        padding: 5px;
        width: 220px;
        text-align: center;
        font-size: 16px;
        position: absolute;
        background-color: rgb(246, 252, 255);
        z-index: 5;
        top: -20px;
        border-radius: 5px;

    }

    .content-intro>p {
        padding-top: 10px;
        color: rgb(100, 100, 100);
        line-height: 1.4em;
        background-color: transparent;
    }




    .jp-banner {
        height: 150px;
        padding-top: 50px;
    }

    .jp-banner h2 {

        text-align: center;
        font-size: 28px;
        color: #fff;
    }

    .jp-banner h2+span {
        margin-top: 4px;
        font-size: 14px;
        display: block;
        text-align: center;
    }

    .s-nav li {
        float: left;
        width: 25%;
    }


}


/* ///////////////////////////////////////////////////////////////////////////////////////////// */
/* /////////////////////////////////////////////////// 電腦版 ////////////////////////////////// */
/* ///////////////////////////////////////////////////////////////////////////////////////////// */

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

    .jp-banner {
        height: 300px;
        padding-top: 120px;
    }

    .jp-banner h2 {
        text-align: center;
        font-size: 36px;
        color: #fff;
    }

    .jp-banner h2+span {
        margin-top: 5px;
        font-size: 18px;
        display: block;
        text-align: center;
    }

    .jp-portfolio-s1 {
        padding: 10px 0;
        padding-bottom: 30px;
    }

    .jp-portfolio-s1 h3 {
        font-size: 30px;
        margin-bottom: 30px;
    }

    .s-nav li {
        float: left;
        width: 12.5%;
    }

    .s-nav li>a {
        margin: 5px 5px;
    }

}

/* 瀑布流共用區 */

.item {
    padding: 10px;
    overflow: hidden;
}

.item img {
    width: 100%;
    /* border-radius: 5px; */
    /* overflow: hidden;  */
    box-shadow: 1px 1px 3px #ccc;

}

.item img:hover {
    opacity: 0.9;


}