.logo_img {
    display: inline-flex;
    align-items: center;
}

.logo_img img {
    height: 35px;
    width: auto;
    vertical-align: middle;
}

.logo_text {
    display: inline-block;
    font-size: 35px;
    font-weight: bold;
    color: #555;
    margin-left: 5px;
    line-height: 35px; /* 이미지 높이와 동일하게 설정 */
    vertical-align: top;
}

.m_logo_img {   
    display: inline-flex;
    align-items: center;
    padding-top: 1px;
    line-height: 35px; /* 이미지 높이와 동일하게 설정 */
}

.m_logo_img img {
    height: 26px;
    width: auto;
    vertical-align: bottom;
}

.m_logo_text {
    display: inline-block;
    font-size: 26px;
    font-weight: bold;
    color: #555;
    vertical-align: bottom;
}

.latest_wr_m {
    padding: 15px;
    /* margin-bottom: 10px; */
    background: #fff;
    position: relative;
    /* z-index: 1; */
    display: block;
    clear: both;
}

.latest_wr_m.shorts_section {
    margin-top: 10px;
    display: block;
}

.latest_wr_m.gallery_section {
    margin-top: 10px;
    display: block;
}

.banner_wr {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.banner_wr img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 각 배너별 크기 정의 */
.banner_top {
    /* max-width: 927px; */
    padding-bottom: 13.5%; /* 가로 925px 세로 150px */
}
.banner_top_m {
    /* max-width: 927px; */
    padding-bottom: 12.5%; /* 가로 925px 세로 150px */
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}

.banner_wr.banner_top_m {
    /* max-width: 927px; */
    padding-bottom: 15%; /* 가로 925px 세로 150px */
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}

.banner_wr.banner_top_m img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-height: 60px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.banner_side {
    max-width: 235px;
    padding-bottom: 56.25%; /* 가로 235 세로 132 -> 16:9 비율 */
}

.banner_main {
    max-width: 1200px;
    padding-bottom: 56.25%; /* 16:9 비율 */
}

.mobile_ver {
    display: inline-block;
    padding: 5px 20px;
    border: 1px solid #aaa;
    border-radius: 5px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.mobile_ver a {
    color: #000;
    font-weight: bold;
    text-decoration: none;
}

.mobile_ver:hover {
    background-color: #3059c7;
    border-color: #3059c7;
}

.mobile_ver:hover a {
    color: #fff;
}

.banner_4buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.banner_4buttons i {
    font-size: 24px;
    display: block;
    margin-bottom: 8px;
}

.banner_btn {
    width:calc(50% - 8px);
    height:100px;
    background:#f8f9fa;
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    text-decoration:none;
    color:#333;
    font-weight:bold;
    transition:all 0.3s ease;
    padding: 10px;
}

.banner_btn div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.banner_btn span {
    font-size: 0.95em;
    line-height: 1.2;
}

/* 지그재그 배경색 적용 */
.banner_btn:nth-child(1) { background: #efe1d9; }
.banner_btn:nth-child(2) { background: #dfeaec; }
.banner_btn:nth-child(3) { background: #dfeaec; }
.banner_btn:nth-child(4) { background: #efe1d9; }

.banner_btn:hover {
    background:#dee2e6 !important;
    transform:translateY(-2px);
    box-shadow:0 2px 5px rgba(0,0,0,0.1);
}

/* 모바일 화면 대응 */
@media screen and (max-width: 768px) {
    .banner_4buttons {
        gap: 12px;
        padding: 12px;
    }
    
    .banner_btn {
        width:calc(50% - 6px);
        height:100px;
        border-radius:10px;
        padding: 8px;
    }
    
    .banner_4buttons i {
        font-size: 22px;
        margin-bottom: 6px;
    }
    
    .banner_btn span {
        font-size: 0.9em;
    }
}




/*div 원형*/
.circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgb(127, 127, 127);
  box-shadow: 3px 3px 5px rgb(133, 133, 133);
}

:is(#c1, #c2, #c3, #c4, #c5, #c6) {
  animation: birthCircle 1s ease;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}
#c1 {
  animation-delay: 0.5s;
}
#c2 {
  animation-delay: 0.6s;
}
#c3 {
  animation-delay: 0.7s;
}
#c4 {
  animation-delay: 0.8s;
}
#c5 {
  animation-delay: 0.9s;
}
#c6 {
  animation-delay: 1.0s;
}
@keyframes birthCircle {
  0% {
    transform: translateX(0%);
  }
  25% {
    transform: translateX(16%);
  }
  50% {
    transform: translateX(0%);
  }
  75% {
    transform: translateX(8%);
  }
  100% {
    transform: translateX(0%);
  }
}

