/* [LDH 26.09.15] event_multi 게시판 반응형 작업 */
/* 상단 검색바, 지점 리스트, 카테고리, 하단 유의사항 */

/* [LDH 26.10.19] 지점선택 개선 - 국내/해외 탭 */

/* location tab */
#tab_location {display: flex; justify-content: center; padding: 30px 0 0; background: #fff;}
#tab_location ul {display: flex; width: 366px; height: 52px; border-radius: 26px; background: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);}
#tab_location li {position: relative; flex: 1 1 50%;}
#tab_location li + li:before {content: ''; position: absolute; top: 50%; left: 0; width: 1px; height: 18px; margin-top: -9px; background: #e5e5e5;}
#tab_location a {display: flex; justify-content: center; align-items: center; height: 100%; font-size: 19px; color: #9d9d9d; font-weight: 400; letter-spacing: -0.02em;}
#tab_location a:hover {color: #000;}
#tab_location .on a {color: #000;}

/* [2026.11.10] 이벤트(community01.php) - 해외 오픈 전까지 국내/해외 탭 숨김 */
/* 지역 탭 상단 여백 = 기존 국내/해외 탭 상단 여백(30px) + 지역 탭 여백(24px) */
.branch_filter_event #tab_location {display: none;}
/* [2026.11.24] 지역 탭은 배경 없이 줄 높이(62px) 가운데에 글자가 있어 지점안내(알약 테두리)보다 넓어 보임 → 글자 위 여백((62-22)/2=20px)만큼 줄여 지점안내와 체감 간격 통일 (54px → 34px) */
.branch_filter_event #tab_location + #tab_area {margin-top: 34px;}

/* [2026.11.20] 지점안내(community02.php) - 국내/해외 탭 상단 여백 확대 (이벤트 지역 탭 상단 여백과 동일) */
.branch_filter_jijeom #tab_location {padding-top: 54px;}

/* area tab - 국내: 지역 / 해외: 국가 */
#tab_area {max-width: 1400px; width: 90%; margin: 24px auto 0; border-bottom: 2px solid #ebeef3;}
#tab_area ul {display: flex; justify-content: center; gap: 52px;}
#tab_area li {position: relative;}
#tab_area a, #tab_area span {display: block; padding: 0 13px; font-size: 22px; color: #9d9d9d; line-height: 62px; font-weight: 400; letter-spacing: -0.02em; white-space: nowrap;}
#tab_area a:hover {color: #000;}
#tab_area .ready span {cursor: pointer;}
#tab_area .on a {color: #000;}
#tab_area .on a:after {content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 5px; background: #15161a;}
#tab_area .swiper-button-next.swiper-button-disabled:before, #tab_area .swiper-button-prev.swiper-button-disabled:before {opacity: 0; pointer-events: none;}

/* 검색바 미노출 (지점선택 개선 시안 기준, community01.php 한정) */
.branch_filter_jijeom #tab_menu03_wrap {display: none;}

/* [2026.11.26] 이벤트(community01.php) - 검색바 재노출 : 지점 탭(#tab_menu01) 아래 · 시술 카테고리(#tab_menu02) 위 오른쪽 정렬 */
/* 위치 이동은 list.php 스크립트, 지역·지점 선택(select)·초기화 버튼은 지점 탭으로 대체되어 숨김 (현재 지점 etc5 기준으로 제목 검색) */
/* list.php 인라인 style(#tab_menu03_wrap ...) 을 덮어쓰기 위해 .branch_filter_event 로 선택자를 높임 */
.branch_filter_event #tab_menu03_wrap {max-width: 1400px; width: 90%; margin: 100px auto 0; padding: 0; background: none;}
.branch_filter_event #tab_menu03_wrap #tab_menu03 {position: relative; display: block; width: 514px; max-width: 100%; margin: 0 0 0 auto; background: none;}
.branch_filter_event #tab_menu03_wrap select,
.branch_filter_event #tab_menu03_wrap .btn_reset {display: none;}
.branch_filter_event #tab_menu03_wrap input[type="text"] {display: block; width: 100%; height: 56px; margin: 0; padding: 0 70px 0 24px; border: 0; border-radius: 28px; background: #f5f5f5; box-shadow: none; box-sizing: border-box; font-size: 18px; font-weight: 500; color: #000; letter-spacing: -0.05em; outline: none;}
.branch_filter_event #tab_menu03_wrap input[type="text"]::placeholder {color: rgba(0, 0, 0, 0.3); opacity: 1;}
.branch_filter_event #tab_menu03_wrap .btn_submit {position: absolute; top: 0; right: 15px; width: 56px; max-width: none; height: 100%; margin: 0; padding: 0; border: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28.12 28.12' fill='none' stroke='%23000' stroke-width='3'%3E%3Ccircle cx='11.916' cy='11.916' r='10.416'/%3E%3Cpath d='M20.58 20.58L26 26' stroke-linecap='square'/%3E%3C/svg%3E") center / 26px no-repeat; box-shadow: none; font-size: 0; color: transparent; cursor: pointer;}
/* 검색바가 지점 탭과 시술 카테고리 사이에 들어가 '#tab_menu01 + #tab_menu02' 여백이 적용되지 않으므로 별도 지정 */
.branch_filter_event #tab_menu03_wrap ~ #tab_menu02 {margin: 32px auto 58px;}

