/* ==========================================================
   新版 footer（參考新竹整形 main-footer 樣式，改為桃園主色）
   底色與版權列同為 #6a5950、標題淺色 #f9e7d4、文字白色
   手機版每個 .footer-h2 都是收合單元（JS 在 menu.js）
   ========================================================== */
.footer-content{background: #6a5950;padding: 40px 0 10px 0;color: #fff;clear: both;}
.footer-container{width: 1218px;max-width: 100%;margin: 0 auto;padding: 0 10px;box-sizing: border-box;}
.footer-top{position: relative;min-height: 340px;}

/* 左側：LOGO、聯絡資訊、追蹤平台 */
.footer-info{position: absolute;left: 0;top: 0;width: 350px;}
.footer-logo-item{width: 220px;vertical-align: middle;margin-bottom: 15px;filter: brightness(0) invert(1);}
.footer-info-group{color: #fff;font-size: 14px;margin-bottom: 13px;line-height: 18px;}
.footer-info-name{float: left;width: 65px;border-right: 1px solid #fff;}
.footer-info-group-right{margin-left: 75px;color: #fff;}
.footer-info-group-right a{color: #fff;text-decoration: underline;transition: .5s color;}
.footer-info-hint{white-space: nowrap;}
.footer-info-link-item{float: left;width: 54px;margin: 20px 4px 0 0;text-align: center;}
.footer-info-link-item a{display: inline-block;color: #fff;font-size: 12px;opacity: 0.8;transition: .5s opacity;}
.footer-info-link-item img{width: 44px;vertical-align: middle;}
.footer-info-link-item a p{color: #fff;font-size: 12px;line-height: 18px;margin: 0;}

/* 右側：四欄選單（關於風華與熱門服務項目同欄） */
.footer-menu{margin-left: 370px;}
.footer-menu-group{float: left;width: 25%;box-sizing: border-box;padding: 0 5px;}
.footer-menu-sub{margin-top: 28px;}
.footer-h2{color: #f9e7d4;font-size: 15px;font-weight: bold;margin: 0;line-height: 20px;}
.footer-title .footer-h2{text-align: center;width: 100%;}
.footer-bottom{margin-top: 12px;}
.footer-bottom ul{margin: 0;padding: 0;}
.footer-bottom ul li{margin-top: 15px;text-align: center;list-style: none;line-height: 18px;}
.footer-bottom ul li a{color: #fff;font-size: 14px;transition: .5s color;}

/* 著作權聲明、免責聲明 */
.footer-work{text-align: center;margin-top: 1%;}
.footer-work-text{display: inline-block;color: #fff;font-size: 12px;text-align: left;line-height: 20px;}

/* 版權列 */
.footer-copyright{background: #6a5950;padding: 8px 0;font-size: 12px;color: #fff;font-weight: bold;text-align: center;line-height: 20px;}
.footer-copyright-text{margin: 0;}
.footer-copyright-right{font-weight: normal;opacity: 0.7;margin-top: 4px;}
.footer-copyright-right a{color: #fff;display: inline-block;vertical-align: middle;transition: .5s opacity;}
.footer-copyright-right .dmca-badge{margin-right: 10px;}
.footer-copyright-right .dmca-badge img{height: 20px;width: auto;vertical-align: middle;}
.footer-copyright-right .footer-icons{margin-right: 10px;font-size: 16px;}
.footer-copyright-right .footer-eaglesfly img{width: 25px;display: inline-block;vertical-align: middle;margin-right: 5px;}

@media (min-width: 1080px){
	/* 電腦版聯絡資訊不換行 */
	.footer-info-group-right{white-space: nowrap;}
	/* 手機版收合後切回電腦版，確保內容一定展開 */
	.footer-bottom{display: block!important;}
	.footer-info-group-right a:hover,.footer-bottom ul li a:hover{color: #f9e7d4;}
	.footer-info-link-item a:hover{opacity: 1;}
	.footer-copyright-right a:hover{opacity: 0.8;}
}

/* 手機與平板：聯絡資訊置中、每個 .footer-h2 都是可收合的單元 */
@media (max-width: 1079px){
	.footer-content .footer-h2{position: relative;padding: 15px 25px 15px 0;cursor: pointer;}
	.footer-content .footer-h2:after{content: "\f107";font-family: FontAwesome;position: absolute;right: 0;top: 15px;font-size: 20px;line-height: 20px;font-weight: normal;transition: .3s transform;}
	.footer-content .footer-h2-active:after{transform: rotate(-180deg);}
	.footer-content .footer-bottom{display: none;}
	.footer-content{padding: 10px 0;}
	.footer-top{min-height: 0;}
	.footer-info{position: static;text-align: center;width: 100%;}
	.footer-logo-item{margin: 0 auto 9px;display: block;}
	.footer-info-main{display: inline-block;}
	.footer-info-group{text-align: left;}
	.footer-info-link{display: flex;justify-content: center;}
	.footer-info-link-item{float: none;width: 60px;max-width: 16.6%;margin: 20px 2px 0;}
	.footer-info-link-item img{width: 48px;max-width: 100%;}
	.footer-menu{margin: 20px 0 0;padding: 0 10px;}
	.footer-menu-group{float: none;width: 100%;padding: 0;border-top: 1px solid rgba(255,255,255,0.5);}
	.footer-menu-sub{margin-top: 0;border-top: 1px solid rgba(255,255,255,0.5);}
	.footer-title{padding: 0;}
	.footer-title .footer-h2{width: auto;text-align: left;}
	.footer-menu .footer-bottom{margin-top: 0;padding-bottom: 5px;}
	.footer-bottom ul li{margin: 0 0 15px;text-align: left;}
	.footer-work{border-top: 1px solid rgba(255,255,255,0.5);padding: 0 10px;box-sizing: border-box;text-align: left;margin-top: 0;}
	.footer-work .footer-h2{text-align: left;}
	.footer-work .footer-bottom{margin-top: 0;padding-bottom: 15px;}
	.footer-copyright{padding: 10px 0;}
}

@media (max-width: 767px){
	/* 底部固定的「線上預約／LINE／電話」列會蓋住版權列，預留高度 */
	.footer-copyright{padding-bottom: 70px;}
	.footer-info-link-item img{width: 42px;}
}
