/* 레이아웃 */
#wrap {
	width: 100%;
}
.container {
	width: 100%;
	padding: 0 1rem;
	box-sizing: border-box;
}
.main-container {
	position: relative;
	width: 100%;
	box-sizing: border-box;
	z-index: 1;
	background: #fff;
}
.main-container::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 110px; /* 사진 기준 상단 블루 영역 */
	background: #3456f6;
	z-index: 0;
}
.bg-box {
	position: relative;                 
	background: #fff;
	padding: 20px 1rem 0;
	border-radius: 25px 25px 0 0;
	word-break: break-all;
}
.contents {
	width: 100%;
}
.sub-wrap {
	padding-bottom: 100px;
}


/* 헤더 */
.header, .sub-header {
	position: sticky;
	top: 0;
  z-index: 100;
  width:100%;
  height: 65px;
  background: #3456f6;
}
.sub-header {
	background: #fff;
}
.logo-wrap {
	width: 100%;
	padding: 20px 1rem;
}
.sub-header .logo-wrap {
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.logo-wrap a{
	
}


/* 푸터 */
footer {
	max-width: 480px;
}
.btm-menu-list {
	position: fixed;
	z-index: 200;
	bottom: 0;
	max-width: 480px;
	width: 100%;
	height: 80px;
	display: flex;
	background: #fff;
	border-top: 1px solid #ddd;
	box-sizing: border-box;
}
.btm-menu-list li {
	display: inline-block;
	width: 25%;
	box-sizing: border-box;
	float: left;
	text-align: center;
}
.btm-menu-list li a {
	display: block;
  padding: 14px 0;
  text-align: center;
  font-size: 15px;
  color: #C3C7CA;
}
.bx-viewport {
	position: relative;
  width: 100% !important;
	height: auto !important;
	overflow: hidden;
}

/* 로그인 */
.login-content {
	width: 100%;
	height: 100vh;
	min-height: 900px;
	background: url(../img/bg.jpg) no-repeat;
	background-size: cover;
}
.login-wrap {
	position: absolute;
	left: 0;
	top:37rem;
	z-index: 99;
	width:100%;
	padding:0 1.5rem;
	margin:auto;
}
.login-wrap .link {
	color: #fff;
}
.login-wrap .login-logo{margin:40px auto;}
.login-wrap h2 {font-size: 3.75rem; line-height: 5rem; letter-spacing: -2px; color:#fff; font-weight:800; padding:120px 0 70px;}
.input-item{
	width:100%;
	margin-bottom: 1rem;
}
.input-item input{
	width:100%; 
	height:65px; 
	line-height:50px;
	border:none;
	outline: none;
	border-radius:10px;
	font-size:1.125rem;
	font-weight: 500;
	text-indent: 12px;
}
.input-item input:focus {
  outline: none;
}
.input-item input:focus-visible {
  box-shadow: inset 0 0 0 2px #111;
}
.input-item input::placeholder {
	color:#111;
	font-weight:500;
	line-height:65px;
}
.link-box {
	text-align : center;
	color: #fff;
}


/* 버튼 */
.btn{display:inline-block; color:white; text-align:center; border-radius:10px;}
.btn-red{background:red; }
.btn-blue{background:#3785fa; }
.btn-green{background:green; }
.btn-gray{background:gray; }
/*.btn-submit{display:block; width:100%; text-align: center; height:65px; line-height:65px; background:#232323; color:white; font-size:15px; border-radius:10px;  margin-top: 25px;}*/
.btn-login {
	width: 100%;
	text-align: center;
	height: 65px;
	background: #111;
	color: #fff;
	font-size:1.25rem;;
	font-weight: bold;
	border-radius: 40px;
}

.btn-close {background: #000; width: 50%; height: 45px; font-size: 16px;}
.btn-publish {
	background:#4783ff; 
	width: 60%;
	height: 60px;
	line-height: 60px;
	font-size: 21px;
	border-radius: 30px;
}
.btn-cp-use {
	background: #3785fa;
	font-size: 24px;
	width: 100%;
	padding: 15px 0;
	border-radius: 40px;
	font-weight: bold;
}
.btn.deactivate {background: #f1f1f3; color: #aaa; font-weight: bold;}
/* 메인 비주얼 */
.swiper-pagination {
	position: absolute;
  width: auto !important;
  bottom: 20px;
  right: 0;
  transform: translateX(-50%);
  padding: 5px 10px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 13px;
  text-align: center;
}
.m_visual {
	width: 100%;
	position: relative;
}

/* main */
.main {
	position: absolute;
	width: 100%;
}
.user-info {
	height: 60px;
	line-height: 60px;
	background: #fff;
	border-radius: 12px;
	padding: 0 16px;
	margin: 0 1rem;
	margin-bottom: 20px;
}
.user-info .user-name {
	font-size: 20px;
	font-weight: bold;
	color: #111;
}
.user-info .user-grade {
	float: right;
	font-size: 16px;
	color: #333;
	font-weight: 700;
}
.user-info .gradeName {
	padding: 5px 10px;
	border-radius: 20px;
	font-weight: 700;
	color: #fff;
	margin-left: 5px;
}
/* 등급 색상 */
.gradeName.vip { background: #ef3356; }
.gradeName.gold {	background: #ffbb04; }
.gradeName.silver { background: #94909f; }
.gradeName.basics { background: #8fa3de; }
.main-menu {
	padding: 0 1rem;
	margin-top: 30px;
	padding-bottom: 100px;
	background: #fff;
}
.main-menu .tit {
	width: 100%;
	font-size: 21px;
	font-weight: bold;
	margin-bottom: 12px;
}
.menu-wrap {
	display: flex;
	gap: 12px;
	margin-bottom: 20px;
}
.menu-wrap .menu-item {
	width: 50%;
	border-radius: 12px;
}
.menu-wrap .menu-item a {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 20px 16px;
}
.menu-wrap .menu-item a .title {
	font-size: 20px;
	font-weight: bold;
	color: #fff;
}
.menu-wrap .menu-item a .discription {
	float: right;
	border-radius: 20px;
	padding: 2px 12px;
	background: #fff;
	font-size: 18px;
	font-weight: 800;
	color: #FF7B51;
}
.menu-wrap .menu-item a > img {
	align-self: center;
	padding-top: 2.5rem;
}
.menu-wrap .menu-item.coupon-list {
	background: #3785fa;
}
.menu-wrap .menu-item.coupon-inventory {
	background: #FF7B51;
}

.main-menu-list {
	display: flex;
	gap: 12px;
}
.main-menu-list li {
	width: 25%;
/*	height: 90px;*/
	border-radius: 12px;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}
.main-menu-list li a {
	display: block;
	width: 100%;
	height: 100%;
	padding: 16px 0 12px;
	text-align: center;
}
.main-menu-list li a span {
	display: block;
	font-size: 15px;
	color: #333;
	font-weight: 600;
}
.main-menu-list li a > img {
	align-self: center;
	width: auto;
	height: 34px;
	margin-bottom: 8px;
}

/* 쿠폰함 */
.sub-content {
	margin-top: 20px;
	padding-bottom: 100px;
	background: #fff;
}
.tab-wrap {
	display: flex;
	justify-content: center;
	margin-top: 20px;
	margin-bottom: 20px;
}
.coupon-inv-tab-menu {
	display: inline-flex;
	align-items: center;
	background: #f5f5f9;
	border-radius: 999px;
}
.coupon-inv-tab-menu li {
	list-style: none;
}
.coupon-inv-tab-menu button {
	padding: 0 24px;
	height: 48px;
	border: 0;
	background: transparent;
	border-radius: 999px;
	font-size: 20px;
	font-weight: bold;
	color: #666;
	cursor: pointer;
	line-height: 1;
}
.coupon-inv-tab-menu button.on {
	background: #111;
	color: #fff;
	font-weight: bold;
}
.use-notice {
	padding: 20px;
	margin-bottom: 50px;
/*	background: #F1F1F3;*/
	background: #fbfbfb;
	border-radius: 16px;
	border: 1px solid #ddd;
}
.use-notice .nt-tit {
	font-size: 20px;
	font-weight: bold;
	text-align: center;
	margin-bottom: 10px;
}
.use-notice .nt-txt dt {
	font-size: 16px;
	font-weight: bold;
	color: #111;ㅍ
}
.use-notice .nt-txt dd {
	font-size: 15px;
	font-weight: 500;
	color: #707070;
}
/* 쿠폰함 - 쿠폰 */
.coupon-inv-list {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 30px;
}
.coupon-inv-list > li {
	width: calc(50% - 8px); /* 한 줄에 2개 */
	box-sizing: border-box;
}
.coupon-notice {
	font-size: 22px;
	font-weight: 600;
	text-align: center;
	margin-bottom: 30px;
}
.coupon {
	display: block;
	cursor: pointer;
}
.coupon input {
	position: absolute;
	opacity: 0;
}
.coupon .info {
	position: relative;
	padding: 12px 1rem;
	border-radius: 10px;
	background: #F1F1F3;
	color: #aaa;
	box-sizing: border-box;
	transition: all .2s ease;
	overflow: hidden;
	z-index: 0
}
.coupon .info::after {
	content: "";
	position: absolute;
	top: 50%;
	right: -14px;
	transform: translateY(-50%);
	width: 28px;
	height: 28px;
	background: #fff;
	border-radius: 50%;
	z-index: 2
}
.coupon input:checked + .info {
	background: #3b82f6;
	color: #fff;
}
.coupon input:checked + .info::after {
	border-left: none;

}
.coupon-tit {
	font-size: 16px;
	margin-bottom: 2px;
	font-weight: 500;
}
.coupon .info .discount-percent {
	font-size: 36px;
	font-weight: 800;
	line-height: 1;
	margin-top: 2px;
}
.coupon .info .discount-percent span {
	font-size: 28px;
	font-weight: 500;
	margin-left: -2px;
}
.coupon .info .date {
	font-size: 15px;
}
.cp-use-btns .btn-sucess {
	width: 100%;
	height:60px;
	margin-top: 30px;
	border-radius: 60px;
	font-size: 24px;	
	line-height: 60px;
	font-weight: 600;
}
.swal2-container {
	max-width: 480px;
	margin: 0 auto;
}
/* shop */
.cp-corp-name {
	margin-top: 20px;
	font-size: 21px;
	font-weight: bold;
}

/* 쿠폰 모달 */
.close-btn {
	position: absolute;
	top: 1.6rem;
 	right: 1rem;
}

/*쿠폰 발급받기*/
#userCall1{
	width: 100%;
	line-height: 56px;
	margin:0 auto; 
	padding: 0 1rem;
	border-radius:5px;
	border:1px solid #ddd;
	font-size: 21px;
	font-weight: bold;
	margin-bottom: 30px;
}
.user-name {padding-top: 0.5rem; font-size: 1.5rem; font-weight: bold;}
.giftCoupon-wrap .coupon-txt,
.emptyCoupon-wrap .coupon-txt{
	font-size: 1.3rem;
	margin-bottom: 1.5rem;
}
.giftCoupon-wrap > .btn-publish,
.emptyCoupon-wrap > .btn-publish {
	width: 90%;
}


/* 쿠폰 가져오기 & 빈쿠폰함 */
.giftCoupon-wrap, .emptyCoupon-wrap {width: 100%; height: 100%; margin: auto 0; text-align: center;}
.coupon-img {padding-top:5rem; width: 70%; margin: 0 auto;}
.coupon-txt {font-size:1.5rem; font-weight:700; padding:0.5rem 0 0.5rem; margin-top: 1.5rem;}
.scale-up-center {
	-webkit-animation: scale-up-center 0.8s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
	animation: scale-up-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}
@-webkit-keyframes scale-up-center {
	0% {
		-webkit-transform: scale(0.5);
						transform: scale(0.5);
	}
	100% {
		-webkit-transform: scale(1);
						transform: scale(1);
	}
}
@keyframes scale-up-center {
  0% {
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
  }
  100% {
  	-webkit-transform: scale(1);
		        transform: scale(1);
	}
}
/* 이용내역 */
.search-wrap {
	display: flex;
	gap: 10px;
	width: 100%;
	height: auto;
	margin-top: 20px;
	margin-bottom: 20px;
}
.search-wrap select {
	width: 32%;
}
.search-wrap input {
	width: 34%;
}
.search-item {
	padding: 10px 8px;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-size: 16px;
	font-weight: 500;
}
.coupon-use-list {
	position:;
}
.coupon-use-list li {
	display: flex;
	border-bottom: 1px solid #ddd;
	padding: 16px 0 20px;
}
.coupon-use-list li .use-date {
	width: 43%;
	font-size: 16px;
	font-weight: bold;
}
.coupon-use-list li .corp-name {
	width: 32%;
	font-size: 21px;
	font-weight: bold;
}
.coupon-use-list li .discount-percent {
	width: 25%;
	font-size: 19px;
	font-weight: 800;
	color: #3785FA;
	text-align: right;
}
#tabContent2 .discount-percent {
	font-size: 1.5rem;
	line-height: 1.2;
}
@media all and (max-width:560px) {
	/* 로그인 */
	.login-content {
		min-height: 900px;
	}
}
/* 반응형 */
@media all and (max-width:480px){
	.search-item {
		padding: 6px 0;
	}
	/* 쿠폰함  */
	.coupon-tit {
		font-size: 15px;
		margin-bottom: 2px;
		font-weight: 500;
	}
	.coupon .info .discount-percent {
		font-size: 34px;
		font-weight: 800;
		line-height: 1;
		margin-top: 2px;
	}
	.coupon .info .date {
		font-size: 13px;
		letter-spacing: -1px;
	}
}

@media all and (max-width:430px) {
	.header, .sub-header {
		height: 60px;
	}
	.menu-wrap .menu-item a > img {
		padding-top: 2rem;
	}
	
	/* 로그인 */
	.login-wrap {
		top:32rem;
		padding: 0 1rem;
	};*/
}
@media all and (max-width:410px) {
	.menu-wrap .menu-item a > img {
		padding-top: 1.8rem;
	}
	.main-menu {
		margin-top: 20px;
		padding-bottom: 100px;
	}

}
@media all and (max-width:390px) {
	.main-menu {
		margin-top: 20px;
	}
	.menu-wrap .menu-item a > img {
		padding-top: 1rem;
	}
	
	/* 이용내역 */
	.coupon-use-list li .use-date {
    font-size: 15px;
  }
	.coupon-use-list li .corp-name{
		font-size: 20px;
	}
	.coupon-use-list li .discount-percent {
		font-size: 18px
	}
	
	/* 로그인 */
	.login-wrap {
		top:30rem;
	};
}
@media all and (max-width:389px) {
	/* 메인 */
	.main-menu {
		padding-bottom: 100px;
	}
	.main-menu-list li a {
		padding: 10px 0 4px;
		font-size: .9rem;
		letter-spacing: -1px;
	}
	.coupon-tit {
    font-size: 14px;
	}
	.coupon .info .discount-percent {
		font-size: 30px;
	}
	.coupon .info .discount-percent span {
    font-size: 24px;
  }
	.btn-cp-use{
		font-size: 22px;
	}
	/* 로그인 */
	/*.login-wrap {
		bottom: 90px;
	}*/
}
@media all and (max-width:366px) {
	/* 쿠폰함 */
	/*.coupon-tit {
    font-size: 14px;
	}
	.coupon .info .discount-percent {
		font-size: 30px;
	}
	.btn-cp-use{
		font-size: 22px;
	}*/
}
@media all and (max-width:359px) {
	
}