.pg_lab-detailpage .project-detail-head {
    border-bottom: 1px solid rgba(66, 83, 74, 0.25);
}
.pg_lab-detailpage .project-detail-head h2 {
    color: #42534A;
}
.pg_lab-detailpage .project-detail-head p {
    color: #42534A;
}
.pg_lab-detailpage .img-title-wrap .img-area,
.pg_lab-detailpage .video-title-wrap .video-area {
    outline: 4px solid rgba(66, 83, 74, 0.8);
    outline-offset: -4px;
}
.pg_lab-detailpage .video-title-wrap .sub-info-title .box-icon, 
.pg_lab-detailpage .img-title-wrap .sub-info-title .box-icon {
    background-color: #42534A;
}
.pg_lab-detailpage .video-title-wrap .sub-info-title span ,
.pg_lab-detailpage .img-title-wrap .sub-info-title span {
    color: #42534A;
}
.pg_lab-detailpage .sub-info-title span {
    color: #42534A;
}
.pg_lab-detailpage .sub-info-title .box-icon {
    background-color: #42534A;
}


.pg_lab-detailpage .visual-section {
    position: relative;
    color: #42534A;
}
.pg_lab-detailpage .visual-section::before {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -100;
    background-color: #B7D1C8;
    content: "";
}
.pg_lab-detailpage .visual-section .project-info .wrapper80 .title h2 {
    color: #42534A;
}
.pg_lab-detailpage .visual-section .project-info .wrapper80 .info-wrap .info-detail > ul > li .category-list li {
    border: 1px solid #42534A;
}
.pg_lab-detailpage .visual-section .project-info .wrapper80 .info-wrap .info-detail > ul > li .label-wrap .label-icon {
    background-color: #42534A;
}
.pg_lab-detailpage .visual-section .project-mainimg .line-svg {
    position: absolute;
    left: -10%;
    bottom: 20%;
    width: 65vw;
    z-index: -1;
    aspect-ratio: 1261 / 1093;
    mix-blend-mode: overlay;
}
.pg_lab-detailpage .visual-section  .project-mainimg .line-svg .mask-path {
    stroke-dasharray: 4000; /* 패스 길이보다 큰 값 */
    stroke-dashoffset: 4000;
}


.pg_lab-detailpage .visual-section  .project-mainimg .character-wrap {
    position: absolute;
    left: 2%;
    bottom: 3%;
}
.pg_lab-detailpage .visual-section  .project-mainimg .character-wrap .speech-box {
    position: absolute;
    left: 10%;
    top: -60%;
    transform: translate(0, -100%);
    max-width: 423px;
    width: 24vw;
    aspect-ratio: 423 / 113;
}
.pg_lab-detailpage .visual-section  .project-mainimg .character-wrap .speech-box img {
    width: 100%;
    object-fit: contain;
}
.pg_lab-detailpage .visual-section  .project-mainimg .character-wrap ul {
    display: flex;
    gap: 10px;
}
.pg_lab-detailpage .visual-section  .project-mainimg .character-wrap ul li {
    position: relative;
    width: 8vw;
    max-width: 150px;
    aspect-ratio: 200 / 300;
}
.pg_lab-detailpage .visual-section  .project-mainimg .character-wrap ul li .character-img {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 1;
    width: 140%;
}
.pg_lab-detailpage .visual-section  .project-mainimg .character-wrap ul li .character-img.character01 {
    left: 7%;
    bottom: 23%;
}
.pg_lab-detailpage .visual-section  .project-mainimg .character-wrap ul li .character-img.character02 {
    left: 20%;
    left: auto;
    z-index: 2;
    transform: rotate(3deg);
}
.pg_lab-detailpage .visual-section  .project-mainimg .character-wrap ul li .character-img.character03 {
    bottom: 25%;
 
}
.pg_lab-detailpage .visual-section  .project-mainimg .character-wrap ul li .character-img.character04 {
    left: -7%;
    bottom: 15%;
    width: 160%;
}


