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


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

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


/*========================================================
                      	 實績一覽
=========================================================*/

.case {
    padding-top: 40px;
    padding-bottom: 4%;
}

.case h2 {
    text-align: center;
    font-weight: bold;
    font-size: 2.4rem;
    margin-bottom: 20px;
}
.case h2 + p {
    text-align: center;
}

.case-item {
    position: relative;
}
.case-item h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    background-color: rgba(0,0,0,0.8);
    margin: 0;
    font-size: 1.2rem;
    color: #fff;
    padding: 15px;
    text-align: center;
}
.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: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    font-size: 1.125rem;
    font-weight: 700;
    transition: all .3s,
}
.case-item-mask::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    height: 50px;
    width: 100%;
    background-color: rgba(255,255,255,0.3);
    transform: translateY(-50%);
    transition: all .3s
}
.case-item-mask span {
    position: relative;
    display: block;
    z-index: 2;
    padding: 5px 30px;
    background-color: #1f6896;
    color: #fff;
    font-size: 1rem;
}



/*========================================================
                      	 精湛工藝
=========================================================*/

.craft {
    background: url("../img/lihwa/index/craft-bg.jpg") no-repeat center center;
    background-size: cover;
    padding-top: 60px;
    padding-bottom: 100px;
    position: relative;
    padding-left: 4%;
    padding-right: 4%;
}
.craft-title {
    text-align: center;
    font-weight: bold;
    font-size: 2.4rem;
    margin-bottom: 40px;
}
.craft-img {
    height: 400px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
.craft-info {
}
.craft-info-inner {
    color: #000;
    padding: 40px;
    overflow: hidden;
    border-bottom: 10px solid #1f6896;
}
.craft-info-inner h2 {
    font-weight: bold;
    margin-bottom: 20px;
}
.craft-info-more {
    margin-top: 10px;
}
.craft-info-more a {
    background-color: #1f6896;
    color: #fff;
    padding: 10px 30px;
}
.craft-info-more a:hover {
    background-color: #ef8018;
}

/*  尺寸設定 */
@media (max-width: 991px) {
    .craft-info-inner {
        background-color: #ededed;
    }
}
@media (min-width: 992px) {
    .craft {
        padding-left: 4%;
        padding-right: 4%;
    }
    .craft-info-inner {
        position: relative;
        z-index: 1;
        left: -30px;
        border: 20px solid #1f6896;
        padding-left: 80px;
        height: 380px;
    }
    .craft-img {
        position: relative;
        z-index: 10;
        right: -30px;
        height: 320px;
    }
}
@media (min-width: 1200px) {
    .craft-info-inner {
        left: -60px;
        padding-left: 140px;
        height: 440px;  
    }
    .craft-img {
        right: -60px;
        height: 380px;
    }
}
@media (min-width: 1600px) {
    .craft-info-inner {
        left: -80px;
        padding-left: 180px;
        height: 520px; 
    }
    .craft-img {
        right: -80px;
        height: 460px;
    }
}
@media (min-width: 1800px) {
    .craft-info-inner {
        height: 560px;  
    }
    .craft-img {
        height: 500px;
    }
}



/*========================================================
                    人力資源 & 教育訓練
=========================================================*/

.wrap-hr {
    color: #fff;
    text-align: center;
    margin-bottom: -180px;
}
.wrap-hr [class*="col-"] > div {
    height: 240px;
}
.wrap-hr [class*="col-"] > div h3 {
    font-weight: bold;
    margin-bottom: 40px;
}
.wrap-hr [class*="col-"] > div [class*="-more"] a {
    display: inline-block;
    border: 1px solid #fff;
    color: #fff;
    padding: 3px 40px;
}
.wrap-hr [class*="col-"] > div [class*="-more"] a:hover {
    background-color: #0c4877;
}


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

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

/*  尺寸設定 */
@media (min-width: 992px) {
    .wrap-hr > div {
        padding-right: 10%;
    }
    .wrap-hr [class*="col-"] > div {
        height: 300px;
    }
}




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

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