@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');

/* ================================================================================ */

#main-news {
  background-color: #f7f0eb;
  margin: 0 auto;
  padding: 8rem 0 7rem 0;
  width: 100%;
}

.main-news-wrapper {
  margin: 0 auto 0 auto;
  padding: 0;
  width: 1000px;
}

#main-news-article-container {
  display: none;
}

#main-news-article-container.enable {
  display: block;
}

.main-news-article {
  display: block;
  font-size: 1.8rem;
  list-style: none;
  margin: 3rem 0 0 0;
  padding: 0;
}

.main-news-article-item {
  border-bottom: 1px dashed #393f20;
  padding: 1em 0 1em 8em;
  position: relative;
}

.main-news-article-item a:link,
.main-news-article-item a:visited,
.main-news-article-item a:hover,
.main-news-article-item a:active {
  color: #212529;
}

.main-news-article-date {
  left: 1em;
  position: absolute;
  top: .95em;
}

.main-news-article-date.lato-bold {
  font-family: "Lato", serif;
  font-weight: 400;
  font-style: normal;
}

.main-news-add {
  margin: 6rem auto 0 auto;
  text-align: center;
  width: 220px;
}

.main-news-add-a.btneffect {
  background: #955e3e;
  border: 4px solid #955e3e;
  border-radius: 2.5rem;
  font-family: 'Hiragino Maru Gothic W4 JIS2004', 'Zen Maru Gothic', sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  height: 5rem;
  line-height: 4.0rem;
  padding: 0 !important;
  width: 220px;
  cursor: pointer;
}

.main-news-add-a.btneffect span {
  color: #ffffff;
}

.main-news-add-a.btneffect:hover span {
  color: #ffffff;
}

.main-news-add-a.btneffect.bgright::before {
  background: #ce906d;
}

.main-news-add-a.disable {
  display: none;
}

@media screen and (min-width: 1500px) {
  .main-news-wrapper {
    width: 1250px;
  }
}

@media screen and (max-width: 640px) {
  .main-image-img {
    object-position: 70% 100%;
  }

  #main-news {
    padding: 8rem 0 6rem 0;
  }

  .main-news-wrapper {
    padding: 0 2rem;
    width: 100%;
  }

  .main-news-article-item {
    padding: 1em 0 1em 0;
  }

  .main-news-article-date {
    left: 0;
    position: relative;
    top: 0;
  }

  .main-news-add-a.btneffect.bgright::before {
    background-color: #955e3e;
  }
}
