@charset "utf-8";
/**************************************************

	site.css — TASK001 신규 오버라이드
	- 접근성 개선(포커스 표시·명도 대비·스크린리더 텍스트) : Q6·Q7 허용 편차
	- 레거시 jQuery 인터랙션의 CSS 대체(:focus-within 등)
	- 게시판(공지) 스타일 서브셋 : superboard sb_board.css·skin 기준 (Q33)
	- 정적 지도·전용 404/410 문서 등 신규 블록

**************************************************/

/* ---------- 수평 스크롤 차단 ----------
   레거시 전폭(w100pdiv) 트릭은 html{overflow-x:hidden}에 의존하지만
   hidden은 프로그램적 수평 스크롤을 허용한다. body에서 clip으로 완전 차단한다 (Q7).
   (html에는 overflow-y:scroll이 있어 clip이 hidden으로 강등되므로 body에 적용) */
body {
  overflow-x: clip;
}

/* ---------- 스크린리더 전용 텍스트 ---------- */
.blind {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
  white-space: nowrap;
}

/* ---------- 키보드 포커스 표시 (접근성 개선) ---------- */
a:focus-visible,
button:focus-visible {
  outline: 3px solid #0962c0;
  outline-offset: 2px;
  z-index: 5;
}
#footer a:focus-visible,
#slide-menu a:focus-visible,
#slide-menu button:focus-visible {
  outline-color: #7db6ff;
}

/* ---------- 명도 대비 개선 (WCAG 2.1 AA) ---------- */
#hd-lan li a {
  color: #595959;
}
#hd-lan li.active a {
  color: #c9331b;
}
#drdw .inner > li > a {
  color: #c9331b;
}
#drdw .inner > li > ul > li > ul li a {
  color: #666666;
}
.ethicbox1 .tit em,
.inc1list li .tit em {
  color: #767676;
}
#main .latWrap .list li .txt,
#main .latWrap .list2 li .txt {
  color: #6e6e6e;
}
.introbox2 dl dd em {
  color: #c9331b;
}
#header #tnb-ico1 p {
  color: #595959;
}
#main .prdt .txtbox .more {
  background: #c9331b;
}

/* ---------- 버튼화된 컨트롤의 레거시 앵커 스타일 계승 ---------- */
#slide-btn button {
  display: block;
  width: 29px;
  height: 21px;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: url('/images/layout/slide-btn.png') no-repeat center center;
}
@media screen and (max-width: 1300px) {
  #slide-btn button {
    width: 24px;
    height: 15px;
    background-size: contain;
  }
}
button#slide-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: url('/images/layout/slide-close.png') no-repeat center center;
  background-size: 20px auto;
}
@media screen and (max-width: 1300px) {
  button#slide-close {
    width: 45px;
    height: 45px;
  }
}
#hd-lan-mo > a {
  cursor: pointer;
}

/* ---------- PC 드롭다운: 키보드 접근 (hover 외 focus-within 추가) ---------- */
#header:focus-within #drdw {
  display: block;
}
@media screen and (max-width: 1300px) {
  #header:focus-within #drdw {
    display: none;
  }
}
#ft-fam:focus-within ul {
  display: block;
}
#status .inner > li:focus-within > ul {
  display: block;
}

/* ---------- 모바일 슬라이드 메뉴: 닫힘 상태 포커스 차단 ---------- */
#slide-menu {
  visibility: hidden;
  transition:
    right 0.3s cubic-bezier(0.93, 0.635, 0.65, 0.97),
    visibility 0.3s;
}
#slide-menu.on {
  visibility: visible;
}
#gnb-mo .gnb-mo-child {
  padding-left: 10px;
}

/* ---------- 메인 비주얼: bxSlider 대체 (show/hide + fade) ---------- */
#main .visual .roll {
  position: relative;
}
#main .visual .roll li {
  display: none;
}
#main .visual .roll li.active {
  display: block;
  animation: visfade 0.6s ease;
}
@keyframes visfade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  #main .visual .roll li.active {
    animation: none;
  }
}
#main .visual .bx-pager-item button {
  display: block;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  cursor: pointer;
  text-indent: -999em;
  background: url('/images/main/vis-bull.png') no-repeat center center / contain;
}
#main .visual .bx-pager-item button.active {
  background-image: url('/images/main/vis-bull-on.png');
}
@media screen and (max-width: 1300px) {
  #main .visual .bx-pager-item button {
    width: 16px;
    height: 16px;
  }
}

