﻿/* 
@media (max-width: 1400px) {

} 

@media (max-width: 1200px) {

}

@media (max-width: 992px) {

}

//992 以下本案秀手機版
@media (max-width: 768px) {

}

@media (max-width: 576px) {

}
*/

#slide1 {
    background-repeat: no-repeat;
    background-position: center top;
}

.mainSwiper .swiper-slide::before {
    opacity: 0.15;
}


/* 案例分享 */
.s4 {
    position: relative;
    padding: 0 0 2rem 0;
    background-image: url(../Images/bg01.jpg);
}

    .s4 .title {
        position: relative;
        font-size: 40px;
        font-weight: 400;
        font-family: "Noto Sans TC", sans-serif;
        text-align: center;
        margin-bottom: 2em;
    }

        .s4 .title span {
            padding-bottom: 0.5em;
            border-bottom: 1px solid #565656;
            display: block;
            margin: 0 auto;
            width: 4.5em;
        }

    .s4 table.caseTable {
        text-align: center;
        margin: 0 auto;
    }

    .s4 .caseTable td {
        vertical-align: top;
    }

    .s4 table.caseTable tr td.caseColumn {
        width: 320px;
    }

    .s4 table.caseTable tr td.caseGap {
        width: 25px;
    }

    .s4 .ccL,
    .s4 .ccR {
        padding-top: 85px;
    }

    .s4 .eachCase {
        position: relative;
        box-sizing: border-box;
        border: 1px solid #565656;
        margin-bottom: 1.5em;
        display: block;
        width: 320px;
        text-decoration: none;
        overflow: hidden;
    }

        .s4 .eachCase .caseBg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            transition: all 0.7s ease 0s;
        }

        .s4 .eachCase:hover {
            filter: grayscale(1);
            transition: all 0.7s ease 0s;
        }

            .s4 .eachCase:hover .caseBg {
                display: block;
                filter: grayscale(1);
                filter: brightness(50%);
                transform: scale(1.04);
            }

    .s4 .caseRectangleType {
        height: 466px;
    }

    .s4 .caseSquareType {
        height: 320px;
    }

    .s4 .eachCase .caseContent {
        color: white;
        opacity: 0;
        transition: all 0.6s ease 0s;
        position: absolute;
        left: 0;
        bottom: 5rem;
        width: 100%;
        height: 100px;
        text-align: left;
        padding: 0 1.5em;
    }

    .s4 .caseRectangleType .caseContent {
        bottom: 3rem;
    }

    .s4 .caseSquareType .caseContent {
        bottom: 2.5rem;
    }

    .s4 .eachCase:hover .caseContent {
        opacity: 1;
    }

    .s4 .eachCase .caseContent h2 {
        font-size: 24px;
        font-weight: 500;
    }

    .s4 .eachCase .caseContent p {
        font-size: 17px;
        font-weight: 400;
        font-family: "微軟正黑體";
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
        display: -webkit-box;
    }

    .s4 .caseMore {
        margin: 3rem 0;
        text-align: center;
    }

        .s4 .caseMore a {
            display: inline-block;
            border: 1px solid #999999;
            color: #999999;
            text-decoration: none;
            padding: 0 2em;
            font-size: 22px;
            font-family: "微軟正黑體";
            font-weight: 600;
            line-height: 60px;
            letter-spacing: 2px;
        }

        .s4 .caseMore .bi {
            width: 24px;
            height: 24px;
            margin-top: -5px;
        }

        .s4 .caseMore a:hover {
            border: 1px solid #000000;
            color: #000000;
        }
/*----*/




@media (max-width: 1400px) {
    .s4 table.caseTable tr td.caseColumn {
        width: 280px;
    }

    .s4 table.caseTable tr td.caseGap {
        width: 25px;
    }

    .s4 .ccL,
    .s4 .ccR {
        padding-top: 75px;
    }

    .s4 .eachCase {
        width: 280px;
        margin-bottom: 1.2em;
    }

    .s4 .caseRectangleType {
        height: 407px;
    }

        .s4 .caseRectangleType .caseContent {
            bottom: 2.5rem;
        }

    .s4 .caseSquareType {
        height: 280px;
    }

        .s4 .caseSquareType .caseContent {
            bottom: 2rem;
        }

    .s4 .eachCase .caseContent {
        padding: 0 1em;
    }

        .s4 .eachCase .caseContent p {
            font-size: 16px;
        }
}
@media (max-width: 1200px) {
    .s4 table.caseTable tr td.caseColumn {
        width: 240px;
    }

    .s4 table.caseTable tr td.caseGap {
        width: 5px;
    }

    .s4 .ccL,
    .s4 .ccR {
        padding-top: 60px;
    }

    .s4 .eachCase {
        width: 240px;
        margin-bottom: 0.4em;
    }

    .s4 .caseRectangleType {
        height: 349px;
    }

        .s4 .caseRectangleType .caseContent {
            bottom: 2.5rem;
        }

    .s4 .caseSquareType {
        height: 240px;
    }

        .s4 .caseSquareType .caseContent {
            bottom: 2rem;
        }

    .s4 .eachCase .caseContent {
        padding: 0 1em;
    }

        .s4 .eachCase .caseContent p {
            font-size: 16px;
        }
}
@media (max-width: 992px) {
    .s4 .title {
        font-size: 30px;
        padding-left: 18px;
        margin-bottom: 1em;
    }

        .s4 .title span {
            margin: unset;
        }

    .s4 table.caseTable tr td.caseColumn {
        width: 170px;
    }

    .s4 table.caseTable tr td.caseGap {
        width: 5px;
    }

    .s4 .ccR {
        display: none;
    }

    .s4 .ccL,
    .s4 .ccR {
        padding-top: 60px;
    }

    .s4 .eachCase {
        width: 170px;
        margin-bottom: 0.4em;
    }

        .s4 .eachCase.show {
            filter: grayscale(1);
            transition: all 0.7s ease 0s;
        }

            .s4 .eachCase.show .caseBg {
                display: block;
                filter: grayscale(1);
                filter: brightness(50%);
                transform: scale(1.04);
            }

            .s4 .eachCase.show .caseContent {
                opacity: 1;
            }

        .s4 .eachCase .caseContent h2 {
            font-size: 18px;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 1;
            overflow: hidden;
            display: -webkit-box;
        }

    .s4 .caseRectangleType {
        height: 265px;
    }

        .s4 .caseRectangleType .caseContent {
            bottom: 0rem;
        }

    .s4 .caseSquareType {
        height: 170px;
    }

        .s4 .caseSquareType .caseContent {
            bottom: 0rem;
        }

    .s4 .eachCase .caseContent {
        padding: 0 1em;
    }

        .s4 .eachCase .caseContent p {
            font-size: 14px;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
        }
}



