@charset "utf-8";



/* ************* */

@import url("reset.css");
@import url("font_NotoSans.css");
@import url("font_NotoSerif.css");


/* **** reset style **** */
ol, ul, li {
	list-style: none;
    padding: 0;
    margin: 0;    
}

input {
    vertical-align: middle;
}

button {
    border: 0;
    background: transparent;
    outline: 0;
    cursor: pointer;
    font-family: inherit;
}

a {
    color: inherit;
    text-decoration: none;
    background: transparent;
    font-family: inherit;
}

img {
    border: 0;
    max-width: 100%;
    vertical-align: top;
    backface-visibility: hidden; 
    image-rendering: -webkit-optimize-contrast; 
}

:root {
    --main_color: #921E4A;
    --sub_color: #911c64;
    --sub_color2: #c00579;

    --primary_blue: #0077BF; 
    --secondary_blue: #0065a3;

    --primary_red:#c32424;

    --light_gray: #f9f9f9;
    --light_gray2: #dcdcdc;
    --light_gray3: #a0a0a0;    
    --light_m_color: #f7f8ff;
    --light_m_color2: #d0d0d0;    

    --main_txt: #131313;
    --wt_txt: #ffffff;

    --main_bg:#921E4A;

    --main_font_bold: 500;
    --main_font_light: 300;
    
    --highlight: rgba(246, 113, 180, 0.3);

    --mo_gnb_bg: #0c081b;
}

*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    width: 100%;
    height: 100%;
    min-width: 360px;
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
}
html {
    font-size: 62.5%; /* 1rem = 10px */
}

body {
    width: 100%;
    min-height: 100%;
    font-size: 1.6rem;
    line-height: 1.4;    
    color: #131313;
    overflow-x: hidden;
    -webkit-text-size-adjust: none;
    padding: 0;
    margin: 0;    
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 400;
}


/* a:link { text-decoration: none; color: inherit; }
a:visited { text-decoration: none; color: inherit; }
a:hover { text-decoration: none; color: var(--main_color); }
a:active { text-decoration: none; color: var(--main_color); } */

.inner {
    max-width: 120rem;
    min-width: 36rem;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.only-m{
    display: none;
}

/* ****** main ****** */
.header_wrap {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    transition: background-color .3s;
}
.header_wrap header {
    height: 12rem;
}

.logo {
    width: 17.2rem;
    position: absolute;
    top: 4rem;
    z-index: 9;
}


/* main_navi */
.gnb {
    position: absolute;
    top: 5rem; 
    right: 0;
    z-index: 105;
    letter-spacing: -0.05rem;
}

.gnb_1depth {
    display: flex;
    text-align: center;
}

.gnb_1depth > ul {
    display: flex;
}

.gnb_1depth a {
    color: #fff;
    font-weight: 500;
}

.gnb_1depth > li > a {
    border-bottom: 1px solid rgba(255,255,255,0);
    font-size: 2rem;
    display: block;
    padding: 1rem 3.5rem;
}

.gnb_1depth > li:hover > a {
    border-bottom: 1px solid rgba(255,255,255,.5);
}

.gnb_2depth {
    display: none;
}

.gnb_2depth a {
    display: block;
    padding: 1.6rem 0;
    font-size: 1.6rem;
    font-weight: 300;
    transition: all .3s;
}

.gnb_2depth a:hover {
    background-color: rgba(0,0,0,.8);
}

.gnb_bg {    
    position: absolute;
    top: 10rem;
    left: 0;
    width: 100%;
    height: 30rem;
    background-color: rgba(0,0,0,.3);
    backdrop-filter: blur(1rem);
    display: none;
    z-index: 8;
}

/* mo_gnb */
.menu_btn { 
	position:absolute; 
    top:5.4rem; 
    right:5%;
    z-index: 106;
	width:3rem; 
    height:3rem;	
	cursor:pointer;
    display: none;
}
.menu_btn span { 
	position:absolute;
	width:100%; height:3px;
	background: #fff;
	transition:.3s;
}
.menu_btn span:nth-child(1) {  
	top:0; left:0;
}
.menu_btn span:nth-child(2) { 
	top:50%; 
    transform: translateY(-50%);
}
.menu_btn span:nth-child(3) { 
	bottom:0; 
}
.menu_btn.on span:nth-child(1) { 
	top:1.5rem; left:-2px;
	width:120%;
	transform:rotate(45deg);
}
.menu_btn.on span:nth-child(2) { 
	opacity:0; 
}
.menu_btn.on span:nth-child(3) { 
	bottom:1.2rem; left:-2px;
	width:120%;
	transform:rotate(-45deg);
}

.menu_btn.on {
    position: fixed;
}

/* mo_gnb style */
.gnb.on {
    top: -100vh;
    background-color: var(--mo_gnb_bg);
    width: 100%;
    height: 100vh;
    padding: 10rem 0;
}

.gnb.on .gnb_1depth {
    display: block;
    text-align: left;
}


.fixed {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 900;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 선택적으로 그림자 추가 */
    background-color: var(--main_bg);
  }


/* 상담신청 */
.help {
    display: none;
    position: fixed;
    top: 1rem; 
    right: 2rem;
    color: var(--wt_txt);
    white-space: nowrap;
    z-index: 999;
    font-size: 1.4rem;
    line-height: 1.3;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
    background-color: var(--sub_color2);
    /* width: 16rem; */
    border-radius: 2rem;
    background-image: url(../images/ico_arrow.png);
    background-repeat: no-repeat;
    /* background-position: calc(100% - 1rem) center; */
    width: 11rem;
    background-position: calc(100% - 1rem) calc(100% - 1.3rem);
    background-size: 1rem 1rem;
}

.help a {
    display: block;
    width: 100%; height: 100%;
    padding: 1rem;
    text-indent: .5rem;
}

.help a:hover {
    color: var(--wt_txt);
}
.help a p {
    font-weight: var(--main_font_light);
}

.help a h3 {
    width: 100%;
    font-weight: var(--main_font_bold);
}



/* ****** sub ****** */
.sub_hero {
    height: 38rem;
    background-color: #000;background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sub_hero {
    animation-name: s_hero;
    animation-duration: 25s;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
}

@keyframes s_hero {
    0% { background-size: 100%; }
    100% { background-size: 120%; }
}

.sub_hero.bg01 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/sub1_hero.jpg");
}
.sub_hero.bg02 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/sub2_hero.jpg");
    background-position: center, center -30rem;
}
.sub_hero.bg03 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/sub3_hero.jpg");
}
.sub_hero.divorce_bg04 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/sub4_hero.jpg");
    background-position: center, center -40rem;
}
.sub_hero.bg05 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/sub5_hero.jpg");
}
.sub_hero.bg06 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/sub6_hero.jpg");
}

