/*body{ font-family:"Helvetica", "Arial","LiHei Pro","黑體-繁","微軟正黑體", sans-serif;}*/
body {
  font-family: 'Noto Sans TC', sans;
}

.custom-container-width {
  max-width: 1280px;
}

.cover {
  height: 35.4vw;
  background: url(../images/top.png) center bottom no-repeat;
  background-size: cover;
  overflow: hidden;
  position: relative;
}

.cover::before {
  content: '';
  height: 35.4vw;
  position: absolute;
  background: url(../images/top.svg) center bottom no-repeat;
  width: 100%;
  left: 0;
  z-index: 2;
}
.cover_marquee {
  width: 100%;
  position: absolute;
  bottom: 6%;
  left: 0;
  overflow: hidden;
}
.cover_marquee.mm {
  display: none;
}
.cover_marquee .js-marquee-wrapper {
  animation-duration: 20s !important;
}

.cover_marquee_box {
  display: flex;
}

.marquee-box_people {
  min-width: 200px;
}

.cover img {
  max-width: 100%;
  margin: 0px 20px;
  max-height: 380px;
  height: 20vw;
}
.cover .smile {
  max-width: 100%;
  width: 4vw;
  position: absolute;
}
.smile.s01 {
  right: 12%;
  top: 7%;
}
.smile.s02 {
  left: 25%;
  top: 5%;
}
.cover2 {
  height: 55vw;
  width: 100%;
  background: url(../images/bg-01.svg) center;
  background-size: 5%;
  background-attachment: fixed;
  padding: 79px 0px 46px 0px;
  overflow: hidden;
}

.cover_top {
  height: 100%;
  background: url(../images/bg-02.svg) center no-repeat;
  position: relative;
  background-size: cover;
  z-index: 2;
}

.cover_top2 {
  height: 100%;
  background: url(../images/cover_top2.png) center bottom no-repeat;
  background-size: cover;
  position: absolute;
  z-index: 1000;
  left: 0;
}

.cover2_l img {
  width: 100%;
  position: absolute;
  width: 30vw;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  /* max-width: 418px; */
  left: 30%;
}
.cover3_l img {
  width: 100%;
}

.cover3 {
  padding: 100px 0;
  background-color: #d24fcd;
  position: relative;
}
.cover4_l {
  position: relative;
}

.cover4_mask {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  transition: 0.3s ease-in-out;
  cursor: pointer;
}

.cover4_l p {
  color: #000;
}
.cover4_l a:hover {
  color: #000;
  text-decoration: none;
}
.cover4_l img {
  width: 100%;
}
.cover4_l p {
  margin-top: 20px;
}
.cover4_l .more {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  z-index: 1;
  opacity: 0;
  transition: 0.3s ease-in-out;
  white-space: nowrap;
}
.cover4_l .more:hover {
  background-color: transparent;
  color: #fff;
}
.cover4_mask_outer:hover .cover4_mask,
.cover4_mask_outer:hover .more {
  opacity: 1;
}
.cover4 {
  padding: 150px 0px;
}
.cover5 {
  padding: 150px 0px;
  background-color: #ffff00;
  position: relative;
}
.cover5_wrap {
  background-color: #fff;
  padding: 100px 0px;
  overflow: hidden;
  position: relative;
}
.cover5_title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 70px;
  max-width: 100%;
  z-index: 9;
}

/*article*/

.article_text1 {
  background: #ffff00;
  border: 1px solid #000000;
  z-index: 1;
  position: absolute;
  top: 50%;
  transform: translateY(-40%);
  left: 0;
  padding: 50px;
  margin: 0px 13% 0 6%;
}
.article_text1::before {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 0;
  background: #fff;
  border: 1px solid #000000;
  transform: translate(-60px, -60px);
}
.article_text1 p {
  font-family: 'Noto Sans TC', serif;
  font-weight: normal;
  letter-spacing: 1px;
  color: #000;
  font-size: 1rem;
  line-height: 1.8rem;
  position: relative;
}

h3 {
  font-family: 'Noto Sans TC', serif;
  font-weight: 900;
  letter-spacing: 1px;
  color: #000;
  font-size: 1.6rem;
  line-height: 1.2rem;
  position: relative;
}
.article_text2 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 20px;
}
.article_text2 h3 {
  color: #fff;
  line-height: 2.2rem;
  font-weight: 700;
}

article p {
  font-family: 'Noto Sans TC', serif;
  font-weight: 500;
  text-align: justify;
  line-height: 2em;
  font-size: 1em;
  color: #000;
  margin-top: 20px;
}

.article_text2 p {
  color: #fff;
}