/* ---------- 메인 제품 캐러셀: bxSlider 대체 ---------- */
#main .prdt .rollWrap {
  position: relative;
  text-align: center;
  white-space: nowrap;
}
#main .prdt .roll li .cover .txt {
  white-space: normal;
}
#main .prdt button.bx-prev,
#main .prdt button.bx-next {
  border: 0;
  padding: 0;
  cursor: pointer;
  background-color: transparent;
}
@media screen and (max-width: 1300px) {
  #main .prdt .roll li {
    width: 40%;
  }
}

/* ---------- 메인 섹션 제목: h4 → h2 구조화 (스타일 계승) ---------- */
#main .prdt .sec-tit h2 {
  font-size: 40px;
  color: #333333;
  letter-spacing: -1px;
  font-weight: normal;
  text-align: center;
  margin-bottom: 5px;
}
#main .devel .sec-tit h2 {
  font-size: 40px;
  color: #fff;
  letter-spacing: -1px;
  font-weight: normal;
  text-align: center;
  margin-bottom: 5px;
}
#main .latWrap .sec-tit h2 {
  font-size: 40px;
  color: #333333;
  letter-spacing: -1px;
  font-weight: normal;
  text-align: center;
  margin-bottom: 5px;
}
@media screen and (max-width: 1300px) {
  #main .prdt .sec-tit h2 {
    font-size: 18px;
  }
  #main .devel .sec-tit h2,
  #main .latWrap .sec-tit h2 {
    font-size: 16px;
  }
}

/* ---------- 인사말 h4 → h3 구조화 (스타일 계승) ---------- */
.abubox dd h3 {
  position: relative;
  padding-bottom: 25px;
  margin-bottom: 30px;
  border-bottom: 1px solid #ddd;
  font-size: 26px;
  line-height: 36px;
  color: #333333;
  font-weight: 300;
  letter-spacing: -1px;
}
.abubox dd h3:after {
  content: '';
  display: block;
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 190px;
  height: 2px;
  background: #0962c0;
}
@media screen and (max-width: 1300px) {
  .abubox dd h3 {
    padding-bottom: 12px;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 22px;
  }
}

/* ---------- 위로가기 버튼 ---------- */
#gotop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 95;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: none;
  line-height: 0;
}
@media screen and (max-width: 1300px) {
  #gotop {
    display: none;
  }
}

/* ---------- 게시판(공지) 서브셋 — superboard 스타일 계승 (Q33) ---------- */
#sb-list .list_tbl {
  width: 100%;
  border-top: 1px solid #2e2e2e;
}
#sb-list .list_tbl tr > * {
  position: relative;
  padding: 15px 10px;
  border: 1px solid #dddddd;
  border-width: 0 1px 1px 1px;
  font-size: 14px;
  line-height: 18px;
  text-align: center;
}
#sb-list .list_tbl thead tr th {
  font-weight: normal;
  color: #000000;
}
#sb-list .list_tbl tbody tr td.sbj {
  text-align: left;
}
#sb-list .list_tbl tbody tr td em {
  display: none;
}

#sb-view .titWrap {
  position: relative;
  border-top: 1px solid #2e2e2e;
  border-bottom: 1px solid #ddd;
  padding: 20px;
}
#sb-view .titWrap .sbj {
  font-size: 16px;
  line-height: 20px;
  color: #000000;
  display: block;
  padding-right: 220px;
  font-weight: normal;
}
#sb-view .titWrap .info {
  text-align: right;
  position: absolute;
  top: 23px;
  right: 20px;
}
#sb-view .titWrap .info li {
  position: relative;
  display: inline-block;
  vertical-align: top;
  padding: 0 10px;
  font-size: 12px;
  line-height: 16px;
}
#sb-view .titWrap .info li:last-child {
  padding-right: 0;
}
#sb-view .titWrap .info li em {
  margin-right: 5px;
  font-style: normal;
}
#sb-view .memoWrap {
  padding: 50px 10px;
  min-height: 300px;
  border-bottom: 1px solid #ddd;
  word-break: break-all;
}
#sb-view .memoWrap img {
  max-width: 100%;
  height: auto;
}

#sb-footer {
  position: relative;
  margin-top: 30px;
  min-height: 35px;
}
#sb-footer .left {
  text-align: left;
}
.sb-btn {
  display: inline-block;
  vertical-align: top;
  box-sizing: border-box;
  height: 35px;
  line-height: 35px;
  text-align: center;
  font-size: 16px;
  padding: 0 20px !important;
  letter-spacing: -1px;
  cursor: pointer !important;
  text-decoration: none;
}
.sb-btn.type3 {
  background: #323a45;
  border: 1px solid #323a45;
  color: #ffffff !important;
}

