@charset "UTF-8";

	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;
		background: linear-gradient(transparent 50%, #EDF3FA 50%);
	}

	.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-family: 'Noto Serif KR', sans-serif;
		    font-weight: 400;
		    letter-spacing: 0.075em;
		    word-spacing: 0.1em;
		    line-height: 200%;
		    margin: 0 0 0.3em 0;
	}

/*--------------------------------------------------------------
# Text Color
--------------------------------------------------------------*/

	.fcsix {
		color: #fff !important;
	}

a.stress {
    color: #d32f2f;
    text-decoration: none;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

a.stress:hover {
    color: #b71c1c;
    text-decoration: none;
}

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


/* 재산분할 계산기 */

/* .psc-wrap{ margin:28px 0; padding:24px; border:1px solid #e2e2e2; border-radius:12px; background:#fafafa; } 테두리 박스 */

.psc-wrap h3 {
    margin-top: 0;
}

.psc-eyebrow {
    display: inline-block;
    margin-left: 8px;
    font-size: .8rem;
    color: #888;
    font-weight: 400;
}

.psc-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    margin-top: 16px;
}

.psc-card,
.psc-result-card {
    padding: 20px;
    background: #F8F9F9;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
}

.psc-column-title {
    font-family: 'Noto Serif KR', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #3F4A4D;
    margin-bottom: 10px;
}

.psc-field {
    margin-bottom: 16px;
}

.psc-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    color: #333;
    font-size: .9rem;
    font-weight: 600;
}

.psc-label .val {
    color: #0d6efd;
    font-weight: 700;
}

.psc-hint {
    margin-top: 4px;
    color: #999;
    font-size: .78rem;
}

.psc-divider {
    margin: 16px 0;
    border: 0;
    border-top: 1px solid #eee;
}

.psc-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
    margin-bottom: 1rem;
}

.psc-chip {
    padding: 0.1rem 0.8rem;
    color: #555;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 999px;
    font-size: .78rem;
    cursor: pointer;
}

.psc-chip:hover {
    color: #0d6efd;
    border-color: #0d6efd;
}

.psc-result-label {
    margin-bottom: 6px;
    color: #888;
    font-size: .85rem;
}

.psc-result-amount {
    color: #111;
    font-size: 1.9rem;
    font-weight: 800;
}

.psc-result-amount .unit {
    margin-left: 2px;
    font-size: 1rem;
    font-weight: 500;
}

.psc-result-note {
    margin-top: 4px;
    margin-bottom: 4px;
    color: #666;
    font-size: .85rem;
}

.psc-breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px dashed #eee;
    font-size: .88rem;
}

.psc-breakdown-item:last-child {
    border-bottom: 0;
}

.psc-disclaimer {
    margin-top: 14px;
    color: #999;
    font-size: 0.9rem;
    line-height: 1.8;
}

input[type="range"] {
    width: 100%;
    background-color: #d6dcdd;
    accent-color: #0d6efd;
}

@media (max-width: 768px) {
    .psc-grid {
        grid-template-columns: 1fr;
    }
}



