<!-- S : 이벤트 복사영역 여기서부터 -->
<style type="text/css">/* font */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard-dynamic-subset.css');
/* root */
:root {
--head: 80px !important;
}
/* common */
body {
min-width: 1440px;
margin: 0;
padding: 0;
}
body * {
box-sizing: border-box;
}
.wrap .special-sub-wrap .sub-top .editor-wrap {
min-width: 1440px;
}
.art-container-event {
position: relative;
width: 100%;
max-width: 1920px;
margin: 0 auto;
text-align: center;
font-family: Pretendard, sans-serif !important;
}
.art-content-inner {
position: relative;
margin: 0 auto;
overflow: hidden;
}
.art-container-event ul {
margin: 0;
padding: 0;
list-style: none;
}
.art-container-event p {
margin: 0;
padding: 0;
}
.art-container-event a {
text-decoration: none;
-webkit-tap-highlight-color: transparent;
}
.art-container-event a:focus {
outline: none;
}
.art-content-inner img {
display: block;
width: 100%;
}
/* main */
.main {
position: relative;
max-width: 100%;
overflow: hidden;
}
/* gnb */
#tabNav {
position: sticky;
top: var(--head);
z-index: 2;
}
#tabNav .tablist {
display: flex;
align-items: center;
overflow: hidden;
overflow-x: auto;
font-family: var(--font) !important;
white-space: nowrap;
transition: all 0.3s;
-ms-overflow-style: none;
/* IE, Edge */
scrollbar-width: none;
/* Firefox */
}
#tabNav .tablist::-webkit-scrollbar {
display: none;
/* 크롬, 사파리, 오페라 등 Webkit 기반 브라우저 */
}
#tabNav li {
position: relative;
width: 100%;
height: 64px;
transition: all 0.3s;
}
#tabNav li a {
position: relative;
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
font-size: 20px;
font-weight: 500;
line-height: 1;
letter-spacing: -0.8px;
color: #ACACAC;
background-color: #222222;
transition: all 0.3s;
}
#tabNav li.active a,
#tabNav li a:hover {
font-weight: 700;
color: #000000;
background: #FDF4B0;
}
/* content common */
.content {
padding: 64px 0;
background-repeat: no-repeat;
background-size: cover;
background-position: center;
}
.content_ttl01 {
position: relative;
display: inline-block;
font-size: 16px;
font-weight: 600;
line-height: 100%;
letter-spacing: -0.64px;
}
.content_ttl02 {
margin-top: 24px !important;
font-size: 32px;
font-weight: 700;
line-height: 100%;
letter-spacing: -1.12px;
}
.content_ttl03 {
margin-top: 12px !important;
font-size: 20px;
font-weight: 400;
line-height: 100%;
letter-spacing: -0.8px;
}
.content_coupon_wrap {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
max-width: 416px;
margin: 40px auto 0 !important;
user-select: none;
}
.content_coupon {
position: relative;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: flex-start;
width: 416px;
height: 138px;
padding: 14px 28px 23px;
background-image: url(https://image.a-rt.com/art/editor/202607/1782865919287.png);
background-repeat: no-repeat;
background-size: cover;
}
.content_coupon_ttl_wrap {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
}
.content_coupon_ttl {
font-size: 16px;
font-weight: 500;
line-height: 100%;
letter-spacing: -0.64px;
}
.content_coupon_text_wrap {
display: flex;
justify-content: space-between;
align-items: flex-end;
width: 100%;
}
.content_coupon_discount {
display: flex;
justify-content: flex-end;
align-items: flex-end;
margin-left: 30px !important;
}
.content_coupon_discount .dis_num {
font-size: 60px;
font-weight: 700;
line-height: 80%;
letter-spacing: -3px;
}
.content_coupon_discount .dis_per {
margin-left: 3px !important;
font-size: 32px;
font-weight: 700;
line-height: 100%;
}
.content_coupon_name {
font-size: 15px;
font-weight: 500;
line-height: 120%;
letter-spacing: -0.45px;
text-align: right;
}
.content_coupon_dl_btn {
display: flex;
justify-content: center;
align-items: center;
width: 416px;
height: 64px;
margin: 30px auto 0 !important;
color: #FFFFFF;
background-color: #000000;
font-size: 16px;
font-weight: 500;
line-height: 100%;
letter-spacing: -0.64px;
text-decoration: unset;
transition: all 0.3s;
}
.content_coupon_dl_btn:hover {
filter: invert(1);
transition: all 0.3s;
}
.content_coupon_dl_btn span {
display: flex;
align-items: center;
gap: 5px;
}
.btn-md_wrap {
display: flex;
justify-content: center;
align-items: center;
width: 416px;
height: 64px;
margin: 12px auto 0 !important;
}
.btn-md {
display: flex;
justify-content: center;
align-items: center;
gap: 5px;
color: #ffffff;
}
.content_caution_ico {
width: 16px;
height: 16px;
background-image: url(https://image.a-rt.com/art/editor/202608/1787121276237.png);
background-repeat: no-repeat;
background-size: cover;
background-position: center;
}
.content_caution_txt {
font-size: 16px;
font-weight: 600;
line-height: 100%;
letter-spacing: -0.64px;
color: #000000;
}
.hover {
transform: translateY(0);
transition: all 0.3s;
}
.hover:hover {
transform: translateY(-5px);
transition: all 0.3s;
}
/* content01 */
.content._01 {
background-image: url(https://image.a-rt.com/art/editor/202608/1787120646260.png);
}
.content._01 .content_ttl01 {
color: #2A2A2A;
}
.content._01 .content_ttl02,
.content._01 .content_ttl03 {
color: #000000;
}
/* content02 */
.content._02 {
background-image: url(https://image.a-rt.com/art/editor/202608/1787120756039.png);
}
.content._02 .content_ttl01 {
color: #2A2A2A;
}
.content._02 .content_ttl02,
.content._02 .content_ttl03 {
color: #000000;
}
.content._02 .content_ttl02 span {
color: #F4530E;
}
.content._02 .content_list {
display: flex;
flex-wrap: wrap;
gap: 16px;
justify-content: center;
max-width: 652px;
margin: 40px auto 0 !important;
}
.content._02 .content_list li {
position: relative;
display: flex;
justify-content: center;
max-width: 206px;
height: 100%;
}
.content._02 .content_list li a {
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
width: 100%;
height: 100%;
padding: 9px 9px 0;
background-color: #ffffff;
border-radius: 9px;
filter:
drop-shadow(18px 24px 9px rgba(170, 163, 136, 0))
drop-shadow(11px 15px 8px rgba(170, 163, 136, 0.01))
drop-shadow(6px 9px 6px rgba(170, 163, 136, 0.05))
drop-shadow(3px 4px 5px rgba(170, 163, 136, 0.09))
drop-shadow(1px 1px 3px rgba(170, 163, 136, 0.1));
}
.content._02 .content_list li a span {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
padding: 18px 9px 15px !important;
font-size: 18px;
font-weight: 600;
line-height: 100%;
letter-spacing: -0.8px;
color: #000000;
}
.content._02 .content_list li a span::after {
content: '';
display: block;
width: 24px;
height: 24px;
background-image: url(https://image.a-rt.com/art/editor/202608/1787120767887.png);
background-repeat: no-repeat;
background-size: cover;
background-position: center;
}
/* content03 */
.content._03 {
background-image: url(https://image.a-rt.com/art/editor/202608/1787120844595.png);
}
.content._03 .content_ttl01,
.content._03 .content_ttl02,
.content._03 .content_ttl03 {
color: #000000;
}
.content._03 .content_list {
display: flex;
gap: 16px;
justify-content: center;
margin: 40px auto 0 !important;
}
.content._03 .content_list li {
position: relative;
display: flex;
justify-content: center;
width: 228px;
height: 278px;
}
.content._03 .content_list li a {
display: flex;
justify-content: center;
align-items: flex-end;
width: 100%;
height: 100%;
background-repeat: no-repeat;
background-size: 100%;
background-position: center;
border-radius: 9.6px;
}
.content._03 .content_list li:nth-of-type(1) a {
background-image: url(https://image.a-rt.com/art/editor/202608/1787120853043.png);
}
.content._03 .content_list li:nth-of-type(2) a {
background-image: url(https://image.a-rt.com/art/editor/202608/1787120859167.png);
}
.content._03 .content_list li:nth-of-type(3) a {
background-image: url(https://image.a-rt.com/art/editor/202608/1787120866395.png);
}
.content._03 .content_list li:nth-of-type(4) a {
background-image: url(https://image.a-rt.com/art/editor/202608/1787120873674.png);
}
.content._03 .content_list li a span {
display: block;
width: 100%;
padding: 32px 0 !important;
font-size: 20px;
font-weight: 600;
line-height: 100%;
letter-spacing: -0.8px;
color: #ffffff;
background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, #000 100%);
border-radius: 0 0 9.6px 9.6px;
}
/* content04 */
.content._04 {
background-image: url(https://image.a-rt.com/art/editor/202608/1787120883431.png);
}
.content._04 .content_ttl01,
.content._04 .content_ttl02,
.content._04 .content_ttl03 {
color: #ffffff;
}
.content._04 .content_list {
display: flex;
justify-content: center;
gap: 12px;
margin: 40px auto 0 !important;
}
.content._04 .content_list li {
width: 316px;
background-repeat: no-repeat;
}
.content._04 .content_list li ._info {
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
height: 363px;
padding: 16px 16px 30px;
background-color: #ffffff;
border-radius: 12px;
}
.content._04 .content_list li ._info span:nth-of-type(1) {
display: flex;
justify-content: center;
align-items: center;
align-self: flex-start;
width: 64px;
height: 24px;
font-size: 14px;
font-weight: 600;
line-height: 100%;
letter-spacing: -0.32px;
color: #ffffff;
background-color: #C31926;
border-radius: 6px;
}
.content._04 .content_list li:nth-of-type(1) ._info img {
max-width: 242px;
margin: -2px auto 0 !important;
}
.content._04 .content_list li:nth-of-type(2) ._info img {
max-width: 211px;
margin: 34px auto 0 !important;
}
.content._04 .content_list li ._info span:nth-of-type(2) {
font-size: 20px;
font-weight: 700;
line-height: 146%;
letter-spacing: -0.64px;
color: #000000;
}
.content._04 .content_list li:nth-of-type(1) ._info span:nth-of-type(2) {
margin: 12px auto 0 !important;
}
.content._04 .content_list li:nth-of-type(2) ._info span:nth-of-type(2) {
margin: 26px auto 0 !important;
}
.content._04 .content_list li ._info span:nth-of-type(3) {
margin: 6px auto 0 !important;
font-size: 16px;
font-weight: 400;
line-height: 146%;
letter-spacing: -0.64px;
color: #494949;
}
.content._04 .content_list li a {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 80px;
margin: 16px auto 0 !important;
font-size: 18px;
font-weight: 500;
line-height: 100%;
letter-spacing: -1px;
color: #ffffff;
background-color: #000000;
border-radius: 12px;
transition: all 0.3s;
}
.content._04 .content_list li a:hover {
filter: invert(1);
transition: all 0.3s;
}
/* banner_wrap */
.banner_link {
position: relative;
display: flex;
justify-content: space-between;
align-items: center;
height: 160px;
padding: 0 128px 0 140px !important;
background-image: url(https://image.a-rt.com/art/editor/202608/1787120621312.png);
background-repeat: no-repeat;
background-size: cover;
background-position: center;
opacity: 1;
transition: all 0.3s;
}
.banner_link:hover {
opacity: 0.95;
transition: all 0.3s;
}
.banner_link span._logo {
width: 57px;
}
.banner_link span._txt {
display: flex;
justify-content: center;
align-items: center;
gap: 6.4px;
font-size: 16px;
font-weight: 400;
line-height: 100%;
letter-spacing: -0.64px;
color: #ffffff;
}
.banner_link span._txt::after {
content: '';
display: block;
width: 5px;
height: 10px;
background-image: url(https://image.a-rt.com/art/editor/202602/1772587459380.png);
background-repeat: no-repeat;
background-size: cover;
background-position: center;
}
/* modal */
.md-cnt.notice {
visibility: hidden;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-family: 'Pretendard', sans-serif !important;
background-color: #fff;
padding: 30px;
width: 800px;
height: auto;
z-index: 1000;
}
.md-cnt.notice .md-tit .main {
font-size: 28px;
font-weight: 600;
letter-spacing: -0.05em;
line-height: 1;
border-bottom: 2px solid #000;
margin: 0;
padding-bottom: 30px;
}
.md-cnt.notice .md-txt {
font-size: 18px;
letter-spacing: -0.05em;
line-height: 1.8;
text-align: left;
padding-top: 30px;
}
.md-cnt.notice .md-txt ul {
list-style: inside;
list-style-type: '- ';
text-indent: -11px;
padding-left: 11px;
}
.md-cnt.notice .md-txt li .spot {
font-weight: 600;
background-color: #D0FFDB;
color: #000;
}
.md-cnt.notice .btn-close {
position: absolute;
top: 30px;
right: 30px;
background: url('https://image.a-rt.com/art/managing/event/20230302_NIKE_AIR_MAX_DAY_CAMPAIGN/pc/md/btn2.png') no-repeat center/contain;
width: 27px;
height: 27px;
padding: 0;
border: 0;
text-indent: 100%;
white-space: nowrap;
overflow: hidden;
}
#dim {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
z-index: 999;
cursor: pointer;
}
.md-open {
overflow-y: hidden;
padding-right: 17px;
}
</style>
<!-- s : art-container-event -->
<div class="art-container-event">
<div class="art-content-inner main"><img alt="NEW START FESTA!! 새출발 페스타" src="https://image.a-rt.com/art/editor/202608/1787121296408.jpg" /></div>
<!-- GNB -->
<nav id="tabNav">
<ul class="tablist" role="tablist">
<li aria-controls="tabpanel1" class="tab" id="tab1" role="tab"><a href="#tabpanel1">혜택</a></li>
<li aria-controls="tabpanel2" class="tab" id="tab2" role="tab"><a href="#tabpanel2">추천 카테고리</a></li>
<li aria-controls="tabpanel3" class="tab" id="tab3" role="tab"><a href="#tabpanel3">ABC PLUS</a></li>
<li aria-controls="tabpanel4" class="tab" id="tab4" role="tab"><a href="#tabpanel4">이벤트</a></li>
</ul>
</nav>
<div aria-labelledby="tab1" class="art-content-inner cnt content _01" id="tabpanel1">
<p class="content_ttl01">01. NEW START 혜택</p>
<p class="content_ttl02">온라인 단독 쿠폰</p>
<p class="content_ttl03">멤버십 회원만 누리는 전용 혜택</p>
<div class="ani" data-delay="" data-speed="0.7s" data-threshold="0.3" data-y="-5%">
<div class="content_coupon_wrap">
<div class="content_coupon">
<div class="content_coupon_ttl_wrap">
<p class="content_coupon_ttl">새출발 페스타</p>
</div>
<div class="content_coupon_text_wrap">
<p class="content_coupon_discount"><span class="dis_num">10</span> <span class="dis_per">%</span></p>
<p class="content_coupon_name">신학기<br />
지원 쿠폰</p>
</div>
</div>
</div>
<a class="content_coupon_dl_btn" href="javascript:abc.couponDown('3000001321')"><span class="content_coupon_dl_txt">쿠폰 다운로드</span> </a>
<div class="btn-md_wrap"><a class="btn-md" data-href="#modal1" href="javascript:void(0);"><span class="content_caution_ico"></span><span class="content_caution_txt">유의사항</span> </a></div>
</div>
<!-- 모달창 1 -->
<div aria-labelledby="mdTit1" aria-modal="true" class="md-cnt notice" id="modal1" role="dialog">
<div class="md-tit">
<h4 class="main" id="mdTit1">유의사항</h4>
</div>
<div class="md-txt">
<ul>
<li>쿠폰 다운로드 및 사용 기간 2026/08/21 - 2026/09/17 23:59</li>
<li>쿠폰은 통합멤버십 회원 대상이며, 쿠폰에 따라 다운로드 횟수가 다를 수 있습니다.</li>
<li>일부 상품의 경우 쿠폰 적용 대상에서 제외될 수 있습니다.</li>
<li>다운로드한 쿠폰은 마이 페이지 > 쇼핑 혜택 > 쿠폰 리스트에서 확인 가능합니다.</li>
<li>본 행사는 당사 사정에 의해 사전 고지 없이 내용 변경 및 조기 종료 될 수 있습니다.</li>
<li>쿠폰을 사용하여 주문하신 후 취소/반품 하신 경우, 재발급되지 않습니다.</li>
</ul>
</div>
<button class="btn-close" data-link="last" type="button">닫기</button></div>
</div>
<div aria-labelledby="tab2" class="art-content-inner cnt content _02" id="tabpanel2">
<p class="content_ttl01">02. NEW START 혜택</p>
<p class="content_ttl02"><span>신학기 추천</span> 카테고리</p>
<p class="content_ttl03">지금 나에게 필요한 상품 찾기</p>
<ul class="content_list ani" data-delay="" data-speed="0.7s" data-threshold="0.3" data-y="-5%">
<li class="hover"><a href="#prodContent1"><img alt="" src="https://image.a-rt.com/art/editor/202608/1787120780762.png" /> <span>스니커즈</span> </a></li>
<li class="hover"><a href="#prodContent2"><img alt="" src="https://image.a-rt.com/art/editor/202608/1787120797903.png" /> <span>라이프스타일</span> </a></li>
<li class="hover"><a href="#prodContent3"><img alt="" src="https://image.a-rt.com/art/editor/202608/1787120807703.png" /> <span>슬라이드</span> </a></li>
<li class="hover"><a href="#prodContent4"><img alt="" src="https://image.a-rt.com/art/editor/202608/1787120813069.png" /> <span>스포츠 슈즈</span> </a></li>
<li class="hover"><a href="#prodContent5"><img alt="" src="https://image.a-rt.com/art/editor/202608/1787120819804.png" /> <span>캐주얼</span> </a></li>
<li class="hover"><a href="#prodContent6"><img alt="" src="https://image.a-rt.com/art/editor/202608/1787120826871.png" /> <span>키즈 슈즈</span> </a></li>
</ul>
</div>
<div aria-labelledby="tab3" class="art-content-inner cnt content _03" id="tabpanel3">
<p class="content_ttl01">03. NEW START 혜택</p>
<p class="content_ttl02">READY FOR A NEW START</p>
<p class="content_ttl03">새로운 출발을 위한 데일리 스타일을 만나보세요</p>
<ul class="content_list ani" data-delay="" data-speed="0.7s" data-threshold="0.3" data-y="-5%">
<li class="hover"><a href="https://abcmart.a-rt.com/promotion/planning-display/detail/main?plndpNo=2000007080" target="_blank"><span>슈즈</span> </a></li>
<li class="hover"><a href="https://abcmart.a-rt.com/promotion/planning-display/detail/main?plndpNo=2000007081" target="_blank"><span>어패럴</span> </a></li>
<li class="hover"><a href="https://abcmart.a-rt.com/promotion/planning-display/detail/main?plndpNo=2000007082" target="_blank"><span>키즈</span> </a></li>
<li class="hover"><a href="https://abcmart.a-rt.com/promotion/planning-display/detail?plndpNo=2000007083" target="_blank"><span>용품</span> </a></li>
</ul>
</div>
<div aria-labelledby="tab4" class="art-content-inner cnt content _04" id="tabpanel4">
<p class="content_ttl01">04. NEW START 혜택</p>
<p class="content_ttl02">3백만 회원 감사 이벤트</p>
<p class="content_ttl03">지금 응모하고 주인공이 되어보세요</p>
<ul class="content_list ani" data-delay="" data-speed="0.7s" data-threshold="0.3" data-y="-5%">
<li>
<div class="_info"><span>이벤트 01</span> <img alt="" src="https://image.a-rt.com/art/editor/202608/1787120891818.png" /> <span>스탬프 이벤트</span> <span>스탬프 3개만 모으면<br />
누구나 참여 가능!<br />
조각케이크 경품 증정</span></div>
<a href="https://www.a-rt.com/promotion/event/detail?eventNo=2000002284" target="_blank">응모하러 가기</a></li>
<li>
<div class="_info"><span>이벤트 02</span> <img alt="" src="https://image.a-rt.com/art/editor/202608/1787121261743.png" /> <span>행운의 잭팟 이벤트</span> <span>매일 1번 참여 가능!<br />
기프트카드 5만원권,<br />
30% 할인 쿠폰 등 증정</span></div>
<a href="https://www.a-rt.com/promotion/event/detail?eventNo=2000002286" target="_blank">응모하러 가기</a></li>
</ul>
</div>
<div class="art-content-inner banner_wrap"><a class="banner_link" href="https://grandstage.a-rt.com/promotion/planning-display/detail?plndpNo=2000007079" target="_blank"><span class="_logo"> <img alt="" src="https://image.a-rt.com/art/editor/202608/1787120635519.png" /> </span> <span class="_txt">GRAND STAGE 혜택 보러 가기</span> </a></div>
</div>
<!-- e : art-container-event --><!-- GNB 스크립트 --><script>
$(document).ready(function () {
const topSpace = 144;
function onScroll() {
const scrollY = Math.ceil($(window).scrollTop() + topSpace);
$('.art-content-inner.cnt').each(function () {
const cntTop = Math.floor($(this).offset().top);
const cntBtm = cntTop + $(this).height();
if (scrollY >= cntTop && scrollY < cntBtm) {
$(this).addClass('active');
$('#' + $(this).attr('aria-labelledby'))
.addClass('active')
.siblings()
.removeClass('active');
} else {
$(this).removeClass('active');
$('#' + $(this).attr('aria-labelledby')).removeClass('active');
}
});
}
$('#tabNav li a').on('click', function (event) {
event.preventDefault();
$('html, body')
.stop()
.animate({
scrollTop: $($(this).attr('href')).offset().top - topSpace
}, 0);
});
$(window).on('scroll', onScroll);
});
</script><!-- 모달 스크립트 --><script>
$(document).ready(function () {
const focusableSelector = [
'a[href]',
'button:not([disabled])',
'input:not([disabled])',
'select:not([disabled])',
'textarea:not([disabled])',
'[tabindex]:not([tabindex="-1"])'
].join(',');
let activeModal = null;
let activeOpenBtn = null;
function openModal(openBtn, modal) {
const mainHeight = $('.art-container-event').outerHeight();
activeModal = modal;
activeOpenBtn = openBtn;
$('body').css({
height: mainHeight
}).addClass('md-open');
modal.siblings().attr({
'aria-hidden': true,
inert: ''
});
$('#dim').remove();
modal.before('<div id="dim"></div>');
const dim = $('#dim');
dim.stop().fadeIn();
modal.css('visibility', 'visible');
const focusableItems = modal.find(focusableSelector).filter(':visible');
const firstFocus = focusableItems.first();
const lastFocus = focusableItems.last();
if (firstFocus.length) {
firstFocus.focus();
}
modal.off('keydown.modalFocus').on('keydown.modalFocus', function (e) {
if (e.key !== 'Tab' && e.keyCode !== 9) return;
if (!focusableItems.length) return;
if (e.shiftKey && document.activeElement === firstFocus[0]) {
e.preventDefault();
lastFocus.focus();
}
if (!e.shiftKey && document.activeElement === lastFocus[0]) {
e.preventDefault();
firstFocus.focus();
}
});
dim.off('click.modalDim').on('click.modalDim', function () {
closeModal();
});
$(window).off('keydown.modalEsc').on('keydown.modalEsc', function (e) {
if (e.key === 'Escape' || e.keyCode === 27) {
closeModal();
}
});
}
function closeModal() {
if (!activeModal || !activeModal.length) return;
const iframe = activeModal.find('iframe');
if (iframe.length) {
iframe.attr('src', iframe.attr('src'));
}
$('body').css({
height: ''
}).removeClass('md-open');
$('#dim').stop().fadeOut(function () {
$(this).remove();
});
activeModal
.css('visibility', 'hidden')
.siblings()
.removeAttr('aria-hidden inert');
activeModal.off('keydown.modalFocus');
$(window).off('keydown.modalEsc');
if (
activeOpenBtn &&
activeOpenBtn.length &&
$.contains(document, activeOpenBtn[0])
) {
activeOpenBtn.focus();
}
activeModal = null;
activeOpenBtn = null;
}
$('.btn-md').off('click.modalOpen').on('click.modalOpen', function (e) {
e.preventDefault();
const openBtn = $(this);
const target = openBtn.attr('data-href');
const modal = $(target);
if (!modal.length) return;
openModal(openBtn, modal);
});
$('.md-cnt .btn-close').off('click.modalClose').on('click.modalClose', function () {
closeModal();
});
});
</script><!-- 1920px 스크립트 --><script>
function editorCalcWidth() {
var width_size = $(window).width();
if (width_size > 1200) $('.editor-wrap').css({width: width_size});
}
$(document).ready(function () {
editorCalcWidth();
});
$(window).on('scroll resize', function () {
editorCalcWidth();
});
</script><!-- 애니메이션 --><script>
(function () {
function waitImagesLoaded(container, callback) {
const imgs = Array.from(container.querySelectorAll('img'));
if (!imgs.length) return callback();
let loaded = 0;
function check() {
loaded++;
if (loaded === imgs.length) callback();
}
imgs.forEach(img => {
if (img.complete) {
check();
} else {
img.addEventListener('load', check, { once: true });
img.addEventListener('error', check, { once: true });
}
});
}
function initAni() {
const style = document.createElement("style");
style.textContent = `
.ani{
--ani-x:0;
--ani-y:0;
--ani-speed:.7s;
--ani-delay:0s;
opacity:0;
transform:translate(var(--ani-x),var(--ani-y));
transition:
opacity var(--ani-speed) var(--ani-delay),
transform var(--ani-speed) var(--ani-delay);
}
.ani.on{
opacity:1;
transform:translate(0,0);
}
.ani.z_index1{position:relative;z-index:1;}
.ani.z_index2{position:relative;z-index:2;}
.ani.z_index3{position:relative;z-index:3;}
@keyframes aniMove{
from{
opacity:0;
transform:translate(var(--ani-x),var(--ani-y));
}
to{
opacity:1;
transform:translate(0,0);
}
}`;
document.head.appendChild(style);
document.querySelectorAll(".ani").forEach(el => {
if (el.dataset.x) el.style.setProperty("--ani-x", el.dataset.x);
if (el.dataset.y) el.style.setProperty("--ani-y", el.dataset.y);
if (el.dataset.speed) el.style.setProperty("--ani-speed", el.dataset.speed);
if (el.dataset.delay) el.style.setProperty("--ani-delay", el.dataset.delay);
const threshold = parseFloat(el.dataset.threshold) || 0;
const io = new IntersectionObserver(entries => {
entries.forEach(e => {
if (e.isIntersecting) {
e.target.classList.add("on");
io.unobserve(e.target);
}
});
}, {
threshold: threshold
});
io.observe(el);
});
}
const container = document.querySelector('.art-container-event');
if (!container) return;
waitImagesLoaded(container, initAni);
})();
</script><!-- E : 이벤트 복사영역 여기까지 -->