@import url(https://fonts.googleapis.com/earlyaccess/notosansjp.css);
@import url(https://fonts.googleapis.com/css?family=Noto+Sans);

body, html {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans JP', sans-serif, 'Noto Sans';
}

#news-list section.news-list-sec1 .container {
  padding: 18px 0 0 0;
}

#news-list section .container {
  padding: 0;
}

#news-list section.news-list-section02 .container {
  padding-bottom: 40px;
}

.news-list-sec1 h1 {
  font-size: 36px;
  color: #515C6F;
}

.news-list-sec1 h1:after {
  content: "";
  display: block;
  height: 5px;
  width: 8%;
  background: linear-gradient(45deg, #d92933 33%, #ef8224 100%);
  margin: 40px 0 30px 0;
}

.news-item {
  background: #FFF;
  padding: 0;
}

.news-list-section02 .news-item {
  padding-left: 15px !important;
}

.news-item .news-list-text-box {
  margin-top: 20px;
  margin-bottom: 30px;
}

.news-list-section02 {
  background: #F3F3F3 !important;
}

.news-list-section02 .img-box {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  background-size: cover !important;
}

.news-pick-up-img {
  width: 100%;
  height: 330px;
}

.news-pick-up-text h4 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: inherit;
}

.news-list-pickup {
  background: #FFF;
}

.news-list-text-box {
  padding: 20px 0px;
}

.news-list-section02 .news-list-text-box {
  padding: 0;
}

.news-list-text-box span {
  padding-left: 15px;
  padding-right: 15px;
}

.news-list-categorys {
  margin-bottom: 20px;
  color: #707070;
  display: inline-block;
}

.news-list-img-box {
  width: 100%;
  height: auto;
  min-height: 150px;
  max-height: 250px;
  aspect-ratio: 3 / 2;
  background-size: contain;
}

.no-gutters {
  margin: 0;
  padding: 0;
}

.no-gutters>.col,
.no-gutters>[class*="col-"] {
  margin: 0;
  padding: 0;
}

.row.no-gutters a {
  width: 100%;
  display: contents;
  text-decoration: none;
}

a:hover {
  opacity: 0.8;
}

.news-list-box {
  clear: both;
}

.news-pick-up-text {
  padding: 20px 30px;
}

.news-category-nav li a {
  color: #515C6F;
}

.news-category-nav li a:hover {
  text-decoration: none;
}

.news-category-nav li {
  border-right: 1px dotted #DBDBDB;
  margin-bottom: 20px;
}

.news-category-nav li.last-child {
  border-right: none;
}

.news-category-nav-active {
  color: #D61E29;
}

.swiper-slide a {
  color: #515C6F;
}

.swiper-slide a:hover {
  text-decoration: none;
}

.news-list-box a {
  color: #515C6F;
}

.news-list-box a:hover {
  text-decoration: none;
}

.news-item h4 {
  font-size: 17px;
  color: #515C6F;
  line-height: 1.6em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.page-item.active .page-link {
  z-index: 1;
  color: #fff;
  background-color: #dc3545;
  border: white 2px solid;
}

.mb30 {
  margin-bottom: 30px;
}

.recruitFeatureList main{
  position: relative;
}

ul.categoryList {
  display: flex;
  padding: 0;
  margin: 0;
  padding-bottom: 5px;
  position: relative;
}

.categoryList::after{
  position: absolute;
  top: 0;
  left: 100%;
  width: 65px;
  height: 1px;
  content: '';
}

li.categoryList-arrow a {
  margin-top: 5px;
}

ul.categoryList li {
  display: inline;
}

ul.categoryList li a {
  color: black;
  float: left;
  padding: 15px 20px;
  text-decoration: none;
  border-radius: 5px;
  margin-right: 10px !important;
  background: #ECECEC;
  border: white 2px solid;
  color: #9C9B9B;
}

ul.categoryList li a.active {
  background-color: #D61E29;
  color: white;
  border-radius: 10px;
  border: white 1px solid;
}

ul.categoryList li a:hover {
  background-color: #D61E29;
  opacity: 0.6;
  color: #FFF;
  text-decoration: none;
  border-color: #FFF;
}

ul.categoryList li.categoryList-arrow a {
  background: none;
  color: #D61E29;
  font-size: 20px;
  padding: 10px 0px;
  margin-right: 10px;
}

ul.categoryList li.categoryList-arrow.right-arrow a {
  margin-right: 0;
}

.ellipsis {
  width: 140px; /* 省略せずに表示するサイズを指定 */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.apply-toggle {
  display: none;
}

.news-list-padding {
    padding-top: 10px !important;
    margin-bottom: 30px !important;
}

/* iphone5 */
@media only screen and (min-device-width:320px) and (max-device-width:568px) {

  #news-list section.news-list-sec1 .container {
    padding: 40px 0 0 0;
  }

  #news-list section .container {
    padding: 70px 0 0 0;
  }

  #news-list section.news-list-section02 .container {
    padding: 40px 0 60px 0;
  }

  #news-list section.news-list-pagenation .container {
    padding-top: 0;
  }

  ul.categoryList li a {
    margin-right: 5px;
  }

  .news-list-sec1 h1:after {
    width: 25%;
  }

  .swiper-categoryList {
    margin-left: 15px;
  }

  .news-item h4 {
    font-size: 15px;
  }    

  .news-pick-up-img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    background-size: cover !important;
  }

  .news-list-section02 .news-item:nth-child(-n+2) {
    padding-top: 15px;
  }
    
  .news-list-section02 .news-item:nth-child(2n+1) {
    padding-right: 7.5px !important;
    padding-left: 15px !important;
  }

  .news-list-section02 .news-item:nth-child(2n) {
    padding-right: 15px !important;
    padding-left: 7.5px !important;
  }
    
  .news-list-text-box span {
    padding-left: 0;
    padding-right: 0;
  }

  .apply-toggle{
    position: fixed;
    width: 100%;
    max-width: 93%;
    text-align: center;
    line-height: 50px;
    bottom: 10px;
    display: block;
    text-align: center;
    text-decoration: none;
  }

  .pt40 {
    padding-top: 40px !important;
  }

  .last {
    margin-right: 7px !important;
  }
}

