@charset "utf-8";

#shSubBnr{position:relative;overflow:hidden;height:450px;background:#000}
#shSubBnr #mainImg{width:100%;height:450px;background-size:cover}

#shSubBnr .sub_nav{position:absolute;z-index:10;left:50%;top:50%;max-width:var(--mainsize);margin:0 auto;color:#fff;transform:translate(-50%, -50%)}
#shSubBnr .tit{overflow:hidden;position:relative;z-index:1;margin-top:30px;font-size:46px;font-weight:700;font-family:'pretendard'}
#shSubBnr .crumb{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:700}
#shSubBnr .crumb svg{width:20px;color:#fff}

@media (max-width:1024px){
#shSubBnr{height:300px}
#shSubBnr #mainImg{height:300px}
/* .sub_nav 는 position:absolute + left:50% 인데 width 가 없어서 shrink-to-fit 으로 잡힌다.
   이때 사용 가능한 폭이 '배너의 왼쪽 50% 지점부터 오른쪽 끝까지' = 화면의 절반뿐이라,
   375px 기기에서 약 187px 밖에 안 된다. 한국어 '커뮤니티 › 공지사항' 은 들어가지만
   일본어 'コミュニティ › お知らせ' 는 전각 10자라 이 폭을 넘겨 2줄이 됐고,
   세로 중앙정렬(top:50% + translateY(-50%))이라 위로 밀려 배너 밖으로 잘렸다.
   폭을 100% 로 주면 translateX(-50%) 와 맞물려 배너 전체 폭을 쓰게 된다.
   (PC 는 블록이 shrink-to-fit 으로 가운데 놓이는 기존 모양을 유지해야 해서 건드리지 않는다) */
#shSubBnr .sub_nav{width:100%;padding:0 16px;box-sizing:border-box;text-align:center}
/* 메뉴 이름이 더 길어져 그래도 넘칠 경우, 글자를 찌그러뜨리지 말고 가운데 정렬로 줄바꿈 */
#shSubBnr .crumb{flex-wrap:wrap;justify-content:center;row-gap:2px}
#shSubBnr .tit{margin-top:10px;font-size:35px}
}

@media (max-width:480px){
#shSubBnr{height:220px}
#shSubBnr #mainImg{height:220px}
#shSubBnr .tit{margin-top:8px;font-size:28px}
#shSubBnr .crumb{justify-content:center;font-size:14px}
}