@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");
@font-face {
    font-family: 'Pretendard-Regular';
    src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}
/* Pretendard 폰트 패밀리 정의 */
@font-face {
  font-family: Pretendard-Bold;
  font-weight: 400;
  src: local("Pretendard-Bold"),
       local("☺"),
       url("/fonts/Pretendard-Bold.woff2") format("woff2"),
       url("/fonts/Pretendard-Bold.woff") format("woff"),
       url("/fonts/Pretendard-Bold.otf") format("opentype");
}

@font-face {
  font-family: Pretendard-Light;
  font-weight: 400;
  src: local("Pretendard-Light"),
       local("☺"),
       url("/fonts/Pretendard-Light.woff2") format("woff2"),
       url("/fonts/Pretendard-Light.woff") format("woff"),
       url("/fonts/Pretendard-Light.otf") format("opentype");
}

@font-face {
  font-family: Pretendard-Regular;
  font-weight: 400;
  src: local("Pretendard-Regular"),
       local("☺"),
       url("/fonts/Pretendard-Regular.woff2") format("woff2"),
       url("/fonts/Pretendard-Regular.woff") format("woff"),
       url("/fonts/Pretendard-Regular.otf") format("opentype");
}

@font-face {
  font-family: Pretendard-Medium;
  font-weight: 400;
  src: local("Pretendard-Medium"),
       local("☺"),
       url("/fonts/Pretendard-Medium.woff2") format("woff2"),
       url("/fonts/Pretendard-Medium.woff") format("woff"),
       url("/fonts/Pretendard-Medium.otf") format("opentype");
}

@font-face {
  font-family: Pretendard-SemiBold;
  font-weight: 400;
  src: local("Pretendard-SemiBold"),
       local("☺"),
       url("/fonts/Pretendard-SemiBold.woff2") format("woff2"),
       url("/fonts/Pretendard-SemiBold.woff") format("woff"),
       url("/fonts/Pretendard-SemiBold.otf") format("opentype");
}

@font-face {
  font-family: Pretendard-Black;
  font-weight: 400;
  src: local("Pretendard-Black"),
       local("☺"),
       url("/fonts/Pretendard-Black.woff2") format("woff2"),
       url("/fonts/Pretendard-Black.woff") format("woff"),
       url("/fonts/Pretendard-Black.otf") format("opentype");
}


	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;
	}
	.small {
		font-size: 0.8rem !important;
	}
	.base {
		color: #303030;
		background-color: #ffcc00;
		padding: 0.3rem 1rem;
		border-radius: 0.3rem;
	}
		@media screen and (max-width: 767px) {
		.base {
			display: table;
			}
		}
	.basic {
		color: #121212;
		background-color: #ffcc00;
		padding: 0.3rem 0.5rem;
		border-radius: 0.3rem;
	}

	.thumbs {
		font-size: 0.9rem !important;
		font-weight: 400 !important;
		color: #4a4a4a !important;
		font-family: Pretendard-Light, AppleSDGothicNeo-Regular, Malgun Gothic, 맑은 고딕, dotum, 돋움, sans-serif !important;
		line-height: 180% !important;
		letter-spacing: 0.02em !important;
		word-spacing: 0.01em !important;
		margin-bottom: 0.5rem !important;
	}

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

/* PC에서 보이고, 모바일에서 안보임, BR 전용 */
.hide-pc {
  display: block !important;
}
@media screen and (max-width: 767px) {
  .hide-pc {
    display: none !important;
  }
}
/* BR 코드가 PC에서는 미적용, 모바일에서 적용, BR 전용 */
.mobile-br {
  display: none !important;
}
@media (max-width: 767px) {
  .mobile-br {
    display: block !important;
  }
}

/* PC에서 보이고, 모바일에서 안보임 */
.mobile-hide {
  display: inline-block;
}
@media screen and (max-width: 767px) {
  .mobile-hide {
    display: none;
  }
}
/* 텍스트 위치 */
	.align-left {
		text-align: left;
	}
	.align-center {
		text-align: center;
	}
	.align-right {
		text-align: 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-top:3rem;
		margin-bottom:3rem;
		border:0;
		border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
	}
	hr.line {
		clear: both;
		margin-top:1rem;
		margin-bottom:1.5rem;
		border:0;
		border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
	}

.tm-slogon {
    font-size: 0.9rem;
    font-family: "Taviraj", serif !important;
    padding-left: 0.2rem;
    margin-top: -1rem;
}

.text-logo {
    font-family: "Taviraj", serif !important;
    font-weight: 600;
}

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

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

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

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

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

.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%; /* 이미지 너비 전체로 */
    }
}

/* social-icon */
.social-icon {
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}
.social-icon:hover {
  filter: grayscale(0%);
}

