/* ========== Quick Menu: 퀵메뉴 스타일 ========== */

#content_quick {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 120px;
  /* 텍스트가 넉넉히 들어가도록 너비 추가 확장 */
  z-index: 1000;
}



/* 동그란 버튼과 hover 메뉴 */
.quick_menu_trigger {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #ffaa00;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.quick_menu_trigger:hover {
  transform: scale(1.1);
}

.quick_menu_trigger.active {
  transform: scale(1.1);
}

.quick_menu_trigger img {
  width: 30px;
  height: 30px;
}

.quick_menu_dropdown {
  position: absolute;
  bottom: 70px;
  right: -10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s ease;
  pointer-events: none;
}

.quick_menu_trigger.active .quick_menu_dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.quick_menu_dropdown ul {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.quick_menu_dropdown li {
  margin: 0;
  padding: 0;
}

.quick_menu_dropdown li a {
  display: block;
  padding: 0;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.quick_menu_dropdown li a:hover {
  opacity: 0.8;
}

.quick_menu_dropdown li a img {
  display: block;
  width: 100%;
  height: auto;
}

.quick_class,
.quick_class_dropdown {
  display: flex;
  flex-direction: column;
  border-top-left-radius: 28px;
  border-bottom-left-radius: 28px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  overflow: hidden;
  list-style: none;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: -5px 10px 30px rgba(0, 0, 0, 0.15);
  width: 120px;
}

.quick_class li,
.quick_class_dropdown li {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.quick_class li a,
.quick_class_dropdown li a {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 0 5px !important;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100% !important;
  height: 85px !important; /* 높이를 고정하여 중앙 정렬 보장 */
  box-sizing: border-box;
}


/* 아이콘 숨기기 */
.quick_class li a i,
.quick_class_dropdown li a i {
  display: none !important;
}

.quick_class li a span,
.quick_class_dropdown li a span {
  display: inline-block;
  vertical-align: middle;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  word-break: keep-all;
  letter-spacing: -1px;
  color: inherit;
}



/* 5단 컬러 그라데이션 */
.quick_class li:nth-child(1) a,
.quick_class_dropdown li:nth-child(1) a {
  background-color: #FFBB00;
  color: #fff !important;
}

.quick_class li:nth-child(2) a,
.quick_class_dropdown li:nth-child(2) a {
  background-color: #F2A100;
  color: #fff !important;
}

.quick_class li:nth-child(3) a,
.quick_class_dropdown li:nth-child(3) a {
  background-color: #D37500;
  color: #fff !important;
}

.quick_class li:nth-child(4) a,
.quick_class_dropdown li:nth-child(4) a {
  background-color: #964F19;
  color: #fff !important;
}

.quick_class li:nth-child(5) a,
.quick_class_dropdown li:nth-child(5) a {
  background-color: #5E300F;
  color: #fff !important;
}


.quick_class li a:hover,
.quick_class_dropdown li a:hover {
  filter: brightness(1.1);
  transform: scale(1.05);
  z-index: 1;
}




#ad_quick {
  position: absolute;
  width: 230px;
  top: 830px;
  right: 8%;
  text-align: left;
  padding: 0;
  z-index: 10;
}

.ad_class li img {
  width: 100%;
}

.ad_class li:nth-child(1) {
  position: absolute;
  display: block;
  text-align: center;
  animation: blink 1s step-end infinite;
  right: 14px;
  top: 15px;
  font-weight: 900;
}

@-webkit-keyframes blink {
  0% {
    color: #4f330e;
  }

  50% {
    color: #fa0;
  }
}

@media screen and (max-width: 1400px) {
  #content_quick {
    display: none;
  }
}

#content_quick img {
  display: block;
  vertical-align: top;
}

#content_quick li {
  width: 85px;
  height: 85px;
}

#content_quick li a {
  display: block;
  width: 100%;
  height: 100%;
}

#content_quick li a img {
  width: 100%;
}

.adtext {
  display: block;
  height: 18px;
  margin-bottom: 5px;
}

.adtext_button {
  background-color: red;
  background-position: 0px 0px;
  width: 34px;
  height: 18px;
  background-size: 63px 39px;
}

.ad_bnr1 {
  background-image: url('../images/new/adtit.png');
  background-position: 0px 0px;
  width: 34px;
  height: 15px;
  background-size: 63px 39px;
}

.ad_bnr2 {
  background-image: url('../images/new/adtit.png');
  background-position: 0px 0px;
  width: 34px;
  height: 15px;
  background-size: 63px 39px;
}

/* .left_close {width:1em;height:1em;background-image:url('../images/new/close_s.png'); position:absolute;right:0;cursor:pointer; background-size: 1em 1em; } */
.left_close {
  position: absolute;
  right: 25px;
  bottom: -10px;
  cursor: pointer;
  color: #666;
  font-size: 10px;
}

.ad_class li {
  width: 180px;
  height: 180px;
  overflow: hidden;
}

.ad1 {
  display: block;
  margin-bottom: 20px;
}

.ad2 {
  display: block;
}