@charset "utf-8";

.news-cate{
  width:80%;
  margin: 0 auto 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap:  1rem;
  max-width: 1440px;
}

.news-cate-box{
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.news-cate-box a{
  line-height:1;
  display: block;
  width: 180px;
  padding: 12px 1rem;
  text-align: center;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 1px 1px 4px #0000001e;
  font-weight: bold;
  border: 2px solid #FFF;
}

.news-cate-box a:hover{
  color: #00A0E8;
  border: 2px solid #00A0E8;
  text-decoration: none;
  transition: all 0.5s ease;
}

.news-cate a p{
  line-height:1;
  font-weight: bold;
  font-size: 14px;
}

.sideLink{
  width: 180px;
  height: 42px;
  padding: 12px 1rem;
  text-align: center;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 1px 1px 4px #0000001e;
  font-weight: bold;
  font-size: 14px;
  border: 2px solid #FFF;
}

.sideLink:hover{
  color: #00A0E8;
  border: 2px solid #00A0E8;
  text-decoration: none;
}

.news-main{
    width:80%;
    margin:0 auto;
    max-width: 1440px;
}

.news-img img{
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  overflow:hidden;
}

.webgene-blog{
  display: flex;
  flex-wrap: wrap;
  column-gap: 1rem;
  row-gap: 1rem;
}

.webgene-item-content{
  max-width: 80vw;
  margin: 0 auto
}


.webgene-item-main-image{
  //max-width: 300px;
  //height: 180px;
  max-width: 100%;
  height: 240px;
  border-radius: 10px;
  object-fit: cover;
  transition:1s all;
}

.newsCatch{
  overflow:hidden;
  border-radius: 10px;
}

.newsItem{
  width: 23%;
  padding: 0.5rem;
  border-radius: 10px;
  background-color: #FFF;
}

.newsItemTit{
  font-size: 1rem;
  word-break: break-all;
}

.newsLink:hover{
    opacity:0.7;
    text-decoration: none;
}

.newsLink:hover  .newsCatch img{
    transform:scale(1.2,1.2);
}

.newsItemText{
  display:flex;
  gap: 1rem;
  margin: 0.5rem 0;
  align-items: center;
  justify-content: space-between;
}

.newsItemCate{
  display: block;
  width: fit-content;
  font-size: 12px;
  color: #00A0E8;
  border: 1px solid #00A0E8;
  border-radius: 5px;
  padding: 0.25rem 0.5rem;
}

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

.Blog-detail-img img{
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  margin: 0 0 2rem;
  max-height: 500px;
}

.newsDetailTit{
  margin-bottom: 2rem;
}

.newsTextWrap{
  padding: 0.5rem 0.5rem 2rem;
}

@media screen and (max-width: 1280px) {
  .news-main .webgene-blog article > a{
        padding: 2.5rem 0;
  }
  
}

@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 div.cate p {
    margin-right: 1rem;
  }
    .news-main .webgene-blog article > a{
    flex-direction: column;
    gap: 2rem;
  }
  .news-main{
    width: 90%;
    margin: 0 auto;
  }
  .news-main .newsDetailImg{
    width:100%;
    margin: 0.5rem auto;
  }
  .news-main .newsTextWrap{
    width: 90%;
    margin: 0 auto;
  }
  .newsItem{
    width: 43%;
    padding: 0.5rem;
    border-radius: 10px;
    background-color: #FFF;
  }
   .news-main .webgene-blog{
     justify-content: center;
  }
}

