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


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

.h2-title {
    font-size: 2rem;
    text-align: center;
    padding-bottom: 4vh;
  	color: #333;
	font-weight: bold;
    position: relative;
}
.h2-title span{
	color: #a62424;
}
.h3-title {
  font-weight: bold;
  font-size: 1.6rem;
}
.h4-title {
  font-size: 1.2rem;
	font-weight: bold;
	color: #333;
}
.carousel-indicators {
    bottom: -14px;
}
@media (min-width: 640px) {
	.carousel-indicators {
		bottom: 0px;
	}
	.h2-title{
		font-size: 2.8rem;
	}
}
@media (min-width: 768px){
	.h2-title{
		font-size: 3rem;
	}
}
@media (min-width: 992px){
	.h2-title{
		font-size: 3.4rem;
	}
}

/*========================================================
                         共同設定
=========================================================*/
.all_bg{
	background: url("../images/index/all_bg.jpg") no-repeat center top;
	background-size: cover;
	overflow: hidden;	
}
/*@media (min-width: 992px) {
	.all_bg{
		background: url("../img/index/all_bg.jpg") no-repeat center top;
	}
}*/



.img-w-b{
	padding: 10px 0;
}

.wrapper__bg {
	 width: 100%;
	 height: 100%;
	 position: fixed;
	 top: 0;
	 right: 0;
	 bottom: 0;
	 left: 0;
	 overflow: hidden;
	 z-index: -1;
}

.index-banner{
	padding-top: 56px;
}
/*========================================================
                         左側選單
=========================================================*/

.icon_Community a.js-btn-icon_Community {
    text-align: center;
    width: 50px;
    line-height: 47px;
    border-radius: 100px;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 0;
    cursor: pointer;
    color: #fff;
    background: #000;
    font-size: 22px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5);
    height: 50px;
    pointer-events: auto;
	overflow: hidden;
    font-family: "微軟正黑體", Arial, Verdana, Helvetica, sans-serif;
}

.js-btn-icon_Community:hover,
.js-btn-icon_Community:focus {
    color: #fff;
    background-color: #276850;
    border-color: #276850;
}

.js-icon_Community .icon_li {
    position: relative;
    left: -100px;
    
}
.icon_li_img {
        max-width: 50px;
        width: 100%;
        height: auto;
        display: block;
        position: absolute;
        left: 0;
        z-index: 1;
    }
.js-icon_Community.active .icon_li {
    left: 0;
    pointer-events: auto;
}

.js-icon_Community .icon_li:nth-child(1) {
    transition: all 0.1s ease-out;
    -moz-transition: all 0.1s ease-out;
    -o-transition: all 0.1s ease-out;
    -webkit-transition: all 0.1s ease-out;
}

.js-icon_Community .icon_li:nth-child(2) {
    transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
}

.js-icon_Community .icon_li:nth-child(3) {
    transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    -webkit-transition: all 0.5s ease-out;
}


.icon_li a:hover .icon{
 animation: go 3s linear infinite;
}
@keyframes go {
  10% {
    transform: rotate(15deg);
  }
  20% {
    transform: rotate(-10deg);
  }
  30% {
    transform: rotate(5deg);
  }
  40% {
    transform: rotate(-5deg);
  }
  50%,100% {
    transform: rotate(0deg);
  }
}  

