/* ========================================
キービジュアル
======================================== */
.recruit-kv {
  position: relative;
  height: 615px;
  margin-bottom: 100px;
}
.recruit-kv img {
  width: 77%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin-left: auto;
}
.recruit-kv__copy {
    position: absolute;
    bottom: 20px;
}
.recruit-kv__lead {
    color: #fff;
    background: rgba(0, 144, 159, 0.6);
    font-size: 29px;
    font-weight: 600;
    padding: .5em .5em .5em 0;
    margin-bottom: 1.5em;
    display: inline-block;
    position: relative;
}
.recruit-kv__lead::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -100vw;
  width: 100vw;
  background: rgba(0, 144, 159, 0.6);
  z-index: -1;
}
.recruit-kv__lead::after {
  content: "";
  position: absolute;
  bottom: .8em;
  left: -101vw;
  width: 100vw;
  height: 1px;
  background: #fff;
  z-index: -1;
}
.recruit-kv__text span {
    display: inline-block;
    background: #fff;
    font-size: 18px;
    margin-bottom: .5em;
}

/* ========================================
事業内容
======================================== */
.gallery {
    margin-bottom: 100px;
}
.gallery__title span {
    display: block;
    line-height: 1;
}
.gallery__title--ja {
    font-size: 25px;
    font-weight: 400;
}
.gallery__title--en {
    font-family: "Raleway", sans-serif;
    font-size: 14px;
    font-weight: 400;
    margin: .5em 0 1.5em;
}
.gallery__list {
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: clamp(15px, 2.0833vw, 25px);
}
.gallery__list img {
    height: clamp(185px, 34.375vw, 440px);
    object-fit: cover;
}
.gallery__img--01,
.gallery__img--04 {
    width: 55%;
}
.gallery__img--02,
.gallery__img--03 {
    width: 43%;
}

/* ========================================
募集要項
======================================== */
.job-detail__section {
  scroll-margin-top: calc(var(--header-height) + 20px);
  margin-bottom: 140px;
}
.job-detail {
    margin-bottom: 170px;
}
.job-detail__title {
    font-size: 25px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 1em;
}
.job-detail__links {
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    gap: 8.5%;
    margin-bottom: 5em;
}
.job-detail__links a {
  display: flex;
  align-items: center;
  gap: 0.35em;
  position: relative;
  transition: color .5s ease;
}
.job-detail__links .arrow {
    width: 1em;
    height: 1em;
}
.job-detail__links a:hover {
    color: #00909F;
}
.job-detail h3 {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    color: #00909f;
}
.job-detail__item {
    display: flex;
    font-size: 15px;
    font-weight: 400;
    border-bottom: 2px solid #BFE3E7;
    padding: 2.1em 0;
    line-height: 1.85;
}
.job-detail__item:first-child {
    border-top: 2px solid #BFE3E7;
}
.job-detail__item dt {
    width: 10em;
    color: #00909f;
}
.job-detail__item dd {
    flex: 1;
}
.job-detail__item p:not(:last-child) {
    margin-bottom: 1em;
}
.job-detail__note {
    margin-top: 4em;
}
.job-detail__btn {
    margin: 3.8em auto 0;
}
/* 募集停止中の応募ボタン（リンクなし・グレーアウト） */
.job-detail__btn.is-disabled,
.job-detail__btn.is-disabled:hover {
    background: #ccc;
    color: #fff;
    border: none;
    cursor: not-allowed;
}
.job-detail__btn.is-disabled::after,
.job-detail__btn.is-disabled:hover::after {
    transform: none;
}
.job-detail__closed {
    margin-top: 1.2em;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    color: #888;
}
.job-detail__partner {
    font-size: 15px;
    font-weight: 400;
    border-top: 2px solid #BFE3E7;
    border-bottom: 2px solid #BFE3E7;
    padding: 2.1em 0;
    line-height: 1.85;
}
.job-detail__partner p:not(:last-child) {
    margin-bottom: 1em;
}

/* メディアクエリ */
@media screen and (max-width: 1280px) {
    /* ========================================
    キービジュアル
    ======================================== */
    .recruit-kv {
        padding-right: 0;
        height: 48.046875vw;
        margin-bottom: 7.8125vw;
    }
    .recruit-kv__copy {
        bottom: 1.5625vw;
    }
    .recruit-kv__lead {
        font-size: 2.265625vw;
    }
    .recruit-kv__text span {
        font-size: 1.40625vw;
    }
}

/* メディアクエリ */
@media screen and (max-width: 768px) {
    /* ========================================
    キービジュアル
    ======================================== */
    .recruit-kv {
        height: 375px;
        margin-bottom: 30px;
    }
    .recruit-kv.container {
        padding: 0;
    }
    .recruit-kv img {
        width: 100%;
    }
    .recruit-kv__copy {
        bottom: 25px;
    }
    .recruit-kv__lead {
        font-size: 20px;
        padding: 3px 8px 3px 50px;
        margin-bottom: 10px;
    }
    .recruit-kv__lead::before {
    content: none;
    }
    .recruit-kv__lead::after {
    bottom: initial;
    top: 20px;
    left: 0;
    width: 46px;
    z-index: 1;
    }
    .recruit-kv__text {
        margin-left: 24px;
    }
    .recruit-kv__text span {
        font-size: 12px;
        margin-bottom: .6px;
        padding-left: 5px;
    }
    
    /* ========================================
    事業内容
    ======================================== */
    .gallery {
        margin-bottom: 50px;
    }
    .gallery__title--ja {
        font-size: 20px;
    }
    .gallery__title--en {
        font-size: 14px;
        margin-bottom: 15px;
    }
    .gallery__list {
        row-gap: 15px;
    }
    .gallery__list img {
        height: auto;
    }
    .gallery__img--01,
    .gallery__img--04 {
        width: 100%;
        aspect-ratio: 343 / 185;
    }
    .gallery__img--02,
    .gallery__img--03 {
        width: 47.8%;
        aspect-ratio: 164 / 130;
    }
    
    .job-detail,
    .job-detail__section {
        margin-bottom: 100px;
    }
    .job-detail__title {
        font-size: 20px;
    }
    .job-detail__links {
        font-size: 10px;
        gap: 30px;
        margin-bottom: 50px;
    }
    .job-detail h3 {
        font-size: 17px;
    }
    .job-detail__item {
        font-size: 12px;
        padding: 16px 20px;
    }
    .job-detail__item dt {
        width: 100px;
    }
    .job-detail__item dd .note {
        display: block;
        font-size: 10px;
    }
    .job-detail__note {
        font-size: 10px;
        margin-top: 10px;
    }
    .job-detail__btn {
        margin: 25px auto 0;
    }
    .job-detail__closed {
        font-size: 12px;
    }
    .job-detail__partner {
        font-size: 12px;
        padding: 16px 20px;
    }
}