/* 법무법인 세웅 — oceanlaw 디자인 톤 맞춤 (Montserrat + Noto Sans KR, #177395)
 * 폰트는 head.sub.php에서 preload/stylesheet로 선로드 (FOUT 방지) */

:root {
  --sw-accent: #177395;
  --sw-accent-deep: #0b4a61;
  --sw-navy: #0d3776;
  --sw-blue: #00569c;
  --sw-black: #000;
  --sw-text: #1a1a1a;
  --sw-muted: #4a4a4a;
  --sw-gray: #6b6b6b;
  --sw-line: #e0e0e0;
  --sw-bg: #f1f1f1;
  --sw-bg-soft: #f7f7f7;
  --sw-ice: #cae3ec;
  --sw-white: #fff;
  --sw-header-h: 90px;
  --sw-max: 1200px;
  --sw-wide: 1680px;
  --sw-font: 'Montserrat', 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; overflow-y: scroll; max-width: 100%; }
body {
  margin: 0;
  font-family: var(--sw-font);
  color: var(--sw-text);
  background: var(--sw-white);
  line-height: 1.6;
  letter-spacing: -0.03rem;
  word-break: keep-all;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100%;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; vertical-align: top; }
button, input, select, textarea { font: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,p { margin: 0; }
.sound_only, #hd_h1, #hd_login_msg, #skip_to_container { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
#hd_pop { z-index:1000; position:relative; margin:0 auto; height:0; }
#hd_pop h2 { position:absolute; width:1px; height:1px; font-size:0; line-height:0; overflow:hidden; clip:rect(0,0,0,0); }
.hd_pops { position:absolute; border:1px solid #e9e9e9; background:#fff; }
.hd_pops_footer { padding:0; background:#000; color:#fff; text-align:left; position:relative; }
.hd_pops_footer button { padding:10px; border:0; color:#fff; cursor:pointer; }
.hd_pops_footer .hd_pops_close { background:#393939; position:absolute; top:0; right:0; }

/* ========== Header (ocean: white bar) ========== */
#sw-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  height: var(--sw-header-h);
  background: #fff;
  transition: .3s;
}
#sw-header.is-clear {
  background: transparent;
}
#sw-header.is-clear .sw-logo,
#sw-header.is-clear .sw-gnb > li > a,
#sw-header.is-clear .sw-tel,
#sw-header.is-clear .sw-menu-toggle { color: #fff; }
#sw-header.is-scrolled,
#sw-header:not(.is-clear) {
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
#sw-header.is-scrolled .sw-gnb > li > a,
#sw-header:not(.is-clear) .sw-gnb > li > a { color: #000; }
#sw-header.is-scrolled .sw-tel,
#sw-header:not(.is-clear) .sw-tel { color: #000; }
#sw-header.is-scrolled .sw-menu-toggle,
#sw-header:not(.is-clear) .sw-menu-toggle { color: #000; }

.sw-header-inner {
  max-width: var(--sw-wide);
  margin: 0 auto;
  height: 100%;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.sw-logo {
  flex: 0 0 auto;
  display: inline-block;
  position: relative;
  z-index: 2;
  line-height: 0;
  padding-bottom: 22px;
}
.sw-logo-imgs {
  display: block;
  line-height: 0;
}
.sw-logo img {
  height: 52.8px;
  width: auto;
  display: block;
}
.sw-logo-sub {
  position: absolute;
  top: auto;
  bottom: 19px;
  right: 15.5px;
  left: auto;
  display: block;
  width: max-content;
  max-width: none;
  margin: 0;
  padding-right: 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: #0a2f55;
  text-align: right;
  white-space: nowrap;
}
.sw-logo .logo-white { display: none; }
#sw-header.is-clear .sw-logo .logo-color { display: none; }
#sw-header.is-clear .sw-logo .logo-white { display: block; }
#sw-header.is-clear .sw-logo-sub { color: #fff; }
#sw-header.is-scrolled .sw-logo .logo-color,
#sw-header:not(.is-clear) .sw-logo .logo-color { display: block; }
#sw-header.is-scrolled .sw-logo .logo-white,
#sw-header:not(.is-clear) .sw-logo .logo-white { display: none; }
#sw-header.is-scrolled .sw-logo-sub,
#sw-header:not(.is-clear) .sw-logo-sub { color: #0a2f55; }
.sw-gnb {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin: 0;
  min-width: 0;
}
.sw-gnb > li { position: relative; flex: 0 0 auto; }
.sw-gnb > li > a {
  display: block;
  padding: 0 11px;
  line-height: var(--sw-header-h);
  color: #000;
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
  transition: color .2s;
}
.sw-gnb > li > a:hover { color: var(--sw-accent); }
.sw-gnb .sub {
  display: none;
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 260px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
  padding: 10px 0;
  z-index: 20;
}
.sw-gnb > li:hover .sub { display: block; }
.sw-gnb .sub a {
  display: block;
  padding: 10px 18px;
  font-size: 15px;
  color: #333;
  font-weight: 300;
  white-space: nowrap;
}
.sw-gnb .sub a:hover { color: var(--sw-accent); background: #f7f7f7; }
.sw-header-cta {
  position: static;
  transform: none;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  z-index: 2;
}
.sw-tel {
  color: #000;
  font-size: 14px;
  font-weight: 600;
  text-align: right;
  line-height: 1.25;
  white-space: nowrap;
  letter-spacing: -.02em;
}
.sw-tel small {
  display: block;
  font-size: 10px;
  opacity: .55;
  font-weight: 400;
  letter-spacing: .08em;
}
.sw-header-cta .sw-btn {
  flex: 0 0 auto;
  min-width: 110px;
  height: 36px;
  padding: 0 18px;
  font-size: 15px;
  white-space: nowrap;
}
.sw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 36px;
  padding: 0 22px;
  background: var(--sw-accent);
  color: #fff !important;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background .2s;
}
.sw-btn:hover { background: var(--sw-accent-deep); }
.sw-btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,.55);
  color: #fff !important;
}
.sw-btn-outline:hover { background: rgba(255,255,255,.12); }
.sw-menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: transparent; color: #000; font-size: 22px; cursor: pointer;
}

.sw-mnav {
  display: none;
  position: fixed; inset: 0; z-index: 9500;
  background: rgba(11,74,97,.97);
  padding: 72px 0 48px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.sw-mnav.open { display: block; }
.sw-mnav .close {
  position: absolute; top: 16px; right: 16px;
  width: 44px; height: 44px;
  background:0; border:0; color:#fff; font-size:30px; line-height:1; cursor:pointer;
}
.sw-mnav-list {
  list-style: none;
  margin: 0;
  padding: 0 20px;
}
.sw-mnav-list > li {
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.sw-mnav-link,
.sw-mnav-parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: #fff;
  padding: 16px 4px;
  font-size: 18px;
  font-weight: 400;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.35;
}
.sw-mnav-parent::after {
  content: '+';
  flex-shrink: 0;
  margin-left: 12px;
  font-size: 20px;
  font-weight: 300;
  opacity: .85;
}
.sw-mnav-list > li.open > .sw-mnav-parent::after {
  content: '−';
}
.sw-mnav-sub {
  display: none;
  list-style: none;
  margin: 0 0 10px;
  padding: 0 0 6px 14px;
  border-left: 2px solid rgba(255,255,255,.22);
}
.sw-mnav-list > li.open > .sw-mnav-sub {
  display: block;
}
.sw-mnav-sub a {
  display: block;
  color: rgba(255,255,255,.82);
  padding: 10px 4px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.4;
  border: 0;
}
.sw-mnav-sub a:hover {
  color: #fff;
}
.sw-mnav-tel {
  display: block;
  margin: 28px 24px 0;
  padding: 14px 18px;
  text-align: center;
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ========== Layout ========== */
#wrapper, #container_wr, #container {
  width: 100% !important; max-width: none !important;
  margin: 0 !important; padding: 0 !important; float: none !important; background: transparent !important;
}
#aside { display: none !important; }
#container_title { display: none; }
.sw-page-wrap { padding-top: var(--sw-header-h); min-height: 60vh; }
.sw-inner { max-width: var(--sw-max); margin: 0 auto; padding: 0 24px; }

/* ========== Board / BBS layout ========== */
.sw-bbs-wrap .sw-sub-body {
  padding-top: 48px;
  padding-bottom: 80px;
  background: #fff;
}
.sw-bbs-layout {
  align-items: start;
}
.sw-bbs-inner {
  min-width: 0;
  width: 100%;
}
.sw-bbs-inner #bo_list,
.sw-bbs-inner #bo_v,
.sw-bbs-inner #bo_w,
.sw-bbs-inner #bo_vc,
.sw-bbs-inner .mbskin,
.sw-bbs-inner #fqalist,
.sw-bbs-inner #faq_wrap {
  width: 100% !important;
  max-width: 100%;
  margin: 0 auto 40px;
}
.sw-bbs-inner #bo_sch,
.sw-bbs-inner #bo_sch.bo_sch_inline {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}
.sw-bbs-inner #bo_sch.bo_sch_inline form,
.sw-bbs-inner #bo_sch.bo_sch_inline select,
.sw-bbs-inner #bo_sch.bo_sch_inline .sch_bar,
.sw-bbs-inner #bo_sch.bo_sch_inline .sch_input {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.sw-bbs-inner .tbl_head01 table,
.sw-bbs-inner .tbl_wrap table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}
.sw-bbs-inner .tbl_wrap {
  width: 100%;
  max-width: 100%;
}
.sw-bbs-inner #bo_list .td_subject,
.sw-bbs-inner #bo_list .bo_tit,
.sw-bbs-inner #bo_list .bo_tit a {
  min-width: 0;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.sw-bbs-inner #bo_list .td_num2,
