.phone-1{position:fixed;right:1%;top:40%;z-index:1000;}
.line-1{position:fixed;right:1%;top:52%;z-index:1000;}

/*手機版-側欄浮動按鈕-縮小*/
@media (max-width: 430px){ 
  .phone-1, .fb, .line-1, .ig, .map, .wechat, .shop-1, .x-twitter, .pixnet, .youtube-1, .tiktok , .thread , .messenger-link , .mail-1 { 
    transform: scale(0.8);
    right:0;
  }
}

/*根元素*/
:root{
--bg:#ffffff; /* 背景(白) var(--bg)*/
--p:#000000; /* 段落文字 var(--p)*/
--card:#f1f1f1; /* 卡片底(淺灰) var(--card)*/
--text:#800505; /* 主要文字(深沉紅) var(--text)*/
--text2:#1e293b; /* h3次要文字(石板深灰) var(--text2)*/
--text3:#334155; /* h4次要文字(石板中灰) var(--text3)*/
--text4:#b91c1c; /* 次要文字(鮮明紅) var(--text4)*/
--shadow: 0 5px 10px rgba(0,0,0,.25); /* 陰影 var(--shadow)*/
--gradient: linear-gradient(120deg, #6f86d6 0%, #48c6ef 100%); /* 漸層 var(--gradient)*/

    /* 主視覺色系 (Primary Red) */
    --wdloan-primary: #800505;        /* 深沉紅 / 典雅暗紅：呈現專業、穩重、值得信任的大氣質感，適合用於主要按鈕 (CTA)、頁眉或品牌識別區 */
    --wdloan-primary-bright: #b91c1c; /* 鮮明紅 / 警示與強調紅：具高明度與高飽和度，適合用於 Hover 懸停狀態、重點數據提示或重要警告 */

    /* 中性文字與背景色系 (Secondary Dark / Slate) */
    --wdloan-secondary: #1e293b;      /* 石板深灰 (Slate 800)：視覺重量感強，適合用於核心標題、深色版塊背景或極具對比的文字 */
    --wdloan-secondary-light: #334155;/* 石板中灰 (Slate 700)：比純黑更溫和的深色，常用於副標題、次級卡片背景或滑鼠懸停變色 */

    /* 區域與背景色系 (Backgrounds) */
    --wdloan-bg-soft: #fff5f5;        /* 微粉暖白 / 淺紅柔和底色：溫和的紅調微光背景，適合做重點區域高亮、卡片背景或 Hover 效果 */
    --wdloan-bg-light: #f8fafc;       /* 現代冷極淺灰 (Slate 50)：近乎純白的清爽背景色，能有效降低視覺疲勞，適合整體網頁的基底背景 */

    /* 文字與閱讀色系 (Text Colors) */
    --wdloan-text-dark: #0f172a;      /* 近純黑 (Slate 900)：具備極佳閱讀對比度，適合內文主字體，提供清晰利落的閱讀體驗 */
    --wdloan-text-gray: #475569;      /* 質感中灰 (Slate 600)：降低視覺權重的文字色，適合用於說明內文、日期、補充註記或圖示顏色 */
    --wdloan-white: #ffffff;          /* 純白色：提供高對比的純淨底色，常用於卡片背景、輸入框或暗色按鈕上的文字色 */

    /* 陰影與圓角樣式 (UI Styling) */
    --wdloan-shadow: 0 10px 25px -5px rgba(128, 5, 5, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04); 
                                      /* 品牌特化陰影：帶有 8% 深紅透光的懸浮陰影，讓卡片呈現輕盈質感與品牌色調的和諧融合 */
    --wdloan-radius: 12px;            /* 現代柔和圓角：符合現代 App/Web UI 的圓角切邊，營造親切且不失專業的印象 */
    --wdloan-transition: all 0.3s ease;/* 平滑動態轉場：提供 0.3 秒緩動效果，讓 Hover 或按鍵點擊時的顏色過渡更加流暢自然 */

}

/*logo&頁籤選單文字區塊左右靠齊*/
.topnavbar {
    background-color: #fff;/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
    position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    line-height: 0;
    padding: 0;
}

.topnavbar .container {
  padding: 0;  /* 清除內距 */
  text-align: center;
}

#logo { display: block; }

body {
    background-color: #fff;/*背景底色*/
    font-family: 'Noto Sans TC', sans-serif;/*套用google font字型Noto Sans TC黑體*/
}


/*動到表格手機不會破版*/
table {
  table-layout: fixed;
  word-wrap:break-word;
} 

hr {
  border-top: 1px solid #ddd;
  border-bottom: 0;
  margin: 2em 0;
}

/*編輯欄設定*/
#main-wrap .container {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--p);
}/*編輯欄文字*/

