@charset "utf-8";
/* 首頁專用 */

/**-------------------------------------------------------------------------------Banner**/

#bannerArea {
  width: 100%;
  margin: 0 auto;
  margin-top: 75px;
  z-index: 2;
  position: relative;
}

#bannerArea img {
  width: 100%;
  display: block;
}

#bannerArea ul {
  position: relative;
}

.bxslider li {
  position: relative;
}

.bxslider li img {
  width: 100%;
  display: block;
}

#SecondBlock {
  margin-top: 20px;
  margin-bottom: 20px;
}

#SecondBlock:before {
  content: '';
  display: block;
  position: absolute;
  background: url(../images/bg_blob_pc_01.png) no-repeat top center;
  background-size: contain;
  width: 80%;
  height: 84.8rem;
  top: -60%;
  -webkit-transform: rotate(20deg) rotate3d(0, 0, 0, 0);
  transform: rotate(20deg) rotate3d(0, 0, 0, 0);
}

@media all and (max-width: 1240px) {
  #SecondBlock {}
}

/*區塊標題*/
.AreaTop {
  margin-bottom: 20px;
}

.crossTitleBox,
.crossTitleBox_2 {
  position: relative;
  color: #000;
}

.crossTitleBox h2,
.crossTitleBox_2 h2 {
  text-transform: uppercase;
  font-size: 18px;
  color: #ff184e;
  z-index: 1;
  position: relative;
  letter-spacing: 2px;
}

.crossTitleBox h2 {
  display: flex;
  align-items: center;
}

.crossTitleBox h2:before {
  content: "";
  display: inline-block;
  background: #ff184e;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 5px;
}




.crossTitleBox h3,
.crossTitleBox_2 h3 {
  font-size: 26px;
  text-transform: uppercase;
  color: #000;
  z-index: 1;
  position: relative
}

.crossTitleBox_2 {
  text-align: center;
}

.crossTitleBox_2 h2 {
  margin-bottom: 10px;
}



#EventsArea .crossTitleBox h3:before {
  background: #00749b;
}

.AreaTop .ViewAll {
  position: absolute;
  top: 15px;
  right: 0px;
}

#NewsArea .ViewAll,
#PhotoArea .ViewAll {
  line-height: 1;
}

@media all and (max-width: 640px) {
  #EventsArea .AreaTop {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .AreaTop .ViewAll {
    position: relative;
  }
}


@media all and (max-width: 992px) {
  #bannerArea {
    margin-top: 50px;
  }
}

/**-------------------------------------------------消息公告區**/
#NewsArea {
  padding: 5px 0px 0px 0px;
  z-index: 1;
}

#NewsArea .NewsInner {
  padding: 20px;
  z-index: 1;
  position: relative;
}

@media all and (max-width: 1200px) {
  #NewsArea {
    padding: 0px 0px 20px 0px;
  }
}

.HomeBtn {
  padding: 20px 10px 10px 10px;
  text-align: center;
}

/*Tab消息列表*/
.news_meta {}

#NewsArea ul.news li {}

#NewsArea ul.news li .date {
  margin-right: 10px;
  line-height: 1;
}

#NewsArea ul.news li {
  border-bottom: 1px solid #eee;
  line-height: 1.5;
}

#NewsArea ul.news li div.title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.5;
}

#NewsArea ul.news li a {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  transition: all .3s ease;
  padding: 10px;
  flex-direction: column;
}

#NewsArea ul.news li {
  line-height: 2.2;
}

#NewsArea ul.news li .date {
  margin-right: 0px;
  line-height: 1;
}

#NewsArea ul.news li div.title {}

@media all and (max-width: 500px) {

  #NewsArea .crossTitleBox {
    display: flex;
    padding: 0px;
    flex-direction: column;
    line-height: 1.2;
  }
}

/**-------------------------------------------------活動花絮**/
#PhotoArea {}

#PhotoArea .PhotoInner {
  padding: 20px;
}

#PhotoArea .series-c__bg {
  position: absolute;
  left: 1px;
  top: 80px;
  width: calc(100% - 2px);
  height: calc(100% - 80px);
  border-radius: 20px;
  border-top-left-radius: 0;
  background: #f4e6de;
}



#PhotoArea .series-c__bg .index-file {
  left: 0;
  width: 180px;
  height: 70px;
  border-top-left-radius: 20px;
  position: absolute;
  background: #f4e6de;
  top: -70px;
}

.bg-file .index-file .index-side {
  position: absolute;
  line-height: 0;
  left: auto;
  right: var(--move-index-01);
  bottom: 0;
  width: clamp(63px, 8.4vw, 98px);
  height: auto;
}

#PhotoArea .series-c__bg .index-file .index-side {
  transform: scaleX(-1);
  position: absolute;
  line-height: 0;
  left: auto;
  right: -85px;
  bottom: 0;
  width: 100px;
  height: 70px;
}

#PhotoArea svg {
  width: 100%;
  height: auto;
}

#PhotoArea .PhotoInner .AreaTop,
#NewsArea .AreaTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

#PhotoArea .TxtBox {
  line-height: 1.5;
  margin-top: 10px;
}

