/* main KV */
.event-benefit-template .main-kv-video {
	width: 100%;
}
/* // main KV */

.pc {
	display: block;
}
.pc_br {
	display: block;
}
.mo {
	display: none;
}
.mo_br {
	display: none;
}
@media screen and (max-width: 767px) {
	.pc {
		display: none;
	}
	.mo {
		display: block;
	}
	.pc_br {
		display: none;
	}
	.mo_br {
		display: block;
	}
}
/* sticky tab */
.event-benefit-template .content-wrap .tab_wrap {
	position: sticky;
	z-index: 20;
	top: 0;
	left: 0;
	right: 0;
	backface-visibility: hidden;
	transform: translateZ(0);
	will-change: transform;
}

.event-benefit-template .content-wrap .tab_wrap::before {
	position: absolute;
	content: ' ';
	width: 100%;
	height: 1px;
	background: rgba(0, 0, 0, 0.2);
	left: 0;
	bottom: 0;
}

.event-benefit-template .tab_wrap .tab_inner {
	display: flex;
	background-color: #fff;
	justify-content: center;
}

.event-benefit-template .tab_wrap .tab_inner ul {
	display: flex;
	width: 100%;
	height: 62px;
	overflow-x: auto;
}

.event-benefit-template .tab_wrap .tab_inner li {
	position: relative;
	width: 50%;
}

.event-benefit-template .tab_wrap .tab_inner li::before {
	content: ' ';
	width: 100%;
	height: 4px;
	background-color: #2e2e33;
	position: absolute;
	left: 0;
	bottom: 0;
	display: none;
}

.event-benefit-template .tab_wrap .tab_inner li a {
	position: relative;
	display: flex;
	align-items: center;
	height: 100%;
	width: max-content;
	text-align: center;
	font-family: 'Pretendard';
	font-size: 20px;
	line-height: 140%;
	letter-spacing: -0.04em;
	margin: 0 auto;
	color: #696969;
	font-weight: 600;
	min-width: 100%;
	justify-content: center;
}

.event-benefit-template .tab_wrap .tab_inner li.active::before {
	display: block;
}
.event-benefit-template .tab_wrap .tab_inner li.active a {
	font-weight: 600;
	color: #2e2e33;
}

@container article-inner-area (max-width: 999px) {
	.event-benefit-template .tab_wrap .tab_inner li a {
		padding: 0 calc(40 / 999 * 100vw);
		font-size: 20px;
	}
}

@media screen and (max-width: 767px) {
	.event-benefit-template .content-wrap .tab_wrap {
		top: 46px;
	}

	.header.helloBar ~ .container .event-benefit-template .content-wrap .tab_wrap {
		top: 88px;
	}

	.event-benefit-template .tab_wrap .tab_inner ul {
		height: calc(100 / 720 * 100vw);
	}

	.event-benefit-template .tab_wrap .tab_inner li a {
		padding: 0 calc(32 / 720 * 100vw);
		color: #333;
		text-align: center;
		font-size: calc(28 / 720 * 100vw);
		font-weight: 500;
		line-height: 1.4;
		letter-spacing: calc(-1.12em / 28);
	}
}
/* // sticky tab */

/* text switching tab */
.tab_wrap2 [role='tablist'] {
	display: flex;
	column-gap: 32px;
}
.tab_wrap2 [role='tab'] {
	display: flex;
	padding: 0 0 28px 0;
}
.tab_wrap2 [role='tab'] span {
	color: #696969;
	font-size: 20px;
	font-weight: 500;
	line-height: 140%;
	letter-spacing: -0.8px;
}
.tab_wrap2 [role='presentation'].active span {
	color: #ff0004;
	font-weight: 600;
}

.tab_wrap2 .tab_inner {
	max-width: 1000px;
	margin: 0 auto;
}
@media screen and (max-width: 767px) {
	.tab_wrap2 [role='tablist'] {
		margin: 0 0 calc(30 / 720 * 100vw);
		padding: 0 calc(48 / 720 * 100vw);
		column-gap: calc(32 / 720 * 100vw);
		overflow-x: auto;
	}
	.tab_wrap2 [role='tab'] {
		display: flex;
		padding: 0;
		margin: 0;
	}
	.tab_wrap2 [role='tab'] span {
		font-size: calc(28 / 720 * 100vw);
		white-space: nowrap;
	}
}
/* // text switching tab */

