/* ========== Quick Menu: 퀵메뉴 스타일 ========== */

#content_quick {
  position: fixed;
  /* 퀵메뉴, 배너 이미지의 높이 */
  width: 85px; /* 퀵메뉴, 배너 이미지의 너비*/
  /* 가장 오른쪽의 수치가 화면 가운데에서 얼마만큼 오른쪽으로 레이어를 붙일 것인지 설정  */
  top: 50%; /* 배너 상단에서 얼마나 떨어뜨릴지 설정*/
  right: 0; /* 레이어의 시작점이 왼쪽으로 부터 50% 지정 */
  text-align: left;
  padding: 0px;
  margin-top: -186px;
  z-index: 10;
}

/* 동그란 버튼과 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_dropdown li {
  width: 85px;
}

.quick_class_dropdown li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 5px;
  text-decoration: none;
  color: #333;
  transition: background-color 0.3s ease;
}

.quick_class_dropdown li a:hover {
  background-color: #f5f5f5;
}

.quick_class_dropdown li a i {
  font-size: 32px;
  color: #333;
  margin-bottom: 5px;
  transition: color 0.3s ease;
}

.quick_class_dropdown li a:hover i {
  color: #ffaa00;
}

.quick_class_dropdown li a span {
  font-size: 11px;
  text-align: center;
  line-height: 1.3;
  word-break: keep-all;
}

#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: bold;
}

@-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;
}
