.RecruitTop {
  padding-top: 200px;
  padding-bottom: 100px;
  font-size: 3em;
  display: flex;
  justify-content: center;
  align-items: center;
}


.Recruitlogo {
  flex: 0 1 auto;
  max-width: 40%;
  margin-right:15px;
}


.RECRUIT img,
.Recruitlogo img {
  max-width: 100%;
  height: auto;
  display: block;
}


.Recruitlogo img {
  opacity: 0.3;
}


.RECRUIT{
    margin-right:15px;
}


/* ジャンプボタン */

#internRecruit {
  scroll-margin-top: 90px;
}

.recruit-jump-area {
  text-align: center;
  margin-bottom: 150px;
}

.recruit-jump {
  display: inline-block;
  padding: 12px 34px;

  color: #000;
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: bold;
  font-size: 18px;


  background: linear-gradient(to bottom,
      #eff9cf 0%,
      #fff84d 45%,
      #ffe600 100%);

  border-radius: 999px;

  box-shadow:
    0 3px 8px rgba(0, 0, 0, .18);

  transition: .25s ease;
}

.recruit-jump:hover {
  transform: translateY(2px);
  box-shadow:
    0 2px 0 #d6c800,
    0 4px 8px rgba(0, 0, 0, .2);
}






/* 最初の５行 */

.recruit-list {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 820px;

  margin: 0 auto;
}


 

/* 最初は完全に非表示＋右側に待機 */
.recruit-list li {
  color: #fff;
  font-weight: 800;
  font-size: clamp(13px, 1.7vw, 20px);
  line-height: 1.3;
  margin-bottom: 0.8em;
  text-align: center;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);

  opacity: 0;
  transform: translateX(80px);

  transition:
    opacity 0.55s ease-out,
    transform 0.55s ease-out;
}

/* showが付いて初めて表示 */
.recruit-list.fade-section.show li {
  opacity: 1;
  transform: translateX(0);
}

/* 1行ずつ時間差 */
.recruit-list.fade-section.show li:nth-child(1) {
  transition-delay: 0s;
}

.recruit-list.fade-section.show li:nth-child(2) {
  transition-delay: 0.3s;
}

.recruit-list.fade-section.show li:nth-child(3) {
  transition-delay: 0.6s;
}

.recruit-list.fade-section.show li:nth-child(4) {
  transition-delay: 0.9s;
}

.recruit-list.fade-section.show li:nth-child(5) {
  transition-delay: 1.2s;
}



.recruit-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;

  width: 100%;
  padding: 80px 8%;

  background: linear-gradient(135deg,
      #560fc0 0%,
      #5f46b8 50%,
      #9783cf 100%);
}

/* 左上から動く大きめの光 */
.recruit-hero::before {
  content: "";
  position: absolute;
  z-index: 0;

  width: 55vw;
  height: 55vw;
  top: -30vw;
  left: -15vw;

  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(255, 255, 255, 0.34) 0%,
      rgba(255, 255, 255, 0.14) 30%,
      transparent 68%);

  filter: blur(8px);
  animation: lightMove1 11s ease-in-out infinite alternate;
  pointer-events: none;
}

/* 右下から動く小さめの光 */
.recruit-hero::after {
  content: "";
  position: absolute;
  z-index: 0;

  width: 42vw;
  height: 42vw;
  right: -12vw;
  bottom: -22vw;

  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(255, 255, 255, 0.28) 0%,
      rgba(255, 255, 255, 0.1) 32%,
      transparent 68%);

  filter: blur(10px);
  animation: lightMove2 14s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes lightMove1 {
  from {
    transform: translate(-5%, -5%) scale(1);
  }

  to {
    transform: translate(75%, 45%) scale(1.2);
  }
}

@keyframes lightMove2 {
  from {
    transform: translate(5%, 5%) scale(1);
  }

  to {
    transform: translate(-90%, -55%) scale(1.25);
  }
}






/* 小文字メッセージ */

.recruit-message {
  width: 100%;
  padding: 30px 0;
  color: #fff;
}

.message-block {
  width: 100%;
  max-width: 820px;
  margin: 0px auto;

  font-size: clamp(13px, 1.7vw, 20px);
  font-weight: 500;
  line-height: 1.3;
}

.message-block:last-child {
  margin-bottom: 0;
}

.message-block p {
  margin-bottom: 1.2em;
}

.message-block p:last-child {
  margin-bottom: 0;
}


.fade-up {
  opacity: 0;
  transform: translateY(45px);

  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}








/* フレックスボックス部分 */
.recruit-entry-area {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 5% 30px;

  display: flex;
  flex-direction: column;
  gap: 10px;
}

.recruit-entry-card {
  width: 100%;
  min-height: 330px;
  padding: 55px 30px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;

  text-align: center;
}

