/* Scroll Animation */
@media (prefers-reduced-motion: no-preference){
	section:has(:where([data-scroll_effect="slide_left"], [data-scroll_effect="slide_right"])){ overflow: hidden; }
	[data-scroll_effect="clip_right"]{ clip-path: inset(0 100% 0 0); transition: .8s; }
	[data-scroll_effect="slide_up"]{ transform: translateY(20rem); opacity: 0; transition: .6s; }
	[data-scroll_effect="slide_left"]{ transform: translateX(20rem); opacity: 0; transition: .6s; }
	[data-scroll_effect="slide_right"]{ transform: translateX(-20rem); opacity: 0; transition: .6s; }
	[data-scroll_effect*="flip_"]{ backface-visibility: hidden; }
	[data-scroll_effect="flip_up"]{ transform: perspective(2500rem) rotateX(-100deg); transition: .6s; }
	[data-scroll_effect="clip_right"].effect_active{ clip-path: inset(0); }
	[data-scroll_effect*="slide_"].effect_active{ transform: translate(0); opacity: 1; }
	[data-scroll_effect*="flip_"].effect_active{ transform: perspective(2500rem) rotateX(0deg); }
	[data-scroll_effect_delay="50"].effect_active{ transition-delay: .05s; }
	[data-scroll_effect_delay="100"].effect_active{ transition-delay: .1s; }
	[data-scroll_effect_delay="150"].effect_active{ transition-delay: .15s; }
	[data-scroll_effect_delay="200"].effect_active{ transition-delay: .2s; }
	[data-scroll_effect_delay="250"].effect_active{ transition-delay: .25s; }
	[data-scroll_effect_delay="300"].effect_active{ transition-delay: .3s; }
	[data-scroll_effect_delay="350"].effect_active{ transition-delay: .35s; }
	[data-scroll_effect_delay="400"].effect_active{ transition-delay: .4s; }
	[data-scroll_effect_delay="450"].effect_active{ transition-delay: .45s; }
	[data-scroll_effect_delay="500"].effect_active{ transition-delay: .5s; }
	[data-scroll_effect_delay="600"].effect_active{ transition-delay: .6s; }
	[data-scroll_effect_delay="700"].effect_active{ transition-delay: .7s; }
	[data-scroll_effect_column] [data-scroll_effect].effect_active{ transition-delay: calc(var(--index) * calc(var(--delay) * 1ms)); }

	/* data-scroll_effect_delay */
	@media (min-width: 768px){
		[data-scroll_effect].effect_active [data-scroll_effect]{ transform: translate(0); opacity: 1; }
	}

	@media (max-width: 1279px){
		[data-scroll_effect_column] [data-scroll_effect*="slide_"]{ transform: translateY(20px); }
		[data-scroll_effect_column] [data-scroll_effect*="slide_"].effect_active{ transform: translate(0); }
	}

	@media (max-width: 1279px) and (min-width: 768px){
		:is([data-scroll_effect_column="3"], [data-scroll_effect_column="4"]) > *:nth-child(odd){ transition-delay: 0s; }
		:is([data-scroll_effect_column="3"], [data-scroll_effect_column="4"]) > *:nth-child(even){ transition-delay: calc(var(--delay) * 1ms); }
		:is([data-scroll_effect_column="5"], [data-scroll_effect_column="6"]) > *:nth-child(4){ transition-delay: calc((var(--index) - 1 ) * calc(var(--delay) * 1ms)); }
		:is([data-scroll_effect_column="5"], [data-scroll_effect_column="6"]) > *:nth-child(5){ transition-delay: calc((var(--index) - 2 ) * calc(var(--delay) * 1ms)); }
		:is([data-scroll_effect_column="5"], [data-scroll_effect_column="6"]) > *:nth-child(6){ transition-delay: calc((var(--index) - 3 ) * calc(var(--delay) * 1ms)); }
	}

	@media (max-width: 767px){
		#wrap [data-scroll_effect_delay]{ transition-delay: 0s; }
		[data-scroll_effect_column] > *:nth-child(odd){ transition-delay: 0s; }
		[data-scroll_effect_column] > *:nth-child(even){ transition-delay: calc(var(--delay) * 1ms); }
	}

	@keyframes svgAni{
		0%{ stroke-dashoffset: var(--stroke-dash); }
		100%{ stroke-dashoffset: 0; }
	}
	svg.scroll_effect{ stroke-dasharray: var(--stroke-dash); stroke-dashoffset: var(--stroke-dash); opacity: 1; transform: translate(0); }
	svg.active{ animation: svgAni 1s linear both; }
}

.container{ position: relative; margin: 0 auto; max-width: calc(var(--container) * 1rem); width: calc(var(--inner-width) * 100%); }
.container--wide{ max-width: 1750rem; }
.inr{ position: relative; margin: 0 auto; max-width: calc(var(--inner) * 1rem); width: calc(var(--inner-width) * 100%); z-index: 2; }
/*.inr{ position: relative; margin: 0 auto; max-width: calc(var(--inner) * 1rem); width: calc(var(--inner-width) * 100%); height: 100%; z-index: 2; }*/
.inr.wide{ max-width: 1820rem; }
.inr.narrow{ max-width: 1280rem; }
.wrapper{ margin: 0 auto; max-width: calc(var(--inner) * 1rem); width: calc(var(--inner-width) * 100%); }

