@import url(../fonts/flaticon/flaticon.css);
@import url(../css/revise.css);

.wow {
  visibility: hidden;
}
.wow.animate__animated {
  visibility: visible;
}

/*========================================================
                         基本設定
=========================================================*/

/* 基礎重置 */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --vh: 1vh;
  --bottom-bar: 68px;
}

body {
  font-family: "Noto Sans TC", Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 32px;
  font-size: 1rem;
  color: #111;
  overflow-x: hidden;
  background-color: #fff;
  position: relative;
}
p {
  margin: unset;
}
.pc {
  display: block;
}
.mb {
  display: none;
}
body::before {
  content: " ";
  position: fixed;
  z-index: -2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: url(../img/bg.png);
  background-size: cover;
}

@media screen and (max-width: 1024px) {
  .pc {
    display: none;
  }
  .mb {
    display: block;
  }
}
/*========================================================
  top-bar區塊
=========================================================*/
.top-bar {
  width: 100%;
  height: 120px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.top-bar .box {
  width: 90%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cy-logo {
  height: 45px;
  pointer-events: none;
}
.top-seller {
  height: 55px;
  margin-top: 5px;
  pointer-events: none;
}

@media screen and (max-width: 1024px) and (min-height: 651px) {
  .cy-logo {
    height: 42.5px;
  }
  .top-seller {
    height: 50px;
  }
}

@media screen and (max-width: 551px) {
  .top-bar {
    height: 87px;
  }
  .cy-logo {
    height: 32.5px;
  }
  .top-seller {
    height: 35px;
    margin-top: 8px;
  }
}
/*========================================================
  banner區塊
=========================================================*/
.banner-block {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}
.banner-block .pic {
  width: 100%;
  height: 100%;
}
.banner-block .pic .swiper {
  width: 100%;
  height: 100%;
}
.banner-block .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/*========================================================
  main區塊
=========================================================*/
.main {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 80px;
}
.main .box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 95%;
  height: 100%;
}
.main .text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.main p {
  font-size: 18px;
  margin: 1% 0;
}
.line-div1 {
  width: 1px;
  height: 60px;
  background-color: #111;
  margin: 1% 0;
}
.line-div2 {
  width: 60px;
  height: 1px;
  background-color: #111;
  margin: 2% 0;
}
.btn-block {
  display: flex;
  gap: 25px;
  width: 100%;
  max-width: 1200px;
  margin: -200px 0 5% 0;
  position: relative;
  z-index: 10;
}
.btn-item {
  flex: 1;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: transform 0.3s ease;
}

.btn-item .img-box {
  width: 85%;
  border-radius: 100px 100px 0 0;
  transform: translateY(60px);
  transition: transform 0.4s ease;
}

.btn-item .img-box img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
}

