/* 詳細 */
.detail_main_ttl {
    font-size: 22px;
    font-weight: 400;
    color: var(--main-color);
    line-height: calc(32 / 22);
    font-family: var(--main-font);
    width: 321px;
    margin: 0 auto 40px;
    position: relative;
}

.detail_main_ttl::before {
    content: "";
    position: absolute;
    background: url(../images/details/decoration_ttl_left.png) no-repeat center / cover;
    width: 16px;
    height: 16px;
    top: -16px;
    left: -16px;
}

.detail_main_ttl::after {
    content: "";
    position: absolute;
    background: url(../images/details/decoration_ttl_right.png) no-repeat center / cover;
    width: 16px;
    height: 16px;
    bottom: -16px;
    right: -16px;
}

.detail_sub_ttl {
    font-size: 18px;
    font-weight: 400;
    color: var(--main-color);
    line-height: calc(28 / 18);
    font-family: var(--main-font);
    display: flex;
    align-items: start;
    position: relative;
    margin-bottom: 24px;
}

.detail_box h2:not(.requirement_ttl) {
    font-size: 18px;
    font-weight: 400;
    color: var(--main-color);
    line-height: calc(28 / 18);
    font-family: var(--main-font);
    display: flex;
    align-items: start;
    position: relative;
    margin-bottom: 24px;
}

.detail_sub_heading {
    font-size: 16px;
    font-weight: 400;
    line-height: calc(24 / 16);
    font-family: var(--main-font);
    display: flex;
    align-items: start;
    position: relative;
    margin-bottom: 24px;
}

.detail_box h3 {
    font-size: 16px;
    font-weight: 400;
    line-height: calc(24 / 16);
    font-family: var(--main-font);
    display: flex;
    align-items: start;
    position: relative;
    margin-bottom: 24px;
}

.detail_box h2:not(.requirement_ttl) {
    font-size: 16px;
    font-weight: 400;
    line-height: calc(24 / 16);
    font-family: var(--main-font);
    display: flex;
    align-items: start;
    position: relative;
    margin-bottom: 24px;
}

.detail_sub_ttl::before,
.detail_box h2:not(.requirement_ttl)::before,
.detail_box h3::before,
.detail_sub_heading::before {
    display: block;
    content: "";
    width: 6px;
    height: 58px;
    background: #008000;
    margin-right: 16px;
}

.detail_sub_heading::before {
    height: 52px;
}


.detail_text {
    font-size: 14px;
    color: #161616;
    line-height: calc(28 / 14);
    font-weight: 200;
    font-family: var(--main-font);
}


.detail_box {
    font-size: 14px;
    color: #161616;
    line-height: calc(28 / 14);
    font-weight: 200;
    font-family: var(--main-font);
}

/* ページャーボタン */

.pagination.ui-box {
    justify-content: space-between;
}

[class*="pager_btn"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 8px;
    border: 1px solid var(--main-color);
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    color: var(--main-color);
    line-height: calc(18 / 12);
    display: flex;
    align-items: center;
    position: relative;
}

.pager_btn--prev {
    flex-direction: row-reverse;
}

[class*="pager_btn"]::after {
    content: "";
    width: 16px;
    height: 16px;
}

.pager_btn--prev::after {
    background: url(../images/details/detail-pager_arrow-left.png) no-repeat center / cover;
    margin-right: 10px;
}

.pager_btn--next::after {
    background: url(../images/details/detail-pager_arrow-right.png) no-repeat center / cover;
    margin-left: 10px;
}

.pager_btn--next {
    margin-left: auto;
}



@media (min-width: 768px) {

    .detail_main_ttl {
        max-width: 896px;
        width: 100%;
        margin-bottom: 36px;
    }

    .detail_main_ttl::before {
        top: 0;
    }

    .detail_main_ttl::after {
        bottom: 0;
    }

    .detail_sub_heading {
        align-items: center;
    }

    .detail_box h3 {
        align-items: center;
    }

    .detail_sub_ttl::before,
    .detail_box h2:not(.requirement_ttl)::before,
    .detail_box h3::before,
    .detail_sub_heading::before {
        height: 32px;
    }

    .pagination {
        gap: 21px;
    }

}


/* -------------
NEWS_DETAIL
---------------- */

