@charset "utf-8";

@font-face {
    font-family: 'Galmat';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/naverfont_04@1.0/Galmetgol.woff') format('woff');
    font-weight: normal;
    font-display: swap;
}

:root{
    /* color */
    --color-white: #fff;
    --color-black-txt: #131313;
    --color-main-bg: #921E4A;
    --color-gradient: #720f35;;
    --color-gradient-rgb: 114, 15, 53;
}


@media only screen and (max-width : 1024px) {
    html {
        font-size : 55%;
    }
}
@media only screen and (max-width : 640px) {
    html {
        font-size : 58%;
    }
}

body {
    width : 100%;
    min-height : 100%;
    font-size : 1.6rem;
    color : #131313;
    overflow-x : hidden;
    -webkit-text-size-adjust : none;
    padding : 0;
    margin : 0;
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    font-weight : 300;
}

a:link,
a:visited,
a:active,
a:hover {
    text-decoration : none;
    color:inherit;
}

button {
    outline: 0;
    border: 0;
    background-color: transparent;
    cursor: pointer;
    -webkit-appearance : none;
    -moz-appearance : none;
    appearance : none;
}
img{
    max-width: 100%;
    vertical-align: middle;
    outline: 0;
}



/* ───────────────────────────────────────────
        main-re
    _______________________________________________ */
.main-re{
    width: 100%;
    position: relative;
    overflow: hidden;
    color: var(--color-white);
    background: var(--color-main-bg);
}
.main-re > .inner{
    max-width: 140rem;
    padding-top: 40rem;
    min-width: 36rem;
    width: 100%;
    margin: 0 auto;
    position: relative;    
}

.main_quote{
    padding-top: max(4rem, min(calc(6.27vw + 2.47rem), 10rem));
    margin-bottom: max(2.5rem, min(calc(3.66vw + 1.61rem), 6rem));
}

.main_content{
    position: relative;
}
.main_list{
    max-width: 700px;
    position: relative;
    z-index: 5;
}


.main_strong-txt{
    font-size: clamp(2rem, calc(3.14vw + 0.77rem), 5rem);
    font-weight: 600;
    margin-bottom: 8.4rem;
    line-height: 1.2;
    word-break:keep-all;
    letter-spacing: -0.03em;    
}

