// 關於我頁面
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 微軟正黑體;
}
$desktop: 1025px;
$table: 1024px;
$moblie: 767px;
$Font-color: #fff;
$title-color: #646464;
$bgcolor: #f4fffc;
$navbgcolor: #a9d0c5;
body {
    position: relative;
    // background: url(../img/about/banner/banner.webp), linear-gradient(180deg, transparent 1%, #363636 1%);
    // background-size: 120vw;
    // background-repeat: no-repeat;
    background: #363636;
    @media screen and(max-width:$moblie) {
        background: #363636;
    }
    .arrow {
        position: fixed;
        right: 30px;
       bottom:150px;
        width: 45px;
        height: 40px;
        z-index: 10;
        @media screen and(max-width:$moblie) {
            top: 525px;
        }
        @media screen and(max-width:350px) {
            top: 445px;
        }
        a {
            margin: 30px 0px;
        }
        .icon {
            @media screen and(max-width:$moblie) {
                display: none;
            }
        }
        &:hover {
            box-shadow: 1px 3px 13px -2px rgba(0, 0, 0, 0.35);
        }
    }
}
#Navigation {
    background: rgba(112, 112, 112, 0.5);

    height: 4.5vw;
    width: 100vw !important;
    position: fixed;
    z-index: 10;
    @media screen and(max-width:$table) {
        height: 8vw;
    }
    @media screen and(max-width:$moblie) {
        height: 20vw;
        position: fixed;
        z-index: 5;

        background: rgba(0, 0, 0, 0.8);
    }
    #nav {
        width: 100vw;
        margin: 0 auto;
    }

    //    rwd要注意高度
    #logo {
        
        padding-top: 0.5vw;
        @media screen and(max-width:$moblie) {
            padding-top: 5vw;
            text-align: center;
        }

        img {
            width: 120px;
        }
    }
    #arrow-left{
        padding-left:5vw;
        padding-top: 8vw;
        @media screen and(min-width:$desktop) {
            display: none;
        }
        img {
            object-fit: cover;
            width: 26px;
        }
    }
    #link {
        text-align: right;
        padding: 1.5vw 3vw;
        @media screen and(max-width:$table) {
            padding-top: 2vw;
        }
        @media screen and(max-width:$moblie) {
            display: none;
        }

        a {
            text-decoration: none;
            color: $Font-color;
            letter-spacing: 1px;
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer;
            padding: 5px;
            position: relative;
            img {
                object-fit: cover;
            }
        }
    }

    #menu-btn1 {
        position: absolute;
        right: 1vw;
        top: 1vw;
        width: 18vw;
        z-index: 6;

        @media screen and(min-width:$desktop) {
            display: none;
        }
        @media screen and(min-width:768px) {
            display: none;
        }
    }
}
#Navigation2 {
    background: rgba(112, 112, 112, 0.75);
    height: 4.5vw;
    width: 100vw !important;
    position: fixed;
    bottom: 0px;
    z-index: 10;

    @media screen and(min-width:$desktop) {
        display: none;
    }
    @media screen and(max-width:$table) {
        height: 8vw;
    }
    @media screen and(max-width:$moblie) {
        height: 15vw;
        position: fixed;
        z-index: 5;

        background: rgba(0, 0, 0, 0.8);
    }

    #nav {
        width: 90vw;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        text-align: center;
        a {
            text-decoration: none;
            color: $Font-color;
            letter-spacing: 1px;
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer;

            position: relative;
            img {
                margin: 10px auto;
                object-fit: cover;
            }
        }
    }

    //    rwd要注意高度
}
#banner {
    position: relative;
    .banner-filter {
        position: absolute;
        z-index:-1;
        .bannerfilter{
            width: 100vw;
            object-fit: cover;
            height: 50vw;
            animation-delay:0.1s;
            @media screen and(max-width:$moblie) {
                height: 80vh;
            }
        }
       
    }
    #about-title {
        position: absolute;
        right: 50px;
        top: 100px;
        @media screen and(max-width:$moblie) {
         display: none;
        }
    }
    #bannerdes-img {
        position: absolute;
        z-index: -2;
        opacity: 1;
        .banner-img {
            width: 100vw;
            height: 50vw;
            object-fit: cover;
            @media screen and(max-width:$moblie) {
                height: 80vh;
            }
        }
    }
    @media screen and(max-width:$moblie) {
        // background-image: url(../img/about/banner/banner-m2.png);
        background-size: 110vw;
        background-repeat: no-repeat;
    }
    #banner-container {
        padding-top: 15vw;
        width: 90vw;
        @media screen and(max-width:$moblie) {
            width: 95vw;
        }
        .banner-des-about {
            @media screen and(max-width:$moblie) {
                display: none;
            }
            .banner-1{
                .btn{
                    color:#fff;
                    width: 60px;
                    height: 40px;
                    box-shadow:none;
                    :focus{
                        outline: 0 !important;
                        box-shadow:none;
                    }
                    img{
                        width: 24px;
                        object-fit: cover;
                        filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%);
                    }
                }
            }
            .banner-2 {
                img {
                    @media screen and(max-width:$moblie) {
                        display: none;
                    }
                }
            }
            .banner-3 {
                img {
                    margin-bottom: -52px;
                }
            }
            
        }
        .banner-m {
            @media screen and(min-width:$desktop) {
                display: none;
            }
            .bannerm-1 {
                @media screen and(max-width:$moblie) {
                    padding-right: 5px;
                    padding-left: 7px;
                }
                .btn{
                    color:#fff;
                    width: 55px;
                    height: 40px;
                    box-shadow:none;
                    @media screen and(max-width:350px) {
                        width: 50px;
                        height: 40px;
                      
                    }
                    :focus{
                        outline: 0 !important;
                        box-shadow:none;
                    }
                    img{
                        width: 22px;
                        object-fit: cover;
                        filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%);
                    }
                }
                @media screen and(max-width:$moblie) {
                    margin: 0;
                }
                background: rgba(141, 194, 31, 0.8);
                .banner1-1 {
                    font-size: 18px;
                }
            }
        }

        ul {
            position: static;
            border-top-right-radius:30px;
            border-bottom-right-radius:30px;
            text-align: center;
            background: rgba(141, 194, 31, 0.8);
            @media screen and(min-width:$desktop) {
                margin-left: 8px;
                margin-bottom: 10px;
            }
            @media screen and(max-width:$moblie) {
                margin-top: 5vw;
               width: 100vw;
            }
            .nav-item {
                padding: 10px;

                @media screen and(max-width:$moblie) {
                    padding: 6px;
                }
              
                .nav-item-achive {
                    position: relative;
                    &:before{
                        content: url(../img/about/sec01/item-arrow.png);
                        display: block;
                        width: 100%;
                        height: 8px;
                        position: absolute;
                        left: 5%;
                        bottom: 0;
                        transition: all 0.3s;
                        opacity: 1;
                    }
                }
            }
        }
        // 公司簡介
        .tab-content {
            .sec01{
                // 公司簡介
                .condition {
                    padding:4vw 24px;
                    font-size: 16px;
                    padding-bottom: 10vw;
                    @media screen and(max-width:$moblie) {
                        padding:10vw 18px;
                        padding-bottom: 15vw;
                    }
                    @media screen and(max-width:350px) {
                        padding:10vw 10px;
                    }

                    table{
                        th{
                            width: 100px;
                            padding: .4rem .1rem;
                            @media screen and(max-width:350px) {
                                width: 35%;
                            }
                        }
                        td{
                            padding: .4rem .1rem;
                       
                        }
                    }
                }
                .idea {
                    padding:4vw 24px;
                    font-size: 16px;
                    padding-bottom: 10vw;
                    background-size: contain;
                    background-repeat: no-repeat;
                    background-blend-mode: overlay;
                    @media screen and(max-width:$moblie) {
                        padding:10vw 18px;
                        padding-bottom: 15vw;
                    }
                }
                .contact {
                    padding-bottom: 10vw;
                    padding:4vw 24px;
                    font-size: 16px;
                    background-size: contain;
                    background-repeat: no-repeat;
                    background-blend-mode: overlay;
                    word-break: break-all;
                    @media screen and(max-width:$moblie) {
                        padding:10vw 5px;
                        padding-bottom: 15vw;
                    }
                    a {
                        text-decoration: none;
                        color: #fff;
                    }
                    table{
                        th{
                            width: 100px;
                            padding: .4rem .1rem;
                            @media screen and(max-width:350px) {
                                width: 35%;
                            
                            }
                        }
                        td{
                            padding: .4rem .1rem;
                       
                        }
                    }
                }

            }
            // 個案賞析
            .sec02,
            .sec04 {
                .col-lg-4 {
                    position: relative;
                    background: rgb(128, 171, 41);
                    transition: 0.3s ease-in-out;
                    cursor: pointer;
                    .sec02-p-m {
                        color: #fff;
                        text-align: center;
                        font-size: 14px;
                        transition: 0.3s;
                        transition: 0.3s ease-in-out;
                        @media screen and(min-width:$desktop) {
                            width: 100%;
                            position: absolute;
                            top: 35%;
                            left: 0px;
                            font-size: 18px;
                            opacity: 0;
                        }
                    }

                    &:hover {
                        .play1 {
                            opacity: 1;
                        }
                        .sec02-p-m,
                        .sec03-p-m {
                            opacity: 1;
                        }
                        img {
                            opacity: 0.2;
                            @media screen and(max-width:$moblie) {
                                opacity: 1;
                            }
                        }
                    }
                    @media screen and(max-width:$moblie) {
                        background: none;
                    }

                    img {
                        object-fit: cover;
                        width: 100% !important;
                        height: 17vw ;
                        opacity: 1;
                        transition: 0.3s ease-in-out;
                        @media screen and(max-width:$moblie) {
                            height: 50vw;
                        }
                    }
                    .sec03-img-m {
                        text-align: center;
                        width: 100%;
                        position: absolute;
                        top: 100px;
                    }
                    .sec03-img-m1 {
                        text-align: center;
                        width: 100%;
                        position: absolute;
                        @media screen and(max-width:$moblie) {
                            top: 80px;
                        }
                        .play1 {
                            width: 50px !important;
                            height: 50px !important;
                            @media screen and(max-width:$moblie) {
                                display: none;
                            }
                        }
                    }
                }
            }
            .sec03 {
                .col-lg-4 {
                    
                    position: relative;
                    background: rgb(128, 171, 41);
                    transition: 0.3s ease-in-out;
                    cursor: pointer;
                    .sec03-p-m {
                        color: #fff;
                        text-align: center;
                        font-size: 14px;
                        transition: 0.3s;
                        transition: 0.3s ease-in-out;
                        @media screen and(min-width:$desktop) {
                            width: 100%;
                            position: absolute;
                            top: 100px;
                            left: 0px;
                            font-size: 16px;
                            opacity: 0;
                        }
                    }

                    .sec03-p-m {
                        @media screen and(min-width:$desktop) {
                            position: absolute;
                            top: 30%;
                            left: 0px;
                            background-size: contain;
                            opacity: 0;
                        }
                    }
                    &:hover {
                        .play1 {
                            opacity: 1;
                        }
                        .sec02-p-m,
                        .sec03-p-m {
                            opacity: 1;
                        }
                        img {
                            opacity: 0.2;
                            @media screen and(max-width:$moblie) {
                                opacity: 1;
                            }
                        }
                    }
                    @media screen and(max-width:$moblie) {
                        background: none;
                    }

                    img {
                        object-fit: cover;
                        width: 100% !important;
                        height: 17vw;
                        opacity: 1;
                        transition: 0.3s ease-in-out;
                        @media screen and(max-width:$moblie) {
                            height: 50vw;
                        }
                    }
                    .sec03-img-m {
                        text-align: center;
                        width: 100%;
                        position: absolute;
                        top: 100px;
                    }
                    .sec03-img-m1 {
                        text-align: center;
                        width: 100%;
                        position: absolute;
                        @media screen and(max-width:$moblie) {
                            top: 80px;
                        }
                        .play1 {
                            width: 50px !important;
                            height: 50px !important;
                        }
                    }
                }
                .sec03-1 {
                    .sec05-row {
                        background: rgba(0, 0, 0, 0.8);
                        text-align: center;
                        height: 600px;
                        @media screen and(max-width:$moblie) {
                            height: 300px;
                        }
                        p {
                            letter-spacing: 5px;
                        }
                    }
                }
            }

            .sec04 {
                .col-lg-4 {
                    position: relative;
                    background: rgb(128, 171, 41);
                    transition: 0.3s ease-in-out;
                    cursor: pointer;
                    .sec04-p-m {
                        color: #fff;
                        text-align: center;
                        font-size: 14px;
                        transition: 0.3s;
                        transition: 0.3s ease-in-out;
                        @media screen and(min-width:$desktop) {
                            width: 100%;
                            position: absolute;
                            top: 50px;
                            left: 0px;
                            font-size: 18px;
                            opacity: 0;
                        }
                    }

                    &:hover {
                        .play1 {
                            opacity: 1;
                        }
                        .sec04-p-m {
                            opacity: 1;
                        }
                        img {
                            opacity: 0.2;
                            @media screen and(max-width:$moblie) {
                                opacity: 1;
                            }
                        }
                    }
                    @media screen and(max-width:$moblie) {
                        background: none;
                    }

                    img {
                        object-fit: cover;
                        width: 100% !important;
                        height: 16.5vw ;
                        opacity: 1;
                        transition: 0.3s ease-in-out;
                        @media screen and(max-width:$moblie) {
                           height: 50vw;
                        }
                    }
                    .sec03-img-m {
                        text-align: center;
                        width: 100%;
                        position: absolute;
                        top: 100px;
                    }
                    .sec03-img-m1 {
                        text-align: center;
                        width: 100%;
                        position: absolute;
                        @media screen and(max-width:$moblie) {
                            top: 80px;
                        }
                        .play1 {
                            width: 50px !important;
                            height: 50px !important;
                        }
                    }
                }
                .sec04-1 {
                    .sec05-row {
                        background: rgba(0, 0, 0, 0.8);
                        text-align: center;
                        width: 100% !important;
                        height: 600px;
                        @media screen and(max-width:$moblie) {
                            height: 300px;
                        }
                        p {
                            letter-spacing: 5px;
                        }
                    }
                }
            }
        }
    }
}

