#work {
}
.work-nav-list {
    margin-bottom: 16rem;
    box-shadow: 0 0 30px rgba(0 0 0 / 0.1);
    border-radius: 3vw;
}
.work-nav-list li {
    width: 25%;
    background: #fff;
}
.work-nav-list li:first-of-type {
    border-radius: 3vw 0 0 3vw;
}
.work-nav-list li:last-of-type {
    border-radius: 0 3vw 3vw 0;
}
.work-nav-list li:not(:last-of-type) {
    border-right: 1px solid #f0f0f0;
}
.work-nav-list li a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 13px;
    padding: 40px 0;
    text-align: center;
    color: var(--hd-text-color);
}
.work-nav-list li a::before {
    content: "";
    width: 80px;
    height: 88px;
    background: no-repeat center;
    background-size: contain;
}
.work-nav-list li:nth-of-type(1) a::before {
    background-image: url("../img/work/work_type_icon01.png");
}
.work-nav-list li:nth-of-type(2) a::before {
    background-image: url("../img/work/work_type_icon02.png");
}
.work-nav-list li:nth-of-type(3) a::before {
    background-image: url("../img/work/work_type_icon03.png");
}
.work-nav-list li:nth-of-type(4) a::before {
    background-image: url("../img/work/work_type_icon04.png");
}
/*.work-nav-list li:nth-of-type(4) a::before {
    width: 90px;
    height: 90px;
    background-image: url("../img/work/work_type_voice_img.png");
}*/
.work-nav-list li a::after {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background-image: url("../img/btn_icon_arrow_circle_down.svg");
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.1s 0s ease;
}
@media (hover: hover) {
    .work-nav-list li a:hover::after {
        transform: translateY(5px);
    }
}
.work-type-wrap {
}
.work-type-box:not(:last-of-type) {
    margin-bottom: 160px;
}
.work-type-box-head {
    position: relative;
    padding: 2.25rem 0;
    margin-bottom: 5rem;
    font-family: Zen Maru Gothic;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 0.18em;
    line-height: 1.7;
    text-align: center;
    border-top: 1px solid var(--hd-border-color);
    border-bottom: 1px solid var(--hd-border-color);
}
.work-type-box-head::before {
    position: absolute;
    display: block;
    content: "";
    width: 180px;
    height: 3px;
    background: #fff;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
}
.work-type-box-head::after {
    position: absolute;
    display: block;
    content: "";
    width: 80px;
    height: 88px;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-85px);
    background: no-repeat center;
    background-size: contain;
}
.work-type-seikatsu .work-type-box-head::after {
    background-image: url("../img/work/work_type_icon01.png");
}
.work-type-kinoukunren .work-type-box-head::after {
    background-image: url("../img/work/work_type_icon02.png");
}
.work-type-kaigoshokuin .work-type-box-head::after {
    background-image: url("../img/work/work_type_icon03.png");
}
#staff .work-type-box-head::after {
    background-image: url("../img/work/work_type_icon04.png");
}
.work-type-head-text {
    margin-bottom: 5rem;
    text-align: center;
    font-weight: bold;
    line-height: 2;
}
.work-type-head-text strong {
    /*color: #74bbab;*/
    color: var(--hd-link-color);
}
.work-type-detail {
    padding: 80px;
    box-shadow: 0 0 0 1px var(--hd-border-color) inset, 0 0 0 6px var(--hd-br-color2) inset;
}
.work-type-detail-box:not(:last-of-type) {
    margin-bottom: 7.5rem;
}
.work-type-detail-head {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0 8px;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: bold;
}
.work-type-detail-head::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: var(--hd-text-color);
}
.work-type-detail-items {
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.work-type-detail-item {
    padding: 1.25rem 2rem;
    background-color: #e7f1f8;
    font-weight: bold;
    border-radius: 2px;
}
.work-type-detail .hd-attention {
    margin-top: 1rem;
}
.work-type-schedule {
    position: relative;
    padding: 50px 80px 100px 80px;
    background-color: #f5f5f5;
    border-radius: 2px;
    text-align: center;
}
.work-type-kinoukunren .work-type-schedule {
    padding: 50px 80px 300px 80px;
}
.work-type-kaigoshokuin .work-type-schedule {
    padding: 50px 80px 200px 80px;
}
.work-type-schedule-head {
    display: inline-block;
    padding: 1.25rem 8rem;
    margin-bottom: 4rem;
    text-align: center;
    background-color: #fff;
    border-radius: 2em;
    font-size: 1.8rem;
    font-weight: bold;
    border: 1px solid #eaeaea;
}
.work-type-schedule-wrap {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}
.work-type-schedule-wrap::after {
    position: absolute;
    display: block;
    content: "";
    width: 2px;
    /*height: 100%;*/
    height: calc(100% - 300px);
    top: 2px;
    left: 50%;
    margin-left: -1px;
    background-image : linear-gradient(0deg, #dad5d4 2px, transparent 2px);
    background-size: 2px 4px;
}
.work-type-schedule-child {
    position: relative;
    width: 50%;
}
.work-type-schedule-child:nth-of-type(2) {
    margin-top: 60px;
}
.work-type-schedule-child:nth-of-type(3),
.work-type-schedule-child:nth-of-type(4),
.work-type-schedule-child:nth-of-type(5),
.work-type-schedule-child:nth-of-type(6),
.work-type-schedule-child:nth-of-type(7),
.work-type-schedule-child:nth-of-type(8) {
    margin-top: -120px;
}
.work-type-schedule-child:nth-of-type(9) {
    margin-top: 80px;
}
.work-type-kinoukunren .work-type-schedule-child:nth-of-type(8) {
    margin-top: 80px;
}
.schedule-child-name {
    display: flex;
    align-items: center;
    font-weight: bold;
    width: 100%;
}
.work-type-schedule-child:nth-of-type(2n+1) {
    margin-right: 50%;
    padding-right: 60px;
}
.work-type-schedule-child:nth-of-type(2n+1) .schedule-child-name {
    justify-content: flex-end;
    text-align: right;
}
.work-type-schedule-child:nth-of-type(2n) {
    margin-left: 50%;
    padding-left: 60px;
}
.work-type-schedule-child:nth-of-type(2n) .schedule-child-name {
    justify-content: flex-start;
    text-align: left;
}
.schedule-child-name .time {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    /*top: 0;*/
    border-radius: 25px;
    background-color: #74bbab;
    color: #fff;
    font-size: 1rem;
    z-index: 1;
}
.schedule-child-name .time::after {
    content: "";
    position: absolute;
    width: 50px;
    height: 1px;
    top: 50%;
    background-color: #74bbab;
    z-index: -1;
}
.schedule-child-name .time:empty {
    width: 20px;
    height: 20px;
    border-radius: 10px;
}
.work-type-schedule-child:nth-of-type(2n+1) .schedule-child-name .time {
    right: 0;
    margin-right: -25px;
}
.work-type-schedule-child:nth-of-type(2n+1) .schedule-child-name .time:empty {
    margin-right: -10px;
}
.work-type-schedule-child:nth-of-type(2n+1) .schedule-child-name .time::after {
    right: 25px;
}
.work-type-schedule-child:nth-of-type(2n+1) .schedule-child-name .time:empty::after {
    right: 10px;
}
.work-type-schedule-child:nth-of-type(2n) .schedule-child-name .time {
    left: 0;
    margin-left: -25px;
}
.work-type-schedule-child:nth-of-type(2n) .schedule-child-name .time:empty {
    margin-left: -10px;
}
.work-type-schedule-child:nth-of-type(2n) .schedule-child-name .time::after {
    left: 25px;
}
.work-type-schedule-child:nth-of-type(2n) .schedule-child-name .time:empty::after {
    left: 10px;
}
.schedule-child-img {
    margin-top: 2.5rem;
}
.schedule-child-img img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}
.work-type-schedule-voice {
    position: absolute;
    width: calc(50% - 80px);
    padding: 40px;
    bottom: 80px;
    right: 80px;
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid #eaeaea;
}
.work-type-kinoukunren .work-type-schedule-voice {
    right: auto;
    left: 80px;
}
.work-type-schedule-voice-head {
    position: relative;
    margin-bottom: 10px;
    text-align: left;
    font-weight: bold;
}
.work-type-schedule-voice-head::before {
    position: absolute;
    display: block;
    content: "";
    width: 56px;
    height: 62px;
    top: -72px;
    left: 0;
    background: no-repeat center;
    background-size: contain;
}
.work-type-seikatsu .work-type-schedule-voice-head::before {
    background-image: url("../img/work/work_type_icon01.png");
}
.work-type-kinoukunren .work-type-schedule-voice-head::before {
    background-image: url("../img/work/work_type_icon02.png");
}
.work-type-kaigoshokuin .work-type-schedule-voice-head::before {
    background-image: url("../img/work/work_type_icon03.png");
}
.work-type-schedule-voice-text {
    font-size: 1.3rem;
    line-height: 2;
    text-align: left;
}

#staff {
    margin-top: 160px;
}
/*.work-type-box-head.work-type-staff-head::before,
.work-type-box-head.work-type-staff-head::after {
    display: none;
}*/
.staff-voice-list {
}
.staff-voice-list li {
    width: calc((100% - 100px) / 3);
}
.staff-voice-list li img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}


