
.main {
    position: relative;
    z-index:1;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

/* index visual*/
.visual {
    overflow: hidden;
    height: 100vh;
}

.visual_box {
    width: 100%;
    height: 100%;
    background: url(/resources/images/index/visual.jpg) no-repeat right / cover;
}

.visual .line::before {
    content: '';
    display: block;
    width: 50px;
    height:3px;
    background: #fff;
    margin-bottom: 57px;
    
}

.main .visual h2 {
    position: relative;
    height: 100%;

}

.main .visual h2 img {
    height: 100%;
    object-fit: cover;
}

.main .visual .txt {
    position: absolute;
    top:60%;
    font-size:3em;
    color:white;
    font-family: 'GmarketSansMedium';
}

.main .visual .txt img {
    width: 425px;
    margin:0px 0.175em 0 0.25em;
    vertical-align: sub;
}

/* // index visual*/

/* index section 공통사항 */
.main .section {
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.main .visual_section {
    display: block;
}


.section :not(.visual) h2 {
    margin: 0.625em 0 0.575em;
    color: #7F7F7F;
    font-size: 1.5625em;
    font-family: "IBM Plex Sans KR-semibold";
}



.section h3 {
    margin-bottom: 20px;
    font-size: 2.5em;
    font-family: 'IBM Plex Sans KR-semibold';

}

.main .section .txt {
    font-size: 20px;
    line-height: 1.5;
}

.main .visual .txt {
    display: block;
    font-size: 2.8125em;
    text-shadow: 0 0 black;
    width: calc(100% - 30px);
}
/* //index section 공통사항 */


.main .company {
    padding-top: 70px;
}
.main .company .txt {
    padding-bottom: 1.25em;
}

/* more버튼 */
.more {
    display: flex;
    width: 125px;
    height: 50px;
    font-size:15px;
    border: 1px solid #707070;
    border-radius: 18px;
    box-shadow: 0px 3px 6px rgba(0,0,0,16%);
    justify-content: center;
    align-items: center;
    gap:10px
}


.main .company .more {
    margin-bottom: 50px; 
}

.more:hover {
    color:#fff;
    border-color: #3675FF;
    background:#3675FF;
    box-shadow:none;
}
/* //more버튼 */


.main .company .item {
    gap: 20px;
}

.main .company .item .item_wrap {
    width: calc((100% - (20px*3)) / 4);
    font-size: 1.25em;
}
.main .company .item img {
    box-shadow: 5px 5px 5px rgba(0,0,0,16%);
    margin-bottom: 10px;
}




/* INDEX 2번째 섹션 */

.main .motors {
    display: flex;
    height:100%;
    background: linear-gradient(90deg, rgba(46,94,204,1) 0%, rgba(135,106,191,1) 100%);
    gap:160px;
    align-items: center;
}

.main .motors .inner_wrap {
    align-items: center;
    gap:160px;
    padding-top: 70px;
}

.main .motors .title {
    width: calc((100% - 160px)/3)
}
.main .motors .line::before {
    background: #fff;
}



.main .motors .item {
    width: calc((100% - 160px)/3*2 );
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: space-around;
    align-items: center;
    gap: 30px;
}

.main .motors .item .motor_wrap {
    width: calc(50% - 30px);
    height: calc(50% - 30px);
}

.main .motors .item a {
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    text-align: center;
    background: #fff;
}
.main .motors .item a::after {
    content: "";
    position: absolute;
    top:0;
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,50%)
}

.main .motors .item a img {
    display: inline-block;
    width: 100%;
    height:100%;
    object-fit: cover;
    opacity: 45%;
}

.main .motors .item .more {
    width: 240px;
    height: 65px;
    border: 1px solid #fff;
    border-radius: 18px;
    transform: translateY(500%);
    transition: transform 0.5s;
    margin: 0 auto;
}

.main .motors .item a:hover{
    opacity: 1;
}

.main .motors .item a:hover img {
    opacity: 80%;
    transform: scale(1.1);
}

.main .motors .item a:hover .more {
    transform: translateY(0);
    transition: transform 0.5s;
}

.main .motors .item a div {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
    width: 100%;
}

.main .motors .item a div p:not(.more){
    font-size: 1.875em;
    text-shadow: 5px 2px 5px rgba(0,0,0,16%);
    padding-bottom: 20px;
}




@media screen and (max-width: 1400px){
    .main .motors .inner_wrap {
        gap:20px;
    }


}

@media screen and (min-width: 775px) and (max-width: 1400px){
    .main .motors .inner_wrap {
        gap:50px;
        height: calc(100% - 40px);
    }

    .main .motors .item {
        flex-direction: column;
        width: 100%;
        height: 100%;
    }

    .main .motors .item .motor_wrap {
        height: calc((100% - (20px *3))/4);
    }

}


/* 3번째 섹션 */

.main .hyosung {
    flex-direction: column;
}

.main .hyosung .line::before {
    margin: 0 auto;
}

.main .hyosung .title {
    text-align: center;
    height: calc(100% - (30px * 2) -  400px);
    align-items: center;
    flex-direction: column;
    justify-content: center;
    margin-top: 70px;
}

.main .hyosung .slogan_wrap {
    align-items: center;
    overflow: hidden;
    width: 100%;
    height: 400px;
    background: url("/resources/images/index/hyosung.png")no-repeat top/cover;
}

.main .hyosung .slogan_wrap .slogan {
    font-size: 4.7em;
}
.main .hyosung .slogan_wrap .point {
    height: 100%;
    background: #3675FF;
}

.main .contact {
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap:50px;
}

.main .contact img {
    width: calc(50% - 150px);
    height: 100%;
    object-fit: contain;
}

.main .contact_wrap {
    flex-direction: column;
}

.main .contact_wrap .txt {
    padding-bottom: 40px;
}

.main .contact .more_wrap{
    gap: 20px;
    flex-wrap:wrap;
}
.main .contact_wrap .more {
    border-radius: 0;
    text-align: center;
    width:335px;
    height: 85px;
    font-size: 20px;
}

.main .contact_wrap .more i {
    padding-left: 35px;
}

@media screen and (max-width: 1400px) { 

    .section h3 {
        font-size: 30px;
    }

    .visual .line::before {
        margin-bottom: 10px;
    }

    .main .company .more {
        margin-bottom: 30px;
    }

    .main .visual .txt {
        top: unset;
        bottom: 10%;
        /* width: 70%; */
        font-size: 25px;
    }

    .main .visual .txt img {
        width: 300px;
    }

    .main .visual span {
        display: none;
    }

    .main .company {
        display: flex;
        flex-direction: column;
        align-items: baseline;
        justify-content: center;
        height: 100%;
        padding-top: 70px;
    }

    .main .company .item {
        width: 100%;
        white-space: nowrap;
        overflow-x: scroll;
    }



    .main .company .line p {
        font-size: 16px;
    }

    .main .company .item .item_wrap {
        width:100%;
    }

    .main .company .item .item_wrap img {
        height: 200px;
        object-fit: cover;
    }
    .section :not(.visual) h2 {
        margin: 10px 0;
    }

    .main .motors .item {
        width: calc(100% - 350px);
        gap: 20px;
    }


    .main .motors .inner_wrap .title {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-bottom: 30px;
    }
    
    .main .motors .item .motor_wrap {
        width: 100%;
        height: calc((100% - (20px *3))/4);
    }

    .main .motors .item .txt_wrap {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap:30px;
        width: 100%;
        height: 100%;
    }

    .main .motors .item a div p:not(.more) {
        padding:unset;
        font-size: 20px;
    }

    .main .motors .item .more {
        display: none;
    }

    .main .hyosung .title {
        height: 50%;
    }

    .main .hyosung .slogan_wrap {
        height: 50%;
    }

    .main .hyosung .slogan_wrap .slogan {
        font-size: 40px;
    }

    .main .contact {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 10px;
    }

    .main .contact img {
        width: 100%;
        height: unset;
    }

    .main .contact_wrap .more {
        width: calc((100% - 20px)/2 );
        min-width: 200px;
    }
} 

@media screen and (max-width:776px) {

    .main .company .txt {
        font-size: 16px;
    }

    .main .company .item_wrap p {
        font-size: 14px;
    }

    .line p {
        font-size: 16px;
    }


    .main .section .txt {
        font-size: 20px;
    }

    .main .motors .inner_wrap {
        flex-direction: column;
    }

    .main .motors .item .motor_wrap {
        height: 60px;
    }

    .main .motors .inner_wrap .title {
        width: 100%;
        flex-wrap : wrap;
    }

    .main .motors .item {
        width: 100%;
        gap: 10px;
    }

    .main .motors .item a div p:not(.more) {
        font-size: 16px;
    }


}


@media screen and (max-width:722px) {

    .main .hyosung  .br {
        display: inline-block;
    }
}
@media screen and (max-width:1400px) { 

    .section h3 {
        font-size: 2.1875em;
    }

    .visual .line::before {
        margin-bottom: 30px;
    }



    .main .company .more {
        margin-bottom: 30px;
    }

    .main .visual .txt {
        top: unset;
        bottom: 10%;
        font-size: 30px;
    }


    .main .company {
        display: flex;
        flex-direction: column;
        align-items: baseline;
        justify-content: center;
        height: 100%;
        padding-top: 70px;
    }

    .main .company .item {
        overflow:hidden;
        overflow-x: scroll;
        white-space: nowrap;
        width: 100%;
    }

    .main .company .item .item_wrap {
        width: calc((100% - (20px*1)) / 2);
    }



    .main .company .item .item_wrap img {
        max-height: 200px;
        object-fit: cover;
    }


    .main .motors .inner_wrap .title {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 300px;
        padding-bottom: 60px;
    }



    .main .motors .item .more {
        display: none;
    }

    .main .contact_wrap .more {
        width: 250px;
    }

    .main .motors .item a div p:not(.more) {
        font-size: 20px;
        padding-bottom: 10px;
    }


    .main .hyosung .title {
        height: 50%;
    }

    .main .hyosung .slogan_wrap {
        height: 50%;
    }

    .main .contact {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }

    .main .contact img {
        width: 100%;
        height: unset;
        max-height: 280px;
        object-fit: cover;
    }
} 


@media screen and (max-width: 440px) {
    .main .company .item .item_wrap {
        width: calc((200% - (20px * 1)) / 2);
    }
}

@media screen and (max-width:549px) {
    .main .contact_wrap .more {
        width: 100%;
    }
}

@media screen and (max-width:454px) { 
    .main .visual .txt img {
        width: 260px;
    }
    
    .main .visual .txt {
        bottom: 130px;
        font-size: 19px;
    }
}




.__w-half {
    width: 50%;
}



.present-box .txt {
    display: inline-block;
    width: calc((100%)/4);
    text-align: center;
}


.present-tit {
    font-weight: 500;
}

.present-list {
    background-color: #666;
    color: #fff;
}

.present-box {
    background-color: #fff;
    width: 990px;
    height: calc(100vh - 75px - 240px);
    padding: 30px 50px 50px;
    font-family: 'pretendard';
    border-radius: 50px;
    box-shadow: 0 0 40px #2d5ecb;
    position: relative;
    z-index: 1;
}


.slick-slider {
    overflow: hidden;
    height: 100%;
}



.pd_lr {
    padding: 10px 0;
}

.present-box .point {
    height: unset;
    font-weight: 600;
}

@media (max-width: 1600px) {
    .present-box {
        width: 850px;
    }
}

@media (max-width: 1400px) {
    .present-box {
        width: 650px;
    }
}


@media (max-width: 1200px) {
    .present-box {
        padding: 30px; 
    }

    .d_br {
        display: block;
    }
}


@media (max-width: 1024px) {
    .present-box {
        width: 570px;
    }
}

@media (max-width: 950px) {
    .d_br {
        display: none;
    }
    .t_mb-5 {
        margin-bottom: 5px;
    }
    .t_mb-10 {
        margin-bottom: 10px;
    }
    

    .t_w-full {
        width: 100%;
    }
    .t_flex-column {
        flex-direction: column;
    }

    .t_flex-start {
        align-items: flex-start;
    }
    .present-box {
        width: calc(100% - 30px);
        height: calc(100vh - 70px - 250px - 100px);
    }

    .main .section .present-box .txt {
        font-size: 14px;
    }

    
.present-box .txt.point {
    padding: 0;
}
}

@media (max-width: 480px) {
    .current .m_br {
        display: block;
    }
}
@media (max-width: 420px) {
    .m_br {
        display: block;
    }
    .present-box {
        width: calc(100% - 40px);
        padding: 20px;
    }

    .main .section .present-box .txt {
        font-size: 12px;
    }

    .m_mb-30 {
        margin-bottom: 30px;
    }
}

@media (max-width: 380px) {
    .present-box {
        width: calc(100% - 20px);
        padding: 10px;
        border-radius: 0;
    }
}
