@charset "UTF-8";
html {
  cursor: url("../images/ball1.png") 32 32, auto;
  scroll-behavior: smooth;
}
/* 기본 스타일 */
body { 
  font-family: "Klee One", sans-serif;
  color: #333;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center; /* 수평 중앙 정렬 */
  flex-direction: column;
  align-items: center; /* 수직 중앙 정렬 */
  min-height: 100vh; /* 이렇게 바꾸면 콘텐츠가 많을 때 스크롤 가능 */
  cursor: url("../images/ball1.png") 32 32, auto;
  background-color: #f6ecd9;
  background-attachment: fixed;
    overflow-x: hidden; /* 가로 스크롤 방지 */

}

/* header 스타일 */
header {
  position: fixed;
  height: 100px;
}
.page-header {
  position: relative; /* 드롭다운 메뉴가 이 안에서 절대 위치하도록 함 */
  display: flex;
  justify-content: space-between; /* 왼쪽, 오른쪽 요소를 양쪽 끝으로 정렬 */
  align-items: center; /* 수직 정렬: 요소들을 수직 중앙에 맞추기 */
  padding: 10px 20px; /* 여백 설정 */
  background-color: #e4d1af; /* 투명 대신 원하는 배경색으로 설정 */
  position: fixed; /* 네비게이션 바 고정 */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  box-sizing: border-box; /* 패딩을 포함한 전체 너비 계산 */
}
/* 로고 스타일 */
.page-header .logo {
  max-height: 50px;
  cursor: url("../images/ball2.png") 32 32, auto;
  height: 40px; /* 원하는 높이로 조정 */
  margin-right: 10px; /* 텍스트와 이미지 사이 간격 */
  pointer-events: auto;
  z-index: 1001; /* 배경보다 위에 위치시키기 */
}

.page-header h1 a {
  font-family: "Yomogi", cursive;
  font-size: 24px;
  font-weight: bold;
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  pointer-events: auto;
  z-index: 1001; /* 배경보다 위에 위치시키기 */
}

.page-header h1 a:link,
.page-header h1 a:visited,
.page-header h1 a:hover,
.page-header h1 a:active {
  color: inherit; /* 색상 유지 */
  text-decoration: none; /* 밑줄 제거 */
  cursor: url("../images/ball2.png") 32 32, auto;
}

/* 네비게이션 바 스타일 */
.main-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  display: flex;
  justify-content: center;
}
.main-nav li {
  margin: 0;
}
.main-nav a {
  padding: 14px 20px; /* 내부 여백 크게 */
  text-decoration: none;
  color: #7b5e57;
  font-family: "Yomogi", cursive;
  font-size: 20px; /* 글자 좀 더 큼 */
  font-weight: bold;
  line-height: 1.6; /* 줄간 간격 넓게 */
  transition: background-color 0.2s ease;
  cursor: url("../images/ball2.png") 32 32, auto;
}
.main-nav a:hover {
  color: #f6ecd9;
  border-radius: 8px; /* 부드럽게 */
}

/* 기본적으로 햄버거 버튼 숨김 */
.menu-toggle {
  display: none;
  position: fixed; /* 화면 고정 */
  top: 25px; /* 상단에서 거리 */
  right: 27px; /* 오른쪽에서 거리 */
  z-index: 20; /* 헤더 위에 올라오게 */
  font-family: "Yomogi", cursive;
  font-size: 1.2rem;
  padding: 10px 15px;
  background-color: #fff;
  border: 2px solid #333;
  border-radius: 8px;
  margin: 1px;
  cursor: url("../images/ball2.png") 32 32, auto;
}
/* 기본적으로 숨기기 */
.dropdown-menu {
  position: absolute;
  width: 15%;
  top: 85%; /* 버튼 아래로 완전히 이동 */
  right: 20px; /* 버튼 정렬과 일치 */
  margin-top: 10px; /* 버튼과 약간 간격 */
  background-color: #f8f8f8;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 1000;
}

/* 메인 레이아웃 */
main {
  width: 100%;
  padding-bottom: 50px;
  display: flex;
  flex-direction: column; /* 세로 방향 정렬 */
  align-items: center; /* 가로 중앙 정렬 */
  justify-content: center; /* 세로 중앙 정렬 (자식 정렬용) */
}

