header {
    position: sticky;
    width: 100%;
    height: 80px;
    background: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
}
header .header {
    width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
header .header h1 {
    width: 120px;
}
header .header h1 a {
    width: 100%;
}
header .header h1 a img {
    width: 100%;
}
header .header nav {
    display: flex;
    gap: 50px;
}
header .header nav a {
    font-family: KorailRoundGothic;
    font-size: 18px;
    font-weight: 700;
    color: #4b5257;
}

main {
    padding: 40px 0 100px;
    max-width: 1200px;
    margin: 0 auto;
}

.main_img_mo {
    display: none;
}

.top {
    background-image: url(../img/bg.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: contain;
    height: 400px;
    margin-bottom: 100px;
}
.top-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-wrapper .content h2 {
    font-family: KorailRoundGothic;
    font-size: 50px;
    font-weight: 700;
    color: #fdbf26;
    margin-bottom: 30px;
}
.top-wrapper .content pre {
    font-size: 19px;
    font-weight: 500;
    line-height: 1.4;
}
.top-wrapper img.main_img {
    width: 350px;
}

.home-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.home-wrapper .item {
    width: calc(100% / 3 - 20px);
    height: 200px;
    padding: 45px 25px;

    border: 0.1rem solid #e9e7e5;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-bottom: 25px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2); /* 얇은 그림자 */
}
.home-wrapper .item span {
    font-size: 25px;
    font-weight: 700;
}
.home-wrapper .item a {
    font-size: 21px;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 10px;
    background-color: #f7f5eb;
}
.home-wrapper .item img {
    position: absolute;
    right: 25px;
    bottom: 45px;
    width: 70px;
}

.section.sub h2 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 35px;
}
.section.sub h3 {
    font-size: 26px;
    font-weight: 700;
    color: #036b30;
    margin-bottom: 5px;
}
.section.sub pre {
    font-size: 20px;
    font-weight: 500;
    color: #747474;
    margin-bottom: 35px;
    line-height: 1.5;
}
.section.sub pre span.point1 {
    font-size: 20px;
    font-weight: 400;
    color: #cfcf81;
    line-height: 1.5;
}



@media screen and (max-width: 1200px) {
    
}
@media screen and (max-width: 768px) {
    header {
        height: 12rem;
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    header .header {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
    }
    header .header h1 {
        width: 9rem;
    }
    header .header nav {
        gap: 3rem;
        width: 100%;
        justify-content: center;
    }
    header .header nav a {
        font-size: 1.4rem;
        font-weight: 700;
    }
    
    main {
        padding: 0 1.5rem 5rem;
    }

    .main_img_mo {
        display: block;
    }
    .main_img {
        display: none;
    }

    .top {
        height: fit-content;
        background: none;
        padding: 0 1.5rem;
    }
    .top-wrapper {
        flex-direction: column;
    }
    .top-wrapper .content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .top-wrapper .content h2 {
        font-family: KorailRoundGothic;
        font-size: 4rem;
        font-weight: 700;
        color: #fdbf26;
        margin-bottom: 2rem;
    }
    .top-wrapper .content pre {
        font-size: 1.6rem;
        font-weight: 500;
        line-height: 1.4;
        text-align: center;
    }
    .top-wrapper img.main_img_mo {
        width: 28rem;
        margin-bottom: 3rem;
    }
    
    .home-wrapper .item {
        width: calc(100% / 2 - 0.8rem);
        height: 14rem;
        padding: 3rem 1.5rem;
    
        border: 0.1rem solid #e9e7e5;
        border-radius: 1rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
        position: relative;
        margin-bottom: 25px;
        box-shadow: 0 0 4px rgba(0, 0, 0, 0.2); /* 얇은 그림자 */
    }
    .home-wrapper .item span {
        font-size: 1.6rem;
        font-weight: 700;
        line-height: 1.3;
    }
    .home-wrapper .item a {
        font-size: 1.4rem;
        font-weight: 500;
        padding: 1rem 1.5rem;
        border-radius: 0.51rem;
        background-color: #f7f5eb;
    }
    .home-wrapper .item img {
        position: absolute;
        right: 1.5rem;
        bottom: 3rem;
        width: 4rem;
    }

    .section.sub h2 {
        font-size: 2rem;
        margin-bottom: 3rem;
    }
    .section.sub h3 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    .section.sub pre {
        font-size: 1.6rem;
        margin-bottom: 3rem;
    }
    .section.sub pre span.point1 {
        font-size: 1.6rem;
    }
}