.sw-bbs-inner #bo_list .td_num,
.sw-bbs-inner #bo_list .td_name,
.sw-bbs-inner #bo_list .td_datetime {
  width: auto;
}
.sw-bbs-inner .tbl_head01 thead th {
  background: #f4f8fa;
  color: #0b4a61;
  font-weight: 600;
  border-top: 2px solid #0b4a61 !important;
  border-bottom: 1px solid #d7e6ec !important;
  padding: 14px 10px !important;
  font-size: 14px;
}
.sw-bbs-inner .tbl_head01 tbody td {
  padding: 16px 10px !important;
  border-bottom: 1px solid #ececec !important;
  font-size: 15px;
  color: #333;
  font-weight: 400;
}
.sw-bbs-inner .tbl_head01 tbody tr:hover td {
  background: #f7fbfd;
}
.sw-bbs-inner .tbl_head01 tbody tr:hover {
  border-left-color: var(--sw-accent) !important;
}
.sw-bbs-inner .bo_tit,
.sw-bbs-inner .td_subject a {
  color: #1a1a1a;
  font-weight: 400;
}
.sw-bbs-inner .bo_tit:hover,
.sw-bbs-inner .td_subject a:hover {
  color: var(--sw-accent);
}

@media (max-width: 1100px) {
  .sw-bbs-inner #bo_list .td_num { display: none; }
}
@media (max-width: 900px) {
  .sw-bbs-inner #bo_list .td_name,
  .sw-bbs-inner #bo_list .td_num2 { display: none; }
}
@media (max-width: 720px) {
  .sw-inner { padding-left: 14px; padding-right: 14px; }
  .sw-bbs-inner #bo_list .tbl_head01 thead { display: none; }
  .sw-bbs-inner #bo_list .tbl_head01 table,
  .sw-bbs-inner #bo_list .tbl_head01 tbody,
  .sw-bbs-inner #bo_list .tbl_head01 tr {
    display: block;
    width: 100%;
  }
  .sw-bbs-inner #bo_list .tbl_head01 tbody tr {
    padding: 14px 2px 16px;
    border-bottom: 1px solid #ececec;
    box-sizing: border-box;
  }
  .sw-bbs-inner #bo_list .tbl_head01 tbody td {
    display: none;
    width: 100% !important;
    height: auto !important;
    border: 0 !important;
    padding: 0 !important;
  }
  .sw-bbs-inner #bo_list .tbl_head01 tbody td.td_subject,
  .sw-bbs-inner #bo_list .tbl_head01 tbody td.td_datetime,
  .sw-bbs-inner #bo_list .tbl_head01 tbody td.empty_table {
    display: block;
  }
  .sw-bbs-inner #bo_list .tbl_head01 tbody td.td_subject {
    padding: 0 0 6px !important;
  }
  .sw-bbs-inner #bo_list .tbl_head01 tbody td.td_datetime {
    text-align: left;
    font-size: 13px;
    color: #888;
  }
}
.sw-bbs-inner #bo_list_total {
  color: #666;
  font-weight: 300;
}
.sw-bbs-inner .btn_b01,
.sw-bbs-inner .btn_b02,
.sw-bbs-inner .btn_admin,
.sw-bbs-inner a.btn_b01,
.sw-bbs-inner a.btn_b02 {
  border-radius: 0 !important;
}
.sw-bbs-inner .btn_b02,
.sw-bbs-inner a.btn_b02 {
  background: var(--sw-accent) !important;
  border-color: var(--sw-accent) !important;
  color: #fff !important;
}
.sw-bbs-inner #bo_cate a {
  border-color: #cae3ec;
  color: var(--sw-accent);
}
.sw-bbs-inner #bo_cate a:hover,
.sw-bbs-inner #bo_cate #bo_cate_on {
  background: var(--sw-accent) !important;
  border-color: var(--sw-accent) !important;
  color: #fff !important;
  box-shadow: none !important;
}
.sw-bbs-inner .bo_cate_link {
  background: #edf4f7;
  color: var(--sw-accent);
}
.sw-bbs-inner #bo_v_title .bo_v_tit,
.sw-bbs-inner #bo_v_title {
  font-size: 26px;
  font-weight: 500;
  color: #111;
  letter-spacing: -.04rem;
  line-height: 1.4;
}
.sw-bbs-inner #bo_v_info {
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  padding: 14px 0;
  color: #555;
}
.sw-bbs-inner #bo_v_con {
  padding: 36px 0 48px;
  font-size: 16px;
  line-height: 1.85;
  font-weight: 400;
  color: #222;
  min-height: 180px;
}
.sw-bbs-inner #bo_v_con,
.sw-bbs-inner #bo_v_con * {
  color: #222 !important;
  font-weight: 400 !important;
}
.sw-bbs-inner #bo_v_con b,
.sw-bbs-inner #bo_v_con strong,
.sw-bbs-inner #bo_v_con h1,
.sw-bbs-inner #bo_v_con h2,
.sw-bbs-inner #bo_v_con h3,
.sw-bbs-inner #bo_v_con h4 {
  font-weight: 700 !important;
  color: #111 !important;
}
.sw-bbs-inner #bo_v_bot,
.sw-bbs-inner .bo_v_nb {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}
/* 페이징: 둥근 사각 버튼형 */
.sw-bbs-inner .pg_wrap {
  clear: both !important;
  float: none !important;
  display: block !important;
  width: 100% !important;
  margin: 28px 0 12px !important;
  padding: 0 !important;
  text-align: center !important;
}
.sw-bbs-inner .pg_wrap .pg {
  display: inline-flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.sw-bbs-inner .pg_page,
.sw-bbs-inner .pg_current {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  min-width: 36px !important;
  height: 36px !important;
  margin: 0 !important;
  padding: 0 10px !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 6px !important;
  background: #f1f1f1 !important;
  color: #666 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  text-indent: 0 !important;
  overflow: visible !important;
  vertical-align: middle !important;
}
.sw-bbs-inner .pg_page:hover {
  background: #e8e8e8 !important;
  color: #333 !important;
}
.sw-bbs-inner .pg_start,
.sw-bbs-inner .pg_prev,
.sw-bbs-inner .pg_next,
.sw-bbs-inner .pg_end {
  background-image: none !important;
  min-width: auto !important;
  padding: 0 12px !important;
  width: auto !important;
}
.sw-bbs-inner strong.pg_current,
.sw-bbs-inner .pg_current {
  background: #3a8afd !important;
  border-color: #3a8afd !important;
  color: #fff !important;
  font-weight: 700 !important;
}

.sw-bbs-inner .write_div,
.sw-bbs-inner #fwrite {
  margin-bottom: 24px;
}
.sw-bbs-inner .bo_w_select select,
.sw-bbs-inner .bo_w_flie .lb_icon,
.sw-bbs-inner .wr_content textarea,
.sw-bbs-inner #wr_subject,
.sw-bbs-inner .frm_input {
  border-radius: 0 !important;
}
.sw-bbs-inner .btn_submit {
  background: var(--sw-accent) !important;
  border-color: var(--sw-accent) !important;
  border-radius: 0 !important;
  min-width: 140px;
  height: 46px;
}

/* Write form polish */
.sw-write-guide {
  margin: 0 0 28px;
  padding: 18px 20px;
  background: #f3f8fa;
  border-left: 4px solid var(--sw-accent);
}
.sw-write-guide strong {
  display: block;
  color: #0b4a61;
  font-size: 16px;
  margin-bottom: 6px;
}
.sw-write-guide p {
  margin: 0;
  color: #555;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
}
.sw-bbs-inner #bo_w {
  background: #fff;
  border: 1px solid #e6e6e6;
  padding: 28px 28px 20px;
  box-shadow: 0 8px 24px rgba(11,74,97,.05);
}
.sw-bbs-inner #bo_w .write_div {
  margin: 0 0 14px !important;
  float: none !important;
  clear: both;
}
.sw-bbs-inner #bo_w .bo_w_info {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px !important;
}
.sw-bbs-inner #bo_w .bo_w_info:after { display: none !important; }
.sw-bbs-inner #bo_w .bo_w_info .frm_input,
.sw-bbs-inner #bo_w .half_input {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  height: 48px;
  box-sizing: border-box;
}
.sw-bbs-inner #bo_w #wr_password,
.sw-bbs-inner #bo_w #wr_homepage,
.sw-bbs-inner #bo_w #wr_email {
  margin-left: 0 !important;
}
.sw-bbs-inner #bo_w .frm_input,
.sw-bbs-inner #bo_w select,
.sw-bbs-inner #bo_w textarea {
  width: 100%;
  border: 1px solid #d7d7d7 !important;
  background: #f7f7f7;
  color: #222;
  padding: 12px 14px;
  font-size: 15px;
  box-shadow: none !important;
  outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.sw-bbs-inner #bo_w .frm_input:focus,
.sw-bbs-inner #bo_w select:focus,
.sw-bbs-inner #bo_w textarea:focus {
  border-color: var(--sw-accent) !important;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(23,115,149,.12) !important;
}
.sw-bbs-inner #bo_w .bo_w_select select {
  height: 48px;
  border-radius: 0 !important;
}
.sw-bbs-inner #bo_w .bo_w_tit .frm_input {
  padding-right: 14px !important;
}
.sw-bbs-inner #bo_w .wr_content textarea {
  min-height: 220px;
  line-height: 1.7;
  resize: vertical;
}
.sw-bbs-inner #bo_w .bo_v_option {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sw-bbs-inner #bo_w .btn_confirm {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px !important;
  padding-top: 22px;
  border-top: 1px solid #eee;
}
.sw-bbs-inner #bo_w .btn_cancel,
.sw-bbs-inner #bo_w .btn_submit {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 140px;
  height: 48px !important;
  line-height: 1.2 !important;
  padding: 0 28px !important;
  border-radius: 0 !important;
  font-size: 16px !important;
  font-weight: 500;
  text-align: center;
  vertical-align: middle;
}
.sw-bbs-inner #bo_w .btn_cancel {
  background: #f0f0f0 !important;
  color: #444 !important;
  border: 1px solid #ddd !important;
}
.sw-bbs-inner #bo_w .btn_submit {
  background: var(--sw-accent) !important;
  color: #fff !important;
  border: 1px solid var(--sw-accent) !important;
}
.sw-bbs-inner #bo_w .btn_submit:hover {
  background: var(--sw-accent-deep) !important;
}

