@charset "UTF-8";

.recruit_list .h1::before{
    background-image: url(../assets/img/ubout-recruit.webp);
}

.recruit-page p{
    font-size: 1.1rem;
    font-weight: 500;
}
.recruit-page__lead{
    margin-bottom: 1.5rem;
}
.recruit-page .recruit__imgs{
    margin-bottom: 1.5rem;
}
.recruit-page__text{
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.recruit_mentenance .h1::before{
    background-image: url(../assets/img/recruit_mente_bg.webp);
}

.job__tags-wrap{
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-bottom: 1.2rem;
}
.job__tags{
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-bottom: .6rem;
}
.job__tags-wrap .job__tags,
.job .job__tags--feature{
    margin-bottom: 0;
}
.job__tags + .job__tags--feature{
    margin-bottom: 1.2rem;
}
.job__tags li{
    align-content: center;
    font-size: .875rem;
    font-weight: 500;
    line-height: 1;
    border: solid 1px #333;
    color: #000;
    border-radius: 4px;
    text-align: center;
    height: 1.75rem;
    background: #fff;
    padding: 0 1.2rem;
}
.job__tags--feature li{
    border-color: var(--orange);
    color: var(--orange);
}

.job__img{
    margin-bottom: 1.2rem;
}

.job__subtitle{
    color: var(--main);
    font-weight: bold;
    font-size: 1.125rem;
    line-height: 1.6;
}
.recruit_craft .job__subtitle{
    color: #000;
    font-weight: 500;
    font-size: 1rem;
}

.job_border{
    overflow: hidden;
    border-radius: 1.5rem;
}
.job__note{
    color: var(--orange);
    font-weight: 500;
    margin-bottom: 1.2rem;
}
.recruit_craft .job__note,
.recruit_operator .job__note{
    font-weight: bold;
    margin-bottom: 2rem;
}

.job__text{
    color: #000;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 1.6rem;
}
.job__img + .job__text{
    margin-bottom: 1.8rem;
}

.job__list{
    margin-bottom: 1.6rem;
}
.job__list li{
    color: #000;
    font-weight: 500;
    line-height: 1.6;
    padding-left: 1em;
    text-indent: -1em;
}
.job__list li::before{
    content: "・";
}

.job__table{
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}
.job__table tr:nth-child(odd) td{
    background: #f7f7f7;
}
.job__table tr:nth-child(even) td{
    background: #fff;
}
.job__table tr + tr th{
    border-top: solid 1px #fff;
}
.job__table th{
    box-sizing: border-box;
    width: 65px;
    background: #4578a5;
    color: #fff;
    font-weight: 500;
    line-height: 1.4;
    line-break: anywhere;
    text-align: center;
    vertical-align: middle;
    padding: 1.2rem calc((65px - 1em) / 2);
}
.job__table td{
    color: #000;
    font-weight: 500;
    line-height: 22px;
    vertical-align: middle;
    padding: 1.6rem 1rem 1.6rem 2.6rem;
}
.job__table tr:first-child td{
    padding-top: .6rem;
    padding-bottom: .6rem;
}
.job__table td p{
    color: #000;
    line-height: 22px;
}
.job__table td p + p,
.job__table td p + ul{
    margin-top: 22px;
}
.job__table td li{
    padding-left: 1em;
    text-indent: -1em;
}
.job__table td li::before{
    content: "・";
}

.job__btn{
    margin: 2.2rem 0 3rem;
}

.recruit_operator .h1::before{
    background-image: url(../assets/img/recruit_ope_bg.webp);
}

.recruit_craft .h1::before{
    background-image: url(../assets/img/recruit_craft_bg.webp);
}

/* ==========================================================================
   TAB（768px〜）
   ========================================================================== */
@media (min-width: 768px){
    /* 採用情報 */
    .recruit-page p{
        font-size: 1.2rem;
    }
    .recruit-page__lead{
        text-align: center;
        margin-bottom: 2.5rem;
    }
    .recruit-page .recruit__imgs{
        margin-bottom: 2.5rem;
    }
    .recruit-page__text{
        text-align: center;
        margin-bottom: 3rem;
    }
    .recruit-page{
        margin-bottom: 5rem;
    }

    /* 子ページ：上部 */
    .job .tit_a{
        margin-bottom: 1rem;
    }
    .job__tags li{
        font-size: .95rem;
        height: 2rem;
        padding: 0 1.5rem;
    }
    .job__tags-wrap,
    .job__tags + .job__tags--feature{
        margin-bottom: 2rem;
    }
    .job__img{
        max-width: 40rem;
        margin: 0 auto 2rem;
    }
    .job__subtitle{
        font-size: 1.3rem;
    }
    .recruit_craft .job__subtitle{
        font-size: 1.15rem;
    }
    .job__note{
        margin-bottom: 2rem;
    }
    .recruit_craft .job__note,
    .recruit_operator .job__note{
        margin-bottom: 3rem;
    }
    .job__text,
    .job__img + .job__text{
        margin-bottom: 2.5rem;
    }
    .job__list{
        margin-bottom: 2rem;
    }

    /* 子ページ：募集要項テーブル */
    .job__table{
        width: calc(100% - 4rem);
        max-width: 46rem;
        margin: 0 auto;
    }
    .job__table th{
        width: 6rem;
        padding: 1.5rem calc((6rem - 1em) / 2);
        font-size: 1.05rem;
    }
    .job__table td{
        padding: 2rem 2rem 2rem 3rem;
        line-height: 1.7;
    }
    .job__table td p{
        line-height: 1.7;
    }
    .job__table td p + p,
    .job__table td p + ul{
        margin-top: 1.7em;
    }
    .job__table tr:first-child td{
        padding-top: 1.2rem;
        padding-bottom: 1.2rem;
    }

    .job__btn{
        margin: 3.5rem 0 5rem;
    }
}

@media (min-width: 1024px){
    .recruit_list .h1::before{
        background-image: url(../assets/img/recruit_bg_pc.webp);
    }
    .recruit_mentenance .h1::before{
        background-image: url(../assets/img/recruit_mentenance_bg_pc.webp);
    }
    .recruit_operator .h1::before{
        background-image: url(../assets/img/recruit_operator_bg_pc.webp);
    }
    .recruit_craft .h1::before{
        background-image: url(../assets/img/recruit_craftman_bg_pc.webp);
    }

    /* 子ページ：上部 */
    .job__img{
        max-width: 800px;
    }

    /* 子ページ：募集要項テーブル（項目名は横書き） */
    .job__table{
        max-width: 1000px;
    }
    .job__table th{
        width: 12rem;
        padding: 1.5rem 1rem;
        line-break: auto;
    }
    .job__table td{
        padding: 2rem 3rem;
    }

    /* 応募フォームボタン：テキストを中央寄せ（矢印は右端に固定） */
    .job__btn a{
        position: relative;
        justify-content: center;
        padding-left: 1rem;
    }
    .job__btn span{
        position: absolute;
        top: 50%;
        right: 1rem;
        transform: translateY(-50%);
    }

    /* 水道職人業：タグ下の画像2枚を2カラム（見出し・注記・本文は画像の下へ） */
    .recruit_craft .job > .inner:first-child{
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 2rem;
    }
    .recruit_craft .job > .inner:first-child > *{
        grid-column: 1 / -1;
        order: 2;
    }
    .recruit_craft .job > .inner:first-child > .tit_a,
    .recruit_craft .job > .inner:first-child > .job__tags{
        order: 0;
    }
    .recruit_craft .job > .inner:first-child > .job__img{
        grid-column: auto;
        order: 1;
        max-width: none;
        margin: 0 0 2.5rem;
        overflow: hidden;
        border-radius: 1.5rem;
    }
    .recruit_craft .job > .inner:first-child > .job__img img{
        aspect-ratio: 3 / 2;
        object-fit: cover;
    }
}

/* ==========================================================================
   PC（1280px〜）
   ========================================================================== */
@media (min-width: 1280px){
    /* 水道メンテナンス業：タグ下の画像2枚を2カラム（見出し・注記・本文は画像の下へ） */
    .recruit_mentenance .job > .inner:first-child{
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 2rem;
    }
    .recruit_mentenance .job > .inner:first-child > *{
        grid-column: 1 / -1;
        order: 2;
    }
    .recruit_mentenance .job > .inner:first-child > .tit_a,
    .recruit_mentenance .job > .inner:first-child > .job__tags{
        order: 0;
    }
    .recruit_mentenance .job > .inner:first-child > .job__img{
        grid-column: auto;
        order: 1;
        max-width: none;
        margin: 0 0 2.5rem;
        overflow: hidden;
        border-radius: 1.5rem;
    }
    .recruit_mentenance .job > .inner:first-child > .job__img img{
        aspect-ratio: 3 / 2;
        object-fit: cover;
    }
    .ope_list{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .ope_cnt_a,.ope_cnt_b{
        width: calc(100%/ 2 - 1rem);
    }
        .ope_cnt_c{
            margin: 0 auto;
        }
        .job__table{
            max-width: 1000px;
        }
}
