
@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-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}
.p-title {
    text-align: center;
    margin-bottom: 60px;
	padding: 5px 10px;
}

/*========================================================
                        產品項目
=========================================================*/

.products {
    background-color: #fff;
    padding-top: 60px;
    padding-bottom: 40px;
}
.products .h2-title,.products .h5-title {
    text-align: center;
}

.products .products-item {
    margin: 0 20px 10px;
    background-color: #fff;
    position: relative;
    box-shadow: 2px 2px 8px rgb(0 0 0 / 16%);
}

.product-img{
	overflow:hidden;
}
.product-img img{
	transform:scale(1,1);
	transition: all 1s ease-out;
	width: 100%;
}
.product-img img:hover{
	transform:scale(1.2,1.2);
}
.products-item a:hover img{
	transform:scale(1.2,1.2);
}
.products .products-item .product-list{
	padding: 20px 10px;
	background: #3172b6;
	overflow:hidden;
}
.products .products-item h3 {
    text-align: center;
    display: block;
    color: #fff;
    font-size: 18px;
    transform:scale(1,1);
	transition: all 1s ease-out;
}

/*  尺寸設定 */

@media (min-width: 768px) {
    .products .products-item ul li {
        margin: 0 10px; 
    }
    /*.products .products-item h3 {
        font-size: 1.6rem;
    }*/
}


/*========================================================
                         訊息中心
=========================================================*/
.news-wrap {
	background: url("../img/index/news-bg.jpg") no-repeat center center;
    background-size: cover;
    padding: 80px 4%;
}
.news-wrap img {
	width: 100%;
    vertical-align: bottom;
}
.news-wrap [class*="col-"]:nth-of-type(1) {	
	background: url(../img/index/news-item-a01.jpg) no-repeat center center;
	background-size: cover;
}

.news-content h2 {
    font-weight: bold;
	margin: 0 0 2rem 0;
}
.news-content h2 span {
    display: inline-block;
    color: #2f84cd;
}
.news-content h2 span:before {
    content: '';
    display: inline-block;
    width: 2px;
    height: 24px;
    background-color: #2f84cd;
    margin-left: 20px;
    margin-right: 20px;
}
.news-content dl{
    padding-top: 0px;
    padding-bottom: 10px;
    border-bottom: 1px solid #c0c0c0;
}
.news-content dl a{
	color: #555;
}
.news-content dl a dt {
    float: left;
    margin-right: 20px;
    background-color: #2f84cd;
    color: #fff;
    text-align: center;
    padding: 10px 10px;
	font-size:32px;
}
.news-content dl a dt span {
    display: block;
    font-size: 1rem;
	padding:0 0 5px;
}
.news-content dl a dt b {
    display: block;
    font-size: 2rem;
}
.news-content dl a dd {
    overflow: hidden;
    font-size: 1rem;
    line-height: 1.6rem;
}
.news-content dl a dd h3 {
    margin: 5px 0 5px;
    font-size: 1.2rem;
    font-weight: bold;
}
.news-content dl a dd:hover h3{
    color: #2f84cd;
}
.news-content dl a:hover dt{
    background-color:#2469a4; 
}



.more{
	margin-top: 10px;
    text-align: center;
	line-height: 40px;
	cursor: pointer;
	display: block;
    background: #0253a8 url('https://api.iconify.design/dashicons:arrow-right-alt2.svg?color=%23fff&width=24px&height=24px') no-repeat 10px center;
    border: 1px solid #2f84cd;
	position: relative;
    transition: all .3s linear;
	float:right;
	padding: 10px 0;
}
.more > a{
    position: relative;
    z-index: 1;
	color: #fff;
	padding: 20px 30px;
}
.more::before{
    content: "";
    width: 0%;
    height: 100%;
    display: block;
    background: #2f84cd url('https://api.iconify.design/dashicons:arrow-right-alt2.svg?color=%23fff&width=24px&height=24px') no-repeat 10px center;
    position: absolute;
    top: 0;
    left: 0;
    transition: all .3s ease;
}
.more:hover{
    color: #fff;
}
.more:hover::before{
    width: 100%;
}


/*  尺寸設定 */

@media (min-width: 768px) {
.news-wrap {
    padding: 100px 4%;
}
}
@media (min-width: 1200px) {
    .news-content {
        padding-left: 50px;
    }    
}





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

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

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



