<!-- S : 이벤트 복사영역 여기서부터 -->
<style type="text/css">.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;
}
/* 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"><img src="https://image.a-rt.com/art/managing/event/20250616_spot/pc.jpg" usemap="#map1" /><map name="map1"><area alt="쿠폰 다운로드" coords="364,1052,840,1388" href="javascript:abc.couponDown('3000000504
')" shape="rect" /> <area alt="쿠폰 유의사항" aria-haspopup="dialog" class="btn-md" coords="522,1392,690,1470" data-href="#modal1" href="#;" shape="rect" /> <area alt="플립플랍 상품 보러가기" coords="72,1772,420,2072" href="#prodContent2" shape="rect" /> <area alt="슬라이드 상품 보러가기" coords="426,1768,772,2070" href="#prodContent3" shape="rect" /> <area alt="샌들 상품 보러가기" coords="776,1772,1122,2070" href="#prodContent4" shape="rect" /> <area alt="레인부츠 상품 보러가기" coords="250,2086,592,2386" href="#prodContent1" shape="rect" /> <area alt="키즈 상품 보러가기" coords="600,2084,952,2384" href="#prodContent5" shape="rect" /> <area alt="GRAND STAGE 혜택 보러 가기" coords="0,2454,1200,2619" href="https://grandstage.a-rt.com/promotion/planning-display/detail/main?isPreview=A&plndpNo=2000005998" shape="rect" target="_blank" /></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당 3회 발급 가능합니다.</li>
<li>쿠폰은 7월 17일까지 다운로드 및 사용 가능합니다.</li>
<li>일부 상품은 쿠폰 적용이 불가할 수 있습니다.</li>
<li>쿠폰을 사용하여 주문하신 후 취소/반품 하신 경우, 재발급되지 않습니다.</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 () {
$(this).parent('.md-cnt').find('iframe').attr('src', $(this).parent('.md-cnt').find('iframe').attr('src'));
$('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 : 이벤트 복사영역 여기까지 -->