/* 양육비 계산기 */
  :root{
    --bg: #f4f6f3;
    --ink: #1c2a22;
    --ink-soft: #859093;
    --card: #ffffff;
    --line: #dbe2dc;
    --accent: #3F4A4D;
    --accent-deep: #2F383A;
    --brass: #b4772f;
    --brass-bg: #fbf1e6;
    --radius: 14px;
  }
  *{box-sizing:border-box;}

  .csc-wrap{
    max-width:1040px;
    margin:0 auto;
    /*padding:48px 20px 64px;*/
  }
  .csc-eyebrow{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-size:13px;
    font-weight:700;
    letter-spacing:0.04em;
    color:var(--accent-deep);
    background:#B4BEC0;
    padding:6px 14px;
    border-radius:999px;
    margin-bottom:16px;
  }
  .csc-eyebrow::before{
    content:"";
    width:6px;height:6px;border-radius:50%;
    background:var(--accent);
    display:inline-block;
  }
  .csc-title{
    font-family:'Noto Serif KR', serif;
    font-weight:700;
    font-size:clamp(24px,3vw,32px);
    margin:0 0 8px;
    color:var(--ink);
  }
  .csc-sub{
    font-size:15px;
    color:var(--ink-soft);
    margin:0 0 32px;
    max-width:640px;
  }
  .csc-grid{
    display:grid;
    grid-template-columns:1.1fr 0.9fr;
    gap:24px;
    align-items:start;
  }
  @media (max-width:820px){
    .csc-grid{grid-template-columns:1fr;}
  }
  .csc-card{
    background:var(--card);
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:28px;
  }
  .csc-field{margin-bottom:24px;}
  .csc-field:last-child{margin-bottom:0;}
  .csc-label{
    display:flex;
    justify-content:space-between;
    align-items:baseline;
    font-size:14px;
    font-weight:700;
    color:var(--ink);
    margin-bottom:10px;
  }
  .csc-label span.val{
    font-weight:700;
    color:var(--accent-deep);
    font-variant-numeric:tabular-nums;
  }
  .csc-row{display:flex; gap:10px;}
  input[type="number"], select{
    width:100%;
    padding:1px 13px;
    border:1px solid var(--line);
    border-radius:9px;
    font-size:15px;
    font-family:inherit;
    background:#fbfcfb;
    color:var(--ink);
  }
  input[type="number"]:focus, select:focus, input[type="range"]:focus-visible{
    outline:2px solid var(--accent);
    outline-offset:1px;
  }
  input[type="range"]{
    width:100%;
    accent-color:var(--accent);
    margin-top:6px;
  }
  .csc-hint{font-size:12.5px; color:#8b978f; margin-top:6px;}
 
  /* 자녀 나이 칩 셀렉터 */
  .csc-chip-count{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
  }
  .csc-chip-count button{
    width:38px;height:38px;
    border-radius:9px;
    border:1px solid var(--line);
    background:#fbfcfb;
    font-weight:700;
    font-size:14px;
    color:var(--ink-soft);
    cursor:pointer;

    line-height: normal !important;
    padding: 0.55em !important;
    box-shadow: none !important;
    color: initial !important;
  }
  .csc-chip-count button.active{
    background:var(--accent);
    border-color:var(--accent);
    color:#fff !important;
  }
  #csc-children{
    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(96px,1fr));
    gap:10px;
    margin-top:14px;
  }
  .csc-age-box label{
    display:block;
    font-size:12px;
    color:var(--ink-soft);
    margin-bottom:5px;
  }
 
  /* 결과 패널 */
  .csc-result-card{
    position:sticky;
    top:24px;
    background:var(--accent-deep);
    color:#fff;
    border-radius:var(--radius);
    padding:28px;
  }
  .csc-result-label{
    font-size:13px;
    color:#B4BEC0;
    margin-bottom:6px;
  }
  .csc-result-amount{
    font-family:'Noto Serif KR', serif;
    font-size:clamp(30px,4vw,40px);
    font-weight:700;
    letter-spacing:-0.5px;
    color:#fff;
    margin-bottom:2px;
  }
  .csc-result-amount .unit{font-size:18px; font-weight:500; margin-left:2px;}
  .csc-result-note{
    font-size:12.5px;
    color:#778D93;
    margin-bottom:22px;
  }
 
  /* 소득구간 게이지 (시그니처 요소) */
  .csc-gauge-title{
    font-size:12.5px;
    color:#c9dccf;
    margin-bottom:10px;
    display:flex;
    justify-content:space-between;
  }
  .csc-gauge{
    position:relative;
    display:flex;
    gap:3px;
    margin-bottom:8px;
  }
  .csc-gauge i{
    flex:1;
    height:8px;
    border-radius:3px;
    background:rgba(255,255,255,0.18);
  }
  .csc-gauge i.on{background:var(--brass);}
  .csc-gauge-labels{
    display:flex;
    justify-content:space-between;
    font-size:11px;
    color:#9fb8a6;
    margin-bottom:24px;
  }
 
  .csc-divider{
    border:none;
    border-top:1px solid rgba(255,255,255,0.15);
    margin:20px 0;
  }
  .csc-breakdown-item{
    display:flex;
    justify-content:space-between;
    font-size:13.5px;
    padding:9px 0;
    border-bottom:1px solid rgba(255,255,255,0.1);
    color:#e6efe8;
  }
  .csc-breakdown-item span:last-child{
    font-weight:700;
    color:#fff;
    font-variant-numeric:tabular-nums;
  }
  .csc-tags{margin-top:16px; display:flex; flex-wrap:wrap; gap:6px;}
  .csc-tag{
    font-size:11.5px;
    padding:4px 10px;
    background:rgba(180,119,47,0.25);
    color:#f3d9b8;
    border:1px solid rgba(180,119,47,0.5);
    border-radius:999px;
  }
  .csc-empty{
    font-size:13.5px;
    color:#c9dccf;
    padding:16px 0;
  }
  .csc-disclaimer{
    margin-top:20px;
    font-size:12px;
    line-height:1.6;
    color:var(--ink-soft);
    border-top:1px dashed var(--line);
    padding-top:16px;
  }