@charset "utf-8";
/* CSS Document */
.news_detail {
  color: #fff;
}
.news_detail h1, .news_detail h2, .news_detail h3, .news_detail p, .news_detail a, .news_detail span {
  color: #fff;
}
.news_detail .webgene-blog {
  max-width: 1000px;
  margin: 0 auto;
}
.news_detail .catelabel {
  border-radius: 1px;
  padding: 0px 10px;
  border: #fff solid 1px;
}
.main-wrap {
  overflow: visible;
}
.news_d1 .width-1280-max {
  display: flex;
  gap: clamp(36px, 5vw, 72px);
  align-items: flex-start;
}
/* 左：カテゴリ */
.news_d1 .cate-wrap {
  flex: 0 0 220px; /* 見本の細め固定 */
  position: sticky;
  top: 80px;
}
.news_d1 .cate-wrap .titlebox {
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .35);
}
.news_d1 .cate-wrap .titlebox p {
  color: #fff;
  letter-spacing: .08em;
}
/* カテゴリリスト */
.news_d1 .cate-wrap .webgene-blog {
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.news_d1 .cate-wrap .webgene-item a {
  display: block;
  position: relative;
  padding: 20px 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
}
.news_d1 .cate-wrap .webgene-item a p {
  color: rgba(255, 255, 255, .85);
}
.news_d1 .cate-wrap .webgene-item a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, .35);
  opacity: 0; /* hoverで出す */
  transition: opacity .25s ease;
}
.news_d1 .cate-wrap .webgene-blog .webgene-item a.on {
  background: #433213;
  border-color: #433213;
  color: #fff;
  padding-left: 14px;
  border-radius: 2px;
}
/* 文字色 */
.news_d1 .cate-wrap .webgene-blog .webgene-item a.on p {
  color: #fff;
}
/* 下線の擬似要素を消す（on時） */
.news_d1 .cate-wrap .webgene-blog .webgene-item a.on::before {
  display: none;
}
.news_d1 .cate-wrap .webgene-item a:hover::before {
  opacity: 1;
}
/* 右：一覧 */
.news_d1 .contents {
  flex: 1;
  min-width: 0;
}
/* 右側グリッド：見本は3列 */
.news_d1 .contents .webgene-blog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px 38px; /* 縦/横 gap */
}
/* カード */
.news_d1 .contents .webgene-item {
  width: auto; /* 以前の width calc を無効化 */
}
.news_d1 .contents .webgene-item a {
  display: block;
  width: 100%;
}
/* 画像：同じ比率で揃える */
.news_d1 .contents .webgene-item .imgbox {
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 14px;
}
.news_d1 .contents .webgene-item .imgbox img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
/* date */
.news_d1 .contents .webgene-item .date {
  margin: 0;
  color: rgba(255, 255, 255, .6);
  font-size: 14px;
  letter-spacing: .08em;
}
/* title */
.news_d1 .contents .webgene-item h2 {
  margin: 8px 0 0;
  color: #fff;
  line-height: 1.7;
  font-size: 16px;
}
/* category tag */
.news_d1 .contents .webgene-item .catename {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 14px;
  font-size: 12px;
  letter-spacing: .08em;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 2px;
  color: #fff;
}
.news_d1 .contents, .news_d1 .contents * {
  min-width: 0;
}
@media (max-width: 1280px) {
  .news_d1 .contents .webgene-blog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 50px 30px;
  }
}
/* 1080↓：左カテゴリ少し細く */
@media (max-width: 1080px) {
  .news_d1 .cate-wrap {
    flex-basis: 180px;
  }
}
@media (max-width: 768px) {
  .news_d1 .contents .webgene-blog {
    grid-template-columns: 1fr;
  }
}
/* 576↓：縦並び（左→上） */
@media (max-width: 576px) {
  .news_d1 .contents .webgene-blog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 50px 30px;
  }
  .news_d1 .width-1280-max {
    flex-direction: column;
    gap: 60px;
  }
  .news_d1 .cate-wrap, .news_d1 .contents {
    width: 100%;
    flex: none;
    min-width: 0;
  }
  .news_d1 .cate-wrap {
    position: relative; /* sticky解除 */
    top: 0;
  }
  .news_d1 > div {
    flex-direction: column;
    gap: 24px;
  }
  .news_d1 .cate-wrap {
    position: relative;
    top: 0;
    width: 100%;
    flex-basis: auto;
  }
}
.news_d1 .contents .webgene-blog .webgene-pagination {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 10px;
}
.news_d1 .webgene-pagination {
  width: 100%;
}
.news_d1 .webgene-pagination ul {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-box;
  display: -webkit-flexbox;
  display: -moz-flexbox;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: flex;
  -webkit-box-lines: multiple;
  -moz-box-lines: multiple;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: clamp(10px, 4vw, 40px);
}
.news_d1 .webgene-pagination ul a {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-box;
  display: -webkit-flexbox;
  display: -moz-flexbox;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: flex;
  -webkit-box-lines: multiple;
  -moz-box-lines: multiple;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  text-align: center;
  letter-spacing: 0;
  width: 46px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
  line-height: 0;
  color: rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .08); /* 薄い丸 */
  border: 1px solid rgba(255, 255, 255, .18);
  transition: all .35s cubic-bezier(.22, .61, .36, 1);
}
.news_d1 .webgene-pagination ul a:hover {}
/* 選択中：リングだけ強め（中はそのまま薄く） */
.news_d1 .webgene-pagination ul .selected a {
  pointer-events: none;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .55);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .35) inset;
}
/* ---------- IEのみ ---------- */
@media all and (-ms-high-contrast: none) {}
/* ---------- 1280px ~ ---------- */
@media screen and (max-width: 1280px) {}
/* ---------- 1080px ~ ---------- */
@media screen and (max-width: 1080px) {}
/* ---------- 768px ~ ---------- */
@media screen and (max-width: 768px) {}
/* ---------- 576px ~ ---------- */
@media screen and (max-width: 576px) {}
/* ---------- 350px ~ ---------- */
@media screen and (max-width: 350px) {}