.interview-fv {
  background-color: #918AF1;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* 例: 16:9比率にする */
  overflow: hidden;
}
body {
  background-color: #FFD447;
}
.member-text {
  position: absolute;
  z-index: 2;
}
.interview-people {
  position: absolute;
  max-width: 500px;
  width: 35%;
  bottom: 0;
  right: 5%;
  z-index: 10;

}
.in3-interview-people {
  width: 30%;
}
.interview-people-name {
  position: absolute;
  width: 60%;
  bottom: 0;
  right: 40px;
  max-width: 800px;
  z-index: 11;
}
.interview-message {
  position: absolute;
  top: 70%;
  left: 5%;
  transform: translateY(-50%); /* 上下だけ中央揃え */
  max-width: 630px;
  z-index: 13;
  width: 45%;
}
.fv-message {
  margin-bottom: 40px;
}
.name-jp {
  width: 50%;
}
.dot-img {
  position: absolute;
  right: 0;
  top: 0;
  max-width: 480px;
  width: 33%;
}
.path-interview {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto 0;
  z-index: 3;
}
.black-banner {
  background-color: #000000;
  padding: 20px 0px;
}
.path-logo-tukiyama {
  width: 40px;
  margin-right: 10px;
  margin-left: 10px;
}
.black-banner {
font-size: 60px;
color: #918AF1;
}
.qa-section {
  padding: 130px 0px;
  position: relative;
  background-color: #918AF1;
}
.qa-section1 {
  padding: 130px 0px;
  position: relative;
  background-color: #918AF1;
}
.qa-section2 {
  padding: 130px 0px;
  position: relative;
  background-color: #918AF1;
}
.qa-section3 {
  padding: 130px 0px;
  position: relative;
  background-color: #918AF1;
}
.qa-section-liner {
  max-width: 1200px;
  margin: 0 auto;
}
/* 吹き出し */
.balloon {
  position: relative;
  display: inline-block;
  background: #655BEB;
  border: 2px solid #fff;
  color: #fff;
  padding: 27px 45px;
  border-radius: 50px;
  line-height: 1.8;
  margin-bottom: 80px;
  z-index: 10;
  
}

.balloon-text {
  margin: 0;
  font-size: 30px;
  font-weight: bold;
}

/* 吹き出しの矢印 */
.balloon::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: 40px;
  border-width: 46px 37px 0 4px;
  border-style: solid;
  border-color: #655BEB transparent transparent transparent;
}
.balloon::before {
  content: "";
  position: absolute;
  bottom: -42px;
  left: 38px;
  border-width: 40px 37px 2px 6px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
  z-index: 0;
}
.answer-box-1::after {
  content: "";
  position: absolute;
  bottom: -63px;
  right: 60px;
  border-width: 59px 6px 4px 60px;
  border-style: solid;
  border-color: #655BEB transparent transparent transparent;
}

.answer-box-1::before {
  content: "";
  position: absolute;
  bottom: -50px;
  right: 64px; /* ちょっとずらす */
  border-width: 59px 6px 4px 60px; /* 内側(白三角) */
  border-style: solid;
  border-color: #fff transparent transparent transparent;
  z-index: 100;
}
/* 右上の番号画像 */
.balloon-number {
  position: absolute;
  top: -90px;
  right: -50px;
  width: 150px;
  height: auto;
}

/* 回答枠 */
.answer-box {
  width: 85%;
  margin-left: auto;   /* 右寄せ */
  margin-right: 0;
  background-color: #fff;
  border-radius: 50px;
  border:solid 5px #655BEB;
  position: relative;
  z-index: 10;
}
.answer-box-1 {
  display: grid;
  position: relative;
  padding: 30px;

}

.answer-box h2 {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 20px;
  line-height: 1.8;
  color: #434343;
}

.answer-box p {
  font-size: 18px;
  line-height: 2;
  margin: 0;
}

.icon1 {
  position: absolute;
  top: 0;
  width: 40%;
  right: 0;
}

.icon3 {
  position: absolute;
  top: 0;
  width: 20%;
  left: 0;
}
.icon4 {
  position: absolute;
  width: 25%;
  left: 10%;
  bottom: 0;
}
.icon5 {
  position: absolute;
  bottom: 0;
  width: 30%;
  right: 0;
}
.icon6 {
  position: absolute;
  top: 15%;
  width: 30%;
  right: 0;
}
.icon7 {
  position: absolute;
  top: 5%;
  width: 20%;
  left: 0%;
}
.icon8 {
  position: absolute;
  bottom: 0;
  width: 50%;
  right: 0;
}
.in-message-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 130px 0px;
  padding-bottom: 0;
  background-color: #918AF1;
}

