@charset "utf-8";

.job {
    padding: 16px 0 48px;
}

.job__title {
    text-align: center;
}

.job__intro {
    display: inline-block;
    text-align: left;
}

.job__list {
    display: grid;
    row-gap: 24px;
    margin-top: 33px;
}

.job__item {
    border: 3px solid var(--color_primary_blue);
}

.job__inner {
    display: flex;
    align-items: center;
    height: 100%;
}

.job__photo {
    display: flex;
    width: calc(170 / 339 * 100%);
    height: 100%;
    background-color: var(--color_secondary_gray);
}

.job__photo img {
    height: 100%;
}

.job__body {
    flex-shrink: 0;
    flex-grow: 1;
    padding: 0 4.425%;
}

.job__name {
    position: relative;
    padding-left: 10px;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
}

.job__name::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 3px;
    height: 1.11em;
    background-color: var(--color_primary_blue);
}

.job__box {
    margin: 4px 0 0 10px;
}

.job__text {
    font-size: 12px;
    line-height: calc(20 / 12);
}

.job_btnArea {
    margin-top: 20px;
}

.job_btn {
    max-width: 180px;
}

.job_btn::after {
    margin-bottom: 0.25em;
    width: 23px;
    height: 8px;
}

.job_btn__body {
    max-width: 120px;
}

@media screen and (min-width:768px) {
    .job {
        padding: 33px 0 100px;
    }

    .job__title {
        font-size: 20px;
        line-height: calc(36 / 20);
    }

    .job__intro {
        text-align: center;
    }

    .job__list {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 49px;
        column-gap: 30px;
        margin-top: 49px;
    }

    .job__photo {
        width: calc(186 / 374 * 100%);
    }

    .job__body {
        padding: 0 4.477%;
    }

    .job__name {
        padding-left: 11px;
        font-size: 20px;
    }

    .job__name::after {
        content: "";
        height: 1.15em;
    }

    .job__box {
        margin-top: 5px;
    }

    .job__text {
        font-size: 14px;
        line-height: calc(20 / 14);
    }

    .job_btnArea {
        margin-top: 23px;
    }

    .job_btn__body {
        max-width: 135px;
        min-height: 26px;
        font-size: 18px;
    }
}

@media screen and (min-width:1024px) {
    .job__list {
        grid-template-columns: repeat(3, 1fr);
    }
}