@charset "utf-8";


body { font-family: 'Pretendard', sans-serif; }
.pretendard { font-family: 'Pretendard', sans-serif; }


img {width: 100%;}
header { position:relative !important; height:auto !important; }

/* 헤더 */
.gnb ul li.active { position: relative; }
.gnb ul li.active::before { content: ''; position: absolute; left: -15%; top: -62%; width: 85px; height: 64px; background: url('/template/img/icn2023/active.png') center/contain no-repeat;}

/* main_vis */
.main_title .tit { position: relative; background-color: #bbe0ff; }
.deco { position: absolute; max-width: fit-content; }

/* 메인데코 위치조정 */
.main_title .title { width:44%; left: 50%; top: 25%; transform: translateX(-50%); }
.bg02 { width:60%; left: 50%; top: 1%; transform: translateX(-50%); }
.left_p { width:15%; left: 14%; top: 30%; }
.right_p { width:15%; right:14%; top: 30%; }
.obj_01 { width:10%; left:17%; top:11%; }
.obj_02 { width:5%; left:33%; top:3%; }
.obj_03 { width:4%; left:48%; top:11%; }
.obj_04 { width:9%; right:26%; top:5%; }
.obj_05 { width:5%; right:16%; top:16%; }

.main_title .menu_tab { text-align: center; position: absolute;  top: 70%;  width: 100%; }
.main_title .menu_tab .inner { width: 98%; max-width: 1360px; }
.main_title .menu_tab ul { width:100%; display: flex; justify-content: center; align-items: center; flex-direction: row; flex-wrap: wrap;}
.main_title .menu_tab li { width: 19%; margin: 1%; height: 60px; border-radius: 40px; border: 2px solid #2b2b2b; transform: translateY(0);  z-index: 1; font-size: 20px; font-weight: 500; background-color: #bbffea; position: relative; box-shadow: 0px 3px 3px #17377850; }
.main_title .menu_tab li::after { content:''; width: 30px; height:30px; display: block; position: absolute; bottom:6px; right: 10px; background: url('/template/img/icn2023/menu_deco.png') no-repeat center/cover;}
.main_title .menu_tab li:nth-child(n+5) { background-color: #fffabb; }
.main_title .menu_tab li:nth-child(n+5)::after { background: url('/template/img/icn2023/menu_deco_w.png') no-repeat center/cover ; }

.main_title .menu_tab li.active { position: relative; }
.main_title .menu_tab li div { position: relative; width: 100%; height: 100%;  overflow: hidden; }
.main_title .menu_tab li a { position: absolute; display: flex; flex-wrap: wrap; width: 100%; height:100%; top: 50%; left: 50%; transform: translate(-50%, -50%); word-break: keep-all; z-index: 1; align-items: center; justify-content: center; padding:0 20px; }
.main_title .menu_tab li span { display: block; }





@media screen and (max-width: 1100px){
    .gnb ul li.active::before {left:-16%; width:50px; height:40px;}

    .main_title .menu_tab li { height:50px; font-size: 18px; }
    .main_title .menu_tab li::after { width: 20px; height:20px;}
    .main_title .menu_tab li a {padding:0px;}
}

@media screen and (max-width: 768px){
  .main_title .tit .header_bg { height:280px; }
  .main_title .menu_tab { position: relative; background: #e9f8ff; padding-bottom: 5%;}
  .main_title .menu_tab li { width:22%; height:42px; font-size: 16px; }
}

@media screen and (max-width: 600px){
  .gnb ul li.active::before { width:24px; height:24px; left:-8%; top:-10%; background: url('/template/img/icn2023/menu_active_m.png') center/contain no-repeat; }
  .main_title .menu_tab li { border:1px solid #2b2b2b; font-size: 14px;  height:55px; }
  .main_title .menu_tab li a { padding: 10px 0px;}
  
  .main_title .tit .header_bg { height:230px; }
  .main_title .title { max-width: 290px; width:64%; }
  .left_p {left:6%; top:40%;}
  .right_p {right:6%; top:40%;}
  
  
}

@media screen and (max-width: 500px){
    .main_title .title {top:35%;}
    .left_p {left:4%; top:45%;}
    .right_p {right:4%; top:45%;}
    .main_title .menu_tab .inner { width: 100%; }
    .main_title .menu_tab li { height:80px; border-radius: 20px;}
    .main_title .menu_tab li a { padding: 14px 0px;}
}
/* 헤더e */

/* 메인s */
.contents { background-color: #e9f8ff;  }
.main-wrap { padding: 0px 0px 70px; }
.mg_btm0 { margin-bottom: 0 !important; }

.main .cont-box-mid::after { display: none; }
.main .cont-box-mid { width: 100%; min-height: 50px; padding: 3%; background: url('/template/img/icn2023/sub_box_middle.png') repeat-y center/contain; position: relative; }
.main .cont-box-mid .cont-box { width: 100%; padding: 0; position: relative; z-index: 2; }
.main .cont-box-mid .cont-box:first-child { padding:2% 5%; }

.main .cont-box-mid.non-pd { padding: 3% 0; }

.main .cont-box-mid.non-bt::after { display: none; }

/* 모션 */
@-webkit-keyframes fadeInDownAb {
    0% {
      opacity: 0;
      -webkit-transform: translateX(-50%) translateY(-20px);
      transform: translateX(-50%) translateY(-20px);
    }
  
    100% {
      opacity: 1;
      -webkit-transform: translateX(-50%) translateY(0);
      transform: translateX(-50%) translateY(0);
    }
  }
  
  @keyframes fadeInDownAb {
    0% {
      opacity: 0;
      -webkit-transform: translateX(-50%) translateY(-20px);
      -ms-transform: translateX(-50%) translateY(-20px);
      transform: translateX(-50%) translateY(-20px);
    }
  
    100% {
      opacity: 1;
      -webkit-transform: translateX(-50%) translateY(0);
      -ms-transform: translateX(-50%) translateY(0);
      transform: translateX(-50%) translateY(0);
    }
  }
  
  .fadeInDownAb {
    -webkit-animation-name: fadeInDownAb;
    animation-name: fadeInDownAb;
  }

/* 모션 */
@-webkit-keyframes fadeInUpAb {
    0% {
      opacity: 0;
      -webkit-transform: translateX(-50%) translateY(20px);
      transform: translateX(-50%) translateY(20px);
    }
  
    100% {
      opacity: 1;
      -webkit-transform: translateX(-50%) translateY(0);
      transform: translateX(-50%) translateY(0);
    }
  }
  
  @keyframes fadeInUpAb {
    0% {
      opacity: 0;
      -webkit-transform: translateX(-50%) translateY(20px);
      -ms-transform: translateX(-50%) translateY(20px);
      transform: translateX(-50%) translateY(20px);
    }
  
    100% {
      opacity: 1;
      -webkit-transform: translateX(-50%) translateY(0);
      -ms-transform: translateX(-50%) translateY(0);
      transform: translateX(-50%) translateY(0);
    }
  }
  
  .fadeInUpAb {
    -webkit-animation-name: fadeInUpAb;
    animation-name: fadeInUpAb;
  }


  @media screen and (max-width:1080px){
  }
  @media screen and (max-width:768px){
  }
  @media screen and (max-width:600px){
  }
  @media screen and (max-width:450px){
  }



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

.mg_btm0 { margin-bottom: 0 !important; }

.sub .contents {padding-bottom: 70px;}
.sub .cont-box-mid::after { display: none; }
.sub .cont-box-mid { width: 100%; min-height: 50px; padding: 3% 5%; background: url('/template/img/icn2023/sub_box_middle.png') repeat-y center/contain; position: relative; }
.sub .cont-box-mid .cont-box { width: 100%; padding: 0; position: relative; z-index: 2; }

.sub .cont-box-mid.non-pd { padding: 3% 0; }

.event-wrap .cont-img-wrap { width: 100%; }
.event-wrap .btn-wrap { width: 100%; height: auto; padding: 0 5%; position: absolute; bottom: 8%; transition: all .3s; }
.event-wrap .btn-wrap:hover { transform: translateY(5px); }
.event-wrap .btn-wrap a { display: block; width: 60%; max-width: 500px; margin: 0 auto; }
.event-wrap .btn-wrap a > span { display: none; }

/* 교육감님 응원영상 */
.sub .support_video .cont-box-mid .cont-box { width: 100%; padding: 2% 2% 20px; }


/* 소식지 */
.sub .icn_news .cont-box > ul { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; padding: 0 5%; }
.sub .icn_news .cont-box > ul > li { width: calc((100% - 18%) / 3); margin-left: 9%; margin-bottom: 20px; }
.sub .icn_news .cont-box > ul > li:first-child { margin-left: 0; }
.sub .icn_news .cont-box > ul > li:nth-child(4) { margin-left: 0; }

@media screen and (max-width:500px){
    .sub .icn_news .cont-box > ul { justify-content: space-between; }
    .sub .icn_news .cont-box > ul > li { width: 45%; margin-left: 0; margin-right: 10%; }
    .sub .icn_news .cont-box > ul > li:nth-child(2n) { margin-right: 0; }
}

/* 폼메일 공통 */
.clear-puz { padding: 50px 120px 30px; }
.clear-puz .clear-puz-box { width: 100%; max-width: 800px; margin: 0 auto; padding: 30px; border: 0; background: #e9f8ff; }
.sub .after_puzzle .basic_form { background: url('/template/img/icn2023/sub_box_middle.png') repeat-y center/contain; }
.basic_form { display:none; border: none; }
.basic_form.on { display:block; }
.basic_form .clear-puz { padding: 30px; border-radius: 20px; }
.basic_form .clear-puz .info { background-color: #fff; padding: 30px; border-radius: 20px; border: 0; }
.basic_form .clear-puz .info .agree-img { margin: 5px auto 40px; }
.basic_form .clear-puz .form_item { display: block; margin-bottom: 30px; border-bottom: 0; }
.basic_form .clear-puz .form_item:last-child { border-bottom: 0; }
.basic_form .clear-puz .form_item .form_title { display: block; width: 100%; font-size: 20px; font-weight: 500; background-color: transparent; border-right: 0; border-bottom: 0; color: #2b2b2b; text-align: left; padding: 0 0 5px 3px; }
.basic_form .clear-puz .form_item .form_desc { display: block; padding: 0; }
.clear-puz input[type="text"], input[type="password"], textarea { height: 38px; border: 2px solid #173778; }
.clear-puz .regi-info { margin-bottom: 30px; }
.clear-puz .agree-wrap .form_title { display: none !important; }
.clear-puz .agree-wrap .agree_box { border: 2px solid #173778; padding: 15px; background-color: #fffabb; margin-bottom: 15px; }
.clear-puz .agree-wrap .agree_box p:first-child { font-weight: 500; }
.clear-puz .agree-wrap .chk-wrap { width: 100%; max-width: 270px; margin: 0 auto; }

.basic_form .clear-puz .form_item.anti-auto { display: table; width: 100%; }
.basic_form .clear-puz .form_item.anti-auto .form_title  { display: table-cell; width: 30%; vertical-align: middle; border-right: 0; padding: 0 0 0 3px; }
.basic_form .clear-puz .form_item.anti-auto .form_desc { display: table-cell; }

.basic_form button { display: block; width: 40%; max-width: 200px; padding: 5px 0; font-size: 30px; font-weight: 500; border-radius: 50px; border: 2px solid #2b2b2b; margin: 0 auto; position: relative; }
.basic_form button.pre_btn { background-color: #bbffea; }
.basic_form button.end_btn { background-color: #d3d3d3; }



/* 신종 감염병 예방 다짐 이벤트 */

/* 안전한 학교 공모전 투표 */
.icn_contest .cont-box { text-align: center; }
.icn_contest .pic-title { margin: 8% 0 0; }
.icn_contest .pic-menu { position: relative; padding:3% 3% 0%; }
.icn_contest .pic-menu ul { display: flex; padding-bottom:2%; position: relative; }
.icn_contest .pic-menu ul::after { content: ""; width:100%; height:1px; display: block; border-bottom: dashed 1px #bbb; position: absolute; left:50%; bottom:0px; transform: translateX(-50%); }
.icn_contest .pic-menu li { width:18%; margin:1%; border: solid 2px #2b2b2b; border-radius: 10px; background: #c5e3ff; text-align: center; font-weight: 500; font-size: 20px; color:#173778; position: relative; }
.icn_contest .pic-menu li:nth-child(2n) {background-color: #c7ffde;}
.icn_contest .pic-menu li.on::after { content: ""; position: absolute; left: -16%; top: -50%; width: 60px; height: 50px; display: block; background: url('/template/img/icn2023/active.png') no-repeat center/contain; }
.icn_contest .pic-menu li a {display: block; padding:10px;}
.icn_contest .pic-list { display: flex; flex-wrap:wrap; }
.icn_contest .pic-list .pic { width:18%; margin:1% 1% 3%; }
.icn_contest .pic-list .pic a { display: block; width:100%; padding-bottom:100%; position: relative; }
.icn_contest .pic-list .pic img { width:100%; height:100%; object-fit: cover; position: absolute; left:0px; top:0px; }
.icn_contest .pic-list .pic button { width:100%; margin-top: 10px; padding:10px 0px; background-color: #fdfabd; border: solid 2px #173778; border-radius: 10px; font-weight: 500; }
.icn_contest .emt { text-align: center; font-size: 30px; padding:3%; }


.icn_contest .pic-list.memoirs-wrap { display: block; }
.icn_contest .pic-list .pic.memoirs-table { width: 85%; margin: 0 auto; }
.icn_contest .pic-list .pic.memoirs-table table { width: 100%; }
.icn_contest .pic-list .pic.memoirs-table table thead { display: none; }
.icn_contest .pic-list .pic.memoirs-table table tbody tr { display: block; width: 100%; border: 1px solid #2b2b2b30; border-radius: 20px; margin-bottom: 20px; padding: 10px; }
.icn_contest .pic-list .pic.memoirs-table table tbody tr::after { content: ''; display: block; clear: both; height: 0; }
.icn_contest .pic-list .pic.memoirs-table table tr td:nth-child(1) { display: block; width: 75%; height: 70px; padding: 10px; float: left; }
.icn_contest .pic-list .pic.memoirs-table table tr td:nth-child(2) { display: block; width: 24%; padding: 10px 0; float: right; text-align: center; vertical-align: middle; }
.icn_contest .pic-list .pic.memoirs-table a { height: 100%; line-height: 45px; font-size: 18px; font-weight: 500; padding-bottom: 0; position: relative; }
.icn_contest .pic-list .pic.memoirs-table a > span { display: block; width: 100%; height: auto; position: absolute; top: 50%; transform: translateY(-50%); }
.icn_contest .pic-list .pic.memoirs-table button { width: 100%; max-width: 180px; margin: 0; }
.icn_contest .memoirs-wrap .blind { display: none; }


.pop-pic { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 100%; z-index: 102;}
.pop-pic.show { display: block; }
.pop-pic .inner { width: 90%; max-width: 600px; }
.pop-pic .pop-wrap { width: 100%; padding: 9%; background: #fff; border: solid 4px #173778; border-radius: 30px; overflow: hidden; }
.pop-pic .close { width: 60px; height: 60px; cursor: pointer; position: absolute; top: 1%; right: 2%; }
.pop-pic .close span { display: block; width: 2px; height: 25px; background-color: #333; position: absolute; top: 21px; left: 29px; transform: rotate(45deg); }
.pop-pic .close span:last-child { transform: rotate(-45deg);}

.pop-pic .pop-box { margin-top: 10px; }
.pop-pic .pop-box .pop_tit_box { font-weight: bold; font-size: 18px; padding: 10px 0; }
.pop-pic .pop-box .pop_cont_box { overflow-y: auto; min-height: 100px; max-height: 67vh; }
.pop-pic .pop-box .pop_cont_box .pop_contents { padding: 10px 0; }
/* .pop-pic .pop-box > div { padding: 10px 0; } */
.pop-pic .pop-box::-webkit-scrollbar { width: 8px; }
.pop-pic .pop-box::-webkit-scrollbar-thumb { max-height:80%; background-color: #217af4; border-radius: 3px; }
.pop-pic .pop-box::-webkit-scrollbar-track { background: rgba(33, 122, 244, .1);}


.dim { display: none; position: fixed; width: 100%; height: 100%; top: 0; left: 0; background: rgba(0,0,0,0.5); z-index: 100; }
.dim.active { display: block; }

@media screen and (max-width:1100px){
    .icn_contest .pic-menu li.on::after { left:-23%; top:-70%; }
}

@media screen and (max-width:768px){
    .icn_contest .pic-list .pic { padding: 1% 1% 4%; }
    .icn_contest .pic-menu li { display: flex; justify-content: center; align-items: center; font-size: 18px; height:80px; }
    .icn_contest .pic-menu li.on::after { top:-40%; }
    .icn_contest .pic-list .pic { width: 23%; }
    
    .icn_contest .pic-list .pic.memoirs-table { width: 95%; }
    .icn_contest .pic-list .pic.memoirs-table table tbody tr { border-radius: 15px; }
    .icn_contest .pic-list .pic.memoirs-table table tr td:nth-child(1) { width: 100%; float: unset; border-bottom: 1px solid #eee; height: auto; }
    .icn_contest .pic-list .pic.memoirs-table table tr td:nth-child(2) { width: 100%; float: unset; padding: 12px 0 2px; }
    .icn_contest .pic-list .pic.memoirs-table a { height: auto; font-size: 14px; line-height: 140%; }
    .icn_contest .pic-list .pic.memoirs-table a > span { position: static; transform: translateY(0); }

    .basic_form .clear-puz .form_item.anti-auto { display: block; }
    .basic_form .clear-puz .form_item.anti-auto .form_title  { display: block; width: 100%;  font-size: 16px; }
    .basic_form .clear-puz .form_item.anti-auto .form_desc { display: block; }
}

@media screen and (max-width:600px){
    .icn_contest .pic-menu li { border: solid 1px #2b2b2b; }
    .icn_contest .pic-list .pic button { padding: 6px 0px; border: solid 1px #173778; }
    

}
@media screen and (max-width:500px){
    .icn_contest .pic-list .pic { padding: 1% 1% 7%; }
    .icn_contest .emt { font-size: 26px; }
    .icn_contest .pic-menu li a { padding: 0; word-break: break-all;}
    .icn_contest .pic-list .pic { width: 31%; }
    .icn_contest .pic-list .pic button { font-size:14px ; }


    .pop-pic .close { top: -1%; right: 0; }

    .clear-puz { padding: 0 10px; }
        .clear-puz .basic_form .info { border: 2px solid #2b2b2b; border-radius: 12px; }
        .clear-puz .basic_form .form_item .form_title { font-size: 15px; font-weight: 500; padding: 7px; }
        .clear-puz input[type="text"], input[type="password"], textarea { height: 35px; }
        .clear-puz #captcha { width: calc(100% - 150px); height: 36px; }

        .basic_form .clear-puz { padding: 2px; }
        .clear-puz .clear-puz-box { padding: 20px; }
        .basic_form .clear-puz .info { padding: 20px; }
        .basic_form .clear-puz .form_item .form_title { font-size: 16px; }
        .clear-puz .agree-wrap .agree_box { font-size: 14px; }
        .clear-puz .agree-wrap input[type=checkbox] + label { font-size: 14px; }
        .clear-puz .regi-info img { width: 115%; }
        .basic_form .clear-puz .basic_form_btn { margin-top: 15px; }
        .basic_form .clear-puz button { max-width: 170px; font-size: 22px; }
}
