@charset "utf-8";


.lower-fv{
  padding-bottom:2.5rem;
  position:relative;
}

.lower-fv::before{
  content:"";
  position:absolute;
  width:90%;
  left:5%;
  bottom:0;
  background-image: repeating-linear-gradient(90deg, #000000, #000000 5px, transparent 5px, transparent 10px);
  background-position: left bottom;
  background-repeat: repeat-x;
  background-size: 100% 1px;
  height: 1px;
}

.news-cate{
  margin: 0 0 7.5rem;
  display: flex;
  align-items: center;
  gap:2rem;
  flex-wrap: wrap;
}

.news-cate a{
  padding: 8px 12px;
  display: block;
  border-radius:18px;
  background:#000;
  color:#fff;
  border:0.5px solid #000000;
  text-align: center;
  line-height: 1;
  font-size:clamp(0.875rem, 0.784rem + 0.3vw, 1.125rem);
}

.news-cate a:hover{
  opacity:1;
  background:transparent;
  color:#000;
}
.news-cate a p{
  line-height:1;
}

.news-cate .webgene-blog{
  display: flex;
  align-items: center;
  gap:2rem;
  flex-wrap: wrap;
}


.news-main .webgene-item{
  margin-bottom:4rem;
}

.news-main .webgene-blog article > a{
  width: 100%;
  display: block;
  height: 100%;
  padding-bottom: 20px;
  border-bottom: 1px solid;
}

.news-main  .newsDetailImg{
  position: relative;
  aspect-ratio: 283 / 161;
  overflow: hidden;
}

.news-main .newsDetailImg > img{
  position: relative;
  z-index:10;
}

.news-main  .newsDetailImg span{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.news-main  .newsDetailImg img{
  object-fit:cover;
  aspect-ratio: 370 / 220;
}

.news-main .webgene-blog article > a:hover{
  opacity:0.7;
}

.news-main .webgene-blog article .newsItemTit{
  font-size:clamp(0.875rem, 0.784rem + 0.3vw, 1.125rem);
  line-height: 1.5;
}

.newsItemText{
  display:flex;
  margin:0 0 16px;
  gap: 10px;
  align-items: center;
  font-size:14px;
  font-family: "Noto Sans JP", sans-serif;
}

.newsItemCate{
  padding: 6px 12px;
  display: block;
  border-radius: 18px;
  border: 0.5px solid #000000;
  text-align: center;
  line-height: 1;
}

@media screen and (max-width: 1024px) {
  .news-cate {
    gap: 1rem;
    flex-direction: column;
    align-items: baseline;
  }
  .news-cate-box{
    width: 100%;
    gap: 1rem;
  }
  .news-cate a{
    width:fit-content;
  }
  .news-cate .webgene-blog {
    gap: 1rem;
  }
  .news-cate div.cate p {
    margin-right: 1rem;
  }
  .news-main .newsTextWrap{
    width:100%;
  }
}

@media screen and (max-width: 767px) {
  .news-cate-box {
    width: 100%;
    gap: 1rem;
    flex-direction: column;
    align-items: baseline;
  }
  .news-main .newsDetailImg {
    width: 100%;
  }
  .news-cate {
    flex-wrap: wrap;
    width:100%;
    margin: 0 0 4rem;
  }
  .news-cate .webgene-blog{
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
  }
  .news-main .webgene-blog{
    gap: 2rem 0;
  }
  .news-main{
    width: 95%;
    margin: 0 auto;
  }
  .news-main .webgene-blog article{
    margin-bottom: 2rem;
  }
  .lower-fv{
    margin-bottom:1.5rem;
  }
}

/*ページネーション*/
.webgene-pagination {
  width: 100%;
  grid-column: 1 / 3;
}
.webgene-pagination>ul {
  display: flex;
  padding: 0;
  justify-content: center;
}
.webgene-pagination>ul>li {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px 10px 0;
  list-style: none;
}
.webgene-pagination>ul>li a{
  width: 27px;
  height: 45px;
  text-align: center;
  color:#000000;
  font-size:clamp(1rem, 0.636rem + 1.21vw, 2rem);
}
.webgene-pagination>ul>li.selected a{
  color:#A3A3A3 !important;
  border-bottom:1px solid;
}

.webgene-pagination>ul>li.selected a,
.webgene-pagination>ul>li.selected a:hover,
.webgene-pagination>ul>li.selected:hover a{
  color:#A3A3A3 !important;
}
.webgene-pagination>ul>li:hover{
  color:#000000;
}
.webgene-pagination>ul>li:hover a,
.webgene-pagination>ul>li a:hover{
  color:#000000 !important;
}

.webgene-pagination>ul>li.next a,
.webgene-pagination>ul>li.prev a{
  color:#000000 !important;
  font-size: 14px;
}

.webgene-pagination>ul>li.next a:hover,
.webgene-pagination>ul>li.prev a:hover{
  color:#000000 !important;
}

@media screen and (min-width: 768px) {
  .webgene-pagination {
    width: 100%;
    grid-column: 1 / 4;
  }
}
@media screen and (max-width: 767px) {
}


/*詳細*/

.news-detail{

}

.news-detail .container{
  background:#fff;
  padding:100px 5% 160px !important;
}

.news-detail .btn{
  margin:100px auto 0;
}

.news-detail .webgene-blog{
  padding:2rem 0 2.5rem;
}

.newsDetail-header{
  display: flex;
  margin: 0 0 16px;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  font-family: "Noto Sans JP", sans-serif;
}

.newsDetail-header p:nth-child(2){
  padding: 6px 12px;
  display: block;
  border-radius: 18px;
  border: 0.5px solid #000000;
  text-align: center;
  line-height: 1;
}

.news-detail  .newsDetailTit{
  font-size:clamp(1rem, 0.909rem + 0.3vw, 1.25rem);
  margin: 20px 0 4rem;
  line-height: 1.5;
}

.newsDetailImg{

}

.news-detail .newsDetailImg img{
  margin:0rem auto 7.5rem;
  aspect-ratio: 882 / 542;
  object-fit: cover;
  max-width:882px;
  border-radius:20px;
  display:block;
}

.news-detail .newsDetailTxt{
  line-height: 2;
  max-width:882px;
  margin:0 auto;
  font-family: "Noto Sans JP", sans-serif;
}

@media screen and (max-width: 1280px) {
  .news-detail .container{
    padding: 40px 5% 100px !important;
  }
  .news-detail .newsDetailImg img {
    margin: 0rem auto 4rem;
  }
}

@media screen and (max-width: 767px) {
  .news-main .webgene-blog article {
    width: 100%;
  }
  .newsDetail-header p:nth-child(2) {
    padding: 3px 0.8rem;
    font-size: 12px;
  }
  .newsDetail-header{
    gap:1rem;
  }
  .news-detail .newsDetailImg img {
    margin: 0rem 0 20px;
  }
  .news-detail  .newsDetailTit{
    margin: 0.5rem 0 20px;
  }
  .news-detail .newsDetailTxt{
    font-size:12px;
  }
  .news-detail .container{
    width: 100%;
    padding: 0px 5% 20px !important;
  }
  .news-detail .btn {
    margin: 40px auto 0;
  }
}
