
/*-- --------- --------- --------- --*/
/*-- 共通 --*/
/*-- --------- --------- --------- --*/

:root {
  --black: #1f1f1f;
  --darkgray: #838383;
  --gray: #dcdcdc;
  --light-gray: #f0f5f8;
  --red: #ba0e23;
  --navy: #002341;
  --blue: #005eae;
}

#jobspecial:after {
    content: "";
    clear: both;
    display: block;
}
#jobspecial section {
    padding: 0;
    margin: 16px 0 40px 0;
}
#jobspecial section#thumb img{
    margin: 0 auto;
}
#jobspecial section#thumb img._pc{display: block;}
#jobspecial section#thumb img._sp{display: none;}
@media screen and (max-width: 768px) {
    #jobspecial section#thumb img._pc{display: none;}
    #jobspecial section#thumb img._sp{display: block;}
}
#jobspecial {
    color: var(--black);
}
#jobspecial .content-l {
    padding-bottom: 0;
}
#jobspecial section a.btn {
    color: var(--navy);
    font-size: 16px;
    font-weight: bold;
    line-height: 20px;
    text-align: center;
    display: block;
    width: 90%;
    max-width: 300px;
    padding: 15px;
    margin: 16px auto;
    border: solid 1px var(--navy);
    box-shadow: 0 4px 0 var(--navy);
    position: relative;
    bottom: 0;
}
#jobspecial section a.btn:after {
    content: "";
    display: block;
    width: 9px;
    height: 9px;
    position: absolute;
    top: 50%;
    right: 20px;
    margin-top: -6px;
    transform: rotate(45deg);
    border-top: solid 2px var(--navy);
    border-right: solid 2px var(--navy);
}
#jobspecial section a.btn:hover {
    box-shadow: none;
    bottom: -3px;
}
#jobspecial a.btn_red {
    color: #ffffff;
    font-size: 30px;
    font-weight: bold;
    line-height: 40px;
    text-align: center;
    display: block;
    width: 90%;
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background: var(--red);
    box-shadow: 0 4px 0 #5E0B19;
    position: relative;
    bottom: 0;
}
#jobspecial a.btn_red:after {
    content: "";
    vertical-align: text-bottom;
    display: inline-block;
    width: 36px;
    height: 36px;
    background: url(/img/cmn/head_icon01.png) no-repeat center center / auto 100%;
}
#jobspecial a.btn_red:hover {
    bottom: -4px;
    box-shadow: 0 0 0 #5E0B19;
}
#jobspecial a.btn_red.border {
    color: var(--red);
    background: none;
    border: solid 2px var(--red);
}
#jobspecial a.btn_red.border:after {
    
    background: url(/jobspecial/img/icon_search.svg) no-repeat center center / auto 100%;
}
#jobspecial .tit-box {
    margin-bottom: 16px;
}
#jobspecial .list {
    display: flex;
    flex-wrap: wrap;
    margin: -8px;
}
#jobspecial .list li {
    line-height: 1.0em;
    width: 33.33%;
    padding: 8px;
}
#jobspecial .list li img {
    display: block;
    width: 100%;
    border: solid 1px var(--light-gray);
    height: auto;
    object-fit: contain;
    object-position: 50% 50%;
    display: block;
    font-size: 5px;
    overflow: hidden;
    aspect-ratio: 3 / 2;
}
#jobspecial .list li b {
    color: var(--navy);
    font-size: 16px;
    line-height: 1.3em;
    text-decoration: underline;
    display: block;
    margin: 8px 0 4px 0;
}
#jobspecial .list li i {
    display: block;
    font-size: 12px;
    color: var(--darkgray);
    font-style: normal;
    font-weight: normal;
    text-align: right;
}


#jobspecial #jobtypelist ul {
    display: flex;
    flex-wrap: wrap;
    margin: -8px;
}
#jobspecial #jobtypelist ul li {
    width: 33.33%;
    padding: 8px;
}
#jobspecial #jobtypelist ul li a {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0 0 4px 0;
}
@media screen and (max-width: 768px) {
    #jobspecial #jobtypelist ul {
        margin: -4px;
    }
    #jobspecial #jobtypelist ul li {
        width: 50%;
        padding: 4px;
    }
    #jobspecial #jobtypelist ul li a {
        max-width: none;
    }
    #jobspecial .list li {
        width: 50%;
        padding: 8px;
    }
    #jobspecial a.btn_red {
        font-size: 16px;
        padding: 8px;
        margin: 32px auto;
    }
    #jobspecial a.btn_red:after {
        width: 20px;
        height: 20px;
    }
}
@media screen and (max-width: 480px) {
    #jobspecial #jobtypelist ul li {
        width: 100%;
    }
    #jobspecial .list li {
        width: 100%;
        padding: 8px;
    }
}

