@import url("../../style/common.css");

.agent_list_common {
  font-style: normal;
  font-weight: 500;
}

.agent_list_common .inner {
  padding: 0 12.5vw !important;
}

.agent_list_common .pagination {
  white-space: nowrap;
}

.agent_list_common .nav-links {
  display: inline-flex;
  gap: 1.25vw;
}

.agent_list_common .nav-links span {
  margin: 0;
  padding: initial;
  width: 2.91667vw;
  height: 2.91667vw;
  line-height: 2.91667vw;
  text-align: center;
  font-size: .9375vw;
  color: #BCBCBC;
  cursor: pointer;
}

.agent_list_common .nav-links a {
  margin: 0;
  padding: initial;
  width: 2.91667vw;
  height: 2.91667vw;
  line-height: 2.91667vw;
  text-align: center;
  font-size: .9375vw;
  color: #BCBCBC;
}
.agent_list_common .nav-links a:hover, .agent_list_common .nav-links span:hover {
  color: #ffffff;
}

.agent_list_common .nav-links .next,
.agent_list_common .nav-links .prev {
  width: 4.16667vw;
}

.agent_list_common .nav-links .prev {
  display: none;
}

.agent_list_common .nav-links .current {
  color: #5F5F5F !important;
}
.agent_list_common .nav-links .current:hover {
  color: #ffffff !important;
}

.agent_list_top {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 8vw !important;
}

.agent_list_top_title {
  /* font-weight: 700;
  font-family: "游ゴシック体 Pr6N B","Yu Gothic Pr6N B", sans-serif;
  font-size: 2.08333vw;
  width: 100%; */

  font-family: "游ゴシック体 Pr6N B","Yu Gothic Pr6N B", sans-serif;
  text-align: center;
}
/* .agent_list_top_title_en {
  font-weight: 700;
  font-family: "游ゴシック体 Pr6N B","Yu Gothic Pr6N B", sans-serif;
  font-size: 1.04167vw;
  color: #BCBCBC;
} */

@media only screen and (min-width: 769px) {
  .agent_list_common.first,
  .navi_container-ver2.pc-only.first {
    margin-top: 10.41667vw;
  }

  .agent_list_top_title {
    font-size: 2.48vw;
    width: 100%;
  }
}

@media only screen and (max-width: 768px) {
  .agent_list_common {
    margin-top: 92px;
  }
}

.agent_list_top_goback {
  position: absolute;
  width: 3.33333vw;
  height: 3.33333vw;
  margin-left: -4.16667vw;
  background-image: url(../../img/agent_detail_goback.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 1.25vw 1.25vw;
  border-radius: 50%;
}

.agent_list_top_goback:hover {
  background-image: url(../../img/agent_detail_goback_hover.svg);
  background-color: #D8D8D8;
  /* box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25); */
}

/*navi*/
.agent_navi {
  margin-top: 3.33333vw;
}

.agentList_navi_container {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  height: 3.125vw;
  border-top: 1px solid #d4d5db;
  border-bottom: 1px solid #d4d5db;
  font-weight: 500;
  font-size: .83333vw;
}

.toAgent {
  color: rgba(95, 95, 95, 0.7);
}
.moveTo {
  font-weight: 700;
  font-family: "游ゴシック体 Pr6N B","Yu Gothic Pr6N B", sans-serif;
}

.moveTo_arrow {
  margin: 0 0 0 0.523vw;
}

.toAgent:hover {
  color: #969696;
}

/* card list */
.agent_cards_wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 100%;
  column-gap: 1.25vw;
  row-gap: 3.64583vw;
  margin-top: 3.33333vw;
  margin-bottom: 3.33333vw;
}

.agent_cards_wrapper .navigation{
  flex-basis: 100%;
}

.agent_card {
  flex: 18%;
  box-sizing: border-box;
  flex-shrink: 0;
  flex-grow: 0;
}

.agent_card a {
  display: block;
  box-sizing: border-box;
  height: auto;
  overflow: hidden;
  /* border: 1px solid #FFFFFF01; */
  border-radius: 5px;
}

.agent_card_sp_empty {
  display: none;
}

@media (pointer: fine) {
  .agent_card:hover {
    cursor: pointer;
  }

  .agent_card:hover a {
    /* border: 1px solid #D0D0D0;
    filter: drop-shadow(0px 8px 24px #D0D0D0); */
  }

  .agent_card:hover .profile_icon {
    transform: scale(1.12);
    transform-origin: center;
    /* transition: 0.3s ease-in-out; */
  }
}

@media only screen and (min-width: 769px) {
  .agent_card a .profile_icon {
    transition: 0.3s ease-in-out;
  }
}

.profile_icon {
  width: 100%;
  height: auto;
  aspect-ratio: 269/326;
  object-fit: cover;
  object-position: center top;
}

.agent_slider_name_wrapper {
  display: flex;
  align-items: flex-end;
  gap: .625vw;
  margin-top: .83333vw;
}

.agent_slider_name {
  margin: 0;
  font-size: 1.04167vw;
  color: #000000;
  font-weight: 700;
  font-family: "游ゴシック体 Pr6N B","Yu Gothic Pr6N B", sans-serif;
}

.agent_slider_name_en {
  color: #969696;
  font-size: .72917vw;
  font-weight: 500;
}



