@charset "utf-8";

/* Pretendard 폰트 임포트 */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');

/* 전체 폰트 적용 */
* {
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

body {
    min-width:1600px;
    max-width: 1920px;
    margin:0 auto;
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}
#header  {position:fixed;width:100%; height:95px; z-index:999;max-width: 1920px;
	transition:all .3s;
	    -webkit-transition:all .3s;
	    -moz-transition:all .3s;
	    -ms-transition:all .3s;
	    -o-transition:all .3s;
	}
#header:hover {background: #fff; border-bottom: 1px solid #dadada;}
#header:hover #gnb > ul li > a {color: #222;}
#header.sub-active {
    border-bottom: 1px solid #dadada;
    background-color: #fff;
    transition:all .3s;
        -webkit-transition:all .3s;
        -moz-transition:all .3s;
        -ms-transition:all .3s;
        -o-transition:all .3s;
}
#header.sub-active #gnb > ul li > a { color: #222;}

#header_content {width:100%; margin:0 auto;height:95px;display: flex;max-width: 1620px;justify-content: space-between; align-items: center;padding: 0 20px;}
#header_content .logo {display: flex;height: 100%;align-items: center; z-index:1000;}
#header_content .logoup {background: url('../img/main/logo.png') no-repeat center;}
#header_content .logodown {background: url('../img/main/logo_s.png') no-repeat center;}
#header_content .logo a{display: flex; align-items: center;}
#header_content > div {height: 100%;}

/* gnb */
#gnb {position:absolute;top:0; display: flex;align-items: center;height: 100%;flex-direction: column;width: 100%;}
#gnb > ul {display: flex;justify-content: flex-end;  text-align: center; align-items: center;height: 100%; gap: 60px;}
#gnb > ul li {text-align:center; box-sizing:border-box;height: 100%;}
#gnb > ul li > a {display:block; color:#fff; font-size:18px;  letter-spacing:-0.02em; font-weight: 700;display: flex;align-items: center;height: 100%;cursor:pointer;}
#gnb > ul li:hover > a  {color:#1ac1e0;}
#gnb > ul li:hover .submenu { display:block;}

