/* 폰트 연결  */
/*노토산스 코리아*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&display=swap');

/*스투폰트*/
@import url('https://cdn.jsdelivr.net/gh/sun-typeface/SUIT@2/fonts/variable/woff2/SUIT-Variable.css');

/*폰트어썸*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css");

/*프리텐다드*/
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");

/*플레이페어*/
@import url('https://fonts.googleapis.com/css2?family=Playfair:ital,opsz,wdth,wght@1,5..1200,87.5..112.5,300..900&display=swap');

/* 공통 스타일 */

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    position: relative;
}

img {
    display: block;
    width: 100%;
    object-fit: cover;
}

li {
    list-style: none;

}

a {
    color: inherit;
    display: inline-block;
    text-decoration: none;

}

/* 해더스타일 */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 45px;
    position: fixed;
    z-index: 100;
    background-color: #ffffff;
    width: 100%;
    height: 80px;
    padding: 15px 30px 15px 30px;
    box-sizing: border-box;
    text-transform: uppercase;
    top: 0;
    left: 0;
    border-bottom: 1px solid #4b4b4ba6;
}

header img {
    width: auto;
}

header .menu {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 30px;
    max-width: 1300px;
    width: 100%;
    padding: 0px 20px 0 20px;
    box-sizing: border-box;
}

header .icons {
    display: flex;
    gap: 20px;

}

header .icons .icon {
    display: block;
    width: 20px;
    overflow: visible;
}

header .icons .bar-btn {
    width: 20px;
}

/*헤더 메뉴 강조*/

header .menu-li.active a {
    color: #000000;
    font-weight: 500;
}

header .menu-li.active a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: #009223;
}

/*헤더 반응형 스타일*/

@media (max-width: 1000px) {

    body {
        padding-top: 70px;
    }

    header {
        height: 70px;
    }

    header .menu {
        display: none;
    }

    header .logo {
        margin: 0 auto;
    }

    header .icons {
        position: absolute;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: center;
        left: 0;
        width: 100%;
        padding: 30px;
        box-sizing: border-box;
    }

    header .icons .shop {
        order: 5;
    }

    header .icons .bar {
        order: 0;
    }
}

@media (max-width: 700px) {
    header .icons .shop {
        display: none;
    }
}


/* 폰트스타일 */

body {
    font-size: 14px;
    line-height: 22px;
    color: #242424;
    padding-top: 80px;
}

h1 {
    font-family: 'SUIT Variable', sans-serif;
    font-size: 120px;
    font-weight: 700;
}

h2 {
    font-family: 'SUIT Variable', sans-serif;
    font-size: 35px;
    margin-bottom: 50px;
    font-weight: 300;
}

h3 {
    font-family: 'SUIT Variable', sans-serif;
    font-size: 25px;
    font-weight: 300;
}

h4 {
    font-family: pretendard, sans-serif;
    font-size: 18px;
    font-weight: 400;
    opacity: 1;
}

h5 {
    font-family: pretendard, sans-serif;
}

h6 {
    font-family: pretendard, sans-serif;
}

p {
    font-family: pretendard, sans-serif;
    opacity: 0.6;
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 12px;
}

/* 공통스타일 */

.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    border: none;
}

input,
textarea {
    background-color: transparent;
    outline: none;
    border: none;
    border-bottom: 1px solid #cfcfcf;
    padding: 12px 10px;
    box-sizing: border-box;
    display: block;
    width: 100%;
    color: inherit;
}

input:focus,
textarea:focus {
    border-bottom-color: #009223;
}

button,
.btn {
    position: relative;
    border: 1px solid #333333;
    font-family: pretendard, sans-serif;
    font-size: 14px;
    width: 200px;
    height: 50px;
    border-radius: 25px;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: inherit;
    cursor: pointer;
}

.page-title {
    height: 400px;
}

.page-title img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-title h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    letter-spacing: 10px;
    text-transform: uppercase;
}

.btn .black {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    background-color: #009223;
    width: 0px;
    height: 100%;
    transition: 0.4s;
    border-radius: 25px;
    opacity: 0;
}

.main .text-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.btn .text {
    transition: 0.4s;
}

.btn:hover .black {
    width: 100%;
    opacity: 1;
}

.btn:hover .text {
    color: white;
}

/* 푸터스타일 */

footer {
    width: 100%;
    height: 100%;
    background-color: #f2f2f2;
    color: #010101;
    padding: 100px 0;
    box-sizing: border-box;
}

footer img {
    width: auto;
    margin: 0 auto 20px;
}

footer .container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    text-align: center;
    height: auto;
    border: inherit;
    margin: 0 auto;
}

footer .container .item1 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer .container .item2 {
    display: flex;
    flex-direction: column;
    border-left: 1px solid #010101;
    border-right: 1px solid #010101;
}



footer .container .item {
    height: auto;
    width: 100%;
    align-items: center;
    padding: 40px;
    box-sizing: border-box;
}

footer .input-box {
    max-width: 250px;
    margin: 0 auto 20px;
}

footer .sns {
    padding: 0px 10px 30px 10px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    gap: 20px;
}

footer h4 {
    font-family: 'SUIT Variable', sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 12px;
}

footer .input-box i {
    position: absolute;
    right: 2px;
    top: 11px;
}

footer .sns i {
    font-size: 25px;
}

footer .sns .icon-img {
    width: 22px;
}

footer .sns .icon-img img {
    width: 100%;
}

@media (max-width:800px) {
    footer .container {
        grid-template-columns: 1fr;
    }

    footer {
        padding: 0;
    }

    footer .container .item2 {
        display: flex;
        flex-direction: column;
        border-left: inherit;
        border-right: inherit;
    }

    footer .container .item3 {

        border-top: 1px solid #010101;
        border-bottom: 1px solid #010101;
    }

    footer .item1 {
        grid-row: 3;
    }

    footer .item2 {
        grid-row: 1;
    }

    footer .item3 {
        grid-row: 2;
    }
}

/* top-btn 스타일 */

.top-btn {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 100;
    background-color: #009223;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 999px;
}

html {
    scroll-behavior: smooth;
}

/* 추가 헤더 스타일 */

.icon-btn {
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

/* 메뉴 모바일 CSS */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: #fff;
    z-index: 200;
    padding: 90px 24px 24px;
    /* header 높이 고려 */
    transition: right .25s ease;
    box-shadow: -10px 0 30px rgba(0, 0, 0, .08);
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

/* 배경 딤 */
.dim {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .35);
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

.dim.show {
    opacity: 1;
    pointer-events: auto;
}

/* 모바일 메뉴 열렸을 때 */
@media (max-width: 1000px) {
    header .menu.open {
        display: flex;
        flex-direction: column;
        gap: 16px;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 20px 30px;
        background: #fff;
        z-index: 110;
        box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    }

    .menu-dim {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .35);
        z-index: 105;
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s ease;
    }

    .menu-dim.show {
        opacity: 1;
        pointer-events: auto;
    }

    header .icons .bar {
        cursor: pointer;
    }
}