@charset "utf-8";
/* font 불러오기 */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
@import url('https://fonts.googleapis.com/earlyaccess/notosanskr.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@200;300;400;500;600;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Gothic+A1:wght@100;200;300;400;500;600;700;800;900&display=swap');
@font-face {
    font-family: 'KotraBold';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-10-21@1.1/KOTRA_BOLD-Bold.woff') format('woff');
    font-weight: normal;
    font-display: swap;
}



/* CSS Document */
* {
    font-family: Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif, 'Noto Serif KR', 'KotraBold', 'KbizHanmaumGothic', 'Gothic A1';
}
html{overflow:auto; scroll-behavior:smooth; font-size: 16px; font-family: Pretendard;}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body{border-spacing: 0; padding:0; margin:0; font-size: 1rem; overflow-y: auto;}
body::-webkit-scrollbar{
    width: 5px;
    background: rgba(0,0,0,0);
}
body::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 3px;
}


#container_main{scroll-snap-type: y mandatory; }

/* img{border: none; display:block; width:100%; height: auto; position:absolute; left:50%; top:0; transform:translateX(-50%);} */
img{ 
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  max-width: 100%;
}
ul, ol {
    list-style: none;
    margin:0;
    padding:0;
}

ul li, ol li {
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}
div {
    clear:both;
} 

:root {
    --menu-background-color : rgba(255, 255, 255, 0.95)
}

/* 메뉴 */

.header {
    position: absolute;
    width: calc(100%);
    background-color: rgba(255,255,255,0);
    padding: 2rem 0;
    z-index: 100;
    color: #888;
    font-size: 1.25em;
    font-weight: bold;
    line-height: 2em;
}
.header.on {
    background-color: var(--menu-background-color);
    color: #333;
    transition: all 0.3s ease;
}

.wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 4rem);
    margin: 0 auto;
}
.top_logo {
    width: 12%;
}

.top_logo img {
    width: 80%;
}

ul.lang {
    font-size: .7em;
    font-weight: 300;
    color: #bbb;
    display: flex;
    justify-content: space-around;
    width: 8%;
}

ul.lang.on {
    color: #bbb;
    font-weight: 500;
}

ul.lang.on a:hover {
    color: #333;
}

.menu {
    display: flex;
    position: relative;
    list-style: none;
    width: 50%;
    margin: 0 auto;
    justify-content: space-between;
    clear: both;
}
.menu li {
    position: relative;
    padding: 1.5rem 1rem 2rem;
    width: calc(90% / 4 - 2rem);
    cursor: pointer;
    text-align: center;
}
.menu li.active {
    color: #737c2b; /* 강조 색상 */
}

.menu-underline {
    position: absolute;
    bottom: 0;
    height: 3px;
    background-color: #737c2b;
    transition: all 0.3s ease;
    width: 0;
    left: 0;
}

.submenu-wrapper {
    position: relative;
    width: 100%;
    display: none;
    border-top: 1px solid #ddd;
    padding: 2rem 0;
    z-index: 90;
}
.submenu-wrapper.active {
    display: block;
}

.submenu_wrap {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    width: calc(50% - 2rem); /* 메뉴와 동일한 너비 */
    margin: 0 auto;
    position: relative;
    left: 3rem;
}

.submenu {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 22.5%; /* 4개 메뉴이므로 25%씩 나눔 */
}

.submenu span {
    color: #999;
    margin: 0.5rem 0;
    cursor: pointer;
    transition: color 0.2s;
}

.submenu span:hover {
    color: #737c2b;
}


/* 스와이프 css */

.headSwiper {
  --swiper-pagination-color: rgba(255, 218, 153, 1) !important;
  --swiper-pagination-left: auto;
  --swiper-pagination-right: 3rem;
  --swiper-pagination-bottom: 3rem;
  --swiper-pagination-top: auto;
  --swiper-pagination-fraction-color: inherit;
  --swiper-pagination-progressbar-bg-color: rgba(255, 255, 255, 0.5) !important;
  /* --swiper-pagination-progressbar-size: 1rem !important; */
  --swiper-pagination-bullet-inactive-color: #fff;
  --swiper-pagination-bullet-inactive-opacity: 0.2;
  --swiper-pagination-bullet-opacity: 1;
  --swiper-pagination-bullet-horizontal-gap: 0.6rem !important;
  --swiper-pagination-bullet-vertical-gap: 0.6rem !important;
  --swiper-pagination-progressbar-size: 0.7rem !important;
  --swiper-pagination-bullet-size: 0.7rem !important;
  --swiper-pagination-bullet-width: 0.7rem !important;
  --swiper-pagination-bullet-height: 0.7rem !important;
}


/* 애니메이션 보조 */

.sa {
  opacity: 0;
  transform-origin: center center;
  visibility: hidden;

  transition: opacity 0.5s ease;
}

.sa.show {
  visibility: visible;
  opacity: 1;
}

.ani {
  opacity: 0;
  visibility: hidden;

  transition: opacity 0.5s ease, transform 0.6s ease;;
}

.ani.show2 {
  visibility: visible;
  opacity: 1;
}



/* 메인 스타일 시작 */