/* small tab */
.tabArea .tab_inner {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 0 24px;
}
.tabArea .tab_inner ul {
	width: 100%;
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
	white-space: nowrap;
	overflow-x: hidden;
}
.tabArea .tab_inner li {
	position: relative;
	height: 48px;
	border: 1px solid #404040;
	border-radius: 32px;
	background-color: transparent;
	transition: background-color 0.3s;
}
.tabArea .tab_inner li a {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 15px 30px;
	height: 100%;
	font-weight: 500;
	font-size: 24px;
	line-height: 120%;
	color: #2e2e33;
	letter-spacing: -0.04em;
}
.tabArea .tab_inner li.active {
	border-color: #2e2e33;
	background-color: #1a1a1a;
}
.tabArea .tab_inner li.active a {
	color: #fff;
}
@media screen and (max-width: 767px) {
	.tabArea .tab_inner {
		padding: 0 0 calc(40 / 720 * 100vw);
	}

	.tabArea .tab_inner ul {
		gap: calc(18 / 720 * 100vw);
		padding: 3px 0;
		flex-wrap: nowrap;
		overflow-x: auto;
	}

	.tabArea .tab_inner li {
		height: auto;
	}

	.tabArea .tab_inner li a {
		padding: calc(16 / 720 * 100vw) calc(24 / 720 * 100vw);
		font-size: calc(28 / 720 * 100vw);
		font-weight: 500;
		line-height: 1.1428;
	}
}
.tab_container .tab_con {
	display: none;
	max-width: 1020px;
	margin: 0 auto;
}
.tab_container .tab_con:focus {
	outline: none;
}
.tab_container .tab_con:focus-visible {
	outline-offset: -3px;
}

.tab_container .tab_con.active {
	display: block;
}
/* // small tab */

/* KV */
.main-kv {
	position: relative;
}

.main-kv__img {
	width: 100%;
}
/* // KV */

/* 메인컨텐츠 시작 */

.only-pc {
	display: block !important;
}

.only-mo {
	display: none !important;
}
@media screen and (max-width: 767px) {
	.only-pc {
		display: none !important;
	}

	.only-mo {
		display: block !important;
	}
}
.article_01, .article_02, .article_04, .article_05{
	position: relative;
}
.c-button__item{position: absolute; top: 45%;  width: 33%; height: 2.2%; }
.c-button__item01{left: 15%; }
.c-button__item02{left: 52%; }
.benefits02_link01, .benefits02_link02{
	position: absolute; left: 35.2%; width: 29.6%; height: 1.9%; 
}
.benefits02_link01{
	top: 79.5%;
}
.benefits02_link02{
	top: 98.1%;
}
.gramai_box04{
	padding-top: 80px;
}
.gramai_box05{
	padding: 80px 0 20px;
}
.gramai_box06{
	margin-bottom: 40px;
}
.gramai_box06 picture, .gramai_box07 picture, .gramai_box08 picture{
	display: inline-block;
}
.gramai_box08{padding: 40px 0 80px;}
.gramai-swiper{margin: 24px auto 0; max-width: 1074px; position: relative; }
.gramai-swiper .swiper-container{max-width: 914px;}

.gramai_link01, .gramai_link02, .gramai_link03{position: absolute; left: 41%; height: 2.4%; width: 18.2%; }
.gramai_link01{top: 32.44%;}
.gramai_link02{top: 63.13%;}
.gramai_link03{top: 92.4%;}