/* 背景の波（画像） */
.in-message-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../images-recruit/wave.webp) no-repeat top / cover;
    z-index: 0;
    
}

/* 内側レイアウト */
.in-message-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1;
  gap: 50px;
  top: 10px;
}
.in-message-scrol {
  font-size: 160px;
    font-weight: 900;
    color: #655BEB;
    flex-shrink: 0;
    padding-right: 2rem;
    font-family: "Roboto Condensed", sans-serif;
    line-height: 0.9;
    animation: marquee 105s linear infinite;
    text-shadow: 2px 2px 0 #fff, -2px 2px 0 #fff, 2px -2px 0 #fff, -2px -2px 0 #fff;
}

/* 左：人物画像 */
.in-message-left {
  flex: 1 1 40%;
  text-align: center;
}
.in-message-left img {
  max-width: 100%;
  height: auto;
}

/* 右：テキスト */
.in-message-right {
  flex: 1 1 55%;
  color: #fff;
}

.in-message-catch {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 50px;
}
.in-message-catch span {
  font-style: italic;
}

.in-message-text {
  font-size: 22px;
  line-height: 1.8;
  margin-bottom: 70px;
  color: #e0e0e0;
}

/* ボタン */
.in-message-btn {
  display: inline-block;
  border-radius: 25px;
  color: #3a00a2;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s;
  width: 300px;
}
.in-message-btn span {
  margin-left: 5px;
}

.in-black-back {
  margin-top: 0px;
  position: relative;
}
.in-business-grid {
  padding-bottom: 290px;
}


/* スマホ対応 */
@media (max-width: 969px) {
  .in-business-grid {
    padding-bottom: 90px;
  }
  .in-message-inner {
    flex-wrap: nowrap;
    gap: 10px;
  }
  .in-message-right {
    padding: 10px;
  }
  .in-message-catch {
    font-size: 1.5rem;
  }
  .in-message-section::before {
    font-size: 3rem;
    top: 10%;
  }
  .in-message-right {
    flex: 1 1 35%;
    color: #fff;
}
.in-message-scrol {
  font-size: 80px;
}
.in-message-left {
  flex: 1 1 0%;
  text-align: center;
}
.in-message-btn {
  display: inline-block;
  border-radius: 25px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s;
  width: 100%;
}
}
@media screen and (max-width: 969px) {
  .interview-fv {
    height: 600px;
  }
  .in-message-text {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #e0e0e0;
}
  .interview-people {
    width: 80%;
    max-width: 360px;
    right: 0%;
  }
  .in3-interview-people {
    width: 60%;
    max-width: 360px;
    right: 0%;
}
  .in-message-catch {
    font-size: 1.5rem;
    position: relative;
    z-index: 100;
    margin-bottom: 10px;
    margin-top: 20px;
    width: 80%;
}
  .member-text {
    position: absolute;
    z-index: 2;
    top: 70px;
}
.interview-message {
  position: absolute;
  top: 70%;
  left: 5%;
  transform: translateY(-50%);
  max-width: 300px;
  z-index: 13;
  width: 55%;
}
.interview-people-name {
  position: absolute;
  width: 80%;
  bottom: 0;
  right: 10px;
  max-width: 500px;
  z-index: 11;
}
.black-banner {
  background-color: #000000;
  padding: 10px 0px;
}
.path-logo-tukiyama {
  width: 25px;
  margin-right: 10px;
}
.black-banner {
  font-size: 36px;
  }

  .qa-section {
    padding: 70px 20px;
    position: relative;
    padding-top: 90px;
  }
  .qa-section1 {
    padding: 70px 20px;
    position: relative;
  }
  .qa-section2 {
    padding: 70px 20px;
    position: relative;
  }
  .qa-section3 {
    padding: 70px 20px;
    position: relative;
  }
  .balloon-text {
    margin: 0;
    font-size: 15px;
    font-weight: bold;
  }
  .balloon-number {
    position: absolute;
    top: -70px;
    right: -50px;
    width: 100px;
    height: auto;
  }
  .balloon {
    position: relative;
    display: inline-block;
    border: 2px solid #fff;
    color: #fff;
    padding: 17px 20px;
    border-radius: 8px;
    line-height: 1.8;
    margin-bottom: 40px;
    width: 73%;
}
.balloon::before {
  content: "";
  position: absolute;
  bottom: -33px;
  left: 38px;
  border-width: 30px 31px 2px 3px;
  border-style: solid;
  
}
.balloon::after {
  content: "";
  position: absolute;
  bottom: -26px;
  left: 40px;
  border-width: 31px 30px 0 4px;
  
}
.answer-box-1::after {
  content: "";
  position: absolute;
  bottom: -54px;
  right: 39px;
  border-width: 51px 7px 3px 57px;
  border-style: solid;
 
}
.answer-box-1::before {
  content: "";
  position: absolute;
  bottom: -44px;
  right: 44px;
  border-width: 51px 6px 4px 54px;
  border-style: solid;
 
}

.answer-box {
  width: 100%;
  margin-left: auto;
  margin-right: 0;
  background-color: #fff;
  border-radius: 5px;
  
}
.answer-box h2 {
  font-size: 20px;
  font-feature-settings: 'palt' on;
  line-height: 150%;
}
.answer-box p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
.answer-box-1 {
  display: grid
;
  position: relative;
  padding: 30px 20px;
}
.in-message-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 10px 0px;
  padding-bottom: 0;
}
.icon1 {
  position: absolute;
  top: 0;
  width: 60%;
  right: 0;
}

