.news {
  width: 128rem;
  height: auto;
  padding: 5rem 18rem 15rem 16rem;
}

/* news_category_tag */
.news_category_tag {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 8rem;
}

.tag_wrapper_flex{
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 8rem;

}

.cat_item_all {
  display: block;
  font-size: 1.2rem;
  font-weight: 500;
  font-family: var(--NotoSans);
  line-height: calc(17em / 12);
  outline: 0.1rem solid #003D6D;
  border-radius: 1.5rem;
  color: #003D6D;
  background-color: #FFFFFF;
  padding: 0.7rem 2rem 0.6rem;
}

.cat_item_all:active,
.cat_item_all.selected{
  color: #FFFFFF;
  background-color: #003D6D;
}

/* news_category_area */
.news_category_area {
  display: flex;
  flex-wrap: wrap;
  column-gap: 2rem;
  row-gap: 5rem;
  margin-bottom: 8rem;
}


.news_category_item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30rem;
  height: 39.7rem;
  border-radius: 2rem;
  box-shadow: 0 0 1rem #00000029;
  padding: 2rem 1.7rem 1.4rem;
}
.news_category_name {
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 500;
  font-family: var(--NotoSans);
  line-height: calc(17em / 12);
  color: #FFFFFF;
  background-color: #003D6D;
  border-radius: 1.5rem;
  margin-bottom: 0.5rem;
  padding: 0.7rem 2rem 0.6rem;
}
.news_category_image {
  width: 26.6rem;
  height: 15rem;
  margin-bottom: 1rem;
  overflow: hidden;
}
.news_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}
.news_category_item:hover .news_img {
  transform: scale(1.3);
}
.news_category_data {
  font-size: 1.3rem;
  font-weight: 400;
  font-family: var(--NotoSans);
  line-height: calc(19em / 13);
  color: #1A1311;
  margin-bottom: 0.5rem;
}
.news_category_title {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--NotoSans);
  line-height: calc(28em / 15);
  color: #1A1311;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin: -0.2rem 0;
}
.news_detailed_link_area {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}
.news_detailed_link {
  font-size: 1.6rem;
  font-weight: 500;
  font-family: var(--NotoSans);
  line-height: calc(24em / 16);
  color: #1A1311;
  padding: 1rem 5rem;
}

/* news_pagination */
.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3rem;
  height: 3rem;
  font-size: 1.6rem;
  font-weight: 500;
  font-family: var(--NotoSans);
  border: 0.1rem solid #003D6D;
  border-radius: 50%;
  color: #003D6D;
  background-color: #FFFFFF;
}
.page-numbers.current {
  background-color: #003D6D;
  color: #FFFFFF;
}

@media screen and (max-width: 699.98px) {
  .news {
    width: 37.5rem;
    height: auto;
    padding: 2.2rem 0 10rem;
  }

  /* news_category_tag */
  .news_category_tag {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 5rem;
    padding: 0 2.7rem 0 2.8rem;
  }

  /* news_category_area */
  .news_category_area {
    display: flex;
    flex-wrap: wrap;
    column-gap: 0;
    row-gap: 4rem;
    margin-bottom: 5rem;
    padding: 0 3.7rem 0 3.8rem;
  }
  .news_category_item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30rem;
    height: 39.7rem;
    border-radius: 2rem;
    box-shadow: 0 0 1rem #00000029;
    padding: 2rem 1.7rem 1.4rem;
  }
  .news_category_name {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 500;
    font-family: var(--NotoSans);
    line-height: calc(17em / 12);
    color: #FFFFFF;
    background-color: #003D6D;
    border-radius: 1.5rem;
    margin-bottom: 0.5rem;
    padding: 0.7rem 2rem 0.6rem;
  }
  .news_category_image {
    width: 26.6rem;
    height: 15rem;
    margin-bottom: 1rem;
    overflow: hidden;
  }
  .news_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
  }
  .news_category_item:hover .news_img {
    transform: scale(1.3);
  }
  .news_category_data {
    font-size: 1.3rem;
    font-weight: 400;
    font-family: var(--NotoSans);
    line-height: calc(19em / 13);
    color: #1A1311;
    margin-bottom: 0.5rem;
  }
  .news_category_title {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--NotoSans);
    line-height: calc(28em / 15);
    color: #1A1311;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    margin: -0.2rem 0;
  }
  .news_detailed_link_area {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
  }
  .news_detailed_link {
    font-size: 1.6rem;
    font-weight: 500;
    font-family: var(--NotoSans);
    line-height: calc(24em / 16);
    color: #1A1311;
    padding: 1rem 5rem;
  }

  /* news_pagination */
  .news_pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }
  .page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    font-size: 1.6rem;
    font-weight: 500;
    font-family: var(--NotoSans);
    border: 0.1rem solid #003D6D;
    border-radius: 50%;
    color: #003D6D;
    background-color: #FFFFFF;
  }
  .page-numbers.current  {
    background-color: #003D6D;
    color: #FFFFFF;
  }
}