/* ==================================================
   News Box全体
================================================== */
.news-box {
  padding-top: 40px;
  padding-bottom: 80px;
}
@media screen and (min-width: 768px) {
  .news-box {
    padding-top: 60px;
    padding-bottom: 140px;
  }
}

.news-box__cont {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* ==================================================
   Info List (お知らせ一覧)
================================================== */
.info-list {
  width: 100%;
}
@media screen and (min-width: 1024px) {
  .info-list {
    width: 75%;
  }
}

.info-list .webgene-item {
  border-top: solid 1px #ccc;
}
.info-list .webgene-item:last-of-type {
  border-bottom: solid 1px #ccc;
}

.info-list .webgene-item a {
  display: block;
  padding: 20px 0;
}
@media screen and (min-width: 768px) {
  .info-list .webgene-item a {
    padding: 15px 0; /* 下部の記述を優先 */
  }
}
@media screen and (min-width: 1024px) {
  .info-list .webgene-item a {
    padding: 15px; /* 下部の記述を優先 */
  }
}

/* --- ブログアイテム内の要素 --- */
.blogdate {
  font-family: "Shippori Mincho", serif;
  color: #828974;
}

.info-list .blog-item {
  display: flex;
  flex-wrap: wrap;
}

.info-list .blog-item .blogdate {
  padding: 0 15px 0 0;
}
@media screen and (min-width: 768px) {
  .info-list .blog-item .blogdate {
    padding-left: 15px; /* 下部の記述を優先 */
  }
}
@media screen and (min-width: 1024px) {
  .info-list .blog-item .blogdate {
    padding: 0 15px; /* 下部の記述を優先 */
  }
}
@media screen and (min-width: 1080px) {
  .info-list .blog-item .blogdate {
    width: 14%;
  }
}

.info-list .blog-item .blogcate {
  min-width: 100px; /* 仮 */
  background-color: #828974;
  border-radius: 12px;
  font-size: 1.4rem;
  color: #fff;
  text-align: center;
  padding: 0 10px;
}
@media screen and (min-width: 768px) {
  .info-list .blog-item .blogcate {
    margin-top: 2px;
  }
}

.info-list .blog-item .blogttl {
  width: 100%;
}
@media screen and (min-width: 768px) {
  .info-list .blog-item .blogttl {
    width: auto;
    padding: 0 15px;
  }
}

/* ==================================================
   ページネーション
================================================== */
.webgene-pagination {
  width: 100%;
  margin-top: 20px;
}
@media screen and (min-width: 768px) {
  .webgene-pagination {
    margin-top: 30px;
  }
}
@media screen and (min-width: 1024px) {
  .webgene-pagination {
    margin-top: 50px;
  }
}

.webgene-pagination ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding-inline-start: 0px;
}

.webgene-pagination .selected a {
  background-color: #828974;
  color: #fff;
}

.webgene-pagination li a {
  display: block;
  width: 30px;
  background-color: #efeceb;
  line-height: 30px;
  text-align: center;
  letter-spacing: normal;
  margin-right: 10px;
  color: #333;
}
@media screen and (min-width: 768px) {
  .webgene-pagination li a {
    width: 50px;
    line-height: 50px;
  }
}

/* ==================================================
   カテゴリーボックス (サイドバー等)
================================================== */
.cate-box {
  max-width: 200px;
  width: 100%;
  padding-top: 50px;
  margin: 0 auto;
}
@media screen and (min-width: 768px) {
  .cate-box {
    padding-top: 80px;
  }
}
@media screen and (min-width: 1024px) {
  .cate-box {
    width: 200px;
    padding-top: 0;
    margin: 0;
  }
}

.category {
  font-family: "Shippori Mincho", serif;
  display: inline-block;
  min-width: 200px;
  background-color: #828974;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 3.125;
  color: #fff;
  padding-left: 20px;
  margin-bottom: 10px;
}
@media screen and (min-width: 1024px) {
  .category {
    width: 100%;
  }
}