.main {
    position: relative; 
    top:0; 
    left: 50%;
    transform: translate(-50%,0);
    width: 100%; 
    height: auto;
}




    .swiper_text_box {
        position:relative;
        display: flex;
        flex-direction: column;
        color: #aaa;
        font-size: 1.2em;
        line-height: 2em;
        z-index: 2;
        width: 35%;
        margin-right: 9%;
        margin-left: 5%;
        margin-top: 9rem;

    }

    .swiper_text_box .m_part2_txt {
        margin-left: 4rem;
        margin-top: 3rem;
        width: 68%;
    }

    .swiper_text_box .sw-pagenation {
        margin-left: 4rem;
        margin-top: 3rem;
    }

    .swiper_text_box {
        --swiper-pagination-color: rgba(255, 218, 153, 1) !important;
        --swiper-pagination-left: auto;
        --swiper-pagination-right: 3rem;
        --swiper-pagination-bottom: 3rem;
        --swiper-pagination-top: auto;
        --swiper-pagination-fraction-color: inherit;
        --swiper-pagination-progressbar-bg-color: rgba(204, 204, 204, 1) !important;
        /* --swiper-pagination-progressbar-size: 1rem !important; */
        --swiper-pagination-bullet-inactive-color: rgba(204, 204, 204, 1);
        --swiper-pagination-bullet-inactive-opacity: 0.2;
        --swiper-pagination-bullet-opacity: 1;
        --swiper-pagination-bullet-horizontal-gap: 0.6rem !important;
        --swiper-pagination-bullet-vertical-gap: 0.6rem !important;
        --swiper-pagination-progressbar-size: 0.7rem !important;
        --swiper-pagination-bullet-size: 0.7rem !important;
        --swiper-pagination-bullet-width: 0.7rem !important;
        --swiper-pagination-bullet-height: 0.7rem !important;
    }




/* 푸터 */

    .footer {
        height: calc((100vh / 5)-8rem);
        display: flex;
        padding: 4rem;
        width: calc(100% - 8rem);
        justify-content: space-between;
        clear:both;
        border-top: 1px solid #eee;
    }

    .footer .f_lang {
        width: 20%;
        color: #999;
        font-size: .9em;
        font-weight: 500;
    }
    
    .footer .f_lang ul {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
    }

    .footer .f_lang ul li {
        padding: 0 .8rem;
        display: block;
        height: auto;
    }
    
    .footer .f_lang ul li:first-child {
        border-right: 1px solid #ddd;
    }

    .footer .f_detail {
        display: flex;
        justify-content: flex-start;
        width: 80%;
    }

    .footer .f_detail .f_logo{
        width: calc(20% - 3rem);
        padding-right: 3rem;
        margin-right: 2%;
    }

    .footer .f_detail .f_logo img {
        max-width: 278px;
        height: auto;
    }

    .footer .f_detail .add {
        width: 78%;
    }

    .footer .f_detail .add .footer_menu ul {
        display: flex;
        flex-direction: row;
        color: #777;
        font-weight: 500;
        margin-bottom: 3rem;
        font-size: 1.2em;
    }

    .footer .f_detail .add .footer_menu ul li {
        margin-right: 3rem;
    }

    .footer .f_detail .add .info ul:first-child {
        display: flex;
        flex-direction: row;
        font-size: .85em;
        color: #888;
        margin-bottom: .8rem;
    }

    .footer .f_detail .add .info ul:first-child li {
        margin-right: 2rem;
        font-weight: bold;
    }

    .footer .f_detail .add .info ul:nth-child(2) {
        color:#888;
        font-size: .85em;
        margin-bottom: 1.5em;
        font-weight: bold;
    }

    .footer .f_detail .add .info ul:nth-child(3) {
        color:#bbb;
        font-size: .85em;
        font-weight: bold;
    }

    /* 서브페이지 메뉴 */
    .s_contents {
        display: flex;
        justify-content: center;
        clear:both;
    }

    .s_menu {
        position: relative;
        display: inline-block;
        margin-bottom: 4%;
        margin-top: 3%
    }

    .s_menu ul {
        display: flex;
        position: relative; /* underline 기준 부모 */
        border-bottom: 1px solid #ccc;
        justify-content: center;
    }

    .s_menu li {
    margin: 0 2.5rem;
    font-size: 1.25em;
    }

    .s_menu li:last-child {
        /* margin: 0; */
    }

    .s_menu a {
        display: inline-block;
        text-decoration: none;
        color: #777777;
        font-weight: bold;
        padding: 1rem 0; /* 패딩은 여기 */
        position: relative;
    }

    .s_menu a.active,
    .s_menu a:hover {
        color: #737c2b;
    }

    .underline {
        position: absolute;
        bottom: 0;
        height: 3px;
        background-color: #737c2b;
        width: 0;
        left: 0;
        transition: all 0.3s ease;
    }


.pdInfoSlide {
    --swiper-navigation-size: 5rem;
    --swiper-navigation-top-offset: 50%;
    --swiper-navigation-sides-offset: 10px;
    --swiper-navigation-color: rgba(255, 255, 255, .3);
}

.swiper-button-prev, .swiper-button-next {
    padding: 0 1rem;
}