.pg_lab-detailpage .overview-section {
    position: relative;
}
.pg_lab-detailpage .overview-section::before {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -100;
    background-color: #F9F5F1;
    content: "";
}
.pg_lab-detailpage .overview-section > .line-svg {
    position: absolute;
    right: -5%;
    top: -2%;
    z-index: -50;
    width: 105%;
    aspect-ratio: 1549 / 762;
}
.pg_lab-detailpage .overview-section > .line-svg.line-svg-m {
    display: none;
}
.pg_lab-detailpage .overview-section > .line-svg .mask-path {
    stroke-dasharray: 5000;
    stroke-dashoffset: 5000;
}
.pg_lab-detailpage .overview-section .contents-wrap .home-wrap {
    margin-bottom: 100px;
}
.pg_lab-detailpage .overview-section .contents-wrap .sub-wrap {
    position: relative;
    display: flex;
    justify-content: flex-end;
    margin-right: -6%;
    padding: 16px 0 0 0;
    margin-bottom: 160px;
}
.pg_lab-detailpage .overview-section .contents-wrap .sub-wrap::before {
    position: absolute;
    left: -2%;
    top: 5%;
    transform: rotate(-5deg);
    z-index: -50;
    width: 20vw;
    aspect-ratio: 1 / 1;
    background: url(../../img/project/pg_lab/bg_logo.png) no-repeat center center / contain;
    content: "";
}
.pg_lab-detailpage .overview-section .contents-wrap .sub-wrap .inner {
    max-width: 1450px;
    width: 75vw;
}
.pg_lab-detailpage .overview-section .contents-wrap .m-wrap {
    /* padding: 0 40px; */
    position: relative;
}
.pg_lab-detailpage .overview-section .contents-wrap .m-wrap .line-svg {
    position: absolute;
    left: 50%;
    top: -30%;
    z-index: -10;
    transform: translate(-50%, 0);
    width: 103%;
    aspect-ratio: 1461 / 361;
}
.pg_lab-detailpage .overview-section .contents-wrap .m-wrap .line-svg .mask-path {
    stroke-dasharray: 5000;
    stroke-dashoffset: 5000;
}
.pg_lab-detailpage .overview-section .contents-wrap .m-wrap .line-svg.line-svg-m {
    display: none;
}
.pg_lab-detailpage .overview-section .contents-wrap .m-wrap .wrapper80 {
    display: flex;
    justify-content: center;
    /* justify-content: space-between; */
    gap: 120px;
}
.pg_lab-detailpage .overview-section .contents-wrap .m-wrap .m-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.pg_lab-detailpage .overview-section .contents-wrap .m-wrap .m-list.list02 {
    width: calc(17vw - 48px);
    max-width: 277px;
}
.pg_lab-detailpage .overview-section .contents-wrap .m-wrap  .m-list .img-list {
    display: flex;
    gap: 60px;
}
.pg_lab-detailpage .overview-section .contents-wrap .m-wrap .img-list .img-title-wrap {
    width: calc(17vw - 48px);
    max-width: 277px;
}
.pg_lab-detailpage .overview-section .contents-wrap .m-wrap .sub-info-title span {
    white-space: wrap;
    word-break: break-all;
}

.pg_lab-detailpage .tone-manner-section {
    background: #F9F5F1;
}
.pg_lab-detailpage .tone-manner-section .contents-wrap ul li.green {
    width: 50%;
    background: #42534A;
}
.pg_lab-detailpage .tone-manner-section .contents-wrap ul li.sub {
    width: 50%;
}
.pg_lab-detailpage .tone-manner-section .contents-wrap ul li.sub ul {
    display: flex;
    flex-wrap: wrap;
}
.pg_lab-detailpage .tone-manner-section .contents-wrap ul li.sub ul li {
    width: 50%;
    height: 50%;
}
.pg_lab-detailpage .tone-manner-section .contents-wrap ul li.sub ul li.sub01 {
    background-color: #B7D1C8;
}
.pg_lab-detailpage .tone-manner-section .contents-wrap ul li.sub ul li.sub02 {
    background-color: #E8D7C4;
}
.pg_lab-detailpage .tone-manner-section .contents-wrap ul li.sub ul li.sub03 {
    background-color: #9F8868;
}
.pg_lab-detailpage .tone-manner-section .contents-wrap ul li.sub ul li.sub04 {
    background-color: #000;
} 


