body {
    padding: 0;
    margin: 0;
}
header{
    max-width: 1280px;
    margin: 0 auto;
}
.main-header {
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.main-header img {
    width: 100%;
    height: auto;
}

.main-image {
    width: 100%;
    height: auto;
}

main .wrapper {
    margin: 0 auto;
    max-width: 1920px;
    display: flex;
    flex-direction: column;
}
footer{
    background: #222222;
}
footer .wrapper {
    margin: 0 auto;
    max-width: 1280px;
    line-height: 20px;
    font-size: 14px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

header .logo {
    margin-right: 30px;
}

header .top-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

header .top-menu ul li {
    display: inline-block;
    margin-right: 20px;
}

.phone header .top-menu ul li {
    margin-bottom: 25px;
}
.phone header{
    padding: 10px 20px 5px 20px !important;
}

header .top-menu ul li a {
    text-decoration: none;
    color: #000;
}


/* 기본 스타일 */


/* 기본 스타일 */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    position: relative;
    padding: 20px;
    background-color: #fff;
}

.logo img {
    height: 50px;
}


/* PC에서 메뉴 아이콘은 숨김 */

.menu-icon {
    display: none;
}

.top-menu {
    position: fixed;
    top: 0;
    right: -100%;
    /* 초기에는 화면 바깥에 위치 */
    width: 80%;
    height: 100%;
    background-color: white;
    box-shadow: -1px 0 5px rgba(0, 0, 0, 0.3);
    transition: right 0.3s ease;
    padding: 20px;
}

.top-menu.open {
    right: 0;
    /* 'open' 클래스가 추가되면 메뉴가 보이게 됨 */
}

.top-menu ul {
    list-style: none;
    padding: 0;
}

.top-menu li {
}

.top-menu a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #333;
}


/* 모바일에서 메뉴 아이콘 보이게 하기 */

@media screen and (max-width: 768px) {
    .menu-icon {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        cursor: pointer;
    }
    /* 메뉴 슬라이드가 화면 안에 나타나도록 설정 */
    .top-menu {
        width: 80%;
    }
    /* PC 화면에서는 메뉴가 기본적으로 보이도록 설정 */
    .top-menu ul {
        display: block;
    }
    .top-menu ul li {
        display: block !important;
    }
    header .top-menu ul {
        margin-top: 70px;
        padding-left: 40px;
    }
}


/* PC에서는 기본 메뉴 보이도록 설정 */

@media screen and (min-width: 769px) {
    .top-menu {
        display: block;
        position: static;
        box-shadow: none;
        text-align: right;
    }
    .top-menu .close-btn {
        display: none;
    }
}