@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap');


* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body,
button,
input {
    font-family: 'Noto Sans KR', sans-serif;
}

pre {
    font-family: 'Noto Sans KR', sans-serif;
    white-space: pre-line;
}

body {
    margin: 0;
    transition: .4s;
    top:0 !important;
}

ul,ol {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
}

.container {
    padding: 0 20px;
}
.container2 {
    padding: 0 20px;
}
.container3 {
    padding: 0 20px;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.autoplay-progress {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 10;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
}

.autoplay-progress svg {
    --progress: 0;
    position: absolute;
    left: 0;
    top: 0px;
    z-index: 10;
    width: 100%;
    height: 100%;
    stroke-width: 4px;
    stroke: #fff;
    fill: none;
    stroke-dashoffset: calc(125.6px * (1 - var(--progress)));
    stroke-dasharray: 125.6;
    transform: rotate(-90deg);
}

.swiper-pagination span{
    background-color: #ddd;
}

/* ======================= */

.header {
    width: 100%;
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    /*For animation dark mode*/
    transition: .4s;
}

.nav_box {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.nav {
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.nav_logo, 
.nav_toggle, 
.nav_shop, 
.nav_close {
    color: #fff;
}

.nav_toggle i {
    color: #fff;
}

.nav_logo {
    text-transform: uppercase;
    font-weight:bold;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
}

.nav_logo p {
    font-weight: bold;
    font-size: 22px;
}

.nav_logo img {
    width: 50px;
}

.nav_logo-icon {
    font-size: 1.25rem;
}

.nav_btns {
    display: flex;
    align-items: center;
    column-gap: 10px;
}

.nav_toggle, 
.nav_shop {
    font-size: 24px;
    cursor: pointer;
}

@media screen and (max-width: 767px) {
    .nav_menu {
        position: fixed;
        background-color: #02b1f2;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        padding: 6rem 2rem 3.5rem;
        transition: .3s;
    }

}

.nav_list {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 2rem;
    z-index: 1;
    cursor: pointer;
}

.nav_link {
    color: #fff;
    text-transform: uppercase;
    font-size: 22px;
    transition: .3s;
}

.nav_link:hover {
    color: #eee;
}

.nav_close {
    font-size: 26px;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.nav_item > ul.sub_menu > li { padding: .25rem 0; }
.nav_item > ul.sub_menu > li p {
  color: #fff;
  font-size: 16px;
  margin: 0;
}
/* 공통: 서브메뉴 기본 숨김 */
.nav_item > .sub_menu{
  display:none;
  list-style:none;
  margin:0;
  padding:0;
}

/* 데스크탑 드롭다운 */
@media (min-width: 768px){
  .nav_list{
    flex-direction: row;
    column-gap: 2rem;
    align-items: center;
  }
  .nav_item{ position: relative; }

  .nav_item > .sub_menu{
    /* 드롭다운 박스 기본 스타일 */
    position: absolute;
    top: 100%; left: 50%;
    transform: translate(-50%, -12px) scaleY(.98);   /* 시작 지점: 약간 아래쪽 */
    width: 165%;
    background: rgb(0,0,0,.6);
    border-radius: 10px;
    padding: .8rem 0 .4rem;            /* margin 대신 padding-top으로 시각적 간격 */
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
    z-index: 1000;
    text-align: center;

    /* 애니메이션 핵심 */
    display: block;                    /* 데스크탑에선 항상 block (애니메이션 위해) */
    opacity: 0;                        /* 숨김 상태 */
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity .16s ease,
      transform .24s cubic-bezier(.2,.8,.2,1),
      visibility 0s linear .24s; /* 닫힐 때만 지연 */
    will-change: transform, opacity;
  }

  /* 마우스 진입 시 보여주기 */
  .nav_item:hover > .sub_menu,
  .nav_item:focus-within > .sub_menu{
    opacity: 1;
    transform: translate(-50%, 0);     /* 제자리로 */
    visibility: visible;
    pointer-events: auto;
    transition:
      opacity .16s ease,
      transform .24s cubic-bezier(.2,.8,.2,1),
      visibility 0s;
  }

  /* hover 끊김 방지 브리지 */
  .nav_item > .sub_menu::before{
    content: "";
    position: absolute;
    top: -8px; left: 0; right: 0; height: 8px;
    /* 투명 브리지: 빈틈을 메워 hover 유지 */
  }

  /* 항목 스타일 (원래 쓰던 것 유지) */
  .nav_item > ul.sub_menu > li { padding: .25rem .75rem; cursor: pointer; }
  .nav_item > ul.sub_menu > li p{
    color: #fff;
    font-size: 16px;
    margin: 0;
    white-space: nowrap;
  }
}

/* 접근성: 모션 최소화 환경에선 애니메이션 끄기 */
@media (prefers-reduced-motion: reduce){
  .nav_item > .sub_menu{
    transition: none !important;
    transform: translate(-50%, 0) !important;
  }
}

/* 모바일: 아코디언 + 화살표 아이콘 */
@media (max-width: 767px) {
.nav_item > .sub_menu{
    margin-top: 10px;
    }
  .nav_item.has-sub .nav_link::after {
    content: "▾";
    margin-left: .5rem;
    font-size: .9em;
  }
  .nav_item.has-sub.open .nav_link::after { content: "▴"; }
  .nav_item > ul.sub_menu { padding-left: .75rem; }
}

.scroll-header {
    box-shadow: 0 1px 4px hsla(0, 0%, 4%, .3);
    background-color: #000;
}

/* ======================== */

.main_section {
    width: 100%;
    height: 100vh;
    position: relative;
}

.main_bg {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.main_bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main_bg_color {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgb(0,0,0,.4);
    z-index: -1;
}

.main_text_box {
    position: absolute;
    bottom: 30%;
    left: 20%;
    color: #fff;
    text-align: start;
}

.main_text_box h1 {
    font-size: 52px;
    line-height: 100%;
}

.main_text_box h4 {
    font-size: 16px;
    margin-top: 30px;
}

.main_text_color {
    color: #93d152;
}

.info_section {
    background-color: #02b1f2;
    height: 150px;
    position: relative;
}

.info_bg {
    position: absolute;
    width: 50%;
    height: 100%;
    right: 0;
    top: 0;
}


.duc_color_img {
    display: flex;
    padding: 0 20px;
    gap: 20px;
    width: 100%;
    justify-content: center;
    margin-bottom: 20px;
}

.duc_color_img img {
    width: 49%;
}


.info_bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(0); /* 기본 블러 효과 없음 */
    mask-image: linear-gradient(to left, #02b1f2 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, #02b1f2 40%, transparent 100%);
}

.main_info {
    color: #fff;
    max-width: 70%;
    text-align: start;
    padding: 0 20px;
    display: flex;
    align-items: center;
    height: 100%;
}

.main_info p {
    font-weight: bold;
}

.main_info p span {
    color: #b6df8b;
    font-size: 22px;
}

.chapter_section {
    padding: 20px;
}

.chapter_box {
    text-align: center;
    width: 100%;
    margin-top: 40px;
}

.chapter_img {
    margin-top: 30px;
    margin-bottom: 30px;
    width: 100%;
    height: 200px;
    background-color: #eee;
    transition: 0.3s;
}

.chapter_img:hover{
    transform: scale(1.1);
}

.chapter_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner_section {
    width: 100%;
    height: 200px;
    position: relative;
    margin-top: 50px;
}

.banner_bg {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: -2;
}

.banner_bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner_bg_color {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0,0,0,.4);
    z-index: -1;
}

.banner_text {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.footer {
    background-color: #0d0057;
    color: #eee;
    padding: 20px;
}

.footer_text_box {
    margin-top: 20px;
    font-size: 13px;
    display: grid;
}

.footer_text_box p {
    margin-bottom: 5px;
}

.footer_copy {
    text-align: center;
    font-size: 11px;
    margin-top: 30px;
}

.top_banner {
    height: 250px;
    width: 100%;
    position: relative;
}

.info_title {
    width: 100%;
    height: 100%;
    display: grid;
    align-items: center;
    justify-content: center;
    color: #fff;
    align-content: center;
    text-align: center;
}

.com_intro_title {
    text-align: center;
    margin-top: 50px;
    color: #5b5b5b;
}

.com_intro {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 50px;
    align-items: center;
    margin: 50px 0;
}

.com_intro p {
    font-size: 17px;
    line-height: 115%;

}

.intro_font {
    font-size: 26px;
    color: rgb(40, 50, 78);
}

.history {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    margin: 50px 0;
    padding-top: 50px;
}

.history_title h2 {
    position: relative;
    color: #02b1f2;
}

.history_title h2::before {
    position: absolute;
    content: "";
    width: 30px;
    height: 2px;
    top: -5px;
    background-color: #93d152;
}
.history_title2 h2 {
    position: relative;
    color: #02b1f2;
}

.history_title2 h2::before {
    position: absolute;
    content: "";
    width: 30px;
    height: 2px;
    top: -5px;
    background-color: #93d152;
}

.history_list {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.history_item_div {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.history_item_div p {
    margin-bottom: 15px;
}

.nav_bac {
    width: 100%;
    height: 60px;
    background-color: #000;
}

.com_info_bot {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 50px 0;
}

.com_info_bot img {
    max-width: 200px;
    border: 1px solid #000;
    overflow: hidden;
}

/* ================= */

.introduction_menu {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.introduction_div {
    width: 50%;
    text-align: center;
}

.introduction_img {
    margin-top: 20px;
    margin-bottom: 30px;
    width: 100%;
    height: 200px;
    background-color: #eee;
    transition: .3s;
}

.introduction_img:hover {
    transform: scale(1.05);
}

.introduction_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.duc_text_box {
    position: absolute;
    top: 30%;
    left: 20%;
    color: #fff;
}

.duc_text_box h1 {
    font-size: 65px;
    line-height: 100%;
}

.duc_text_box p {
    font-size: 24px;
    margin-top: 30px;
}

.duc_text_color {
    color: #93d152;
}

.duc_grid_section {
    padding: 30px 0;
}

.duc_grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.duc_grid_img {
    max-width: 350px;
    text-align: center;
}

.duc_grid_img img {
    width: 100%;
}

.duc_grid_text h1{
    font-size: 42px;
    
}

.duc_grid_text p {
    font-size: 20px;
}

.duc_icon_flex {
    width: 100%;
    display: flex;
    margin-top: 50px;
    margin-bottom: 100px;
    align-items: center;
    justify-content: center;
    row-gap: 40px;
    flex-wrap: wrap;
}

.duc_icon_div {
    text-align: center;
}

.duc_icon_box {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    text-align: center;
    line-height: 180px;
    font-size: 80px;
    color: #fff;
}

.duc_icon_text {
    width: 180px;
    margin-top: 20px;
}

.duc_icon_text p {
    margin-top: 10px;
}

.duc_farm_text {
    margin-top: 50px;
    position: relative;
    color: #5b5b5b;
}

.duc_farm_text::before {
    position: absolute;
    content: "";
    width: 40px;
    height: 1px;
    background-color: #ddd;
    top: -20px;
}

.com_intro_img {
    width: 100%;
    height: auto;
}

.com_intro_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.duc_color {
    display: flex;
    text-align: center;
    margin-top: 200px;
    flex-wrap: wrap;
}

.duc_color_div {
    width: 100%;
    padding: 50px 0;
}

.duc_color_div h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.duc_color_div p {
    font-size: 26px;
    margin-bottom: 20px;
}

.duc_img_grid {
    display: grid;
    grid-template-columns: repeat(1,1fr);
    margin-bottom: 100px;
    gap: 20px;
    text-align: center;
}

.duc_img_grid_box {
    width: 100%;
    height: 250px;
}

.duc_img_grid_box2 {
    width: 100%;
    height: 250px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.duc_img_grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.duc_img_grid_text {
    padding: 10px;
    margin-bottom: 20px;
}

.duc_img_grid_text h4 {
    margin-bottom: 10px;
}

.duc_img_grid_text p {
    font-size: 13px;
}

/* ====================== */

.questions_text h1{
    font-size: 40px;
    color: #ef5455;
}

.footer_logo_box {
    display: flex;
    align-items: center;
}

.footer_logo_box img {
    width: 50px;
}

.questions_div {
    display: flex;
    justify-content: space-between;
    margin: 50px 0;
    flex-wrap: wrap;
}

.questions_inp_box {
    width: 100%;
}

.questions_inp_box div {
    margin-bottom: 20px;
}

.questions_inp_box p {
    color: #bbb;
    font-size: 14px;
    margin-bottom: 5px;
}

.questions_inp_box span {
    color: #ef5455;
    margin-left: 5px;
}

.questions_inp_box input {
    width: 100%;
    outline: none;
    height: 40px;
    border: 1px solid #ddd;
    padding: 0 10px;
    border-radius: 5px;
}

.questions_inp_box textarea{
    width: 100%;
    height: 200px;
    outline: none;
    border: 1px solid #ddd;
    resize: none;
    padding: 10px;
    border-radius: 5px;
}

.mail_btn {
    text-align: end;
}

.mail_btn button {
    width: 150px;
    height: 50px;
    background-color: #ef5455;
    color: #fff;
    font-weight: bold;
    font-size: 22px;
    border-radius: 5px;
}

/* ================ */

.notice_title {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

.notice_title h1 {
    letter-spacing: 5px;
    font-size: 35px;
}

.notice_list {
    border-top: 2px solid #000;
    min-height: 300px;
}

.notice_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
    font-size: 14px;
}

.notice_item p:nth-child(1) {
    width: 10%;
    text-align: center;
}
.notice_item p:nth-child(2) {
    width: 70%;
    padding: 0 10px;
}
.notice_item p:nth-child(3) {
    width: 20%;
    text-align: center;
}

.notice_search {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 5px;
    margin-bottom: 20px;
}

.notice_search select {
    height: 30px;
    border: 1px solid #bbb;
    border-radius: 5px;
    width: 80px;
    outline: none;
}

.notice_inp {
    border: 1px solid #bbb;
    border-radius: 5px;
    overflow: hidden;
    height: 30px;
}

.notice_inp input {
    border: none;
    outline: none;
    padding: 0 10px;
    height: 100%;
}

.notice_inp button {
    background-color: transparent;
    font-size: 20px;
    height: 100%;
    margin-right: 5px;
}

.notice_btns {
    padding-bottom: 100px;
}

.notice_num_btn {
    text-align: center;
    margin: 20px 0;
    
}

.notice_num_btn button {
    background-color: transparent;
    margin: 0 5px;
}

.notice_num_btn button i {
    font-weight: bold;
}

.notice_write_btn {
    text-align: end;
}

.notice_write_btn button {
    width: 80px;
    height: 35px;
    background-color: #000;
    color: #fff;
    border-radius: 5px;
}

.notice_detail_box {
    max-width: 750px;
    margin: 0 auto;
}

.notice_detail_title {
    border-bottom: 1px solid #777;
    padding: 20px 10px;
}

.notice_detail_title h2 {
    padding: 40px 0;
}

.notice_detail_title p {
    font-size: 14px;
    color: #5b5b5b;
}

.notice_detail_text {
    padding: 20px 10px;
    min-height: 300px;
}

.notice_detail_btn {
    text-align: end;
    margin-bottom: 100px;
}

.notice_detail_btn button {
    background-color: transparent;
    border: 1px solid #bbb;
    border-radius: 5px;
    width: 80px;
    height: 35px;
    font-weight: bold;
}

.m_none {
    display: none;
}

.com_info_img {
    width: 100%;
    height: 150px;
    background-color: #eee;
    margin: 50px 0;
}

.login_box {
    height: 64vh;
    max-width: 300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login_div {
    width: 100%;
}

.login_logo{
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.login_div > input {
    width: 100%;
    margin-bottom: 10px;
    padding: 0 10px;
    height: 40px;
    border: 1px solid #bbb;
    border-radius: 5px;
}

.login_al {
    display: flex;
    align-items: center;
    gap: 5px;
}

.login_al p {
    font-size: 14px;
    color: #3b3b3b;
}

.log_btn button {
    width: 100%;
    height: 40px;
    margin-top: 20px;
    background-color: #000;
    color: #fff;
    border-radius: 5px;
}

/* ============================== */

.manage_div {
    margin: 50px 0;
}

.manage_title {
    text-align: center;
    margin-bottom: 50px;
}

.manage_teb_list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.manage_teb_item {
    background-color: #3bcbff;
    width: 120px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}

.manage_teb_item.act {
    background-color: #02b1f2;
    font-weight: bold;
}

.tab_title {
    text-align: center;
    margin-top: 50px;
}

.manage_notice {
    max-width: 500px;
    margin: 0 auto;
}

.tab_write_btn {
    text-align: end;
    margin-bottom: 50px;
}

.tab_write_btn button {
    width: 60px;
    height: 30px;
    background-color: #000;
    color: #fff;
    border-radius: 5px;
}

.manage_notice_list {
    min-height: 250px;
}

.file-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
}

.file-preview button {
    background-color: #000;
    color: #fff;
    padding: 2px 5px;
    border-radius: 5px;
}

.manage_notice_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 10px;
    border-bottom: 1px solid #ddd;
}

.manage_notice_item div {
    display: flex;
    margin-left: 20px;
}

.manage_notice_item button {
    width: 35px;
    height: 25px;
    padding: 2px 5px;
    margin-left: 5px;
}

.manage_reg {
    max-width: 500px;
    margin: 0 auto;
}

.manage_reg_list {
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

.manage_reg_list2 {
    margin-bottom: 10px;
}

.manage_reg_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    margin-bottom: 10px;
}

.manage_reg_item button {
    width: 50px;
    height: 30px;
    background-color: #000;
    color: #fff;
    border-radius: 5px;
}

.ins_admin_btn {
    padding: 5px 10px;
    background-color: #000;
    color: #fff;
    border-radius: 5px;
    margin-top: 20px;
    font-weight: bold;
}

.notice_write_div {
    max-width: 500px;
    margin: 80px auto;
}

.notice_inp_box input {
    width: 100%;
    height: 30px;
    border: 1px solid #bbb;
    border-radius: 5px;
    padding: 0 10px;
    outline: none;
    margin-bottom: 10px;
}

.notice_inp_box2 {
    width: 100%;
    height: 400px;
    overflow-y: scroll;
    border: 1px solid #bbb;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 20px;
    outline: none;
}

.notice_img_btn_div {
    display: flex;
    flex-wrap: wrap;
}

.notice_img_btn_box {
    margin-right: 20px;
}

.notice_img_btn {
    width: 50px;
    height: 35px;
    background-color: #000;
    color: #fff;
    margin-bottom: 10px;
    border-radius: 5px;
    font-size: 22px;
    text-align: center;
    position: relative;
}

.notice_img_btn::after {
    content: attr(data-cke-tooltip-text);
    visibility: hidden;
    opacity: 0;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 5px;
    border-radius: 5px;
    position: absolute;
    bottom: -130%; /* 툴팁 위치를 버튼 위로 */
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    transition: opacity 0.3s;
    z-index: 1;
    font-size: 16px !important;
}

.notice_img_btn:hover::after {
    visibility: visible;
    opacity: 1;
}

.notice_inp_box2::-webkit-scrollbar {
    display: none;
}

.notice_inp_box2 input {
    border: none;
    outline: none;
    width: 100%;
}

.notice_inp_box textarea {
    width: 100%;
    height: 300px;
    border: 1px solid #bbb;
    border-radius: 5px;
    padding: 10px;
    outline: none;
    resize: none;
    margin: 10px 0;
}

.ins_admin {
    background-color: #eee;
    border-radius: 5px;
    width: 100%;
    padding: 40px 20px 0px 20px;
    position: relative;
    margin-top: 10px;
    margin-bottom: 20px;
}

.ins_admin input {
    width: 100%;
    height: 40px;
    border: 1px solid #bbb;
    padding: 0 10px;
    outline: none;
    margin-bottom: 10px;
    border-radius: 5px;
}

.ins_can {
    position: absolute;
    right: 5px;
    top: 1px;
    font-size: 24px;
    background-color: transparent;
}

.ins_reg {
    width: 100%;
    height: 40px;
    background-color: #000;
    color: #fff;
    border-radius: 5px;
    margin: 20px 0;
}

.img_box {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
    max-width: 500px;
}
.img_box div {
    width: 100%;
}

.img_box div input {
    width: 100%;
}

.none_div {
    margin-bottom: 10px;
}

.none_div input {
    margin: 5px 0;
    width: 80%;
    height: 30px;
    border: 1px solid #bbb;
    border-radius: 5px;
    padding: 0 10px;
    outline: none;
    margin-bottom: 10px;
}

.add_img_btn {
    width: 80px;
    height: 30px;
    background-color: #000;
    border-radius: 5px;
    margin: 0 5px;
    color: #fff;
}

.none_div_chk {
    width: 25px;
    height: 30px;
    background-color: #000;
    border-radius: 5px;
    margin-left: 5px;
    color: #fff;
}

.none_div_can {
    width: 25px;
    height: 30px;
    background-color: #ddd;
    border-radius: 5px;
    margin: 0 5px;
}

@media (max-width: 600px){
  .tb-program, .tb-program thead, .tb-program tbody,
  .tb-program th, .tb-program td, .tb-program tr{
    display: block;
  }
  .tb-program thead{ display:none; }          /* 헤더 감춤 */

  .tb-program tr{
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    background: #fff;
  }

  .tb-program td{
    border: 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    padding: 10px 12px;
    display: grid;
    grid-template-columns: 8rem 1fr;          /* 라벨/내용 2열 */
    gap: 8px;
  }
  .tb-program td:last-child{ border-bottom: 0 !important; }

  /* 각 칼럼 라벨(헤더)을 ::before로 생성 */
  .tb-program td:nth-child(1)::before{ content:"번호"; font-weight:600; color:#555; }
  .tb-program td:nth-child(2)::before{ content:"프로그램명(시행부처/기관)"; font-weight:600; color:#555; }
  .tb-program td:nth-child(3)::before{ content:"과 제 명"; font-weight:600; color:#555; }
  .tb-program td:nth-child(4)::before{ content:"총개발기간(시작·종료일)"; font-weight:600; color:#555; }
  .tb-program td:nth-child(5)::before{ content:"비 고"; font-weight:600; color:#555; }

  /* 데스크탑에서 지정한 너비·정렬 무효화 */
  .tb-program thead th,
  .tb-program tbody td{
    width: auto !important;
    text-align: left !important;
  }
}

  .table-wrap {
    max-width: 100%; 
    margin: 30px auto;
    overflow-x: auto;
}

  table.tb-program {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-family: "Pretendard", system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
    font-size: 14px;
  }
  .tb-program th, .tb-program td {
    border: 1px solid #222;
    padding: 10px 12px;
    vertical-align: middle;
    word-break: keep-all;
  }
  .tb-program thead th {
    background: #f6f6f6;
    text-align: center;
    font-weight: 700;
  }
  .tb-program tbody td:nth-child(1),
  .tb-program thead th:nth-child(1) { width: 56px; text-align: center; }
  .tb-program tbody td:nth-child(4),
  .tb-program thead th:nth-child(4) { width: 200px; text-align: center; }
  .tb-program tbody td:nth-child(5),
  .tb-program thead th:nth-child(5) { width: 70px; text-align: center; }
  .tb-program small { color:#333; opacity:.9; }


.program_box_grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    margin-bottom: 100px;
    font-size: 14px;
    gap: 20px;
}

.program_box_title {
    background-color: #3b3b3b;
    color: #fff;
    text-align: center;
    font-size: 15px;
    padding: 10px 0;
    border-radius: 5px 5px 0 0;
}

.program_box_text {
    text-align: center;
    padding: 5px 20px;
    background-color: #d1f3ff;
}

.program_box_text2 {
    text-align: center;
    padding: 5px 20px;
    background-color: #edffd9;
}

.program_box_list {
    padding: 10px 10px;
    background-color: #d1f3ff;
}

.program_img_box {
    display: grid;
    grid-template-columns: repeat(2,1fr);
}

.program_img_box img {
    width: 100%;
    object-fit: cover;
}

.anfla_div {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    margin-bottom: 100px;
}

.anfla_img_box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    height: 350px;
}

.anfla_img_box img {
    width: 100%;
    object-fit: cover;
}

.anfla_img_box2 {
    height: 350px;
}

@media screen and (min-width: 320px) {
    .main_text_box {
        bottom: 20%;
        left: 20px;
    }

    .main_text_box h1 {
        font-size: 36px;
    }
    .main_text_box h4 {
        font-size: 14px;
        margin-right: 40px;
    }

    .duc_text_box {
        bottom: 20%;
        left: 20px;
    }

    .duc_text_box h1 {
        font-size: 36px;
    }
    .duc_text_box p {
        font-size: 14px;
        margin-right: 40px;
    }

    .info_section {
        height: 150px;
    }
}

@media screen and (min-width: 576px) {
    .banner_section{
        height: 300px;
    }
}

@media screen and (min-width: 767px) {
    .container {
        max-width: 1024px;
        margin: 0 auto;
        padding: 0;
    }
    .container2 {
        max-width: 1240px;
        margin: 0 auto;
        padding: 0;
    }
    .container3 {
        max-width: 80%;
        margin: 0 auto;
        padding: 0;
    }
    .table-wrap {
        margin: 50px auto;
    }
    .nav {
        height: 80px;
        max-width: 1024px;
        margin: 0 auto;
        column-gap: 25px;
    }
    .nav_toggle, 
    .nav_close {
        display: none;
    }
    .nav_box {
        display: block;
    }
    .nav_list {
        flex-direction: row;
        column-gap: 25px;
    }
    .nav_link {
        text-transform: initial;
        font-size: 16px;
    }
    .nav_btns {
        margin-left: auto;
    }
    .nav_logo img {
        width: 50px;
    }

    .main_text_box {
        position: absolute;
        bottom: 30%;
        left: 20%;
        color: #fff;
    }
    
    .main_text_box h1 {
        font-size: 52px;
        line-height: 100%;
    }
    
    .main_text_box h4 {
        font-size: 16px;
        margin-top: 30px;
    }

    .duc_text_box {
        position: absolute;
        bottom: 30%;
        left: 20%;
        color: #fff;
    }
    
    .duc_text_box h1 {
        font-size: 52px;
        line-height: 100%;
    }
    
    .duc_text_box h4 {
        font-size: 16px;
        margin-top: 30px;
    }

    .main_info {
        max-width: 1024px;
        margin: 0 auto;
    }

    .main_info p {
        font-size: 22px;
    }

    .main_info p span {
        font-size: 28px;
    }

    .chapter_section {
        padding: 40px;
    }

    .chapter_div {
        display: grid;
        grid-template-columns: repeat(4,1fr);
        gap: 60px;
    }

    .chapter_box {
        padding: 0 20px;
    }

    .chapter_box h4 {
        font-size: 22px;
    }

    .chapter_img {
        height: 250px;
    }
    .introduction_img {
        height: 250px;
    }

    .banner_section {
        height: 500px;
    }

    .banner_text h1 {
        font-size: 42px;
    }

    .footer_text_box {
        font-size: 14px;
    }

    .footer_flex{
        display: flex;
        gap: 15px;
    }

    .footer {
        padding-top: 50px;
    }

    .footer_logo_box {
        margin-bottom: 50px;
    }

    .notice_title {
        margin-top: 100px;
    }

    .notice_title h1 {
        font-size: 40px;
    }

    .notice_item p:nth-child(1) {
        width: 5%;
        text-align: center;
    }
    .notice_item p:nth-child(2) {
        width: 85%;
        padding: 0 10px;
    }
    .notice_item p:nth-child(3) {
        width: 10%;
        text-align: center;
    }
    .nav_bac {
        height: 80px;
    }
    .duc_grid {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
    }
    .duc_icon_flex {
        display: flex;
        margin-top: 100px;
        margin-bottom: 200px;
        align-items: flex-start;
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    .com_intro {
        grid-template-columns: repeat(2, 1fr);
    }

    .duc_color_div {
        width: 50%;
        padding: 50px 0;
    }
    .duc_img_grid {
        display: grid;
        grid-template-columns: repeat(3,1fr);
        margin-bottom: 100px;
    }
    
    .duc_img_grid_box {
        width: 100%;
        height: 200px;
    }

    .top_banner {
        height: 400px;
    }

    .history {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        margin: 50px 0;
        padding-top: 50px;
    }

    .m_none {
        display: block;
    }

    .questions_inp_box {
        width: 70%;
    }

    .questions_div {
        margin: 100px 0;
    }

    .img_box {
        grid-template-columns: repeat(3, 1fr);
    }

    .com_info_bot {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }

    .program_box_grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .anfla_div {
        grid-template-columns: repeat(2, 1fr);
    }
}

