/* common */
#recruit-knowhow .inner {
    width: calc(100% - 3.2rem);
}

#recruit-knowhow .box {
    padding-top: 4.8rem;
    padding-bottom: 4.8rem;
}

#recruit-knowhow .contena {
    margin-bottom: 3.2rem;
}

#recruit-knowhow .contena:last-child {
    margin-bottom: 0;
}

#recruit-knowhow h3 {
    font-weight: bold;
    font-size: 2.4rem;
    line-height: 3rem;
    border-left: #005eae solid 5px;
    font-feature-settings: "palt";
    padding-left: 0.8rem;
    margin: 2.8rem 0;
    padding-bottom: 0.2rem;
}

/* emd common */

/* category */
#recruit-knowhow .category {
    background: #003765;
    overflow: hidden;
    ;
}

#recruit-knowhow .category-box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.cat-li {
    display: flex;
    justify-content: space-between;
    width: calc(100% - 80px);
    padding: 0 0 0 2rem;
    text-align: center;
}

.cat-li li {
    font-size: 1.2rem;
    line-height: 1.8rem;
}

.cat-li a {
    color: #f2f2f2;
    /* opacity:0.8; */
    font-size: 1.5rem;
    font-feature-settings: "palt";
    padding-top: 2.4rem;
    padding-bottom: 2.4rem;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
    transition: .2s;
    letter-spacing: 0.05em;

}

.cat-li a:hover {
    opacity: 0.8;
}

.cat-li a.active {
    position: relative;
    opacity: 1;
    background: rgba(255, 255, 255, 0.9);
    font-weight: bold;
    color: #003765;
}

.cat-li a.active::after {
    content: '';
    display: block;
    opacity: 1;
    width: calc(100% - 1.6rem);
    height: 4px;
    border-radius: 0;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    background: #003765;

}

#recruit-knowhow .til {
    color: #f2f2f2;
    padding-right: 1.6rem;
    font-size: 1.4rem;
    font-weight: bold;
    border-right: 0.8px solid rgba(255, 255, 255, 0.6);
    padding-top: 2.4rem;
    padding-bottom: 2.4rem;
}

/* end category */

/* article box */
#recruit-knowhow .recruit-knowhow_li {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

#recruit-knowhow .recruit-knowhow_item {
    width: 31%;
    margin-left: 1%;
    margin-right: 1%;
    margin-bottom: 2.4rem;
}

#recruit-knowhow .recruit-knowhow_item a {
    color: #000;
}

#recruit-knowhow .recruit-knowhow_item .img {
    /*height: 200px;*/
    background: #f5f5f5;
    margin-bottom: 1rem;
    border-radius: 2px;
    overflow: hidden;
}

#recruit-knowhow .recruit-knowhow_item img {
    aspect-ratio: 6 / 4;
    /*height: 240px;*/
    object-fit: contain;
    width: 100%;
    object-position: 50% 50%;
    transition: .3s;
}

/* #recruit-knowhow .recruit-knowhow_item a:hover{
        opacity:1;
    } */
#recruit-knowhow .recruit-knowhow_item img:hover {
    transform: scale(1.05, 1.05);
    opacity:1;
}

#recruit-knowhow .recruit-knowhow_item h4 {
    font-size: 1.7rem;
    line-height: 2.4rem;
    font-feature-settings: "palt";
    letter-spacing: 0.1em;
    font-weight: bold;
}

#recruit-knowhow .recruit-knowhow_li.col4 .recruit-knowhow_item {
    width: 23%;
    margin-left: 1%;
    margin-right: 1%;
}

#recruit-knowhow .recruit-knowhow_li.col4 .recruit-knowhow_item img,
#recruit-knowhow .recruit-knowhow_li.col4 .recruit-knowhow_item .img {
    height: 160px;
}

#recruit-knowhow .recruit-knowhow_li.col4 .recruit-knowhow_item h4 {
    font-size: 1.6rem;
    line-height: 2.3rem;
    letter-spacing: 0.08em;
}

/* article end box */

