* {
  margin: 0;
  padding: 0;
}
body {
  font-family:
    "Microsoft JhengHei", "微軟正黑體", "Apple LiGothic", "PingFang TC",
    "Helvetica Neue", sans-serif;
}

.txet-red {
  color: red;
}

/* 版頭 */
.EnTie-Redbar {
  display: flex;
  justify-content: flex-end;
  align-content: center;
  background: #cc0001;
  position: fixed;
  height: 85px;
  width: 100%;
  z-index: 9;
}

.EnTie-Redbar img {
  max-width: 100%;
  width: 212px;
  object-fit: contain;
  margin-right: 15px;
}

/* 中間內容 */
.EnTieSummer-container {
  padding-top: 85px;
  background: #a2e7f7;
}
.Summer-title-box {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  position: relative;
  height: 87vh;
  padding-top: 30px;
}
.Summer-title-box::before {
  content: "";
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  width: 420px;
  height: 320px;
  background: url("./image/PIC-leaf-L.png");
  top: -89px;
  left: -35px;
}

.Summer-title-box::after {
  content: "";
  position: absolute;
  background-repeat: no-repeat;
  background-size: cover;
  width: 260px;
  height: 350px;
  background: url("./image/PIC-leaf-R.png");
  top: -103px;
  right: -0px;
}

.Summer-content {
  background-color: #62d8f2;
  width: 100%;
  /* height: 600px; */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 50px;
}

.Summer-content::before {
  content: "";
  background: url("./image/PIC-island-left-1.png");
  display: inline-block;
  background-repeat: no-repeat;
  background-size: contain;
  width: 517px;
  height: 414px;
  left: -3px;
  top: -254px;
  position: absolute;
}

.Summer-content::after {
  content: "";
  background: url("./image/PIC-island-right-1.png");
  display: inline-block;
  width: 600px;
  height: 500px;
  position: absolute;
  right: 0px;
  top: -227px;
  background-repeat: no-repeat;
  background-size: contain;
}

.Summer-money-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  font-size: 20px;
  padding: 20px;
}
.Summer-money-title h2 span {
  font-size: 37px;
}
.TitleSummer {
  position: relative;
}
.TitleSummer::after {
  content: "";
  background: url("./image/title-summer-new-money-sm-2.png");
  position: absolute;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  width: 300px;
  height: 300px;
  left: 185px;
  top: 1px;
  animation: glare 0.8s infinite alternate;
}

/* .PIC-405 {
  position: absolute;
  animation: glare 0.8s infinite alternate;
} */

/* 動畫 */