.more {
  padding: 12px 58px;
  font-family: 'Helvetica', 'Arial', 'LiHei Pro', '黑體-繁', '微軟正黑體',
    sans-serif;
  font-weight: 900;
  letter-spacing: 2px;
  font-size: 1rem;
  color: #000;
  background: #fff;
  margin-top: 20px;
  display: inline-block;
}

.more:hover {
  text-decoration: none;
  color: #fff;
  background: #000;
}

/*youtube*/
.youtube {
  background: url(../images/video_bg.jpg) center center no-repeat;
  position: relative;
  background-size: cover;
  background: #d24fcd;
  padding: 140px 0px;
}

.ytframe {
  max-width: 82vw;
  background: #fbb03b;
  border: 6px solid #fff;
  margin: auto;
}

.ytframe iframe {
  display: block;
}

/*footer*/
footer {
  background: #231815;
  text-align: center;
}

footer ul {
  display: inline-block;
}

.social_icon {
  padding-left: 0;
}

.social_icon li {
  float: left;
  width: 30px;
  height: 30px;
  margin: 30px;
  display: grid;
}

.social_icon li a {
  border: 2px solid #fff;
  padding: 0 7px;
  font-size: 2rem;
  font-weight: bolder;
  width: 50px;
  height: 50px;
}

.footer_text li {
  float: left;
  color: #fff;
  list-style: none;
  padding: 0 50px;
}

.copyright {
  color: #fff;
}

footer a,
footer a:hover {
  color: #fff;
}

/* marquee */

.marguee-content {
  display: flex;
  align-items: center;
  overflow: hidden;
}
.marquee {
  overflow: hidden;
}
.marquee-wrap {
  display: flex;
}
.marquee-box {
  display: flex;
  align-items: center;
  margin-right: 20px;
  min-width: 500px;
}

