@import url("https://use.typekit.net/ckd8jcx.css");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap");

::selection {
  background: var(--Main);
  color: var(--Bg);
}

* {
  margin: 0;
  padding: 0;
  border: 0;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

body {
  margin: 0;

  --Bg: #000;
  --Text: #fff;
  --Main: #fff;
  --Gray: #313131;
  --lightGray: #e6e7e8;
  --Red: #a52a2a;

  --Sans: futura-pt, "Noto Sans TC", sans-serif;
  color: var(--Text);
  background: var(--Bg);

  font-family: var(--Sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5em;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;

  --swiper-navigation-size: 20px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

textarea:focus,
input:focus,
button:focus,
select:focus {
  outline: none;
}

a {
  color: var(--Text);
  text-decoration: none;
}

main {
  position: relative;
  overflow: hidden;
  width: 100%;
  /* max-width: 1280px; */
  background: var(--Bg);
  margin: 0 auto;
  z-index: 0;
}

::-webkit-scrollbar-track {
  background-color: transparent;
}

::-webkit-scrollbar {
  width: 7px;
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  border-radius: 7px;
  background-color: var(--Main);
}

section {
  width: 100%;
  position: relative;
  z-index: 0;
  padding: 0;
  margin: 0;
  white-space: normal;
}

a,
a:hover,
a:active {
  text-decoration: none;
}

.normal {
  font-family: var(--Sans);
}

.mobile {
  display: none !important;
}

.big {
  font-size: 1.3em;
}

.small {
  font-size: 14px;
}

.bold {
  font-weight: bold;
}

/*Header*/
header {
  width: 100%;
  height: 60px;
  position: fixed;
  top: 0;
  left: 0%;
  z-index: 10;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 90%);
}

nav {
  width: 100%;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  border-bottom: 1px solid var(--Border);

  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 50px;
}

.headerLogo {
  width: 90px;
  display: block;
  height: auto;
}

header ul {
  width: fit-content;
  height: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
}

header ul li {
  width: fit-content;
  height: 100%;
  list-style: none;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

header ul li a {
  display: block;
  color: var(--Text);
  border-radius: 5px 5px;
  padding: 5px 10px;
  background: transparent;
  transition: 0.3s;
}

.navSearch {
  display: flex;
  justify-content: center;
  align-items: center;
}

.form--input {
  width: 100%;
  height: 30px;
  padding: 0 10px;
  border: 1px solid var(--Gray04);
  font-size: 14px;
}

.form--inputDiscont {
  width: calc(100% - 30px);
  border-radius: 5px 0px 0 5px;
}

/* 語言切換邏輯 */
.lang-en .zh-text,
.lang-zh .en-text {
  display: none;
}

.lang-en .en-text,
.lang-zh .zh-text {
  display: block;
}

/* 語言選擇器樣式 */
.language .lang-select {
  text-decoration: none;
  padding: 5px 10px;
  margin: 0 5px;
  font-weight: normal;
  transition: all 0.3s ease;
}

.language .lang-select:hover {
  color: #ccc;
}

.language .lang-select.active {
  font-weight: bold;
}

.searchSubmit {
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--Text);
  color: var(--Bg);
  border-radius: 0 5px 5px 0;
  border-left: 1px solid var(--Bg);
  transition: 0.3s;
}

.searchSubmit:hover {
  background: var(--Gray);
  color: var(--Text);
  transition: 0.3s;
}

.second {
  display: none;
  width: 100%;
  color: var(--Bg);
  position: fixed;
  top: 59px;
  left: 0;
}

.secondContainer {
  width: 100%;
  padding: 20px 20px;
  max-width: 1280px;
  background: var(--Main);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.secondContainer a {
  display: block;
  width: 20%;
  text-align: center;
  padding: 5px 10px;
  border-radius: 10px 10px;
  background: var(--Bg);
  border: 1px solid var(--Bg);
  color: var(--Main);
}

.secondli:hover .second {
  display: block;
}

.hanberger,
.navClose {
  display: none !important;
}

/*Footer*/
footer {
  width: 100%;
  /* max-width: 1280px; */
  margin: 0 auto;
  position: relative;
  text-align: center;
}

.footerContent {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footerBox {
  width: 50%;
  aspect-ratio: 1/1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  line-height: 2em;
  text-align: left;
}

.footerBox a {
  text-decoration: underline;
}

.footerBox:nth-child(1) {
  background: url(../img/map.webp) center center/contain no-repeat;
}

.footerBox:nth-child(2) {
  background: url(../img/footerBg.webp) center center/cover no-repeat;
}

.footerBoxTitle {
  font-weight: 700;
  font-style: italic;
  writing-mode: vertical-rl;
  text-orientation: sideways;
  text-align: left;
  font-size: 4em;
  line-height: 1em;
  position: absolute;
  top: 50px;
  left: 10px;
  transform-origin: center center;
  transform: rotate(180deg);
}

.footerBoxSearch {
  width: 250px;
  height: 60px;
  background: var(--lightGray);
  display: flex;
  justify-content: center;
  align-items: center;
}

.footerBoxSearch a {
  display: block;
  width: 230px;
  height: 40px;
  background: var(--Main);
  color: var(--Bg);
  font-size: 24px;
  line-height: 40px;
  padding: 0 10px;
}

.footerLogo {
  width: 120px;
  display: block;
  margin: 20px auto;
}

.cpoyright {
  width: 100%;
  text-align: center;
  padding: 20px 0;
  font-weight: 600;
}

.btn,
a.btn {
  cursor: pointer;
  width: 200px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1em;
  text-align: center;
  background: var(--Main);
  border: 1px solid var(--Main);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  -moz-backdrop-filter: blur(5px);
  color: var(--Bg) !important;
  text-decoration: none !important;
  transition: 0.3s;
}

.btn:hover,
a.btn:hover {
  background: transparent;
  color: var(--Main) !important;
  transition: 0.3s;
}

.btn i {
  margin: 0 5px;
}

.btnGroup {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
}

.w1280 {
  max-width: 1280px;
  width: 90%;
  margin: 0 auto;
}

.w1024 {
  max-width: 1024px;
  width: 90%;
  margin: 0 auto;
}

/*LightBox*/
.lightbox {
  width: 100%;
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  -moz-backdrop-filter: blur(5px);
  display: none;
}

.mfp-content .lightbox {
  display: flex;
}

.lightboxContainer {
  width: 90%;
  position: relative;
  max-width: 450px;
  height: 80%;
  overflow-y: auto;
  padding: 30px 30px;
  border-radius: 10px 10px;
  box-shadow: 0 0 10px 3px rgba(0, 0, 0, 0.05);
  background: var(--Bg);
  color: var(--Text);
  border: 1px solid var(--Gray);
}

.closePopupBtn {
  font-size: 20px;
  position: absolute;
  top: 15px;
  right: 15px;
  transition: 0.3s;
}

.closePopupBtn:hover {
  opacity: 0.5;
  transition: 0.3s;
}

.lightboxContainer h2 {
  color: var(--Gray);
  line-height: 1em;
}

.lightboxContainer h1 {
  line-height: 1em;
}

.anAddress {
  width: 100%;
  padding: 30px 0;
  border-bottom: 1px solid var(--Gray);
}

.anAddress:last-child {
  border-bottom: none;
}

.footerLink {
  text-decoration: none !important;
}

/*////RWD////*/
@media screen and (max-width: 1660px) {
}

@media screen and (max-width: 1440px) {
}

@media screen and (max-width: 1366px) {
}

@media screen and (max-width: 1280px) {
}

@media screen and (max-width: 1024px) {
  section {
    width: 100vw;
    height: auto;
  }
}

@media (orientation: landscape) and (max-height: 768px) {
}

@media (orientation: portrait) and (max-height: 1180px) {
  header {
    padding: 0;
  }

  header ul {
    position: fixed;
    width: 100%;
    height: 100%;
    background: var(--Bg);
    top: 0;
    left: -100vw;
    z-index: 11;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    transition: 0.5s;
  }

  header ul.active {
    top: 0;
    left: 0;
    transition: 0.5s;
  }

  header ul li {
    width: 100%;
    height: auto;
    text-align: center;
    font-size: 20px;
    flex-wrap: wrap;
    padding: 0 50px;
    position: relative;
  }

  header ul li a {
    width: 100%;
    padding: 0;
  }

  .language {
    order: 5;
    flex-wrap: nowrap;
  }

  .language a {
    width: fit-content;
  }

  .navSearch {
    order: 6;
  }

  .hanberger,
  .navClose {
    font-size: 30px;
    display: block !important;
  }

  .hanberger {
    position: relative;
    z-index: 12;
    opacity: 1;
    transition: 0.3s;
  }

  .hanberger.active {
    z-index: -1;
    opacity: 0;
    transition: 0.3s;
  }

  .navClose {
    width: fit-content;
    position: fixed;
    top: 15px;
    right: 28px;
    z-index: -1;
    padding: 0;
    opacity: 0;
    transition: 0.3s;
  }

  .navClose.active {
    opacity: 1;
    transition: 0.3s;
    transition-delay: 0.5s;
    z-index: 12;
  }

  .footerBoxTitle {
    font-size: 2.5em;
  }
}

@media (orientation: portrait) and (max-height: 1024px) {
  .footerBoxTitle {
    font-size: 2em;
  }
}

@media (orientation: portrait) and (max-width: 480px) {
  body {
    font-size: 14px;
  }

  nav {
    padding: 0 20px;
  }

  .mobile {
    display: block !important;
  }

  .desktop {
    display: none !important;
  }

  .footerContent {
    flex-wrap: wrap;
  }

  .footerBox {
    width: 100%;
    aspect-ratio: 3 / 2;
  }

  .footerBox:nth-child(1) {
    order: 2;
  }

  .footerBox:nth-child(2) {
    order: 1;
    border-bottom: 5px solid var(--Main);
  }

  .cpoyright {
    font-size: 10px;
  }
}

/*Iphone 10*/
@media (orientation: portrait) and (max-height: 812px) {
}

@media (orientation: portrait) and (max-height: 736px) {
}

@media (orientation: portrait) and (max-height: 667px) {
}

@media screen and (max-width: 375px) {
  body {
    font-size: 12px;
  }
}

@media screen and (max-width: 320px) {
  body {
    font-size: 12px;
  }
}
