/* animation */
@import url(./animation.css);

/* font */
@import url(https://cdn.jsdelivr.net/gh/moonspam/NanumSquare@1.0/nanumsquare.css);
@import url(//fonts.googleapis.com/earlyaccess/jejugothic.css);

/* root */
:root {
    /* Color */
    --color-primary: #d14d32;
    --color-white: #ffffff;
    --color-black: #2b2b2b;
    --color-accent: #f18872;
    --color-light-gray: #7c7979;
    --color-dark-gray: #2b2b2b;
    
    /* Font-size */
    --font-large: 3em;
    --font-medium: 1.5em;
    --font-regular: 16px;
    --font-small: 14px;
    --font-micro: 12px;
    
    /* Font-weight */
    --weight-bold: 700;
    --weight-medium: 400;
    --weight-light: 100;
    
    /* ETC */
    --border-radius: 4px;
    --margin-top: 20px;
    --animation-duration: 300ms;
    --max-width:1140px;
}

/* common */
html,body, .main_slide{
    font-size: var(--font-regular);
    background: var(--color-white)
}

html, header, body, h1, h2, h3, h4, h5, h6, p, a, p, div, ul, li{
    font-family: 'NanumSquare', sans-serif;
    text-decoration: none;
    user-select: none;
    box-sizing: border-box;
    -webkit-tap-highlight-color : transparent;
}

h2 {
    font-size: var(--font-large);
    font-weight: var(--weight-bold);
    margin-bottom: 20px;
}

section h2::before{
    content: '\00a0';
    height: 50px;
    background: var(--color-primary);
    margin-right: 10px;
}

h3 {
    font-size: var(--font-medium);
    margin-bottom: 10px;
}

section{
    width: 1140px;
    margin: 0 auto;
    height: 100vh;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

section.inner_section,
footer{
    display: flex;
    align-items: center;
}

footer > .content {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

footer small{
    font-size: 12px;
    padding: 0 10px;
}

footer ul li:not(:last-child){
    margin-bottom: 20px;
    font-size: 14px;
}

/* iphone input 스타일 제거 */
input {
    border-radius: 0;
    -webkit-border-radius: 0;
}

.hide{
    font-size: 0;
    width: 0;
    height: 0;
    line-height: 0;
    position: absolute;
    visibility: hidden;
}

.block{
    height: 70px;
}

.btn {
    width: 150px;
    height: 40px;
    border: 1px solid transparent;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 10px;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.btn:hover{
    border: 1px solid var(--color-primary);
    background-color: transparent;
    color: var(--color-primary);
}

/* header */
header {
    width: 100%;
    padding: 0;
    background-color: var(--color-primary); 
    position: fixed;
    z-index: 99999;
    transition: all 0.2s ease-in-out;
}

header > nav {
    width: 1140px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

header > nav > .logoBox {
    width: 150px;
    height: 40px;
    background: center/contain url('../img/logo/logo_header.svg') no-repeat;
    position: relative;
    z-index: 12;
    cursor: pointer;
}

header > nav > .menuBar{
    cursor: pointer;
    width: 30px;
    height: 25px;
}

header > nav > .menuBar div{
    width: 30px;
    height: 3px;
    background: var(--color-white);
    position: relative;
    z-index: 12;
    transition: all 0.2s ease;
}

header > nav > .menuBar div:not(:last-child){
    margin-bottom: 8px;
}

header > nav > .menuBar div:first-child{ background: #fff;}
header > nav > .menuBar div:nth-child(2){ width: 26px;}
header > nav > .menuBar div:last-child{ width: 20px;}

header > nav > .menuBar:hover div:first-child{ width: 20px;}
header > nav > .menuBar:hover div:nth-child(2){ width: 24px;}
header > nav > .menuBar:hover div:last-child{ width: 30px;}

header > nav > .menuBar.active div:first-child{ visibility: hidden; opacity: 0;}
header > nav > .menuBar.active div:nth-child(2){ width: 30px; transform: rotate(45deg); }
header > nav > .menuBar.active div:last-child{ width: 30px; transform: translate(0%, -360%) rotate(-45deg);}

/* menu_area */
header > nav > .menu_area { 
    position: absolute; 
    top: 0; 
    left: 0;
    width: 100%; 
    display: flex; 
    height: 100vh;
    align-items: center; 
    justify-content: center;
    flex-direction: column;
    z-index: 11;
    background-color: rgba(0,0,0,0.7);
}

header > nav > .menu_area > h2 {
    color: var(--color-white);
    font-size: var(--font-large);
    font-weight: var(--weight-bold);
    cursor: pointer;
    opacity: 1;
}

header > nav > .menu_area > h2:not(:last-child) {
    margin-bottom: 50px;
}

header > nav > .menu_area.open > h2 {
    transition: all 0.2s ease-in-out;
    animation: text-focus-in 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
}

header > nav > .menu_area.open > h2:hover{
    transform: scale(1.2);
}

section.fullWidth {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

section .sectionInner{
    max-width: var(--max-width);
    width: 100%;
}

section.sec1{
    width: 100%;
    display: block;
    background-color: #2b2b2b;
    height: 100%;
}

.sec1 .mainSlide{
    position: relative;
}

.sec1 .mainSlideLogo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 70px);
}

.sec1 .mainSlideLogo img{
    width: 50%;
    max-width: 420px;
}

.sec1 .mainSlideLogo.ani{
	-webkit-animation: jello-horizontal 0.9s 1s both;
	        animation: jello-horizontal 0.9s 1s both;
}

.sec1 .mainSlide > div{
    height: 100vh;
    color: #fff;
}

.sec1 .content{
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

.sec1 .content > .contentArea{
    width: 100%;
    height: 100vh;
    margin: 0 auto;
    display: flex;
}

.sec1 .content .contentTitle {
    width: 50%;
    font-size: 60px;
    font-family: 'Jeju Gothic', sans-serif;
    line-height: 90px;
    padding: 150px 50px;
}

.sec1 .content .contentTitle p{
    text-transform: uppercase;
    font-size: 3.75vw;
    letter-spacing: 0.9375vw;
    line-height: 135%;
}

.sec1 .content .contentTitle p.titleKr:before {
    content: "";
    display: block;
    width: 2px;
    height: 40px;
    margin: 20px;
    background: #fff;
}

.sec1 .content .contentArea.left p.titleKr:before {
    margin-left: 0;
}

.sec1 .content .contentTitle p.titleKr:before {
    content: "";
    display: block;
    width: 2px;
    height: 40px;
    margin: 20px;
    background: #fff;
}

.sec1 .content .contentArea.right .contentTitle p{
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.sec1 .content.ani .contentArea.right .contentTitle,
.sec1 .content.ani .contentArea.left .contentImg{
    animation: mainTitle 1s 0s both;
}

.sec1 .content.ani .contentArea.right .contentImg,
.sec1 .content.ani .contentArea.left .contentTitle{
    animation: mainTitle_r 1s 0s both;
}

.sec1 .content .contentImg{
    width: 50%;
}

.sec1 .content .contentImg div {
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
}

.sec1 .mainSlide:nth-child(4) .contentImg img:nth-child(1){
    -webkit-animation: shake-vertical 10s cubic-bezier(.455,.03,.515,.955) .0s infinite both;
    animation: shake-vertical 10s cubic-bezier(.455,.03,.515,.955) .0s infinite both;
}

.sec1 .mainSlide:nth-child(4) .contentImg img:nth-child(2){
    -webkit-animation: shake-vertical 10s cubic-bezier(.455,.03,.515,.955) .2s infinite both;
    animation: shake-vertical 10s cubic-bezier(.455,.03,.515,.955) .2s infinite both;
}

.sec1 .mainSlide:nth-child(4) .contentImg img:nth-child(3){
    -webkit-animation: shake-vertical 10s cubic-bezier(.455,.03,.515,.955) .4s infinite both;
    animation: shake-vertical 10s cubic-bezier(.455,.03,.515,.955) .4s infinite both;
}

.sec1 .mainSlide:nth-child(4) .contentImg img:nth-child(4){
    -webkit-animation: shake-vertical 10s cubic-bezier(.455,.03,.515,.955) .6s infinite both;
    animation: shake-vertical 10s cubic-bezier(.455,.03,.515,.955) .6s infinite both;
}

.sec2 > div {
    display: flex;
}

.sec2 > div > div {
    flex-basis: 50%;
}

.sec3 .bg{
    background: url('../img/intro1.jpg') center/cover no-repeat fixed;
    width: 100%;
}
.sec3 ul {
    display: flex;
    justify-content: space-between;
}

.sec3 .sectionInner{
    margin: 100px auto;
}

.sec3 ul li {
    width: 28%;
    height: 450px;
    border: 2px solid #ccc;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    line-height: 30px;
    background-color: var(--color-white);
}

.sec3 ul li .titleNum{
    position: absolute;
    top: 0;
    left: 0;
    background: var(--color-primary);
    width: 50px;
    height: 50px;
    border-bottom-right-radius: 20px;
    color: var(--color-white);
    font-size: var(--font-medium);
    text-align: center;
    line-height: 50px;
}

.sec3 ul li img {
    width: 90px;
    margin-bottom: 15px;
    filter: invert(41%) sepia(25%) saturate(3313%) hue-rotate(338deg) brightness(85%) contrast(90%);
    transition: all 0.2s ease-in-out;
}

.sec3 ul li:hover img {
    transform: scale(1.1);
}

.sec5 .bgSlide div {
    width: 100%;
    height: 800px;
}

.sec5 .bgSlide:nth-child(1) div {
    background: url('../img/main1.png') center/cover no-repeat;
}

.sec5 .bgSlide:nth-child(2) div {
    background: url('../img/main2.png') center/cover no-repeat;
}

.sec5 .bgSlide:nth-child(3) div {
    background: url('../img/main3.jpg') center/cover no-repeat;
}
.sec5 .bgSlide:nth-child(4) div {
    background: url('../img/main4.jpg') center/cover no-repeat;
}
.sec5 .bgSlide:nth-child(5) div {
    background: url('../img/main5.jpg') center/cover no-repeat;
}
.sec5 .bgSlide:nth-child(6) div {
    background: url('../img/main6.jpg') center/cover no-repeat;
}

.sec6 .bg {
    background: url('../img/sec6_bg.jpg') center/cover no-repeat fixed;
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    min-height: 700px;
    align-items: center;
}

.sec6 h2{
    width: var(--max-width);
    text-align: left;
}
.sec6 .bg .opacity{
    background-color: rgba(0,0,0,0.5);
    z-index: 2;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.sec6 .provideArea {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    z-index: 3;
    position: relative;
}

.sec6 .provideArea .provide{
    display: flex;
    width: 300px;
    height: 100px;
    margin: 20px;
}

.sec6 .provideArea .provide div{
    display: flex;
    justify-content: center;
    align-items: center;
}

.sec6 .provideArea .provide div:first-child{
    width: 100px;
    height: 100px;
    background-color: var(--color-primary);
}

.sec6 .provideArea .provide div:last-child{
    flex-basis: 70%;
    width: 100%;
    background: var(--color-white);
}

.sec7 ul li{
    margin-bottom: 30px;
}

.sec7 .fullArea{
    width: 100%;
    height: 100%;
    position:absolute;
    background-color: rgba(0,0,0,0.7);
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sec7 ul.full{
    filter: blur(2px);
}

.sec7 ul li label{
    display: flex;
    flex-direction: column;
    font-size: var(--font-medium);
    margin: 10px 0;
}

.sec7 ul li label input[type='text']{
    margin-top: 10px;
    width: 100%;
    height: 40px;
    border: none;
    border-bottom: 1px solid var(--color-primary);
}

.sec7 ul li label p{
    color: var(--color-primary);
    cursor: pointer;
    display: contents;
}

.sec7 ul li label span{
    color: var(--color-primary);
    font-size: var(--font-micro);
    display: contents;
    padding-left: 10px;
}

.sec7 textarea{
    width: 100%;
    height: 70px;
    border-color: #ccc;
    color: gray;
    resize: none;
}

.sec7 ul li:last-child{
    display: flex;
    justify-content: center;
    align-items: center;
}

/* back-to-top */
.backtotop{
    position: fixed;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    right: 20px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    z-index: 999;
    font-size: var(--font-large);
    width: 25px;
    color: #c2c2c2;
}
.backtotop svg{
    height: 20px;
}
.backtotop p{
    font-size: var(--font-regular);
    color: var(--color-dark-gray);
}

.backtotop:hover{
    transform: scale(1.3);
}

footer a, footer svg{
    color: #494949;
}

#react-kakao-maps-sdk-map-container {
    pointer-events: none;
}

/* mobile */
@media only screen and (max-width:1024px) {    
    header > nav,
    section,
    footer { 
        width: 100%;
    }
    section{
        min-height: 70vmin;
        height: 100%;
    }
    /* header */
    header{
        padding: 0 20px;
    }

    h2 {
        font-size: 30px!important;
        text-align: center;
    }

    h3 {
        font-size: 20px!important;
        text-align: left;
        text-align: center;
    }

    .block{
        height: 60px;
    }

    header + .block{
        height: 70px;
    }

    .sec1 .content > .contentArea{
        flex-direction: column;
    }
    .sec1 .content .contentArea.right .contentTitle{
        order:2
    }
    .sec1 .content .contentTitle,
    .sec1 .content .contentImg{
        width: 100%;
        height: 50%;
    }
    .sec1 .content .contentTitle{
        padding: 40px 20px;
    }
    .sec1 .content .contentTitle p{
        font-size: 4.75vw;
    }
    .sec2 > div {
        flex-direction: column;
        align-items: center;
    }

    .sec3 ul{
        flex-direction: column;
        align-items: center;
    }

    .sec3 ul li{
        width: 90%;
        margin-bottom: 30px;
        height: 300px;
    }
    
    .sec3 ul li img{
        width: 70px;
    }

    .sec4 h3{
        font-size: 16px!important;
    }

    .sec5 .bgSlide div{
        height: 400px;
    }

    .sec6 h2{
        width: 100%;
        text-align: center;
    }
    .sec7 ul{
        padding: 0 15px;
    }
    
    .sec7 ul li label{
        font-size: 16px;
    }
    .sec3 .bg,
    .sec6 .bg{
        background-attachment: unset;
    }
    footer .backtotop{
        font-size: 30px;
    }

}