@charset "utf-8";

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
/*
*/
.noteboard {
  background-color: #77582d;
  padding: 10px 10px;
  border-radius: 10px;
  margin: 30px auto;
  box-sizing: border-box;
  position: relative;
}
.notepaper::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  width: 100%;
  height: 30px;
  background-image: url("/img/news/bg_note_upper.png");
  background-repeat: repeat-x;
  background-size: 275px 30px;
  background-size: 200px auto;
}
.notepaper {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  padding: 42px 20px;
  padding: 42px 0px;
  background-color: #ffffff;
  background-image: url("/img/news/bg_note_middle.png");
  background-size: 500px auto;
}

@media (min-width: 768px) {
  .noteboard {
    background-color: #77582d;
    padding: 20px 20px;
    border-radius: 10px;
    margin: 30px auto;
    max-width: 1004px;
    box-sizing: border-box;
  }
  .notepaper::before {
    background-size: 275px 30px;
  }
  .notepaper {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    padding: 70px 50px;
    background-color: #ffffff;
  }
}

/*
*/
.keshigomu {
  position: absolute;
  top: -118px;
  right: -151px;
  z-index: 1;
}
.enpitsu {
  position: absolute;
  top: 59px;
  right: 117px;
  z-index: 1;
}

/*
*/
ul.page-numbers {
  margin: 0;
  list-style-type: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding-left: 0;
}
ul.page-numbers li {
  margin: 0 10px;
}
.page-numbers {
  font-size: 16px;
  line-height: 1;
  font-weight: bold;
  color: inherit;
}

/*
ニュース詳細ページ
*/
/* .content * {
  margin: revert;
  padding: revert;
  word-break: break-all;
} */

/*
ニュース詳細ページのページャー
*/
.pager {
  display: flex;
  justify-content: center;
  font-size: 14px;
  margin-top: 60px;
  flex-direction: column;
}
.pager a {
  color: inherit;
  text-decoration: none;
}
.prev-post,
.next-post {
  flex: 0 0 300px;
}

.prev-post__label,
.next-post__label {
  font-size: 16px;
  font-weight: bold;
}
.next-post__label {
  text-align: right;
}
.prev-post__title,
.next-post__title {
  margin-top: 10px;
}
.next-post__title {
  text-align: right;
}
.pager-separator {
  width: 1px;
  background-color: #bdbdbd;
  margin: 0 20px;
}

@media (min-width: 768px) {
  .pager {
    display: flex;
    justify-content: center;
    font-size: 14px;
    margin-top: 60px;
  }
}