.submenu {width:100%; line-height:40px;  padding:20px 0; background: #fff;
    position: absolute;
    top: 95px;
	display: none;
}
.submenu .submenu_wrap {
	display: flex;
	justify-content: center;
	flex-direction: row;
	gap: 70px;
}
.submenu .submenu_wrap > ul {display: flex;align-items: center;flex-direction: column;}
.submenu .submenu_wrap > ul > li {display: flex; flex-direction: column; align-items: center;}
.submenu a {display:block;color:#4d4d4d; font-size:16px;letter-spacing:-0.04em;font-weight: 500;}
.submenu .submenu_wrap ul > li > a:hover, .submenu a:focus {color:#1ac1e0;text-decoration: underline;}

#top_right {display: none;}

/* #mainvisual { width:100%; height: calc(100vh - 125px); position: relative; } */
#mainvisual .setion2 {background: url('../img/main/mainvisual02.png') no-repeat center / cover;}
#mainvisual .setion3 {background: url('../img/main/mainvisual03.png') no-repeat center / cover;}
#mainvisual .setion3 #footer {position: absolute; bottom: 0;}
#mainvisual .main_txt {position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; width: 100%; max-width: 1500px;}
#mainvisual .main_txt h3 {font-weight: 700; font-size: 75px; color: #fff; }
#mainvisual .main_txt h4 {font-weight: 500; font-size: 30px; color: #fff;margin: 20px 0 0;}
#mainvisual .txt02 {text-align: right;}
#mainvisual .txt03 {text-align: left;}

/* footer */
#footer {width: 100%; min-height: 150px;background-color: #222; color: #fff; font-weight: 400; display: flex;align-items: center; justify-content: center;}
#footer .footer_content { width: 100%; max-width: 1500px; gap: 50px; justify-content: flex-start;display: flex; }
#footer .footer_content .txt p span {display: inline-block; color: #797979;}
#footer .footer_content .txt p span.q {color: #1ac1e0;}
#footer .footer_content .txt .info {display: flex;gap: 30px; margin: 10px 0 0;padding: 0;}

/* subvisual */
#subvisual { height: 394px;position: relative;}
.subvisual01{background: url('../img/sub/subvisual01.png'); }
.subvisual02{background: url('../img/sub/subvisual02.png'); }
.subvisual03{background: url('../img/sub/subvisual03.png'); }
.subvisual04{background: url('../img/sub/subvisual04.png'); }
#subvisual .sub_txt {max-width: 1600px;width: 100%;margin:0 auto; padding: 210px 10px 0; }
#subvisual .sub_txt h2 {font-size: 60px; color: #fff; font-weight: 500; margin: 0 0 50px;}
#lnb ul {display: flex; gap: 15px;}
#lnb ul li a{font-size: 20px; color: #d5d7d7; font-weight: 400;}
#lnb ul li a:hover, #lnb ul li a.on {color: #1ac1e0;}

#content {margin: 0 auto; padding: 80px 0 0;}
.layout {max-width: 1600px; width: 100%; margin: 0 auto; padding: 0 20px 0;}
.txt_wrap {text-align: center;}
.txt_wrap .solu {color: #005dbc;display: block;font-size: 18px; font-weight: 500; margin: 0 0 15px 0 ;}
.txt_wrap .solu02 {color: #00865c;}

/*회사개요*/
.info {background: url(../img/sub/info_bg02.png) no-repeat center bottom; padding: 0px 0 120px;}
.info h4 {font-size: 40px; font-weight: 700; margin: 0 0 20px; text-align: center;}
.info h4 span{font-size: 40px; font-weight: 700; display: inline-block;color: #1ac1e0;}
.info .txt_wrap p {line-height: 28px;font-weight: 500; font-size: 20px;}
.info .bg {background: url('../img/sub/info_bg01.png') no-repeat center / cover; padding:  100px 0; margin: 70px 0 160px;}
.info .box_wrap {display: flex; gap: 55px;justify-content: space-between;}
.info .box_wrap .box {height: 390px; border-radius: 20px; width: calc((100% - 60px) / 4);position: relative;}
.info .box_wrap .box p {font-size: 23px; font-weight: 600; color: #fff; text-align: center; position: absolute; bottom: 45px; width: 100%;}
.info .box_wrap .box01 {background: url('../img/sub/box01.png') no-repeat center / cover;}
.info .box_wrap .box02 {background: url('../img/sub/box02.png') no-repeat center / cover;}
.info .box_wrap .box03 {background: url('../img/sub/box03.png') no-repeat center / cover;}
.info .box_wrap .box04 {background: url('../img/sub/box04.png') no-repeat center / cover;}
.info .box05 {background: url('../img/sub/box05.png') no-repeat center / cover; height: 390px; border-radius: 20px; width: 100%; margin: 45px 0 0;}
.info .layout .box_wrap {margin: 35px 0 125px;}
.info .co_info {display: flex; gap: 125px;}
.info .co_info .left img {max-width: 100%;}
.info .co_info .right h4 {text-align: left;}
.info .co_info .table_wrap {border-top: 1px solid #1ac1e0; border-bottom: 1px solid #1ac1e0; padding: 30px 0 ;}
.info .co_info table tr th {color: #797979; font-size: 20px;font-weight: 500;padding: 0 30px;}
.info .co_info table tr td { font-size: 20px;font-weight: 600;padding: 10px 0 10px 60px;}
.info .area {background: #ecfcff; border-radius: 20px;padding: 90px 70px;margin: 100px auto 0;}
.info .area_box {display: flex; gap: 60px; justify-content: center; }
.info .area_box .box {display: flex; justify-content: center; flex-direction: column;align-items: center; gap: 30px; border: 1px solid #1ac1e0; border-radius: 20px; background: #fff;
width: calc((100% - 120px) / 3);padding: 50px 0;}
.info .area_box .box p {font-size: 23px; font-weight: 600;}

.point {padding: 125px 0 0;}
.point .layout {display: flex;justify-content: center;}
.point .layout .bluebox {display: flex; align-items: center; justify-content: center; width: calc((100% - 4px) / 3); gap: 150px; height: 302px;
background: url(../img/sub/blueline.png) no-repeat right center;}
.point .layout .bluebox:last-child {background: none;}
.point .layout .bluebox .text_wrap {display: flex;flex-direction: column; align-items: center;gap: 40px;}
.point .layout .bluebox h5 {font-size: 30px; font-weight: 500; color: #1ac1e0;}
.point .layout .bluebox p {text-align: center; font-weight: 600; font-size: 23px;}

/* 오시는길 */
.map {padding: 0 0 200px;}
.map iframe {border-radius: 30px;}
.map .map_info {border-bottom: 1px solid #bcbcbc;padding: 0 0 60px; margin: 0 0 60px;}
.map .map_info .title {display: flex; gap: 20px; margin: 50px 0 30px;}
.map .map_info .title h5 {font-size: 30px; font-weight: 700;}
.map .map_info ul {display: flex; flex-direction: row; gap: 40px;}
.map .map_info ul li {display: flex; align-items: center; gap: 20px; font-size: 23px; font-weight: 500;}
.map .map_info ul li span {color: #797979; display: inline-block;}
.map .subway h5 {font-size: 23px; font-weight: 700; margin: 0 0 30px;}
.map .subway .txt_wrap {display: flex; gap: 20px; align-items: center;}
.map .subway .txt_wrap > div {text-align: left;}
.map .subway .txt_wrap p{font-size: 23px; font-weight: 700; margin: 0 0 10px;}
.map .subway .txt_wrap span.number{font-size: 20px; font-weight: 500; display: block;display: flex; align-items: center; gap: 10px;}
.map .subway .txt_wrap span.number::before {content: ""; display: inline-block; clear: both; width: 28px; height: 28px; background: url(../img/sub/three.png) no-repeat center;}

/* 사업분야 */
.consult .title {text-align: center; padding: 0 0 60px;}
.consult .title h4 {font-size: 40px; font-weight: 700; margin: 0 0 35px;}
.consult .title p {font-size: 20px; font-weight: 500;}
.consult .box_list {background: url(../img/sub/consulting_bg.png) no-repeat top center / cover;padding: 150px 0 110px;}
.consult .box_list .layout {display: flex; gap: 70px; flex-direction: column;}
.consult .box_list .box {border-radius: 20px;display: flex;}
.consult .box_list .box .img_wrap {max-width: 770px; width: 100%;}
.consult .box_list .box .img_wrap img { width: 100%;height: 100%; object-fit: cover;border-radius: 20px 0 0 20px;}
.consult .box_list .box .text_wrap {background-color: #fff; width: 100%; padding: 50px 0 0 65px; border-radius: 0 20px 20px 0;}
.consult .box_list .box .text_wrap h5{font-size: 30px; font-weight: 700; margin: 0 0 40px;}
.consult .box_list .box .text_wrap table {margin: 0 0 45px;}
.consult .box_list .box .text_wrap table tr th {font-size: 23px; font-weight: 600; color: #fff; background-color: #005dbc; border-radius: 15px; text-align: center; vertical-align: middle;}
.consult .box_list .box .text_wrap table tr td {padding: 0 0 0 45px; vertical-align: middle;}
.consult .box_list .box .text_wrap table tr td ul li {font-size: 20px; font-weight: 500; line-height: 1.5;display: flex;align-items: center;}
.consult .box_list .box .text_wrap table tr td ul li::before {content: ""; display: inline-block; clear: both; width: 6px; height: 6px; border-radius: 50px; background-color: #005dbc; margin: 0 5px 0 0;}

/* 게시판 */
.board .layout {position: relative;}
.board .sch_box {display: flex; justify-content: flex-end; border: 1px solid #a4a4a4; border-radius: 50px; align-items: center; padding: 10px 20px; max-width: 450px;justify-content: center;position: absolute;right: 0; top: 0;}
.board .sch_box select, .board .sch_box input, .board .sch_box select, .board .sch_box button {font-size: 16px; font-weight: 500; color: #222; border: none;outline: none;
	background: none; justify-content: center;}
.board .sch_box .sch_input {margin: 0 0 0 20px;}
.board .sch_box button .btn-box{ background-color: none;}
.board .sch_box button span {display: block; cursor: pointer; background: none;}
.board .board_list {padding: 120px 0 40px;}
.board .board_list .board_header_table {border-top: 3px solid #005dbc;}
.board .board_list table tr td {padding: 20px 40px; font-size: 20px; font-weight: 500; border-bottom: 1px solid #bcbcbc; text-align: center}
.board .board_list table tr:hover td {font-weight: 700;}
.board .board_list table tr:hover td.subject a {color: #005dbc;}
.board .board_list table tr td.subject {text-align: left;}
.board .board_list table tr td.detail {color: #797979;}
.board .page_wrap ul {display: flex; flex-direction: row;gap: 45px; justify-content: center; margin: 0 0 165px;}
.board .page_wrap ul li a {font-weight: 500; font-size: 20px;}
.board .page_wrap ul li.on a {color: #005dbc; font-weight: 700;}

/**** mobile layout *************************************************************************************************************/
@media screen and (max-width:640px) {


body {min-width:320px;max-width: 1920px;margin:0 auto;}
#header  { height:70px; position: fixed;}

#header_content {height:70px;}
#header_content .logo a img {height:40px;}


#gnb {display:none;}

#top_right {display: block;height: 100%;display: flex;align-items: center;}
#top_right #menu-icon2 {display: flex; flex-direction: column; gap: 7px;}
#top_right #menu-icon2 span {display: block; background-color: #fff; width: 25px; height: 2px; }
#top_right #menu-icon2.active span {background-color: #222; }
#nav {position:absolute; top:70px; right:0; width:100%; text-align:left; z-index:1100;display: none;}
#nav.open {display: block;}
#nav ul {display:block;}
#nav ul li {position:relative; border-top:1px solid #edebe9; background:#fff;}
#nav ul li:last-child { border-bottom:1px solid #edebe9;}
#nav ul li a {position:relative; color:#000; font-size:16px; font-weight:600; display:block; line-height:130%; padding:15px 20px 15px 20px;}
#nav .submenu > a:first-child {border-top:none;}
#nav .submenu > a {color:#333; font-size:14px; background:#f7f7f7; font-weight:600; line-height:130%;border-bottom:none; border-top:1px solid #ddd;}

#mainvisual .main_txt {padding: 0 20px;}
#mainvisual .main_txt h3{font-size: 40px;word-break: keep-all;}
#mainvisual .main_txt h4 {font-size: 24px;}
#mainvisual .txt03 {top: 38%;}

#subvisual {height: 280px;}
#subvisual .sub_txt {padding: 150px 20px 50px;}
#subvisual .sub_txt h2 {font-size: 40px; margin: 0 0 20px;}
#lnb {display: block;}
#lnb ul {display: flex; gap: 15px;}
#lnb ul li a {font-size: 18px; color: #d5d7d7; font-weight: 400;}
#lnb ul li a:hover, #lnb ul li a.on {color: #1ac1e0;}

#content{padding: 100px 0 0;}

#footer {padding: 20px;}
#footer .footer_content {display: block;}
#footer .footer_content .txt {margin: 20px 0 0;}
#footer .footer_content .txt p {font-size: 15px;}
#footer .footer_content .txt span {font-size: 13px; line-height: 23px; display: block;}
#footer .footer_content .txt .info {flex-direction: column;gap: 0;}


/*회사개요*/
.info h4 {font-size: 26px;}
.info h4 span {font-size: 26px;}
.info .txt_wrap p {font-size: 16px; word-break: keep-all; line-height: 24px;}
.info .txt_wrap p br {display: none;}
.info .bg {padding: 60px 0;margin: 70px 0 80px;}
.info .layout .box_wrap { margin: 35px 0 85px;}
.info .box_wrap {flex-direction: column; gap: 20px;}
.info .box_wrap .box {width: 100%;height: 180px;}
.info .box_wrap .box p {font-size: 20px;}
.info .box05 {height: 180px;}
.info .co_info {flex-direction: column;gap: 40px;}
.info .co_info .table_wrap {padding: 0;}
.info .co_info table tr th {padding: 10px;font-size: 14px;width: 30%}
.info .co_info table tr td {padding: 10px;font-size: 14px;}
.info .area {padding: 50px 20px;}
.info .area_box {flex-direction: column;}
.info .area_box .box {width: 100%; gap: 15px;padding: 20px;}
.info .area_box .box p {font-size: 18px;}

.point {padding: 50px 0 0;}
.point .layout {flex-direction: column;}
.point .layout .bluebox {width: 100%;height: 150px; background: none;}
.point .layout .bluebox .text_wrap {gap: 15px;}
.point .layout .bluebox h5 {font-size: 24px;}
.point .layout .bluebox p {font-size: 18px;}


/* 오시는길 */
.map .map_info {padding: 0 0 25px;margin: 0 0 25px;}
.map .map_info .title {margin: 20px 0 15px;}
.map .map_info .title h5 {font-size: 20px;}
.map .map_info .title span {max-width: 20px;}
.map .map_info ul {flex-direction: column; gap: 10px;}
.map .map_info ul li {font-size: 16px; gap: 10px;}
.map .subway h5 {font-size: 20px;margin: 0 0 15px;}
.map .subway .txt_wrap p {font-size: 18px;}
.map .subway .txt_wrap span.number {font-size: 16px;}
.map .subway .txt_wrap span.number::before {width: 18px;height: 18px;background: url(../img/sub/three.png) no-repeat center;background-size: 18px;}


/* 사업분야 */
.consult .title {padding: 0 10px 60px;}
.consult .title h4 {font-size: 26px;margin: 0 0 20px;}
.consult .title p {font-size: 16px;}
.consult .title p br {display: none;}
.consult .box_list .layout {gap: 50px;}
.consult .box_list .box {flex-direction: column;}
.consult .box_list .box .img_wrap {height: 200px;}
.consult .box_list .box .img_wrap img {border-radius: 20px 20px 0 0;}
.consult .box_list .box .text_wrap {padding: 30px 20px; border-radius: 0 0 20px 20px;}
.consult .box_list .box .text_wrap h5 {font-size: 24px; margin: 0 0 20px;}
.consult .box_list .box .text_wrap table {margin: 0 0 20px;}
.consult .box_list .box .text_wrap table tr th {font-size: 18px; padding:10px; text-align: center; vertical-align: middle;}
.consult .box_list .box .text_wrap table tr td {padding: 0 0 0 20px; vertical-align: middle;}
.consult .box_list .box .text_wrap table tr td ul li {font-size: 16px;}

/* 고객지원 */
.board .sch_box select, .board .sch_box input, .board .sch_box select, .board .sch_box button {font-size: 14px;}
.board .sch_box {position: static; display: flex; justify-content: flex-end; max-width: 100%; padding: 8px 15px; margin-bottom: 20px;}
.board .sch_box select {flex-shrink: 0;}
.board .sch_box input {flex: 1; min-width: 0;}
.board .sch_box button {flex-shrink: 0;}
.board .board_list {padding: 50px 0 30px;}
.board .board_list table tr td { padding: 10px; font-size: 16px;}




}



@media screen and (max-width:486px) {
	#mainvisual .main_txt h3{font-size: 24px;}
	#mainvisual .main_txt h4 {font-size: 20px;}
}

/* 게시판 글쓰기 버튼 스타일 */
.btn_wrap {
    text-align: right;
    margin: 20px 0;
}

.btn-black {
    display: inline-block;
    background: #1f1f1f;
    color: #ffffff !important;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid #1f1f1f;
}

.btn-black:hover {
    background: #333;
    color: #fff;
    text-decoration: none;
    border-color: #333;
}

/* 수정/삭제 버튼 스타일 */
.btn-black-o {
    display: inline-block;
    background: transparent;
    color: #1f1f1f;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid #1f1f1f;
}

.btn-black-o:hover {
    background: #1f1f1f;
    color: #fff !important;
    text-decoration: none;
    border-color: #1f1f1f;
}

/* 게시판 버튼 영역 */
#board_btn_wrap {
    margin: 40px 0;
    display: flex;
    justify-content: flex-end;
}

#board_btn_wrap ul {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

#board_btn_wrap ul li {
    margin: 0;
}

/* Submit 버튼 크기 조정 */
#btn_submit.btn-black {
    font-family: inherit;
}

/* 게시판 상세 페이지(뷰) 스타일 */
#board_view_wrap {
    padding: 40px 0;
}

#board_view_wrap #board_btn_wrap {
    text-align: center;
}

#board_view_wrap > .view_header {
    border-bottom: 2px solid #005dbc;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

#board_view_wrap > .view_header > h3 {
    font-size: 24px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 20px;
}

#board_view_wrap > .view_header > .info {
    text-align: center;
    margin-top: 20px;
	padding-bottom: 0;
}

#board_view_wrap > .view_header > .info > p {
    display: inline-block;
    padding: 0px 20px;
    font-size: 15px;
    color: #777;
    position: relative;
}

#board_view_wrap > .view_header > .info > p::after {
    content: "";
    height: 14px;
    position: absolute;
    top: 50%;
    left: -1px;
    margin-top: -7px;
    border-left: 1px dashed #ccc;
}

#board_view_wrap > .view_header > .info > p:first-child::after {
    display: none;
}

#board_view_wrap > .view_header > .info > p > span {
    color: #222;
}

/* 상세 페이지 비고 스타일 */
.view_remark {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-left: 4px solid #005dbc;
}

.view_remark .remark_label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.view_remark .remark_content {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

#board_view_wrap .view_body {
    border-bottom: 1px solid #aeaeae !important;
    margin-top: 0;
}

#board_view_wrap .view_contents {
    padding: 30px !important;
    font-size: 16px;
    line-height: 1.6;
    border: none;
}

#board_view_wrap .view_file {
    border-top: 1px solid #ddd;
    padding: 20px 30px;
}

#board_view_wrap .view_file > div {
    position: relative;
    padding-left: 120px;
}

#board_view_wrap .view_file > div > h4 {
    position: absolute;
    font-size: 16px;
    top: 8px;
    left: 0;
}

#board_view_wrap .view_file > div > ul > li {
    position: relative;
    padding: 8px 0;
    padding-left: 28px;
}

#board_view_wrap .view_file > div > ul > li > a {
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -16px;
    border: 1px solid #ddd;
    background: #fff;
    color: #666;
    padding: 5px 15px;
    text-decoration: none;
}

#board_view_wrap .view_file > div > ul > li > a:hover {
    border: 1px solid #333;
}

/* 이전/다음글 네비게이션 */
.board_quick_view {
    margin-top: 50px;
    border-bottom: 1px solid #005dbc;
}

.board_quick_view > li {
    padding: 20px;
    border-top: 1px solid #ddd;
}

.board_quick_view > li > a {
    position: relative;
    display: block;
    padding-left: 120px;
    font-size: 16px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    text-decoration: none;
}

.board_quick_view > li > a > p {
    position: absolute;
    left: 20px;
    color: #444;
    font-weight: 500;
}

/* 게시판 글쓰기 스타일 */
#board_write_wrap {
    padding: 40px 0;
}

.required_box {
    text-align: right;
    margin-bottom: 10px;
    color: #666;
    font-size: 14px;
}

i.required {
    color: #e74c3c;
    font-style: normal;
}

i.required::before {
    content: "*";
    color: #e74c3c;
    font-weight: bold;
}

.board_write_table > table {
    border-top: 2px solid #005dbc;
    width: 100%;
    border-collapse: collapse;
}

.board_write_table > table caption {
    display: none;
}

.board_write_table > table > tr > th,
.board_write_table > table > thead > tr > th,
.board_write_table > table > tbody > tr > th {
    font-size: 16px;
    color: #222;
    border-bottom: 1px solid #ddd;
    padding: 15px;
    font-weight: 500;
    background: #f8f9fa;
    text-align: left;
}

.board_write_table > table > tr > td,
.board_write_table > table > tbody > tr > td {
    font-size: 16px;
    color: #666;
    border-bottom: 1px solid #ddd;
    padding: 15px;
}

.board_write_table input[type="text"],
.board_write_table input[type="password"],
.board_write_table input[type="email"],
.board_write_table select,
.board_write_table textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.board_write_table .description {
    color: #888;
    font-size: 14px;
    font-weight: 300;
    margin-left: 20px;
    margin-top: 5px;
}

/* 게시판 제목란 아이콘들 한 줄로 정렬 */
.board_list table tr td.subject a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.board_list table tr td.subject a .ellipsis {
    flex: 1;
}

/* 비밀번호 모달 스타일 */
#password_check_pop .modal-dialog {
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

#password_check_pop .modal-content {
    border-radius: 8px;
    border: 1px solid #ddd;
}

#password_check_pop .modal-header {
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 15px 20px;
}

