* {
  margin: 0;
  padding: 0;
}
body {
  font-family:
    "Microsoft JhengHei", "微軟正黑體", "Apple LiGothic", "PingFang TC",
    "Helvetica Neue", sans-serif;

}

:root {
  --font: #3d0000;
  --navy-light: #1f4a8c;
  --blue: #0042f9;
}

.text-red{
  color:red;
}


/* 版頭 */
.EnTie-Redbar {
  display: flex;
  justify-content: flex-end;
  align-content: center;
  background: #cc0001;
  position: fixed;
  height: 85px;
  width: 100%;
  z-index: 10;
}

.EnTie-Redbar img {
  max-width: 100%;
  width: 212px;
  object-fit: contain;
  margin-right: 15px;
}

/* 背景 */

.rich-container{
  background-image:url("./image/BG.png") ;
  background:  linear-gradient(0deg,rgba(77, 49, 10, 1) 0%, rgba(0, 0, 0, 1) 100%);
  width: 100%;
      overflow-x:hidden ;
}


.rich-title{
  /* height:100vh; */
  max-width: 1200px;
  margin:0 auto;
}

.rich-title-sm{
  width: 100%;
  max-width: 700px;
  position: relative;
  top: 20px;
}


.rich-banner-background{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100vh;
}
.title-img-box{
  padding-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.wise-line-BG {
    background-image: url("./image/PIC-BG-TopLine-2.png");
    background-position: center;
    background-size: cover;
}

.light-move-light-L{
  background: url("./image/light-3.png");
  display: inline-block;
  position:absolute;
    z-index: 1;
    width: 94px;
    height: 90px;
    background-size: cover;
    left: -1%;
    top: 244px;
    animation: move-light-L 5s linear infinite;
}

.light-move-light-R{
  background: url("./image/light-3.png");
  display: inline-block;
  position: absolute;
    z-index: 1;
    width: 94px;
    height: 90px;
    background-size: cover;
    right: 9%;
    top: 100px;
    animation: move-light-R 5s linear infinite;
}





.rich-light-right{
  position: absolute; top: 20px;
  right: 0;
  width: 500px;
  height: 500px;
  top: 10px;
}

.rich-card-box{
  position: relative;
  display: flex;
  margin:0 auto;
  justify-content: center;
  padding: 50px 0;
}
.rich-card-box::before{
  content: "";
  position: absolute;
    width: 300px;
    height: 420px;
    background-image: url("./image/BG-Block.png");
    background-size: contain;
  background-repeat: no-repeat;
  left: 0;
  z-index: 0;
}

.rich-card-box::after{
  content: "";
  position: absolute;
    width: 300px;
    height: 420px;
    background-image: url("./image/BG-Block.png");
    background-size: contain;
  background-repeat: no-repeat;
  transform: scale(-1);
  right: 0;
  z-index: 0;
}

.rich-card-box .rich-card{
width: 50%;
max-width:450px;
z-index:7;
}
.rich-cube-Three{
  width: 130px;
  height:130px;
  position: absolute;
  top: 9px;
  z-index: 9;
}

.rich-text{
text-align: center;
color: #fdeab3;
z-index: 1;
position: relative;
}
.rich-text h2{
  margin-bottom: 10px;
  font-size: 32px;
}
.rich-text p{
font-size: 18px;
font-weight: 600;
    max-width: 880px;
    margin: 0 auto;
    text-align: justify;
}
.PIC-building{
  background: url("./image/PIC-building-1.png");
  background-repeat: repeat;
  background-size: contain;
  max-width: 100%;
  width: 100%;
   height: 50px;
}


@keyframes move-light-L {
  
    0%,10% {
        transform: rotate(-45deg) translateX(6vw) translateY(-25vw);
        opacity: 1
    }

    30% {
        transform: rotate(-45deg) translateX(6vw) translateY(-17vw);
        opacity: 1
    }

    50% {
        transform: rotate(-45deg) translateX(6vw) translateY(0);
        opacity: 1
    }

    70%,100% {
        transform: rotate(-45deg) translateX(6vw) translateY(25vw);
        opacity: 0
    }
}



@keyframes move-light-R {
    0%,10% {
        transform: rotate(45deg) translateX(6vw) translateY(-25vw);
        opacity: 1
    }

    30% {
        transform: rotate(45deg) translateX(6vw) translateY(-17vw);
        opacity: 1
    }

    50% {
        transform: rotate(45deg) translateX(6vw) translateY(0);
        opacity: 1
    }

    70%,100% {
        transform: rotate(45deg) translateX(6vw) translateY(25vw);
        opacity: 0
    }
}






/* 注意事項 */
.surfboad-box {
  display: flex;
}
.summer-notify {
  max-width: 1000px;
  margin: 20px auto 80px auto;
}
.summer-notify ul {
  display: none;
}
.surfboad {
  max-width: 280px;
  width: 100%;
  margin: 0 auto;
}
.surfboad-title-h1 {
  position: relative;
}

.summer-notice-content {
  background: #faf1e2;
  border: 2px solid #c7a351;
  box-shadow: #e3c998 5px 5px;
  /* border-radius: 20px; */
  padding: 50px 50px 50px 70px;
  margin-bottom: 50px;
  margin: 0 auto;
  text-align: justify;
}

.summer-notify ul li {
list-style-type: none;
}

.summer-notify input {
  display: none;
} /* 隱藏 checkbox */

.surfboad-img {
  display: flex;
  position: relative;
  background: #c7a351;
  background-size: contain;
  background-repeat: no-repeat;
  background:linear-gradient(90deg, rgb(255 252 222) 50%, rgb(204 171 116) 100%);
  border: 2px solid #c7a351;
    width: 188px;
    height: 60px;
    border-radius: 5px;
    text-align: center;
    margin:30px auto 20px auto;
    color: #340805;
    font-size: 32px;
    font-weight: bold;
    align-items: center;
    padding-left: 27px;
}

.surfboad-img::after {
  content: "";
  display: inline-block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("./image/caret-up.svg");
  width: 30px;
  height: 25px;
  position: absolute;
  top: 19px;
  right: 17px;
  transition: transform 0.3s ease;
}
.summer-notify label {
  cursor: pointer;
  color: #691212;
}

/* 隱藏子選單 */
/* 勾選 checkbox 時，相鄰的下一個兄弟元素 .NewHome-notice-content-2就顯示 */
.summer-notify input:checked ~ .summer-notice-content {
  display: block;
}

.summer-notify input:checked ~ .surfboad-title-h1 .surfboad-img::after {
  transform: rotate(180deg); /* 變為：展開狀態（朝下） */
}

/* 注意事項結束 */



/* 頁尾 */
.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;
}