/* 下方圓形標籤按鈕 */
.btn-item .btn-label {
  width: 180px;
  margin-top: -60px;
  z-index: 2;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.btn-item .btn-label img {
  width: 100%;
}
.btn-item:hover .img-box {
  transform: translateY(30px);
  filter: sepia(0.3) brightness(1.1);
}
.btn-item:hover .btn-label {
  transform: scale(0.95);
  filter: brightness(0.9);
}

@media screen and (max-width: 1024px) and (min-height: 651px) {
  .btn-block {
    margin: -150px 0 10% 0;
  }
  .btn-item .btn-label {
    width: 150px;
    margin-top: -25px;
  }
  .btn-item .img-box {
    width: 100%;
  }
  .btn-item:hover .img-box {
    transform: translateY(45px);
  }
}

@media screen and (max-width: 767px) {
  .line-div1,
  .line-div2 {
    margin: 4% 0;
  }
  .main h1 {
    font-size: 36px;
  }
  .main h2 {
    font-size: 28px;
  }
  .main p {
    font-size: 16px;
    margin: 4% 0;
  }
  .btn-item {
    width: 80%;
  }
}

@media screen and (max-width: 501px) {
  .btn-block {
    margin: -100px 0 10% 0;
    gap: unset;
  }
  .btn-item .btn-label {
    width: 95px;
    margin-top: 5px;
  }
  .btn-item:hover .img-box {
    transform: translateY(50px);
  }
}
/*========================================================
  cases區塊
=========================================================*/
.case {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
}
.case .box {
  width: 40%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.case .text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 65%;
  height: 80%;
}
.case .logo {
  width: 80%;
}
.case .c2-logo {
  width: 70%;
}
.case p {
  display: block;
  font-size: 18px;
  line-height: 34px;
}
.case .pic {
  width: 60%;
  height: 100%;
}
.case .pic .swiper {
  width: 100%;
  height: 100%;
}
.case .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case .pic span {
  position: absolute;
  top: 5px;
  right: 15px;
  color: #fff;
  text-shadow: 1px 1px 2px #000, 1px 1px 2px #000;
}

@media screen and (max-width: 1499px) {
  .case .text {
    width: 85%;
    height: 85%;
  }
  .case .box {
    width: 100%;
  }
  .case .logo {
    width: 50%;
  }
  .case .c2-logo {
    width: 40%;
  }
}

@media screen and (max-width: 1024px) and (min-height: 651px) {
  .case {
    flex-direction: column;
    height: 100%;
  }
  .case .box {
    margin: 8% 0;
  }
  .case p {
    line-height: 36px;
    margin-top: 5%;
  }
  .case .pic {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .case .logo {
    width: 65%;
  }
  .case .c2-logo {
    width: 55%;
  }
  .case p {
    font-size: 16px;
    line-height: 32px;
  }
}

/*========================================================
  case-detail區塊
=========================================================*/
.case-detail {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-detail .box {
  width: 40%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.case-detail .text {
  text-align: end;
  font-size: 20px;
  line-height: 40px;
}
.case-detail .pic {
  position: relative;
  display: flex;
  align-items: center;
  width: 60%;
  height: 100%;
}
.case-detail .pic .swiper {
  width: 100%;
  margin: 8% 0 0 14%;
}
.case-detail .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-detail .pic .pic-txt {
  position: absolute;
  color: #fff;
  text-shadow: 1px 1px 2px #000, 1px 1px 2px #000;
  left: 5%;
  bottom: 6%;
}
.case-detail .pic .swiper-pagination {
  position: absolute;
  bottom: 6%;
}
.case-detail .shape {
  position: absolute;
  z-index: -1;
  top: -25%;
  left: 10%;
  width: 60%;
}
.case-detail .shape img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media screen and (max-width: 1499px) {
  .case-detail .text {
    font-size: 18px;
    line-height: 36px;
  }
}

@media screen and (max-width: 1099px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .case-detail .shape {
    width: 56%;
  }
}

@media screen and (max-width: 1024px) and (min-height: 651px) {
  .case-detail {
    flex-direction: column;
  }
  .case-detail .pic {
    width: 100%;
    order: 2;
  }
  .case-detail .box {
    width: 85%;
    height: 50%;
    order: 1;
  }
  .case-detail .pic .swiper {
    width: 92.5%;
    margin: 0 auto;
  }
  .case-detail .text {
    width: 100%;
  }
  .case-detail .shape {
    top: -20%;
    left: 0%;
    width: 52.5%;
  }
}

@media screen and (max-width: 501px) {
  .case-detail {
    height: 100svh;
  }
  .case-detail .box {
    height: 75%;
  }
  .case-detail .shape {
    top: -10%;
    width: 57.5%;
  }
  .case-detail .pic .swiper {
    width: 100%;
  }
  .case-detail .text {
    font-size: 16px;
    line-height: 32px;
  }
}

/*========================================================
  video section
=========================================================*/
section.video {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 40px 0;
}
section.video .box {
  width: 90%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
section.video .text {
  width: 100%;
}
section.video .text h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-align: center;
}
section.video .pic {
  width: 100%;
}
section.video .video-swiper {
  width: 100%;
}
section.video .video-swiper .swiper-slide {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
section.video .video-block {
  height: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
section.video .video-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}
section.video .video-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.45s ease;
}
section.video .video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
section.video .video-play::before {
  content: "";
  width: 64px;
  height: 64px;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 50%;
}
section.video .video-play::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 16px solid #fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 4px;
  position: absolute;
}
section.video .video-link:hover img {
  transform: scale(1.06);
}
section.video .video-swiper .swiper-slide p {
  position: absolute;
  left: 3%;
  bottom: 1%;
  margin: 0;
  color: #fff;
  font-size: 14px;
  letter-spacing: 1px;
  opacity: 0.9;
  text-shadow: 1px 1px 2px #000, 1px 1px 2px #000;
}
section.video .swiper-pagination {
  margin-top: 12px;
  position: relative;
  text-align: center;
}

section.video .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
  margin: 0 6px;
}

section.video .swiper-pagination-bullet-active {
  background: #2d657b;
}

@media screen and (min-width: 768px) {
  section.video .text h3 {
    margin-bottom: 16px;
  }

  section.video .video-swiper .swiper-slide p {
    font-size: 16px;
    line-height: 34px;
  }

  section.video .video-play::before {
    width: 72px;
    height: 72px;
  }
}

@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  section.video {
    padding: 100px 0;
  }
  section.video .box {
    width: 90%;
    display: flex;
    gap: 32px;
  }
  section.video .text h3 {
    font-size: 26px;
  }
}
@media screen and (min-width: 1500px) {
  section.video .text h3 {
    font-size: 32px;
  }
}

/*========================================================
  reservaton
=========================================================*/
.reservation {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
}
.reservation .box {
  width: 85%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.reservation .reg {
  width: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.reservation .reg img {
  width: 100%;
  margin-bottom: 3%;
}
.reservation .reg .line-btn:hover {
  opacity: 0.8;
}
.reservation .reg .reg-txt {
  width: 65%;
  pointer-events: none;
}
.reservation .reg .map-txt {
  width: 50%;
  pointer-events: none;
}
.reservation .map {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 600px;
  margin-bottom: 1%;
}
.reservation .info {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}
.reservation .info a {
  width: 40%;
  margin: 2% 0;
}
.reservation .info a:hover {
  opacity: 0.7;
}
.reservation .info img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 1024px) and (min-height: 651px) {
  .reservation .reg {
    width: 100%;
  }
  .reservation .reg .line-btn {
    width: 90%;
    margin-bottom: 6%;
  }
}

@media screen and (max-width: 501px) {
  .reservation {
    padding: 40px 0;
  }
  .reservation .box {
    width: 90%;
  }
  .reservation .map {
    height: 350px;
  }
  .reservation .reg .reg-txt {
    width: 80%;
  }
  .reservation .reg .map-txt {
    width: 65%;
  }
  .reservation .reg .line-btn {
    width: 100%;
  }
  .reservation .info {
    flex-direction: column;
    align-items: start;
    justify-content: start;
  }
  .reservation .info a {
    width: 100%;
    margin: unset;
  }
  .reservation .info .address {
    margin-top: 3%;
  }
  .reservation .info img {
    width: auto;
    height: 16px;
    object-fit: unset;
  }
}

footer {
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #2d657b;
  color: #fff;
}
.footer-logo {
  height: 26px;
  line-height: 50px;
  pointer-events: none;
}
/* 懸浮按鈕基礎設定 */
.float-line {
  position: fixed;
  right: 20px;
  bottom: 25px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background-color: #06c755; /* LINE 品牌綠 */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
}
.float-line img {
  width: 35px;
  height: 35px;
}
/* 文字提示標籤 */
.line-tip {
  position: absolute;
  right: 70px;
  background-color: #06c755;
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}
.float-line:hover {
  transform: scale(1.1);
  background-color: #05b34c;
}
.float-line:hover .line-tip {
  opacity: 1;
  transform: translateX(0);
}
@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(6, 199, 85, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(6, 199, 85, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(6, 199, 85, 0);
  }
}
.float-line {
  animation: pulse-green 2s 5;
}

[data-aos="custom-zoom-out"] {
  transform: scale(1.2);
  opacity: 1;
  transition-property: transform, opacity;
  transition: transform 5s ease, opacity 3s ease !important;
}

[data-aos="custom-zoom-out"].aos-animate {
  transform: scale(1);
  opacity: 1;
}

[data-aos="custom-fade-up"] {
  transform: translateY(30px);
  opacity: 0;
  transition-property: transform, opacity;
}

[data-aos="custom-fade-up"].aos-animate {
  transform: translateY(0);
  opacity: 1;
}

[data-aos="custom-fade-down"] {
  transform: translateY(-30px);
  opacity: 0;
  transition-property: transform, opacity;
}

[data-aos="custom-fade-down"].aos-animate {
  transform: translateY(0);
  opacity: 1;
}
