@charset "utf-8";
* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

body {
    background-color: #e9e9e9;
}

img {
    max-width: 100%;
}


/*--------------快捷-----------------------*/

.main-content {
    width: 100%;
}


/*nav-bar===================================*/

aside {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 999;
    filter: drop-shadow(0px 3px 2px rgba(0, 0, 0, 0.4));
    transition: 0.3s;
}

.show-nav {
    bottom: 0px;
}

.media-link {
    display: flex;
    flex-direction: column;
    background: olivedrab;
    justify-content: center;
    border-radius: 30px;
    width: 48px;
    margin-bottom: 10px;
}

.go-top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: olivedrab;
    border-radius: 30px;
}

.tab-opt a {
    position: relative;
    text-align: center;
    padding: 10px 0px;
    font-size: 1.2rem;
    color: #fff;
    padding: 15px 0px;
    filter: drop-shadow( inset 2px 3px 5px rgba(0, 0, 0, 0.5));
    transition: 0.3s;
}

.tab-opt a:hover {
    opacity: .6;
}

.media-link a::after {
    content: '';
    width: 100%;
    height: 100%;
    border-width: 0;
    border-right: 1px solid;
    border-image: linear-gradient(rgba(201, 61, 39, 0), #fff, rgba(255, 255, 255, 0)) 1 100%;
    position: absolute;
    right: 0;
    bottom: 0;
    pointer-events: none;
    transform: rotateZ(-90deg);
}

.media-link a:first-of-type::after {
    display: none;
}

.media-link a span {
    display: none;
}

@media screen and (max-width: 600px) {
    aside {
        top: unset;
        left: 0px;
        right: 0px;
        bottom: 0%;
        z-index: 999;
        filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.5));
        transform: translateY(0%);
    }
    .media-link {
        flex-direction: row;
        justify-content: space-around;
        align-self: center;
        border-radius: 0px;
        width: 100%;
        margin-bottom: 0px;
    }
    .media-link a {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .media-link a span {
        display: inline;
        font-size: 12px;
        margin-top: 6px;
    }
    .media-link .icon-arrow-up {
        display: block;
    }
    .go-top {
        display: none;
    }
    .media-link a::after {
        transform: rotateZ(180deg);
    }
}


/*--------------------------nav-----------------------------*/

a {
    text-decoration: none;
    color: #fff;
}

a:hover {
    color: #fff;
}

#header-nav {
    position: fixed;
    top: 0;
    display: block;
    width: 100vw;
    background: rgba(0, 0, 0, 0.651);
    -webkit-transition: -webkit-transform 0.7s 0.3s ease;
    -moz-transition: -moz-transform 0.7s 0.3s ease;
    -ms-transition: -ms-transform 0.7s 0.3s ease;
    transition: transform 0.7s 0.3s ease;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translate3d(0px, 0px, 0px);
    z-index: 999;
}

#header-nav.hide-nav-bar {
    -webkit-transform: translate(0, -100%);
    -moz-transform: translate(0, -100%);
    -ms-transform: translate(0, -100%);
    transform: translate(0, -100%);
    -webkit-backface-visibility: hidden;
}

.header_container {
    max-width: 92em;
    margin: 0 auto;
}


/* 
section {
    margin-top: 4em;
    padding: 1em;
    color: #5c5c5c;
} */

section hr {
    border-bottom: none;
    color: #f2f2f2;
}

.info {
    text-align: center;
}

header .banner {
    width: 100%;
    position: relative;
}

header .banner .header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 90px;
    background-color: rgba(0, 0, 0, 0.450);
    position: fixed;
    z-index: 999;
}

.banner_bg {
    width: 100%;
    height: 100%;
}

