/* 共通 */
.section-title__inner {
  max-width: var(--layout-section-width);
  margin: 0 auto;
  padding: 0 3rem 4rem;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 2rem;
  color: var(--color-black);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-black);
  margin-bottom: 0;
}

.section-title__icon {
  display: inline-block;
  width: 36px;
  height: 17.229px;
  background-image: url(../../images/r2026/common/icon-1.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin: 0;
}

.breadcrumb {
  background-color: var(--color-white);
  padding: var(--breadcrumb-padding-desktop);
}

.breadcrumb__inner {
  max-width: var(--breadcrumb-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--breadcrumb-gap);
  font-size: var(--breadcrumb-font-size);
  line-height: var(--breadcrumb-line-height);
  color: var(--breadcrumb-text-color);
}

.breadcrumb__inner--recruit-top {
  max-width: 100%;
}

.recruit {
  width: 100%;
  padding-top: 4rem;
}

.page-inner {
  max-width: var(--layout-section-width);
  margin: 0 auto;
}

.recruit-kv {
  width: 100%;
  background-image: url(../../images/r2026/recruit/kv_recruit.webp);
  background-size: auto 137%;
  background-position: right center;
  background-repeat: no-repeat;
  position: relative;
}

.recruit-kv::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 55%;
  height: 100%;
  background-image: linear-gradient(90deg, #005bac 30%, #00478b 75%);
  clip-path: polygon(0 0, 77% 0%, 34% 100%, 0% 100%);
  z-index: 0;
}

.recruit-kv__img-parts {
  position: absolute;
  width: 14%;
  aspect-ratio: 16/9;
  opacity: 0;
  animation-name: blur-reveal;
  animation-duration: 1.3s;
  animation-fill-mode: both;
}

.recruit-kv__img-parts-1 {
  right: 8%;
  top: 15%;
  animation-delay: 0.8s;
}

.recruit-kv__img-parts-2 {
  right: 19%;
  top: 31%;
  animation-delay: 1.1s;
}

.recruit-kv__img-parts-3 {
  right: 8%;
  top: 47%;
  animation-delay: 1.4s;
}

.recruit-kv__inner {
  margin: 0 auto;
  padding-top: calc((120 / 1440) * 100vw);
  padding-bottom: calc((180 / 1440) * 100vw);
  padding-left: calc((70 / 1440) * 100vw);
}

.recruit__inner {
  max-width: var(--layout-section-width);
  margin: 0 auto;
  position: relative;
}

.recruit-kv__title {
  font-family: "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", "MS Mincho", serif;
  color: var(--color-white);
  line-height: 1.3;
  position: relative;
  z-index: 1;
  animation-name: blur;
  animation-duration: 1.3s;
  animation-fill-mode: forwards;
}

@keyframes blur {
  from {
    filter: blur(50px);
  }
}

@keyframes blur-reveal {
  0% {
    opacity: 0;
    filter: blur(50px);
  }

  10% {
    opacity: 1;
    filter: blur(50px);
  }

  100% {
    opacity: 1;
    filter: blur(0);
  }
}

.recruit-kv__title-top {
  margin-left: calc((70 / 1440) * 100vw);
}

.recruit-kv__title-medium {
  font-size: calc((48 / 1440) * 100vw);
  letter-spacing: 0.4em;
}

.recruit-kv__title-large {
  font-size: calc((76 / 1440) * 100vw);
  letter-spacing: 0.4em;
}

.recruit-kv__title-small {
  font-size: calc((40 / 1440) * 100vw);
  letter-spacing: 0.4em;
}

.recruit-kv__title--blue {
  color: var(--color-secondary);
}

.recruit-kv__link {
  position: absolute;
  left: 12%;
  bottom: 20%;
  z-index: 5;
}

.recruit-kv__link-button {
  font-size: calc((14 / 1440) * 100vw);
  display: inline-block;
  padding: 0 2em;
  color: var(--color-white);
  border-bottom: 1px solid var(--color-white);
  transition:
    color 0.3s ease,
    border-color 0.3s ease;
  position: relative;
}

.recruit-kv__link-button:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0; /* 下線に合わせて微調整 */
  width: 0;
  height: 0;

  /* 基準サイズ */
  --tri-w: 1em; /* 三角形の横幅（= border-left） */
  --tri-t: 0.4em; /* あとで角度ごとに上書き */
  --tri-b: 0; /* あとで角度ごとに上書き */

  border-top: var(--tri-t) solid transparent;
  border-bottom: var(--tri-b) solid transparent;
  border-left: var(--tri-w) solid currentColor;
}

.recruit-kv__link-button:hover {
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}

.recruit-kv__text {
  display: block;
  font-family: "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", "MS Mincho", serif;
  letter-spacing: 0.2em;
  line-height: 1;
}

.recruit-kv__text-suntoko {
  font-size: calc((100 / 1440) * 100vw);
  position: absolute;
  left: 22%;
  bottom: 17%;
  color: var(--color-white);
}

.recruit-kv__text-recruiting {
  font-size: calc((200 / 1440) * 100vw);
  color: var(--color-secondary);
  position: absolute;
  bottom: -4.5%;
  left: 4%;
  z-index: 1;
}

.recruit-kv__img {
  position: absolute;
  z-index: 0;
  left: 22%;
  bottom: -16%;
  width: 14%;
}