/* 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;
  padding: 70px 10px 30px 10px;
  max-width: 1200px;
  margin: 0 auto;
  color: #fff;
}


@media (min-width: 576px)  {
  .PIC-building{
    height: 110px;
  }
  .rich-title{
      max-width: 700px;
  }
 }

@media (min-width: 768px)  { 
  .PIC-building{
    height: 124px;
  }
    .rich-title{
      max-width: 800px;
  }
 }

@media (min-width: 992px)  { 
  .PIC-building{
    height: 83px;
  }
      .rich-title{
      max-width: 800px;
  }
 }

@media (min-width: 1200px) { 
    .PIC-building{
    height: 163px;
  }
    .rich-title{
      max-width: 1000px;
  }
 }



   @media screen and (max-width:1024px){
        .rich-title{
          max-width: 100%;
        }
        .light-move-light-R {
        top: 155px;
}
   }

  @media screen and (max-width: 820px){
    .rich-card-box::before,.rich-card-box::after{
      display: none;
    }
  }
 @media screen and (max-width: 768px){
  .rich-card-box {
    flex-direction: column;
    padding: 0px 0;
}
.summer-notice-content{
      padding: 22px 19px 15px 33px;
      margin: 0 15px;
}

.rich-title {
    max-width:100%;
    padding-top: 35px;
}

.rich-banner-background{
  height: 100%;
  margin-bottom: 30px;
}
.rich-title-sm {
  max-width: 350px;
  top:20px ;
}


.rich-card-box .rich-card {
    width: 100%;
    max-width: 350px;
    margin-bottom: 45px;
}

.rich-card-box {
    align-items: center;
}

  .rich-cube-Three {
    width: 100px;
    height: 100px;
    position: absolute;
    top: 40%;
  }


  .rich-text h2 {
    margin-bottom: 10px;
    font-size:18px ;
    padding: 0 10px;
   text-align-last: justify;
}

  .rich-text p {
    font-size: 16px;
    font-weight: 500;
    padding: 0 10px;
    text-align: justify;   
}


.light-move-light-L{
  width: 60px;
  height: 60px;
  position: absolute;
  left: -33px;
  top: 252px;
}

.light-move-light-R{
width: 60px;
height: 60px;
position: absolute;
right: 7px;
top: 214px;
}
    .rich-card-box::before,.rich-card-box::after{
      display: block;
    }

.rich-card-box::before {
    width: 101px;
    height: 307px;
}


.rich-card-box::after {
    width: 101px;
    height: 307px;
    top: 23%;
}






 }


/* 版頭 */
@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;
  }
}