body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

body[data-type="fullpage"] #product-header.main {
      min-height: auto;/*產品-編輯框不設定高*/
}

.fcol p{  
  line-height: 2;
  text-wrap: pretty ;  /*適用內文,段落避開孤字*/
 }

h1, h2, h3, h4, h5, h6 { 
  text-wrap: balance ;  /*適用標題和短文案,視覺效果更平衡*/
} 

.fcol h2 { 
  color: var(--text);
  font-size: clamp(26px, 3vw, 36px);/*最小值 首選值 最大值 限制屬性值區間*/
}

.fcol h3 { 
  color: var(--text2);
  font-size: clamp(24px, 3vw, 30px);/*最小值 首選值 最大值 限制屬性值區間*/
}

.fcol h4 { 
  color: var(--text3);
  font-size: clamp(20px, 3vw, 24px);/*最小值 首選值 最大值 限制屬性值區間*/
}

/*nav*/
#nav ul li a {
    white-space: normal; /*自動換行*/
    font-size: 1.0rem;/*頁籤文字大小*/
    color: #000;/*頁籤文字顏色*/
    padding: 10px 20px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: var(--text);/*頁籤滑過文字顏色*/
}
#nav ul li.current a {
    color: var(--text);/*頁籤按下後文字顏色*/
    font-weight: 500;
}

#nav .subnav {
    background-color: #fff;/*次頁籤底色*/
    max-width: 400px;/*次頁籤背景最大寬度*/
    width: max-content;/*最大內容*/
    text-align: left;
}

#nav .subnav .has-subnav span{
    max-width: 400px;/*次頁籤文字背景最大寬度*/
}

#nav li.has-subnav ul li.has-subnav>div a::after, #nav>ul>li.has-subnav>a::after {
    padding-left: 2px;/*下拉選單箭頭距離*/
}

/*產品頁*/
#side h3 {
  /*background-color: var(--card);*/
  background-image: var(--gradient);
  border-radius: 10px 10px 0 0;
  font-size: 1.4em;
  font-weight: 700;
  color: var(--bg);
}
#side ul li a {
  font-size: 16px;
  color: #333;
  border-bottom: 1px dashed #ddd;
}
#side ul li a:hover {
  color: var(--text);
}

ul.product-list li a {
    color: var(--text);/*產品格文字顏色*/
    background-color: #eee;/*產品格底色*/
}
ul.product-list li a:hover {
    color: var(--text2);/*產品格滑過文字顏色*/
}
.productdetail .detail-spec h2 {
    color: #333;
    font-size: 30px;
}/*產品內頁標題文字*/

/*產品頁產品格圖片填滿*/
ul.product-list div.img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*分頁title文字*/
.h1title h1{
  color: var(--text2);
  text-align: center;
}

a {
    color: var(--text2);/*連結顏色*/
    text-decoration: none;
}

.swiper-container {
  height: auto !important; /* 將容器預設的高拿掉 */
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(750 / 1920 * 100%); /* 自定響應式圖片高度 */
}

.swiper-slide {
  width: 100% !important; /* 強制圖片寬度隨容器變更 */
}

#bodyinhome .fcol:nth-child(-n+6) { padding: 2em 0; } /*首頁-全編輯欄間距*/

#bodyinhome .fcol.fcol-1  {
  background-color: var(--text3);
}    

#bodyinhome .fcol.fcol-2 .container {
   width: 100%;
}