.pg_lab-detailpage .detailpage-section.subpage-section {
    background-color: #F9F5F1;
}
.pg_lab-detailpage .detailpage-section.subpage-section .contents-wrap .wrapper80  {
    max-width: 1420px;
}
.pg_lab-detailpage .detailpage-section.subpage-section .contents-wrap .wrapper80 .inner {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 20px;
}
.pg_lab-detailpage .detailpage-section.subpage-section .contents-wrap .wrapper80 .inner .img-list {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 80px;
}
.pg_lab-detailpage .detailpage-section.subpage-section .contents-wrap .wrapper80 .inner .img-title-wrap.pc {
    width: calc(78% - 40px);
}
.pg_lab-detailpage .detailpage-section.subpage-section .contents-wrap .wrapper80 .inner .img-title-wrap.mobile  {
    width: calc(22% - 40px);
}
.pg_lab-detailpage .detailpage-section.subpage-section.product-section .contents-wrap .wrapper80 .inner {
    align-items: flex-start;
}

.pg_lab-detailpage .detailpage-section.with-section {
    background-color: #F9F5F1;
}
.pg_lab-detailpage .detailpage-section.with-section .contents-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.pg_lab-detailpage .detailpage-section.with-section .contents-wrap .banner-wrap {
    position: absolute;
    left: 0%;
    top: 50%;
    transform: translate(0, -50%);
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5vw;
}
.pg_lab-detailpage .detailpage-section.with-section .contents-wrap .inner {
    display: flex;
    align-items: center;
    width: 70vw;
    max-width: 1160px;
    margin: 0 auto;
}
.pg_lab-detailpage .detailpage-section.otherpage-section {
    position: relative;
}
.pg_lab-detailpage .detailpage-section.otherpage-section::before {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -100;
    background-color: #B7D1C8;
    content: "";
}
.pg_lab-detailpage .detailpage-section.otherpage-section::after{
    position: absolute;
    right: -2%;
    bottom: -3px;
    z-index: -10;
    width: 40vw;
    transform-origin: center center;
    aspect-ratio: 777 / 243;
    background: url(../../img/project/pg_lab/logo_bg.png) no-repeat center center / contain;
    content: "";
}
.pg_lab-detailpage .detailpage-section.otherpage-section .contents-wrap {
    display: flex;
    flex-direction: column;
    gap: 100px;
}
.pg_lab-detailpage .detailpage-section.otherpage-section .contents-wrap .pc-m-wrap {
    position: relative;
    display: flex;
}

.pg_lab-detailpage .detailpage-section.otherpage-section .contents-wrap .pc-m-wrap .inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}
.pg_lab-detailpage .detailpage-section.otherpage-section .contents-wrap .pc-m-wrap:nth-child(1) {
    justify-content: flex-end;
}
.pg_lab-detailpage .detailpage-section.otherpage-section .contents-wrap .pc-m-wrap .img-list {
    display: flex;
    align-items: flex-end;
    gap: 60px;
}
.pg_lab-detailpage .detailpage-section.otherpage-section .contents-wrap .pc-m-wrap .img-list .img-title-wrap.pc {
    width: calc(50% - 30px);
    /* max-width: 850px; */
}
.pg_lab-detailpage .detailpage-section.otherpage-section .contents-wrap .pc-m-wrap .img-list .img-title-wrap.mobile {
    width: calc(20% - 30px);
    /* max-width: 330px; */
}
.pg_lab-detailpage .detailpage-section.otherpage-section .contents-wrap .pc-m-wrap:nth-child(odd) .inner {
    align-items: flex-end;
}
.pg_lab-detailpage .detailpage-section.otherpage-section .contents-wrap .pc-m-wrap:nth-child(odd) .inner .img-list {
    justify-content: flex-end;
}