/* 지점 탭 - 알약 버튼형 (국내: #tab_menu01 / 해외: #tab_branch_abroad) */
/* height / padding 은 공통 스크립트(footer.php)·default.css 의 인라인 및 !important 선언을 덮어쓰기 위함 */
.branch_filter_page #tab_menu01 {max-width: 1400px; width: 90%; height: auto !important;}
/* 지점 탭 상단 여백 : 이벤트는 #board_content 의 margin-top 80px 을 보정, 지점안내는 #main 바로 아래라 직접 지정 */
/* 지점안내는 #tab_menu03_wrap 과 형제라서 위쪽 '#tab_menu03_wrap ~ #tab_menu01'(ID 2개) 보다 선택자를 높여야 함 */
.branch_filter_event #tab_menu01 {margin-top: -30px;}
/* [2026.11.20] 이벤트(사용자 페이지) - 관리자 로그인 시 노출되는 제목 검색바·엑셀 대량등록 영역 숨김 (관리자 페이지 /admin/community.php 에서는 그대로 노출) */
.branch_filter_event #tab_menu03.hd_search_wrap,
.branch_filter_event .excel_bulk_wrap {display: none !important;}
.branch_filter_jijeom #tab_menu03_wrap ~ #tab_menu01 {margin-top: 50px; margin-bottom: 50px;}
.branch_filter_page #tab_menu01 .fake_first,
.branch_filter_page #tab_menu01 .fake_line {display: none;}
.branch_filter_page #tab_menu01 li:before,
.branch_filter_page #tab_menu01 li:after {display: none;}
.branch_filter_page #tab_menu01 .on a:after,
.branch_filter_page #tab_menu01 .select a:after {display: none;}
.branch_filter_page #tab_menu01 ul,
#tab_branch_abroad ul {display: grid; gap: 18px 13px; padding-top: 0; border: 0;}
.branch_filter_page #tab_menu01 li,
#tab_branch_abroad li {width: 100%; margin-bottom: 0;}
.branch_filter_page #tab_menu01 a, .branch_filter_page #tab_menu01 span,
#tab_branch_abroad a, #tab_branch_abroad span {display: flex; justify-content: center; align-items: center; height: 47px; padding: 0 10px !important; border-radius: 24px; background: #f5f5f5; font-size: 17px; color: #000; line-height: 1.2; font-weight: 500; text-align: center; word-break: keep-all; transition: background-color 0.2s, color 0.2s;}
.branch_filter_page #tab_menu01 span,
#tab_branch_abroad span {color: #9d9d9d; cursor: pointer;}
.branch_filter_page #tab_menu01 a:hover,
#tab_branch_abroad a:hover {background: #15161a; color: #fff;}
.branch_filter_page #tab_menu01 .on a, .branch_filter_page #tab_menu01 .select a,
#tab_branch_abroad .on a {background: #15161a; color: #fff;}

