/* 2026-10-22 서브페이지에 메인 헤더 스타일만 적용. 깨지면 이 파일과 head.jsp 링크를 빼면 원복 */
@media screen and (min-width: 1217px) {
  html.sub-renew #header {
    height: 167px;
    background: #fff;
    border-bottom: 1px solid #CDD1D5;
  }
  html.sub-renew #header > .inner {
    position: relative;
    height: 0;
    width: 1400px;
  }
  html.sub-renew #header .hd-top {
    position: absolute;
    top: 33px;
    right: 0;
    z-index: 6;
    display: flex;
    align-items: center;
    height: 46px;
    width: auto;
    overflow: visible;
    /* 2026-10-21 오른쪽 빈 여백이 사이트맵 클릭을 가로채지 않게 */
    pointer-events: none;
  }
  html.sub-renew #header .hd-top a,
  html.sub-renew #header .hd-top button {
    pointer-events: auto;
  }
  html.sub-renew #header .f-site {
    display: none;
  }
  html.sub-renew #header .h-util-mn > ul > li:not(:last-child) > a:after {
    display: none;
  }
  /* 2026-11-17 상단 유틸은 ul flex. 1217 이상만 적용 */
  html.sub-renew #header .h-util-mn > ul {
    display: flex;
    align-items: center;
    overflow: visible;
  }
  html.sub-renew #header .h-util-mn > ul > li {
    overflow: visible;
  }
  html.sub-renew #header .h-util-mn a {
    display: flex;
    align-items: center;
    color: #444;
    /* 2026-10-22 최상단 회원가입·로그인 15, 굵기 400 */
    font-size: 15px;
    font-weight: 400;
    gap: 6px;
    /* 2026-11-17 메뉴 사이 간격 축소 */
    padding: 0 8px;
    line-height: 1;
    height: 32px;
    overflow: visible;
  }
  /* 2026-11-17 상단 아이콘은 img. 배경 아이콘 제거 */
  html.sub-renew #header .h-util-mn img {
    display: block;
    width: 22px;
    height: 22px;
  }
  html.sub-renew #header .h-util-mn a[href*="search.do"] {
    display: none;
  }
  html.sub-renew #header .h-util-mn {
    margin-right: 0;
  }
  html.sub-renew #header .line {
    position: relative;
    border: 0;
    height: 100%;
  }
  /* 2026-10-20 메뉴 윗선. inner 밖인 .line에 그려 아랫선과 같이 화면 끝까지 */
  html.sub-renew #header .line::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 114px;
    z-index: 2;
    height: 1px;
    background: #CDD1D5;
    pointer-events: none;
  }
  html.sub-renew #header .line > .inner {
    width: 1420px;
  }
  html.sub-renew #header .h-l-mn {
    display: grid;
    grid-template-columns: 1fr;
    /* 2026-10-21 로고·검색·사이트맵 위아래 간격 */
    grid-template-rows: 68px auto;
    grid-template-areas:
      "search"
      "gnb";
    align-items: center;
    
    row-gap: 24px;
    padding: 22px 0 0;
  }
  html.sub-renew #header .h-l-mn > h1 {
    grid-area: search;
    justify-self: start;
    align-self: center;
    float: none;
    /* 2026-10-21 로고 270x62 */
    width: 270px;
    padding: 0;
    z-index: 2;
  }
  html.sub-renew #header .h-l-mn h1 a {
    height: 62px;
    background-image: url("/yongin/images/main2/logo_yongin.png");
    background-position: left center;
    background-size: contain;
  }
  html.sub-renew #header .h-l-mn > .search_box {
    grid-area: search;
    display: block;
    position: static;
    justify-self: center;
    width: 500px;
    max-width: calc(100% - 420px);
    margin: 0;
    height: auto;
    padding: 0;
    background: transparent;
    overflow: visible;
  }
  html.sub-renew #header .search_box .search_input {
    display: flex;
    align-items: center;
    position: relative;
    width: 500px;
    height: 56px;
    padding: 0 36px 0 22px;
    overflow: visible;
    /* 2026-10-20 검색창 500x56, 테두리 그라데이션 */
    border: 1.5px solid transparent;
    border-radius: 28px;
    background:
      linear-gradient(#fff, #fff) padding-box,
      linear-gradient(90deg, #9D1185 0%, #00B097 100%) border-box;
  }
  html.sub-renew #header .search_box .search_input input[type=text] {
    flex: 1;
    height: 40px;
    border: 0;
    background: transparent;
    color: #333;
    font-size: 17px;
    padding: 0;
  }
  /* 2026-10-21 검색 안내 문구 17, #aaa, 500 */
  html.sub-renew #header .search_box .search_input input[type=text]::placeholder {
    color: #aaa;
    font-size: 17px;
    font-weight: 500;
  }
  html.sub-renew #header .search_box .search_input button {
    position: absolute;
    right: -28px;
    top: 50%;
    transform: translateY(-50%);
    flex: none;
    width: 50px;
    height: 50px;
    margin: 0;
    border: 0;
    border-radius: 50%;
    z-index: 2;
    /* 2026-10-20 검색 버튼은 오른쪽 테두리에 반만 걸침 */
    background: url("/yongin/images/main2/btn_search.png") center / cover no-repeat;
  }
  html.sub-renew #header .gnb-box {
    grid-area: gnb;
    align-self: stretch;
    float: none;
    width: 100%;
    margin: 0;
  }
  html.sub-renew #gnb > ul {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    height: 52px;
    margin: 0;
    border-top: 0;
  }
  html.sub-renew #gnb > ul > li {
    float: none;
    flex: 1;
    margin: 0;
  }
  html.sub-renew #gnb > ul > li > a {
    /* 2026-10-21 메뉴는 52 높이로 글자 가운데. 원본 100px 줄간격 덮음 */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 52px;
    padding: 0;
    background: none;
    /* 2026-10-22 상단 메뉴 19, 굵기 500 */
    font-size: 19px;
    font-weight: 500;
    color: #222;
    border-right: 0;
    line-height: 1;
    white-space: nowrap;
    letter-spacing: -0.4px;
  }


  /* 2026-10-21 메뉴 마우스오버 하단 바. 칸 끝까지, 가운데에서 펼침 */
  html.sub-renew #gnb > ul > li:not(.pc-hidden) > a::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: #31439E;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
  }
  html.sub-renew #gnb > ul > li:not(.pc-hidden) > a:hover::before,
  html.sub-renew #gnb > ul > li:not(.pc-hidden) > a.on::before {
    transform: scaleX(1);
  }
  html.sub-renew #gnb > ul > li:not(.pc-hidden) > a:hover:after,
  html.sub-renew #gnb > ul > li:not(.pc-hidden) > a.on:after {
    display: none;
  }
  /* 2026-11-17 데스크톱 GNB에서 모바일 전용(마이페이지·강사·로그아웃) 숨김 */
  html.sub-renew #gnb > ul > li.pc-hidden {
    display: none !important;
  }
  html.sub-renew #header.open:after {
    top: 166px;
  }
  html.sub-renew #gnb > ul > li > div {
    top: 166px;
  }
  html.sub-renew #header.open .h-l-mn {
    height: auto;
  }
}

