.phone-1{position:fixed;right:1%;top:30%;z-index:1000}


/*手機版-側欄浮動按鈕-縮小*/
@media (max-width: 414px){ 
  .phone, .fb, .line-1, .ig, .map, .wechat, .shop-1 { 
    transform: scale(0.8);
    right:0;
  }
}


body {
    background-color: #fff;/*背景底色*/
    font-family: 'Noto Sans TC', sans-serif;/*套用google font字型Noto Sans TC黑體*/
}


/*消除留白*/
body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

body[data-type="fullpage"] #product-header.main {
      min-height: auto;/*產品-編輯框不設定高*/
}


/*LOGO語法*/
.topnavbar .container {
  text-align: center;
  padding: 10px 0 10px 0;
}

.topnavbar .container::after {
  display: inline-block;
  width: 100%;
}
#logo h1 {
    height: 70px;
}





/*banner*/
.swiper-container {
  height: auto !important; /* 將容器預設的高拿掉 */
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(750 / 1920 * 100%); /* 自定響應式圖片高度 */
}

.swiper-slide {
  width: 100% !important; /* 強制圖片寬度隨容器變更 */
}

/*按鈕背影*/
.topnavbar {
 /* background-color: Transparent;*/
    background-color: #FFF;/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
    position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    line-height: 5px;
    padding: 5px;/*頁籤間距*/
}



/*nav*/
#nav {
    vertical-align: bottom;/*靠下*/
}
#nav ul li a {
    white-space: normal; /*自動換行*/
    font-size: 1.0rem;/*頁籤文字大小*/
    color: #6b512e;/*頁籤文字顏色*/
    padding: 20px 16px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
    font-weight: 700;
}

#nav ul li a:hover  {
    color: #e4ac00;/*頁籤滑過文字顏色*/
}
#nav ul li.current a {
    color: #e4ac00;/*頁籤按下後文字顏色*/
    font-weight: 900;
}

/*下拉選單*/
#nav .subnav {
    background-color: #415a75;/*次頁籤底色*/
    max-width: 400px;/*次頁籤背景最大寬度*/
    width: max-content;/*最大內容*/
    text-align: center;
}

#nav li.has-subnav ul li.has-subnav>div a::after, #nav>ul>li.has-subnav>a::after {
    padding-left: 2px;/*下拉選單箭頭距離*/
} /


/*全部網頁文字*/
#main-wrap .container {
    font-size: clamp(16px, 2vw, 18px);
  line-height:30px;
  color: #2d2d2d;
}

/*改內文標題顏色*/
h1, h2, h3, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: inherit;
    font-weight: 700;
    line-height: inherit;
    color: #44403f;
}

h1, .h1 {
text-align: center;
}


/*各層編輯欄*/
#bodyinhome .fcol.fcol-2 {
width: 100%;
background-image: -webkit-linear-gradient(90deg,#a67f3b 100% ,#a67f3b  60.1%);
padding: 2rem 0;
} 
#bodyinhome .fcol.fcol-2 .container{
    width: 100%;
    padding:0px;
}

#bodyinhome .fcol.fcol-5 {
    background-repeat: no-repeat;
   background-position: 50% 50%;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: -webkit-linear-gradient(left, rgba(0,0,0,0.4) 0% ,rgba(0, 0, 0, 0.1) 100%) , url(https://static.iyp.tw/409983/files/751560c6-dfc4-4887-993c-d710b9fe6952.jpg);
  display: flex; 
  align-items: center;
  padding: 3em 0;
}

#bodyinhome .fcol.fcol-6{
background-color:#333;
}

body.about-us .fcol.fcol-2 {
    background: url(https://static.iyp.tw/409983/files/166c96a9-d426-410a-8674-40b7be8be091.jpg) 100% 0 / cover no-repeat;
    position: relative;
    overflow: hidden;
background-position: left top;
}




/* 3大優勢 */
.advantage-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  font-family: "Microsoft JhengHei", sans-serif;
}

.header {
  text-align: center;
  margin-bottom: 50px;
}

.header h3 {
  font-size: 1.1rem;
  color: #777;
  letter-spacing: 5px;
  margin-bottom: 10px;
}

.header .subtitle {
  font-size: 2.2rem;
  color: #8ec5d1;
  font-weight: 800;
  margin: 0;
}

.advantage-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}