.bg {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.logo {
    cursor: pointer;
    width: 50%;
}

.logo img {
    width: 100%;
    padding-bottom: 10px;
}

a.menu-link {
    float: right;
    padding-right: 17%;
    padding-top: 5%;
}

nav[role=navigation] {
    clear: right;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.js nav[role=navigation] {
    overflow: hidden;
    max-height: 0;
}

nav[role=navigation].active {
    max-height: 15em;
}

nav[role=navigation] ul {
    margin: 0;
    padding: 0;
    float: left;
    padding-top: 16px;
}

nav[role=navigation] li a {
    display: block;
    padding: 0.8em;
    font-size: 1.2em;
}

nav[role=navigation] li a:hover {
    color: olivedrab;
}

.menu-link {
    height: 30px;
    width: 33px;
    cursor: pointer;
}

.bar1,
.bar2,
.bar3 {
    margin-top: 3px;
    background: #fff;
    width: 33px;
    height: 4px;
    position: absolute;
    -webkit-transform: rotate(-180deg);
    transform: rotate(-180deg);
    -moz-transform: rotate(-180deg);
    -o-transform: rotate(-180deg);
}

.bar2 {
    margin-top: 13px;
}

.bar3 {
    margin-top: 23px;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
}

.brand {
    float: left;
    margin-left: 1em;
    padding: 1em;
}

.brand h1 {
    margin: 0;
    font-size: 1.5em;
}

@media screen and (max-width: 1024px) {
    .logo {
        width: 29vw;
        padding-top: 10px;
    }
    nav[role=navigation] li a {
        font-size: unset;
        padding: 1.2em;
    }
    nav[role=navigation] ul {
        padding-top: 25px;
    }
    .banner_bg {
        height: 80vmin;
    }
}

@media screen and (max-width: 768px) {
    nav[role=navigation] li a {
        font-size: unset;
        padding: 0.4em;
        margin-top: 4px;
    }
}

@media screen and (max-width: 600px) {
    nav[role=navigation] li a {
        margin: 20px 0 20px 0;
    }
}

@media screen and (min-width: 600px) {
    a.menu-link {
        display: none;
    }
    .js nav[role=navigation] {
        max-height: none;
    }
    nav[role=navigation] ul {
        margin: 0 0 0 -0.25em;
        border: 0;
        float: right;
    }
    nav[role=navigation] li {
        display: inline-block;
        margin: 0 0.25em;
    }
}

@media screen and (min-width: 320px) {
    .brand {
        padding: 0.8em;
    }
}


/*-----------------------最新建案-----------------------------*/

.new {
    width: 100%;
    position: relative;
    margin-bottom: 100px;
}

.tape {
    width: 10vmin;
    position: absolute;
    top: 60%;
    right: 0;
}

.title {
    writing-mode: vertical-lr;
    font-size: 4em;
    color: #88A614;
    font-weight: bold;
    position: absolute;
    left: 5%;
    /* top: 10%; */
}

.title_br {
    margin-top: 5vmax;
}

.cube {
    width: 150px;
    height: 95px;
    background-color: #C1C99F;
    position: relative;
    top: 50%;
}

.recent_news .wrap {
    width: 100%;
    margin: auto;
    margin-bottom: 20px;
}

.recent_news .wrap img {
    width: 100%;
    height: 100%;
    vertical-align: middle;
}

.recent_news .wrap .san {
    width: 50%;
}

.recent_news .wrap .san img {
    padding-right: 3px;
}

.recent_news .wrap .text .txt {
    display: inline-block;
    /* width: 50vw; */
    vertical-align: middle;
    /* padding-left: 20px; */
    /* padding-right: 50px; */
    padding: 10px 0;
    line-height: 22px;
}

.recent_news .wrap .text {
    display: flex;
}

.recent_news .wrap h2 {
    padding-bottom: 5px;
    padding-right: unset;
}
.wraps{display: flex;}
.wrap .wrap_item{
    width: 50%;
    padding-right: 10px;
}
.wrap_item .ntpc{
    width: 47%;
    margin: auto;
}

/*--分頁在style.css--*/

@media screen and (max-width: 1200px) {
    .title {
        font-size: 3.5em;
        position: absolute;
        left: 5%;
        top: 10%;
    }
    .cube {
        width: 130px;
        height: 75px;
        background-color: #C1C99F;
        position: relative;
        top: 50%;
    }
    .text {
        width: 100%;
        flex-direction: column;
    }
    .recent_news .wrap .text .txt {
        padding-left: unset;
        padding-top: 10px;
        padding-right: 75px;
        padding-bottom: 10px;
        width: 52vw;
    }
    .recent_news .wrap .san {
        width: unset;
    }
    .recent_news .wrap .san img {
        padding-right: unset;
        padding-bottom: 3px;
    }
    .wraps{display: unset;}
    .wrap .wrap_item{width: unset;padding-right: unset;}
    .wrap_item .ntpc{width: unset;margin: unset;}
}

@media screen and (max-width: 1024px) {
    .title {
        font-size: 2.5em;
    }
    .recent_news .wrap .text {
        display: flex;
        flex-direction: column;
    }
    .recent_news .wrap .text .txt {
        width: 60vw;
    }
}

@media screen and (max-width: 768px) {
    .recent_news .wrap .text .txt {
        width: 100%;
        padding: 10px 0 10px 0;
    }
    .cube {
        width: 0px;
        height: 55px;
        top: 50%;
    }
    .tape {
        display: none;
    }
    .title .br {
        display: none;
    }
    .new .title {
        writing-mode: unset;
        left: 5%;
        top: 2%;
    }
    .title_br {
        margin-top: unset
    }
}

@media screen and (max-width: 600px) {
    .title {
        font-size: 20pt;
    }
}

@media screen and (max-width: 375px) {
    .title {
        font-size: 22pt;
    }
    .recent_news .wrap h2 {
        font-size: 1em;
    }
    .title {
        writing-mode: vertical-lr;
        font-size: 1.3em;
    }
}


/*-----------------------建案業績-----------------------------*/

.building_sales .building {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    position: relative;
}

.building_sales .building .title {
    color: white;
    display: inline;
    left: 5%;
    top: 15%;
}

.building_sales .bd-pic {
    position: relative;
    width: 20%;
}

.building_sales .building .bd-pic img {
    margin-bottom: -4px
}

.building_sales .bd-pic .bd-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    font-size: 24pt;
    width: 100%;
}

.building_sales .bd-text .hr {
    width: 50%;
    margin: auto;
}

.building_sales .bd-pic .bd-text p {
    font-size: 18pt;
    font-weight: lighter;
}

@media screen and (max-width: 1200px) {
    .building_sales .bd-pic .bd-text {
        font-size: 1em;
    }
    .building_sales .bd-pic .bd-text p {
        font-size: 0.8em;
    }
}

@media screen and (max-width: 768px) {
    .building_sales .building {
        padding: 0 30px 0 30px;
    }
    .building_sales .building .title {
        color: olivedrab;
        display: unset;
        writing-mode: unset;
        left: 5%;
        top: -7%;
    }
    .building_sales .green {
        display: none;
    }
    .building_sales .bd-pic {
        width: 33.33%;
    }
    .building_sales .bd-pic .bd-text {
        font-size: 4.5vw;
        display: block;
    }
}

@media screen and (max-width: 600px) {
    .building_sales .building .title {
        top: -7%;
    }
}

@media screen and (max-width: 375px) {
    .building_sales .bd-pic .bd-text {
        font-size: 0.5em;
    }
}


/*-----------------------公司介紹-----------------------------*/

.company_introduce {
    padding-bottom: 80px;
}

.company_introduce .container {
    height: 600px;
    position: relative;
}

.company_introduce .container .company_bd {
    width: 40vmin;
    position: relative;
    left: 30%;
    top: -2%;
}

.company_introduce .container .company,
.company_introduce .container .company_2 {
    width: 100%;
    height: 100%;
}

.company_introduce .container .company_2 {
    display: none;
}

.company_introduce .container .box {
    width: 40%;
    height: 50%;
    background-color: #e2e2e2;
    background-image: url(../img/tape2.png);
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 30%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    padding: 30px 30px 10px 30px;
    position: absolute;
    left: 58%;
    top: 53%;
    transform: translate(-42%, -35%);
}

.company_introduce .container .box h3 {
    font-size: 36px;
    font-weight: bold;
}

.company_introduce .container .box p {
    line-height: 22px;
}

@media screen and (max-width: 1200px) {
    .company_introduce {
        padding-bottom: unset;
    }
    .company_introduce .container .box {
        width: 40vw;
        height: 45vh;
        background-size: 15%;
        padding: 25px 25px;
        left: 62%;
        top: 35%;
        /* transform: translate(-38%, -45%); */
    }
    .company_introduce .container .box h3 {
        font-size: 28px;
    }
    .company_introduce .container .box p {
        font-size: 14px;
    }
    .company_introduce .container .company_bd {
        left: 19%;
        top: unset;
    }
    .company_introduce .container {
        height: 700px;
    }
}

@media screen and (max-width: 1024px) {
    .company_introduce .container .box {
        height: 50vh;
    }
}

@media screen and (max-width: 960px) {
    .company_introduce .container .box {
        width: 48vw;
        padding: 25px 25px;
        left: 68%;
        top: 39%;
    }
}

@media screen and (max-width: 768px) {
    .company_introduce .container {
        height: 700px;
    }
    .company_introduce .container .title {
        writing-mode: unset;
        top: 3%;
    }
    .company_introduce .container .company_bd {
        left: unset;
        top: 4%;
        width: 100%;
        padding: 0 30px;
    }
    .company_introduce .container .company {
        display: none;
    }
    .company_introduce .container .company_2 {
        display: unset;
    }
    .company_introduce .container .box {
        width: 90%;
        /* height: 35vh; */
        height: 20vh;
        padding: unset;
        top: 73%;
        left: 43%;
        background-color: unset;
        background-image: unset;
        background-repeat: unset;
        background-position: unset;
        background-size: unset;
        box-shadow: unset;
    }
    .company_introduce .container .box h3 {
        font-size: 22px;
    }
    .company_introduce .container .box p {
        font-size: 14px;
    }
}

@media screen and (max-width: 600px) {
    .company_introduce .container .box {
        top: 77%;
    }
    .company_introduce .container {
        height: 500px;
    }
}

@media screen and (max-width: 546px) {
    .company_introduce .container .box {
        top: 65%;
    }
}

@media screen and (max-width: 456px) {
    .company_introduce .container .box {
        top: 70%;
    }
}

@media screen and (max-width: 375px) {
    .company_introduce .container .box {
        top: 60%;
    }
}

@media screen and (max-width: 320px) {
    .company_introduce .container .box {
        top: 51%;
    }
}

@media screen and (max-width: 241px) {
    .company_introduce .container .box {
        top: 47%;
    }
}


/*-----------------------合作夥伴-----------------------------*/

.company_partner .container {
    height: 400px;
    position: relative;
}

.collaboration {
    display: flex;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    width: 60vw;
    flex-wrap: wrap;
}

.company_partner .partnerimg {
    width: 50%;
    padding-bottom: 20px;
}

.company_partner .cube {
    top: 60%;
}

.container .title {
    left: 5%;
    top: 20%;
}

@media screen and (max-width: 1200px) {
    .collaboration {
        width: 75vw;
        left: 60%;
        /* flex-direction: column; */
    }
    .container .title {
        top: 7%;
    }
    .company_partner .container {
        height: 570px;
    }
    .company_partner .cube {
        width: 100px;
        height: 80;
        top: 40%;
    }
    .company_partner .partnerimg {
        width: 40%;
    }
}

@media screen and (max-width: 1024px) {
    .collaboration {
        width: 70vw;
    }
    .company_partner .container {
        height: 600px;
    }
}

@media screen and (max-width: 768px) {
    .company_partner .title {
        writing-mode: unset;
        top: 5%;
    }
    .collaboration {
        width: 80vw;
        /* margin-top: 5%; */
    }
    .company_partner .cube {
        display: none;
    }
    .company_partner .container {
        /* height: 550px; */
        height: 620px;
    }
}

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

        height: auto;
    }
    .company_partner .container {
        position: relative;
        height: auto;
    }
    .company_partner .title {
        top: 0;
        position: relative;
        display: block;
        padding-bottom: 20px;
    }
    .company_partner .partnerimg {
        width: 100%;
        position: relative;
    }
    .collaboration {
        width: 100%;
        left: 0%;
        position: relative;
        display: block;
        transform: translate(0%, 0%);
    }
}


