<!-- S : 이벤트 복사영역 여기서부터 -->
<style type="text/css">/* font */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard-dynamic-subset.css');
@font-face {
font-family: 'PyeongChang-Bold';
src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2206-02@1.0/PyeongChang-Bold.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}
/* root */
:root {
--head: 80px;
--font: 'PyeongChang-Bold', sans-serif;
--bg-color: #ffcf67;
}
/* common */
.art-container-event {
position: relative;
width: 100%;
max-width: 1920px;
margin: 0 auto;
text-align: center;
}
.art-content-inner {
position: relative;
/* display: flex;
justify-content: center; */
margin: 0 auto;
overflow: hidden;
}
.art-content-inner img {
display: block;
width: 100%;
}
/* gnb */
#tabNav {
position: sticky;
top: var(--head);
display: flex;
justify-content: center;
gap: 2px;
font-family: var(--font) !important;
background-color: #fff;
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
transition: all 0.3s;
z-index: 2;
width: 100%;
}
#tabNav li {
font-size: 26px;
line-height: 80px;
color: #fff;
background-color: #006cba;
transition: all 0.3s;
width: 100%;
}
#tabNav li:hover,
#tabNav li.active {
color: #000;
background-color: var(--bg-color);
}
#tabNav li a {
display: block;
width: 100%;
height: 100%;
}
/* 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;
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: -12px;
padding-left: 12px;
}
.md-cnt.notice .md-txt li.spot {
color: #ee1c25;
font-weight: 600;
}
.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;
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="" src="https://image.a-rt.com/art/managing/event/20241230_monthly/abc/pc/main.jpg" /></div>
<!-- GNB -->
<ul id="tabNav" 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">이벤트</a></li>
<li aria-controls="tabpanel4" class="tab" id="tab4" role="tab"><a href="#tabpanel4">ABC PLUS</a></li>
</ul>
<!-- 쿠폰 -->
<div aria-labelledby="tab1" class="art-content-inner cnt" id="tabpanel1"><img src="https://image.a-rt.com/art/managing/event/20241230_monthly/abc/pc/cnt1.jpg" usemap="#map1" /><map name="map1"><area alt="뱀띠 전용 20% 할인 쿠폰" coords="750,222,1192,440" href="javascript:abc.couponDown('2000002085')" shape="rect" /> <area alt="10% 할인 쿠폰" coords="520,448,930,646" href="javascript:abc.couponDown('2000002087')" shape="rect" /> <area alt="3천원 중복 할인 쿠폰" coords="982,450,1390,644" href="javascript:abc.couponDown('2000002089')" shape="rect" /> <area alt="쿠폰 유의사항" aria-haspopup="dialog" class="btn-md" coords="876,660,1030,726" data-href="#modal1" href="#;" shape="rect" /></map> <img src="https://image.a-rt.com/art/managing/event/20241230_monthly/abc/pc/obj.jpg" /></div>
<!-- 카테고리 -->
<div aria-labelledby="tab2" class="art-content-inner cnt" id="tabpanel2"><img src="https://image.a-rt.com/art/managing/event/20241230_monthly/abc/pc/cnt2.jpg" usemap="#map2" /><map name="map2"><area alt="스니커즈" coords="214,240,580,608" href="https://abcmart.a-rt.com/promotion/planning-display/detail/main?isPreview=A&plndpNo=2000005519#prodContent1" shape="rect" /> <area alt="러닝화" coords="590,244,952,604" href="https://abcmart.a-rt.com/promotion/planning-display/detail/main?isPreview=A&plndpNo=2000005519#prodContent2" shape="rect" /> <area alt="캐주얼" coords="962,240,1330,604" href="https://abcmart.a-rt.com/promotion/planning-display/detail/main?isPreview=A&plndpNo=2000005519#prodContent3" shape="rect" /> <area alt="키즈" coords="1338,246,1702,604" href="https://abcmart.a-rt.com/promotion/planning-display/detail/main?isPreview=A&plndpNo=2000005519#prodContent4" shape="rect" /></map> <img src="https://image.a-rt.com/art/managing/event/20241230_monthly/abc/pc/obj.jpg" /></div>
<!-- 이벤트 -->
<div aria-labelledby="tab3" class="art-content-inner cnt" id="tabpanel3"><img src="https://image.a-rt.com/art/managing/event/20241230_monthly/abc/pc/cnt3.jpg" usemap="#map3" /><map name="map3"><area alt="100% 당첨 룰렛 이벤트 참여하기" coords="546,520,838,616" href="https://www.a-rt.com/promotion/event/detail?eventNo=2000002157" shape="rect" target="_blank" /> <area alt="신년 댓글 이벤트 참여하기" coords="1084,518,1362,612" href="https://www.a-rt.com/promotion/event/detail?eventNo=2000002151" shape="rect" target="_blank" /></map> <img src="https://image.a-rt.com/art/managing/event/20241230_monthly/abc/pc/obj.jpg" /></div>
<!-- PLUS -->
<div aria-labelledby="tab4" class="art-content-inner cnt" id="tabpanel4"><img src="https://image.a-rt.com/art/managing/event/20241230_monthly/abc/pc/cnt4.jpg" usemap="#map4" /><map name="map4"><area alt="신발" coords="338,234,742,494" href="https://abcmart.a-rt.com/promotion/planning-display/detail?plndpNo=2000005522" shape="rect" target="_blank" /> <area alt="의류" coords="754,238,1158,492" href="https://abcmart.a-rt.com/promotion/planning-display/detail?plndpNo=2000005523" shape="rect" target="_blank" /> <area alt="키즈" coords="1170,236,1576,492" href="https://abcmart.a-rt.com/promotion/planning-display/detail?plndpNo=2000005524" shape="rect" target="_blank" /></map></div>
<!-- 하단 띠배너 -->
<div class="art-content-inner banner"><a href="https://grandstage.a-rt.com/promotion/planning-display/detail?plndpNo=2000005520" target="_blank"><img alt="GRAND STAGE 혜택 보러 가기" src="https://image.a-rt.com/art/managing/event/20241230_monthly/abc/pc/banner.jpg" /> </a><a href="https://abcmart.a-rt.com/promotion/planning-display/detail/main?plndpNo=2000005526" target="_blank"><img alt="시즌오프" src="https://image.a-rt.com/art/editor/202501/1735811727675.jpg" /></a></div>
<!-- 모달창 -->
<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>쿠폰은 멤버십 회원 대상이며, ID당 다운로드 횟수는 제한될 수 있습니다.</li>
<li>쿠폰은 01월 03일부터 02월 06일까지 다운로드 및 사용 가능합니다.</li>
<li>쿠폰에 따라 발급 수량이 다를 수 있습니다.</li>
<li>다운로드한 쿠폰은 마이페이지 > 쇼핑 혜택 > 쿠폰 리스트에서 확인 가능합니다.</li>
<li>본 이벤트는 당사 사정에 의해 사전 고지 없이 내용 변경 및 조기 종료될 수 있습니다.</li>
<li class="spot">일부 브랜드 및 상품은 쿠폰 적용이 불가할 수 있습니다.</li>
<li class="spot">20% 할인 쿠폰은 뱀띠 회원만 다운 및 사용 가능한 전용 쿠폰입니다.</li>
</ul>
</div>
<button class="btn-close" data-link="last" type="button">닫기</button></div>
</div>
<!-- e : art-container-event --><!-- 1920px 스크립트 --><script>
function editorCalcWidth() {
var width_size = $(window).width();
if (width_size > 1200) $('.editor-wrap').css({ width: width_size });
}
function fixImageMaps(force) {
var imgs = document.querySelectorAll('img[usemap]');
[].forEach.call(imgs, function (img) {
if (!img.naturalHeight) {
return;
}
var h = img.height / img.naturalHeight;
var w = img.width / img.naturalWidth;
var map = document.getElementsByName(img.useMap.slice(1))[0];
if (!map) {
return;
}
for (var i = 0; i < map.children.length; i++) {
var area = map.children[i];
if (!area.coords) {
continue;
}
var coords = area.coords;
if (!area.originalCoords) {
area.originalCoords = coords;
} else {
coords = area.originalCoords;
}
var split = coords.split(',');
var fixed = '';
split.forEach(function (coord, n) {
if (n != 0) {
fixed += ',';
}
fixed += n % 2 == 0 ? Number(coord) * w : Number(coord) * h;
});
area.coords = fixed;
}
});
}
$(document).ready(function () {
editorCalcWidth();
fixImageMaps();
});
$(window).on('scroll resize', function () {
editorCalcWidth();
fixImageMaps();
});
</script><!-- GNB 스크립트 --><script>
$(document).ready(function () {
const topSpace = 160;
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><!-- E : 이벤트 복사영역 여기까지 -->