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


/*========================================================
                      	 熱銷推案
=========================================================*/

.hotCase {
    background: url(../../assets/img/index/hotCase-bg.jpg) no-repeat center center;
    background-size: cover;
    padding-top: 40px;
    padding-bottom: 100px;
    color: #fff;
}
.hotCase h2 {
    font-size: 2.2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}
.hotCase .hotCase-img {
    border: 10px solid #fff;
}
.hotCase-info {
    margin-top: 40px;
    font-size: 1.2rem;
    line-height: 40px;
}
.hotCase-info h3 {
    background-image: url("../../assets/img/index/hotCase-title1.png"),url("../../assets/img/index/hotCase-title3.png"),url("../../assets/img/index/hotCase-title2.png");
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: top left, top right, top center;
    background-size: auto 60px, auto 60px, auto 60px;
    padding: 16px 30px 14px;
    color: #ffd248;
    font-size: 1.6rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}
.hotCase-info-desc {
    padding-left: 20px;
    padding-right: 20px;
}

.hotCase-info-more {
    text-align: right;
    margin-top: 20px;
    margin-right: 20px;
}
.hotCase-info-more a {
    background: url("../img/index/hotCase-info-more1.png") no-repeat right bottom;
    color: #ffba00;
    display: inline-block;
    padding-bottom: 4px;
    padding-right: 50px;
    font-size: 0.8rem;
}
.hotCase-info-more a:hover {
    color: #fff;
}


/*  尺寸設定 */
@media (min-width: 768px) {
    .hotCase-info h3 {
        background-size: auto 74px, auto 74px, auto 74px;
        padding: 20px 30px 20px;
        font-size: 1.8rem;
    }
}

/*========================================================
                      	 建築實績
=========================================================*/

.case {	
    background: url("../img/index/case-bg.jpg") no-repeat center center;
    background-size: cover;
	padding-top: 60px;
    padding-bottom: 40px;
}
.case img {
    width: 100%;
    vertical-align: bottom;
}
.case h2 {
    font-size: 2.2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.case-item {
    position: relative;
}

.case-item-img {
    position: relative;
    margin: 0;
    display: block;
    width: 100%;
    text-decoration: none;
    color: #fff;
    background-color: #f0f4f8;
    overflow: hidden
}
.case-item-img:hover {
    color: #fff
}
.case-item-img:hover .case-item-mask {
    opacity: 1;
    visibility: visible
}
.case-item-img:hover .case-item-mask::after {
    height: 100%
}
.case-item-img img {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover
}
.case-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
}
.case-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
}
.case-item-mask span {
    position: relative;
    display: block;
    z-index: 2;
    border: 1px solid #fff;
    padding: 5px 30px;
}

.case-item-info {
    text-align: left;
    padding-top: 10px;
    margin-bottom: 40px;
}
.case-item-title {
    background: url("../img/index/case-item-title.png") no-repeat right bottom;
    font-weight: bold;
    font-size: 1.3rem;
}
.case-item-btn {
    margin-top: 20px;
    text-align: center;
}
.case-item-btn a {
    display: inline-block;
    color: #fff;
    background-color: #333333;
    padding: 5px 10%;
    font-size: 1rem;
}
.case-item-btn a:hover {
    background-color: #09378f;
}





/*========================================================
                         訊息公告
=========================================================*/


.news {
    background: url("../img/index/news-bg.jpg") no-repeat center center;
    background-size: cover;
	padding-top: 60px;
    padding-bottom: 80px;
}
.news > div {
    background-color: #fff;
    padding: 60px 80px;
}
.news h2 {
    font-size: 2.2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    color: #fff;
}
.news .news-img {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
.news .news-title {
    font-weight: bold;
}
.news .news-title span {
    display: inline-block;
    color: #09378f;
}
.news .news-title span:before {
    content: '';
    display: inline-block;
    width: 2px;
    height: 24px;
    background-color: #09378f;
    margin-left: 20px;
    margin-right: 20px;
}
.news .news-list {
    list-style: none;
    margin: 0;
    padding: 15px 0 0 0;
    border-top: 2px solid #0c336d;
}
.news .news-list li {
    position: relative;
}
.news .news-list li a {
    display: block;
    color: #111;
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
}
.news .news-list li a time {
    display: block;
    width: 110px;
    background-color: #dd9422;
    color: #fff;
    padding: 0 10px;   
}
.news .news-list li a:hover {
    background-color: #ededed;
}

.news .news-btn {
    margin-top: 10px;
    text-align: right;
}
.news .news-btn i {
    display: inline-block;
    margin: 0 10px;
}
.news .news-btn a {
    display: inline-block;
    color: #000;
    padding: 2px 3px;
    font-weight: bold;
}
.news .news-btn a:hover {
    background-color: #245953;
    color: #fff;
}

/*  尺寸設定 */
@media (min-width: 640px) {
    .news .news-list li a {
        padding: 15px 0 15px 130px;
    }
    .news .news-list li a time {
        position: absolute;
        left: 10px;
        top: 16px;
        z-index: 2;
    }
}
@media (max-width: 991px) {
    .news > div {
        padding: 60px 20px;
    }
}
@media (min-width: 1200px) {
    .news .news-list {
        min-height: 300px;
    }
}
@media (min-width: 1600px) {
    .news .news-list {
        min-height: 400px;
    }
}

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

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;
}