// 頁尾 footer
#footer {
    background: #363636;
    text-align: center;
    width: 80vw;
    margin: 0 auto !important;
    padding-top: 2vw;
    padding:1vw;
    @media screen and(max-width:$moblie) {
        width: 95vw;
        padding: 30vw 5vw;
       
    }
    a {
        text-decoration: none;
        color: #fff;
    }
    p {
        color: #fff;
    }
}
#modal-dialog{
    width: 90vw;
    .modal-content{
        width: 80vw;
        @media screen and(max-width:$moblie) {
            width: 90vw;
        }
    }
}
#light-box{

    #form-lightbox{
        width: 70vw;
        margin: 0 auto;
        @media screen and(max-width:$moblie) {
            width: 80vw;
        }
        .form-title {
            margin: 0 auto;
            color: #5c5248;
            
            h1 {
                text-align: center;
                font-size: 32px;
                font-weight: 900;
                @media screen and(max-width:$moblie) {
                    font-size: 24px;
                }
                @media screen and(max-width:350px) {
                    font-size: 20px;
                }
                span{
                    font-size:38px;
                    @media screen and(max-width:$moblie) {
                        font-size:28px;
                    }
                    @media screen and(max-width:350px) {
                        font-size: 24px;
                    }
                }
            }
        }
        .contact-text {
            margin: 0 auto;
   

            .text-p {
                font-size: 16px;
                font-weight: 600;
                @media screen and(max-width:350px) {
                    font-size: 14px;
                }
            }
        }
        .contact-form1{
 
        margin: 0 auto;
            #contact-form {
                margin-top: 10px;
                .col-lg-2{
                   .divider{
                       position: relative;
                       width: 1px;
                       height:100%;
                       border-left: 1px solid rgba(0,0,0,0.12);
                   }
                }
                #loc,
                #type,
                #modal,
                #budget,
                #square,
                #style,
                #datepicker,
                #email,
                #name,
                #phone,
                #gender {
                    width: 100%;
                    height: 50px;
                    margin: 10px 0;
                    padding-left: 10px;
                    border: 1px solid rgba(0, 0, 0, 0.3);
                    padding: 10px 15px;
                    font-size: 16px;
                    border-radius: 3px;
                    appearance: none;
                    background: url(../img/icondown.webp) 95% 50% no-repeat scroll transparent;
                    background-size: 10px 10px;
                    background-color: #fff;
                }
                #form-left {
                    margin: 0 auto;
                    #rooms,
                    #livingroom,
                    #bathroom {
                        width: 28.8%;
                        border: 1px solid rgba(0, 0, 0, 0.3);
                        height: 50px;
                        margin: 15px 0;
                        padding-right: 50px;
                        padding: 10px 15px;
                        font-size: 16px;
                        border-radius: 3px;
                        appearance: none;
                        background: url(../img/icondown.webp) 85% 50% no-repeat scroll transparent;
                        background-size: 10px 10px;
                        background-color: #fff;
                        @media screen and(max-width:$moblie) {
                            width: 31%;
                        }
                    }
                    #square,
                    #datepicker {
                        background: none;
                        background-color: #fff;
                    }
                }
                #form-right {
                    margin: 0 auto;
                    hr{
                        @media screen and(min-width:$desktop) {
                            display: none;
                        }
                    }
                }
                #fb-button {
                    margin-top: 12px;
                    width: 100%;
                    height: 50px;
                    border: 1px solid #3b5998;
                    text-align: right;
                    padding-right: 60px;
                    background-size: 32px 32px;
                    border-radius: 3px;
                    background-color: #fff;
                    transition: 0.3s;
                    position: relative;
                    @media screen and(max-width:$moblie) {
                        margin: 10px 0;
                    }
                    p {
                        position: absolute;
                        top:1vw;
                        left:12vw;
                        color: #626262;
                        @media screen and(max-width:$moblie) {
                            left:32vw;
                            top:3vw;
                        }
                    }
                    #line {
                        position: absolute;
                        color: #9b9b9b;
                        opacity: 0.8;;
                        left:8vw;
                        top:-0.1vw;
                        @media screen and(max-width:$moblie) {
                            left:20vw;
                        }
                       
                    }
                    img {
                        position: absolute;
                        left: 50px;
                        top: 10px;
                        width: 32px;
                        height: 32px;
                        @media screen and(max-width:$moblie) {
                            left: 20px;
                        }
                        filter: invert(29%) sepia(70%) saturate(712%) hue-rotate(186deg) brightness(89%) contrast(81%);
                    }
                    &:hover {
                        background-color: #2a4f91;
                        color: #fff;
                        img {
                            filter: invert(100%) sepia(100%) saturate(19%) hue-rotate(334deg) brightness(106%) contrast(106%);
                        }
                        p {
                            color: #fff;
                        }
            
                        #line {
                            color: #fff;
                        }
                    }
                }
                a {
                    text-decoration: none;
                    color: #ee751b;
                    font-weight: 900;
                }
            
                #email,
                #name,
                #phone {
                    background: none;
                    background-color: #fff;
                }
            }
        }
        .btn {
            margin: 50px auto;
            border: none;
            padding: 15px;
            background: #edbc96;
            color: #4b515e;
            font-size: 20px;
            width: 400px;
            border-radius: 10px;
            @media screen and(max-width:$moblie) {
                width: 100%;
            }
            &:hover {
                color: #fff;
                background-color: #745c54;
            }
        }
        
        .form-btn {
            text-align: center;
            position: relative;
            width: 70vw;
            margin: 0 auto;
            @media screen and(max-width:$moblie) {
                width: 80vw;
                margin: 0 auto;
            }
            #phone1 {
                position: absolute;
                left: 500px;
            }
        }
    }
}