@media screen and (max-width: 750px) {
  #sb-list .list_tbl tr {
    display: block;
    padding: 10px 5px 12px 5px;
    border-top: 1px solid #dddddd;
  }
  #sb-list .list_tbl tr > * {
    display: inline-block;
    border: none;
    box-sizing: border-box;
    color: #333333;
    font-size: 11px;
    padding: 0 5px;
  }
  #sb-list .list_tbl thead {
    display: none;
  }
  #sb-list .list_tbl tbody tr td.no {
    display: none;
  }
  #sb-list .list_tbl tbody tr td.sbj {
    width: 100%;
    margin-bottom: 5px;
    padding-bottom: 0;
    font-size: 14px;
  }
  #sb-list .list_tbl tbody tr td.sbj a {
    color: #000000;
  }
  #sb-list .list_tbl tbody tr td em {
    display: inline-block;
    vertical-align: top;
    font-size: 11px;
    font-style: normal;
    color: #757575;
    margin-right: 3px;
  }
  #sb-view .titWrap {
    padding: 20px 10px;
  }
  #sb-view .titWrap .sbj {
    font-size: 14px;
    line-height: 18px;
    padding-right: 0;
    margin-bottom: 10px;
  }
  #sb-view .titWrap .info {
    text-align: left;
    position: static;
  }
  #sb-view .titWrap .info li {
    font-size: 11px;
    line-height: 13px;
  }
  #sb-view .titWrap .info li:first-child {
    padding-left: 0;
  }
  #sb-view .memoWrap {
    padding: 20px 10px;
    min-height: 150px;
  }
  #sb-footer.no-abs .left {
    position: static;
    text-align: center;
    width: 100%;
    white-space: nowrap;
  }
}

/* ---------- 정적 지도 (Q9) ---------- */
.intromap {
  padding: 40px 0;
}
.map-inner {
  width: 1200px;
  margin: 0 auto;
}
.map-static {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: hidden;
  border: 1px solid #ddd;
}
.map-static img {
  display: block;
  width: 100%;
  height: auto;
}
.map-static .map-marker {
  position: absolute;
  width: 36px;
  height: 48px;
  transform: translate(-50%, -100%);
}
.map-attribution {
  margin-top: 8px;
  font-size: 12px;
  color: #595959;
  text-align: right;
}
.map-attribution a {
  color: #595959;
}
.map-links {
  margin-top: 15px;
  text-align: center;
}
.map-links li {
  display: inline-block;
  margin: 0 5px;
}
.map-links li a {
  display: inline-block;
  min-width: 180px;
  line-height: 45px;
  padding: 0 25px;
  border: 1px solid #0962c0;
  color: #0962c0;
  text-decoration: none;
  font-size: 16px;
}
.map-links li a:hover,
.map-links li a:focus {
  background: #0962c0;
  color: #fff;
}
@media screen and (max-width: 1300px) {
  .map-inner {
    width: auto;
    padding: 0 10px;
  }
  .map-links li a {
    min-width: 130px;
    line-height: 35px;
    font-size: 13px;
    padding: 0 12px;
  }
}

/* ---------- 전용 404·410 문서 (Q34) ---------- */
.errorbox {
  text-align: center;
  padding: 40px 0 60px 0;
}
.errorbox .code {
  font-size: 15px;
  color: #c9331b;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
}
.errorbox h3 {
  font-size: 28px;
  color: #333333;
  letter-spacing: -1px;
  font-weight: 300;
  margin-bottom: 20px;
}
.errorbox p {
  font-size: 16px;
  line-height: 26px;
  color: #595959;
  letter-spacing: -1px;
}
.errorbox p.en {
  margin-top: 10px;
  color: #6e6e6e;
}
.errorbox .links {
  margin-top: 35px;
}
.errorbox .links li {
  display: inline-block;
  margin: 0 4px;
}
@media screen and (max-width: 1300px) {
  .errorbox h3 {
    font-size: 18px;
  }
  .errorbox p {
    font-size: 13px;
    line-height: 20px;
  }
}

/* ---------- 기타 반응형 보강 ---------- */
#main .visual .roll li img {
  max-width: none;
}
@media screen and (max-width: 1300px) {
  #main .visual .roll li img {
    max-width: 100%;
    transform: none;
  }
  .table1 img {
    max-width: 100%;
    height: auto;
  }
}
