@charset "UTF-8";
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: "PingFang TC", "STHeitiTC-Light", "LiHei Pro", "Microsoft JhengHei", "Heiti TC", sans-serif;
}

img {
  max-width: 100%;
}

.header-d, .header-d *, .header-m, .header-m * {
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

.header-m {
  background-color: #1d1d1d;
}
.header-m .mask {
  position: fixed; /* 必須一直存在，動畫才抓得到位置 */
  top: 60px;
  width: 100vw;
  min-height: 100%;
  background-color: #0a0a0a;
  opacity: 0; /* 隱藏時透明度為 0 */
  z-index: -100; /* 初始位置在左側螢幕外 */
  transition: opacity 0.7s; /* 設定收回時的時間 */
  pointer-events: none; /* 隱藏時不阻擋點擊 */
}
.header-m .mask.active {
  opacity: 0.6;
  z-index: 0;
  pointer-events: auto; /* 啟動後恢復點擊功能 */
  /* 注意：如果進入動畫要快，這裡可以單獨設定 transition */
  transition: left 0.1s ease-in-out, opacity 0.1s;
}
.header-m .header-top {
  min-height: 20px;
  padding: 10px;
  width: 100%;
  background-color: #333333;
}
.header-m .header-top .toplink a {
  color: #f2f2f2;
  text-decoration: none;
  font-size: 16px;
  line-height: 24px;
}
.header-m .header-bot {
  background-color: #0a0a0a;
  padding-left: 16px;
  padding-right: 16px;
}
.header-m .header-bot .logo {
  padding: 0 5px 0 10px;
}
.header-m .header-bot .logo img {
  height: 12px;
  vertical-align: baseline;
}
.header-m .header-bot .menu {
  position: relative;
  padding-right: 10px;
}
.header-m .header-bot .menu i.open {
  display: none;
}
.header-m .header-bot .menu i.open.active {
  display: inline-block;
}
.header-m .header-bot .menu i.close {
  display: none;
}
.header-m .header-bot .menu i.close.active {
  display: inline-block;
}
.header-m .header-bot .menu i {
  color: #FFFFFF;
  font-size: 16px;
}
.header-m .header-bot .menu .menu-list-box {
  min-width: 65vw;
  min-height: 100%;
  position: fixed;
  right: -100%;
  transition: right 0.4s ease-in-out; /* 定義位移動畫 */
  background: linear-gradient(0deg, #e7feff, #deedff 17%, #fff 50%, #fff);
  top: 84px;
  overflow: hidden; /* 裁切滑出畫面右側的子選單面板 */
  /* 第二層子選單面板：預設滑出右側，加 .active 滑入 */
}
.header-m .header-bot .menu .menu-list-box.active {
  right: 0; /* 當加上 active 類別時，滑入畫面 */
}
.header-m .header-bot .menu .menu-list-box .menu-list {
  list-style: none;
  padding: 0;
}
.header-m .header-bot .menu .menu-list-box .menu-list li {
  padding: 20px 20px 20px 50px;
}
.header-m .header-bot .menu .menu-list-box .menu-list li a {
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 27px;
  letter-spacing: 3px;
  color: #333;
  text-decoration: none;
}
.header-m .header-bot .menu .menu-list-box .submenu-m {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(0deg, #e7feff, #deedff 17%, #fff 50%, #fff);
  transform: translateX(100%);
  transition: transform 0.35s ease-in-out;
  overflow-y: auto;
}
.header-m .header-bot .menu .menu-list-box .submenu-m.active {
  transform: translateX(0);
}
.header-m .header-bot .menu .menu-list-box .submenu-m .submenu-m__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid #d4dbe6;
}
.header-m .header-bot .menu .menu-list-box .submenu-m .submenu-m__head .submenu-m__title {
  font-size: 18px;
  letter-spacing: 3px;
  color: #333;
}
.header-m .header-bot .menu .menu-list-box .submenu-m .submenu-m__head .submenu-m__back {
  font-size: 14px;
  letter-spacing: 1px;
  color: #666;
  text-decoration: none;
}
.header-m .header-bot .menu .menu-list-box .submenu-m .submenu-m__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.header-m .header-bot .menu .menu-list-box .submenu-m .submenu-m__list li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #e6ebf2;
}
.header-m .header-bot .menu .menu-list-box .submenu-m .submenu-m__list li a {
  display: block;
  padding: 16px 20px;
  color: #333;
  font-size: 16px;
  letter-spacing: 1px;
  text-decoration: none;
}
.header-m .header-bot .menu .menu-list-box .submenu-m .submenu-m__list li a::before { /* 藍色三角箭頭 */
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent #0842D5;
  margin-right: 10px;
  vertical-align: middle;
}

.footer {
  color: #f8f8f8;
  font-family: Roboto, Helvetica, Arial, "文泉驛正黑", "WenQuanYi Zen Hei", "儷黑 Pro", "LiHei Pro", "黑體-繁", "Heiti TC", "微軟正黑體", "Microsoft JhengHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}
.footer.footer {
  font-size: 16px;
}
.footer .footer-label {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}
.footer .footer-label .icon {
  vertical-align: middle;
  margin-bottom: 0 !important;
}
.footer .footer-sitemap {
  background: #475c85;
  font-size: 14px;
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}
.footer .footer-sitemap .row {
  margin-left: -12px;
  margin-right: -12px;
}
.footer .footer-sitemap [class*=col] {
  padding-left: 12px;
  padding-right: 12px;
}
.footer .footer-sitemap .container {
  max-width: 1200px;
  padding-left: 12px;
  padding-right: 12px;
}
.footer .footer-sitemap a {
  color: #f8f8f8;
  text-decoration: none;
}
.footer .footer-sitemap a:hover {
  text-decoration: underline;
}
.footer .footer-sitemap .list-style-custom {
  list-style: none;
  padding-left: 1rem;
  margin-bottom: 1rem !important;
}
.footer .footer-sitemap .list-style-custom li {
  position: relative;
  padding-left: 0.1em;
  margin: 0;
}
.footer .footer-sitemap .list-style-custom li::before {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 9px;
  position: absolute;
  content: attr(data-label);
  margin-left: -15px;
  margin-right: 10px;
}
.footer .footer-sitemap .list-style-custom li a {
  font-size: 14px;
  line-height: 1.5;
}
@media (max-width: 991.98px) {
  .footer .footer-sitemap .col-lg-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    align-items: center;
    column-gap: 20px;
    row-gap: 12px;
    padding-bottom: 1rem;
  }
  .footer .footer-sitemap .col-lg-4 .footer-logo {
    grid-column: 1/-1;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
  }
  .footer .footer-sitemap .footer-label {
    margin-top: 0 !important;
  }
  .footer .footer-sitemap .footer-label .icon {
    vertical-align: middle;
    margin-bottom: 0 !important;
  }
}
.footer .footer-sns {
  background-color: #333;
  padding: 25px 20px;
}
.footer .footer-sns .container {
  max-width: 1200px;
  padding-left: 12px;
  padding-right: 12px;
}
.footer .footer-sns .row {
  margin-left: -12px !important;
  margin-right: -12px !important;
}
.footer .footer-sns [class*=col] {
  padding-left: 12px !important;
  padding-right: 12px !important;
}
.footer .footer-sns img {
  display: block;
}
.footer .pagefooter__legal {
  padding: 30px 20px;
  background-color: #1f1f1f;
  color: #fff;
  font-size: 22px;
  /* 設定父容器為定位基準點，但不改動 row 的 layout */
  /* 針對電腦版 (992px 以上) 進行絕對定位 */
}
.footer .pagefooter__legal .pg-footer__row--custom {
  position: relative !important;
}
@media (min-width: 992px) {
  .footer .pagefooter__legal {
    /* 為了防止文字太長與右側按鈕重疊，可以給文字區塊左右間距 */
  }
  .footer .pagefooter__legal .pg-footer__side-box {
    position: absolute !important;
    right: 0;
    /* 使用 top 50% 配合 translate 達成垂直置中 */
    top: 20%;
    transform: translateY(-50%);
    z-index: 10;
    padding-right: 15px; /* 保持與 container 邊緣的間距 */
  }
  .footer .pagefooter__legal .pg-footer__row--custom > .col-12 {
    padding-left: 110px;
    padding-right: 110px;
  }
}
.footer .pagefooter__legal .pagefooter__legal__copyright {
  font-size: 14px;
  line-height: 1.4;
}
.footer .pagefooter__legal .btn-fooslide {
  color: #f8f8f8;
  text-decoration: none;
  font-size: 14px;
}
.footer .pagefooter__legal .pagefooter__legal__links {
  display: flex;
  margin-bottom: 1rem !important;
}
.footer .pagefooter__legal .pagefooter__legal__links li {
  position: relative;
  padding: 0 10px;
  color: #fff;
  text-decoration: none;
  line-height: 18px;
}
.footer .pagefooter__legal .pagefooter__legal__links li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 12px;
  background-color: #fff;
}
.footer .pagefooter__legal .pagefooter__legal__links li a {
  color: #f8f8f8;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
}
.footer .pagefooter__legal .pagefooter__legal__links__item {
  border-right: 0;
  margin-top: 0;
}