@media (max-width: 991.98px){
    .icon_Community {
        width: 100%;
        position: fixed;
        left: auto;
        bottom: 0;
        z-index: 999998;
        pointer-events: none;
    }
    .icon_Community_ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
    }
    .icon_Community_ul .icon_li {
        width: 33.33%;
        border-right: 1px solid #fff;
    }
    .icon_Community_ul .icon_li:last-child {
        border-right: none;
    }
 .icon_Community_ul .icon_name {
        font-size: 0.8rem;
  		padding-top: 5px;
    }
    .icon_img {
        display: block;
        background: linear-gradient(to bottom, #bb2c2b 1%, #cc3f3c 50%, #bb2c2b 100%);
        overflow: hidden;
        text-align: center;
        color: #fff;
        position: relative;
        padding: 10px 10px;
        text-decoration: none;
    }
 .icon_Community a{
	  color: #fff;
	  text-decoration:none;
 }
 .icon_Community a img{
	  display: block;
	  margin: 0 auto;
	  width: 22px;
 }
 .icon_Community a:hover{
	  background: linear-gradient(to bottom, #bb2c2b 1%, #cc3f3c 50%, #bb2c2b 100%);
 }
 .icon_Community a:hover img{
	  animation: go 3s linear infinite;
 }
}

@media (min-width: 992px){
    .icon_Community {
        position: fixed;
        right: 23px;
        bottom: 70px;
        z-index: 9998;
        pointer-events: none;
    }
    .icon_Community_ul {
        list-style: none;
        padding: 0;
        flex-direction: column;
        align-items: flex-end;
        display: flex;
        margin-bottom: 59px;
    }
    .icon_img {
        background: linear-gradient(to bottom, #bb2c2b 1%, #cc3f3c 50%, #bb2c2b 100%);
        border: none;
        overflow: hidden;
        text-align: center;
        margin-bottom: 6px;
        width: 50px;
        text-decoration: none;
        border-radius: 100px;
        color: #fff;
        transition: all 0.3s ease;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .icon_img.active {
        width: 142px;
    }
    .icon_img.active .icon_name {
        text-indent: 0;
        opacity: 1;
    }
    .icon_img:hover {
        text-decoration: none;
        width: 142px;
    }
    .icon_img:before {
        opacity: 0;

    }
    .icon_img .icon {
        color: #fff;
        font-size: 22px;
        width: 50px;
        line-height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        right: 0;
        z-index: 1;
    }
    .icon_img:hover .icon {
        text-decoration: none;
    }
    .icon_img:hover .icon_name {
        opacity: 1;
        text-indent: 0;
    }
    .icon_name {
        position: relative;
        line-height: 50px;
        padding-left: 15px;
        padding-right: 50px;
        transition: all 0.3s ease;
        opacity: 0;
        text-decoration: none;
        color: #fff;
        white-space: nowrap;
        border-radius: 100px;
        overflow: hidden;
        /*text-indent: -100px;*/
        font-family: Arial, "Microsoft JhengHei", sans-serif;
    }
}
/*========================================================
                         為什麼選擇勵心徵信
=========================================================*/
.choose-section {
	overflow: hidden;
	padding-top: 60px;
	padding-bottom: 60px;
	background: #f8f9fa;
}
.choose-subtitle {

	color: #777;
}
.choose-content {
	display: flex;
	align-items: center;
	justify-content: center;
}
 .choose-image{
	width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50px;
}
.choose-slider .choose {
	border: none;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	border-radius: 10px;
	margin: 10px;
    padding: 20px 10px;
	height: 100%;
	background: #fff;
}

.choose-label {
	background-color: #cf9a88;
	color: white;
	display: inline-block;
	padding: 5px 10px;
	border-radius: 5px;
	font-size: 14px;
	margin-bottom: 5vh;
}
.slick-prev, .slick-next {
	z-index: 10;
}


.all-slider,
.all-slider .slider-item,
.all-slider .card {
  height: 100%;
}

.all-slider .slider-item {
  display: flex;
  flex-direction: column;
}
.slick-slide {
  display: flex !important;
  height: auto !important;
}
.slick-dots {
    bottom: -55px;
}

.choose-slider .slick-dots li button{
	background: #e9e9e9!important;
}
.choose-slider .slick-dots li.slick-active button:before{
    opacity: 1.00;
    color: #8b6060!important;
	background: #8b6060!important;
	border-radius: 50px;
}

@media (min-width: 992px){
	.choose-slider{
		display: flex;
		transform: translateX(-11vh);
		width: calc(100% + 11vh); /* 增加寬度來補右邊空洞 */
	}
	.choose-image {
		height: 450px;
		border-radius: 0 50px 50px 0;
	}
}
@media (max-width: 991.98px){
	.choose-section {
		padding-left: 15px;
		padding-right: 15px;
	}
}

@media (min-width: 992px) and (max-width: 1199.98px) {
	.choose-label{
		margin-bottom: 2vh;
	}
}
/*========================================================
                         真實案例
=========================================================*/
.stories-wrap{
	padding-top: 80px;
	padding-bottom: 80px;
	background: #ebd7d0;
}
.stories-title{
	text-align: center;
	color: #8b6060;
	padding-bottom: 2vh;
}
.stories-wrap .h2-title{
	text-transform:uppercase;
	color: #8b6060;
}
.stories-wrap h3{
	font-size: 1.2rem;
	font-weight: bold;
	color: #8b6060;
}
.stories-list{
	padding: 10px;
}

.stories-img {
	overflow:hidden;
}
.stories-img img {
    object-fit: cover;
    height: 300px;
    transform: scale(1, 1);
    transition: all 1s ease-out;
}
.stories-img img:hover{
	transform:scale(1.2,1.2);
}

.stories-list .txt h3 {
	padding-top: 1vh;
	margin: 5px;
	font-weight: bold;
	color: #8b6060;
	font-size: 1.2rem;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	
}
.stories-list .txt h3 a{
	text-decoration:none;
	color: #555;
}
.stories-list .txt h3 a:hover{
	color: #a11e20;
}
.stories-list .txt p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-height: 1.2rem;
    padding: 0;
    font-size: 0.9rem;
    margin: 10px;
	color: #555;
}

.stories-list:hover .stories-img img{
    transform:scale(1.2,1.2);
	outline:none;
}

.stories-slider .slick-dots li.slick-active button:before{
    opacity: 1.00;
    color: #8b6060!important;
	background: #8b6060!important;
	border-radius: 50px;
}
.all-slider {
    display: flex;
}


.stories-list {
    height: 100%; 
}

.stories-img {
    flex-shrink: 0; 
}


@media (min-width: 992px) {
	.stories-wrap .h2-title{
		letter-spacing: .2em;
	}
	.stories-wrap h3{
		font-size: 1.4rem;
	}
	
}
/*========================================================
                         徵信服務
=========================================================*/

.service-wrap{
	padding: 90px 5px;
	overflow: hidden;
}
.service-wrap .container{
	background-color: rgb(255 255 255 / 0%)!important;
    box-shadow: 0 1px 1px 2px rgb(0 0 0 / 0%)!important;
}

.service-wrap .row [class*= col-]{
	margin-top: 15px;
	margin-bottom: 15px;
}

.service-list{
	background: #fff;
	padding: 10px;
	box-shadow: inset 2px 2px 2px 0px rgba(255,255,255,.5), 7px 7px 20px 0px rgba(0,0,0,.1), 4px 4px 5px 0px rgba(0,0,0,.1);
	border-radius: 10px;
}

.service-img {
	overflow:hidden;
	position: relative;
}
.service-img img {
    object-fit: cover;
    height: 150px;
    transform: scale(1, 1);
    transition: all 1s ease-out;
}
.service-img img:hover{
	transform:scale(1.2,1.2);
}
.service-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* 讓標題居中 */
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px #555, 1px 1px 2px #555;
    text-align: center;
}
.service-list .txt h3 {
	text-align: center;
	padding: 0;
	margin: 5px;
	font-weight: bold;
	color: #555;
	font-size: 1.5rem;
	
}
.service-list .txt h3 a{
	text-decoration:none;
	color: #555;
}
.service-list .txt h3 a:hover{
	color: #a11e20;
}
.service-list .txt p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-height: 1.2rem;
    padding: 0;
    font-size: 0.9rem;
    margin: 10px;
	color: #555;
}

