
@import url(../fonts/font-awesome/font-awesome.min.css);
@import url(../fonts/flaticon/flaticon.css);
@import url(revise.css);
@import url(header.css);
@import url(footer.css);
@import url(hover.css);
@import url(banner.css);

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

.h2-title {
    font-size: 2.4rem;
    font-weight: bold;
    text-align: center;
    position: relative;
    margin: 0;
    padding-top: 10px;
    padding-bottom: 10px;
}


/*========================================================
                      	 了解更多
=========================================================*/

.more-btn {
    text-align: center;
}
.more-btn a {
    color: #000;
    font-size: 1.4rem;
}
.more-btn a:hover {
    color: #14ac81;
}
.more-btn a:before,
.more-btn a:after {
    font-family: 'Font Awesome 5 free';
    content: "";
    font-weight: 900;
    display: inline-block;
    margin: 0 10px;
}
.more-btn a:before {
    content: "\f053";
}
.more-btn a:after {
    content: "\f054";
}


/*========================================================
                      	 關於我們
=========================================================*/

.about-wrap { 
	background: url("../images/index/about-bg.jpg") no-repeat right bottom;
	background-size: cover;  
	padding: 60px 5% 60px;
    color: #fff;
}
.about-wrap .info {
    text-align: left;
}
.about-wrap h2 {
    text-align: left;
    margin-bottom: 50px;
    padding-bottom: 5px;
    border-bottom: 1px solid #fff;
}
.about-wrap .more-btn {
    margin-top: 5%;
    text-align: left;
}
.about-wrap .more-btn a {
    color: #fff;
}
.about-wrap .more-btn a:hover {
    color: #000;
}

/*  尺寸設定 */
@media (min-width: 1200px) {
    .about-wrap { 
        background-position: center top;
    }
    .about-wrap .info {
        padding-left: 50px;
    }
    .about-wrap .img {
        margin-top: 80px;
    } 
    .about-wrap .more-btn {
        margin-top: 8%;
    }
}
@media (min-width: 1600px) {
    .about-wrap .info {
        padding-left: 50px;
        font-size: 1.4rem;
        line-height: 36px;
    }
    .about-wrap .img {
        margin-top: 50px;
    }  
}


/*========================================================
                      footer-nav
=========================================================*/

.footer-nav {
    background-color: #fff;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 1.4rem;
}
.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-nav ul li {
    display: inline;
}
.footer-nav ul li a {
    display: inline-block;
    color: #000;
    margin-left: 3%;
    margin-right: 3%;
}
.footer-nav ul li a:hover {
    color: #ea0000;
}



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

a.figure {
	display: block;
	position: relative;
	}
a.figure:hover:before {
    opacity: 0.3;
    -webkit-transform: scale(1);
    transform: scale(1);
}
a.figure:before {
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 6px;
    right: 6px;
    z-index: 10;
    content: '';
    display: inline-block;
    background-color: #fff;
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    transition: .3s;
}

.image-box .image-pic {
	position: relative;
}
.image-box .image-pic > p {
	position: absolute;
	top: 54%;
	left: 50%;
	transform: translate(-50%,-54%);
	z-index: 9;
    font-size: 1.6rem;
    color: #fff;
	text-shadow: 2px 2px 10px #000;
    font-weight: bold;
    width: 90%;
    text-align: center;
}
.image-box .image-pic > img {
	width: 100%;
	vertical-align: bottom;
}
.image-box .image-pic a {
	display: block;
	color: #fff;
}
.image-box .image-pic:hover .thumb-inner {
	display: block;
}
.image-box .image-pic:before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 5;
	width: 100%;
	height: 10%;
	opacity: 0;
	transition: all 0.3s;
}
.image-box .image-pic:hover:before {
	background-color: rgba(0, 0, 0, 0.5);
	opacity: 1;
	height: 100%;
}
.thumb-inner {
	display: none;
	position: absolute;
	left: 0;
	top: 42%;
	z-index: 6;
	transform: translateY(-42%);
	width: 100%;
	text-align: center;
}
.thumb-inner span {
	display: inline-block;
	color: #fff;
	font-size: 1rem;
	padding: 1px 20px 3px;
	border: 1px solid #fff;
}


/*  尺寸設定 */
@media (min-width: 992px) {
    .image-box .image-pic > p {
        font-size: 2rem;
    } 
}
