@import url('https://fonts.googleapis.com/css?family=Bree+Serif|Roboto+Slab');@import url('https://fonts.googleapis.com/css?family=Arvo');@import url('/css/SeoJump.css');
/* CSS Reset & 通用設定 (嚴格單行模式) */
* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Noto Sans TC',sans-serif; }
body { background-color: #f4f7f6; color: #333; line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
a.masklink { position: absolute; width: 100%; height: 100%; top: 0; left: 0; z-index: 5566; }
img { max-width: 100%; height: auto; display: block; }
.wrapper { position: relative; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.btn-primary { display: inline-block; padding: 12px 35px; background: linear-gradient(90deg,#0056b3,#00a8ff); color: #fff; border-radius: 30px; transition: transform 0.3s,box-shadow 0.3s; cursor: pointer; text-align: center; font-size: 15px; font-weight: 500; border: none; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,86,179,0.3); }
.btn-custom { display: inline-block; padding: 14px 45px 14px 25px; background: linear-gradient(90deg,#ff9800,#ffc107); color: #fff; font-size: 14px; font-weight: 500; letter-spacing: 1px; border: none; cursor: pointer; clip-path: polygon(0 0,100% 0,75% 100%,0 100%); transition: all 0.3s; text-decoration: none; text-align: center; }
.btn-custom:hover { opacity: 0.85; transform: translateY(-2px); }
.section-subtitle { font-size: 14px; color: #00a8ff; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; font-weight: bold; }
.subtitle-icon { width: 35px; height: auto; flex-shrink: 0; }
.t-header-icon { width: 35px; height: auto; flex-shrink: 0; }
.section-title { font-size: 38px; font-weight: bold; color: #2e5d91; margin-bottom: 25px; line-height: 1.3; }
/* Header Section */
#header-section {position: fixed;top: 0;left: 0;width: 100%;background: rgba(255,255,255,0.98);z-index: 1000;box-shadow: 0 2px 15px rgba(0,0,0,0.05);display: flex;justify-content: space-between;align-items: center;padding: 5px 50px;backdrop-filter: blur(8px);gap: 15px;}
#header-section .logo { display: flex; align-items: center; gap: 12px; color: #0056b3; font-weight: 900; font-size: 22px; letter-spacing: 1px; width: 300px; }
#header-section .logo-icon { width: 35px; height: 35px; background: linear-gradient(135deg,#0056b3,#00a8ff); border-radius: 8px; display: flex; justify-content: center; align-items: center; color: #fff; font-size: 16px; font-weight: bold; }
#header-section .header-right { display: flex; align-items: center; gap: 10px; }
/* Header Navigation (Dropdown & RWD) */
#header-section .nav-links ul.pc { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; align-items: center; }
#header-section .nav-links ul.pc li { position: relative; }
#header-section .nav-links .nav-item { color: #0056b3; font-weight: 500; font-size: 15px; transition: color 0.3s ease; position: relative; display: block; padding: 10px 0; }
#header-section .nav-links .nav-item:hover { color: #00a8ff; }
#header-section .nav-links .subnav { position: absolute; top: 100%; left: -20px; background: #fff; box-shadow: 0 10px 25px rgba(0,0,0,0.1); list-style: none; padding: 0; margin: 0; width: 220px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s ease; z-index: 100; max-height: 60vh; overflow-y: auto; border: 1px solid #e0e0e0; border-top: 3px solid #3b6b9e; }
#header-section .nav-links .subnav::-webkit-scrollbar { width: 6px; }
#header-section .nav-links .subnav::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
#header-section .nav-links ul.pc li.has-dropdown:hover .subnav { opacity: 1; visibility: visible; transform: translateY(0); }
#header-section .nav-links .subnav li { border-bottom: 1px solid #eee; width: 100%; }
#header-section .nav-links .subnav li:last-child { border-bottom: none; }
#header-section .nav-links .subnav a { display: block; padding: 12px 20px; color: #0056b3; font-size: 14px; text-decoration: none; transition: all 0.2s; background: #fff; text-align: left; }
#header-section .nav-links .subnav a:hover { background: #3b6b9e; color: #fff; }
/* Header Tools & Search Form */
#header-section .tools { display: flex; align-items: center; gap: 15px; font-size: 14px; color: #0056b3; position: relative; }
#header-section .tool-icon { display: flex; align-items: center; color: #0056b3; cursor: pointer; transition: opacity 0.3s; }
#header-section .tool-icon:hover { opacity: 0.7; }
#header-section .lang-switch { display: flex; gap: 8px; align-items: center; }
#header-section .lang-opt { color: #0056b3; cursor: pointer; transition: opacity 0.3s; font-size: 13px; }
#header-section .lang-opt:hover { opacity: 0.7; }
#header-section .mobile-menu-btn { display: none; flex-direction: column; gap: 5px; cursor: pointer; margin-left: 0; }
#header-section .mobile-menu-btn span { width: 24px; height: 2px; background: #0056b3; transition: all 0.3s ease; }
#hSearch {position: absolute;top: calc(0% - 15px);right: 115%;background: #fff;padding: 8px 12px;border-radius: 30px;box-shadow: 0 5px 20px rgba(0,86,179,0.15);border: 1px solid #e2e8f0;visibility: hidden;opacity: 0;transform: translateY(-10px);transition: all 0.3s cubic-bezier(0.175,0.885,0.32,1.275);z-index: 100;pointer-events: none;}
#hSearch.active { visibility: visible; opacity: 1; transform: translateY(0); pointer-events: auto; }
#hSearch p { display: flex; align-items: center; margin: 0; }
#hSearch input[type="text"] { border: none; outline: none; padding: 5px 8px; width: 180px; font-size: 14px; background: transparent; color: #333; }
#hSearch input[type="text"]::placeholder { color: #aaa; }
#hSearch #goSearch { color: #0056b3; display: flex; align-items: center; justify-content: center; padding-right: 5px; transition: color 0.3s; }
#hSearch #goSearch:hover { color: #00a8ff; }
/* Footer Section (Two-Column Corporate Style) */
#footer-section { background: #006bb3; color: #fff; padding: 120px 0 50px; font-size: 13px; position: relative; z-index: 1; }
#footer-section .container { display: flex; justify-content: space-between; align-items: flex-end; gap: 50px; }
#footer-section .footer-left { display: flex; flex-direction: column; gap: 25px; width: 25%; }
#footer-section .footer-logo-area { display: flex; flex-direction: column; gap: 4px; }
#footer-section .footer-logo-top { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: bold; letter-spacing: 1.5px; color: #fff; }
#footer-section .footer-logo-icon { width: 38px; height: 38px; background: #fff; color: #006bb3; display: flex; justify-content: center; align-items: center; border-radius: 8px; font-size: 18px; font-weight: 900; }
#footer-section .footer-logo-sub { font-size: 11px; letter-spacing: 4px; color: rgba(255,255,255,0.7); margin-left: 50px; text-transform: uppercase; }
#footer-section .footer-copyright { font-size: 12px; color: rgba(255,255,255,0.75); line-height: 1.8; letter-spacing: 0.5px; }
#footer-section .footer-right { width: 75%; display: flex; flex-direction: column; }
#footer-section .footer-nav { display: flex; gap: 30px; flex-wrap: wrap; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 25px; margin-bottom: 25px; }
#footer-section .footer-nav a { color: #fff; text-decoration: none; font-weight: 400; transition: opacity 0.3s; font-size: 13px; letter-spacing: 1px; }
#footer-section .footer-nav a:hover { opacity: 0.7; }
#footer-section .footer-info { display: flex; gap: 60px; }
#footer-section .footer-info-col { display: flex; flex-direction: column; gap: 10px; color: rgba(255,255,255,0.85); letter-spacing: 0.5px; }
/* Floating Actions (Exact 1:1 Match) */
#floating-actions { position: fixed; right: 25px; bottom: 35px; display: flex; flex-direction: column; gap: 6px; z-index: 1000; }
#floating-actions .f-btn { width: 48px; height: 48px; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: #fff; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.15); transition: all 0.3s cubic-bezier(0.175,0.885,0.32,1.275); }
#floating-actions .f-btn:hover { transform: scale(1.1); }
#floating-actions .f-mail { background: #1c6b9e; }
#floating-actions .f-line { background: #00c300; }
#floating-actions .f-fb { background: #1877f2; }
#floating-actions .f-in { background: #007bb5; }
#floating-actions .f-top { background: #1c6b9e; }
#floating-actions .f-line svg { fill: white; width: 20px; height: 20px; }
@keyframes float {
  0% { transform: translateY(0px) rotateY(0deg); }
  50% { transform: translateY(-25px) rotateY(5deg); }
  100% { transform: translateY(0px) rotateY(0deg); }
}
/* popup_box */
#popup_box { position: fixed; width: 100vw; height: 100vh; background: rgb(0 0 0/80%); display: flex; justify-content: center; align-items: center; top: 0; left: 0; z-index: 999; }
#popup_box .box { position: relative; min-width: 40vw; width: min(90vw,750px); max-height: 90vh; background: #fff; }
#popup_box .box .info { overflow-x: hidden; overflow-y: overlay; max-height: 90vh; }
#popup_box .box .info::-webkit-scrollbar { width: 13px; }
#popup_box .box .info::-webkit-scrollbar-track { background: none; }
#popup_box .box .info::-webkit-scrollbar-thumb { border-radius: 8px; border: 4px solid transparent; background-clip: content-box; background-color: rgb(132 132 132/50%); }
#popup_box .box .info::-webkit-scrollbar-thumb:hover { background-color: #848484; }
#popup_box .box .info img { max-width: 100%; }
#popup_box a.close_box { position: absolute; width: 30px; height: 30px; background: #000; border-radius: 50%; border: 2px #fff solid; display: flex; justify-content: center; align-items: center; top: -14px; right: -14px; }
#popup_box a.close_box svg { width: 50%; height: 50%; fill: #fff; }
@media screen and (max-width:1366px) {
  .workframe { width: 90% }
}

@media screen and (min-width:1025px) {
  #ssbanner a:after { content: ''; display: block; width: 100%; height: 100%; position: absolute; top: 0; left: 0; background: #878787; z-index: 1 }
  #ssbanner a:after,#ssbanner a .infot { opacity: 0 }
  #ssbanner a:hover:after,#ssbanner a:hover .infot { opacity: 1 }
  #ssbanner a .infot p:hover { background: #fff; color: #878787 }
}
@media screen and (min-width:641px){
  #hSearch{visibility: visible;opacity: 1;transform: translateY(0);pointer-events: auto;}
  #header-section .tool-icon{display:none}
}
@media screen and (max-width:1660px){
  #header-section .logo{width: 250px;}
  #menubar{flex:1;display: flex;}
  #header-section .nav-links ul.pc{gap: 20px;}
}
@media screen and (max-width:1280px) {
  #header-section { padding: 15px 20px; flex-wrap: nowrap; }
  #header-section .header-right { margin-left: auto; }
  #header-section .tools { gap: 10px; }
  #header-section .mobile-menu-btn { display: flex; }
  #header-section .logo { width: 180px; }
  #header-section .nav-links { position: absolute; top: 100%; left: 0; width: 100%; background: #ffffff; flex-direction: column; gap: 0; box-shadow: 0 10px 15px rgba(0,0,0,0.1); max-height: 0; overflow-y: auto; transition: max-height 0.4s ease; align-items: center; border-top: 1px solid transparent; }
  #header-section .nav-links.active { max-height: 100vh; border-top-color: #f0f0f0; }
  #header-section .nav-links ul.pc { flex-direction: column; width: 100%; gap: 0; }
  #header-section .nav-links ul.pc li { width: 100%; text-align: center; border-bottom: 1px solid #f0f0f0; }
  #header-section .nav-links ul.pc a { display: flex; flex-direction: column; padding: 10px 0; }
  #header-section .nav-links .nav-item { padding: 15px 0; }
  #header-section .nav-links .subnav { position: static; width: 100%; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; max-height: none; border: none; background: #f5f8fa; border-top: none; }
  #header-section .nav-links .subnav a { text-align: center; padding: 12px 0; background: transparent; border-bottom: 1px solid #eaeaea; }
  #header-section .nav-links .subnav a:hover { background: #e0eaf5; color: #0056b3; }
  #hSearch {right: 111%;top: calc(0% - 14px);}
  #hSearch input[type="text"] { width: 130px; }
}
@media screen and (max-width:1024px) {
  #ssbanner a .infot { background: rgba(95,95,95,0.83); width: 100%; height: auto; top: initial; bottom: 0; left: 0; padding: 15px 0 }
  #ssbanner a .infot h4 { margin-bottom: 10px; font-size: 18px }
  #ssbanner a .infot p { border: 1px solid #fff; padding: 2px 30px }
  #footer-section .container { flex-direction: column; align-items: flex-start; gap: 40px; }
  #footer-section .footer-left,#footer-section .footer-right { width: 100%; }
}
@media (max-width:980px) {
  
  #footer-section { padding: 60px 0 80px; }
  #footer-section .container { gap: 30px; }
  #footer-section .footer-left { align-items: center; text-align: center; gap: 15px; }
  #footer-section .footer-logo-area { align-items: center; }
  #footer-section .footer-logo-sub { margin-left: 0; text-align: center; }
  #footer-section .footer-right { align-items: center; text-align: center; }
  #footer-section .footer-nav { gap: 12px; justify-content: center; }
  #footer-section .footer-info { flex-direction: column; gap: 15px; align-items: center; }
  #footer-section .footer-info-col { align-items: center; text-align: center; }
  #floating-actions { bottom: 15px; right: 10px; }
}
@media (max-width:640px)
{
   #hSearch {right: -15px;top: calc(100% + 32px);}
}
