@charset "utf-8";

:root{ --header-height: 100rem; }
@media(max-width: 1279px){
	:root{ --header-height: 80rem; }
}

/* inner */
:where(.inr, .wrapper){ 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 */
header{ position: absolute; inset: 0 0 auto; height: var(--header-height); color: var(--white); z-index: 10;
	.inr{ display: grid; grid-template-columns: 1fr auto; align-items: center; height: 100%; }
	@media(min-width:1280px){
		.inr{ grid-template-columns: 1fr auto 1fr; }
	}
}

/* logo */
.logo {}
.logo img {width: 200rem;}
.logo-bk {display: none;}


/* gnb */
header nav{ position: relative; translate: -1px 2px; display: flex; align-items: 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 41.5rem; font-size: 17rem; font-weight: 500; }
header .gnb .sub_menu{ visibility: hidden; position: absolute; top: 75%; left: 50%; transform: translateX(-50%); min-width: 145px; padding: 10px 0; width: max-content; background: var(--primary); border-radius: 12rem 0 12rem 0; opacity: 0; }
header .gnb li:hover .sub_menu{ visibility: visible; top: 80%; opacity: 1; }
header .gnb [data-gnb="2"]{ display: block; padding: 10px 0; font-size: 15px; text-align: center; color: var(--white);}
header .gnb [data-gnb="2"]:hover {opacity: .5;}
header .gnb .sub_menu li:first-child [data-gnb="2"]{ border-top: 0; }

@media(prefers-reduced-motion:no-preference){
	.gnb .sub_menu{ transition: .4s; }
}
@media(max-width: 1279px){
	header nav{ display: none; }
	.logo img {width: 180rem;}
}
@media(max-width: 767px){
	.logo img {width: 150rem;}
}
/* mobile-menu */
.menu-btn{ justify-self: end; position: relative; display: inline-flex; align-items: center; gap: 10rem; background: 0; font: 600 14rem var(--font-pre); color: inherit; white-space: nowrap; z-index: 1;
	.bar-wrapper{ position: relative; display: inline-block; width: 13rem; height: 13rem; }
	.bar{ position: absolute; top: 50%; display: block; width: 100%; height: 2px; background: currentcolor; }
	.bar:nth-child(1){ translate: 0 -3rem; }
	.bar:nth-child(2){ translate: 0 2rem; }
}
.mGnb-open .menu-btn{  }
@media(prefers-reduced-motion:no-preference){
	.btn-menu .bar{ transition: .4s; }
}

/* 모바일 메뉴 */
.mGnb{ overflow: hidden auto; display: flex; align-items: center; position: fixed; top: 0; right: 0; max-width: 500rem; width: 100%; height: 100%; background: var(--white); z-index: 3; }
body:not(.mGnb-open) .mGnb{ transform: translateX(100%); visibility: hidden; }
.mGnb .close-btn{ position: absolute; top: 30px; right: 30px; display: block; width: 25px; height: 25px; background: 0; font-size: 0; }
body:not(.mGnb-open) .close-btn{ margin-right: -100vw; }
.mGnb .close-btn::before,
.mGnb .close-btn::after{ content: ''; position: absolute; top: 50%; left: 0; display: block;  width: 100%; height: 1px; background: var(--black); transform: translateY(-50%) rotate(45deg); }
.mGnb .close-btn::after{ transform: translateY(-50%) rotate(-45deg); }
.mGnb [data-gnb="1"]{position: relative; display: block; width: 100%; text-align: left; font-size: var(--fs35); color:#333; font-weight: 700;}
.mGnb [data-gnb="1"]:hover {color: var(--primary)}
.mGnb [data-gnb="1"][aria-expanded="true"]{color: var(--primary)}
.mGnb > ul {width: 100%; padding: 0 50rem; box-sizing: border-box;}
.mGnb > ul > li + li {padding-top: 32rem;}
.mGnb [data-gnb="1"]:has(+[aria-expanded]){ display: none; }
.mGnb [data-gnb="1"][aria-expanded="true"]::before{ transform: translateY(-50%) rotate(180deg); }
.mGnb .sub_menu {margin-top: 15rem;}
.mGnb .sub_menu:not(.isVisible){ display: none; }
.mGnb [data-gnb="2"]{ position: relative; display: block; font-size: var(--fs20); font-weight: 500; color: #888; padding: 8rem 0;}
.mGnb [data-gnb="2"]:hover{color: var(--primary);}
.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 .close-btn{ transition: .8s; }
	.mGnb [data-gnb="1"]{ transition: .3s; }
	.mGnb [data-gnb="1"][aria-expanded]::before{ transition: .4s; }
	.cover{ transition: .4s; }
}
@media(max-width:767px){
	.mGnb .close-btn {top: 15px; right: 15px;}
	.mGnb [data-gnb="1"]{font-size: 20px; text-align: center;}
	.mGnb [data-gnb="2"] {font-size: 16px; text-align: center;}
}

/* quick */
.quick {position: fixed; bottom: 30rem; right: 30rem; z-index: 20;}
.quick a {display: flex; justify-content: center; width: 55rem; height: 55rem; border-radius: 50%; color: #fff;}
.quick a.insta {background: linear-gradient(to bottom right, #efa921, #da2449, #9c3b90, #595da7);}
.quick a.insta img {width: 20rem;}
.quick a.blog {background: #3db15b; margin-top: 12rem;}
.quick a.blog img {width: 22rem;}

@media(max-width:767px){
	.quick {bottom: 20rem; right: 15rem;}
	.quick a {width: 40rem; height: 40rem;}
	.quick a.insta img {width: 18rem;}
	.quick a.blog img {width: 20rem;}
	.quick a.blog {margin-top: 8rem;}
}

/* footer */
footer{ padding: 54rem 0 57rem; background: #222; border-top: 1px solid rgba(255, 255, 255, 0.15); color: #fff; }
footer .links{ display: flex; gap: 5rem; font: 300 14rem/1.5 var(--font-pre); }
footer .links a{ display: inline-block; padding: 14rem 25rem 14rem 25rem; border: 1px solid color-mix(in srgb, currentColor 10%, #0000); }
footer .address{ display: flex; flex-wrap: wrap; gap: 12rem 60rem; max-width: 1000rem; font-weight: 300; color: rgba(255, 255, 255, 0.6); }
footer .address b{ font-weight: 500; }
footer .item{ display: flex; gap: 12rem; }
footer .copyright{ margin-top: 23rem; font-weight: 300; color: rgba(255, 255, 255, 0.4);}
@media(min-width:1280px){
	footer .inr{ display: flex; flex-direction: row-reverse; align-items: flex-start; justify-content: space-between; }
	footer .info{ margin-top: -4rem; }
}
@media(max-width:1279px){
	footer .address{ margin-top: 40rem; }
}