.icon3 {
  position: absolute;
  top: 0;
  width: 60%;
  left: 0;
}
.icon4 {
  position: absolute;
  width: 55%;
  left: 10%;
  bottom: 0;
}
.icon5 {
  position: absolute;
  bottom: 0;
  width: 50%;
  right: 0;
}
.icon6 {
  position: absolute;
  top: 15%;
  width: 60%;
  right: 0;
}
.icon7 {
  position: absolute;
  top: 5%;
  width: 30%;
  left: 0%;
}
.icon8 {
  position: absolute;
  bottom: 0;
  width: 70%;
  right: 0;
}
}



/*in2*/
.in2-fv {
  background-color: #FBA4E7;
}
.in2-interview-people-name {
  width: 40%;
}
.in2-black-banner {
  color: #F872D9;
}
.in2-balloon {
  background-color: #F872D9;
}
.in2-qa-section {
  background-color: #FBA4E7;
}
.in2-qa-section1 {
  background-color: #FBA4E7;
}
.in2-qa-section2 {
  background-color: #FBA4E7;
}
.in2-qa-section3 {
  background-color: #FBA4E7;
}
.in2-message-section {
  background-color: #FBA4E7;
}
/* 吹き出しの矢印 */
.in2-balloon::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: 40px;
  border-width: 46px 37px 0 4px;
  border-style: solid;
  border-color: #F872D9 transparent transparent transparent!important;
}

.in2-answer-box-1::after {
  content: "";
  position: absolute;
  bottom: -63px;
  right: 60px;
  border-width: 59px 6px 4px 60px;
  border-style: solid;
  border-color: #F872D9 transparent transparent transparent;
}
.in2-answer-box {
  width: 85%;
  margin-left: auto;   /* 右寄せ */
  margin-right: 0;
  background-color: #fff;
  border-radius: 50px;
  border:solid 5px #F872D9;
  position: relative;
  z-index: 10;
}
.in2-message-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../images/in2-wave@4x.webp) no-repeat top / cover;
    z-index: 0;

}
.in2-message-scrol {
  color: #F872D9;
}
@media screen and (max-width: 969px) {
  .in2-balloon::after {
    content: "";
    position: absolute;
    bottom: -26px;
    left: 40px;
    border-width: 31px 30px 0 4px;
    
  }
  .in2-answer-box-1::after {
    content: "";
    position: absolute;
    bottom: -54px;
    right: 39px;
    border-width: 51px 7px 3px 57px;
    border-style: solid;
   
  }
  .in2-answer-box {
    border-radius: 5px;
  }
}