/* survey */
.cat-til {
    text-align: center;
    border: none;
    font-size: 1.8rem;
    line-height: 3rem;
    margin-bottom: 0;
    color: white;
    font-weight: bold;
    margin-top: 2rem;
    font-feature-settings: "palt";
}

.cat-til .subtil {
    font-size: 1.5rem;
    line-height: 2rem;
    padding-right: 1rem;
    font-weight: bold;
    color: #fff;
}

/* end survey */

/* form */
#recruit-knowhow .form-til,
#recruit-knowhow .detail-til {
    padding: 0;
    border: none;
    text-align: center;
}

.form-l {
    width: 470px;
}

.form-r {
    width: calc(100% - 490px);
    background: #f8f8f8;
    padding: 2.8rem 2.4rem;
}

#recruit-knowhow .txt {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1.6rem;
}

#recruit-knowhow .form.inner {
    width: calc(100% - 3.2rem);
    max-width: 980px;
}

#recruit-knowhow .form-box {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#recruit-knowhow .form-r h3 {
    font-size: 1.7rem;
    margin-bottom: 0.8rem;
    line-height: 2.5rem;
    border-left: none;
    text-align: center;
    position: relative;
    /* padding: 0 65px; */
    padding-left: 0;
}

#recruit-knowhow .form-r h3:before {
    position: absolute;
    top: calc(50% - 1px);
    left: 0;
    width: 100%;
    height: 1px;
    content: '';
    background: #000;
}

#recruit-knowhow .form-r h3 span {
    position: relative;
    padding: 0 1em;
    background: #f8f8f8;
}


.form-r .form-img img {
    width: 100%;
}

.dl-li li {
    margin-bottom: 0.6rem;
    font-size: 1.5rem;
    position: relative;
    border-radius: 2px;
    letter-spacing: 0.08em;
    padding: 1.4rem 1.6rem 1.4rem 3.8rem;
    background: white;
    /* box-shadow: 0 0 3px 1px rgb(0,0,0,.04); */

}

.dl-li li:last-of-type {
    margin-bottom: 0;
}

.dl-li li::before {
    position: absolute;
    content: '';
    top: 0.9rem;
    left: 0.8rem;
    display: block;
    width: 24px;
    /*幅*/
    height: 21px;
    /*どれだけデカくなってもはみ出ないであろう高さを指定*/
    background-image: url(../images/report/check.png);
    background-size: contain;
    background-repeat: no-repeat;
    /*画像を繰り返さない*/
}

#recruit-knowhow table.formTable {
    width: 100%;
    max-width: calc(100% - 3.2rem);
    margin: 0 auto 2.4rem;
    border-collapse: collapse;
}

#recruit-knowhow table.formTable tr {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

#recruit-knowhow table.formTable td {
    padding: 12.5px;
    width: 100%;
}

#recruit-knowhow table.formTable th {
    padding: 12.5px;
    width: 160px;
    display: block;
    font-weight: bold;
    text-align: left;
    font-size: 1.4rem;
    white-space: nowrap;
}

#recruit-knowhow input,
textarea {
    padding: 1rem 1rem;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -o-border-radius: 2px;
    -ms-border-radius: 2px;
    border-radius: 2px;
    border: 1px solid #CCCCCC;
    font-size: 1.5rem;
    width: 100%;
}

#recruit-knowhow input::placeholder {
    color: #cccccc;
}

#recruit-knowhow .required {
    position: relative;
}

#recruit-knowhow .required::after {
    content: "必須";
    background: #da0700;
    color: #fff;
    font-size: 1rem;
    font-weight: normal;
    line-height: 1rem;
    padding: 0.1rem 0.6rem 0.2rem;
    margin-left: 0.4rem;
}

#recruit-knowhow .att {
    color: #da0700;
    margin-top: 0.4rem;
    font-size: 1.2rem;
    line-height: 1.6rem;
    display: block;
}

#recruit-knowhow button {
    color: #fff;
}

#recruit-knowhow .btn::after {
    display: none;
}

/* end form */

/* pager */
.pager {
    margin: 24px 0;
}

.pagination {
    display: flex;
    justify-content: center;
}

.pager .pagination li {
    padding: 4px;
}

