@charset 'utf-8';

/* 메인 공통 */
.main-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition-property: width;
    transition-duration: 1s;
    transition-timing-function: ease
}
.main-wrap .main-text-area.text-center {
    text-align: center
}
#main-activities .main-wrap {
    margin-top: 4%;
    justify-content: space-between;
}
#main-company .main-wrap {
    margin-top: 4%;
}
.main-row {
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.main-wrap .flex-column {
    flex-direction: column
}
.main-title-en {
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 22px
}
.main-title {
    font-size: 36px;
    font-weight: 300;
    line-height: 1.4;
    transition-property: font-size;
    transition-duration: 1s;
}
.main-title strong {
    font-weight: inherit;
    font-size: inherit;
    font-weight: bold
}
.main-text-area p:first-of-type {
    margin-top: 35px
}
.main-wrap img {
    width: 100%;
}

/*button*/
.btn-area {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
}

.link {
    cursor: pointer;
    font-size: 18px;
    position: relative;
    white-space: nowrap;
    color: #D9D9D9;
    font-weight:300;
}
.link:hover{
    color:#fff
}

.link::before,
.link::after {
    position: absolute;
    width: 100%;
    height: 1px;
    background: #fff;
    top: 100%;
    left: 0;
    pointer-events: none;
}

.link::before {
    content: '';
    /* show by default */
}

.link--carpo {
    text-transform: uppercase;
}

.link--carpo::before {
    transform-origin: 0% 50%;
    transform: scale3d(0, 1, 1);
    transition: transform 0.3s;
    top: calc(100% + 8px);
}

.link--carpo:hover::before {
    transform: scale3d(1, 1, 1);
}

.link--carpo::after {
    content: '';
    top: calc(100% + 12px);
    transition: transform 0.3s;
    transform-origin: 100% 50%;
}

.link--carpo:hover::after {
    transform: scale3d(0, 1, 1);
}


/*font-style*/
:lang(en) {
    font-family: 'Martel', serif;
    font-weight: 600;
}

.txt20 {
    font-size: 25px;
}

.txt18 {
    font-size: 18px;
}

.section h3,
.section h4,
.section span,
.section strong,
.section p,
.section pre {
    color: #D9D9D9
}


 /* 말줄임 적용 */
/* 한줄 적용 */
.ellipsisA {
    width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; 
}

    /* 여러줄 말줄임 적용 */
.ellipsisB{
    display: -webkit-box;
    word-wrap: break-word;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    /* height: 88px; */
}

/*pager*/
.scroll,
.section .page-control{
    position: absolute;
    right: 5%;
}
.scroll{    
    bottom: 80px
}

.scroll img{
    width:100%
}

.page-control{
    top:50%;
    transform: translateY(-50%);
    right:30px;
}
.page-control button{
    display: block;
}

.page-control .scroll-down{
    margin-top: 66px;
}

.scroll,
.page-control .scroll-up,
.page-control .scroll-down{
    transition: all 0.5s ease;
    transform: translate(0, 0)
}

.scroll:hover,
.page-control .scroll-down:hover{
    transform: translate(0, 10px);
}

.page-control .scroll-up:hover{
    transform: translate(0,-10px);
}

/*  메인 공통 미디어쿼리 */
@media all and (max-width:1366px) {
    .scroll,
    .section .page-control{
       right:5%
    }
}
@media all and (max-width:1200px) {
    .main-wrap {
        width: 80%;
        margin: 0 auto
    }

    #main-visual .main-wrap {
        width: 90%
    }

    .main-row {
        width: 100%;
    }
    .scroll,
    .section .page-control{
        right:60px
    }
}

@media all and (max-width:1000px) {
    .main-wrap {
        width: 80%;
    }

    #main-philosophy1 .main-wrap {
        width: 80%
    }

    .main-title,
    .main-title-en {
        text-align: center
    }
    .section .page-control{
        right:5%
    }
    .scroll {
        display: none;
    }
    .link--carpo::before{
        display: none;
    }
    .link--carpo:hover::before,
    .link--carpo:hover::after  {
       transform: none;
    }
}

@media all and (max-width:640px) {
    .main-wrap {
        padding: 90px 0;
        width: 80%;
    }
    .btn-area{
        bottom:40px
    }
    .link {
        font-size: 14px;
    }
    .link--carpo::after {        
        top: calc(100% + 4px);
    }
    .scroll{
        width:20px;
        bottom:6%
    }
    .section .page-control {
        display: none;
    }

}



