.page {
    background-color: var(--white);
}
.content {
    display: flex;
    align-items: start;
    gap: 80px;
    position: relative;
}

/*-------------------- scroll_bar --------------------*/
.scroll_bar {
    width: 100%;
    height: 12px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
}
.bar {
    width: 0%;
    height: 100%;
    background-color: #EBEBEB;
    display: block;
}

/*-------------------- info --------------------*/
.info {
    width: 360px;
    height: 100vh;
    padding: 180px 0 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: sticky;
    top: 0;
    left: 0;
}
.title {
    font-size: var(--ft28);
    font-weight: var(--semi-bold);
    margin-bottom: 30px;
}
.detail {
    color: var(--gray-600);
}
.tag {
    margin-top: 40px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.tag a {
    padding: 8px 16px;
    border-radius: 40px;
    border: 1px solid var(--dark-line);
    font-size: var(--ft16);
    color: var(--gray-600);
    transition: background .3s ease;
}
.tag a:hover {
    background-color: var(--gray-100);
}

.info_list li {
    width: 100%;
    height: 46px;
    padding: 0 10px;
    border-bottom: 1px solid var(--dark-line);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.info_list p {
    color: var(--gray-600);
}
.info_list p.bold {
    font-weight: var(--medium);
}


/*-------------------- detail_wrap --------------------*/
.detail_wrap {
    width: calc(100% - 360px - 80px);
    margin-top: 120px;
}
.detail_wrap img {
    width: 100%;
}

/*-------------------- more --------------------*/
.more {
    margin-top: 120px;
    padding-top: 80px;
    padding-bottom: 160px;
    border-top: 1px solid var(--dark-line);
    display: flex;
    gap: 80px;
}
.more_h {
    width: 360px;
}
.more_text {
    font-size: var(--ft40);
    font-weight: var(--semi-bold);
    margin-bottom: 50px;
}
.portfolio_list {
    width: calc(100% - 360px - 80px);
    grid-template-columns: repeat(2, 1fr);
}

.m_contact {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background-color: var(--gray-700);
    position: fixed;
    bottom: 30px;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 10;
    transform: translateY(100px);
    opacity: 0;
    overflow: hidden;
    transition: opacity .3s ease, transform .6s ease, width .6s ease;
}
.m_contact a {
    font-size: var(--ft16);
    font-weight: var(--semi-bold);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .3s ease, transform .6s ease;
}
.m_contact.show {
    width: 200px;
    transform: translateY(0);
    opacity: 1;
    transition: opacity .4s ease, transform .4s ease, width .4s .2s ease;
}
.m_contact.show a {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .3s .3s ease, transform .3s .3s ease;
}

@media all and (max-width: 1600px) {
    .content,
    .more  {
        gap: 60px;
    }
    .info,
    .more_h {
        width: 300px;
    }
    .info {
        padding-top: 140px;
    }
    .detail_wrap,
    .portfolio_list {
        width: calc(100% - 300px - 60px);
    }
    .more {
        margin-top: 100px;
        padding-top: 60px;
    }
}

@media all and (max-width: 1400px) {
    .info {
        padding-top: 120px;
    }
    .tag {
        margin-top: 30px;
    }
    .tag a {
        padding: 6px 12px;
    }
}

@media all and (max-width: 1024px) {
    .content {
        flex-direction: column;
    }
    .info {
        width: 100%;
        padding-top: 120px;
        padding-bottom: 0;
        height: fit-content;
        position: static;
        gap: 20px;
    }
    .title {
        margin-bottom: 16px;
    }
    .tag {
        margin-top: 24px;
        gap: 6px;
    }
    .tag a {
        font-size: var(--ft14);
        padding: 4px 10px;
    }
    .detail_wrap {
        width: 100%;
        margin-top: 0px;
    }

    .more {
        flex-direction: column;
    }
    .more_h {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: end;
    }
    .more_text {
        font-size: var(--ft32);
        margin-bottom: 0;
    }
    .portfolio_list {
        width: 100%;
    }
}

@media all and (max-width: 768px) {
    .scroll_bar {
        height: 8px;
    }
    .title {
        font-size: var(--ft24);
    }

    .more {
        margin-top: 60px;
        padding-top: 40px;
        padding-bottom: 120px;
    }

    .m_contact {
        display: block;
    }
}

@media all and (max-width: 600px) {
    .more {
        gap: 30px;
    }
    .more_h {
        flex-direction: column;
        align-items: start;
        gap: 20px;
    }
    .more_text {
        white-space: normal;
    }
}