@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Akaya+Kanadaka&family=Montserrat:wght@100..900&display=swap");

@media (max-width: 786px) {
  .text {
    font-size: 3.5vw !important;
    width: 80vw !important;
    padding: 10px !important;
  }
  .text span {
    font-size: 4.5vw !important;
  }
}

@media (max-width: 430px) {
  .text {
    font-size: 4vw !important;
    width: 90vw !important;
    padding: 15px !important;
  }
  .text span {
    font-size: 6vw !important;
  }

  .blackbox {
    top: 20% !important;
  }

  .youTubeBox {
    top: 10% !important ;
  }
}

/*手機輪播區*/

/* 設定輪播區域 */
.carousel {
  position: relative;
  width: 100%;
  max-width: 800px; /* 可根據需求調整寬度 */
  margin: 0 auto; /* 讓輪播區居中 */
  overflow: hidden; /* 隱藏超出區域 */
}

/* 設定輪播容器 */
.carousel-container {
  display: flex;
  transition: transform 1s ease-in-out; /* 使圖片輪播有過渡效果 */
}

/* 每張輪播圖片的設定 */
.carousel-item {
  position: relative;
  min-width: 100%;
  height: 500px; /* 根據需要調整高度 */
  overflow: hidden;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 確保圖片保持比例並填滿容器 */
}

/* 圖片上方的淡黑色橫條 */
.overlay {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%); /* 垂直和水平居中 */
  left: 50%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 淡黑色背景 */
  color: white;
  padding: 50px;
  text-align: center;
}

.overlay h2 {
  margin: 0;
  font-size: 24px;
}

.overlay p {
  font-size: 16px;
  margin-top: 5px;
}

/* 左右箭頭的樣式 */
button {
  position: absolute;
  top: 50%;
  z-index: 10; /* 確保按鈕在最上層 */
  color: #fdd108; /* 箭頭顏色 */
  font-size: 30px; /* 調整箭頭大小 */
  cursor: pointer; /* 顯示為手型 */
  background: none; /* 移除背景 */
  border: none; /* 移除邊框 */
  transform: translateY(-50%); /* 垂直居中按鈕 */
}

button.prev {
  left: 5px; /* 左邊箭頭的位置 */
}

button.next {
  right: 5px; /* 右邊箭頭的位置 */
}

/* 按鈕 hover 效果 */
button:hover {
  color: #ffb600; /* 當鼠標懸停時箭頭顏色變化 */
}

hr {
  border: none;
  height: 2px;
  background-color: #fdd108;
  margin: 20px 0;
}

/**/

/* 預設隱藏 mobile 內容 */
.phone {
  display: none;
}

/* 當螢幕寬度小於等於 430px 時顯示 mobile 內容 */
@media (max-width: 430px) {
  .phone {
    display: block;
  }
}

.phone img {
  width: 100dvw; /* 使用 100dvw 使圖片寬度充滿螢幕 */
}

/**/

* {
  box-sizing: border-box;
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 500;
  line-height: 1.5em;
  letter-spacing: 0.08em;
}

html {
  scroll-behavior: smooth;
}

.wrapper {
  overflow: hidden;
}

a {
  text-decoration: none;
}

img {
  display: block;
}

body::-webkit-scrollbar {
  width: 5px;
}

body::-webkit-scrollbar-thumb {
  background-color: #39a0ca;
  border-radius: 10px;
}

body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.7);
}

nav .city {
  color: #fdd108 !important;
}

/*.subMenu .itemBox a:nth-child(1) .item {
  color: #fdd108 !important;
  font-size: 28px !important;
}
@media (max-width: 767px) {
  .subMenu .itemBox a:nth-child(1) .item {
    font-size: 16px !important;
  }
}*/

@media (max-width: 1024px) {
  .pc {
    display: none;
  }
}
.pc img {
  width: 100dvw;
}

.mobile {
  display: none;
}
@media (max-width: 1024px) {
  .mobile {
    display: block;
  }
}
.mobile img {
  width: 100dvw;
}

