@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: 0.98rem;
		}
	}
	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;
}
/* 데스크탑 이상 (화면 너비 768px 이상)일 때 표시 */
@media screen and (min-width: 768px) {
  .desktop-only {
    display: block;
  }
}

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

/* 감추기 */
.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 1em 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;
	}
/* 모바일용 (가로폭 767px 이하) */
	@media (max-width: 767px) {
	    blockquote h4 {
	        font-size: 1.5rem;
	    }
	}

/* Table */
.table-wrapper {
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
}

table {
    margin: 0 0 5rem 0;
    width: 100%;
    table-layout: auto; /* 기본 설정 (셀 내용에 따라 크기 변동) */
}

table tbody tr {
    border: solid 1px #eee;
    border-left: 0;
    border-right: 0;
}

table td {
    width: 75%;
    color: #6B6E70;
    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;
    padding: 1rem;
    letter-spacing: 0.075em;
    word-spacing: 0.1em;
    line-height: 200%;
    /*margin-bottom: 2rem !important;*/
}

table td:first-child {
    min-width: 150px;
    width: 25%;
    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;
    /* text-align: center; */
    vertical-align: middle;
    letter-spacing: 0.075em;
    word-spacing: 0.1em;
}
@media screen and (max-width: 736px) {
    table td:first-child {
        min-width: 100%;
        width: 100%;
        text-align: left;
        vertical-align: baseline;
    }
}

table th {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.075em;
    line-height: 1.5;
    padding: 1rem;
    text-align: center;
    text-transform: uppercase;
}

table thead {
    border-bottom: solid 2px;
}

table tfoot {
    border-top: solid 2px;
}

/* Table row alternate background color */
table tbody tr:nth-child(2n + 1) {
    background-color: rgba(220, 220, 220, 0.1); /* 연한 회색 */
}

table tbody tr:nth-child(2n) {
    background-color: transparent;
}

/* Alternative styling for table */
table.alt tbody tr td {
    border: solid 1px #eee;
    border-left-width: 0;
    border-top-width: 0;
}
@media screen and (max-width: 736px) {
    table.alt tbody tr td {
        border: solid 0px #eee;
        font-size: 0.95rem !important;
    }
}
table.alt tbody tr td:first-child {
    border-left-width: 1px;
    color: #545C5F;
    padding: 0.75rem 0.75rem;
    word-break: break-word;
    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: 600;
    letter-spacing: 0.08em;
    word-spacing: 0.1em;
}
@media screen and (max-width: 736px) {
    table.alt tbody tr td:first-child {
        border-left-width: 0px;
    }
}

/* Responsive adjustments */
@media screen and (max-width: 736px) {
    table {
        font-size: 0.85rem;
        width: 100%;
        table-layout: fixed; /* 고정형 레이아웃 */
    }

    table th, table td {
        font-size: 1rem;
        padding: 1rem;
        text-align: left;
    }

    table td {
        display: block;
        position: relative;
        width: 100%;
    }

    table td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        font-weight: bold;
        text-transform: uppercase;
        padding-left: 0.75rem;
    }

    /* Scrollable wrapper */
    .table-wrapper {
        -webkit-overflow-scrolling: touch;
        overflow-x: auto;
    }
}

/* 페이징 */
/* 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: #999;
	}

	.pagination a {
		color: #212931 !important;
	}

		.pagination a:hover {
			color: #6086A6 !important;
			border-color: #6086A6;
			z-index: 1;
		}

			.pagination a:hover + a,
			.pagination a:hover + span {
				border-left-color: #6086A6;
			}

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

	.pagination span {
		color: #999;
	}

/* 메인 메뉴 액티브 */
.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;
    /*margin: 0 10px;*/
}

/* 반응형 대응 */
@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;
            }

/* 굵은 텍스트 포인트 */
.content-area b, strong {
    color: #29A0B9;
    font-weight: 500;
    border-bottom: 0.2rem solid #29A0B9;
}

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