@import 'notosanstc.css';
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");
.news-type-wrap {
  width: 1350px;
  margin: auto;
}

.news-type-wrap {
  position: relative;
  margin: 3rem auto 2rem auto;
  border-bottom: 2px solid #ebebeb;
}

.news-category-wrap {
  display: inline-block;
  width: calc(100% - 15rem);
  white-space: nowrap;
  overflow-x: auto;
  color: #838383;
}
.news-category-wrap a {
  position: relative;
  display: inline-block;
  padding: 2rem 2.5rem;
}
.news-category-wrap a::after {
  position: absolute;
  display: block;
  content: "";
  width: 7px;
  height: 7px;
  background: none;
  border-radius: 50%;
  -ms-border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  -o-border-radius: 50%;
  top: 1.25rem;
  left: 0;
  right: 0;
  margin: auto;
  transition: background 0.5s;
}

.news-select-wrap {
  z-index: 1;
  position: absolute;
  width: 14rem;
  top: 50%;
  right: 0;
  transform: translateY(-55%);
}

.news-content-wrap a {
  position: relative;
  display: block;
  padding: 1rem 0;
}
.news-content-wrap a h2.title {
  display: inline-block;
  font-size: 1rem;
  font-weight: normal;
  vertical-align: middle;
  line-height: normal;
  margin: 0;
}
.news-content-wrap a p {
  display: inline-block;
  vertical-align: middle;
}
.news-content-wrap a p.category {
  padding: 0.25rem 0;
  background: #07B53B;
  color: #FFF;
  width: 6rem;
  text-align: center;
  border-radius: 5px;
  -ms-border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  -o-border-radius: 5px;
}
.news-content-wrap a p.category.green {
  background: #07B53B;
}
.news-content-wrap a p.category.blue {
  background: #3a87c7;
}
.news-content-wrap a p.category.lake {
  background: #1fc1bb;
}
.news-content-wrap a p.date {
  width: 10rem;
  text-align: center;
  color: #838383;
}
.news-content-wrap a p.title {
  max-width: calc(100% - 18rem);
}
.news-content-wrap a::after {
  z-index: -1;
  position: absolute;
  content: "";
  display: block;
  top: 0;
  left: 50%;
  width: 110%;
  height: 100%;
  transform: translateX(-50%);
  background: none;
  transition: background 0.5s;
}

