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


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


.h2-title {
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    color: #000;
    font-family: 'Noto Serif TC', serif;    
}
.h2-title+p {
	font-family: Arial, Verdana, Helvetica, sans-serif;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 30px;
    color: #e3c4a2;
}

@media (min-width: 992px) {
    .h2-title {
        font-size: 2rem;
    }
    .h2-title+p {
        font-size: 1.6rem;
        margin-bottom: 40px;
    }

}

/*========================================================
                      	 內容框架背景
=========================================================*/

.content-bg {
    background: url("../img/index/content-bg.jpg") no-repeat center top;
    background-size: cover;
}

.more-btn {
    text-align: center;
}
.more-btn a {
    background-color: #d22630;
    color: #fff;
    padding: 10px 30px;
}
.more-btn a:hover {
    background-color: #1d2877;
}


/*========================================================
                      	 最新消息
=========================================================*/

.news-wrap {
	padding-top: 100px;
    padding-bottom: 60px;
}

.news-wrap img {
    width: 100%;
    vertical-align: bottom;
}
.news-item {
    position: relative;
    padding: 0 10px;
}
.news-item-img {
    position: relative;
    margin: 0;
    display: block;
    width: 100%;
    text-decoration: none;
    color: #fff;
    overflow: hidden;
    transition: all .3s
}

.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;
    border: 6px solid transparent;
}
.news-item-mask::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    height: 50px;
    width: 100%;
    background-color: rgba(255, 255, 255, .2);
    transform: translateY(-50%);
    transition: all .3s
}
.news-item-mask span {
    position: relative;
    display: block;
    z-index: 2;
    padding: 4px 20px 2px;
    color: #000;
    border: 1px solid #111;
    font-size: 0.9rem;
}

.news-item-img:hover .news-item-mask {
    opacity: 1;
    visibility: visible;
    border-color: #d21916;        
}
.news-item-img:hover .news-item-mask::after {
    height: 100%
}

.news-item-info {
    background-color: #fff;
    text-align: left;
    padding: 20px 0;
}
.news-item-info h3 {
    color: #000;
    font-weight: bold;
    font-size: 1.3rem;
}
.news-item-info time {
    color: #ff2600;
}
.news-item-info p {
    color: #4e4e4e;
    line-height: 28px;
}
.news-btn {
    position: relative;
    bottom: -20px;
}





/*========================================================
                      	 公司政策
=========================================================*/

.company-wrap {
	padding-top: 60px;
    padding-bottom: 60px;
}
.company-inner {
    position: relative;
    background-color: #fff;
    border: 1px solid #c6c6c6;
    padding: 40px;
}
.company-img img {
    width: 100%;
    vertical-align: bottom;
    margin-bottom: 30px;
}
.company-info h3 {
    background: url("../img/index/company-info-bg.jpg") no-repeat left top;
    background-size: auto 70%; 
    font-weight: bold;
    padding: 10px 15px;
    margin-bottom: 20px;
}
.company-info p {
    line-height: 44px;
}
.company-btn {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

@media (min-width: 992px) {
    .company-inner {
        padding: 60px;
    }
    .company-img {
        border-right: 1px solid #666;
    }
    .company-img img {
        margin-bottom: 0px;
    }
}
@media (min-width: 1200px) {
    .company-inner {
        padding: 100px;
    }
}


/*========================================================
                      	 營業項目
=========================================================*/

.service-wrap {
	padding-top: 60px;
    padding-bottom: 40px;
}
.service-wrap h2 {
    margin-bottom: 20px;        
}
.service-wrap > div h3 {
    display: inline-block;
    background-color: #fff;
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 1.2rem; 
    font-family: 'Noto Serif TC', serif;
    max-width: 90%;
}
.service-wrap > div > p {
    margin-bottom: 60px; 
}


.service-item {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 30px;
}
.service-item > p {
    padding: 20px 20px 0 20px;
    text-align: center;
}
.service-item > div {
    position: relative;
    overflow: hidden;
}
.service-item > div img {
    width: 100%;
    vertical-align: bottom;
    transform: scale(1);
    transition: all 0.3s;
}
.service-item > div a {
    background: url("../img/index/service-item-bg.png") no-repeat right top;
    background-size: 30% 100%;
    position: absolute;
    right: 0;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 5;
    display: block;
    width: 100%;
    height: 100%;
    text-align: right;
}
.service-item > div a span {
    color: #fff;
    display: inline-block;
    margin: 15px;
    font-size: 0.7rem;
    border-bottom: 1px solid #fff;
}
.service-item > div:hover img {
    transform: scale(1.05);
}

.service-item > div p {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 7;
    font-size: 1.6rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 2px #666, 0 0 2px #666, 0 0 2px #666, 0 0 2px #666,0 0 2px #666, 0 0 2px #666, 0 0 2px #666, 0 0 2px #666, 0 0 2px #666, 0 0 2px #666;
}

@media (min-width: 540px) {
    .service-item > div a {
        background-size: 20% 100%;
    }
}
@media (min-width: 768px) {
    .service-item > div a {
        background-size: auto 100%;
    }
    .service-item > div a span {
        font-size: 0.9rem;
    }
    .service-item > div p {
        top: 20px;
        left: 20px;
    }
}
@media (min-width: 992px) {
    .service-item > div a {
        background-size: 25% 100%;
    }
    .service-item > div a span {
        font-size: 0.9rem;
    }
    .service-item > div p {
        top: 20px;
        left: 20px;
    }
}
@media (min-width: 1600px) {
    .service-item > div a {
        background-size: auto 100%;
    }
    .service-item > div p {
        top: 30px;
        left: 30px;
    }
}


/*========================================================
                      	 影音專區
=========================================================*/

.video-wrap {
	padding-top: 40px;
    padding-bottom: 40px;
}
.video-bg {
    background: url("../img/index/video-bg.png") no-repeat center 97%;
    background-size: 100% auto;
    padding-bottom: 60px;
}
.video-inner {
    width: 100%;
    margin: 0 auto;
    border: 20px solid #adadad;
}

.carousel-item {
    margin-bottom: -10px;
}

#video-slide iframe {
    width: 100%;
}
#video-slide iframe {
    width: 100%;
}

