
.anchorLinkList.fixed {
  top: -20px;
}

/* sortBtn
----------------------------------------*/

#sortBtn {
  width: 100%;
  max-width: 1000px;
  height: auto;
  margin: 0 auto;
  margin-bottom: 20px;
}

#sortBtn.groupC {
  margin-bottom: 0;
}

#sortBtn::after {
  content: "";
  clear: both;
  display: block;
  height: 0;
  line-height: 0;
  visibility: hidden;
}

#sortBtn li#allItems {
  background-color: #9A9A9A;
  padding: 10px 50px;
  color: #FFF;
}

#sortBtn li {
  float: left;
  color: #000000;
  font-size: 16px;
  line-height: 1.6;
  padding: 7px 10px 7px 10px;
  background-color: #e6e6e6;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
  cursor: pointer;
  margin-bottom: 10px;
}

#sortBtn li:not(:last-child) {
  margin-right: 12px;
}

#sortBtn.groupA li.active {
  background-color: #2AB5A6;
  color: #FFF;
}

#sortBtn li#allItems.active {
  background-color: #2AB5A6;
  color: #FFF;
}

.groupWrap {
  background-color: #F9F9F9;
  width: calc(100% + 50px);
  margin: 0 -25px;
  padding: 30px 0 25px 0;
  margin-bottom: 30px;
}

.groupWrap h2 {
  max-width: 1000px;
  margin: 0 auto;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px;
}


@media only screen and (max-width: 600px) {
  .groupWrap {
    width: 100%;
    margin: 10px auto;
    padding: 20px;
  }
}


/*
特集ページ用ソートデザイン
*/
.companySection {
  margin: 20px 0 20px 0;
}

.companyGroupContainer {
  position: relative;
  width: 100%;
  max-height: 1050px;
  overflow-x: hidden;
  overflow-y: auto;
}

.companyGroupContainer::-webkit-scrollbar,
.companyGroupOccupationList::-webkit-scrollbar {
  width: 5px;
}

.companyGroupContainer::-webkit-scrollbar-track,
.companyGroupOccupationList::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, .2);
}

.companyGroupContainer::-webkit-scrollbar-thumb,
.companyGroupOccupationList::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: rgba(0, 0, 0, .5);
}

.companyGroupFlexWrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  overflow: hidden;
}

.companyGroupFlexWrap>li {
  position: relative;
  width: 33%;
  padding: 20px 40px;
  margin: 0 0 20px 0;
}

.companyGroupFlexWrap>li::before {
  content: '';
  display: block;
  position: absolute;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  top: 10px;
  left: 10px;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 1px 2px 4px rgb(0 0 0 / 15%);
}

a.companyGroupFlex {
  display: flex;
  position: relative;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background-color: #FFF;
  text-decoration: none;
  z-index: 10;
  color: #000;
}

div.flexChildBottom {
  position: relative;
  display: inline-block;
  width: 100%;
  color: #222;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  margin: 20px 0 0 0;
  padding: 10px 20px;
  border: 1px solid #9A9A9A;
  border-radius: 8px;
  z-index: 10;
}

a.companyGroupFlex:hover .flexChildBottom {
  position: relative;
  background-color: #157FC3;
  color: #FFF;
  text-decoration: none;
  border: none;
  z-index: 200;
}

.flexChildLeft {
  width: 100%;
  text-align: center;
  margin: 0 0 20px 0;
}

.flexChildLeft img {
  width: 60%;
}

.flexChildRight {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.flexChildRightTitle {
  margin: 0 0 20px 0;
}

.flexChildRightTitle h2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 16px;
  color: #157FC3;
  line-height: 1.4;
  font-weight: bold;
  overflow: hidden;
}

.flexChildRight p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  font-weight: bold;
  color: #222;
}

p.profileJob {
  font-size: 12px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

.flexChildline {
  border-top: 2px solid #e6e6e6;
  margin: 10px 0;
}


@media only screen and (max-width: 600px) {
  .companyGroupContainer {
    margin: 30px 0 30px 0;
    padding: 0 15px 0 0;
    max-height: 600px;
  }

  .companyGroupFlexWrap {
    flex-direction: column;
  }

  .companyGroupFlexWrap>li {
    position: relative;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 30px 20px 30px 0;
  }

  .companyGroupFlexWrap>li:first-child, .companyGroupFlexWrap>li:last-child {
    border-top: 2px solid #e6e6e6;
  }

  .companyGroupFlexWrap>li::before {
    border: none;
    box-shadow: none;
  }

  .companyGroupFlexWrap>li::after {
    position: absolute;
    content: "";
    top: calc(50% - 5px);
    right: 5px;
    width: 10px;
    height: 10px;
    border-top: 2px solid #1898D0;
    border-right: 2px solid #1898D0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  .companyGroupFlexWrap>li+li {
    border-top: 2px solid #e6e6e6;
  }

  a.companyGroupFlex {
    flex-direction: row;
    width: 100%;
  }

  .flexChildLeft {
    width: 30%;
    margin: 0;
  }

  .flexChildLeft img {
    width: 100%;
  }

  .flexChildRight {
    width: 70%;
    padding: 0 0 0 20px;
  }

  .flexChildRightTitle h2 {
    font-size: 14px;
  }

  .flexChildRight p {
    color: #333;
  }

  p.profileCompany {
    font-size: 12px;
  }

  div.flexChildBottom {
    display: none;
    color: #333;
  }
}



