@charset "utf-8";

.cont h1 {
    background-image: url(../images/recruit.png);
}

.primary {
    width: 100%;
    float: none;
}

#recruit {
    background: url(../images/recruit_bg.png) no-repeat center center;
}

#recruit .lead {
    background: url(../images/recruit_lead.png) no-repeat center center;
    width: 100%;
    padding-top: 61px;
    height: 0;
    overflow: hidden;
    margin-bottom: 30px;
}

#recruit p:not(:last-child) {
    margin-bottom: 30px;
}

#recruit p a {
    color: #2e2e2e;
    font-weight: bold;
}

#interview .each img {
    display: block;
    float: left;
}

#interview .each .box {
    width: 824px;
    float: right;
    position: relative;
}

#interview .each:not(:first-child) {
    margin-top: 60px;
}

#interview .each .box::before {
    content: '';
    display: block;
    width: 156px;
    height: 323px;
    background-image: url(../images/recruit_person1_Illust.png);
    background-size: contain;
    vertical-align: middle;
    position: absolute;
    left: -154px;
    bottom: 0;
}

#interview .each .box h3 {
    border: none;
    background-color: #eef3cd;
    color: #529100;
    margin: 0;
    width: 410px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    padding-top: 15px;
    padding-bottom: 0;
    border-radius: 10px 10px 0 0;
}

#interview .each .box dl {
    border: 20px solid #eef3cd;
    border-radius: 0 10px 10px 10px;
    padding: 20px 17px 30px;
}

#interview .each .box dl dt {
    border-bottom: 1px solid #b5b5b5;
    font-size: 18px;
    font-weight: bold;
}

#interview .each .box dl dt:not(:first-child) {
    margin-top: 38px;
}

#interview .each .box dl dd {
    margin-top: 15px;
    font-size: 16px;
	text-align: justify;
}

#interview .q {
    color: #f45050;
    font-weight: bold;
}

#interview .a {
    color: #1098df;
    font-size: 18px;
    font-weight: bold;
}

#interview .each:nth-of-type(2) img {
    float: right;
}

#interview .each:nth-of-type(2) h3 {
    background-color: #fffdc8;
    color: #f58500;
}

#interview .each:nth-of-type(2) .box dl {
    border-color: #fffdc8;
}

#interview .each:nth-of-type(2) .box {
    float: left;
}

#interview .each:nth-of-type(2) .box::before {
    content: '';
    display: block;
    width: 156px;
    height: 261px;
    background-image: url(../images/recruit_person2_Illust.png);
    left: auto;
    right: -156px;
    bottom: 0;
}

#interview .each:nth-of-type(3) .box::before {
    content: '';
    display: block;
    width: 156px;
    height: 245px;
    background-image: url(../images/recruit_person3_Illust.png);
    left: -164px;
}

#interview .each:nth-of-type(3) h3 {
    background-color: #dbf6ff;
    color: #0087b4;
}

#interview .each:nth-of-type(3) .box dl {
    border-color: #dbf6ff;
}

#requirements table {
    float: left;
    width: 490px;
}

#requirements .box {
    background: url(../images/recruit_Illust.png) center center;
    float: right;
    width: 470px;
    padding-top: 460px;
    height: 0;
    overflow: hidden;
}


@media only screen and (max-width: 768px) {

    .cont h1 {
        background-image: url(../images/recruit_sp_title.png);
    }

    .primary {
        width: 90.625%;
        float: none;
        margin: 0 auto;
    }

    #recruit {
        background: url(../images/recruit_bg.png) no-repeat center center;
        -webkit-background-size: 100%;
        background-size: 100%;
    }

    #recruit .lead {
        background: url(../images/recruit_lead_sp.png) no-repeat center center;
        width: 100%;
        padding-top: 22.23880597%;
        height: 0;
        overflow: hidden;
        margin-bottom: 30px;
        -webkit-background-size: 100%;
        background-size: 100%;
    }

    #interview .each img {
        display: block;
        float: none;
        margin: 0 auto 10px;
    }

    #interview .each .box {
        width: 100%;
        float: none;
        position: relative;
    }

    #interview .each:not(:first-child) {
        margin-top: 30px;
    }

    #interview .each .box::before {
        display: none;
    }

    #interview .each .box h3 {
        border: none;
        background-color: #eef3cd;
        color: #529100;
        margin: 0;
        width: 100%;
        font-size: 20px;
        font-weight: bold;
        text-align: center;
        padding-top: 15px;
        padding-bottom: 0;
        border-radius: 10px 10px 0 0;
    }

    #interview .each .box dl {
        border: 10px solid #eef3cd;
        border-radius: 0 10px 10px 10px;
        padding: 20px 17px 30px;
    }


    #interview .each:nth-of-type(2) img {
        float: none;
    }

    #interview .each:nth-of-type(2) h3 {
        background-color: #fffdc8;
        color: #f58500;
    }

    #interview .each:nth-of-type(2) .box dl {
        border-color: #fffdc8;
    }

    #interview .each:nth-of-type(2) .box {
        float: none;
    }

    #interview .each:nth-of-type(2) .box::before {
        display: none;
    }

    #interview .each:nth-of-type(3) .box::before {
        display: none;
    }

    #interview .each:nth-of-type(3) h3 {
        background-color: #dbf6ff;
        color: #0087b4;
    }

    #interview .each:nth-of-type(3) .box dl {
        border-color: #dbf6ff;
    }

    #requirements table {
        float: none;
        width: 100%;
    }

    #requirements .box {
        background: url(../images/recruit_Illust_sp.png) center center;
        float: none;
        width: 100%;
        padding-top: 97.46268656%;
        height: 0;
        overflow: hidden;
        -webkit-background-size: 100%;
        background-size: 100%;
        margin-top: 10px;
    }

}
