/* 메인 페이지 공통 */
.hide {display: none;}
.container {width: 73.9%; margin: 0 auto;}
html {scroll-behavior: smooth;}
main {width: 100%; overflow: hidden;}


/* 인트로 */
#intro {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--color-gray-0);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: var(--font-size-body1);
}
#intro .content-wrap {
    overflow: hidden;
}
#intro .content-wrap div {
    overflow: hidden;
}
#intro .intro-logo{
    margin-bottom: 18px;
}

/* header */
header.main {
    width: 100%;
    height: 90px;
    position: fixed;
    top: 0;
    left: 0;
    color: var(--color-white);
    font-weight: var(--font-weight-M);
    transition: 0.3s;
    z-index: 997;
}
header.main:hover .ham-btn span {
    background-color: var(--color-gray-0);
}
.header-wrap {
    width: 74%;
    height: 100%;
    align-items: center;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}
.logo {
    width: 118.75px;
    height: 50px;
}
.header-right {
    display: flex;
    align-items: center;
}
.header-wrap nav ul {
    display: flex;
    gap: 70px;
    margin-right: 62px;
}
.header-wrap nav ul li {position: relative;}
.header-wrap nav ul li::before {
    content: '';
    width: 0%;
    height: 2px;
    background-color: var(--color-primary-1);
    position: absolute;
    top: -5px;
    left: 0;
    transition: 0.3s;
}
.header-wrap nav ul li:hover {
    color: var(--color-primary-1);
}
.header-wrap nav ul li:hover::before{
    width: 30%;
}
.header-right > nav > ul > li > a {
    font-size: var(--font-size-body3);
}
.lang {
    position: relative;
}
.lang p {
    font-size: var(--font-size-sub3);
    cursor: pointer;
}
.lang p span img{ vertical-align: middle;}
.lang ul {
    width: 200%;
    height: 70px;
    margin: 0 auto;
    border: 1px solid #eee;
    position: absolute;
    left: -50%;
    text-align: center;
    line-height: 35px;
    background-color: var(--color-white);
    color: var(--color-gray-0);
    display: none;
    z-index: 9;
}
.ham-btn {
    width: 30px;
    height: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    margin-left: 29px;
    padding: 5px 0 10px;
    position: relative;
}
.ham-btn span {
    width: 100%;
    height: 3px;
    border-radius: 10px;
    background-color: var(--color-white);
    display: block;
    transition: 0.5s;
    transform-origin: center;
}
.ham-btn span:first-child {
    position: relative;
    top: 50%;
}
.ham-btn span:last-child{
    position: relative;
    top: 50%;   
}
.li-hover {
    width: 100%;
    height: 318px;
    color: var(--color-gray-0);
    background-color: var(--color-white);
    position: absolute;
    top: 90px;
    left: 0;
    display: flex;
    display: none;
    overflow: hidden;
    box-shadow:  0 3px 6px #00000015;
}
.li-hover .imgarea {
    width: 36.5%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background-image: url(../images/headerimg.jpg);
    background-position: center;
    background-size: cover;
}
.li-hover .imgarea p {
    text-transform: uppercase;
    font-weight: var(--font-weight-B);
    font-size: 9.375rem;
    color: #ffffff30;
    position: absolute;
    bottom: -52px;
    left: -12px;
    line-height: var(--line-height-140);
}
.li-hover .menu {margin: 24px 0 0 7.5%;}
.li-hover .menu > ul {display: flex; gap: 65px;}
.li-hover .menu > ul > li {
    font-size: var(--font-size-body3);
    font-weight: var(--font-weight-M);
}
.li-hover .menu > ul > li ul {font-weight: var(--font-weight-R); font-size: var(--font-size-cap1); color: var(--color-gray-40);}
.li-hover .menu > ul > li ul li {margin-top: 20px;}
.li-hover.li2 ul:last-child,
.li-hover.li5 ul:last-child{
    margin-top: 30px;
}
/* 이미지 설정 */
.li-hover.li1 .imgarea {background-image: url(../images/headerimg.jpg);}
.li-hover.li2 .imgarea {background-image: url(../images/headerimg1.jpg);}
.li-hover.li3 .imgarea {background-image: url(../images/headerimg2.jpg);}
.li-hover.li4 .imgarea {background-image: url(../images/headerimg3.jpg);}
.li-hover.li5 .imgarea {background-image: url(../images/headerimg4.jpg);}
/* //이미지 설정 */

