/*===== 永旺 Logo＋頁首 =====*/
#logo {/*padding:0 同事提供*/
  position: relative;
  overflow: visible;
  height: auto!important;
  padding: 0;
  line-height: 0!important;
}
#logo a {
  display: block;
  line-height: 0!important;
}
@media (min-width:768px) {
  #photoLogo {/*Logo白色光暈*/
    filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 3px #fff) drop-shadow(0 0 6px rgba(255,255,255,.8));
    max-height: 80px;
    width: auto;
  }
  .topnavbar {/*頁首深綠半透明*/
    background-color: rgba(15,90,60,.6);
    padding: 0;
    height: auto!important;
    min-height: 0!important;
  }
  .topnavbar .container {/*頁首高度*/
    padding-top: 15px!important;
    padding-bottom: 15px!important;
  }
  #nav ul li a {
    padding: 10px 16px;
  }
}

/*===== 永旺 側欄浮動按鈕 =====*/
.phone {
  position: fixed;
  right: 1%;
  top: 20%;
  z-index: 1000;
}
.map {
  position: fixed;
  right: 1%;
  top: 35%;
  z-index: 1000;
}
.mail-1 {/*用mail-1避免撞名*/
  position: fixed;
  right: 1%;
  top: 50%;
  z-index: 1000;
}
@media (max-width:414px) {
  .phone,.fb,.line-1,.ig,.map,.wechat,.shop-1,.x-twitter,.pixnet,.mail-1 {
    transform: scale(.8);
    right: 0;
  }
}

/*===== 永旺 每頁標題 =====*/
.h1title h1,.h1title h1 span {
  color: #0f5a3c;
}

/*===== 永旺 ① Banner 手機等比縮小 =====*/
.swiper-container {
  height: auto!important;
}
.swiper-wrapper,.swiper-slide {/*Banner 1920×750*/
  height: 0!important;
  padding-bottom: calc(750 / 1920 * 100%);
}
.swiper-slide {
  width: 100%!important;
}

/*===== 永旺 ② 關於永旺（色彩家 .about-box）=====*/
.about-box {
  align-items: center;
}
.about-box .about-pic {
  position: relative;
  margin: 15px 15px 15px 0;
}
.about-box .about-pic::before {/*錯位外框*/
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  width: 100%;
  height: 100%;
  border: 3px solid #0f5a3c;
  border-radius: 6px;
  transition: transform .4s;
}
.about-box .about-pic img {
  position: relative;
  z-index: 1;
  display: block;
  border-radius: 6px;
  transition: transform .4s;
}
.about-box:hover .about-pic img {
  transform: translate(-6px,-6px);
}
.about-box:hover .about-pic::before {
  transform: translate(6px,6px);
}
@media (max-width:767px) {
  .about-box .about-pic {
    margin-top: 25px;
    margin-bottom: 40px;/*新增：手機版照片下方留空，綠框不壓到標題*/
  }
}

/*===== 永旺 ③ 服務項目（⑤證照、營業介紹、最新消息共用）=====*/
.svc-box {/*淺綠滿版底*/
  background: #f2f7f4;
  box-shadow: 0 0 0 100vmax #f2f7f4;
  clip-path: inset(0 -100vmax);
  padding: 40px 0 20px;
  margin: 30px 0;
}
.svc-item {/*白卡片*/
  background: #fff;
  border-radius: 10px;
  padding: 25px 10px 15px;
  margin-bottom: 20px;
  text-align: center;
  transition: transform .3s,box-shadow .3s;
}
.svc-item img {
  width: 80px;
  height: 80px;
  transition: transform .3s;
}
.svc-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(15,90,60,.15);
}
.svc-item:hover img {
  transform: scale(1.1);
}

