:root {
  --BoxWidth: 800px;
  --PrimaryColor:#edf4f5;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  /* link 滑順 */
  scroll-behavior: smooth;
  font-family: "Noto Sans HK", sans-serif;
}

#screenBackgroundFilter {
  position: fixed;
  display: block;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
  opacity: 1;
  width: 100%;
  height: 100%;
}

#screenBackground {
  position: fixed;
  display: block;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  object-fit: cover;
  z-index: -1;
  opacity: 1;
  width: 100%;
  min-width: 1440px;
  opacity: .1;
}

.container,
.centerBox {
  width: 100%;
  display: flex;
  justify-content: center;
}

.container {
  padding: 0 10px;
}

.center {
  display: flex;
  justify-content: center;
}

.shadowBox {
  box-shadow: 0px 0px 16px 0px #00000033;
  padding: 50px;
  border-radius: 35px;
  width: 100%;
  max-width: 718px;
}

.shadowBox .des {
  font-family: "Kosugi Maru", sans-serif;
  color: #2d4a75;
  text-align: center;
}

.shadowBox .des span {
  color: #008d6b;
}

.shadowBox li {
  text-align: left;
}

.box {
  width: 100%;
  max-width: var(--BoxWidth);
  padding: 60px 0px;
  position: relative;
}



/* 圖片模式 */
/* .title {
  width: 183px;
  margin-bottom: 50px;
}
.title img {
  width: 100%;
  display: block;
} */

:root {
  --titleIconWidth: 40px
}

.title {
  padding: 0 calc(var(--titleIconWidth) + 10px);
  margin-bottom: 40px;
  position: relative;
  min-height: var(--titleIconWidth);
  line-height: var(--titleIconWidth);
  font-weight: 900;
  font-size: 32px;
  letter-spacing: 0%;
  color: #172a88;
}

.title::after,
.title::before {
  content: '';
  position: absolute;
  top: 0;
  width: var(--titleIconWidth);
  height: var(--titleIconWidth);
  background-image: url(../imgs/title_icon.png);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
}

.title::after {
  left: 0;
}

.title::before {
  right: 0;
}


.des {
  font-weight: 400;
  font-size: 18px;
  line-height: 170%;
  letter-spacing: 0px;
  vertical-align: middle;
}

.w100 {
  width: 100%;
}

.w50 {
  width: calc(50% - 10px);
}

.computerShowF {
  display: flex !important;
}

.mobileShowF {
  display: none !important;
}

.computerShow {
  display: block !important;
}

.mobileShow {
  display: none !important;
}

@media (max-width:768px) {

  .box {
    padding: 60px 0px;
  }

  .computerShowF {
    display: none !important;
  }

  .mobileShowF {
    display: flex !important;
  }

  .computerShow {
    display: none !important;
  }

  .mobileShow {
    display: block !important;
  }
}

@media (max-width:480px) {

  .w50 {
    width: 100%;
  }

  /* title */
  :root {
    --titleIconWidth: 30px
  }

  .title {
    font-size: 26px;
  }

  /* title end */

  .des {
    font-size: 16px;
  }

  .shadowBox {
    padding: 30px;
  }
}


/* toggle btn */

.toggle {
  position: relative;
  display: flex;
  align-items: center;
  width: 387px;
  /* 依需求調整 */
  height: 73px;
  background: #ccc;
  border-radius: 50px;
  cursor: pointer;
  color: #c0c0c0;
  overflow: hidden;
  margin-bottom: 50px;
}

.toggle__capsule {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: #fff;
  border-radius: 50px;
  transition: transform 0.3s ease;
  z-index: 1;
}

.toggle__option {
  flex: 1;
  text-align: center;
  z-index: 2;
  transition: color 0.3s ease;
  user-select: none;
  font-size: 24px;
  font-family: "Kosugi Maru";
}

.toggle.active .toggle__capsule {
  transform: translateX(100%);
}

.toggle.active .toggle__option[data-value="video"] {
  color: #fff;
}

.toggle:not(.active) .toggle__option[data-value="quote"] {
  color: #fff;
}

.toggle.active .toggle__option[data-value="quote"] {
  color: #C0C0C0;
}

.toggle:not(.active) .toggle__option[data-value="video"] {
  color: #C0C0C0;
}

@media (max-width:480px) {
  .toggle {
    width: 300px;
  }
  .toggle__option {
    font-size: 20px;
  }
}

/* animate */

/* 旋轉動畫（中心點旋轉） */
@keyframes rotateCenter {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animateRotate5s {
  animation: rotateCenter 5s linear infinite; 
  transform-origin: center center; 
}
.animateRotate4s {
  animation: rotateCenter 4s linear infinite; 
  transform-origin: center center; 
}
.animateRotate3s {
  animation: rotateCenter 3s linear infinite; 
  transform-origin: center center; 
}

/* 上下晃動動畫（緩慢浮動） */
@keyframes floatUpDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px); /* 上下位移幅度，可調整 */
  }
}

.animateBounce3s {
  animation: floatUpDown 3s ease-in-out infinite; /* 3秒一個循環，可調整 */
}
.animateBounce2s {
  animation: floatUpDown 2s ease-in-out infinite; /* 3秒一個循環，可調整 */
}