@charset "UTF-8";

img {
  width: auto;
  max-width: 100%;
}

.mt20 {
  margin-top: 20px;
}

.mb20 {
  margin-bottom: 20px;
}

/* #news */

#news {
  width: 100%;
}

#news .contents .title {
  border-bottom: 1px solid #96cd00;
  display:-webkit-box;
  display:-moz-box;
  display:-ms-flexbox;
  display:-webkit-flex;
  display:-moz-flex;
  display:flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-bottom: 20px;
}

#news .contents {
  margin-bottom: 100px;
}

#news .contents .title h2{
  color: #333;
  font-size: 20px;
  font-weight: bold;
  line-height: 30px;
  padding-right: 10px;
}

#news .contents .title time{
  border: 3px solid #96cd00;
  border-radius: 4px;
  color: #96cd00;
  height: 30px;
  line-height: 23px;
  margin-bottom: 5px;
  margin-right: 10px;
  padding: 0 5px;
  text-align: center;
}

#news .contents .title .news-dates {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 5px;
}

#news .contents .title .news-dates time {
  min-width: 190px;
  white-space: nowrap;
}

#news .contents .contents_inner {
  display:-webkit-box;
  display:-moz-box;
  display:-ms-flexbox;
  display:-webkit-flex;
  display:-moz-flex;
  display:flex;
}

#news .contents .contents_inner .text {
  margin-right: 20px;
  width: 710px;
}

#news .contents .contents_inner .img {
  text-align: center;
  width: 300px;
}

#news .contents .contents_inner .img a {
  display: inline-block;
  position: relative;
}

#news .contents .contents_inner .img img {
  width: 100%;
}

#news .search_outer {
  background: #fff;
  border-radius: 20px;
  bottom: -25px;
  display: inline-block;
  padding: 12px;
  position: absolute;
  right: 5px;
}

#news .search.icon {
  border: solid 1px currentColor;
  border-radius: 100%;
  -webkit-transform: rotate(-45deg);
  color: #000;
  margin-top: -7px;
  margin-left: -8px;
  height: 12px;
  position: absolute;
  transform: rotate(-45deg);
  width: 12px;
}

#news .search.icon:before {
  background-color: currentColor;
  content: '';
  display: block;
  left: 5px;
  height: 6px;
  position: absolute;
  top: 12px;
  width: 1px;
}



@media screen and (max-width:1050px) {

  #news .contents {
    padding: 0 20px;
    margin-bottom: 50px;
  }
  #news .contents .title,
  #news .contents .contents_inner {
    -webkit-flex-direction: column-reverse;
    flex-direction: column-reverse;
  }

  #news .contents .title time {
    width: 120px;
  }

  #news .contents .title .news-dates time {
    width: auto;
  }

  #news .contents .contents_inner .text {
    margin-right: 0;
    width: 100%;
  }

  #news .contents .contents_inner .img {
    margin-bottom: 30px;
    min-height: 0%;
    width: 100%;
  }

}
