* {
  margin: 0;
  padding: 0;
}

/* 版頭 */
.EnTie-Redbar {
  background: #cc0001;
  height: 85px;
  width: 100%;
  z-index: 9;
  display: flex;
  justify-content: flex-end;
  align-content: center;
}

.EnTie-Redbar img {
  max-width: 100%;
  width: 212px;
  object-fit: contain;
  margin-right: 15px;
}

.service-container {
  font-family:
    "Microsoft JhengHei", "微軟正黑體", "Apple LiGothic", "PingFang TC",
    "Helvetica Neue", sans-serif;
  background: linear-gradient(
    180deg,
    rgb(255 248 244) 0%,
    rgb(255 225 210) 100% 100%
  );
  overflow-x: hidden;
}
.service-banner {
  background: url("./image/PC-BannerBG-3.png");
  max-width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  height: 100vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  background-position: center -250px;
}
.service-banner .PIC-title {
  max-width: 550px;
  margin-top: 50px;
  width: 100%;
  z-index: 9;
}
.service-banner .PIC-people {
  max-width: 750px;
  animation: jump 1.5s ease-in-out infinite;
  position: relative;
  top: -12%;
  width: 100%;
  background-size: contain;
  margin-top: 20px;
}
.PIC-Star {
  height: 100%;
  max-width: 100%;
  position: absolute;
  animation: blink 2s linear infinite;
  object-fit: cover;
  transform: rotateY(180deg);
}
.section-1 {
  padding-top: 30px;
}
/* .section-1 .service-content :last-child {
  margin-top: 15px;
} */
.section-1,
.section-2 {
  max-width: 1200px;
  margin: 0 auto;
}
.service-box {
  border: 2px solid #2e9fd1;
  padding: 5px;
  box-shadow: 9px 11px 0px 0px #4271d6;
  margin-bottom: 50px;
  background-color: #fff;
}
.service-hole {
  background-image: radial-gradient(
    circle,
    transparent 30%,
    #89abd3 42%,
    #89abd3 50%,
    transparent 52%
  );
  background-size: 20px 20px;
  background-repeat: repeat-x;
  border-bottom: #2e9fd1 1px dashed;
  margin-top: 5px;
  padding-bottom: 5px;
  height: 20px;
}
.section-1 .service-box img {
  position: relative;
  width: 200px;
  height: 126px;
  bottom: -15px;
}
.section-1.Date-260522 .service-box img {
  position: relative;
  width: 150px;
  height: 146px;
  bottom: -15px;
}

.section-1.Date-260730 .service-box img {
  position: relative;
    width: 192px;
    height: 175px;
  bottom: -15px;
}

.section-1.Date-260901 .service-box img {
position: relative;
    width: 176px;
    height: 169px;
    bottom: -7px;
}
.section-1.Date-261006 .service-box img {
position: relative;
    width: 162px;
    height: 169px;
    bottom: -23px;
}
.section-2 .service-box img {
  position: relative;
  width: 180px;
  height: 116px;
  bottom: -15px;
}
.section-2 .service-box img {
  max-width: 130px;
}

.service-title-1 {
  display: flex;
  justify-content: center;
  position: relative;
  align-items: center;
}
.service-title-1 h1 {
  color: #15559c;
  margin-left: 15px;
}

.service-content {
  border: 2px solid #2e9fd1;
  border-radius: 20px;
  padding: 45px 55px;
  color: #15559c;
  text-align: justify;
}
.service-content p {
  font-size: 25px;
  /* text-indent: 1.5em; */
  padding-bottom: 10px;
}
.service-content h2 {
  padding: 6px 0;
  font-size: 30px;
}

.service-bank {
  background: url("./image/BG-title.svg") no-repeat center;
  background-size: contain;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  padding: 30px;
  font-size: 25px;
  margin-left: 20px;
}

/* 版頭 */
.EnTie-Redbar {
  background: #cc0001;
  height: 85px;
  width: 100%;
  z-index: 9;
  display: flex;
  justify-content: flex-end;
  align-content: center;
}

.EnTie-Redbar img {
  max-width: 100%;
  width: 212px;
  object-fit: contain;
  margin-right: 15px;
}

