/*****************************************
*
* recruit
*
******************************************/


/* catchcopy --------------------------------*/
.recruit-contents .catchcopy {
  color: var(--color-main);
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 2;
  margin-bottom: 30px;
}

@media screen and (max-width: 540px) {
  .recruit-contents .catchcopy {
    text-align: left;
  }
}

@media screen and (min-width: 834px), print {
  .recruit-contents .catchcopy {
    font-size: 2rem;
    margin-bottom: 60px;
  }
}

/* box --------------------------------*/

@media screen and (min-width: 1024px), print {
  .recruit-contents .box {
    display: grid;
    grid-template-columns: calc(calc(640 / 1580) * 100vw) 1fr;
    column-gap: calc(calc(100 / 1580) * 100vw);
  }

  .recruit-contents.reverse .box {
    direction: rtl;
  }

  .recruit-contents.reverse .box>* {
    direction: ltr;
  }
}

@media screen and (min-width: 1580px), print {
  .recruit-contents .box {
    grid-template-columns: 640px 1fr;
    column-gap: 100px;
  }
}

/* 画像 --------------------------------*/
.recruit-contents .box figure img {
  width: 100%;
}

@media screen and (max-width: 1023px) {
  .recruit-contents .box figure {
    max-width: 500px;
    margin: 0 auto;
    margin-bottom: 20px;
  }
}

/* テキスト --------------------------------*/
.recruit-contents .box .text {
  font-size: 1rem;
  line-height: 2;
}

@media screen and (min-width: 1240px), print {
  .recruit-contents .box .text {
    font-size: 1.1rem;
  }
}


/* 動画 --------------------------------*/
.recruit-movie .video_wrapper {
  position: relative;
  width: 100%;
  max-width: 960px;
  height: auto;
  overflow: hidden;
  margin: 0 auto;
}

.recruit-movie .video_wrapper>video {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
  aspect-ratio: 192/108;
}
