/* #content */
section .main_title {letter-spacing: -0.02em; line-height: 56px; margin-bottom: 20px;}
section .main_title.on {display: none;}
section .sub_text {letter-spacing: -0.02em;}

#content > h3 {font-size: 46px; line-height: 56px; letter-spacing: -0.02em; padding: 0 16.66%; color: #29203B;}

.list_box {padding: 32px 16.66% 100px;}
.list_box > ul {display: grid; grid-template-columns: repeat(3, 2fr); gap: 16px;}
.list_box > ul > li {padding: 16px 4% 25px; border: 1px solid rgba(46, 21, 102, 0.15); border-radius: 16px;}
.list_box > ul > li .img_box {position: relative;}
.list_box > ul > li .img_box img {width: 100%; border-radius: 16px;}
.list_box > ul > li .img_box .badge {display: inline-block; font-weight: 500; font-size: 14px; line-height: 18px; color: #fff; padding: 6px 12px; border-radius: 4px;
    position: absolute; top: 20px; left: 5%;}
.list_box > ul > li .img_box .badge.ing_badge {background: rgba(116, 53, 255, 0.75); border: 1px solid #7435FF;}
.list_box > ul > li .img_box .badge.end_badge {background: rgba(0, 0, 0, 0.2); border: 1px solid #A17DF5;}
.list_box > ul > li .text_box {margin-top: 16px; color: #29203B;}
.list_box > ul > li .text_box > span {display: block; color: #8556E3; font-family: 'Inter'; font-weight: 600; font-size: 10px; line-height: 12px; margin-bottom: 4px;}
.list_box > ul > li .text_box > p {font-weight: 500; font-size: 24px; line-height: 30px; letter-spacing: -0.02em; color: #2E1566; margin-bottom: 16px;}
.list_box > ul > li .text_box .more_btn {display: block; font-weight: 500; font-size: 16px; line-height: 20px; color: #7435FF; padding: 16px 0; text-align: center;
    background: rgba(116, 53, 255, 0.05); border: 1px solid rgba(116, 53, 255, 0.15); border-radius: 100px;}
.list_box > ul > li .text_box .more_btn.end {pointer-events: none; cursor: default;}

.list_box .pagination_box {text-align: center; margin-top: 100px; position: relative;}
.list_box .pagination_box span {display: inline-block; width: 44px; height: 44px; line-height: 44px; 
    font-family: 'Inter'; font-weight: 300; font-size: 28px; vertical-align: middle;}
.list_box .pagination_box span a {display: block;}
.list_box .pagination_box .pagination a {display: block; width: 100%; height: 100%;}
.list_box .pagination_box .pagination.on a {color: #8556E3; font-weight: 400; font-size: 32px; background: rgba(220, 204, 255, 0.42); border-radius: 50%;}
.list_box .pagination_box .front, .list_box .pagination_box .prev, .list_box .pagination_box .next, .list_box .pagination_box .end {
    font-size: 0; color: #fff; text-indent: -9999px; background-size: contain; background-repeat: no-repeat; background-position: center;}
.list_box .pagination_box .front {background-image: url(../images/sub06_01_btn_double_arrow_left.png);}
.list_box .pagination_box .prev {background-image: url(../images/sub06_01_btn_arrow_left.png);}
.list_box .pagination_box .next {background-image: url(../images/sub06_01_btn_arrow_right.png);}
.list_box .pagination_box .end {background-image: url(../images/sub06_01_btn_double_arrow_right.png);}
.list_box .pagination_box button {background: #8556E3; color: #FFFFFF; border: none; border-radius: 8px; padding: 11px 32px; cursor: pointer; white-space: nowrap;
    font-family: 'Spoqa Han Sans Neo'; font-weight: 700; font-size: 18px; line-height: 26px; letter-spacing: -0.02em; position: absolute; top: -80px; right: 0;}

/* PC (해상도 1440px ~ 1540px) */
@media screen and (max-width:1540px) {
    #content > h3 {padding: 0 12%;}
    .list_box {padding: 32px 12% 100px;}
}
/* PC (해상도 1058px ~ 1440px) */
@media screen and (max-width:1440px) {
    #content > h3 {padding: 0 8%;}
    .list_box {padding: 32px 8% 100px;}
}
/* PC (해상도 1024px ~ 1058px) */
@media screen and (max-width:1058px) {
    #content > h3 {padding: 0 6%;}
    .list_box {padding: 32px 6% 100px;}
}


/* 태블릿 (해상도 769px ~ 1024px) */
@media screen and (max-width:1024px) {
    /* content */
    section .main_title {font-size: 28px; margin-bottom: 12px; line-height: 36px;}
    section .main_title i {display: block;}

    #content > h3 {font-size: 28px; line-height: 36px; padding: 0 5%;}

    .list_box {padding: 28px 5% 80px;}
    .list_box > ul {grid-template-columns: repeat(2, 3fr); column-gap: 12px; row-gap: 40px;}
    .list_box .pagination_box {margin-top: 40px;}
    .list_box .pagination_box span {font-size: 20px; height: 37px;}
    .list_box .pagination_box .pagination {width: 37px;}
    .list_box .pagination_box .pagination a {display: block; width: 100%; height: 100%; line-height: 37px;}
    .list_box .pagination_box .pagination.on a {font-size: 18px;}
    .list_box .pagination_box button {display: none;}
}

/* 모바일 가로, 모바일 세로 (해상도 375px ~ 768px)*/
@media screen and (max-width:768px) {
    #wrap { min-width: 375px; }
    #content {position: relative;}
    /* content */
    #content > h3 {display: none;}

    .list_box {padding: 24px 5% 60px;}
    .list_box > ul {grid-template-columns: repeat(1, 3fr); gap: 12px;}
    .list_box > ul > li {padding: 16px 4% 24px; border-radius: 8px;}
    /*.list_box > ul > li:nth-child(n+6) {display: none;}*/
    .list_box > ul > li .img_box img {border-radius: 8px;}
    .list_box > ul > li .img_box .badge {font-size: 12px; line-height: 15px; padding: 4px 8px; top: 12px; left: 4%;}
    .list_box > ul > li .text_box {margin-top: 12px;}
    .list_box > ul > li .text_box > p {font-size: 20px; line-height: 25px; margin-bottom: 12px;}
    .list_box > ul > li .text_box .more_btn {font-size: 12px; line-height: 15px; padding: 12.5px 0;}

    .list_box .pagination_box {margin-top: 28px;}
    .list_box .pagination_box span {font-size: 20px; width: 30px; height: 30px;}
    .list_box .pagination_box .pagination {width: 30px;}
    .list_box .pagination_box .pagination:nth-child(n+6) {display: none;}
    .list_box .pagination_box .pagination a {display: block; width: 100%; height: 100%; line-height: 30px;}
    .list_box .pagination_box .pagination.on a {font-size: 18px;}
}