.agent_slider_industryLabel {
  display: flex;
  flex-wrap: wrap;
}

.agent_slider_industryLabel li {
  background-color: #333;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin-top: 5px;
  /* padding-inline: 3px; */
  padding: 3px 3px 2px;
}

.agent_slider_achievements {
  display: flex;
  flex-wrap: wrap;
}

.agent_slider_achievements p span {
  position: relative;
}

.agent_slider_achievements p span::before {
  background-image: url(/wp-content/themes/assign/img/top_img01.svg);
  background-size: cover;
  content: "";
  height: 12px;
  position: absolute;
  right: -10px;
  top: 0;
  width: 8px;
}

.agent_slider_achievements ul {
  display: flex;
  flex-wrap: wrap;
  margin-left: 10px;
}

.agent_slider_achievements ul li {
  display: flex;
  align-items: center;
  margin-inline: 5px;
}

.agent_slider_achievements ul li img {
  height: 15px;
  width: auto;
}

@media screen and (min-width: 769px) {
  .agent_slider_industryLabel {
    margin-top: 0.29vw;
  }

  .agent_slider_industryLabel li {
    font-size: 0.8vw;
    margin-right: 0.36vw;
  }

  .agent_slider_achievements {
    margin-top: -1vw;
  }

  .agent_slider_achievements p {
    font-size: 0.87vw;
  }
  
  .agent_slider_achievements p::before {
    font-size: 0.87vw;
  }
}

@media screen and (max-width: 768px) {
  .agent_slider_industryLabel {
    margin-top: 5px;
  }

  .agent_slider_industryLabel li {
    font-size: 11px;
    margin-right: 5px;
    margin-top: 5px;
  }

  .agent_slider_achievements {
    margin-top: 10px;
  }

  .agent_slider_achievements p {
    font-size: 10px;
  }
  
  .agent_slider_achievements p::before {
    font-size: 10px;
  }
}






.introduction {
  font-size: .83333vw;
  line-height: 1.2;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-top: .83333vw;
  color: #5f5f5f;
}

.agent_list_common .introduction br {
  display: none;
}

.agent_detail_viewmore {
  display: none;
}

/* page */
.card_line {
  border-bottom: 1px solid #d4d5db;
}

.page {
  padding-top: 5%;
  display: flex;
}

.nav-links {
  display: flex;
}

.page-numbers {
  margin-right: 1.25vw;
  padding: 0.7825vw 1.25vw;
  display: inline-block;
  border: solid 1px #bcbcbc;
  color: #bcbcbc;
  font-size: 0.9375vw;
  transition: ease-out 0.2s;
}

.page-numbers:link:visited,
.page-numbers:link {
  color: #bcbcbc;
}

.page-numbers:hover {
  color: #fff;
  background: #d72e1f;
  border: 1px solid #d72e1f;
}

.page-numbers.next {
  width: 4.6875vw;
}

.screen-reader-text {
  display: none;
}

.toAgent:hover {
  color: #969696;
}

.toAgentDetail:hover {
  cursor: pointer;
}

.normalScale:hover {
  transform: scale(1.2);
  transition: 0.3s ease-out;
}

.smallScale:hover {
  transform: scale(1.1);
  transition: 0.3s ease-out;
}

.page-numbers.current {
  color: #5f5f5f;
  border: 1px solid #5f5f5f;
  cursor: pointer;
}

.page-numbers.current:hover {
  color: #fff;
  background: #d72e1f;
  border: 1px solid #d72e1f;
}


@media screen and (max-width: 768px) {

  .agent_list_common .inner {
    padding: 0 16px !important;
  }

  .agent_list_common .nav-links {
    gap: 25px;
  }

  .agent_list_common .nav-links span {
    width: 48px;
    height: 48px;
    line-height: 48px;
    font-size: 16px;
  }

  .agent_list_common .nav-links a {
    width: 48px;
    height: 48px;
    line-height: 48px;
    font-size: 16px;
  }

  .agent_list_common .nav-links .next,
  .agent_list_common .nav-links .prev {
    width: 48px;
  }

  .agent_list_top {
    margin-top: 88px !important;
  }

  .agent_list_top_goback {
    display: none;
  }

  .agent_list_top_title {
    font-size: 20px;
  }

  .agent_list_top_title_en {
    font-size: 12px
  }

  .agent_navi {
    margin-top: 24px;
  }

  .agentList_navi_container {
    height: 43px;
    font-size: 14px;
  }

  .moveTo_arrow {
    margin: 0 0 0 16px;
  }

  /* ///// */

  .agent_card {
    flex: 45%;
  }

  .agent_cards_wrapper {
    flex-wrap: wrap;
    justify-content: space-between;
    column-gap: 15px;
    row-gap: 40px;
    margin-top: 24px;
    margin-bottom: 24px;
  }

  .profile_icon {
    aspect-ratio: 164/184;
  }

  .agent_slider_name_wrapper {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 12px;
  }

  .agent_slider_name {
    font-size: 16px;
  }

  .agent_slider_name_en {
    font-size: 12px;
  }

  .introduction {
    font-size: 12px;
    margin-top: 6px;
  }

  .agent_card_sp_empty {
    display: block;
  }
}