Fm:root {
  --body-color: #ffffff;
  --main-color: #ffffff;
  --sub-color: #000000;
  --third-color: #e2001a;
  --main-color-dark: #038fa5;
  --text-p-color: #191919;
  --tbt-color: #1853a0;
  --bg-color: #fff;
  --cata-color: #526366;
  --sectionpd: 3.5em;
  --rowpd: 1.5em;
  --titlepd: 1em;
  --ppd: 0.5em;
  --bigtitle: 1.5rem;
}

@media screen and (min-width: 768px) {
  :root {
    --sectionpd: 4em;
    --rowpd: 2em;
    --titlepd: 2em;
    --ppd: 1em;
  }
}

@media screen and (min-width: 950px) {
  :root {
    --sectionpd: 5em;
    --rowpd: 2em;
    --titlepd: 2em;
    --ppd: 1em;
    --bigtitle: 1.8rem;
  }
}

@media screen and (min-width: 1024px) {
  :root {
    --sectionpd: 6em;
    --rowpd: 3em;
    --titlepd: 2em;
    --ppd: 1em;
    --bigtitle: 2rem;
  }
}

@media screen and (min-width: 1280px) {
  :root {
    --sectionpd: 8em;
    --rowpd: 3em;
    --titlepd: 2em;
    --ppd: 1em;
    --bigtitle: 2.2rem;
  }
}

@media screen and (min-width: 1360px) {
  :root {
    --sectionpd: 10em;
    --rowpd: 3em;
    --titlepd: 2em;
    --ppd: 1em;
    --bigtitle: 2.5rem;
  }
}
/*FONTS===============================*/
@font-face {
	font-family: Helvetica Neue;
	src: url(../../_font/HN/HN35Thin.woff2) format("woff2"), url(../../_font/HN/HN35Thin.woff) format("woff");
	font-weight: 300;
  font-style: light;
}
@font-face {
	font-family: Helvetica Neue;
	src: url(../../_font/HN/HN45Light.woff2) format("woff2"), url(../../_font/HN/HN45Light.woff) format("woff");
	font-weight: 400;
	font-style: normal
}
@font-face {
	font-family: Helvetica Neue;
	src: url(../../_font/HN/HN46LightItalic.woff2) format("woff2"), url(../../_font/HN/HN46LightItalic.woff) format("woff");
	font-weight: 400;
	font-style: italic
}
@font-face {
	font-family: Helvetica Neue;
	src: url(../../_font/HN/HN55Roman.woff2) format("woff2"), url(../../_font/HN/HN55Roman.woff) format("woff");
	font-weight: 500;
  font-style: medium;
}
@font-face {
	font-family: Helvetica Neue;
	src: url(../../_font/HN/HN65Bold.woff2) format("woff2"), url(../../_font/HN/HN65Bold.woff) format("woff");
	font-weight: 700;
  font-style: bold;
}
@font-face {
	font-family: Helvetica Neue;
	src: url(../../_font/HN/HN95Black.woff2) format("woff2"), url(../../_font/HN/HN95Black.woff) format("woff");
	font-weight: 900;
  font-style: black;
}
@font-face {
  font-display: swap; 
  font-family: 'Noto Sans TC';
  font-style: normal;
  font-weight: 400;
  src: url('../../_font/NotoSansTC/NotoSansTC-regular.woff2') format('woff2'); 
}
@font-face {
  font-display: swap; 
  font-family: 'Noto Sans TC';
  font-style: normal;
  font-weight: 500;
  src: url('../../_font/NotoSansTC/NotoSansTC-500.woff2') format('woff2'); 
}
@font-face {
  font-display: swap; 
  font-family: 'Noto Sans TC';
  font-style: normal;
  font-weight: 600;
  src: url('../../_font/NotoSansTC/NotoSansTC-600.woff2') format('woff2'); 
}
@font-face {
  font-display: swap; 
  font-family: 'Noto Sans TC';
  font-style: normal;
  font-weight:700;
  src: url('../../_font/NotoSansTC/NotoSansTC-700.woff2') format('woff2'); 
}
@font-face {
  font-display: swap; 
  font-family: 'Noto Sans TC';
  font-style: normal;
  font-weight: 800;
  src: url('../../_font/NotoSansTC/NotoSansTC800.woff2') format('woff2'); 
}

ul,
li {
  list-style: none;
}

dd {
  padding-left: 0px;
  float: left;
  margin-left: 0px;
}

* {
  margin: 0;
  padding: 0;
}

.site-red {
  color: #ff0000;
}
.site-blue {
  color: var(--bs-primary);
}

.site-textline {
  position: relative;
  padding-bottom: 0.5rem;
}

.site-textline::after {
  content: "2111";
  background-color: #000000;
  height: 2px;
  width: 0%;
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
}
.text-slogan {
  color: #000000;
  font-size: var(--bigtitle);
  font-weight: bolder;
  line-height: normal;
}


.fontb,
.ch {
  font-family: "NotoSansTC";
}

.en {
  font-family: "Arial", serif;
}

.black {
  color: #000;
}

.nolingheight {
  line-height: normal;
}

.num-ol {
  list-style-type: none;
  counter-reset: item;
  padding-left: 0;
}

.num-ol li::before {
  content: counter(item) ". ";
  counter-increment: item;
}

/*body------------------------------
------------------------------------*/
body {
  font-size: 1em;
  min-height: 100vh;
  overflow-y: auto;
  font-weight: normal;
  background-color: #ffffff;
  color: var(--text-p-color);
}

.bodywrapper {
  width: 100%;
  max-width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
}

.sectionbigpt {
  z-index: 2;
  margin-bottom: var(--sectionpd) * 2;
  margin-top: var(--sectionpd) * 2;
}

.sectionmt {
  z-index: 2;
  margin-top: var(--sectionpd);
}

.sectionpt {
  z-index: 2;
  padding-top: var(--sectionpd);
}

.sectionpb {
  padding-bottom: var(--sectionpd);
}

.sectionmb {
  margin-bottom: var(--sectionpd);
}

.pc {
  display: none;
}

.mobile {
  display: block;
}

@media screen and (min-width: 768px) {
  body {
    font-size: 1em;
  }

  .pc {
    display: block;
  }

  .mobile {
    display: none;
  }
}

/* ---------------------------------------------------------
  Header (.site-header[-*])
----------------------------------------------- */
.site-header {
  background-color: transparent;
  position: fixed;
  top: 0px;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 18px 24.36px;
  transition: all 0.3s ease;
  align-items: center;
}
.site-header.border-b {
  border-bottom: 1px solid rgba(136, 136, 136, 0.2) !important;
}
.site-header.white {
  background-color: #fff; 
   border-bottom: 1px solid rgba(136, 136, 136, 0.2);
}

