@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Nanum+Gothic:wght@400;700;800&family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap');

/* reset */
@media all {
    .clear:after { 
        content:""; 
        display:block; 
        clear:both;
    }
    * { margin:0; padding:0; outline:none; box-sizing:border-box;}
    body {
    line-height:1; font-size:14px; font-weight:400; color:#000; font-family: 'Noto Sans KR', sans-serif !important; word-wrap: break-word; word-break: keep-all;
    }
    h1, h2, h3, h4, h5, h6 { margin:0; font-family: 'Noto Sans KR', sans-serif !important; line-height:1; font-size: 1em; }
    ul, ol { list-style:none; margin:0; padding: 0; }
    a { outline:0; text-decoration:none; color: #000; font-family: 'Noto Sans KR', sans-serif !important; }
    a:focus { outline:none; }
    figure,dl,dd,input[type=radio], input[type=checkbox]  { margin: 0; padding: 0; }
    img { border:none; outline:none; max-width: 100%; }
    p { margin:0; padding:0; word-wrap: break-word; word-break: keep-all;  }
    button, input, submit { border: none; background: none; }
    dt { font-weight: normal; }
    ::placeholder { font-family: 'Noto Sans KR', sans-serif !important; }
    input:-webkit-autofill,
    input:-webkit-autofill:hover,
    input:-webkit-autofill:focus,
    input:-webkit-autofill:active {
        transition: background-color 5000s ease-in-out 0s;
        -webkit-transition: background-color 9999s ease-out;
        box-shadow: none !important;
        -webkit-text-fill-color: none !important;
    }
}   

/* 탭 초기화 */
.tabBox1 .nav { border: none; }
.tabBox1 .nav > li { margin: 0; float: none; }
.tabBox1 .nav > li > a { padding: 0; margin: 0; border-radius:0; border: 0; }
.tabBox1 .nav > li:hover > a { background: none; }
.tabBox1 .nav > li.active > a { border: none; background: none; }


/* html 폰트 사이즈 */
@media (max-width:1200px) {
	html { font-size: 8.5px; }
}
@media (max-width:991px) {
	html { font-size: 8px; }
}
@media (max-width:768px) {
	html { font-size: 7.5px; }
}
@media (max-width:580px) {
	html { font-size: 6.5px; }
}
@media (min-width:1200px) and (max-height:800px) {/* 너비 1200이상 높이 800이하 */
html { font-size: 8px; }
}
@media (min-width:1200px) and (max-height:650px) {/* 너비 1200이상 높이 650이하 */
html { font-size: 7.5px; }
}
@media (min-width:1200px) and (max-height:500px) {/* 너비 1200이상 높이 500이하 */
html { font-size: 6.5px; }
}

:root {
	/* 컨텐츠 너비 */
	--containerV1-width : 1680;
	--containerV2-width : 1200;

	--main-color : #001f5f; /* mainColor */
	--main-color2 : #375fb0;

    --h-height : 10rem; /* header height */
}

/* container */
.containerV1 { width: 100%; margin: 0 auto; max-width: calc(var(--containerV1-width) * 1px); }
.containerV2 { width: 100%; margin: 0 auto; max-width: calc(var(--containerV2-width) * 1px); }

@media (max-width:1700px) {
	.containerV1 { padding: 0 15px;}
}

@media (max-width:1230px) {
	.containerV2 { padding: 0 15px;}
}

/* 확대 축소 애니메이션 */
@keyframes ani_scale1 {
	50% { transform:scale(1.005); }
}
@keyframes ani_scale2 {
	50% { transform:scale(1.04); }
}
@keyframes ani_scale3 {
	50% { transform:scale(1.00); }
}

.wrapper { overflow-x: hidden; }

/* 게시판 글 없을 때 */
.post-none { font-size: 16px; }


/*--------------------------------------------------- 해드세팅 ----------------------------------------------------------------------------*/
@media all {
    #header { 
    --menu-font-color : #fff;
    position: fixed; left: 0; top: 0; width: 100%; height: var(--h-height); z-index: 1000; transition:0.4s; background: transparent;
    }
    #header::before {
        content:""; position: absolute; top: var(--h-height); left: 50%; transform: translateX(-50%); width: 100%; height: 1px; background: #e5e5e5;
        opacity: 0; visibility: hidden;  
    }
    
    #header > .containerV1 {height: 100%;}
    
    /*모바일 검은 배경*/
    #header .menuBox_bg {position: fixed; right: 0; top: 0; z-index: 8000; width: 100%; height: 100vh; background: rgba(0,0,0,0.5); display: none;}
    
    
    #header .itemBox {
    width: 100%; height: 100%; display:flex; justify-content:space-between; align-items: start; 
    position: relative; z-index: 2; margin: 0 auto;}
    
    #logo {width: 22.6rem; height: var(--h-height); display: flex; align-items: center;}
    #logo a {display: flex; align-items: center; position: relative;}
    #logo .logo_on {display: none;}

    .open_btn {display: none;}
    .close_btn {display: none;}
    
    
    /*main_menu---------------------------------------------------------------------------*/
    #nav .nav_inner {display: flex; gap: 3.3rem}
    #nav .nav_logo {display: none;}
    #nav .nav_inner { display:flex; align-items:center; width: 100%; gap: 0 50px;}
    #nav .outer {display: flex; position: relative;}
    #nav .outer > li {position: relative; padding: 0 3.3rem; height: var(--h-height); transition: all ease 0.3s;}
    #nav .outer > li > a {
    display: flex; color: var(--menu-font-color);  font-size: 20px; height: 100%; line-height: 1.3; align-items: center;
    position: relative; transition: all ease 0.3s;
    }
    #nav .outer > li > a > span {position: relative;}
    #nav .outer > li > a > i {color: var(--main-color); display: none;}
    
    
    
    /*sub_menu---------------------------------------------------------------------------*/
    #nav .inner {
        display: block; position: absolute; left: 50%; transform: translateX(-50%); top: 50%; width: 120%;
        opacity: 0; visibility: hidden; z-index: 1; text-align: center; background: #fff; padding: 10px 0 15px;
        border-radius: 0 0 0 15px; box-shadow: 1px 5px 15px -6px #333;
    }
    #nav .inner > li {position: relative; color: #000; line-height: 1.3; transition: all 0.3s;}
    #nav .inner::after {content:''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: var(--main-color);}
    #nav .inner > li > a { display: block; font-size: 16px; color: inherit; transition: all 0.3s; position: relative; left: 0; padding: 10px 15px;}
    #nav .outer > li:nth-child(1) .inner { z-index: 10;}
    #nav .outer > li > a > span:after {
        content: ''; position: absolute;  bottom: -10px; width: 0; height: 3px; background: #fff; transition:0.4s; right: 0;
    }

    /* 사이트맵 버튼 */
    #header .sitemap_btn {
        width: 50px; height: 50px; border-radius: 50%;
        background: rgba(255,255,255,0.2); display: flex;
        align-items: center; justify-content: center;
        color: #fff; font-size: 25px; cursor: pointer;
    }
    #header .sitemap_btn .sclose-i {display: none;}

    
    /* hover */
    #nav .outer > li:hover > a > span:after {width: 100%; right: auto; left: 0;}
    #nav .outer > li > .inner > li:hover > a {background: var(--main-color); color: #fff;}
    #nav .outer > li:hover .inner {opacity: 1; visibility: visible; z-index: 2; top: 95%; transition: all 0.3s;}
    
    
    /* 해드 스크롤 했을때 */


    /* 헤드 사이트맵 버튼 click 했을때 ----------------------------------*/
    #header.header_full {background: #fff !important; height: 440px; border-bottom: 1px solid #ccc;}
    #header.header_full #logo .logo {display: none;}
    #header.header_full #logo .logo_on {display: block;}
    #header.header_full::before {opacity: 1; visibility: visible; transition: all 0.2s 0.1s;}

    /* menu */
    #header.header_full #nav .outer > li {padding: 0 4.4rem;}
    #header.header_full #nav .inner::after {display: none;}
    #header.header_full #nav .outer > li:not(:last-child) .inner::before {content:""; position: absolute; right: 0; top: 0; width: 1px; height: 300px; background: #e5e5e5;} 
    #header.header_full #nav .outer > li > a {color: #000; font-weight: 500;}
    #header.header_full #nav .outer > li > a > span:after {background: var(--main-color);}
    #header.header_full #nav .outer > li .inner {
        opacity: 1; visibility: visible; z-index: 2; top: 115%; transition: all 0.3s; width: 100%; background: transparent;
        padding: 0; box-shadow: unset;
    }
    #header.header_full .sitemap_btn {color: #000;}
    #header.header_full .sitemap_btn .smenu-i {display: none;}
    #header.header_full .sitemap_btn .sclose-i {display: block;}

    /* hover */
    #header.header_full #nav .outer > li:hover > a {color: var(--main-color);}
    #header.header_full #nav .outer > li:hover .inner {top: 115%;}
    
    /* 헤드 사이트맵 버튼 click 했을때 끝 ----------------------------------*/
    
    
    
    /* 해당페이지 일때 */
    #nav .outer > li > a.on > span:after {width: 100%; right: auto; left: 0;}
    #nav .outer > li > a.on > span {color: var(--main-color);}
    
    
    /*모바일에서 피씨 로고 클래스 지움.*/
    #logo.logo_hide {opacity: 1; visibility: visible;}


    /* 3번째, 5번째 단락일 때 헤드 배경색 바뀜 */
    #header.bg_off {background: rgba(0,0,0,0.5); box-shadow: unset;}
    
}

