@charset "euc-kr";
@import url(http://fonts.googleapis.com/earlyaccess/nanumgothic.css);
@import url("//cdn.rawgit.com/hiun/NanumSquare/master/nanumsquare.css");
img {border:0px;}
@font-face {
    font-family: 'Pretendard-Regular';
    src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

html{height:100%;}
body {margin-left:0px; margin-right:0px; margin-top:0px; margin-bottom:0px; height:100%;}
body, td, p, input, button, textarea, select, .c1 {font-family: Nanum Gothic, sans-serif; font-size:10pt;}
*{margin:0px; padding:0px; list-style:none; font-family: 'Pretendard-Regular';}
a{text-decoration: none;}


/* ���������� */
.top{background:#1c293a;}
.top div{width:1100px; margin:0 auto; text-align:right; padding:3px 0px 5px 0px;}
.top a{color:#fff;}
.heard_line{clear:both;}

#main_section{
    padding:0; /* 상단 고정 문제를 해결하기 위해 기존 패딩을 제거하거나 0으로 설정 */
    background:url(../images/mainbg.jpg) center no-repeat;
    height: 100vh; /* 화면 전체 높이를 기준으로 잡는 것이 더 확실합니다. */

    /* 🌟 핵심 수정: Flexbox를 적용하여 수직 중앙 정렬을 준비 */
    display: flex;
    justify-content: center; /* 수평 중앙 정렬 */
    align-items: center;     /* 수직 중앙 정렬 */
}
#main_section article{
    width:1100px;
    /* margin:0 auto; 와 text-align: center;는 Flexbox가 처리하므로 불필요하지만,
       다른 요소 때문에 유지해도 무방합니다. */
    text-align: center;

    /* 🌟 핵심 수정: article에 고정 높이/마진을 제거하고 Flexbox 중앙 정렬에 맡깁니다. */
    margin: 0;
}

/* .main_text는 수평 중앙 정렬을 위해 기존 코드를 유지합니다. */
.main_text{
    text-align:center;
    color:#fff;
    font-size:26px;
    font-family: 'Pretendard-Regular';
    font-weight:normal;
    text-shadow: 0 2px 6px rgba(0,0,0,0.45);
    width: fit-content;
    margin: 0 auto;
}
.main_text span{display:block; font-size:50px; font-weight:bold; margin-top:10px;}
.main_bar{width:80px; height:4px; background:#fff; margin:25px auto;}

.main_banner li{float:left; width:33%; text-align:center;}
.main_banner li a{margin:0 auto; width:224px; height:258px; display:none;}

.bn01 a{background:url(../images/bn01.png) center top no-repeat;}
.bn02 a{background:url(../images/bn02.png) center top no-repeat;}
.bn03 a{background:url(../images/bn03.png) center top no-repeat;}

.bn01 a:hover{background:url(../images/bn_on01.png) center top no-repeat; transition: all 1s;}
.bn02 a:hover{background:url(../images/bn_on02.png) center top no-repeat; transition: all 1s;}
.bn03 a:hover{background:url(../images/bn_on03.png) center top no-repeat; transition: all 1s;}

#main_bottom{width:1100px; margin:0 auto; padding:30px 0px; display: none;}
#main_bottom li{width:330px; float:left; margin-right:55px;}
#main_bottom li:nth-child(3){margin-right:0px;}
#main_bottom h3{border-bottom:1px solid #dfdfdf; font-family: 'Pretendard-Regular'; font-size:18px; color:#1c293a; padding:5px 0px; margin-bottom:15px;
background:url(../images/main_dot.jpg) right 5px center no-repeat;}
#main_bottom .tel{font-size:30px; font-family: 'Pretendard-Regular'; color:#1c293a;}
#main_bottom .tel span{display:block; font-size:16px; font-weight:normal; color:#484848;}

#footer{border-top:2px solid #ebebeb; padding:20px 0px;}
#footer article{width:1100px; margin:0 auto;}
.copy{text-align:left;}

/* ���������� */
#sub_section{padding-top:90px;}
.sub_top{background:url(../images/subtop.jpg) center top no-repeat; height:254px;}
.sub_text{width:1100px; margin:0 auto; font-family: 'Pretendard-Regular'; color:#fff; padding-top:90px;}
.sub_text span{display:block; font-size:30px;}

.sub_con{width:1100px; margin:20px auto 0px auto;}
.btl2{font-size:23px; padding-top:5px; }
.btl3{height:2px; background-color:#555555; margin:5px 0px 30px 0px;}
.btl4{height:2px; background-color:#1c293a; margin:5px 0px 8px 0px;}

#sub_menu a {color:#333333; font-size:12px; background-color:#fff; text-decoration:none;  height:40px;  line-height:40px; padding-left:18px; display:block;width:220px;}
#sub_menu a:hover {color:#333333; background:url(../images/sumubg.jpg) left top no-repeat; font-weight:bold;}
#bigtit{font-size:28px; color:#333;}

.con_left, .con_right{float:left;}
.con_left{width:220px; margin-right:70px;}
.con_right{width:810px; padding-bottom:50px;}

/* 공통 */
.normal *{margin:0; padding:0; list-style:none; text-decoration:none;}
.normal{font-size:15px; line-height:150%; color:#555; word-spacing:-1px;}
.sp20{height:20px;}

/* sub0101 */
.sub0101 center{margin-bottom:30px;}
.sub0101 figure{margin-bottom:50px;}
.sub0101 h3{float:left; width:200px; font-size:19px; border-top:2px solid #265490; color:#265490; padding-top:10px;}
.sub0101 div{margin-left:210px; border-top:2px solid #dfdfdf; padding-top:10px; font-size: 16px;}
.normal.sub0101 figure > div > b {
  font-size: 18px;
}
.sub0101 div .sub0101_b{font-size: 20px;}
.sub0101 li{float:left; width:32%; box-sizing:border-box; background:#f8f8f8; margin-bottom:10px; border:1px solid #dfdfdf; border-radius:5px; padding:10px 0px; text-align:center;}
.sub0101 li:nth-child(2), .sub0101 li:nth-child(5), .sub0101 li:nth-child(8){margin:0 2%;}
.sub0101 p b{font-weight:normal; display:block; float:left;}
.sub0101 p span{display:block; margin-left:18px;}

/* sub0201 */
.top_tit{border-top:2px solid #265490; border-bottom:2px solid #265490; background:#f8f8f8; font-size:30px; padding:20px 0px; color:#265490; font-weight:bold; font-family: 'Pretendard-Regular'; margin-top:150px;}
.top_tit:first-child{margin-top:0;}
.sub0201 h3{font-size:25px; color:#265490; margin-bottom:50px; line-height:150%; font-family: 'Pretendard-Regular';}
.sub0201 h4{font-size:19px; color:#265490; margin-bottom:10px; margin-top:50px;}
.sub0201 h4 br{display:none;}
.sub0201 figure{background:#f8f8f8; padding:20px; margin-bottom: 10px;}
.sub0201 ul{background:#f8f8f8; padding:20px 20px 10px 20px;}
.sub0201 ul ul{padding:0;}
.sub0201 h5{font-size:16px; color:#265490; margin:30px 0px 10px 0px; font-weight:normal;}
.sub0201 h5:nth-child(1){margin-top:0;}
.sub0201 h5 b{display:block; font-weight:normal; float:left;}
.sub0201 h5 span{display:block;}
.sub0201 li{margin-bottom:10px;}
.sub0201 li strong{display:block;}
.sub0201 li b{font-weight:normal; display:block; float:left; color:#333;}
.sub0201 li span{display:block; margin-left:30px;}
.sub0201 li span span{margin-left:0; font-size:14px;}
.sub0201 h6{font-size:14px; font-weight:normal; margin-bottom:10px; color:#666;}
.sub0201 h6 b{float:left; font-weight:normal;}
.sub0201 h6 span{display:block; margin-left:20px;}
.sub0201 table{border-collapse:collapse;}
.sub0201 td, .sub0201 th{font-size:15px; text-align:center; color:#555; line-height:150%; border:1px solid #dfdfdf; padding:10px 0px;}
.sub0201 th{background:#265490; color:#fff;}
.sub0201 th:nth-child(1){width:60px;}
.sub0201 .con01{color:#265490;}
.sub0201 a{display:block; text-align:center; font-size:19px; font-weight:bold; padding:20px 0px; background:#265490; color:#fff; margin-top:50px;}
.sub0201 .con02 span{margin-left:15px;}

@media all and (max-width: 768px) {
  /* ���� ������ */
  .top{display:none;}
  #main_section{padding:110px 0px 50px 0px; background:url(../images/mainbg.jpg) center bottom no-repeat;}
  #main_section article{width:100%;}
  .main_text{font-size:20px;}
  .main_text span{font-size:35px;}

  .main_banner li a{width:80%; height:150px; background-size:contain;}
  .main_banner li a:hover{background-size:contain;}

  #main_bottom{width:98%; margin:0 auto;}
  #main_bottom li{width:100%; float:none; margin-right:0px; margin-bottom:50px;}

  #footer article{width:100%;}
  .copy{text-align:center;}

  /* ���� ������ */
  #sub_section{padding-top:60px;}
  .sub_top{height:auto;}
  .sub_text{width:100%; padding:50px 0px; text-align:center; text-shadow:3px 3px 3px rgba(0,0,0,0.4);}
  .sub_text span{font-size:20px;}

  .sub_con{width:100%; margin-top:0px;}
  .con_left, .con_right{float:none;}
  .con_left{display:none;}
  .con_right{width:98%; margin:0 auto;}
  .btl2{text-align:center; border-top:1px solid #1c293a; border-bottom:1px solid #1c293a; color:#1c293a; padding:5px 0px; margin-bottom:20px;}
  .btl3{display:none;}

  /* 공통 */
  .normal{font-size:14px;}

  /* sub0101 */
  .sub0101 h3{float:none; width:100%; text-align:center; font-size:19px; border-top:none; background:#265490; color:#fff; padding:10px 0px;}
  .sub0101 div{margin-left:0px; padding-top:15px;}
  .sub0101 li{float:none; width:100%;}
  .sub0101 li:nth-child(2), .sub0101 li:nth-child(5), .sub0101 li:nth-child(8){margin:0px 0px 10px 0px;}

  /* sub0201 */
  .top_tit{font-size:24px;}
  .sub0201 h3{font-size:19px; text-align:justify;}
  .sub0201 h3 br{display:none;}
  .sub0201 figure{padding:10px; text-align:justify;}
  .sub0201 ul{padding:10px 10px 1px 10px;}
  .sub0201 h4{font-size:17px;}
  .sub0201 h4 br{display:block;}
  .sub0201 h5 br{display:none;}
  .sub0201 li{text-align:justify;}
  .sub0201 li br{display:none;}
  .sub0201 li b{font-weight:normal; display:block; float:left; color:#333;}
  .sub0201 li span{display:block; margin-left:25px;}
  .sub0201 li span span{margin-left:0; font-size:14px; margin-top:10px;}
  .sub0201 h6{font-size:13px;}
  .sub0201 h6 span{margin-left:25px;}
  .sub0201 td, .sub0201 th{font-size:12px; padding:10px;}
  .sub0201 .con01{color:#265490;}
  .sub0201 a{display:block; text-align:center; font-size:19px; font-weight:bold; padding:20px 0px; background:#265490; color:#fff; margin-top:50px;}
  .sub0201 .con02 span{margin-left:15px;}

}
