/* inner */
.wrapper{ position: relative; margin: 0 auto; max-width: calc(var(--inr) * 1rem); width: calc(var(--inr-width) * 100%); }
.inr{ position: relative; margin: 0 auto; max-width: calc(var(--inr) * 1rem); width: calc(var(--inr-width) * 100%); }
.inr-wide{ max-width: calc(var(--inr-wide) * 1rem); }
.inr-narrow{ max-width: calc(var(--inr-narrow) * 1rem); }

/* header */
:root{ --header-height: clamp(80rem, calc( 110 / var(--inr) * 100vw ), 110rem); }
header{ position: absolute; width: 100%; height: var(--header-height); z-index: 10; color: #fff; }
header *{ letter-spacing: -.025em; }
header .inr{ display: grid; align-items: center; height: 100%; }
.logo{ justify-self: start; position: relative; display: inline-block; }
.logo__img{ display: block; width: auto; height: clamp(40rem, calc( 49 / var(--inr) * 100vw ), 49rem); }
@media(min-width:1280px){
	header .inr{ grid-template-columns: auto 1fr auto; }
}
@media(max-width:1279px){
	header .inr{ grid-template-columns: auto 1fr; }
}

/* gnb */
header nav{ justify-self: end; position: relative; margin-right: 60rem; display: flex; align-items: center; justify-content: center; height: 100%; }
header .gnb{ position: relative; display: flex; height: 100%; }
header .gnb > li{ position: relative; display: inline-block; height: 100%; }
header .gnb [data-gnb="1"]{ display: flex; align-items: center; height: 100%; padding: 0 60rem; font-weight: 500; font-size: 20rem; }
header .gnb .sub_menu{ visibility: hidden; position: absolute; top: 75%; left: 50%; transform: translateX(-50%); min-width: 120px; width: max-content; background: #fff; border: 1px solid #ddd; opacity: 0; }
header .gnb li:hover .sub_menu{ visibility: visible; top: 80%; opacity: 1; }
header .gnb [data-gnb="2"]{ display: block; padding: 14px; color: #333; border-top: 1px solid #ddd; font-size: 14px; text-align: center; }
header .gnb [data-gnb="2"]:hover{ background: var(--primary); color: #fff; }
header .gnb .sub_menu li:first-child [data-gnb="2"]{ border-top: 0; }

/* utility */
.utility{ justify-self: end; display: flex; align-items: center; justify-content: end; gap: 15rem; }
.header-lang{ display: inline-flex; align-items: center; gap: 11rem; padding: 10rem 22rem 10rem 10rem; background: #efefef; border-radius: 5em; font: 700 18rem var(--font-pla); color: #111;
	.icon{ margin-right: 4rem; width: 22rem; height: 22rem; fill: currentColor; }
	.separation{ display: inline-block; width: 1px; height: 17rem; background: #ccc; }
	[lang="ko"] & [href="/eng/"], [lang="en"] & [href="/"]{ color: #aaa; }

}
.btn-inquiry{ display: inline-flex; align-items: baseline; gap: 12rem; padding: 10rem 25rem; background: var(--primary); border-radius: 5em; font-size: 17rem; color: var(--white); }
.btn-inquiry-arrow{ width: 22rem; height: 12rem; }
@media(max-width:767px){
	.btn-inquiry{ display: none; }
}

/* mobile-menu */
.btn-menu{ position: relative; width: 25px; height: 25px; background: 0; color: inherit; z-index: 1; }
.btn-menu span{ display: block; margin-left: auto; width: 100%; height: 1px; background: currentcolor; }
.btn-menu span + span{ margin-top: 7px; }
@media(prefers-reduced-motion:no-preference){
	.gnb .sub_menu,
	.btn-menu span{ transition: .4s; }
}
@media(min-width:1280px){
	.btn-menu{ display: none; }
}
@media(max-width: 1279px){
	header{ position: absolute; inset: 0 0 auto; }
	header nav{ display: none; }
}

/* 모바일 메뉴 */
.mGnb{ overflow: hidden auto; position: fixed; top: 0; right: 0; max-width: 280px; width: 100%; height: 100%; background: var(--white); z-index: 3; }
body:not(.mGnb-open) .mGnb{ transform: translateX(100%); visibility: hidden; }
.mGnb__header{ display: grid; align-items: center; justify-content: flex-end; height: var(--header-height); }
.mGnb .btn_close{ position: relative; margin-right: 15px; display: block; width: 22px; height: 22px; background: 0; font-size: 0; }
body:not(.mGnb-open) .btn_close{ margin-right: -100vw; }
.mGnb .btn_close::before,
.mGnb .btn_close::after{ content: ''; position: absolute; top: 50%; left: 0; display: block;  width: 100%; height: 1px; background: var(--black); transform: translateY(-50%) rotate(45deg); }
.mGnb .btn_close::after{ transform: translateY(-50%) rotate(-45deg); }

.mGnb [data-gnb="1"]{ position: relative; display: block; width: 100%; padding: 15px 25px; border-bottom: 1px solid #eaeaea; text-align: left; font-size: 16px; color: #424242; }
.mGnb > ul > li:first-child > [data-gnb="1"]{ border-top: 1px solid #eaeaea; }
.mGnb [data-gnb="1"]:has(+[aria-expanded]){ display: none; }
.mGnb [data-gnb="1"][aria-expanded]::before{ content: ''; position: absolute; top: 50%; transform: translateY(-50%); right: 10px; display: block; width: 11px; height: 7px; background: url('/images/common/menu_button.svg') no-repeat 50% 0 / contain; }
.mGnb [data-gnb="1"][aria-expanded="true"]::before{ transform: translateY(-50%) rotate(180deg); }
.mGnb .sub_menu{ background: #efefef; }
.mGnb .sub_menu:not(.isVisible){ display: none; }
.mGnb .sub_menu > li{ border-bottom: 1px solid #dedede; }
.mGnb [data-gnb="2"]{ position: relative; display: block; padding: 15px 25px; font-size: 14px; color: var(--black); }

.cover{ position: fixed; width: 100%; height: 100%; left: 0; top: 0; background: rgba(0, 0, 0, .4); visibility: hidden; opacity: 0; z-index: 2; }
.mGnb-open .cover{ visibility: visible; opacity: 1; }
@media(prefers-reduced-motion: no-preference){
	.mGnb{ transition: .5s ease-out, visibility 0s .5s; }
	.mGnb-open .mGnb{ transition-delay: 0s; }
	.mGnb .btn_close{ transition: .8s; }
	.mGnb [data-gnb="1"]{ transition: .3s; }
	.mGnb [data-gnb="1"][aria-expanded]::before{ transition: .4s; }
	.cover{ transition: .4s; }
}

/* footer */
footer{ padding: 60rem 0 58rem; background: #222; color: #fff; }
footer .footerLinks{ flex-shrink: 0; display: flex; gap: 14rem; }
footer .footerLinks__a{ display: inline-block; padding: 8.5rem 24rem; background: rgba(228, 228, 228, 0.1); border-radius: 5em; font-size: 15rem; }
.footer__logo{ width: auto; height: 45rem; }
.footer__address{ margin-top: 28rem; display: flex; flex-wrap: wrap; gap: 3.5rem 25rem; font-size: 15rem; color: #bbb;}
.footer__address.contact{ margin-top: 3.5rem; }
[lang="en"] .footer__address.contact{ flex-direction: column; }
.footer__address .office{ font-weight: 700; color: #fff; }
.footer__address b{ font-weight: 600; color: #fff; }
.footer__copyright{ margin-top: 19rem; font-size: 13rem; color: #aaa; }
@media(min-width:768px){
	footer .inr{ display: flex; flex-direction: row-reverse; align-items: flex-start; justify-content: space-between; gap: 40rem; }
	footer .footerLinks{ margin-top: 3rem; }
}
@media(max-width:767px){
	footer .footerLinks{ margin-bottom: 40rem; grid-template-columns: repeat(2, 1fr); }
}

/* btn-top */
.btn-top{ position: fixed; right: clamp(20rem, calc( 50 / var(--inr) * 100vw ), 50rem); bottom: clamp(20rem, calc( 69 / var(--inr) * 100vw ), 69rem); width: 70rem; height: 70rem; background: #d3d3d3; border: 1px solid currentColor; border-radius: 50%; color: var(--white); z-index: 9; }
.btn-top:not(.isVisible){ visibility: hidden; opacity: 0; }
.btn-top .arrow{ width: 26rem; height: auto; fill: none; stroke: currentColor; stroke-width: 3px; }
@media(prefers-reduced-motion:no-preference){
	.btn-top{ transition: .2s; }
}