/* 메인 비주얼 */
#main-visual {
    overflow-x: hidden;
    background: top center / cover url("/public/images/main/main-bg1.png") no-repeat;
}

#main-visual .main-wrap {
    flex-direction: column;
    position: relative;
}

#main-visual .txt-bi {
    display: flex;
    align-items: center;
    margin: 80px 0 28px
}

#main-visual .txt-bi strong {
    font-family: 'Noto Serif KR', serif;
    font-size: 30px;
    font-weight: 500;
    color: #fff;
    padding: 0 20px
}

#main-visual .txt-bi img {
    width: 10%;
}

#main-visual p {
    text-align: center;
    font-size: 20px;
}


@media all and (max-width:1000px) {
    #main-visual p br{
        display:block
    } 
}


@media all and (max-width:640px) {
    #main-visual .main-wrap h2{
        width:56%;
    }
    #main-visual .txt-bi{
        margin:40px 0 10px
    }
    #main-visual .txt-bi strong{
        font-size: 18px;
        padding:0 10px
    }
    #main-visual .txt-bi img{
        width: 3%;
    }
    #main-visual p{
        font-size: 13px;
    }
}


/* 메인 philosophy*/
#main-philosophy1 {
    background: center / cover url("/public/images/main/main-bg2.png") no-repeat;
}

#main-philosophy2 {
    background: center / cover url("/public/images/main/main-bg3.png") no-repeat;
}

#main-philosophy3 {
    background: center / cover url("/public/images/main/main-bg4.png") no-repeat;
}

#main-philosophy4 {
    background: center / cover url("/public/images/main/main-bg5.png") no-repeat;
}

.main-row .mtitle h3 {
    font-size: 50px;
    line-height:1;
    color: #fff;
    margin-bottom: 10px;
}

.main-row .mtitle span,
.font-net {
    font-family: 'NEXON Lv2 Gothic', sans-serif;
    font-size: 15px;
}

.main-row .subdesc strong {
    color: #fff;
    font-size: 25px;
    font-weight: 600;
}

.main-row .subdesc p {
    font-size: 18px;
    margin-top: 36px;
    line-height: 1.5;
}

/*  메인 philosophy 미디어쿼리 */
@media all and (min-width:1201px) {
    #main-philosophy1 .main-row,
    #main-philosophy2 .main-row,
    #main-philosophy3 .main-row,
    #main-philosophy4 .main-row {
        align-items: flex-start;
        max-width: 1215px;
    }

    #main-philosophy1 .mtitle {
        width: 100%;
    }

    #main-philosophy2 .main-row {
        flex-direction: column-reverse;
    }

    #main-philosophy2 .mtitle {
        padding-left: 70%;
    }

    #main-philosophy2 .mtitle {
        padding-left: 70%;
    }

    #main-philosophy3 .main-row {
        margin-left: 60%;
    }

    #main-philosophy3 .mtitle {
        margin-bottom: 100px;
    }

    #main-philosophy1 .subdesc,
    #main-philosophy2 .mtitle,
    #main-philosophy4 .subdesc {
        margin-top: 190px;
        padding-left: 70%;
    }
    #main-philosophy1 .subdesc{
        padding-left: 67%;
    }
}

@media all and (max-width:1200px) {
    #main-philosophy1 .main-row,
    #main-philosophy2 .main-row,
    #main-philosophy3 .main-row,
    #main-philosophy4 .main-row{
        align-items: flex-start;
    }
    #main-philosophy1 .main-title br {
        display: none;
    }
    #main-philosophy1 .subdesc,
    #main-philosophy2 .subdesc,
    #main-philosophy3 .subdesc,
    #main-philosophy4 .subdesc{
        margin-top: 140px;
    }
}

@media all and (max-width:768px) {
    .main-row .mtitle h3{
        margin-bottom: 0;
    }
    .main-row .subdesc p {
        margin-top: 20px;
    }
}
@media all and (max-width:640px) {
    #main-philosophy1 .subdesc, #main-philosophy2 .subdesc, #main-philosophy3 .subdesc, #main-philosophy4 .subdesc{
        margin-top: 70px;
    }
    .main-row .mtitle h3{
        font-size: 27px;
    }
    .main-row .subdesc p {
        margin-top: 20px;
    }
    .main-row .subdesc strong{
        font-size: 18px;
    }
    .main-row .subdesc p{
        font-size: 14px;
        margin-top: 10px;
        line-height: 1.3;
    }
}