.site-header:hover {
  background-color: #fff;
   
}

.site-header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}

/* 手機版漢堡選單 */
.site-header__mobile-btn {
  width: 24px;
  height: 24px;
  position: relative;
  cursor: pointer;
  z-index: 101;
  order: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.menu-line {
  width: 100%;
  height: 2px;
  background-color: #fff;
  transition: all 0.3s ease;
}

.white .menu-line,
.site-header:hover .menu-line {
  background-color: #191919;
}

/* 菜單按鈕激活狀態 - X形狀 */
.site-header__mobile-btn.active .menu-line-1 {
  transform: translateY(5px) rotate(45deg);
}

.site-header__mobile-btn.active .menu-line-2 {
  transform: translateY(-5px) rotate(-45deg);
}

/* LOGO區域 */
.site-header__left {
  width: 150px;
  flex-shrink: 0;
  order: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.site-header__logo {
  display: block;
}

.site-header__logo .logo {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

.white .site-header__logo .logo,
.site-header:hover .site-header__logo .logo {
  filter: none;
}

/* 右側功能區 - 搜尋按鈕 */
.site-header__right {
  display: flex;
  align-items: center;
  gap: 8px;
  order: 3;
}

.site-header__icon {
  width: 19.5px;
  height: 20.25px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.site-header__icon:hover {
  opacity: 0.8;
}

.site-header__icon .icon {
  width: 100%;
  height: 100%;
  filter: brightness(0) invert(1);
  transition: all 0.3s ease;
}

.white .site-header__icon .icon,
.site-header:hover .site-header__icon .icon {
  filter: none;
}

.site-header__icon-m {
  color: var(--text-p-color);
  filter: none;
}
/* 社交媒體按鈕和語言選擇區 - 手機版隱藏 */
.site-header__social,
.site-header__lang {
  display: none;
}

/* 中間選單區 - 手機版隱藏 */
.site-header__center {
  display: none;
}

/* 響應式調整 - 由小到大 */
@media screen and (min-width: 576px) {
  .site-header__container {
    padding: 0 30px;
  }

  .site-header__left {
    width: 140px;
  }
}

@media screen and (min-width: 768px) {
  .site-header__left {
    width: 150px;
  }
}

@media screen and (min-width: 992px) {
  .site-header__left {
    width: 160px;
  }
}

@media screen and (min-width: 1280px) {
  /* 桌面版佈局調整 */
  .site-header__container {
    padding: 0 50px;
  }

  .site-header__mobile-btn {
    display: none;
  }

  .site-header__left {
    width: 174px;
    order: 1;
    justify-content: flex-start;
  }

  .site-header__center {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    order: 2;
  }

  .site-header__menu {
    display: flex;
    align-items: center;

    margin: 0;
    padding: 0;
    list-style: none;
  }

  .site-header__menu li {
    position: relative;
    padding: 8px 0;
  }

  .mnav {
    font-weight: 400;
    font-size: 0.92rem;
    color: #fff;
    text-transform: uppercase;
    padding: 5px 0;
    position: relative;
    transition: all 0.3s ease;
  }

  .white .mnav,
  .site-header:hover .mnav {
    color: #191919;
  }

  /* 添加主選單項目的hover下劃線效果 */

  /* 下拉選單 */
  .wrapper-subnavi {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    background-color: #fff;
    /*  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); */
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 100;
    border-radius: 0;
    overflow: visible;
  }

  .site-header__menu li:hover .wrapper-subnavi {
    visibility: visible;
    opacity: 1;
  }

  .wrapper-subnavi--in {
    width: 100%;
  }

  .col-subnavi__navi {
    flex: 1;
    min-width: 100%;
    display: flex;
    flex-direction: column;
  }

  .col-subnavi__img {
    flex: 1;
    height: 100%;
    overflow: hidden;
  }

  .subnavi-link-cat {
    font-weight: 600;
    font-size: 18px;
    color: #191919;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
  }

  .subnavi-link {
    font-weight: 400;
    font-size: 0.95rem;
    color: #191919;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1rem;
    opacity: 1;
  }

  .subnavi-link:hover,
  .submenu-item:hover > .subnavi-link {
    background-color: rgba(232, 232, 232, 0.5);
    opacity: 1;
  }

  .subnavi-link::after {
    content: "";
    display: none;
    width: 10px;
    height: 10px;
    background-image: url(../img/all/icon-right.svg);
    background-repeat: no-repeat;
    background-size: contain;
    transition: all 0.3s ease;
    position: relative;
    top: -2px;
  }

  /* 有子菜單的項目使用向右箭頭 */
  .subnavi-link.has-child::after {
    display: block;
    background-image: url(../img/all/icon-right.svg);
  }
  /* 修改選擇器,讓hover和第三層選單出現時都保持箭頭旋轉 */
  .subnavi-link.has-child:hover::after,
  .submenu-item:hover > .subnavi-link.has-child::after {
    transform: rotate(180deg);
    transition: all 0.3s ease;
  }
  /* 新的ul li結構樣式 */
  .main-submenu {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .submenu-item {
    position: relative;
    width: 100%;
    padding: 0 !important;
    margin-top: -0.8px;
    border-top: 0.8px solid #ededed;
    border-bottom: 0.8px solid #ededed;
    border-right: 0.8px solid #ededed;
    border-left: 0.8px solid #ededed;
  }

  /* 第三級菜單定位與顯示 */
  .third-level-menu {
    position: absolute;
    left: 100%;
    top: 0;
    width: 200px;
    background-color: #fff;
    /*   box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); */
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 999;
    padding: 0;
    margin: 0;
    list-style: none;
    pointer-events: none;
    margin-left: -1px;
  }

  /* 當第二級菜單被hover時，顯示第三級菜單 */
  .submenu-item:hover > .third-level-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  /* 第三級菜單項目樣式 */
  .third-level-menu li {
    display: block;
    width: 100%;
    margin-top: -0.8px;
    border-top: 0.8px solid #ededed;
    border-bottom: 0.8px solid #ededed;
    border-right: 0.8px solid #ededed;
    border-left: 0.8px solid #ededed;
    padding: 0 !important;
  }

  /*  .third-level-menu li:last-child {
    border-bottom: none;
  } */

  .third-level-link {
    font-weight: 400;
    font-size: 15px;
    color: #191919;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 0.7rem 1rem;
  }

  .third-level-link:hover {
    background-color: rgba(232, 232, 232, 0.5);
  }

  /* 確保第三級菜單的項目沒有右側箭頭 */
  .third-level-link::after {
    display: none !important;
  }

  .site-header__right {
    gap: 20px;
    order: 3;
    justify-content: flex-end;
  }

  .site-header__social {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .site-header__lang {
    display: block;
    position: relative;
  }

  .nav-lang {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    transition: all 0.1s ease;
  }

  .white .nav-lang,
  .site-header:hover .nav-lang {
    color: #191919;
  }

  .nav-lang a {
    color: inherit;
    text-decoration: none;
    transition: all 0.1s ease;
  }

/*   .nav-lang a.active {
    color: var(--third-color);
    font-weight: 700;
  }

  .nav-lang a:hover {
    color: var(--third-color);
  } */
}

/*FOOTER*/
.site-footer {
  position: relative;
  overflow: hidden;
  font-size: 1em;
  padding: 37px 66px 102px;
  background-color: #23293c;
  color: #fff;
}
.site-footer_info {
  flex: 1 1;
}
.site-footer__logo {
  padding-bottom: 50px;
}
.site-footer__content {
  padding-bottom: 50px;
}
@media screen and (min-width: 768px) {
  .site-footer__content {
    padding-left: 6.53%;
  }
}
@media screen and (min-width: 950px) {
  .site-footer {
    padding: 57px 182px 138px 80px;
  }
  .site-footer__logo {
    padding-top: 3px;
  }
}

.site-footer__logo-img {
  width: 105px;
  filter: brightness(0) invert(1);
}

/* 新的footer样式 */
.footer-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 0px;
}
.footer-title.active {
  border-bottom: 1px solid #fff;
}
.footer-subtitle {
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.6em;
  border-bottom: 1px solid rgba(255, 255, 255, 0);
}
.footer-subtitle.active,
a .footer-subtitle:hover {
  border-bottom: 1px solid rgba(255, 255, 255, 1);
}
.footer-text {
  color: #a8a8a8;
  font-weight: 400;
  font-size: 12.19px;
  line-height: 1.23em;
  margin-bottom: 0;
}

.footer-links {
  list-style: none;
  margin: 0;
}

.footer-links li a {
  color: #a8a8a8;
  font-weight: 400;
  font-size: 12.19px;
  line-height: 1.64em;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links li a:hover {
  color: #ffffff;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: brightness(0) invert(1);
}

.social-icon {
  width: 20px;
  height: 20px;
}

.copyright {
  color: #a8a8a8;
  font-weight: 400;
  font-size: 12px;
}

/* 移除舊的footer樣式 */
.site-footer__contact_info,
.footername,
.site-footer__icon,
.site-footer__icon:hover,
.site-footer__icon_link,
.site-footer__icon_line,
.site-footer__icon_facebook,
.site-footer a,
.site-footer__icon > a,
.wrapper-footer__groups,
.foorter-groups,
.foorter-groups li,
.foorter-groups li:before,
.foorter-groups > img,
.foorter-groups__inc,
.foorter-groups__inc:before,
.footer-group__arrow,
.footer-group__arrow:hover::before,
.foorter-groups a:hover .footer-group__arrow,
.foorter-groups__electronic,
.foorter-groups__electronic:before,
.foorter-groups__hardware,
.foorter-groups__hardware:before,
.foorter-groups__chaoshin,
.foorter-groups__chaoshin:before,
.footer-group__arrow,
.site-footer__contact_deskphone,
.site-footer__contact_fax,
.site-footer__contact_btn,
.site-footer__contact_map,
.site-footer__contact_btn:hover,
.site-footer__contact_drafts,
.site-footer_info > hr,
.site-footer__copyright,
.site-footer__copyright > a,
.site-footer__copyright:hover,
.site-footer__copyright a:hover,
.site-footer__copyright1:hover {
  /* 保留這些選擇器但移除內容，以防在其他地方有引用 */
}

/* 修正边框颜色 */
.site-footer .border-top {
  border-top-color: rgba(255, 255, 255, 0.2) !important;
}

/*site-title*/
.site-title {
  margin-bottom: var(--titlepd);
  font-weight: 700;
}

.footer-follow li {
  font-size: 1.5rem;
  color: #373f4c;
}

.box-f-t {
  font-weight: bold;
  font-size: 1.35rem;
}

.box-f-w {
  font-weight: bold;
  font-size: 1.1rem;
  text-decoration: none;
}

.box-f-w a {
  text-decoration: none;
}

.container.site-container {
  padding-left: 7%;
  padding-right: 7%;
  max-width: 1360px;
  position: relative;
  z-index: 4;
}

.container.imgs-container {
  padding-left: 2.5em;
  padding-right: 2.5em;
  max-width: 800px;
  position: relative;
  z-index: 4;
}

.box-nav-Banner__title {
  font-size: 2.8rem;
  color: #ffffff;
  padding: 1rem 5rem;
  mix-blend-mode: screen;
  text-transform: uppercase;
}

.box-nav-Banner__title img {
  width: 100%;
}

.box-nav-Banner__des {
  font-size: 1rem;
  padding: 1rem 1rem 8rem 5rem;
  color: #ffffff;
  font-weight: bold;
}

.box-qrcode {
  width: 100px;
}

.wrap-infos {
  margin-left: 0rem;
}

.wrap-infos b {
  margin-right: 0px;
  display: inline-block;
}

.wrap-infos b:after {
  content: ":";
}

.wrap-infos i {
  font-style: normal;
}

.site-container__PT {
  padding-top: 3rem;
}

.site-container__PY {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.site-container__PB {
  padding-bottom: 3rem;
}

@media screen and (min-width: 1024px) {
  .site-header_nav {
    display: none;
  }
}

@media screen and (min-width: 576px) {
  .site-container__PY {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .site-container__PB {
    padding-bottom: 5rem;
  }

  .site-container__PT {
    padding-top: 5rem;
  }

  .site_footer_col-follow {
    margin-left: auto;
  }
}

@media screen and (min-width: 768px) {
  .site-header_li {
    font-size: 1.1rem;
  }

  .site-container__PY {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }

  .site-container__PT {
    padding-top: 8rem;
  }

  .site-container__PB {
    padding-bottom: 8rem;
  }

  .site-header_dl {
    margin: 5em 1em;
  }

  .wrap-infos b {
    margin-right: 20px;
  }

  .wrap-infos b:after {
    content: "";
  }
}

@media screen and (min-width: 950px) {
  .wrap-infos {
    margin-left: 3rem;
  }
}

@media screen and (min-width: 1024px) {
  .site-header__pcnav {
    display: flex;
  }

  .col-infoarea__data {
    margin-left: auto;
  }
}

@media screen and (min-width: 1520px) {
  .site-header__nav--area {
    padding-left: 10rem;
    padding-right: 10rem;
  }

  .site-header_li--in .en {
    font-size: 2em;
  }
}

/* ---------------------------------------------------------
  Mag
----------------------------------------------- */
#mag {
  position: relative;
  cursor: pointer;
  z-index: 101;
  order: 1;
  width: 24px;
  height: 24px;
}

#mag div {
  background-color: transparent;
  height: 1px;
  position: relative;
  border: none;
  outline: none;
  width: 100%;
}

#mag div:before,
#mag div:after {
  background-color: #fff; /* 預設白色 */
  width: 100%;
  height: 2px;
  content: "";
  display: block;
  position: absolute;
  transition: all 0.3s ease;
}

.white #mag div:before,
.white #mag div:after {
  background-color: #191919; /* 滾動後變為黑色 */
}

/* 
 #mag:before {
	width: 100%;
	height: 100%;
	content: "";
	border: 1px solid rgba(215,218,223,1);
	position: absolute;
	top: 0;
	left: 0;
	border-radius: 50%;
	z-index: 0;

}  */

/* #mag:hover {
	transform: scale(1.1);
}
 */

#mag > * {
  border: none;
  outline: none;
}

#mag span {
  position: absolute;
  font-size: 0.8em;
  top: 30%;
  left: calc(50% - 25px);
  width: 50px;
  text-align: center;
  color: #000000;
  font-weight: bold;
}

#mag.active div {
  background-color: transparent;
}

#mag.active div:before {
  top: -1px;
  transform: rotate(45deg);
}

