@charset "UTF-8";
/* 變數 */
/* 全局樣式 */
html, body {
  width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* 標題樣式 */
h1, h2, h3, .hero-title {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
}

h1, h3, p, span, .button, .hero-title {
  font-weight: 400;
  font-style: normal;
}

h4, h5 {
  font-weight: 500;
  font-family: "Crimson Text", serif;
}

.hero-title {
  font-size: 6em;
  color: #35373B;
}

h1 {
  font-size: 4.5em;
}

h2 {
  font-weight: 400;
  font-style: italic;
  font-size: 3.5em;
}

h3 {
  font-size: 2.5em;
}

h4 {
  font-size: 1.5em;
  color: #6C94B0;
}

h5 {
  font-size: 1.25em;
}

p, span {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-size: 1em;
}

/* 連結樣式 */
a {
  text-decoration: none;
}

/* 統一icon 樣式 */
.global-icon-btn {
  position: relative;
  width: 3em;
  height: 3em;
}
.global-icon-btn .icon-normal,
.global-icon-btn .icon-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: opacity 0.3s ease;
}

.button {
  font-family: "Crimson Text", serif;
  font-size: 1.25em;
  padding: 0 0.5em;
  height: 3em;
  align-content: center;
  transition: background 0.3s ease;
}
.button:hover {
  border: 1px solid;
  border-left: none;
  border-right: none;
}

section {
  width: 100%;
}

/* grid container */
.grid-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5em;
}

.span-4 {
  grid-column: span 4;
}

.span-8 {
  grid-column: span 8;
}

/* Navigation bar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  padding: 0 6.75em;
  z-index: 100;
  background: transparent;
  transition: background 0.3s ease, -webkit-backdrop-filter 0.3s ease;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, -webkit-backdrop-filter 0.3s ease;
}
header.scrolled {
  background: rgba(183, 213, 234, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.5em 0 1em 0;
}
header .container a.logo {
  display: block;
  width: 8.375em;
  height: 4em;
  background-size: contain;
}
header .container a.logo img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
header .container nav {
  display: flex;
  gap: 1.5em;
  align-items: center;
}
header .container nav.open .mobile-menu-icon .m-icon-menu {
  opacity: 0;
  pointer-events: none;
  height: 0;
}
header .container nav.open .mobile-menu-icon .m-icon-close {
  opacity: 1;
  pointer-events: auto;
  height: 3em;
}
header .container nav .nav-buttons {
  display: flex;
  gap: 1.5em;
  opacity: 1;
  pointer-events: auto;
  height: auto;
  transition: opacity 0.3s ease, height 0.3s ease;
}
header .container nav a.button {
  color: #35373B;
  text-decoration: none;
  transition: color 0.3s ease;
}
header .container nav a.button:hover {
  color: #1d1e20;
}
header .container nav a.icon-lang {
  display: block;
}
header .container nav a.icon-lang .icon-normal {
  background-image: url("../images/en-icon.svg");
  opacity: 1;
}
header .container nav a.icon-lang .icon-hover {
  background-image: url("../images/en-icon-hover.svg");
  opacity: 0;
}
header .container nav a.icon-lang:hover .icon-normal {
  opacity: 0;
}
header .container nav a.icon-lang:hover .icon-hover {
  opacity: 1;
}
header .container nav .mobile-menu-icon {
  display: none;
}
header .container nav .mobile-menu-icon .m-icon-menu,
header .container nav .mobile-menu-icon .m-icon-close {
  width: 3em;
  height: 3em;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: opacity 0.3s ease, height 0.3s ease;
}
header .container nav .mobile-menu-icon .m-icon-menu {
  background-image: url("../images/menu-icon.svg");
  opacity: 1;
  pointer-events: auto;
  height: 3em;
}
header .container nav .mobile-menu-icon .m-icon-menu:hover {
  background-image: url("../images/menu-icon-hover.svg");
}
header .container nav .mobile-menu-icon .m-icon-close {
  background-image: url("../images/close-icon.svg");
  opacity: 0;
  pointer-events: none;
  height: 0;
}
header .container nav .mobile-menu-icon .m-icon-close:hover {
  background-image: url("../images/close-icon-hover.svg");
}
header .container nav .mobile-menu-icon .m-icon-contact .icon-normal {
  background-image: url("../images/menu_btn-M.svg");
  opacity: 1;
}
header .container nav .mobile-menu-icon .m-icon-contact .icon-hover {
  background-image: url("../images/menu_btn-M-hover.svg");
  opacity: 0;
}
header .container nav .mobile-menu-icon .m-icon-contact:hover .icon-normal {
  opacity: 0;
}
header .container nav .mobile-menu-icon .m-icon-contact:hover .icon-hover {
  opacity: 1;
}

/* Hero section */
section#hero-section .container {
  width: 100vw;
  height: 100vh;
  position: relative;
  display: flex;
}
section#hero-section .container .desktop-hero {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
}
section#hero-section .container .desktop-hero .desktop-spline {
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100vh;
  -o-object-fit: cover;
     object-fit: cover;
}
section#hero-section .container .mobile-hero {
  display: none;
}

