
#mentor {
    background: #F0F5F9;
}

#mentor h2 {
    display: flex;
    font-size: 3.2rem;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}
@media (max-width: 769px) {
    #mentor h2  {
        font-size: 2.6rem;
    }
    #mentor .desc p {
        font-size: 1.3rem;
    }
    #mentor .card .name h3 {
        font-size: 1.6rem;
    }
}
@media (max-width: 768px) {
    #mentor .swiper-button-prev,
    #mentor .swiper-button-next {
        display: none;
    }
}
@media (max-width: 769px) {
    #mentor .container {
        width: 100%!important;
    }
    #mentor {
        padding: 4rem 0em;
    }
}   

@media (min-width: 769px) {
    #mentor {
        padding: 8rem 4rem;
    }

    #mentor .swiper-button-prev {
        left: -15px;
    } 

    #mentor .swiper-button-next {
        right: -15px;
    }

    #mentor .desc p {
        font-size: 1.4rem;
    }

    #mentor .card .name h3 {
        font-size: 2rem;
    }
}

#mentor h2:after {
    content: '';
    display: block;
    height: 2px;
    background-color: black;
    width: 4rem;
}

#mentor .container {
    width: auto;
    margin: 0 auto;
    position: relative;
}
@media (max-width: 1220px) and (min-width: 769px) {
    #mentor .container {
        max-width: 947px;
    }
}

#mentor .mentor-swiper {
    max-width: 89rem;
    position: relative;
    width: 100%;
    overflow: hidden;
    /* margin: 0 auto; */
}

#mentor .mentor-wrapper {
	position: relative;
	margin-top: 5rem;
}

@media (max-width: 768px) {
	#mentor .mentor-wrapper {
    padding-inline: 0.5rem;
	}
}

#mentor .card {
    width: 32%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 4rem 2rem;
    border-radius: 10px;
    background: linear-gradient(0deg, #FFF 0%, #FFF 100%), #F0F5F9;
    box-shadow: 0px 0px 4px 0px rgba(51, 51, 51, 0.25);
    height: auto;
    justify-content: start;
}

#mentor .card .image {
    display: block;
}

#mentor .card .image img {
    width: 17.5rem;
    height: 17.5rem;
    margin: 0 auto;
    object-fit: contain;
}

#mentor .card .image p {
    border-radius: 2px;
    background: #309DA4;
    color: white;
    text-align: center;
    font-weight: 700;
    padding: 1rem;
    font-size: 1.4rem;
    margin: 1.5rem auto;
}

#mentor .card .name h3 {
    font-style: normal;
    font-weight: 700;
}

#mentor .card .name p {
    font-size: 1.2rem;
    font-style: normal;
    font-weight: 400;
    margin-top: 1rem;
    line-height: 1.5;
}

#mentor .card .name {
    margin: 0rem auto 1rem;
    text-align: center;
}

#mentor .desc p {
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
}

#mentor .mentor-swiper-pagination {
    margin-top: 3rem;
    text-align: center;
}

#mentor .swiper-button-prev,
#mentor .swiper-button-next {
  height: 4rem;
  width: 4rem;
  position: absolute;
  top: 50%;
}

#mentor .swiper-button-prev {
  left: 0;
  transform: scale(-1, 1) translate(50%, -50%);
}

#mentor .swiper-button-next {
	right: 0;
  transform: translate(50%, -50%);
} 

/* 前へ次への矢印カスタマイズ */
#mentor .swiper-button-prev::after,
#mentor .swiper-button-next::after {
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  height: 4rem;
  margin: auto;
  width: 4rem;
  cursor: pointer;
}
/* 前への矢印カスタマイズ */
#mentor .swiper-button-prev::after {
  background-image: url(../img/mentor/mentor-swiper-arrow-icon.png);
  /* transform: scale(-1, 1); */
}
/* 次への矢印カスタマイズ */
#mentor .swiper-button-next::after {
  background-image: url("../img/mentor/mentor-swiper-arrow-icon.png");
}
/* 画像サイズ調整 */

#mentor .marketing {
  background: #F47808!important;
  color: white;
}

#mentor .sales {
  background: #1C4586!important;
  color: white;
}

#mentor .card .image p.hiring {
	background-color: #992453;
}

@media (max-width: 1000px) and (min-width: 769px) {
    #mentor .container {
        width: 100%;
    }
    #mentor .mentor-swiper {
        margin: 0 auto;
    }
    #mentor .swiper-button-prev {
        left: -2%;
    } 

    #mentor .swiper-button-next {
        right: -2%;
    }

}