/*-- --------- --------- --------- --*/
/*-- 詳細 --*/
/*-- --------- --------- --------- --*/
#jobspecial #thumb img.pc {
    display: block;
}
#jobspecial #thumb img.sp {
    display: none;
}
#jobspecial #thumb img.mob {
    display: none;
}
#jobspecial #thumb a.btn_red {
    margin-top: 24px;
    margin-bottom: 60px;
}
#jobspecial #relationlist ul {
    display: flex;
    flex-wrap: wrap;
    margin: -8px;
}
#jobspecial #relationlist ul li {
    width: 33.33%;
    padding: 8px;
}
#jobspecial #relationlist ul li a {
    display: block;
    width: auto;
}
#jobspecial a .thumb {
    overflow: hidden;
}
#jobspecial a .thumb img {
    display: block;
    height: auto;
    object-fit: contain;
    object-position: 50% 50%;
    display: block;
    font-size: 5px;
    overflow: hidden;
    aspect-ratio: 6 / 4;
    border: solid 1px var(--light-gray);
    margin-bottom: 8px;
    transform: scale(1.0);
    transition: all 0.3s;
}
#jobspecial a:hover .thumb img {
    transform: scale(1.1);
}
#jobspecial #relationlist ul li a b {
    color: var(--navy);
    text-decoration: underline;
    font-size: 16px;
    line-height: 1.3em;
}
#jobspecial #relationlist ul li i {
    display: block;
    font-size: 12px;
    color: var(--darkgray);
    font-style: normal;
    font-weight: normal;
    text-align: right;
}

@media screen and (max-width: 768px) {
    #jobspecial #thumb img.pc {
        display: none;
    }
    #jobspecial #thumb img.sp {
        display: block;
    }
}
@media screen and (max-width: 480px) {
    #jobspecial #thumb img.sp {
        display: none;
    }
    #jobspecial #thumb img.mob {
        display: block;
    }
    #jobspecial #relationlist ul li {
        width: 100%;
    }
}
/*-- 求人情報 --*/


/* メリット */

.recommend-job #merit {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}
.recommend-job #merit .cont_title em {
    font-style: normal;
}
.recommend-job #merit ul {
    margin: 30px auto;
    display: flex;
    justify-content: space-between;
}
.recommend-job #merit ul li {
    max-width: 380px;
    width: 32%;
    height: 152px;
    background: #d5e4f0;
    position: relative;
    overflow: hidden;
}
.recommend-job #merit ul li:before {
    content: '';
    position: absolute;
    top: 0px;
    bottom: 0;
    left: 0px;
    right: 0;
    background: #f2f7fb;
    transform: skewX(-30deg) translateX(-200px);
    z-index: 1;
    height: 153px;
}
.recommend-job #merit ul li div {
    position: relative;
    z-index: 2;
}
.recommend-job #merit ul li span {
    position: absolute;
    top: 0;
    left: 0;
    padding: 3px 13px 3px 15px;
    background: #025dad;
    color: #fff;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    letter-spacing: 0.2em;
    font-size: 19px;
    width: auto;
    bottom: auto;
}
.recommend-job #merit ul li span em {
    font-style: normal;
    letter-spacing: 0.02em;
    margin: 0 0 0 3px;
}
.recommend-job #merit ul li img {
    opacity: 1;
    position: absolute;
    top: 19px;
    right: 50px;
    width: 95px;
    height: auto;
}
.recommend-job #merit ul li:last-child img {
    top: 10px;
}
.recommend-job #merit ul li:last-child img {
    width: 75px;
}
.recommend-job #merit ul li p {
    text-align: center;
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    font-weight: bold;
    line-height: 1.4em;
}
.recommend-job #merit ul li p b {
    color: #045dad;
    font-size: 18px;
}

@media screen and (min-width:769px) and (max-width:1320px) {
    .recommend-job #merit ul {
        width: 100%;
    }
    .recommend-job #merit ul li {
        width: 32%;
    }
    .recommend-job #merit ul li:before {
        transform: skewX(-30deg) translateX(-160px);
    }
    .recommend-job #merit ul li img {
        right: 20px;
    }
}

@media screen and (min-width:1151px) and (max-width:1308px) {
    .recommend-job #merit ul li {
        width: 32%;
        height: 165px;
    }
    .recommend-job #merit ul li:before {
        height: 170px;
    }
}

