@charset "UTF-8";
/**
 * @ news.css
 *
 * 
 */

/* ==============================
  .news-list
============================== */
.news-list__items {
  display: flex;
  flex-direction: column;
  max-width: 80%;
  margin: 50px auto 0;
}
.news-list__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 40px;
}
.news-list__item {
  padding: 30px 0;
  border-bottom: 1px solid var(--color-green);
}
.news-list__title {
  font-size: 1.8rem;
  font-weight: var(--weight-bold);
  width: 100%;
}
.news-list__more-btn {
  flex-shrink: 0;
  display: block;
  background: var(--color-green);
  color: #fff;
  font-size: 1.3rem;
  font-weight: var(--weight-bold);
  padding: 7px 20px;
  border-radius: 50px;
  text-align: center;
  width: 140px;
  max-width: 100%;
}

@media screen and (max-width: 768px) {
  .news-list {
    margin-top: 30px;
  }
  .news-list__items {
    max-width: 100%;
    margin-top: 0;
  }
  .news-list__link {
    flex-direction: column;
  }
  .news-list__title {
    font-size: 1.6rem;
  }
  .news-list__more-btn {
    display: none;
  }
}

/* ==============================
  .news-detail
============================== */
.news-detail {
  background: var(--color-gray);
}
.news-detail__title {
  font-size: 3.5rem;
  font-weight: var(--weight-bold);
  margin-bottom: 50px;
  border-bottom: 2px solid var(--color-green);
  padding-bottom: 10px;
}

@media screen and (max-width: 768px) {
  .news-detail__title {
    font-size: 2.4rem;
  }
}
