header {
    height: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    padding: 0 1.5rem;
    z-index: 7777;
    background: #fff;
    border-bottom: 1px solid #f2f2f2;
    margin-bottom: 2rem;
}
header h1 {
    width: 15rem;
}
header h1 a {
    width: 100%;
}
header h1 a img {
    width: 100%;
}
header #prevBtn {
    width: 2rem;
    position: absolute;
    right: 1.5rem;
}
header #prevBtn img {
    width: 100%;
}

nav {
    background-color: #333333;
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 6rem;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 9999;
}
nav a {
    width: 25%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
}
nav a img {
    height: 2rem;
    margin-bottom: 0.5rem;
}
nav a span {
    font-size: 1.4rem;
    font-weight: 500;
    color: #a6a6a6;
}

main {
    padding: 0 1.5rem 10rem;
    /* min-height: calc(100vh - 178.94px); */
}

::-webkit-scrollbar {
    display: none;
}






.btn-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.aButton {
    padding: 1.5rem;
    border-radius: 1rem;
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    display: flex;
    justify-content: flex-start;
}

.aic {
    align-items: center;
}
.aifs {
    align-items: flex-start;
}
.center {
    justify-content: center;
    align-items: center;
    margin-top: 7rem;
}

.one {
    width: 100%;
}
.two {
    width: calc(100% / 2 - 1rem);
    height: 15rem;
    margin-bottom: 1.5rem;
}

.sky-1 {
    background-color: #abd8f7;
}
.sky-2 {
    background-color: #88bdff;
}
.sky-3 {
    background-color: #408efd;
}
.blue {
    background-color: #2665fe;
}
.purple {
    background-color: #3a28cc;
}

.sky-1.bg-img {
    background-image: url(../img/main_icon1.png);
    background-repeat: no-repeat;
    background-position: right 1.5rem bottom 1.5rem;
    background-size: 6.5rem;
}
.sky-2.bg-img {
    background-image: url(../img/main_icon2.png);
    background-repeat: no-repeat;
    background-position: right 1.5rem bottom 1.5rem;
    background-size: 6.5rem;
}
.sky-3.bg-img {
    background-image: url(../img/main_icon3.png);
    background-repeat: no-repeat;
    background-position: right 1.5rem bottom 1.5rem;
    background-size: 6rem;
}
.blue.bg-img {
    background-image: url(../img/main_icon4.png);
    background-repeat: no-repeat;
    background-position: right 1.5rem bottom 1.5rem;
    background-size: 7rem;
}
.purple.bg-img {
    background-image: url(../img/main_icon5.png);
    background-repeat: no-repeat;
    background-position: right 1.5rem bottom 50%;
    background-size: 7rem;
}

.gradient {
    background-image: linear-gradient(to right, #a8d4f6, #3d2dcd);
}

.title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.title h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0;
}
.title a {
    font-size: 1.7rem;
    font-weight: 500;
    color: #cacaca;
}


.section.home {
    margin-bottom: 5rem;
}
h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 2rem;
}
.section pre {
    font-size: 1.6rem;
    font-weight: 500;
    color: #5f5f5f;
    line-height: 1.4;
    margin-bottom: 2rem;
}
.section pre span.point1 {
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1559fe;
    margin-bottom: 0.5rem;
}

hr {
    border: 0;
    background-color: #e4e4e4;
    height: 0.5rem;
    margin: 0 -1.5rem 1rem;
}
.section.sub hr {
    margin: 0 -1.5rem 3rem;
}



















/* home */
.banner {
    background-color: #408efd;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
    margin-top: -2rem;
    margin-bottom: 5rem;
}
.banner pre {
    font-family: CookieRunOTF-Bold;
    font-size: 2.5rem;
    color: #fff;
    line-height: 1.6;
    text-align: center;
}
.banner img {
    width: 25rem;
}
.banner p {
    font-size: 1.6rem;
    font-weight: 400;
    color: #fff;
    line-height: 1.4;
    text-align: center;
}
.banner p span.point2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
}




