@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 {
		color: #6DA29B;
		font-family: 'Noto Serif KR', sans-serif !important;
		font-weight: 600 !important;
		background: linear-gradient(transparent 50%, #EFF3F3 50%);
	}

/* 특정 글자 하이라이트(드래그 효과) 추가 */
	strong.highlight, b.highlight {
		background: #6DA29B !important; 
		color: #FFFFFF !important; 
		padding: 2px 4px;
		border-radius: 3px;
}

	.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-family: 'Noto Serif KR', 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;
		}
	}

	ul li p {
		    color: #6DA29B;
		    font-size: 1.15rem;
		    font-family: 'Noto Serif KR', sans-serif;
		    font-weight: 300;
		    letter-spacing: 0.075em;
		    word-spacing: 0.1em;
		    line-height: 200%;
		    margin-bottom: 1rem !important;
		}

	ol li p {
		    color: #6DA29B;
		    font-size: 1.15rem;
		    font-family: 'Noto Serif KR', sans-serif;
		    font-weight: 300;
		    letter-spacing: 0.075em;
		    word-spacing: 0.1em;
		    line-height: 200%;
		    margin-bottom: 1rem !important;
		}

	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;*/
		font-family: 'Noto Serif KR', 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 { 
    font-family: 'Noto Serif KR', sans-serif;
    /*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;*/
    overflow: hidden;
    background-color: rgba(82, 86, 94, 0.06);
    padding: 2rem;
    position: relative;
    text-align: center;
    margin: 20px 0;
}

blockquote p {
    color: var(--color-default);
    line-height: 1.6;
    margin-bottom: 0;
    font-style: italic;
    font-weight: 500;
    font-size: 1.10rem;
    margin-bottom: 0rem !important;
}

blockquote:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--color-semantis);
  margin-top: 20px;
  margin-bottom: 20px;
}

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


    /* ─────────────────────────────────────────────
       CSS Variables
    ───────────────────────────────────────────── */
    :root {
      --font-body: 'DM Sans', 'Pretendard Variable', Pretendard, -apple-system,
        BlinkMacSystemFont, 'Noto Sans KR', sans-serif;
      --font-serif: 'DM Serif Display', 'Noto Serif KR', Georgia, serif;

      --color-bg:        #f7f6f3;
      --color-surface:   #FAFBFB; /* 테이블 홀수 배경 */
      --color-border:    #e4e0d8;
      --color-border-strong: #ccc8be;
      --color-text:      #606060; /* 텍스트 */
      --color-text-muted:#7a7670;
      --color-accent:    #2b4fff;
      --color-accent-soft: #EFF3F3;
      --color-stripe:    #fff; /* 테이블 짝수 배경 */
      --color-hover:     #F4F8F8;

      --radius: 10px;
      --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
    }

    /* ─────────────────────────────────────────────
       Page Shell (Demo only)
    ───────────────────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    .demo-section {
      max-width: 900px;
      margin: 0 auto 4rem;
    }

    .demo-label {
      font-size: 0.7rem;
      font-weight: 600;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--color-text-muted);
      margin-bottom: 0.75rem;
    }

    /* ─────────────────────────────────────────────
       TABLE WRAPPER
    ───────────────────────────────────────────── */
    .table-wrapper {
      -webkit-overflow-scrolling: touch;
      overflow-x: auto;
      background: var(--color-surface);
      border-radius: var(--radius);
      border: 1px solid var(--color-border);
      box-shadow: var(--shadow);
      margin-bottom: 5rem;
    }

    /* ─────────────────────────────────────────────
       BASE TABLE
    ───────────────────────────────────────────── */
    table {
      table-layout: fixed; /* 컬럼 비율을 CSS/width 기준으로 고정 */
      width: 100%;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      font-family: var(--font-body);
      font-size: 0.9rem;
      font-weight: 400;
      color: var(--color-text);
    }