@media (min-width: 992px) {
    .video-inner {
        width: 80%;
    }
    #video-slide iframe {
        height: 400px;
    }
}
@media (min-width: 1200px) {
    #video-slide iframe {
        height: 500px;
    }
}
@media (min-width: 1600px) {
    .video-bg {
        background-size: 75% auto;
        padding-bottom: 60px;
    }
    .video-inner {
        width: 60%;
    }
    #video-slide iframe {
        height: 500px;
    }
}


.video-inner .carousel-control-prev, 
.video-inner .carousel-control-next {
    opacity: 1;
}
.video-inner .carousel-control-prev {
    left: 0;
}
.video-inner .carousel-control-next {
    right: 0;
}
.video-inner .carousel-control-prev-icon,
.video-inner .carousel-control-next-icon {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: #000 no-repeat center center;
    background-size: 50% 50%;
    border-radius: 50%;
}
.video-inner .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3e%3c/svg%3e");
}

.video-inner .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3e%3c/svg%3e");
}

.video-inner .carousel-indicators {
    bottom: -20%;
}
.video-inner .carousel-indicators li {
    width: 15px;
    background-color: #999;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    opacity: 1;
    border-radius: 50%;
    height: 15px;
}
.video-inner .carousel-indicators .active {
    opacity: 1;
    background-color: #f20000;
}

@media (min-width: 992px) {
    .video-inner .carousel-control-prev {
        left: -15%;
    }
    .video-inner .carousel-control-next {
        right: -15%;
    }
}









/*========================================================
                      	 合作夥伴
=========================================================*/

.partner-wrap {
    background: url("../img/index/partner-bg.jpg") no-repeat center bottom / cover;
	padding-top: 60px;
    padding-bottom: 80px;
    padding-left: 5%;
    padding-right: 5%;
}
.partner-inner {
    background-color: #fff;
    padding: 50px;
    border: 1px solid #d7d7d7;
}
.partner-inner .row {
    border-right: 1px solid #d7d7d7;
}
.partner-inner [class*="col-"] {
    border-left: 1px solid #d7d7d7;
    border-bottom: 1px solid #d7d7d7;
}
.partner-inner [class*="col-"]:last-of-type {
    border-bottom: none;
}
.partner-inner img {
    width: 100%;
    vertical-align: bottom;
}

.partner-item {
    overflow: hidden;
}
.partner-item a img {
    transform: scale(1);
    transition: all 0.3s;
}
.partner-item a:hover img {
    transform: scale(1.05);
}
.partner-txt {
    text-align: center;
    font-size: 1.4rem;
    margin-top: 2rem;
}




@media (min-width: 992px) {
    .partner-inner {
        padding: 80px;
    }
    .partner-txt {
        font-size: 2rem;
        margin-top: 3rem;
    }
}
@media (min-width: 1200px) {
    .partner-inner {
        padding: 100px;
    }
}




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

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


.picture-effect {
	position: relative;
	overflow: hidden;
	z-index: 1;
}
.picture-effect img {
	transform: scale(1);
	transition: .3s ease-out all;
}
.picture-effect a {
	display: block;
	position: relative;
}
.picture-effect a:before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(12, 56, 98, 0.4);
	pointer-events: none;
	z-index: 1;
	opacity: 0;
	transition: .3s ease-out all;
}
.picture-effect a:hover:before {
	opacity: 1;
}
.picture-effect a:hover img {
	transform: scale(1.1);
}







