/* 스크롤바 없애기 */

body {
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
    display: none;
}

/* -----header------ */

header {
    width: 100%;
    border-bottom: 1px solid rgba(2, 2, 2, .4);
}

nav {
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    position: fixed;
    width: 100%;
    z-index: 100;
    font-size: 1.7rem;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    box-sizing: border-box;
}

.nav_hover {
    font-size: 1.7rem;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    position: fixed;
    background-color: white;
    width: 100%;
    height: 330px;
    top: 0;
    left: 0px;
    z-index: 1000;
    box-sizing: border-box;
}

.logo {
    padding: 0px 50px;
}

.menu>li {
    float: left;
    width: 25rem;
    height: 100px;
    text-align: center;
    line-height: 100px;
    cursor: pointer;
    font-family: 'S-CoreDream-6Bold';
}

.sub_menu>li>a {
    display: block;
    width: 25rem;
    height: 50px;
    text-align: center;
    line-height: 50px;
    font-family: 'S-CoreDream-4Regular';
    font-size: 1.6rem;
}

.sub_menu>li>a:hover {
    background-color: #fcb017;
    color: white;
}

/* -----nav_popup--------- */

.nav_popup{
    display: none;
    width: 50%;
    height: 100%;
    background-color: #fff;
    position: fixed;
    top: 0px;
    right: 0px;
    z-index: 100000;
    padding: 50px 100px;
    text-align: right;
}

.nav_pop_main{
    margin-top: 150px;
}

.nav_pop_main li{
    font-family: 'S-CoreDream-5Medium';
    font-size: 5rem;
    margin: 50px 0px;
}

.nav_pop_sub{
    display: none;
}

.nav_pop_main .nav_pop_sub li{
    font-family: 'S-CoreDream-3Light';
    font-size: 2.7rem;
    margin: 20px 0px;
    transition: all .5s;
}

.nav_m{
    cursor: pointer;
    position: relative;
}

.nav_m.on>span{
    color: #fcb017;
}

.nav_pop_sub li:hover{
    color: #fcb017;
}

/* nav_btn */

.nav_btn{
    display: inline-block;
    width: 50px;
    height: 40px;
    position: fixed;
    top: 50px;
    right: 100px;
    cursor: pointer;
    z-index: 99999999;
}

.nav_btn span{
    display: inline-block;
    width: 50px;
    height: 3px;
    background-color: #fff;
    position: absolute;
    right: 0px;
}

.bar1{
    top: 0px;
}

.bar2{
    top: 15px;
}

.bar3{
    top: 30px;
}

.nav_hover_btn span{
    background-color: #222;
}

.nav_pop_exit{
    width: 50px;
    height: 50px;
    position: fixed;
    top: 65px;
    right: 100px;
    cursor: pointer;
}

.nav_pop_exit span{
    display: inline-block;
    width: 50px;
    height: 3px;
    background-color: #222;
    position: absolute;
    right: 0px;
}

.nav_pop_exit .bar1{
    top: 0px;
    transform: rotate(0deg);
    transition: all 1s;
}

.nav_pop_exit .bar3{
    top: 0px;
    transform: rotate(0deg);
    transition: all 1s;
}

/* ----section1----- */

