@charset "utf-8";


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

.news-cate a{
  padding: 16px 2.5rem;
  display: block;
  background: #FF7A59;
  color: #000000;
  border-radius: 1.5rem;
  text-align: center;
  line-height: 1;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
  font-size: 18px;
  text-align: center;
  min-width: 155px;
}

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

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


.news-main{
  max-width:1200px;
  margin:0 auto;
}

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

.news-main .webgene-blog article > a{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 1.5rem;
  border-bottom: 0.5px solid #5A5A5A;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.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.825rem, 0.683rem + 0.47vw, 1.25rem);
  word-break: break-all;
}

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

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

.newsItemCate{
  padding: 8px 12px;
  display: block;
  text-align: center;
  line-height: 1;
  min-width:7.5rem;
  background:#FA9E87;
  border-radius:1.5rem;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}

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

@media screen and (max-width: 767px) {
  .news-main .newsDetailImg {
    width: 100%;
  }
  .news-cate {
    flex-wrap: wrap;
    width:100%;
    margin: 0 0 2rem;
  }
  .news-cate a{
    padding: 10px 1rem;
    font-size: 14px;
  }
  .news-cate .webgene-blog{
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
  }
  .news-main .webgene-blog{
    gap: 2rem 0;
  }
  .news-main{
    margin: 0 auto;
  }
  .news-main .webgene-blog article{
    margin-bottom: 2rem;
  }
  .news-main .webgene-blog article > a{
    gap: 1rem;
  }
  .newsItemText{
    gap: 1rem;
  }
}

/*ページネーション*/
.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: 48px;
  height: 48px;
  text-align: center;
  color:#000000;
  font-size:1rem;
  border:1px solid #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.webgene-pagination>ul>li.selected a{
  color:#B9908C !important;
  background:#fff;
}

.webgene-pagination>ul>li.selected a,
.webgene-pagination>ul>li.selected a:hover,
.webgene-pagination>ul>li.selected:hover a{
  color:#B9908C !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{
  max-width:1000px;
  margin:0 auto;
}

.newsDetailTxt h2{
    padding: 1rem .5rem 1rem 1.5rem;
    border-left: 6px solid #FF7A59;
    background-color: #F0F0F0;
    font-size: 1.5rem;
}


.newsDetail-header{
  display: flex;
  margin: 0 0 16px;
  gap: 1.5rem;
  align-items: center;
  font-size: 14px;
  padding: 0 5% ;
}

.newsDetail-header p:nth-child(2){
  padding: 12px;
  display: block;
  text-align: center;
  line-height: 1;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}

.news-detail  .newsDetailTit{
  font-size:clamp(1rem, 0.833rem + 0.56vw, 1.5rem);
  margin: 0 0 2rem;
  padding: 0 5% 2.5rem;
  border-bottom: 1px solid #707070;
}

.newsDetailImg{
  padding:0 5%;
}

.newsDetailTime{
  font-family: "Prompt", sans-serif;
  font-size:clamp(1.125rem, 0.938rem + 0.63vw, 1.5rem);
}

.news-detail .newsDetailImg img{
  margin:0rem auto 3rem;
  aspect-ratio: 900 / 600;
  object-fit: cover;
  display:block;
}

.news-detail .newsDetailTxt{
  line-height: 2;
  margin:0 auto;
  padding:0 5%;
}

.news-detail .more-btn{
  margin: 5rem auto 0;
}

@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: 1024px) {
}

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


.blog .news-cate a{
  background:#6A5856;
  color:#fff;
}

.blog .newsItemCate{
  background:#A79391;
  color:#fff;
}