@media screen and (max-width: 1216px) {
  /* 2026-10-20 모바일 시안. 한 줄로 쌓고 헤더는 로고와 메뉴만 */
  html.sub-renew #header {
    height: 62px;
  }
  html.sub-renew #header .h-l-mn h1,
  html.sub-renew .h-l-mn h1 {
    /* 2026-10-22 모바일 로고는 가운데, 가로 180 */
    width: 180px;
    margin: 0 auto;
    padding: 0;
    float: none;
  }
  html.sub-renew #header .h-l-mn h1 a {
    width: 180px;
    height: 41px;
    margin-top: 11px;
    background-image: url("/yongin/images/main2/logo_yongin.png");
    background-position: center center;
    background-size: contain;
  }
  html.sub-renew #header .btn-m-mn,
  html.sub-renew #header .btn-m-srh {
    /* 2026-10-22 서브 기본 top 7px를 없애 헤더 세로 가운데 */
    top: 0;
    height: 100%;
    background-position: center center;
  }
  html.sub-renew #header .btn-m-mn {
    /* 2026-10-21 모바일 메뉴는 왼쪽, 아이콘 25x20 */
    left: 8px;
    right: auto;
    display: block;
    width: 40px;
    background-image: url("/yongin/images/main2/btn_m_menu.png");
    background-repeat: no-repeat;
    background-size: 25px 20px;
    /* 2026-10-22 모바일 메뉴 버튼 높이 */
    height: 40px;
  }
  html.sub-renew #header .btn-m-srh {
    /* 2026-10-21 모바일 검색은 오른쪽 */
    display: block;
    left: auto;
    right: 4px;
    width: 40px;
    background-size: 22px auto;
    /* 2026-10-22 모바일 검색 버튼 높이 */
    height: 40px;
  }
  html.sub-renew #header .search_box {
    /* 2026-10-23 모바일 검색창을 메인과 같은 전체 너비로 */
    top: 60px;
    right: 0;
    z-index: 1000;
    width: 100%;
    height: 60px;
    background: #393f47;
    padding: 12px 25px 17px;
  }
  html.sub-renew #header .search_box .search_input input[type=text] {
    width: 100%;
    padding: 0 25px 0 10px;
    color: #fff;
    background: none;
    border: 0;
    border-bottom: 1px solid #fff;
    font-size: 15px;
  }
  html.sub-renew #header .search_box .search_input input[type=text]::placeholder {
    color: #b1b1b1;
    font-size: 15px;
  }
  html.sub-renew #header .search_box .search_input button {
    position: absolute;
    right: 0;
    top: auto;
    bottom: 8px;
    width: 20px;
    height: 20px;
    background: url("/yongin/images/common/btn_header_search02.png") bottom right no-repeat;
    background-size: 17px;
  }
  /* 2026-11-16 헤더 로그인 알약만 숨김. 전체메뉴의 강사전용·마이페이지는 표시 */
  html.sub-renew #header .h-l-mn > a.pc-hidden {
    display: none !important;
  }
  /* 2026-11-17 상단 유틸 사이트맵은 모바일 헤더에서 숨김 */
  html.sub-renew #header .h-util-mn a[href*="siteMap"] {
    display: none !important;
  }
  /* 2026-11-17 비로그인 시 평생학습관 안내가 last-child가 되어 원본 display:none에 숨겨짐 */
  html.sub-renew #gnb > ul > li:last-child:not(.pc-hidden) {
    display: list-item !important;
  }
  /* 2026-11-17 서브 원본 last-child 아이콘이 강사 mn08이라 6번째 안내 메뉴를 mn06으로 고정 */
  html.sub-renew #gnb > ul > li:nth-child(6):not(.pc-hidden) > a {
    background-image: url("/yongin/images/common/bg_m_mn06_off.png") !important;
    background-repeat: no-repeat !important;
    background-position: 50% 12px !important;
    background-size: 30px auto !important;
  }
  html.sub-renew #gnb > ul > li:nth-child(6):not(.pc-hidden) > a.on {
    background-image: url("/yongin/images/common/bg_m_mn06_on.png") !important;
  }
  /* 로그아웃만 숨김. 원본 nth-child(7){display:none}이 마이페이지를 지우므로 클래스로 복구 */
  html.sub-renew #gnb > ul > li.pc-hidden:not(:has(> div)) {
    display: none !important;
  }
  html.sub-renew #gnb > ul > li.pc-hidden > a[class~="7"] {
    background-image: url("/yongin/images/common/bg_m_mn09_off.png") !important;
    background-repeat: no-repeat !important;
    background-position: 50% 12px !important;
    background-size: 32px auto !important;
    display: block !important;
  }
  html.sub-renew #gnb > ul > li.pc-hidden > a[class~="7"].on {
    background-image: url("/yongin/images/common/bg_m_mn09_on.png") !important;
  }
  html.sub-renew #gnb > ul > li.pc-hidden > a[class~="8"] {
    background-image: url("/yongin/images/common/bg_m_mn08_off.png") !important;
    background-repeat: no-repeat !important;
    background-position: 50% 12px !important;
    background-size: 32px auto !important;
    display: block !important;
  }
  html.sub-renew #gnb > ul > li.pc-hidden > a[class~="8"].on {
    background-image: url("/yongin/images/common/bg_m_mn08_on.png") !important;
  }
  html.sub-renew #content {
    /* 2026-10-22 헤더 62에 맞춰 본문이 가리지 않게 */
    margin-top: 62px;
  }
}