/* 푸터 */
footer {
    height: 307px;
    background-color: var(--color-gray-0);
    color: var(--color-white);
}
footer .container .foot_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 38px 0 14px;
}
footer .container .foot_top ul {
    display: flex;
    font-size: var(--font-size-body3);
    gap: 70px;
}
footer .container .br {
    width: 100%;
    height: 1px;
    background-color: var(--color-gray-40);
}
footer .container .icon_area {
    display: flex;
    gap: 13px;
    margin: 14px 0 73px;
}
footer .container .foot_bottom ul {
    display: flex;
    gap: 10px;
    font-size: var(--font-size-cap2);
    color: var(--color-gray-40);
}
footer .container .copyright {
    margin-top: 5px;
    font-size: var(--font-size-cap2);
    color: var(--color-gray-40);
    display: flex;
    justify-content: space-between;
}
footer .container .copyright div {
    display: flex;
    font-size: var(--font-size-cap2);
    color: var(--color-gray-80);
    gap: 10px;
}
footer .container .copyright div address {font-style:inherit;}


/* 햄버거 영역 */
.ham-area::before {
    content: '';
    width: 100%;
    height: 90px;
    background-color: var(--color-gray-0);
    position: absolute;
    top: -90px;
    left: 0;
    z-index: 998;
}
.ham-area {
    width: 100%;
    height: calc(100vh - 90px);
    background-color: var(--color-gray-0);
    position: fixed;
    left: 0;
    top: -100%;
    z-index: 990;
    transition: 0.5s;
}
.ham-area .hamBG {
    width: 100%;
    height: 100%;
    background-image: url(../images/hambg.png);
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}
.ham-area .hamBG .container {display: flex; justify-content: space-between;}
.ham-area .hamBG .container > ul {
    display: flex;
    width: 100%;
    justify-content: space-between;
    font-size:45px;
    /* font-size: var(--font-size-h2); */
    line-height: var(--line-height-140);
    font-weight: var(--font-weight-M);
}
.ham-area .hamBG .container .onedh > ul {margin-top: 30px;}
.ham-area .hamBG .container .onedh > ul .twodh {
    font-size: var(--font-size-body1);
    font-weight: var(--font-weight-M);
    line-height: var(--line-height-150);
    margin-bottom: 30px;
}
.ham-area .hamBG .container .onedh > ul .twodh > ul {margin-top: 20px;}
.ham-area .hamBG .container .onedh > ul .twodh > ul .thrdh {
    font-size: var(--font-size-body3);
    font-weight: var(--font-weight-M);
    line-height: var(--line-height-150);
    margin-bottom: 15px;
    color: var(--color-gray-70);
}
/* 햄버거 영역 */


/* main page start */
body {color: var(--color-white); width: 100%; height: auto; overflow-x: hidden;}


/* sec0 */
#sec0 {
    width: 100%;
    height: 100vh;
    background-image: url(../images/mainbg1.jpg);
    background-position: center;
    background-size: cover;
    overflow: hidden;
    position: relative;
    transform-origin: center;
}
#sec0 .container p {
    font-size: var(--font-size-h1);
    color: var(--color-white);
    font-weight: var(--font-weight-B);
    margin-top: 500px;
}
#sec0 > p {
    font-size: var(--font-size-body3);
    color: var(--color-white);
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    text-transform: uppercase;
}



/* sec1 */
#sec1 {
    width: 100%;
    height: 100vh;
    background-image: url(../images/mainbg2.jpg);
    background-position: center;
    background-size: cover;
    overflow: hidden;
}
#sec1 .container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#sec1 .container > .sec_1-tire {
    display: flex;
    margin-top: 150px;
    font-size: var(--font-size-h1);
    justify-content: space-between;
}
#sec1 .container > .sec_1-tire > div {
    display: flex;
    align-items: center;
}
#sec1 .container > .sec_1-tire > div > div {
    width: 206px;
    height: 3px;
    border-radius: 1.5px;
    background-color: var(--color-white);
    margin-left: 68px;
}
#sec1 .container > .sec_1-text {
    margin-bottom: 175px;
    text-align: right;
}
#sec1 .container > .sec_1-text p:first-child {
    font-size: var(--font-size-body1);
    color: var(--color-gray-80);
}
#sec1 .container > .sec_1-text p:last-child {
    margin-top: 10px;
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-B);
    line-height: var(--line-height-140);
}