/* 시술 카테고리 탭 - 원형 아이콘형 (지점선택 개선 시안) */
/* 아이콘 : /board/images/evt_part_icon0*.png, 마우스 오버·선택 시 _hover.png 로 교체 */
/* 카테고리 클릭 시 #tab_menu02 앵커로 이동한다. 고정 헤더(PC 68px / 모바일 45px) 아래로 내려오도록 여백을 준다 */
.branch_filter_page #tab_menu02 {max-width: 1400px; width: 90%; scroll-margin-top: 90px;}
.branch_filter_page #tab_menu01 + #tab_menu02 {margin: 51px auto 58px;}
.branch_filter_page #tab_menu02:before,
.branch_filter_page #tab_menu02:after {display: none;}
.branch_filter_page #tab_menu02 ul {display: flex; justify-content: center;}
.branch_filter_page #tab_menu02 li {float: none; width: 12.5%; max-width: 133px; border-right: 0;}
.branch_filter_page #tab_menu02 li a {display: flex; flex-direction: column; align-items: center; gap: 16px; height: auto; font-size: 16px; color: #000; line-height: 1.2; font-weight: 500;}
.branch_filter_page #tab_menu02 li a:before {width: 102px; height: 102px; margin: 0; background: no-repeat center / 92px auto; transform: none; --icon_bg: 92px;}
.branch_filter_page #tab_menu02 li.select a, .branch_filter_page #tab_menu02 li.on a {color: #000;}
.branch_filter_page #tab_menu02 li.select a:after, .branch_filter_page #tab_menu02 li.on a:after {display: none;}
.branch_filter_page #tab_menu02 li a:hover:before,
.branch_filter_page #tab_menu02 li.select a:before,
.branch_filter_page #tab_menu02 li.on a:before {background-size: calc(var(--icon_bg) * var(--hover_scale, 1.1141)) auto; background-position: calc(50% + var(--icon_bg) * var(--hover_x, 0) / 92) calc(50% + var(--icon_bg) * var(--hover_y, 0) / 92);}
/* [26.11.23] 호버 덜컹임 보정 - 호버 이미지 안쪽 그림이 일반 이미지와 겹치도록 아이콘별 크기 배율(--hover_scale)·위치(--hover_x/y, PC 92px 기준 px)를 지정.
   --icon_bg : 화면 크기별 일반 이미지 크기(PC 92 / 1280 80 / 1024 58 / 480 52), 호버 크기·위치는 이 값에 비례 (기본 배율 1.1141 = PC 102.5px) */

.branch_filter_page #tab_menu02 li:nth-child(1) a:before {background-image: url(/board/images/evt_part_icon01.png);}
.branch_filter_page #tab_menu02 li:nth-child(2) a:before {background-image: url(/board/images/evt_part_icon02.png);}
.branch_filter_page #tab_menu02 li:nth-child(3) a:before {background-image: url(/board/images/evt_part_icon03.png);}
.branch_filter_page #tab_menu02 li:nth-child(4) a:before {background-image: url(/board/images/evt_part_icon04.png);}
.branch_filter_page #tab_menu02 li:nth-child(5) a:before {background-image: url(/board/images/evt_part_icon05.png);}
.branch_filter_page #tab_menu02 li:nth-child(6) a:before {width: 102px; margin: 0; background-image: url(/board/images/evt_part_icon06.png);}
.branch_filter_page #tab_menu02 li:nth-child(7) a:before {background-image: url(/board/images/evt_part_icon07.png);}
.branch_filter_page #tab_menu02 li:nth-child(8) a:before {background-image: url(/board/images/evt_part_icon08.png);}

.branch_filter_page #tab_menu02 li:nth-child(1) a:hover:before, .branch_filter_page #tab_menu02 li:nth-child(1).select a:before, .branch_filter_page #tab_menu02 li:nth-child(1).on a:before {background-image: url(/board/images/evt_part_icon01_hover.png); --hover_scale: 1.1196; --hover_x: 0.5; --hover_y: 0.5;}
.branch_filter_page #tab_menu02 li:nth-child(2) a:hover:before, .branch_filter_page #tab_menu02 li:nth-child(2).select a:before, .branch_filter_page #tab_menu02 li:nth-child(2).on a:before {background-image: url(/board/images/evt_part_icon02_hover.png); --hover_scale: 1.1087; --hover_x: 1.5; --hover_y: 0.5;}
.branch_filter_page #tab_menu02 li:nth-child(3) a:hover:before, .branch_filter_page #tab_menu02 li:nth-child(3).select a:before, .branch_filter_page #tab_menu02 li:nth-child(3).on a:before {background-image: url(/board/images/evt_part_icon03_hover.png); --hover_scale: 1.1087; --hover_x: -0.5; --hover_y: -0.5;}
.branch_filter_page #tab_menu02 li:nth-child(4) a:hover:before, .branch_filter_page #tab_menu02 li:nth-child(4).select a:before, .branch_filter_page #tab_menu02 li:nth-child(4).on a:before {background-image: url(/board/images/evt_part_icon04_hover.png); --hover_scale: 1.1087; --hover_x: -0.5; --hover_y: -0.5;}
.branch_filter_page #tab_menu02 li:nth-child(5) a:hover:before, .branch_filter_page #tab_menu02 li:nth-child(5).select a:before, .branch_filter_page #tab_menu02 li:nth-child(5).on a:before {background-image: url(/board/images/evt_part_icon05_hover.png); --hover_x: -0.5; --hover_y: -0.5;}
.branch_filter_page #tab_menu02 li:nth-child(6) a:hover:before, .branch_filter_page #tab_menu02 li:nth-child(6).select a:before, .branch_filter_page #tab_menu02 li:nth-child(6).on a:before {background-image: url(/board/images/evt_part_icon06_hover.png); --hover_scale: 1.1033;}
.branch_filter_page #tab_menu02 li:nth-child(7) a:hover:before, .branch_filter_page #tab_menu02 li:nth-child(7).select a:before, .branch_filter_page #tab_menu02 li:nth-child(7).on a:before {background-image: url(/board/images/evt_part_icon07_hover.png); --hover_x: -0.5;}
.branch_filter_page #tab_menu02 li:nth-child(8) a:hover:before, .branch_filter_page #tab_menu02 li:nth-child(8).select a:before, .branch_filter_page #tab_menu02 li:nth-child(8).on a:before {background-image: url(/board/images/evt_part_icon08_hover.png); --hover_x: -0.5; --hover_y: -0.5;}
/* [26.11.23] 호버 이미지 미리 불러오기 - 첫 호버 시 이미지 로딩 동안 아이콘이 비었다 나타나는(깜빡임) 현상 방지. 화면에는 보이지 않음 */
.branch_filter_page #tab_menu02 ul:after {position: absolute; width: 0; height: 0; overflow: hidden; z-index: -1; content: url(/board/images/evt_part_icon01_hover.png) url(/board/images/evt_part_icon02_hover.png) url(/board/images/evt_part_icon03_hover.png) url(/board/images/evt_part_icon04_hover.png) url(/board/images/evt_part_icon05_hover.png) url(/board/images/evt_part_icon06_hover.png) url(/board/images/evt_part_icon07_hover.png) url(/board/images/evt_part_icon08_hover.png);}