/* iphoneX */
@media only screen and (min-device-width:375px) and (max-device-width:667px) {

  #news-list section.news-list-sec1 .container {
    padding: 40px 0 0 0;
  }

  #news-list section .container {
    padding: 70px 0 0px 0;
  }

  .swiper-categoryList {
    margin-left: 15px;
  }

  .news-item h4 {
    font-size: 15px;
  }

  .news-pick-up-img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    background-size: cover !important;
  }

  .news-list-section02 .news-item:nth-child(-n+2) {
    padding-top: 15px;
  }

  .news-list-section02 .news-item:nth-child(2n+1) {
    padding-right: 7.5px !important;
    padding-left: 15px !important;
  }

  .news-list-section02 .news-item:nth-child(2n) {
    padding-right: 15px !important;
    padding-left: 7.5px !important;
  }

  .news-list-text-box span {
    padding-left: 0;
    padding-right: 0;
  }

  .apply-toggle{
    position: fixed;
    width: 100%;
    max-width: 93%;
    text-align: center;
    line-height: 50px;
    bottom: 10px;
    display: block;
    text-align: center;
    text-decoration: none;
  }

  .last {
    margin-right: 5px !important;
  }
}

/* ipad */
@media screen and (min-width:768px) {

  .news-list-sec1 h1:after {
    width: 8%;
  }

  .news-pick-up-text h4 {
    font-size: 28px;
    color: #515C6F;
  }

  .news-pick-up-text .news-list-categorys {
    font-size: 14px;
    color: #707070;
    margin-top: 40px;
    margin-bottom: 30px;
    display: inline-block;
  }

  .news-pick-up-text {
    padding: 0px 15px;
    min-height: unset;
  }

  .swiper-categoryList-bullet-active {
    background: #D61E29!important;
  }

  .swiper-categoryList-bullet {
    width: 8px;
    height: 8px;
  }

  .news-list-text-box h4 {
    font-size: 17px;
  }

  .apply-toggle{
    position: fixed;
    width: 100%;
    max-width: 98%;
    text-align: center;
    line-height: 50px;
    bottom: 10px;
    display: block;
    text-align: center;
    text-decoration: none;
  }

  .last {
    margin-right: 8px !important;
  }
}

/*ipad pro */
@media(min-width: 1024px) and (max-device-width:1200px) {

  .news-list-sec1 h1:after {
    width: 8%;
  }

  .swiper-categoryList-bullet {
    width: 8px;
    height: 8px;
  }

  .news-pick-up-text {
    padding: 0px 15px;
    min-height: unset;
  }

  .news-list-text-box h4 {
    font-size: 17px;
  }

  .apply-toggle{
    position: fixed;
    width: 100%;
    max-width: 98%;
    text-align: center;
    line-height: 50px;
    bottom: 10px;
    display: block;
    text-align: center;
    text-decoration: none;
  }

  .last {
    margin-right: 5px !important;
  }
}

/*pc */
@media(min-width: 1200px) {

  .news-list-pickup {
    overflow: hidden;
  }

  .swiper-categoryList-bullet {
    width: 8px;
    height: 8px;
  }

  .news-pick-up-text {
    padding: 0px 15px;
    min-height: unset;
  }

  div#homepage-slider {
    padding-top: 60px;
  }

  .news-list-text-box h4 {
    font-size: 17px;
  }

  .news-list-section02 .news-item:nth-child(-n+4) {
    padding-top: 15px;
  }

  .news-list-section02 .news-item:nth-child(4n+1) {
    padding-right: 7.5px !important;
    padding-left: 15px !important;
  }

  .news-list-section02 .news-item:first-child:last-child {
    padding-right: 15px !important;
    padding-left: 15px !important;
  }

  .news-list-section02 .news-item:nth-child(4n+2) {
    padding-right: 7.5px !important;
    padding-left: 7.5px !important;
  }

  .news-list-section02 .news-item:nth-child(4n+3) {
    padding-right: 7.5px !important;
    padding-left: 7.5px !important;
  }

  .news-list-section02 .news-item:nth-child(4n) {
    padding-right: 15px !important;
    padding-left: 7.5px !important;
  }

  .apply-toggle{
    position: fixed;
    width: 100%;
    max-width: 1270px;
    text-align: center;
    line-height: 50px;
    bottom: 10px;
    display: block;
    text-align: center;
    text-decoration: none;
  }

  .last {
    margin-right: 0px !important;
  }
}
