@charset "UTF-8";

html {
    scroll-behavior: smooth;
}

img {
    width: 100%;
}

p {
    font-weight: 300;
    font-size: 15px;
    line-height: 175%;
    letter-spacing: 2.5%;
}

@media (max-width: 768px) {
    p {
        font-size: 14px;
    }
}


/* ------KV------ */
.page-kv--job {
    background: url('/recruit/careers/jobs/img/kv.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}


/* ------メインコンテンツ------ */
#page-job {
    background-color: var(--color-base);
    font-family: var(--font-gothic);
    overflow-x: clip;
}

.main__inner {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    border-right: 1px solid #d9d9d9;
    border-left: 1px solid #d9d9d9;
    padding-bottom: 142px;
}

.main__read {
    font-size: 17px;
    font-weight: 600;
    line-height: 2;
    letter-spacing: 2.5%;
    color: var(--color-text);
    padding-top: 72px;
    padding-bottom: 120px;
}

/* ------アンカーリンク------ */
.category-title {
    font-weight: 600;
    font-size: 25px;
    line-height: 125%;
    letter-spacing: 2.5%;
    color: var(--color-text2);
    margin-bottom: 24px;
}

.category-text {
    font-size: 16px;
    margin-bottom: 50px;
}

.anker-link__list {
    display: flex;
    justify-content: center;
}

.anker-link__item a {
    display: block;
    width: 244px;
    height: 58px;
    background-color: #ffffff;
    font-weight: 600;
    font-size: 17px;
    letter-spacing: 2.5%;
    color: var(--color-text2);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    --arrow-inner-color: #ffffff;
}

.anker-link__item:first-child a {
    border-right: solid 1px #ECECEC;
}

.anker-link__item a:hover {
    background-color: var(--color-main);
    color: #ffffff;
    opacity: 1;
    --arrow-inner-color: var(--color-main);
}

.anker-link__item a:hover img {
    filter: brightness(0) invert(1);
}

.arrow-icon {
    width: 18px;
    height: 18px;
}

/* ------セクションタイトル------ */
.section__title-area {
    width: 90%;
    max-width: 980px;
    display: flex;
    align-items: end;
    margin: 0 auto;
}

.section__title {
    color: var(--color-text2);
    font-weight: 600;
    font-size: 41px;
    line-height: 125%;
    letter-spacing: 2.5%;
    white-space: nowrap;
    gap: 8px;
    position: relative;

}

.section__title::before {
    content: url('../img/section__title.svg');
    position: absolute;
    bottom: -5px;
    left: -35px;

}

.section__border {
    flex: 1;
    border-bottom: solid 1px var(--color-text);
    width: 100%;
    min-width: 20px;
}

.section__en-title {
    font-family: var(--font-sansSerif);
    font-weight: 700;
    font-style: Bold;
    font-size: 20px;
    line-height: 125%;
    color: var(--color-text2);
    padding-left: 8px;
}


/* ------エンジニア系------ */
.engineer {
    padding-top: 120px;
}

.job__contents {
    width: 90%;
    max-width: 980px;
    margin: 69px auto 48px;
}

.job__contents__read {
    display: flex;
    align-items: center;
    gap: 50px;

}

.job__contents__read img {
    max-width: 310px;

}

.job__contents__read-title {
    font-weight: 600;
    font-size: 23px;
    line-height: 150%;
    letter-spacing: 2.5%;
    color: var(--color-text);
    margin-bottom: 9px;
}

.job__content {
    background-color: #ffffff;
    margin-top: 48px;
    padding: 12px 45px 48px 45px;
}

.job__content__item {
    padding-bottom: 24px;
    border-bottom: solid 1px var(--color-secondary);
}
.job__content__item:last-child {
    border-bottom: none;
}

.job__content__title {
    border-left: solid 9px var(--color-main);
    padding-left: 11px;
    font-weight: 600;
    font-size: 23px;
    line-height: 125%;
    letter-spacing: 2.5%;
    margin: 38px 0 12px;
}

.job__content__link {
    display: block;
    text-align: end;
    font-weight: 600;
    font-size: 12px;
    line-height: 125%;
    letter-spacing: 2%;
    color: var(--color-text2);
    margin-top: 14px;
}

.job__content__link::after {
    content: url('../img/arrow.svg');
    margin-left: 7px;
}

.job__content__link:hover {
    opacity: 1;
    text-decoration: underline;
}

.business {
    padding-top: 120px;
}


@media (max-width: 768px) {
    .page-kv--job {
        background: url('/recruit/careers/jobs/img/kv-sp.webp');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: 100%;
        background-position: center;
    }

    .main__inner {
        padding-bottom: 27px;
    }

    .main__read {
        font-size: 15px;
        padding: 38px 0 60px;
    }

    /* ------アンカーリンク------ */
    .category-title {
        font-size: 19px;
        margin-bottom: 15px;
    }

    .category-text {
        font-size: 15px;
        margin-bottom: 40px;
        text-align: start;
        padding: 0 15px;
    }

    .anker-link__list {
        gap: 3px;
        flex-wrap: wrap;
    }

    .anker-link__item a {
        width: 178.5px;
        height: 47px;
        background-color: var(--color-main);
        color: #ffffff;
        opacity: 1;
        --arrow-inner-color: var(--color-main);
        font-size: 14px;
        gap: 20px;
    }

    .arrow-icon {
        width: 14px;
        height: 14px;
    }

    .section__title-area {
        padding-left: 15px;
    }

    .section__title {
        font-size: min(6.92vw, 27px);
    }

    .section__title::before {
        content: url('../img/section__title-sp.svg');
        position: absolute;
        bottom: -3px;
        left: -20px;
    }

    .section__en-title {
        font-size: 14px;
        padding-left: 6px;
    }

    /* ------ジョブ------ */
    .engineer {
        padding-top: 75px;
    }

    .job__contents {
        margin: 20px auto 48px;
    }

    .job__contents__read {
        flex-direction: column;
        gap: 40px;
    }

    .job__contents__read-title {
        font-size: 18px;
    }

    .job__content {
        margin-top: 35px;
        padding: 4px 25px 32px;
    }

    .job__content__item {
        padding-bottom: 23px;
    }

    .job__content__title {
        border-left: solid 5px var(--color-main);
        padding-left: 6px;
        font-size: 19px;
        margin: 28px 0 12px;
    }

    .job__content__link {
        margin-top: 12px;
    }

    .business {
        padding-top: 75px;
    }

    .job__contents__read img {
        max-width: 100%;
    }

}