.pg-rolling-banner {
    position: relative;
    display: flex;
    align-items: center;
    height: 241px;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
}
.pg-rolling-banner .group-rolling {
    display: flex;
    width: 100%;
    animation: rolling 250s linear infinite;
}
.pg-rolling-banner:nth-child(2) .group-rolling {
    animation-direction: normal;
}

/* 두 번째 배너: 오른쪽으로 흐름 (반대 방향) */
.pg-rolling-banner:nth-child(1) .group-rolling {
    animation-direction: reverse;
}
.pg-rolling-banner .group-rolling .rolling-wrap {
    display: flex;
    align-items: center;
    gap: 100px;
}
.pg-rolling-banner .group-rolling .rolling-item {
    width: 5075.95px;
    height: 240.98px;
    flex-shrink: 0;
}
.pg-rolling-banner .group-rolling .rolling-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes rolling {
    0% {
        transform: translateX(0);
    }
    100% {
    /* 계산된 값: (5075.95 + 100) * 5 */
    transform: translateX(-25879.75px);
    }
}
  


@media screen and (max-width : 1500px) {
    .pg-rolling-banner { 
        height: 100px; 
    }
    .pg-rolling-banner .group-rolling .rolling-item {
        width: 2000px; 
        height: 95px;
    }
    .pg-rolling-banner .group-rolling .rolling-wrap { 
        gap: 40px; 
    }

    @keyframes rolling {
        0% { transform: translateX(0); }
        100% { 
            /* 계산식: (2000 + 40) * 5 */
            transform: translateX(-10200px); 
        }
    }
}

@media screen and (max-width : 1280px) {
    .pg_lab-detailpage .img-title-wrap .img-area,
    .pg_lab-detailpage .video-title-wrap .video-area {
        outline: 2px solid rgba(66, 83, 74, 0.8);
        outline-offset: -2px;
    }

    .pg_lab-detailpage .overview-section .contents-wrap .sub-wrap .bg-text {
        left: 20px;
        top: 20px;
    }
    .pg_lab-detailpage .overview-section .contents-wrap .sub-wrap .inner {
        width: 83vw;
    }
    .pg_lab-detailpage .overview-section .contents-wrap .m-wrap .wrapper80 {
        gap: 60px;
    }
    .pg_lab-detailpage .overview-section .contents-wrap .m-wrap {
        padding: 0;
        
    }
    .pg_lab-detailpage .overview-section .contents-wrap .m-wrap .m-list .img-list {
        gap: 30px;
    }
    .pg_lab-detailpage .overview-section .contents-wrap .m-wrap .img-list .img-title-wrap {
        width: calc(17vw - 24px);
    }
    .pg_lab-detailpage .overview-section .contents-wrap .m-wrap .m-list.list02 {
        width: calc(17vw - 24px);
    }
    .pg_lab-detailpage .detailpage-section.subpage-section .contents-wrap .wrapper80 .inner .img-list {
        gap: 30px;
    }
    .pg_lab-detailpage .detailpage-section.subpage-section .contents-wrap .wrapper80 .inner .img-title-wrap.pc {
        width: calc(77% - 15px);
    }
    .pg_lab-detailpage .detailpage-section.subpage-section .contents-wrap .wrapper80 .inner .img-title-wrap.mobile  {
        width: calc(23% - 15px);
    }


    .pg_lab-detailpage .detailpage-section.otherpage-section .contents-wrap .pc-m-wrap .img-list {
        width: 100%;
        gap: 30px;
    } 
    .pg_lab-detailpage .detailpage-section.otherpage-section .contents-wrap .pc-m-wrap .img-list .img-title-wrap.pc {
        width: calc(50% - 15px);
        /* max-width: 850px; */
    }
    .pg_lab-detailpage .detailpage-section.otherpage-section .contents-wrap .pc-m-wrap .img-list .img-title-wrap.mobile {
        width: calc(20% - 15px);
        /* max-width: 330px; */
    }
}