.card {
  flex: 1;
  min-width: 280px;
  max-width: 350px; /* 限制最大寬度避免過扁 */
  border: 2px solid #f7efe2; /* 預設淡色邊框 */
  border-radius: 25px;
  padding: 40px 30px;
  background-color: #fff;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.card:hover {
  transform: translateY(-10px);
  border-color: #b07c4f;
  box-shadow: 0 15px 30px rgba(142, 197, 209, 0.3);
}


.icon-box {
  width: 85px;
  height: 85px;
  margin-bottom: 25px;
  background-color: #f6e6b5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px; /* 控制 FontAwesome 或 Emoji 大小 */
  color: #b07c4f;
}


.content h4 {
  font-size: 1.4rem;
  color: #2c3e50;
  margin: 0 0 15px 0;
  font-weight: 700;
}

.content p {
  font-size: 1rem;
  color: #666;
  line-height: 1.7;
  margin: 0;
}


@media (max-width: 992px) {
  .card {
    flex: 0 0 calc(45%); /* 平板一排兩個 */
  }
}

@media (max-width: 650px) {
  .card {
    flex: 0 0 100%; /* 手機一排一個 */
    max-width: 100%;
  }
  .header .subtitle {
    font-size: 1.8rem;
  }
}





/*按鈕-文字底色變化特效*/
.custom-btn {
    padding: 5px 20px;
    outline: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}


.btn-fb, .btn-line  {
  border-radius: 40px;
  border: 0px solid #000;
  color: #fff;
  font-size: clamp(28px, 3vw, 30px);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 250px;
}

