
@import url("../fonts/flaticon/flaticon.css");
@import url("revise.css");
@import url("header.css");
@import url("footer.css");
@import url("banner.css");


/*========================================================
                      	 標題設定
=========================================================*/

.h2-title {
    font-family: 'Noto Serif TC', serif;    
    font-size: 2.2rem;
    font-weight: normal;
    text-align: center;
    letter-spacing: 5px;
    margin-bottom: 30px;
    position: relative;
}


/*========================================================
                        公司理念
=========================================================*/

.about-wrap {
    padding-top: 60px;
    margin-bottom: 20px;
    padding-left: 5%;
    padding-right: 5%;
}
.about-img {
    position: relative;
}
.about-img-title {
    position: absolute;
    right: 0;
    bottom: 30px;
    z-index: 3;
    width: 46px;
    height: 120px;    
    background: url("../img/index/about-title.jpg") no-repeat center center;
    background-size: cover;
}
.about-img-txt {
    font-family: 'Noto Serif TC', serif;
    position: absolute;
    left: 30px;
    bottom: 10px;
    z-index: 9;
	color: #fff;
    font-size: 0.8rem;
	text-shadow: 1px 1px 2px #000, 1px 1px 2px #000;	
	font-weight: normal;
	margin: 0;
    padding: 0; 
}
.about-info {
    width: auto;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    position: relative;
    padding-bottom: 60px;
    background-color: #f1f1f1;    
}
.about-info-desc {
    width: 90%;
    margin: 20px auto;
}
.about-info h2 {
    font-family: 'Noto Serif TC', serif;
    color: #000;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 1.4rem;
}
.about-info h2:after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: #87a800;
    margin-top: 20px;
}
.about-info p {
    margin-bottom: 20px;
}
.about-info-btn a {
    position: absolute;
    right: 40px;
    bottom: 30px;
    z-index: 4;
    display: inline-block;
    padding: 6px 50px;
    color: #fff;
    background-color: #87a800;
}



/*  尺寸設定 */
@media (min-width: 992px) and (max-width: 1199px) { 
    .about-img img {
        object-fit: cover;
        height: 500px;
    }
}
@media (min-width: 992px) {
    .about-info {
        background-color: #fff;
    }
    .about-info-desc {
        width: 80%;
        margin: 0 auto;
    }
    .about-info-btn {
        position: absolute;
        right: 0;
        bottom: 30px;
        z-index: 3;
        width: 100%;
        height: 120px;    
        background: url("../img/index/about-info-bg.jpg") no-repeat center center;
        background-size: 100% 100%;
    }
    .about-info-btn:before {
        position: absolute;
        left: 0;
        bottom: calc(50px + 20px);
        z-index: 4;
        content: '';
        display: block;
        width: 80%;
        height: 1px;
        background-color: #87a800;
    }
    .about-info-btn a {
        right: 60px;
        bottom: 50px;
    }
    .about-img-txt {
        left: 50px;
        bottom: 30px;
        font-size: 1.1rem;
    }
}
@media (min-width: 1200px) {
    .about-img-title {
        width: 54px;
        height: 140px;     
    }
    .about-info-btn {
        height: 140px;    
    }
}
@media (min-width: 1600px) {
    .about-info h2 {
        font-size: 1.8rem;
    }
    .about-info p {
        line-height: 40px;
    }
    .about-img-title {
        bottom: 50px;
        width: 96px;
        height: 200px;     
    }
    .about-info-btn {
        bottom: 50px;
        height: 200px;    
    }
}
@media (min-width: 1800px) {
    .about-img-title {
        width: 96px;
        height: 250px;       
    }
    .about-info-btn {
        height: 250px;    
    }
}





/*========================================================
                         訊息中心
=========================================================*/

.news {
    padding-top: 50px;
    padding-bottom: 20px;
}
.news h2 {
    margin-bottom: 40px;
}
.news h2:after {
    content:'';
    display: block;
    width: 60px;
    height: 1px;
    background-color: #000;
    margin: 10px auto 40px;
}