.service-list:hover .service-img img{
    transform:scale(1.2,1.2);
	outline:none;
}

/*========================================================
                         FAQ
=========================================================*/
.faq-wrap {
	overflow: hidden;
	padding-top: 60px;
	padding-bottom: 60px;
	background: #fff;
}
.card-header {
    padding: 1rem 1rem;
    margin-bottom: 0;
    background-color: #f9f9f9;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.faq-wrap ul li{
	list-style-type: none;
}

.card {
    margin-bottom: 1vh;
}

.rotate-icon {
    transition: transform 0.3s ease;
  }
.article-style .icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    margin-left: 4px;
    margin-right: 4px;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 24px 24px;
    vertical-align: middle;
}
.article-style .icon-241 {
    background-image: url(../images/icon/icon-241.svg);
}
/*文字顏色*/

.article-style .f-c01 {
	color: #003366;
}
.article-style .f-c02 {
	color: #8b3131;
}
.article-style .f-c03 {
	color: #004D00;
}
.article-style .f-c04 {
	color: #191970;
}
.article-style .f-c05 {
	color: #8B4513;
}
.article-style .f-c06 {
	color: #006666;
}
/*========================================================
                         我遇到的問題
=========================================================*/
.problem-wrap {
	overflow: hidden;
	padding-top: 80px;
	padding-bottom: 80px;
}
.problem a {
    text-decoration: none;
    color: inherit;
  }