.btn-fb { background-color: #00B900;}
.btn-fb:hover {
  transform:scale(1.1);
  background-color: #00B900;
  top:-10px;
}

.btn-line { background-color: #a67f3b;}
.btn-line:hover {
  transform:scale(1.1);
  background-color: #a67f3b;
  top:-10px;
}

/*按鈕上下移動特效*/
.btn-move div:nth-child(n) {
  animation: MoveUpDown 3s linear infinite;
  position: relative;
  left: 0;
  bottom: 0;
}
.btn-move div:nth-child(even) {
  animation: MoveUpDown2 3s linear infinite;
  transform: translateY(-10px);
}
@keyframes MoveUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes MoveUpDown2 {
  0%, 100% { transform: translateY(-10px); }
  50% { transform: translateY(0); }
}

/*氣泡提示框*/
.speech-bubble {
	position: relative;
	background: #f9f9f9;
	border-radius: 50px;
  padding: 1em;
  min-height: 75%;
}
@media only screen and (max-width: 767px){ 
  .speech-bubble { min-height: auto;}
}
  
  
.speech-bubble:after {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	width: 0;
	height: 0;
	border: 25px solid transparent;
	border-bottom-color: #f9f9f9;
	border-top: 0;
	margin-left: -24px;
	margin-top: -24px;
}

.speech-bubble p { 
  text-align: justify;
  color: #000;
  font-size: clamp(14px, 2vw, 16px); /*最小值 首選值 最大值 限制屬性值區間*/
  line-height: 1.2;
}

.service-item h3 { 
  text-align: center;
  color: #e2ab2d;
  font-size: clamp(22px, 3vw, 24px);/*最小值 首選值 最大值 限制屬性值區間*/
  margin-bottom: 1.5em;
}

/*三大股票核心服務*/
@import url(https://fonts.googleapis.com/css?family=Roboto:300,400);
@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css);
.snip1533 {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  color: #9e9e9e;
  display: inline-block;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  margin: 10px;
  max-width: 330px;
  min-width: 270px;
  position: relative;
  text-align: center;
  width: 100%;
  background-color: #ffffff;
  border-radius: 5px;
  border-top: 5px solid #d2652d;
}

.snip1533 *,
.snip1533 *:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.1s ease-out;
  transition: all 0.1s ease-out;
}

.snip1533 figcaption {
  padding: 13% 10% 12%;
}

.snip1533 figcaption:before {
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  color: #d2652d;
  content: "\f10e";
  font-family: 'FontAwesome';
  font-size: 32px;
  font-style: normal;
  left: 50%;
  line-height: 60px;
  position: absolute;
  top: -30px;
  width: 60px;
}

.snip1533 h3 {
  color: #3c3c3c;
  font-size: 20px;
  font-weight: 300;
  line-height: 24px;
  margin: 10px 0 5px;
}

.snip1533 h4 {
  font-weight: 400;
  margin: 0;
  opacity: 0.5;
}

.snip1533 blockquote {
  font-style: italic;
  font-weight: 300;
  margin: 0 0 20px;
}




/*QA*/

:root {
--primary-color: #1e293b; /* 深藍底色 */
--accent-color: #b45309;  /* 金/琥珀色 */
--bg-color: #f8fafc;      /* 頁面淡灰底 */
--card-bg: #e8c287;      /* 手風琴白底 */
--text-color: #334155;    /* 內文深灰 */
        }


        .faq-container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .faq-category {
            margin-bottom: 40px;
        }

        .category-title {
            font-size: 20px;
            color: var(--primary-color);
            border-left: 5px solid var(--accent-color);
            padding-left: 12px;
            margin-bottom: 20px;
            font-weight: bold;
        }

        .accordion-item {
            background-color: var(--card-bg);
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            margin-bottom: 12px;
            overflow: hidden;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
        }

        .accordion-item:hover {
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            border-color: #cbd5e1;
        }

        summary {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 18px 24px;
            font-size: 16px;
            font-weight: 600;
            color: var(--primary-color);
            cursor: pointer;
            list-style: none;
            user-select: none;
        }

        /* 隱藏 Safari 預設箭頭 */
        summary::-webkit-details-marker {
            display: none;
        }

        /* 自訂旋轉箭頭 */
        summary::after {
            content: '+';
            font-size: 22px;
            font-weight: normal;
            color: var(--accent-color);
            transition: transform 0.2s ease;
        }

        details[open] summary::after {
            content: '−';
        }

        .answer-content {
            padding: 0 24px 20px 24px;
            font-size: 15px;
            color: #475569;
            border-top: 1px solid #f1f5f9;
            padding-top: 15px;
            background-color: #fafbfd;
        }





  /* 專業融資服務*/
.financing-section {
  width: 100%;
  padding: 20px 15px 40px 15px;
  box-sizing: border-box;
}

.financing-container {
  max-width: 1350px; /* 原本內層 table 的最大寬度 */
  margin: 0 auto;
}

/* 標題樣式 */
.financing-header {
  text-align: center;
  margin-bottom: 30px;
}

.financing-header h2 {
  font-size: 24px;
  color: #ffffff;
  font-family: Verdana, Geneva, sans-serif;
  margin: 0;
  font-weight: normal;
}

.financing-header .subtitle {
  font-size: 30px;
  color: #c9a24f;
  font-family: Verdana, Geneva, sans-serif;
  font-weight: bold;
  margin-top: 10px;
}

/* 卡片外層 Flexbox 佈局（核心） */
.card-grid {
  display: flex;
  flex-wrap: wrap; /* 超過寬度自動折行 */
  margin: -15px; /* 抵消內層卡片的 padding 邊距 */
}

/* 單個卡片外殼 */
.card-item {
  flex: 1 1 calc(50% - 30px); /* 桌機版各佔 50% 寬度 */
  margin: 15px;
  border-radius: 15px;
  overflow: hidden;
  background: #200f0c;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 5px 15px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* 滑鼠懸停（Hover）特效（取代原本的 onmouseover/out） */
.card-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* 圖片樣式 */
.card-img-link {
  display: block;
  width: 100%;
}

.card-img-link img {
  width: 100%;
  height: auto;
  display: block;
}

/* 卡片文字內容區 */
.card-content {
  padding: 30px;
  text-align: center;
}

.card-en-title {
  color: #c9a24f;
  font-size: 14px;
  letter-spacing: 2px;
  font-family: Verdana, Geneva, sans-serif;
}

.card-zh-title {
  color: #ffffff;
  font-size: 32px;
  font-weight: bold;
  margin: 10px 0 25px 0;
  font-family: Verdana, Geneva, sans-serif;
}

/* 按鈕樣式 */
.card-btn {
  background: #c9a24f;
  color: #0d2340;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: bold;
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.card-btn:hover {
  opacity: 0.9;
}


@media (max-width: 768px) {
  .card-item {
    flex: 1 1 100%; /* 螢幕小於 768px 時，卡片寬度變 100% 變單欄 */
  }
  .card-zh-title {
    font-size: 26px; /* 手機版中文標題稍微縮小點比較好看 */
  }
}