.news img {
    width: 100%;
    vertical-align: bottom;
}
.news .slider {
    padding-bottom: 40px;
}
.news .slick-slide {
    cursor: auto;
}
.news-item {
    margin: 0 0 10px;
    background-color: #fff;
    position: relative;
/*    box-shadow: 0 0 10px #adadad;*/
}
.news-item-img {
    position: relative;
    margin: 0;
    display: block;
    width: 100%;
    text-decoration: none;
    color: #fff;
    background-color: #f0f4f8;
    overflow: hidden
}
.news-item-img:hover {
    color: #fff
}
.news-item-img:hover .news-item-mask {
    opacity: 1;
    visibility: visible
}
.news-item-img:hover .news-item-mask::after {
    height: 100%
}
.news-item-img img {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover
}
.news-item-mask {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: .625rem 1rem;
    text-align: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    font-size: 1rem;
    font-weight: 700;
    transition: all .3s
}
.news-item-mask::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    height: 50px;
    width: 100%;
    background-color: rgba(0, 0, 0, .5);
    transform: translateY(-50%);
    transition: all .3s
}
.news-item-mask span {
    position: relative;
    display: block;
    z-index: 2;
    border: 1px solid #fff;
    padding: 5px 30px;
}
.news-item-info {
    text-align: left;
    padding: 20px 10px;
    font-size: 0.9rem;
    color: #000;
}
.news-item-info h3 {
    font-weight: normal;
    font-size: 1.2rem;
    margin: 10px 0 0 0;
}
.news-item-info p {
    font-weight: normal;
    font-size: 1.2rem;
    margin: 0 0 10px 0;
}
.news-item-info .sort time {
    font-weight: bold;
}
.news-item-info .sort span {
    display: inline-block;
    background-color: #87a800;
    padding: 2px 10px;
    color: #fff;
    margin-left: 30px;
}
.news-item-info .more {
    text-align: right;
}
.news-item-info .more a {
    display: inline-block;
    color: #000;
    background: url("../img/index/news-more-line.png") no-repeat right center;
    padding-right: 75px;
    font-size: 1.2rem;
}
.news-item-info .more a:hover {
    color: #87a800;
    background: url("../img/index/news-more-line2.png") no-repeat right center;
}

/* 尺寸設定 */
@media (min-width: 768px) {
    .news-item {
        margin: 0 20px 10px;
    }
}


/*========================================================
                        建築理念
=========================================================*/

.idea-wrap {
    padding-top: 60px;
    margin-bottom: 20px;
    padding-left: 5%;
    padding-right: 5%;
}
.idea-wrap [class*="col-"]:nth-of-type(2) {
    background-color: #f1f1f1;
}
.idea-info {
    width: auto;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    position: relative;
}

.idea-info div {
    width: 80%;
    margin: 0 auto;
}    
.idea-info h2 {
    font-family: 'Noto Serif TC', serif;
    color: #000;
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 1.6rem;
}
.idea-info h3 {
    font-family: 'Noto Serif TC', serif;
    color: #718d00;
    font-weight: normal;
    margin-bottom: 20px;
    font-size: 1.3rem;
}
.idea-info p {
    margin-bottom: 20px;
}
.idea-info-btn {
    margin-top: 30px;
    margin-bottom: 40px;
    font-size: 1rem;
}
.idea-info-btn a {
    display: inline-block;
    padding: 5px 30px;
    color: #696969;
    background-color: transparent;
    border: 1px solid #696969;
}
.idea-info-btn a:hover {
    color: #fff;
    background-color: #111;
}