.pager .pagination li span {
    /*color: #002341;*/
    font-size: 1.4rem;
    line-height: 50px;
    text-align: center;
    display: block;
    width: 50px;
}

.pager .pagination li a {
    color: #002341;
    font-size: 1.4rem;
    line-height: 50px;
    text-decoration: none;
    text-align: center;
    display: block;
    width: 50px;
    border: #002341 solid 1px;
    transition: .2s;
}

.pager .pagination li a:hover,
.pager .pagination li a.active {
    color: #fff;
    background: #002341;
    opacity: 1;
}

/* end pager */
/* detail */
#recruit-knowhow .detail-til {
    margin-bottom: 3.4rem;
}

.dl-box {
    flex-wrap: wrap;
    justify-content: space-around;
    display: flex;
    margin-bottom: 3.2rem;
    align-items: center;
}

.dl-box .img {

    height: auto;
    width: 400px;
    background: #fff;
    /* border-radius:2px; */
}

.dl-box .img img {
    aspect-ratio: 16 / 9;
    /* height: 200px; */
    object-fit: contain;
    width: 100%;
    box-shadow: 0 0 8px 0px rgb(0, 0, 0, 0.1);
    object-position: 50% 50%;
}

.dl-box .dl-con {
    padding: 3.2rem 3.2rem 2.8rem 2.8rem;
    border: 1px solid #ccc;
    border-radius: 2px;
    display: inline-block;
    width: calc(100% - 460px);
    position: relative;
}

.dl-box .dl-con h4 {
    font-weight: bold;
    font-size: 1.7rem;
    position: absolute;
    left: 3.2rem;
    top: -1rem;
    z-index: 2;
}

.dl-box .dl-con h4 span {
    padding: 0.4rem 2rem;
    background: #fff;
}

.dl-con_li li {
    margin-bottom: 1.4rem;
    font-size: 1.6rem;
    line-height: 2.4rem;
    position: relative;
    border-radius: 2px;
    letter-spacing: 0.08em;
    padding: 0rem 0rem 0rem 3.6rem;
}

.dl-con_li li:last-of-type {
    margin-bottom: 0;
}

