@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Taviraj:300,400,700,300i,400i,700i");
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic,700,900");
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.8/dist/web/static/pretendard.css");

	html {
		box-sizing: border-box;
		scroll-behavior: smooth;
	}

	img {
		height: auto;
		max-width: 100%;
		border-radius: 0.365em;
	}

	::selection {
		background-color: #FFD800; /* 선택된 텍스트의 배경 색을 노란색으로 설정 */
		color: #000; /* 선택된 텍스트의 글자 색을 검정색으로 설정 (선택적) */
	}

	.both {
		clear: both;
	}
	b, strong {
	  font-weight: 600;
	}

	.small {
		font-size: 0.8rem !important;
	}


	p {
		    color: #606060;
		    font-size: 1.15rem;
		    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;
		    letter-spacing: 0.075em;
		    word-spacing: 0.1em;
		    line-height: 200%;
		    margin-bottom: 2rem !important;
	}
		@media (max-width: 768px) { /* 모바일 화면 크기에 맞춰 조정 */
		p {
			font-size: 1.10rem;
		}
	}
	hr {
		clear: both;
		margin: 3rem 0;
		color: inherit;
		background-color: #303030;
		opacity: .25;
	}
	hr .major {
		margin: 1rem 0;
		color: inherit;
		background-color: currentColor;
		opacity: .25;
	}

/* 메인 타이틀 간격 */
	.letter {
		letter-spacing: 0.1em !important;
	}