/* header */
:root{
	--header_height: 100rem;
}
.header{ height: var(--header_height); }
#header{ position: absolute; width: 100%; z-index: 99; }
.header__inr{ display: flex; justify-content: space-between; align-items: center; }
.header__inr.agree_sub{justify-content: center;align-content: center;flex-direction: column; margin-top:100rem;}

.logo{ display: inline-block; position: relative; }
.logo__a{ display: block; font-size: 0; }
.logo__img{ height: calc( var(--header_height) * .57); min-height: 20px; font-size: 1rem; }

#header nav{ display: flex; align-items: center; position: relative; height: 100%; }
#header .gnb{ display: flex; position: relative; margin-right: 47rem; height: 100%; }
#header .gnb > li{ display: inline-block; position: relative; height: 100%; pointer-events: auto; }
#header .gnb [data-gnb="1"]{ display: flex; align-items: center; height: 100%; padding: 0 44.5rem; font-size: var(--font_size20); font-weight: 500; }
#header .gnb > li:hover > [data-gnb="1"]{ color: var(--primary); }
#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; z-index: 99; }
#header .gnb li:hover .sub_menu{ visibility: visible; top: 80%; opacity: 1; }
#header .gnb .sub_menu li a{ display: block; padding: 14px; color: #333; border-top: 1px solid #ddd; font-size: 14px; text-align: center; }
#header .gnb .sub_menu li a:hover{ background: var(--primary); color: #fff; }
#header .gnb .sub_menu li:first-child a{ border-top: 0; }

.area_util{font-size:40rem; color:#bd0000; font-weight:900;}
.bar{width:350px; height:1px;background:#fff;margin:20px;}

@media (max-width: 1279px){
	:root{
		--header_height: 80rem;
	}
	#header .gnb{ display: none; }
	.bar{width:50%;}
}


/* mobile-menu */
.btn_menu{ display: inline-flex; flex-direction: column; justify-content: space-around; position: relative; width: 3.125em; height: 3.125em; padding: .8125em; background: #ffc641; border-radius: 2em; box-sizing: border-box; font-size: 1rem; color: inherit; z-index: 90; }
.btn_menu span{ display: block; width: 100%; height: 2px; background: currentcolor; }

.btn_menu{ position: relative; width: 25px; height: 25px; background: 0; box-sizing: border-box; color: inherit; z-index: 90; }
.btn_menu span{ display: block; margin-left: auto; width: 100%; height: 1px; background: currentcolor; }
.btn_menu span + span{ margin-top: 7px; }

/* 모바일 메뉴 */
.m_gnb{ overflow: hidden auto; position: fixed; top: 0; right: 0; transform: translateX(100%); max-width: 280rem; width: 100%; height: 100%; background: var(--white); transition-timing-function: ease-out; z-index: 999; }
.m_gnb .header{ display: flex; align-items: center; justify-content: flex-end; height: var(--header_height); }
.m_gnb > ul > li > a{ display: block; position: relative; padding: 15rem 25rem; border-bottom: 1rem solid #eaeaea; color: #424242; transition: all .3s ease 0s; }
.m_gnb > ul > li:first-child > a{ border-top: 1rem solid #eaeaea; }
.m_gnb > ul > li > a.open::before{ content: ''; display: block; position: absolute; top: 50%; transform: translateY(-50%); right: 10rem; width: 11rem; height: 7rem; background: url('../images/common/menu_button.svg') no-repeat 50% 0; transition: all .4s ease 0s; background-size: 100%; }
.m_gnb > ul > li > a.active::before{ transform: translateY(-50%) rotate(180deg); }
.m_gnb .sub_menu{ display: none; background: #efefef; }
.m_gnb .sub_menu > li{ border-bottom: 1rem solid #dedede; }
.m_gnb .sub_menu > li > a{ position: relative; display: block; padding: 15rem 25rem; font-size: 14rem; color: var(--black); }

.m_gnb .btn_close{ opacity: 0; flex: 0 0 25rem; display: block; position: relative; margin-right: -100vw; width: 22rem; height: 22rem; background: 0; font-size: 0; }
.m_gnb.active{ transform: translateX(0); }
.m_gnb.active .btn_close{ opacity: 1; margin-right: 15rem; }

.m_gnb .btn_close::before,
.m_gnb .btn_close::after{ content: ''; display: block; position: absolute; top: 50%; left: 0; width: 100%; height: 1rem; background: var(--black); transform: translateY(-50%) rotate(45deg); }
.m_gnb .btn_close::after{ transform: translateY(-50%) rotate(-45deg); }

.cover{ position: fixed; width: 100%; height: 100%; left: 0; top: 0; background: rgba(0, 0, 0, .4); z-index: 995; visibility: hidden; opacity: 0; }
.cover.active{ visibility: visible; opacity: 1; }

@media (prefers-reduced-motion: no-preference){
	#header .gnb > li > .sub_menu{ transition: .3s; }
	.m_gnb{ transition-duration: .5s; }
	.m_gnb .btn_close{ transition: .8s; }
	.cover{ transition: .4s; }
}

/* footer */
#footer{ padding: 50rem 0 50rem; background: #111; color: #999; }
/* .footer__inr{ display: flex; justify-content: space-between; gap: 1.5em; } */
#footer .footer_links{ display: flex; gap: 26rem; }
#footer .footer_links li{ position: relative; }
#footer .footer_links li + li::before{ content: ''; position: absolute; inset: 6rem auto 8rem -13rem; border-left: 1rem solid #ccc; }
.footer__address{ display: flex; flex-wrap: wrap; gap: 4rem 32rem; }