
/* 팝업레이어 */
#hd_pop { display: flex; justify-content: center; align-items: center; gap: 0; flex-wrap: wrap; position: fixed; left: 0; top: 0; width: 100%; height: 100vh; padding: 28px 24px 24px; overflow-y: auto; z-index: 99990; pointer-events: none;}
.hd_pops{ display:flex; flex-direction:column; position: relative; left: auto; top: auto; transform: none; padding: 0; width: min(1600px, calc(100vw - 56px)); max-width: 100%; pointer-events: auto; }
.hd_pops.is-entering{animation: popupDropIn 2.0s cubic-bezier(.18,.78,.2,1) both;}
@keyframes popupDropIn {
	0% {
		opacity: 0;
		transform: translateY(-96px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}
@keyframes popupItemDropIn {
	0% {
		opacity: 0;
		transform: translateY(-84px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}
.hd_pops_viewport{width:100%; overflow:visible;}
.hd_pops_con{display:flex; width:100%; justify-content:center; align-items:flex-start;}
/*.hd_pops_con > div{width:220px; min-width:295px; height:auto;}*/
.hd_pops_con > div{flex:0 1 290px; max-width:290px; }
.hd_pops_con img{max-width:100%; width:100%;}
.hd_pops_item.is-entering-item{animation: popupItemDropIn 1.05s cubic-bezier(.2,.74,.2,1) both;}
.hd_pops_top{padding:0 0 14px; text-align:center; display:flex; justify-content:center;}
.hd_pops_footer{order:initial; padding:12px 0 0; background:transparent; color:#fff; text-align:center; position:relative; display:flex; justify-content:center;}
.hd_pops_footer:after {display:block; visibility:hidden; clear:both; content:""}
.hd_pops_btn {border:0; border-radius:999px; background:#101010; color:#fff; height:38px; padding:0 18px; font-size:14px; font-weight:500; line-height:38px; letter-spacing:.01em; display:inline-flex; align-items:center; gap:6px; cursor:pointer;}

.hd_pops_slider_nav{display:none; align-items:center; justify-content:center; gap:6px; margin-top:8px;}
.hd_pops_slider_nav button{border:0; background:transparent; color:#111; height:22px; width:18px; font-size:18px; line-height:1; padding:0; cursor:pointer;}
.hd_pops_counter{display:inline-block; min-width:46px; text-align:center; font-size:12px; color:#111; letter-spacing:.02em;}
.hd_pops_drawer_close{display:inline-flex; align-items:center; justify-content:center; gap:8px; align-self:center; margin:0 0 12px; border:0; border-radius:999px; background:#101010; color:#fff; height:38px; padding:0 18px; font-size:13px; font-weight:600; cursor:pointer;}
.hd_pops_reopen{display:none;}

.pop_link_wrap{position:relative;}
.pop_link_wrap .pop_link_box{display:flex; flex-wrap: wrap; position:absolute; left:0; bottom: 2.6%; width:100%; }
.pop_link_wrap .pop_link_box a{flex:0 0 100%; display:block; width:100%; height:79px;}

.pop_link_wrap .pop_link_box2{ flex-wrap: wrap;}
.pop_link_wrap .pop_link_box2 a{flex:0 0 100%; height:53px;}

/*팝업크기고정250919*/
.hd_pops_con img{max-width:100%; width:100%; border:1px solid #898989; box-sizing:border-box; display:block;}


/*갯수별 넓이값*/
.six_max{width:calc(100% / 6) !important; max-width:400px;}


@media screen and (max-width:1800px){
	.hd_pops_con > div{flex:0 1 290px; width:auto; max-width:290px; }
	.hd_pops_con img{max-width:100%;}
}

@media screen and (max-width:1440px){
	.hd_pops_con > div{flex:0 1 280px; width:auto; max-width:280px; }
}

@media screen and (max-width:1200px){
	#hd_pop {
		align-items: flex-start;
		padding: 10px;
	}
	.hd_pops_footer{
		order:initial;
		padding:8px 0 0;
		justify-content:center;
	}
	.hd_pops_btn{
		height:34px;
		padding:0 14px;
		font-size:13px;
		line-height:34px;
	}
	.hd_pops_top{
		padding:0 0 10px;
	}
	.hd_pops_con > div{
		flex: 0 1 320px;
		width: min(320px, 100%);
		max-width: 100%;
	}
	.hd_pops_con img{
		max-width: 100%;
		width: 100%;
		height: auto;
	}
	.six_max{
		width: min(320px, 100%) !important;
	}
}

@media screen and (min-width:1201px){
	#hd_pop{
		justify-content:flex-start;
		align-items:flex-start;
		padding:112px 0 0;
		overflow:hidden;
	}
	.hd_pops{
		width:fit-content;
		max-width:min(1600px, calc(100vw - 64px));
		margin:0;
		border-top:16px solid #303946;
		transform:translateX(-100%);
		transition:transform .9s cubic-bezier(.22,.61,.36,1);
		will-change:transform;
	}
	.hd_pops.is-desktop-slider{
		width:min(1600px, calc(100vw - 64px));
	}
	.hd_pops:not(.is-desktop-slider) .hd_pops_viewport,
	.hd_pops:not(.is-desktop-slider) .hd_pops_con{
		width:auto;
	}
	.hd_pops .hd_pops_viewport{
		overflow:hidden;
	}
	.hd_pops:not(.is-desktop-slider) .hd_pops_con{
		justify-content:flex-start;
	}
	.hd_pops:after{
		position:absolute;
		top:-16px;
		right:-42px;
		bottom:auto;
		z-index:1;
		width:42px;
		height:calc(100% + 16px);
		border-radius:0 8px 8px 0;
		background:#303946;
		content:"";
		transition:top .22s cubic-bezier(.22,.61,.36,1), height .22s cubic-bezier(.22,.61,.36,1), background-color .18s ease, opacity .18s ease, visibility .18s;
	}
	.hd_pops.is-entering{animation:none;}
	.hd_pops.is-drawer-open{transform:translateX(0);}
	.hd_pops.is-drawer-open:after{
		transition:top .55s cubic-bezier(.22,.61,.36,1) .18s, height .55s cubic-bezier(.22,.61,.36,1) .18s, background-color .18s ease;
	}
	.hd_pops.is-drawer-open .hd_pops_drawer_close{
		transition:top .55s cubic-bezier(.22,.61,.36,1) .18s, height .55s cubic-bezier(.22,.61,.36,1) .18s, opacity .18s ease, visibility .18s;
	}
	.hd_pops.is-drawer-open .hd_pops_drawer_close span{
		transition:top .55s cubic-bezier(.22,.61,.36,1) .18s;
	}
	.hd_pops.is-drawer-open .hd_pops_drawer_symbol{
		transition:top .55s cubic-bezier(.22,.61,.36,1) .18s;
	}
	.hd_pops.is-drawer-closed{transform:translateX(-100%);}
	.hd_pops.is-drawer-closed:after{
		top:calc(50% - 100px);
		height:200px;
		transition:top .9s cubic-bezier(.22,.61,.36,1), height .9s cubic-bezier(.22,.61,.36,1), background-color .18s ease;
	}
	.hd_pops.is-drawer-closed .hd_pops_drawer_close{
		top:calc(50% - 100px);
		height:200px;
		transition:top .9s cubic-bezier(.22,.61,.36,1), height .9s cubic-bezier(.22,.61,.36,1), opacity .18s ease, visibility .18s;
	}
	.hd_pops.is-drawer-closed .hd_pops_drawer_close span{
		top:calc(50% - 46px);
		transition:top .9s cubic-bezier(.22,.61,.36,1);
	}
	.hd_pops.is-drawer-closed .hd_pops_drawer_symbol{
		top:calc(50% + 25px);
		transition:top .9s cubic-bezier(.22,.61,.36,1);
	}
	.hd_pops_drawer_close{
		position:absolute;
		top:-16px;
		bottom:auto;
		right:-42px;
		z-index:2;
		display:block;
		width:42px;
		height:calc(100% + 16px);
		margin:0;
		padding:0;
		border:0;
		border-radius:0 8px 8px 0;
		background:transparent;
		box-sizing:border-box;
		cursor:pointer;
		font-size:16px;
		letter-spacing:.08em;
		writing-mode:horizontal-tb;
		transition:top .22s cubic-bezier(.22,.61,.36,1), height .22s cubic-bezier(.22,.61,.36,1), opacity .18s ease, visibility .18s;
	}
	.hd_pops:has(.hd_pops_drawer_close:hover):after{background:#171d26;}
	.hd_pops_drawer_close span{
		position:absolute;
		top:18px;
		left:50%;
		transform:translateX(-50%);
		white-space:nowrap;
		writing-mode:vertical-rl;
		transition:top .22s cubic-bezier(.22,.61,.36,1);
	}
	.hd_pops_drawer_symbol{
		position:absolute;
		top:94px;
		left:50%;
		display:flex;
		align-items:center;
		justify-content:center;
		width:27px;
		height:27px;
		color:#fff;
		font-size:17px;
		font-weight:900;
		line-height:1;
		transform:translateX(-50%);
		transition:top .22s cubic-bezier(.22,.61,.36,1);
	}
	.hd_pops.is-drawer-open .hd_pops_drawer_symbol{
		background:transparent;
		color:#fff;
	}
	.hd_pops.is-drawer-closed .hd_pops_drawer_symbol{
		background:transparent;
		color:#fff;
	}
	.hd_pops_reopen{
		display:flex;
		position:fixed;
		left:0;
		top:250px;
		z-index:1;
		align-items:center;
		justify-content:center;
		gap:8px;
		width:42px;
		height:200px;
		padding:14px 0;
		border:0;
		border-radius:0 8px 8px 0;
		background:#303946;
		color:#fff;
		font-size:12px;
		font-weight:600;
		letter-spacing:.08em;
		writing-mode:vertical-rl;
		pointer-events:auto;
		cursor:pointer;
		opacity:0;
		visibility:hidden;
		transform:translateX(-100%);
		transition:transform .45s cubic-bezier(.22,.61,.36,1), opacity .25s ease, visibility .25s;
	}
	.hd_pops_reopen.is-visible{opacity:1; visibility:visible; transform:translateX(0);}
	.hd_pops_reopen:hover{background:#171d26;}
	.hd_pops.is-desktop-slider .hd_pops_slider_nav{
		display:flex;
		position:relative;
		margin:14px auto 0;
		width:max-content;
		height:30px;
		padding:0 10px;
		border-radius:999px;
		background:rgba(255,255,255,.96);
		box-shadow:0 3px 10px rgba(0,0,0,.18);
		z-index:4;
	}
	.hd_pops.is-desktop-slider .hd_pops_slider_nav button{
		height:24px;
		width:18px;
		font-size:20px;
	}
	.hd_pops.is-desktop-slider .hd_pops_counter{
		font-size:12px;
		min-width:52px;
	}
	.hd_pops.is-desktop-slider.is-drawer-open:after{
		height:calc(100% - 28px);
	}
	.hd_pops.is-desktop-slider.is-drawer-open .hd_pops_drawer_close{
		height:calc(100% - 28px);
	}
	.hd_pops.is-desktop-slider .hd_pops_viewport{
		overflow:hidden;
	}
	.hd_pops.is-desktop-slider .hd_pops_con{
		flex-wrap:nowrap;
		justify-content:flex-start;
		align-items:flex-start;
		gap:0;
		margin:0;
		transition:transform .76s cubic-bezier(.22,.61,.36,1);
		will-change:transform;
	}
	.hd_pops.is-desktop-slider .hd_pops_con.is-no-transition{
		transition:none !important;
	}
	.hd_pops.is-desktop-slider .hd_pops_item{
		flex:0 0 20%;
		max-width:20%;
		padding:0;
		box-sizing:border-box;
	}
}

@media screen and (max-width:1200px){
	#hd_pop {
		top: 86px;
		height: calc(100vh - 86px);
		gap: 10px;
		padding: 8px;
	}
	.hd_pops{
		width: min(86vw, 300px);
		margin: 0 auto;
	}
	.hd_pops.is-entering{animation-duration:1.5s;}
	.hd_pops_con{gap:0; justify-content:flex-start;}
	.hd_pops.is-mobile-slider .hd_pops_con{
		flex-wrap: nowrap;
		transition: transform .84s cubic-bezier(.22,.61,.36,1);
		will-change: transform;
	}
	.hd_pops.is-mobile-slider .hd_pops_con.is-no-transition{
		transition:none !important;
	}
	.hd_pops.is-mobile-slider .hd_pops_viewport{
		overflow: hidden;
	}
	.hd_pops_con > div{
		flex: 1 1 100%;
		width: 100%;
		max-width: 100%;
	}
	.hd_pops.is-mobile-slider .hd_pops_item{
		flex: 0 0 100%;
	}
	.hd_pops_con img{
		max-width: 100%;
		width: 100%;
	}
	.hd_pops_slider_nav{
		display:flex;
		position:relative;
		margin: 15px auto;
		width:max-content;
		height:24px;
		padding:0 6px;
		border-radius:999px;
		background:rgba(255,255,255,.95);
		box-shadow:0 2px 8px rgba(0,0,0,.18);
		z-index:4;
	}
	.hd_pops_slider_nav button{
		height:20px;
		width:14px;
		font-size:16px;
	}
	.hd_pops_counter{font-size:11px; min-width:42px;}
	.hd_pops_footer{
		padding: 8px 0 0;
		min-height: 0;
	}
	.hd_pops_btn{height:32px; line-height:32px; font-size:12px; padding:0 12px;}
	.pop_link_wrap .pop_link_box a{height: 17vw; min-height: 44px; max-height: 79px;}
	.pop_link_wrap .pop_link_box2 a{height: 11.5vw; min-height: 36px; max-height: 53px;}
}

@media screen and (max-width:480px){
	#hd_pop {
		top: 86px;
		height: calc(100vh - 86px);
		padding: 6px;
	}
	.hd_pops{
		width: min(84vw, 280px);
	}
	.hd_pops_slider_nav{
		height:22px;
		padding:0 5px;
	}
	.hd_pops_slider_nav button{
		font-size:15px;
	}
	.hd_pops_counter{
		font-size:10px;
		min-width:38px;
	}
	.hd_pops_footer{
		padding: 6px 0 0;
	}
	.hd_pops_btn{
		height:30px;
		line-height:30px;
		font-size:11px;
		padding:0 10px;
	}
	.hd_pops_top{padding:0 0 8px;}
}

@media (prefers-reduced-motion: reduce){
	.hd_pops.is-entering{
		animation-duration:.55s;
	}
	.hd_pops_item.is-entering-item{
		animation-duration:.45s;
	}
}