@media (min-width:1120px) {
    #header.header_full .box-lang {
        --lang-color:#000;
    }
    #header.header_full .box-lang:before {
        filter: invert(1);
    }
}
    
/*반응형-------------------------------------------------------------*/


@media (max-width: 1230px) {
    #nav .outer > li > a {font-size: 15px;}
}



/*모바일*/
@media all and (max-width: 1120px) {
    
    #header {--menu-font-color: #666; border-bottom: 1px solid #ccc;}

    /* 모바일 열기 버튼 */
    .open_btn {display: block; font-size: 40px; color: #fff; cursor:pointer; align-self: center;}

    #nav {
    --mob-bg : #fff;
    background-color: var(--mob-bg); width: 21.43em; height: 100%;  display: block;
    position: fixed; right:0; top: 0; z-index:9999; margin-right:-21.43em;  transition:margin-right 0.3s;
    }
    #nav .nav_inner { 
    width: 21.43em; height: 100%; overflow-x: hidden; overflow-y:auto; position: absolute;  top:0; 
    display: grid; align-items:start; align-content: start;
    }

    /* 모바일닫기버튼 */
    .close_btn {display: block; width:50px; height:50px; margin-right:0; margin-left:auto; cursor:pointer; position: absolute; right: 0; top: 10px;}
    .close_btn > i { display:block; color:var(--menu-font-color); text-align:center; line-height:50px; font-size:40px; z-index: 3;}


    #header .menuBox_bg {display: block;}/*	menubox_bg가 메뉴를 연 상태로 바로 pc화면으로 바꿀 경우 그대로 남아서 pc에서 none 처리해둔 걸 모바일에서 푸는 용도*/

    #nav .outer { display: block; margin-top: 10px; padding: 0 20px; order: 3;}
    #nav .outer > li {
        padding: 0; width: 100%; overflow: hidden; cursor: pointer; margin-bottom: 10px; height: auto;
        border-bottom: 1px solid #ddd;
    }
    #nav .outer > li > a {
        font-weight: 500; padding:15px 20px 20px 10px; color: #000; position: relative;
        pointer-events:none; height: auto; line-height: 1; font-size: 18px;
    }
    #nav .outer > li > a > span:after {display: none;}
    #nav .outer > li > a > i {
        color: var(--menu-font-color); display: inline-block; position: absolute;
        right: 15px; top: 15px; transform: rotate(0deg); transition: all 0.3s;
        font-size: 1.2em;
    }

    #nav .inner {
        position: relative; padding: 0; display: block; border:0; opacity: 0; visibility: hidden; 
        width: 100%; height: 0;  background: var(--mob-bg); box-shadow: none; border-radius: none;
    }
    #nav .inner::before, #nav .inner::after {display: none;}
    #nav .inner > li { margin-bottom:0; position: relative; padding: 0;}


    #nav .inner > li > a {
    color: var(--menu-font-color); padding: 12px 25px 12px 13px; position: relative; transition: all 0.3s;
    text-align: left; left: 0; border-bottom: 1px solid #f1eded;
    }
    #header .sitemap_btn {pointer-events: none;}
    #header .sitemap_btn span {display: none !important;}
   
    #header.scroll {background: rgba(0,0,0,0.3);}


    /*	pc 메뉴 효과 지움*/

    /* 헤드 사이트맵 버튼 click 했을때 ----------------------------------*/
    #header.header_full {height: var(--h-height); background: rgba(0,0,0,0.3) !important;}
    #header.header_full #logo .logo {display: block;}
    #header.header_full #logo .logo_on {display: none;}
    #header.header_full::before {display: none;}
    #header.header_full #nav .outer > li {padding: 0;}
    #header.header_full #nav .outer > li > a {color: #000;}
    #header.header_full #nav .outer > li .inner {opacity: 1; visibility: visible; z-index: 2; top: 115%; transition: all 0.3s;}
    /* hover */
    #header.header_full #nav .outer > li:hover > a {color: #000;}

   /* 헤드 사이트맵 버튼 click 했을때 끝----------------------------------*/

    /* hover */
    #nav .outer > li > .inner > li:hover > a {color: var(--menu-font-color); background: #fafafa;}


    /* 해당페이지 일때 */
    #nav .outer > li.on_sub > a > span {color: var(--main-color);}


    /* outer 클릭시 inner보이는 효과 */
    #nav .outer > li.on_sub > a > i {transform: rotate(90deg); }
    #nav .outer > li.on_sub > .inner { display: block;}
    #nav .outer > li.on_sub > .inner {
        opacity: 1;
        visibility: visible;
        height: auto;
    }
    #logo.logo_hide {opacity: 0; visibility: hidden;}
    #nav .outer > li.on_sub > .inner > li {background: #fafafa;}
    
    

    /* 모바일메뉴박스 보이게 하는 클래스 */
    #nav.inactive { margin-right: -1px; } 
}
/*--------------------------------------------------- 해드세팅 끝 ----------------------------------------------------------------------------*/