/* 해외 지점 목록 (퍼블리싱용 정적 목록, 국내 목록은 숨김) */
.branch_filter_abroad #tab_menu01 {display: none;}
.branch_filter_abroad #board_content {margin-top: 15px;}
#tab_branch_abroad {max-width: 1400px; width: 90%; margin: 48px auto 0;}
.branch_filter_jijeom #tab_branch_abroad {margin-bottom: 50px;}
#tab_branch_abroad ul {grid-template-columns: repeat(5, 1fr);}

/* list menu */
#tab_menu03_wrap {padding: 50px 0; margin-top: 0;}
#tab_menu03 {max-width: 1400px; width: 90%; margin: 10px auto 0; display: flex; gap: 5px; justify-content: center; align-items: center;}

#tab_menu01 {max-width: 1400px; width: 100%;}
#tab_menu03_wrap ~ #tab_menu01 {margin-top: 0;}
#tab_menu01 ul {grid-template-columns: repeat(9, 1fr); display: grid; min-width: auto; width: 100%;}
#tab_menu01 li {float: none; width: 100%;}
#tab_menu01 a, #tab_menu01 span {line-height: 1.2; display: flex; justify-content: center; align-items: center; text-align: center; height: 61px; word-break: keep-all; padding: 0 4px;}

#tab_menu02 .swiper-button-prev, #tab_menu02 .swiper-button-next {position: absolute; top: 1px; width: 40px; height: 78px; margin: 0; transition: opacity 0.3s;}
#tab_menu02 .swiper-button-prev.swiper-button-disabled,
#tab_menu02 .swiper-button-next.swiper-button-disabled {opacity: 0; pointer-events: none;}
#tab_menu02 .swiper-button-prev {left: 0; background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100%);}
#tab_menu02 .swiper-button-next {right: 0; background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 1) 100%);}
#tab_menu02 .swiper-button-prev:before {position: absolute; top: 50%; left: 10px; width: 10px; height: 16px; margin-top: -8px; background: url(../images/btn_swiper_prev.png) no-repeat center; background-size: contain; content: '';}
#tab_menu02 .swiper-button-next:before {position: absolute; top: 50%; right: 10px; width: 10px; height: 16px; margin-top: -8px; background: url(../images/btn_swiper_next.png) no-repeat center; background-size: contain; content: '';}