#mag.active div:after {
  bottom: 0;
  transform: rotate(-45deg);
}

/*BTN----------------------------------
------------------------------------------*/
.btn:focus,
.btn:active {
  border: 1px solid !important;
  outline: none !important;
  transform: translateY(0) !important;
  box-shadow: none !important;
}

.btn-i {
  background-color: #ffffff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  margin-left: 10px;
  overflow: hidden;
  position: relative;
}

.btn:hover .btn-i {
  background-color: var(--main-color);
}

.btn-i:before {
  content: "";
  background-image: url(../img/all/btn-arrow.svg);
  background-repeat: no-repeat;
  background-size: 12px auto;
  background-position: center;
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  z-index: 2;
}

.btn-i:after {
  content: "";
  background-image: url(../img/all/btn-arrow-w.svg);
  background-repeat: no-repeat;
  background-size: 12px auto;
  background-position: center;
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  margin-left: -50px;
  z-index: 1;
}

.btn:hover .btn-i:before {
  margin-left: 50px;
}

.btn:hover .btn-i:after {
  margin-left: 0px;
}

.btn.btn-more {
  color: var(--bs-white);
  position: relative;
  background-color: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(3px);
  border: 1px solid #ffffff;
  padding: 0.5rem 0.25rem 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  outline: none; /* 防止點擊時的瀏覽器輪廓線 */
}

