﻿
/* CSS Document */
.classTitle, .date, .projectList .newsMoreBtn .moreTxt, .projectList .newsMoreBtn, .projectList .Txt .text, .projectList .Txt .title a, .projectList .Txt .classTitle, .projectList .Txt .date, .projectList .Txt, .newsList .newsMoreBtn .moreTxt, .newsList .newsMoreBtn, .newsList .Txt .text, .newsList .Txt .title a, .newsList .Txt .classTitle, .newsList .Txt .date, .newsList .Txt {
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}

@-webkit-keyframes arrRight {
  0%, 100% {
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
  }
  50% {
    -webkit-transform: translate(5px, -50%);
    transform: translate(5px, -50%);
  }
}

@keyframes arrRight {
  0%, 100% {
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
  }
  50% {
    -webkit-transform: translate(5px, -50%);
    transform: translate(5px, -50%);
  }
}
.contentBox .leftBox {
  padding: 0 50px 0 0;
}
@media (max-width: 1023px) {
  .contentBox .leftBox {
    padding: 0 0 30px 0;
  }
}
.contentBox .rightBox {
  padding: 0;
}

/*新訊列表*/
.newsList {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.newsList .newsItem {
  width: calc(50% - 30px);
  margin: 15px;
  border: 2px solid #f2f2f2;
}
@media (max-width: 640px) {
  .newsList .newsItem {
    width: 100%;
    margin: 15px 0;
  }
}
.newsList .newsItem:hover .Txt {
  background-color: #C7365B;
}
.newsList .newsItem:hover .Txt .date {
  color: #fff;
}
.newsList .newsItem:hover .Txt .classTitle {
  background-color: #fff;
  color: #C7365B;
}
.newsList .newsItem:hover .Txt .title a {
  color: #fff;
}
.newsList .newsItem:hover .Txt .text {
  color: #fff;
}
.newsList .newsItem:hover .Txt .moreBtn span {
  background-color: #fff;
  -webkit-animation: arrRight 1.2s ease-in-out infinite;
          animation: arrRight 1.2s ease-in-out infinite;
}
.newsList .newsItem:hover .Txt .moreBtn span::before {
  background-color: #fff;
}
.newsList .item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.newsList .Img {
  max-width: 655px;
  width: 100%;
}
@media (max-width: 1180px) {
  .newsList .Img {
    width: 100%;
    max-width: unset;
  }
}
.newsList .Img img {
  display: block;
}
.newsList .Txt {
  width: 100%;
  position: relative;
  padding: 0px 20px 20px 20px;
  background-color: #fff;
}
@media (max-width: 1180px) {
  .newsList .Txt {
    width: 100%;
    padding: 0 25px 20px 25px;
  }
}
.newsList .Txt .top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.newsList .Txt .date {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-family: "Roboto";
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  color: #bebebe;
}
.newsList .Txt .date .dd {
  font-size: 50px;
  font-weight: 500;
  border-right: 2px solid #f2f2f2;
  padding: 20px 10px 20px 0;
  margin: 0 10px 0 0;
}
.newsList .Txt .date .ym {
  font-size: 14px;
  letter-spacing: 0.5px;
  margin: 20px 0 0 0;
}
.newsList .Txt .date b {
  font-size: 14px;
  letter-spacing: 0.5px;
  margin: 20px 0 0 0;
  font-weight: normal;
}
.newsList .Txt .classTitle {
  margin: 20px 0 0 0;
  background-color: #C7365B;
  color: #fff;
  padding: 3px 8px;
}
.newsList .Txt .title a {
  margin: 15px 0;
  display: block;
  font-weight: 400;
  font-size: 18px;
  color: #161616;
  height: 55px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.newsList .Txt .text {
  height: 70px;
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}
.newsList .Txt .moreBtn {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 0 0 10px 0;
}
.newsList .Txt .moreBtn span {
  width: 57px;
  height: 1px;
  background-color: #C7365B;
  position: relative;
  z-index: 2;
  margin: 0 0 0 15px;
}
.newsList .Txt .moreBtn span::before {
  content: "";
  position: absolute;
  background-color: #C7365B;
  width: 7px;
  height: 1px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  bottom: 3px;
  right: 0;
}
.newsList .newsMoreBtn {
  max-width: 330px;
  width: 100%;
  height: 270px;
  background-color: #C7365B;
  margin: 0 auto 0 330px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media (max-width: 1180px) {
  .newsList .newsMoreBtn {
    display: none;
  }
}
.newsList .newsMoreBtn .moreTxt {
  text-align: center;
}
.newsList .newsMoreBtn .moreTxt .tw {
  font-size: 18px;
  color: #fff;
  padding: 0 0 15px 0;
  margin: 0 0 15px 0;
  position: relative;
  font-weight: 500;
  letter-spacing: 1px;
}
.newsList .newsMoreBtn .moreTxt .tw::before {
  content: "";
  position: absolute;
  width: 30px;
  height: 1px;
  background-color: #fff;
  bottom: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}
.newsList .newsMoreBtn .moreTxt .en {
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}
.newsList .newsMoreBtn:hover {
  background-color: #87ad39;
}
.newsList .newsMoreBtn:hover .tw {
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
}

.projectList {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.projectList .projectItem {
  width: calc(25% - 30px);
  margin: 15px;
  border: 2px solid #f2f2f2;
}
@media (max-width: 1180px) {
  .projectList .projectItem {
    width: calc(33.3333333333% - 30px);
  }
}
@media (max-width: 768px) {
  .projectList .projectItem {
    width: calc(50% - 30px);
  }
}
@media (max-width: 640px) {
  .projectList .projectItem {
    width: 100%;
    margin: 15px 0;
  }
}
.projectList .projectItem:hover .Txt {
  background-color: #C7365B;
}
.projectList .projectItem:hover .Txt .date {
  color: #fff;
}
.projectList .projectItem:hover .Txt .classTitle {
  background-color: #fff;
  color: #C7365B;
}
.projectList .projectItem:hover .Txt .title a {
  color: #fff;
}
.projectList .projectItem:hover .Txt .text {
  color: #fff;
}
.projectList .projectItem:hover .Txt .moreBtn span {
  background-color: #fff;
  -webkit-animation: arrRight 1.2s ease-in-out infinite;
          animation: arrRight 1.2s ease-in-out infinite;
}
.projectList .projectItem:hover .Txt .moreBtn span::before {
  background-color: #fff;
}
.projectList .item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.projectList .Img {
  max-width: 655px;
  width: 100%;
}
@media (max-width: 1180px) {
  .projectList .Img {
    width: 100%;
    max-width: unset;
  }
}
.projectList .Img img {
  max-width: 100%;
  width: 100%;
  display: block;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  height: auto;
}
.projectList .Txt {
  width: 100%;
  position: relative;
  padding: 0px 20px 20px 20px;
  background-color: #fff;
}
@media (max-width: 1180px) {
  .projectList .Txt {
    width: 100%;
    padding: 0 25px 20px 25px;
  }
}
.projectList .Txt .top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.projectList .Txt .date {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-family: "Roboto";
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  color: #bebebe;
}
.projectList .Txt .date .dd {
  font-size: 50px;
  font-weight: 500;
  border-right: 2px solid #f2f2f2;
  padding: 20px 10px 20px 0;
  margin: 0 10px 0 0;
}
.projectList .Txt .date .ym {
  font-size: 14px;
  letter-spacing: 0.5px;
  margin: 20px 0 0 0;
}
.projectList .Txt .date b {
  font-size: 14px;
  letter-spacing: 0.5px;
  margin: 20px 0 0 0;
  font-weight: normal;
}
.projectList .Txt .classTitle {
  margin: 20px 0 0 0;
  background-color: #C7365B;
  color: #fff;
  padding: 3px 8px;
}
.projectList .Txt .title a {
  margin: 15px 0;
  display: block;
  font-weight: 400;
  font-size: 18px;
  color: #161616;
  height: 55px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.projectList .Txt .text {
  height: 70px;
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}
.projectList .Txt .moreBtn {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 0 0 10px 0;
}
.projectList .Txt .moreBtn span {
  width: 57px;
  height: 1px;
  background-color: #C7365B;
  position: relative;
  z-index: 2;
  margin: 0 0 0 15px;
}
.projectList .Txt .moreBtn span::before {
  content: "";
  position: absolute;
  background-color: #C7365B;
  width: 7px;
  height: 1px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  bottom: 3px;
  right: 0;
}
.projectList .newsMoreBtn {
  max-width: 330px;
  width: 100%;
  height: 270px;
  background-color: #C7365B;
  margin: 0 auto 0 330px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media (max-width: 1180px) {
  .projectList .newsMoreBtn {
    display: none;
  }
}
.projectList .newsMoreBtn .moreTxt {
  text-align: center;
}
.projectList .newsMoreBtn .moreTxt .tw {
  font-size: 18px;
  color: #fff;
  padding: 0 0 15px 0;
  margin: 0 0 15px 0;
  position: relative;
  font-weight: 500;
  letter-spacing: 1px;
}
.projectList .newsMoreBtn .moreTxt .tw::before {
  content: "";
  position: absolute;
  width: 30px;
  height: 1px;
  background-color: #fff;
  bottom: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}
.projectList .newsMoreBtn .moreTxt .en {
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}
.projectList .newsMoreBtn:hover {
  background-color: #87ad39;
}
.projectList .newsMoreBtn:hover .tw {
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
}

.date {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-family: "Roboto";
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  color: #bebebe;
}
.date .dd {
  font-size: 50px;
  font-weight: 500;
  border-right: 2px solid #f2f2f2;
  padding: 20px 10px 20px 0;
  margin: 0 10px 0 0;
}
.date .ym {
  font-size: 14px;
  letter-spacing: 0.5px;
  margin: 20px 0 0 0;
}
.date b {
  font-size: 14px;
  letter-spacing: 0.5px;
  margin: 20px 0 0 0;
  font-weight: normal;
}

.classTitle {
  margin: 20px 0 0 0;
  background-color: #C7365B;
  color: #fff;
  padding: 3px 8px;
  display: inline-block;
}

/*內頁*/
.topBox .top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.topBox .dd {
  border: none;
  margin: 0 5px 0 0;
}
.topBox .classTitle {
  margin: 5px 0 0 15px;
}