@keyframes glare {
  0% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.TitleSummer img {
  max-width: 700px;
}

.Title-new-money-sm {
  position: absolute;
  background-size: cover;
  width: 250px;
  height: 400px;
  background-repeat: no-repeat;
  background: url("./image/title-summer-new-money-sm-2.png");
}
.Title-num {
  position: relative;
}
.Summer-data-done {
  font-size: 22px;
  padding-top: 20px;
  padding-bottom: 50px;
  font-weight: bold;
}

.Summer-OneYear {
  width: 250px;
}
.Summer-2 {
  width: 180px;
  animation: shake3 0.8s infinite;
}

@keyframes shake3 {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(5deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.Summer-three-box {
  display: flex;
}

.Summer-SmBox {
  background: #fff;
  max-width: 180px;
  height: 150px;
  border-radius: 25px;
  padding: 15px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 30px;
  z-index: 1;
}
.Summer-SmBox h3 {
  font-size: 30px;
}
.Summer-SmBox span {
  color: #fa3b5a;
  font-size: 55px;
  padding: 5px 0;
  font-weight: bold;
}
.Summer-SmBox p {
  display: flex;
  font-size: 25px;
  font-weight: bold;
}
.Summer-SmBox .sm-text {
  color: black;
  font-size: 18px;
}
.Summer-SmBox-bottom-text {
  padding-top: 20px;
  font-weight: bold;
  font-size: 20px;
}
.Summer-SmBox-bottom-text-sm {
  font-size: 18px;
  font-weight: 400;
}

/* 頁尾 */
.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: 500;
}

/* 草地 */
.Summer-sod {
  background-image: url("./image/PIC-BigSod.png");
  width: 100%;
  height: 150px;
  padding-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-position: top center;
  justify-content: center;
  position: relative;
  z-index: 1;
  /* background-repeat: no-repeat; */
  /* background-size: cover; */
}

.Summer-sod::before {
  content: "";
  background: url("./image/PIC-flower-left.png");
  display: inline-block;
  width: 200px;
  height: 180px;
  position: absolute;
  left: 0px;
  bottom: 0px;
  background-repeat: no-repeat;
  background-size: contain;
}

.Summer-sod::after {
  content: "";
  background: url("./image/PIC-flower-right.png");
  display: inline-block;
  width: 200px;
  height: 100px;
  position: absolute;
  right: 0px;
  bottom: -17px;
  background-repeat: no-repeat;
  background-size: contain;
}
/* 注意事項 */
.Summer-notion-box {
  margin-top: 100px;
}
.Summer-notion-box h3 {
  background: #ef3749;
  border: 2px #5cc477 solid;
  color: #fff;
  display: inline;
  position: relative;
  top: 15px;
  left: 10px;
  /* text-align: center;
  width:150px; */
  padding: 10px 30px;
  font-size: 28px;
  border-radius: 35px;
  margin: 0 auto;
}
.Summer-notion {
  background: #a2e7f7;
  max-width: 800px;
  padding: 50px;
  border-radius: 20px;
  list-style-type: disc;
  text-align: justify;
}

.Summer-notion li {
  list-style-type: decimal;
}

/* 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-top: 15px;
  margin-bottom: 30px;
}

/* 版頭 */
@media screen and (max-width: 768px) {
  .EnTie-Redbar {
    height: 30px;
  }
  .EnTie-Redbar img {
    margin-right: 5px;
    width: 80px;
  }
}

/* 版尾 */
@media screen and (max-width: 768px) {
  .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: 768px) {
  .EnTieSummer-container {
    overflow-x: hidden;
  }

  .TitleSummer img {
    max-width: 100%;
  }

  .Summer-SmBox h3 {
    font-size: 25px;
  }
  .Summer-money-title {
    font-size: 18px;
  }

  .TitleSummer::after {
    content: "";
    width: 150px;
    height: 190px;
    left: 107px;
    top: -5px;
    animation: glare 0.8s infinite alternate;
  }

  .Summer-title-box::before {
    content: "";
    position: absolute;
    background-size: cover;
    width: 200px;
    height: 200px;
    top: -101px;
    left: -35px;
  }

  .Summer-title-box::after {
    content: "";
    position: absolute;
    background-size: cover;
    background-repeat: no-repeat;
    width: 200px;
    height: 250px;
    top: -100px;
    right: -20px;
  }

  .Summer-SmBox-bottom-text {
    padding-top: 30px;
  }

  .Summer-content::after {
    content: "";
    width: 200px;
    height: 200px;
    right: 0px;
    top: -75px;
  }

  .Summer-content::before {
    content: "";
    width: 140px;
    height: 120px;
    left: -3px;
    top: -69px;
  }
  .Summer-SmBox {
    margin: 0 10px;
    padding: 15px;
  }

  .Title-num {
    margin-top: 30px;
    display: flex;
    align-items: center;
  }
  .Summer-SmBox-bottom-text-sm {
    padding: 0 15px;
  }
  /* 注意事項 */

  .Summer-notion-box {
    display: grid;
  }

  .Summer-notion-box h3 {
    top: 30px;
    left: 0px;
  }

  .Summer-notion {
    padding: 50px 30px;
    margin: 0 15px;
  }
  .EnTie-number {
    margin-right: 20px;
  }

  /* 草地 */
  .Summer-sod::after {
    bottom: 0px;
  }

  .Summer-sod::before {
    bottom: 20px;
  }
  .Summer-title-box {
    padding-top: 0px;
  }
  .Summer-notion-box {
    margin-top: 30px;
  }
}

@media screen and (max-width: 390px) {
  .Summer-money-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    font-size: 20px;
    padding: 0 10px;
  }
  .Summer-money-title {
    font-size: 18px;
    padding-bottom: 20px;
  }
  .Summer-OneYear {
    max-width: 200px;
  }

  .TitleSummer::after {
    left: 96px;
    top: -9px;
  }
}

@media screen and (max-width: 390px) {
  .Summer-title-box::after {
    width: 169px;
    height: 250px;
    top: -154px;
    right: -20px;
  }

  .Summer-title-box::before {
    top: -122px;
    left: -35px;
  }
  .Summer-money-title {
    font-size: 15px;
    padding-bottom: 20px;
  }
}

/* .TitleSummer img{} */