.background-wrapper {
  position: relative;
  width: 100%;
  height: 600px;
  background-image: url("../images/background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  margin-top: 100px; /* 헤더 높이만큼 내리기 */
}

.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px); /* 💡 요게 핵심 */
  z-index: 1;
}
.background-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2; /* overlay보다 위에 있어야 함 */
  color: #7b5e57;
  font-family: "Klee One", cursive;
  font-weight: bold;
  font-size: 36px;
  text-align: center;
}
.scroll-arrow {
  position: absolute;
  bottom: 20px; /* 아래에서 20px 위 */
  left: 50%;
  transform: translateX(-50%);
  font-size: 70px;
  color: #7b5e57;
  user-select: none;
  transition: transform 0.3s ease;
  z-index: 10;
}

.scroll-arrow:hover {
  transform: translateX(-50%) translateY(5px); /* 살짝 아래로 움직임 효과 */
  cursor: url("../images/ball2.png") 32 32, auto;
}
/* SVG 내부 애니메이션 */
.double-arrow {
  animation: bounceArrow 1.5s infinite;
}

@keyframes bounceArrow {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(5px);
  }
}
/* 설명부분 */
.product-section {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 20px;
  font-family: "Klee One", sans-serif;
}

.product-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
  padding: 20px;
  border-radius: 12px;
  align-items: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  font-family: "Klee One", cursive;
  transition: transform 0.3s ease;
}
.product-image:hover {
  transform: scale(1.03);
  cursor: url("../images/ball2.png") 32 32, auto;
}
.product-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.product-image figcaption {
  margin-top: 10px;
  padding: 0 12px 12px;
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
  line-height: 1.5;
  color: #555;
  font-family: "Klee One", cursive;
}

.semi-title1 {
  text-align: left;
  margin-bottom: 20px;
  font-family: "Klee One", cursive;
}
.semi-title1 h3 {
  font-size: 1.8rem;
  color: #333;
  border-bottom: 2px solid #7b5e57;
  display: inline-block;
  padding-bottom: 8px;
}

.product-features {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  gap: 20px;
  flex-wrap: wrap;
  /* background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1); */
}

.feature img {
  width: 100%;
  max-width: 200px;
  height: 100%;
  max-height: 280px;
  border-radius: 8px;
  margin-bottom: 12px;
}
.feature {
  flex: 1;
  min-width: 250px;
  text-align: center;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: transform 0.3s ease;
}
.feature:hover {
  transform: scale(1.03);
}
.feature h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}

.feature p {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}
/*본문*/
.naiyong {
  padding-top: 30px;
  padding-left: 70px;
  padding-right: 70px;
  text-align: left;
  padding-bottom: 50px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* aside */
aside {
  position: sticky; 
  flex: 1;
  margin-top: 0;
  font-weight: bold;
}

.sub-title {
  font-size: 1.375rem;
  padding: 0 8px 8px;
  border-bottom: 2px #7b5e57 solid;
}
aside p {
  padding: 12px 10px;
}
.sub-menu {
  margin-bottom: 60px;
  list-style: none;
}
.sub-menu li {
  position: relative;
  padding: 0.25em 0;
}
.sub-menu li:after {
  content: "";
  display: block;
  height: 2px;
  background: -webkit-linear-gradient(to right, #7b5e57, transparent);
  background: linear-gradient(to right, #7b5e57, transparent);
}
.sub-menu a {
  color: #333;
  padding: 10px;
  display: block;
  text-decoration: none;
  color: inherit; /* 링크 색상도 기본 텍스트 색상으로 */
}

.sub-menu a:hover {
  color: #ccc;
  cursor: url("../images/ball2.png") 32 32, auto;
}
.sub-menu a:active{
  color: #7b5e57;
  cursor: url("../images/ball2.png") 32 32, auto;
}
/* aside 옆부분 조정 */
.content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  max-width: 1500px;
  margin: 0 auto;
  padding: 40px 20px;
}
/*Q&A*/
.chat-container {
  margin-top: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 30px;
  padding-left: 70px;
  padding-right: 70px;
  text-align: left;
  padding-bottom: 50px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.chat-row {
  display: flex;
  align-items: center;
}

.chat-row.left {
  justify-content: flex-start;
  gap: 20px;
}

.chat-row.right {
  justify-content: flex-end;
  gap: 20px;
}

.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 10px;
}

.speech-bubble {
  max-width: 500px;
  padding: 10px 15px;
  border-radius: 15px;
  background-color: #f0f0f0;
  position: relative;
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 10px;
}

/* 말풍선 꼬리 - 왼쪽 */
.chat-row.left .speech-bubble::after {
  content: "";
  position: absolute;
  top: 10px;
  left: -19px;
  border: 10px solid transparent;
  border-right-color: #f0f0f0;
}

/* 말풍선 꼬리 - 오른쪽 */
.chat-row.right .speech-bubble::after {
  content: "";
  position: absolute;
  top: 45%;
  right: -19px;
  border: 10px solid transparent;
  border-left-color: #f0f0f0;
}
section {
  scroll-margin-top: 80px;
}

#st {
  position: relative;
  line-height: 1.4;
  padding: 0.25em 1em;
  display: inline-block;
}

#st:before,
#st:after {
  content: "";
  width: 15px;
  height: 18px;
  position: absolute;
  display: inline-block;
}