/*--------------------------------------------------- 인덱스세팅 ----------------------------------------------------------------------------*/

/* 공통 */
main .section {
    --font-size-pc: 10;
    --font-size-mob: 10;
    font-size: min( calc( var(--font-size-mob) / 600 * 100vw ), calc(var(--font-size-pc) * 1px) );
    overflow: hidden;
}
main > .section .title_text {color: #fff;}
main > .section .title_text b {font-size: 2em; color: inherit; display: block;}
main > .section .title_text h2 {font-size: 6em; line-height: 1.3; font-weight: bold; color: inherit;}
main .section3 .title_text .ani_text {overflow: hidden;}
main > .section .title_text p.text1 {font-size: 2em; color: inherit; line-height: 1.3;}




/* section2 */
main .section2 {
    position: relative; overflow: hidden;
}

main .section2 .itemBox {display: grid; grid-template-columns: repeat(2, 1fr); height: 100%;}
main .section2 .item::before {
    content:''; position: absolute; top: 0; left: 0; transition: 2s;
    width: 100%; height: 100%; z-index: 1; transform: scale(1.2);
}
main .section2 .itemBox .item01::before{
    background: url('img/sec01_bg_01.jpg') no-repeat center center / cover;
}
main .section2 .itemBox .item02::before{
    background: url('img/sec01_bg_02.jpg') no-repeat center center / cover;
}

main .section2 .item {position: relative; display: flex; align-items: center; padding-left: 12em; padding-right: 3em; overflow: hidden;}
main .section2 .title_text {position: relative; z-index: 2; overflow: hidden;}
main .section2 .title_text b {margin-bottom: 1.5em;}
main .section2 .title_text .ani_text {overflow: hidden;}
main .section2 .title_text p.text1 {margin-top: 1em;}

main .section2 .itemBox > .item a.item_btn {
    font-size: 2em; width: 100%; max-width: 108px;
    height: 34px; display: flex; justify-content: space-between;
    gap: 10px; position: relative; margin-top: 4.5em;
}

main .section2 .itemBox .title_text a.item_btn::after {
    content:''; position: absolute; 
    bottom: 0; left: 0; width: 100%; height: 1px; background: #fff;
    transition: all 0.3s;
}

main .section2 .itemBox .title_text a.item_btn > * {color: #fff;}
main .section2 .itemBox .title_text a.item_btn > i {position: relative; left: 0;}


/* 스크롤 애니메이션 pc */
@media (min-width:1120px) {
    main .section2 .title_text b {transform: translateY(-100%); transition: all 0.7s;}
    main .section2 .title_text h2 {transform: translateX(-100%); transition: all 1.5s;}
    main .section2 .title_text .ani_text p {transform: translateY(100%); transition: all 1.5s;}
    main .section2 .itemBox > .item a.item_btn {transform: translateY(10%); opacity: 0; transition: all 1s;}

    main .section2.active .item::before {transform: scale(1); transition-delay: 0.5s;}
    main .section2.active .title_text b {transform: translateY(0);}
    main .section2.active .title_text h2 {transform: translateX(0); transition-delay: 0.5s;}
    main .section2.active .title_text .ani_text p {transform: translateY(0); transition-delay: 1s;}
    main .section2.active .itemBox > .item a.item_btn {transform: translateY(0); opacity: 1; transition-delay: 1.5s;}
}

/* 스크롤 애니메이션 mob */
@media (max-width: 1120px) {
    main .section2 .item::before {transform: scale(1);}
    main .section2 .item .title_text b {transition: 0.7s 0.5s;}
    main .section2 .item .title_text h2 {transition: all 1s 1s;}
    main .section2 .title_text .ani_text p {transition: all 1s 1.5s;}
    main .section2 .itemBox > .item a.item_btn {transition: all 1s 2s;}

    main .section2 .item[data-scroll="out"]::before {transform: scale(1.2);}
    main .section2 .item .title_text[data-scroll="out"] b {transform: translateY(-100%);}
    main .section2 .item .title_text[data-scroll="out"] h2 {transform: translateX(-100%);}
    main .section2 .item .title_text[data-scroll="out"] .ani_text p {transform: translateY(100%);}
    main .section2 .item .title_text[data-scroll="out"] a.item_btn {transform: translateY(10%); opacity: 0;}
}

@media (max-width: 900px) {
    main .section2 .item02 .title_text[data-scroll="out"] h2 {transform: translateX(100%);}
}


@media (min-width: 991px) {
    main .section2 .itemBox .title_text a.item_btn:hover:after {left: unset; right: 0; width: 0%;}
    main .section2 .itemBox .title_text a.item_btn:hover > i {
        animation: i-con 0.3s infinite alternate;
    } 
}

@media (max-width: 1120px) {
    main .section2 .item {padding: 0 0 93.7em 0; position: relative;}
    main > .section2 .title_text {
        position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    }
}

@media (max-width: 900px) {
    main .section2 .itemBox {grid-template-columns: repeat(1, 1fr);}
    main .section2 .item {padding: 0 0 55em 0;}
    main > .section2 .title_text {left: unset; transform: translateY(-50%);}
    main > .section .item01 .title_text {left: 5%;}
    main > .section .item02 .title_text {
        right: 5%; display: flex; flex-direction: column;
        align-items: flex-end; text-align: right;
    }
}

@media (max-width: 600px) {
    main .section2 .item {padding:  0 0 68em 0;}
}




/* section3 */
main .section3 {position: relative;}
main .section3::before {
    content:''; position: absolute; width: 100%;
    bottom: 0; left: 0; background: var(--main-color); z-index: 1;
}
main .section3 .containerV2 {position: relative; z-index: 2; max-width: 1350px;}
main .section3 .title_text {margin-bottom: 8.3em; text-align: center; color: #000;}
main .section3 .title_text b {margin-bottom: 1.5em;}
main .section3 .title_text p.text1 {margin-top: 1em;}

main .section3 .widget_box {width: 100%; max-width: 1200px; margin: 0 auto;}


/* 스크롤 애니메이션 pc */
@media (min-width:1120px) {
    main .section3::before {height: 0; transition: 2s;}
    main .section3 .title_text b {transform: translateY(50%); opacity: 0;}
    main .section3 .title_text h2 {transform: translateY(20%); opacity: 0; transition: all 1s;}
    main .section3 .title_text .ani_text p {transform: translateY(20%); opacity: 0; transition: all 1s;}
    main .section3 .widget_box {transform: translateY(50%); transition: 1s;}

    main .section3.active::before {height: 50vh;}
    main .section3.active .title_text b {animation: title_animation 1s forwards;}
    main .section3.active .title_text h2 {animation: title_animation 1s 0.5s forwards;}
    main .section3.active .title_text .ani_text p {animation: title_animation 1s 1s forwards;}
    main .section3.active .widget_box {transform: translateY(0);}

    @keyframes title_animation {
        to{transform: translateY(0); opacity: 1;}
    }
}

/* 스크롤 애니메이션 mob */
@media (max-width: 1120px) {
    main .section3::before {height: 50vh;}
    main .section3 .title_text b {transition: 1s;}
    main .section3 .title_text h2 {transition: all 1s 0.5s;}
    main .section3 .ani_text p {transition: all 1s 1s;}
    main .section3 .widget_box {transition: all 1s 1s;}

    main .section3 .title_text[data-scroll="out"] b {transform: translateY(20%); opacity: 0;}
    main .section3 .title_text[data-scroll="out"] h2 {transform: translateY(20%); opacity: 0;}
    main .section3 .title_text[data-scroll="out"] .ani_text p {transform: translateY(20%); opacity: 0;}
    main .section3 .widget_box[data-scroll="out"] {transform: translateY(5%); opacity: 0;}
}

@media (max-width: 1340px) {
    main .section3 .containerV2 {padding: 0 15px;}
}

@media (max-width: 1120px) {
    main .section3 {padding: 10em 0;}
}



/* section4 */
main .section4 {position: relative; overflow: hidden;}
main .section4::before {
    content:''; position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; background: url('img/sec03_bg.jpg') no-repeat center center / cover;
    z-index: 1; transition: 1.5s;
}
main .section4 .title_text {position: relative; margin-bottom: 5em; z-index: 2; transition: 1s;}
main .section4 .title_text b {margin-bottom: 1.5em;}
main .section4 .title_text p.text1 {margin-top: 1em;}
main .section4 .widget_box {position: relative; z-index: 2; transition: 1s;}

@media (min-width: 768px) {
    main .section4 .containerV2 {position: relative; padding-top: 12em;}
    main .section4 .title_text {position: absolute; top: 0; left: 0; margin-bottom: 0;}
}

@media (max-width: 1230px) {
    main .section4 .title_text {left: 15px;}
}

@media (max-width: 1120px) {
    main .section4 {padding: 20em 0;}
}


/* 스크롤 애니메이션 pc */
@media (min-width:1120px) {
    main .section4::before {transform: scale(1.2);}
    main .section4 .title_text {transform: translateY(-50%);}
    main .section4 .widget_box {transform: translateY(50%);}

    main .section4.active::before {transform: scale(1); transition-delay: 0.5s;}
    main .section4.active .title_text {transform: translateY(0);}
    main .section4.active .widget_box {transform: translateY(0);}
    
}

/* 스크롤 애니메이션 mob */
@media (max-width: 1120px) {
    main .section4 .title_text b {transition: 1s;}
    main .section4 .title_text h2 {transition: all 1s 0.5s;}
    main .section4 .ani_text p {transition: all 1s 0.8s;}
    main .section4 .widget_box {transition: all 1s 1s;}

    main .section4 .title_text[data-scroll="out"] b {transform: translateY(30%); opacity: 0;}
    main .section4 .title_text[data-scroll="out"] h2 {transform: translateY(30%); opacity: 0;}
    main .section4 .title_text[data-scroll="out"] .ani_text p {transform: translateY(30%); opacity: 0;}
    main .section4 .widget_box[data-scroll="out"] {transform: translateY(5%); opacity: 0;}
}





/* section5 -----------------------------------*/
main .section5 .containerV2 {
    max-width: 100%; height: 100%;
    display: grid; grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 1230px) {
    main .section5 .containerV2 {
        font-size: min(calc(10 / 1630 * 100vw), 10px);
    }
}

/* 왼쪽 -----*/
main .section5 .itemBox01 {
    display: grid; grid-template-columns: 1fr;
}

main .section5 .itemBox01 .title_text {
    background: var(--main-color);
    padding: 14.2em 1.5em 6.8em 12em;
}

main .section5 .itemBox01 .title_text > b {margin-bottom: 1.2em;}
main .section5 .itemBox01 .title_text > h2 {font-size: 5em;}
main .section5 .itemBox01 .title_text > .ani_text {margin: 2em 0 4em; overflow: hidden;}

main .section5 .itemBox01 .title_text > a {
    font-size: 2em; width: 100%; max-width: 108px;
    height: 34px; display: flex; justify-content: space-between;
    gap: 10px; position: relative;
}
main .section5 .itemBox01 .title_text > a:after {
    content:''; position: absolute; 
    bottom: 0; left: 0; width: 100%; height: 1px; background: #fff;
    transition: all 0.3s;
}

main .section5 .itemBox01 .title_text > a > * {color: #fff;}
main .section5 .itemBox01 .title_text > a > i {position: relative; left: 0;}

/* hover */
main .section5 .itemBox01 .title_text > a:hover:after {left: unset; right: 0; width: 0%;}
main .section5 .itemBox01 .title_text > a:hover > i {animation: i-con 0.3s infinite alternate;}
@keyframes i-con {
    to{left: -5px;}
}
main .section5 .itemBox01 .unit_box {
    display: grid; grid-template-columns: repeat(2, 1fr);
}

main .section5 .itemBox01 .unit_box .item_img {
    background: url("img/sec04_img01.jpg") no-repeat center center / cover;
}

main .section5 .itemBox01 .unit_box .item_linkBox {
    padding: 1.5em 4em; display: flex; align-items: center;
    justify-content: center;
}

main .section5 .itemBox01 .item_linkBox .link_list {
     width: 100%; max-width: 360px;
}
main .section5 .itemBox01 .item_linkBox .link_list > li {
    border-bottom: 1px solid #707070;
}
main .section5 .itemBox01 .item_linkBox .link_list > li > a {
    display: flex; padding: 1.5em 1.2em 1.5em 0;
    align-items: center; justify-content: space-between;
    gap: 10px;
}
main .section5 .itemBox01 .item_linkBox .link_list > li > a > * {font-size: 2em; color: #707070; line-height: 1.2;}
main .section5 .itemBox01 .item_linkBox .link_list > li > a > span {position: relative; left: 0; transition: all  0.3s;}

@media (min-width: 991px) {
    main .section5 .itemBox01 .item_linkBox .link_list > li > a:hover > * {
        color: var(--main-color);
    }
    main .section5 .itemBox01 .item_linkBox .link_list > li > a:hover > span {left: 5px;}
}
/* 왼쪽 끝-----*/

/* 오른쪽 */
main .section5 .itemBox02 .item_img {
    width: 100%; height: 100%; position: relative;
    overflow: hidden;
}
main .section5 .itemBox02 .item_img::before {
    content:''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; transition: all 1.5s;
    background: url("img/sec04_bg02.jpg") no-repeat center center / cover;
} 
/* 오른쪽 끝 ------*/



/* 스크롤 애니메이션 pc */
@media (min-width:1120px) {
    main .section5 .title_text b {transform: translateY(-100%); opacity: 0; transition: all 0.7s;}
    main .section5 .title_text h2 {transform: translateX(-10%); opacity: 0; transition: all 1.5s;}
    main .section5 .title_text .ani_text p {transform: translateY(100%); transition: all 1.5s;}
    main .section5 .title_text a.item_btn {transform: translateY(10%); opacity: 0; transition: all 1s;}
    main .section5 .item_linkBox {overflow: hidden;}
    main .section5 .item_linkBox .link_list > li {transform: translateX(-20%); opacity: 0; transition: all 0.7s;}
    main .section5 .itemBox02 .item_img::before {transform: scale(1.2);}

    main .section5.active .item::before {transform: scale(1); transition-delay: 0.5s;}
    main .section5.active .title_text b {transform: translateY(0); opacity: 1;}
    main .section5.active .title_text h2 {transform: translateX(0); opacity: 1; transition-delay: 0.2s;}
    main .section5.active .title_text .ani_text p {transform: translateY(0); transition-delay: 1s;}
    main .section5.active .title_text a.item_btn {transform: translateY(0); opacity: 1; transition-delay: 1.5s;}

    main .section5.active .item_linkBox .link_list > li:nth-child(1) {transform: translateX(0); opacity: 1;}
    main .section5.active .item_linkBox .link_list > li:nth-child(2) {transform: translateX(0); opacity: 1; transition-delay: 0.1s;}
    main .section5.active .item_linkBox .link_list > li:nth-child(3) {transform: translateX(0); opacity: 1; transition-delay: 0.2s;}
    main .section5.active .item_linkBox .link_list > li:nth-child(4) {transform: translateX(0); opacity: 1; transition-delay: 0.3s;}
    main .section5.active .item_linkBox .link_list > li:nth-child(5) {transform: translateX(0); opacity: 1; transition-delay: 0.4s;}
    main .section5.active .item_linkBox .link_list > li:nth-child(6) {transform: translateX(0); opacity: 1; transition-delay: 0.5s;}

    main .section5.active .itemBox02 .item_img::before {transform: scale(1);}
}

/* 스크롤 애니메이션 mob */
@media (max-width: 1120px) {
    main .section5 .title_text b {transition: 0.7s 0.5s;}
    main .section5 .title_text h2 {transition: all 1s 1s;}
    main .section5 .title_text .ani_text p {transition: all 1s 1.5s;}
    main .section5 .title_text a.item_btn {transition: all 1s 2s;}

    main .section5 .item_linkBox .link_list > li {transition: all 0.7s;}
    main .section5 .item_linkBox .link_list > li:nth-child(2) {transition-delay: 0.1s;}
    main .section5 .item_linkBox .link_list > li:nth-child(3) {transition-delay: 0.2s;}
    main .section5 .item_linkBox .link_list > li:nth-child(4) {transition-delay: 0.3s;}
    main .section5 .item_linkBox .link_list > li:nth-child(5) {transition-delay: 0.4s;}
    main .section5 .item_linkBox .link_list > li:nth-child(6) {transition-delay: 0.5s;}

    main .section5 .title_text[data-scroll="out"] b {transform: translateY(-100%); opacity: 0;}
    main .section5 .title_text[data-scroll="out"] h2 {transform: translateX(-10%); opacity: 0;}
    main .section5 .title_text[data-scroll="out"] .ani_text p {transform: translateY(100%); opacity: 0;}
    main .section5 .title_text[data-scroll="out"] a.item_btn {transform: translateY(10%); opacity: 0;}

    main .section5 .item_linkBox .link_list > li[data-scroll="out"] {transform: translateX(-20%); opacity: 0;}
    
}


@media (max-width: 1430px) {
    main .section5 .itemBox01 .title_text {
        display: flex; flex-direction: column; justify-content: center;
        padding: 14.2em 1.5em 6.8em 4em;
    }
    main .section5 .itemBox01 .title_text > h2 br {display: none;}
}

@media (max-width: 1230px) {
    main .section5 .containerV2 {position: relative; padding: 0;}
    main .section5 .itemBox01 {grid-template-rows: repeat(2, 50%);}
    main .section5 .itemBox01 .title_text {
        font-size: min(calc(10 / 1430 * 100vw), 10px);
        padding: 4em 1.5em 0 4em;
    }
    main .section5 .itemBox01 .unit_box {grid-template-columns: 1fr;}
    main .section5 .itemBox01 .unit_box .item_linkBox {
        position: absolute; bottom: 0; right: 0; z-index: 2;
        width: 50%; height: 50%; background: #fff;
    }
}

@media (max-width: 1120px) {
    main .section5 .itemBox02 .item_img {
        font-size: min(calc(10 / 680 * 100vw), 10px);
        height: 93.7em;
    }
}

@media (max-width: 991px) {
    main .section5 .itemBox01 .title_text {
        font-size: min(calc(10 / 1200 * 100vw), 10px);
        padding: 0em 1.5em;
    }
}

@media (max-width: 830px) {
    main .section5 .itemBox01 .title_text {
        font-size: min(calc(10 / 1000 * 100vw), 10px);
    }
}

@media (max-width: 680px) {
    main .section5 .itemBox01 {grid-template-columns: unset;}
    main .section5 .itemBox01 .title_text {
        font-size: min(calc(10 / 600 * 100vw), 10px);
        position: absolute; height: 50%; top: 0; left: 0;
        align-items: center; text-align: center; z-index: 2;
    }
    main .section5 .itemBox01 .title_text > a {
        max-width: 200px; height: 43px; justify-content: center;
        align-items: center; border: 1px solid #fff;
    }
    main .section5 .itemBox01 .title_text > a::after,
    main .section5 .itemBox01 .title_text > a > i {display: none;}
    main .section5 .itemBox01 .unit_box {grid-row: 2; width: 70%;}
    main .section5 .itemBox01 .unit_box .item_linkBox {padding: 1.5em 2em; width: 65%;}
    main .section5 .itemBox02 .item_img {height: 130em; }
    main .section5 .itemBox01 .unit_box .item_img {position: relative;}
    main .section5 .itemBox01 .unit_box .item_img::before {
        content: ''; position: absolute; top: 0; left: 0; width: 100%;
        height: 50%; background: url("img/sec04_bg02.jpg") no-repeat center center / cover;
    
    }
    main .section5 .itemBox01 .unit_box .item_img::after {
        content: ''; position: absolute; bottom: 0; left: 0; width: 100%;
        height: 50%;  background: url("img/sec04_img01.jpg") no-repeat center center / cover;
    }

    main .section5 .itemBox02 .item_img::before {z-index: 1;}
}





/* section6 -------------------------------------*/
main .section6 { position: relative;}
main .section6::before {
    content:''; position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; transition: all 2s;
    background: url("img/sec05_bg.jpg") no-repeat center center / cover; z-index: 1;
}
main .section6 .containerV2 > * {position: relative; z-index: 2;}
main .section6 .title_text {text-align: center; color: #fff; margin-bottom: 5.5em;} 
main .section6 .title_text b {margin-bottom: 1.5em;}
main .section6 .title_text p.text1 {margin-top: 1.5em;}

/* 스크롤 애니메이션 pc */
@media (min-width:1120px) {
    main .section6::before {transform: scale(1.2);}
    main .section6 .title_text b {transform: translateY(50%); opacity: 0;}
    main .section6 .title_text h2 {transform: translateY(20%); opacity: 0; transition: all 1s;}
    main .section6 .title_text .ani_text p {transform: translateY(20%); opacity: 0; transition: all 1s;}
    main .section6 .form_box {transform: translateY(50%); opacity: 0; transition: 1s;}

    main .section6.active::before {transform: scale(1); transition-delay: 0.5s;}
    main .section6.active .title_text b {animation: title_animation6 1s forwards;}
    main .section6.active .title_text h2 {animation: title_animation6 1s 0.5s forwards;}
    main .section6.active .title_text .ani_text p {animation: title_animation6 1s 1s forwards;}
    main .section6.active .form_box {transform: translateY(0); opacity: 1;}

    @keyframes title_animation6 {
        to{transform: translateY(0); opacity: 1;}
    }
}

/* 스크롤 애니메이션 mob */
@media (max-width: 1120px) {
    main .section6::before {transition: all 2s;}
    main .section6 .title_text b {transition: 1s;}
    main .section6 .title_text h2 {transition: all 1s 0.5s;}
    main .section6 .ani_text p {transition: all 1s 1s;}
    main .section6 .form_box {transition: all 1s 1s;}

    main .section6[data-scroll="out"]::before {transform: scale(1.2); transition-delay: 0.5s;}
    main .section6 .title_text[data-scroll="out"] b {transform: translateY(20%); opacity: 0;}
    main .section6 .title_text[data-scroll="out"] h2 {transform: translateY(20%); opacity: 0;}
    main .section6 .title_text[data-scroll="out"] .ani_text p {transform: translateY(20%); opacity: 0;}
    main .section6 .form_box[data-scroll="out"] {transform: translateY(5%); opacity: 0;}
}

@media (max-width: 1120px) {
    main .section6 { padding: 8em 0 12em; }
    main .section6 .titleBox {margin-bottom: 5em;}
    main .section6 .widget_box {position: relative; margin-top: 0;}
    main .section6 .widget_box .plus_btn {position: absolute; right: 0; top: -9em;} 
}






/*--------------------------------------------------- 인덱스세팅 끝 ----------------------------------------------------------------------------*/



/*--------------------------------------------------- 푸터세팅 ----------------------------------------------------------------------------*/
/* footer.php에서 적용 */
/*--------------------------------------------------- 푸터세팅 끝 ----------------------------------------------------------------------------*/



/* 서브페이지 패딩 */
.tmt_sub_frame { 
    padding:40px 0 50px; min-height: 90vh;
}


/* 게시판 및 게시판헤드 등 기타 버튼들 기본컬러 변경 */
.btn.btn-color {border: 1px solid var(--main-color); background-color: var(--main-color);}
.btn.active.btn-color, .btn.btn-color:hover, .btn.btn-color:focus, .btn.btn-color:active {background-color: var(--main-color);}
.border-color, i.border-color, img.border-color {border-color: var(--main-color);}

/* 모달 z-index높이기 (해드에 가려지는 경우 발견해서) */
.modal { z-index: 9999; }
.modal-backdrop { z-index: 9998; }

#style-switcher .widget-setup { top: 155px !important; }