@media screen and (max-width: 768px) {
  .webgene-item-content{
    width: 100%;
    max-width: 100vw;
  }
      .news-cate-box {
        width: 100%;
        gap: 1rem;
        flex-direction: column;
        align-items: baseline;
    }
      .news-main .newsDetailImg {
        width: 100%;
    }
  .news-main{
    width: 100%;
    margin: 0 auto;
  }
  .news-cate {
    flex-wrap: wrap;
    margin: 0.5rem auto;
    width: 90%;
  }
  .news-cate .webgene-blog{
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .newsItemCate{
    font-size: 10px;
    padding: 0.25rem;
  }
  .news-main .webgene-blog{
     gap: 2rem;
    width: 90%;
      margin: 3rem auto;
  }
  .news-main .webgene-blog article{
    width:100%;
  }
      .news-cate a {
        padding: 0.5rem;
        font-size: 12px;
        width: 140px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
  .news-main .webgene-blog article > a{
            padding: 2.5rem 0 2rem;
  }
  .webgene-item-main-image{
    width: 100%;
    max-width: 100%;
    max-height: 240px;
    height: 240px;
    margin: 0 auto;
  }
  .newsDetailTit{
    font-size: 1.25rem;
  }
  .newsItemTit{
    font-size: 14px;
  }
}



/*ページネーション*/
.webgene-pagination {
  width: 100%;
  margin-bottom: 5rem;
}
.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: 40px;
    height: 40px;
    text-align: center;
    padding: 8px 0;
    background-color: #FFF;
    color: #01A0E9;
    border-radius: 50px;
}

.webgene-pagination>ul>li a:hover{
  color: #EBC551;
  text-decoration: none;
  background-color: #01A0E9;
  color: #FFF;
}

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

.number.selected a{
  color: #EBC551;
  text-decoration: none;
  background-color: #01A0E9;
  color: #FFF;
}

.next a{
  background-color: transparent!important;
    color: #01A0E9;
}

.prev a{
  background-color: transparent!important;
    color: #01A0E9;
}

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

/*詳細*/
.newsDetail{
  margin: 0 auto;
  width: 80%;
  max-width: 1200px;
}

.newsDetail-wrap{
  padding: 3rem 5%;
  background-color: #fff;
  border-radius: 10px;
}

.news-detail .news-cate {
  margin: 0;
  align-items: baseline;
  gap: 2rem;
  flex-direction: column;
  width:300px;
}

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


.news-detail-box .btn{
  margin-top:3rem;
}

.newsDetail-header p:nth-child(2){
    color: #F58193 !important;
    padding: 10px 1.5rem;
    display: block;
    border-radius: 20px;
    background-color: #FDEFF2;
    text-align: center;
      line-height: 1;
  font-size:12px;
}

.news-detail .btn-flat{
    margin: 4rem auto 0;
    display: block;
}

.news-detail  .newsDetailTit{
  font-size: 1.5rem;
  margin: 0.5rem 0 2rem;
   line-height: 1.5;
}

.news-detail .newsDetailImg img{
  margin:0rem 0 2.5rem;
}

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

.newsDetailTxt a{
   text-decoration: underline;
  color: #01A0E9;
}

.newsDetailTxt h2{
   font-size: 1.5rem;
}

.newsDetailTxt h3{
   font-size: 1.25rem;
}

.news-detail .btn{
    margin-top: 5rem;
}

.newsDetailBtnBox{
  margin: 2rem auto;
}

.btn1{
  margin: 0 auto;
  width: fit-content;
  display: block;
}

@media screen and (max-width: 768px) {
  .news-detail{
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
  }
  .newsDetail-header p:nth-child(2) {
    padding: 0.5rem 1rem;
  }
  .news-detail .newsDetailImg img {
    margin: 0rem 0 1.5rem;
}
  .news-detail .btn {
    margin-top: 3rem;
}
}


table{
  border-collapse:separate;
  border-spacing: 5px;
  width: 100% !important;
}

table th,table td{
  border-radius: 5px;
  text-align: center;
  padding: 10px 0;
}

table th{
  background-color: #01A0E9;
  color: white;
  border:solid 1px #927141;
}

table td:nth-child(1){
  background-color: #01A0E9;
  border:solid 1px #dedede;
  color: #fff;
}

table td{
  background-color: #FFF;
  border:solid 1px #dedede;
}