/*首頁區塊標題*/
.wdloan-section-subtitle {
	color: var(--wdloan-primary-bright);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 0.9rem;
	margin-bottom: 8px;
}
.wdloan-section-title {
	font-size: 2.2rem;
	color: var(--wdloan-secondary);
	font-weight: 800;
}
 /* about */
 .wdloan-badge {
 	display: inline-block;
 	background-color: rgba(255, 255, 255, 0.15);
 	backdrop-filter: blur(5px);
 	border: 1px solid rgba(255, 255, 255, 0.3);
 	color: #fef08a;
 	padding: 6px 16px;
 	border-radius: 50px;
 	font-size: 0.9rem;
 	font-weight: 600;
 	margin-bottom: 20px;
 }
 .wdloan-hero-title {
 	font-size: 2.8rem;
 	line-height: 1.25;
 	font-weight: 800;
 	margin-bottom: 20px;
 	color: #ffffff;
 }
 .wdloan-hero-desc {
 	margin-bottom: 35px;
 	color: #ffffff;
 }
.wdloan-hero-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.wdloan-btn-primary {
	background-color: var(--wdloan-primary-bright);
	color: var(--wdloan-white);
	padding: 16px 32px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 700;
	font-size: 1.1rem;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: var(--wdloan-transition);
}
.wdloan-btn-primary:hover {
	background-color: #991b1b;
	transform: translateY(-2px);
  color: #ffffff;
}
.wdloan-btn-secondary {
	background-color: rgba(255, 255, 255, 0.1);
	color: var(--wdloan-white);
	border: 1px solid rgba(255, 255, 255, 0.4);
	padding: 16px 32px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	font-size: 1.1rem;
	transition: var(--wdloan-transition);
}
.wdloan-btn-secondary:hover {
	background-color: #00c300;
  color: #ffffff;
}


/*產品介紹圖文特效*/
figure.snip1249 {
  position: relative;
  overflow: hidden;
  margin: 0 auto 0;
  min-width: 150px;
  width: 100%;
  height: 100%;
  background: #f5f5f5;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  font-family: verdana, geneva;
      display: flex;
    flex-direction: column;
    justify-content: space-between;
}
figure.snip1249 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
}
figure.snip1249 img{
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  vertical-align: top;
  padding: 10px;
  object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
}
figure.snip1249:hover img{
  opacity: 0.8;
}
figure.snip1249 h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: var(--text2);
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 2px;
}
figure.snip1249 p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  text-align: justify;
  line-height: 1.5;
  color: var(--text3);
}
figure.snip1249 figcaption {
  padding: 5px 20px;
    color: #000000;
    position: relative;
    font-size: 0.9em;
    display: flex;
    flex-direction: column;
}

figure.snip1249 .btn-more {
border: 1px solid var(--text2);
    padding: 0.4em 0.6em;
    color: var(--text3);
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    margin: 10px 20px;
    text-align: center;
    letter-spacing: 5px;
}

figure.snip1249:hover .btn-more {
  background-color: var(--text4);
  color: #ffffff;
}
figure.snip1249 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}



 /* 4 Advantages Section */
