.serviceFV {
  width: 100%;
  height: clamp(880px, 34vw, 700px);
  background: url("../../images/service/top.jpg")no-repeat top center;
  background-size: cover;
  overflow: hidden;
}

.serviceFV__inner {
  width: min(1720px, calc(100% - 80px));
  height: 100%;
  margin: 0 auto;

  display: flex;
  align-items: center;
}

.serviceFV__content {
  width: 55%;
}

.mgB  {
	margin-bottom: 60px;
}

.MGtop {
	margin-top: 30px;
}




.serviceBOX02 {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.serviceBOX02 li {
	width: 49%;
	box-shadow: 0 0 30px rgba(135,165,190,0.2);
	margin-bottom: 20px;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}
.serviceBOX02 li figure {
	position: relative;
}
.serviceBOX02 li figure img {
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}
.serviceBOX02 li .inner {
	padding: 30px;
	box-sizing: border-box;
	
}
.serviceBOX02 li .inner .icon {
	width: 80px;
	margin: auto;
	margin-bottom: 10px;
	margin-top: -60px;
	position: relative;
	z-index: 1;
	
}
.serviceBOX02 li .inner h3 {
	padding: 20px;
	box-sizing: border-box;
	font-size: clamp(1.4rem, 1.8vw, 2.4rem);
	text-align: center;
	padding: 0;
	margin: 0;
	margin-bottom: 10px;
}
.serviceBOX02 li .inner p {
	padding: 20px;
	box-sizing: border-box;
	font-size: clamp(1.2rem, 1.3vw, 1.7rem);
	text-align: left;
	padding: 0;
	margin: 0;
	margin-bottom: 10px;
	line-height: 1.6;
}







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

  .serviceFV {
    height: 600px;
	   background: url("../../images/service/topSP.jpg")no-repeat top center;
    background-position: top center;
	  background-size: cover;
	  position: relative;
  }

  .serviceFV__inner {
    width: calc(100% - 40px);
    align-items: flex-start;
    padding-top: 70px;
    box-sizing: border-box;
  }

  .serviceFV__content {
    width: 100%;
  }

  .serviceFV__main {
    width: 100%;
    margin-bottom: 25px;
  }


	.serviceFV__lead {
  padding-left: 0px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: #15104e;
		position: absolute;
		bottom:10px;
}

.serviceFV__lead p {
  margin: 0;
	padding: 0;
	 font-size: clamp(1.4rem, 1.6vw, 2.2rem) ;
}
	
.compCATCH02 {
	text-align: center;
	font-family: "Noto Serif JP", serif;
	font-size: clamp(1.7rem, 2vw, 3rem);
	margin-bottom: 25px;
	font-weight: 500;
	line-height: 1.7;
	
}
	



.serviceBOX02 {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	flex-wrap: wrap;
}
.serviceBOX02 li {
	width: auto;
	box-shadow: 0 0 30px rgba(135,165,190,0.2);
	margin-bottom: 15px;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}
.serviceBOX02 li figure {
	position: relative;
}
.serviceBOX02 li figure img {
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}
.serviceBOX02 li .inner {
	padding: 15px;
	box-sizing: border-box;
	
}
.serviceBOX02 li .inner .icon {
	width: 60px;
	margin: auto;
	margin-bottom: 10px;
	margin-top: -30px;
	position: relative;
	z-index: 1;
	
}
.serviceBOX02 li .inner h3 {
	padding: 20px;
	box-sizing: border-box;
	font-size: clamp(1.8rem, 1.8vw, 2.4rem);
	text-align: center;
	padding: 0;
	margin: 0;
	margin-bottom: 10px;
}
.serviceBOX02 li .inner p {
	padding: 20px;
	box-sizing: border-box;
	font-size: clamp(1.4rem, 1.3vw, 1.7rem);
	text-align: left;
	padding: 0;
	margin: 0;
	margin-bottom: 10px;
	line-height: 1.5;
}


}









.boxBN {
	width: 60%;
	margin: 60px auto;
}
.boxBN img {
	box-shadow: 0 0 30px rgba(135,165,190,0.2);
}

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

.boxBN {
	width: 90%;
	margin: 30px auto;
}
.boxBN img {
	box-shadow: 0 0 30px rgba(135,165,190,0.2);
}
}



.recruit-message {
  width: 100%;
  background: #fff;
}

.message-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

/* -----------------------
   テキスト
----------------------- */