.swiper_btn_wrap button{opacity: 0.4;}
.swiper-button-prev.swiper-button-disabled, .swiper-button-next.swiper-button-disabled{opacity: 0.1;}
.event-benefit-template .swiper-container .swiper-pagination-bullets{gap:8px;}
.event-benefit-template .swiper-container .swiper-pagination-bullets .swiper-pagination-bullet{width: 10px; height: 10px; background: #999; opacity: 1;}
.event-benefit-template .swiper-container .swiper-pagination-bullets .swiper-pagination-bullet-active{width: 24px; background: #000;}

.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after,
.swiper-button-prev:after, .swiper-rtl .swiper-button-next:after{font-size: 0;}

#popup img{width: 100%;}

.article_04 .video-container{position: absolute; top: 32%; left: 20.65%; width: 58.7%; height: 58%;}
.article_04 .video-container video{width: 100%; height: 100%; object-fit: inherit;}
.gramai_box01{position: relative; }



@media screen and (max-width: 767px) {
	.c-button__item{left: 11.4%; width: 77.1%;}
	.c-button__item01{top: 33.5%; }
	.c-button__item02{top: 46.8%; }
	.benefits02_link01, .benefits02_link02{left: 11.2%; width: 77.6%;}
	.benefits02_link01{top: 77.5%;}
	.benefits02_link02{top: 98.1%;}
	.gramai_box04{padding-top:0;}
	.gramai_box05{padding:0 0 calc(40/720*100vw);}
	.gramai_box06{margin-bottom: calc(40/720*100vw);}
	.gramai_box06 button{width: calc(276/720*100vw);}
	.gramai_box07{padding: 0 calc(32/720*100vw);}
	.gramai_box08{padding: calc(80/720*100vw) 0 calc(80/720*100vw);}
	.gramai_box08 .swiper_btn_wrap{display: none;}
	.gramai-swiper{max-width: 100%; padding-left: calc(32/720*100vw); margin: calc(40/720*100vw) 0 0;}
	.event-benefit-template .swiper-container .swiper-pagination-bullets .swiper-pagination-bullet::before{content: none;}
	.event-benefit-template .swiper-container .swiper-pagination-bullets .swiper-pagination-bullet-active::before{content: none;}
	.event-benefit-template .swiper-container .swiper-pagination-bullets{gap:calc(8/720*100vw);}
	.event-benefit-template .swiper-container .swiper-pagination-bullets .swiper-pagination-bullet{width: calc(10/720*100vw); height: calc(10/720*100vw); }
	.event-benefit-template .swiper-container .swiper-pagination-bullets .swiper-pagination-bullet-active{width: calc(24/720*100vw);}

	.gramai_link01, .gramai_link02, .gramai_link03{left: 32%; width: 36.2%; height: 3%;}
	.gramai_link01{top:31.8%;}
	.gramai_link02{top:62.8%;}
	.gramai_link03{top:93.3%;}

	.article_04 .video-container{top: 38%; left: 6.5%; width: 87%; height: 50%;}
}



    .coupon_area .pc{position: relative;}
    .coupon_area .pc a, .coupon_area .pc button{position: absolute; bottom: 0; width: 24%; height: 8.5%;}
    .coupon_area .pc button{left: 25.4%;}
    .coupon_area .pc a{left:50.7%;}

    @media screen and (max-width: 767px) {
        .coupon_area{padding: calc(64/720*100vw) calc(48/720*100vw); background: #F7F7F7; overflow: hidden;}
        .coupon_area .mobile{position: relative;}
        .event_coupon_slide{margin-top: calc(30/720*100vw);}
        .event_coupon_slide .swiper-container{overflow:visible; padding-bottom: calc(0/720*100vw);}
        .event_coupon_slide .swiper-container .swiper-slide{padding-right: calc(24/720*100vw); }
                     
        .event-benefit-template .event_coupon_slide .swiper-container .swiper-pagination-bullets .swiper-pagination-bullet::before{content: none;}
        .event_coupon_slide .swiper-container .swiper-pagination-bullets .swiper-pagination-bullet{width: calc(15/720*100vw); height: calc(15/720*100vw); opacity: 1; background: #DCDCDC; border-radius: 50%; padding: 0; margin: 0 5px;}
        .event_coupon_slide .swiper-container .swiper-pagination-bullets .swiper-pagination-bullet-active{width: calc(30/720*100vw); background: #0F0F0F; border-radius: 50px;}
        
        .event_coupon_btn{position: relative; margin-top: calc(40/720*100vw);}
        .event_coupon_btn button,
        .event_coupon_btn a{position: absolute; height: 100%; width: 49%; bottom: 0;}
        .event_coupon_btn button{left: 0;}
        .event_coupon_btn a{left: 51%;}
                                                                                                                       
    }



/* 탭 스와이퍼 부분 */
.tab-ui-container-wrap{padding: 80px 0; background-color: #F7F7F7;}
.tab-ui-container-wrap .subtitle_section{max-width: 1000px; margin: 0 auto; padding-bottom: 40px;}
.tab-ui-container {max-width: 1000px; }

.tab-ui-container .swiper-button-disabled{display: none;}
.tab-ui-container .tab_btn_wrap{ display: flex; margin: 2% 0 4% 0;}


.tab-ui-container [role="tab"] {
    /* 기본 스타일 */
    border: 1px solid #1A1A1A;
    background-color: #fff;
    cursor: pointer;
    padding: 1.2% 1.8% ;
    border-radius: 50px;
    font-size: 20px;
    margin: 0% 0.5%;
}

.tab-ui-container [role="tab"][aria-selected="true"] {
    /* 활성화된 탭 스타일 */
    background-color: #1A1A1A;
    color: #fff;
}

/* 탭 메뉴를 화면 상단에 고정 */
.tab-ui-container .sticky-tab-menu {
    position: sticky;
    top: 96px;
    padding: 10px 0 10px 0;
    z-index: 2; /* 다른 콘텐츠 위로 오도록 설정 */
    background-color: #fff;
    display: flex;
}
.tab-ui-container .tab-menu {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    margin-bottom: 4%;
    background-color: #fff;
    width: 100%;
    border-radius: 50px;
}
.tab-ui-container .tab-item {
    padding: 1.5% 3%;
    margin: 0.5%;
    border: 1px solid #fff;
    border-radius: 50px;
    cursor: pointer;
    font-size: 26px;
    width: 33%;
    line-height: 1.35;
}
.tab-ui-container .tab-item.active {
    background-color: #000;
    color: #fff;
}
/* Swiper 화살표 스타일 */
.tab-ui-container .swiper-button-prev,
.tab-ui-container .swiper-button-next {
    /* 기본 Swiper 스타일 유지 또는 커스텀 */
    color: #000;
    text-indent: -999px;
}
.tab-ui-container{position:relative; left: 50%; transform: translateX(-50%); width: 100%;}
.tab-ui-container{position:relative; left: 50%; transform: translateX(-50%); width: 100%;}
.tab-ui-container .swiper-slide{width: 100%; }
.tab-ui-container .swiper-slide .slide-content{position: relative; display: flex; width: 100%; background-color: #fff; border-radius: 15px; overflow: hidden; }
.tab-ui-container .swiper-slide .slide-content .text-area{max-width: 50%; padding: 5% 4% 0% 4%; font-size: min(2vw, 22px);  line-height: 1.5; text-align: left; }
.tab-ui-container .swiper-slide .slide-content .text-area .title-area{display: block; padding: 0 0 5% 0; font-size: min(2vw, 27px); font-weight: bold;}


@media screen and (max-width: 767px) {
.tab-ui-container-wrap{padding: calc(80/720*100vw) 0; }
.tab-ui-container-wrap .subtitle_section{width: 87%; margin: 0 auto;}
.tab-ui-container{width: 90%;}
.tab-ui-container .tab-item {
    padding: 2% 3%;
    margin: 1%;
    border: 1px solid #fff;
    border-radius: 100px;
    cursor: pointer;
    font-size: calc(28/720*100vw);
    width: 33.3%;
    line-height: 1.35;
}
/* Swiper 화살표 스타일 */
.tab-ui-container .swiper-button-prev,
.tab-ui-container .swiper-button-next {
    display: none;
}
.tab-ui-container .swiper-slide .slide-content{ display: flex; flex-direction: column; }
.tab-ui-container .swiper-slide .slide-content .text-area{max-width: 100%; padding: 8% 8% 10% 8%; font-size: calc(28/720*100vw); line-height: 1.5; text-align: left; color: #7E7C77; }
.tab-ui-container .swiper-slide .slide-content .text-area .title-area{display: block; padding: 0 0 5% 0; font-size: calc(34/720*100vw); font-weight: bold; color: #1A1A1A;}
}