.btn.btn-more-dark {
  color: #191919;
  position: relative;
  background-color: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(3px);
  border: 1px solid #191919;
  padding: 0.5rem 0.25rem 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  outline: none; /* 防止點擊時的瀏覽器輪廓線 */
}

.btn.btn-more:active,
.btn.btn-more:focus {
  transform: translateY(0) !important; /* 防止按下時的垂直位移 */
  background-color: rgba(255, 255, 255, 0.03);
}

.btn.btn-more-dark:active,
.btn.btn-more-dark:focus {
  transform: translateY(0) !important; /* 防止按下時的垂直位移 */
  background-color: rgba(255, 255, 255, 0.03);
  color: #191919;
}

.btn-txt span {
  font-size: 13.34px;
  font-weight: 400;
  color: #ffffff;
  position: relative;
  text-wrap: nowrap;
}

.btn.btn-more-dark .btn-txt span {
  color: #191919;
}

.btn-txt.txt-reverse span {
  padding-right: 0px;
  padding-left: 30px;
}

.btn-txt.btn-txt__small span {
  font-size: 0.9rem;
}

.btn-txt.btn-txt__white span {
  color: #ffffff;
}

.btn-txt-arrow {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-left: 30px;
  border: 1px solid #fff;
  border-radius: 10%;
  overflow: hidden;
}

.btn.btn-more-dark .btn-txt-arrow {
  border: 1px solid #191919;
}

.btn-txt-arrow div {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #fff;
}

.btn.btn-more-dark .btn-txt-arrow div {
  background-color: #191919;
}

.btn-txt-arrow div:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../img/all/btn-white.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 15px;
}

.btn.btn-more-dark .btn-txt-arrow div:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../img/all/btn-white.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 15px;
  filter: brightness(0) invert(1);
}

@keyframes moveRight {
  0% {
    left: -40px;
  }
  100% {
    left: 40px;
  }
}

.btn.btn-more:hover .btn-txt-arrow div:before {
  animation: moveRight 0.8s ease-in-out infinite;
}

.btn.btn-more-dark:hover .btn-txt-arrow div:before {
  animation: moveRight 0.8s ease-in-out infinite;
}

.btn.btn-more.w .btn-txt-arrow {
  filter: brightness(0) invert(1);
}

.btn.btn-more:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn.btn-more-dark:hover {
  background-color: rgba(25, 25, 25, 0.1);
}

.btn.btn-more:hover span {
  color: #ffffff;
}
.btn-arrow-left,
.btn-arrow-right {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-left: 30px;
  border: 1px solid #fff;
  border-radius: 10%;
  overflow: hidden;
}
.btn-arrow-left div,
.btn-arrow-right div {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #fff;
}

.btn-arrow-left div:before,
.btn-arrow-right div:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../img/all/arrow-left.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 15px;
}

.btn-arrow-right div:before {
  background-image: url(../img/all/arrow-right.svg);
}
/*editstyle------------------------------------
------------------------------------------*/
.editstyle {
  width: 100%;
  position: relative;
}
.editstyle > * {
  font-size: clamp(14px, 2vw, 14px);
  color: #6a6a6a;
}
.editstyle a {
  color: #666;
  text-decoration: underline;
}