/* Footer */
footer {
  width: 100%;
  position: relative;
  padding: 1.5em 6.75em;
  background: #6A6D76;
}
footer .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-content: baseline;
}
footer .container h4 {
  color: #F8F8FA;
}
footer .container .sitemap {
  display: flex;
  gap: 1.5em;
}
footer .container .sitemap a {
  color: #F8F8FA;
  font-size: 0.75em;
  align-content: center;
}
footer .copyright {
  display: flex;
  flex-direction: column;
  position: fixed;
  right: 0;
  bottom: 0;
  margin: 0 0.75em 1em 0;
  gap: 0.5em;
  align-items: center;
  z-index: 50;
}
footer .copyright a.icon-bottom-mail .icon-normal {
  background-image: url("../images/menu_btn-black.svg");
  opacity: 1;
}
footer .copyright a.icon-bottom-mail .icon-hover {
  background-image: url("../images/email-icon-hover.svg");
  opacity: 0;
}
footer .copyright a.icon-bottom-mail:hover .icon-normal {
  opacity: 0;
}
footer .copyright a.icon-bottom-mail:hover .icon-hover {
  opacity: 1;
}
footer .copyright a.icon-bottom-linkidin .icon-normal {
  background-image: url("../images/linkin_btn-black.svg");
  opacity: 1;
}
footer .copyright a.icon-bottom-linkidin .icon-hover {
  background-image: url("../images/linkedin-icon-hover.svg");
  opacity: 0;
}
footer .copyright a.icon-bottom-linkidin:hover .icon-normal {
  opacity: 0;
}
footer .copyright a.icon-bottom-linkidin:hover .icon-hover {
  opacity: 1;
}
footer .copyright .xs-txt {
  font-size: 0.75em;
  color: #35373B;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

/* 集中所有 @media 查詢 */
@media (min-width: 390px) and (max-width: 540px) {
  header {
    padding: 0;
  }
  header .container {
    padding: 44px 1em;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  header .container nav.open {
    background: rgba(255, 255, 255, 0.8);
    padding: 10px 0;
  }
  header .container nav.open .nav-buttons {
    opacity: 1;
    pointer-events: auto;
    height: auto;
  }
  header .container nav.open .icon-lang,
  header .container nav.open .m-icon-contact {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }
  header .container nav .nav-buttons {
    opacity: 0;
    pointer-events: none;
    height: 0;
    overflow: hidden;
  }
  header .container nav .icon-lang {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }
  header .container nav .mobile-menu-icon {
    display: flex;
    gap: 1.5em;
    position: absolute;
    top: 2.5em;
    right: 6.75em;
  }
  section#hero-section .container .desktop-hero {
    display: none;
  }
  section#hero-section .container .mobile-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    padding: 0;
  }
  section#hero-section .container .mobile-hero .m-hero-spline {
    position: relative;
    max-width: 100vw;
    max-height: 100vh;
    -o-object-fit: fill;
       object-fit: fill;
    z-index: -1;
  }
  section#hero-section .container .mobile-hero .hero-txt {
    position: absolute;
    gap: 0.5em;
    text-align: center;
    color: #35373B;
    width: 100%;
    top: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  section#hero-section .container .mobile-hero .hero-txt .hero-slogan {
    color: #35373B;
    gap: 0.5em;
  }
  section#hero-section .container .mobile-hero .hero-txt .hero-slogan .hero-slogan {
    font-family: "Playfair Display", serif;
    font-size: clamp(40px, 14vw, 56px);
    margin: 0;
    line-height: 1;
  }
  section#hero-section .container .mobile-hero .hero-txt .hero-slogan .hero-ltalic {
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-size: clamp(32px, 10vw, 40px);
    margin: 0;
    line-height: 1;
  }
  section#hero-section .container .mobile-hero .hero-txt .hero-myName h4 {
    font-size: clamp(24px, 8vw, 32px);
    margin: 0.5em 0;
    line-height: 1;
  }
  section#hero-section .container .mobile-hero .hero-txt .hero-intro h5 {
    font-size: clamp(16px, 4vw, 24px);
    line-height: 2;
    margin-bottom: 1.5em;
  }
  footer {
    position: static;
    padding: 1em 1em 1.5em 1em;
  }
  footer .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  footer .container h4 {
    display: none;
  }
  footer .container .sitemap {
    display: none;
  }
  footer .copyright {
    position: static;
    margin: 0;
    gap: 0;
  }
  footer .copyright .xs-txt {
    writing-mode: horizontal-tb;
    text-orientation: unset;
    text-align: right;
    color: #F8F8FA;
  }
}/*# sourceMappingURL=style copy.css.map */