/* sub */
.step {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 2rem;
}
.step img {
    width: 7rem;
    margin-right: 1.5rem;
}





/* product */
.section.product .category {
    padding: 0.5rem;
    border-radius: 1rem;
    width: 100%;
    background-color: #f2f2f2;
    overflow-x: scroll;
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
}
.section.product .category-inner {
    width: 100%;
    border-radius: 0.5rem;
    overflow-x: scroll;
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
}
.section.product .category a {
    padding: 1.5rem;
    border-radius: 0.5rem;
    font-size: 1.8rem;
    font-weight: 600;
    color: #afafaf;
    background-color: #fff;
    text-align: center;
}

.section.product hr:last-of-type {
    display: none;
}

.product-container .product-item {
    padding: 2rem 0;
}
.product-container .product-item h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1358fe;
    margin-bottom: 0.5rem;
}
.product-container .product-item p {
    font-size: 1.7rem;
    font-weight: 700;
    color: #3e8dfd;
    margin-bottom: 0.5rem;
}
.product-container .product-item pre span.point1 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #acacac;
    line-height: 1.4;
}
.product-container .product-item .wrapper pre {
    margin: 0;
}
.product-container .product-item .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}
.product-container .product-item .wrapper .scrapBtn img {
    width: 4rem;
}




/* favorite */
.scrap-item {
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 0 0.4rem rgba(0, 0, 0, 0.1);
}
.scrap-container .scrap-item {
    margin-bottom: 1.5rem;
}
.scrap-item h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1358fe;
    margin-bottom: 1rem;
}
.scrap-item p {
    font-size: 1.7rem;
    font-weight: 700;
    color: #3e8dfd;
    margin-bottom: 0.5rem;
}
.scrap-item pre span.point1 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #acacac;
    line-height: 1.4;
}
.scrap-container .scrap-item .wrapper pre {
    margin: 0;
}
.scrapDetail-container .scrap-item > pre:last-of-type {
    margin: 0;
}
.scrap-item .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}
.scrap-item .wrapper .scrapBtn img {
    width: 4rem;
}

.no-scrap {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.no-scrap pre {
    font-size: 2rem;
    font-weight: 600;
    color: #7b7b7b;
    text-align: center;
    margin-top: 10rem;
}


.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: 4rem 0;
}
.pagination a {
    font-size: 2rem;
    font-weight: 400;
    color: #585858;
}
.pagination a.active {
    font-size: 2rem;
    font-weight: 400;
    color: #1d5efe;
}




/* news */
.news-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 13rem;
    border-radius: 1rem;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
    padding: 1rem;
}
.news-item .img-wrap {
    width: 35%;
    height: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
}
.news-item .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-item .content {
    width: 62%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}
.news-item .content p.date {
    font-size: 1.2rem;
    font-weight: 400;
    color: #fff;
    padding: 0.3rem 0.7rem;
    border-radius: 3rem;
    background-color: #2665fe;
}
.news-item .content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 최대 2줄 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}
.news-item .content p {
    font-size: 1.4rem;
    font-weight: 400;
    color: #7e7e7e;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 최대 2줄 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}


.swiper.newSwiper {
    width: 100%;
    height: 16rem;
}
.swiper.newSwiper .swiper-wrapper {
    width: 99%;
    overflow: visible;
}
.swiper.newSwiper .swiper-wrapper .swiper-slide  {
    width: 99%;
}
.swiper.newSwiper .swiper-wrapper .swiper-slide .news-item {
    width: 99%;
    margin: 0.2rem;
}
.swiper.newSwiper .swiper-pagination-bullet {
    width: 0.7rem;
    height: 0.7rem;
}
.swiper.newSwiper .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #2665fe;
}




@media screen and (min-width: 540px) {
    .section.product .category {
        padding: 0.5rem;
        gap: 0.5rem;
    }
    .section.product .category-inner {
        gap: 0.5rem;
    }
    .section.product .category a {
        width: calc(100% / 3 );
    }
}