/* 메인 타이틀 하위 텍스트 */
	.fw-mediums {
		background: linear-gradient(to right, #fff, #9B9B9B);
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
		background-clip: text;
		color: transparent;
		font-weight: 500 !important;
	}

/* 숨김 텍스트 */
	.absolute {
		position: absolute; 
		top: -8000px; 
		left: -8000px;
	}

/* 기본 상태: 모바일에서 숨김 */
.desktop-only {
  display: none !important;
}
/* 데스크탑 이상 (화면 너비 768px 이상)일 때 표시 */
@media screen and (min-width: 768px) {
  .desktop-only {
    display: block !important;
  }
}

/* 기본 상태: 데스크탑에서 숨김 */
.mobile-on {
  display: block !important;
}
/* 데스크탑 이상 (화면 너비 768px 이상)일 때 표시 */
@media screen and (min-width: 768px) {
  .mobile-on {
    display: none !important;
  }
}

/* 감추기 */
.none {
  display: none !important;
}

/* 텍스트 위치 */
	.align-left {
		text-align: left;
	}
	.align-center {
		text-align: center;
	}
	.align-right {
		text-align: right;
	}

	.fl {
		float: left;
	}
	.fr {
		float: right;
	}

/* 폰트 한글 + 영문 */
	.hangle {
		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;
	}
	.hangles {
		font-family: 'Noto Serif KR', sans-serif !important;
	}
	.eng {
		font-family: "Taviraj", serif !important;
	}
	.pr {
		padding-right: 0.2em;
	}

/* Title Fonts */
	.content-area h1, 
	.content-area h2, 
	.content-area h3, 
	.content-area h4, 
	.content-area h5, 
	.content-area h6 {
		color: #353535;
		font-family: 'Noto Serif KR', sans-serif;
		font-weight: 900;
		line-height: 180%;
}
	.content-area h1 {
		font-size: 1.75rem;
}
	.content-area h2 {
		font-size: 1.55rem;
}
	.content-area h3 {
		font-size: 1.35rem;
}
	.content-area h4 {
		font-size: 1.25rem;
}
	.content-area h5 {
		font-size: 1.15rem;
}
	.content-area h6 {
		font-size: 1.05rem;
}
@media (max-width: 768px) {
	.content-area h1 {
		font-size: 1.55rem;
	}
	.content-area h2 {
		font-size: 1.35rem;
	}
	.content-area h3 {
		font-size: 1.15rem;
	}
	.content-area h4 {
		font-size: 1.05rem;
	}
	.content-area h5 {
		font-size: 0.95rem;
	}
	.content-area h6 {
		font-size: 0.85rem;
	}
}

	.content-area p.styles {
		color: #303030;
		font-size: 1.75em;
		font-weight: 700;
		border-radius: 0.35em;
		background: #FAFBFB url(/images/overlay.png);
		box-shadow: inset 0px 0px 1px 1px rgba(0, 0, 0, 0.25);
		letter-spacing: 0.075em;
		line-height: 1.75em;
		padding: 1em;
		margin-bottom: 1em;
	}
@media screen and (max-width: 767px) {
	.content-area p.styles {
		font-size: 1.15em;
	}
}


/* Image */
/* 기본 스타일 */
.image {
    border-radius: 3px;
    border: 0;
    display: inline-block;
    position: relative;
}

/* 이미지 짤림 현상 방지 */
.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

.image img {
    border-radius: 3px;
    display: block;
}

.image.left {
    float: left;
    margin: 0 2em 2em 0;
    top: 0.25em;
}

.image.right {
    float: right;
    margin: 0 0 2em 2em;
    top: 0.25em;
}

.image.left, .image.right {
    max-width: 40%;
}

.image.left img, .image.right img {
    width: 100%;
}

.image.fit {
    display: block;
    margin: 0 0 2em 0;
    width: 100%;
}

.image.fit img {
    width: 100%;
}

.image.minus {
    display: block;
    margin: 0 0 0 0;
    width: 100%;
    border-radius: 3px 3px 0 0 !important;
}

.image.minus img {
    width: 100%;
    border-radius: 3px 3px 0 0 !important;
}


		.image.centered {
			display: block;
			margin: 0 0 2em 0;
		}

			.image.centered img {
				margin: 0 auto;
				width: auto;
			}

		.image.featured {
			display: block;
			width: 100%;
			margin: 0 0 3em 0;
		}

/* 모바일 대응 스타일 */
@media (max-width: 768px) {
    .image.left, .image.right {
        /*float: none;*/
        margin: 0 0 2rem 0;
        max-width: 100%;
    }

    .image.left img, .image.right img {
        width: 100%;
    }
}

/*
	blockquote {
		border-left: solid 0.5em #3B5D50;
		padding: 2em 1em 3em 2em;
		font-style: italic;
		font-weight: 500;
		letter-spacing: 0.02em;
		word-spacing: 0.01em;
		text-align: left;
		background-color: #F6F8F9;
	}

	blockquote h4 {
		color:#3B5D50;
		font-size: 1.88rem;
		line-height: 180%;
		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: 900;
		letter-spacing: 0.02em;
		word-spacing: 0.01em;
	}

	@media (max-width: 767px) {
	    blockquote h4 {
	        font-size: 1.5rem;
	    }
	}
*/


/* 모던 테이블 기본 스타일 */
table {
    width: 100% !important;
    border-collapse: separate;
    border-spacing: 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;
    background: white;
    border-radius: 1px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-collapse: collapse; /* separate → collapse */
    margin: 2rem 0;
}

thead {
    background: linear-gradient(135deg, #B7C1D1 0%, #465367 100%);
}

th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

th:first-child {
    border-top-left-radius: 1px;
}
th:last-child {
    border-top-right-radius: 1px;
}

tbody tr {
    border-bottom: 1px solid #e2e8f0;
    transition: background-color 0.2s ease;
}

tbody tr:last-child {
    border-bottom: none;
}

tbody tr:hover {
    background-color: #f7fafc;
}

td {
    padding: 14px 16px;
    color: #4a5568;
}

/* 반응형 */
@media (max-width: 768px) {
    table {
        font-size: 0.9rem;
    }
    
    th, td {
        padding: 10px 12px;
    }
}



/* 페이징 */
/* Pagination */

	.pagination {
		width: 100%;
		text-align: center;
		display: -moz-inline-flex;
		display: -webkit-inline-flex;
		display: -ms-inline-flex;
		display: inline-flex;
		-moz-user-select: none;
		-webkit-user-select: none;
		-ms-user-select: none;
		user-select: none;
		cursor: default;
		list-style: none;
		margin: 0 0 2rem 2px;
		padding: 0;
		justify-content: center;
	}

		.pagination a, .pagination span {
			-moz-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
			-webkit-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
			-ms-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
			transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
			border: solid 2px;
			display: inline-block;
			font-family: "Source Sans Pro", Helvetica, sans-serif;
			font-size: 0.8rem;
			font-weight: 900;
			height: 3rem;
			letter-spacing: 0.075em;
			line-height: calc(3rem - 4px);
			margin-left: -2px;
			min-width: 3rem;
			position: relative;
			text-align: center;
			text-decoration: none;
			text-transform: uppercase;
		}

		.pagination .next, .pagination .previous {
			text-decoration: none;
			padding: 0 1.75rem;
		}

			.pagination .next:before, .pagination .previous:before {
				-moz-osx-font-smoothing: grayscale;
				-webkit-font-smoothing: antialiased;
				display: inline-block;
				font-style: normal;
				font-variant: normal;
				text-rendering: auto;
				line-height: 1;
				text-transform: none !important;
				font-family: 'Font Awesome 5 Free';
				font-weight: 900;
			}

			.pagination .next:before, .pagination .previous:before {
				display: inline-block;
				color: inherit !important;
				line-height: inherit;
			}

		.pagination .previous:before {
			content: '\f104';
			margin-right: 0.9375em;
		}

		.pagination .next:before {
			content: '\f105';
			float: right;
			margin-left: 0.9375em;
		}

		@media screen and (max-width: 980px) {

			.pagination a, .pagination span {
				font-size: 0.9rem;
			}

		}

		@media screen and (max-width: 480px) {

			.pagination .page, .pagination .extra {
				display: none;
			}

		}

	.pagination a, .pagination span {
		border-color: #eee;
	}

	.pagination a {
		color: var(--bs-secondary) !important;
	}

		.pagination a:hover {
			color: var(--color-primary) !important;
			border-color: var(--color-primary);
			z-index: 1;
		}

			.pagination a:hover + a,
			.pagination a:hover + span {
				border-left-color: var(--color-primary);
			}

		.pagination a.active {
			background-color: #eee;
		}

	.pagination span {
		color: #eee;
	}

/* 메인 메뉴 액티브 */
.nav-item.active .nav-link {
    color: #your-active-color !important;
    background-color: #your-active-bg-color;
    /* 기타 active 스타일 */
}

/* 네비게이션 링크 기본 스타일 */
.nav-links {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* 아이콘 기본 스타일 - 흰색 */
.nav-links i {
    color: #fff;
    font-size: 1rem;
    transition: color 0.3s ease;
}

/* 마우스 오버시 검은색으로 변경 */
.nav-links:hover i {
    color: #f9bf29;
}

/* 펜촉 아이콘 (fa-pen-nib) 바운스 애니메이션 */
.fa-pen-nib.fa-bounce {
    animation: bounce 2s infinite;
}

/* 전화 아이콘 (fa-phone-volume) 흔들기 애니메이션 */
.fa-phone-volume.fa-shake {
    animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) infinite;
}

/* 바운스 애니메이션 정의 */
@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -15px, 0);
    }
    70% {
        transform: translate3d(0, -8px, 0);
    }
    90% {
        transform: translate3d(0, -3px, 0);
    }
}