.problem a:hover p {
    color: #555;
	text-decoration: underline;
  }
.problem .item {
	height: 100%;
	display: flex;
	overflow: hidden;
}

.problem .img-box img {
	object-fit: cover;
	height: 100%;
	width: 100%;
}

.problem .text-box {
	padding: 10px;
}

.problem .text-content {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.problem .row > div {
	margin-bottom: 20px;
}
.problem-label {
    background-color: #cf9a88;
    color: white;
    display: inline-block;
    padding: 2px 10px;
    border-radius: 5px;
    font-size: 14px;
	margin-bottom: 2vh;
}
.problem a:hover .problem-label{
    background-color: #8b6060;
}

/*========================================================
                         聯絡資訊
=========================================================*/
.contact {
	padding: 60px 15px;
	background-image: url('../images/index/contact-bg.jpg'); /* ← 換成你實際的圖片網址 */
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	color: #fff; /* 根據背景顏色決定字體顏色，白底改深色 */
}
.contact-list{
	background: #ffffffc7;
	padding: 4vh 2vh;
	border-radius: 0 50px 0 50px;
}
.contact h2 {
	color: #333;
	font-weight: bold;
	
}
.contact p {
	color: #333;
}
.contact .btn-area a {
	margin: 0 5px 5px 0;
}
.btn-custom {
	display: inline-block;
	padding: 0.375rem 0.75rem;
	font-size: 0.875rem;
	color: #ffffff;
	background-color: transparent;
	border: 1px solid #ffcc00;
	border-radius: 0.25rem;
	transition: all 0.3s ease;
}
.contact .btn-outline-light {
    color: #0e0e0e;
    border-color: #777777;
}
.btn-custom:hover {
	background-color: #ffcc00;
	color: #333;
	text-decoration: none;
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ffffff00;
    border: 1px solid #8b6060;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #8b6060;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a:hover .icon-circle {
	background-color: #cf9a88;
	color: #fff;
	border: 1px solid #fff;
}
.contact-buttons .text-box{
	padding-left: 2vh;
}
.contact-buttons h5 {
	font-size: 15px;
	font-weight: bold;
	margin: 0;
}

.contact-buttons p {
	font-size: 14px;
	margin: 0;
}

@media (min-width: 992px) {
	.contact-list{
		padding: 4vh 3vh;
	}
}
/*========================================================
                         按鈕效果
=========================================================*/

.custom-btn {
    color: #fff;
    padding: 0px 15px;
    background: #cf9a88;
    border-radius: 5px;
    text-decoration: none !important;
    display: inline-block; /* 改為 inline-block，讓按鈕不佔滿整行 */
    text-align: center;
    font-weight: bold;
    font-size: 0.8rem;
    margin: 0 auto; /* 讓按鈕在父容器中置中 */
}
.custom-btn:hover {
    color: #fff;
    background: #8b6060;
}
.btn-container {
    text-align: center;
	padding-bottom: 1vh;
}

.service-list:hover .custom-btn{
    color: #fff;
    background: #8b6060;
}
.btn-container-stories{
	text-align: center;
}
.stories-btn {
    color: #8b6060;
    padding: 5px 15px;
    border:1px solid #8b6060;
    border-radius: 5px;
    text-decoration: none !important;
    text-align: center;
    font-weight: bold;
    margin-top: 2vh;
}
.stories-btn:hover {
    color: #fff;
    background: #8b606096;
}
.stories-list:hover .stories-btn{
    color: #fff;
    background: #8b606096;
}






.button-back1 {
  padding: 0.45em 4em;
  text-align: center;
  text-decoration: none;
  color: #fff;
  border: 2px solid #ffbb05;
  /*font-size: 24px;*/
  display: inline-block;
  border-radius: 0.3em;
  transition: all 0.2s ease-in-out;
  position: relative;
  overflow: hidden;
  font-weight: bold;
}
.button-back1:before {
  content: "";
  background-color: rgba(255, 255, 255, 0.5);
  height: 100%;
  width: 3em;
  display: block;
  position: absolute;
  top: 0;
  left: -4.5em;
  transform: skewX(-45deg) translateX(0);
  transition: none;
}
.button-back1:hover {
  background-color: #ffbb05;
  color: #555;
  border: 2px solid #404040;
}
.button-back1:hover:before {
  transform: skewX(-45deg) translateX(13.5em);
  transition: all 0.5s ease-in-out;
}

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

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);
}
/*========================================================
                         按鈕效果
=========================================================*/

