/* =====================================================================================
   베일리수 반응형 덧씌우기   2026-11-19 송영리 (1호)
   AS-IS assets/css/layout.css 는 PC 고정폭(1035px) 이다 - 원본은 그대로 두고 1060px 이하에서만 덮어쓴다
   (PC 화면은 바뀌지 않는다).  메뉴는 햄버거(.bsMenuBtn) 로 접는다 - parts.html topMenu
   ===================================================================================== */
.bsMenuBtn { display:none; }

@media (max-width: 1060px) {
  html, body { overflow-x:hidden; }
  img { max-width:100%; height:auto; }

  /* 고정폭 상자 -> 화면폭 */
  #header, #footer, #content_area, .mainTitleArea, .galleryView, .informationView, .footerCopy, .footerInfoDetail,
  .mainLocation.fix .cont, .photographDetail, .photographImg, .photographTxt, .mainContentDetail
    { width:auto !important; min-width:0 !important; }
  #content_area { margin:10px 12px; padding:0 0 30px; }

  /* 머리 + 햄버거 메뉴 */
  .headerWrap, .headerWrap.fix { position:relative !important; }
  #header { height:auto; padding:6px 12px; text-align:left; }
  .headerTop { height:52px; }
  .headerTop h1 a { width:110px; height:52px; background-size:contain !important; background-position:left center !important; }
  .bsMenuBtn { display:block !important; position:absolute; right:12px; top:14px; padding:0 14px; height:36px; border:0; background:#c49a6c !important;
               font-size:15px; line-height:36px; color:#fff !important; border-radius:4px; z-index:30; }
  #header .gnb { display:none; }
  #header .gnb.open { display:block; }
  #header .gnb > ul > li { display:block; padding:0; border-top:1px solid #eee; }
  #header .gnb > ul > li > a { padding:12px 4px; margin:0; }
  #header .gnb > ul > li > a span { font-size:16px; line-height:22px; padding:0; }

  /* 메인 큰 배너 (1920px 가운데 정렬 -> 화면폭) */
  .visual, .main .visual, .visual .slide li { height:auto !important; }
  .visual .bx-wrapper, .visual .bx-viewport { width:100% !important; max-width:100% !important; }
  .visual .slide li { width:100% !important; left:0 !important; }
  .visual .slide figure, .main .visual figure { position:static; left:0 !important; width:100% !important; margin-left:0 !important; }
  /* 배너 그림은 1920px 에 가운데만 그림이 있다 -> 높이 220 으로 키우고 가운데를 잘라 보인다 */
  .visual .slide li { height:220px !important; overflow:hidden; }
  .visual .slide figure img { width:auto !important; max-width:none !important; height:220px !important;
                              position:relative; left:50%; transform:translateX(-50%); }
  .visual .bx-viewport { height:220px !important; }
  .visual .bx-wrapper .bx-controls-direction a { display:none !important; }

  /* 메인 갤러리 4칸 -> 2칸 */
  .galleryView, .informationView, .studioView { padding:0 12px; }
  .galleryView h2, .informationView h2, .chainSlide h2 { font-size:26px !important; line-height:1.3 !important; margin:24px 0 16px !important; }
  .galleryView li { width:46%; margin:0 1.5% 12px; }

  /* 무료촬영 바로가기 */
  .goLink ul { min-width:0; height:auto; display:block; }
  .goLink ul li { display:block; width:100%; padding:30px 10px; background-size:cover !important; }
  .goLink ul li:before { height:100%; }
  .goLink h2 span { font-size:24px; }

  /* Baileysoo is */
  .informationView { padding:0 12px; }
  .informationDetail .inforL, .informationDetail .inforR { float:none; width:100%; }
  .informationDetail .inforR li { width:33.333%; }

  /* 지점 슬라이드 -> 슬라이드 끄고 카드로 (main/index.html 에서 bxSlider 를 안 건다) */
  .studioView { padding:0 12px; }
  .chainSlide .slide { display:none; }
  .chainSlide .txtArea { position:static; width:auto; height:auto; background:none; }
  .chainSlide .txtArea > li { position:static; opacity:1; height:auto; padding:18px 14px; margin-bottom:12px; border:1px solid #e5e5e5; background:#fff; }
  .chainSlide .txtArea h3 { font-size:24px; }
  .chainSlide .txtArea .btnL { margin-top:14px; }

  /* 서브 상단 그림.제목 */
  .subcontentMain01 { height:auto !important; min-height:140px; background-size:cover !important; }
  .mainTitle { position:relative; left:0; top:0; width:auto; margin:0; padding:40px 12px; }
  .mainTitle h2 { font-size:24px !important; }
  .mainTitle h2 span { letter-spacing:2px !important; font-size:12px !important; }
  .mainLocation .li .dep { width:260px; }
  .mainLocation .snsAreaTop { display:none; }

  /* 지점안내 목록 2단 -> 1단 */
  .tabType ul { white-space:normal; text-align:left; }
  .tabType ul li { display:inline-block; float:none !important; width:auto !important; margin:0 4px 6px 0; }
  .tabType ul li a { padding:6px 8px !important; font-size:14px !important; }
  .chainInforArea { float:none; width:100%; }
  .chainImg { width:40%; }
  .chainImg img, .chainImg a span { height:auto; }
  .chainDetail01 { width:60%; height:auto; padding:0 0 0 12px; }

  /* 지점 상세 */
  .chianViewC, .chianViewL, .chianViewR { float:none; width:100%; }
  .chianDetailArea04 .mapArea { height:300px !important; }

  /* 갤러리 : 지점 탭 6칸 -> 3칸, 사진 3단 -> 2단 */
  .galleryChain li { width:33.333%; }
  #portfolio .portfolio-item { width:50% !important; }

  /* 이벤트 */
  .eventArea .thumb li { float:none; width:100% !important; margin:0 0 16px; }

  /* 소개 / 가맹 */
  .introArea .img_area { float:none; width:100%; height:220px; background-size:cover; }
  .introArea .txt_area { float:none; width:auto; padding:20px 4px 0; margin-top:10px; }
  .introArea > .ul_box > ul > li { width:50%; margin-bottom:16px; }
  .chainArea .txt_area { width:auto; }
  .chainView > ul > li { float:none; width:100%; margin-right:0; padding:20px; }

  /* 무료촬영신청 폼 */
  .photographImg { height:160px; background-size:cover !important; }
  .photographTxt { height:60px; background-size:contain !important; background-position:center !important; margin-bottom:20px; }
  .photographArea h2 { font-size:22px; }

  /* 바닥 */
  .wrapFooter { padding:16px 12px; }
  .copyrightArea { float:none; padding-left:0; background:none; }
  .snsArea { float:none; margin:10px 0 0 !important; }
}

@media (max-width: 560px) {
  .chainImg, .chainDetail01 { float:none; width:100%; padding:0; }
  .chainDetail01 { margin-top:10px; }
  .informationDetail .inforR li { width:50%; }
  .galleryChain li { width:50%; }
  #portfolio .portfolio-item { width:100% !important; }
}