/* 인라인 스타일 강제 무력화 */
table td {
  width: auto !important;
}
table td:first-child {
  width: 30% !important;
}

    /* ─────────────────────────────────────────────
       THEAD
    ───────────────────────────────────────────── */
    table thead {
      border-bottom: 1.5px solid var(--color-border-strong);
    }

    table thead th {
      padding: 0.85rem 1.1rem;
      text-align: left;
      font-size: 1rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--color-text-muted);
      white-space: nowrap;
      background: var(--color-stripe);
    }

    table thead th:first-child { border-radius: calc(var(--radius) - 1px) 0 0 0; }
    table thead th:last-child  { border-radius: 0 calc(var(--radius) - 1px) 0 0; }

    /* Sort indicator (optional) */
    table thead th[data-sort] { cursor: pointer; user-select: none; }
    table thead th[data-sort]::after {
      content: ' ↕';
      opacity: 0.35;
      font-size: 0.75em;
    }
    table thead th[data-sort="asc"]::after  { content: ' ↑'; opacity: 0.8; color: var(--color-accent); }
    table thead th[data-sort="desc"]::after { content: ' ↓'; opacity: 0.8; color: var(--color-accent); }

    /* ─────────────────────────────────────────────
       TBODY
    ───────────────────────────────────────────── */
    table tbody tr {
      border-bottom: 1px solid var(--color-border);
      transition: background 0.12s ease;
    }

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

    table tbody tr:nth-child(even) {
      background-color: var(--color-stripe);
    }

    table tbody tr:hover {
      background-color: var(--color-hover);
    }

    table tbody td {
      font-size: 1.10rem;
      color: var(--color-text);   
      font-family: 'Noto Serif KR', sans-serif;
      /* 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: 0.85rem 1.1rem;
      vertical-align: middle;
      letter-spacing: 0.075em;
      word-spacing: 0.1em;
      line-height: 200%;
    }

    /* 첫 번째 컬럼 – 세리프, 약간 강조 */
    table tbody td:first-child {
      font-family: var(--font-serif);
      font-weight: 400;
      font-size: 1.10rem;
      color: var(--color-text);
    }

    /* ─────────────────────────────────────────────
       TFOOT
    ───────────────────────────────────────────── */
    table tfoot {
      border-top: 1.5px solid var(--color-border-strong);
    }

    table tfoot td {
      padding: 0.75rem 1.1rem;
      font-size: 0.8rem;
      font-weight: 500;
      color: var(--color-text-muted);
      background: var(--color-stripe);
    }

    table tfoot td:first-child { border-radius: 0 0 0 calc(var(--radius) - 1px); }
    table tfoot td:last-child  { border-radius: 0 0 calc(var(--radius) - 1px) 0; }

    /* ─────────────────────────────────────────────
       BADGE / STATUS CHIPS (utility)
    ───────────────────────────────────────────── */
    .badge {
      display: inline-block;
      padding: 0.18em 0.65em;
      border-radius: 99px;
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.04em;
    }
    .badge-green  { background: #e6f5ee; color: #1a7a45; }
    .badge-amber  { background: #fff4e0; color: #935c00; }
    .badge-red    { background: #fde8e8; color: #9b1c1c; }
    .badge-blue   { background: var(--color-accent-soft); color: var(--color-accent); }
    .badge-gray   { background: #ebebeb; color: #555; }

    /* ─────────────────────────────────────────────
       .basic VARIANT – outlined / no stripe
    ───────────────────────────────────────────── */
    .table-wrapper.basic {
      box-shadow: none;
      border: 1.5px solid var(--color-border-strong);
      margin-bottom: 3rem;
    }

    .table-wrapper.basic table tbody tr:nth-child(even) {
      background: transparent;
    }

    .table-wrapper.basic table tbody tr:hover {
      background: var(--color-accent-soft);
    }

    .table-wrapper.basic table thead th {
      background: var(--color-accent);
      color: #fff;
      letter-spacing: 0.09em;
    }

    .table-wrapper.basic table thead {
      border-bottom-color: transparent;
    }

    .table-wrapper.basic table thead th:first-child { border-radius: calc(var(--radius) - 1px) 0 0 0; }
    .table-wrapper.basic table thead th:last-child  { border-radius: 0 calc(var(--radius) - 1px) 0 0; }

    /* ─────────────────────────────────────────────
       .alt VARIANT
    ───────────────────────────────────────────── */
    .table-wrapper.alt table thead th,
    .table-wrapper.alt table tbody td,
    .table-wrapper.alt table tfoot td {
      font-size: 1.10rem;
      color: var(--color-text);
      /*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: 300;
      padding: 0.85rem 1.1rem;
      vertical-align: middle;
      letter-spacing: 0.075em;
      word-spacing: 0.1em;
      line-height: 200%;
      margin-bottom: 3rem;
    }


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

/* 카드형 박스 리뷰 텍스트 크기 */
.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;
  }
}

/* Button Hover */
.btns {
    font-size: 0.8em;
    font-family: "Taviraj", serif !important;
    background: #AABFD9;
    border: 0;
    padding: 0.2rem 0.5rem;
    color: #fff;
    transition: 0.4s;
    border-radius: 0.3rem;
}
.btns:hover {
    color: #fff;
    background: #7F93AA;
}

/* 상단에 실재 존재하지 않는 p, br 코드 제거 */
p:empty,
p br:only-child {
  display: none;
}
p:has(> br:only-child) {
  display: none;
}

/* 드롭다운 메뉴 하위 일반 텍스트 */
    .navbar .dropdown ul span {
        padding: 10px 18px;
        font-size: 1rem;
        font-family: 'Noto Serif KR', sans-serif;
        font-weight: 600 !important;
        text-transform: none;
        color: var(--color-primary);
    }


/* 추천사이트 관련 코드 */
/*--------------------------------------------------------------
# Speakers Section
--------------------------------------------------------------*/
.speakers {
  --default-color: #ffffff;
}

.speakers .member {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.speakers .member .member-info {
  position: absolute;
  padding: 15px 0;
  inset: auto 0 -44px 0;
  background: rgba(0, 0, 0, 0.6);
  transition: 0.4s;
}

.speakers .member .member-info-content h4 {
  color: var(--contrast-color);
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 16px;
}

.speakers .member .member-info-content h4 a {
  color: var(--contrast-color);
}

.speakers .member .member-info-content h4 a:hover {
  color: var(--color-semantis);
}

.speakers .member .member-info-content span {
  color: var(--contrast-color);
  font-style: italic;
  display: block;
  font-size: 13px;
}

.speakers .member .social {
  text-align: center;
  padding-top: 10px;
}

.speakers .member .social a {
  transition: color 0.3s;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  /*margin: 0 4px;*/
  display: inline-block;
}

.speakers .member .social a:hover {
  color: var(--default-color);
}

.speakers .member .social i {
  font-size: 18px;
  margin: 0 2px;
}

.speakers .member:hover .member-info {
  bottom: 0;
}

.points {
  color: var(--bs-red) !important;
  font-weight: 500;
  letter-spacing: 0.075em;
  word-spacing: 0.1em;
}


/*--------------------------------------------------------------
# 양육비 계산기
--------------------------------------------------------------*/
  :root{
    --bg: #f4f6f3;
    --ink: #1c2a22;
    --ink-soft: #4b5a51;
    --card: #ffffff;
    --line: #dbe2dc;
    --accent: #3f6c51;      /* 짙은 삼나무 초록 - 신뢰감 */
    --accent-deep: #2c4d3a;
    --brass: #b4772f;       /* 인장(seal) 느낌의 브라스 - 결과 강조 */
    --brass-bg: #fbf1e6;
    --radius: 14px;
  }
  *{box-sizing:border-box;}

  .csc-wrap{
    max-width:100%;
    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:#e9f0ea;
    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:11px 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;
  }
  .csc-chip-count button.active{
    background:var(--accent);
    border-color:var(--accent);
    color:#fff;
  }
  #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:#c9dccf;
    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:#bcd2c2;
    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;
  }


/*--------------------------------------------------------------
# 재산분할 계산기
--------------------------------------------------------------*/
/* .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{ background:#fff; border:1px solid #e6e6e6; border-radius:10px; padding:20px; }
.psc-column-title{ font-weight:700; font-size:.9rem; color:#555; margin-bottom:10px; }
.psc-field{ margin-bottom:16px; }
.psc-label{ display:flex; justify-content:space-between; font-size:.9rem; font-weight:600; color:#333; margin-bottom:6px; }
.psc-label .val{ color:#0d6efd; font-weight:700; }
.psc-hint{ font-size:.78rem; color:#999; margin-top:4px; }
.psc-divider{ border:none; border-top:1px solid #eee; margin:16px 0; }
.psc-chip-row{ display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
.psc-chip{ font-size:.78rem; padding:4px 10px; border:1px solid #ddd; border-radius:999px; background:#fff; cursor:pointer; color:#555; }
.psc-chip:hover{ border-color:#0d6efd; color:#0d6efd; }
.psc-result-label{ font-size:.85rem; color:#888; margin-bottom:6px; }
.psc-result-amount{ font-size:1.9rem; font-weight:800; color:#111; }
.psc-result-amount .unit{ font-size:1rem; font-weight:500; margin-left:2px; }
.psc-result-note{ font-size:.85rem; color:#666; margin-top:4px; margin-bottom:4px; }
.psc-breakdown-item{ display:flex; justify-content:space-between; font-size:.88rem; padding:6px 0; border-bottom:1px dashed #eee; }
.psc-breakdown-item:last-child{ border-bottom:none; }
.psc-disclaimer{ font-size:.75rem; color:#999; margin-top:14px; line-height:1.5; }

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

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


/* 일반페이지 버튼 */
.period-info {
    display: inline-block;
    margin-bottom: 0.5rem;
}

.period-info {
    background: #6DA29B;
    border: 0;
    padding: 1rem 2rem;
    color: #fff;
    transition: 0.4s;
    border-radius: 0.3rem;
}
.period-info:hover {
    color: #fff;
    background: #303030;
}
