<style type="text/css">/* font */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard-dynamic-subset.css');
/* common */
.art-container-event {
width: 1200px;
margin: 0 auto;
text-align: center;
}
.art-content-inner {
position: relative;
width: 100%;
margin: 0 auto;
}
.art-content-inner img {
display: block;
}
/* gnb */
#tabNav {
display: flex;
justify-content: center;
gap: 1px;
font-family: 'Pretendard', sans-serif !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: 22px;
font-weight: 700;
line-height: 80px;
color: #fff;
background-color: #000;
transition: all 0.3s;
width: 100%;
}
#tabNav li:hover,
#tabNav li.active {
color: #000;
background-color: #ffe5a8;
}
#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/20250116_winter/pc/main.jpg" /></div>
<!-- GNB -->
<ul id="tabNav" role="tablist">
<li aria-controls="tabpanel1" class="tab" id="tab1" role="tab"><a href="#prodContent1">단독 가격</a></li>
<li aria-controls="tabpanel2" class="tab" id="tab2" role="tab"><a href="#prodContent2">스포츠 신발</a></li>
<li aria-controls="tabpanel3" class="tab" id="tab3" role="tab"><a href="#prodContent3">기능성 의류</a></li>
<li aria-controls="tabpanel4" class="tab" id="tab4" role="tab"><a href="#prodContent5">웨어러블</a></li>
</ul>
<div aria-labelledby="tab1" class="art-content-inner cnt" id="tabpanel1"><img src="https://image.a-rt.com/art/managing/event/20250116_winter/pc/cnt.jpg" usemap="#map1" /><map name="map1"><area alt="10% 할인 쿠폰" coords="379,389,807,487" href="javascript:abc.couponDown('2000002121')" shape="rect" /> <area alt="쿠폰 유의사항" aria-haspopup="dialog" class="btn-md" coords="530,495,677,551" data-href="#modal1" href="#;" shape="rect" /> <area alt="온라인 단독 할인 상품 보기" coords="384,1008,820,1116" href="#prodContent1" shape="rect" /></map></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월 20일부터 02월 02일까지 다운로드 및 사용 가능합니다.</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 --><!-- 모달 스크립트 --><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>