/* sec2 */
#sec2 {
    width: 100%;
    height: 100vh;
    background-image: url(../images/mainbg3.jpg);
    background-position: center;
    background-size: cover;
    overflow: hidden;
}
#sec2 .container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#sec2 .container > .sec_2-tire {
    display: flex;
    margin-top: 150px;
    font-size: var(--font-size-h1);
    justify-content: space-between;
}
#sec2 .container > .sec_2-tire > div {
    display: flex;
    align-items: center;
}
#sec2 .container > .sec_2-tire > div > div {
    width: 206px;
    height: 3px;
    border-radius: 1.5px;
    background-color: var(--color-white);
    margin-left: 68px;
}
#sec2 .container > .sec_2-text {
    margin-bottom: 175px;
    text-align: right;
}
#sec2 .container > .sec_2-text p:first-child {
    font-size: var(--font-size-body1);
    color: var(--color-gray-80);
}
#sec2 .container > .sec_2-text p:last-child {
    margin-top: 10px;
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-B);
    line-height: var(--line-height-140);
}

/* sec3 */
#sec3 {
    width: 100%;
    height: 100vh;
    background-image: url(../images/mainbg4.jpg);
    background-position: center;
    background-size: cover;
    overflow: hidden;
}
#sec3 .container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#sec3 .container > .sec_3-tire {
    display: flex;
    margin-top: 150px;
    font-size: var(--font-size-h1);
    justify-content: space-between;
}
#sec3 .container > .sec_3-tire > div {
    display: flex;
    align-items: center;
}
#sec3 .container > .sec_3-tire > div > div {
    width: 206px;
    height: 3px;
    border-radius: 1.5px;
    background-color: var(--color-white);
    margin-left: 68px;
}
#sec3 .container > .sec_3-text {
    margin-bottom: 175px;
    text-align: right;
}
#sec3 .container > .sec_3-text p:first-child {
    font-size: var(--font-size-body1);
    color: var(--color-gray-80);
}
#sec3 .container > .sec_3-text p:last-child {
    margin-top: 10px;
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-B);
    line-height: var(--line-height-140);
}

#sec1:hover, #sec2:hover, #sec3:hover{
    cursor: pointer;
}

/* sec4 */
#sec4 {
    width: 100%;
    background-color: var(--color-white);
    overflow: hidden;
    position: relative;
}
#sec4 > p {
    position: absolute;
    width: 100%;
    top: 300px;
    left: 0;
    color: var(--color-gray-10);
    text-align: center;
    font-size: 6.25rem;
    font-weight: var(--font-weight-B);
    transform: scale(3);
    transition: all 1s;
}
#sec4 > p.on {
    position: fixed;
    top: 30%;
}
#sec4 .container {overflow: hidden;}
.sec_4-product {
    display: flex;
    justify-content: space-between;
    margin-top: 802px;
    position: relative;
    z-index: 222;
}
#sec4 .bottom-black {
    width: 100%;
    margin-top: 100vh;
    background-color: var(--color-gray-0);
}
.sec_4-product > div {display: flex; align-items: center;}
.sec_4-product > div p {
    font-size: var(--font-size-h1);
    color: var(--color-white);
    font-weight: var(--font-weight-B);
    margin-right: 124px;
}
.sec_4-product > div > div {
    width: 206px;
    height: 3px;
    border-radius: 1.5px;
    background-color: var(--color-white);
}
.sec_4-product > p {
    font-size: var(--font-size-h1);
    color: var(--color-white);
    font-weight: var(--font-weight-B);
}
.product-con {
    width: 82.7%;
    height: 2852px;
    margin: 122px auto 170px;
    position: relative;
}
.product-con > div {
    width: 38.2%;
    /* width: 450px; */
    height: 100%;
    max-height: 630px;
    position: absolute;
    background-position: center;
    background-size: cover;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.product-con > div > .bg {
    position: absolute;
    top: 0;
    left: 0;
}
.product-con .text-area {
    padding: 0 0 30px 40px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    height: 100%;
}
.product-con .text-area > p:nth-of-type(1) {
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-B);
    color: var(--color-white);
}
.product1 {
    top: 0;
    right: 0;
}
.product2 {
    top: 561px;
    left: 0;
}
.product3 {
    top: 1100px;
    right: 0;
}
.product4 {
    top: 1661px;
    left: 0;
}
.product5 {
    top: 2222px;
    right: 0;
}