/* 頁尾 */
.EnTie-CIS-container {
  padding: 0px 0 5px 0;
  background: #fff;
  height: 60px;
}
.EnTie-CIS-line-container {
  position: relative;
  width: 100%;
  height: 2px; /* 高度與線條相同 */
  top: 0;
}
.EnTie-grey-line {
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #ccc; /* 底線顏色 */
}
.EnTie-red-line {
  position: absolute;
  width: 100%; /* 疊加線的長度 */
  height: 2px;
  top: -2px;
  background-color: #ff0000; /* 疊加線顏色 */
  z-index: 10; /* 確保在上方 */
}
.EnTie-CIS-MidRedText {
  text-align: center;
  width: 100%;
  margin: 0 auto;
  padding: 10px 0;
  font-size: 28px;
  color: #cc000d;
  font-weight: 600;
}

/* Footer 頁尾底部*/
.EnTie-footer {
  background: rgb(204, 0, 13);
  height: 64px;
  padding: 0px 90px;
  font-weight: bold;
  color: white;
  display: flex;
  justify-content: space-between;
}
.EnTie-footer img {
  width: 250px;
}
.EnTie-footer-detail {
  width: 100%;
  margin-left: 30px;
  padding-top: 13px;
  font-weight: 400;
}
.EnTie-footer-detail span {
  padding-left: 10px;
}

.EnTie-number {
  text-align: end;
  font-size: 12px;
  margin-bottom: 70px;
}

/* 動畫 */
@keyframes jump {
  0%,
  100% {
    transform: translateY(0); /* 起點與終點在地上 */
  }
  50% {
    transform: translateY(-30px); /* 最高點往上移動 50px */
  }
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@media screen and (min-width: 1200px) and (max-width: 1536px) {
  .service-banner .PIC-title {
    max-width: 500px;
    top: 50%;
    margin-top: 35px;
  }
  .service-banner .PIC-people {
    max-width: 600px;
    top: -23%;
  }
}
@media (max-width: 1440px) {
  .service-banner .PIC-people {
    max-width: 700px;
    top: -23%;
  }
}
@media (max-width: 1366px) {
  .service-banner .PIC-people {
    max-width: 680px;
  }
}

@media (max-width: 1280px) {
  .service-banner .PIC-people {
    max-width: 670px;
  }
}

/* 手機 */
@media (max-width: 1200px) {
  .service-banner {
    height: 100%;
  }
  .service-banner .PIC-people {
    top: 0;
  }
}
@media screen and (max-width: 768px) {
  .EnTie-Redbar {
    height: 30px;
  }
  .EnTie-Redbar img {
    margin-right: 5px;
    width: 80px;
  }
  .service-box img {
    bottom: -8px;
    margin-bottom: 15px;
  }
  .service-bank {
    margin-left: 0px;
    font-size: 28px;
    padding: 18px 30px;
  }

  .service-title-1 {
    align-items: center;
    flex-direction: column;
  }
  .service-title-1 h1 {
    text-align: center;
    position: relative;
    margin-left: 0px;
    font-size: 30px;
    padding-top: 15px;
  }
  .Date-260522 .service-title-1 h1 {
    font-size: 26px;
  }

  .section-1,
  .section-2 {
    padding: 0 15px 0 10px;
  }
  .service-banner {
    height: 100%;
    background-position: center;
  }
  .service-banner .PIC-title {
    margin-top: 20px;
    max-width: 350px;
  }
  .service-banner .PIC-people {
    top: 0;
    margin-top: 50px;
  }
  .service-content {
    padding: 20px 20px;
    text-align: justify;
  }
  .Date-260901 .service-title-1 h1{
    font-size: 22px;

  }

  /* 版尾 */
  .EnTie-CIS-container {
    height: 45px;
  }
  .EnTie-CIS-MidRedText {
    padding: 5px 0;
    font-size: 23px;
  }

  .EnTie-footer {
    flex-direction: row;
    align-items: center;
    line-height: 30px;
    height: 45px;
    padding: 0 5px;
  }
  .EnTie-footer-detail {
    margin-left: 0;
    text-align: center;
    padding-top: 5px;
  }
  .EnTie-footer-detail span {
    display: block;
  }
  .EnTie-footer img {
    max-width: 180px;
  }
}
@media screen and (max-width: 375px) {
  .Date-260522 .service-title-1 h1 {
    font-size: 23px;
  }
}

/* 1. 極小螢幕 (Small Phones) - 確保 320px 不跑版 */
@media screen and (max-width: 320px) {
  .service-title-1 h1 {
    font-size: 23px;
  }
  .service-bank {
    font-size: 22px;
    padding: 15px;
  }
  .service-banner .PIC-title {
    max-width: 250px;
  }
}