.editstyle table {
  max-width: 100%;
  clear: both;
}

.editstyle img {
  max-width: 100%;
  width: auto;
  height: auto;
}

.responsive-iframe {
  position: relative;
  width: 100%;
  padding-top: 75%;
  /* 4:3 Aspect Ratio */
  overflow: hidden;
}

.responsive-iframe iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.editstyle ul li {
  padding-left: 20px;
  background-image: url(../img/all/dot-title.svg);
  background-repeat: no-repeat;
  background-position: left 5px;
}

.editstyle table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  font-size: 0.9rem !important;
  display: table;
  padding: 0px;
  margin: 0px;
  border-collapse: collapse;
  /* border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none; */
  border: 1px solid var(--bs-gray-400);
  text-wrap: nowrap;
}

.editstyle td {
  display: table-cell;
  padding: 5px;
  border-top-style: none;
  border-right: 1px solid var(--bs-gray-400);
  border-bottom: 1px solid var(--bs-gray-400);
  border-left-style: none;
  vertical-align: top;
}

/*.editstyle tr:first-child td{
	background-color:var(--third-color);
	color: #f8f1d9;
	text-decoration: none;
	font-weight: bold;
	
	
}
 .editstyle tr:nth-child(even){
	background-color: #00abda;
}
.editstyle tr:nth-child(odd){
	background-color: #00bef3;
} */

.icon-viewall {
  color: #000;
  font-weight: bold;
  cursor: pointer;
}

.viewall-circle {
  border: 1px solid #908b8b;
  background-color: #908b8b;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  vertical-align: middle;
  text-align: center;
}

.viewall-circle i {
  line-height: 50px;
  color: #ffffff;
}

.icon-viewall > * {
  text-wrap: nowrap;
}

.icon-viewall:hover {
  margin-left: 1rem;
}

.icon-viewall__t:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  border-bottom: 1px solid #000000;
  width: 0%;
  display: block;
  opacity: 0;
}