.message-text {
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

/* 左側テキスト */
.message-row:not(.reverse) .message-text {
  justify-content: flex-end;
  padding: 60px 50px 60px 30px;
}

/* 右側テキスト */
.message-row.reverse .message-text {
  justify-content: flex-start;
  padding: 60px 30px 60px 50px;
}


/*
  テキスト領域
  左560px + 右560px = 最大1120px
*/
.text-inner {
  width: 100%;
  max-width: 560px;
}

.text-inner h2 {
  margin: 0 0 35px;
  font-size: clamp(2rem, 2vw, 3.2rem);
  line-height: 1.7;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #2943bb;
}

.text-inner p {
	padding: 0;
  margin: 0 0 20px;
  font-size: clamp(1.3rem, 1.4vw, 1.7rem);
  line-height: 1.6;
  color: #222;
}

.text-inner p:last-child {
  margin-bottom: 0;
}


/* -----------------------
   画像
----------------------- */

.message-image {
  width: 100%;
  min-height: 500px;
  overflow: hidden;
}

.message-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recruitSTG p {
	text-align: left !important;
}

.fukuri {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.fukuri li {
	width: 24%;
	background: #fff;
	box-shadow: 0 0 30px rgba(135,165,190,0.2);
	margin-bottom: 20px;
	border-radius: 15px;
	padding: 20px;
	box-sizing: border-box;
}
.fukuri li figure {
	width: 80px;
	margin: auto;
	margin-bottom: 10px;
	margin-top: -30px;
}
.fukuri li h3 {
	font-size: clamp(1.6rem, 1.8vw, 2.2rem);
	text-align: center;
	margin-bottom: 10px;
}
.fukuri li p {
	font-size: clamp(1rem, 1.3vw, 1.5rem);
	line-height: 1.5;
	text-align: center;
}



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


.fukuri {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.fukuri li {
	width: 49%;
	background: #fff;
	box-shadow: 0 0 30px rgba(135,165,190,0.2);
	margin-bottom: 20px;
	border-radius: 5px;
	padding: 20px;
	box-sizing: border-box;
}
.fukuri li figure {
	width: 50px;
	margin: auto;
	margin-bottom: 10px;
	margin-top: -30px;
}
.fukuri li h3 {
	font-size: clamp(1.7rem, 1.8vw, 2.2rem);
	text-align: center;
	margin-bottom: 10px;
}
.fukuri li p {
	font-size: clamp(1.2rem, 1.3vw, 1.5rem);
	line-height: 1.5;
	text-align: center;
}


}













/* ==========================
   STAFF SLIDER
========================== */

.staff-section {
  padding: 0px 0 0px;
  overflow: hidden;
}

.staff-slider {
  width: 100%;
}

.staff-slide {
  padding: 20px 10px 30px;
}

.staff-card {
  background: #fff;
  border-radius: 16px;
 box-shadow: 0 0 30px rgba(135,165,190,0.2);
  padding: 20px 30px 26px;
  box-sizing: border-box;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
}

.staff-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(0, 40, 100, 0.14);
}


/* 写真 */

.staff-photo {
  width: 105px;
  height: 105px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 18px;
  background: #fff;
}

.staff-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* プロフィール */

.staff-profile {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.staff-job {
  display: inline-block;
  background: #315ac9;
  color: #fff;
  font-size: clamp(1rem, 1vw, 1.2rem);
  padding: 5px 15px;
  line-height: 1.4;
}

.staff-profile h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2.8rem);
  line-height: 1;
	font-family: "Google Sans", "Noto Sans JP", sans-serif;
}

.staff-profile h3 small {
  font-size: clamp(1rem, 1.2vw, 1.5rem);
  margin-left: 4px;
  font-weight: 500;
}


/* キャッチ */

.staff-copy {
  font-size: 1.7rem;
  line-height: 1.7;
  font-weight: 600;
  margin: 0 0 18px;
}


/* 詳しく見る */

.staff-more {
  display: block;
  width: 160px;
  margin: auto;
  padding: 7px 10px;
  background: #e8eef8;
  color: #1762d2;
  font-size: 1.4rem;
  line-height: 1.4;
  transition: 0.3s;
}

.staff-card:hover .staff-more {
  background: #315ac9;
  color: #fff;
}


/* ==========================
   Slick
========================== */

.staff-slider .slick-list {
  overflow: visible;
}

.staff-slider .slick-slide {
  opacity: 0.45;
  transition: opacity 0.3s;
}

.staff-slider .slick-active {
  opacity: 1;
}


/* 矢印 */

.staff-slider .slick-prev,
.staff-slider .slick-next {
  width: 45px;
  height: 45px;
  z-index: 10;
}

.staff-slider .slick-prev {
  left: 4%;
}

.staff-slider .slick-next {
  right: 4%;
}

.staff-slider .slick-prev:before,
.staff-slider .slick-next:before {
  content: "";
  display: block;
  width: 28px;
  height: 28px;
  border-top: 4px solid #315ac9;
  border-right: 4px solid #315ac9;
  opacity: 1;
}

.staff-slider .slick-prev:before {
  transform: rotate(-135deg);
}

.staff-slider .slick-next:before {
  transform: rotate(45deg);
}


/* ==========================
   MODAL
========================== */

