@charset "utf-8";



.news-box {
  position: relative;
  width: 800px;
  margin:0 auto 30px;
}
.topics-year p {
  position: relative;
  width: 112px;
  padding-bottom: 5px;
  margin-bottom: 5px;
  text-align: center;
  font-size: 1.8rem;
  font-weight: bold;
  color: #424188;
}

.month {
  position: absolute;
  top: 0;
  left: 0;
  width: 112px;
  height: 112px;
  z-index: 10;
  text-align: center;
  background-color: #424188;
  color: #fff;
  font-size: 4rem;
  font-weight: bold;
  padding: 15px;
}
.month small {
  font-size: 2.5rem;
}


.news-contents {
  position: relative;
  z-index: 1;
  display: flex;
  padding: 20px 0 0 20px;
}


#topics .news-text {
  z-index: 1;
  bottom: 0;
  right: 0;
  background-color: #EBEBFA;
  padding: 20px 20px 20px 150px;
  width: calc(100% - 273px);
}

#topics .news-link {
  color: #333;
  line-height: 1.5;
  font-weight: bold;
}
#topics .news-link:hover {
  opacity: 0.6;
}
#topics .news-contents img {
  width: 273px;
  object-fit: cover;
}
#topics .news-icon {
  margin-bottom: 20px;
  color: #00649A;
  font-size: 1.5rem;
  font-weight: bold;
}
#topics .news-icon img {
  height: 2em;
  width: auto;
  margin-right: 15px;
}
#topics .news-icon-2 {
  margin-bottom: 20px;
  color: #284A88;
  font-size: 1.5rem;
  font-weight: bold;
}
#topics .news-icon-2 img {
  height: 2em;
  width: auto;
  margin-right: 15px;
}
@media only screen and (max-width: 768px) {
  .news-box {
    position: relative;
    margin-bottom: 30px;
    width: auto;
  }
  .topics-year p {
    width: 60px;
    font-size: 1.3rem;
  }
  .month {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    z-index: 10;
    text-align: center;
    background-color: #424188;
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    padding: 5px;
  }
  .month small {
    font-size: 1rem;
  }
  #topics .news-text {
    z-index: 1;
    background-color: #EBEBFA;
    padding: 20px 20px 20px 60px;
    width: auto;
  }
  .news-contents {
    position: relative;
    z-index: 1;
    display: block;
    /* padding: 20px 0 0 20px; */
  }
  #topics .news-contents img {
    width: 100%;
    object-fit: cover;
  }
  #topics .news-icon img {
    height: 2em;
    width: auto;
    margin-right: 15px;
  }
  #topics .news-icon-2 img {
    height: 2em;
    width: auto;
    margin-right: 15px;
  }
}



