@charset "UTF-8";
/*@mixin img-replace($img, $w: image-width($img), $h: image-height($img), $disp: block) {
    background: image-url($img) no-repeat;
    width: $w;
    height: $h;
    display: $disp;
}*/
/*color-set*/
/*mixin-set*/
/*@mixin bgblur($x) {
    filter: blur($x+px);
    -webkit-filter: blur($x+px);
    -moz-filter: blur($x+px);
    -ms-filter: blur($x+px);
    -o-filter: blur($x+px);
}*/
/*url*/
/*style set*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;500&family=Noto+Sans+TC:wght@100;300;500&display=swap");
html,
body {
  background: #d9d9d9;
  box-sizing: border-box;
  letter-spacing: 1px;
  -webkit-overflow-scrolling: touch;
  color: #000;
  font-size: 16px;
}
html a,
body a {
  box-sizing: border-box;
  text-decoration: none;
  display: block;
}

.hide {
  display: none !important;
}

.alcenter {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.fit {
  width: 100%;
  display: block;
}

/*font*/
@font-face {
  font-family: infinitibrand;
  src: url(../font/InfinitiBrand-Regular.ttf);
}
body {
  font-family: "Noto Sans TC", "Microsoft JhengHei", "微軟正黑體", sans-serif;
  font-weight: 300;
}

.f-36, h1 {
  font-size: 2.25rem;
}
@media (max-width: 1023px) {
  .f-36, h1 {
    font-size: 2rem;
  }
}

.f-30, .topic--title {
  font-size: 2rem;
  line-height: 2.8rem;
  letter-spacing: 0;
}
@media (max-width: 767px) {
  .f-30, .topic--title {
    font-size: 1.4rem;
    line-height: 2rem;
  }
}

.f-20, .topic span.readbtn, .topic--data {
  font-size: 1.25rem;
}
@media (max-width: 767px) {
  .f-20, .topic span.readbtn, .topic--data {
    font-size: 0.9rem;
  }
}

p {
  font-size: 1.25rem;
}
@media (max-width: 767px) {
  p {
    font-size: 1rem;
  }
}

.f-16, .post--list .singlepost--content p, .cate--list--item--img .tag {
  /*f18*/
  font-size: 1rem;
}

.f-24 {
  /*f18*/
  font-size: 1.5rem;
}
@media (max-width: 767px) {
  .f-24 {
    font-size: 0.875rem;
  }
}

/*uiset*/
.boxa {
  border: solid 3px #000;
  background: #fff;
  transition: 0.3s;
}
.boxa:hover, .boxa:active {
  background: #c7ff00;
  transition: 0.3s;
}
.boxa:hover .readbtn, .boxa:active .readbtn {
  background: #fff;
  color: #000;
}