.rightArea {
    width: 150px;
    float: right;
    /*border:1px solid red;*/
}

/*---右選單 START---*/
.sideMenu {
}

    .sideMenu h5, .sideMenu h6 {
        font-size: 23px;
        font-weight: 400;
        letter-spacing: 1px;
        padding-bottom: 12px;
        border-bottom: 1px solid black;
        margin-bottom: 5px;
        display: inline-block;
    }

    .sideMenu h6 {
        border-bottom: 0 solid black;
    }

    .sideMenu ul {
        margin-left: -34px;
    }

        .sideMenu ul li {
            display: block;
            list-style: none;
            font-size: 23px;
            font-weight: 400;
            letter-spacing: 1px;
            line-height: 25px;
            padding: 6px 0;
            margin: 8px 0 0 0;
        }

            .sideMenu ul li span {
                font-size: 15px;
            }


            .sideMenu ul li a {
                text-decoration: none;
                color: unset;
            }


                .sideMenu ul li.active a, .sideMenu ul li a:hover {
                    color: #893448;
                    cursor: pointer;
                    line-height: 25px;
                }

            .sideMenu ul li.active:before, .sideMenu ul li:hover:before {
                content: "．";
                margin-left: -24px;
                color: #893448;
            }
/*---右選單 END---*/

/*---右選單下方搜尋區 START---*/
#right-search-input {
    background-color: white;
    border: 1px solid #7b7979;
    height: 40px;
    line-height: 40px;
    border-radius: 20px;
    padding-left: 1rem;
    padding-right: 1rem;
    width: 160px;
}

    #right-search-input:focus {
        border: 1px solid #000000;
    }

    #right-search-input:focus-visible {
        outline: none;
    }

#right-search-icon {
    -webkit-appearance: none;
    -moz-appearance: none;
    display: inline-block;
    border: none;
    padding: 0;
    text-decoration: none;
    background: unset;
    color: #ffffff;
    margin-top: 4px;
    margin-left: -36px;
}

    #right-search-icon svg {
        margin-top: -6px;
    }



#right-search-icon {
    cursor: pointer;
}

    #right-search-icon svg {
        fill: #7b7979;
    }

        #right-search-icon svg:hover {
            fill: #000000;
        }
/*---右選單下方搜尋區 END---*/

@media (max-width: 768px) {



    .s4 {
        padding-top: 2.5em;
    }

    .form-select:focus {
        border-color: #000000;
        outline: 0;
        box-shadow: 0 0 0 0 rgb(13 110 253 / 25%);
    }

    #content-search-select {
        background-color: white;
        border: 1px solid #7b7979;
        height: 40px;
        line-height: 40px;
        padding: 0 1rem;
        border-radius: 20px;
        width: 100%;
    }
    #content-search-input {
        background-color: white;
        border: 1px solid #7b7979;
        height: 40px;
        line-height: 40px;
        border-radius: 20px;
        padding-left: 1rem;
        padding-right: 1rem;
        width: 100%;
    }

        #content-search-input:focus {
            border: 1px solid #000000;
        }

        #content-search-input:focus-visible {
            outline: none;
        }

    #content-search-icon {
        -webkit-appearance: none;
        -moz-appearance: none;
        display: inline-block;
        border: none;
        padding: 0;
        text-decoration: none;
        background: unset;
        color: #ffffff;
        margin-top: 4px;
        margin-left: -36px;
    }

        #content-search-icon svg {
            margin-top: -6px;
        }



    #content-search-icon {
        cursor: pointer;
    }

        #content-search-icon svg {
            fill: #7b7979;
        }

            #content-search-icon svg:hover {
                fill: #000000;
            }
}




@media (max-width: 768px) {

    #slide1 {
        background-position: -100px 0px;
    }

    #mainSlogn h2 {
        font-size: 38px;
        letter-spacing: 5px;
    }

    #mainSlogn h3 {
        font-size: 19px;
        letter-spacing: 1px;
    }

    .container.underMainSwiper {
        padding-top: 0rem;
    }
}
