/* =========================
   小牧市の画像
========================= */

.recruit_image {
    width: 800px;
    max-width: 100%;
    margin: 80px auto 50px;
}

.recruit_image img {
    display: block;
    width: 100%;
    height: auto;
}

/* =========================
   採用情報
========================= */

.recruit {
    padding: 80px 0 120px;
}

.recruit_info {
    position: relative;
    width: 800px;
    max-width: 100%;
    margin: 0 auto;
}


/* =========================
   採用情報の項目
========================= */

.recruit_info_item {
    display: grid;
    grid-template-columns: 200px 1fr;
    border-bottom: 1px solid #ddd;
    padding: 25px 0;
}

.recruit_info_item h3 {
    margin: 0;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.8;
}

.recruit_info_item>div {
    margin: 0;
}

.recruit_info_item p {
    margin: 0 0 8px;
    line-height: 1.8;
}

.recruit_info_item p:last-child {
    margin-bottom: 0;
}

/* =========================
   注釈
========================= */

.recruit_info_item .note {
    display: inline-block;
    margin-left: 25px;
    font-size: 13px;
    color: #666;
}

/* =========================
   採用条件の囲み
========================= */

.recruit_conditions {
    position: relative;
    width: 100%;
    padding: 45px 50px;
    border: 1px solid #d8e7f7;
    background-color: #fff;
}


/* 内側のライン */
.recruit_conditions::after {
    content: "";
    position: absolute;
    top: 10px;
    right: 10px;
    bottom: 10px;
    left: 10px;
    border: 1px solid #d8e7f7;
    pointer-events: none;
}


/* =========================
   四隅の飾り
========================= */

/* 左上 */
.recruit_conditions::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    width: 45px;
    height: 45px;
    border-top: 4px solid #2d5f91;
    border-left: 4px solid #2d5f91;
    z-index: 2;
}


/* 右上・左下・右下 */
.corner {
    position: absolute;
    width: 45px;
    height: 45px;
    z-index: 2;
}


/* 右上 */
.corner_top_right {
    top: -1px;
    right: -1px;
    border-top: 4px solid #2d5f91;
    border-right: 4px solid #2d5f91;
}


/* 左下 */
.corner_bottom_left {
    bottom: -1px;
    left: -1px;
    border-bottom: 4px solid #2d5f91;
    border-left: 4px solid #2d5f91;
}


/* 右下 */
.corner_bottom_right {
    bottom: -1px;
    right: -1px;
    border-bottom: 4px solid #2d5f91;
    border-right: 4px solid #2d5f91;
}

/* =========================
   スマホ
========================= */

@media screen and (max-width: 768px) {

    /* ページタイトル */
    .page_title {
        padding: 60px 0;
    }

    .page_title h1 {
        font-size: 32px;
    }


    /* 小牧市の画像 */
    .recruit_image {
        width: 100%;
        margin: 50px auto 35px;
        padding: 0 20px;
    }

    .recruit_image img {
        width: 100%;
        height: auto;
    }


    /* 採用情報 */
    .recruit {
        padding: 30px 20px 80px;
    }

    .recruit_info {
        width: 100%;
    }


    /* 採用条件の囲み */
    .recruit_conditions {
        padding: 30px 20px;
    }


    /* 内側のライン */
    .recruit_conditions::after {
        top: 8px;
        right: 8px;
        bottom: 8px;
        left: 8px;
    }


    /* 左上の飾り */
    .recruit_conditions::before {
        width: 30px;
        height: 30px;
        border-top-width: 3px;
        border-left-width: 3px;
    }


    /* 右上・左下・右下の飾り */
    .corner {
        width: 30px;
        height: 30px;
    }

    .corner_top_right {
        border-top-width: 3px;
        border-right-width: 3px;
    }

    .corner_bottom_left {
        border-bottom-width: 3px;
        border-left-width: 3px;
    }

    .corner_bottom_right {
        border-bottom-width: 3px;
        border-right-width: 3px;
    }


    /* 採用条件の項目 */
    .recruit_info_item {
        grid-template-columns: 90px 1fr;
        padding: 18px 0;
    }

    .recruit_info_item h3 {
        font-size: 14px;
        line-height: 1.7;
    }

    .recruit_info_item p {
        font-size: 14px;
        line-height: 1.8;
    }


    /* 注釈 */
    .recruit_info_item .note {
        margin-left: 5px;
        font-size: 12px;
        line-height: 1.7;
    }

}