@charset "utf-8";

.news{
  margin-bottom:10rem;
}

.news .container{
  max-width:1120px;
}

.news-cate{
  margin: 0 0 5rem;
  display: flex;
  gap:1.5rem;
  flex-wrap:wrap;
}

.news-cate a{
  padding: 7px 2rem;
  border:1px solid #003455;
  text-align:center;
  color:#003455;
  min-width:145px;
}

.news-cate > a{
  background:#003455;
  color:#fff;
}

.news-cate > a p{
  line-height:1.5;
}

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


.news-main .newsDetailImg{
  position:relative;
  aspect-ratio: 1/1;
  margin-bottom:2rem;
}

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

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

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

.news-main .webgene-blog .webgene-item > a{
  display:flex;
  width:100%;
  color:#212B27;
  padding:1.5rem 0;
  border-bottom:0.8px solid #9F9D9D;
  gap:1rem 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.news-main .webgene-blog .webgene-item h2,
.news-main .webgene-blog .webgene-item h3{
  font-size:1rem;
  font-family: "Noto Sans", sans-serif;
  font-weight:500;
}

.news-main .webgene-blog .webgene-item .d-flex{
  gap:1rem;
  align-items: center;
}

.news-main .webgene-blog .webgene-item .category{
  width:fit-content;
  padding:8px;
  min-width:112px;
  text-align:center;
  font-size:12px;
  background:#D3D3D3;
}

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

@media screen and (max-width: 1400px) {
  .news-main .webgene-blog .webgene-item h2,
  .news-main .webgene-blog .webgene-item h3{
    width:100%;
  }
}

@media screen and (max-width: 1024px) {
  .news-cate {
    gap: 1rem;
    flex-direction: column;
    align-items: baseline;
  }
}

@media screen and (max-width: 767px) {
}

/*ページネーション*/
.webgene-pagination {
  width: 100%;
  grid-column: 1 / 3;
  margin-top: 3rem;
}
.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{
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color:#9F9D9D;
  font-size:18px;
}
.webgene-pagination>ul>li.selected a{
  color:#212B27 !important;
}

.webgene-pagination>ul>li.selected a,
.webgene-pagination>ul>li.selected a:hover,
.webgene-pagination>ul>li.selected:hover a{
  color:#212B27 !important;
  opacity:1;
  pointer-events:none;
}
.webgene-pagination>ul>li:hover{
  color: #9F9D9D;
}
.webgene-pagination>ul>li:hover a,
.webgene-pagination>ul>li a:hover{
  color:#9F9D9D !important;
}

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

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

@media screen and (min-width: 768px) {
  .webgene-pagination {
    width: 100%;
    grid-column: 1 / 4;
  }
}
@media screen and (max-width: 767px) {
  .webgene-pagination>ul>li a{
    width: 28px;
    height: 37px;
  }
}


/*詳細*/


.news-detail .newsDetailImg{
  margin-bottom:3.5rem;
}

.news-detail .news-cate {
  align-items: baseline;
  gap: 20px;
  flex-direction: column;
  width:23%;
}

.news-detail .news-cate > p{
  color:#253141;
  font-weight:bold;
  padding:0 0 1rem;
  border-bottom:2px solid #0B1E39;
  margin-bottom:1rem;
  width: 100%;
  font-size:clamp(1rem, 0.909rem + 0.3vw, 1.25rem);
}

.news-detail .news-cate .webgene-blog{
  gap: 20px;
  flex-direction: column;
}

.newsDetail-header{
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom:2rem;
}

.newsDetail-header p:nth-child(2){
  width:fit-content;
  padding:8px;
  min-width:112px;
  text-align:center;
  font-size:12px;
  background:#D3D3D3;
  line-height: 1;
}

.news-detail  .newsDetailTit{
  font-size:clamp(1rem, 0.667rem + 1.11vw, 2rem);
  margin:0 0 3.5rem;
}

.news-detail .newsDetailTxt{
  line-height:2;
}

.news-detail .arrow-btn{
  margin: 5.5rem 0 0;
}

.news-detail .newsDetailTxt h2{
  padding: 1rem .5rem 1rem 1.5rem;
  border-left: 6px solid #2D96D9;
  background-color: #F0F0F0;
  font-size: 1.5rem;
  margin:2rem 0;
}

@media screen and (max-width: 1024px) {
}

@media screen and (max-width: 767px) {
  .news {
    margin-bottom: 5rem;
  }
  .news-main .webgene-blog .webgene-item {
    width: 100%;
  }
  .news-main .webgene-blog .webgene-item h2, .news-main .webgene-blog .webgene-item h3 {
    font-size: 14px;
  }
  .news-cate {
    margin: 0rem auto 2rem;
  }
  .news-detail .newsDetailImg img {
    margin: 0rem 0 1.5rem;
  }
  .news-detail .btn {
    margin-top: 3rem;
  }
  .news-cate .webgene-blog {
    justify-content: flex-start;
    gap: 1rem .5rem;
  }
  .news-main .webgene-blog {
    gap: 1.5rem;
  }
  .news-main .newsDetailImg{
    margin-bottom:1rem;
  }
  .news-main .webgene-blog .webgene-item .d-flex{
    gap:10px;
  }
  .news-main .webgene-blog .webgene-item .category{
    padding: 4px 10px;
    font-size: 11px;
    min-width: 90px;
  }
  .news-main .webgene-blog .webgene-item > a{
    padding-bottom: 15px;
  }
  .news-btn{
    margin-bottom: 2rem;
  }
  .news-detail .newsDetailImg {
    margin-bottom: 1.5rem;
  }
  .newsDetail-header{
    gap:10px;
    margin-bottom: 1rem;
  }
  .newsDetail-header p:nth-child(2){
    padding: 4px 6px;
    font-size: 12px;
    min-width: 90px;
  }
  .news-detail .arrow-btn {
    margin: 2.5rem 0 0;
  }
  .news-detail  .newsDetailTit{
    margin: 0 0 2rem;
    padding-bottom: 0;
    font-size: 16px;
  }
  .news-cate a{
    padding: 4px 1rem;
    min-width: 115px;
  }
  .webgene-pagination{
    margin-top:0;
  }
.news-detail .newsDetailTxt h2{
  padding: 0.5rem .5rem 0.5rem 1rem;
  border-left: 6px solid #2D96D9;
  font-size: 1.25rem;
  margin:1rem 0;
}
}