header {position: fixed; top: 0; left: 0; width: 100%; height: 90px; border-bottom: 1px solid var(--gray_4c); z-index: 10; transition: all .3s;}
header.on {background: var(--black);}
header .container {display: flex; align-items: center; justify-content: space-between; height: 100%;}
header .logo {width: 250px; height: auto;}
header .logo img {width: 100%; height: auto;}

header .cs_btn {display: flex; align-items: center; justify-content: center; width: 126px; height: 51px; border-radius: 8px; background: var(--pr); font-size: 18px; font-weight: bold; line-height: 1; letter-spacing: -0.36px; color: var(--wt);}

/* q_menu */
.q_menu {position: fixed; bottom: 20px; right: 20px; z-index: 5;}
.q_menu .img-box {position: absolute; top: -39px; left: 50%; transform: translateX(-50%); width: 133px; height: auto; z-index: 1;}
.q_menu .img-box img {width: 100%; height: auto;}
.q_menu .img-box.on img {animation: driveAndStop 2s ease-out forwards;}

.q_menu .q_box {display: flex; align-items: center; justify-content: center; flex-flow: column; width: 152px; height: 148px; border-radius: 12px; background-image: linear-gradient(to bottom, #f15a24, #4e1500); text-align: center;}
.q_menu .q_box .txt-box {margin-bottom: 10px;}
.q_menu .q_box .txt-box .txt {font-size: 15px; font-weight: 800; line-height: 1.3; letter-spacing: -0.75px; color: var(--wt);}
.q_menu .q_box .txt-box .txt span {display: block; color: #f6ff00;}

.q_menu .btns {display: flex; align-items: center; justify-content: center; width: 125px; height: 38px; border-radius: 30px; background: var(--wt); font-size: 16px; font-weight: 800; line-height: 1.3; letter-spacing: -0.64px; color: var(--pr); animation: heartbeat 1.5s ease-in-out infinite both;}
.q_menu .btns img {width: 14px; height: auto;}


@keyframes driveAndStop {
  0% {
    /* 시작 지점: 화면 왼쪽 바깥으로 완전히 숨김 */
    transform: translateX(100%); 
  }
  100% {
    /* 멈추는 지점: 화면 왼쪽에서 50% 지점 (원하는 위치로 수정 가능) */
    /* calc(50vw - 75px) 같이 화면 중앙에 맞출 수도 있습니다. */
    transform: translateX(0%); 
  }
}