#password_check_pop .modal-body {
    padding: 0;
}

#password_check_pop .password-modal-content {
    padding: 20px;
    margin: 0;
}

#password_check_pop .form-control {
    height: 40px;
    border-radius: 4px;
    border: 1px solid #ced4da;
}

#password_check_pop .btn-primary {
    background: #005dbc;
    border: 1px solid #005dbc;
    padding: 10px 20px;
    border-radius: 4px;
}

/* 댓글 영역 스타일 */
.board_comment {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f1f3f4;
}

.board_comment h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.board_comment h4 span {
    color: #005dbc;
    font-weight: 700;
}

/* 댓글 목록 */
#bo_vc {
    margin-bottom: 30px;
}

#bo_vc_empty {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 14px;
}

/* 각 댓글 아이템 */
#bo_vc article {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #fff;
    position: relative;
    overflow: hidden;
}

#bo_vc article .inner {
    padding: 20px;
}

/* 답글(대댓글) 스타일 */
#bo_vc article.dp_comm {
    margin-left: 0 !important;
    padding-left: 0 !important;
    border-left: 3px solid #005dbc;
    background: #f8f9fa;
}

/* 댓글 작성자 정보 */
.cm_wrap .name {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 댓글 내용 */
.cmt_contents p {
    color: #444;
    line-height: 1.6;
    font-size: 14px;
    margin: 0;
    word-break: break-word;
}

/* 댓글 옵션 (시간, 답글, 수정, 삭제) */
.bo_vl_opt {
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
}

.bo_vl_opt time {
    color: #666;
    font-size: 12px;
}

.bo_vl_opt a {
    color: #666;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 12px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.bo_vl_opt a:hover {
    background: #005dbc;
    color: white;
    border-color: #005dbc;
}

.bo_vl_opt .btn-del {
    color: #dc3545;
    background: #fef2f2;
    border-color: #fecaca;
}

.bo_vl_opt .btn-del:hover {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

/* 댓글 쓰기 영역 */
.bo_vc_w {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    border: 1px solid #e9ecef;
}

.bo_vcw_box {
    position: relative;
}

/* 글자수 카운터 */
#char_cnt {
    position: absolute;
    top: -5px;
    right: 10px;
    font-size: 12px;
    color: #666;
    background: #f8f9fa;
    padding: 2px 8px;
    border-radius: 4px;
    z-index: 10;
}

/* 댓글 입력 텍스트에어리어 */
#wr_content {
    width: 100%;
    min-height: 100px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    background: #fff;
    transition: border-color 0.2s ease;
}