/* 메인 COMPANY */
#main-company {
    background: center / cover url("/public/images/main/main-bg6.png") no-repeat;
}

#main-company .main-row {
    justify-content: center;
    text-align: center;
}

#main-company .tov-goal strong {
    font-size: 25px;
    color: #fff;
    font-weight: 700;
    display: block;
}

#main-company .tov-goal p {
    font-size: 18px;
    margin-top: 36px;
}

#main-company .tov-value {
    margin: 70px 0 60px
}

#main-company .tov-value span {
    position: relative;
    font-size: 18px;
    display: inline-block;
}

#main-company .tov-value span:nth-of-type(2) {
    margin: 0 60px;
}

#main-company .tov-value span::after {
    content: "";
    display: block;
    margin: 0 auto;
    width: 31px;
    height: 2px;
    background: #fff;
    text-align: center;
    margin-top: 10px;
}

#main-company .tov-saying {
    font-size: 15px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 60px;
}

#main-company .tov-saying span {
    display: block;
    margin-top: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
}

#main-company .main-ci {
    width: 87px;
}

/*  메인 COMPANY  미디어쿼리 */
@media all and (max-width:1000px) {
    #main-company .tov-goal p br,
    #main-company .tov-saying br{
        display: block;
    }
}
@media all and (max-width:640px) {
    #main-company .tov-goal strong {font-size: 20px;}
    #main-company .tov-goal p{
        font-size: 14px;
        margin-top: 20px;
    }
    #main-company .tov-value{
        display: flex;
        flex-direction: column;
        margin:40px 0 50px
    }
    #main-company .tov-value span{
        font-size: 12px;
    }
    #main-company .tov-value span:nth-of-type(2){
        margin: 20px 0;
    }

    #main-company .tov-value span::after{
        width:26px;
        height:1px;
        margin-top: 2px;
    }
    #main-company .tov-saying{
        font-size: 11px;
        margin-bottom: 30px;
    }
    #main-company .tov-saying span{
        margin-top: 10px;
    }
}


/* 메인 notice */
#main-notice {
    background: center center / cover url("/public/images/main/main-bg7.png") no-repeat;
}

#main-notice .main-row {
    max-width: 1514px;
}

#main-notice .hdtitle {
    text-align: center;
    margin-bottom: 52px;
}

#main-notice .hdtitle h3 {
    font-size: 50px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 7px;
    line-height: 1;
}
.notice-slide {
    width:100%;
    margin:0 auto;
}
.notice-slide .slick-slide{
margin:0 20px
}

.notice-slide .list{
    position: relative;
    display: block; 
    transition: all 0.5s cubic-bezier(0.25, 1.7, 0.35, 1.5);     
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);

}
.notice-slide .list a{
    display: block;
    width: 100%;
    height: 100%;
    padding: 37px 34px;
}

.notice-slide .list:hover{
    -webkit-box-shadow: 10px 10px 24px rgba(0, 0, 0, 0.054);
    box-shadow: 10px 10px 24px rgba(0, 0, 0, 0.054);
    -webkit-transform: translate3d(0, 2px, 0);
    transform: translate3d(0, 2px, 0);
}

#main-notice .category {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

#main-notice .hdline {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin: 26px 0 27px;
    width:98%;
}
#main-notice p {  
    line-height: 1.4;
    font-size: 16px;
    color:#C8C8C8
}

#main-notice .data {
    position: absolute;
    left:34px;
    bottom:37px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

@media all and (min-width:1200px) {
    .notice-slide .list{
        height: 317px;
    }
}
@media all and (max-width:1000px) {
    #main-notice .hdline {
        font-size: 20px;
        margin: 20px 0 20px;
    }
    .notice-slide .list{
        height: 300px;
    }
}
@media all and (max-width:640px) {
    #main-notice .hdtitle h3 {
        font-size: 27px;
    }
    .notice-slide .slick-slide{
        margin:0 10px
    }
    .notice-slide .list{
        height:290px
    }
    .notice-slide .list a{
        padding:30px 20px
    }
    .notice-slide .list .ellipsisB {
        -webkit-line-clamp: 4;
    }
    #main-notice .hdline{
        font-size: 18px;
        margin:5px 0 20px
    }
    #main-notice p{
        font-size: 16px;
    }
    #main-notice .data{
        left:20px
    }
    
}