<!-- 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;
background-color: #000000;
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;
}
.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: 100%;
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: #ffffff;
background-color: #EE252D;
}
/* 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: -1px;
color: #E60012;
}
.content_ttl02 {
margin-top: 24px !important;
font-size: 32px;
font-weight: 700;
line-height: 100%;
letter-spacing: -1px;
color: #000000;
}
.content_ttl03 {
margin-top: 12px !important;
font-size: 20px;
font-weight: 500;
line-height: 100%;
letter-spacing: -1px;
color: #000000;
}
/* content01 */
.content._01 {
background-image: url(https://image.a-rt.com/art/editor/202604/1777360609392.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: center;
}
.content01_coupon_wrap {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 16px;
max-width: 416px;
margin: 40px auto 0 !important;
user-select: none;
}
.content01_coupon_wrap:nth-of-type(2) {
margin: 0 auto !important;
}
.content01_coupon_wrap:nth-of-type(2)::before {
content: '';
display: block;
width: 30px;
height: 30px;
margin: 30px auto !important;
background-image: url(https://image.a-rt.com/art/editor/202604/1777360870276.png);
background-repeat: no-repeat;
background-size: cover;
background-position: center;
}
.content01_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/managing/event/20251230_happy_newyear/abc/mo/img/content01_coupon_img.png);
background-repeat: no-repeat;
background-size: cover;
}
.content01_coupon_ttl_wrap {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
}
.content01_coupon_ttl {
font-size: 16px;
font-weight: 500;
line-height: 100%;
}
.content01_coupon_text_wrap {
display: flex;
justify-content: space-between;
align-items: flex-end;
width: 100%;
}
.content01_coupon_discount {
display: flex;
justify-content: flex-end;
align-items: flex-end;
margin-left: 28px !important;
}
.content01_coupon_wrap:nth-of-type(2) .content01_coupon_discount {
margin-left: 2px !important;
}
.content01_coupon_discount .dis_plus {
font-size: 32px;
font-weight: 400;
line-height: 100%;
}
.content01_coupon_discount .dis_num {
font-size: 60px;
font-weight: 700;
line-height: 80%;
letter-spacing: -3px;
}
.content01_coupon_discount .dis_per {
margin-left: 3px !important;
font-size: 32px;
font-weight: 700;
line-height: 100%;
}
.content01_coupon_name {
font-size: 15px;
font-weight: 500;
line-height: 120%;
letter-spacing: -0.45px;
text-align: right;
}
.content01_coupon_dl_btn {
display: flex;
justify-content: center;
align-items: center;
gap: 5px;
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;
}
.content01_coupon_dl_ico {
max-width: 19px;
}
.btn-md_wrap {
display: flex;
justify-content: center;
align-items: center;
width: 416px;
height: 64px;
margin: 14px auto 0 !important;
}
.btn-md {
display: flex;
justify-content: center;
align-items: center;
gap: 5px;
color: #ffffff;
}
.content01_caution_ico {
max-width: 16px;
}
.content01_caution_txt {
font-size: 16px;
font-weight: 600;
line-height: 100%;
letter-spacing: -0.64px;
color: #000000;
}
/* content02 */
.content._02 {
background-color: #FFF5C3;
}
.content02_list {
display: flex;
flex-wrap: wrap;
gap: 16px;
max-width: 856px;
margin: 40px auto 0 !important;
}
.content02_list li {
width: 420px;
background-image: url(https://image.a-rt.com/art/editor/202604/1777360621716.png);
background-repeat: no-repeat;
background-size: cover;
background-position: center;
}
.content02_list li a {
display: flex;
justify-content: space-between;
align-items: center;
padding: 18px 116px 18px 26px;
}
.content02_list li a img {
width: 128px !important;
}
.content02_list li a > span {
font-size: 18px;
font-weight: 500;
line-height: 140%;
letter-spacing: -1px;
text-align: right;
color: #000000;
}
.content02_list li a > span > span {
font-weight: 700;
}
/* content03 */
.content._03 {
background-image: url(https://image.a-rt.com/art/editor/202604/1777360707021.jpg);
}
.content03_swiper {
width: 788px;
height: 454px;
margin: 40px auto 0 !important;
overflow: hidden;
}
.content03_swiper .swiper-wrapper {
align-items: center;
}
.content03_swiper .swiper-slide {
position: relative;
width: 320px;
height: 454px;
transition: transform 0.3s;
transform: scale(0.875, 0.8766);
z-index: 1;
position: relative;
}
.content03_swiper .swiper-slide a span {
position: absolute;
display: flex;
justify-content: center;
align-items: center;
width: 264px;
height: 64px;
bottom: 28px;
left: 50%;
transform: translateX(-50%);
border-radius: 10px;
font-size: 16px;
font-weight: 500;
line-height: 100%;
color: #ffffff;
background-color: #000000;
}
.content03_swiper .swiper-slide-active a span {
background-color: #DC0011;
}
.content03_swiper .swiper-slide-active {
position: relative;
transform: scale(1);
z-index: 5;
}
.content03_swiper .swiper-slide:not(.swiper-slide-active)::after {
content: '';
position: absolute;
inset: 0;
border-radius: 10px;
background-color: rgba(0, 0, 0, 0.4);
}
.content03_swiper .swiper-slide-prev,
.content03_swiper .swiper-slide-next {
z-index: 2;
}
.content03_swiper .swiper-slide-duplicate-prev,
.content03_swiper .swiper-slide-duplicate-next,
.content03_swiper .swiper-slide-duplicate-active {
opacity: 0;
}
/* content04 */
.content._04 {
background-image: url(https://image.a-rt.com/art/editor/202604/1777360743259.jpg);
}
.content04_list {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 12px;
margin: 40px auto 0 !important;
}
.content04_list li {
position: relative;
max-width: 241px;
}
.content04_list li span {
position: absolute;
width: 100%;
left: 50%;
bottom: 32px;
transform: translateX(-50%);
font-size: 26px;
font-weight: 500;
line-height: 100%;
letter-spacing: -1px;
color: #ffffff;
}
/* content05 */
.content._05 {
background-image: url(https://image.a-rt.com/art/editor/202604/1777360788316.jpg);
}
.content05_img {
position: relative;
max-width: 480px;
margin: 40px auto 0 !important;
}
.content05_img::after {
content: '';
position: absolute;
width: 614px;
height: 297px;
top: 31px;
left: -50px;
background-image: url(https://image.a-rt.com/art/editor/202604/1777360974797.png);
background-repeat: no-repeat;
background-size: cover;
background-position: center;
}
.content05_btn {
display: flex;
justify-content: center;
align-items: center;
width: 416px;
height: 64px;
margin: 30px auto 0 !important;
font-size: 16px;
font-weight: 500;
line-height: 100%;
letter-spacing: -1px;
color: #ffffff;
background-color: #000000;
}
/* content06 */
.content._06 {
background-image: url(https://image.a-rt.com/art/editor/202604/1777360841124.jpg);
}
.content._06 .content_ttl03 {
line-height: 120%;
}
.content06_img_wrap {
display: flex;
gap: 32px;
max-width: 712px;
margin: 40px auto 0 !important;
}
.content06_img_box {
max-width: 340px;
}
.content06_img_box a {
display: flex;
flex-direction: column;
align-items: center;
}
.content06_img_box a img {
border-radius: 20px 20px 0 0;
}
.content06_img_box a span {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 64px;
border-radius: 0 0 20px 20px;
font-size: 16px;
font-weight: 500;
line-height: 100%;
letter-spacing: -1px;
color: #ffffff;
}
.content06_img_wrap .content06_img_box:nth-of-type(1) a span {
background-color: #076426;
}
.content06_img_wrap .content06_img_box:nth-of-type(2) a span {
background-color: #033544;
}
/* banner_wrap */
.banner_link {
position: relative;
display: block;
}
.banner_link span {
position: absolute;
display: inline-flex;
align-items: center;
gap: clamp(5px, 0.34vw, 6.5px);
right: clamp(105px, 7.29vw, 140px);
top: 50%;
transform: translateY(-50%);
font-size: clamp(12px, 0.83vw, 16px);
font-weight: 400;
line-height: 100%;
letter-spacing: -0.64px;
color: #ffffff;
}
.banner_link span::after {
content: '';
display: block;
width: clamp(4px, 0.31vw, 6px);
height: clamp(8px, 0.57vw, 11px);
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="5월 함께 신발도 다 함께!" src="https://image.a-rt.com/art/editor/202604/1777360882306.jpg" /></div>
<!-- GNB -->
<nav id="tabNav">
<ul class="tablist" role="tablist">
<li aria-controls="tabpanel1" class="tab" id="tab1" role="tab"><a href="#tabpanel1">5월 쿠폰 팩</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">이달의 슈즈</a></li>
<li aria-controls="tabpanel4" class="tab" id="tab4" role="tab"><a href="#tabpanel4">ABC PLUS</a></li>
<li aria-controls="tabpanel5" class="tab" id="tab5" role="tab"><a href="#tabpanel5">선물하기</a></li>
<li aria-controls="tabpanel6" class="tab" id="tab6" role="tab"><a href="#tabpanel6">이벤트</a></li>
</ul>
</nav>
<div aria-labelledby="tab1" class="art-content-inner cnt content _01" id="tabpanel1">
<p class="content_ttl01">패밀리 혜택 1.</p>
<p class="content_ttl02">온라인 단독 패밀리 쿠폰팩</p>
<p class="content_ttl03">멤버십 회원만 누리는 전용 혜택</p>
<div class="content01_coupon_wrap">
<div class="content01_coupon">
<div class="content01_coupon_ttl_wrap">
<p class="content01_coupon_ttl">MAY TOGETHER</p>
</div>
<div class="content01_coupon_text_wrap">
<p class="content01_coupon_discount"><span class="dis_num">10</span> <span class="dis_per">%</span></p>
<p class="content01_coupon_name">스니커즈/스포츠<br />
전용 쿠폰</p>
</div>
</div>
<div class="content01_coupon">
<div class="content01_coupon_ttl_wrap">
<p class="content01_coupon_ttl">MAY TOGETHER</p>
</div>
<div class="content01_coupon_text_wrap">
<p class="content01_coupon_discount"><span class="dis_num">10</span> <span class="dis_per">%</span></p>
<p class="content01_coupon_name">슬라이드/샌들<br />
전용 쿠폰</p>
</div>
</div>
<div class="content01_coupon">
<div class="content01_coupon_ttl_wrap">
<p class="content01_coupon_ttl">MAY TOGETHER</p>
</div>
<div class="content01_coupon_text_wrap">
<p class="content01_coupon_discount"><span class="dis_num">12</span> <span class="dis_per">%</span></p>
<p class="content01_coupon_name">구두/캐주얼<br />
전용 쿠폰</p>
</div>
</div>
</div>
<div class="content01_coupon_wrap">
<div class="content01_coupon">
<div class="content01_coupon_ttl_wrap">
<p class="content01_coupon_ttl">GIFT COUPON</p>
</div>
<div class="content01_coupon_text_wrap">
<p class="content01_coupon_discount"><span class="dis_plus">+</span> <span class="dis_num">6,000</span> <span class="dis_per">원</span></p>
<p class="content01_coupon_name">중복<br />
할인 쿠폰</p>
</div>
</div>
</div>
<a class="content01_coupon_dl_btn" href="javascript:abc.couponDown('3000001055','3000001054','3000001056','3000001057')"><span class="content01_coupon_dl_txt">쿠폰 전체 다운로드</span> <span class="content01_coupon_dl_ico"> <img alt="" src="https://image.a-rt.com/art/managing/event/20251230_happy_newyear/abc/mo/img/content01_coupon_dl_ico.png" /> </span> </a>
<div class="btn-md_wrap"><a class="btn-md" data-href="#modal1" href="javascript:void(0);"><span class="content01_caution_ico"> <img alt="" src="https://image.a-rt.com/art/managing/event/20251230_happy_newyear/abc/mo/img/content01_caution_ico.png" /></span> <span class="content01_caution_txt">유의사항</span> </a></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/05/01 - 2026/06/04 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">패밀리 혜택 2.</p>
<p class="content_ttl02">우리 가족 신발 추천</p>
<p class="content_ttl03">우리 가족에게 딱 필요한 상품 둘러보기</p>
<ul class="content02_list">
<li><a href="#prodContent1"><img alt="" src="https://image.a-rt.com/art/editor/202604/1777360645799.png" /> <span> <span>스니커즈</span><br />
보러 가기 </span> </a></li>
<li><a href="#prodContent2"><img alt="" src="https://image.a-rt.com/art/editor/202604/1777360657145.png" /> <span> <span>스포츠 슈즈</span><br />
보러 가기 </span> </a></li>
<li><a href="#prodContent3"><img alt="" src="https://image.a-rt.com/art/editor/202604/1777360667059.png" /> <span> <span>슬라이드</span><br />
보러 가기 </span> </a></li>
<li><a href="#prodContent4"><img alt="" src="https://image.a-rt.com/art/editor/202604/1777360675594.png" /> <span> <span>샌들</span><br />
보러 가기 </span> </a></li>
<li><a href="#prodContent5"><img alt="" src="https://image.a-rt.com/art/editor/202604/1777360689398.png" /> <span> <span>구두/캐주얼</span><br />
보러 가기 </span> </a></li>
<li><a href="#prodContent6"><img alt="" src="https://image.a-rt.com/art/editor/202604/1777360698201.png" /> <span> <span>키즈 슈즈</span><br />
보러 가기 </span> </a></li>
</ul>
</div>
<div aria-labelledby="tab3" class="art-content-inner cnt content _03" id="tabpanel3">
<p class="content_ttl01">패밀리 혜택 3.</p>
<p class="content_ttl02">우리 가족의 여름 준비</p>
<p class="content_ttl03">다가오는 여름을 시원한 샌들로 준비하세요</p>
<div class="content03_swiper swiper">
<div class="swiper-wrapper">
<div class="swiper-slide"><a href="https://www.a-rt.com/display/webzine/detail/main?wbznSeq=2196" target="_blank"><img alt="" src="https://image.a-rt.com/art/editor/202604/1777360715773.png" /> <span>남성 컬렉션</span> </a></div>
<div class="swiper-slide"><a href="https://www.a-rt.com/display/webzine/detail/main?wbznSeq=2195" target="_blank"><img alt="" src="https://image.a-rt.com/art/editor/202604/1777360725272.png" /> <span>여성 컬렉션</span> </a></div>
<div class="swiper-slide"><a href="https://www.a-rt.com/display/webzine/detail/main?wbznSeq=2194" target="_blank"><img alt="" src="https://image.a-rt.com/art/editor/202604/1777360734479.png" /> <span>키즈 컬렉션</span> </a></div>
</div>
</div>
</div>
<div aria-labelledby="tab4" class="art-content-inner cnt content _04" id="tabpanel4">
<p class="content_ttl01">패밀리 혜택 4.</p>
<p class="content_ttl02">ABC PLUS 특별 혜택</p>
<p class="content_ttl03">온라인 단독 브랜드로 온가족 취향 맞춤</p>
<ul class="content04_list">
<li><a href="https://abcmart.a-rt.com/promotion/planning-display/detail?plndpNo=2000006828" target="_blank"><img alt="" src="https://image.a-rt.com/art/editor/202604/1777360752107.png" /> <span>신발</span> </a></li>
<li><a href="https://abcmart.a-rt.com/promotion/planning-display/detail?plndpNo=2000006829" target="_blank"><img alt="" src="https://image.a-rt.com/art/editor/202604/1777360762398.png" /> <span>의류</span> </a></li>
<li><a href="https://abcmart.a-rt.com/promotion/planning-display/detail?plndpNo=2000006831" target="_blank"><img alt="" src="https://image.a-rt.com/art/editor/202604/1777360770860.png" /> <span>용품</span> </a></li>
<li><a href="https://abcmart.a-rt.com/promotion/planning-display/detail?plndpNo=2000006830" target="_blank"><img alt="" src="https://image.a-rt.com/art/editor/202604/1777360779750.png" /> <span>키즈</span> </a></li>
</ul>
</div>
<div aria-labelledby="tab5" class="art-content-inner cnt content _05" id="tabpanel5">
<p class="content_ttl01">패밀리 혜택 5.</p>
<p class="content_ttl02">중복 할인 받고 선물하기</p>
<p class="content_ttl03">소중한 분에게 감사한 마음을 전해보세요</p>
<div class="content05_img"><img alt="A-RT.COM 선물하기" src="https://image.a-rt.com/art/editor/202604/1777360798590.png" /></div>
<a class="content05_btn" href="https://abcmart.a-rt.com/promotion/event/detail?eventNo=2000001137" target="_blank">자세히 보러 가기 </a></div>
<div aria-labelledby="tab6" class="art-content-inner cnt content _06" id="tabpanel6">
<p class="content_ttl01">패밀리 혜택 6.</p>
<p class="content_ttl02">가정의 달 이벤트</p>
<p class="content_ttl03">참여할수록 커지는 혜택!<br />
멤버십 회원을 위한 경품 이벤트</p>
<div class="content06_img_wrap">
<div class="content06_img_box"><a href="https://www.a-rt.com/promotion/event/detail?eventNo=2000002267" target="_blank"><img alt="My Brand 등록 이벤트" src="https://image.a-rt.com/art/editor/202604/1777360851695.png" /> <span>자세히 보러 가기</span> </a></div>
<div class="content06_img_box"><a href="https://www.a-rt.com/promotion/event/detail?eventNo=2000002266" target="_blank"><img alt="가정의 달 기념 체크인 스탬프 이벤트" src="https://image.a-rt.com/art/editor/202604/1777360860253.png" /> <span>자세히 보러 가기</span> </a></div>
</div>
</div>
<div class="art-content-inner banner_wrap"><a class="banner_link" href="https://grandstage.a-rt.com/promotion/planning-display/detail?plndpNo=2000006834" target="_blank"><img alt="FAMILY TOGETHER SALE" src="https://image.a-rt.com/art/editor/202604/1777360593157.jpg" /> <span>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 () {
$('.btn-md').on('click', function () {
const openBtn = $(this);
const mdCnt = $($(this).attr('data-href'));
const closeBtn = mdCnt.find('.btn-close');
const first = mdCnt.find('[data-link="first"]');
const last = mdCnt.find('[data-link="last"]');
const mainHeight = $('.art-container-event').outerHeight();
$('body').css({
height: mainHeight
}).addClass('md-open');
mdCnt.siblings().attr({
'aria-hidden': true,
inert: ''
});
mdCnt.before('<div id="dim"></div>');
const dim = $('#dim');
dim.stop().fadeIn().next().css('visibility', 'visible');
first.on('keydown', function (e) {
if (e.shiftKey && e.keyCode === 9) {
e.preventDefault();
last.focus();
}
});
last.on('keydown', function (e) {
if (!e.shiftKey && e.keyCode === 9) {
e.preventDefault();
first.focus();
}
});
closeBtn.on('click', function () {
$('body').css({
height: ''
}).removeClass('md-open');
dim.stop().fadeOut(function () {
$(this).remove();
});
mdCnt.css('visibility', 'hidden').siblings().removeAttr('aria-hidden inert');
openBtn.focus();
});
dim.on('click', function () {
closeBtn.trigger('click');
});
$(window).on('keydown', function (e) {
if (e.keyCode === 27) closeBtn.click();
});
});
});
</script><!-- content03_swiper --><script>
(function () {
function init() {
const el = document.querySelector('.content03_swiper');
if (!el || typeof Swiper === 'undefined' || el.classList.contains('initialized')) return;
el.classList.add('initialized');
function getSpace() {
const slide = el.querySelector('.swiper-slide');
if (!slide) return 0;
const w = slide.getBoundingClientRect().width;
return -(w * (67 / 280));
}
const swiper = new Swiper(el, {
slidesPerView: 'auto',
centeredSlides: true,
loop: true,
loopedSlides: 3,
loopAdditionalSlides: 3,
speed: 600,
spaceBetween: 0,
grabCursor: true,
on: {
init: function () {
requestAnimationFrame(() => {
this.params.spaceBetween = getSpace();
this.update();
});
},
resize: function () {
this.params.spaceBetween = getSpace();
this.update();
}
}
});
window.addEventListener('load', function () {
swiper.params.spaceBetween = getSpace();
swiper.update();
});
setTimeout(function () {
swiper.params.spaceBetween = getSpace();
swiper.update();
}, 100);
}
document.addEventListener('DOMContentLoaded', init);
window.addEventListener('load', init);
new MutationObserver(init).observe(document.body, {
childList: true,
subtree: true
});
})();
</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><!-- E : 이벤트 복사영역 여기까지 -->