@charset "utf-8";
/* Page MV
----------------------------------------------------------------------------------------------------*/
.mv-page {
  position: relative;
  height: 70rem;
  padding-top: 10rem;
}
.mv-page__text {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  width: min(45%, 89rem);
  /* ←追加 */
  margin-top: 18rem;
  color: #fff;
  text-align: left;
}
.mv-page__text p {
  text-align: justify;
  font-size: clamp(1.8rem, 3vw, 2rem);
  font-weight: 500;
  margin: 0;
}
.mv-page__item {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translate(-5%, -50%);
  height: min(80%, 29.5rem);
  width: min(45%, 73.5rem);
  margin: 0 auto;
}
/* 枠 */
.mv-page__item::before, .mv-page__item::after {
  content: "";
  position: absolute;
  display: inline-block;
  width: 10rem;
  height: 10rem;
}
.mv-page__item::before {
  top: 0;
  left: 0;
  border-left: solid 3rem #ff6d00;
  border-top: solid 3rem #ff6d00;
}
.mv-page__item::after {
  bottom: 0;
  right: 0;
  border-right: solid 3rem #ff6d00;
  border-bottom: solid 3rem #ff6d00;
}
/* TITLE */
.mv-title {
  display: flex;
  align-items: center;
  justify-content: center;
  height: min(100%, 29.5rem);
}
.mv-title h2 {
  color: #fff;
  font-size: clamp(3.2rem, 3vw, 5rem);
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
}
.mv-title h2 span {
  margin: 0 0 3rem 2.5rem;
  padding-left: 2.5rem;
  border-left: 1px solid #fff;
  color: #4dcee5;
  font-family: "Lexend", sans-serif;
  font-size: clamp(4rem, 3vw, 6.2rem);
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}
/* TABLET */
@media screen and (max-width: 1023px) {
  .mv-page {
     height: 60rem; 
  }
  .mv-page__text {
    top: 65%;
    right: 2%;
    transform: translateY(-65%);
    width: 42%;
    margin-top: 0;
  }
  .mv-page__item {
    height: min(30%, 29.5rem);
    width: 50%;
  }
  .mv-page__item::before, .mv-page__item::after {
    width: 5rem;
    height: 5rem;
  }
  .mv-page__item::before {
    border-left-width: 1.5rem;
    border-top-width: 1.5rem;
  }
  .mv-page__item::after {
    border-right-width: 1.5rem;
    border-bottom-width: 1.5rem;
  }
  .mv-title {
    width: 90%;
    margin: 0 auto;
    padding: 3.5rem 0;
  }
}
/* MOBILE */
@media screen and (max-width: 767px) {
  .mv-page__text {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    transform: translateY(-30%);
    width: max(33rem, 75%);
    margin: 0 auto;
  }
  .mv-page__item {
    top: 38%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: min(80%, 20.5rem);
    width: max(33rem, 75%);
  }
  .mv-title {
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 5rem 0;
  }
  .mv-title h2 {
    font-size: 3.2rem;
    text-align: center;
  }
  .mv-title h2 span {
    display: block;
    margin: 1.5rem 0 0;
    padding: 1rem 0 0;
    border-left: none;
    border-top: 1px solid #fff;
    font-size: 4rem;
    text-align: center;
  }
}
/* Page Title
----------------------------------------------------------------------------------------------------*/
.mv-page__title {
  position: absolute;
  top: 50%;
  right: 15%;
  transform: translateY(-50%);
  display: inline-block;
  /* ← 幅を文字分に */
  width: auto;
  /* 念のため */
  margin: 14rem auto 0;
  color: #fff;
  text-align: right;
  font-size: clamp(3.6rem, 3vw, 6.2rem);
  font-family: "Lexend", sans-serif;
  font-weight: 200;
  white-space: nowrap;
}
.mv-page__title h3 {
  /* margin-top: 1rem; */
  margin-top: 0.37rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
}
/* TABLET */
@media screen and (max-width: 1023px) {
  .mv-page__title {
    margin: 5rem auto 0;
  }
}
/* MOBILE */
@media screen and (max-width: 767px) {
  .mv-page__title {
     position: absolute; 
    /*position: relative;*/
    top: 71%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    display: inline-block;
    /* ← 幅を文字分に */
    width: auto;
    /* 念のため */
    text-align: right;
    /* ← ブロック内右寄せ */
    white-space: nowrap;
    /* 改行させない場合 */
  }
  .mv-page__title h3 {
    margin-top: 1rem;
  }
}
/* Page Container
----------------------------------------------------------------------------------------------------*/
.wrap {
  width: 100%;
  background: url("../recruit/img/mv-recruit__pc.jpg") 0 0 no-repeat;
  background-size: cover;
}
.wrap-page {
  position: relative;
  width: 100%;
  z-index: 0;
}
.wrap-page::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 70rem;
  margin-top: 0;
  background: url("../recruit/img/mv-recruit__pc.jpg") center top / cover no-repeat;
  z-index: -1;
}
.container {
  width: 100%;
  /* padding-top: 23rem; */
}
.contents {
  width: min(90%, 151rem);
  margin: 0 auto 5rem;
  text-align: left;
  font-feature-settings: "palt"1;
  -webkit-text-size-adjust: 100%;
}
/* TABLET */
@media screen and (max-width: 1023px) {
  .wrap-page::before {
    height: 50rem;
  }
}
/* MOBILE */
@media screen and (max-width: 767px) {
  .wrap {
    width: 100%;
    background: url("../recruit/img/mv-recruit__sp.jpg") 0 10rem no-repeat;
    background-size: cover;
  }
  .wrap-page::before {
    height: 50rem;
    background-image: url("../recruit/img/mv-recruit__sp.jpg");
  }
}
/* Breadcrumbs
----------------------------------------------------------------------------------------------------*/
.breadcrumbs ul.color-white li {
  color: #FFF;
}
/* r-card-nav 回遊ボタン
----------------------------------------------------------------------------------------------------*/
.r-card-nav {
  display: flex;
  flex-wrap: wrap;
  padding-right: 2.6%;
  padding-left: 2.6%;
  margin-bottom: 19rem;
}
.r-card__item {
  position: relative;
  width: calc(100% / 3);
  padding-bottom: calc(360 / 1920 * 100%);
  overflow: hidden;
  background: #000;
  /* 隙間が出ても目立たない */
}
/* リンク全体 */
.r-card__item a {
  position: absolute;
  inset: 0;
  display: block;
}
/* 画像基本設定 */
.r-card__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* GPU最適化 */
  transform: scale(1.01);
  will-change: transform, filter;
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
/* ホバーしてないものを暗く */
.r-card-nav:hover .r-card__item:not(:hover) img {
  filter: brightness(55%);
}
/* ホバー画像 */
.r-card__item:hover img {
  transform: scale(1.14);
  filter: brightness(100%);
}
.r-card__item h3 {
  position: absolute;
  top: 43%;
  right: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 4.75rem;
  width: 25.1rem;
  background: rgba(0, 54, 131, 0.7);
  color: #FFF;
  font-size: 2rem;
  font-weight: 700;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.r-card__item:hover h3 {
  transform: translateY(-4px);
}
/* TABLET */
@media screen and (max-width: 1023px) {
  .r-card__item h3 {
    top: 35%;
    height: 4rem;
    width: 20rem;
    font-size: 1.8rem;
  }
}
/* MOBILE */
@media screen and (max-width: 767px) {
  .r-card-nav {
    flex-direction: column;
    padding: 0 3.0rem;
    margin-bottom: 11.5rem;
  }
  .r-card__item {
    width: 100%;
    padding-bottom: 56.06%;
    margin-bottom: 0;
  }
  .r-card__item h3 {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 4.7rem;
    width: 66.36%;
    /* カンプ指定値 */
    font-size: 1.6rem;
    background: rgba(0, 54, 131, 0.8);
  }
}