#PhotoArea .ItemBox {
  width: 90%;
  display: block;
  margin: auto;
}

#PhotoArea .imgBox img {
  border: 5px solid #fff;
  width: 100%;
  height: auto;
  max-height: 350px; /* 根据需要调整 */
  object-fit: cover; /* 保持图片比例 */
}
@media all and (max-width: 1024px) {
  #PhotoArea .imgBox img {
    max-height: 250px; /* 根据需要调整 */
  }
}

@media all and (max-width: 700px) {
  #PhotoArea .imgBox img {
    max-height: 300px; /* 根据需要调整 */
  }
}

#PhotoArea .owl-nav {
  display: none;
}

#PhotoArea .owl-carousel .owl-stage-outer {
  padding-top: 20px;
}

#PhotoArea .owl-dots {
  position: absolute;
  top: -10px;
  right: 5%;
}

#PhotoArea .name svg,
#PhotoArea .place svg {
  color: #9b9b9b;
  text-align: center;
  width: 30px;
}

@media all and (max-width: 1200px) {
  #NewsArea .NewsInner {
    padding: 10px 0px;
  }
}

@media all and (max-width: 680px) {
  #PhotoArea .crossTitleBox {
    display: block;
    line-height: 1.2;
  }

  #PhotoArea .crossTitleBox h3 {
    margin-left: 0px;
  }
}

@media all and (max-width: 500px) {
  #PhotoArea .crossTitleBox {
    display: flex;
    padding: 0px;
    flex-direction: column;
  }
}

#PhotoArea .owl-theme .owl-dots .owl-dot span {
  background: #fff;
}

#PhotoArea .owl-theme .owl-dots .owl-dot.active span,
#PhotoArea .owl-theme .owl-dots .owl-dot:hover span {
  background: #f0813b;
}

/**-------------------------------------------------學術活動*/
#EventsArea {
  position: relative;
  padding: 40px 0px 40px 0px;
}

#EventsArea:before {
  content: '';
  display: block;
  position: absolute;
  background: url(../images/bg_blob_pc_03.png) top center no-repeat;
  background-size: contain;
  width: 50%;
  height: 84.8rem;
  right: -20%;
  top: 100px;
  z-index: 0;
}

#EventsArea:after {
  content: '';
  display: block;
  position: absolute;
  background: url(../images/bg_blob_pc_02.png) top center no-repeat;
  background-size: contain;
  width: 40%;
  height: 84.8rem;
  left: -20%;
  top: -50px;
  z-index: 0;
}

#EventsArea .owl-carousel .owl-stage-outer {
  margin: 20px 0px;
}

#EventsArea .Item {
  line-height: 1.8;
  padding: 5px 10px;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0px 0px 8px 2px #eee;
  overflow: hidden;
  position: relative;
}

#EventsArea .Item a.ItemBox {
  display: block;
  border-radius: 20px;
  background-color: #fff;
  transition: all .2s linear;
  padding: 15px;

}

#EventsArea .Item a:hover {
  color: #000;
}
#EventsArea .Item .infoArea {
    min-height: 100px;
}
#EventsArea .Item .infoArea li {
  margin-bottom: 5px;
}

#EventsArea .Item .infoArea svg:not(:root).svg-inline--fa {
  float: left;
  color: #9b9b9b;
  width: 20px;
  text-align: center;
  margin-top: 4px;
  margin-right: 5px;
}

#EventsArea .Item h4 {
  margin-bottom: 10px;
}

#EventsArea .Item h4 p {
  margin-bottom: 2px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 24px;
  text-overflow: ellipsis;
  font-weight: bold;
  height: 50px;
}

#EventsArea .Item h4::after {
  content: "";
  height: 3px;
  width: 25px;
  display: block;
}

#EventsArea .owl-item:nth-child(odd) .Item h4::after {
  background-color: #f85a7b;
}

#EventsArea .owl-item:nth-child(even) .Item h4::after {
  background-color: #f0813b;
}

#EventsArea .Item .TagArea {
  margin: 10px 0px;
}

#EventsArea .ItemBox .ViewAll {
  line-height: 1;
  width: 100%;
  text-align: left;
  display: flex;
  position: relative;
  padding: 15px;
  border-radius: 30px;
  background-color: #f85a7b;
  font-weight: 400;
  letter-spacing: .025em;
  color: #fff;
  overflow: hidden;
  align-items: center;
  margin-top: 20px;
}

#EventsArea .owl-item:nth-child(odd) .ItemBox .ViewAll {
  background-color: #f85a7b;
}

#EventsArea .owl-item:nth-child(even) .ItemBox .ViewAll {
  background-color: #f0813b;
}

#EventsArea .ItemBox .ViewAll:after {
  content: '';
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-transform-origin: 100% 0;
  transform-origin: 100% 0;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: -webkit-transform 0.5s ease;
  transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
}

#EventsArea .owl-item:nth-child(odd) .ItemBox .ViewAll:after {
  background-color: #ff0035;
}

#EventsArea .owl-item:nth-child(even) .ItemBox .ViewAll:after {
  background-color: #f55f00;
}


