@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Noto+Sans|Noto+Serif");
@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,700");
@import url("https://fonts.googleapis.com/css?family=Comfortaa:700");

.second {
  max-width: 980px;
}

.top-news {
  margin-bottom: 100px;
}

@media screen and (min-width: 768px) {
  .second,
  .second-nrw {
    margin: 60px auto 80px;
  }

  .second,
  .second-nrw-menu,
  .second-nrw-lunch,
  .second-nrw-course {
    margin: 60px auto 80px;
  }
}

.CMS-NEWS-INDEX {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  padding-bottom: 60px;
  max-width: 1020px;
  margin: auto;
  padding: 0 20px;
}

.CMS-NEWS-INDEX img {
  width: 100%;
  height: auto;
  height: 220px;
  object-fit: cover;
}
@media screen and (max-width: 1025px) {
  .CMS-NEWS-INDEX img {
    height: 21vw;
  }
}
@media screen and (max-width: 767px) {
  .CMS-NEWS-INDEX img {
    height: 50vw;
  }
}

.CMS-NEWS-INDEX a {
  text-decoration: none;
}

.top-news .CMS-NEWS-INDEX {
  padding-bottom: 0;
}

.CMS-NEWS-INDEX > * {
  width: 31%;
  margin-right: 3.5%;
  margin-bottom: 40px;
  font-size: 1.8rem;
  font-family: "Noto Sans JP", Meiryo, "MS Pゴシック", "ヒラギノ角ゴ ProN W3",
    "Hiragino Kaku Gothic ProN", "Raleway", sans-serif;
}

.CMS-NEWS-INDEX > *:nth-of-type(3n) {
  margin-right: 0;
}

.CMS-NEWS-TITLE {
  border-bottom: solid 1px rgba(0, 0, 0, 0.2);
  font-size: 24px;
  line-height: 1.6;
  margin-bottom: 30px;
  padding: 10px 0 12px 0;
  position: relative;
  font-weight: bold;
}

.CMS-NEWS-TITLE:after {
  border-bottom: solid 3px #da1209;
  bottom: -3px;
  content: " ";
  display: block;
  position: absolute;
  width: 25%;
}

.CMS-NEWS-CONTENT img {
  width: 80%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
}

.CMS-NEWS-ITEM a {
  transition: all 0.3s;
  display: block;
  padding: 0 0 2rem;
  /* text-decoration: underline #fff; */
}

.CMS-NEWS-ITEM a:hover {
  opacity: 0.6;
}

.CMS-NEWS-TIME {
  /* color: #999; */
  display: block;
  margin-top: 15px;
  color: #363535;
  font-size: 0.8em;
}

.t-news .CMS-NEWS-TIME {
  color: #fff;
}

.CMS-NEWS-LINK {
  display: block;
  line-height: 1.6;
  color: #363535;
  font-size: 0.9em;
}

.t-news .CMS-NEWS-LINK {
  color: #fff;
}


.CMS-NEWS-MORE-READ {
  background: #a51e1b;
  border: none;
  border-radius: 0.2rem;
  text-align: center;
  padding: 2rem 0;
  font-size: 1.4rem;
  color: #fff;
  text-align: center;
  margin: 4rem auto 0 auto;
  width: 24rem;
  display: block;
  transition: all 0.3s;
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translate(-50%, 0);
  -webkit-transform: translate(-50%, 0);
}
.t-news .CMS-NEWS-MORE-READ {
  display: none;
}

.CMS-NEWS-MORE-READ:hover {
  cursor: pointer;
  opacity: 0.6;
}

.top-news .CMS-NEWS-MORE-READ {
  display: none;
}

.top-news .btn {
  margin: 0 auto;
}

@media screen and (max-width: 767px) {
  .CMS-NEWS-INDEX {
    display: block;
    padding-bottom: 100px;
    padding: 0px 10% 0 10%;
    margin-bottom: 50px;
  }
  .t-news .CMS-NEWS-INDEX {
    margin-bottom: 0;
  } 
  .CMS-NEWS-INDEX > * {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }

  .CMS-NEWS-INDEX > *:last-of-type {
    margin-bottom: 0;
  }

  .CMS-NEWS-CONTENT img {
    width: 100%;
  }

  .CMS-NEWS-ITEM a {
    display: block;
  }

  .CMS-NEWS-LINK {
    display: block;
    width: auto;
  }

  .top-news .btn_wrap {
    padding: 0 20px;
  }

  .CMS-NEWS-MORE-READ {
    display: block;
    bottom: -8rem;
  }
  .t-news .CMS-NEWS-MORE-READ {
    display: none;
  }

}
