<!-- S : 이벤트 복사영역 여기서부터 -->
<style type="text/css">/* font */
@font-face {
font-family: 'WavvePADO-Regular';
src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2404@1.0/WavvePADO-Regular.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'establishRetrosansOTF';
src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2112@1.0/establishRetrosansOTF.woff') format('woff');
font-weight: normal;
font-style: normal;
}
/* root */
:root {
--abc-head: 80px;
--abc-color: #f3d700;
--abc-font: 'WavvePADO-Regular', sans-serif;
--gs-head: 94px;
--gs-color: #38ec59;
--gs-font: 'establishRetrosansOTF', sans-serif;
}
/* common */
.art-container-event {
position: relative;
width: 100%;
max-width: 1920px;
margin: 0 auto;
text-align: center;
}
.art-container-event .bg-wrap {
background: url('https://image.a-rt.com/art/managing/event/20241114_black_abc/gs/pc/bg2.jpg') no-repeat left bottom / cover;
}
.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(--gs-head);
display: flex;
justify-content: center;
gap: 2px;
font-family: var(--gs-font) !important;
background-color: #fff;
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
z-index: 2;
width: 100%;
}
#tabNav li {
font-size: 26px;
line-height: 90px;
color: #fff;
background-color: #000;
transition: all 0.3s;
width: 100%;
}
#tabNav li:hover,
#tabNav li.active {
color: #000;
background-color: var(--gs-color);
}
#tabNav li a {
display: block;
width: 100%;
height: 100%;
}
/* video */
.video-wrap {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
width: 62.5%;
}
.video-wrap .video-ratio {
position: relative;
height: 0;
padding-top: 56.25%;
}
.video-wrap iframe {
position: absolute;
top: 0;
left: 0;
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/20241114_black_abc/gs/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">이벤트</a></li>
</ul>
<div class="bg-wrap"><!-- 비디오 -->
<div class="art-content-inner video"><img alt="" src="https://image.a-rt.com/art/managing/event/20241114_black_abc/gs/pc/video.png" />
<div class="video-wrap">
<div class="video-ratio"><iframe src="https://play.wecandeo.com/playlist/?playlistKey=n4ACCxv8QZZ7W8WXRufqMisdnpA8I43sqk8pLR5npBPEie&playerKey=GH4f7mv0FtxhisK1vepXXIAieie"></iframe></div>
</div>
</div>
<!-- 브랜드 -->
<div aria-labelledby="tab1" class="art-content-inner cnt" id="tabpanel1"><img src="https://image.a-rt.com/art/managing/event/20241114_black_abc/gs/pc/1.png" usemap="#map1" /><map name="map1"><area alt="나이키" coords="352,286,650,524" href="https://grandstage.a-rt.com/promotion/planning-display/detail?plndpNo=2000005364" shape="rect" target="_blank" /> <area alt="아디다스" coords="658,288,952,520" href="https://grandstage.a-rt.com/promotion/planning-display/detail?plndpNo=2000005365" shape="rect" target="_blank" /> <area alt="반스" coords="964,288,1258,520" href="https://grandstage.a-rt.com/promotion/planning-display/detail?plndpNo=2000005366" shape="rect" target="_blank" /> <area alt="푸마" coords="1274,292,1560,518" href="https://grandstage.a-rt.com/promotion/planning-display/detail?plndpNo=2000005367" shape="rect" target="_blank" /> <area alt="컨버스" coords="354,528,650,762" href="https://grandstage.a-rt.com/promotion/planning-display/detail?plndpNo=2000005368" shape="rect" target="_blank" /> <area alt="휠라" coords="662,528,954,766" href="https://abcmart.a-rt.com/promotion/planning-display/detail?plndpNo=2000005358" shape="rect" target="_blank" /> <area alt="라코스테" coords="962,528,1260,766" href="https://abcmart.a-rt.com/promotion/planning-display/detail?plndpNo=2000005359" shape="rect" target="_blank" /> <area alt="크록스" coords="1266,528,1566,760" href="https://grandstage.a-rt.com/promotion/planning-display/detail?plndpNo=2000005371" shape="rect" target="_blank" /></map></div>
<!-- 카테고리 -->
<div aria-labelledby="tab2" class="art-content-inner cnt" id="tabpanel2"><img src="https://image.a-rt.com/art/managing/event/20241114_black_abc/gs/pc/2.png" usemap="#map2" /><map name="map2"><area alt="스니커즈" coords="354,294,1562,436" href="#prodContent1" shape="rect" /> <area alt="러닝화" coords="356,440,1564,588" href="#prodContent2" shape="rect" /> <area alt="의류" coords="356,596,1564,732" href="#prodContent3" shape="rect" /> <area alt="잡화" coords="354,738,1562,884" href="#prodContent4" shape="rect" /></map></div>
<!-- 쿠폰 -->
<div aria-labelledby="tab3" class="art-content-inner cnt" id="tabpanel3"><img src="https://image.a-rt.com/art/managing/event/20241114_black_abc/gs/pc/3.png" usemap="#map3" /><map name="map3"><area alt="쿠폰 - 7천원" coords="552,285,955,483" href="javascript:abc.couponDown('2000001915')" shape="rect" /> <area alt="쿠폰 - 8천원" coords="964,281,1364,483" href="javascript:abc.couponDown('2000001916')" shape="rect" /> <area alt="쿠폰 모두 받기" coords="712,524,1202,650" href="javascript:abc.couponDown('2000001915', '2000001916')" shape="rect" /> <area alt="쿠폰 유의사항" aria-haspopup="dialog" class="btn-md" coords="886,654,1032,712" data-href="#modal1" href="#;" shape="rect" /></map></div>
<!-- 이벤트 -->
<div aria-labelledby="tab4" class="art-content-inner cnt" id="tabpanel4"><img src="https://image.a-rt.com/art/managing/event/20241114_black_abc/gs/pc/4.png" usemap="#map4" /><map name="map4"><area alt="룰렛 이벤트" coords="472,292,954,616" href="https://www.a-rt.com/promotion/event/detail?eventNo=2000002129" shape="rect" target="_blank" /> <area alt="댓글 이벤트" coords="962,288,1446,620" href="https://www.a-rt.com/display/webzine/detail/main?wbznSeq=1776&wbznType=N" shape="rect" target="_blank" /></map></div>
</div>
<!-- 하단 띠배너 -->
<div class="art-content-inner banner"><a href="https://abcmart.a-rt.com/promotion/planning-display/detail/main?plndpNo=2000005349" target="_blank"><img alt="ABC-MART 혜택 보러 가기" src="https://image.a-rt.com/art/managing/event/20241114_black_abc/gs/pc/banner.jpg" /> </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>해당 쿠폰은 온라인에서만 사용 가능합니다.</li>
<li>쿠폰은 멤버십 회원 대상이며, ID당 다운로드 횟수는 제한될 수 있습니다.</li>
<li>쿠폰은 11월 15일부터 12월 12일까지 다운로드 및 사용 가능합니다.</li>
<li>쿠폰에 따라 발급 수량이 다를 수 있습니다.</li>
<li>다운로드한 쿠폰은 마이페이지 > 쇼핑 혜택 > 쿠폰 리스트에서 확인 가능합니다.</li>
<li>본 이벤트는 당사 사정에 의해 사전 고지 없이 내용 변경 및 조기 종료될 수 있습니다.</li>
<li class="spot">일부 브랜드 및 상품은 쿠폰 적용이 불가할 수 있습니다.</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><!-- 모달 스크립트 --><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><!-- GNB 스크립트 --><script>
$(function () {
const topSpace = 184;
$(document).ready(function () {
$('#tabNav li a').on('click', function (e) {
e.preventDefault();
$('html, body')
.stop()
.animate({ scrollTop: $($(this).attr('href')).offset().top - topSpace }, 0);
});
});
$(window).on('scroll', function () {
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');
} else {
$(this).removeClass('active');
$('#' + $(this).attr('aria-labelledby')).removeClass('active');
}
});
});
});
</script><!-- E : 이벤트 복사영역 여기까지 -->