@media screen and (min-width:801px) and (max-width:1150px) {
    .recommend-job #merit ul li p {
        font-size: 1.3rem;
        line-height: 1.6em;
    }
    .recommend-job #merit ul li p b {
        font-size: 1.4rem;
    }
}

@media screen and (max-width:800px) {
    .recommend-job #merit ul li {
        height: 140px;
    }
    .recommend-job #merit ul li p {
        font-size: 1.4rem;
    }
    .recommend-job #merit ul li p b {
        font-size: 1.6rem;
    }
}

@media screen and (min-width:0px) and (max-width:768px) {
    .recommend-job #merit {
        margin: 0 auto 30px;
    }
    .recommend-job #merit .cont_title {
        display: block;
    }
    .recommend-job #merit .cont_title h3 span {
        display: flex;
        align-items: center;
        padding: 0;
    }
    .recommend-job #merit .cont_title em {
        font-family: 'Roboto', sans-serif;
        font-weight: 700;
        font-size: 3.2rem;
        line-height: 1em;
    }
    .recommend-job #merit .cont_title h3 span:before,
    .recommend-job #merit .cont_title h3 span:after {
        content: '';
        height: 2px;
        flex-grow: 1;
        background-color: #c8d3e6;
    }
    .recommend-job #merit .cont_title h3 span:before {
        margin-right: 1rem;
    }
    .recommend-job #merit .cont_title h3 span:after {
        margin-left: 1rem;
    }
    .recommend-job #merit .cont_title h3:before {
        content: none;
    }
    .recommend-job #merit .cont_title p {
        display: none;
    }
    .recommend-job #merit ul {
        width: 100%;
        margin: 10px auto;
        display: block;
    }
    .recommend-job #merit ul li {
        max-width: none;
        width: 100%;
        height: 60px;
        margin-bottom: 10px;
    }
    .recommend-job #merit ul li:before {
        transform: skewX(-30deg) translateX(-280px);
    }
    .recommend-job #merit ul li span {
        padding: 0 5px;
        letter-spacing: 0;
        line-height: 60px;
    }
    .recommend-job #merit ul li img {
        top: 14px;
        right: 10px;
        width: 55px;
    }
    .recommend-job #merit ul li:last-child img {
        top: 10px;
    }
    .recommend-job #merit ul li:last-child img {
        width: 45px;
        right: 12px;
    }
    .recommend-job #merit ul li p {
        text-align: left;
        top: 10px;
        left: 40px;
        font-size: 1.4rem;
        font-feature-settings: "palt";
    }
    .recommend-job #merit ul li p b {
        font-size: 1.8rem;
    }
}

/*-- メリット --*/



/* 転職までの流れ */

#step {
    max-width: 1200px;
    margin: 0 auto 70px;
    padding: 0;
}
#step ol {
    margin: 40px auto;
    display: flex;
    justify-content: space-between;
}
#step ol:after {
    content: none;
}
#step ol li {
    background: #fff;
    border: solid 1px #045dad;
    width: 16%;
    /* padding: 10px 15px; */
    text-align: center;
    position: relative;
    border-radius: 5px;
}
#step ol li:last-child::after {
    display: none;
}
#step ol li:after {
    position: absolute;
    content: url('../img/step_icon1.png');
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    right: -39px;
}
/* #step ol li:last-child::after {
    display: none;
} */
#step ol li span {
    display: block;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 19px;
    position: relative;
    padding-bottom: 7px;
    background-color: #045dad;
    padding: 0.4rem 1.5rem;
    color: #fff;
}
#step .step_wrap {
    padding: 0 1.5rem 1rem;
}
#step ol li img {
    width: auto;
    height: 55px;
    display: block;
    margin: 15px auto 10px;
    position: relative;
}
#step ol li h3 {
    color: #045dad;
    font-size: 1.8rem;
}
#step ol li p {
    margin: 5px 0 0;
    text-align: left;
    font-size: 14px;
    text-align: justify;
    line-height: 1.5em;
}
#step a.btn {
    max-width: 398px!important;
}
#step a.btn::after {
    display: none!important;
}