.dl-con_li li::before {
    position: absolute;
    content: '';
    top: 0.3rem;
    left: 0.8rem;
    display: block;
    width: 24px;
    height: 21px;
    background-image: url(../images/report/check.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.at-txt {
    text-align: center;
    font-size: 1.3rem;
    line-height: 1.8rem;
}

.dl-btn {
    position: relative;
}

.dl-btn::after {
    position: absolute;
    content: '';
    top: 50%;
    right: 1.6rem;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    display: block;
    width: 24px;
    height: 21px;
    background-image: url(../images/recruit/dl-btn.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

/* end detail */
@media screen and (max-width: 1024px) {
    #recruit-knowhow .category {
        overflow-x: scroll;
    }
    .cat-li {
        width: auto;
        padding: 2rem 2rem 2rem;
        
    }

    .cat-li li {
        
        text-align: left;
    }

    .cat-li a {
        font-size: 1.4rem;
    }

    .cat-li a.active {
        position: relative;
        opacity: 1;
        background: #003765;
        font-weight: bold;
        color: #fff;
    }

    .cat-li a.active::after {
        display: none;
    }

    #recruit-knowhow .til {
        padding-top: 3.2rem;
        padding-bottom: 3.2rem;
    }

    .form-l {
        margin-bottom: 4rem;
        width: 49%;
    }

    .form-r {
        width: 49%;
    }

    .cat-til {
        margin-top: 1rem;
        font-size: 1.6rem;
    }

    .cat-til .subtil {
        font-size: 1.4rem;
    }
}


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

    #recruit-knowhow .inner,
    #recruit-knowhow .form.inner {
        width: calc(100% - 3.2rem);
    }

    #recruit-knowhow .recruit-knowhow_item {
        width: 32%;
        margin-left: 0.5%;
        margin-right: 0.5%;
        margin-bottom: 2rem;
    }

    #recruit-knowhow .category-box {
        display: block;
        padding-top: 2rem;
        padding-bottom: 2rem;

    }

    #recruit-knowhow .til {
        padding-right: 0;
        font-weight: bold;
        border-right: none;
        padding-top: 0;
        padding-bottom: 0;
        margin-bottom: 1.6rem;
    }

    .cat-li {
        flex-wrap: wrap;
        justify-content: space-around;
        width: 100%;
        padding: 0;
    }

    .cat-li a {
        padding: 0;
    }

    .cat-li li {
        width: 32%;
        margin-bottom: 1rem;
        text-align: left;
    }

    i a.active {
        padding-left: 10px;
    }

    .cat-li a.active::after {
        display: block;
        width: 6px;
        height: 6px;
        top: 8px;
        left: 0px;
        background: #fff;

    }

    #recruit-knowhow .recruit-knowhow_item img,
    #recruit-knowhow .recruit-knowhow_item .img {
        height: 160px;
    }

    #recruit-knowhow .recruit-knowhow_item h4 {
        font-size: 1.6rem;
        line-height: 2.3rem;
    }

    table.formTable {
        width: 100%;
        box-sizing: border-box;
    }

    input,
    textarea {
        width: 100%;
    }

    #recruit-knowhow table.formTable td,
    #recruit-knowhow table.formTable th {
        display: block;
        width: 100%;
    }
    #recruit-knowhow table.formTable th {
        padding: 8px 0 8px 0;
    }
    #recruit-knowhow table.formTable td {
        padding: 0 0 8px 0;
    }

    table.formTable th {
        padding-bottom: 0;
    }

    .pager .pagination li {
        display: none;
    }

    .pager .pagination li.pre,
    .pager .pagination li.next {
        display: inline-block;
        width: 50%;
        max-width: 300px;
        text-align: center;
    }

    .pager .pagination li.pre a,
    .pager .pagination li.next a {
        width: 100%;
        text-align: center;
    }

    .pager .pagination li.pre span::after {
        content: "　前の10件へ";
    }

    .pager .pagination li.next span::before {
        content: "次の10件へ　";
    }

    .pager .pagination li span {
        width: auto;
    }


    .form-l {
        margin-bottom: 4rem;
        width: 100%;
    }

    .form-r {
        width: 100%;
    }

    .cat-til {
        font-size: 1.4rem;
        line-height: 2rem;
        margin-top: 0.8rem;
    }

    .cat-til .subtil {
        font-size: 1.3rem;
        line-height: 1.8rem;
    }

    .dl-box {
        justify-content: center;
    }

    .dl-box .img {
        margin-bottom: 3.2rem;
        width: 560px;
    }

    .dl-box .dl-con {
        padding: 2.4rem 1.6rem 2.8rem;
        width: 100%;
    }

    .dl-box .dl-con h4 span {
        padding: 0.4rem 1rem;
    }

    .dl-box .dl-con h4 {
        left: 2.4rem;
    }

    .complete .form-r {
        display: block;
    }
    .complete .form-r .form-img {
        margin-bottom: 16px;
    }
    .complete .form-r .form-img + div {
        padding: 0;
        width: auto;
    }
}




@media screen and (max-width:640px) {
    #recruit-knowhow .recruit-knowhow_item {
        width: 48%;
        margin-left: 1%;
        margin-right: 1%;
        margin-bottom: 2rem;
    }

    .cat-li li {
        width: 48%;
    }

    .cat-li {
        justify-content: space-between;
    }

    .cat-li a {
        font-size: 1.4rem;
    }

    #recruit-knowhow .recruit-knowhow_item img,
    #recruit-knowhow .recruit-knowhow_item .img {
        height: 140px;
    }
}

@media screen and (max-width:400px) {
    #recruit-knowhow .recruit-knowhow_item {
        width: 100%;
    }

    #recruit-knowhow .box {
        padding-bottom: 4.4rem;
    }

    .form-r {
        padding: 2.2rem 1.8rem;
    }

    #recruit-knowhow .cat-til {
        margin-bottom: 2.4rem;

    }

    #recruit-knowhow .form-r h3 {
        font-size: 1.6rem;
    }

    #recruit-knowhow .form-r h3 span {
        padding: 0 0.8rem;
    }

    .dl-li li {
        font-size: 1.5rem;
    }

}