/* 온라인상담 글쓰기: 불필요 항목 숨김 (파일첨부는 표시) */
.sw-bo-online.sw-is-write #wr_homepage,
.sw-bo-online.sw-is-write label[for="wr_homepage"],
.sw-bo-online.sw-is-write .bo_w_link,
.sw-bo-online.sw-is-write .bo_v_option #html,
.sw-bo-online.sw-is-write .bo_v_option label[for="html"],
.sw-bo-online.sw-is-write .bo_v_option li:has(#html) {
  display: none !important;
}
.sw-bo-online.sw-is-write #bo_w .bo_w_online_top {
  /* layout controlled by #bo_w.bo_w_online .bo_w_online_top */
}

@media (max-width: 720px) {
  .sw-bbs-inner #bo_w { padding: 18px 14px 14px; }
  .sw-bbs-inner #bo_w .bo_w_info,
  .sw-bo-online.sw-is-write #bo_w .bo_w_info {
    grid-template-columns: 1fr;
  }
  .sw-bbs-inner #bo_w .btn_confirm { flex-direction: column; }
  .sw-bbs-inner #bo_w .btn_cancel,
  .sw-bbs-inner #bo_w .btn_submit { width: 100%; }
}

/* ========== Hero ========== */
.sw-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background: #000;
}
.sw-hero-bg {
  position: absolute; inset: 0;
  background: url('../img/visual/hero_bg.jpg') center/cover no-repeat;
  transform: scale(1.05);
  animation: swKenburns 18s ease-out infinite alternate;
  opacity: .78;
}
.sw-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(11,74,97,.35) 55%, rgba(0,0,0,.55) 100%);
  z-index: 0;
}
@keyframes swKenburns {
  from { transform: scale(1.05) translateY(0); }
  to { transform: scale(1.12) translateY(-2%); }
}
.sw-hero-inner {
  position: relative;
  z-index: 1;
  padding: 120px 24px 100px;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}
.sw-hero-eyebrow {
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sw-ice);
  margin-bottom: 18px;
  font-weight: 500;
  opacity: 0;
  animation: swFadeUp .8s .15s forwards;
}
.sw-hero h1,
.sw-hero h2 {
  font-size: clamp(28px, 4.2vw, 38px);
  font-weight: 300;
  line-height: 1.35;
  margin-bottom: 14px;
  letter-spacing: -0.04rem;
  opacity: 0;
  animation: swFadeUp .9s .3s forwards;
}
.sw-hero h1 em,
.sw-hero h2 em {
  font-style: normal;
  font-weight: 500;
  color: #fff;
}
.sw-hero-en {
  font-size: clamp(28px, 4.8vw, 54px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 28px;
  opacity: 0;
  animation: swFadeUp .9s .45s forwards;
}
.sw-hero p.lead {
  max-width: 560px;
  margin: 0 auto 36px;
  font-size: 18px;
  font-weight: 300;
  color: rgba(255,255,255,.88);
  opacity: 0;
  animation: swFadeUp .9s .6s forwards;
}
.sw-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: swFadeUp .9s .75s forwards;
}
.sw-scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  font-size: 11px; letter-spacing: .2em; color: rgba(255,255,255,.55);
  z-index: 1; font-weight: 400;
}
.sw-scroll-hint::after {
  content: ''; display: block; width: 1px; height: 36px; margin: 8px auto 0;
  background: linear-gradient(to bottom, rgba(255,255,255,.7), transparent);
  animation: swPulse 1.6s infinite;
}
@keyframes swFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes swPulse {
  0%,100% { opacity: .3; transform: scaleY(.7); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ========== Sections ========== */
.sw-sec { padding: 110px 0; position: relative; }
.sw-sec-dark {
  background: linear-gradient(135deg, #0b4a61 0%, #177395 100%);
  color: #fff;
}
.sw-sec-mist { background: var(--sw-bg); }
.sw-sec-sky { background: #edf4f7; }
.sw-sec-label {
  color: var(--sw-accent);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0;
}
.sw-sec-dark .sw-sec-label { color: #cae3ec; }
.sw-sec-title {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 300;
  line-height: 1.35;
  margin-bottom: 16px;
  color: #000;
  letter-spacing: -0.03rem;
}
.sw-sec-title strong { font-weight: 700; }
.sw-sec-dark .sw-sec-title { color: #fff; }
.sw-sec-desc {
  color: var(--sw-muted);
  max-width: 640px;
  margin-bottom: 48px;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: -0.03rem;
}
.sw-sec-dark .sw-sec-desc { color: rgba(255,255,255,.78); }

/* Lawyers */
.sw-lawyer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.sw-lawyer-card {
  background: #fff;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  transition: border-color .3s, box-shadow .3s;
}
.sw-lawyer-card:hover {
  border-color: var(--sw-accent);
  box-shadow: 0 12px 32px rgba(23,115,149,.12);
}
.sw-lawyer-card .photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #e9eef0;
  overflow: hidden;
}
.sw-lawyer-card .photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: top center;
  transition: transform .45s;
}
.sw-lawyer-card:hover .photo img { transform: scale(1.03); }
.sw-lawyer-card .body { padding: 32px 28px 36px; }
.sw-lawyer-card .name {
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 18px;
  color: var(--sw-accent);
}
.sw-lawyer-card .name strong {
  display: block;
  font-weight: 700;
  font-size: 36px;
  margin-bottom: 4px;
  color: #000;
}
.sw-lawyer-card ul { margin-bottom: 22px; }
.sw-lawyer-card li {
  position: relative;
  padding-left: 12px;
  font-size: 15px;
  font-weight: 400;
  color: #444;
  line-height: 1.9;
}
.sw-lawyer-card li::before {
  content: '';
  position: absolute; left: 0; top: 12px;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--sw-accent);
}
.sw-link-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 137px;
  height: 48px;
  padding: 0 18px;
  border: 1px solid #aeb5b7;
  color: var(--sw-accent) !important;
  font-size: 15px;
  font-weight: 400;
  transition: background .2s, border-color .2s;
}
.sw-link-more:hover {
  border-color: var(--sw-accent);
  background: rgba(23,115,149,.06);
}
.sw-link-more::after { content: none; }

/* Cases */
.sw-case-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.sw-case-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.sw-case-item {
  display: block;
  min-height: 220px;
  padding: 0 32px 32px;
  background: var(--sw-bg-soft);
  border: 1px solid var(--sw-line);
  text-align: center;
  transition: background .25s, border-color .25s;
}
.sw-case-item:hover {
  background: #fff;
  border-color: var(--sw-accent);
}
.sw-case-item .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  height: 36px;
  padding: 0 16px;
  background: var(--sw-accent);
  border-radius: 0 0 22px 22px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 28px;
}
.sw-case-item .subj {
  display: block;
  font-size: 20px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.45;
  letter-spacing: -0.04rem;
  margin-bottom: 14px;
  min-height: 2.9em;
}
.sw-case-item .date {
  font-size: 14px;
  color: #999;
  font-weight: 300;
}

/* Business */
.sw-biz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(255,255,255,.12);
}
.sw-sec#BUSINESS,
.sw-sec-business {
  background:
    linear-gradient(rgba(11,74,97,.78), rgba(23,115,149,.72)),
    url('../img/visual/business_bg.jpg') center/cover no-repeat;
  color: #fff;
}
.sw-sec#BUSINESS .sw-sec-label,
.sw-sec-business .sw-sec-label { color: #cae3ec; }
.sw-sec#BUSINESS .sw-sec-title,
.sw-sec-business .sw-sec-title { color: #fff; }
.sw-sec#BUSINESS .sw-sec-desc,
.sw-sec-business .sw-sec-desc { color: rgba(255,255,255,.8); }
.sw-biz-card {
  position: relative;
  padding: 48px 28px 40px;
  background: rgba(0,0,0,.16);
  border-left: 1px solid rgba(255,255,255,.1);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  color: #fff;
  transition: background .25s;
}
.sw-biz-card:first-child { border-left: 0; }
.sw-biz-card:hover { background: rgba(0,0,0,.36); }
.sw-biz-card .en {
  font-size: 12px;
  letter-spacing: .14em;
  color: #cae3ec;
  margin-bottom: 14px;
  font-weight: 500;
}
.sw-biz-card h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #fff;
  letter-spacing: -0.03rem;
}
.sw-biz-card p {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,.88);
  line-height: 1.7;
  flex: 1;
}
.sw-biz-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 18px 0 22px;
}
.sw-biz-card .tags span {
  font-size: 12px;
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 20px;
  color: #fff;
  background: transparent;
}
.sw-biz-card .more {
  font-size: 13px;
  font-weight: 500;
  color: #cae3ec;
  margin-top: auto;
  letter-spacing: .06em;
}

