@charset "utf-8";

.search-block {
    max-width: 850px;
    margin: 1em auto;
}
.search-block .open-btn {
    position: relative;
    display: block;
    margin: 0;
    padding: 0.5em 1.5em;
    width: 100%;
    color: #000;
    background: rgb(237, 232, 220);
    text-align: left;
    font-size: 120%;
    border-radius: 0;
}
.search-block .open-btn .arrow_mark {
    width: 25px;
    height: 25px;
    display: block;
    position: absolute;
    background: url(../img/arrow-up.png) no-repeat;
    background-size: cover;
    right: 30px;
    bottom: 10px;
}
.search-block .open-btn[aria-expanded^=true] .arrow_mark {
    background: url(../img/arrow-down.png) no-repeat;
    background-size: cover;
    width: 25px;
    height: 25px;
    display: block;
    position: absolute;
    background-size: cover;
    right: 30px;
    bottom: 10px;
}
.contents-joblist {
    max-width: 850px;
    margin: 0 auto;
}
.no-data{
    padding: 0 1em;
}
.joblist-box {
    margin: 0 auto 3em;
    padding: 0 0 6px;
    max-width: 820px;
    border: 1px solid #4e7280;
    background: #FFF;
}

.joblist-info {
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
}
.joblist-title {
    margin: 0;
    padding: 15px 27px;
    font-size: 18px;
    font-weight: normal;
    background: #4e7280;
}

a .joblist-title{
    color:#FFF;
}
.joblist-box a:hover{
    text-decoration: none;
    opacity: .65;
}
.joblist-txt-box{
    min-height: 298px;
}
.joblist-table {
    margin: 15px 0 0 15px;
    width: 380px;
    width: calc(100% - 400px);
}
.joblist-table-box{
    border-bottom: 1px dashed #dee2e6;
    padding: 7px 12px;
}
.joblist-table-box .title{
    font-size: 16px;
    font-weight: bold;
    line-height: 24px;
    margin: 0;
}
.joblist-table-box .text{
    font-size: 14px;
    line-height: 22px;
}
.joblist-table-box:last-child{
    border-bottom: none;
}
.joblist-table-box:last-child .text {
    height:auto;
    -webkit-line-clamp: 2;
}
.joblist-table th,
.joblist-table td {
    text-align: left;
    border-top: none;
    width: 100%;
}
.joblist-table th {
    padding: 12px 12px 0 0;
    font-weight: bold;
    font-size: 16px;
    line-height: 22px;
}
.joblist-table td {
    border-bottom: 1px dashed #dee2e6;
    padding: 0 12px 12px 0;
    font-size: 14px;
    line-height: 20px;
}
.joblist-table .ellipsis-td {
    height: auto;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.joblist-img-box {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0 auto;
    padding: 0;
    width: 390px;
}

.joblist-img-box .joblist-no-img {
    margin: 0 auto;
    width: 300px;
    height: 225px;
    background: #ccc;
}

.joblist-img-box img {
    display: block;
    margin: 0 auto;
    width: 300px;
    height: 225px;
    font-family: 'object-fit: contain; object-position: center;' /* IE・Edge対応; */
}

.joblist-btn-box {
    position: absolute;
    bottom: 16px;
    right: 0;
    width: 290px;
}

.joblist-btn-box .joblist-btn {
    position: relative;
    display: inline-block;
    margin: 0 15px;
    padding: 0.35em 0;
    width: 9em;
    overflow: hidden;
    font-size: 18px;
    border-radius: .25rem;
}
.joblist-btn-box .joblist-btn:hover {
    opacity: .65
}
@media screen and (min-width:769px) {
.joblist-table-box .text{
    height: 20px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}
}
@media screen and (max-width:767px) {
    .joblist-info {
        margin: 0;
        padding: 0;
        width: 100%;
        height: auto;
        text-align: center;
    }

    .joblist-img-box {
        position: relative;
        margin: 0 auto;
        width: 100%;
        height: auto;
    }

    .joblist-img-box img{
        width: 260px;
        height: 195px;
        margin: 15px auto;
    }

    .joblist-img-box .joblist-no-img {
        margin: 15px auto;
        width: 240px;
        height: 180px;
        background: #ccc;
    }
    .search-table{
        border-left: 1px solid #dee2e6;
        border-right: 1px solid #dee2e6;
        border-bottom: 1px solid #dee2e6;
    }
    .btn-table{
        border-left: none;
        border-right: none;
        border-bottom: none;
    }
    .joblist-table {
        margin: 0;
        padding: 0;
        width: 100%;
    }
    .joblist-txt-box{
        text-align: left;
        padding: 0 14px;
        min-height: auto;
    }
    .joblist-table-box {
        border-bottom: none;
    }
    .joblist-table-box:last-child{
        margin-bottom:inherit;
    }
    .joblist-table-box:last-child .text{
        height: inherit;
    }
    .joblist-table th{
        padding: 12px 15px 0;
    }

    .joblist-table td{
        padding: 0 15px 12px;
        border-bottom: none;
    }
    .btn-table td div{
        max-width: 360px;
        margin: 0 auto;
    }
    .search-table .search-btn{
        font-size: 13px;
        float: left;
        width: 38vw;
        margin: 1rem 0;
        max-width: 170px;
    }
    .search-table .btn-default{
        font-size: 13px;
        float: right;
        width: 38vw;
        margin: 1rem 0;
        max-width: 170px;
        padding: .375rem 0;
    }
    .joblist-btn-box {
        padding: 5px 0 20px;
        text-align: center;
        width: 100%;
        position: static;
    }
    .joblist-btn-box .joblist-btn {
        position: relative;
        display: inline-block;
        margin: 0 15px;
        padding: 0.5em 0;
        width: 9em;
        color: #fff;
        overflow: hidden;
    }

    .joblist-btn-box .joblist-btn:hover {
        opacity: .65
    }
    .form-check-label{
        width:100%;
    }
    .search-block .open-btn {
        box-shadow: none;
    }
    .search-table th{
        padding: 0.75rem 1rem .5rem;
        font-size: 15px;
    }
    .search-table td{
        padding: 0 1rem .75rem;
        font-size:14px;
    }
}
