@charset "utf-8";
/* CSS Document */
.header_n .head_nav .head_menu .ul .li a p.en{
color:#010000;
}
.header_n.main-bg .head_nav .head_menu .ul .li a p.en{
color:#fff;
}
.news_detail {
  
}
.news_detail h1, .news_detail h2, .news_detail h3, .news_detail p, .news_detail a, .news_detail span {
 
}
.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;
}

.catename::before {
  content: "#";
  margin-right: 0.2em;
}

.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: 100px;
}
.news_d1 .cate-wrap .titlebox {
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid #373B3E;
}
.news_d1 .cate-wrap .titlebox p {
  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 {
    display: inline-block;
    padding: 6px 14px;
    letter-spacing: .08em;
    border: 1px solid #373B3E;
    font-weight: 300;
}
    
}
.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 {
  color:#8B8B8B;
  padding-left: 14px;
  border-radius: 2px;
}
/* 文字色 */
.news_d1 .cate-wrap .webgene-blog .webgene-item a.on p {
  color: #8B8B8B;
    border: 1px solid #8B8B8B;
}
/* 下線の擬似要素を消す（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: #8B8B8B;
  font-size: 14px;
  letter-spacing: .08em;
}
/* title */
.news_d1 .contents .webgene-item h2 {
  margin: 8px 0 0;
  line-height: 1.7;
}
/* category tag */
.news_d1 .contents .webgene-item .catename {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  letter-spacing: .08em;
  border-radius: 2px;
}
.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 > div {
    flex-direction: column;
    gap: 24px;
  }
  .news_d1 .cate-wrap {
    position: relative;
    top: 0;
    width: 100%;
    flex-basis: auto;
  }
    .news_d1 .cate-wrap .webgene-blog {
   width: 100%;}
        
    .news_d1 .cate-wrap .webgene-blog .webgene-item {
        width: 50%;
    } 
}
.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: 20px;
  font-weight: 700;
  line-height: 0;
  color: #373B3E;
  background: rgba(255, 255, 255, .08); /* 薄い丸 */
  border: 1px solid #373B3E;
  transition: all .35s cubic-bezier(.22, .61, .36, 1);  
      font-family: "Zen Old Mincho", "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";

}
.news_d1 .webgene-pagination ul a:hover {}
/* 選択中：リングだけ強め（中はそのまま薄く） */
.news_d1 .webgene-pagination ul .selected a {
  pointer-events: none;
  background: #373B3E;
    border: none;
    color: #fff;
  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){
}