/* Counsel */
.sw-counsel-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: stretch;
}
.sw-sec#COUNSEL,
.sw-sec-counsel {
  background:
    linear-gradient(rgba(241,241,241,.93), rgba(241,241,241,.93)),
    url('../img/visual/counsel_bg.jpg') center/cover no-repeat;
  color: #000;
}
.sw-sec#COUNSEL .sw-sec-label,
.sw-sec-counsel .sw-sec-label { color: var(--sw-accent); }
.sw-sec#COUNSEL .sw-sec-title,
.sw-sec-counsel .sw-sec-title { color: #000; }
.sw-sec#COUNSEL .sw-sec-desc,
.sw-sec-counsel .sw-sec-desc { color: #666; }

.sw-live-panel {
  background: #fff;
  border: 1px solid #e6e6e6;
  box-shadow: 0 10px 30px rgba(11,74,97,.06);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.sw-live-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 24px 16px;
  border-bottom: 2px solid #111;
}
.sw-live-head .sw-side-title {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
}
.sw-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e74c3c;
  box-shadow: 0 0 0 0 rgba(231,76,60,.55);
  animation: sw-pulse 1.6s ease-out infinite;
}
@keyframes sw-pulse {
  0% { box-shadow: 0 0 0 0 rgba(231,76,60,.5); }
  70% { box-shadow: 0 0 0 10px rgba(231,76,60,0); }
  100% { box-shadow: 0 0 0 0 rgba(231,76,60,0); }
}
.sw-live-more {
  font-size: 13px;
  color: var(--sw-accent);
  font-weight: 500;
  border-bottom: 1px solid transparent;
}
.sw-live-more:hover { border-bottom-color: var(--sw-accent); }
.sw-live-list {
  background: #fff;
  flex: 1;
}
.sw-live-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 92px;
  gap: 10px;
  align-items: center;
  padding: 16px 22px;
  border-bottom: 1px solid #ececec;
  font-size: 14px;
  background: #fff;
  transition: background .2s;
}
.sw-live-item:hover { background: #f7fbfd; }
.sw-live-item.empty {
  grid-template-columns: 1fr;
  padding: 40px 22px;
  color: #888;
  text-align: center;
}
.sw-live-item .cat {
  color: #555;
  font-size: 13px;
  text-align: center;
  font-weight: 500;
  background: #f3f7f9;
  border-radius: 4px;
  padding: 6px 4px;
  line-height: 1.2;
}
.sw-live-item .subj {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sw-live-item .subj strong {
  font-weight: 400;
  color: #222;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sw-live-item .subj em {
  font-style: normal;
  font-size: 12px;
  color: #999;
  font-weight: 300;
}
.sw-live-item .st {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  border-radius: 16px;
  background: var(--sw-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -.02em;
}
.sw-live-item .st.done {
  background: #fff;
  color: var(--sw-accent);
  border: 1px solid var(--sw-accent);
}
.sw-live-foot {
  padding: 16px 22px 20px;
  background: #fafcfd;
  border-top: 1px solid #ececec;
}
.sw-live-foot > p {
  font-size: 12px;
  color: #888;
  font-weight: 300;
  margin-bottom: 12px;
}
.sw-live-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.sw-live-contacts a {
  font-size: 13px;
  color: var(--sw-accent-deep);
  font-weight: 500;
}
.sw-live-contacts a:hover { text-decoration: underline; }
.sw-live-contacts i { margin-right: 4px; }

.sw-form {
  background: #fff;
  color: var(--sw-text);
  padding: 28px 28px 24px;
  border: 1px solid #e6e6e6;
  box-shadow: 0 10px 30px rgba(11,74,97,.06);
}
.sw-form-head {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid #111;
}
.sw-form-head h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #000;
  letter-spacing: -0.04rem;
}
.sw-form-head p {
  font-size: 13px;
  color: #777;
  font-weight: 300;
  line-height: 1.6;
}
.sw-form .row { margin-bottom: 14px; position: relative; }
.sw-form .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.sw-form label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #333;
}
.sw-form label em {
  color: var(--sw-accent);
  font-style: normal;
  margin-left: 2px;
}
.sw-form input, .sw-form select, .sw-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #ddd;
  border-radius: 0;
  background: #f7f7f7;
  color: #333;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.sw-form input:hover, .sw-form select:hover, .sw-form textarea:hover {
  border-color: #c8c8c8;
}
.sw-form input:focus, .sw-form select:focus, .sw-form textarea:focus {
  outline: none;
  border-color: var(--sw-accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(23,115,149,.12);
}
.sw-form textarea { min-height: 132px; resize: vertical; }
.sw-char-count {
  display: block;
  text-align: right;
  font-size: 11px;
  color: #aaa;
  margin-top: 4px;
}
.sw-agree-box {
  margin: 8px 0 18px;
  padding: 14px 14px 12px;
  background: #f7f9fa;
  border: 1px solid #e8e8e8;
}
.sw-form .agree {
  font-size: 13px;
  color: #444;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0;
  font-weight: 400;
  cursor: pointer;
}
.sw-form .agree input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: var(--sw-accent);
}
.sw-agree-toggle {
  margin: 8px 0 0 24px;
  border: 0;
  background: transparent;
  color: var(--sw-accent);
  font-size: 12px;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}
.sw-agree-detail {
  margin: 10px 0 0;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #e5e5e5;
  font-size: 12px;
  color: #666;
  line-height: 1.7;
  font-weight: 300;
}
.sw-agree-detail ol {
  margin: 0;
  padding-left: 18px;
  list-style: decimal;
}
.sw-agree-detail li { margin-bottom: 4px; }
.sw-form .sw-btn-submit {
  width: 100%;
  height: 54px;
  border-radius: 0;
  font-size: 17px;
  gap: 10px;
  letter-spacing: -.02em;
}
.sw-form .sw-btn-submit.is-loading {
  opacity: .75;
  pointer-events: none;
}
.sw-form-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #eee;
}
.sw-form-links a {
  font-size: 13px;
  color: #555;
  font-weight: 400;
}
.sw-form-links a:hover { color: var(--sw-accent); }
.sw-form-links i { margin-right: 4px; color: var(--sw-accent); }

/* 메인 홈 상담 폼 — .sw-form 기본 input 100% 규칙 보정 + write 페이지와 동일 */
.sw-form form.bo_w_online_home {
  overflow-x: hidden;
  max-width: 100%;
  box-sizing: border-box;
}
.sw-form form.bo_w_online_home input[type="checkbox"],
.sw-form form.bo_w_online_home input[type="file"] {
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.sw-form form.bo_w_online_home .bo_w_online_cell:not(.bo_w_online_phone) > .frm_input,
.sw-form form.bo_w_online_home #wr_subject,
.sw-form form.bo_w_online_home #wr_email,
.sw-form form.bo_w_online_home textarea#wr_content,
.sw-form form.bo_w_online_home .wr_content textarea {
  width: 100% !important;
  box-sizing: border-box !important;
  border: 1px solid #d7d7d7 !important;
  background: #f7f7f7 !important;
  color: #222 !important;
  padding: 12px 14px !important;
  font-size: 15px !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.sw-form form.bo_w_online_home .bo_w_online_cell:not(.bo_w_online_phone) > .frm_input {
  height: 48px !important;
}
.sw-form form.bo_w_online_home .wr_content textarea {
  min-height: 132px !important;
  line-height: 1.7;
  resize: vertical;
}
.sw-form form.bo_w_online_home .bo_w_online_cell:not(.bo_w_online_phone) > .frm_input:focus,
.sw-form form.bo_w_online_home #wr_subject:focus,
.sw-form form.bo_w_online_home #wr_email:focus,
.sw-form form.bo_w_online_home textarea:focus {
  outline: none !important;
  border-color: var(--sw-accent) !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(23,115,149,.12) !important;
}
.sw-form form.bo_w_online_home .bo_w_online_phone:focus-within {
  border-color: var(--sw-accent) !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(23,115,149,.12) !important;
}
.sw-form form.bo_w_online_home .bo_w_online_phone select:focus,
.sw-form form.bo_w_online_home .bo_w_online_phone input:focus {
  outline: none !important;
  border: 0 !important;
  box-shadow: none !important;
}
.sw-form form.bo_w_online_home .write_div {
  margin: 0 0 14px !important;
}
.sw-form form.bo_w_online_home .bo_w_online_top {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  margin: 0 0 14px !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  align-items: stretch !important;
}
.sw-form form.bo_w_online_home .bo_w_online_top .bo_w_online_phone {
  grid-column: 1 / -1;
}
/* 홈 상담 폼 — 연락처 한 줄 통합 */
.sw-form form.bo_w_online_home .bo_w_online_phone {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 4px !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 22px 0 12px !important;
  border: 1px solid #d7d7d7 !important;
  background-color: #f7f7f7 !important;
  background-image: url('/img/require.png') !important;
  background-repeat: no-repeat !important;
  background-position: right top !important;
  box-sizing: border-box !important;
  overflow: hidden;
}
.sw-form form.bo_w_online_home .bo_w_online_phone .sound_only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
}
.sw-form form.bo_w_online_home .bo_w_online_phone select {
  flex: 0 0 72px !important;
  width: 72px !important;
  min-width: 72px !important;
  max-width: 72px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  font-size: 15px !important;
  color: #222 !important;
}
.sw-form form.bo_w_online_home .bo_w_online_phone input[type="text"] {
  flex: 1 1 0 !important;
  width: 0 !important;
  min-width: 52px !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 2px !important;
  border: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  font-size: 15px !important;
  text-align: center !important;
}
.sw-form form.bo_w_online_home .bo_w_online_phone-dash {
  flex: 0 0 auto !important;
  color: #999;
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  padding: 0 2px;
}
/* 파일첨부 */
.sw-form form.bo_w_online_home .bo_w_online_files .bo_w_flie {
  margin: 0 0 10px !important;
}
.sw-form form.bo_w_online_home .bo_w_flie .file_wr {
  position: relative;
  border: 1px solid #d7d7d7;
  background: #f7f7f7;
  height: 48px;
  margin: 0;
  box-sizing: border-box;
  overflow: hidden;
}
.sw-form form.bo_w_online_home .bo_w_flie .lb_icon {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 44px;
  height: 48px;
  line-height: 48px;
  text-align: center;
  color: #889;
  font-size: 1.1em;
  pointer-events: none;
}
.sw-form form.bo_w_online_home .bo_w_flie .frm_file {
  position: relative;
  z-index: 2;
  width: 100% !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 10px 12px 10px 48px !important;
  border: 0 !important;
  background: transparent !important;
  font-size: 13px !important;
  line-height: 1.4;
  box-sizing: border-box;
  cursor: pointer;
}
/* 캡cha — [이미지][입력][음성][새로고침] 한 줄 + 안내문 */
.sw-form form.bo_w_online_home #captcha,
.sw-form form.bo_w_online_home .sw-online-home-captcha #captcha {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 6px;
  width: 100%;
  margin: 0;
  padding: 12px 14px 10px;
  border: 1px solid #d7d7d7;
  background: #f7f7f7;
  box-sizing: border-box;
  min-width: 0;
}
.sw-form form.bo_w_online_home #captcha legend,
.sw-form form.bo_w_online_home .sw-online-home-captcha #captcha legend {
  flex: 0 0 100%;
  position: static;
  width: 100%;
  height: auto;
  margin: 0 0 8px;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  text-indent: 0;
  overflow: visible;
  line-height: 1.4;
}
.sw-form form.bo_w_online_home #captcha #captcha_img,
.sw-form form.bo_w_online_home .sw-online-home-captcha #captcha #captcha_img {
  flex: 0 0 auto;
  display: block;
  width: auto;
  max-width: none;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 1px solid #898989;
}
.sw-form form.bo_w_online_home #captcha #captcha_key,
.sw-form form.bo_w_online_home .sw-online-home-captcha #captcha #captcha_key {
  flex: 0 0 96px;
  width: 96px !important;
  min-width: 96px !important;
  max-width: 96px !important;
  height: 40px !important;
  margin: 0 !important;
  padding: 0 8px !important;
  border: 1px solid #ccc !important;
  background: #fff !important;
  font-size: 16px !important;
  font-weight: 700;
  text-align: center;
  box-sizing: border-box;
  border-radius: 0;
  box-shadow: none !important;
}
.sw-form form.bo_w_online_home #captcha #captcha_mp3,
.sw-form form.bo_w_online_home #captcha #captcha_reload,
.sw-form form.bo_w_online_home .sw-online-home-captcha #captcha #captcha_mp3,
.sw-form form.bo_w_online_home .sw-online-home-captcha #captcha #captcha_reload {
  flex: 0 0 40px;
  width: 40px !important;
  height: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background-color: transparent !important;
  background-image: url('/img/captcha2.png') !important;
  background-repeat: no-repeat !important;
  cursor: pointer;
  overflow: hidden;
  text-indent: -999px;
  border-radius: 3px;
  box-shadow: none !important;
}
.sw-form form.bo_w_online_home #captcha #captcha_reload,
.sw-form form.bo_w_online_home .sw-online-home-captcha #captcha #captcha_reload {
  background-position: 0 -40px !important;
}
.sw-form form.bo_w_online_home #captcha #captcha_info,
.sw-form form.bo_w_online_home .sw-online-home-captcha #captcha #captcha_info {
  flex: 0 0 100%;
  display: block;
  width: 100%;
  margin: 8px 0 0;
  padding: 0;
  font-size: 12px;
  color: #666;
  line-height: 1.5;
  letter-spacing: -0.02em;
}
.sw-form form.bo_w_online_home #captcha audio,
.sw-form form.bo_w_online_home .sw-online-home-captcha #captcha audio {
  flex: 0 0 100%;
  width: 100%;
  max-height: 32px;
  margin: 0 0 6px;
}
.sw-form form.bo_w_online_home #captcha.m_captcha #captcha_img,
.sw-form form.bo_w_online_home .sw-online-home-captcha #captcha.m_captcha #captcha_img {
  width: auto !important;
  height: 40px !important;
  margin: 0 !important;
  display: block !important;
}
.sw-form form.bo_w_online_home #captcha.m_captcha #captcha_key,
.sw-form form.bo_w_online_home .sw-online-home-captcha #captcha.m_captcha #captcha_key {
  width: 96px !important;
  min-width: 96px !important;
  max-width: 96px !important;
  height: 40px !important;
  line-height: normal !important;
}
.sw-form form.bo_w_online_home #captcha.m_captcha #captcha_mp3,
.sw-form form.bo_w_online_home .sw-online-home-captcha #captcha.m_captcha #captcha_mp3 {
  width: 40px !important;
  height: 40px !important;
}
.sw-form form.bo_w_online_home .bo_w_online_files .frm_file {
  width: 100%;
  font-size: 13px;
  padding: 8px 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.sw-form form.bo_w_online_home .bo_w_privacy_agree {
  margin-top: 4px;
  margin-bottom: 16px;
}
.sw-form form.bo_w_online_home .sw-online-home-captcha {
  margin-bottom: 14px;
}
.sw-form form.bo_w_online_home #autosave_wrapper .btn_frmline,
.sw-form form.bo_w_online_home #btn_autosave {
  display: none !important;
}

