@charset "utf-8";
/* 에스씨알(scr21.com) — 옛 사이트(그누보드5) 모양을 빌더2 위에 옮긴 것.  DeaPlay server/scr21_builder2/assets/z-scr.css 가 정본.
   실리는 순서: reset.css → custom.css → skin.css(설치본 그대로 — 게시판·폼 모양) → 이 파일(이름이 z 로 시작해 맨 뒤, 에스씨알 모양).
   옛 css/default.css 의 값(색·크기·간격)을 그대로 쓰고, 폰 화면(1239px 이하)은 새로 만들었다(옛 사이트는 폰 화면이 따로였다). */
@import url('https://fonts.googleapis.com/css2?family=Nanum+Gothic:wght@400;700;800&display=swap');

:root { --content-width: 1200px; }
html { overflow-x: hidden; }
body { margin: 0; padding: 0; font-family: 'Noto Sans KR', 'Nanum Gothic', '나눔고딕', dotum, '돋움', sans-serif; color: #000; background: #fff; font-size: 16px; line-height: 1.5; letter-spacing: 0; }
h1, h2, h3, h4, h5, h6 { letter-spacing: 0; }
ul, li { margin: 0; padding: 0; list-style: none; }
p { margin: 0; padding: 0; }
a { color: #000; text-decoration: none; }
hr { display: none; }
main#container, main#container.w_custom { position: relative; width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; flex: 1 0 auto; }
body { padding-top: 0 !important; }
.sub_sec.sub_board { max-width: var(--content-width); margin: 40px auto; padding: 0 16px; box-sizing: border-box; }
.bc-breadcrumb { display: none !important; }

/* ── 상단 ── */
#hd { z-index: 40; position: absolute; top: 0; left: 0; width: 100%; background: rgba(19, 47, 85, 0.7); }
#hd_wrapper { position: relative; margin: 0 auto; padding: 0; width: 100%; height: 72px; }
#logo { position: absolute; top: 0; left: 50%; margin-left: -600px; z-index: 5; }
#logo img { display: block; max-width: none; }
.scr-ham { display: none; }
#hd .menu { position: static; margin: 0; }
/* 설치본 skin.css 의 메뉴 규칙(가로 펼침·끼워넣기 효과·!important 색)을 여기서 모두 되돌린다 */
#hd .db-menu { position: absolute; top: 0; left: 50%; margin-left: 100px; width: 500px; height: auto; display: block; overflow: visible; }
#hd .db-menu > li { position: static; float: left; width: 25%; height: auto; text-align: center; }
#hd .db-menu > li > a { display: block; height: auto; padding: 24px 15px; color: #fff !important; font-size: 18px; font-weight: 400; line-height: 24px; white-space: nowrap; letter-spacing: 0; }
#hd .db-menu > li.on > a, #hd .db-menu > li > a:hover { color: #da6f07 !important; text-decoration: none; }
#hd .db-submenu { display: none; position: fixed; left: 0; top: 72px; width: 100%; min-width: 0; margin: 0; padding: 10px calc(50% - 600px); background: rgba(7, 7, 7, 0.7); box-sizing: border-box; transform: none; clip-path: none; opacity: 1; visibility: visible; transition: none; box-shadow: none; z-index: 41; }
#hd .db-submenu::before { display: none !important; }
#hd .db-submenu::after { display: block; clear: both; content: ""; }
#hd .db-submenu > li { float: left; }
#hd .db-submenu > li > a { display: block; padding: 3px 10px; color: #fff !important; font-size: 16px; font-weight: 400; line-height: 24px; letter-spacing: 0; transition: none; }
#hd .db-submenu > li > a:hover { color: #5ba2ff !important; padding-left: 10px; text-decoration: none; }
/* 하위 메뉴 줄의 시작 자리 — 옛 사이트가 묶음마다 손으로 준 값 */
#hd .db-menu > li:nth-child(1) .db-submenu > li:first-child { padding-left: 550px; }
#hd .db-menu > li:nth-child(2) .db-submenu > li:first-child { padding-left: 340px; }
#hd .db-menu > li:nth-child(3) .db-submenu > li:first-child { padding-left: 490px; }
#hd .db-menu > li:nth-child(4) .db-submenu > li:first-child { padding-left: 790px; }

/* ── 서브 상단(그림 띠 + 옆 메뉴) ── */
.sub-visual01 { clear: both; margin: 0; height: 374px; background: #1c2f4a url(/images/scr/sub.png) no-repeat center top; width: 100%; text-align: center; color: #fff; }
.sub-visual01 h5 { color: #fff; letter-spacing: 0; font-size: 48px; font-weight: 400; line-height: 1.45; padding-top: 140px; padding-bottom: 10px; margin: 0; }
.sub-visual01 p { color: #d9e0e2; font-size: 18px; line-height: 1.5; padding-bottom: 45px; }
.sub-visual01 p::before { border-top: 1px solid #6d7d8b; width: 50px; padding-bottom: 20px; display: block; margin: 0 auto; content: ""; }
.lnbWrap { width: 100%; margin: 0; border-top: 1px solid #697688; line-height: 55px; height: 55px; }
div#menu { padding: 0; max-width: 1200px; margin: -1px auto 0; text-align: center; white-space: nowrap; }
div#menu a { display: inline-block; text-decoration: none; color: #fff; font-size: 16px; line-height: 55px; height: 55px; padding: 0 15px; border-top: 2px solid transparent; box-sizing: border-box; }
div#menu a.on { border-top-color: #ef3037; }

/* ── 페이지 본문 ── */
#subContent { clear: both; width: 100%; margin: 0 auto; }
#wrap .contents, .scr-page .contents { display: block; }       /* Tailwind 의 contents(상자 없앰) 유틸과 이름이 겹친다 */
.contents { width: 100%; min-height: 500px; line-height: 2em; margin: 40px auto; }
.contents .tit-sec { position: relative; width: 100%; margin: 0 auto 50px; text-align: center; border-bottom: 1px solid #d9d9d9; }
.contents .tit-sec h3 { font-size: 35px; font-weight: 400; color: #000; line-height: 32px; padding: 0 0 40px; margin: 0; }
.scr-page .contents > div[style] { width: auto !important; max-width: 1200px; margin: 0 auto; }
#ctt { margin: 0; padding: 0; }
#ctt header h1 { position: absolute; font-size: 0; line-height: 0; overflow: hidden; }
#ctt_con img { display: inline-block; max-width: 100%; height: auto; vertical-align: middle; }
#ctt_con iframe { display: block; width: 100%; border: 0; }
.scr-map { display: block; position: relative; margin: 0 0 10px; }
.scr-map img { display: block; width: 100%; height: auto; }
.scr-map-btn { display: inline-block; margin: 14px 0 20px; padding: 0 22px; height: 44px; line-height: 44px; background: #132f55; color: #fff; font-size: 15px; }
.scr-map-btn:hover { background: #da6f07; color: #fff; }

/* ── 게시판(빌더 화면을 옛 모양에 맞춤) ── */
.bl-page, .bv-page, .bf-page, .pf-page, .sr-page, .br-page { margin: 40px auto !important; padding-left: 16px; padding-right: 16px; box-sizing: border-box; }
.bv-page { max-width: var(--content-width); }
.bl-page { min-height: 500px; }
.bl-title { position: relative; margin: 0 0 50px !important; padding: 0 0 40px; text-align: center; font-size: 35px !important; font-weight: 400 !important; line-height: 32px !important; color: #000; }
.bl-title::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 100vw; margin-left: -50vw; border-bottom: 1px solid #d9d9d9; }
.bl-page[data-board-slug="construction"] .bl-prefixes { display: none; }
.bl-page .paging { position: static !important; transform: none !important; translate: none !important; inset: auto !important; display: flex !important; width: 100% !important; max-width: none !important; margin: 40px 0 0 !important; justify-content: center !important; }      /* 설치본 skin.css 의 다른 .paging(슬라이드용) 규칙이 덮여 목록 가운데에 떴다 */       /* 분류는 위 옆 메뉴로 고른다(옛 사이트와 같음) */
.bl-page .sub_gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 20px; margin: 10px 0 0; }
.bl-page .sub_gallery > li { min-width: 0; box-shadow: none; }
.bl-page .sub_gallery li .thumb { aspect-ratio: 284 / 230; overflow: hidden; background: #f7f7f7; }
.bl-page .sub_gallery li .thumb img { display: block; width: 100%; height: 100%; object-fit: cover; max-height: none; }
.bl-page[data-board-slug="construction"] .sub_gallery .info { display: none; }  /* 옛 목록은 사진만 보였다(제목이 모두 같음) */

/* ── 하단 ── */
#ft { width: 100%; background: #191919; color: #fff; padding: 30px 16px; text-align: center; margin: 0; clear: both; box-sizing: border-box; font-size: 16px; line-height: 1.5; }
#ft > p { margin: 0; padding: 10px 0; font-size: 14px; color: #c8c8c8; line-height: 1.6; }
#ft .ft-links { color: #fff; }
#ft .ft-links > a.db-policy-link { color: #fff !important; font-size: 16px !important; font-weight: 400; opacity: 1; }
#ft .db-policy-modal { color: #222; text-align: left; }       /* 약관 창은 푸터 색을 물려받지 않게 */
#ft .ft-info span { display: inline-block; margin: 0 10px; }
#ft > img { display: inline-block; max-width: 100%; height: auto; }

/* ── 메인 ── 슬라이드·배너·최근 시공실적은 빌더 기능(관리자에서 바꿈), 모양만 옛 값으로 */
.scr-visual { clear: both; position: relative; width: 100%; margin: 0 auto; padding: 0; height: 730px; z-index: 1; overflow: hidden; background: #132f55; }
.scr-visual .db-slide-item picture img, .scr-visual .db-slide-item img { object-position: top center; }
.scr-visual .db-slide-text h3 { margin: 0; letter-spacing: -2px; line-height: 60px; font-weight: 600 !important; text-shadow: none !important; font-family: 'Nanum Gothic', '나눔고딕', sans-serif; }
.scr-visual .db-slide-text p { margin: 50px 0 0 !important; line-height: 25px; text-shadow: none !important; font-family: 'Nanum Gothic', '나눔고딕', sans-serif; }
.scr-visual .db-slider-dots { bottom: 68px !important; gap: 3px !important; }
.scr-visual .db-slider-dots button { width: 12px !important; height: 12px !important; transform: none !important; }
.mainCont1 { clear: both; }
.mainCont1::after, .mainCont3::after, .mainCont5::after, .mainCont5 .inner::after { display: block; clear: both; content: ""; }
.mainCont1 .db-banner-group { display: flex; flex-wrap: wrap; }
.mainCont1 .db-banner-group > a { position: relative; display: block !important; width: 25%; overflow: hidden; }
.mainCont1 .db-banner-group img { display: block; width: 100%; height: auto; max-width: none !important; }
/* 올렸을 때: 흰 막 + 이름표(옛 사이트의 「On」 그림과 같은 모양 — 이름표 글자는 배너의 설명 칸) */
.mainCont1 .scr-bn-label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .72); color: #111; font-size: 30px; font-weight: 500; letter-spacing: -1px; opacity: 0; transition: opacity .2s; }
.mainCont1 .db-banner-group > a:hover .scr-bn-label { opacity: 1; }
.mainCont2, .mainCont4 { clear: both; background: #222 no-repeat center center; background-size: cover; padding: 90px 16px; text-align: center; font-size: 24px; line-height: 1.5; color: #fff; font-family: 'Nanum Gothic', '나눔고딕', sans-serif; }
.mainCont2 { background-image: url(/images/scr/bg1.jpg); }
.mainCont4 { background-image: url(/images/scr/bg2.jpg); }
.mainCont3 { clear: both; background: #181919; padding: 90px 0; text-align: center; }
.mainCont3 .inner, .mainCont5 .inner { max-width: 1200px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
.mainCont3 h3 { font-size: 45px; font-weight: 700; line-height: 1.45; color: #fff; margin: 0 0 30px; }
.mainCont3 .db-expose-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 18px; }
.mainCont3 .db-expose-board-item { min-width: 0; background: none; box-shadow: none; border: 0; border-radius: 0; }
.mainCont3 .db-expose-thumb { display: block; aspect-ratio: 276 / 220; overflow: hidden; border: 2px solid #6f6f6f; border-radius: 0; }
.mainCont3 .db-expose-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mainCont3 .db-expose-info, .mainCont3 .db-expose-more { display: none; }
.mainCont5 { clear: both; background: #f0f0f0; padding: 90px 0; }
.mainCont5 .fll { float: left; width: 46.7%; }
.mainCont5 .flr { float: right; width: 46.7%; color: #666; font-size: 14px; line-height: 1.6; }
.mainCont5 .scr-map-links { margin-top: 30px; }
.mainCont5 h4 { font-size: 21px; font-weight: 700; color: #222; margin: 0 0 20px; }
.mainCont5 .scr-video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.mainCont5 .scr-video iframe { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border: 0; }

/* ── 좁은 화면(태블릿·폰) — 새로 만든 부분 ── */
@media (max-width: 1239px) {
    #hd { position: relative; background: #132f55; }
    #hd_wrapper { height: 60px; }
    #logo { left: 12px; margin-left: 0; }
    #logo img { height: 60px; width: auto; }
    .scr-ham { display: block; position: absolute; right: 0; top: 0; width: 60px; height: 60px; padding: 0; border: 0; background: #3b3b3b; cursor: pointer; }
    .scr-ham span { display: block; width: 24px; height: 2px; margin: 5px auto; background: #fff; }
    #hd .menu { display: none; position: absolute; left: 0; top: 60px; width: 100%; background: #0f2443; max-height: calc(100vh - 60px); overflow-y: auto; }
    #hd.open .menu { display: block; }
    #hd .db-menu { position: static; width: auto; margin: 0; }
    #hd .db-menu > li { float: none; width: auto; text-align: left; border-top: 1px solid rgba(255, 255, 255, .12); }
    #hd .db-menu > li > a { padding: 14px 20px; font-size: 17px; font-weight: 500; }
    #hd .db-submenu { display: block !important; position: static; width: auto; padding: 0 0 10px; background: none; height: auto !important; }
    #hd .db-submenu > li { float: none; padding-left: 0 !important; }
    #hd .db-submenu > li > a { padding: 8px 20px 8px 34px; font-size: 15px; color: #c9d4e3 !important; }
    #hd .db-submenu > li > a:hover { padding-left: 34px; }
    .sub-visual01 { height: auto; background-size: cover; }
    .sub-visual01 h5 { font-size: 30px; padding-top: 44px; }
    .sub-visual01 p { font-size: 14px; padding: 0 16px 28px; word-break: keep-all; }
    .lnbWrap { height: 48px; line-height: 48px; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
    div#menu a { font-size: 15px; height: 48px; line-height: 48px; padding: 0 12px; }
    .contents { margin: 28px auto; min-height: 300px; }
    .contents .tit-sec { margin-bottom: 24px; }
    .contents .tit-sec h3 { font-size: 24px; line-height: 1.6; padding-bottom: 22px; }
    .scr-page .contents > div[style] { padding: 0 12px; }
    .bl-page, .bv-page, .bf-page { margin: 28px auto; }
    .bl-page { min-height: 300px; }
    .bl-title { font-size: 24px !important; line-height: 1.6 !important; padding-bottom: 22px; margin-bottom: 24px !important; }
    .bl-page, .bv-page, .bf-page { overflow-x: hidden; }
    .scr-visual { height: 460px; }
    .scr-visual .db-slider-sizer, .scr-visual .db-slide-item picture img, .scr-visual .db-slide-item img { height: 460px !important; }
    .scr-visual .db-slide-text { bottom: 30% !important; }
    .scr-visual .db-slide-text h3 { line-height: 1.35; letter-spacing: -1px; word-break: keep-all; }
    .scr-visual .db-slide-text h3 br, .scr-visual .db-slide-text p br { display: none; }
    .scr-visual .db-slide-text p { margin-top: 24px !important; line-height: 22px; font-size: 14px !important; word-break: keep-all; }
    .scr-visual .db-slider-dots { bottom: 28px !important; }
    .mainCont1 .scr-bn-label { opacity: 1; font-size: 20px; background: rgba(255, 255, 255, .6); }
    .mainCont2, .mainCont4 { padding: 50px 16px; font-size: 16px; word-break: keep-all; }
    .mainCont3, .mainCont5 { padding: 50px 0; }
    .mainCont3 h3 { font-size: 28px; }
    .mainCont5 .fll, .mainCont5 .flr { float: none; width: auto; }
    .mainCont5 .flr { margin-top: 36px; }
    #ft > p { font-size: 13px; word-break: keep-all; }
    #ft .ft-info span { margin: 0 6px; }
}
@media (max-width: 767px) {
    .bl-page .sub_gallery { grid-template-columns: repeat(2, 1fr); gap: 12px 10px; }
    .mainCont1 .db-banner-group > a { width: 50%; }
    .mainCont1 .scr-bn-label { font-size: 16px; letter-spacing: 0; }
    .mainCont3 .db-expose-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