.section1 {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slide {
    /* padding-top: 106px; */
    height: 100vh;
    position: relative;
    box-sizing: border-box;
}

.slide img {
    height: 100vh;
}

.slide_text {
    position: absolute;
    top: 40%;
    left: 20%;
}

/* 슬라이드 좌우버튼 */

.slide button {
    position: absolute;
    z-index: 10;
    top: 68%;
}

.slide button.slick-prev {
    left: 27%;
}

.slide button.slick-prev:before {
    content: "\e93c";
    font-family: 'xeicon';
}

.slide button.slick-next {
    right: 70%;
}

.slide button.slick-next:before {
    content: "\e93f";
    font-family: 'xeicon';
}

/* 슬라이드 도트 페이지 */

.slick-dots li button:before {
    display: none;
}

.slick-dots {
    bottom: 31%;
    left: -27%;
}

.slick-dots li {
    margin: 0 10px;
    width: 12px;
    height: 12px;
    border: 1px solid white;
    border-radius: 50%;
    transition: .5s all;
}

.slick-dots li.slick-active {
    width: 30px;
    background-color: white;
    border-radius: 7px;
}

/* 슬라이드 애니메이션 */

.slide1.slick-active .slide_text {
    animation-name: text;
    animation-duration: 2s;
    animation-iteration-count: 1;
    animation-fill-mode: both;
}

.slide2.slick-active .slide_text {
    animation-name: text;
    animation-duration: 2s;
    animation-iteration-count: 1;
    animation-fill-mode: both;
}

.slide3.slick-active .slide_text {
    animation-name: text;
    animation-duration: 2s;
    animation-iteration-count: 1;
    animation-fill-mode: both;
}

.slide1.slick-active img {
    animation-name: zoom;
    animation-duration: 6s;
    animation-iteration-count: 1;
    animation-fill-mode: both;
}

.slide2.slick-active img {
    animation-name: zoom;
    animation-duration: 6s;
    animation-iteration-count: 1;
    animation-fill-mode: both;
}

.slide3.slick-active img {
    animation-name: zoom;
    animation-duration: 6s;
    animation-iteration-count: 1;
    animation-fill-mode: both;
}

@keyframes zoom {
    0% {
        transform: scale(1.2);
    }

    /* 20% { transform: scale(1.2);} */
    100% {
        transform: scale(1);
    }
}

@keyframes text {
    0% {
        opacity: 0;
        transform: translateX(-200px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/*  */

.s1_text {
    font-size: 9rem;
    font-family: 'S-CoreDream-6Bold';
    color: #fcb017;
}

.s1_line span {
    display: inline-block;
    border: 1px solid white;
    width: 200px;
}

.s1_line {
    padding-left: 10px;
    margin-bottom: 15px;
}

.s1_context {
    color: white;
    font-family: 'S-CoreDream-5Medium';
    font-size: 2.5rem;
    padding-left: 10px;
}

.s1_context1 {
    font-family: 'S-CoreDream-5Medium';
    font-size: 2.5rem;
    padding-left: 10px;
}

/* -----section2----- */

.section2 {
    width: 100%;
    height: 870px;
    padding: 50px 0px;
    box-sizing: border-box;
}

h2 {
    font-family: 'S-CoreDream-6Bold';
    text-align: center;
    padding-top: 100px;
    font-size: 5rem;
}

.s2_bg {
    width: 100%;
    height: 100%;
    background: url(../images/main_company_bg.png) no-repeat;
    background-position: 15% 50%
}

.s2_port {
    display: flex;
    padding-top: 150px;
}

.s2_context {
    flex: 2;
}

.s2_context2 {
    flex: 1;
    text-align: center;
    position: relative;
}

.s2_title {
    font-family: 'S-CoreDream-6Bold';
    font-size: 3rem;
}

.s2_text,
.s2_eng {
    font-family: 'S-CoreDream-3Light';
    font-size: 2rem;
    padding-top: 30px;
}

.s2_more {
    display: inline-block;
    border: 1px solid #222;
    margin-top: 30px;
    padding: 2px 5px;
    font-family: 'S-CoreDream-3Light';
    font-size: 2rem;
    transition: all .5s;
}

.s2_more:hover {
    border: 1px solid #fcb017;
    background-color: #fcb017;
    color: white;
}

.s2_key,
.s2_key2 {
    font-family: 'S-CoreDream-7ExtraBold';
    font-size: 4rem;
}

.s2_add {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-100%, -50%);
}

.s2_plus {
    display: inline-block;
    width: 50px;
    height: 10px;
    background-color: #fcb017;
    position: absolute;
}

.s2_plus2 {
    display: inline-block;
    width: 50px;
    height: 10px;
    background-color: #fcb017;
    transform: rotate(90deg);
    position: absolute;
}

.s2_key2 {
    margin-top: 160px;
}

.s2_key span {
    color: #fcb017;
}

.s2_key2 span {
    color: #fcb017;
}

.s2_text_768{
    display: none;
}

.s2_eng_768{
    display: none;
}

/* -------section3------- */

.section3 {
    width: 100%;
    height: 870px;
    padding: 50px 0px;
    box-sizing: border-box;
    background-color: rgba(252, 176, 23, .1);
}

.section3 ul {
    display: flex;
    flex-wrap: wrap;
    margin-top: 150px;
    justify-content: space-between;
    text-align: center;
}

.section3 ul li p {
    margin-top: 30px;
    font-size: 2rem;
    cursor: default;
}

.section3 ul li:hover img {
    opacity: .5;
}

/* -----section4----- */

.section4 {
    width: 100%;
    height: 870px;
    padding: 50px 0px;
    box-sizing: border-box;
}

.s4_contain {
    margin-top: 80px;
    display: flex;
    justify-content: space-between;
}

.s4_contain>div {
    width: 500px;
    height: 500px;
    /* margin: 0px 60px; */
    position: relative;
    cursor: pointer;
}

.s4_contain img{
    width: 100%;
    height: 100%;
}

.s4_black {
    width: 100%;
    height: 100%;
    background-color: #222;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: .5s all;
}

.s4_text {
    color: white;
    font-family: 'S-CoreDream-6Bold';
    font-size: 2.5rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: .5s all;
}

.s4_contain>div:hover .s4_black {
    opacity: .7;
}

.s4_contain>div:hover .s4_text {
    opacity: 1;
}

/* -------footer------- */

footer {
    width: 100%;
    margin-bottom: 30px;
    padding-top: 20px;
    border-top: 1px solid #aaa;
}

.foot {
    display: flex;
}

footer ul {
    display: flex;
    flex-wrap: wrap;
    padding: 10px 0px;
    box-sizing: border-box;
}

footer ul li span {
    display: inline-block;
    width: 1px;
    height: 13px;
    background-color: #777;
}

footer ul li {
    color: #777;
    font-size: 1.4rem;
    margin-right: 2rem;
}

/* ------top btn------ */

.material-icons {
    font-size: 50px;
}

.top {
    position: fixed;
    top: 85%;
    right: 5%;
    display: inline-block;
    width: 50px;
    height: 50px;
    text-align: center;
    border: 1px solid #222;
    border-radius: 50%;
    background-color: white;
    z-index: 100000;
}

.top_icon {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translate(-50%, 0%);
}

.top_text {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translate(-50%, 0%);
    font-size: 1.2rem;
}