.main.container-fluid {
  margin-top: 54px;
}

.main + .container {
  max-width: 1200px;
  padding-left: 12px;
  padding-right: 12px;
}
.main + .container .row {
  margin-left: -12px !important;
  margin-right: -12px !important;
}
.main + .container [class*=col] {
  padding-left: 12px !important;
  padding-right: 12px !important;
}

.link-block {
  padding: 20px;
  height: 100%;
  text-align: center;
  border: 1px solid #ccc;
  display: block;
  width: 100%;
}
.link-block:hover svg path {
  fill: #007bff;
  transition: fill 0.3s ease;
}
.link-block:hover .h4 {
  color: #007bff;
  transition: color 0.3s ease;
}
.link-block .h4 {
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 27px;
  letter-spacing: 3px;
  color: #333;
}

@media (min-width: 992px) {
  .container {
    max-width: 900px;
  }
  .header-d .header-top {
    min-height: 60px;
    padding: 25px 15px 25px 15px;
    width: 100%;
    background-color: #0a0a0a;
  }
  .header-d .header-top .logo {
    padding-left: 10px !important;
  }
  .header-d .header-top .logo img {
    height: 16px;
  }
  .header-d .header-top .toplink a {
    color: #f2f2f2;
    text-decoration: none;
  }
  .header-d .header-top .toplink a:hover {
    color: #1776e8;
  }
  .header-d .header-bot {
    background-color: #FFFFFF;
  }
  .header-d .header-bot ul.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    /* justify-content: flex-end; // 如果要靠右對齊可開啟 */
  }
  .header-d .header-bot ul.menu-list li {
    /* 將間距統一由 li 管理，a 標籤保持乾淨 */
    margin-right: 40px;
  }
  .header-d .header-bot ul.menu-list li:last-child {
    margin-right: 0;
  }
  .header-d .header-bot ul.menu-list li a {
    position: relative;
    text-decoration: none;
    font-family: "PingFang TC", "Microsoft JhengHei", sans-serif; /* 套用你之前的字體設定 */
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    color: #474747;
    height: 56px;
    line-height: 56px;
    display: inline-block;
    cursor: pointer;
    transition: color 0.3s;
    /* 優化底線效果 */
  }
  .header-d .header-bot ul.menu-list li a::after {
    content: ""; /* 必須加上 content 才會顯示 */
    display: block;
    position: absolute;
    bottom: 2px; /* 向上微調，避免貼齊容器邊緣 */
    left: 0;
    right: 0;
    height: 2px;
    background: #107dfd;
    opacity: 0; /* 預設透明 */
    transition: opacity 0.3s, transform 0.3s;
    transform: translateY(5px); /* 初始位移，做出由下往上浮現感 */
  }
  .header-d .header-bot ul.menu-list li a:hover::after {
    opacity: 1;
    transform: translateY(0);
  }
  .header-d .header-bot ul.menu-list li a.active::after {
    opacity: 1;
    transform: translateY(0);
  }
  .header-d .submenu {
    position: relative;
    top: 0; /* 對應設定的 header-bot 高度 */
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    display: none; /* 初始隱藏 */
    padding: 20px;
  }
  .header-d .submenu .brick-pd {
    background: linear-gradient(rgb(231, 254, 255), rgb(222, 237, 255));
  }
  .header-d .submenu .h4 {
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 27px;
    letter-spacing: 3px;
    color: #646464;
  }
  .header-d .submenu a {
    color: #646464;
    text-decoration: none;
    text-align: center;
    font-size: 0.9rem;
  }
  .header-d .submenu a p {
    padding-top: 4px;
    line-height: 1.2rem;
  }
  .header-d .submenu a:hover {
    color: #0056b3;
  }
  .header-d .submenu .header-label {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
  }
  .header-d .submenu .category-link {
    text-align: left;
    display: block;
    width: 100%;
    font-size: 1rem;
    border-bottom: 1px solid #c3dfeb;
  }
  .link-block {
    padding: 20px;
    height: 100%;
    text-align: center;
    border: 1px solid #ccc;
    display: block;
    width: 200px;
  }
  .link-block:hover svg path {
    fill: #007bff;
    transition: fill 0.3s ease;
  }
  .link-block:hover .h4 {
    color: #007bff;
    transition: color 0.3s ease;
  }
  .link-block .h4 {
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 27px;
    letter-spacing: 3px;
    color: #646464;
  }
}
@media (min-width: 1200px) {
  .main.container-fluid {
    margin-top: 110px;
  }
  .container {
    max-width: 1200px;
  }
}
/* 在你的 style 標籤或 CSS 檔中 */
.table {
  --bs-table-color: #646464;
}

#top_div {
  position: fixed;
  bottom: 80px;
  right: 5%;
  display: none;
  width: 45px;
  height: 45px;
  background-color: #a5a5a5;
  cursor: pointer;
  z-index: 9999;
}

#top_div:hover {
  background-color: #878787;
}

.gotop {
  display: block;
  margin: 15px auto;
}

/*# sourceMappingURL=css.css.map */