#wr_content:focus {
    outline: none;
    border-color: #005dbc;
    box-shadow: 0 0 0 3px rgba(0, 93, 188, 0.1);
}

/* 댓글 작성자 정보 및 버튼 영역 */
.bo_vc_w_wr {
    margin-top: 15px;
}

.bo_vcw_inner {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
}

.bo_vc_w_info {
    display: flex;
    gap: 10px;
    flex: 1;
}

.bo_vc_w_info input {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    flex: 1;
    max-width: 150px;
}

.bo_vc_w_info input:focus {
    outline: none;
    border-color: #005dbc;
}

/* 댓글 등록 버튼 영역 */
.btn_confirm {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 비밀글 체크박스 */
.checkbox_type1 {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.checkbox_type1 input[type="checkbox"] {
    display: none;
}

.checkbox_type1 label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    margin: 0;
}

.checkbox_type1 label span {
    width: 16px;
    height: 16px;
    border: 1px solid #ddd;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    transition: all 0.2s ease;
}

.checkbox_type1 input[type="checkbox"]:checked + label span {
    background: #005dbc;
    border-color: #005dbc;
}

.checkbox_type1 input[type="checkbox"]:checked + label span:after {
    content: '✓';
    color: white;
    font-size: 11px;
    font-weight: bold;
}

/* 댓글 등록 버튼 */
.btn_submit {
    background: #005dbc;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn_submit:hover {
    background: #004a9c;
    transform: translateY(-1px);
}

.btn_submit:active {
    transform: translateY(0);
}

/* 취소 버튼 */
.btn_cancel {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn_cancel:hover {
    background: #545b62;
    transform: translateY(-1px);
}

.btn_cancel:active {
    transform: translateY(0);
}

/* 게시글 버튼들 */
.btn-black, .btn-black-o, .btn-navy {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    text-align: center;
    border: 1px solid;
}

.btn-black {
    background: #333;
    color: white;
    border-color: #333;
}

.btn-black:hover {
    background: #555;
    border-color: #555;
    color: white;
    text-decoration: none;
}

.btn-black-o {
    background: white;
    color: #333;
    border-color: #333;
}

.btn-black-o:hover {
    background: #333;
    color: white;
    text-decoration: none;
}

.btn-navy {
    background: #005dbc;
    color: white !important;
    border-color: #005dbc;
}

.btn-navy:hover {
    background: #004a9c;
    border-color: #004a9c;
    color: white !important;
    text-decoration: none;
}

/* 댓글 모바일 반응형 */
@media (max-width: 768px) {
    .board_comment {
        margin-top: 30px;
        padding-top: 20px;
    }

    .board_comment h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    #bo_vc article .inner {
        padding: 15px;
    }

    .bo_vc_w {
        padding: 20px 15px;
    }

    .bo_vcw_inner {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .bo_vc_w_info {
        flex-direction: column;
        gap: 8px;
    }

    .bo_vc_w_info input {
        max-width: none;
    }

    .btn_confirm {
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 10px;
    }

    .btn_submit {
        flex: 1;
        min-width: 120px;
    }

    #wr_content {
        min-height: 80px;
        padding: 12px;
        font-size: 14px;
    }

    .bo_vl_opt {
        flex-wrap: wrap;
        gap: 10px;
        font-size: 12px;
    }

    #char_cnt {
        position: static;
        display: inline-block;
        margin-bottom: 8px;
        font-size: 11px;
    }
}

/* 페이지 로딩 애니메이션 */
#page_loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#loading_motion .circle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

#loading_motion .circle span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #005dbc;
    animation: loading-bounce 1.4s infinite ease-in-out both;
}

#loading_motion .circle span:nth-child(1) { animation-delay: -0.32s; }
#loading_motion .circle span:nth-child(2) { animation-delay: -0.16s; }
#loading_motion .circle span:nth-child(3) { animation-delay: 0s; }
#loading_motion .circle span:nth-child(4) { animation-delay: 0.16s; }
#loading_motion .circle span:nth-child(5) { animation-delay: 0.32s; }
#loading_motion .circle span:nth-child(6) { animation-delay: 0.48s; }
#loading_motion .circle span:nth-child(7) { animation-delay: 0.64s; }
#loading_motion .circle span:nth-child(8) { animation-delay: 0.8s; }
#loading_motion .circle span:nth-child(9) { animation-delay: 0.96s; }

@keyframes loading-bounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* 로딩 완료 후 숨김 */
body.loaded #page_loading {
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

/* 댓글 수정/답글 폼 컨테이너 기본 숨김 */
div[id^="edit_"], div[id^="reply_"] {
    display: none;
    margin-top: 15px;
}