/* 2026-10-27 서브에도 메인과 같은 연계기관 4링크 */
html.sub-renew #footer > .renew-relate {
  width: 100%;
  margin: 0;
  padding: 28px 0;
  background: none;
  border-top: 1px solid #eee;
}
html.sub-renew .renew-relate ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: 1400px;
  max-width: calc(100% - 40px);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
html.sub-renew .renew-relate a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 23px;
  border-radius: 10px;
  background: #F0F0F0;
  font-size: 16px;
  font-weight: 400;
  color: #333;
}
html.sub-renew .renew-relate a img {
  width: 20px;
  height: 20px;
}

/* 2026-10-20 푸터. 로고와 정책 링크 한 줄, 오른쪽 SNS, 아래 주소와 관련사이트 */
html.sub-renew #footer {
  background: #fff;
  color: #666;
  padding: 0 0 36px;
  text-align: left;
}
html.sub-renew #footer .inner {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  grid-template-areas:
    "logo policy"
    ". info"
    ". copy";
  column-gap: 83px;
  row-gap: 12px;
  align-items: center;
}
html.sub-renew #footer .f_box,
html.sub-renew #footer .ft-btm,
html.sub-renew #footer .ft-util {
  display: contents;
}
html.sub-renew #footer .f_logo {
  grid-area: logo;
  align-self: center;
  /* 2026-10-21 푸터 로고 270x62 */
  width: 270px;
  height: 62px;
  padding: 0;
  background: url("/yongin/images/main2/logo_yongin.png") left center / contain no-repeat;
}
html.sub-renew #footer .f_logo img {
  width: 270px;
  height: 62px;
  opacity: 0;
}
html.sub-renew #footer .ft-policy {
  /* 2026-10-21 정책 링크와 SNS를 양끝으로, 아래 선 */
  grid-area: policy;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}
