main section#job_roles .job_roles_inner {
    margin: 0 0.5em 2em;
    padding-top: 1.5em;
    text-align: center;
    line-height: 1.75;
}

main section#job_roles .job_roles_inner h3{
    color: #e94a6a;
    margin-bottom: 1.5em;
    font-size: 1.35em;
}

main section#job_roles .job_roles_inner .job_roles_cont{
    margin: 2.5em 0;
}

main section#job_roles .job_roles_inner .job_roles_cont > *{
    margin-bottom: 1em;
}

main section#job_roles .job_roles_inner .job_roles_cont div.t_cont_child{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    border-top: solid 1px #e6e6e6;
    padding-top: 3em;
    padding-bottom: 1.5em;
}

main section#job_roles .job_roles_inner .job_roles_cont div.t_cont_child:last-of-type{
    border-bottom: solid 1px #e6e6e6;
    padding-bottom: 2.5em;
    margin-bottom: 5em;
}

main section#job_roles .job_roles_inner .job_roles_cont div.t_cont_child .t_c_c_01{
    width: calc(100% - (300px + 2em));
    text-align: left;
    margin-bottom: 1em;
}

main section#job_roles .job_roles_inner .job_roles_cont div.t_cont_child .t_c_c_01 h3{
    font-size: 1.65em;
    margin: 0 0 .85em 0;
    line-height: 1.3;
}

main section#job_roles .job_roles_inner .job_roles_cont div.t_cont_child .t_c_c_02{
    width: 100%;
}

main section#job_roles .job_roles_inner .job_roles_cont div.t_cont_child .t_c_c_02 a{
    width: min(50vw, 300px);
    margin: 0 0 0 auto;
}

main section#job_roles .job_roles_inner .job_roles_cont > div > img{
    width: min(100% , 300px);
    height: auto;
    border-radius: 20px;
}

main section#job_roles .job_roles_inner .job_roles_cont > * h3{
    color: #e94a6a;
}

main section#job_roles .job_roles_inner .job_roles_cont > * p{
    text-align: left;
}

/* POINT */
main section#job_roles .job_roles_inner .job_roles_point{
    border: solid 2px #E94A6A;
    border-radius: 10px;
    background: #FFFFFA;
    display: flex;
    align-items: center;
    padding: .75em;
    margin: 3em 0;
}

main section#job_roles .job_roles_inner .job_roles_point .points{
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    color: #e94a6a;
    font-size: 1.25em;
    border-right: solid 1px #F0D3DA;
    padding: 1em 1.75em;
}

main section#job_roles .job_roles_inner .job_roles_point ul{
    text-align: left;
    font-weight: bold;
    line-height: 2em;
}

main section#job_roles .job_roles_inner .job_roles_point ul li{
    background: url(../img/icon_pink_check.svg) no-repeat 0 0;
    background-size: auto 20px;
    padding-left: 30px;
    background-position: 0 .35em;
    margin-bottom: .25em;
}

main section#job_roles .job_roles_inner .job_roles_point ul li:last-child{
    margin-bottom: 0;
}

/* 〇〇勤務の1日の流れ */
main section#job_roles .job_roles_inner .job_roles_cont .work_flow{
    width: 100%;
}

main section#job_roles .job_roles_inner .job_roles_cont .work_flow h3{
    text-align: center;
    margin: 0;
}

main section#job_roles .job_roles_inner .job_roles_cont .work_flow .work_flow_cont{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

main section#job_roles .job_roles_inner .job_roles_cont .work_flow .work_flow_cont .left_cont{
    width: 12%;
    min-height: 120px;
    position: relative;
}

main section#job_roles .job_roles_inner .job_roles_cont .work_flow .work_flow_cont .left_cont .time{
    position: absolute;
    top: 2.5em;
    left: 0;
    padding-top: calc(35px - 0.5em);
    width: 70px;
    height: 70px;
    background: #e94a6a;
    border-radius: 50%;
    line-height: 1;
    text-align: center;
    color: #fff;
    font-weight: bold;
    z-index: 1;
}

main section#job_roles .job_roles_inner .job_roles_cont .work_flow .work_flow_cont .left_cont .time.two_l{
    padding-top: calc(35px - 1.3em);
    line-height: 1.3em;
}

main section#job_roles .job_roles_inner .job_roles_cont .work_flow .work_flow_cont .left_cont .line{
    position: absolute;
    left: 0;
    width: 35px;
    height: 100%;
    border-right: solid 1px #e94a6a;
}

main section#job_roles .job_roles_inner .job_roles_cont .work_flow .work_flow_cont .left_cont:first-of-type .line{
    bottom: 0;
    height: calc(100% - 2.5em);
}

main section#job_roles .job_roles_inner .job_roles_cont .work_flow .work_flow_cont .left_cont .line.last{
    top: 0;
    height: calc(2.5em + 5%);
}