.sub_hero.bg07 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/sub7_hero.jpg");
}

.sub_hero.bg08 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/sub8_hero.jpg");
}


.sub_hero .sub_title {
    font-size: 4rem;
    text-align: center;
    height: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sub_hero .sub_title p {
    font-size: 1.2rem;
    color: var(--light_gray3);
    letter-spacing: 1rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.sub_cate {
    border-bottom: 1px solid #E8E8E8;
    height: 6rem;
    margin-bottom: 4rem;
}

.sub_cate ul {
    display: flex;
    justify-content: center;
}

.sub_cate ul li {
    width: 20rem;
    height: 6rem;
    text-align: center;
    line-height: 6rem;
    font-size: 2rem;
}

.sub_cate ul li a:hover, .sub_cate a.active {
    color: var(--main_color);
    border-bottom: 3px solid var(--main_color);
    padding-bottom: 1.2rem;
}
.sub_cate ul li.color-red a:hover, .sub_cate ul li.color-red a.active {
    color: var(--primary_red) !important;
    border-bottom: 3px solid var(--primary_red) !important;
}
.sub_cate ul li.color-blue a:hover, .sub_cate ul li.color-blue a.active {
    color: var(--primary_blue) !important;
    border-bottom: 3px solid var(--primary_blue) !important;
}


/* ****** footer ****** */
footer.sub {
    margin-top: 10rem;
}

footer.sub.main {
    margin-top: 0;
}

footer {
    background-color: #2E2F33;
    color: #fff;
    line-height: 1.6;
}

.footer_wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5rem 0;
}

.footer_logo {
    width: 17rem;
}

.footer_menu, .footer_txt, .footer_txt2, .footer_tel {
    display: flex;
}

.footer_menu {
    margin-bottom: 2rem;
}

.footer_menu li, 
.footer_txt li, 
.footer_txt2 li,
.footer_tel li {
    margin-right: 2rem;
}

.footer_menu li:last-child, 
.footer_txt li:last-child, 
.footer_txt2 li:last-child,
.footer_tel li:last-child {
    margin-right: 0;
}

.footer_tel {
    margin-bottom: 2rem;
}

.footer_site {
    width: 20rem;
    border: 1px solid #131313;
    box-sizing: border-box;
    border-radius: 1rem;
    padding: 1rem;
    background-color: rgba(0,0,0,.5);
    color: #f9f9f9;
}

.footer_site:focus, .footer_site:hover {
    border: 1px solid #293EEF;
    border-radius: 10px;
}

.footer_site option {
    background-color: #fff;
    color: #131313;
}

.footer_site option:active {
    border: 1px solid #293EEF;
}
.f_site_area .f_sns {
    display: flex;
    justify-content: space-around;
    padding: 2rem 0;
}

.f_site_area .f_sns img {
    width: 3rem; height: 3rem;
}
.foot_fix{
    display: none;
}
.foot_fix {
    position: fixed;
    left: 0;
    bottom: 0;
    grid-template-columns: 1fr 1fr 1.5fr;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    background-color: var(--main_bg);
    color: #fff;
    z-index: 100;
    border-top: 1px solid rgba(255,255,255,0.2);

}
.foot_fix a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 6rem;
    gap: 0.5rem;
    color: var(--wt_txt);
}
.foot_fix a .txt{
    font-size: 1.6rem;
}
.foot_fix a+a{
    border-left: 1px solid rgba(255,255,255,0.2);
}