.recruit-entry-card h2 {
  color: #000;
}

.recruit-entry-card--intern {
  background: #f7f7f7;
}

.recruit-entry-card--career {
  background: rgba(255, 255, 255, 0.38);
}

.recruit-entry-card h2 {
  margin: 0 0 4px;
  font-size: clamp(24px, 2.2vw, 36px);
  line-height: 1.4;
}

.entry-detail-button,
.entry-form-button {
  width: min(440px, 100%);
  min-height: 64px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: none;
  font: inherit;
  font-size: clamp(19px, 1.8vw, 28px);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.entry-detail-button {
  color: #fff;
  background: #000;
}

.entry-form-button {
  color: #000;
  background: linear-gradient(to bottom,
      #eff6b4 0%,
      #f5ff55 45%,
      #fff200 100%);
  border-radius: 999px;
}

.entry-detail-button--career,
.entry-form-button--career {
  color: #fff;
  background: #6f6687;
}


.excuse{
  font-family:sans-serif;
  color: #fff;
  font-size: clamp(9px, 1.8vw, 16px);
}



/* モーダル部分 */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;

  padding: 5vh 20px;
  overflow: hidden;
}

.modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.modal-content {
  position: relative;
  z-index: 1;

  width: min(780px, 90%);
  height: 80vh;
  max-height: 800px;

  background: #fff;
  overflow: hidden;
}

.modal-inner {
  width: 100%;
  height: 100%;

  padding: 50px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.modal-inner h2 {
  margin-bottom: 25px;
  text-align: center;
  color: #000;
}


.modal-lead {
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.8;
}

.modal-inner h3 {
  margin: 30px 0 15px;
  padding: 8px 10px;
  color: #ffffff;
  background-color: #555555;
  font-size: 16px;
}

.modal-text {
  line-height: 1.8;
  color: #000;
}

.modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 10;

  width: 36px;
  height: 36px;

  border: none;
  color: #fff;
  background: #000;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

body.modal-opened {
  overflow: hidden;
}

/* モーダル内のエントリーボタン */

.modal-entry-button {
  display: flex;
  justify-content: center;
  align-items: center;

  width: min(420px, 100%);
  height: 64px;

  margin: 30px auto 10px;

  color: #000;
  text-decoration: none;
  font-weight: 800;
  font-size: 26px;

  border-radius: 999px;

  background: linear-gradient(to bottom,
      #eef5b3 0%,
      #f6ff53 45%,
      #fff100 100%);

  box-shadow:
    0 6px 18px rgba(0, 0, 0, .18);

  transition: .25s;
}

.modal-entry-button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, .22);
}






@media (max-width: 767px) {

  .recruit-hero {
    padding: 55px 7%;
  }
   .recruit-list {
    padding-inline: 16px;
  }

  .recruit-list li {
     font-size: clamp(14px, 4vw, 18px);
    transform: translateX(35px);
  }

  .recruit-hero::before {
    width: 100vw;
    height: 100vw;
    top: -45vw;
    left: -45vw;
  }

  .recruit-hero::after {
    width: 85vw;
    height: 85vw;
    right: -45vw;
    bottom: -35vw;
  }




  .recruit-message {
    padding: 55px 7%;
  }

  .message-block {
    margin-bottom: 65px;

    font-size: clamp(14px, 4vw, 18px);
    line-height: 1.9;
  }

  .message-block p {
    margin-bottom: 1.4em;
  }

  /* .message-block br {
    display: none;
  } */

  .fade-up {
    transform: translateY(30px);
    transition-duration: 0.65s;
  }





  .recruit-entry-area {
    padding: 32px 16px 50px;
    gap: 16px;
  }

  .recruit-entry-card {
    min-height: 0;
    padding: 32px 18px;
    gap: 12px;
  }

  .recruit-entry-card h2 {
    font-size: 18px;
  }

  .entry-detail-button,
  .entry-form-button {
    width: min(280px, 100%);
    min-height: 42px;
    font-size: 15px;
  }







  .modal {
    padding: 0;
  }

  .modal.is-open {
    display: block;
  }

  .modal-overlay {
    display: none;
  }

  .modal-content {
    width: 100%;
    height: 100dvh;
    max-height: none;
  }

  .modal-inner {
    height: 100%;
    padding: 60px 20px 40px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .modal-close {
    position: fixed;
    top: 10px;
    right: 10px;
  }

  .modal-entry-button {

    width: 100%;
    max-width: 300px;

    height: 50px;

    font-size: 18px;

    margin: 24px auto 10px;

  }
}




@media (max-width: 600px) {
  .recruit-list li {
    font-size: 11px;
  }

    .message-block {
    font-size: 11px;
    line-height: 1.8;
  }

}