.wdloan-adv-item {
	background-color: var(--wdloan-white);
	padding: 30px 20px;
	border-radius: var(--wdloan-radius);
	text-align: center;
	border-bottom: 4px solid var(--wdloan-primary-bright);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
	transition: var(--wdloan-transition);
   height: 100%;
}
.wdloan-adv-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 25px rgba(128, 5, 5, 0.08);
}
.wdloan-adv-icon-box {
	width: 60px;
	height: 60px;
	background: linear-gradient(135deg, var(--wdloan-bg-soft) 0%, #fee2e2 100%);
	color: var(--wdloan-primary-bright);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 16px auto;
	box-shadow: 0 4px 10px rgba(185, 28, 28, 0.15);
	font-size: 1.5rem;
}
 .wdloan-adv-num {
 	font-size: 2.2rem;
 	font-weight: 900;
 	color: var(--wdloan-primary);
 	opacity: 0.8;
 	margin-bottom: 10px;
 }
 .wdloan-adv-title {
 	font-size: 1.15rem;
 	color: var(--wdloan-secondary);
 	font-weight: 700;
 	margin-bottom: 8px;
 }
 .wdloan-adv-desc {
 	font-size: 0.92rem;
 	color: var(--wdloan-text-gray);
 	line-height: 1.5;
 }

 /* 3 Steps Process */
 .wdloan-step-badge {
 	background-color: var(--wdloan-primary);
 	color: var(--wdloan-white);
 	font-weight: 800;
 	font-size: 0.85rem;
    padding: 4px 20px 4px 10px;
    clip-path: polygon(0 0, 85% 0%, 100% 50%, 85% 100%, 0 100%, 0% 50%);
 	display: inline-block;
 	margin-bottom: 15px;
 }
 .wdloan-step-title {
 	font-size: 1.25rem;
 	color: var(--wdloan-secondary);
 	/*font-weight: 700;*/
 	margin-bottom: 10px;
 }
 .wdloan-step-desc {
 	color: var(--wdloan-text-gray);
 	font-size: 0.95rem;
 	line-height: 1.6;
 }

/* Customer Reviews */
.wdloan-review-card {
  background-image: linear-gradient(160deg, #ebebeb 0%, #ffffff 30%);
    padding: clamp(1em, 2vw, 2em);
    border-radius: 1em;
    height: 100%;
}
.wdloan-stars {
	color: #f59e0b;
	font-size: 1.1rem;
	margin-bottom: 12px;
}
.wdloan-review-text {
	color: var(--wdloan-secondary-light);
	font-style: italic;
	line-height: 1.7;
	margin-bottom: 20px;
}
.wdloan-reviewer {
	font-weight: 700;
	color: var(--wdloan-secondary);
}
.wdloan-reviewer span {
	font-weight: 400;
	color: var(--wdloan-text-gray);
	font-size: 0.85rem;
	margin-left: 8px;
}


/*Q&A手風琴*/
#accordion li div {
 display:none;
}

#accordion li>h3{
  display: flex;
  justify-content: space-between;
  align-items: center;
    border: 1px solid #eee;
    border-radius: 10px;
    background: var(--wdloan-bg-light);
    margin-top: 20px;
    color: var(--text2);
    font-size: 18px;
    font-weight: 700;
    padding: 15px;
    width: 100%;
}
#accordion li>div{
   border:1px solid #eee;
   border-radius: 10px; 
   margin-top: 7px;
   padding: 15px;
   background: rgb(255,255,255,0.9);
   color:var(--text3);
}
#accordion li>h3:after {
    position: relative;
   font-family: "Font Awesome 7 Free";
   content: "\f107";
    font-size: 20px;
    float: right;
    transition: transform 0.3s ease-in-out;
}

/* == 卡片元件設計 == */
.wd-finance-card {
  background-color: var(--wdloan-bg-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: var(--wdloan-transition);
    display: flex;
    flex-direction: column;
  height: 100%;
}
.wd-finance-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--wdloan-shadow);
	border-color: rgba(37, 99, 235, 0.3);
}
/* 圖片包裝容器 */
.wd-finance-img-wrapper {
	position: relative;
	width: 100%;
	padding-top: 66.67%;
	/* 3:2 比例黃金切割 */
	overflow: hidden;
	background-color: #e2e8f0;
}
.wd-finance-img-wrapper img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}
.wd-finance-card:hover .wd-finance-img-wrapper img {
	transform: scale(1.06);
}
/* 卡片內容區域 */
.wd-finance-body {
	padding: 12px;
	text-align: center;
	display: flex;
	flex-direction: column;
}
.wd-finance-body h3 { font-size: clamp(18px, 3vw, 24px);}
.wd-finance-item-title {
	font-weight: 600;
	color: var(--wdloan-dark);
	margin: 0;
	line-height: 1.3;
	transition: var(--wdloan-transition);
}
.wd-finance-card:hover .wd-finance-item-title {
	color: var(--wdloan-primary);
}
/* 輔助標籤與強調 */
.wd-finance-tag {
display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--text);
    color: var(--wdloan-white);
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 9999px;
    margin-bottom: 0.5rem;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}