
@charset "UTF-8";
/*CSS RESET*/
img {border: 0;}
a img{border: 0;}
:focus {outline: 0;}

a{ text-decoration:none;
 outline: none; /* for Firefox Google Chrome  */
}

*{
	margin:0;padding:0;
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
table {
  border-collapse: collapse;
  border-spacing: 0; }

fieldset,
img {
  border: 0;
  border-style: none; }

ul{list-style: none;}
input,
button,
textarea,
select,
option {
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit; }
input[type="button"], input[type="submit"], button {
	cursor: pointer;
}

*:focus {
  outline: none; }
/*end reset*/


body {
  font-family:  Arial,sans-serif, "微軟正黑體";

  font-size: 16px;
  color: #28281C; 
  background: url(../images/bg.jpg) repeat;
  overflow-x: hidden; 
  position: relative;
  line-height: 1.4;
}

.show-mobile{display: none}/*--手機.平版才出現--*/
.clearfix::after {/*--給最外層容器--*/
  content: "";
  clear: both;
  display: table;
}
.text-left { text-align: left!important }
.text-center{ text-align: center !important; }
.text-right{ text-align: right !important; }
.set-mobile-show {
    display: none;
}
.d-inline-block{display: inline-block!important;}
.v-middle{vertical-align: middle !important;}
.ml10{margin-left: 10px !important;}
.mr10{margin-right: 10px !important;}
.mt10{margin-top: 10px !important;}
.mb10{margin-bottom: 10px !important;}
.ml20{margin-left: 20px !important;}
.mr20{margin-right: 20px !important;}
.mt20{margin-top: 20px !important;}
.mb20{margin-bottom: 20px !important;}
.mb40{margin-bottom: 40px !important;}
.font-w700{font-weight: 700 !important;}
.img-rwd img{max-width: 100%; height: auto;}
.wrapper{width: 1200px; margin: 0 auto;}
/*-----頂部-----*/
.logo-area{width: 288px;/*width: 24.58%;*/padding-top: 25px; position: absolute;z-index: 10; left:3.12% ;}
.logo{}
.logo img{ width: 100%; height: auto; max-width:288px ; vertical-align: middle; }

.menu{position: absolute; right: 0; z-index: 101;}
/*.nav-side{margin-right: 22px; padding-top: 8px;}
.nav-side li, .nav-main li{display: inline-block;}
.nav-side li a{color: #28281C;
  display: block; margin: 0 4px;
  width: 78px; height: 76px; padding-top: 4px;
  background: url(../images/bg_button_mouse_up.png) no-repeat;
}
.nav-side li a:hover{
  background: url(../images/bg_button_mouse_over.png) no-repeat;
}*/
.pc-menu{
  display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
  display: -ms-flexbox;  /* TWEENER - IE 10 */
  display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
  display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */
}   
.pc-menu.hidden{
  display: none;
}
.pc-menu ul li{text-align: center;}
.pc-menu ul li i{display: block; margin-bottom: 5px;}

.icon-home{ height: 49px;
background: url(../images/menu_icon_home.png) no-repeat center;}
.icon-about{ height: 49px;
background: url(../images/menu_icon_about.png) no-repeat center;}

.icon-detective{ height: 49px;
background: url(../images/menu_icon_detective.png) no-repeat center;}

.icon-service{ height: 49px;
background: url(../images/menu_icon_service.png) no-repeat center;}

.icon-news{ height: 49px;
background: url(../images/menu_icon_news.png) no-repeat center;}
.icon-laws{ height: 49px;
background: url(../images/menu_icon_laws.png) no-repeat center;}
.icon-column{ height: 49px;
background: url(../images/menu_icon_column.png) no-repeat center;}
.icon-contact{ height: 49px;
background: url(../images/menu_icon_contact.png) no-repeat center;}
.nav-main li i{width: 100%;}

.nav-main{
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  padding-top: 18px;
  padding-right: 40px;  
  text-align: right;
  
 }
 .nav-main li{font-size: 18px;}
 .nav-main li span{font-size: 15px; margin-top: -2px; display: block;}
 
 .nav-side li span{font-size: 13px; margin-top: -4px; display: block;}


.nav-main li a{color: #28281C;
  display: block; margin: 0 5px;
  width: 105px; height: 102px;
}
.nav-main li a:hover{background: url(../images/bg_button_mouse_over2.png) no-repeat;}
.mobile-btn{position: absolute; z-index: 101; right: 18px; top: 9px; font-size: 0;
width: 72px; height: 54px; background: url(../images/btn-ham.png) no-repeat 50%;
display:none;
border:0px;
}

.mobile-btn.active{
  position: fixed;
  background: url(../images/btn-ham-close.png) no-repeat 50%;
}
.index-top{
  width: 100%;
  position: relative;
  text-align: center;
  /* display: flex;
  background-image: url(../images/bg/bg2.jpg);
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
  padding-top: 60px; */
}
.photo-left{
  width: calc(50%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.photo-right{
  width: calc(50%);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.photo-title{
  font-size: 2.5rem;
  font-weight: 600;
  /* color: #FF44AA; */
  color: sienna;
}
.photo-p{
  color: 	#A20055;
  font-size: 2rem;
}
.phone{
  font-size: 3.5rem;
  text-shadow:2px 2px 2px #888888;
}
.phone a{
  color:#CC0000;
}
.phone a:hover{
  color:blue;
}
.photo-home-kv{width: 90%; height: auto; }
.m-photo-home-kv{display: none; width: 100%;height: auto;}
.scroll-btn{
  width: 80px; height: 81px;
  display: inline-block;
  position: absolute; bottom: 0;
  left: 50%; margin-left: -38px;
  text-align: center;
  font-size: 0;
  background: url(../images/home_scroll_01.png) no-repeat;
  border: 0;
}
.scroll-btn i{
  display: inline-block;
  width: 25px; height: 52px;
  margin-bottom: 20px;
  background: url(../images/home_scroll.png) no-repeat;
}
.mobile-home-slogan{display: none;}
/*---PC總選單 跟 手機版選單 = all-menu---*/
.all-menu{
  display: none;
}
.all-menu.active{
    display: block;
    height: 100vh;
    max-height: 100vh;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff8eb;
    padding-top: 100px;
    padding-left: 178px;
}

.all-menu .all-menu-unit i{display: inline-block;width: 52px;}
.all-menu-unit{
  margin-bottom: 24px;
}
.all-menu-unit-main {
    font-size: 30px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #000;
    display: block;
    height: 49px;
}

.all-menu-unit-main:hover{color:#e91e63;}



.all-menu .all-menu-unit i{vertical-align: middle;
    margin-top: -8px;
    margin-right: 15px;}



.logo-in-menu{position: absolute; left: 112px;  top: 43px; width: 288px; /*width: 24.58%;*/ }
.logo-in-menu img{ width: 100%; height: auto; max-width:288px ; vertical-align: middle; }


/*---動畫控制(首頁)-----*/
.infinite{
  -webkit-animation-iteration-count: infinite;
  -ms-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}
.animated {
  -webkit-animation-duration: 1.5s;
  -ms-animation-duration: 1.5s;
  animation-duration: 1.5s;
  -webkit-animation-fill-mode: both;
  -ms-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes fly {
  0% {
    -webkit-transform: translateY(10px);
    transform: translateY(10px);
  }
 
  50% {
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
  }
 
  100% {
    -webkit-transform: translateY(10px);
    transform: translateY(10px);
  }
}

@keyframes fly {
  0% {
    -webkit-transform: translateY(10px);
    transform: translateY(10px);
  }

  50% {
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
  }
 
  100% {
    -webkit-transform: translateY(10px);
    transform: translateY(10px);
  }
}

.fly {
  -webkit-animation-name: fly;
  animation-name: fly;
}
/*---------*/
.i-article{
  width: 100%; 
  padding: 30px 0;
} 
.title{
  width: 100%; text-align: center;
  padding: 46px 0 87px;
} 
.title-text-area{text-align: center;
  font-size: 60px; padding: 0 20px; font-weight: 400;
  background: url(../images/title_line_bg.png) no-repeat center;
}
.no-line{background: transparent;}
.title-sm{font-size: 16px;}
.title-text-area i{display: inline-block; vertical-align: middle;
     width:60px;margin-top: -8px;}


.title-sm {
    font-size: 25px;
    margin-top: -10px;
    letter-spacing: 2px;
    padding-left: 6px;
    font-weight: 400;
}

.sub-text{margin: 20px auto 0; font-size: 20px; max-width: 1117px; text-align: left; }

/*--------*/
.pink-tel{font-size: 30px;color: #eb1f62; font-weight: 700;}


.btn-more-area{ text-align: center; margin: 17px 0 30px;}

.btn-more{
  border-radius: 75px; background: #f7586d;
  padding: 13px 15px; min-width: 225px;
  color: #fff; text-align: center;
  border: 1px solid #f7586d;
  margin: 0 17px;
  display: inline-block; font-size: 20px;
  transition: all 0.3s;
}

.btn-more.btn-trust{
  background: #f3b8ab; color: #400022;
}
.btn-more:hover{background: #ffaf9d; color: #fff;}

.btn-more.btn-trust:hover{background: #ffaf9d;}

/*--首頁服務項目---*/

.service-list{
  display: -webkit-box;  
  display: -ms-flexbox;  
  display: -webkit-flex; 
  display: flex;  
  flex-wrap: wrap;
  padding-top: 15px;
}
.service-list li{
  width: 25%;  padding: 0 15px;padding-bottom: 53px; position: relative;
  align-items: stretch; margin-bottom: 25px;
}
.service-list li:hover{background: rgba(255,255,255,0.5);}
.service-list li:nth-child(1),
.service-list li:nth-child(2),
.service-list li:nth-child(3),
.service-list li:nth-child(4){
  border-bottom:  1px dashed #ccc;
}
.service-list li h3{padding: 12px 8px; color: #f7586d; font-size: 30px;text-align: center;}
.service-list li:nth-child(2n) h3{
  color: #58a3f7;
}
.service-list li a{color: #000}
.sl-btn-area{position: absolute; bottom: 0; left: 0; text-align: center; margin-bottom: 10px;    width: 100%;}

.sl-btn-link{display: inline-block; color: #fff;background: #f7586d; border-radius: 75px; padding: 5px 15px;}
.service-list li:nth-child(2n) .sl-btn-link{background: #58a3f7;}

.sl-photo{text-align: center;}

.sl-photo img{vertical-align: top; width: 100%; height: auto;}

.sl-btn-link:hover{background: #df4256;}
.service-list li:nth-child(2n) .sl-btn-link:hover{background: #438bdc;}

.service-list li:hover .sl-btn-link{background: #df4256;}
.service-list li:nth-child(2n):hover .sl-btn-link{background: #438bdc;}

.sl-text{line-height: 1.4em; font-size: 18px;}

.tel-area{
  padding-top: 100px;
  padding-bottom: 110px;
  background: url(../images/bg-tel-top.jpg) center top no-repeat, url(../images/bg-tel-bottom.jpg) center bottom no-repeat, #d07293;
}

.ta-icon-area{
  margin: 0 auto;
  position: relative;
  
}
.ta-icon-area span{
  display: inline-block;
  position: absolute; top: -120px; left:50%; transform: translateX(-50%);
  width: 100px; height: 100px;
  border-radius: 50%;
  background: #fff;
  border:5px solid #d07293;
  overflow: hidden; 
  box-shadow: 0 2px 5px #bf5d7f;
}


.tel-area h2{color: #fff; font-size: 32px; text-align: center;
padding: 9px 5px 37px;}

.tel-list{
  display: -webkit-box;  
  display: -ms-flexbox;  
  display: -webkit-flex; 
  display: flex;  
  justify-content: space-around;
  flex-wrap: wrap;
}
.ta-icon-area .icon-contact{display: block;  height: 90px; width: 90px;}
.tel-list li{width: 32%; margin-bottom: 15px;}
.tel-list li a{
  width: 100%;
  display: block;
  font-size: 28px; color: #fff;
  border: 2px dashed #f7c3b8;
  text-align: center;
  padding: 15px 5px;
  border-radius: 16px;
}
.tel-list li a:hover{
  color: #400022;
  background: url(../images/flower.png) no-repeat 17px 50%, #f7c3b8;
}


.i-title-unit{font-size: 30px;
display: -webkit-box;  
display: -ms-flexbox;  
display: -webkit-flex; 
display: flex;  
align-items: center;
margin-bottom: 12px;
font-weight: 400;
color: #362e2b;
}

.i-title-unit i{margin-right: 10px; width: 60px;}

.newsandlaws{
  display: -webkit-box;  
  display: -ms-flexbox;  
  display: -webkit-flex; 
  display: flex;  
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 29px 0 5%;
}
.nl{width: 45%;}
.link-area{text-align: right;}

.link-area a{
    display: inline-block;
    color: #fff;
    background: #d07293;
    border-radius: 75px;
    padding: 5px 15px; transition: all 0.3s;
}
.link-area a:hover{background: #c06585;}

.point-list{padding-left: 5px; margin-bottom: 13px;}
.point-list li{
  color: #400022;
  font-size: 18px; width: 100%;
  background: url(../images/home_results2_icon_star.png) no-repeat left 40%; 
}

.point-list li a{padding: 10px; padding-left: 35px; border-bottom:  1px dashed #da9c9f;
display: block; color: #400022;}

.point-list li a:hover{color: #c06585;}
.i-column-title{padding-left: 2.5%;}

.i-target-part-wrap{
  margin: 0 auto; padding-bottom: 45px;width: calc(100% - 50px);/*---扣掉左右按鈕空間--*/
}

.i-target-list{
  padding: 0 5px; color: #400022; 
}
.i-target-photo{text-align: center;}
.i-target-photo img{width: 100%; height: auto; max-width: 272px;
display: inline-block !important;}

.i-target-content{
  padding: 0 5px;
  padding-top: 10px;
  font-size: 16px;
  max-width: 272px;
  margin: 0 auto;
}
.i-target-text{}


.common-list{padding-left: 5px; margin-bottom: 13px;}
.common-list li{
  color: #400022;width: 100%; position: relative;
  
}
.common-list li:before{width: 8px; height: 8px; border-radius: 50%; background: #d07293;
content: ""; display:inline-block; position: absolute; top:18px; left: 2px;}


.common-list li a{padding: 10px; padding-left: 15px; border-bottom:  1px dashed #da9c9f;
display: block; color: #400022;}

.common-list li a:hover{color: #c06585;}

.i-target-text article{padding-top: 10px; margin-bottom: 15px; line-height: 1.8em;}

.c02 .link-area a, .c06 .link-area a{background: #b95d7c;}
.c03 .link-area a, .c07 .link-area a{background: #e18384;}
.c04 .link-area a, .c08 .link-area a{background: #d1548c;}

.love-word{
  border-radius: 30px; background: #fff; 
  padding: 25px 100px 28px 96px;
  box-shadow: 0 0 6px 6px #f7e3e3;
  color: #cc1a58;
  margin: 0 auto;
  margin-bottom: 47px;
  width: 92.5%;
  position: relative;
}
.love-word:before, .love-word:after{
  width: 77px; height: 64px;
  content: "";
  position: absolute;
  display: inline-block;
}
.love-word:before{
  top: 0; left:-45px;
  background: url(../images/qq01.png) no-repeat;
  background-size: contain;
}

.love-word:after{
  bottom: -23px; right: -22px;
  background: url(../images/qq02.png) no-repeat;
  background-size: contain;
}

.love-word h4{margin-bottom: 5px; font-size: 20px;}
.love-word p{line-height: 1.7em;}

footer{
  width: 100%;
  background: #efd4cc; color: #400022;
}

.footer-wrapper{
    display: -webkit-box;
    display: -ms-flexbox;  
    display: -webkit-flex; 
    display: flex;  
    justify-content: center;
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 22px;
}
.footer-logo{ 
  display: flex;
  justify-content: center;
}
.footer-logo img{ 
  width: 20%;
}

.footer-info{
padding-left: 29px; padding-bottom: 9px;

}

.tel24h{padding: 8px 25px; background: #edbbb1; border-radius: 75px;
display: inline-block;margin-bottom: 5px;}

.footer-tel-list{
    display: -webkit-box;
    display: -ms-flexbox;  
    display: -webkit-flex; 
    display: flex;  
    flex-wrap: wrap;
    padding-left: 20px;
}
.footer-tel-list li{padding: 7px 5px; width: 33%;}
.tel-part2{color: #0d66fa;padding-left: 25px;}
.tel-part2 span{display: inline-block;}
.tel-china{padding-right: 19px;}

.copyright{text-align: center; padding: 16px; background: #b95d7c; color: #f3d2c9;}

.gotop {
    display: none;
    position: fixed;
    right: 20px;
    bottom: 178px;    
    background:url(../images/icon_top.png) no-repeat;
    background-size:75px;
    cursor: pointer;
    width:75px; height:75px;
    z-index:10;
}
/*----內頁----*/
.main{padding-top: 150px;}
.inner-banner{
  width: 100%;
  margin-bottom: 8px;
}
.inner-banner img{width: 100%; height: auto;}

.path, .path a{color: #340000;}
.path{margin-bottom: 17px; padding-left: 9px;}
.d-flex-page{
    display: -webkit-box;
    display: -ms-flexbox;  
    display: -webkit-flex; 
    display: flex; 
    flex-wrap: wrap;
    justify-content: space-between;
    font-size: 20px;
    margin-bottom: 35px;
}
.unit-content{
  width: 80.5%;
}
.unit-content article{
  line-height: 1.7em; padding-bottom: 30px;padding-left: 9px;
}
.unit-content article img{width: 100%; height: auto;}
.service-side{width: 15.5%;

overflow: hidden;
}
.service-side h3{background: #7989c5;padding: 13px 5px;
  text-align: center; color: #fff; font-weight: 400;
font-size: 20px;
border:1px solid #7989c5;border-radius: 25px 25px 0 0;
border-bottom: none;

}
.service-side ul{border:1px solid #7989c5;border-radius: 0 0 25px 25px; 
  overflow: hidden; padding-bottom: 15px;}
.service-side ul li a{display: block; color: #000; text-align: center;
padding: 8px 8px;}
.service-side ul li a:hover{background: #ffeae5;}

.unit-title{
 padding: 11px 39px; border-radius: 10px; font-size: 32px;
 background: #f7c3b8;
 display: inline-block;
 margin-bottom: 19px; font-weight: 400;
}
.article-t{color: #ff4479}

.call-text{padding: 30px 10px; text-align: center;
color: #b95d7c; font-size: 25px; font-weight: 700}

.unit-h1{font-size: 40px; font-weight: 400; margin-top: -10px;}
.step{
    display: inline-block;
    padding: 2px 8px;
    color: #fff;
    border-radius: 10px;
    font-size: 14px;
    background: #03a9f4;
    vertical-align: middle;
    margin-right: 10px;
}


.pagination{
  display: -webkit-box;
  display: -ms-flexbox;  
  display: -webkit-flex; 
  display: flex; 
  justify-content: center;
  align-items: center;
  width: 100%; 
  flex-wrap: wrap;
}
.pagination li{ display: inline-block; color: #733833;
padding: 0 13px; margin: 0 2px; font-size: 22px;}
.pagination li a{display: block; color: #733833;}
.pagination li a:hover, .pagination li.active a{color: #000;}
.pagination li.active a{font-size: 24px;}
.page-btn-prev a{
   width: 54px; height: 55px;
   background: url(../images/page-btn-prev.png) no-repeat 50%;
}

.page-btn-next a{
  width: 54px; height: 55px;
  background: url(../images/page-btn-next.png) no-repeat 50%; 
}
.pagination li.disabled a{opacity: 0.8; cursor: not-allowed;}


.news-title {
    padding: 11px 9px;
    font-size: 22px;
    display: block;
    margin-bottom: 19px;
    font-weight: 400;
    border-bottom: 1px solid #a35b54;
    border-top: 1px solid #a35b54;
    color: #a35b54;
}
.column-list{margin-bottom: 40px;}
.column-list li{padding: 15px;}
.column-list li a:hover{opacity: 0.8;}


.talk h2{font-size: 22px;}


.call-our{text-align: center; margin-top: 50px;
width: 100%; line-height: 1.8em}
.arrow-down{text-align: center; margin-top: 20px;width: 100%;
color: #d07293; font-size: 22px;}

.service-side.emotion h3{
      background: #fb77a4; border: 1px solid #fb77a4;
}

.service-side.emotion ul{border: 1px solid #fb77a4;}


.float-set {
  position: fixed;
  right: 12px;
  bottom: 285px;
  width: 65px;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  z-index: 10;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.float-set .float-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  width: 55px;
  height: 55px;
  position: relative;
  margin-top: 30px;
}

.float-set .float-item img {
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.float-set .float-item .float-arrow {
  width: 50px;
  height: 50px;
  background-color: rgba(15, 37, 64, 0.7);
  border-radius: 10px;
  margin-top: 12px;
  position: relative;
}

.float-set .float-item .float-arrow::after {
  content: '';
  position: absolute;
  top: 21px;
  left: 13px;
  display: inline-block;
  width: 24px;
  height: 24px;
  border-top: 1.5px solid #ffffff;
  border-right: 1.5px solid #ffffff;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.float-set .float-item img:hover {
  -webkit-transform: scale(1.2);
          transform: scale(1.2);
}
.mobile{
  display: none !important;
}


/*----RWD----*/

@media (max-width: 1500px) {
 
  .index-top{padding-top: 45px;}
  .logo-area{ width: 20%;}
  .title{padding: 46px 0 3em;}
  .logo-in-menu{left: 52px;}
  .all-menu.active{padding-left: 120px;}
  .sub-slogan{width: 120%;}
  .gotop{bottom: 10px; right: 10px;}
}
@media (max-width: 1325px) {
  .nav-main{padding-right: 10px;}
  .wrapper{padding-left: 20px; padding-right: 20px; width: 100%;}
  .f-address, .f-tel {
    display: block;
  }
  .sub-text{width: 80%;}

  .improve-info-text{width: 100%; justify-content: space-around;}
  .improve-info-text li{width: auto;}

 
  .i-target-text { padding: 0;}
}

/*---移動裝置1200開始-----*/
@media (max-width: 1200px) {
  .mobile-btn{display: block;}
  .logo-area { width: 30%;    padding-top: 15px;}
  .main { padding-top: 100px;}
  
  .wrapper{min-width: 100%;}
  
  .pc-menu{display: none;}/*--PC <ENU---*/
  .footer-wrapper{
    flex-direction: column;
  }
  .footer-info{border-left: none; text-align: center;    padding-left: 0;}
  .footer-logo {
    padding-top: 0;
    text-align: center; margin-bottom: 0;
    }
  .footer-logo img{width: 100%; height: auto; max-width: 250px; }
  .footer-tel-list{padding-left: 0}
  .tel-part2{padding-left: 0}



  .people, .people .number{font-size: 18px;}

 
   .logo-in-menu{left: 60px; width: 300px;}
   

   .all-menu.active{padding-left: 63px;    padding-top: 65px;}
   
    .scroll-btn{bottom: -20px;}
    /*---內頁----*/
    .inner-head-top { background: url(../images/main_header_bg.jpg) repeat;}
    .unit-top .title{padding-top: 0;}
    .contact-list li { width: 48%;  margin: 0 1% 20px;}
    .contact-web-name{padding-top: 50px;}
}

.contact-phone {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  width: 100%;
}

.contact-phone .contact-tel {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 12px 16px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.contact-phone .contact-tel a {
  text-decoration: none;
  width: 100%;
  color: #9F353A;
}

.contact-phone .contact-tel a .tel-location {
  background-color: #9F353A;
  color: #ffffff;
  padding: 1px 4px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  font-size: 20px;
}

.contact-phone .contact-tel a .tel-number {
  background-color: rgba(255, 255, 255, 0.7);
  padding: 1px 6px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  font-size: 20px;
  font-weight: bold;
}

.contact-phone .contact-tel:hover {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}

@media (max-width: 767px) {
  .contact-phone .contact-tel {
    margin: 12px 48px;
  }
}

@media (max-width: 400px) {
  .contact-phone .contact-tel {
    margin: 12px 24px;
  }
}

@media (max-width: 1025px) {
  .all-menu-unit-sub li{margin-bottom: 10px;}
  .all-menu.active{ overflow-y: auto;}
  .service-list li{width: 50%;}
  .tel-list li a{font-size: 24px;}
  .footer-wrapper{font-size: 18px;}
  .service-list li:nth-child(1), .service-list li:nth-child(2), .service-list li:nth-child(3), .service-list li:nth-child(4) {
    border-bottom: none;}
    .unit-h1{font-size: 20px; }
    .title-text-area{margin-bottom: 15px;}
  .photo-home-kv{
    width: 80%;
  }
  .photo-title{
    font-size: 2rem;
  }
  .photo-p{
    font-size: 1.5rem;
  }
  .phone{
    font-size: 3rem;
  }
  .float-set {
    position: fixed;
    right: 0px;
    bottom: 120px;
  }

}

@media (max-width: 1023px){
    .unit-nav li{width: 32%; padding: 0;}
    .unit-nav li a{width: 100%; background-size: 100%; 
      font-size: 16px;   background-position: center;}
    .unit-nav li a:hover, .unit-nav li.active a{
      background-position: center; background-size: 100%;
    }
    .unit-nav li.set-long-width a {width: 100%;}
    .unit-nav li.set-long-width.active a{
      background-position: center;
      background-size: 100%;
    }
    .unit-nav li.set-long-width{width: 52%;}
    .page-title {font-size: 20px;  margin-top: 18px;}

}


@media (max-width: 768px) {
  .show-mobile{display: block}
  .show-pc{display: none;} 
  .logo-area{width: 65%}

  
    .mobile-btn{
      width: 50px; height: 45px; background-size: 50px; right: 12px;top: 4px;
    }
    .sub-text { font-size: 22px; line-height: 1.7em;}
    
    .sub-text { width: 90%; }
    .footer-top-bg{height: 35px;}
   
    .footer-info-content { line-height: 1.7em;}

    .all-menu .all-menu-unit i {
         background-size: contain;
    }
    

    .all-menu-unit-main { font-size: 25px;}
    .all-menu .all-menu-unit i{margin-right: 5px;}
    .all-menu-unit { margin-bottom: 12px;}


    .unit-nav li a{ padding: 10px 2px;
       height: auto; line-height: normal; border-radius: 5px;
      }
    .footer-tel-list li{width: 50%;}

    .unit-content, .service-side{ width: 100%;}
    .service-side{max-width: 450px;margin: 0 auto;}
    .call-text{font-size: 20px;}

}

@media (max-width: 767px) {
    .index-top{ padding-bottom: 70px; }
    .photo-home-kv{display: none;}
    .m-photo-home-kv{display: block;}
    
    .scroll-btn{width: 60px;  height: 61px; background-size: 60px; margin-left: -30px;bottom: 20px;}
    .scroll-btn i{background-size: 20px;width: 20px;}
    @-webkit-keyframes fly {
      0% {
        -webkit-transform: translateY(8px);
        transform: translateY(8px);
      }
     
      50% {
        -webkit-transform: translateY(15px);
        transform: translateY(15px);
      }
     
      100% {
        -webkit-transform: translateY(8px);
        transform: translateY(8px);
      }
    }

    @keyframes fly {
      0% {
        -webkit-transform: translateY(8px);
        transform: translateY(8px);
      }

      50% {
        -webkit-transform: translateY(15px);
        transform: translateY(15px);
      }
     
      100% {
        -webkit-transform: translateY(8px);
        transform: translateY(8px);
      }
    }

    .all-menu.active { padding-left: 30px;}
    .logo-in-menu { left: 35px;}
    .tel-part2 span {
        display: block;
    }
    .tel-china { padding-right: 0;}
    .photo-title{
      font-size: 1.2rem;
    }
    .photo-p{
      font-size: 1rem;
    }
    .phone{
      font-size: 1.8rem;
    }
    .gotop{
      display: none !important;
    }
    .mobile{
      display: block !important;
    }
    .top{
      margin: 0 auto;
      background: url(../images/icon_top.png) no-repeat;
      background-size: cover;
      background-position: 50% 50%;
      height: 55px;
      width: 55px;
    }
    .flex-img{
      width: 50px;
      height: 50px;
    }
    .float-set {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-align: center;
          -ms-flex-align: center;
              align-items: center;
      -webkit-box-pack: end;
          -ms-flex-pack: end;
              justify-content: flex-end;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
      position: fixed;
      right: 0;
      bottom: 0;
      width: 100%;
      height: 60px;
      border-top-left-radius: 0;
      border-bottom-left-radius: 0;
      background-color: rgba(15, 37, 64, 0.7);
    }
    .float-set .float-item {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-align: center;
          -ms-flex-align: center;
              align-items: center;
      -webkit-box-pack: center;
          -ms-flex-pack: center;
              justify-content: center;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
      width: calc( 100% / 3);
      margin-top: 0;
    }
    .float-set .float-item .float-arrow {
      margin-top: 0;
    }
    .float-set .float-item img:hover {
      -webkit-transform: scale(1);
              transform: scale(1);
    }
    .copyright{
      padding-bottom: 70px !important;
    }
    .logo-area { width: 50%; padding-top: 5px;  min-width: 150px;}
}
@media (max-width: 650px) {
 
  .title-text-area {font-size: 50px;}
  .title-sm { font-size: 20px; margin-top: 0px;}
 
  .sub-text { text-align: justify;}

}   
@media (max-width: 600px){
  .pink-tel{font-size: 20px;}
  .sub-text, .btn-more{font-size: 18px;}
  .btn-more{margin-bottom: 10px;}
  .i-article{padding-bottom: 0;}
  .btn-more-area{margin-bottom: 0}
  .sl-text, .sl-btn-area{display: none;}
  .service-list li{padding-bottom: 15px;}
  .service-list li h3{font-size: 24px;}
   .nl { width: 100%;}
  .ta-icon-area span{width: 70px; height: 70px;top: -100px;}
  .ta-icon-area .icon-contact{width: 60px; height: 60px;}
  .icon-contact{background-size: contain;}
  .tel-area h2{font-size: 26px; padding-bottom: 20px;}
  .footer-logo img{max-width: 256px;}
  
  .footer-info{padding-left: 0;}
  .gotop{width: 40px; height: 40px; background-size: contain;}
  .tel-list li{width: 100%;}
  .love-word{padding: 25px 30px 28px;}
  .love-word:before, .love-word:after{width: 40px;}
  .love-word:before{left: -25px;}
  /*-----內頁-----*/
  
   .page-area { padding: 10px 0;}
   .pagination li{padding: 0 10px; font-size: 18px;}
   .pagination li.active a { font-size: 22px;}

}
@media (max-width: 500px){
  .i-target-part-wrap {
      width: calc(100% - 20px);
  }
  .footer-tel-list li{width: 100%;}
}



@media (max-width: 414px){
  .main { padding-top: 60px;}
  .wrapper { padding-left: 15px;    padding-right: 15px;}
  .service-list li { width: 100%;padding-bottom: 0;}
  .tel-area{background-size: 190%; padding-top: 82px;
    padding-bottom: 40px; margin-top: 30px;}
   

  .tel-area h2 {font-size: 20px;}
  .title-text-area {
      font-size: 32px;
  }
  .title-sm { font-size: 14px;}
  .sub-text {font-size: 18px;}
 
  .title-text-area i{margin-right: 5px;}
  .i-title-unit{font-size: 24px;}
  .title { padding: 20px 0 2em;}
  .title-text-area {    
    background: url(../images/m_title_line_bg.png) no-repeat center;
 }
 .unit-top .title-text-area {    
    background: url(../images/m_title_line_bg.png) no-repeat center;
 }
 .title-text-area.no-line{background: none;}
 .unit-h1{margin-top: 0}
 
   .i-target-part-wrap { width: 100%;}
  
    .point-list li{ background-size: 16px;    padding-left: 20px;
      background-position: 0 center;}
    .point-list li a{padding-left: 0} 
     
      .blue-area .index-target-title{padding-top: 0;}
      .index-target-title .sub-text {font-size: 16px;}
      .i-target-content {
          padding: 0 10px;
         max-width: 90%;
      }
      .i-target-part-wrap{    
        padding-left: 10px;
        padding-right: 10px;
      }
      .i-target-list{padding: 0 10px;}

      .all-menu-unit-sub li a{font-size: 18px;} 
      .all-menu-unit-sub li.set-long a {
        width: 251px;
        background: url(../images/menu_unit_over.png) no-repeat;
      }
      .set-height-without-subnav {/*---上方沒有選單的單元的高度---*/
          padding-bottom: 20px;
      }
      .sl-photo img{max-width: 250px;}
      .service-list li{margin-bottom: 0}
 
}  
@media (max-width: 411px){
  
  .sub-text {
    font-size: 16px;
    }
   .all-menu-unit-sub li{padding: 0;}
}
@media (max-width: 360px){
   .copyright{font-size: 12px; padding: 10px;}
   .logo-in-menu img{width: 250px;}
   .logo-in-menu { left: 30px;}
}
@media (max-width: 359px){
  .unit-nav li a{font-size: 14px;}
}

@media (max-width: 322px){
  
    .unit-nav {  margin-top: 10px; margin-bottom: 0;}
    .photo-title{
      font-size: 1rem;
    }
    .photo-p{
      font-size: 1rem;
    }
    .phone{
      font-size: 1.5rem;
    }
}

