@charset "utf-8";

.clearfix::after {
    content: "";
    display: block;
    clear: both;
} 

/* couple_managers */
.couple_managers{
    width: 100%;
    background-color: var(--color-yellow-bg);
    

    .container{
        width: 1200px;
        height: inherit;
        margin: 0 auto;
        /* 202504181040 정세영 수정 */
        padding-bottom: 80px;
    }

    /* managers_title */
    .managers_title{
        text-align: center;
        padding-top: 140px;

        .tit{
            font-family: 'NanumMyeongjo', serif;
            font-size: 45px;
            font-weight: var(--font-weight-bold);
            color: #493E1C;
        }
        
        .tit_desc{
            font-size: 20px;
            margin-top: 30px;
        }
    }

    /* .list_section */
    .list_section{
        width: 100%;
        padding-top: 80px;

        .jisa_btn{
            width: 100%;
            display: grid;
            grid-template-columns: repeat(8, 1fr);
            grid-template-rows: auto;
            gap: 2%;
            line-height: 50px;
            text-align: center;

            a{
                display: inline-block;
                font-size: 24px;
                background-color: var(--color-yellow-dark);
                color: var(--color-yellow-font);

                &.active{
                    background-color: #FFE38F;
                    color: var(--color-black);
                    font-weight: var(--font-weight-bold);
                }
            }
        }

        .jisa_title{
            margin-top: 50px;
            display: flex;
            align-items: center;
            justify-content: center;

            svg{
                width: 43%;
                height: 6px;
                fill: none;

                path{
                    fill: var(--color-yellow-dark);
                }
            }

            p{
                font-size: 36px;
                font-weight: var(--font-weight-bold);
                color: var(--color-yellow-dark);
                width: 14%;
                text-align: center;
            }
        }

        .manager_lists{
            ul{
                width: 100%;
                height: inherit;
                margin-top: 50px;

                li{
                    float: left;
                    width: 47%;
                    height: 230px;
                    position: relative;
                    display: flex;
                    border-radius: 10px;
                    overflow: hidden;
                    margin-bottom: 40px;

                    &:nth-of-type(2n-1){margin-right: 6%;}

                    figure{
                        position: relative;
                        width: 172px;
                        aspect-ratio: 3/4;
                        overflow: hidden;
                        background-color: var(--color-white);

                        img{
                            display: block;
                            object-fit: cover;
                            object-position: top;
                            width: 100%;
                            height: 100%;
                            position: absolute;
                            top: 0;
                            left: 0;
                        }
                        
                        a{
                            position: absolute;
                            left: 50%;
                            bottom: 6%;
                            transform: translateX(-50%);
                            background-color: var(--alpha-white-30);
                            border-radius: 50px;
                            color: var(--color-white);
                            font-size: var(--font-size-xxs);
                            text-align: center;
                            width: 85%;
                            padding: 5% 0;
                        }
                    }

                    figcaption{
                        width: calc(100% - 172px);
                        padding-left: 5%;
                        background-color: #F2EDDC;

                        &.none_phone{
                            .call{
                                .phone{display: none;}
                            }

                            .contact{
                                margin-top: 60px;
                            }
                        }

                        .name{
                            margin-top: 30px;
                            display: flex;
                            align-items: center;
                            gap: 10px;

                            strong{
                                font-size: 30px;
                                font-weight: var(--font-weight-bold);
                            }

                            span{
                                display: inline-block;
                                font-size: 16px;
                            }
                        }

                        .call{
                            margin-top: 20px;

                            p{
                                margin-bottom: 5px;

                                .icon_wh{display: none;}

                                &.telephone{
                                    font-size: 24px;
                                    font-weight: var(--font-weight-medium);
                                    letter-spacing: 1.2px;
                                }

                                &.phone{
                                    font-size: var(--font-size-sm);
                                }

                                & > *{
                                    display: inline-block;
                                }

                                img{
                                    width: 20px;
                                    height: 20px;
                                }

                                span{
                                    margin-left: 2%;
                                }
                            }
                        }

                        .contact{
                            margin-top: 28px;
                            display: flex;
                            align-items: center;
                            gap: 5%;
                            
                            a{
                                display: inline-block;
                                width: 43%;
                                padding: 3.5% 0;
                                background-color: var(--color-yellow-dark);
                                color: var(--color-yellow-font);
                                text-align: center;
                                border-radius: 10px;
                            }
                        }
                        /* 20250530 오승택 : 오픈카톡 링크 숨김 */
                        .contact{
                            &.none_kakao{
                                a:nth-child(1){
                                    flex: 1;           
                                }
                                a:nth-child(2){
                                    display: none;
                                    pointer-events: none;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}


/*  반응형 responsive */
@media screen and (max-width: 780px) {
    .couple_managers{
        max-width: 100%;
        overflow: hidden;
    
        .container{
            width: 86%;
            margin: 0 auto;
        }
    
        /* managers_title */
        .managers_title{
            padding-top: 120px;
    
            .tit{
                font-size: 45px;
            }
            
            .tit_desc{
                font-size: 20px;
                margin-top: 30px;
                word-break: keep-all;
                padding: 0 9%;
            }
        }
    
        /* .list_section */
        .list_section{
            padding-top: 0;
            margin-top: 120px;

            &:nth-of-type(1){margin-top: 50px;}

            .jisa_btn{
                width: 95%;
                margin: 0 auto;
                grid-template-columns: repeat(4, 1fr);
                gap: 12px;
    
                a{
                    font-size: var(--font-size-md);
                }
            }
    
            .jisa_title{
                margin-top: 30px;
    
                svg{width: 43%;}
    
                p{
                    font-size: var(--font-size-md);
                    margin: 0%;
                    width: 20%;
                }
            }
    
            .manager_lists{
                ul{
                    margin: 30px auto 0 auto;
                    width: 90%;
                    text-align: center;
                    display: grid;
                    grid-template-columns: repeat(2, 1fr);
                    /* 202504181037 정세영 수정 */
                    gap: 0 50px;
                    justify-content: center;
                    
                    li{
                        float: none;
                        width: 100%;
                        max-width: 224px;
                        height: auto;
                        flex-direction: column;
                        overflow: visible;
                        border-radius: 0;
                        margin: 0 auto;
                        text-shadow: 0px 0px 5px var(--alpha-black-55);
                        /* 202504181038 정세영 추가 */
                        margin-bottom: 50px;

                        &:nth-of-type(n+3) {
                            margin-top: 50px; 
                        }

                        &::before {
                            content: '';
                            position: absolute;
                            left: 0; bottom: 0;
                            width: 100%;
                            /* 20250418104 정세영 수정 */
                            height: 50%;
                            background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, var(--color-black)100%);
                            z-index: 1;
                        }
                        
                        figure{
                            width: 100%; 
                            max-height: 300px;
                            position: relative;
    
                            img{height: auto;}
                            a{display: none;}
                        }
                        
                        figcaption{
                            width: 100%;
                            position: absolute;
                            right: 0;
                            bottom: -50px;
                            z-index: 5;
                            background-color: transparent;
                            color: var(--color-white);
    
                            &.none_phone{
                                .contact{margin-top: 18px;}
                            }
                            
                            .name{
                                margin-top: 0px;
                                display: inline-block;
                                text-align: center;
                                width: 100%;

                                strong{
                                    font-size: var(--font-size-md);
                                    letter-spacing: -1.2px;
                                }

                                span{
                                    margin-left: 2%;
                                    font-size: var(--font-size-xs);
                                    font-weight: var(--font-weight-light);
                                    display: inline-block;
                                    letter-spacing: -0.8px;
                                    vertical-align: top;
                                    padding-top: 5px;
                                }
                            }
                            
                            .call{
                                margin-top: 5px;
    
                                p{
                                    margin-bottom: 1px;

                                    &.telephone{
                                        font-size: 20px;
                                        font-weight: var(--font-weight-regular);
                                        letter-spacing: 1px;
                                    }

                                    &.phone{
                                        font-size: var(--font-size-base);
                                        font-weight: var(--font-weight-regular);
                                        letter-spacing: 0.9px;
                                        margin-top: 6px;
                                    }

                                    .icon_bl{display: none;}

                                    .icon_wh{
                                        display: inline-block;
                                        vertical-align: middle;
                                    }

                                    img{
                                        width: 20px;
                                        height: 20px;
                                    }

                                    span{
                                        vertical-align: middle;
                                        margin-left: 0;
                                    }
                                }
                            }
                            
                            .contact{
                                margin: 16px auto 0 auto;
                                gap: 5%;
                                
                                a{
                                    width: 50%;
                                    padding: 5% 0;
                                    border-radius: 5px;
                                    font-size: 18px;

                                    span{display: none;}
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

@media screen and (max-width: 600px) {
    .couple_managers{
        .managers_title{
            padding-top: 120px;
    
            .tit{
                font-size: var(--font-size-xl);
            }
            
            .tit_desc{
                font-size: var(--font-size-base);
                padding: 0 5%;
            }
        }

        .list_section{
            margin-top: 100px;

            .jisa_btn{
                gap: 16px;
            }

            .jisa_title{
                svg{
                    width: 188px;
                    height: 4px;
                }
            }
    
            .manager_lists{
                ul{
                    li{
                        figcaption{
                            .name{
                                strong{
                                    font-size: var(--font-size-lg);
                                }
                            }
                            
                            .call{
                                p{
                                    &.telephone{
                                        font-size: var(--font-size-md);
                                    }
                                }
                            }
                            
                            .contact{
                                a{
                                    font-size: var(--font-size-base);
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

@media screen and (max-width: 480px) {
    .couple_managers{
        .container{
            /* 202504181035 정세영 수정 및 추가 */
            width: 93%;
            padding-bottom: 60px;
        }

        .managers_title{
            .tit_desc{
                font-size: var(--font-size-base);
                padding: 0 15%;
                margin-top: 20px;
            }
        }

        .list_section{
            margin-top: 80px;

            .jisa_btn{
                gap: 12px;
                line-height: 42px;
                width: 95%;

                a{
                    font-size: 16px;
                }
            }

            .jisa_title{
                width: 95%;
                margin: 20px auto 0 auto;

                svg{
                    width: 159px;
                }

                p{
                    font-size: 20px;
                    width: 25%;
                }
            }
    
            .manager_lists{
                ul{
                    /* 202504181037 정세영 추가 */
                    gap: 0 30px;
                    margin: 20px auto 0 auto;

                    li{
                        /* 202504181043 정세영 추가 */
                        margin-bottom: 25px;

                        &:nth-of-type(n+3) {
                            margin-top: 50px; 
                        }

                        figcaption{
                            /* 202504181059 정세영 수정 */
                            bottom: -38px;

                            .name{
                                strong{
                                    letter-spacing: -1px;
                                    /* 202504181344 정세영 추가 */
                                    font-size: 4vw;
                                }

                                span{
                                    letter-spacing: 0.7px;
                                }
                            }
                            
                            .call{
                                /* 202504181050 정세영 추가 */
                                margin-top: 2px;

                                p{
                                    &.telephone{
                                        /* 202504181347 정세영 수정 */
                                        font-size: 16px;
                                        /* 202504181154 정세영 추가 */
                                        letter-spacing: 0.5px;
                                    }

                                    &.phone{
                                        font-size: 16px;
                                        /* 202504181052 정세영 수정 */
                                        letter-spacing: 0px;
                                        margin-top: 3px;
                                    }

                                    img{
                                        /* 202504181053 정세영 수정 */
                                        width: 14px;
                                        height: 14px;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

/* 202504181128 정세영 추가 */
@media screen and (max-width: 400px) {
    .couple_managers{
        .list_section{
            .jisa_title{
                p{
                    font-size: 18px;
                    width: 28%;
                }
            }
        }
    }
}

@media screen and (max-width: 380px) {
    .couple_managers{
        .container{
            width: 95%;
            /* 202504181134 정세영 추가 */
            padding-bottom: 50px;
        }

        .managers_title{
            padding-top: 90px;

            .tit{
                font-size: 7vw;
            }

            .tit_desc{
                font-size: 3.6vw;
                padding: 0 10%;
            }
        }

        .list_section{
            &:nth-of-type(1){margin-top: 35px;}

            .jisa_btn{
                gap: 10px;
                line-height: 35px;

                a{
                    font-size: 4vw;
                }
            }

            .jisa_title{
                svg{
                    width: 120px;
                }

                p{
                    font-size: 4.8vw;
                }
            }
    
            .manager_lists{
                ul{
                    /* 202504181107 정세영 수정 : gap 삭제 */

                    li{
                        /* 202504181108 정세영 추가 */
                        margin-bottom: 15px;

                        figcaption{
                            bottom: -35px;

                            /* 202504181142 정세영 수정 */
                            &.none_phone{
                                .contact{margin-top: 15px;}
                                .telephone{margin-top: 6px;}
                            }

                            .name{
                                span{
                                    /* 202504181144 정세영 수정 */
                                    font-size: 2.5vw;
                                }
                            }
                            
                            .call{
                                margin-top: 2px;

                                p{
                                    &.telephone{
                                        font-size: 4.2vw;
                                        /* 202504181131 정세영 추가 */
                                        letter-spacing: 0.5px;
                                    }

                                    &.phone{
                                        /* 202504181131 정세영 수정 */
                                        font-size: 3.8vw;
                                        letter-spacing: 0.2px;
                                        margin: 0;
                                    }

                                    img{
                                        width: 14px;
                                        height: 14px;
                                    }
                                }
                            }

                            .contact{
                                margin: 12px auto 0 auto;
                                
                                a{
                                    font-size: 3.3vw;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}