@media (max-width: 576px) {
    .work-nav-list {
        margin-bottom: 10rem;
        box-shadow: 0 0 20px rgba(0 0 0 / 0.1);
        border-radius: 3vw;
        overflow: hidden;
    }
    .work-nav-list li {
        width: 50%;
        border-radius: 0 !important;
    }
    .work-nav-list li:not(:last-of-type) {
        border-right: none;
    }
    .work-nav-list li:nth-of-type(1) {
        border-bottom: 1px solid #f0f0f0;
        border-right: 1px solid #f0f0f0;
    }
    .work-nav-list li:nth-of-type(2) {
        border-bottom: 1px solid #f0f0f0;
    }
    .work-nav-list li:nth-of-type(3) {
        border-right: 1px solid #f0f0f0;
    }
    .work-nav-list li a {
        gap: 10px;
        padding: 25px 0;
    }
    .work-nav-list li a::before {
        width: 50px;
        height: 55px;
    }
    /*.work-nav-list li:nth-of-type(4) a::before {
        width: 66px;
        height: 66px;
    }*/
    .work-nav-list li a::after {
        width: 20px;
        height: 20px;
        background-size: contain;
    }
    .work-type-box:not(:last-of-type) {
        margin-bottom: 100px;
    }
    .work-type-box-head {
        padding: 1.5rem 0;
        margin-bottom: 3rem;
        font-size: 1.9rem;
    }
    .work-type-box-head::after {
        width: 50px;
        height: 55px;
        transform: translateX(-50%) translateY(-55px);
    }
    .work-type-box-head::before {
        width: 90px;
    }
    .work-type-head-text {
        margin-bottom: 3rem;
        text-align: left;
    }
    .work-type-detail {
        padding: 2.5rem;
        box-shadow: 0 0 0 1px var(--hd-border-color) inset, 0 0 0 4px var(--hd-br-color2) inset;
    }
    .work-type-detail-box:not(:last-of-type) {
        margin-bottom: 4.5rem;
    }
    .work-type-detail-head {
        gap: 0 5px;
        margin-bottom: 1.5rem;
        font-size: 1.6rem;
    }
    .work-type-detail-items {
        gap: 8px;
    }
    .work-type-detail-item {
        padding: 1.0rem 1.5rem;
    }
    .work-type-schedule,
    .work-type-kinoukunren .work-type-schedule,
    .work-type-kaigoshokuin .work-type-schedule {
        padding: 3rem 2.0rem 2.5rem 2.0rem;
    }
    .work-type-schedule-head {
        display: block;
        padding: 1.25rem 0;
        margin-bottom: 3rem;
        border-radius: 2em;
        font-size: 1.6rem;
        white-space: nowrap;
    }
    .work-type-schedule-wrap {
        padding-left: 10px;
        gap: 3.5rem 0;
    }
    .work-type-schedule-wrap::after {
        width: 2px;
        height: calc(100% - 180px);
        top: 2px;
        left: 10px;
        margin-left: -1px;
    }
    .work-type-schedule-child {
        width: 100%;
    }
    .schedule-child-name .time {
        width: 40px;
        height: 40px;
    }
    .work-type-schedule-child:nth-of-type(2n+1) {
        margin-right: 0;
        padding-right: 0;
        padding-left: 40px;
    }
    .work-type-schedule-child:nth-of-type(2n+1) .schedule-child-name {
        justify-content: flex-start;
        text-align: left;
    }
    .work-type-schedule-child:nth-of-type(2n+1) .schedule-child-name .time {
        right: auto;
        left: 0;
        margin-right: 0;
        margin-left: -20px;
    }
    .schedule-child-name .time::after {
        width: 30px;
    }
    .work-type-schedule-child:nth-of-type(2n+1) .schedule-child-name .time:empty {
        margin-right: 0;
        margin-left: -10px;
    }
    .work-type-schedule-child:nth-of-type(2n+1) .schedule-child-name .time::after {
        right: auto;
        left: 20px;
    }
    .work-type-schedule-child:nth-of-type(2n+1) .schedule-child-name .time:empty::after {
        right: auto;
        left: 10px;
    }
    .work-type-schedule-child:nth-of-type(2n) {
        margin-left: 0;
        padding-left: 40px;
    }
    .work-type-schedule-child:nth-of-type(2n) .schedule-child-name .time {
        margin-left: -20px;
    }
    .work-type-schedule-child:nth-of-type(2),
    .work-type-schedule-child:nth-of-type(3),
    .work-type-schedule-child:nth-of-type(4),
    .work-type-schedule-child:nth-of-type(5),
    .work-type-schedule-child:nth-of-type(6),
    .work-type-schedule-child:nth-of-type(7),
    .work-type-schedule-child:nth-of-type(8),
    .work-type-schedule-child:nth-of-type(9),
    .work-type-kinoukunren .work-type-schedule-child:nth-of-type(8) {
        margin-top: 0;
    }
    .schedule-child-img {
        margin-top: 1.25rem;
    }
    .work-type-schedule-voice {
        position: relative;
        width: 100%;
        padding: 2.0rem;
        margin-top: 3.5rem;
        bottom: auto;
        right: auto;
    }
    .work-type-kinoukunren .work-type-schedule-voice {
        left: auto;
    }
    .work-type-schedule-voice-head::before {
        display: none;
    }
    #staff {
        margin-top: 10rem;
    }
    .staff-voice-list {
        /*flex-direction: column;*/
        gap: 1.2rem;
    }
    .staff-voice-list li {
        width: calc((100% - 1.2rem) / 2);
    }
    .staff-voice-list li img {
        border-radius: 5px;
    }
}