@charset "UTF-8";
b,
strong {
  font-weight: 700;
}

img,
iframe {
  max-width: 100%;
}

body, html {
  overflow-x: hidden;
}

header.site-header {
  position: absolute;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.2); /* 半透明背景色 */
  backdrop-filter: blur(10px); /* 磨砂模糊效果 */
  -webkit-backdrop-filter: blur(10px); /* Safari 支援 */
  border-bottom: 1px solid rgba(255, 255, 255, 0.3); /* 可選：微白邊框 */
}
header.site-header > div {
  width: 83.33%;
  max-width: 100%;
  margin: 0 auto;
}
@media (max-width: 768px) {
  header.site-header > div {
    width: 100%;
  }
}
header.site-header > div img {
  width: 250px;
  height: auto;
}
@media (max-width: 768px) {
  header.site-header > div img {
    width: 200px;
  }
}
header.site-header > div ul.primary-menu {
  display: flex;
  list-style: none;
  margin: 0;
  gap: 48px;
}
header.site-header > div ul.primary-menu li {
  position: relative;
}
header.site-header > div ul.primary-menu li a {
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 31px 0;
  color: var(--white, #fff);
  /* btn */
  font-family: "DM Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 160%;
  /* 25.6px */
  text-decoration: none;
}
header.site-header > div ul.primary-menu li a span {
  transition: all 0.6s ease-in-out;
}
header.site-header > div ul.primary-menu li a::after {
  display: block;
  position: absolute;
  content: attr(data-text);
  color: var(--white, #fff);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 160%;
  /* 25.6px */
  text-decoration: none;
  transform: translateY(-600%) rotate(-45deg);
  transition: all 0.6s ease-in-out;
}
header.site-header > div ul.primary-menu li a:hover::after {
  transform: translateY(0) rotate(0);
}
header.site-header > div ul.primary-menu li a:hover span {
  transform: translateY(600%) rotate(45deg);
}
header.site-header > div ul.primary-menu li.current_page_item a {
  color: #ea9712 !important;
}
header.site-header > div ul.primary-menu li:hover a {
  border-bottom: 3px solid #ea9712;
}
@media (max-width: 768px) {
  header.site-header > div ul.primary-menu {
    flex-direction: column;
  }
}
header.site-header.current-active, header.site-header.current-mobile-acttive {
  position: fixed;
  background-color: #fff;
}
header.site-header.current-active ul.primary-menu li a, header.site-header.current-mobile-acttive ul.primary-menu li a {
  color: var(--white, #333) !important;
}
header.site-header.current-active ul.primary-menu li a::after, header.site-header.current-mobile-acttive ul.primary-menu li a::after {
  color: var(--white, #333);
}
@media (max-width: 768px) {
  header.site-header.current-active, header.site-header.current-mobile-acttive {
    position: fixed;
  }
}
header.site-header .social-icon {
  width: 24px;
  height: 24px;
}
header.site-header .social-icon-container {
  bottom: 48px;
  gap: 16px;
}

footer.site-footer {
  background: var(--gray-6, #f2f2f2);
}
footer.site-footer > div {
  padding: 60px 0 24px 0;
  width: 83.33%;
  margin: 0 auto;
}
@media (max-width: 768px) {
  footer.site-footer > div {
    padding: 30px 0 12px 0;
    width: 90%;
  }
}
footer.site-footer > div > div {
  --bs-gutter-x: 60px;
}
footer.site-footer > div > div > div:nth-child(3) {
  border-left: 1px solid #333;
}
@media (max-width: 768px) {
  footer.site-footer > div > div > div:nth-child(3) {
    border-left: 0;
    padding-top: 24px;
  }
}
footer.site-footer > div > div .footer-logo {
  gap: 20px;
}
footer.site-footer > div > div .footer-logo img {
  width: 254px;
  height: auto;
}
footer.site-footer > div > div .footer-logo img.ntpu-logo {
  width: 300px;
}
footer.site-footer > div > div .footer-text h3 {
  color: var(--gray-2, #595959);
  /* H2 Bold */
  font-family: "DM Sans";
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 110%;
  /* 26.4px */
  letter-spacing: 0.24px;
}
footer.site-footer > div > div .footer-text p {
  color: var(--gray-1, #333);
  /* footer 1 */
  font-family: "DM Sans";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 110%;
  /* 22px */
  letter-spacing: 0.1px;
}
footer.site-footer > div > div .footer-item {
  gap: 24px;
}
footer.site-footer > div > div .footer-item li {
  gap: 8px;
}
footer.site-footer > div > div .footer-item li a {
  text-decoration: none;
  color: var(--gray-1, #333);
  /* body */
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: 130%;
  /* 18.2px */
  letter-spacing: 0.28px;
}
footer.site-footer > div > div .copyright {
  padding-top: 40px;
  color: var(--gray-4, #a7a5a5);
  /* small */
  font-family: "DM Sans";
  font-size: 12px;
  font-style: normal;
  font-weight: 300;
  line-height: 130%;
  /* 15.6px */
}
footer.site-footer > div > div .copyright a {
  color: var(--gray-4, #a7a5a5);
  /* small */
  font-family: "DM Sans";
  font-size: 12px;
  font-style: normal;
  font-weight: 300;
  line-height: 130%;
  /* 15.6px */
}


@media (max-width: 768px) {
  .menu-pc-container {
    display: none !important;
  }
}

.menu-phone-container {
  display: none !important;
  padding: 12px 0;
}
@media (max-width: 768px) {
  .menu-phone-container {
    display: flex !important;
  }
}
.menu-phone-container .logo-container {
  width: 67.47%;
}
.menu-phone-container .menu-phone-icon {
  flex: 1;
}
.menu-phone-container .menu-phone-item {
  width: 100%;
  background-color: red;
  height: 10px;
}
.menu-phone-container .menu-phone-item .menu-phone-item-link {
  width: 100%;
}

.menu-phone-container {
  width: 90% !important;
  margin: 0 auto !important;
}
.menu-phone-container button {
  padding: 12px;
  border: none;
  background-color: transparent;
}
.menu-phone-container button svg {
  width: 24px;
  height: 24px;
}

.menu-phone-item {
  display: none;
}
.menu-phone-item.active {
  display: block;
}
.menu-phone-item .site-header-menu {
  height: calc(100vh - 50px);
  background-color: #f2f2f2;
}
.menu-phone-item .site-header-menu ul {
  list-style: none;
  padding: 0;
}
.menu-phone-item .site-header-menu ul li {
  width: 90%;
  margin: 0 auto;
}
.menu-phone-item .site-header-menu ul li a {
  color: var(--gray-2, #595959);
  border-bottom: 2px solid #ea9712;
  /* btn */
  font-family: "DM Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 160%; /* 25.6px */
  text-align: center;
  text-decoration: none;
  display: block;
  padding: 31px 0;
}

@media (max-width: 768px) {
  .footer-text {
    padding-top: 24px;
  }
}