.txt_event > div {display: flex; justify-content: center; align-items: flex-start; gap: 50px;}
.txt_event .notion {font-size: 18px; color: #aaa; display: flex; justify-content: flex-start; gap: 0.56em;}
.txt_event .notion::before {content:''; width: 1.33em; height: 1.33em; background: #aaa; mask:url(../images/caution_icon.svg) no-repeat center / cover; transform: translateY(0.11em);}
.txt_event ul li {color: #a9a9a9; font-size: 15px; position: relative; padding-left: 10px; word-break: keep-all;}
.txt_event ul li::before {content:''; display: block; width: 3px; height: 3px; border-radius: 50%; background: #a9a9a9; position: absolute; top: 10px; left: 0;}

/* 리저브 배너 - 이벤트 / 지점안내 (배경은 화면 꽉 차게, 텍스트 이미지는 가운데) */
.reserve_link_wrap.event_multi_reserve_link,
.reserve_link_wrap.community02_reserve_link {max-width: none; background-position: center center; background-color: #0d0d0d; overflow: hidden;}
.reserve_link_wrap.event_multi_reserve_link a,
.reserve_link_wrap.community02_reserve_link a {height: 100%;}
.reserve_link_wrap.event_multi_reserve_link picture,
.reserve_link_wrap.community02_reserve_link picture {display: block; max-width: 100%;}
.reserve_link_wrap.event_multi_reserve_link img,
.reserve_link_wrap.community02_reserve_link img {display: block; max-width: 100%; height: auto;}

/* [2026.11.26] 지점안내(community02.php) EVENT 블록 - 6개(3열 2줄)만 노출, 전체는 '이벤트 더보기' 버튼으로 이벤트 페이지(선택 지점) 이동 */
/* 출력 개수(게시판 설정 30개)는 이벤트 페이지 페이징과 공유하므로 변경하지 않고 CSS 로만 숨김 */
.branch_filter_jijeom #sub_content .boardList > ul > li:nth-child(n+7) {display: none;}

@media screen and (max-width: 1400px) {
  /* list */
  #tab_menu01 a, #tab_menu01 span {font-size: 1.43vw;}
}

@media screen and (max-width: 1280px) {
  /* area tab */
  #tab_area ul {gap: 40px;}
  #tab_area a, #tab_area span {font-size: 20px; line-height: 58px;}

  /* branch tab */
  .branch_filter_page #tab_menu01 ul,
  #tab_branch_abroad ul {gap: 14px 10px;}
  .branch_filter_page #tab_menu01 a, .branch_filter_page #tab_menu01 span,
  #tab_branch_abroad a, #tab_branch_abroad span {height: 44px; border-radius: 22px; font-size: 15px;}

  /* list */
  #tab_menu03_wrap select {font-size: 16px;}
  #tab_menu03_wrap input[type="text"] {font-size: 16px; margin-left: 5px;}
  #tab_menu03_wrap button {font-size: 16px; max-width: 70px; width: 100%;}

  #tab_menu02 a {font-size: 16px; display: flex; justify-content: center; line-height: 1.2; height: 100px; font-weight: 500; align-items: center; word-break: keep-all; padding: 0 4px;}
  #tab_menu02 li a:before {background: no-repeat center / contain; margin-right: 4px; height: 40px;}
  #tab_menu02 li:nth-child(1) a:before {height: 20px;}

  /* category tab (icon) */
  .branch_filter_page #tab_menu01 + #tab_menu02 {margin: 42px auto 48px;}
  .branch_filter_event #tab_menu03_wrap {margin-top: 80px;}
  .branch_filter_event #tab_menu03_wrap ~ #tab_menu02 {margin: 28px auto 48px;}
  .branch_filter_page #tab_menu02 li a {gap: 13px; height: auto; font-size: 15px; padding: 0;}
  .branch_filter_page #tab_menu02 li a:before {width: 88px; height: 88px; margin: 0; background-size: 80px auto; --icon_bg: 80px;}
  .branch_filter_page #tab_menu02 li:nth-child(6) a:before {width: 88px;}
  .branch_filter_page #tab_menu02 li a:hover:before,
  .branch_filter_page #tab_menu02 li.select a:before,
  .branch_filter_page #tab_menu02 li.on a:before {background-size: calc(var(--icon_bg) * var(--hover_scale, 1.1141)) auto;}
}

/* 모바일 분기 */

@media screen and (max-width: 1024px) {
  /* 리저브 배너 - 이벤트 (인라인 margin-top: -30px 덮어쓰기) */
  .reserve_link_wrap.event_multi_reserve_link {margin-top: 30px !important;}

  /* location tab */
  #tab_location {padding: 25px 0 0;}
  #tab_location ul {width: 300px; height: 46px; border-radius: 23px;}
  #tab_location a {font-size: 16px;}
  /* [2026.11.24] 지점안내와 체감 간격 통일 - 글자 위 여백((50-17)/2≈16px)만큼 줄임 (43px → 27px) */
  .branch_filter_event #tab_location + #tab_area {margin-top: 27px;}
  .branch_filter_jijeom #tab_location {padding-top: 43px;}

  /* area tab */
  #tab_area {margin-top: 18px;}
  #tab_area ul {justify-content: flex-start; gap: 20px; overflow-x: auto; scrollbar-width: none;}
  #tab_area ul::-webkit-scrollbar {display: none;}
  #tab_area li {flex-shrink: 0;}
  #tab_area a, #tab_area span {padding: 0 8px; font-size: 17px; line-height: 50px;}
  #tab_area .on a:after {height: 4px;}

  /* [2026.11.11] area tab - swiper 전환 (구조는 community01.php / community02.php 하단 JS 에서 생성) */
  /* 선택 밑줄(bottom:-2px)이 .swiper-container 의 overflow:hidden 에 잘리지 않도록 아래로 2px 확장 */
  #tab_area .swiper-container {padding-bottom: 2px; margin-bottom: -2px;}
  #tab_area ul.swiper-wrapper {gap: 0; overflow: visible;}
  #tab_area li.swiper-slide {width: auto; margin-right: 20px;}
  #tab_area li.swiper-slide:last-child {margin-right: 0;}
  #tab_area .swiper-button-prev, #tab_area .swiper-button-next {position: absolute; top: 0; width: 40px; height: 50px; margin: 0; transition: opacity 0.3s;}
  #tab_area .swiper-button-prev {left: 0; background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100%);}
  #tab_area .swiper-button-next {right: 0; background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 1) 100%);}
  #tab_area .swiper-button-prev:before {position: absolute; top: 50%; left: 10px; width: 10px; height: 16px; margin-top: -8px; background: url(../images/btn_swiper_prev.png) no-repeat center; background-size: contain; content: '';}
  #tab_area .swiper-button-next:before {position: absolute; top: 50%; right: 10px; width: 10px; height: 16px; margin-top: -8px; background: url(../images/btn_swiper_next.png) no-repeat center; background-size: contain; content: '';}
  #tab_area .hide_ctrl .swiper-button-prev, #tab_area .hide_ctrl .swiper-button-next {display: none;}
  /* [2026.11.20] 탭이 화면 폭 안에 다 들어갈 때(지점안내 해외 국가 탭 등) - 화살표 숨김 + 중앙정렬 (fit_ctrl 은 community02.php 스크립트에서 부여) */
  #tab_area .fit_ctrl .swiper-button-prev, #tab_area .fit_ctrl .swiper-button-next {display: none;}
  #tab_area .fit_ctrl .swiper-wrapper {justify-content: center;}

  /* branch tab */
  #tab_branch_abroad {margin-top: 30px;}
  .branch_filter_page #tab_menu01 ul,
  #tab_branch_abroad ul {grid-template-columns: repeat(5, 1fr); gap: 12px 8px;}
  .branch_filter_page #tab_menu01 a, .branch_filter_page #tab_menu01 span,
  #tab_branch_abroad a, #tab_branch_abroad span {height: 42px; padding: 0 8px !important; border-radius: 21px; font-size: 13px; -webkit-tap-highlight-color: transparent;}
  /* [2026.11.11] 모바일 터치 시 호버 색상 미적용 (선택된 지점은 기존 선택 스타일 유지) */
  .branch_filter_page #tab_menu01 li:not(.on):not(.select) a:hover,
  #tab_branch_abroad li:not(.on) a:hover {background: #f5f5f5; color: #000;}

  /* list */
  #tab_menu03 {display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(2, 1fr); gap: 5px 0;}
  #tab_menu03_wrap select {font-size: 14px; height: 50px;}
  #tab_menu03_wrap select:nth-child(1) {grid-column: 1 / 4; width: 100%;}
  #tab_menu03_wrap select:nth-child(2) {grid-column: 4 / 7; width: 100%;}
  #tab_menu03_wrap select.full {grid-column: 1 / 7; width: 100%; background: #fff url(/board/images/sel_arrow01.png) calc(100% - 5px) 50% / 20px no-repeat !important;}
  #tab_menu03_wrap input[type="text"] {margin-left: 0; grid-column: 1 / 5; width: 100%; font-size: 14px; height: 50px;}
  #tab_menu03_wrap button {font-size: 14px; white-space: nowrap; height: 50px;}
  #tab_menu03_wrap .btn_submit {width: 100%; max-width: 200px; margin-left: 0;}
  #tab_menu03_wrap .btn_reset {width: 100%; max-width: 200px;}

  #tab_menu01 {height: auto !important;}
  #tab_menu01 .fake_line {display: none;}
  #tab_menu01 ul {grid-template-columns: repeat(5, 1fr); background: #fff; padding-top: 0; border-bottom: 1px solid #c1c1c1; border-top: 1px solid #c1c1c1;}
  #tab_menu01 li {margin-bottom: 0; position: relative;}
  #tab_menu01 li::after {content:''; display: block; position: absolute; bottom: -1px; left: 0; width: 100%; height: 1px!important; background: #c1c1c1;}
  #tab_menu01 a, #tab_menu01 span {font-size: 14px; height: 51px;}

  #tab_menu02 ul {display: flex;}
  #tab_menu02 li {float: none; width: 80px; flex-shrink: 0;}
  #tab_menu02 a {flex-direction: column; height: 80px; font-size: 13px;}
  #tab_menu02 li a:before {height: 35px;}
  #tab_menu02 li:nth-child(1) a{gap: 15px;}
  #tab_menu02 li:nth-child(1) a:before {transform: translateY(7px);}

  /* category tab (icon) - swiper 구조는 기존 JS 그대로 사용 */
  .branch_filter_page #tab_menu02 {scroll-margin-top: 60px;}
  .branch_filter_page #tab_menu01 + #tab_menu02 {margin: 30px auto 40px;}
  .branch_filter_event #tab_menu03_wrap {margin-top: 60px;}
  .branch_filter_event #tab_menu03_wrap input[type="text"] {height: 50px; padding-left: 22px; font-size: 16px;}
  .branch_filter_event #tab_menu03_wrap ~ #tab_menu02 {margin: 24px auto 40px;}
  .branch_filter_page #tab_menu02 ul {justify-content: flex-start;}
  .branch_filter_page #tab_menu02 li {width: 80px; max-width: none;}
  .branch_filter_page #tab_menu02 li a, .branch_filter_page #tab_menu02 li:nth-child(1) a {gap: 10px; height: auto; font-size: 13px;}
  .branch_filter_page #tab_menu02 li a:before, .branch_filter_page #tab_menu02 li:nth-child(1) a:before {width: 64px; height: 64px; margin: 0; background-size: 58px auto; transform: none; --icon_bg: 58px;}
  .branch_filter_page #tab_menu02 li:nth-child(6) a:before {width: 64px;}
  .branch_filter_page #tab_menu02 li a:hover:before,
  .branch_filter_page #tab_menu02 li.select a:before,
  .branch_filter_page #tab_menu02 li.on a:before {background-size: calc(var(--icon_bg) * var(--hover_scale, 1.1141)) auto;}
  .branch_filter_page #tab_menu02 .swiper-button-prev, .branch_filter_page #tab_menu02 .swiper-button-next {height: 92px;}

  .txt_event > div {flex-direction: column; align-items: center; gap: 10px; text-align: center;}
  .txt_event ul li {padding-left: 0;}
  .txt_event ul li::before {position: relative; display: inline-block; top: -4px; margin-right: 10px;}
}

@media screen and (max-width: 768px) {
  /* 검색바 - 이벤트 (모바일은 전체 너비) */
  .branch_filter_event #tab_menu03_wrap #tab_menu03 {width: 100%;}

  /* 리저브 배너 - 이벤트 / 지점안내 (모바일은 배경+텍스트 합본 이미지 사용) */
  .reserve_link_wrap.event_multi_reserve_link,
  .reserve_link_wrap.community02_reserve_link {height: auto; background: none;}
  .reserve_link_wrap.event_multi_reserve_link picture, .reserve_link_wrap.event_multi_reserve_link img,
  .reserve_link_wrap.community02_reserve_link picture, .reserve_link_wrap.community02_reserve_link img {width: 100%;}
}

@media screen and (max-width: 480px) {
  /* location tab */
  #tab_location {padding: 20px 0 0;}
  #tab_location ul {width: 240px; height: 42px; border-radius: 21px;}
  #tab_location a {font-size: 14px;}
  /* [2026.11.24] 지점안내와 체감 간격 통일 - 글자 위 여백((46-16)/2=15px)만큼 줄임 (34px → 19px) */
  .branch_filter_event #tab_location + #tab_area {margin-top: 19px;}
  .branch_filter_jijeom #tab_location {padding-top: 34px;}

  /* area tab */
  #tab_area {margin-top: 14px;}
  #tab_area ul {gap: 14px;}
  /* [2026.11.11] 지역 탭 글자를 지점명보다 크게 (지점명 12px) */
  #tab_area a, #tab_area span {padding: 0 6px; font-size: 16px; line-height: 46px;}
  #tab_area .on a:after {height: 3px;}
  #tab_area li.swiper-slide {margin-right: 14px;}
  #tab_area li.swiper-slide:last-child {margin-right: 0;}
  #tab_area .swiper-button-prev, #tab_area .swiper-button-next {height: 46px;}

  /* branch tab */
  .branch_filter_event #tab_menu01 {margin-top: -50px;}  .branch_filter_jijeom #tab_menu03_wrap ~ #tab_menu01 {margin-top: 30px; margin-bottom: 30px;}
  #tab_branch_abroad {margin-top: 22px;}
  .branch_filter_jijeom #tab_branch_abroad {margin-bottom: 30px;}
  .branch_filter_page #tab_menu01 ul,
  #tab_branch_abroad ul {gap: 8px 6px;}
  .branch_filter_page #tab_menu01 a, .branch_filter_page #tab_menu01 span,
  #tab_branch_abroad a, #tab_branch_abroad span {height: 38px; padding: 0 6px !important; border-radius: 19px; font-size: 12px;}

  /* list */
  #tab_menu03_wrap {padding: 10px 0 15px;}
  #tab_menu03_wrap select {height: 40px; font-size: 12px;}
  #tab_menu03_wrap input[type="text"] {height: 40px; border: 3px solid #000; padding: 0 5px; font-size: 12px;}
  #tab_menu03_wrap button {height: 40px; font-size: 12px;}

  #tab_menu01 {margin-top: -80px;}
  #tab_menu01 a, #tab_menu01 span {font-size: 12px; height: 41px; font-weight: 400;}

  #tab_menu02 {margin: -66px auto 55px;}

  /* category tab (icon) */
  .branch_filter_page #tab_menu01 + #tab_menu02 {margin: 22px auto 35px;}
  .branch_filter_event #tab_menu03_wrap {margin-top: 40px;}
  .branch_filter_event #tab_menu03_wrap input[type="text"] {height: 44px; padding: 0 52px 0 18px; font-size: 14px;}
  .branch_filter_event #tab_menu03_wrap .btn_submit {right: 6px; width: 44px; background-size: 20px;}
  .branch_filter_event #tab_menu03_wrap ~ #tab_menu02 {margin: 20px auto 35px;}
  .branch_filter_page #tab_menu02 li {width: 72px;}
  .branch_filter_page #tab_menu02 li a, .branch_filter_page #tab_menu02 li:nth-child(1) a {gap: 8px; font-size: 12px;}
  .branch_filter_page #tab_menu02 li a:before, .branch_filter_page #tab_menu02 li:nth-child(1) a:before {width: 58px; height: 58px; background-size: 52px auto; --icon_bg: 52px;}
  .branch_filter_page #tab_menu02 li:nth-child(6) a:before {width: 58px;}
  .branch_filter_page #tab_menu02 li a:hover:before,
  .branch_filter_page #tab_menu02 li.select a:before,
  .branch_filter_page #tab_menu02 li.on a:before {background-size: calc(var(--icon_bg) * var(--hover_scale, 1.1141)) auto;}
  .branch_filter_page #tab_menu02 .swiper-button-prev, .branch_filter_page #tab_menu02 .swiper-button-next {height: 82px;}

  .txt_event .notion {font-size: 16px;}
  .txt_event ul li {font-size: 14px;}

  /* [2026.11.26] 지점안내 EVENT 블록 - 모바일(1열)은 3개만 노출 */
  .branch_filter_jijeom #sub_content .boardList > ul > li:nth-child(n+4) {display: none;}
}
/* [2026.12.03] 이벤트 시술 카테고리(#tab_menu02) / 지역 탭(#tab_area) - 오른쪽 끝 다음 항목이 살짝 보이도록
   - 기존 화살표 그라데이션은 바깥쪽 절반(20px)이 흰색으로 꽉 차 있어 다음 항목이 완전히 가려졌음
   - 그라데이션을 반투명(최대 0.85)으로 낮춤
   - 아이콘 탭은 회색 화살표가 아이콘 그림에 묻히므로 화살표 뒤에만 흰 원(지름 28px)을 깔고, 글자형 지역 탭은 원 없이 그라데이션만 (원이 다음 지역명을 가림)
   - 480px 이하 아이콘 탭은 한 화면에 4.5개가 들어가도록 폭을 맞춰, 화면 폭과 관계없이 다음 아이콘이 반쯤 걸쳐 보이게 함
   - 360px 이하 지역 탭은 글자·간격을 줄여 320px 에서도 다음 지역명이 보이게 함 (16px 이면 「대구·경북」이 영역 밖에서 시작해 완전히 가려짐) */
@media screen and (max-width: 1024px) {
  .branch_filter_page #tab_menu02 .swiper-button-prev {background: radial-gradient(circle at 15px 50%, #fff 0, #fff 13px, rgba(255, 255, 255, 0) 14px), linear-gradient(90deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 100%);}
  .branch_filter_page #tab_menu02 .swiper-button-next {background: radial-gradient(circle at calc(100% - 15px) 50%, #fff 0, #fff 13px, rgba(255, 255, 255, 0) 14px), linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 100%);}
  .branch_filter_page #tab_area .swiper-button-prev {background: linear-gradient(90deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 100%);}
  .branch_filter_page #tab_area .swiper-button-next {background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 100%);}
}

@media screen and (max-width: 480px) {
  .branch_filter_page #tab_menu02 li {width: calc(100% / 4.5);}
}

@media screen and (max-width: 360px) {
  .branch_filter_page #tab_area a, .branch_filter_page #tab_area span {font-size: 14px;}
  .branch_filter_page #tab_area li.swiper-slide {margin-right: 12px;}
  .branch_filter_page #tab_area li.swiper-slide:last-child {margin-right: 0;}
}