/* 흔들기 애니메이션 정의 */
@keyframes shake {
    10%, 90% {
        transform: translate3d(-1px, 0, 0);
    }
    20%, 80% {
        transform: translate3d(2px, 0, 0);
    }
    30%, 50%, 70% {
        transform: translate3d(-4px, 0, 0);
    }
    40%, 60% {
        transform: translate3d(4px, 0, 0);
    }
}

/* 리스트 아이템 스타일링 (선택사항) */
/*
li {
    list-style: none;
    display: block;
}
*/

/* 반응형 대응 */
@media (max-width: 768px) {
    .nav-links i {
        font-size: 1.4rem;
    }
}

/* (구) 테이블 코드 */
/* Table */
/*
@media screen and (max-width: 736px) {
    #bo_v_con table td {
        display: table-cell !important;
        position: relative;
    }
}
*/

/* 메인 상단 이미지 모바일 사이즈 */
@media screen and (max-width: 767px) {
  .img-fluid {
    max-width: 100%;
    height: auto;
  }
}

/* breadcrumbs 텍스트 높이 */
        .breadcrumbs_text {
            padding-top: 2rem;
        }
        @media (max-width: 768px) {
                .breadcrumbs_text {
                        padding-top: 0.5rem;
            }
        }

/******************************* 무료상담신청 작성폼 관련 *******************************/
/* 상단 라인 */
        .contact_top_line {
            padding: 3rem 0;
            border-top: 1px solid
            color-mix(in srgb, var(--default-color), transparent 90%);
        }

