.news-page,
.news-single-page{
  padding-bottom: 80px;
}

/* --------------------
   archive / single 共通
-------------------- */
.news-archive,
.news-single{
  padding: 100px 0 80px;
}

.news-single .container,
.news-archive .inner,
.news-archive .container{
  width: min(100% - 40px, 1100px);
  margin-inline: auto;
}

/* --------------------
   一覧ページ
-------------------- */
.news-archive .topics_content{
  width: 100%;
}

.news-archive .sec_ttl{
  margin-bottom: 34px;
}

.news-archive .topics_list{
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-archive .topics_list .list_item{
  margin-bottom: 28px;
}

.news-archive .topics_list .list_item:last-child{
  margin-bottom: 0;
}

.news-archive .topics_list .list_item a{
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: inherit;
  text-decoration: none;
  height: 100%;
  box-shadow: 0 10px 30px rgba(54, 95, 113, 0.08);
  border-radius: 24px;
}

.news-archive .topics_list .img_wrap{
  width: 100%;
}

.news-archive .topics_list .bg_wrap{
  aspect-ratio: 4 / 3;
  background-color: #f5f5f5;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 16px;
  overflow: hidden;
  transition: transform .3s ease, opacity .3s ease;
}

.news-archive .topics_list .txt_wrap{
  width: 100%;
  padding: 15px 15px 25px;
}

.news-archive .topics_list .date{
  margin: 0 0 8px;
  font-size: 1.3rem;
  line-height: 1.6;
  color: #777;
  letter-spacing: .08em;
}

.news-archive .topics_list .ttl{
  margin: 0;
  font-size: 1.9rem;
  line-height: 1.65;
  font-weight: 700;
  color: #222;
}

.news-archive .topics_list .list_item a:hover .bg_wrap{
  transform: scale(1.02);
}

.news-archive .topics_list .list_item a:hover{
  opacity: 1;
}

.news-empty{
  text-align: center;
  padding: 40px 0;
  line-height: 1.8;
}

/* --------------------
   アイキャッチ補助
-------------------- */
.news-card__image{
  aspect-ratio: 4 / 3;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.news-card__image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__image img[src*="top_logo"]{
  object-fit: contain;
  padding: 20px;
}

/* --------------------
   ページネーション
-------------------- */
.news-pagination{
  margin-top: 70px;
  margin-bottom: 36px;
  text-align: center;
}

.news-pagination .nav-links{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.news-pagination .page-numbers{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #d7d0c7;
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
  background: #fff;
}

.news-pagination .page-numbers.current{
  background: #6b5b4b;
  border-color: #6b5b4b;
  color: #fff;
}

/* --------------------
   詳細ページ
-------------------- */
.news-entry{
  max-width: 860px;
  margin: 0 auto;
}

.news-entry__header{
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #d9d9d9;
}

.news-entry__date{
  display: inline-block;
  margin-bottom: 14px;
  font-size: 1.4rem;
  color: #777;
  letter-spacing: .08em;
  line-height: 1.6;
}

.news-entry__title{
  margin: 0;
  font-size: clamp(2.4rem, 3vw, 3.6rem);
  line-height: 1.5;
  font-weight: 700;
}

.news-entry__thumbnail{
  margin-bottom: 36px;
}

.news-entry__thumbnail img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.news-entry__content{
  font-size: 1.6rem;
  line-height: 2;
}

.news-entry__content p{
  margin: 0 0 1.6em;
}

.news-entry__content h2,
.news-entry__content h3,
.news-entry__content h4{
  margin: 2em 0 .8em;
  line-height: 1.6;
}

.news-entry__content ul,
.news-entry__content ol{
  margin: 0 0 1.6em 1.5em;
}

.news-entry__content img{
  max-width: 100%;
  height: auto;
}

/* --------------------
   詳細ページ 戻るボタン
-------------------- */
.news-entry__back{
  margin-top: 44px;
  text-align: center;
}

.news-entry__back.archive_link{
  display: flex;
  justify-content: center;
}

.news-entry__back.archive_link a{
  float: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* 一覧ページ下ボタンも少し余白調整 */
.news-archive .archive_link{
  margin-top: 10px;
  text-align: center;
}

/* --------------------
   PC
-------------------- */
@media screen and (min-width: 768px){

  .news-archive,
  .news-single{
    padding: 120px 0 90px;
  }

  .news-archive .topics_list{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 28px;
  }

  .news-archive .topics_list .list_item{
    margin-bottom: 0;
  }

  .news-archive .topics_list .ttl{
    font-size: 1.6rem;
  }
}

@media screen and (min-width: 1024px){

  .news-archive,
  .news-single{
    padding: 130px 0 100px;
  }

  .news-archive .topics_list{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 30px;
  }

  .news-archive .sec_ttl{
    margin-bottom: 40px;
  }

  .news-archive .topics_list .ttl{
    font-size: 1.8rem;
  }
}