@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-family: 'Noto Serif KR', sans-serif !important;
		font-weight: 600;
	}

	.small {
		font-size: 0.8rem !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;
	}

	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;
	}


	.posts h3 {
		    font-size: 1.15rem;
		    font-weight: 700;
		    letter-spacing: 0.075em;
		    word-spacing: 0.1em;
		    line-height: 180%;
		    margin-bottom: 1rem !important;
	}
		@media (max-width: 768px) { /* 모바일 화면 크기에 맞춰 조정 */
		.posts h3 {
			font-size: 1rem;
		}
	}

	.posts p {
		    font-size: 0.9rem;
		    font-weight: 400;
		    letter-spacing: 0.075em;
		    word-spacing: 0.1em;
		    line-height: 180%;
		    margin-bottom: 2rem !important;
	}
		@media (max-width: 768px) { /* 모바일 화면 크기에 맞춰 조정 */
		.posts p {
			font-size: 0.9rem;
		}
	}

	blockquote p {
		    color: #878E94;
		    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: 400;
		    letter-spacing: 0.075em;
		    word-spacing: 0.1em;
		    line-height: 200%;
		    margin: 0 0 0.3em 0;
	}

/*--------------------------------------------------------------
# Scroll top button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: #B9D0EB;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.scroll-top:hover {
  background: #ffc732;
  color: #fff;
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

.align-items-center {
    align-items: center !important;
}
.justify-content-center {
    justify-content: center !important;
}
.d-flex {
    display: flex !important;
}

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

/* 목차 컨테이너 스타일 */
.toc-container {
    width: 100%;
    /*max-width: 800px;*/
    margin: 3em auto;
    text-align: left;
    background-color: #fff;
    border: 0.3em solid #2E2C2A;
    padding: 1em;
}

/* 목차 제목 스타일 */
.toc-title {
    color: #3d4449;
    font-size: 3rem;
    font-family: "Taviraj", serif !important;
    font-weight: 800;
    text-transform: capitalize;
    padding-bottom: 0.3em;
    border-bottom: 4px solid #3d4449;
    display: inline-block;
    margin-left: 0.3em;
    margin-top: 0.5em;
    margin-bottom: 1.5em;
}

/* 목차 리스트 스타일 */
.toc-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-content: flex-start; /* 여러 줄일 때 위쪽 정렬 */
}

/* 목차 아이템 스타일 */
.toc-item {
    width: calc((100% - 30px) / 3); /* 3개씩 배치 */
    min-width: 250px; /* 최소 크기 설정 */
}
/* 번호 스타일 */
.toc-item strong {
    color: #ddd;
    font-size: 3rem;
    font-family: "Taviraj", serif !important;
    font-weight: 800;
    display: inline-block;
    margin-right: 0.3em;
}

/* 목차 링크 스타일 */
.toc-item a {
    font-size: 1em;
    font-weight: 800;
    text-decoration: none;
    color: #2E2C2A;
    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;
}

/* 서브 리스트 스타일 */
.sub-list {
    list-style: inside;
    color: #2E2C2A;
    padding-left: 5em;
    margin-top: 1em;
}

.sub-list li {
    font-size: 1rem;
    line-height: 1.6;
}

.sub-list li a {
    color: #4F5253;
    font-size: 0.9em;
    font-weight: 500;
    line-height: 200%;
    text-decoration: none;
}

.sub-list li a:hover {
    color: #64C7BA;
    text-decoration: none;
}
@media (max-width: 768px) {
    .toc-list {
        flex-direction: column;
        align-items: center;
    }

    .toc-item {
        width: 100%; /* 모바일에서는 한 줄에 하나씩 */
    }

    .toc-item strong {
        font-size: 28px;
    }

    .toc-item a {
        font-size: 16px;
    }

    .sub-list li {
        font-size: 14px;
    }
}


/* Tab menu */
.tab-container {
    /* margin: 20px; */
    /* border: 1px solid #ccc; */
    border-radius: 5px;
}

.tabs {
    display: flex;
}
@media (max-width: 768px) {
    .tabs {
           display: block;
    }
}

.tab-button {
    flex: 1;
    padding: 0;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 0 0.2rem 0.5rem 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: 500;
    font-size: 15px;
}
@media (max-width: 768px) {
    .tab-button {
           width: 100%;
           display: block;
    }
}

.tab-button:hover {
    background-color: #F3F6FA;
    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: 500;
    font-size: 15px;
}

.tab-button.active {
    color: #fff !important;
    background-color: #C2D7EF;
    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: 500;
    font-size: 15px;
}

.tab-content {
    padding: 0;
    border-top: 0px solid #fff;
}

















/* 이혼 절차 표 관련 CSS */
        .subtitle {
            text-align: center;
            color: #718096;
            font-size: 1.1rem;
            margin-bottom: 60px;
        }

        .process-flow {
            display: flex;
            flex-direction: column;
            gap: 40px;
        }

        .process-step {
            display: flex;
            align-items: center;
            gap: 30px;
            animation: fadeInUp 0.6s ease forwards;
            opacity: 0;
        }

        .process-step:nth-child(1) { animation-delay: 0.1s; }
        .process-step:nth-child(2) { animation-delay: 0.2s; }
        .process-step:nth-child(3) { animation-delay: 0.3s; }
        .process-step:nth-child(4) { animation-delay: 0.4s; }
        .process-step:nth-child(5) { animation-delay: 0.5s; }
        .process-step:nth-child(6) { animation-delay: 0.6s; }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .step-number {
            flex-shrink: 0;
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            font-weight: 700;
            color: #B9D0EB;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            position: relative;
            z-index: 2;
            transition: all 0.3s ease;
        }

        .step-number:hover {
            transform: scale(1.1);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
        }

        .step-content {
            flex: 1;
            background: white;
            padding: 30px;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            position: relative;
            transition: all 0.3s ease;
        }

        .step-content:hover {
            transform: translateX(10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
        }

        .step-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: #2d3748;
            margin-bottom: 12px;
        }

        .step-description {
            color: #718096;
            line-height: 1.7;
            font-size: 1rem;
        }

        .arrow-container {
            display: flex;
            justify-content: center;
            margin: -20px 0;
            position: relative;
            z-index: 1;
        }

        .arrow {
            width: 3px;
            height: 40px;
            background: linear-gradient(180deg, #cbd5e0 0%, #e2e8f0 100%);
            position: relative;
        }

        .arrow::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-top: 12px solid #cbd5e0;
        }

        @media (max-width: 768px) {
            h1 {
                font-size: 2em;
            }

            .process-step {
                flex-direction: column;
                gap: 20px;
            }

            .step-number {
                width: 60px;
                height: 60px;
                font-size: 1.5rem;
            }

            .step-content {
                padding: 20px;
            }

            .step-title {
                font-size: 1.2rem;
            }

            .arrow {
                height: 30px;
            }
        }