.staff-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
  box-sizing: border-box;

  visibility: hidden;
  opacity: 0;

  transition: 0.3s;
}

.staff-modal.is-open {
  visibility: visible;
  opacity: 1;
}


/* 背景 */

.staff-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}


/* モーダル本体 */

.staff-modal-box {
  position: relative;
  z-index: 2;

  width: min(900px, 100%);
  max-height: calc(100vh - 60px);

  background: #fff;
  border-radius: 15px;

  overflow: hidden;

  transform: translateY(20px);
  transition: 0.3s;
}

.staff-modal.is-open .staff-modal-box {
  transform: translateY(0);
}


/* ★ 縦スクロール部分 */

.staff-modal-scroll {
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  overscroll-behavior: contain;
}


/* 閉じる */

.staff-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;

  width: 45px;
  height: 45px;

  border: 0;
  border-radius: 50%;
  background: #315ac9;

  cursor: pointer;
  z-index: 10;
}

.staff-modal-close span {
  position: absolute;
  width: 22px;
  height: 2px;
  background: #fff;
  left: 12px;
  top: 21px;
}

.staff-modal-close span:first-child {
  transform: rotate(45deg);
}

.staff-modal-close span:last-child {
  transform: rotate(-45deg);
}


/* モーダル上部 */

.staff-modal-head {
  display: flex;
  align-items: center;
  gap: 35px;
  padding: 40px;
  background: #f4f7fc;
}

.staff-modal-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.staff-modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-modal-profile h2 {
	padding: 0;
  margin: 5px 0 0px;
  font-size: clamp(1.8rem, 2.4vw, 3rem);
}

.staff-modal-profile h2 small {
  font-size: clamp(1.2rem, 1.3vw, 1.6rem);
  margin-left: 5px;
  font-weight: 500;
}

.staff-modal-profile h3 {
  font-size: clamp(1.2rem, 1.5vw, 2.2rem);
  line-height: 1.6;
  margin: 0;
}


/* 本文 */

.staff-modal-content {
  padding: 30px 40px 30px;
}

.staff-modal-content h4 {
  color: #315ac9;
  font-size: clamp(1.3rem, 1.4vw, 1.8rem);
  margin: 5px 0 10px;
}

.staff-modal-content h4:first-child {
  margin-top: 0;
}

.staff-modal-content p {
  font-size: clamp(1.2rem, 1.3vw, 1.6rem);
  line-height: 1.6;
  margin: 0;
}


/* モーダル表示中のbody */

body.modal-open {
  overflow: hidden;
}


/* ==========================
   SP
========================== */

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

  .staff-section {
    padding: 0px 0 0px;
  }

  .staff-slide {
    padding: 15px 7px 25px;
  }

  .staff-card {
    padding: 20px 15px;
	  border-radius: 6px;
  }

  .staff-profile {
    gap: 7px;
  }

  .staff-profile h3 {
    font-size: 2.2rem;
  }

  .staff-copy {
    font-size: 1.6rem;
  }


  /* modal */

  .staff-modal {
    padding: 15px;
  }

  .staff-modal-box,
  .staff-modal-scroll {
    max-height: calc(100vh - 30px);
  }

  .staff-modal-head {
    display: block;
    padding: 45px 25px 30px;
    text-align: center;
  }

  .staff-modal-photo {
    width: 130px;
    height: 130px;
    margin: auto;
  }

  .staff-modal-profile {
    margin-top: 20px;
  }

  .staff-modal-profile h2 {
    font-size: 2.6rem;
  }

  .staff-modal-profile h3 {
    font-size: 1.8rem;
  }

  .staff-modal-content {
    padding: 30px 25px 35px;
  }
.staff-modal-content h4 {
  color: #315ac9;
  font-size: clamp(1.5rem, 1.4vw, 1.8rem);
  margin: 5px 0 10px;
}

  .staff-modal-content p {
    font-size: 1.4rem;
  }

}

























/* -----------------------
   SP
----------------------- */

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

  .message-row {
    display: flex;
    flex-direction: column;
  }
	  .message-row.rev {
    display: flex;
    flex-direction: column-reverse;
  }

  /* 1段目 */
  .message-row:not(.reverse) .message-text {
    padding: 20px 15px;
  }

  /* 2段目は画像→テキストなのでそのまま */
  .message-row.reverse .message-text {
    padding: 20px 15px;
  }

  .text-inner {
    max-width: none;
  }

  .text-inner h2 {
    margin-bottom: 15px;
    font-size: 2rem;
    line-height: 1.6;
  }

  .text-inner p {
    margin-bottom: 16px;
    font-size: 1.4rem;
    line-height: 1.7;
  }

  .message-image {
    min-height: auto;
    aspect-ratio: 16 / 10;
  }
	
	.mgB  {
	margin-bottom: 20px;
}

}

