@charset "UTF-8";

/* 社員の声のカルーセルとナビゲーション */
#voice #carousel {
	margin: 0;
	line-height: var(--l-narrow);
	position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 5 / 2;
}

#carousel .carContent p {
  position: absolute;
  color: #fff;
  font-size: 2.1vw;
  width: 75vw;
  left: 12.5vw;
  text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.4);
}

#carousel .carContent p span {
  display: block;
}

#carousel .carContent.voice25_05 p {
  color: #000;
  text-align: right;
  top: 42%;
}

#carousel .carContent.voice25_06 p {
  color: #fff;
  top: 50%;
}

#carousel .carContent.voice25_07 p {
  color: #000;
  top: 15%;
}

#carousel .carContent.voice25_08 p,
#carousel .carContent.voice02 p {
  color: #000;
  text-align: right;
  top: 25%;
}

#carousel .carContent.voice05 p {
  color: #fff;
  top: 47%;
}

/* 他の社員の声 */
main aside ul {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-content: stretch;
  width: fit-content;
}

main aside ul li {
	width: 11.5vw;
	background: url("/recruit/img/recruit_btn.png") no-repeat 107% 100% / 150% auto var(--link);
}

main aside ul li:hover {
	opacity: 0.8;
}
/* 色 */
main aside ul li.orange { background-color: var(--orange-normal); }
main aside ul li.yellow { background-color: var(--yellow-normal); }
main aside ul li.green  { background-color: var(--green-normal); }
main aside ul li.blue   { background-color: var(--blue-normal); }
main aside ul li.purple { background-color: var(--purple-normal); }
main aside ul li.pink   { background-color: var(--pink-normal); }

main aside ul li figure img {
  width: 100%;
}

main aside p {
  padding: .8vw .8vw 1.8vw;
	color: #fff;
	font-size: var(--f-smaller);
	line-height: var(--l-narrow);
}

main aside a {
	display: block;
}

main aside a span {
	font-size: var(--f-smallest);
	display: block;
}

.button a:hover {
  opacity: 0.7;
}

/* bxslider */
#carousel .bx-wrapper {
	margin-bottom: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

#carousel .bx-wrapper img {
	width: 100%;
	max-width: auto;
}
#carousel .bx-wrapper .bx-controls-direction a {
  top: 18vw;
  width: 4vw;
  height: 4vw;
	margin-top: 0;
	z-index: 999;
	display: block;
	background: transparent;
}
#carousel .bx-wrapper .bx-controls-direction a::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  background: url(/recruit/assets/img/link_arrow_white_large.svg) no-repeat 50% 50% / contain transparent;
  border: 1px solid #fff;
  border-radius: 9999px;
  width: 4vw;
  height: 4vw;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.4);
}
#carousel .bx-wrapper .bx-next { right: 2vw; }
#carousel .bx-wrapper .bx-prev { left: 2vw; }
#carousel .bx-wrapper .bx-prev { transform: rotate(180deg); }


/* スマートフォン表示 */
@media screen and (max-width: 768px) {
/* 社員の声 */
  #voice {
	  width: 100%;
  }

	#voice #carousel {
	  width: 100%;
    aspect-ratio: auto;
	}

  #carousel .carContent p {
    font-size: var(--f-large);
    width: 100vw;
    position: relative;
    padding: 5vw 3vw 5vw 5vw;
    text-align: left !important;
    color: #000 !important;
    left: auto;
  }

  #carousel .carContent figure {
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1 / 1;
  }

  #carousel .carContent figure img {
    width: auto;
    height: 100%;
  }

  #carousel .voice25_06 img { margin-left: -77vw; }
  #carousel .voice25_08 img { margin-left: -55vw; }
  #carousel .voice02 img { margin-left: -45vw; }
  #carousel .voice05 img { margin-left: -100vw; }
  #carousel .voice25_07 img { margin-left: -95vw; }
  #carousel .voice25_05 img { margin-left: -15vw; }

/* 他の社員の声 */
  main aside ul {
	  width: 100%;
    flex-wrap: wrap;
  }

  main aside ul li {
    margin-bottom: 3vw;
    width: 43vw;
    background-position:  104% 101%;
  }

  main aside p {
    padding: .8rem .8rem 1.8rem;
  }

/* bxslider */
	#carousel .bx-wrapper img {
		width: auto;
		max-width: none;
		height: 70vw;
	}
	main div + div.bx-controls,
	main div + div.carContent {
    margin-top: 0;
	}
	#carousel .bx-wrapper .bx-controls-direction a {
    top: 45vw;
    width: 10vw;
    height: 10vw;
	}
  #carousel .bx-wrapper .bx-controls-direction a::after {
    width: 10vw;
    height: 10vw;
  }

  #carousel .bx-wrapper .bx-next { right: 2vw; }
  #carousel .bx-wrapper .bx-prev { left: 2vw; }
}
