@charset "UTF-8";

.main {
  background-color: #000;
  z-index: -1;
  padding-top: 80px;
  overflow: hidden;
}

.section-top {
  height: 40vh;
  background-image: url("../img/announce-top_img.jpg");
  background-size: cover;
  background-position: top 50% left 40%;
  padding-top: 17vh;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: relative;

}

.announce-img::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  content: "";
  width: 100%;
  height: 100%;
  background: rgb(0, 0, 0);
  background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0)65%, rgba(0, 0, 0, 1)100%);
}

.section-top_img {

  padding-right: 5%;
  position: absolute;
  top: 50%;
  right: 0%;
  /* transform: translateY(-50%); */
  width: 400px;
  /* text-align: right; */
  /* display: flex; */
  /* justify-content: flex-end; */
  /*
    position: sticky;
    top: 58px;
    right: 0;
*/
  z-index: 99;
}

.section-top_img img {
  width: 100%;
}

.section-announce {
  position: relative;
  margin: 0 auto;
  width: 70%;
}

.section-announce_title {
  padding: 100px 0 0;
  display: none;
}

.section-announce_title img {
  width: 40%;
}

.back-ground {
  background-color: #EFEFEF;
  margin-top: 10vh;
  color: #333;
  height: auto;
  padding: 45px 70px;
}

.back-ground img {
  padding-top: 30px;
}

.section-announce_link {
  display: block;
  padding-top: 10px;
  padding-bottom: 20px;
  margin-bottom: 45px;
  border-bottom: 1px solid #333;
}

.section-announce_contents {
  display: flex;
}

.section-announce_contents time {
  font-family: 'Alegreya SC', serif;
  font-size: 2.0rem;
}


.section_news_topics {
  display: flex;
}

.section_news_topics li {
  display: inline-block;
  min-width: 60px;
  padding: 0.3rem;
  margin-left: 10px;
  border-radius: 2px;
  border: 0.3px solid #333;
  text-align: center;
}

.section_news_text {
  padding-top: 25px;
  font-family: 'Alegreya SC', serif;
  font-size: 2.5rem;
  text-align: center;
}

.section_news_page {
  width: 75%;
  margin: 0 auto;
  line-height: 1.6;
  text-align: center;
}

.section_news_img {
  width: 100%;
  padding-bottom: 55px;
  text-align: center;
}

.section_news_img {
  width: 100%;
}

.section_news_p {
  line-height: 2;
  padding-bottom: 30px;
  font-size: 1.9rem;

}

.section_news-right {
  display: flex;
  justify-content: flex-end;
}

.section_news-button {
  width: 250px;
  height: 60px;
  background-color: #231F1F;
  display: block;
  color: #fff;
  text-align: center;
  align-items: center;
  letter-spacing: 0.9rem;
  font-size: 1.8rem;
  font-weight: 300;
  padding-top: 20px;
}

.section_news-button:hover {


  transition: all 0.3s ease;
}

.solid {
  border-top: solid 1px #333;
  width: auto;
  height: 45px;
  margin-top: 55px;
}


.post__pagination {
  padding-top: 50px;
  text-align: center;
}

.post__pagination__left {
  display: inline-block;
  margin-right: 80px;

}

.post_text {
  text-align: center;
  line-height: 50px;
  height: 50px;
  width: 180px;
}

.post__pagination__left:hover {
  background-color: #231F20;
  text-decoration: none;
  transition: all 0.5s ease;
  display: inline-block;

}

.post__pagination__right {
  display: inline-block;

}

.post__pagination__right:hover {
  background-color: #231F20;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;

}



.pagenation {
  padding-top: 50px;
}

.pager .pagination {
  text-align: center;
}

.pager .pagination li {
  margin: 0 2px;
  padding: 0;
  display: inline-block;
  width: 50px;
  height: 50px;
  text-align: center;
  position: relative;
  border-radius: 10px;
}



.pager .pagination li a {
  vertical-align: middle;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  display: table;
  text-decoration: none;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.pager .pagination li a span {
  display: table-cell;
  vertical-align: middle;
}

.pager .pagination li a:hover,
.pager .pagination li a.active {
  color: #fff;
  background: #231F20;
}

.pre.hide a {
  display: none !important;
}

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

  .section-top_img {
    top: 55%;
    width: 40vw;
  }

  .section-announce {
    width: 95%;
    padding: 10px 30px;
    /* margin: 0 auto; */
  }

  .back-ground {
    padding: 45px 25px;
  }

  .section_news_text {
    font-size: 3.5vw;
  }

  .section-announce_topic {
    /* max-width: 500px; */
    width: 100%;
    margin: 0 auto;
  }

  .section_news_p {
    font-size: 1.6rem;
    padding-bottom: 10px;
  }

  .pager .pagination li {
    display: none;
  }

  .pager .pagination li.pre,
  .pager .pagination li.next {
    display: inline-block;
    width: 40%;
    height: 50px;
    text-align: center;
  }

  .pager .pagination li.pre a,
  .pager .pagination li.next a {
    width: 100%;
    text-align: center;
  }

  .pager .pagination li.pre span::after {
    content: " 前の記事へ";
  }

  .pager .pagination li.next span::before {
    content: "次の記事へ ";
  }

}

/* MB423px以下の場合 */
@media screen and (max-width: 423px) {

  .section-top {
    height: 25vh;
  }

  .section-top_img {
    top: 55%;
    width: 50vw;
  }

  .section-top_img img {
    width: 100%;
  }

  .section-announce {
    padding: 10px 25px;
    width: 100%;
    /* margin: 0 auto; */
  }

  .section-announce_title {
    width: 120vw;
  }

  .section-announce_topic time {
    font-size: 1.8rem;
  }

  .section_news_topics {
    flex-wrap: wrap;
  }

  .section_news_topics li {
    font-size: 1.2rem;
    min-width: 40px;
    margin-bottom: 8px;
  }

  .section_news_text {
    font-size: 4.95vw;
  }

  .post_text {
    width: 110px;
  }

  .post__pagination__left {
    margin-right: 40px;
  }

  .section_news_page {
    width: 95%;
  }

  .section_news_p {
    line-height: 1.9;
    font-size: 1.4rem;
  }

  .section_news-right {
    justify-content: center;
  }

  .section_news-button {
    width: 200px;
    height: 50px;
    letter-spacing: 0.8rem;
    padding-top: 15px;
    font-size: 1.5rem;
  }

  .back-ground {
    padding: 25px 20px;
  }


}