.main_badge{
    display: flex;
    align-items: center;
    gap: 2.4rem;
    padding-bottom: 10rem;
}
.main_badge-list{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.main_badge-label{
    font-size: clamp(1rem, calc(1.46vw + 0.43rem), 2.4rem);
    font-weight: 500;
    letter-spacing: -0.05rem;
}

.strong-txt{font-weight: 600;}


.main-re:after{
    content: '';
    display: block;
    position: absolute;
    right: -10rem;
    aspect-ratio: 1 / 1;
    bottom: max(0px, min(calc(-11.44vw + 219.62px), 175px));
    background: url(../images/main_bg-logo.svg) no-repeat center / contain;
    width: clamp(178px, calc(35.56vw + 39.32px), 722px);
    height: clamp(178px, calc(35.56vw + 39.32px), 722px);
    opacity: 0.06;
}

.main_lawyer{
    position: absolute;
    right: 0;
    bottom: 0;
    width: 55%;
    max-width: 850px;
}
.main_lawyer-img img{
    height: auto;
    width: 100%;
    display: block;
    position: relative;
    z-index: 2;  
}
.main_lawyer-name{
    background: linear-gradient(to left, var(--color-gradient), transparent);
    position: absolute;
    bottom: 18%;
    left: 0;
    width: 32%;
}
.main_lawyer-name p{
    display: inline-block;
    padding: max(0.8rem, min(calc(1.26vw + 0.49rem), 2rem));
    font-size: clamp(1.4rem, calc(0.63vw + 1.15rem), 2rem);
    text-align: right;
}
.main_lawyer-name .strong-txt{
    display: block;
    font-size: clamp(1.6rem, calc(1.67vw + 0.95rem), 3.2rem);
    margin-top: 0.8rem;
}

.only-m{display: none;}

@media (max-width: 75rem){ /* 1200px */
    .main-re > .inner {
        padding-top: 25rem;
    }
}

@media (max-width: 56.25rem){ /* 900 */
    .only-m{display: block;}
    .main-re > .inner {
        padding: 20rem 2rem 0;
    }
    .main_quote{
        text-align: center;
    }
    .main_content{
        padding-top: 12rem;
    }
    .main_lawyer{
        width: 60%;
    }
    .main_list{
        width: 50%;
        display: flex;
        flex-direction: column;
    }
    .main_strong-txt{
        text-align: left;
        padding-left: 1rem;
    }
    .main_badge{
        padding-left: 1rem;
        gap: 1.4rem;
    }    
    .main_lawyer-name{
        bottom: 2.4vw;
        width: 80%;
        left: -20vw;
    }    
    .main_lawyer-name .strong-txt{
        display: inline-block;
        padding-left: 1rem;
        margin-top: 0;
    }    
}
@media (max-width: 768px) { 
    .main-re > .inner {
        padding: 12rem 1rem 0 2rem;
    }

    .main_quote{
        padding-top: 2rem;
        margin-bottom: 10rem;
    }
    .main_quote img{
        width: 78%;
    }
    .main_lawyer{
        width: 66%;
    }
    .main_strong-txt{
        margin-bottom: 2rem;
    }
    .main_list{
        width: 50%;
    }        
    .main-re:after{
        right: -6rem;
    }       
    .main_lawyer-name{bottom: 5vw;}
}    

@media (max-width: 640px) { 
    .main_quote{
        margin-bottom:0;
    }
}


/* ───────────────────────────────────────────
        lawyer
    _______________________________________________ */
.lawyer{
    padding: 10rem 0 16rem;
    background-color: #000;
    color: var(--color-white);
}
.lawyer > .inner{
    max-width: 128rem;
    min-width: 36rem;
    width: 100%;
    margin: 0 auto;
    position: relative;  
}
.lawyer_tit{
    font-size: 3rem;
    line-height: 1.5;
    margin-bottom: 12rem;
    text-align: center;    
}

.lawyer_tit p:nth-of-type(1){
    font-weight: 400;
}
.lawyer_tit h2{
    font-weight: 700;
    font-size: 4rem;
}
.lawyer_tit p:nth-of-child(2){
    font-weight: 300;
}


/* ───────────────────────────────────────────*/
.lawyer_profile{
    background: linear-gradient(0deg, rgba(var(--color-gradient-rgb), 1) 0%, rgba(var(--color-gradient-rgb), 0.5) 60%, rgba(var(--color-gradient-rgb), 0) 100%);
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 10rem 0 5rem;
    display: grid;
    grid-template-columns: 480px 1fr;
    grid-template-rows: auto auto;
    grid-template-areas: "photo lawyer_info" "photo certs";
    align-items: end;
    column-gap: 5rem;
    border-radius: 2.6rem;
}

.lawyer_photo {
    grid-area: photo;
    position: relative;
    align-self: end;
}

.lawyer_info {
    grid-area: lawyer_info;
}

.lawyer_info ul {
    display: flex;
    flex-direction: column;
    margin-top: 3rem;
}

.lawyer_info li {
    font-size: clamp(1.4rem, calc(0.63vw + 1.15rem), 2rem);
    line-height: 1.45;
    color: var(--color-white);
    font-weight: 200;
    padding-left: 0;
    position: relative;
}
.txt-line{
    display: block;
}
.lawyer_certs-img {
    grid-area: certs;
    margin: 2.6rem 0 3.6rem 0;
    max-width: 600px;
}

.main_badge-ico{
    width: clamp(41px, calc(4.84vw + 22.12px), 115px);
    height: clamp(39px, calc(4.77vw + 20.39px), 112px);
}
.footer_txt_wrap{
    line-height: 1.4;
}

/* ───────────MEDIA QUERY LAYOUT ────────────────*/
@media (max-width: 75rem){ /* 1200px */
    .lawyer > .inner {
        padding: 0 !important;
    }
}

@media (max-width: 56.25rem){ /* 900 */
    .lawyer{padding: 7rem 0 11rem;}
    .lawyer_profile {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        grid-template-areas: "certs" "photo" "lawyer_info";
        padding: 0;
        column-gap: 0;
        row-gap: 0;
    }

    .lawyer_tit{
        margin-bottom: 7rem;
    }

    .lawyer_certs-img {
        grid-area: certs;
        margin: 0 auto 2.8rem;
        padding: 2.4rem 2rem;
    }
    .lawyer_photo {
        width: 80%;
        margin: 0 auto 2.8rem;
        padding: 0 2rem;
    }
    .lawyer_info {
        padding: 0 0 4rem;
        position: relative;
    }
    .lawyer_info:before{
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        background: linear-gradient(0deg, rgba(var(--color-gradient-rgb), 1) 0%, rgba(var(--color-gradient-rgb), 0.7) 72%, rgba(var(--color-gradient-rgb), 0.6) 88%,rgba(var(--color-gradient-rgb), 0) 100%);
        width: 100%;
        height: 32vh;
    }
    .txt-line{
        display: inline-block;
        position: relative;
        margin-left: 1.2rem;
        padding-left: 1.2rem;
    }
    .txt-line:before{
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        width: 1px;
        height: 10px;
        background: var(--color-white);
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%,-50%);
        -ms-transform: translate(-50%,-50%);
        -o-transform: translate(-50%,-50%);
        transform: translate(-50%, -50%);
    }
    .lawyer_info ul{
        max-width: 480px;
        margin: 0 auto;
    }
    .lawyer_info li {
        text-align: left;
    }
}
@media (max-width: 37.5rem) { /* 600 */ 
    .lawyer_info ul{
        max-width: 400px;
        padding: 0 2rem;
    }   
    .lawyer_tit p {
        font-size: 2.4rem;
    }     
    .lawyer_tit h2 {
        font-weight: 700;
        font-size: 3.6rem;
        letter-spacing: -.1rem;
    }
    .lawyer_info {
        padding: 0 0 2rem;
    }          
}

@media (max-width: 480px) {
    .lawyer_info:before{
        height: 26vh;
    }
}