body {
    background-color: #f8f8f6;
    font-family: 'Pretendard Variable', sans-serif;
    color: #1c1c1c;
} 
#wrap {
    min-width: 360px;
}
button {
    border: none;
    background: transparent;
}
header {
    position: sticky;
    top: 0;
    width: 100%;
    border-bottom: 1px solid #d9d9d9;
    background-color: rgba(248,248,246,0.4);
    box-shadow: 0 0 4px rgba(0,0,0,0.05);
    z-index: 30;
    backdrop-filter: blur(3.75px); 
}
header .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 42px;
}
header h1 {
    width: 150px;
}
header .right {
    display: flex;
    align-items: center;
}
header .navi {
    display: flex;
    align-items: center;
}
header .navi > li > a {
    display: inline-block;
    padding: 34px 30px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}
header .navi > li {
    position: relative;
}
header .depth {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    font-weight: 700;
    line-height: 2.2;
    display: none;
    opacity: 0.5;
    border: 1px solid #e0e0e0;
    padding: 8px 16px;
    border-radius: 20px;
    background-color: #f8f8f6;
}
header .main-menu:hover .depth {
    display: block;
}
header .menu {
    display: none;
}
header .global-box {
    position: relative;
}
header .g-depth {
    position: absolute;
    left: 50%;
    top: 110%;
    transform: translateX(-50%);
    border: 1px solid #e0e0e0;
    padding: 8px 16px;
    border-radius: 20px;
    background-color: #f8f8f6;
    display: none;
}
header .g-depth a {
    display: block;
    padding: 4px 0;
}
header .g-depth.active {
    display: block
}

@media (max-width: 1024px) {
    header .inner {
        padding: 0 16px;
    }
    header h1 {
        width: 100px;
        height: auto;
    }
    header nav {
        display: none;
        position: fixed;
        width: 100%;
        height: 100dvh;
        right: 0;
        top: 0;
        background-color: #f8f8f6;
    }
    header nav.active {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    header .navi {
        flex-direction: column;
    }
    header .navi > li > a {
        width: 100%;
        padding: 16px;
        text-align: center;
    }
    header .navi .depth {
        position: relative;
        display: block;        
        border: 1px solid transparent;
        text-align: center;
    }
    header .global {
        display: none;
    }
    header .menu {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 40px;
        height: 40px;
        padding: 12px 8px;
        z-index: 10;
    }
    header .menu span {
        width: 100%;
        height: 2px;
        background-color: #1c1c1c;
        transition: 0.2s;
    }
    header .menu.active span:first-child {
        transform: rotate(45deg) translateY(5px);
        transform-origin: left;
    }
    header .menu.active span:nth-child(2) {
        display: none;
    }
    header .menu.active span:last-child {
        transform: rotate(-45deg) translateY(-15px);        
        transform-origin: right;
    }
}

h2 {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
}

section {
    padding: 110px 20px;
}
section .inner {
    max-width: 1600px;
    margin: 0 auto;
}
.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    margin: 0 auto;
    border-radius: 25px;
    background-color: #f8f8f6;
    color: #1c1c1c;
    font-size: 24px;
    font-weight: 500;
    box-shadow: 0 4px 4px rgba(0,0,0,0.2);
}
.big.btn {
    width: 270px;
    margin-top: 60px;
}
.small.btn {
    width: 150px;
}

@media (max-width: 1024px) {
    section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    h2 {
        font-size: 24px;
    }
    .btn {
        height: 30px;
        font-size: 16px;
    }
    .big.btn {
        width: 150px;
        margin-top: 30px;
    }
    .small.btn {
        width: 100px;
    }
    
}

footer {
    position: relative;
}
footer p {
    position: absolute;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    bottom: 12vw;
    font-size: clamp(11px, 0.94vw, 18px);
    font-weight: 400;
    text-align: center;
}

.sub > .sub-top {
    padding-top: clamp(98px, 11.98vw, 220px);
    padding-bottom: clamp(98px, 11.98vw, 220px);
    text-align: center;
}

@media (max-width: 1024px) {
    footer p {
        transform: translateX(-46%);
    }
}

/* layout */
.grid {
    display: grid;
}
.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}
.flex {
    display: flex;
}
.flex-column {
    flex-direction: column;
}
.flex-align {
    align-items: center;
}
.flex-js {
    justify-content: space-between;
}
.flex-reverse {
    flex-direction: row-reverse;
}
.gap20 {
    column-gap: 20px;
}