/* sec5 */
#sec5 {
    width: 100%;
    height: 100vh;
    background-color: var(--color-white);
    color: var(--color-gray-0);
    overflow: hidden;
}
#sec5 .container > p {
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-B);
    padding: 257px 0 91px;
}
.news-wrap{display: flex; margin-bottom: 245px;}
.news-wrap > div {
    width: 454px;
    height: 553px;
    flex-basis: 454px;
    flex-grow: 0;
    flex-shrink: 0;
    padding: 43.5px 57px;
}
.news-wrap > div:not(.news7) {
    border-right: 2px solid var(--color-gray-80);
}
.news-wrap > div img {
    width: 100%;
    height: 100%;
}
.news-text-area {
    padding: 30px 0 10px;
}
.news-text-area > h3 {
    font-size: var(--font-size-body2);
    color: var(--color-gray-10);
    font-weight: var(--font-weight-M);
    line-height: var(--line-height-140);
    margin-bottom: 10px;
    cursor: pointer;
}
.news-text-area > p {
    font-size: var(--font-size-body3);
    color: var(--color-gray-40);
    line-height: var(--line-height-140);
    margin-bottom: 40px;
}
.news-text-area > a {
    all: unset;
    text-transform: uppercase;
    font-size: var(--font-size-cap2);
    color: var(--color-gray-10);
    font-weight: var(--font-weight-M);
    cursor: pointer;
}


/* view more 마우스커서 */
main {
    position: relative;
}
#viewmore {
    width: 200px;
    height: 200px;
    border: 2px solid var(--color-white);
    border-radius: 50%;
    background-color: #ffffff30;
    position: absolute;
    line-height: 200px;
    font-size: var(--font-size-body1);
    text-align: center;
    z-index: 2;
    cursor: pointer;
    opacity: 0;
}


/* 미디어 쿼리 */

/* 태블릿 */
@media screen and (max-width: 1300px) {
    /* 컨테이너, 헤더 */
    .container, .header-wrap {width: 86.5%;}
    .header-wrap nav ul {display: none;}
    header .lang {display: none;}

    /* 푸터 */
    footer {height: 422px;}
    footer .container .foot_top ul {display: none;}
    footer .container .icon_area {
        margin: 14px 0 201px;
    }
    footer .container .copyright {position: relative;}
    footer .container .copyright div {
        position: absolute;
        bottom: 65px;
        left: 0;
        flex-direction: column;
    }

    /* 햄버거 */
    .ham-area .hamBG {
        background-color: #191919;
        background-image: none;
        display: flex;
        align-items: flex-start;
        justify-content: center;
    }
    .ham-area .hamBG .container > ul {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        font-size: var(--font-size-sub2);
    }
    .ham-area .hamBG .container .onedh {
        margin-left: 1.4%;
        padding-top: 20px;
        width: 100%;
    }
    .ham-area .hamBG .container .onedh.open {
        color: var(--color-primary-1);
    }
    .ham-area .hamBG .container .onedh > ul {
        margin-top: 8.6px;
        width: 100%;
        margin-left: -1.4%;
        background-color: var(--color-gray-20);
        padding: 20px 0 0 1.4%;
        display: none;
        overflow: hidden;
    }
    .ham-area .hamBG .container .onedh > ul .twodh {
        margin-bottom: 20px;
        font-size: var(--font-size-body3);
        color: var(--color-white);
    }
    .ham-area .hamBG .container .onedh > ul .twodh > ul {margin-top: 10px;}
    .ham-area .hamBG .container .onedh > ul .twodh > ul .thrdh {
        font-size: var(--font-size-cap1);
        margin-bottom: 10px;
    }
    .ham-area .twodh:hover > a,
    .ham-area .thrdh:hover a {
        color: var(--color-primary-1);
    }

    /* sec0 */
    #sec0 .container p {font-size: var(--font-size-h2);}

    /* 금호타이어 */
    #sec1 .container > .sec_1-tire {
        flex-direction: column;
    }
    #sec1 .container > .sec_1-tire > div {
        flex-direction: column;
        align-items: flex-start;
    }
    #sec1 .container > .sec_1-tire > div > div {
        margin: 0;
    }
    #sec1 .container > .sec_1-text p:first-child {
        display: none;
    }
    #sec1 .container > .sec_1-text p:last-child {
        font-size: var(--font-size-sub1);
        text-align: left;
    }

    /* 금호경영 */
    #sec2 .container > .sec_2-tire {
        flex-direction: column;
    }
    #sec2 .container > .sec_2-tire > div {
        flex-direction: column;
        align-items: flex-start;
    }
    #sec2 .container > .sec_2-tire > div > div {
        margin: 0;
    }
    #sec2 .container > .sec_2-text p:first-child {
        display: none;
    }
    #sec2 .container > .sec_2-text p:last-child {
        font-size: var(--font-size-sub1);
        text-align: left;
    }

    /* 금호마케팅 */
    #sec3 .container > .sec_3-tire {
        flex-direction: column;
    }
    #sec3 .container > .sec_3-tire > div {
        flex-direction: column;
        align-items: flex-start;
    }
    #sec3 .container > .sec_3-tire > div > div {
        margin: 0;
    }
    #sec3 .container > .sec_3-text p:first-child {
        display: none;
    }
    #sec3 .container > .sec_3-text p:last-child {
        font-size: var(--font-size-sub1);
        text-align: left;
    }

    /* 금호제품 */
    #sec4 > p {
        font-size: 2.81rem;
    }
    #sec4 > p.on {top: 45%;}
    .sec_4-product {flex-direction: column;}
    .sec_4-product > div {
        flex-direction: column;
        align-items: flex-start;
    }
    .sec_4-product > div > div {
        margin: 0;
    }
    .product-con {
        width: 100%;
        margin: 122px 0 185px 0;
    }
    .sec_4-product {
        margin-top: 277px;
    }
    .product-con > div {
        width: 351px;
        height: 492px;
    }
    .product-con .text-area > p:nth-of-type(1) {
        font-size: var(--font-size-sub2);
        font-weight: var(--font-weight-M);
    }

    /* 금호뉴스 */
    #sec5 {width: 100vh; overflow: hidden;}
    #sec5 .container > p {
        font-size: var(--font-size-h2);
        font-weight: var(--font-weight-B);
        padding: 100px 0 45px;
    }
    .news6, .news7 {
        display: none;
    }
}