html.sub-renew #footer .ft-util .l {
  grid-area: auto;
  float: none;
  margin: 0;
  min-width: 0;
}
html.sub-renew #footer .ft-util .l ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}
html.sub-renew #footer .ft-util .l li:nth-child(1) { order: 2; }
html.sub-renew #footer .ft-util .l li:nth-child(2) { order: 1; }
html.sub-renew #footer .ft-util .l li:nth-child(3) { order: 3; }
html.sub-renew #footer .ft-util .l li:nth-child(4) { order: 5; }
html.sub-renew #footer .ft-util .l li.renew-contact { order: 4; }
html.sub-renew #footer .ft-util .l a {
  color: #333;
  font-size: 19px;
  letter-spacing: -1px;
}
html.sub-renew #footer .ft-util .l a[href*="yonginInfo_11"] {
  /* 2026-10-21 개인정보처리방침만 굵게 */
  font-weight: 700;
}
html.sub-renew #footer .ft-util .l li:after {
  width: 1px;
  height: 16px;
  margin: 0 16px;
  border-radius: 0;
  background: #ddd;
}
html.sub-renew #footer .ft-util .l li.renew-contact:after {
  display: block;
}
html.sub-renew #footer .ft-util .l li:nth-child(4):after {
  display: none;
}
html.sub-renew #footer .sns_area {
  grid-area: auto;
  justify-self: auto;
  flex: none;
  position: static;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
}
html.sub-renew #footer .sns {
  width: auto;
  height: auto;
  padding: 0;
  background: none;
  border-radius: 0;
}
html.sub-renew #footer .sns::after,
html.sub-renew #footer .sns h5 {
  display: none;
}
html.sub-renew #footer .sns a {
  display: block;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  font-size: 0;
  line-height: 0;
  background: url("/yongin/images/main2/ico_instagram.png") center / cover no-repeat;
}
html.sub-renew #footer .facebook a {
  background: url("/yongin/images/main2/ico_facebook.png") center / cover no-repeat;
}
html.sub-renew #footer .ft-info {
  /* 2026-10-21 주소·관련사이트를 위 선에서 더 띄움 */
  grid-area: info;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  padding-top: 20px;
}
html.sub-renew #footer .ft-util .r,
html.sub-renew #footer .ft-info .r {
  grid-area: auto;
  justify-self: auto;
  align-self: center;
  flex: none;
  float: none;
  margin: 0;
}
html.sub-renew #footer .ft-info .r select {
  width: 148px;
  height: 36px;
  padding: 0 32px 0 16px;
  border: 1px solid #e3e3e3;
  border-radius: 18px;
  background-color: #fff;
  color: #666;
  font-size: 13px;
}
html.sub-renew #footer .ft-site-btn {
  position: relative;
  display: block;
    width: 260px;
    height: 56px;
    padding: 0 44px 0 18px;
    border: 1px solid #CDD1D5;
    border-radius: 15px;
    background: #fff;
    color: #333;
    font-size: 16px;
    text-align: left;
    cursor: pointer;
}
html.sub-renew #footer .ft-site-btn::after {
  /* 2026-10-21 닫히면 위, 열리면 아래로 뒤집힘 */
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 20px;
  height: 20px;
  background: url("/yongin/images/main2/ico_site_arrow.png") center / contain no-repeat;
  transform: translateY(-50%) rotate(180deg);
  transition: transform 0.2s ease;
}
html.sub-renew #footer .link-site-form.is-open .ft-site-btn::after {
  transform: translateY(-50%) rotate(0deg);
}
html.sub-renew #footer .link-site-form .arrow {
  /* 2026-10-21 관련사이트 옛 화살표 제거 */
  display: none !important;
}
html.sub-renew #footer .ft-info .r select.is-custom {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
  pointer-events: none;
}
html.sub-renew #footer .ft-site-list {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 30;
  width: 260px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #fff;
  border: 1px solid #CDD1D5;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