.news-page-wrap {
  position: relative;
  margin: 3rem auto;
  text-align: center;
}
.news-page-wrap p, .news-page-wrap a {
  display: inline-block;
  position: relative;
  width: 2rem;
  height: 2rem;
  line-height: 2rem;
  padding: 0;
  margin: 0 0.5rem;
  color: #838383;
  border-radius: 50%;
  -ms-border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  -o-border-radius: 50%;
}
.news-page-wrap p {
  display: none;
  margin: 0;
}
.news-page-wrap a.prev {
  border: 1px solid #999999;
  margin-right: 1rem;
}
.news-page-wrap a.prev::after {
  position: absolute;
  display: block;
  content: "";
  right: -1rem;
  width: 0.5rem;
  height: 0.5rem;
  border: 0.1rem solid #838383;
  border-left: 0;
  border-bottom: 0;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.5s, border 0.5s;
  top: 50%;
  left: 57.5%;
  transform: translate(-50%, -50%) rotate(-135deg);
}
.news-page-wrap a.next {
  border: 1px solid #999999;
  margin-left: 1rem;
}
.news-page-wrap a.next::after {
  position: absolute;
  display: block;
  content: "";
  right: -1rem;
  width: 0.5rem;
  height: 0.5rem;
  border: 0.1rem solid #838383;
  border-left: 0;
  border-bottom: 0;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.5s, border 0.5s;
  top: 50%;
  left: 42.5%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.news-category-wrap a.active {
  color: #07B53B;
}
.news-category-wrap a.active::after {
  background: #07B53B;
}

.news-page-wrap a.active {
  color: #FFF;
  background: #07B53B;
}

@media only screen and (min-width: 1025px) {
  .news-content-wrap a:hover h2.title {
    text-decoration: underline;
  }
  .news-content-wrap a:hover::after {
    background: #ebfaf9;
  }
  .news-category-wrap a {
    transition: color 0.5s;
  }
  .news-category-wrap a:hover {
    color: #07B53B;
  }
  .news-page-wrap a {
    transition: color 0.5s, background 0.5s, border 0.5s;
  }
  .news-page-wrap a:hover {
    color: #FFF;
    background: #07B53B;
  }
  .news-page-wrap a:hover.prev, .news-page-wrap a:hover.next {
    border-color: #07B53B;
  }
  .news-page-wrap a:hover.prev::after, .news-page-wrap a:hover.next::after {
    border-color: #FFF;
  }
  .news-content-wrap a h2.title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
@media only screen and (max-width: 1440px) {
  .news-type-wrap {
    width: 1024px;
  }
}
@media only screen and (max-width: 1024px) {
  .news-type-wrap {
    width: 100%;
  }
  .news-category-wrap {
    display: block;
    width: 100%;
    max-width: none;
    text-align: center;
    margin-top: 2rem;
  }
  .news-category-wrap a {
    padding: 1rem 2rem;
  }
  .news-category-wrap a::after {
    top: 0.25rem;
  }
  .news-select-wrap {
    position: relative;
    margin: auto;
    margin-right: calc((100% - 768px) / 2);
    transform: none;
  }
  .news-select-wrap .select-wrap {
    float: none;
    width: 100%;
    margin: 0;
  }
  .news-content-wrap a {
    padding: 1.25rem 0;
  }
  .news-content-wrap a p.category, .news-content-wrap a p.date {
    width: auto;
    padding: 0.25rem 1rem;
    font-size: 0.8rem;
  }
  .news-content-wrap a h2.title {
    position: relative;
    display: block;
    width: 90%;
    max-width: none;
    margin-top: 1rem;
    line-height: 180%;
  }
  .news-content-wrap a h2.title::after {
    position: absolute;
    display: block;
    content: "";
    right: -1rem;
    width: 0.5rem;
    height: 0.5rem;
    border: 0.1rem solid #999999;
    border-left: 0;
    border-bottom: 0;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.5s, border 0.5s;
    right: -10%;
  }
}
@media only screen and (max-width: 768px) {
  .news-select-wrap {
    margin-right: calc((100% - 640px) / 2);
  }
}
@media only screen and (max-width: 640px) {
  .news-select-wrap {
    margin-right: calc((100% - 480px) / 2);
  }
}
@media only screen and (max-width: 480px) {
  .news-select-wrap {
    margin-right: calc((100% - 375px) / 2);
  }
  .news-select-wrap .news-select {
    font-size: 1rem;
  }
  .news-type-wrap {
    margin: 1.5rem 0 1rem 0;
  }
  .news-category-wrap {
    margin-top: 1rem;
    font-size: 1rem;
  }
  .news-category-wrap a::after {
    width: 5px;
    height: 5px;
    top: 0.5rem;
  }
  .news-page-wrap p, .news-page-wrap a {
    margin: 0 0.25rem;
    width: 1.75rem;
    height: 1.75rem;
    line-height: 1.75rem;
  }
  .news-page-wrap p {
    margin: 0;
  }
  .news-page-wrap a.prev {
    margin: 0;
    margin-right: 0.5rem;
  }
  .news-page-wrap a.next {
    margin: 0;
    margin-left: 0.5rem;
  }
}
@media only screen and (max-width: 375px) {
  .news-select-wrap {
    margin-right: calc((100% - 320px) / 2);
  }
}
@media only screen and (max-width: 320px) {
  .news-select-wrap {
    margin-right: calc((100% - 300px) / 2);
  }
}/*# sourceMappingURL=news.css.map */