.title-svg {
  max-width : 25vw;
}

.btn {
  border-radius : 2rem;
  font-weight : bold;
  padding-inline : 2rem;
}
.btn.btn-light {
  background-color : var(--main-text-color);
  color : var(--sub-text-color);
}
.btn.btn-light:hover {
  color : var(--sub-text-color);
}

.news-archives {
  .webgene-blog {
    display : grid;
    grid-template-columns : 1fr;
    gap : 1rem;
    margin-block : 3rem;
  }
  @media(min-width : 768px){
    .webgene-blog {
    grid-template-columns : repeat(3,1fr);
    gap : 3rem 1.5rem;
  }
  }
  .webgene-item {
    background-color : var(--main-text-color);
    border-radius : 1rem;
    padding : 1rem;
  }
  .webgene-item-link {
    color : var(--sub-text-color);
    font-weight : bold;
  }
  .webgene-item-link:hover {
    color : var(--sub-text-color);
    text-decoration : none;
  }
  .webgene-item-info {
    display : flex;
    margin-top : 0.5rem;
  }
  .blogItemCategory::before {
    content :"●";
    color : #C58761;
    margin-left : 0.5em;
  }
}

.webgene-pagination {
  grid-column : 1 / -1;
  margin-top:2rem;
}
#dataNews .webgene-pagination ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
    list-style: none;
    padding: 0;
}

#dataNews .webgene-pagination a {
    text-decoration: none;
    border: 1px solid var(--text-base-color);
    background-color: #fff;
    color: #534741;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0.2em 0.5em;
    transition: .3s;
  font-weight : 500;
  border-radius : 0.5rem;
}

#dataNews .webgene-pagination .selected a,
#dataNews .webgene-pagination a:hover {
    background-color: #C58761;
    color: #fff;
}

#postDetail {
  .blogItemCategory::before {
    content :"●";
    color : #C58761;
    margin-right : 0.25em;
  }
  .blogItemTitle {
    font-size : 1.8rem;
  }
  .thumbnail img {
    border : 8px solid var(--main-text-color);
    border-radius : 1rem;
  }
  .blog-body {
    display : grid;
    gap: 0.75em;
    p {
      margin : 0;
    }
    h2 {
      font-size : 1.4em;
      font-weight : bold;
      margin : 0;
    }
    h3 {
      font-size : 1.2em;
      font-weight : bold;
      margin : 0;
    }
    h4 {
      font-size : 1em;
      font-weight : bold;
      margin : 0;
    }
    * + h2,
    * + h3,
    * + h4 {
      margin-top : 0.7em;
    }
  }
}


/* アーカイブ用画像無し対応 */
.thumbnail-img {
  display: block;
	aspect-ratio: 3 / 2;
    background-size: cover;
  background-image : url("/system_panel/uploads/images/thumbnail-img-default.jpg");
}
.thumbnail-img__content {
  background-size: cover;
  width : 100%;
  height : 100%;
}

/* 詳細ページ用画像無し対応(直書き出し) */
#postDetail {
  max-width : 800px;
  margin-inline : auto;
}
.webgene-item-main-image {
  margin-bottom : 1rem;
  width : 100%;
  height :auto;
  border-radius : 1rem;
}