html.sub-renew #footer .ft-site-list[hidden] {
  display: none;
}
html.sub-renew #footer .ft-site-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  color: #333;
  font-size: 16px;
  text-decoration: none;
  letter-spacing: -1px;
}
html.sub-renew #footer .ft-site-list a:hover {
  background: #f7f7f7;
}
html.sub-renew #footer .ft-site-list img {
  width: 16px;
  height: 16px;
  flex: none;
}
html.sub-renew #footer .address {
  grid-area: auto;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}
html.sub-renew #footer address ul li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 6px;
  color: #333;
  font-size: 17px;
  line-height: 1.5;
}
html.sub-renew #footer .ft-tel {
  /* 2026-10-21 전화·팩스 번호만 굵게 */
  font-weight: 700;
}
html.sub-renew #footer .ft-call,
html.sub-renew #footer .ft-paid {
  /* 2026-10-21 유료 표시는 전화 바로 옆 */
  display: inline-flex;
  align-items: center;
}
html.sub-renew #footer .ft-paid {
  gap: 2px;
}
html.sub-renew #footer .ft-paid .tooltip-trigger {
  /* 2026-10-27 아이콘을 글자 가운데에 맞춤 */
  margin-left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  line-height: 1;
}
html.sub-renew #footer .ft-paid .tooltip-trigger img {
  display: block;
  vertical-align: middle;
}
html.sub-renew #footer address .color.ml::before {
  content: "|";
  margin-right: 8px;
  color: #ddd;
  font-weight: 400;
}
html.sub-renew #footer address,
html.sub-renew #footer address a,
html.sub-renew #footer address .color {
  color: #333;
  font-size: 17px;
  font-weight: 400;
}
html.sub-renew #footer address ul li:first-child .color {
  display: none;
}
/* 2026-10-27 기흥처럼 자세히보기 표시. 숨김 규칙 제거 */
html.sub-renew #footer .line_txt {
  grid-area: copy;
  margin: 0;
  padding: 0;
  border: 0;
  color: #b0b4ba;
  font-size: 12px;
}
html.sub-renew #footer small {
  color: #888;
  font-size: 15px;
}