/* 절차 표기 */
.round_box {
    overflow: hidden;
}

.round_box dt .box {
    width: 130px;
    height: 130px;
    /* background: #f4f4f2; */
    background-color: rgba(230, 235, 237, 0.25);
    border-radius: 50%;
    display: table;
}
@media screen and (max-width: 767px) {
    .round_box dt .box {
        width: 100%;
        height: 0;
        position: relative;
        border-radius: 0.3rem;
        padding: 10px 0;
    }
}

.round_box dt,
.round_box dd {
    float: left;
}

.round_box dt p {
    display: table-cell;
    color: #333;
    font-weight: 400;
    line-height: 30px;
    text-align: center;
    vertical-align: middle;
}

.round_box dd {
    position: relative;
    height: 130px;
}

.round_box dd:before,
.round_box dd:after {
    content: "";
    position: absolute;
    top: 50%;
    background: #999;
}

.round_box dd:before {
    height: 1px;
    right: 22px;
    margin-top: 5px;
}

.round_box dd:after {
    width: 16px;
    height: 1px;
    right: 20px;
    transform: rotate(45deg);
}

.round_box.set5 dd {
    width: 85px;
}

.round_box.set6 dd {
    width: 104px;
}

.round_box.set5 dd:before {
    width: 50px;
}

.round_box.set6 dd:before {
    width: 60px;
}

.round_box.other {
    padding-top: 40px;
}

.round_box dd.blank {
    width: 710px;
}

.round_box dd.blank:before,
.round_box dd.blank:after {
    display: none;
}

.round_box dd.vline {
    width: 355px;
}

.round_box dd.vline:before {
    width: 240px;
}

.round_box dd.vline p {
    position: absolute;
    top: -20px;
    right: 262px;
    width: 1px;
    height: 116px;
    background: #999;
    margin: 0;
}

.round_box .end .box {
    background: #605e54;
}

.round_box .end .box p {
    color: #fff;
}

@media screen and (max-width:767px){
	.round_box dt {display:block; height:auto;}
	.round_box.set5 dt,
	.round_box.set6 dt {width:100%; padding:0; height:auto;}
	.round_box dt br {display:none;}
	.round_box.set5 dd,
	.round_box.set6 dd {width:100%; padding:0; height:40px;}
	.round_box dd:before,
	.round_box dd:after {left:50%; top:50%; margin-top:0;}
	.round_box dd:before {width:16px !important; height:1px; transform:rotate(45deg); margin-left:-6px;}
	.round_box dd:after {transform:rotate(-45deg); margin-left:6px;}
	.round_box_line2 {position:relative;}
	.round_box_line2 .round_box .right {width:49%; clear:both;}
	.round_box.other {position:absolute; bottom:0; right:0; width:49%;}
	.round_box dd.vline:before,
	.round_box dd.vline:after {width:16px !important;}
	.round_box dd.vline:before {margin-left:-6px;}
	.round_box dd.vline:after {margin-left:6px;}
	.round_box dd.vline p {display:none;}
}

/* 메인 페이지 무료상담 */
.section-consultation {
    background-color: #fcfcfc;
    border: 1px solid #eee;
    border-radius: 0.3rem;
    padding: 1rem;
    margin-bottom: 30px;
}

/* latest 목록 CSS */
.latest-board-container {
  max-width: 100%;
  margin: 0 auto;
}

.latest-board-list {
  border-radius: 0em;
  overflow: hidden;
  background: transparent;
}

.latest-board-item {
    display: flex;
    align-items: center;
    padding: 0.88rem 0.1rem;
    border-bottom: 1px solid rgba(229, 232, 237, 0.8);
    transition: background 0.2s ease;
    text-decoration: none;
    color: #1a6692;
}
@media (max-width: 768px) {
  .latest-board-item {
    color: #303030;
  }
}

.latest-board-item a {
  color: #303030 !important;
  text-decoration: none;
}

.latest-board-item:hover {
  background: rgba(243, 63, 63, 0.7);
  color: #fff !important;
  /*border-bottom: 2px solid #fff !important;*/
  text-decoration: none;
}

.latest-board-item:last-child {
  border-bottom: none;
}

.latest-board-item > div {
  /* 내부 간격 조절 시 사용 가능 */
}

.latest-gender {
    width: 5%;
}
.latest-gender img {
    border-radius: 50%;
}

.latest-name {
  width: 10%;
  font-size: 0.9rem;
  color: #303030;
  text-align: center;
}

.latest-region {
  width: 10%;
  font-size: 0.9rem;
  color: #303030;
  text-align: center;
}

.latest-category {
  min-width: 15%;
  font-size: 0.86rem;
  color: #303030;
  text-align: center;
}

.latest-date {
  min-width: 20%;
  font-size: 0.86rem;
  color: #303030;
  text-align: center;
}