:is(#nC1, #nC2, #nC3, #nC4, #nC5, #nC6) {
  animation: nowCircle 1s ease;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}
#nC1 {
  animation-delay: 0.5s;
}
#nC2 {
  animation-delay: 0.6s;
}
#nC3 {
  animation-delay: 0.7s;
}
#nC4 {
  animation-delay: 0.8s;
}
#nC5 {
  animation-delay: 0.9s;
}
#nC6 {
  animation-delay: 1.0s;
}
@keyframes nowCircle {
  0% {
    transform: translateX(0%);
  }
  25% {
    transform: translateX(16%);
  }
  50% {
    transform: translateX(0%);
  }
  75% {
    transform: translateX(8%);
  }
  100% {
    transform: translateX(0%);
  }
}

:is(#mC1, #mC2, #mC3, #mC4, #mC5, #mC6) {
  animation: moneyCircle 1s ease;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}
#mC1 {
  animation-delay: 0.5s;
}
#mC2 {
  animation-delay: 0.6s;
}
#mC3 {
  animation-delay: 0.7s;
}
#mC4 {
  animation-delay: 0.8s;
}
#mC5 {
  animation-delay: 0.9s;
}
#mC6 {
  animation-delay: 1.0s;
}
@keyframes moneyCircle {
  0% {
    transform: translateX(0%);
  }
  25% {
    transform: translateX(16%);
  }
  50% {
    transform: translateX(0%);
  }
  75% {
    transform: translateX(8%);
  }
  100% {
    transform: translateX(0%);
  }
}

:is(#lC1, #lC2, #lC3, #lC4, #lC5, #lC6) {
  animation: loveCircle 1s ease;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}
#lC1 {
  animation-delay: 0.5s;
}
#lC2 {
  animation-delay: 0.6s;
}
#lC3 {
  animation-delay: 0.7s;
}
#lC4 {
  animation-delay: 0.8s;
}
#lC5 {
  animation-delay: 0.9s;
}
#lC6 {
  animation-delay: 1.0s;
}
@keyframes loveCircle {
  0% {
    transform: translateX(0%);
  }
  25% {
    transform: translateX(16%);
  }
  50% {
    transform: translateX(0%);
  }
  75% {
    transform: translateX(8%);
  }
  100% {
    transform: translateX(0%);
  }
}


/* 날짜 선택 영역 스타일 추가 */
#dateSelect {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

/* 연/월/일 선택 */
#yearSelect,
#monthSelect,
#daySelect {
  flex: 1 1 auto;
  min-width: 60px;
  max-width: 80px;
}

/* 시간/분 선택 그룹 */
.time-select-group {
  display: flex;
  flex: 0 0 auto; /* 크기 고정 */
  gap: 5px;
  white-space: nowrap; /* 줄바꿈 방지 */
}

/* 시간/분 선택 */
#hourSelect,
#minuteSelect {
  flex: 0 0 auto;
  min-width: 70px;
}

/* 반응형 조정 */
@media screen and (max-width: 500px) {
  #dateSelect {
      gap: 3px;
  }
  
  #yearSelect,
  #monthSelect,
  #daySelect {
      min-width: 70px;
  }
}


.hd_topbar {
  margin-right: 25px;
}

.hd_topbar .cart-count {
  position: absolute;
  top: -6px;
  right: 3px;
  height: 15px;
  line-height: 15px;
  border-radius: 7px;
  background: olive;
  font-size: 10px;
  color: #fff;
  padding: 0 5px;
  margin-left: 5px;
}