.marquee-img-content {
  width: 30%;
  position: relative;
  height: 160px;
}
.marquee-img {
  width: 160px;
  height: 160px;
  position: absolute;
  background: url(../images/frame-01.svg) center center no-repeat;
  background-size: cover;
  z-index: 3;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.m0 {
  background: url(../images/frame-02.svg) center center no-repeat;
  background-size: cover;
}
.m1 {
  background: url(../images/frame-04.svg) center center no-repeat;
  background-size: cover;
}
.m2 {
  background: url(../images/frame-03.svg) center center no-repeat;
  background-size: cover;
}
.m3 {
  background: url(../images/frame-05.svg) center center no-repeat;
  background-size: cover;
}
.m4 {
  background: url(../images/frame-04.svg) center center no-repeat;
  background-size: cover;
}
.m5 {
  background: url(../images/frame-06.svg) center center no-repeat;
  background-size: cover;
}
.marquee-img-content img {
  object-fit: cover;
  height: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100px;
  height: 100px;
  transform: translate(-58%, -45%);
}
.marguee-info-wrap {
  margin-left: 20px;
}
.marguee-info {
  position: relative;
  background: url(../images/frame-07.svg) center center no-repeat;
  background-size: contain;
  width: 290px;
  height: 100px;
  padding: 21px;
}
.marguee-info .text b {
  font-size: 16px;
  font-weight: 900;
}
.marguee-info-wrap p {
  font-size: 16px;
  line-height: 0.25rem;
}

@keyframes new-blink {
  0% {
    opacity: 1;
  }
  84.9999% {
    opacity: 1;
  }
  85% {
    opacity: 0;
  }
  89.9999% {
    opacity: 0;
  }
  90% {
    opacity: 1;
  }
  94.9999% {
    opacity: 1;
  }
  95% {
    opacity: 0;
  }
  99.9999% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@media screen and (max-width: 1440px) {
  /* .cover {
    height: 860px;
  } */

  .ani_3 {
    height: 140px;
    position: absolute;
    top: 59.5%;
    left: calc(50vw - 960px + 21vw);
  }

  .ani_4 {
    height: 140px;
    position: absolute;
    top: 59.5%;
    right: calc(50vw - 960px + 21vw);
  }
}

@media screen and (max-width: 769px) {
  .cover .cover_p1 {
    position: absolute;
    right: 0;
    width: 40vw;
    top: -2.4vw;
    display: block;
  }

  .cover {
    background: #000 url(../images/m-top.png) top center no-repeat;
    background-size: contain;
    height: 177.5vw;
    overflow: hidden;
    position: relative;
  }
  .cover::before {
    content: '';
    background: none;
  }

  .cover .smile {
    width: 10vw;
  }
  .smile.s02 {
    left: 30%;
  }
  .smile.s01 {
    top: -1%;
  }
  .cover img {
    height: 130vw;
    max-height: 100%;
  }

  .cover_top {
    flex-direction: column;
  }

  .youtube {
    position: relative;
    background-size: 100% 100%;
    height: auto;
    box-shadow: none;
  }

  .ytframe {
    max-width: 100vw;
    border: 0px !important;
    top: 0;
    box-shadow: none;
    left: 0;
    transform: translateY(0);
    border-radius: 0;
    height: auto;
  }

  .ytframe iframe {
    border: 0 !important;
    padding: 0;
    border-radius: 0;
  }

  .navbar-brand {
    width: 12vh;
  }

  .cover2,
  .cover3,
  .cover4,
  .cover5 {
    position: relative;
    overflow: hidden;
  }

  .cover2 {
    height: 190vw;
  }
  .cover2_l img {
    width: 80vw;
    left: 50%;
    transform: translateX(-10%);
  }
  .article_text1 {
    width: 100vw;
    left: 50%;
    transform: translateX(-28%);
    margin: 0;
    margin-top: -60px;
  }
  .cover4 {
    padding: 100px 0px;
  }

  .cover2_m {
    left: 0;
    position: absolute;
    width: 22vw;
    bottom: 220px;
    left: 4vw;
  }

  .cover2_icon {
    width: 45vw;
    bottom: -6vw;
    position: relative;
    right: -35vw;
  }

  .article_text1_m {
    position: absolute;
    top: 100vw;
    left: 0;
    margin: 0;
    padding: 3vh 2.5rem;
  }

  h3 {
    font-size: 1.6rem;
    text-align: center;
    line-height: 1.5rem;
  }

  article p {
    font-family: 'Noto Sans TC', serif;
    font-weight: 500;
    letter-spacing: 0;
    text-align: justify;
    line-height: 1.5rem;
    font-size: 0.8rem;
    margin-bottom: 20px;
  }

  .article_text2 .more {
    letter-spacing: 2px;
    font-size: 0.6rem;
    position: relative;
    padding: 3px 7px 3px 12px;
    text-align: center;
  }

  .more:hover {
    text-decoration: none;
  }

  .footer_text li {
    padding: 0;
    float: none;
    border-color: #231815 !important;
  }

  .footer_text {
    padding-left: 0;
  }

  .social_icon {
    padding-left: 0;
    margin-left: -7vw;
  }
}
@media screen and (max-width: 576px) {
  .cover2 {
    height: 220vw;
  }
  .cover3 {
    height: 260vw;
  }

  .cover2_bottom {
    position: absolute;
    width: 100%;
    height: 100px;
    background-color: #d24fcd;
    z-index: 0;
    bottom: 0;
  }
  .cover2_l {
    top: -15%;
  }
  .cover_top {
    flex-direction: unset;
  }
  .cover2_l img {
    transform: translate(-50%);
  }
  .article_text1 {
    top: -10%;
    transform: translateX(-50%);
  }
  .cover3 {
    margin-top: -50px;
  }
  .article_text2 {
    margin-top: 290px;
    margin-left: 0;
    padding: 0px 20px;
  }
  .cover5_wrap {
    max-width: 380px;
    margin: auto;
    border: 1px solid;
    padding: 50px 0px;
  }
  .cover5 {
    padding: 80px 0px;
  }
  .cover5_title {
    top: 50px;
  }
  .article_text2 h3 {
    color: #fff;
    line-height: 2.8rem;
    font-size: 2rem;
    text-align: left;
  }
  .article_text2 p {
    color: #fff;
    font-size: 1rem;
    line-height: 2rem;
  }
  .article_text2 .more {
    letter-spacing: 2px;
    font-size: 1.6rem;
    position: relative;
    padding: 3vw 7vw;
    text-align: center;
    font-weight: 300;
    margin-left: 25%;
  }
  .marguee-info .text b,
  .marguee-info-wrap p {
    font-size: 13px;
  }
  .cover_marquee .js-marquee-wrapper {
    animation-duration: 12s !important;
  }
  .marquee-box_people {
    min-width: 300px;
  }
  .cover_marquee.mpc {
    display: none;
  }
  .cover_marquee.mm {
    display: flex;
  }
  /* .cover_marquee_box {
    animation: scrollm -2s 5s linear infinite;
    white-space: nowrap;
  } */
  .youtube {
    padding: 80px 0px;
  }
  @keyframes scrollm {
    0% {
      transform: translatex(100%);
    }

    100% {
      transform: translatex(-320%);
    }
  }
}
@media screen and (max-width: 400px) {
  .cover2 {
    height: 260vw;
  }
  .cover3 {
    height: 280vw;
  }
}