/* Contact */
.sw-sec#CONTACT,
.sw-sec-contact {
  background:
    linear-gradient(rgba(11,74,97,.82), rgba(11,74,97,.82)),
    url('../img/visual/location_bg.jpg') center/cover no-repeat;
  color: #fff;
}
.sw-sec#CONTACT .sw-sec-label,
.sw-sec-contact .sw-sec-label { color: #cae3ec; }
.sw-sec#CONTACT .sw-sec-title,
.sw-sec-contact .sw-sec-title { color: #fff; }
.sw-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 30px;
  min-width: 0;
}
.sw-contact-info {
  background: transparent;
  padding: 0;
  border: 0;
  color: #fff;
  min-width: 0;
  max-width: 100%;
}
.sw-contact-info h3 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 28px;
  font-weight: 500;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.sw-contact-info dl {
  display: grid;
  grid-template-columns: minmax(0, 100px) minmax(0, 1fr);
  gap: 16px 12px;
  font-size: 16px;
  margin-bottom: 24px;
  width: 100%;
  max-width: 100%;
}
.sw-contact-info dt { color: rgba(255,255,255,.65); font-weight: 300; }
.sw-contact-info dd {
  color: #fff;
  font-weight: 400;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.sw-contact-info .dir {
  font-size: 16.575px;
  color: rgba(255,255,255,.8);
  line-height: 1.7;
  margin-bottom: 28px;
  font-weight: 300;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.sw-map {
  min-height: 360px;
  background: rgba(0,0,0,.2);
  overflow: hidden;
  position: relative;
  min-width: 0;
  max-width: 100%;
}
.sw-map iframe { width: 100%; height: 100%; min-height: 360px; max-width: 100%; min-width: 0; border: 0; }
.sw-map-naver-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 4px;
  background: #03c75a;
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.sw-map-naver-btn:hover {
  background: #02b350;
  color: #fff !important;
}

/* Footer */
#sw-footer {
  background: #000;
  color: #999;
  padding: 48px 0 28px;
  font-size: 13px;
  font-weight: 300;
}
.sw-footer-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid #262626;
  margin-bottom: 24px;
}
.sw-footer-brand {
  font-size: 22px;
  color: #fff;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.sw-footer-brand .sw-logo-sub {
  margin-left: 46px;
  margin-top: 6px;
  color: rgba(255,255,255,.85);
  font-size: 12px;
}
.sw-footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.sw-footer-links a { color: #ccc; font-weight: 300; }
.sw-footer-links a:hover { color: #fff; }
.sw-footer-copy {
  line-height: 1.9;
  color: #999;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.sw-footer-copy strong { color: #ccc; font-weight: 400; }

/* Floating */
.sw-float {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 24px rgba(0,0,0,.08);
}
.sw-float a,
.sw-float button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 78px;
  min-height: 78px;
  padding: 10px 6px;
  background: #fff;
  color: #1a1a1a;
  font-size: 11px;
  font-weight: 500;
  text-align: center;
  line-height: 1.25;
  border: 0;
  border-top: 1px solid #e8e8e8;
  border-radius: 0;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.sw-float a:first-child,
.sw-float > :first-child { border-top: 0; }
.sw-float a i,
.sw-float button i {
  font-size: 18px;
  line-height: 1;
}
.sw-float a:hover,
.sw-float button:hover {
  background: #f3f8fa;
  color: var(--sw-accent-deep);
}
.sw-float .sw-float-tel {
  background: #fff;
  color: #111;
  font-size: 11px;
  letter-spacing: -.04em;
  min-height: 88px;
}
.sw-float .sw-float-tel span {
  writing-mode: horizontal-tb;
  font-weight: 600;
  font-size: 11px;
}
.sw-float a.youtube {
  background: #c4302b;
  color: #fff;
  font-weight: 600;
}
.sw-float a.youtube:hover {
  background: #a82824;
  color: #fff;
}
.sw-float a.blog {
  background: #03c75a;
  color: #fff;
  font-weight: 600;
}
.sw-float a.blog:hover {
  background: #02b351;
  color: #fff;
}
.sw-float a.map:hover { color: var(--sw-accent); }
.sw-float button.top {
  background: #2b2b2b;
  color: #fff;
}
.sw-float button.top:hover {
  background: #111;
  color: #fff;
}

/* Mobile dock */
.sw-dock {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  height: 58px;
  background: rgba(255,255,255,.96);
  border-top: 1px solid #e5e5e5;
  backdrop-filter: blur(8px);
  grid-template-columns: repeat(4, 1fr);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.sw-dock a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 11px;
  color: #444;
  font-weight: 500;
}
.sw-dock a i { font-size: 18px; color: var(--sw-accent); }
.sw-dock a:nth-child(2) { background: #c4302b; color: #fff; }
.sw-dock a:nth-child(2) i { color: #fff; }
.sw-float a.blog .sw-float-b,
.sw-dock .sw-float-b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: rgba(255,255,255,.22);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  font-family: Montserrat, sans-serif;
}
.sw-dock a:nth-child(3) .sw-float-b {
  background: #03c75a;
  color: #fff;
  width: 18px;
  height: 18px;
  font-size: 12px;
}

/* Sub pages */
.sw-sub-hero {
  padding: 80px 0 60px;
  background:
    linear-gradient(rgba(11,74,97,.88), rgba(23,115,149,.75)),
    url('../img/visual/visual2.jpg') center/cover no-repeat;
  color: #fff;
}
.sw-sub-hero .crumb { font-size: 13px; opacity: .7; margin-bottom: 14px; font-weight: 300; }
.sw-sub-hero h1,
.sw-sub-hero h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 300; }
.sw-sub-body { padding: 64px 0 90px; background: #fff; }

/* Subpage layout: left nav + main (좌/우 스크롤 분리) */
.sw-sub-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.sw-sub-nav {
  position: sticky;
  top: calc(var(--sw-header-h) + 24px);
  max-height: var(--sw-sub-nav-max-h, calc(100vh - var(--sw-header-h) - 48px));
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.sw-sub-nav::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.sw-sub-nav h3 {
  margin: 28px 0 10px;
  padding: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: #0b4a61;
  border-bottom: 2px solid #cae3ec;
}
.sw-sub-nav h3:first-child { margin-top: 0; }
.sw-sub-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sw-sub-nav li { margin: 0; }
.sw-sub-nav a {
  display: block;
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 400;
  color: #333;
  border-left: 2px solid transparent;
  transition: color .2s, border-color .2s, background .2s;
}
.sw-sub-nav a:hover,
.sw-sub-nav li.on a {
  color: var(--sw-accent);
  border-left-color: var(--sw-accent);
  background: #f3f8fa;
  font-weight: 500;
}
.sw-sub-main {
  min-width: 0;
}

.sw-lead {
  font-size: 17px;
  color: #0b4a61;
  font-weight: 400;
  margin-bottom: 24px !important;
  line-height: 1.7;
}
.sw-figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 36px;
}
.sw-figures.is-single {
  grid-template-columns: 1fr;
}
.sw-figure {
  margin: 0;
  overflow: hidden;
  background: #eef3f6;
}
.sw-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.sw-content > .sw-figures:first-child { margin-top: 0; }
.sw-content .sw-lead + .sw-figures { margin-top: 4px; }
.sw-content .sw-figures.is-single { margin: 36px 0; }
.sw-sub-main > .sw-figures { margin-bottom: 32px; }
.sw-figure-link a {
  display: block;
  transition: opacity 0.2s ease;
}
.sw-figure-link a:hover,
.sw-figure-link a:focus-visible {
  opacity: 0.92;
}
.sw-figure-caption {
  margin: 10px 0 0;
  font-size: 14px;
  color: #666;
  text-align: center;
  line-height: 1.5;
}
.sw-content .sw-note {
  font-size: 14px;
  color: #666;
  margin-top: -8px;
}

/* 채팅 상담 페이지 */
.sw-chat-page .sw-chat-banner {
  margin-bottom: 28px;
}
.sw-chat-page .sw-chat-banner .sw-figure {
  overflow: visible;
  background: transparent;
}
.sw-chat-page .sw-chat-banner .sw-figure img {
  aspect-ratio: auto;
  object-fit: contain;
  height: auto;
  max-width: 100%;
}
.sw-chat-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sw-chat-lead {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.75;
  color: #222;
  word-break: keep-all;
}
.sw-chat-desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  word-break: keep-all;
}
.sw-chat-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.sw-chat-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 22px 16px;
  border: 1px solid #e3e8ee;
  border-radius: 12px;
  background: linear-gradient(180deg, #fafbfd 0%, #fff 100%);
}
.sw-chat-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #456580;
  color: #fff;
  flex-shrink: 0;
}
.sw-chat-feature-icon svg {
  display: block;
  width: 26px;
  height: 26px;
}
.sw-chat-feature strong {
  font-size: 16px;
  color: #222;
}
.sw-chat-feature span {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}
.sw-chat-cta-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 28px 32px;
  border-radius: 14px;
  background: linear-gradient(135deg, #3d2b55 0%, #2a1f3d 100%);
  text-align: center;
}
.sw-chat-cta-action {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 4px;
}
.sw-chat-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 300px;
  max-width: 100%;
  padding: 17px 32px;
  border-radius: 999px;
  background: #fee500;
  color: #191919 !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sw-chat-cta-btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.sw-chat-cta-btn:hover,
.sw-chat-cta-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  color: #191919 !important;
}
.sw-chat-note,
.sw-content .sw-chat-note {
  margin: 20px 0 0;
  padding-top: 4px;
  font-size: 15.6px;
  color: #FFF;
  line-height: 1.6;
}
.sw-chat-privacy {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  border-radius: 10px;
  background: #f5f7f9;
  border: 1px solid #e8edf2;
}
.sw-chat-privacy-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: #456580;
  border: 1px solid #d8e0e8;
}
.sw-chat-privacy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  word-break: keep-all;
}
@media (max-width: 767px) {
  .sw-chat-features {
    grid-template-columns: 1fr;
  }
  .sw-chat-cta-btn {
    width: 100%;
    min-width: 0;
  }
}