.detail_box {
    margin-bottom: 32px;
}

.detail_top {
    margin-bottom: 40px;
}

.flex_photo {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.detail_photo {
    width: 100%;
}

.detail_top .detail_photo {
    width: 100%;
    margin-bottom: 26px;
}

.detail_box img {
    width: 100%;
    margin-bottom: 26px;
}

@media (min-width:768px) {

    .section_content--news_detail {
        margin: 0;
    }

    .detail_box {
        max-width: 928px;
        margin-inline: auto;
        margin-bottom: 80px;
    }

    .detail_top {
        margin-bottom: 40px;
    }

    .flex_photo {
        flex-direction: row;
        gap: 32px;
    }

    .detail_photo {
        width: 100%;
        margin: 0 auto;
    }

    .detail_top .detail_photo {
        max-width: 928px;
    }

    .detail_top .detail_photo {
        max-width: 928px;
    }

    .detail_bottom .detail_photo {
        max-width: 448px;
    }

}

/* -------------
RECRUIT_DETAIL
---------------- */

.section_content--recruit_detail .detail_box {
    margin-bottom: 64px;
}


.section_content--recruit_detail .detail_bottom {
    margin-bottom: 64px;
}

.requirement_ttl {
    font-size: 18px;
    color: var(--main-color);
    font-weight: 400;
    line-height: calc(28 / 18);
    font-family: var(--main-font);
    text-align: center;
    margin-bottom: 40px;
    margin-top: 64px;
}

.requirement_table {
    margin-bottom: 40px;
}

.requirement_table dl {
    display: flex;
    align-items: baseline;
    justify-content: space-around;
    padding-block: 30px;
    border-top: 1px solid var(--point-color);
}

.requirement_table dt {
    font-size: 14px;
    color: var(--main-color);
    line-height: calc(21 / 14);
    font-family: var(--main-font);
    min-width: 70px;
}

.requirement_table dd {
    font-size: 14px;
    color: var(--main-color);
    line-height: calc(21 / 14);
    font-family: var(--main-font);
    max-width: 202px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact_box {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

[class*="conductor_btn"] {
    width: 320px;
    height: 60px;
    border-radius: 8px;
    margin: 0 auto;
}

[class*="conductor_btn"] a {
    width: 320px;
    height: 60px;
    border-radius: 8px;
    color: #fff;
    font-family: var(--main-font);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    position: relative;
}

.conductor_btn--apply a {
    font-size: 14px;
    font-weight: 500;
    line-height: calc(20 / 14);
    background: #008000;
}

.conductor_btn--tel a {
    font-size: 18px;
    line-height: calc(28 / 18);
    background: var(--main-color);
}

[class*="conductor_btn"] a::before {
    content: "";
    width: 24px;
    height: 24px;
}

.conductor_btn--apply a::before {
    background: url(../images/details/apply-icons_door.png) no-repeat center / cover;
}

.conductor_btn--tel a::before {
    background: url(../images/details/tel_icons_phone.png) no-repeat center / cover;
}



@media (min-width: 768px) {

    .section_content--recruit_detail {
        margin: 0;
    }

    .section_content--recruit_detail .detail_bottom {
        margin-bottom: 40px;
    }

    .requirement_box {
        max-width: 793px;
        margin: 0 auto;
    }

    .requirement_ttl {
        margin-bottom: 64px;
        margin-top: 40px;
    }

    .requirement_table {
        margin-bottom: 64px;
    }

    .requirement_table dl {
        justify-content: flex-start;
        gap: 48px;
        padding: 30px 53px;
    }

    .requirement_table dd {
        max-width: 570px;
    }

    .contact_box {
        flex-direction: row;
        justify-content: center;
        gap: 40px;
    }

    [class*="conductor_btn"] {
        margin: inherit;
    }

    .conductor_btn--tel a {
        pointer-events: none;
    }

}

.detail_box tr {
    display: flex;
    flex-wrap: wrap;
}

.detail_box tr td {
    width: 100% !important;
    margin-top: 20px;
}

@media (min-width: 768px) {
    .detail_box tr td:nth-child(odd) {
        margin-right: 30px;
    }

    .detail_box tr td {
        width: calc(50% - 15px) !important;
    }
}