/* 퀵메뉴-pc */
.quick_wrap.show{
    transform: unset;
    opacity: 1;
}
.quick_wrap{
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-50px);
    transition: opacity 0.7s, transform 0.7s;    
}
.quick_menu{
    position: relative;
    width: 8.5rem;
    height: 26rem;
    padding: 4rem 0;
    border-radius: 5em;
    background-color: #282828;
    border: 1px solid rgba(255,255,255,0.25);
    transition: height 0.5s;    
}
.quick_menu .quick_menu-list:first-of-type{
    padding-top:0;
}
.quick_menu .quick_menu-list:last-of-type{
    padding-bottom:0;
}
.quick_menu .quick_menu-list{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 1.6rem 0;
    transition: opacity 0.5s;
    transition-delay: -0.2s;
    cursor: pointer;
}
.quick_menu .quick_menu-list .ico{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    fill: rgba(255, 255, 255, 0.3);
    transition: fill 0.5s;
}
.quick_menu a:hover .ico{
    fill:#fff;
}

.quick_menu .quick_menu-list .txt{
    margin-top: 1.2rem;
    font-size: 1.2rem;
    color: var(--wt_txt);
}
.quick_contact{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 8.5rem;
    height: 8.5rem;
    margin-top: 1.5rem;
    border-radius: 100%;
    background-color: var(--main_color);
    color: var(--wt_txt);
    border: 1px solid rgba(255,255,255,0.25);
}
.quick_contact:hover{
    background-color: var(--sub_color);
}
.quick_contact .contact{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.quick_contact .contact span:nth-of-type(1){
    font-size: 1.1rem;
}
.quick_contact .contact span:nth-of-type(2){
    font-size: 1.4rem;
}


/* 딤 처리 스타일 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: none;
}

/* 레이어 팝업 스타일 */
.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    z-index: 10000;
    max-width: 80%;
    max-height: 80vh;
    height: auto;
    overflow: auto;
    pointer-events: auto; /* 클릭 가능한 상태로 설정 */
}

.popup img {
    display: block;
    /* height: 100%; */
    width: 100%;
}