.youTubeBox {
  position: relative;

  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  gap: 1.5vw;
  overflow: hidden;
}
@media (max-width: 1024px) {
  .youTubeBox {
    flex-wrap: wrap;
  }
}
.youTubeBox #showBox {
  width: 57.8vw;
  height: 32.6vw;
}
@media (max-width: 1024px) {
  .youTubeBox #showBox {
    width: 95vw;
    height: 53.58vw;
  }
}
.youTubeBox #showBox iframe {
  width: 100%;
  height: 100%;
}
.youTubeBox .listBox {
  width: 20vw;
  height: 32.6vw;
  display: flex;
  flex-wrap: wrap;
  align-content: space-between;
}
@media (max-width: 1024px) {
  .youTubeBox .listBox {
    flex-wrap: nowrap;
    width: 95vw;
    justify-content: space-between;
    height: -moz-fit-content;
    height: fit-content;
  }
}
.youTubeBox .listBox .imgBox {
  width: 18.5vw;
  height: 10.4vw;
  position: relative;
}
@media (max-width: 1024px) {
  .youTubeBox .listBox .imgBox {
    width: 31vw;
    height: 17.91vw;
  }
}
.youTubeBox .listBox .imgBox::before {
  content: "";
  position: absolute;
  width: 4vw;
  height: 4vw;
  background: url(../img/city/content1/play.png);
  background-size: contain;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.youTubeBox .listBox .imgBox img {
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.youTubeBox .listBox .active::before {
  display: none;
} /*# sourceMappingURL=cityContent1.css.map */

/**/

/*影片區域*/

.block {
  position: relative;
  width: 100%;
  height: auto;
}

/* 背景圖 */
.block-image01 {
  width: 100%;
  height: auto;
}

/* 第二張 */
.video01 {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kv {
  background: url(../img/city/content1/kv.webp);
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center center;
  position: relative;
}
@media (max-width: 1024px) {
  .kv {
    background-position: 71% center;
  }
}
.kv .titleBox {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 25.5vw;
  transform: translateY(-55%);
  overflow: hidden;
  animation: fontW_1 1s;
  width: 49vw;
}
.kv .titleBox .title {
  font-size: 6.25vw;
  font-weight: 400;
  white-space: nowrap;
  line-height: 1;
  color: #fff;
}
@media (max-width: 1024px) {
  .kv .titleBox .title {
    font-size: 9vw;
    text-align: center;
    width: 5vw;
  }
}
.kv .titleBox .title span {
  font-weight: 900;
  line-height: 1;
}
.kv .titleBox .border {
  height: 1px;
  width: 1000%;
  background-color: #fdd108;
  margin: 1.5vw 0;
}
@media (max-width: 1024px) {
  .kv .titleBox .border {
    margin: 4vw 0;
  }
}
.kv .titleBox .subTitle {
  color: #fff;
  font-size: 2.9vw;
  font-weight: 900;
  width: 49vw;
  line-height: 1;
  text-align: center;
}
@media (max-width: 1024px) {
  .kv .titleBox .subTitle {
    font-size: 4.61vw;
    text-align: center;
    width: 49vw;
  }
}
@keyframes fontW_1 {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    opacity: 1;
    width: 49vw;
  }
}
.kv .bg {
  position: absolute;
  top: 50%;
  left: 21vw;
  transform: translateY(-50%);
  width: 58vw;
  height: 20vw;
  background-color: rgba(35, 24, 21, 0.8);
  mix-blend-mode: multiply;
  animation: bgMove_1 1s;
}
@media (max-width: 1024px) {
  .kv .bg {
    height: 55vw;
  }
}
@keyframes bgMove_1 {
  from {
    left: -100vw;
  }
  to {
    left: 21vw;
  }
}
.kv .pc {
  display: block;
}
@media (max-width: 1024px) {
  .kv .pc {
    display: none;
  }
}
.kv .mobile {
  display: none;
}
@media (max-width: 1024px) {
  .kv .mobile {
    display: block;
  }
}

@media (max-width: 1024px) {
  .s2 {
    display: none;
  }
}

.s2Block {
  background: #231815;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.s2Block .video {
  width: 70vw;
  height: 36vw;
  opacity: 0;
  transition: opacity 2s;
}
@media (max-width: 1024px) {
  .s2Block .video {
    width: 90vw;
    height: 46.29vw;
  }
}

.text {
  margin: 5% auto;
  width: 60vw;
  font-size: 1.56vw;
  color: #595757;
}

.text span {
  font-weight: 900;
}

img {
  width: 100vw;
  height: auto;
}

/*蓋字圖*/

.container img:first-of-type {
  width: 100%;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

/*黑底文字*/

.blackbox {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  color: white;
  z-index: 2;
  text-align: center;
}

.blackbox span {
  color: #fdd108;
}

/*倒數二*/

/* 容器設置 */
.image-container01 {
  position: relative;
  width: 100%;
  height: auto;
}

/* 背景圖片 */
.background-image01 {
  width: 100%;
  height: auto;
}

/* 第二張 */
.title-image01 {
  position: absolute;
  top: -10%;

  z-index: 1;
}

/*尾部*/

.container {
  position: relative;
  width: 100%;
  height: auto;
}

/* 背景圖片 */
.backbottom {
  position: relative;
  text-align: center;
  color: #fff;
  width: 100%;
  padding: 5% 0;
}

.backbottom span {
  font-weight: 900;
  font-size: 2vw;
}

.backbottom p {
  font-size: 1.56vw;
}

/* 背景圖片 */
.container img:first-of-type {
  width: 100%;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

/* 左右側圖片 */
.side-img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 20%;
}

.side-img.left {
  left: 0;
}

.side-img.right {
  right: 0;
}

.side-img img {
  width: 100%;
  height: auto;
}

/* 手機底部 */
.mmcontainer {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* height: 300vw; */
  padding-bottom: 30vw;
}

.mmcontainer img:first-of-type {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

/* 文字 */
.mmbackbottom {
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  margin: 20px 0;
  z-index: 1;
}

.mmside-img {
  align-items: center;
  margin: 10px 0;
  width: 70%;
  max-width: 300px;
  z-index: 1;
}

h1 {
  font-size: unset;
}
.focusMainBlock {
  position: absolute;
  background: #fff;
  padding: 5px;
  opacity: 0;
}
.focusMainBlock:focus {
  opacity: 1;
}
