.pub-banner {
    background: url(../images/work/banner.jpg) no-repeat scroll 30% center / auto auto;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.phrase{
    font-size: 1.5rem;
    color: #262626;
    font-weight: 500;
}
.phrase-text{
    line-height: 3.75rem;
    text-align: center;
}
.phrase-p2{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 0.625rem;
}
.phrase-p3{
    text-align: right;
    font-weight: initial;
    font-size: 1.125rem;
}
.phrase-line{
    display: inline-block;
    width: 3.1875rem;
    height: 0.25rem;
    background-color: #000000;
}

.work-title{
    font-family: SofiaProRegular;
    font-weight: bold;
    font-size: 2.625rem;
    color: #262626;
    margin-top: 8.75rem;
}
.work-line{
    margin: 1.25rem 0 4.375rem;
    width: 16.5rem;
    height: 1rem;
    background-color: #ff0000;
}
.work-text{
    font-size: 1.5rem;
    line-height: 2.625rem;
    color: rgba(38,38,38,.8);
    font-weight: 400;
    margin-bottom: 3.125rem;
    max-height: 60rem;
    overflow: auto;
}

.work-text::-webkit-scrollbar {
    width: 6px;
    touch-action: none;
    border-radius: 3px;
}

.work-text::-webkit-scrollbar-thumb {
    width: 6px;
    border-radius: 3px;
    border-style: dashed;
    background-color: rgba(157, 165, 183, 0.6);
    border-color: transparent;
    border-width: 1.5px;
    background-clip: padding-box;
}

.work-text>p{
    margin-bottom: 0.625rem;
}
.work-img{
    position: relative;
}
.work-order1{
    position: absolute;
    top: 76%;
    left: -7%;
}

.work-order2{
    position: absolute;
    top: 76%;
    right: -7%;
}
.banner-title{
    font-size: 4.5rem;
    font-weight: bold;
    font-stretch: normal;
    color: #ffffff;
    margin-left: 25%;
}
@media only screen and (max-width: 1700px) {
    .work-order1{
        top: 68%;
    }

    .work-order2{
        top: 68%;
    }
    .work-title {
        margin-top: 3rem;
    }
}
@media only screen and (max-width: 1600px) {
    .work-text{
        max-height: 38rem;
    }
}

@media only screen and (max-width: 1200px) {
    .work-text{
        max-height: 35rem;
    }
}

@media only screen and (max-width: 996px) {
    .work-text{
        max-height: 30rem;
    }
}


@media only screen and (max-width: 768px) {
    .work-text{
        max-height: 25rem;
    }
    .banner-title{
        margin-top: -20%;
        margin-left: 10%;
    }
    .work-title{
        margin-top: 3rem;
    }
}