/* 모바일 */
@media screen and (max-width: 667px) {
    /* 인트로 */
    #intro {
        font-size: var(--font-size-body3);
    }

    /* 컨테이너 */
    .container {width: 89.7%;}
    h1 img {
        width: 80%;
    }
    footer .foot_top img {
        width: 80%;
    }

    /* 햄버거 */
    .ham-area .hamBG .container > ul {
        font-size: var(--font-size-body1);
    }
    .ham-area .hamBG .container .onedh > ul .twodh {
        font-size: var(--font-size-body3);
    }
    .ham-area .hamBG .container .onedh > ul .twodh > ul .thrdh {
        font-size: var(--font-size-cap1);
    }

    /* 메인비주얼 */
    #sec0 .container p {
        font-size: var(--font-size-sub2);
    }

    /* 금호타이어 */
    #sec1 .container {
        justify-content: flex-end;
        gap: 20px;
    }
    #sec1 .container > .sec_1-tire {
        font-size: var(--font-size-sub1);
    }
    #sec1 .container > .sec_1-text {
        margin-bottom: 230px;
        line-height: var(--line-height-150);
    }
    #sec1 .container > .sec_1-text p:last-child {
        font-size: var(--font-size-body3);
        font-weight: var(--font-weight-M);
    }

    /* 금호경영 */
    #sec2 .container {
        justify-content: flex-end;
        gap: 20px;
    }
    #sec2 .container > .sec_2-tire {
        font-size: var(--font-size-sub1);
    }
    #sec2 .container > .sec_2-text {
        margin-bottom: 230px;
        line-height: var(--line-height-150);
    }
    #sec2 .container > .sec_2-text p:last-child {
        font-size: var(--font-size-body3);
        font-weight: var(--font-weight-M);
    }

    /* 금호마케팅 */
    #sec3 .container {
        justify-content: flex-end;
        gap: 20px;
    }
    #sec3 .container > .sec_3-tire {
        font-size: var(--font-size-sub1);
    }
    #sec3 .container > .sec_3-text {
        margin-bottom: 230px;
        line-height: var(--line-height-150);
    }
    #sec3 .container > .sec_3-text p:last-child {
        font-size: var(--font-size-body3);
        font-weight: var(--font-weight-M);
    }

    /* 금호제품 */
    #sec4 > p {
        font-size: 1.5rem;
    }
    .sec_4-product > div p {
        margin: 0;
        font-size: var(--font-size-sub1);
    }
    .sec_4-product > p {
        font-size: var(--font-size-sub1);
    }
    .product-con .text-area {
        padding: 0 0 30px 0;
        width: 100%;
        justify-content: center;
    }

    /* 금호뉴스 */
    #sec5 {
        height: auto;
    }
    #sec5 .container > p {
        font-size: var(--font-size-h2);
        font-weight: var(--font-weight-B);
        padding: 100px 0 55px;
    }
    .news-wrap{margin-bottom: 133px;}
    .news-wrap > div {
        border: 0;
        padding: 0;
        width: 257px;
        height: 397px;
        flex-basis:auto;
        margin-right: 23px;
    }
    .news-text-area {padding: 0;}
    .news-text-area > h3 {
        padding: 12px 0;
        font-size: var(--font-size-body3);
        font-weight: var(--font-weight-B);
        margin: 0;
    }
    .news-text-area > p {
        font-size: var(--font-size-cap1);
        margin: 0;
        padding: 10px 0 30px;
        overflow: hidden;
    }
}