.btn-back{
    display: block;
    text-align: center;
    cursor: pointer;
    line-height: 45px;
    position: relative;
    transition: all .3s linear;
    float: left;
    margin: 0px auto;
    margin-top: 0px;
    justify-content: center!important;
    /*position: absolute;*/
    top: 30%; 
    left: 50%;
    transform: translate(-50%,30%);
    z-index: 9;
	font-family: 'Noto Serif TC', serif;
}
.btn-back > a{
    position: relative;
    z-index: 1;
	padding: 10px 30px;
	color: #fff;
    border: 1px solid #fff;
}
.btn-1{
	color: #555;
    border: 1px solid #555;
}
.btn-1 > a{
	color: #555;
}

.btn-back::before{
    content: "";
    width: 0%;
    height: 100%;
    display: block;
    background-image: linear-gradient(45deg, #db9e4b 0%, #f9dfb7 100%);
    position: absolute;
    top: 0;
    left: 0;
	opacity: 0;
    transition: all .3s ease;
}
.btn-back > a:hover{
    color: #fff;
	border: 1px solid #f9dfb7;
}
.btn-back:hover::before{
    width: 100%;
    height: 100%;
    opacity: 1;
}
@media (min-width: 1200px) {
	.btn-back{
		top: -60%; 
		transform: translate(-50%,-60%);
	}
}
.rd-navbar-static .rd-navbar-dropdown{
	margin-top: 20px!important;
}
/*========================================================
                      	 網站導覽
=========================================================*/

.sitemap-wrap {
	/*background: url(../images/design-bg.jpg) no-repeat center center;
	background-size: cover;*/
	/*background: #f4f4f4;*/
	background: linear-gradient(to bottom, #bb2c2b 1%, #cc3f3c 50%, #bb2c2b 100%);
	padding: 40px 20px 0px;
	display: none;
	
}
.sitemap-wrap .container{
	background-color: transparent;
    box-shadow: none;
    padding: 0;
	border-bottom: 1px solid #fff;
    padding-bottom: 20px;
	
}
.sitemap-wrap dl {
	display: -moz-inline-stack;
	display: inline-block;
	zoom: 1;
	vertical-align: top;
    width: 7.5%;
    margin: 0 1%;
}
.sitemap-wrap dl dt {
	font-size: 1.2rem;
	color: #fff;
    padding-top: 3px;
    padding-bottom: 3px;
	letter-spacing: 0em;
}
.sitemap-wrap dl dd {
    margin-bottom: 0;
}
.sitemap-wrap dl dd a {
    display: block;
    color: #ededed;
	font-size: 1rem;
	line-height: 26px;
}
.sitemap-wrap dl dd a:hover {
    color: #000;
}


/*  尺寸設定 */
@media (min-width: 1200px) {
	.sitemap-wrap {
		display: block;
	}
}
