@charset "UTF-8";
:root {
  --nav-height: 80px;
}

.hero-swiper {
  height: calc(100vh - var(--nav-height));
  position: relative;
}
.hero-swiper .swiper-slide.hero-slide {
  background-size: cover;
  background-position: 56%;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
}
.hero-swiper .swiper-slide.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}
.hero-swiper .hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: flex;
  align-items: center;
}
.hero-swiper .hero-content .slogan {
  position: relative;
  z-index: 11;
}

@media (min-width: 768px) and (max-width: 1439px), (min-width: 1440px) {
  .hero-swiper {
    height: 70vh;
  }
}
.hero {
  background-image: url(../img/hero.jpg);
  background-size: cover;
  position: relative;
  height: calc(100vh - var(--nav-height));
  background-position: 56%;
  display: flex;
  align-items: center;
  transition: background-image 0.5s ease-in-out;
}

@media (min-width: 768px) and (max-width: 1024px), (min-width: 1440px) {
  .hero {
    height: 70vh;
  }
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.hero .slogan {
  position: absolute;
  z-index: 3;
}

.hero.content {
  height: min(30vh, 360px);
}

/* 淡入動畫定義 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.site-title {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  text-align: center;
  padding: 0 2rem 3rem;
  position: relative;
}
.site-title::after {
  content: "";
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 4px;
  background: linear-gradient(to right, #ff0000 0%, #ff0000 50%, #0000ff 50%, #0000ff 100%);
  border-radius: 2px;
}
@media (max-width: 768px) {
  .site-title {
    font-size: 1.5rem;
    padding: 0 2rem 3rem;
  }
  .site-title::after {
    width: 150px;
    height: 3px;
    bottom: 2rem;
  }
}

.about-content img {
  transition: transform 0.3s ease;
}
.about-content img:hover {
  transform: scale(1.02);
}

section {
  margin: clamp(20px, 7vh, 4rem) 0;
}

section[class^=bg-] {
  padding: clamp(20px, 7vh, 4rem) 0;
}

.site-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #262665;
  color: #fff;
  min-width: 130px;
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
}
.site-button:hover {
  background-color: #ff0000;
  color: #fff;
}/*# sourceMappingURL=style.css.map */