/* --------------------- */
/* 기본 셋업 */
@media (min-width:2000px){
    html{
        width: 1920px;
        margin: 0 auto;
    }
}

html{
    font-family: 'Pretendard', sans-serif;
    font-size: var(--basic-font-pc);
    scroll-behavior: smooth;
}
p{
    line-height: 140%;
}
.fwb{
    font-weight: var(--fw-bold);
}
.common-frame{
    width: auto;
    margin: 0 3rem;
}






/* --------------------- */
/* 전체 콘텐츠 영역 스타일 */

.hero{
    height: 100vh;
    min-height: 700px;
    background: 
    /* linear-gradient(rgba(0, 0, 0, 0.3) 10%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.3) 90%), */
    url(../img/bg-hero4.jpg) no-repeat 50% 0% / cover;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.hero-txt1{
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
}
.hero-txt1-left span{
    font-weight: var(--fw-bold);
    margin-right: 1rem;
}
.hero-title{
    font-size: calc(100vw/9);
    text-transform: uppercase;
    font-weight: 900;
    text-align: center;
    /* line-height: 120%; */
    padding-bottom: 1rem;
}
.profile{
    margin-top: 6rem;
}
.pro-title {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    background-color: #fff;
    border-bottom: 1px solid #000;
    padding-bottom: 1rem;
}
.pro-title>section{
    flex: 1;
}
.pro-title h2{
    font-size: 5em;
    font-weight: var(--fw-bold);
}
.pro-title h3{
    font-size: 1.2rem;
    font-weight: var(--fw-bold);
    margin-bottom: 3rem;
}
.pro-title h3+p{
    margin-bottom: 1rem;
}
.profile1{
    display: flex;
    gap: 172px;
    align-items: flex-start;
}
.sticky-figure{
    width: 435px;
    position: sticky;
    left: 0;
    top: 3rem;
}
.sticky-figure figcaption{
    display: flex;
    justify-content: space-between;
    margin-top: .5rem;
}
.pro-desc{
    flex: 1;
    padding-top: 6rem;
}
.pro-desc-grid{
    display: grid;
    gap: 3rem 1rem;
    grid-template-columns: repeat(2,1fr);
}
.certi{
    grid-column: 1/3;
}
.co h4{
    font-size: 1.2rem;
    font-weight: var(--fw-bold);
    margin-bottom: 1rem;
}
.co h4+p{
    margin-bottom: 2rem;
}
.co ul{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.co ul li{
    border-radius: .5rem;
    background-color: #EDF1F6;
    padding: 1rem;
}
.co ul li h5{
    font-weight: var(--fw-bold);
    margin-bottom: .5rem;
}
.certi dl{
    display: grid;
    grid-template-columns: 2fr 3fr 3fr;
    gap: .5rem 1rem;
}
.expert{
    margin-top: 6rem;
}
.exp-title {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 3rem;
}
.exp-title h2{
    flex: 1;
    font-weight: var(--fw-bold);
    font-size: 5rem;
}
.exp-title p{
    flex: 1;
}
.skill-grid{
    display: grid;
    grid-template-columns: repeat(3,minmax(20px,1fr));
    gap: 2rem 1rem;
}
.skill-grid li h4{
    font-weight: var(--fw-bold);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #000;
    text-transform: capitalize;
}
.skill-grid .icon img{
    height: 1.2rem;
}
.icon{
    margin-bottom: .5rem;
}
.popup {
    margin-top: 6rem;
    padding-top: 6rem;
    background:
        url(../img/pattern-check.png) repeat 0 0,
        url(../img/bg-popup.jpg) no-repeat 0 calc(100% - 205px) / 100% 540px;
    padding-bottom: 6rem;
    border-bottom: 1px solid var(--point-color);
}
.popup h2{
    font-size: 5rem;
    font-weight: var(--fw-bold);
    margin-bottom: .5rem;
    text-align: center;
}
.popup h2+p{
    text-align: center;
    font-weight: var(--fw-med);
    font-size: 3rem;
    margin-bottom: 2rem;
}
.popup h2+p+p {
    text-align: center;
    margin-bottom: 8rem;
}
.popup-contents{
    display: flex;
    gap: 177px;
}
.popup-text{
    width: 430px;
    color: #fff;
    pointer-events: none;
}
.popup-station{
    width: calc(100% - 430px - 177px);
}
.popup-text h3{
    font-size: 1.5rem;
    font-weight: var(--fw-bold);
}
.popup-text p{
    margin-top: 1rem;
}
.popup-img-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 2px 3px 10px 1px rgba(0, 0, 0, 0.2);
}
.popup-img-slider .swiper-wrapper{
    transition-timing-function: linear;
}
.popup-txt-slider .swiper-slide{
    background-color: var(--point-color);
}
.poster{
    padding-top: 6rem;
}
.poster .common-frame{
    display: flex;
    align-items: flex-start;
    gap: 172px;
}
.poster-title{
    width: 734px;
    position: sticky;
    top: 6rem;
    left: 0;
}
.poster-title h2{
    font-size: 5rem;
    font-weight: var(--fw-bold);
    margin-bottom: 1rem;
}
.poster-title h2+p{
    font-size: 3rem;
    margin-bottom: 3rem;
}
.poster-list{
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6rem;
}
.poster-list>li{
    display: flex;
    gap: 107px;
}
.poster-list>li:nth-of-type(2n){
    flex-direction: row-reverse;
}
.poster-list>li figure{
    width: 500px;
    flex-shrink: 0;
}
.poster-txt{
    flex: 1;
    padding-top: 6rem;
}
.poster-txt h3{
    font-weight: var(--fw-bold);
    margin-bottom: 4rem;
}
.poster-txt p{
    margin-bottom: 1rem;
}
.banner{
    padding: 6rem 0;
    background-color: var(--point-color);
    color: #fff;
    text-align: center;
    margin-top: 6rem;
}
.banner h2{
    font-size: 5rem;
    font-weight: var(--fw-bold);
    margin-bottom: 1rem;
}
.banner h2+p{
    font-size: 3rem;
    margin-bottom: 3rem;
}
.banner h2+p+p{
    margin-bottom: 3rem;
}
.detail{
    margin-top: 6rem;
    margin-bottom: 6rem;
}
.detail h2{
    font-size: 5rem;
    font-weight: var(--fw-bold);
    margin-bottom: 1rem;
    text-align: center;
}
.detail h2+p{
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: center;
}
.detail h2+p+p{
    margin-bottom: 3rem;
    text-align: center;
}
.detail-swiper figure{
    position: relative;
    margin-bottom: 2rem;
}
.detail-swiper figure:hover{
    cursor: pointer;
}
.detail-swiper figure:hover img{
    filter: brightness(0.4);
}
.detail-swiper figure:after{
    color: #fff;
    content: "Click!";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    font-weight: var(--fw-bold);
    display: none;
}
.detail-swiper figure:hover:after{
    display: block;
}
.detail-swiper h4{
    margin-bottom: .5rem;
}
.btn-close {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    aspect-ratio: 1/1;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    z-index: 2;
}
.btn-close img{
    height: 1.2rem;
}
.detail-title {
    text-transform: uppercase;
    font-weight: 900;
    text-align: center;
    font-size: calc(100vw/10);
    margin: 4rem 0;
    position: sticky;
    top: 35vh;
    z-index: -1;
}
.detail-content{
    text-align: center;
    padding-bottom: 6rem;
}
.detail-content h3{
    margin-top: 5rem;
    margin-bottom: 1rem;
    font-size: 2rem;
}
.detail-content h2{
    margin-bottom: 6rem;
    font-size: 3rem;
    font-weight: var(--fw-bold);
}
.po{
    font-size: 1.5rem;
    font-weight: var(--fw-bold);
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    position: relative;
}
.po:after{
    content: "";
    position: absolute;
    width: 1rem;
    height: .2rem;
    background-color: #000;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}
.detail-dl{
    width: 890px;
    margin: 0 auto;
}
.detail-dl dt{
    font-weight: var(--fw-bold);
    margin-bottom: 1rem;
}
.detail-dl dt span{
    display: block;
    margin-bottom: .5rem;
}
.detail-dl dd{
    margin-bottom: 3rem;
    line-height: 140%;
}
.btn-top {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    aspect-ratio: 1/1;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: calc(100vh - 3.5rem);
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    z-index: 2;
    margin-bottom: 3rem;
    cursor: pointer;
}
.btn-top img{
    height: 1.2rem;
}
.project h2{
    font-size: 5rem;
    font-weight: var(--fw-bold);
    margin-bottom: 1rem;
    text-align: center;
}
.project h2+p{
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: center;
}
.project h2+p+p{
    margin-bottom: 3rem;
    text-align: center;
}
.pTitle{
    margin-top: 4rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: var(--fw-bold);
}
.responsive-icon{
    width: 50%;
    display: flex;
    justify-content: center;
    gap: 1rem;
    text-align: center;
    margin: 0 auto;
}
.responsive-icon li{
    flex: 1;
}
.responsive-icon li h5{
    font-weight: var(--fw-bold);
    margin-top: 1rem;
    margin-bottom: .25rem;
    text-transform: capitalize;
}
.mo{
    display: none;
}
.pc{
    display: block;
}
.project>.common-frame{
    margin-bottom: 6rem;
}
.project-content {
    background-color: #EDF1F6;
    padding: 6rem 0;
    padding-bottom: 0;
    text-align: center;
}
.project-content h3{
    font-weight: var(--fw-bold);
    display: inline-flex;
    flex-direction: column;
    gap: .25rem;
    margin-bottom: 3rem;
}
.project-content h4{
    font-size: 3rem;
    font-weight: var(--fw-bold);
    margin-bottom: 3rem;
}
.project-content h4+p{
    margin-bottom: 1.5rem;
}
.project-stikcy {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
    position: sticky;
    top: 2.5rem;
    font-weight: var(--fw-med);
}
.project-stikcy a{
    display: block;
    padding: .5rem 1.5rem;
    font-size: .8rem;
    background-color: #fff;
    border-radius: 100px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.project-stikcy a:hover{
    background-color: var(--point-color);
    color: #fff;
}
.contact{
    background-color: #000;
    color: #fff;
    padding: 6rem 0 8rem;
    text-align: center;
}
.contact h1{
    font-size: calc(100vh / 7);
    font-weight: var(--fw-bold);
    /* margin-bottom: 3rem; */
    position: sticky;
    left: 0;
    top: 40vh;
    mix-blend-mode: difference;
}
.contact h2{
    font-size: 2rem;
    font-weight: var(--fw-bold);
    margin-bottom: 3rem;
    margin-top: 3rem;
    line-height: 140%;
}
.contact h3{
    font-weight: var(--fw-bold);
    margin-bottom: 1.5rem;
    margin-top: 3rem;
}
.contact figure{
    margin-top: 3rem;
}
.contact-menu{
    display: inline-flex;
    gap: .5rem;
    flex-direction: column;
}
.contact-menu a{
    display: block;
    padding: .5rem 1.5rem;
    font-size: .8rem;
    font-weight: var(--fw-med);
    border: 1px solid #fff;
    border-radius: 100px;
}
.contact-menu a:hover{
    background-color: #fff;
    color: #000;
}
.pro-img img{
    border-radius: 10px;
}
.menu-sticky{
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    position: sticky;
    left: 0;
    top: -2rem;
    z-index: 2000;
}
.btn-menu{
    width: 4rem;
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}
.btn-menu img{
    height: 1.2rem;
    position: sticky;
    left: 0;
    top: .25rem;
}
.all-menu{
    padding: 50px 30px;
    position: fixed;
    width: 300px;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%) scale(0.7);
    opacity: 0;
    transition: all 0.6s ease 0s;
    pointer-events: none;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 200;
    border-radius: .5rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    /* overflow: auto; */
}
.all-menu.on{
    transform: translate(-50%,-50%) scale(1);
    opacity: 1;
    pointer-events: auto;
}
.all-menu-list{
    text-align: center;
    font-weight: var(--fw-bold);
    text-transform: capitalize;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    /* padding: 20vh 0; */
}
.all-menu-list li:hover{
    color: var(--point-color);
}
.mo-br{
    display: none;
}



/* --------------- */
/* 반응형 대응 코드 */
@media (max-width: 1800px){
    .popup {
        background:
            url(../img/pattern-check.png) repeat 0 0,
            url(../img/bg-popup.jpg) no-repeat 0 calc(100% - 205px) / 100% 480px;
    }
    .poster-title {
        width: 600px;
    }
}


@media (max-width: 1700px){
    .popup {
        background:
            url(../img/pattern-check.png) repeat 0 0,
            url(../img/bg-popup.jpg) no-repeat 0 calc(100% - 205px) / 100% 460px;
    }
    .poster .common-frame{
        gap: 3rem;
    }
    .poster-title {
        width: initial;
        flex: 1;
    } 
    .posterlist>li{
        gap: 1rem;
    }
    .poster-list>li figure{
        width: initial;
        flex-shrink: initial;
        flex: 4;
    }
    .poster-txt{
        flex: 3;
    }
}



@media (max-width: 1650px){
    .popup {
        background:
            url(../img/pattern-check.png) repeat 0 0,
            url(../img/bg-popup.jpg) no-repeat 0 calc(100%) / 100% 630px;
    }
}



@media (max-width: 1600px){
    .exp-title {
        flex-direction: column;
        align-items: flex-start;
    }
    .skill-grid{
        grid-template-columns: repeat(2,minmax(20px,1fr));
    }
    .popup-contents{
        gap: 1rem;
    }
    .popup-text{
        width: calc((100% - 1rem)/2);
        color: #fff;
    }
    .popup-station{
        width: calc((100% - 1rem)/2);
    }
    .popup {
        background:
            url(../img/pattern-check.png) repeat 0 0,
            url(../img/bg-popup.jpg) no-repeat 0 calc(100%) / 100% 536px;
    }
    
}


@media (max-width: 1500px){
    .poster-txt {
        padding-top: 0;
    }
}


@media (max-width: 1440px){
    .profile1{
        gap: 1rem;
    }
    .sticky-figure{
        width: 303px;
        position: sticky;
        left: 0;
        top: 3rem;
    }
    .contact h1 {
        position: initial;
    }
}



@media (max-width: 1400px){
    .popup {
        background:
            url(../img/pattern-check.png) repeat 0 0,
            url(../img/bg-popup.jpg) no-repeat 0 calc(100%) / 100% 598px;
    }
    .poster-list>li{
        flex-direction: column;
    }
    .poster-list>li:nth-of-type(2n){
        flex-direction: column;
    }
    .poster-list>li {
        gap: 2rem;
    }
    .poster-txt h3 {
        margin-bottom: 2rem;
    }
}



@media (max-width: 1300px){
    .popup {
        background:
            url(../img/pattern-check.png) repeat 0 0,
            url(../img/bg-popup.jpg) no-repeat 0 calc(100%) / 100% 575px;
    }
}




@media (max-width: 1200px){
    .popup {
        background:
            url(../img/pattern-check.png) repeat 0 0,
            url(../img/bg-popup.jpg) no-repeat 0 calc(100%) / 100% 554px;
    }
    .detail-content h2 {
        font-size: 2.5rem;
    }
}


@media (max-width: 1100px){
    .pro-desc-grid{
        grid-template-columns: repeat(1,1fr);
    }
    .certi{
        grid-column: initial;
    }
}


@media (max-width: 1030px){
    .popup {
        background:
            url(../img/pattern-check.png) repeat 0 0,
            url(../img/bg-popup.jpg) no-repeat 0 calc(100%) / 100% 538px;
    }
}


@media (max-width: 1024px){
    html{
        font-size: var(--basic-font-tab);
    }
    .common-frame{
        width: auto;
        margin: 0 2rem;
    }
    .hero{
        min-height: 500px;
    }
    .pro-title{
        flex-direction: column;
    }
    .detail-dl {
        width: auto;
        margin: 0;
    }
    .detail-content h2 {
        font-size: 2rem;
    }
    .all-menu{
        padding: initial;
        width: auto;
        left: 2rem;
        right: 2rem;
        top: 2rem;
        bottom: 2rem;
        transform: initial;
        transform: scale(0.7);
    }
    .all-menu.on{
        opacity: 1;
        transform: scale(1);
    }
}


@media (max-width: 1010px){
    .popup {
        background:
            url(../img/pattern-check.png) repeat 0 0,
            url(../img/bg-popup.jpg) no-repeat 0 calc(100%) / 100% 495px;
    }
}


@media (max-width: 768px){
    html{
        font-size: var(--basic-font-mo);
    }
    .common-frame{
        width: auto;
        margin: 0 1rem;
    }
    .hero-txt1{
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        text-align: center;
        padding: 0;
        padding-top: 3rem;
    }
    .pro-title h2{
        font-size: 2.5rem;
    }
    /* .hero{
        justify-content: flex-start;
        gap: 40vh;
    } */
    .pro-title h3{
        line-height: 140%;
    }
    .profile1{
        flex-direction: column;
        align-items: center;
    }
    .sticky-figure{
        width: 70%;
        position: initial;
    }
    .certi dl{
        grid-template-columns: 4fr 2fr;
        gap: .5rem 1rem;
    }
    .certi dl dt{
        grid-column: 1/3;
    }
    .exp-title h2 {
        font-size: 2.5rem;
    }
    .popup-contents{
        flex-direction: column-reverse;
    }
    .popup-text{
        width: 100%;
    }
    .popup-station{
        width: 100%;
    }
    .popup h2{
        font-size: 2rem;
    }
    .popup h2+p{
        font-size: 1.3rem;
    }
    .poster .common-frame {
        flex-direction: column-reverse;
        align-items: stretch;
    }
    .poster-title {
        position: initial;
        top: initial;
        left: initial;
        text-align: center;
        margin-bottom: 3rem;
    }
    .poster-list>li figure {
        text-align: center;
    }
    .poster-list>li {
        text-align: center;
    }
    .poster-title h2{
        font-size: 2rem;
    }
    .poster-title h2+p {
        font-size: 1.3rem;
    }
    .banner h2{
        font-size: 2rem;
    }
    .banner h2+p{
        font-size: 1.3rem;
    }
    .detail-content h2 {
        font-size: 1.5rem;
    }
    .detail-title{
        font-size: calc(100vw/6);
        line-height: 100%;
    }
    .detail h2{
        font-size: 2rem;
    }
    .detail h2+p{
        font-size: 1.3rem;
    }
    .mo{
        display: block;
    }
    .pc{
        display: none;
    }
    .project h2{
        font-size: 2rem;
    }
    .project h2+p{
        font-size: 1.3rem;
    }
    .responsive-icon{
        width: auto;
    }
    .contact h1 {
        font-size: calc(100vh / 17);
    }
    .contact h2 {
        font-size: 1.3rem;
    }
    .all-menu{
        left: 1rem;
        right: 1rem;
        top: 1rem;
        bottom: 4rem;
    }
}


@media (max-width:500px){
    .popup h2+p+p {
        margin-bottom: 6rem;
    }
}


@media (max-width:370px){
    .mo-br{
        display: block;
    }
    .hero-txt1-right{
        line-height: 140%;
    }
}


@media (max-width:320px){
    .skill-grid{
        grid-template-columns: repeat(1,minmax(20px,1fr));
    }
}