/*-----------------------footer-----------------------------*/

.footer {
    width: 100%;
    position: relative;
}

.footer .contact {
    width: 90vw;
    color: white;
    display: flex;
    justify-content: space-around;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.footer .contact h4 {
    padding-left: 20px;
}

.footer .copyright h4 {
    display: block;
    color: white;
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -25%);
}

.footer .contact .logo2 {
    width: 250px;
}

.contact_text :nth-child(2) {
    padding-top: 20px;
}

@media screen and (max-width: 1200px) {
    .footer .contact .logo2 {
        width: 20vw;
        height: 20%;
    }
    .footer .contact h4 {
        padding-left: 5px;
        font-size: 8pt;
    }
}

@media screen and (max-width: 960px) {
    .footer .contact .contact_text {
        font-size: 12pt;
    }
    footer .contact {
        width: 80%;
    }
    footer .contact h4 {
        font-size: 12pt;
    }
}

@media screen and (max-width: 768px) {
    .copyright h4 {
        padding-top: 20px;
    }
    footer .contact .contact_text {
        font-size: 8pt;
        padding-top: 8px;
    }
    .copyright {
        font-size: 8pt;
    }
}

@media screen and (max-width: 600px) {
    .footer img {
        display: none;
    }
    .footer {
        background-color: olivedrab;
        width: 100%;
        height: 33px;
    }
    .footer .contact {
        display: none;
    }
    .footer .copyright h4 {
        padding-top: unset;
        font-size: 7pt;
        top: 38%;
        left: 50%;
    }
    .footer .copyright {
        padding-bottom: 97px;
    }
}

@media screen and (max-width: 375px) {
    .footer .copyright h4 {
        width: 100%;
        text-align: center;
    }
}