
.page_title_box {
    position: sticky;
    top: 0;
    display: flex;
    gap: 0 20px;
    background: var(--primary);
    z-index: 2;
    flex-wrap: wrap;
}
.page_title_box .title {
    cursor: pointer;
    width: fit-content;
    display: block;
}
.page_title_box .title.active {
    text-decoration: underline;
}
.page_title_box .title:hover {
    text-decoration: underline;
}

.work .inner {
    padding: 0 var(--page-padding) var(--page-padding);
}

.work-visual_area {
    display: flex;
    align-items: end;
    justify-content: end;
    height: 100vh;
    padding: var(--page-padding);
    position: fixed;
    top: 0;
    right: 0;
    max-width: 50%;
    /* 헤더 type b 일 때 */
    padding-bottom: 200px;
}
.work-visual {
    width: 100%;
    height: 100%;
}
.work-visual img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

.w-list_group {
    display: grid;
    grid-template-columns: 120px 1fr;
}
.work-list_area {
     margin-top: 20px;    
}
.work-list {
    overflow: hidden;
}
.work-list li {
    width: 100%;
    align-items: center;
    position: relative;
}
.work-item a {    /* width: fit-content; */
    transition: all .5s ease;
    line-height: 100%;
    display: flex;
    align-items: center;
}

.w_tag {
    font-size: var(--t1);
    /* padding-top: 2px; */
    text-transform: uppercase;
    line-height: 100%;
}
.w_title {
    width: 100%;
    font-size: var(--t1);
    text-transform: uppercase;
    /* font-weight: var(--bold); */
    line-height: 100%;
}
.work-item.white .w_title {
    color: white;
}


.w_type {
    width: 0;
    font-size: var(--t1);
    text-transform: uppercase;
    opacity: 0;
    transition: opacity .5s ease;
    pointer-events: none;
    line-height: 100%;
}



@media (hover:hover) and (pointer:fine) {
    .work-list a:hover {
        opacity: 1;
        color: white;
        background: var(--gray-500);
    }
    .work-list a:hover .w_title {
        width: 50%;
    }
    .work-list a:hover .w_type {
        opacity: 1;
        width: 50%;
    }
 
}

@media all and (max-width:960px) {
    .w-list_group {
        grid-template-columns: 70px 1fr;
    }
}
@media all and (max-width:860px) {
    
    .work {
        padding-bottom: 140px;
    }
    .work-visual_area {
        display: none;
    }
    .work-list {
        width: 100%;
    }
    .work-list a {
        display: flex;
        align-items: center;
    }
    .w_title {
        width: auto;
    }
    .w_type {
        width: auto;
        opacity: 1;
        flex-shrink: 0;
    }
    .work-list a:hover .w_title,
    .work-list a:hover .w_type {
        width: auto;
    }
    
}
@media all and (max-width:500px) {
    .w_title {
        white-space: wrap;
    }
    .w_type {
        display: none;
    }
}
@media all and (max-width:500px) {
    .page_title_box .title {
        padding-bottom: 0;
    }

    .w-list_group {
        grid-template-columns: 1fr;
        /* grid-template-columns: 50px 1fr; */
        margin-bottom: 20px;
    }
    .w_tag {
        font-weight: var(--semi-bold);
    }
    /* .w_tag,
    .w_type,
    .w_title {
        font-size: var(--d2);
    } */
}