@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;
        padding-bottom: 40px;
    }

    /* 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);

                        /* 202504081804 정세영 추가 */
                        &::before{
                            content: '';
                            width: 100%;
                            height: 30%;
                            position: absolute;
                            left: 0;
                            bottom: 0;
                            z-index: 2;
                            opacity: 0.5;
                            background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, var( --color-black) 100%);
                        }

                        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;
                            /* 202504081805 정세영 추가 */
                            z-index: 5;
                        }
                    }
                    /* 20250530 오승택 : 법인폰 없는 경우 영역 맞춤 */
                    figcaption{
                        position: relative;
                        width: calc(100% - 172px);
                        padding: 0 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;
                                }

                                span{
                                    margin-left: 2%;
                                }
                            }
                        }
                        /* 20250530 오승택 : 법인폰 없는 경우 영역 맞춤 */
                        .contact{
                            position: absolute;
                            width: 100%;
                            bottom: 20px;
                            left: 0;
                            display: flex;
                            align-items: center;
                            gap: 5%;
                            padding: 0 7%;
                            
                            a{
                                display: inline-block;
                                flex: 1;
                                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;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