.recruit__accent {
  position: absolute;
  opacity: 0.9;
}

.recruit__accent-1 {
  left: 12%;
  bottom: -22%;
  width: 15%;
  z-index: 0;
}

.recruit__accent-2 {
  right: 12%;
  bottom: -50%;
  width: 30%;
  z-index: 0;
}

.recruit-card__img img.recruit__accent-3 {
  width: 60%;
  top: -32%;
  left: -15%;
  height: auto;
}

.recruit-card__img img.recruit__accent-4 {
  width: 60%;
  inset: auto;
  bottom: -46%;
  right: -20%;
  height: auto;
}

.breadcrumb--recruit {
  background-color: transparent;
}

.section--recruit {
  padding-top: calc((40 / 1440) * 100vw);
}

.recruit-columns {
  display: flex;
  flex-direction: column;
  gap: 8rem;
  padding-bottom: 8rem;
}

.recruit-card {
  --recruit-card-text-space: 5.1rem;
  display: flex;
  align-items: stretch;
  position: relative;
}

.recruit-card:hover {
  opacity: 0.8;
}

.recruit-card__content {
  background-image: linear-gradient(90deg, #005bac 30%, #00478b 75%);
  color: var(--color-white);
  position: relative;
  flex: 1 1 50%;
}

.recruit-card__img {
  flex: 1 1 50%;
  position: relative;
  width: 100%;
  min-height: 16rem;
  overflow: hidden;
}

.recruit-card__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 左右反転 */
.recruit-card--reverse {
  flex-direction: row-reverse;
}

.recruit-card__content-box {
  height: 100%;
}

.recruit-card__wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  padding: calc((120 / 1440) * 100%) 0;
  position: relative;
  z-index: 5;
  height: 100%;
}

.recruit-card__head {
  font-size: 1rem;
  font-weight: 400;
}

.recruit-card__text {
  font-size: 1rem;
  text-align: center;
}

.recruit-card__title {
  font-size: clamp(1.2rem, 1rem + 0.83vw, 2rem);
  font-weight: 400;
  margin-bottom: var(--recruit-card-text-space);
}

.recruit-card__btn {
  border: 1px solid var(--color-white);
  padding: 0.5rem 3rem;
  background-color: transparent;
  color: var(--color-white);
  margin-top: 0.5em;
}

@media (max-width: 768px) {
  .breadcrumb--recruit {
    padding: var(--breadcrumb-padding-mobile);
  }

  .recruit {
    padding-top: calc((100 / 768) * 100vw);
  }

  .recruit-kv {
    min-height: clamp(36rem, 130vw, 40rem);
    background-size: cover;
    background-position: 62% center;
    overflow: hidden;
    background-image: url(../../images/r2026/recruit/kv_recruit-sp.webp);
  }

  .recruit-kv::before {
    inset: auto 0 0 0;
    width: 100%;
    height: 40%;
    clip-path: polygon(0 27%, 100% 0, 100% 100%, 0 100%);
  }

  .recruit-kv__img-parts {
    position: absolute;
    width: 30%;
    aspect-ratio: 16/9;
  }

  .recruit-kv__img-parts-1 {
    right: 8%;
    top: 10%;
  }

  .recruit-kv__img-parts-2 {
    right: 19%;
    top: 24%;
  }

  .recruit-kv__img-parts-3 {
    right: 8%;
    top: 38%;
  }

  .recruit-kv__inner {
    padding: clamp(12.5rem, 55vw, 16.5rem) 1.25rem 14.5rem;
  }

  .recruit-kv__title {
    line-height: 1.2;
  }

  .recruit-kv__title-top {
    margin-left: 0.8em;
  }

  .recruit-kv__title-medium {
    font-size: clamp(1.8rem, 7.5vw, 3rem);
  }

  .recruit-kv__title-large {
    font-size: clamp(2.4rem, 10.5vw, 4rem);
  }

  .recruit-kv__title-small {
    font-size: clamp(1.4rem, 6vw, 2.2rem);
  }

  .recruit-kv__link {
    left: 3%;
    bottom: 27%;
  }

  .recruit-kv__link-button {
    font-size: 0.9rem;
  }

  .recruit-kv__text {
    letter-spacing: 0.08em;
  }

  .recruit-kv__text-suntoko {
    font-size: clamp(2.3rem, 14vw, 6rem);
    left: 3%;
    bottom: 14%;
  }

  .recruit-kv__text-recruiting {
    font-size: clamp(2.4rem, 16vw, 10rem);
    left: 3%;
    bottom: 0;
  }

  .recruit-kv__img {
    left: auto;
    right: 0.75rem;
    bottom: 1.25rem;
    width: min(35vw, 11rem);
  }

  .recruit-kv .recruit__accent-1,
  .recruit-kv .recruit__accent-2 {
    display: none;
  }

  .section--recruit {
    padding-top: 0;
  }
  .section-title__inner {
    padding: 0 2rem var(--layout-padding-mobile);
  }

  .recruit-list {
    display: flex;
    flex-direction: column;
  }

  .recruit-card {
    --recruit-card-text-space: 4.65rem;
    flex-direction: column;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .recruit-card__text {
    font-size: 0.875rem;
  }

  .recruit-card__img {
    min-height: 20rem;
  }

  .recruit-card__img--about {
    min-height: 10rem;
  }
}