@media screen and (max-width : 768px) {
    .pg_lab-detailpage .img-title-wrap .img-area,
    .pg_lab-detailpage .video-title-wrap .video-area {
        outline: 1px solid rgba(66, 83, 74, 0.8);
        outline-offset: -1px;
    }
    
    .pg_lab-detailpage .visual-section .project-mainimg .line-svg {
        position: absolute;
        left: -5%;
        bottom: 0;
        width: 90vw;
    }
    .pg_lab-detailpage .visual-section .project-mainimg .line-svg.line-svg-pc {
        display: none;
    }
    .pg_lab-detailpage .visual-section .project-mainimg .line-svg.line-svg-m {
        display: block;
    }

    .pg_lab-detailpage .overview-section .contents-wrap .sub-wrap::before {
        top: auto;

        width: 30vw;
        bottom: -30%;
    }
    .pg_lab-detailpage .overview-section .line-svg.line-svg-pc {
        display: none;
    }
    .pg_lab-detailpage .overview-section > .line-svg.line-svg-m {
        display: block;
        right: -2%;
        width: auto;
        height: 30%;
        aspect-ratio: 390 / 612;
    }
    .pg_lab-detailpage .overview-section .contents-wrap .m-wrap .line-svg.line-svg-pc {
        display: none;
    }
    .pg_lab-detailpage .overview-section .contents-wrap .m-wrap .line-svg.line-svg-m {
        display: block;
        top: 10%;
        aspect-ratio: 390 / 785;
    }
    .pg_lab-detailpage .overview-section .contents-wrap .home-wrap {
        margin-bottom: 50px;
    }
    .pg_lab-detailpage .overview-section .contents-wrap .sub-wrap {
        margin-bottom: 128px;
    }
    .pg_lab-detailpage .overview-section .contents-wrap .sub-wrap .bg-text {
        display: none;
     }
    .pg_lab-detailpage .overview-section .contents-wrap .sub-wrap .inner {
        width: 100%;
    } 
    .pg_lab-detailpage .overview-section .contents-wrap .sub-wrap .inner .img-title-wrap.campaign {
        margin-left: 60px;
    }

    .pg_lab-detailpage .overview-section .contents-wrap .m-wrap .wrapper80 {
        flex-direction: column; 
        gap: 50px;       
    }
    .pg_lab-detailpage .overview-section .contents-wrap .m-wrap .m-list {
        padding: 0 15px;
        gap: 12px;
    }
    .pg_lab-detailpage .overview-section .contents-wrap .m-wrap .m-list .img-list {
        flex-wrap: wrap;
        column-gap: 40px;
        row-gap: 24px;
    }
    .pg_lab-detailpage .overview-section .contents-wrap .m-wrap .img-list .img-title-wrap {
        width: calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
    .pg_lab-detailpage .overview-section .contents-wrap .m-wrap .m-list.list02 {
        width: 100%;
        max-width: 100%;
        align-items: flex-end;
    }
    .pg_lab-detailpage .overview-section .contents-wrap .m-wrap .m-list.list02 .img-list {
        justify-content: flex-end;
    }
    .pg_lab-detailpage .detailpage-section.subpage-section .contents-wrap .wrapper80 .inner {
        align-items: flex-start;
        gap: 12px;
    }
    .pg_lab-detailpage .detailpage-section.subpage-section .contents-wrap .wrapper80 .inner .img-list {
        position: relative;
    }
    .pg_lab-detailpage .detailpage-section.subpage-section .contents-wrap .wrapper80 .inner .img-title-wrap.pc {
        width: 100%;
        margin-bottom: 35px;
    }
    .pg_lab-detailpage .detailpage-section.subpage-section .contents-wrap .wrapper80 .inner .img-title-wrap.pc .img-area {
        margin-left: 15%;
    }
    .pg_lab-detailpage .detailpage-section.subpage-section .contents-wrap .wrapper80 .inner .img-title-wrap.mobile {
        position: absolute;
        left: 0;
        bottom: 0;
        z-index: 20;
        width: 30%;
    }   
    .pg_lab-detailpage .detailpage-section.subpage-section.product-section .contents-wrap .wrapper80 .inner {
        align-items: flex-end;
    }
    .pg_lab-detailpage .detailpage-section.subpage-section.product-section .contents-wrap .wrapper80 .inner .img-title-wrap.pc .img-area {
        margin-left: -15%;
    }
    .pg_lab-detailpage .detailpage-section.subpage-section.product-section .contents-wrap .wrapper80 .inner .img-title-wrap.mobile {
        left: auto;
        right: 0;
    }    

    .pg_lab-detailpage .detailpage-section.with-section .contents-wrap .inner {
        width: 100%;
    }
    .pg_lab-detailpage .detailpage-section.with-section .contents-wrap {
        display: flex;
        flex-direction: column-reverse;
        gap: 30px;
    }
    .pg_lab-detailpage .detailpage-section.with-section .contents-wrap .banner-wrap {
        position: relative;
        left: auto;
        top: auto;
        transform: translate(0, 0);
    }
    .pg-rolling-banner { 
        height: 31px; 
    }
    .pg-rolling-banner .group-rolling {
        animation: rolling 150s linear infinite
    }
    .pg-rolling-banner .group-rolling .rolling-item {
        width: 634.49px; 
        height: 31px;
    }
    .pg-rolling-banner .group-rolling .rolling-wrap { 
        gap: 12px; 
    }

    @keyframes rolling {
        0% { transform: translateX(0); }
        100% { 
            /* 계산된 값: -(634.49 + 12) * 5 = -3232.45px */
            transform: translateX(-3232.45px);
        }
    }

    .pg_lab-detailpage .detailpage-section.otherpage-section::after {
        display: none;
    }
    .pg_lab-detailpage .detailpage-section.otherpage-section .contents-wrap {
        gap: 50px;
    }
    .pg_lab-detailpage .detailpage-section.otherpage-section .contents-wrap .pc-m-wrap .inner {
        width: 100%;
        gap: 12px;
        align-items: flex-end;
    }
    .pg_lab-detailpage .detailpage-section.otherpage-section .contents-wrap .pc-m-wrap:nth-child(odd) .inner  {
        align-items: flex-start;
    }
    .pg_lab-detailpage .detailpage-section.otherpage-section .contents-wrap .pc-m-wrap .img-list {
        position: relative;
        justify-content: flex-end;
    }
    .pg_lab-detailpage .detailpage-section.otherpage-section .contents-wrap .pc-m-wrap .img-list .img-title-wrap.mobile {
        position: absolute;
        width: 35%;
        right: 0;
        bottom: 0;
    }
    .pg_lab-detailpage .detailpage-section.otherpage-section .contents-wrap .pc-m-wrap .img-list .img-title-wrap.pc{
        width: 100%;
        margin-bottom: 36px;
    }
    .pg_lab-detailpage .detailpage-section.otherpage-section .contents-wrap .pc-m-wrap .img-list .img-title-wrap.pc .img-area {
        margin: 0 0 0 -10%;
    } 
    .pg_lab-detailpage .detailpage-section.otherpage-section .contents-wrap .pc-m-wrap:nth-child(odd) .img-list .img-title-wrap.pc .img-area {
        margin: 0 0 0 10%;
    }
    .pg_lab-detailpage .detailpage-section.otherpage-section .contents-wrap .pc-m-wrap:nth-child(odd) .inner .img-list .img-title-wrap.mobile {
        left: 0;
        right: auto;
        z-index: 20;
    }
    

}

@media screen and (max-width : 500px) {
    .pg_lab-detailpage .visual-section .project-mainimg .line-svg {
        left: -5%;
        top: 0;
        bottom: auto;
        width: 95vw;
    }

    .pg_lab-detailpage .visual-section .project-mainimg .character-wrap {
        left: -5%;
        bottom: 5%;
    }
    .pg_lab-detailpage .visual-section .project-mainimg .character-wrap ul li {
        width: 17vw;
        max-width: 200px;
    }
    .pg_lab-detailpage .visual-section .project-mainimg .character-wrap .speech-box {
        width: 68vw;
        left: 17%;
    }
    .pg_lab-detailpage .f-thumb-section  {
        aspect-ratio: 390 / 564;
    }
    .pg_lab-detailpage .f-thumb-section .wrapper80 h2 {
        font-size: 40px;
        color: #42534A;
    }
}