@charset "UTF-8";

.news {
  padding: 2.4rem 0 4rem;
}

.news-header {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  flex-wrap: wrap;
  max-width: 96rem;
  margin: 0 auto;
}

.news-header-item {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1 1 100%;
  position: relative;
  overflow: hidden;
  max-width: 25%;
  min-height: 5.6rem;
  padding: 0 0.4rem 1.6rem;
  color: #522a82;
  line-height: 1.2;
  text-align: center;
  letter-spacing: normal;
  transition: 0.2s ease-in-out;
}

.news-header-item::before {
  position: absolute;
  right: 0.2rem;
  bottom: 1.4rem;
  left: 0.2rem;
  z-index: 1;
  height: 1px;
  background-color: #522a82;
  content: "";
  transition: 0.2s ease-in-out;
}

.news-header-item::after {
  z-index: -1;
  visibility: hidden;
  opacity: 0;
  display: inline-block;
  color: #522a82;
  font-family: "iconfont" !important;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  line-height: 1;
  text-rendering: auto;
  vertical-align: middle;
  -webkit-font-smoothing: antialiased;
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0.8rem;
  color: #522a82;
  font-size: 1rem;
  content: "\e904";
  transform: translateX(-50%) scale(0.8);
  transition: 0.2s ease-in-out;
}

.news-header-item:hover::before {
  height: 4px;
}

.news-header-item.is-current::before {
  height: 4px;
}

.news-header-item.is-current::after {
  z-index: 0;
  visibility: visible;
  opacity: 1;
}

.news-header-item.is-current .news-header-text {
  font-weight: bolder;
}

.news-header-text {
  font-size: 1.3rem;
}

.news-body {
  max-width: 96rem;
  margin: 0 auto;
}

.card-news {
  display: block;
  width: 100%;
  overflow: hidden;
  margin: 2.6rem auto 0;
  border-radius: 1rem;
  box-shadow: 0 0.3rem 0.6rem rgba(0, 0, 0, 0.16);
  background-color: var(--color-bright);
}

.card-news:hover {
  box-shadow: 0 0.1rem 0.2rem rgba(0, 0, 0, 0.3);
}

.card-news:hover .card-news-img {
  opacity: 0.9;
}

.card-news-img {
  position: relative;
  padding-bottom: 50%;
  text-align: center;
  overflow: hidden;
  transition: 0.2s ease-in-out;
}

.card-news-img .img {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  max-width: none;
  height: 100%;
  max-height: 100%;
  transform: translate(-50%, -50%);
}

.card-news-body {
  position: relative;
  z-index: 2;
  padding: 2rem 0.8rem 1rem;
  background-color: var(--color-bright);
}

.card-news-label {
  display: inline-block;
  position: absolute;
  top: -1rem;
  left: 0.8rem;
  z-index: 1;
  padding: 0.4rem 0.8rem;
  border: 1px solid #707070;
  background-color: var(--color-bright);
  font-weight: bolder;
  font-size: 1.1rem;
  line-height: 1;
  text-align: center;
}

.card-news-text {
  overflow: hidden;
  height: 2.8em;
  font-weight: bolder;
  font-size: 1.4rem;
  line-height: 1.4;
}

.card-news-date {
  margin-top: 0.4rem;
  color: #b7b7b7;
  font-weight: bolder;
  font-size: 1.1rem;
}

@media (min-width: 520px) {
  .news-header {
    flex-wrap: nowrap;
  }

  .news-header-item {
    max-width: none;
  }
}

@media (min-width: 768px) {
  .news {
    padding: 4.8rem 0 12rem;
  }

  .news-header-text {
    font-size: 1.5rem;
  }

  .news-list {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 0 -2%;
  }

  .card-news {
    flex: 1 1 auto;
    max-width: 46%;
    margin: 2%;
  }

  .card-news-body {
    padding: 2.4rem 1.6rem 1.6rem;
  }

  .card-news-label {
    top: -0.8rem;
    left: 1.6rem;
  }

  .card-news-text {
    font-size: 2rem;
  }

  .card-news-date {
    margin-top: 0.8rem;
  }
}