@charset "utf-8";

.news{
}

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

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

.news-cate a{
  padding: 8px 1rem;
  display: block;
  border-radius:10px;
  background-color:#FFFFFF;
  text-align: center;
  line-height: 1;
}

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

.news-cate a:hover{
  opacity:0.7;
}
.news-cate a p{
  line-height:1;
}

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

.news-main .webgene-blog{
  display:flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  flex-direction: column;
}

.news-main .webgene-blog article{
  width:100%;
}

.news-main .webgene-blog article > a{
  width: 100%;
  display: block;
  padding: 20px 7.5% 20px 20px;
  background: #fff;
  border-radius: 20px;
  position:relative;
}

.news-main .webgene-blog article > a:hover{
  opacity:1;
  background:#212121;
  color:#fff;
}

.news-main .webgene-blog article > a::before{
  content:"";
  position:absolute;
  width:1.5rem;
  height:1.5rem;
  right:5%;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transition:0.3s;
  background:url(https://active-corp68.com/system_panel/uploads/images/20260209092419975629.png) no-repeat center/contain;
}

.news-main .webgene-blog article > a:hover::before{
  background:url(https://active-corp68.com/system_panel/uploads/images/20260209092419687603.png) no-repeat center/contain;
}


.news-main .webgene-blog article .newsItemTit{
  font-size:1rem;
  line-height: 1.5;
  font-family: "Zen Kaku Gothic New", sans-serif;
}

.newsItemTime{
  font-family: "Poppins", sans-serif;
}

.newsItemText{
  display:flex;
  gap: 1rem;
  align-items: center;
}

.newsItemCate{
  padding: 8px 1rem;
  display: block;
  border-radius: 10px;
  background-color: #FFFFFF;
  font-size: 12px;
  line-height: 1;
  border:1px solid #212121;
  color:#212121;
}

.newsTextWrap{
  display: flex;
  align-items: center;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
}

@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-main .webgene-blog article .newsItemTit{
    width:100%;
  }
  .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-bottom: 2.5rem;
  }
  .news-cate .webgene-blog{
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
  }
  .newsItemCate{
    padding: 4px 0.5rem;
    font-size: 10px;
    border-radius: 10px;
  }
  .news-main .webgene-blog{
   gap: 20px 0;
  }
  .news-main{
    width: 100%;
    margin: 0 auto;
  }
  .news-main .webgene-blog article{
    width:100%;
  }
  .news-cate a {
    padding: 0.5rem;
    min-width: 150px;
  }
  .lower-fv{
    margin-bottom:1.5rem;
  }
  .news-main .webgene-blog article > a::before{
    width: 1.25rem;
    height: 1.25rem;
  }
  .news-main .webgene-blog article > a{
    padding: 14px 10% 14px 20px;
  }
  .news-main .newsTextWrap{
    gap:4px;
  }
  .newsItemText{
    gap:8px;
  }
  .news-main .webgene-blog article .newsItemTit,
  .newsItemTime{
    font-size:12px;
  }
}

/*ページネーション*/
.webgene-pagination {
  width: 100%;
  grid-column: 1 / 3;
  font-family: "Poppins", sans-serif;
}
.webgene-pagination>ul {
  display: flex;
  padding: 0;
  justify-content: center;
}
.webgene-pagination>ul>li {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px 12px 0;
  list-style: none;
}
.webgene-pagination>ul>li a{
  text-align: center;
  color:#BABABA;
}
.webgene-pagination>ul>li.selected a{
  color:#212121 !important;
}

.webgene-pagination>ul>li.selected a,
.webgene-pagination>ul>li.selected a:hover,
.webgene-pagination>ul>li.selected:hover a{
  color:#212121 !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: 12px;
}

.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 .container{
  max-width: 1345px;
  background: #fff;
  border-radius: 50px;
  padding: 5rem 5% 100px !important;
}


.news-detail .webgene-blog{
  margin-bottom: 5rem;
}

.newsDetailTime{
  font-family: "Poppins", sans-serif;
}

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

.newsDetail-header p:nth-child(2){
  padding: 8px 1rem;
  display: block;
  border-radius: 10px;
  border:1px solid #212121;
  font-size: 14px;
  line-height: 1;
}

.news-detail  .newsDetailTit{
  font-size:clamp(1rem, 0.909rem + 0.3vw, 1.25rem);
  margin: 2rem 0 2.5rem;
  line-height: 1.5;
  font-family: "Zen Kaku Gothic New", sans-serif;
}

.news-detail .newsDetailImg img{
  margin:0rem 0 2.5rem;
  aspect-ratio: 1080 / 680;
  object-fit: cover;
  border-radius: 50px;
}

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

.back-btn{
  padding:1rem 2rem;
  text-align:right;
  font-family: "Poppins", sans-serif;
  width:220px;
  margin:0 auto;
  border:1px solid #212121;
  border-radius:2rem;
  display: block;
  position: relative;
}

.back-btn::before{
  content:"";
  position:absolute;
  width:8px;
  height:8px;
  background:#A5C05C;
  border-radius:999vh;
  left:1.5rem;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transition:0.3s;
}

.back-btn:hover{
  background:#A5C05C;
  color:#fff;
  border:1px solid #A5C05C;
}

.back-btn:hover::before{
  background:#212121;
}

@media screen and (max-width: 1024px) {
  .news-detail .container{
    width:85%;
  }
}

@media screen and (max-width: 767px) {
  .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{
    padding:0;
  }
  .news-detail .container {
    width: 100%;
    border-radius: 50px 50px 0 0;
  }
  .green-bg:has(.news-detail){
    padding-bottom:0;
  }
  .news-detail .newsDetailImg img{
    border-radius: 20px;
  }
}