.latest-title {
  width: 40%;
  font-weight: 400;
  font-size: 0.9rem;
  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;
  letter-spacing: 0.02em;
  word-spacing: 0.01em;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.latest-meta {
  margin-left: auto;
  display: flex;
  gap: 0.8rem;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
  .latest-gender,
  .latest-name,
  .latest-region,
  .latest-date,
  .latest-category {
    display: none;
  }
  .latest-title {
    width: 100%;
    font-size: 0.88rem;
  }
}

/* FAQ 최근 글 관련 코드 */
.read-more-btn {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: #f33f3f;
    text-decoration: none;
    cursor: pointer;
}
.read-more-btn:hover {
    color: #004499;
    outline: none;
}

/* FAQ 우측 이미지 카테고리 */
.img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.img-wrapper:hover img {
  transform: scale(1.05);
}

/* 전체 덮는 오버레이 */
.overlay-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* 반투명 검정 */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
}

.img-wrapper:hover .overlay-text {
  opacity: 1;
}


.faq-cate {
    display: block;
    max-width: 100%;
}
.best-features .faq-cate h3 {
font-size: 1rem;
    color: #5E6165;
    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: 700;
    line-height: 180%;
    margin-bottom: 0.5rem;
}

.best-features .faq-cate a {	
	font-size: 0.9rem;
	color: #f33f3f !important;
	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;
	margin-bottom: 20px;
	transition: all .3s;
}
.best-features .faq-cate a:hover {
	color: #1a6692 !important;
}

.best-features .section-heading a {
	float: right;
	margin-top: -35px;
	text-transform: uppercase;
	font-size: 13px;
	font-weight: 700;
	color: #f33f3f;
}

/* 스크롤 위로 올리기 */
    #back-to-top {
      position: fixed;
      bottom: 20px;
      right: 20px;
      display: none;
      color: #fff;
      background-color: #f33f3f;
      border: none;
      border-radius: 0.2rem;
      padding: 5px 7px;
      cursor: pointer;
      /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
      transition: background-color 0.5s ease, transform 0.5s ease;
      z-index: 10000;
    }
    #back-to-top:hover {
      color: #303030;
      background-color: #FC3;
    }
@media (max-width: 768px) {
    #back-to-top {
        padding: 5px 8px;
    }
}


/* 목차(TOC) */
/* 좌측 목차 스타일 */
.sidebar {
    width: 100%;
    padding: 1em;
    background-color: #FBFCFC;
    border-radius: 5px;
    border: 0.1em solid #E5E8EB;
}

#toc {
    list-style-type: none;
    padding-left: 0;
}

#toc li {
    margin-bottom: 1em;
}

#toc a {
    color: #303030;
    text-decoration: none;
}

#toc a:hover {
    color: #2DBBED;
    text-decoration: none;
}

.toc-h3 {
    font-size: 1rem;
    font-weight: 700 !important;
    line-height: 180%;
}

.toc-strong {
    font-size: 0.9rem;
    margin-left: 1.55em;
}

.toc-strong + .toc-h3 {
    border-top: 1px solid #d3d3d3;
    margin-top: 1em;
    padding-top: 1em;
}

/* 목차 박스 */
	.toc_container {
		text-align:left;
	}

	.toc_container h4 {
		display: block;
		position: relative;
		font-size: 1.55rem !important;
		line-height: 180%;
		font-weight: 700 !important;
		letter-spacing: 0.02em;
		word-spacing: 0.01em;
		background: linear-gradient(to right, #99767A, #D7BABE);
		-webkit-background-clip: text !important;
		-webkit-text-fill-color: transparent !important;
		background-clip: text;
		color: transparent !important;
		margin-bottom: 1em !important;
	}
	@media (max-width: 768px) {
 	   .toc_container h4 {
		font-size: 1.5em;
 	   }
}

	/* 가상 요소로 하단 border 대체 */
	.toc_container h4::after {
		content: "";
		position: absolute;
		left: 0;
		bottom: 0;
		width: 100%;
		height: 0.15em;
		border-radius: 0.23em;
		background: linear-gradient(to right, #99767A, #D7BABE);
	}

/* 원장 소개 폰트 사이즈 */
.about-size {
    font-size: 2.33rem !important;
    font-weight: 800 !important;
    line-height: 180%;
}
.about-psize {
    font-size: 1.11rem !important;
    font-weight: 800 !important;
    line-height: 180%;
}

/* 교통정보 */
	.bus {
		color: #fff;
		background-color: #374FF2;
		padding: 0.3rem 0.5rem;
		border-radius: 0.3rem;
	}
	.subway {
		color: #fff;
		background-color: #747F00;
		padding: 0.3rem 0.5rem;
		border-radius: 0.3rem;
	}