#st:before {
  border-left: solid 2px #a38781;
  border-top: solid 2px #a38781;
  top: 0;
  left: 0;
}

#st:after {
  border-right: solid 2px #a38781;
  border-bottom: solid 2px #a38781;
  bottom: 0;
  right: 0;
}

.content-wrapper > aside {
  width: 250px; /* 적당한 너비 */
  position: sticky; /* 스크롤 시 따라 내려오도록 */
  top: 120px; /* 헤더 높이만큼 띄우기 */
  align-self: flex-start; /* 세로 정렬 시작점 맞추기 */
}


/*brother광팬*/
.realistic-marker-highlight {
  background-color: #ffd86d62;
  line-height: 1.8;      /* ↑ 줄 간격 조절로 마커 높이 확보 */
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  display: inline;
}

.circle-sketch-highlight{
  position:relative;
}

.circle-sketch-highlight:before{
  content:"";
  z-index:-1;
  left:-0.5em;
  top:-0.1em;
  border-width:2px;
  border-style:solid;
  border-color:rgba(255, 0, 64, 0.555);
  position:absolute;
  border-right-color:transparent;
  width:100%;
  height:1em;
  transform:rotate(2deg);
  opacity:0.7;
  border-radius:50%;
  padding:0.1em 0.25em;
}

.circle-sketch-highlight:after{
  content:"";
  z-index:-1;
  left:-0.5em;
  top:0.1em;
  padding:0.1em 0.25em;
  border-width:2px;
  border-style:solid;
  border-color:rgba(255, 0, 64, 0.555);
  border-left-color:transparent;
  border-top-color:transparent;
  position:absolute;
  width:100%;
  height:1em;
  transform:rotate(-1deg);
  opacity:0.7;
  border-radius:50%;
}




/* footer */
footer {
  background: #e4d1af;
  text-align: center;
  padding: 26px 0;
  bottom: 0;
  left: 0;
  width: 100%;
}

footer p {
  color: #7b5e57;
  font-size: 0.875rem;
  font-family: "Klee One", sans-serif;
}