/* b1 자주 찾는 법률 안내 */
.sw-guide-block {
  margin: 48px 0 8px;
  padding-top: 8px;
}
.sw-guide-block > h3 {
  margin-bottom: 12px;
}
.sw-guide-intro {
  color: #555 !important;
  font-size: 15px !important;
  margin-bottom: 22px !important;
  line-height: 1.7 !important;
}
.sw-guide-list {
  border-top: 1px solid #dce8ee;
}
.sw-guide-item {
  border-bottom: 1px solid #dce8ee;
  background: #fff;
}
.sw-guide-item summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 16px 36px 16px 4px;
  font-size: 16px;
  font-weight: 500;
  color: #0b4a61;
  line-height: 1.45;
  word-break: keep-all;
}
.sw-guide-item summary::-webkit-details-marker { display: none; }
.sw-guide-item summary::after {
  content: '+';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 300;
  color: var(--sw-accent);
}
.sw-guide-item[open] summary::after { content: '−'; }
.sw-guide-item[open] summary { color: #0b4a61; }
.sw-guide-body {
  padding: 0 4px 18px;
}
.sw-guide-body p {
  margin-bottom: 10px !important;
  font-size: 15px !important;
  color: #333 !important;
  line-height: 1.8 !important;
  font-weight: 400 !important;
}
.sw-guide-more {
  margin: 0 !important;
}
.sw-guide-more a {
  color: var(--sw-accent);
  font-weight: 500;
  font-size: 14px;
}
.sw-guide-more a:hover { text-decoration: underline; }

/* 자주 찾는 법률 안내 목록/상세 */
.sw-guide-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 8px;
}
.sw-guide-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e2eaf0;
  background: #fff;
  overflow: hidden;
  color: inherit;
  transition: border-color .25s, box-shadow .25s;
}
.sw-guide-card:hover {
  border-color: var(--sw-accent);
  box-shadow: 0 10px 28px rgba(23,115,149,.1);
}
.sw-guide-card .thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eef3f6;
}
.sw-guide-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}
.sw-guide-card:hover .thumb img { transform: scale(1.03); }
.sw-guide-card .body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sw-guide-card .body strong {
  font-size: 16px;
  font-weight: 600;
  color: #0b4a61;
  line-height: 1.45;
  word-break: keep-all;
}
.sw-guide-card .body em {
  font-style: normal;
  font-size: 13px;
  font-weight: 400;
  color: #555;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sw-guide-article .sw-guide-hero,
.sw-guide-article .sw-guide-mid {
  margin: 0 0 28px;
  overflow: hidden;
  background: #eef3f6;
}
.sw-guide-article .sw-guide-hero img,
.sw-guide-article .sw-guide-mid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.sw-guide-article .sw-guide-mid { margin-top: 24px; }
.sw-guide-faq-block {
  margin: 40px 0 24px;
  padding: 24px 22px;
  background: #f4f8fa;
  border: 1px solid #dce8ee;
}
.sw-guide-faq-block > h3 { margin-top: 0 !important; }
.sw-guide-faq-row { margin-bottom: 18px; }
.sw-guide-faq-row:last-child { margin-bottom: 0; }
.sw-guide-faq-row h4 {
  font-size: 16px !important;
  margin: 0 0 8px !important;
  color: #0b4a61 !important;
}
.sw-guide-related-biz {
  margin: 28px 0 8px !important;
  font-size: 15px !important;
}
.sw-guide-related-biz a { color: var(--sw-accent); font-weight: 500; }
.sw-guide-related {
  margin: 28px 0 8px;
  padding-top: 8px;
}
.sw-guide-related ul {
  list-style: none !important;
  padding-left: 0 !important;
}
.sw-guide-related li {
  margin-bottom: 8px !important;
  padding-left: 0 !important;
}
.sw-guide-related a {
  color: #0b4a61;
  font-weight: 400;
}
.sw-guide-related a:hover { color: var(--sw-accent); }
.sw-sub-hero .crumb a { color: inherit; text-decoration: underline; }

.sw-sub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--sw-line);
}
.sw-content h3 {
  font-size: 22px;
  color: #0b4a61;
  margin: 36px 0 14px;
  padding: 0 0 10px 14px;
  border-left: 4px solid var(--sw-accent);
  border-bottom: 1px solid #cae3ec;
  font-weight: 600;
}
.sw-content h3:first-of-type { margin-top: 0; }
.sw-content h4 {
  font-size: 17px;
  color: #177395;
  margin: 24px 0 10px;
  font-weight: 600;
}
.sw-content p { margin-bottom: 14px; color: #222; font-weight: 400; line-height: 1.85; }
.sw-content ul,
.sw-content ol { margin: 0 0 18px; padding-left: 22px; }
.sw-content ul { list-style: disc; }
.sw-content ol { list-style: decimal; }
.sw-content li { margin-bottom: 10px; font-weight: 400; color: #222; line-height: 1.75; }
.sw-content li p { margin-bottom: 8px; }
.sw-profile {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--sw-line);
}
.sw-profile:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.sw-profile .photo {
  position: relative;
  background: var(--sw-bg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.sw-profile .photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
  object-fit: cover;
  object-position: top center;
}
.sw-profile .name { font-size: 36px; font-weight: 300; color: #000; margin-bottom: 6px; }
.sw-profile .role { color: var(--sw-accent); margin-bottom: 24px; font-weight: 500; }
.sw-profile h4 { font-size: 16px; color: #000; margin: 20px 0 10px; font-weight: 500; }
.sw-profile ul { list-style: none; padding: 0; }
.sw-profile li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 400;
  color: #444;
}
.sw-profile li::before {
  content:'';
  position:absolute; left:0; top:9px;
  width:4px; height:4px; border-radius:50%;
  background: var(--sw-accent);
}

.sw-member-group {
  font-size: 22px;
  font-weight: 600;
  color: #0b4a61;
  margin: 8px 0 28px;
  padding: 0 0 12px 14px;
  border-left: 4px solid var(--sw-accent);
  border-bottom: 1px solid #cae3ec;
}
.sw-member-group + .sw-profile { margin-top: 0; }
.sw-member-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 32px;
  margin-bottom: 20px;
  align-items: start;
}
.sw-member-card {
  background: transparent;
  border: 0;
  display: flex;
  flex-direction: column;
  overflow: visible;
}
.sw-member-card .photo {
  background: #f4f8fa;
  aspect-ratio: 10 / 11;
  overflow: hidden;
  max-width: 280px;
  width: 100%;
  margin: 0 auto;
}
.sw-member-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.sw-member-card .body {
  padding: 18px 8px 0;
  flex: 1;
  text-align: left;
}
.sw-member-card .name {
  font-size: 20px;
  font-weight: 600;
  color: #0d204a;
  margin-bottom: 14px;
  line-height: 1.35;
}
.sw-member-card .name span {
  display: inline;
  font-size: 14px;
  font-weight: 400;
  color: var(--sw-accent);
  margin-left: 6px;
}
.sw-member-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sw-member-card li {
  position: relative;
  padding-left: 12px;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 400;
  color: #333;
  line-height: 1.55;
  letter-spacing: -0.02em;
  word-break: keep-all;
}
.sw-member-card li::before {
  content:'·';
  position:absolute; left:0; top:0;
  width:auto; height:auto; border-radius:0;
  background: none;
  color: #333;
  font-weight: 400;
}
.sw-lawyer-more {
  text-align: center;
  margin-top: 40px;
}
.sw-btn-dark {
  background: #1a1a1a;
}
.sw-btn-dark:hover { background: #000; }

/* Business list on sub page (light) */
.sw-sub-body .sw-biz-grid {
  gap: 16px;
  border: 0;
}
.sw-sub-body .sw-biz-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  color: #000;
  min-height: 260px;
}
.sw-sub-body .sw-biz-card:hover {
  border-color: var(--sw-accent);
  background: #fff;
}
.sw-sub-body .sw-biz-card .en { color: var(--sw-accent); }
.sw-sub-body .sw-biz-card h3 { color: #000; font-size: 22px; }
.sw-sub-body .sw-biz-card p { color: #666; }
.sw-sub-body .sw-biz-card .tags span {
  background: #edf4f7;
  border: 0;
  color: var(--sw-accent);
}
.sw-sub-body .sw-biz-card .more { color: var(--sw-accent); }

/* 업무분야 총괄 — 아이콘 카드 그리드 */
.sw-sub-layout.is-practice-index {
  grid-template-columns: 1fr;
}
.sw-sub-layout.is-practice-index .sw-sub-nav {
  display: none;
}
.sw-practice-overview {
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 0 24px;
}
.sw-practice-head {
  text-align: center;
  margin: 0 0 40px;
}
.sw-practice-head .eyebrow {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--sw-accent);
}
.sw-practice-head h3 {
  margin: 0;
  font-size: clamp(19px, 2.56vw, 27px);
  font-weight: 700;
  line-height: 1.45;
  color: #111;
  word-break: keep-all;
}
.sw-practice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.sw-practice-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 280px;
  padding: 28px 24px 24px;
  border: 1px solid #ebe6df;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 40, 60, .06);
  color: inherit;
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.sw-practice-card:hover {
  transform: translateY(-4px);
  border-color: #c9dde6;
  box-shadow: 0 16px 36px rgba(23, 115, 149, .14);
}
.sw-practice-card .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 112px;
  margin: 0 0 8px;
}
.sw-practice-card .icon img {
  display: block;
  width: 112px;
  height: 112px;
  object-fit: contain;
}
.sw-practice-card .title {
  display: block;
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: #111;
  word-break: keep-all;
}
.sw-practice-card .desc {
  display: block;
  flex: 1;
  margin: 0 0 18px;
  font-style: normal;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
  color: #777;
  word-break: keep-all;
}
.sw-practice-card .more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: #222;
}
.sw-practice-card .more i {
  font-style: normal;
  transition: transform .2s ease;
}
.sw-practice-card:hover .more {
  color: var(--sw-accent);
}
.sw-practice-card:hover .more i {
  transform: translateX(3px);
}

.sw-sub-body .sw-contact-info {
  background: #fff;
  padding: 36px 32px;
  border: 1px solid #e0e0e0;
  color: #000;
}
.sw-sub-body .sw-contact-info h3 { color: #000; }
.sw-sub-body .sw-contact-info dt { color: #999; }
.sw-sub-body .sw-contact-info dd { color: #333; }
.sw-sub-body .sw-contact-info .dir { color: #666; font-size: 16.575px; }

/* Case excerpt */
.sw-case-item .excerpt {
  display: block;
  margin: 0 0 16px;
  color: #666;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  height: 4.8em;
  overflow: hidden;
}
.sw-case-item .date { display: block; }

/* Business icons */
.sw-biz-card .biz-icon {
  position: absolute;
  top: 28px;
  right: 22px;
  width: 48px;
  height: 48px;
  opacity: .9;
}
.sw-biz-card { padding-top: 56px; }

.sw-side-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #000;
  letter-spacing: -0.04rem;
}
.sw-form-note {
  margin-top: 14px;
  font-size: 13px;
  color: #666;
  font-weight: 300;
}
.sw-form-note a { color: var(--sw-accent); font-weight: 500; }

/* Scroll reveal — 기본 표시 유지, 아래에서 올라오는 항목만 등장 */
[data-sw-animate] {
  opacity: 1;
  transform: none;
}
html.sw-js [data-sw-animate].sw-will-animate:not(.is-in) {
  opacity: 0;
  transform: translateY(24px);
}
html.sw-js [data-sw-animate].is-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .65s ease, transform .65s ease;
}

.sw-sub-hero {
  background:
    linear-gradient(rgba(11,74,97,.88), rgba(23,115,149,.75)),
    url('../img/visual/location_bg.jpg') center/cover no-repeat !important;
}
.sw-footer-brand img {
  height: 36px;
  width: auto;
  opacity: .92;
}

@media (max-width: 1400px) {
  .sw-gnb > li > a { padding: 0 10px; font-size: 15px; }
  .sw-header-cta { gap: 10px; }
  .sw-header-cta .sw-btn { min-width: 96px; padding: 0 14px; font-size: 14px; }
}
@media (max-width: 1200px) {
  .sw-tel { display: none; }
  .sw-gnb > li > a { padding: 0 10px; font-size: 15px; }
  .sw-header-inner { padding: 0 20px; gap: 12px; }
}
@media (max-width: 1024px) {
  :root { --sw-header-h: 78px; }
  .sw-gnb, .sw-tel { display: none; }
  .sw-menu-toggle { display: block; }
  .sw-header-cta { margin-left: auto; }
  .sw-header-inner { padding: 0 16px; }
  #sw-header { overflow-x: hidden; }
  .sw-logo { padding-top: 12px; padding-bottom: 18px; }
  .sw-logo img { height: 46px; }
  .sw-logo-sub { bottom: 16px; }
  .sw-biz-grid { grid-template-columns: repeat(2, 1fr); }
  .sw-counsel-grid, .sw-contact-grid, .sw-lawyer-grid, .sw-profile, .sw-case-list { grid-template-columns: 1fr; }
  .sw-member-grid { grid-template-columns: 1fr; gap: 36px; }
  .sw-member-card .photo { max-width: 240px; }
  .sw-sub-layout { grid-template-columns: 1fr; gap: 0; }
  .sw-sub-nav { display: none !important; }
  .sw-float { display: none; }
  .sw-dock { display: grid; }
  body { padding-bottom: 58px; }
  .sw-form .row-2 { grid-template-columns: 1fr; }
  .sw-live-item {
    grid-template-columns: 72px minmax(0, 1fr) 78px;
    padding: 14px 16px;
  }
  .sw-form { padding: 22px 18px 18px; }
  .sw-practice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 720px) {
  .sw-biz-grid { grid-template-columns: 1fr; }
  .sw-case-item { min-height: 0; padding-bottom: 24px; }
  .sw-hero { min-height: 92vh; }
  .sw-sec { padding: 72px 0; }
  .sw-live-item { grid-template-columns: 70px 1fr 72px; padding: 14px 12px; font-size: 13px; }
  .sw-btn { min-width: 110px; height: 32px; font-size: 14px; }
  .sw-figures { grid-template-columns: 1fr; gap: 12px; margin-bottom: 28px; }
  .sw-guide-index { grid-template-columns: 1fr; gap: 16px; }
  .sw-practice-grid { grid-template-columns: 1fr; gap: 14px; }
  .sw-practice-card { min-height: 0; padding: 22px 20px 20px; }
  .sw-practice-card .icon { height: 88px; margin-bottom: 4px; }
  .sw-practice-card .icon img { width: 88px; height: 88px; }
  .sw-practice-head { margin-bottom: 28px; }
  .sw-contact-info dl { grid-template-columns: 72px minmax(0, 1fr); }
  .sw-contact-info h3 { font-size: 22px; }
}

/* NEW badge — blink / color alternate */
.sw-guide-card { position: relative; }
.sw-guide-card .sw-new-badge,
.sw-guide-index-list a .sw-new-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-block;
  min-width: 42px;
  padding: 3px 8px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.2;
  text-align: center;
  color: #fff;
  pointer-events: none;
  animation: swNewBadgePulse 1.2s ease-in-out infinite;
}
.sw-guide-index-list a { position: relative; }
.sw-guide-index-list a .sw-new-badge {
  top: 12px;
  right: 12px;
  left: auto;
}
@keyframes swNewBadgePulse {
  0%, 100% { background: #e11d48; opacity: 1; transform: scale(1); }
  50% { background: #ea580c; opacity: .85; transform: scale(1.06); }
}


#bo_w.bo_w_online .bo_w_online_row,
.sw-form form.bo_w_online_home .bo_w_online_row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 10px 16px;
  align-items: center;
  margin: 0 0 14px;
}
#bo_w.bo_w_online .bo_w_online_row--content,
.sw-form form.bo_w_online_home .bo_w_online_row--content,
#bo_w.bo_w_online .bo_w_online_row--file,
.sw-form form.bo_w_online_home .bo_w_online_row--file {
  align-items: start;
}
#bo_w.bo_w_online .bo_w_online_label,
.sw-form form.bo_w_online_home .bo_w_online_label {
  display: block;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #222;
  line-height: 1.4;
  word-break: keep-all;
}
#bo_w.bo_w_online .bo_w_req,
.sw-form form.bo_w_online_home .bo_w_req {
  color: #c0392b;
  font-weight: 700;
}
#bo_w.bo_w_online .bo_w_online_field,
.sw-form form.bo_w_online_home .bo_w_online_field {
  min-width: 0;
}

#bo_w.bo_w_online .bo_w_online_help,
.sw-form form.bo_w_online_home .bo_w_online_help {
  margin: 8px 0 0;
  font-size: 13px;
  color: #777;
  line-height: 1.5;
}
#bo_w.bo_w_online .bo_w_online_secret label,
.sw-form form.bo_w_online_home .bo_w_online_secret label {
  font-weight: 500;
}
#bo_v .bo_v_online_meta {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid #e5e9ee;
  background: #f8fafb;
  font-size: 14px;
  line-height: 1.7;
}
#bo_v .bo_v_online_meta dl {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 6px 12px;
  margin: 0;
}
#bo_v .bo_v_online_meta dt {
  margin: 0;
  color: #678;
  font-weight: 600;
}
#bo_v .bo_v_online_meta dd {
  margin: 0;
  color: #222;
  word-break: break-all;
}
@media (max-width: 720px) {
  #bo_w.bo_w_online .bo_w_online_row,
  .sw-form form.bo_w_online_home .bo_w_online_row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}