/* 신청 후 모달 팝업 */
        .modal {
            display: none;
            position: fixed;
            z-index: 9999;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            justify-content: center;
            align-items: center;
        }
        .modal.show {
            display: flex;
        }
        .modal-content {
            background-color: white;
            padding: 30px;
            border-radius: 8px;
            text-align: center;
            max-width: 400px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }
        .modal-content h2 {
            color: #28a745;
            margin-bottom: 15px;
        }
        .modal-content p {
            margin-bottom: 20px;
            color: #666;
        }
        .modal-close {
            background-color: #007bff;
            color: white;
            border: none;
            padding: 10px 30px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
        }
        .modal-close:hover {
            background-color: #0056b3;
        }
        .loading, .error-message, .sent-message {
            display: none;
            margin: 15px 0;
        }
        .loading.show {
            display: block;
        }
        .error-message.show {
            display: block;
            color: #dc3545;
            background-color: #f8d7da;
            padding: 10px;
            border-radius: 4px;
        }

/* 이혼 상담 폼 타이틀 */
        .contact h2 { 
            color: var(--contrast-color);
            font-size: 2rem;
            font-weight: 300;
            line-height: 180%;
            letter-spacing: 0.075em;
            word-spacing: 0.1em;
            margin-bottom: 1rem;
        }
        @media (max-width: 768px) {
                .contact h2 {
                        font-size: 1.8rem;
            }
        }
        .contact p {
            color: var(--bs-secondary-bg-subtle);
            font-size: 0.9rem;
        }

/* (구)컨텐츠 페이지 삭제줄 */
        #contents p {
            text-decoration: line-through;
        }
        .category-text {
            font-size: 0.9rem;
            /*font-family: "Nanum Brush Script", cursive;*/
            font-family: Pretendard-Regular, AppleSDGothicNeo-Regular, Malgun Gothic, 맑은 고딕, dotum, 돋움, sans-serif;
            font-weight: 500;
            font-optical-sizing: auto;
            font-style: normal;
            letter-spacing: 0.075em;
            word-spacing: 0.1em;
            margin: 0;
            }

/* 굵은 텍스트 포인트 */
b, strong {
    color: #446376;
    font-weight: 500 !important;
    border-bottom: 0.1rem solid #446376;
}

/* 카드형 박스 리뷰 텍스트 크기 */
.ct-08 {
    font-size: 0.83rem !important;
}
.ct-09 {
    font-size: 0.93rem !important;
}


/* footer box 모바일 용 */
/* 모바일 레이아웃 (768px 이하) */
@media (max-width: 768px) {
  .footer-content .row {
    display: flex;
    flex-wrap: wrap;
  }
  
  /* 첫 번째 박스 - 전체 너비 */
  .footer-content .col-lg-4.col-md-6 {
    width: 100%;
    order: 1;
  }
  
  /* Law Firm - 왼쪽 50% */
  .footer-content .row > div:nth-child(2) {
    width: 50%;
    order: 2;
  }
  
  /* Our Services - 오른쪽 50% */
  .footer-content .row > div:nth-child(3) {
    width: 50%;
    order: 3;
  }
  
  /* Blog - 왼쪽 50% */
  .footer-content .row > div:nth-child(4) {
    width: 50%;
    order: 4;
  }
  
  /* Etc. Categories - 오른쪽 50% */
  .footer-content .row > div:nth-child(5) {
    width: 50%;
    order: 5;
  }
}