/* QR 코드 관련 스타일 */
.footer-content {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
        }

        /* QR 버튼 스타일 */
        .qr-code-btn {
            position: absolute;
            right: 20px;
            width: 40px;
            height: 40px;
            background-color: #fff;
            border-radius: 8px;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            border: 2px solid #333;
        }

        .qr-code-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            cursor: url("../images/ball2.png") 32 32, auto;
        }

        .qr-icon {
            width: 24px;
            height: 24px;
            font-size: 20px;
            color: #7b5e57;
        }

        /* QR 모달 배경 */
        .qr-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 10000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .qr-modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        /* QR 모달 컨텐츠 */
        .qr-modal-content {
            position: absolute;
            background-color: #fff;
            border-radius: 15px;
            padding: 40px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
            text-align: center;
            width: 700px;
            max-width: 90vw;
            /* 초기 위치: QR 버튼 위치 */
            transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .qr-modal-overlay.active .qr-modal-content {
            /* 최종 위치: 화면 중앙 */
            top: 50%;
            left: 50%;
            bottom: auto;
            right: auto;
            transform: translate(-50%, -50%) scale(1);
            opacity: 1;
        }

        /* 닫기 버튼 */
        .qr-close-btn {
            position: absolute;
            top: -15px;
            right: -15px;
            width: 40px;
            height: 40px;
            background-color: #333;
            color: #fff;
            border: none;
            border-radius: 50%;
            font-size: 1.5rem;
            font-weight: bold;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: transform 0.3s ease;
        }

        .qr-close-btn:hover {
            transform: rotate(360deg);
            cursor: url("../images/ball2.png") 32 32, auto;
        }

        /* 모달 제목 */
        .qr-modal-title {
            color: #333;
            margin-bottom: 30px;
            font-family: 'Klee One', cursive;
            font-size: 32px;
            font-weight: bold;
        }

        /* QR 이미지 컨테이너 */
        .qr-image-container {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .qr-image {
            width: 500px;
            height: 500px;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            background-color: #f0f0f0;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 16px;
            color: #666;
        }
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 1.8s ease-out forwards;
}
/* 페이드 아웃 효과 */
.fade-out {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.fade-in-start {
  opacity: 0;
  animation: fadeInStart 1s ease-in-out forwards;
}
/* 스크롤 애니메이션 */
.scroll-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

.scroll-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
@keyframes fadeInStart {
  to {
    opacity: 1;
  }
}
/* 모바일 Aside 버튼 스타일 */
        .mobile-aside-btn {
            display: none;
            position: fixed;
            right: 15px;
            bottom: 50px;
            width: 50px;
            height: 50px;
            background-color: #7b5e57;
            color: white;
            border: none;
            border-radius: 50%;
            font-size: 18px;
            font-weight: bold;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            z-index: 1500;
            transition: all 0.3s ease;
            cursor: url("../images/ball2.png") 32 32, auto;
        }

        .mobile-aside-btn:hover {
            transform: scale(1.1);
            background-color: #a38781;
        }

        /* 모바일 Aside 드롭다운 */
        .mobile-aside-dropdown {
            display: none;
            position: fixed;
            right: 15px;
            bottom: 120px;
            background-color: #fff;
            border: 2px solid #7b5e57;
            border-radius: 15px;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
            z-index: 1600;
            opacity: 0;
            transform: translateY(20px);
            pointer-events: none;
            transition: all 0.3s ease;
            max-width: 250px;
            width: calc(100vw - 40px);
            max-height: 60vh;
            overflow-y: auto;
        }

        .mobile-aside-dropdown.show {
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }

        .mobile-aside-dropdown h3 {
            margin: 0;
            padding: 15px 20px 10px;
            color: #7b5e57;
            font-size: 1.2rem;
            border-bottom: 2px solid #7b5e57;
            background-color: #f6ecd9;
            border-radius: 13px 13px 0 0;
            font-family: "Klee One", cursive;
            font-weight: bold;
        }

        .mobile-aside-dropdown ul {
            list-style: none;
            padding: 10px 0;
            margin: 0;
        }

        .mobile-aside-dropdown li {
            margin: 0;
            padding: 0;
        }

        .mobile-aside-dropdown a {
            display: block;
            padding: 12px 20px;
            color: #333;
            text-decoration: none;
            font-family: "Klee One", cursive;
            font-size: 14px;
            line-height: 1.4;
            transition: all 0.2s ease;
            border-bottom: 1px solid #eee;
            font-weight: bold;
        }

        .mobile-aside-dropdown a:hover {
            background-color: #f6ecd9;
            color: #7b5e57;
            padding-left: 25px;
        }

        .mobile-aside-dropdown li:last-child a {
            border-bottom: none;
        }

        .mobile-aside-btn:hover {
            transform: scale(1.1);
            background-color: #a38781;
        }
 /* 모바일 스크롤 버튼들 */
.mobile-scroll-btn {
    display: none;
    position: fixed;
    right: 15px;
    width: 50px;
    height: 50px;
    background-color: #7b5e57;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1500;
    transition: all 0.3s ease;
    cursor: url("../images/ball2.png") 32 32, auto;
}

.mobile-top-btn {
    bottom: 170px; /* 맨 위로 버튼 */
}

.mobile-bottom-btn {
    bottom: 110px; /* 맨 아래로 버튼 */
}

.mobile-scroll-btn:hover {
    transform: scale(1.1);
    background-color: #a38781;
}
/* 새로운 PC용 스크롤 버튼 */
.pc-scroll-btn {
    width: 50px;
    height: 50px;
    background-color: #7b5e57;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: url("../images/ball2.png") 32 32, auto;
    margin: 5px 0;
}

.pc-scroll-btn:hover {
    transform: scale(1.1);
    background-color: #a38781;
}

.pc-scroll-btn:active {
    transform: scale(0.95);
    background-color: #6b4e47;
}

/* PC용 버튼 컨테이너 */
.pc-scroll-buttons-container {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}
/* 600px 이하 화면용 반응형 디자인 */
@media screen and (max-width: 600px) {
  html,
  body {
    overflow-x: hidden; /* 가로 스크롤 방지 */
  }
  body {
    padding: 0 10px;
    background-size: cover;
    background-position: center;
  }

  .menu-toggle {
    display: block;
    position: fixed;
    font-size: 1rem;
    padding: 8px 12px;
    background-color: #fff;
    border: 2px solid #333;
    border-radius: 8px;
    cursor: url("../images/ball2.png") 32 32, auto;
  }

  .dropdown-menu {
    position: absolute;
    right: 10px;
    width: 36%;
    margin-top: -10px;
    background-color: #f8f8f8;
    border: 1px solid #ccc;
    opacity: 0;
    cursor: url("../images/ball2.png") 32 32, auto;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.3s ease;
  }
  .dropdown-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .dropdown-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .dropdown-menu li {
    margin: 0;
  }
  .dropdown-menu a {
    display: block;
    padding: 8px 18px;
    font-size: 18px;
    color: #333;
    font-family: "Yomogi", cursive;
    text-decoration: none;
    transition: background-color 0.2s ease;
    line-height: 1.6;
  }

  .dropdown-menu a:hover {
    background-color: #eee;
    border-radius: 8px;
  }

  .main-nav {
    list-style: none;
    flex-direction: column;
    display: none; /* 원래 메뉴 숨기기 */
  }

  .background-wrapper {
    height: 300px; /* 더 작은 높이로 조정 */
    margin-top: 80px; /* 모바일에서 여백 조정 */
    padding: 0 10px;
  }

  .background-text {
    font-size: 20px; /* 글씨 크기 줄이기 */
    padding: 0 10px; /* 좌우 여백 확보 */
  }
  .scroll-arrow {
    font-size: 40px;
  }
  .scroll-arrow svg {
    width: 36px;
    height: 48px;
  }
  #profile {
    flex-direction: column;
    width: 90%;
    padding: 10% 5%;
  }

  #profile img {
    width: 100px;
    margin-bottom: 10px;
  }

  #profile p {
    font-size: 14px;
    line-height: 1.4;
  }
  .naiyong {
    padding-top: 50px;
    padding-left: 30px;
    padding-right: 30px;
  }
  .chat-container {
    margin-top: 0px;
    padding-top: 20px;
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 20px;
  }
  .chat-row {
    flex-direction: column;
  }
  .chat-row.left {
    align-items: flex-start;
  }

  .chat-row.left img {
    order: 0;
  }
  .chat-row.left .speech-bubble {
    order: 1;
  }
  .chat-row.right {
    align-items: flex-end;
  }
  .chat-row.right img {
    order: 0; /* 사진 먼저 */
  }
  .chat-row.right .speech-bubble {
    order: 1; /* 말풍선 나중 */
  }
  /* / 말풍선 꼬리 - 왼쪽 / */
  .chat-row.left .speech-bubble::after {
    content: "";
    position: absolute;
    top: 0px;
    left: 10px;
    border: 10px solid transparent;
    border-right-color: #f0f0f0;
  }

  /* 말풍선 꼬리 - 오른쪽 */
  .chat-row.right .speech-bubble::after {
    content: "";
    position: absolute;
    top: 0;
    right: 10px;
    border: 10px solid transparent;
    border-left-color: #f0f0f0;
  }
  footer {
    padding: 0 10px;
  }

  footer p {
    font-size: 0.75rem;
  }
  .content-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .content-wrapper > aside {
    order: -1; /* ⭐️ aside를 위로 */
    align-self: center;
  }
  aside {
    width: 100%;
    margin-top: 20px;
  }

  .qr-code-btn {
                right: 15px;
                width: 26px;
                height: 26px;
            }

            .qr-icon {
                width: 20px;
                height: 20px;
                font-size: 18px;
            }

            .qr-modal-content {
                width: 300px;
                padding: 30px;
                right: 30px;
            }

            .qr-modal-title {
                font-size: 26px;
                margin-bottom: 25px;
            }

            .qr-image {
                width: 300px;
                height: 300px;
            }

            .qr-close-btn {
                width: 35px;
                height: 35px;
                font-size: 18px;
            }
            .mobile-aside-btn {
                display: block;
            }
            
            .mobile-aside-dropdown {
                display: block;
            }
            .mobile-scroll-btn{
              display: block;
            }
            .pc-scroll-buttons-container {
              display: none;
            }
  }
  /* PC에서만 PC용 버튼 표시 */
@media screen and (min-width: 601px) {
    .pc-scroll-buttons-container {
        display: flex;
    }
}