main section#job_roles .job_roles_inner .job_roles_cont .work_flow .work_flow_cont .right_cont{
    width: 88%;
    text-align: left;
    padding: 2.5em 0;
    border-bottom: solid 1px #e6e6e6;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

main section#job_roles .job_roles_inner .job_roles_cont .work_flow .work_flow_cont .right_cont > div{
    width: 67%;
    margin-right: 3%;
}

main section#job_roles .job_roles_inner .job_roles_cont .work_flow .right_cont h4{
    color: #e94a6a;
    line-height: 1.55;
    font-size: 1.35em;
    margin: 0;
}

main section#job_roles .job_roles_inner .job_roles_cont .work_flow .work_flow_cont .right_cont:last-of-type{
    border-bottom: none;
}

main section#job_roles .job_roles_inner .job_roles_cont .work_flow .work_flow_cont .right_cont .work_flow_img{
    display: inline-block;
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 20px;
}

/* 他の職種紹介をみる */
.check_otherconts{
    margin: 4em 0;
    padding: 3em 0;
    text-align: center;
    border-top: solid 1px #e6e6e6;
    border-bottom: solid 1px #e6e6e6;
}

.check_otherconts h3{
    color: #e94a6a;
    margin-bottom: 1.5em;
}

.check_otherconts .otherconts_links a{
    display: inline-block;
    margin: 0 1em 1.5em;
    padding: 1.15em;
    border-radius: 5em;
    background: #e94a6a !important;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.8em;
    color: #fff !important;
    width: 28%;
}

main section#job_roles .job_roles_inner .job_roles_cont > * .btn_pink01{
    display: block;
    font-size: 0.8em;
    padding: 1.15em;
    margin-bottom: 1.5em;
}

.border_pack{
    border: solid 1px #e6e6e6;
    border-radius: 20px;
}


@media screen and (max-width: 959px) {
/*** タブレット・スマートフォンで共通のCSSを記入 ***/

main section#job_roles .job_roles_inner .job_roles_cont > *{
    margin-bottom: 3em;
}

}


@media screen and (max-width: 819px) {
/*** スマホ用のCSSを記入 ***/

/* 報酬・待遇のt_cont_child関連(820px以下) */
main section#job_roles .job_roles_inner .job_roles_cont div.t_cont_child{
    display: block;
    margin-bottom: 1.25em;
}

main section#job_roles .job_roles_inner .job_roles_cont div.t_cont_child .t_c_c_01{
    width: 100%;
    text-align: center;
}

main section#job_roles .job_roles_inner .job_roles_cont div.t_cont_child .t_c_c_01 h3{
    font-size: 1.5em;
    margin: .85em 0 1.25em 0;
}

main section#job_roles .job_roles_inner .job_roles_cont div.t_cont_child .t_c_c_02 a{
    margin: 2em auto 0;
}

/* POINT(820px以下) */
main section#job_roles .job_roles_inner .job_roles_point{
    display: block;
    margin: 2em 0 2.5em;
}

main section#job_roles .job_roles_inner .job_roles_point .points{
    border: none;
    display: block;
    padding: .5em 0 .25em;
}

main section#job_roles .job_roles_inner .job_roles_point ul{
    padding: 1.5em 0 .75em;
    margin: .75em 1em 0;
    border-top: solid 1px #F0D3DA;
}

main section#job_roles .job_roles_inner .job_roles_point ul li{
    background-position: 0 .25em;
    margin-bottom: 1em;
    line-height: 1.75;
}

/* 〇〇勤務の1日の流れ(820px以下) */
main section#job_roles .job_roles_inner .job_roles_cont .work_flow .work_flow_cont .left_cont{
    width: 20%;
}

main section#job_roles .job_roles_inner .job_roles_cont .work_flow .work_flow_cont .right_cont{
    display: block;
    width: 80%;
}

main section#job_roles .job_roles_inner .job_roles_cont .work_flow .work_flow_cont .right_cont > div{
    width: 100%;
    margin-right: 0;
}

/* 他の職種紹介をみる(820px以下) */
.check_otherconts{
    margin: 3em 0;
    padding: 1.5em 0;
}

.check_otherconts .otherconts_links a{
    margin: 0 0 1.5em;
    width: 65%;
}

}


@media screen and (max-width: 549px) {
/*** スマホ用のCSSを記入 ***/

main section#job_roles .job_roles_inner p{
    text-align: left;
}

/* 報酬・待遇のt_cont_child関連(550px以下) */
main section#job_roles .job_roles_inner .job_roles_cont > div > img,
main section#job_roles .job_roles_inner .job_roles_cont div.t_cont_child .t_c_c_02 a{
    width: 100%;
}

/* 〇〇勤務の1日の流れ(550px以下) */
main section#job_roles .job_roles_inner .job_roles_cont .work_flow .work_flow_cont .right_cont{
    width: calc(100% - 90px);
    max-width: 80%;
}

main section#job_roles .job_roles_inner .job_roles_cont .work_flow .right_cont h4{
    font-size: 1em;
}

}