.titlebox {
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

/*header*/
.header {
  width: 100%;
  height: 120px;
  background: #fff;
}
.header .logobox {
  width: 145px;
  height: 40px;
  float: left;
  margin-top: 40px;
  margin-left: 90px;
}
.header .logobox img {
  display: block;
  width: 100%;
  height: 100%;
}
.header--title {
  width: 328px;
  height: 120px;
  margin: 0 auto;
}
@media (max-width: 1023px) {
  .header {
    height: 100px;
  }
  .header .logobox {
    width: 90px;
    height: 25px;
    margin-top: 35px;
    margin-left: 16px;
  }
  .header--title {
    width: 273px;
    height: 100px;
  }
}
@media (max-width: 767px) {
  .header {
    height: 60px;
  }
  .header .logobox {
    width: 54px;
    height: 15px;
    margin-top: 24px;
    margin-left: 16px;
  }
  .header--title {
    width: 164px;
    height: 60px;
  }
}

.footer {
  background: #000;
  color: #fff;
  margin-top: 60px;
}

/*footer*/
.footer {
  text-align: center;
  padding: 20px 0;
}

/*mainpage index*/
.herobanner {
  width: 100%;
  height: 750px;
  position: relative;
}
.herobanner img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (max-width: 767px) {
  .herobanner {
    height: 550px;
  }
  .herobanner:after {
    content: "";
    display: block;
    width: 100%;
    height: 42px;
    background: #000;
    position: absolute;
    bottom: -2px;
    left: 0;
  }
}

.topic {
  width: 80%;
  max-width: 1200px;
  margin: -40px auto 0 auto;
  position: relative;
  z-index: 1;
}
.topic--data {
  width: 100%;
  height: auto;
  background: #000;
  color: #fff;
  line-height: 1.7rem;
  font-weight: bold;
  overflow: hidden;
}
.topic--data--item {
  float: left;
  padding: 4px 0px 8px 28px;
}
.topic--title {
  width: 83%;
  margin: 0 auto;
  box-sizing: border-box;
  font-weight: bold;
  padding-top: 24px;
}
.topic p {
  width: 83%;
  margin: 20px auto;
  font-weight: 500;
  line-height: 2rem;
}
.topic span.readbtn {
  display: block;
  width: 83%;
  margin: 40px auto;
  box-sizing: border-box;
  background: #000;
  color: #fff;
  text-align: right;
  padding: 8px 32px;
  font-weight: 500;
}
.topic a.readmore {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  text-indent: -10000px;
  background: none !important;
}
@media (max-width: 767px) {
  .topic--data--item {
    float: left;
    padding: 4px 0px 8px 16px;
  }
  .topic--title {
    width: 85%;
  }
  .topic p {
    width: 85%;
    margin: 20px auto;
    font-weight: 500;
    line-height: 1.5rem;
  }
  .topic a.readmore {
    width: 85%;
  }
}

.promo--title {
  width: 420px;
  height: 100px;
  margin: 46px 0 0 0;
  position: relative;
  z-index: 2;
}
.promo--title img {
  display: block;
  width: 320px;
  height: 60px;
}
.promo--content {
  width: 80%;
  max-width: 1200px;
  margin: -40px auto 60px auto;
  position: relative;
}
.promo--content h1 {
  width: 83%;
  margin: 0 auto;
  line-height: 3.8rem;
  padding: 60px 0 64px 0;
}
.promo--content a {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  text-indent: -10000px;
  background: none !important;
}
@media (max-width: 767px) {
  .promo--title {
    width: 52%;
    min-width: 210px;
    height: 80px;
    margin: 46px auto 0 auto;
  }
  .promo--title img {
    display: block;
    height: 35px;
  }
  .promo h1 {
    width: 83%;
    margin: 0 auto;
    line-height: 2.8rem;
    padding: 60px 0 64px 0;
  }
}

.video {
  width: 100%;
}
.video--box {
  position: relative;
  padding-bottom: 52.6%;
}
.video--box iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
@media (max-width: 767px) {
  .video--box {
    padding-bottom: 100%;
  }
}

.cate--title {
  height: 100px;
  margin: 60px 0;
}
.cate--title img {
  display: block;
  width: auto;
  height: 60px;
}
.cate--list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1500px;
  padding: 0 24px;
  box-sizing: border-box;
  margin: 0 auto;
}
.cate--list--item {
  width: 30.5%;
  position: relative;
}
.cate--list--item--img {
  position: relative;
}
.cate--list--item--img img {
  display: block;
  width: 100%;
}
.cate--list--item--img .tag {
  width: 110px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  background: #fff;
  color: #000;
  border: solid 3px #000;
  font-weight: 500;
}
.cate--list--item p {
  width: 83%;
  margin: 24px auto;
  font-weight: 500;
  line-height: 2rem;
}
.cate--list--item a {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  text-indent: -10000px;
}
@media (max-width: 767px) {
  .cate--title {
    width: 100%;
    height: 80px;
    margin: 40px auto 40px auto;
    position: relative;
  }
  .cate--title img {
    display: block;
    position: relative;
    z-index: 2;
    height: 35px;
  }
  .cate--list--item {
    width: 100%;
    margin-bottom: 24px;
  }
}

.post {
  /*<1280*/
}
.post--title {
  font-size: 1.25rem;
  font-weight: 500;
  padding: 16px;
  text-align: center;
  background: #000;
  color: #fff;
  margin: 60px 0;
}
.post--list {
  width: 100%;
  max-width: 1500px;
  padding: 0 24px;
  margin: 0 auto;
  box-sizing: border-box;
}
.post--list .singlepost {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  margin-top: 40px;
  transition: 0.3s;
}
.post--list .singlepost--img {
  width: 35%;
}
.post--list .singlepost--img img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.post--list .singlepost--content {
  width: 63%;
  margin-left: 2%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 24px;
}
.post--list .singlepost--content h2 {
  line-height: 2rem;
}
.post--list .singlepost--content p {
  line-height: 1.5rem;
}
.post--list .singlepost a {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  text-indent: -10000px;
}
.post--list .singlepost:hover {
  background: #c7ff00;
}
@media (max-width: 1279px) {
  .post--list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .post--list .singlepost {
    flex-direction: column;
    width: 31%;
    margin-top: 0px;
  }
  .post--list .singlepost--img {
    width: 100%;
  }
  .post--list .singlepost--content {
    width: 100%;
    margin: 24px 0;
    padding: 0 16px;
    box-sizing: border-box;
  }
}
@media (max-width: 767px) {
  .post--title {
    font-size: 1rem;
  }
  .post--list .singlepost {
    width: 100%;
  }
}
