#keyword_search {
  margin-top: 35px;
}
#keyword_search h2 {
  font-weight: 700;
}

#firstview {
  padding: 130px 0 110px;
  background: url("../images/search/kv.jpg") center/cover no-repeat;
  color: #fff;
}
#firstview h1 {
  padding: 0 130px;
}
#firstview h1 .en {
  display: block;
  font-weight: 500;
  font-size: 72px;
  line-height: 86px;
}
#firstview h1 .jp {
  display: block;
  font-weight: 500;
  font-size: 26px;
  line-height: 37px;
}

.imgbox {  }
.imgbox img { width: 100%; object-fit: cover; aspect-ratio: 1 / 1; }



.cat-menu { text-align: center; display: block; width: inherit;}
.cat-menu li { display: inline-block; padding: 0 18px 10px; border-bottom: 1px solid #E8E8E8;}
.cat-menu .active { border-bottom: 1px solid #000; }

@media only screen and (max-width: 768px) {
  #firstview {
    padding: 40px 0 40px;
  }
  #firstview h1 {
    padding: 0;
  }
  #firstview h1 .en {
    font-size: 30px;
    line-height: 36px;
  }
  #firstview h1 .jp {
    font-size: 15px;
    line-height: 21px;
  }
}

#result {
  padding-top: 70px;
}
#result .tab-menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-left: auto;
  margin-right: 0;
}
#result .tab-menu .swiper-slide {
  width: auto;
  padding: 10px 0;
  border-bottom: 1px solid transparent;
  cursor: pointer;
}
#result .tab-menu .swiper-slide p {
  font-weight: 500;
}
#result .tab-menu .swiper-slide-thumb-active {
  border-bottom-color: #000;
}
#result .tab-menu .swiper-wrapper {
  width: auto;
  border-bottom: 1px solid #E8E8E8;
}
#result .tab-contents {
  margin-top: 65px;
}
#result .tab-contents article {
  max-width: 345px;
}
#result .tab-contents .gr {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  -webkit-column-gap: 34px;
     -moz-column-gap: 34px;
          column-gap: 34px;
  row-gap: 41px;
}
#result .set {
  max-width: 1480px;
  margin: 0 auto;
}







@media only screen and (max-width: 768px) {
	
	.cat-wrap { overflow-x: auto;  }
.cat-menu {  text-align: center; display: flex; justify-content: flex-start; width: max-content;}
.cat-menu li { display: inline-block; padding: 0 18px 10px; border-bottom: 1px solid #E8E8E8;}
.cat-menu .active { border-bottom: 1px solid #000; }
	
	
  #result {
    padding-top: 50px;
  }
  #result .tab-menu {
    margin-top: 10px;
  }
  #result .tab-menu .swiper-slide {
    padding: 5px 0;
  }
  #result .tab-menu .swiper-slide p {
    font-size: 14px;
  }
  #result .tab-contents {
    margin-top: 10px;
  }
  #result .tab-contents article {
    max-width: none;
    margin-top: 26px;
  }
  #result .tab-contents article a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  #result .tab-contents article .ttl {
    font-size: 13px;
    line-height: 20px;
  }
  #result .tab-contents article .date {
    margin-top: 5px;
    font-size: 11px;
  }
  #result .tab-contents article .imgbox {
    width: 40%;
  }
  #result .tab-contents article .txtbox {
    width: 60%;
    margin-top: 0;
    padding-left: 10px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }
  #result .tab-contents .gr {
    display: block;
  }
}

#pager {
  margin-top: 100px;
}
@media only screen and (max-width: 768px) {
  #pager {
    margin-top: 45px;
  }
}