/*in3*/
.in3-fv {
  background-color: #F18A8A;
}
.in3-interview-people-name {
  width: 40%;
}
.in3-black-banner {
  color: #EA4D4D;
}
.in3-balloon {
  background-color: #EA4D4D;
}
.in3-qa-section {
  background-color: #F18A8A;
}
.in3-qa-section1 {
  background-color: #F18A8A;
}
.in3-qa-section2 {
  background-color: #F18A8A;
}
.in3-qa-section3 {
  background-color: #F18A8A;
}
.in3-message-section {
  background-color: #F18A8A;
}
/* 吹き出しの矢印 */
.in3-balloon::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: 40px;
  border-width: 46px 37px 0 4px;
  border-style: solid;
  border-color: #EA4D4D transparent transparent transparent!important;
}

.in3-answer-box-1::after {
  content: "";
  position: absolute;
  bottom: -63px;
  right: 60px;
  border-width: 59px 6px 4px 60px;
  border-style: solid;
  border-color: #EA4D4D transparent transparent transparent;
}
.in3-answer-box {
  width: 85%;
  margin-left: auto;   /* 右寄せ */
  margin-right: 0;
  background-color: #fff;
  border-radius: 50px;
  border:solid 5px #EA4D4D;
  position: relative;
  z-index: 10;
}
.in3-message-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../images/in3-wave@4x.webp) no-repeat top / cover;
    z-index: 0;

}
.in3-message-scrol {
  color: #EA4D4D;
}
@media screen and (max-width: 969px) {
  .in3-balloon::after {
    content: "";
    position: absolute;
    bottom: -26px;
    left: 40px;
    border-width: 31px 30px 0 4px;
    
  }
  .in3-answer-box-1::after {
    content: "";
    position: absolute;
    bottom: -54px;
    right: 39px;
    border-width: 51px 7px 3px 57px;
    border-style: solid;
   
  }
  .in3-answer-box {
    border-radius: 5px;
  }
}


/*in4*/
.in4-fv {
  background-color: #EAF18A;
}
.in4-interview-people-name {
  width: 40%;
}
.in4-black-banner {
  color: #DAE62D;
}
.in4-balloon {
  background-color: #DAE62D;
}
.in4-qa-section {
  background-color: #EAF18A;
}
.in4-qa-section1 {
  background-color: #EAF18A;
}
.in4-qa-section2 {
  background-color: #EAF18A;
}
.in4-qa-section3 {
  background-color: #EAF18A;
}
.in4-message-section {
  background-color: #EAF18A;
}
/* 吹き出しの矢印 */
.in4-balloon::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: 40px;
  border-width: 46px 37px 0 4px;
  border-style: solid;
  border-color: #DAE62D transparent transparent transparent!important;
}

.in4-answer-box-1::after {
  content: "";
  position: absolute;
  bottom: -63px;
  right: 60px;
  border-width: 59px 6px 4px 60px;
  border-style: solid;
  border-color: #DAE62D transparent transparent transparent;
}
.in4-answer-box {
  width: 85%;
  margin-left: auto;   /* 右寄せ */
  margin-right: 0;
  background-color: #fff;
  border-radius: 50px;
  border:solid 5px #DAE62D;
  position: relative;
  z-index: 10;
}
.in4-message-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../images/in4-wave@4x.webp) no-repeat top / cover;
    z-index: 0;

}
.in4-message-scrol {
  color: #DAE62D;
}
.in4-interview-people {
  width: 50%!important;
  max-width: 800px;
}
@media screen and (max-width: 969px) {
  .in4-balloon::after {
    content: "";
    position: absolute;
    bottom: -26px;
    left: 40px;
    border-width: 31px 30px 0 4px;
    
  }
  .in4-interview-people {
    width: 85%!important;
    max-width: 800px;
  }
  .in4-answer-box-1::after {
    content: "";
    position: absolute;
    bottom: -54px;
    right: 39px;
    border-width: 51px 7px 3px 57px;
    border-style: solid;
   
  }
  .in4-answer-box {
    border-radius: 5px;
  }
}
/* ページ全体で横スクロールを防ぐ */
body {
  overflow-x: hidden;
}
.popup-left, .popup-right {
  opacity: 0;
  transform: translateX(0);
  transition: all 0.9s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* 左から右 */
.popup-left {
  transform: translateX(-100px);
}
.popup-left.show {
  opacity: 1;
  transform: translateX(0);
}

/* 右から左 */
.popup-right {
  transform: translateX(100px);
}
.popup-right.show {
  opacity: 1;
  transform: translateX(0);
}