@media screen and (min-width:769px) and (max-width:1199px) {
    #step ol {
        width: 100%;
        margin: 40px auto 30px;
    }
    #step ol li {
        width: 17%;
    }
    #step ol li:last-child {
        margin-left: 0;
    }
    #step ol li:after {
        right: -28px;
    }
    #step ol li:last-child:before {
        top: -5px;
        bottom: -5px;
        left: -5px;
        right: -5px;
    }
    #step ol li p {
        font-size: 1.2rem;
        line-height: 1.6em;
    }
    .step_wrap {
        /* 既存のスタイル */
        width: 100%; /* 親要素の幅いっぱいに広げる */
        margin: 0 auto; /* 中央揃えにする */
    }
    
    .step_wrap h3 {
        display: flex; /* h3自体をFlexコンテナにする */
        justify-content: center; /* テキストを主軸方向（横方向）で中央揃え */
        align-items: center;     /* テキストを交差軸方向（縦方向）で中央揃え */
        /* 必要であれば高さも指定 */
        /* height: 100%; */
    }
}
@media screen and (max-width:1150px) {
    #step ol li:after {
        right: -32px;
    }
}
@media screen and (max-width:900px) {
    #step ol li:after {
        right: -28px;
    }
}
@media screen and (min-width:0px) and (max-width:768px) {
    #step {
        margin: 0 auto 30px;
    }
    #step .r-job-title {
        margin-bottom: 34px;
    }
    #step ol {
        width: 100%;
        margin: 5px auto 20px;
        position: relative;
    }
    #step ol:before {
        content: '';
        background: url('../img/step_icon2.png') no-repeat;
        background-size: contain;
        position: absolute;
        top: -23px;
        left: 0;
        width: 295px;
        height: 58px;
    }
    #step ol li {
        width: 17%;
        padding: 0;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        flex-direction: column;
        height: 226px;
    }
    #step ol li:nth-child(1) {
        margin-top: 40px;
    }
    #step ol li:nth-child(2) {
        margin-top: 30px;
    }
    #step ol li:nth-child(3) {
        margin-top: 20px;
    }
    #step ol li:nth-child(4) {
        margin-top: 10px;
    }
    #step ol li:last-child {
        margin-left: 0;
    }
    #step ol li:after {
        content: none;
    }
    #step ol li:last-child:after {
        position: absolute;
        content: '';
        background: url('../img/top/step_icon2.png') no-repeat;
        background-size: contain;
        top: -25px;
        right: -15px;
        width: 22px;
        height: 26px;
        transform: rotate(-15deg);
    }
    #step ol li span {
        letter-spacing: 0;
        font-size: 16px;
        padding-bottom: 3px;
        color: #fff;
        background: #045dad;
        padding: 7px 0;
        width: 100%;
    }
    #step ol li h3 {
        color: #045dad;
        writing-mode: vertical-rl;
        margin: 10px auto;
        font-size: 1.5rem;
        font-feature-settings: initial;
    }
    #step ol:after,
    #step ol li:last-child:before,
    #step ol li span:after,
    #step ol li img,
    #step ol li p {
        display: none;
    }
}


/*-- 転職までの流れ --*/