#EventsArea .ItemBox:hover .ViewAll:after {
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

#EventsArea .ItemBox .ViewAll span {
  z-index: 1;
  position: relative;
}

#EventsArea .ItemBox .ViewAll .arw {
  position: absolute;
  right: 15px;
  width: 25px;
  z-index: 1;
}

/**-------------------------------------------------相關連結**/
#ADArea {
  position: relative;
}

.ADArea_inner {
  padding: 60px 0px 40px 0px;
}

.ADArea_inner .item {
  overflow: hidden;
  box-shadow: 0px 0px 5px 0px #eee;
  margin: 0px 5px;
}

#ADArea .owl-carousel .owl-stage-outer {
  margin-bottom: 20px;
}

/**-------------------------------------------------更多按鈕**/
.AreaTop .ViewAll a {
  display: inline-flex;
  position: relative;
  align-items: center;
  min-height: 30px;
  padding: 0px 45px 0px 30px;
  cursor: pointer;
  transition: padding 450ms cubic-bezier(.22, .61, .36, 1);
}

.AreaTop .ViewAll .drArrowButton {
  z-index: 1;
  position: absolute;
  right: 5px;
  width: 30px;
  height: 30px;
  border-radius: 40px;
  transition: all 0.4s ease;
  overflow: hidden;
  border: 1px solid #000;
}

.AreaTop .ViewAll .drArrowButton:before {
  background: url(../images/icon-arrow.svg) no-repeat center center transparent;
  background-size: contain;
  content: "";
  z-index: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 13px;
  transform: translate3d(-50%, -50%, 0);
  transition: left 450ms cubic-bezier(.22, .61, .36, 1), transform 450ms cubic-bezier(.22, .61, .36, 1), background-image 450ms cubic-bezier(.22, .61, .36, 1);
}

.AreaTop .ViewAll:hover .drArrowButton:before {
  background: url(../images/icon-arrow-w.svg) no-repeat center center transparent;
  transform: translate3d(50px, -50%, 0);
}

.AreaTop .ViewAll .drArrowButton:after {
  background: url(../images/icon-arrow.svg) no-repeat center center transparent;
  background-size: contain;
  content: "";
  z-index: ;
  position: absolute;
  top: 50%;
  left: -50%;
  width: 13px;
  height: 13px;
  opacity: 0;
  transform: translate3d(50%, -50%, 0);
  transition: left 450ms cubic-bezier(.22, .61, .36, 1), transform 450ms cubic-bezier(.22, .61, .36, 1), background-image 450ms cubic-bezier(.22, .61, .36, 1);
}

.AreaTop .ViewAll:hover .drArrowButton:after {
  background: url(../images/icon-arrow.svg) no-repeat center center transparent;
  background-size: contain;
  transform: translate3d(20px, -50%, 0);
  opacity: 1;
}

.AreaTop .ViewAll span {
  display: block;
  z-index: 1;
  position: relative;
  color: #000;
  transition: all 0.4s ease;
  letter-spacing: 1px;
}

.AreaTop .ViewAll span:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -5px;
  margin: auto;
  width: 100%;
  height: 1px;
  background: #000;
  opacity: 1;
  transition: all 0.4s ease;
}

.AreaTop .ViewAll a:hover span:after {
  opacity: 1;
  width: 0;
  left: auto;
}


/*------------------------------------------------------輪播箭頭*/
#bannerArea .owl-theme .owl-dots {
  width: 100%;
  position: absolute;
  bottom: 0px;
  text-align: center;
}

#bannerArea .owl-theme .owl-nav {
  display: none;
}

.owl-carousel.slide_in .owl-nav button.owl-prev,
.owl-carousel.slide_in .owl-nav button.owl-next {
  text-decoration: none;
  display: block;
  margin: -20px 0 0;
  position: absolute;
  top: 45%;
  z-index: 10;
  overflow: hidden;
  opacity: 0;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.8);
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.owl-carousel.slide_in .owl-nav button.owl-prev {
  left: -50px;
}

.owl-carousel.slide_in .owl-nav button.owl-next {
  right: -50px;
}

.owl-carousel.slide_in .owl-nav button span:before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f105";
  font-size: 20px;
  display: inline-block;
  color: #0175b2;
}

.owl-carousel.slide_in .owl-nav button.owl-prev span:before {
  content: "\f104";
}

.owl-carousel.slide_in:hover .owl-nav button.owl-next {
  opacity: 0.7;
  right: -10px;
}

.owl-carousel.slide_in:hover .owl-nav button.owl-prev {
  opacity: 0.7;
  left: -10px;
}

.owl-carousel.slide_in:hover .owl-nav button.owl-prev:hover,
.owl-carousel.slide_in:hover .owl-nav button.owl-next:hover {
  opacity: 1;
}

/*箭頭*/
.owl-carousel .owl-nav button span:before {
  color: #00749b;
}

.owl-carousel.re-links .owl-nav button.owl-prev,
.owl-carousel.re-links .owl-nav button.owl-next {
  top: 30%;
}

.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next {
  background: #fff;
  border-radius: 40px;
  border: 1px solid #d4dcdf;
  width: 50px;
  height: 50px;
}