.icon-viewall:hover .icon-viewall__t:after {
  width: 100%;
  opacity: 1;
}
.icon-list__prev,
.icon-list__next {
  flex: 0 0 auto;
  width: 150px;
  background-size: 20px auto;
  background-repeat: no-repeat;
  border: 1px solid var(--bs-gray-300);
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  -moz-transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  -webkit-transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  -ms-transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  -o-webkit-transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.icon-list__prev {
  background-position: left center;
  background-image: url(../img/page/icon-prev.svg);
  color: var(--bs-gray-700);
  padding: 5px 30px 5px 30px;
}
.icon-list__next {
  background-position: right center;
  background-image: url(../img/page/icon-next.svg);
  color: var(--bs-gray-700);
  padding: 5px 30px 5px 30px;
}
.icon-list__back {
  padding: 5px;
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  background-size: 25px auto;
  background-repeat: no-repeat;
  background-image: url(../img/page/icon-list.svg);
  background-position: center;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  -moz-transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  -webkit-transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  -ms-transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  -o-webkit-transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.icon-list__back:hover {
  filter: brightness(70%);
}
.icon-list__prev:hover,
.icon-list__next:hover {
  background-color: var(--bs-gray-200);
  color: #000000;
}
/*others----------------------------------
------------------------------------------*/
.transiA,
a,
.btn,
.site-gotop span:after,
.site-header_li--in .en,
.site-header_li--in .ch01,
.site-header_dt div,
.box-program-icon span:before,
.btn-i:before,
.btn-i:after,
.btn.btn-more span::after,
.btn.btn-more span::before,
#mag,
.site-footer__fllow li,
.site-header__pc--UL li,
.site-header__pc--UL li > *,
.nav-lang:after,
.site-gotop,
.perlist li img,
.perlist li,
.list-file:before,
.sharelist li,
.icon-viewall__t:after,
.circle-dot:after,
.box-spec__mask,
.box-news__arrow i,
.box-news__title,
.btn-site:after,
.ilistseries li div,
.site-textline::after,
.catas li,
.box-pageprolist__title:after,
.box-pageprolist__P img,
.btn-txt-arrow,
.page-list__dot::before,
.page-list__dot::after,
.col-pagelist__w,
.list-file,
.prolist li,
.btn-txt-arrow::after,
.listsubcata li,
.newslist li,
.listsubcata li,
.list-subsolution dt:before,
.nav-lang-arrow:after,
.wrapper-subnavi dt i:after,
.wrapper-subnavi dt i:after,
.wrapper-subnavi dt span,
.site-footer__contact_btn,
.site-header__lang--m li {
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  -moz-transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  -webkit-transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  -ms-transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  -o-webkit-transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
/* .listtag:not(:last-child):after{
    content:',';
} */
.nowrap {
  white-space: nowrap;
  display: inline-block;
}

/*IMG*/

img {
  border-top-style: none;
  border-right-style: none;
  border-bottom-style: none;
  border-left-style: none;
}

.miximg {
  mix-blend-mode: multiply;
}

/*---------------------------------share
-------------------------------------*/
.box-share__titile {
  font-size: 0.9rem;
  color: #000;
}

.sharelist li {
  color: #000;
  cursor: pointer;
  border-bottom: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bs-gray-200);
  text-align: center;
}

.sharelist li i {
  width: 40px;
  height: 40px;
  position: relative;
  background-position: center;
  background-size: 13px auto;
  display: block;
  background-repeat: no-repeat;
}

.sharelist li i.fb {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3C!--!Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--%3E%3Cpath d='M80 299.3V512H196V299.3h86.5l18-97.8H196V166.9c0-51.7 20.3-71.5 72.7-71.5c16.3 0 29.4 .4 37 1.2V7.9C291.4 4 256.4 0 236.2 0C129.3 0 80 50.5 80 159.4v42.1H14v97.8H80z'/%3E%3C/svg%3E");
}

.sharelist li i.line {
  background-size: 25px auto;
  background-image: url("data:image/svg+xml,%3Csvg version='1.1' id='圖層_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='85.04px' height='85.04px' viewBox='0 0 85.04 85.04' enable-background='new 0 0 85.04 85.04' xml:space='preserve'%3E%3Cpath d='M7.618,57.257h0.199h0.059h11.708c1.702,0,3.095-1.392,3.095-3.094v-0.259c0-1.702-1.393-3.095-3.095-3.095h-8.614V31.211 c0-1.702-1.393-3.094-3.095-3.094H7.618c-1.702,0-3.094,1.392-3.094,3.094v22.951C4.523,55.865,5.916,57.257,7.618,57.257 L7.618,57.257z M81.77,42.871v-0.258c0-1.703-1.392-3.095-3.094-3.095h-8.614v-4.899h8.614c1.702,0,3.094-1.393,3.094-3.095v-0.258 c0-1.703-1.392-3.095-3.094-3.095H66.967h-0.06h-0.199c-1.701,0-3.094,1.392-3.094,3.095v22.95c0,1.703,1.393,3.096,3.094,3.096 h0.199h0.06h11.709c1.702,0,3.094-1.393,3.094-3.096v-0.258c0-1.702-1.392-3.094-3.094-3.094h-8.614v-4.9h8.614 C80.378,45.966,81.77,44.573,81.77,42.871L81.77,42.871z M58.757,56.335l0.001-0.002c0.552-0.56,0.895-1.326,0.895-2.17V31.212 c0-1.702-1.392-3.094-3.096-3.094H56.3c-1.703,0-3.095,1.392-3.095,3.094v13.473L42.02,29.683c-0.534-0.934-1.54-1.565-2.687-1.565 h-0.258c-1.702,0-3.095,1.392-3.095,3.094v22.951c0,1.702,1.392,3.095,3.095,3.095h0.258c1.702,0,3.094-1.393,3.094-3.095V40.438 l11.266,15.387c0.069,0.107,0.145,0.211,0.227,0.31v0.001c0.311,0.423,0.733,0.712,1.205,0.889c0.362,0.15,0.759,0.232,1.174,0.232 h0.258c0.521,0,1.014-0.131,1.446-0.36C58.313,56.749,58.573,56.559,58.757,56.335L58.757,56.335z M28.271,57.257h0.258 c1.702,0,3.094-1.392,3.094-3.094V31.211c0-1.702-1.392-3.094-3.094-3.094h-0.258c-1.702,0-3.095,1.392-3.095,3.094v22.952 C25.176,55.865,26.569,57.257,28.271,57.257z'/%3E%3C/svg%3E");
}

.sharelist li i.slink {
  background-size: 20px auto;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3E%3C!--!Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--%3E%3Cpath d='M579.8 267.7c56.5-56.5 56.5-148 0-204.5c-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6c31.5 31.5 31.5 82.5 0 114L422.3 334.8c-31.5 31.5-82.5 31.5-114 0c-27.9-27.9-31.5-71.8-8.6-103.8l1.1-1.6c10.3-14.4 6.9-34.4-7.4-44.6s-34.4-6.9-44.6 7.4l-1.1 1.6C206.5 251.2 213 330 263 380c56.5 56.5 148 56.5 204.5 0L579.8 267.7zM60.2 244.3c-56.5 56.5-56.5 148 0 204.5c50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5L217.7 177.2c31.5-31.5 82.5-31.5 114 0c27.9 27.9 31.5 71.8 8.6 103.9l-1.1 1.6c-10.3 14.4-6.9 34.4 7.4 44.6s34.4 6.9 44.6-7.4l1.1-1.6C433.5 260.8 427 182 377 132c-56.5-56.5-148-56.5-204.5 0L60.2 244.3z'/%3E%3C/svg%3E");
}

.sharelist li {
  background-color: var(--bs-gray-200);
}

.sharelist li:hover {
  background-color: var(--bs-gray-400);
}

.btn-site {
  position: relative;
  margin-top: 1rem;
  background: linear-gradient(
    to right,
    rgba(189, 37, 45, 1) 0%,
    rgba(255, 184, 0, 1) 100%
  );
  border: none;
  overflow: hidden;
}

.btn-site:after {
  top: 0;
  left: -100%;
  content: "";
  width: 150%;
  height: 150%;
  display: block;
  position: absolute;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(189, 37, 45, 1) 0%,
    rgba(255, 184, 0, 1) 100%
  );
  opacity: 0;
}

.btn-site:hover:after {
  left: 0px;
  opacity: 1;
}

/*wrapper-detail*/
.wrapper-detail {
  font-size: 1.1em;
  letter-spacing: normal;
  line-height: 1.8;
  margin-bottom: var(--sectionpd);
  max-width: 100%;
  overflow-x: auto;
  word-break: break-all;
}

.box-detail__T {
  color: var(--bs-secondary);
  font-weight: bold;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: var(--rowpd);
  line-height: normal;
}

.wrapper-fileShare {
  border-top: 1px solid var(--bs-border-color-translucent);
  border-bottom: 1px solid var(--bs-border-color-translucent);
  padding-left: 5%;
  padding-right: 5%;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.wrapper-file {
  background-color: #ffffff;
  border-radius: 5px;
  /* box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 8px; */
  padding: 2rem 0rem;
  border-top: 1px dashed var(--bs-gray-200);
  border-bottom: 1px dashed var(--bs-gray-200);
}

.list-file {
  color: var(--bs-gray-700);
  font-size: 0.9rem;
  padding: 1rem 0;
  position: relative;
}

.wrapper-file a:not(:last-child) .list-file {
  border-bottom: 1px dashed rgb(85, 92, 102, 0.2);
}

.list-file:hover {
  color: var(--main-color);
}

.col-file__dot {
  width: 20px;
  background-repeat: no-repeat;
  position: relative;
  background-image: url(../img/all/arrow_down.svg);
  background-size: 12.5px;
  background-position: left 3.5px center;
  background-color: var(--main-color);
  border-radius: 5px;
}

.divided-line {
  border-right: 1px solid var(--bs-border-color);
  width: 1px;
}

/*
*other
*/
.wrapper-other {
  margin-top: var(--sectionpd);
  padding-left: 5%;
  padding-right: 5%;
}

.col-file__t {
  color: var(--bs-secondary);
  font-size: 0.9rem;
  text-wrap: nowrap;
}

.col-othback {
  flex: 0 0 auto;
  width: 100%;
  text-align: center;
}

.col-othpre,
.col-othnext {
  flex: 0 0 auto;
  width: 100%;
  position: relative;
}

.col-othpre {
  padding-left: 45px;
}

.col-othnext {
  padding-right: 45px;
}

.col-othpre:before {
  position: absolute;
  left: 0;
  content: "";
  background-image: url(../img/page/icon-prev.svg);
  width: 40px;
  height: 14px;
  background-size: cover;
  display: block;
}

.col-othnext:before {
  position: absolute;
  right: 0;
  content: "";
  background-image: url(../img/page/icon-next.svg);
  width: 40px;
  height: 14px;
  background-size: cover;
  display: block;
}

.col-othnext {
  text-align: right;
}

.col-othback a,
.col-othpre a,
.col-othnext a {
  color: var(--bs-gray-500);
}

.col-othback a:hover,
.col-othpre a:hover,
.col-othnext a:hover {
  color: var(--bs-gray-900);
}

@media screen and (min-width: 576px) {
  .col-othback {
    width: 40px;
  }

  .col-othpre,
  .col-othnext {
    width: calc(50% - 20px);
  }
}

/*LOADMORE===================================*/
.show-more {
  width: 100vw;
  text-align: center;
  padding: 10px;
  color: #fff;
  display: none;
  background-image: url(../img/all/loading.png);
  background-repeat: no-repeat;
  background-position: center center;
  height: 100vh;
  background-size: 50px auto;
  position: fixed;
  bottom: 0px;
  background-color: rgba(255, 255, 255, 0.3);
}

#load-more {
  max-width: 200px;
  text-align: center;
  padding: 10px;
  color: #fff;
  position: relative;
  clear: both;
  background-color: #000000;
  margin: 10px auto;
  cursor: pointer;
}

.show-more span {
  color: #15181e;
  padding-bottom: 50px;
  color: #55438a;
}

/*TOOLTIP===================*/
.box_share input {
  -moz-appearance: none;
  -webkit-appearance: none;
  position: absolute;
  top: -10000em;
  left: -10000em;
  opacity: 0;
}

.sharelink {
  position: relative;
  cursor: pointer;
}

.sharelink .tooltiptext,
.sharelinkproject .tooltiptext {
  visibility: hidden;
  width: 100px;
  background-color: #000000;
  color: #ffffff;
  text-align: center;
  border-radius: 6px;
  padding: 0px;
  position: absolute;
  z-index: 1;
  bottom: -20px;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 10px;
}

.sharelink:hover .tooltiptext,
.sharelinkproject:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/*TOOLTIPEND==================*/

/*LOADMOREEND=====================================*/
/*PAGENUM========================================*/
.pagenum {
  max-width: 1000px;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 50px;
  padding-bottom: 100px;
  color: var(--bs-gray-500);
  font-size: 0.9rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  gap: 1rem;
}

.pagenum li {
  font-size: 0.9rem;
  color: var(--bs-gray-900);
  text-decoration: none;
  display: inline-block;
  text-align: center;
  font-weight: bold;
  cursor: pointer;
  vertical-align: middle;
  letter-spacing: 0em;
  word-spacing: 0em;
  margin-top: 10px;
  /* border: 1px solid #eff0f2; */
  padding: 5px;
  min-width: 25px;
  margin-right: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
}

.pagenum .first {
  width: 50px;
  height: 30px;
  background-image: url(../img/page/icon-first.svg);
  background-repeat: no-repeat;
  background-size: 30px auto;
  background-position: right center;
}

.pagenum .pre {
  width: 50px;
  height: 30px;
  background-image: url(../img/page/icon-prev.svg);
  background-repeat: no-repeat;
  background-size: 30px auto;
  background-position: right center;
}

.pagenum .last {
  width: 50px;
  height: 30px;
  background-image: url(../img/page/icon-last.svg);
  background-repeat: no-repeat;
  background-size: 30px auto;
  background-position: left center;
}

.pagenum .next {
  width: 50px;
  height: 30px;
  background-image: url(../img/page/icon-next.svg);
  background-repeat: no-repeat;
  background-size: 30px auto;
  background-position: left center;
}

.pagenum li a {
  color: #172148;
  text-decoration: none;
}

.pagenum li:hover {
  color: #000000;
}

.pagenum .nowp:hover {
  color: #fff;
}

.pagenum .nowp {
  background-color: var(--bs-primary);
  color: #fff;
  min-width: 30px;
  height: 30px;
  /* 	border-radius: 50%; */
}

@media screen and (max-width: 800px) {
  .pagenum {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

/*PAGENUMEND========================================*/

/*wrapper-subnavi*/
.wrapper-subnavi {
  position: absolute;
  top: 139%;
  left: 50%;
  width: 190px;
  background-color: #fff;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 5;
}

.site-header__menu li:hover .wrapper-subnavi {
  visibility: visible;
  opacity: 1;
}

.col-subnavi__title {
  margin-bottom: 15px;
}

.box-subnavi__en {
  font-weight: 700;
  font-size: 16px;
  color: #000;
  text-transform: uppercase;
}

.box-subnavi__ch {
  font-weight: 400;
  font-size: 14px;
  color: #666;
}

.wrapper-subnavi dt {
  padding: 8px 0;
  position: relative;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.wrapper-subnavi dt span {
  color: #191919;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.wrapper-subnavi dt i {
  position: relative;
  margin-left: 10px;
  width: 15px;
  height: 15px;
  transition: all 0.3s ease;
}

.wrapper-subnavi dt:hover span {
  opacity: 1;
}

/* 移動端菜單樣式 */
.site-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 98;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}

.site-overlay.active {
  visibility: visible;
  opacity: 1;
}

.site-header_navcontent {
  position: fixed;
  top: 0;
  left: -100%;
  height: 100vh;
  width: 100%;
  background-color: #fff;
  overflow-y: auto;
  z-index: 150;
  transition: left 0.3s ease;

  padding: 14.5px 29px 14.5px 26px;
}

.site-header_navcontent.active {
  left: 0;
}
.site-header_navcontent--info {
  margin: 0 -29px 0 -26px;
  padding: 0 29px 1rem 26px;
  /*  box-shadow: 0px 3px 2px rgba(0, 0, 0, 0.1); */
}
.site-header__lang--m {
  font-weight: 600;
  font-size: 16px;
}

.site-header__lang--m a {
  color: #555;
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-header__lang--m a.active {
  color: #000;
  font-weight: 700;
}

.site-header__lang--m a:hover {
  color: #000;
}

/* 側邊選單導航項目 */
.site-header_ul {
  list-style: none;
  padding-top: 1rem;
  margin: 0;
}

.site-header_li {
  margin-bottom: 18px;

  padding-bottom: 18px;
}

.site-mb__mainnavi {
  font-weight: 700;
  font-size: 18px;
  color: #191919;
  cursor: pointer;
  position: relative;
}

/* 帶有子選單的項目 */
.mhassub .site-mb__mainnavi {
  position: relative;
  padding-right: 20px;
}

.mhassub .site-mb__mainnavi:after {
  /* content: ""; */
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  background-image: url(../img/all/arrow-down.svg);
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

.mhassub.active .site-mb__mainnavi:after {
  transform: translateY(-50%) rotate(180deg);
}

/* 子選單樣式 */
.site-mb__subnavi {
  display: none;
  background-color: #efefef;
  margin: 16px -26px 16px -26px;
  padding: 16px 26px;
  transform-origin: top center;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.site-mb__mainnavi a {
  color: #191919;
}
.site-mb__subnavi dt {
  font-size: 16px;
  margin-bottom: 12px;
  color: var(--text-p-color);
  transition: color 0.3s ease;
  font-weight: 400;
}

.site-mb__subnavi dt:hover {
  color: #000;
}

.mhassub.active .site-mb__subnavi {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* 遮罩層 */
.site-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99;
  display: none;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.site-overlay.active {
  display: block;
  opacity: 1;
}

/*search*/
.site-header__search-icon {
  cursor: pointer;
}
#topopensearch {
  background-color: #ffff;
  width: 100%;
  height: 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  color: #191919;
  overflow: hidden;
  transition: height 0.3s ease-in-out;

}

#topopensearch.active {
  height: 100vh;
}

/* 搜索面板樣式 */
.search-panel__container {
  position: relative;
  width: 100%;
}

.search-panel__info {
  padding: 15px 26px;
  box-shadow: 0px 3px 2px rgba(0, 0, 0, 0.1);
}

.search-panel__input-wrapper {
  width: 100%;
}

.search-panel__input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 16px;
  background-color: transparent;
  font-weight: 600;
  color: #888888;
}

.search-panel__input::placeholder {
  color: #888888;
}
.search-panel__close {
  position: relative;
  cursor: pointer;
}
.search-panel__icon-wrapper {
  padding-right: 12px;
}
.search-panel__icon {
  width: 15.6px;
  height: 16.4px;
}

.icon-close-search {
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.search-panel__title {
  font-weight: 700;
  font-size: 20px;
  color: #191919;
  letter-spacing: 0.1em;
  line-height: 1.48;
  margin-bottom: 0;
}

.search-panel__popular {
  padding: 0 26px;
  margin-top: 5%;
}

.search-panel__tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 25px;
}

.search-panel__tag {
  display: inline-block;
  padding: 10px;
  border: 1px solid #e2001a;
  border-radius: 0;
  color: #e2001a;
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 0.15em;
  line-height: 1.375;
  font-weight: 400;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.search-panel__tag:hover {
  color: #888888;
  border: 1px solid #888888;
  opacity: 1;
}

/* 桌面版樣式調整 */
@media screen and (min-width: 768px) {
  #topopensearch.active {
    height: 80vh;
  }

  .search-panel__close {
    position: absolute;
    top: 30px;
    right: 30px;
  }

  .search-panel__in {
    padding: 5%;
  }
  .search-panel__info {
    padding-left: 0;
    box-shadow: none;
    border-bottom: 1px solid rgba(136, 136, 136, 0.8);
  }
  .search-panel__input {
    font-size: 20px;
  }

  .search-panel__popular {
    padding: 0;
    margin-top: 30px !important;
  }

  .search-panel__tags {
    margin-top: 30px !important;
  }
  .icon-close-search {
    width: 31px;
    height: 31px;
  }
  .search-panel__close {
    width: 21.45px;
    height: 23.14px;
    padding-right: 0;
  }
}

@media screen and (min-width: 1024px) {
  #topopensearch.active {
    height: 50vh;
  }
}

@media screen and (min-width: 1280px) {
  .search-panel__in {
    padding: 5% 10%;
  }

  .search-panel__title {
    font-size: 1.1rem;
  }

  .search-panel__tag {
    font-size: 0.9rem;
    padding: 5px 10px;
  }
}

/*SITE-ITEM*/
.site-item {
  color: #111111;
  font-size: clamp(32px, 5vw, 58px);
  margin-bottom: 2rem;
  position: relative;
  font-weight: bolder;
  line-height: normal;
  font-style: italic;
}

.site-item.site-item__center {
  text-align: center;
}



.site-subitem {
  font-size: 1.5rem;
  font-weight: bold;
  color: #000;
  word-break: break-all;
}

.site-subitem.white {
  color: #ffffff;
}
.site-smileitem {
  font-size: 1rem;
  font-weight: bold;
  font-style: italic;
}
.site-paragraph {
  color: var(--text-p-color);
  font-size: 1.05rem;
  letter-spacing: normal;
  line-height: 1.8;
}
.skewdec {
  transform: skew(-13deg, 0deg);
  background-color: var(--main-color);
}

@media screen and (max-width: 375px) {
  /*限制縮到最小狀況*/
  body,
  html {
    width: 375px;
    overflow-x: hidden;
  }
}

#mag div:before {
  top: -5px;
}

#mag div:after {
  bottom: -5px;
}

/* 桌面版样式调整 */
.site-footer__content ul {
  gap: 30px;
  flex-wrap: wrap;
}

/* 手機版第三級菜單 */
.has-third-level {
  position: relative;
}

.mobile-arrow-down {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  background-image: url(../img/all/icon-down.svg);
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform 0.3s ease;
}

.has-third-level:hover .mobile-arrow-down {
  transform: translateY(-50%) rotate(180deg);
}

.site-mb__third-level {
  display: none;
  border-radius: 4px;
  padding: 8px 0;
}

.site-mb__third-level dd {
  padding: 6px 0 6px 15px;
  margin: 0;
  font-size: 14px;
  color: #444;
  transition: color 0.3s ease;
}

.site-mb__third-level a:hover dd {
  color: #000;
}

/* 新的手機版ul li菜單結構樣式 */
/* 手機版新菜單結構 */
.site-mb__subnavi {
  list-style: none;
}

.mb-submenu-item {
  position: relative;
}

.mb-submenu-item:last-child {
  margin-bottom: 0;
}

.mb-submenu-item > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: var(--text-p-color);
  padding: 8px 0;
}

.mb-submenu-item.active > a span {
  font-size: 16px;
  font-weight: 700;
  transition: all 0.3s ease;
  color: #191919;
}

.has-third-level > a {
  position: relative;
}

.site-mb__third-level {
  list-style: none;
  border-radius: 4px;
  display: none;
}

.site-mb__third-level li:last-child {
  margin-bottom: 0;
}

.site-mb__third-level a {
  color: #444;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
  display: block;
  padding: 5px 0;
}

.site-mb__third-level a:hover {
  color: #191919;
}

/* 第三層選單激活狀態 */
.mb-submenu-item.active .site-mb__third-level {
  display: block;
}
