
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}


.site-header{
    position: fixed;
    top: 0;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    background-color: #fff;
    width: 100%;
    height: 64px;
    z-index: 100;
    border-bottom: solid 2px #000;
}

.menu ,
.about-header {
    font-size: 1.8rem;
    padding-top: 5px;
    margin: 10px 20px;
}
.menu>li>a:hover ,
.about-header>a:hover {
opacity: 20%;
}

.header-logo>img {
    height: 52px;
    margin: 10px 20px;
}


.home{
    display: flex; 
    flex-direction: row;
    width: 100%;
    height: 100vh;
    }
/* Index-Home part*/


/* .full {
    height: calc(100vh - 48px);
    position: relative;
} */


.left-part {
}

.left-part {
    position: fixed;
    left: 0;
    min-width: 400px;
    max-width: 400px;
    z-index: 10;
    height: 100vh;
    display: flex;
    flex-direction: column;
}
.left-menu-top {
    padding: 12px 12px;
}
.left-lsmn {
    border-radius: 58px;
    background-color: #fff;
    border-width: 1px;
    border-color: #000;
    padding: 8px;
    width: fit-content;
    border-style: solid;
    z-index: 10;
    height: fit-content;
}
.left-lsmn:hover{
    background-color: #e7e7e7;
}
.left-works {
    border-radius: 58px;
    background-color: #e7e7e7;
    margin-top: 40px;
    border-width: 1px;
    border-color: #000;
    padding: 8px;
    width: fit-content;
    border-style: solid;
    height: fit-content;
}
.left-works-btn {
    display: none;
    border-radius: 58px;
    background-color: #fff;
    border-width: 1px;
    border-color: #000;
    padding: 8px;
    width: fit-content;
    border-style: solid;
    height: fit-content;
}
.home-left {
    line-height: 1.3;
    padding: 8px 0px;
}

/* .home-about-txt {
    font-size: 0.8rem;
    padding-bottom: 40px;
    padding-top: 10px;
} */