/*===== 永旺 ④ 回收項目輪播（Owl）=====*/
.owl-carousel.owl-theme {
  padding: 0 20px 35px;
}
.owl-carousel.owl-theme .owl-nav {
  position: absolute;
  margin: 0;
  top: 40%;
  left: 0;
  right: 0;
  transform: translateY(0%);
}
.owl-carousel.owl-theme .owl-dots {
  position: relative;
  left: 0;
  right: 0;
  bottom: 0;
}
.owl-carousel.owl-theme button:focus {
  outline: none;
}
.owl-carousel.owl-theme .owl-nav .owl-prev {
  float: left;
  transform: translateX(-100%);
}
.owl-carousel.owl-theme .owl-nav .owl-next {
  float: right;
  transform: translateX(100%);
}
.owl-carousel.owl-theme .owl-nav .owl-prev:hover,.owl-carousel.owl-theme .owl-nav .owl-next:hover {
  background: none;
  color: inherit;
}
.owl-carousel.owl-theme .owl-nav .fa {/*箭頭大小*/
  font-size: 3em;
}
.editmode .owl-carousel.owl-loaded {
  display: flex;
  flex-wrap: wrap;
}
.editmode .owl-carousel > div {
  flex: 0 0 25%;
  max-width: 25%;
}
.owl-carousel .row-no-gutters {
  margin-right: 5px;
  margin-left: 2px;
}
.owl-carousel .col-1 img {/*正方形＋圓角*/
  display: block;
  width: 100%!important;
  height: auto!important;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 10px;
  border: 0!important;
  box-shadow: 0 6px 5px rgba(44,44,44,.25);
  transition: box-shadow .3s,filter .3s;
}
.owl-carousel .col-1 img:hover {
  box-shadow: 0 10px 20px rgba(15,90,60,.25);
  filter: brightness(1.08);
}
.owl-carousel .col-1 p {
  text-align: center;
  margin: 0;
}

/*===== 永旺 綠底黃字按鈕（看更多、來電洽詢）=====*/
a.custom-btn.btn-more1 {
  display: inline-block;
  padding: 8px 30px;
  border-radius: 30px;
  background-color: #0f5a3c!important;
  color: #ffd600!important;
  text-decoration: none;
  transition: all .3s ease;
}
a.custom-btn.btn-more1:hover {
  background-color: #ffd600!important;
  color: #0f5a3c!important;
}

/*===== 永旺 ⑤ 合格證照 手機版 =====*/
@media (max-width:767px) {
  .svc-box .col-sm-4 {
    width: 100%!important;
    float: none!important;
    display: block!important;
  }
  .svc-box .col-sm-4 .svc-item {
    width: 100%;
  }
  .svc-box .col-sm-4 .svc-item img {/*新增：證照圖示放大*/
    width: 120px;
    height: 120px;
  }
}

/*===== 永旺 ⑥ 橫幅（一雄 .cta-07）=====*/
.cta-07 {
  background: #0f5a3c;
  padding: 36px 20px;
  margin: 0 0 40px;
  box-shadow: 0 0 0 100vmax #0f5a3c;
  clip-path: inset(0 -100vmax);
}
.cta-07 .cta-title {
  color: #fff;
  font-size: 26px;
  font-weight: bold;
  margin: 0 0 8px;
}
.cta-07 .cta-sub {
  color: #d8f5e8;
  font-size: 16px;
  margin: 0;
}
.cta-07 .cta-btn2 {
  display: inline-block;
  margin: 6px;
  padding: 11px 32px;
  border: 1px solid #fff;
  color: #fff;
  font-size: 18px;
  border-radius: 4px;
}
.cta-right {
  text-align: right;
}
.feature-row {/*左右兩欄上下置中（②、⑥共用）*/
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
@media (max-width:991px) {
  .cta-07,.cta-right {
    text-align: center;
  }
}

/*===== 永旺 ⑦ 聯絡資訊（尚雅意 .contact-07）=====*/
.contact-07 p {
  font-size: 16px;
  line-height: 2;
}
.contact-07 p i {
  width: 24px;
}
.contact-07 a {
  color: #0f5a3c!important;
}

/*===== 永旺 營業介紹頁 =====*/
.mach-tags {/*機台標籤*/
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto;
  height: auto!important;
}
.mach-tags span {
  display: block;
  width: calc(25% - 8px);
  background: #fff;
  border: 1px solid #2fbf8a;
  color: #0f5a3c;
  border-radius: 20px;
  padding: 8px 4px;
  font-size: 16px;
  text-align: center;
  transition: background .3s,color .3s,transform .3s;
}
.mach-tags span:hover {
  background: #0f5a3c;
  border-color: #0f5a3c;
  color: #ffd600;
  transform: translateY(-3px);
}
@media (max-width:767px) {
  .mach-tags span {
    width: calc(50% - 5px);
  }
}
.feature-img {/*貨車照片*/
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(0,0,0,.12);
  transition: transform .3s,box-shadow .3s,filter .3s;
}
.feature-img:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 24px rgba(15,90,60,.25);
  filter: brightness(1.08);
}
ul.product-list li h3,ul.product-list li a:hover h3 {/*回收實績名稱*/
  color: #0f5a3c;
}