/* 닫기 버튼 스타일 */
.close {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.sub_tit_area {
    border-bottom: 4px solid var(--light_gray);
    padding-bottom: 3rem;
    margin-bottom: 5rem;
}

.sub_tit_area .s_tit {
    display: flex;
    align-items: flex-end;
}

.sub_tit_area .s_tit h2 {
    font-size: 6rem;
    font-weight: var(--main_font_bold);
    margin-right: 3rem;
    color: var(--sub_color);
}




.sub_tit_area .s_location {
    font-size: 1.4rem;
    font-weight: var(--main_font_light);
    display: flex;
    align-items: center;
    margin-bottom: 5rem;
}

.sub_tit_area .s_location span {
    font-weight: var(--main_font_bold);
}


/* 스크롤top */
a.sc_top {
    position: fixed;
    right: 7rem; bottom: 1rem;
    display: block;
    display: none;
    z-index: 10;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
    background: url("../images/btn_top.png") no-repeat center;
    background-size: cover;
    width: 3rem; height: 3rem;
    font-size: 0;
    filter: grayscale(1);
}






ul {padding-inline-start:0;}
/* img {vertical-align:middle;} */
fieldset {border:1px solid #ccc;}
.center {text-align:center;}

/*메인페이지*/
/* #wrap {height:100%;} */
#header {height:100px;text-align:center;}
#header ul li {display:inline-block;margin:0 20px;height:100px;line-height:100px;}



/* sub_common */
.br {
    display: block;
}

.p_mg_top {
    margin-top:2rem;
    display: block;
}

.p_mg_bottom {
    margin-bottom:2rem;
    display: block;
}


/* res */

@media (max-width: 75rem){ /* 1200px */
    /* html { font-size: 62.5%; } */
    .inner {
        padding: 0 2.5rem;
    }
    .footer {
        height: 50rem;
    }
    .footer_wrap {
        flex-direction: column;
        padding: 5rem 0;
    }
    .footer_logo {
        margin-bottom: 2rem;
    }
    .footer_menu, .footer_txt, .footer_txt2, .footer_tel {
        justify-content: center;
    }
    .footer_copy {
        text-align: center;
        margin-bottom: 2rem;
    }

    .sub_hero.ecrime_bg04 {
        background-position: center;
    }

    .sub_hero.stalk_bg04 {
        background-position: center;
    }

    .sub_hero.divorce_bg04 {
        background-position: center;
    }

    .sub_tit_area .s_tit {
        flex-wrap: wrap;
    }

    .sub_tit_area .s_tit h2 {
        width: 100%;
        margin-right: 0;
    }

    .sub_tit_area .s_tit p {
        /* margin-top: 2rem; */
        line-height: 1.3;
    }

    
    .sub_cate ul li a {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
        height: 100%;
        line-height: 1.2;
    }

    .sub_cate ul li a:hover, 
    .sub_cate a.active {
        padding: 0;
    }

    .gnb_1depth > li > a {
        padding: 1rem 2.2rem;
        font-size: 1.9rem;
        letter-spacing: -.1rem;
    }

    
}

@media (max-width: 56.25rem){ /* 900 */
    /* html { font-size: 56.25%; } */

    .header_wrap header {
        height: 8rem;
    }

    .logo { 
        top: 2rem;
        left: 8rem;
        width: 15rem;
    }

    .menu_btn {
        top: 2.4rem;
        left: 3rem;
        right: auto;
    }

    .sub_hero.bg02 {
        background-position: center, center;
    }
    
    .gnb.on .help {
        display: block;
    }


    .gnb, .gnb.on {
        top: -100vh;
        position: fixed;
        width: 100%;
        height: 100vh;
        overflow: auto;
    }
    .gnb.on {
        padding-bottom: 5rem;
    }
    .gnb.on .gnb_1depth {
        width: 100%;
    }

    .gnb_1depth > li:hover > a {
        border-bottom: 1px solid rgba(255,255,255,0);
    }
    .gnb_2depth {
        background-color: rgba(0,0,0,.2);
        display: block;
    }

    .gnb.on .gnb_2depth {
        text-indent: 5rem;
        border-top: 1px solid rgba(255,255,255,.1);
        border-bottom: 1px solid rgba(255,255,255,.1);
    }
    .menu_btn {
        display: block;
    }

    a.sc_top {
        left: auto;
        right: 1rem;
        bottom: 7rem;
    }

    .quick-pc{
        display: none;
    }

    .foot_fix {
        display: grid;
    }

    .footer_wrap {
        padding: 5rem 0 8rem;
    }

    .sub_cate {
        margin-bottom: 2rem;
    }

    .sub_tit_area .s_location {
        display: none;
    }

    .sub_tit_area .s_tit h2 {
        display: none;
    }

    .sub_tit_area .s_tit p {
        font-size: 2rem;
        color: var(--sub_color);
        font-weight: var(--main_font_bold);
        letter-spacing: -0.05rem;
    }
    
    .sub_tit_area .s_tit p.txt-red {
        color: var(--primary_red);
    }    
    .sub_tit_area .s_tit p.txt-blue {
        color: var(--primary_blue);
    }

    .sub_tit_area {
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }

    
    .sub_cate.sm {
        letter-spacing: -.2rem;
    }

    .popup {
        width: 95vh;
    }

}

@media (max-width: 37.5rem) { /* 600 */
    .only-m{
        display: block;
    }
    .only-pc{
        display: none;
    }
    /* html { font-size: 56.25%; } */
    .gnb_1depth > li > a {
        font-size: 2.2rem;
    }

    .gnb_2depth a {
        font-size: 1.9rem;
    }
    .gnb_2depth a::before {
        content: "- ";
    }

    footer {
        font-size: 1.4rem;
    }
    .footer_txt {
        flex-wrap: wrap;
    }
    .footer_txt li:first-child {
        width: 100%;
        margin-right: 0;
        text-align: center;
    }
    .footer_txt2 {
        flex-direction: column;
        align-items: center;
    }

    .sub_hero {
        animation-name: s_m_hero;
        width: 100%; height: 25rem;
    }
    
    .sub_hero .sub_title {
        font-size: 3rem;
        padding-bottom: 2rem;
    }
    
    .sub_hero .sub_title p {
        letter-spacing: .7rem;
        margin-bottom: 1rem;
    }

    .sub_cate ul li {
        width: auto;
        padding: 0 .6rem;
        line-height: 1;
    }

    .sub_cate ul li a {
        padding-bottom: .1rem;
        font-size: 1.72rem;
        letter-spacing: -.1rem;
    }

    .sub_cate ul li a:hover, .sub_cate a.active{
        padding-top: 2px;
        padding-bottom: 0;
    }





}
@keyframes s_m_hero {
    0% { background-size: 120%; }
    100% { background-size: 200%; }
}




/* ************* */











