@charset "utf-8";
/* 에그글로벌 시안 — 공통 스타일 */

:root {
	--header-height: 100px;
	--sub-padding: 100px 0;
	--radius: 24px;
	--right-menu: 82px;
	--orange: #ff8c00;
	--black: #121212;
	--gray: #878787;
	--light-gray: #a8a8a8;
	--bg-gray: #f4f4f4;
	--text: #505050;
	--dark: #2c2c2c;
}

/* reset */
*, *::before, *::after {box-sizing: border-box; margin: 0; padding: 0;}
html {-webkit-text-size-adjust: none;}
body, input, textarea, select, button, table {font-family: 'Pretendard', AppleGothic, helvetica, sans-serif; font-size: 18px; line-height: 1.66667em; letter-spacing: -.04em; color: var(--text); word-break: keep-all;}
body {background: #fff;}
img, video {max-width: 100%; height: auto; vertical-align: top; border: 0;}
a {color: inherit; text-decoration: none;}
ul, ol {list-style: none;}
address {font-style: normal;}
button {cursor: pointer; background: none; border: 0;}
h1, h2, h3, h4, h5 {font-size: inherit; font-weight: inherit;}
strong {font-weight: 700;}
u {text-underline-offset: 4px;}
.blind {position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;}

#skipToContent a {position: absolute; z-index: 100000; top: 0; left: 0; width: 1px; height: 1px; overflow: hidden; font-size: 0;}
#skipToContent a:focus {width: 200px; height: 50px; background: #21272e; color: #fff; font-size: 14px; font-weight: 700; text-align: center; line-height: 50px;}

/* utilities */
.contain {max-width: 1260px; width: 100%; padding-left: 30px; padding-right: 30px; margin: 0 auto;}
.txt-center {text-align: center;}
.in-center {width: fit-content; margin-left: auto; margin-right: auto;}
.only-mobile {display: none;}
.c1 {color: var(--orange) !important;}
.c2 {color: var(--black) !important;}
.c3 {color: var(--gray) !important;}
.c4 {color: var(--light-gray) !important;}
.bgc1 {background: var(--bg-gray) !important;}
.bgc2 {background: var(--orange) !important;}
.bgc3 {background: var(--black) !important;}
.fw500 {font-weight: 500 !important;}
.fw600 {font-weight: 600 !important;}
.fw700 {font-weight: 700 !important;}
.fw800 {font-weight: 800 !important;}
.fz14 {font-size: 14px !important;}
.fz15 {font-size: 15px !important;}
.fz16 {font-size: 16px !important; line-height: 1.75em;}
.fz20 {font-size: 20px !important;}
.fz22 {font-size: 22px !important; line-height: 1.6363em;}
.fz24 {font-size: 24px !important;}
.fz30 {font-size: 30px !important; line-height: 1.533333em;}
.fz32 {font-size: 32px !important;}
.fz38 {font-size: 38px !important;}
.fz52 {font-size: 52px !important; line-height: 1.3em;}
.fz56 {font-size: 56px !important; line-height: 1em;}
.fz66 {font-size: 66px !important; line-height: 1em;}
.fz68 {font-size: 68px !important; line-height: 1.2em;}
.mgb5 {margin-bottom: 5px !important;}
.mgb10 {margin-bottom: 10px !important;}
.mgb12 {margin-bottom: 12px !important;}
.mgb15 {margin-bottom: 15px !important;}
.mgb20 {margin-bottom: 20px !important;}
.mgb25 {margin-bottom: 25px !important;}
.mgb30 {margin-bottom: 30px !important;}
.mgb35 {margin-bottom: 35px !important;}
.mgb40 {margin-bottom: 40px !important;}
.mgb50 {margin-bottom: 50px !important;}
.mgb60 {margin-bottom: 60px !important;}
.mgb65 {margin-bottom: 65px !important;}
.mgb70 {margin-bottom: 70px !important;}
.mgb80 {margin-bottom: 80px !important;}
.mgb100 {margin-bottom: 100px !important;}
.mgb120 {margin-bottom: 120px !important;}

/* 스크롤 등장 애니메이션 (data-reveal) */
[data-reveal] {opacity: 0; transition: opacity .6s ease, transform .6s ease;}
[data-reveal="up"] {transform: translateY(100px);}
[data-reveal="down"] {transform: translateY(-100px);}
[data-reveal].is-visible {opacity: 1; transform: none;}
span[data-reveal] {display: inline-block;}
@media (prefers-reduced-motion: reduce) {
	[data-reveal] {opacity: 1; transform: none; transition: none;}
}

/* header */
#header {position: fixed; top: 0; width: 100%; background: #fff; z-index: 100; border-bottom: 1px solid rgba(255,255,255,.3); transition: background .2s;}
#header .contain {position: relative; display: flex; align-items: center; justify-content: space-between; max-width: 1780px; height: var(--header-height);}
#header .sitelogo img {transition: filter .2s;}
#header.is-transparent {background: none;}
#header.is-transparent .sitelogo img {filter: grayscale(1) brightness(50);}
#header.is-transparent #gnb > ul > li > a {color: #fff;}
#header.is-transparent .btn-m-menu span,
#header.is-transparent .btn-m-menu::before,
#header.is-transparent .btn-m-menu::after {background: #fff;}

#gnb {flex: 1 1 auto; min-width: 0;}
#gnb > ul {display: flex; justify-content: flex-end; margin: 0 -25px;}
#gnb > ul > li {position: relative; padding: 0 25px;}
#gnb > ul > li > a {display: flex; align-items: center; height: var(--header-height); color: var(--dark); font-size: 20px; font-weight: 700; line-height: 1.3em;}
#gnb > ul > li.active > a {color: var(--orange);}
#gnb .submenu {display: none; position: absolute; left: 0; width: max-content; background: rgba(255,255,255,.45); text-align: left;}
#gnb > ul > li:hover .submenu,
#gnb > ul > li:focus-within .submenu {display: block;}
#gnb .submenu ul {padding: 30px;}
#gnb .submenu a {display: block; position: relative; width: fit-content; padding: 3px 0; color: var(--dark); font-size: 20px; font-weight: 700; line-height: 1.3em;}
#gnb .submenu a:hover {color: var(--orange);}
#gnb .submenu a::before {position: absolute; content: '↑'; top: -5px; right: -20px; font-size: 16px; font-weight: 800; color: var(--orange); transform: rotate(45deg); opacity: 0; transition: .2s;}
#gnb .submenu a:hover::before {opacity: 1;}
#gnb > ul > li:last-child .submenu {left: auto; right: 0; text-align: right;}
#gnb > ul > li:last-child .submenu ul {display: flex; flex-direction: column; align-items: flex-end;}
#gnb > ul > li:last-child .submenu a::before {left: -20px; right: auto; transform: rotate(-45deg);}

.btn-m-menu {display: none; position: relative; width: 26px; height: 22px;}
.btn-m-menu span {position: absolute; right: 0; top: 50%; width: 18px; height: 2px; margin-top: -1px; background: #242424;}
.btn-m-menu::before, .btn-m-menu::after {content: ''; position: absolute; left: 0; right: 0; height: 2px; background: #242424;}
.btn-m-menu::before {top: 0;}
.btn-m-menu::after {bottom: 0;}

.mobile-navigation {position: fixed; top: 0; right: 0; width: 300px; max-width: 85%; height: 100%; overflow: auto; background: #fff; z-index: 102; transform: translateX(100%); transition: transform .2s linear; visibility: hidden;}
.mobile-navigation .home {display: flex; align-items: center; height: 80px; padding: 0 20px;}
.mobile-navigation .nav-menu > ul {border-top: 1px solid #ddd;}
.mobile-navigation .nav-menu > ul > li {border-bottom: 1px solid #ddd;}
.mobile-navigation .nav-menu > ul > li > a {position: relative; display: block; padding: 10px 48px 10px 20px; color: #242424; font-size: 19px; font-weight: 700; line-height: 1.5em;}
.mobile-navigation .nav-menu > ul > li > a::after {content: ''; position: absolute; top: 50%; right: 20px; width: 11px; height: 11px; border-right: 2px solid #505050; border-bottom: 2px solid #505050; transform: translateY(-75%) rotate(45deg);}
.mobile-navigation .nav-menu > ul > li.open > a {color: #fff; background: var(--orange);}
.mobile-navigation .nav-menu > ul > li.open > a::after {transform: translateY(-35%) rotate(-135deg); border-color: #fff;}
.mobile-navigation .submenu {display: none; background: #f8f8f8; color: #454545; font-size: 16px; line-height: 1.5em;}
.mobile-navigation li.open .submenu {display: block;}
.mobile-navigation .submenu li {border-top: 1px solid #e5e5e5;}
.mobile-navigation .submenu a {display: block; padding: 12px 20px;}
.mobile-navigation .submenu a:hover {color: var(--orange);}
.mobile-navigation .close {position: absolute; top: 25px; right: 15px; width: 26px; height: 26px; overflow: hidden; text-indent: -9999em;}
.mobile-navigation .close::before, .mobile-navigation .close::after {content: ''; position: absolute; top: 12px; left: 0; width: 100%; height: 3px; background: #242424; border-radius: 3px;}
.mobile-navigation .close::before {transform: rotate(45deg);}
.mobile-navigation .close::after {transform: rotate(-45deg);}
.mobile-overlay {display: none; position: fixed; inset: 0; background: #000; opacity: .6; z-index: 101;}
html.menu-opened {overflow: hidden;}
html.menu-opened .mobile-navigation {transform: translateX(0); visibility: visible;}
html.menu-opened .mobile-overlay {display: block;}

/* 우측 퀵메뉴 */
#RightMenu {position: fixed; right: 30px; bottom: 30px; z-index: 30;}
#RightMenu a {display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: var(--right-menu); height: var(--right-menu); color: #fff; font-size: 12px; font-weight: 600; line-height: 1em; border-radius: 100%; box-shadow: 0 0 5px rgba(0,0,0,.2);}
#RightMenu a:not(:last-child), #RightMenu .wrap {margin-bottom: 6px;}
#RightMenu .kakao {background: #352327;}
#RightMenu .talktalk {background: #643e35;}
#RightMenu .blog {background: #986c48;}
#RightMenu .scroll-top {background: var(--orange); color: var(--dark); font-weight: 700;}
#RightMenu .scroll-top .arrow {font-size: 18px;}

/* footer */
#footer {padding: 55px 0; font-size: 15px; border-top: 1px solid #505050;}
#footer .contain {display: flex; justify-content: space-between; gap: 30px; max-width: 1780px; padding-right: calc(var(--right-menu) + 50px);}
#footer .sitelogo {display: block; margin-bottom: 40px;}
#footer .dark {color: var(--dark);}
#footer address {margin-top: 10px;}
#footer address > span {margin-right: 25px;}
#footer address .dark {margin-right: 8px;}
.f-right {display: flex; flex-direction: column; justify-content: space-between; text-align: right; font-size: 12px;}
.f-link button {display: block; margin-left: auto; font-size: 12px; line-height: 2em; color: inherit;}

/* 시안 주소 안내 (실제 도메인에서는 표시 안 됨) */
.draft-notice {position: fixed; left: 16px; bottom: 16px; z-index: 150; max-width: calc(100% - 120px); padding: 8px 14px; border-radius: 8px; background: rgba(18,18,18,.85); color: #fff; font-size: 13px; font-weight: 600; line-height: 1.4em; pointer-events: none;}

/* 약관 팝업 */
.modal {position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(0,0,0,.6);}
.modal.is-open {display: flex;}
.modal .modal-box {position: relative; width: 100%; max-width: 800px; max-height: 85vh; overflow: auto; background: #fff; padding: 40px; font-size: 15px; line-height: 1.6em;}
.modal .modal-box h2 {margin-bottom: 20px; color: var(--black); font-size: 24px; font-weight: 700;}
.modal .modal-box h3 {margin: 20px 0 6px; color: var(--dark); font-weight: 700;}
.modal .modal-box .sec {margin-bottom: 30px;}
.modal .modal-box .sec p {margin-bottom: 1em;}
.modal .modal-close {position: absolute; top: 12px; right: 16px; font-size: 28px; line-height: 1; color: var(--dark);}

/* 서브 공통: 본문 폭·경로 */
#contArea {max-width: 1260px; padding-left: 30px; padding-right: 30px; margin: 0 auto;}
#contArea.wide {max-width: 100%; padding: 0;}
.path-wrap {padding-top: 200px; padding-bottom: 85px;}
.path-wrap .inner {display: flex; align-items: center; max-width: 1200px; margin: 0 auto;}
#contArea.wide .path-wrap .inner {max-width: 1260px; padding: 0 30px;}
.path-wrap .home {padding-right: 16px;}
.path-wrap .home a {display: block; width: 18px; height: 16px; background: url('../images/common/home.png') 50% 50% / contain no-repeat; text-indent: -999em; overflow: hidden;}
.path-wrap .page-name {position: relative; display: flex; align-items: center; padding: 0 16px; color: var(--dark); font-size: 16px; font-weight: 500; line-height: 1em;}
.path-wrap .page-name::after {content: ''; position: absolute; top: 50%; left: -1px; margin-top: -2px; width: 4px; height: 4px; border-radius: 100%; background: #ccc;}
.path-wrap .page-name:last-child {color: var(--orange);}
.real-cont {padding-bottom: 145px;}

/* 공통 컴포넌트 */
.circle-txt {background: #fff; border-radius: 82px; padding: 30px;}
.circle-txt.bgc3 {color: #fff;}
.underline {position: relative; display: inline-block;}
.underline::before {content: ''; position: absolute; left: 0; bottom: -10px; width: 100%; height: 9px; background: url('../images/main/deco-underline.png') center / cover no-repeat;}
.underline.short::before {bottom: -5px; height: 8px; background-image: url('../images/sub/deco-underline-short.png');}
p.underline {display: block; width: fit-content;}

/* 후기 카드 (메인·고객의 후기 공용) */
.review-list ul {display: flex; flex-wrap: wrap; gap: 60px 0; margin: 0 -31px;}
.review-list li {width: 33.33333%; padding: 0 31px;}
.review-list .thumb {position: relative; width: 100%; padding-bottom: 128.35%; overflow: hidden; border-radius: var(--radius); box-shadow: 14px 14px 28px rgba(0,0,0,.16);}
.review-list .thumb img {position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;}
.review-list .txt {margin-top: 35px;}
.review-list .tag {margin-bottom: 10px;}
@media (max-width: 1280px) {
	.review-list ul {margin: 0 -15px;}
	.review-list li {padding: 0 15px;}
	.review-list .txt {margin-top: 25px; padding: 0 15px;}
}
@media (max-width: 900px) {
	.review-list ul {margin: 0 -10px;}
	.review-list li {padding: 0 10px;}
}
@media (max-width: 640px) {
	.review-list ul {margin: 0; gap: 30px;}
	.review-list li {width: 100%; padding: 0;}
	.review-list .txt {padding-bottom: 20px;}
}

/* ---------- responsive (원본 사이트와 같은 구간·값) ---------- */
@media (max-width: 1500px) {
	:root {--right-menu: 74px;}
	.fz20 {font-size: 19px !important;}
	.fz22 {font-size: 20px !important;}
	.fz24 {font-size: 22px !important;}
	.fz30 {font-size: 28px !important;}
	.fz32 {font-size: 30px !important;}
	.fz38 {font-size: 35px !important;}
	.fz52 {font-size: 48px !important;}
	.fz56 {font-size: 52px !important;}
	.fz66 {font-size: 58px !important;}
	.fz68 {font-size: 60px !important;}
}
@media (max-width: 1280px) {
	body, input, textarea, select, button, table {font-size: 16px;}
	#gnb > ul > li > a {font-size: 18px;}
	.fz20 {font-size: 18px !important;}
	.fz22 {font-size: 19px !important;}
	.fz24 {font-size: 20px !important;}
	.fz30 {font-size: 26px !important;}
	.fz32 {font-size: 28px !important;}
	.fz38 {font-size: 32px !important;}
	.fz52 {font-size: 45px !important;}
	.fz56 {font-size: 50px !important;}
	.fz66 {font-size: 54px !important;}
	.fz68 {font-size: 56px !important;}
	.mgb20 {margin-bottom: 15px !important;}
	.mgb40 {margin-bottom: 30px !important;}
	.mgb50 {margin-bottom: 40px !important;}
	.mgb60, .mgb65 {margin-bottom: 50px !important;}
	.mgb80 {margin-bottom: 60px !important;}
	.mgb100 {margin-bottom: 80px !important;}
	.mgb120 {margin-bottom: 100px !important;}
	.path-wrap {padding-top: 150px; padding-bottom: 60px;}
	.sitelogo img {height: 35px; width: auto;}
	#footer address {display: flex; flex-wrap: wrap;}
	#footer address > span {margin-right: 18px;}
}
@media (max-width: 1024px) {
	:root {--header-height: 80px; --sub-padding: 80px 0; --radius: 15px; --right-menu: 64px;}
	body, input, textarea, select, button, table {font-size: 15px;}
	#gnb {display: none;}
	.btn-m-menu {display: block;}
	.fz14 {font-size: 13px !important;}
	.fz15 {font-size: 14px !important;}
	.fz16 {font-size: 15px !important;}
	.fz20 {font-size: 16px !important;}
	.fz22 {font-size: 18px !important;}
	.fz24 {font-size: 18px !important;}
	.fz30 {font-size: 24px !important;}
	.fz32 {font-size: 26px !important;}
	.fz38 {font-size: 28px !important;}
	.fz52 {font-size: 40px !important;}
	.fz56 {font-size: 44px !important;}
	.fz66 {font-size: 50px !important;}
	.fz68 {font-size: 52px !important;}
	.mgb25 {margin-bottom: 20px !important;}
	.mgb30, .mgb40 {margin-bottom: 25px !important;}
	.mgb50 {margin-bottom: 35px !important;}
	.mgb60, .mgb65 {margin-bottom: 40px !important;}
	.mgb70 {margin-bottom: 50px !important;}
	#footer {font-size: 14px;}
	#footer .sitelogo {margin-bottom: 25px;}
	.circle-txt {padding: 25px;}
	.path-wrap {padding-top: 120px;}
	#RightMenu {right: 15px; bottom: 15px;}
	#RightMenu a {font-size: 10px;}
	#RightMenu .icon img {height: 20px;}
	#RightMenu .wrap {display: none;}
}
@media (max-width: 900px) {
	:root {--sub-padding: 60px 0;}
	body, input, textarea, select, button, table {line-height: 1.6em;}
	.fz20 {font-size: 16px !important;}
	.fz22 {font-size: 17px !important;}
	.fz24 {font-size: 17px !important;}
	.fz30 {font-size: 22px !important;}
	.fz32 {font-size: 24px !important;}
	.fz38 {font-size: 25px !important;}
	.fz52 {font-size: 29px !important;}
	.fz56 {font-size: 33px !important;}
	.fz66 {font-size: 38px !important;}
	.fz68 {font-size: 40px !important;}
	.mgb30, .mgb40 {margin-bottom: 20px !important;}
	.mgb60, .mgb65 {margin-bottom: 30px !important;}
	.mgb80 {margin-bottom: 45px !important;}
	.mgb100 {margin-bottom: 60px !important;}
	#footer address {flex-direction: column;}
	.path-wrap {padding-top: 100px; padding-bottom: 45px;}
}
@media (max-width: 640px) {
	:root {--header-height: 60px;}
	body, input, textarea, select, button, table {font-size: 14px;}
	.only-mobile {display: block !important;}
	.only-desktop-tablet {display: none;}
	.contain, #contArea {padding-left: 15px; padding-right: 15px;}
	#contArea.wide {padding: 0;}
	#contArea.wide .path-wrap .inner {padding: 0 16px;}
	.mobile-navigation .home {height: 60px;}
	.mobile-navigation .close {top: 17px;}
	.fz14 {font-size: 12px !important;}
	.fz15 {font-size: 13px !important;}
	.fz16 {font-size: 14px !important;}
	.fz20 {font-size: 15px !important;}
	.fz22 {font-size: 16px !important;}
	.fz24 {font-size: 16px !important;}
	.fz30 {font-size: 18px !important;}
	.fz32 {font-size: 23px !important;}
	.fz38 {font-size: 23px !important;}
	.fz52 {font-size: 23px !important;}
	.fz56 {font-size: 28px !important;}
	.fz66 {font-size: 32px !important;}
	.fz68 {font-size: 35px !important;}
	.mgb12 {margin-bottom: 8px !important;}
	.mgb15, .mgb20 {margin-bottom: 10px !important;}
	.mgb30, .mgb40 {margin-bottom: 20px !important;}
	.mgb50 {margin-bottom: 25px !important;}
	.mgb80 {margin-bottom: 35px !important;}
	.mgb100 {margin-bottom: 40px !important;}
	.mgb120 {margin-bottom: 60px !important;}
	#footer {padding: 30px 0;}
	.sitelogo img {height: 30px;}
	#footer .contain {flex-direction: column; gap: 0; padding-left: 16px; padding-right: 16px;}
	.f-right {text-align: left; margin-top: 20px;}
	.f-link button {margin-left: 0;}
	.path-wrap {padding-top: 75px; padding-bottom: 35px;}
	.path-wrap .home {padding-right: 10px;}
	.path-wrap .home a {width: 15px; height: 13px;}
	.path-wrap .page-name {padding: 0 10px; font-size: 14px;}
	.real-cont {padding-bottom: 60px;}
	.modal .modal-box {padding: 30px 20px;}
}

/* 본문 문의 버튼 (메인 첫 화면 + 서비스·회사소개 페이지 하단) */
.cta-btn {display: inline-flex; align-items: center; gap: 16px; padding: 16px 36px; border-radius: 40px; background: var(--orange); color: var(--black); font-weight: 700; font-size: 20px; line-height: 1.4; transition: background .2s, transform .2s;}
.cta-btn:hover {background: #e67e00; transform: translateY(-2px);}
.cta-btn:focus-visible {outline: 3px solid var(--orange); outline-offset: 3px; box-shadow: 0 0 0 3px #fff;}
.page-cta {padding: 100px 0; background: var(--black); color: #fff; text-align: center;}
.page-cta .fz22 {color: var(--light-gray);}
.page-cta .cta-note {margin-top: 24px; font-size: 14px; color: var(--gray);}
[id] {scroll-margin-top: var(--header-height);}
@media (max-width: 640px) {
	.page-cta {padding: 60px 0;}
	.cta-btn {padding: 13px 26px; font-size: 17px; gap: 10px;}
	.page-cta .cta-note {font-size: 13px;}
}