.home-about-link {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.home-about-link-txt {
    font-size: 1.5rem;
    display: flex;
    padding-top: 2px;
    margin-right: 4px;
    flex-direction: row;
    align-items: center;
}
.home-about-link>img {
    object-fit: cover;
    height: 30px;
}
.home-about-link:hover {
    opacity: 10%;
}


/* COPYRIGHT-> FOOTER */

.copyright {
    font-size: 0.6rem;
    bottom: 20px;
    left: 20px;
    z-index: 100;
    position: fixed;
}





/* Index 
->right part*/

.home-right {
    flex-grow: 1;
    margin-left: 400px;
    height: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    
}
/*
.home-right {
    position: relative;
    display: flex;
    flex-grow: 1;
    right: 0px;
    width: 100%;
    min-height: 100vh;
    flex: 1;
}
*/
.overviews {
    padding: 12px 20px 20px 12px;
}
.overview-list {
    display: flex;
    flex-direction: row;
    padding-bottom: 10px;
    padding-top: 10px;
}
.overview-left {
    width: 60%;
    margin-right: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    line-height: 1.5;
}
.overview-title {
    font-size: 1.8rem;
    padding-bottom: 20px;
    line-height: 1.1;
    font-weight: 800;
}
.overview-txt,
.overview-left>a { 
    font-size: 0.8rem;
    padding-bottom: 20px;
    line-height: 1.65;
}
.overview-left>a :hover {
    color: #DCDCDC;
}
.project-content {
    font-size: 0.7rem;
    opacity: 60%;
}
.project-credit-over{ 
    font-size: 0.72rem;
    color: #a6a6a6;
}
.href-ex {
    position: relative;
    width: -webkit-fill-available;
}
.project-img {
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
.project-img:after {
    content: "";
    display: block;
    padding-bottom: 66%;
}
.hr-box {
    height: 1px;
    background-color:#000;
    margin: 12px 0px;
}
.hr-box-1 {
    height: 1px;
    background-color:#000;
    margin: 12px 0px;
}
.hr-box-2 {
    height: 2px;
    background-color:#000;
    margin: 10px 0px;
}
.hr-box-3 {
    height: 2px;
    background-color:#000;
    margin: 20px 0px 10px 0px;
}


/* list scroll part */



.project-list {
    height: 600px;
    max-height: 600px;
    overflow-y: auto;
    scrollbar-width: none;
}
.project-list-one:hover {
    opacity: 20%;
}
.project-list-one {
    display: flex;
}
.project-list-title {
    width: 65%;
    font-size: 1.2rem;
    padding: 0px 12px 0px 0px;
    line-height: 1.2;
    font-weight: 500;
}
.project-list-des {
    width: 35%;
    font-size: 0.7rem;
    display: flex;
    flex-direction: row;
    padding-top: 2px;

    color: #a6a6a6;;
    line-height: 1.4;
    justify-content: space-between;
}
.project-credit {
    width: 60%;
}


.project-list-bottom {
    position: absolute;
    margin-top: 16px;
    width: 100%;

}
.more-works-link {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 28px;

}
/* 원래 수식
.more-works-link {
    width:100%;
    height: 36px;
}
.more-works {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 40%);
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 1.2rem;
}
    */

.more-works {

    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
}
.more-works>img {
    height: 16px;
    object-fit: cover;
    padding: 0px 8px 4px 8px;
}

/* .project-list-scroll {
    position: absolute;
    text-align: center;
    margin-top: 16px;
    left: 50%;
    transform: translate(-50%, 0%);
    width: 100%;
    background-color: #fff;
    box-shadow: 0px -20px 20px 20px white;
} */






/* About page part */

.left-lsmn-about {
    border-radius: 58px;
    background-color: #e7e7e7;
    border-width: 1px;
    border-color: #000;
    padding: 8px;
    width: fit-content;
    border-style: solid;
    z-index: 10;
    height: fit-content;
}
.left-works-about {
    border-radius: 58px;
    background-color: #fff;
    margin-top: 40px;
    border-width: 1px;
    border-color: #000;
    padding: 8px;
    width: fit-content;
    border-style: solid;
}
.left-works-about:hover{
    background-color: #e7e7e7;
}
.home-about {
    font-size: 1.5rem;
    padding-bottom: 80px;
}
.about-page{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 60px 20px 60px 0px;
}
.about-title {
    font-size: 4rem;
    padding-bottom: 60px;
    padding-top: 4px;
    font-weight: 800;
    text-transform: uppercase;
}
.home-about-txt {
    padding-bottom: 20px;
    padding-top: 80px;
}
.home-about-txt-l {
    line-height: 1.2;
    font-size: 2.2rem;
    padding-right: 20%;
    padding-bottom: 40px;
}
.home-about-txt-r {
    text-align: right;
    right: 0;
    /* padding-left: 50%; */
    padding-bottom: 40px;
    font-size: 1rem;
    line-height: 1.5;
}
.about-detail-list {
    display: flex;
    flex-direction: column;
    width:100%;
    font-size: 0.8rem;
    
}
.about-details {
    display: grid;
    grid-template-columns: 20% 80%;
    grid-gap: 12px 10px;
    width: 100%;
    align-items: baseline;
}
.about-details-q {
    font-size: 0.8rem;
    text-align: left;
    padding-left: 0px;
    font-weight: 700;
    text-transform: uppercase;
}
.about-details-a {
    line-height: 1.8;
    display: contents;
}
.about-details-aset{
    display: flex;
    flex-direction: column;;
}
.btn {
    object-fit: cover;
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
}
.btn>img {
    width: 18px;
    margin-left: 10px;
}
.about-details-btn {
    display: grid;
    grid-template-columns: 20% 80%;
    grid-gap: 10px;
    padding-top: 4px;
    padding-bottom: 10px;
    align-items: baseline;
}
.about_copyright {
    visibility: hidden;
}




/* project detail page */

.detail-part {
    display: flex;
    flex-direction: column;
    padding: 74px 20px 20px 20px;
}
.detail-title {
    width: 100%;
    font-size: 2.8rem;
    padding: 40px 0px 60px 0px;
    text-align: center;
    font-weight: 800;
}
.detail-txt {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    font-size: 0.9rem;
    padding: 4px 0px 20px 0px;
}

.detail-credit {
    font-size: 0.8rem;
    line-height: 1.5;
    color: #a6a6a6;
}
.contents {
    font-size: 0.8rem;
    line-height: 1.5;
    padding-top: 60px;
}
.detail-project-img {
    width: 100%;
    height: auto;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    padding-bottom: 8px;
}
.detail-project-img:after {
    content: "";
    display: block;
    padding-bottom: 66%;
}

.detail-subs {
    font-size: 0.85rem;
    line-height: 1.6;
    background-color: #fff;
    padding-bottom: 12px;
}
.detail-body {
    width: 100%;
    line-height: 1.4;
    font-size: 0.9rem;
    padding: 4px 0px;
}

.detail-body>p>img {
background-position: center center;
background-size: cover;
padding-top: 8px;
padding-bottom: 0px;
width: 100%;
}
.detail-bottom-nav {
    width: 100%;
}
.detail-btn {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: right;
    padding-top: 10px;
    font-size: 0.8rem;
    margin-bottom: 40px;
}
.detail-btn>a:hover {
    opacity: 20%;
}
.detail-btn>a:first-child {
    text-align: left;
}


/* ~~~~~~~~ mobile 1300px 이하 ~~~~~~~~ */
@media (max-width: 1300px) {
/*    .left-part {
        position: fixed;
        left: 0;
        max-width: 320px;
        min-width: 320px;
        z-index: -1;
        height: 100vh;
    }
    .project-list-des {
        width: 35%;
        font-size: 0.7rem;
        display: flex;
        flex-direction: column;
        padding-top: 2px;
        color: #a6a6a6;
        line-height: 1.4;
        justify-content: unset;
        text-align: right;
    }
    .project-credit {
        width: 100%;
    }
    */
    .home-right {
        flex-grow: 1;
        margin-left: 400px;
        height: 100vh;
        position: relative;
        display: flex;
        width: 100%;
    }
    .overview-list {
        display: flex;
        flex-direction: column;
        padding-bottom: 10px;
        padding-top: 10px;
    }
    .overview-left {
        width: 100%;
    }
    .project-credit-over {
        padding-bottom: 8px;
    }
}

/* ~~~~~~~~ mobile 900px 이하 ~~~~~~~~ */
@media (max-width: 900px) {
.left-part, .home-left {
    overflow: visible !important;
}
.left-part{
    width: 100vw;
    max-width: 100vw;
    font-size: 1.2rem;
    z-index: 1000;
    box-sizing: border-box;
    pointer-events: none;
}
    .left-menu-top {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100vw;
        max-width: 100vw;
        padding: 20px;
        box-sizing: border-box;
    }
    .left-part .left-menu-top {
        pointer-events: auto; 
      }
    .left-works {
        display: none;
    }
    .left-works-about{
        margin-top: 0px;
    }
    .left-works-btn {
        display: block;
        cursor: pointer;
        margin-top: 0px;
        background-color: #fff;
        text-align: center;
        font-size: 1.2rem;
        z-index: 10;
    }
    .left-lsmn:hover {
    background-color: #e7e7e7;
    }
    .left-works-btn:hover {
        background-color: #e7e7e7;
        }
    .home-left {
        position: fixed;
        display: block;
        top: 0;
        left: -100vw;  /* 화면 밖으로 */
        width: 100vw;
        height: 100vh;
        background-color: rgb(46 46 46 / 95%); 
        transition: left 0.3s ease-in-out;
        z-index: 5;
        padding: 72px 20px;
        box-sizing: border-box;
    }
    .home-left.active {
        left: 0;
    }
    /*
    .home-left.on {
        background-color: rgb(46 46 46 / 95%);
        z-index: 20;
    }
    .home-left.on .project-list {
        transform: translateX(0);
        width: 70%;
        height: 100%;
    }*/
    .project-list{
        width: 100%;
        height: 932px;
    }
    .hr-box{
        background-color: #fff;
        opacity: 50%;
    }

    .project-list-title {
        color: #fff;
    }
    .project-list-bottom,
    .more-works-link {
        display: none;
    }
    .home-right {
        width: 100%;
        flex-grow: 1; /* 남은 공간을 모두 차지 */
        flex-basis: 100%; /* 기본 크기 100% */
        padding: 0;
        margin: 0;
    }
    .overviews {
        padding: 100px 20px 20px 20px;
    }
    .overview-list {
        display: flex;
        flex-direction: column;
        padding-bottom: 10px;
        padding-top: 0px;
    }
    .overview-left {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .overview-title {
        font-size: 1.8rem;
        display: block;
        padding-bottom: 0px;
        padding-right: 20px;
        line-height: 1.1;
    }
    .project-credit-over {
        display: none;
    }
    .overview-left>a:nth-child(3) {
        font-size: 0.75rem;
    }
    .project-content {
        font-size: 0.65rem;
        padding-bottom: 20px;
    }


    /* COPYRIGHT-> FOOTER */

    .copyright {
        font-size: 0.8rem;
        bottom: 20px;
        left: 20px;
        z-index: 0;
        color: #fff;
        opacity: 50%;
        position: absolute;
        
    }


    .about-page {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 20px 100px 20px;
    }

    .about-title {
        font-size: 3rem;
        padding-bottom: 32px;
    }
    .home-about-txt {
        padding-bottom: 20px;
        padding-top: 40px;

    }
    .home-about-txt-l {
        line-height: 1.2;
        font-size: 1.5rem;
        padding-right: 10%;
        padding-bottom: 32px;
    }
    .about_copyright {
        visibility: visible;
        font-size: 0.65rem;
        padding: 40px 0px 0px 0px;
        opacity: 40%;
    }

    .detail-title {
        width: 100%;
        font-size: 3rem;
        padding: 48px 0px 40px 0px;
        text-align: center;
    }
    .detail-txt {
        display: flex;
        padding-top: 12px;
    }
    .detail-subs {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    .detail-credit {
        width: 100%;
        font-size: 0.85rem;
        line-height: 1.4;
        padding-top: 8px;
        color: #a6a6a6;
    }
    .contents{
        font-size: 0.75rem;
    }
    .detail-body {
        font-size: 0.8rem;
    }
    .detail-btn {
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding-top: 4px;
        font-size: 0.8rem;
        text-align: right;
    }
    .detail-btn>a:hover {
        opacity: 20%;
    }
    .detail-btn>a:first-child {
        text-align: left;
    }

    .detail-btn>span {
        display: hidden;
    }
    .detail-project-img{
        padding-bottom: 8px;
    }
    .detail-body>p>img {
        padding-top: 8px;
        padding-bottom: 8px;
    }
}

/* ~~~~~~~~ mobile 550px 이하 ~~~~~~~~ */
@media (max-width: 550px) {
    .hr-box-3 {
        height: 1.5px;
    }
    .left-part, .home-left {
        overflow: visible !important;
    }
    .left-part{
        width: 100vw;
        max-width: 100%;
        font-size: 1.2rem;
        z-index: 1000;
        box-sizing: border-box;
    }
        .left-menu-top {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            width: 100vw;
            max-width: 100vw;
            padding: 20px;
            box-sizing: border-box;
        }
        .left-works {
            display: none;
        }
        .left-works-about{
            margin-top: 0px;
        }
        .left-works-btn {
            display: block;
            cursor: pointer;
            margin-top: 0px;
            background-color: #fff;
            text-align: center;
            font-size: 1.2rem;
            z-index: 10;
        }
        .left-lsmn:hover {
        background-color: #e7e7e7;
        }
        .left-works-btn:hover {
            background-color: #e7e7e7;
            }
        .home-left {
            position: fixed;
            display: block;
            top: 0;
            left: -100vw;  /* 화면 밖으로 */
            width: 100vw;
            max-width: 100vw;
            height: 100vh;
            background-color: rgb(46 46 46 / 95%); 
            transition: left 0.3s ease-in-out;
            z-index: 5;
            padding: 72px 20px;
            box-sizing: border-box;
        }
        .home-left.active {
            left: 0;
        }
    .project-list{
        width: 100%;
        height: 720px;
        padding: 12px 0px 12px 0px;
    }
    .hr-box {
        background-color: #fff;
        opacity: 50%;
        margin: 12px 0px 12px 0px;
    }
    .project-list-title {
        color: #fff;
        font-size: 1.1rem;
        padding-top: 8px;
        padding-bottom: 8px;
    }
    .project-list-des,
    .project-list-bottom,
    .more-works-link {
        display: none;
    }
    .home-right {
        position: absolute;
        right: 0px;
        width: 100vw;
    }
    .overviews {
        padding: 92px 20px 40px 20px;
    }
    .overview-list {
        display: flex;
        flex-direction: column;
        padding-bottom: 6px;
        padding-top: 4px;
    }
    .overview-left {
        width: 100%;
    }
    .overview-title {
        font-size: 1.6rem;
        display: block;
    }
    .overview-txt {
        font-size: 0.7rem;
    }
    .overview-left>a:nth-child(3) {
        font-size: 0.65rem;
        
    }
    .project-content {
        font-size: 0.65rem;
        padding-bottom: 20px;
    }
    .project-credit-over {
        font-size: 0.7rem;
        color: #a6a6a6;
    }
    .hr-box {
        margin: 10px 0px 6px 0px;;
    }






    .about-page{
        padding: 120px 20px 100px 20px;
    }
    .about-title {
        font-size: 2rem;
        padding-bottom: 20px;
    }
    .home-about-txt {
        padding-bottom: 20px;
        padding-top: 40px;
    }
    .home-about-txt-l {
        line-height: 1.2;
        font-size: 1.1rem;
        padding-right: 10%;
        padding-bottom: 0px;
    }
    .about_copyright {
        visibility: visible;
        font-size: 0.65rem;
        padding: 40px 0px 0px 0px;
        opacity: 40%;
    }

    .detail-part {
        padding: 60px 12px 20px 12px;
    }
    .detail-title {
        width: 100%;
        font-size: 2rem;
        padding: 32px 0px 32px 0px;
        text-align: center;
    }
    .detail-txt {
        display: flex;
        padding-top: 8px;
    }
    .detail-subs {
        font-size: 0.75rem;
        line-height: 1.5;
    }
    .contents {
        font-size: 0.7rem;
        line-height: 1.5;
        padding-top: 40px;
    }
    .detail-credit {
        font-size: 0.75rem;
        line-height: 1.5;
    }
    .about-details-q {
    font-size: 0.75rem;
    }
    .about-details-a {
        font-size: 0.7rem;
    }
    .about-details-aset {
        font-size: 0.7rem;
    }
    .about-details {
        display: grid;
        grid-template-columns: 25% 75%;
        grid-gap: 12px 10px;
    }
    .about-details-btn {
        display: grid;
        grid-template-columns: 25% 75%;
        grid-gap: 10px;
    }
    .detail-project-img{
        padding-bottom: 0px;
    }
    .detail-body>p>img {
        padding-top: 2px;
        padding-bottom: 2px;
    }
}

/* ~~~~~~~~ mobile 400px 이하 ~~~~~~~~ */
@media (max-width: 400px) {
    .project-list {
        width: 100%;
        height: 480px;
        padding: 12px 0px 12px 0px;
    }
    .left-lsmn,
    .left-works-btn,
    .left-lsmn-about,
    .left-works-about {
        font-size: 1.1rem;
    }

}