/* おすすめ求人 */
.recommend-job{
    margin-top: -40px;
}
.recommend-job .r-job-title{
    position: relative;
    font-size: 24px;
    line-height: 1.2;
    font-weight: bold;
    text-align: center;
    color: #025dad;
    margin: 40px auto 24px;
    padding: 15px 0;
    background: #f8f8f8;
    /* border-radius: 50px; */
}
/* .recommend-job .r-job-title::after{
    position: absolute;
    content: "";
    width: 20px;
    height: 3px;
    background: #025dad;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
} */
.recommend-job ul.recommend-person{
    width: 100%;
    max-width: 1020px;
    margin: 0 auto;
}
.recommend-job ul.recommend-person li{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.recommend-job ul.recommend-person li .icon-img{
    width: 18%;
    max-width: 150px;
}
.recommend-job ul.recommend-person li .txt_Box{
    position: relative;
    width: 80%;
    background: #F2F7FB;
    border-radius: 10px;
    padding: 25px;
    z-index: 0;
}
.recommend-job ul.recommend-person li .txt_Box::after{
    position: absolute;
    content: "";
    width: 20px;
    border-right: #F2F7FB 18px solid;
    border-top: transparent 14px solid;
    border-bottom: transparent 14px solid;
    top: 50%;
    left: -2%;
    transform: translateY(-50%);
    z-index: -1;
}
.recommend-job ul.recommend-person li .txt_Box .midashi{
    font-size: 20px;
    line-height: 1.3;
    color: #025dad;
    font-weight: bold;
}
.recommend-job ul.recommend-person li .txt_Box .txt{
    margin-bottom: 0;
}
/* 求人情報 */
.job-info-List{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 16px;
    flex-wrap: wrap;
    /* justify-content: space-between; */
    margin-bottom: 24px;
}
.job-info-List .job-item{
    border: #025dad 1px solid;
    border-radius: 5px;
    padding: 0;
    background: #fff;
    transition: 0.3s;
    position: relative;
    padding-bottom: 36px;
}
.job-info-List .job-item .j-inner{
    padding: 20px;
}
.job-info-List .job-item .j-txt{
    color: #333;
    line-height: 1.5;
    font-weight: bold;
    text-align: justify;
    margin-bottom: 0;
    padding-bottom: 15px;
    border-bottom: #dddddd 1px solid;
}
.job-info-List .job-item .j-detail{
    margin-top: 15px;
}
.job-info-List .job-item .j-detail li{
    color: #025dad;
    font-size: 14px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.job-info-List .job-item .j-detail li:first-child{
    margin-bottom: 3px;
}
.job-info-List .job-item .j-detail li span.ic {
    color: #ffffff;
    display: inline-block;
    background: #025dad;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    line-height: 20px;
    margin-right: 5px;
    text-align: center;
}
.job-info-List .job-item .j-detail li span.ic i{
    font-size: 13px;
    color: #fff;
}
.job-info-List .job-item .j-btn{
    position: relative;
    background: #025dad;
    border-radius: 0 0 3px 3px;
    text-align: center;
    color: #fff;
    padding: 7px 0;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}
.job-info-List .job-item .j-btn::after{
    position: absolute;
    content: "";
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    width: 6px;
    height: 6px;
    top: 50%;
    right: 5%;
    transform: translateY(-50%) rotate(45deg);
}
@media screen and (max-width: 1024px) {
    .job-info-List{
        grid-template-columns: 1fr 1fr 1fr;
    }
}
@media screen and (max-width:768px) {
 
    #jobspecial #thumb a.btn_red {
        margin-top: 16px;
        margin-bottom: 24px;
    }
    .recommend-job{
        margin-top: -20px;
    }
    .recommend-job .r-job-title{
        font-size: 20px;
        margin: 32px auto 16px;
    }
    .recommend-job ul.recommend-person li {
        align-items: flex-start;
        margin-bottom: 20px;
    }
    .recommend-job ul.recommend-person li .txt_Box{
        width: 78%;
        padding: 15px;
        border-radius: 5px;
    }
    .recommend-job ul.recommend-person li .txt_Box .midashi{
        font-size: 16px;
        margin-bottom: 10px;
    }
    .recommend-job ul.recommend-person li .txt_Box .txt{
        font-size: 14px;
        line-height: 1.5;
    }
    .recommend-job ul.recommend-person li .txt_Box::after {
        top: 10%;
        left: -3%;
        transform: none;
    }

    .job-info-List{
        grid-template-columns: 1fr 1fr;
        margin-bottom: 16px;
    }
    .job-info-List .job-item:nth-child(2n){
        margin-right: 0;
    }
    .job-info-List .job-item .j-inner{
        padding: 12px 12px 8px;
    }
    .job-info-List .job-item .j-txt{
        font-size: 14px;
        padding-bottom: 7px;
    }
    .job-info-List .job-item .j-detail li {
        font-size: 12px;
    }
    .job-info-List .job-item .j-detail li:first-child{
        margin-bottom: 0;
    }
    .job-info-List .job-item .j-detail li span.ic {
        width: 16px;
        height: 16px;
        line-height: 16px;
    }
    .job-info-List .job-item .j-detail li span.ic i{
        font-size: 10px;
    }
    .job-info-List .job-item .j-detail {
        margin-top: 7px;
    }
    .job-info-List .job-item .j-btn {
        /* padding: 4px 0; */
        font-size: 14px;
    }
}
@media screen and (max-width: 414px){
    .job-info-List {
        grid-template-columns: 1fr;
    }
    .job-info-List .job-item{
        width: 100%;
    }
    .recommend-job ul.recommend-person li .txt_Box::after {
        top: 7%;
        left: -12%;
        border-top: transparent 10px solid;
        border-bottom: transparent 10px solid;
    }
}

#jobspecial .recommend-job .btn_red {
    margin: 16px auto;
}

@media screen and (max-width: 768px) {
    .hide {
        max-height: 40px;
        overflow: hidden;
    }
    .hide:after {
        content: "";
        display: block;
        position: absolute;
        bottom: 4px;
        left: 4px;
        right: 4px;
        z-index: 10;
        height: 60px;
        text-align: center;
        line-height: 30px;
        background: linear-gradient(
            180deg,
            rgb(242, 247, 251, 0) 0%,
            rgb(242, 247, 251, 1) 70%
        );
        cursor: pointer;
        transition: bottom 0.2s;
    }
    .hide:before {
        content: "＋ 続きを読む";
        color: var(--navy);
        font-size: 14px;
        font-weight: bold;
        text-align: center;
        z-index: 20;
        position: absolute;
        bottom: 8px;
        left: 0;
        right: 0;

    }
}