#bo_w.bo_w_online,
.sw-form form.bo_w_online_home {
  overflow-x: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

/* ===== 온라인상담 글쓰기 레이아웃 (단일 정의) ===== */
#bo_w.bo_w_online .bo_w_online_top {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(250px, 1.35fr) !important;
  gap: 10px !important;
  margin: 0 0 14px !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  align-items: stretch !important;
}
#bo_w.bo_w_online .bo_w_online_top:after {
  display: none !important;
  content: none !important;
}
#bo_w.bo_w_online .bo_w_online_cell,
.sw-form form.bo_w_online_home .bo_w_online_cell {
  min-width: 0 !important;
  margin: 0 !important;
  float: none !important;
}
#bo_w.bo_w_online .bo_w_online_cell > .frm_input,
.sw-form form.bo_w_online_home .bo_w_online_cell:not(.bo_w_online_phone) > .frm_input {
  width: 100% !important;
  height: 48px !important;
  margin: 0 !important;
  float: none !important;
  box-sizing: border-box !important;
}
#bo_w.bo_w_online .bo_w_online_phone {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 18px 0 10px !important;
  border: 1px solid #d7d7d7 !important;
  background-color: #f7f7f7 !important;
  background-image: url('/img/require.png') !important;
  background-repeat: no-repeat !important;
  background-position: right top !important;
  box-sizing: border-box !important;
}
#bo_w.bo_w_online .bo_w_online_phone .sound_only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
}
#bo_w.bo_w_online .bo_w_online_phone select {
  flex: 0 0 68px !important;
  width: 68px !important;
  min-width: 68px !important;
  max-width: 68px !important;
  height: 36px !important;
  margin: 0 !important;
  padding: 0 2px !important;
  border: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}