/*  尺寸設定 */
@media (max-width: 991px) {
    .idea-wrap [class*="col-"]:nth-of-type(2) {
        padding-top: 40px;
        padding-bottom: 40px;
        border-bottom: 10px solid #3d3e3d;
    }
}
@media (min-width: 992px) {
    .idea-wrap {
        background-image: url(../img/index/idea-bg.jpg);
        background-repeat: no-repeat;
        background-position: right 360%;
    }
    .idea-wrap [class*="col-"]:nth-of-type(1) {
        border-bottom: 20px solid #3d3e3d;
    }
    .idea-wrap [class*="col-"]:nth-of-type(2) {
        border-top: 20px solid #3d3e3d;
    }
    .idea-info:before {
        content: '';
        position: absolute;
        top: -20px;
        right: 0;
        z-index: 2;
        width: 100px;
        height: 20px;
        background-color: #fff;
    }    
    .idea-info div {
        width: 80%;
    }  
    .idea-info h2 {
        font-size: 1.6rem;
    }
    .idea-info h3 {
        font-size: 1.1rem;
    }
}
@media (min-width: 1200px) {
    .idea-wrap {
        background-position: right 200%;
    }
    .idea-info div {
        width: 80%;
    }  
    .idea-info h2 {
        font-size: 1.8rem;
    }
    .idea-info h3 {
        font-size: 1.3rem;
    }
}
@media (min-width: 1600px) {
    .idea-wrap {
        background-position: right 140%;
    }
    .idea-info h2 {
        font-size: 2.4rem;
    }
    .idea-info h3 {
        font-size: 1.6rem;
    }
}



/*========================================================
                         建案介紹
=========================================================*/

.case-wrap {
    padding-top: 60px;
    padding-bottom: 20px;
    padding-left: 5%;
    padding-right: 5%;
}
.case-wrap .container {
    max-width: 1400px;
}
.case-wrap h2 {
    margin-bottom: 0;
}
.case-wrap h2+p {
    text-align: center;
    margin-right: 5px;
}

.case-wrap .slider-nav {
    border-top: 1px solid #525252;
    margin-top: 20px;
    margin-bottom: 50px;
}
.case-wrap .slider-nav .slick-slide {
    text-align: center;
}
.case-wrap .slider-nav .slick-slide span {
    display: inline-block;
    background-color: #fff;
    color: #111;
    padding: 2px 20px;
    margin-top: 26px;
    line-height: 20px;
    border-radius: 25px;
    position: relative;
}
.case-wrap .slider-nav .slick-slide span:before {
    content: '';
	position : absolute;
	top: -20px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 9;
    width: 1px;
    height: 14px;
    background-color: #525252;
}
.case-wrap .slider-nav .slick-current span {
    color: #fff;
    background-color: #87a800;
}

.case-wrap .slider-for .case-item-info h3 {
    font-family: 'Noto Serif TC', serif;
    font-size: 3rem;
    font-weight: bold;
    margin-top: 30px;
}
.case-wrap .slider-for .case-item-info h3:after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: #87a800;
    margin-top: 20px;
    margin-bottom: 20px;
}
.case-wrap .slider-for .case-item-info p {
    margin: 0;
    padding: 0;
}
.case-wrap .slider-for .case-item-info .txt {
    color: #748c11;
    font-weight: bold;
}
.case-wrap .slider-for .case-item-info .more {
    margin-top: 5%;
}
.case-wrap .slider-for .case-item-info .more a {
    display: inline-block;
    color: #6a6a6a;
    border: 1px solid #6a6a6a;
    padding: 5px 30px;
}
.case-wrap .slider-for .case-item-info .more a:hover {
    color: #fff;
    border: 1px solid #748c11;
    background-color: #748c11;
}



/*  尺寸設定 */
@media (min-width: 992px) {
    .case-wrap {
        padding-bottom: 80px;
    }
    .case-wrap .slider-for .case-item-info .more {
        margin-top: 10%;
    }
}



/*========================================================
                         圖片效果
=========================================================*/

a.figure {
	display: block;
	position: relative;
	}
a.figure:before,a.figure:after {
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    z-index: 10;
    content: '';
    display: inline-block;
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    transition: .3s; 
}
a.figure:before {
    background: #fff;
}
a.figure:after {
    background: url(../images/magnifier.png) no-repeat center center;
}
a.figure:hover:before, a.figure:hover:after {
    -webkit-transform: scale(1);
    transform: scale(1);
}
a.figure:hover:before {
    opacity: 0.15;
}
a.figure:hover:after {
    opacity: 1;
}