.cate-box .webgene-item {
  margin-bottom: 10px;
}
@media screen and (min-width: 1024px) {
  .cate-box .webgene-item {
    margin: 0 0 10px;
  }
  .cate-box .webgene-item a {
    padding-left: 0;
  }
}

.cate-box .webgene-item:last-of-type {
  margin-bottom: 0;
}
@media screen and (min-width: 1024px) {
  .cate-box .webgene-item:last-of-type {
    margin: 0;
  }
}

.cate-box .webgene-blog a {
  display: block;
  color: #333;
  text-align: left;
  position: relative;
}
.cate-box .webgene-blog a:hover {
  text-decoration: none;
  color: #333;
}
.cate-box .webgene-blog a p {
  display: inline;
  padding-left: 15px;
  position: relative;
}
.cate-box .webgene-blog a p:before {
  content: "";
  width: 6px;
  height: 10px;
  background: url(/system_panel/uploads/images/img_news-arrow-icon.png) no-repeat center center/ contain;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

/* ==================================================
   新着情報詳細
================================================== */
.info-detail {
  width: 100%;
}

.info-detail-content {
  margin-top: 20px;
}
@media screen and (min-width: 768px) {
  .info-detail-content {
    margin-top: 40px;
  }
}

.info-detail .webgene-item {
  max-width: 1000px;
  width: 100%;
  padding: 0;
  margin: 0 auto;
}

.info-detail .webgene-item .info-detail-top {
  text-align: center;
  margin-bottom: 15px;
}
@media screen and (min-width: 768px) {
  .info-detail .webgene-item .info-detail-top {
    margin-bottom: 35px;
  }
}

.info-detail .webgene-item .blogdate {
  color: #828974;
  margin-bottom: 10px;
}

.info-detail .webgene-item .info-detail-ttl {
  font-family: "Shippori Mincho", serif;
  font-size: 2rem;
  padding-bottom: 20px;
}
@media screen and (min-width: 768px) {
  .info-detail .webgene-item .info-detail-ttl {
    font-size: 2.1rem;
    letter-spacing: 0.05em;
    padding-bottom: 25px;
    border-bottom: solid 1px #ccc;
  }
}

.post-photo {
  text-align: center;
}

/* ==================================================
   一覧に戻るボタン
================================================== */
.newsdetail-box__nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 60px;
}
@media screen and (min-width: 768px) {
  .newsdetail-box__nav {
    margin-top: 90px;
  }
}
.newsdetail-box__nav-item {
  width: 80px;
}
@media screen and (min-width: 768px) {
  .newsdetail-box__nav-item {
    width: 120px;
  }
}
.newsdetail-box__nav-item.--back {
  width: 130px;
}
@media screen and (min-width: 768px) {
  .newsdetail-box__nav-item.--back {
    width: 180px;
  }
}
.newsdetail-box__nav a {
  display: block;
  text-align: center;
  padding: 10px;
  background-color: #828974;
  border-radius: 30px;
  color: #fff;
  line-height: 2.75;
}
.newsdetail-box__nav .webgene-item-aroundPageLink.webgene-item-prevPageLink a {
  position: relative;
}
@media screen and (min-width: 768px) {
  .newsdetail-box__nav .webgene-item-aroundPageLink.webgene-item-prevPageLink a::before {
    content: "";
    width: 20px;
    aspect-ratio: 20/ 12;
    background: url(/system_panel/uploads/images/img_newsdetail-arrow01.png) no-repeat center center / contain;
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
  }
}
.newsdetail-box__nav .webgene-item-aroundPageLink.webgene-item-nextPageLink a {
  position: relative;
}
@media screen and (min-width: 768px) {
  .newsdetail-box__nav .webgene-item-aroundPageLink.webgene-item-nextPageLink a::after {
    content: "";
    width: 20px;
    aspect-ratio: 20/ 12;
    background: url(/system_panel/uploads/images/img_newsdetail-arrow02.png) no-repeat center center / contain;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
  }
}
.newsdetail-box__nav .newsdetail-box__nav-item:not(:has(a)) {
  visibility: hidden;
}