#bo_w.bo_w_online .bo_w_online_phone input[type="text"] {
  flex: 0 0 64px !important;
  width: 64px !important;
  min-width: 64px !important;
  max-width: 64px !important;
  height: 36px !important;
  margin: 0 !important;
  padding: 0 4px !important;
  border: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  text-align: center !important;
}
#bo_w.bo_w_online .bo_w_online_phone-dash {
  flex: 0 0 auto !important;
  color: #889;
  font-weight: 600;
  line-height: 1;
}
#bo_w.bo_w_online .bo_w_online_secret,
.sw-form form.bo_w_online_home .bo_w_online_secret {
  display: flex !important;
  align-items: center;
  margin: 0 0 14px !important;
}
#bo_w.bo_w_online .bo_w_online_secret label,
.sw-form form.bo_w_online_home .bo_w_online_secret label {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  font-size: 15px;
  color: #333;
  cursor: pointer;
}
#bo_w.bo_w_online .bo_w_online_secret input[type="checkbox"],
.sw-form form.bo_w_online_home .bo_w_online_secret input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
}
#bo_w.bo_w_online .bo_w_online_admin,
.sw-form form.bo_w_online_home .bo_w_online_admin { margin: 0 0 14px !important; }
#bo_w.bo_w_online .bo_w_online_files .bo_w_flie,
.sw-form form.bo_w_online_home .bo_w_online_files .bo_w_flie { margin: 0 0 10px !important; }

@media (max-width: 900px) {
  #bo_w.bo_w_online .bo_w_online_top {
    grid-template-columns: 1fr !important;
  }
  #bo_w.bo_w_online .bo_w_online_phone {
    width: 100% !important;
  }
  #bo_w.bo_w_online .bo_w_online_phone input[type="text"] {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 64px !important;
    max-width: 140px !important;
  }
}
@media (max-width: 480px) {
  .sw-form form.bo_w_online_home .bo_w_online_top {
    grid-template-columns: 1fr !important;
  }
  #sw-header { overflow-x: hidden; overflow-y: visible; }
  .sw-header-inner { padding: 0 12px; gap: 8px; }
  .sw-header-cta .sw-btn { display: none; }
  .sw-logo { max-width: calc(100% - 52px); min-width: 0; padding-top: 12px; }
  .sw-logo img { max-width: 100%; height: auto; max-height: 46px; }
}


/* 목록 테이블 caption 숨김 */
.sw-bbs-inner #bo_list .tbl_head01 caption {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}

/* 성공사례 등: 목록보기 텍스트 버튼 */
#bo_v .btn_list_text {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  height: 36px;
  padding: 0 14px !important;
  border: 1px solid #d0d3db !important;
  background: #fff !important;
  color: #333 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-sizing: border-box;
}
#bo_v .btn_list_text:hover {
  background: #f5f7f9 !important;
  border-color: #b8bec8 !important;
  color: #111 !important;
}

/* 온라인상담 읽기: 텍스트 버튼 바 */
#bo_v .bo_v_com_text,
#bo_v_top .bo_v_com_text {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  float: none !important;
  width: 100%;
  margin: 12px 0 8px !important;
  padding: 0;
  list-style: none;
}
#bo_v .bo_v_com_text > li,
#bo_v_top .bo_v_com_text > li,
#bo_v .btn_bo_user.bo_v_com_text > li {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  background: transparent !important;
}
#bo_v .bo_v_com_text .btn_txt,
#bo_v .btn_txt {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  height: 36px !important;
  padding: 0 14px !important;
  border: 1px solid #d0d3db !important;
  border-radius: 4px !important;
  background: #fff !important;
  color: #333 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-sizing: border-box;
  white-space: nowrap;
}
#bo_v .bo_v_com_text .btn_txt:hover,
#bo_v .btn_txt:hover {
  background: #f5f7f9 !important;
  border-color: #b8bec8 !important;
  color: #111 !important;
}
#bo_v .bo_v_left.bo_v_com_text {
  float: none !important;
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px !important;
}
@media (max-width: 640px) {
  #bo_v .bo_v_com_text,
  #bo_v .bo_v_left.bo_v_com_text {
    justify-content: flex-start;
  }
}

/* 읽기 상단: 레벨별 버튼 줄바꿈 (잘림 방지) */
#bo_v {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}
#bo_v_info {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px 12px;
}
#bo_v_info:after { display: none; }
#bo_v_info .profile_info {
  float: none;
  flex: 1 1 160px;
  min-width: 0;
  margin: 12px 0;
}
#bo_v_info #bo_v_top {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
#bo_v_info #bo_v_top:has(.bo_v_com_text) {
  flex: 1 1 100%;
}
#bo_v_info #bo_v_top .btn_bo_user,
#bo_v_info #bo_v_top .bo_v_com,
#bo_v #bo_v_top .btn_bo_user.bo_v_com {
  float: none !important;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  width: auto;
  max-width: 100%;
  margin: 12px 0;
  padding: 0;
  box-sizing: border-box;
}
#bo_v_info #bo_v_top .bo_v_com_text,
#bo_v #bo_v_top .bo_v_com_text {
  width: 100%;
  justify-content: flex-end;
}
#bo_v_info #bo_v_top .btn_bo_user > li,
#bo_v_info #bo_v_top .bo_v_com > li,
#bo_v #bo_v_top .btn_bo_user > li {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  background: transparent;
}
#bo_v_info #bo_v_top .btn_bo_user > li > a.btn:not(.btn_list_text):not(.btn_txt),
#bo_v_info #bo_v_top .btn_bo_user > li > button.btn {
  width: 36px;
  min-width: 36px;
  height: 36px;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
#bo_v .btn_list_text,
#bo_v .btn_txt {
  max-width: 100%;
  box-sizing: border-box;
}
@media (max-width: 720px) {
  #bo_v_info {
    flex-direction: column;
    align-items: stretch;
  }
  #bo_v_info #bo_v_top,
  #bo_v_info #bo_v_top .btn_bo_user,
  #bo_v_info #bo_v_top .bo_v_com,
  #bo_v_info #bo_v_top .bo_v_com_text,
  #bo_v #bo_v_top .btn_bo_user.bo_v_com,
  #bo_v #bo_v_top .bo_v_com_text {
    width: 100%;
    justify-content: flex-start;
    margin-top: 0;
    margin-bottom: 8px;
  }
  #bo_v .btn_list_text,
  #bo_v .btn_txt {
    min-width: 0 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}
