/* #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;}


.top_title .inner{padding: 94px 19.06% }
.top_title .text_box {text-align: center; }
.top_title .text_box h3{font-size: 44px; font-weight: 700; line-height: 1.2;}

.visual_box .inner{padding:80px 14.6%;}
.visual_box .title_box{text-align: center}
.visual_box .title_box h4{font-size: 44px; font-weight: 600; line-height: 1.2;}
.visual_box .title_box .sub_title{font-size: 28px; line-height: 1.3; font-weight: 700; color: var(--primary-color);}
.visual_box .title_box .sub_text{font-size: 18px; line-height: 1.5;  letter-spacing: -1px;margin-top:14px;}
.visual_box .img_box{width: calc(1080/1368 * 100%); margin: 60px auto 0;}

.list_box {padding: 64px  20%  100px;}
.list_box > ul {display: grid; grid-template-columns: repeat(2, 2fr); column-gap: 80px; row-gap: 30px;}
.list_box > ul > li {border-radius: 16px; position: relative;border:1px solid #b9bac1;padding:16px }
.list_box > ul > li a {display: flex;flex-direction: column;gap:14px; justify-content: center; align-items: center; position: relative;}
.list_box > ul > li a .img_box{width: calc(400/468 * 100%);}
.list_box > ul > li a .img_box img {width: 100%; border-radius: 16px;}
.list_box > ul > li a .hashtag {text-align:center;width: 100%;}
.list_box > ul > li a .hashtag p {font-weight: 700; font-size: 1.45rem; line-height: 2.375rem; letter-spacing: -0.04em; margin-bottom: 8px;}
.list_box > ul > li a .hashtag span {display: inline-block; font-weight: 500; font-size: 0.875rem; line-height: 1.125rem;  margin-right: 4px; white-space: nowrap;}
.list_box > ul > li .more_btn {display: inline-block; font-weight: 500; font-size: 13px; line-height: 18px; color: #2E1566; padding: 8px 20px; text-align: center;
    border: 2px solid #2E1566; border-radius: 100px; position: absolute; bottom: 18%; right: 10%;}

.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/sub04_01_btn_double_arrow_left.png);}
.list_box .pagination_box .prev {background-image: url(../images/sub04_01_btn_arrow_left.png);}
.list_box .pagination_box .next {background-image: url(../images/sub04_01_btn_arrow_right.png);}
.list_box .pagination_box .end {background-image: url(../images/sub04_01_btn_double_arrow_right.png);}
.list_ .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: 64px 12% 100px;}
}
/* PC (해상도 1058px ~ 1440px) */
@media screen and (max-width:1440px) {
    #content > h3 {padding: 0 8%;}
    .list_box {padding: 64px 8% 100px;}
}
/* PC (해상도 1024px ~ 1058px) */
@media screen and (max-width:1058px) {
    #content > h3 {padding: 0 6%;}
    .list_box {padding: 64px 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;}

    .top_title .inner{padding: 60px 5%}
    .top_title .cell{padding-top:0;}
    .top_title .text_box h3{font-size: 44px; }
    .top_title .text_box .add_text{font-size:22px;}

    .visual_box .inner{padding:60px 5%;}
    .visual_box .img_box{width: 100%; margin: 60px auto 0;}

    .list_box {padding: 52px 5% 80px;}
    .list_box > ul {grid-template-columns: repeat(2, 3fr); column-gap: 20px; row-gap: 24px;}
    .list_box > ul > li a .img_box{width: 90%;}
    .list_box > ul > li a .hashtag p {font-size: 1.3rem;line-height: 1.375rem;letter-spacing: -0.02em;margin-bottom: 6px;}
    .list_box > ul > li a .hashtag span {font-size:0.8rem;line-height: 0.688rem;}
    .list_box > ul > li .more_btn {font-size: 11px; line-height: 15px; padding: 4.5px 16px;}

    .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 */
    .top_title {display: none;}

    .visual_box .title_box h4{font-size: 36px; font-weight: 600; line-height: 1.2;}
    .visual_box .title_box .sub_text{font-size: 18px;margin-top: 40px;}
    .visual_box .inner{padding: 80px 0 32px;}
    .visual_box .img_box{width: 100%; margin: 60px auto 0;}

    .list_box {padding: 24px 5% 60px;}
    .list_box > ul {grid-template-columns: repeat(1, 4fr);gap: 8px;}
    .list_box > ul > li {border-radius: 8px;}
    .list_box > ul > li a .img_box img {border-radius: 8px;}
    .list_box > ul > li a .hashtag {bottom: 12%; left: 6%;}
    .list_box > ul > li a .hashtag p {font-size: 1.125rem; line-height: 1.375rem;}
    .list_box > ul > li a .hashtag span {font-size: 0.75rem; line-height: 0.938rem; margin-right: 1%; box-sizing: border-box;}
    .list_box > ul > li .more_btn {font-size: 10px; line-height: 15px; border: 1px solid #2E1566;}

    .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;}
}