body {
  --bs-body-font-family: "Noto Sans TC", system-ui, -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei", "Noto Sans CJK", "Hiragino Sans GB", sans-serif;
  background: url("./images/bg.jpg") top center/cover no-repeat fixed;
  color: #2E75B6;
  scroll-behavior: smooth;
}

section {
  padding: 30% 0;
}
@media (min-width: 768px) {
  section {
    padding: 20% 0;
  }
}
@media (min-width: 992px) {
  section {
    padding: 12% 0;
  }
}

.hamburger {
  width: 30px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #333;
  border-radius: 4px;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

.navbar-brand {
  font-weight: 500;
  display: block;
  --bs-navbar-brand-padding-y: 0;
}
.navbar-brand:hover {
  color: #2E75B6;
}
.navbar-brand img {
  width: 50px;
  margin-right: 15px;
}
@media (min-width: 576px) {
  .navbar-brand img {
    width: 80px;
  }
}

nav.navbar {
  background: #FFF2CC;
}

.navbar-nav {
  background: #F4B183;
  border-radius: 15px;
  margin-top: 10px;
  padding: 0 20px;
}
@media (min-width: 992px) {
  .navbar-nav {
    margin-top: 0;
    padding: 0 20px 20px 40px;
  }
}

.navbar-toggler {
  border: none;
  background: transparent;
  padding: 10px;
}
.navbar-toggler:focus {
  --bs-navbar-toggler-focus-width: 0;
}

.nav-link {
  --bs-nav-link-color: #FFF;
}

#home {
  color: #EA9416;
  font-size: 2.5rem;
  font-weight: 500;
  margin-top: 0;
  padding-top: 40%;
}
#home .container {
  position: relative;
}
#home .text-wrap {
  width: 282px;
  margin: 0 auto;
}
#home .text01 {
  padding-bottom: 20px;
}
@media (min-width: 576px) {
  #home .text-wrap {
    width: 432px;
  }
  #home .text02 {
    padding-left: 150px;
  }
}
@media (min-width: 768px) {
  #home {
    padding-top: 40%;
  }
  #home .text-wrap {
    margin: 0;
  }
  #home .text01 {
    padding-bottom: 40px;
  }
}
@media (min-width: 992px) {
  #home {
    padding-top: 20%;
  }
  #home .text02 {
    padding-left: 80px;
  }
}

.home-img {
  width: 200px;
  height: auto;
  margin: 0 auto;
  display: block;
}
@media (min-width: 768px) {
  .home-img {
    width: 300px;
    transform: translateY(-50%);
    position: absolute;
    top: 50%;
    left: 60%;
  }
}
@media (min-width: 992px) {
  .home-img {
    width: 400px;
    left: 50%;
  }
}
@media (min-width: 1200px) {
  .home-img {
    width: 500px;
    left: 45%;
  }
}
@media (min-width: 1400px) {
  .home-img {
    left: 37%;
  }
}

.title {
  width: 175px;
  font-size: 2rem;
  font-weight: 500;
  text-align: center;
  background: #FFF2CC;
  margin: 0 auto 90px auto;
  padding: 10px 0;
  position: relative;
}
.title::before, .title::after {
  content: "";
  display: block;
  width: 200px;
  height: 115px;
  position: absolute;
}
.title::before {
  background: #F4B183;
  left: -76px;
  top: -35px;
  z-index: -1;
}
.title::after {
  border: 3px solid #FFE699;
  right: -73px;
  top: -20px;
  z-index: 2;
}
@media (min-width: 576px) {
  .title {
    width: 210px;
    font-size: 2.5rem;
  }
  .title::before, .title::after {
    width: 265px;
    height: 150px;
  }
  .title::before {
    left: -92px;
    top: -49px;
  }
  .title::after {
    right: -73px;
    top: -23px;
  }
}

#about p {
  color: #3B3838;
  font-size: 1.2rem;
}

.about-img {
  width: 200px;
  height: auto;
  display: block;
  margin: 30px auto 0 auto;
}

#service img {
  width: 100%;
  height: auto;
  padding-top: 10px;
  padding-left: 10px;
}
#service .card {
  max-width: 270px;
  width: 100%;
  border-left: 1px solid #FFF;
  margin: 0 auto 30px auto;
}
#service .card::before {
  background: #FFF;
  content: "";
  display: block;
  width: 100%;
  height: 30px;
}
#service .text {
  font-size: 1.2rem;
  font-weight: 500;
  color: #000;
  padding: 20px 0 30px 10px;
}
@media (min-width: 768px) {
  #service .card {
    margin: 0;
  }
}

#advantage .sub-title {
  font-size: 1.8rem;
  font-weight: 500;
  color: #00C000;
  background: #DEEBF7;
  display: inline-block;
  padding: 10px 15px;
  line-height: 100%;
  position: relative;
}
#advantage .sub-title::after {
  content: "";
  display: block;
  width: 130px;
  height: 60px;
  border: 3px solid #FFF;
  position: absolute;
  top: 23px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}
#advantage .text {
  font-size: 1.1rem;
  font-weight: 500;
  color: #000;
  padding: 80px 0 20px 0;
}
@media (min-width: 992px) {
  #advantage .text {
    font-size: 1.2rem;
    padding-bottom: 0;
  }
}

#news a {
  color: #2F5597;
  font-size: 1.5rem;
  font-weight: 500;
  text-decoration: none;
}
#news .source {
  font-size: 1rem;
  color: #2F5597;
  margin-top: 10px;
  display: block;
}
#news .source span {
  display: block;
}
#news p {
  font-size: 1.2rem;
  color: #000;
  line-height: 60px;
}
#news img {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto;
}
@media (min-width: 1400px) {
  #news .sub-title {
    display: flex;
    align-items: center;
  }
  #news .source {
    display: inline-block;
    margin-top: 0;
    padding-left: 20px;
  }
}

#contact {
  font-size: 1.2rem;
  font-weight: 400;
  color: #2F5597;
  margin-bottom: 10%;
}
#contact img {
  width: 32px;
  margin-right: 20px;
}
#contact .content {
  max-width: 652px;
  margin: 0 auto;
}
#contact .content > div {
  padding-bottom: 10px;
}
#contact .content > div span {
  width: 80%;
  display: inline-block;
}
@media (min-width: 576px) {
  #contact {
    font-size: 1.2rem;
  }
  #contact img {
    width: 60px;
  }
}
@media (min-width: 768px) {
  #contact {
    font-size: 1.6rem;
  }
  #contact img {
    width: 80px;
  }
}

footer {
  padding: 5px 20px;
  background: #FFF2CC;
}
footer a.navbar-brand {
  font-size: 1.4rem;
  color: #2F5597;
  text-decoration: none;
}