@media screen and (max-width: 1216px) {
  html.sub-renew .renew-relate ul {
    grid-template-columns: 1fr 1fr;
  }
  /* 2026-10-27 모바일 순서: 로고 → 개인정보 → SNS → 선 → 주소 → 저작권 → 관련사이트 */
  html.sub-renew #footer .inner {
    display: flex !important;
    flex-direction: column !important;
    /* 2026-10-27 원본 space-between·gap이 순서를 흐트러뜨림 */
    justify-content: flex-start !important;
    align-items: stretch !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 8px 20px 28px !important;
  }
  html.sub-renew #footer .f_box,
  html.sub-renew #footer .ft-btm,
  html.sub-renew #footer .ft-util,
  html.sub-renew #footer .ft-policy,
  html.sub-renew #footer .ft-info {
    /* 2026-10-27 원본 subpage.css가 .ft-util을 숨기므로 강제로 유지 */
    display: contents !important;
  }
  html.sub-renew #footer .f_logo {
    order: 1;
    width: 270px;
    height: 62px;
    margin: 0 0 22px;
    align-self: flex-start !important;
    justify-content: flex-start !important;
  }
  html.sub-renew #footer .f_logo img {
    width: 270px;
    height: 62px;
  }
  html.sub-renew #footer .ft-util .l {
    order: 2;
    width: 100%;
    align-self: stretch;
  }
  html.sub-renew #footer .ft-util .l ul {
    justify-content: flex-start !important;
    row-gap: 8px;
  }
  html.sub-renew #footer .ft-util .l ul::after {
    content: "";
    order: 3;
    flex-basis: 100%;
    height: 0;
  }
  html.sub-renew #footer .ft-util .l a {
    font-size: 14px;
    color: #222;
  }
  html.sub-renew #footer .ft-util .l li:after {
    height: 12px;
    margin: 0 8px;
    background: #d5d5d5;
  }
  html.sub-renew #footer .ft-util .l li:nth-child(3):after {
    display: none;
  }
  html.sub-renew #footer .sns_area {
    order: 3;
    position: static;
    display: flex !important;
    justify-content: center;
    align-self: stretch;
    width: 100%;
    height: auto;
    overflow: visible;
    clip: auto;
    margin: 20px 0 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
  }
  html.sub-renew #footer .sns a {
    width: 48px;
    height: 48px;
  }
  html.sub-renew #footer .address {
    order: 4;
    margin: 0;
    display: block !important;
    align-self: stretch;
    justify-content: flex-start !important;
    text-align: left !important;
  }
  html.sub-renew #footer address,
  html.sub-renew #footer address a,
  html.sub-renew #footer address .color,
  html.sub-renew #footer address ul li {
    justify-content: flex-start !important;
    text-align: left !important;
    font-size: 14px;
    line-height: 1.55;
  }
  html.sub-renew #footer .line_txt {
    order: 5;
    margin: 2px 0 0;
    align-self: stretch;
    text-align: left !important;
  }
  html.sub-renew #footer .line_txt small {
    font-size: 13px;
    color: #b0b4ba;
  }
  html.sub-renew #footer .ft-util .r,
  html.sub-renew #footer .ft-info .r {
    order: 6;
    display: block !important;
    width: 100% !important;
    margin: 18px 0 0 !important;
    align-self: stretch;
  }
  html.sub-renew #footer .link-site-form,
  html.sub-renew #footer .ft-site-btn,
  html.sub-renew #footer .ft-site-list {
    width: 100%;
  }
  html.sub-renew #footer .ft-site-list {
    left: 0;
    right: 0;
  }
}

@media screen and (max-width: 767px) {
  html.sub-renew .renew-relate a {
    min-height: 48px;
    padding: 0 12px;
    font-size: 13px;
  }
}

@media screen and (max-width: 540px) {
  html.sub-renew #footer .sns_area {
    /* 2026-10-22 500대 인스타·페이스북 위아래 간격만 줄임 */
    margin: 12px 0 12px;
  }
  html.sub-renew #footer .ft-site-btn {
    /* 2026-10-22 500대 관련사이트 세로 크기 */
    height: 48px;
  }

}
