/* #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;}
.img_box img {width: 100%;}


.sub_visual {padding: 130px 0;text-align: center;position:relative;margin-bottom: 60px;}
.sub_visual::after{content:''; display: block; position:absolute; bottom: 0; left: 50%; transform:translate(-50%,0);width: 80%; height: 2px; background:#000;}
.sub_visual h1 {font-size: 44px;line-height: 1em;letter-spacing: -1px;}

.search_box .select_btn {display: none;}
.search_box .tab_box.mo_ver {display: none;}
.search_box .tab_box.pc_ver {display: flex; justify-content: center; gap: 12px;}
.search_box .tab_box.pc_ver li a {
    display: block;
    border: 1px solid #B9BAC1;
    background-color: #fff;
    box-sizing: border-box;
    height: 48px;
    line-height: 48px;
    font-weight: 500;
    font-size: 22px;
    letter-spacing: -1px;
    border-radius: 24px;
    padding: 0 34px;
    }
.search_box .tab_box.pc_ver li a.on {background-color: var(--man-color-02);color: #fff;border-color: var(--man-color-02);}

.list_box {padding: 160px 16.66%; position: relative;}
.list_box > .img_box {margin-bottom: 60px;}
.list_box > ul {display: grid; grid-template-columns: repeat(3, 2fr); column-gap: 20px; row-gap: 52px;}
.list_box > ul > li {padding: 16px 4% 25px; border: 1px solid #DFE0E2; border-radius: 16px;}
.list_box > ul > li .img_box {position: relative; margin-bottom: 16px;}
.list_box > ul > li .img_box img {border-radius: 16px;}
.list_box > ul > li .img_box .badge {display: inline-block; line-height: 29px; height: 29px; box-sizing: border-box; padding: 0 12px; border-radius: 4px;
     font-weight: 500; font-size: 14px; position: absolute; top: 20px; left: 5%; color: #fff;}
.list_box > ul > li .img_box .badge.ing_badge {background: rgba(113, 63, 255, .75); border: 1px solid #490AFF;}
.list_box > ul > li .img_box .badge.end_badge {background: rgba(170, 173, 176, .75); border: 1px solid #777C81;}
.list_box > ul > li .text_box > span {display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px;}
.list_box > ul > li .text_box > p {font-weight: 500; font-size: 24px; letter-spacing: -.24px;}
.list_box > ul > li .text_box .more_btn {display: block; font-weight: 500; font-size: 18px; color: #fff; padding: 16px 0; text-align: center;
    background: #713FFF; border-radius: 100px; margin-top: 16px;}
.list_box > ul > li .text_box .more_btn.end {pointer-events: none; cursor: default;}

.btn_write {display: inline-block; outline: none; line-height: 50px; height: 50px; padding: 0 30px; border: 1px solid #777C81; border-radius: 100px; background: #fff;
    font-size: 18px;  letter-spacing: -1px; white-space: nowrap; position: relative; left: calc(100% - 105px); margin-bottom: 32px;}
.btn_write::after {display: none !important;}

/* PC (해상도 1440px ~ 1540px) */
@media screen and (max-width:1540px) {
    .list_box {padding: 110px 12% 100px;}
}
/* PC (해상도 1058px ~ 1440px) */
@media screen and (max-width:1440px) {
    .list_box {padding: 110px 8% 100px;}
}
/* PC (해상도 1024px ~ 1058px) */
@media screen and (max-width:1058px) {
    .list_box {padding: 110px 6% 100px;}
}


/* 태블릿 (해상도 769px ~ 1024px) */
@media screen and (max-width:1024px) {
    /* content */
    #content{overflow: visible;}
    section .main_title {font-size: 28px; margin-bottom: 12px; line-height: 36px;}
    section .main_title i {display: block;}

    .sub_visual {padding: 60px 0;margin-bottom: 0;}
    .sub_visual h1 {font-size: 36px;}
    .sub_visual::after{width:100%;}

    .search_box .select_btn_box {width: 50%; margin: 0 auto; position: relative;}
    .search_box .select_btn {
        display: block;
        line-height: 50px;
        line-height: 50px;
        padding: 0 20px;
        box-sizing: border-box;
        background: #FFF;
        border-radius: 100px;
        font-size: 18px;
        font-weight: 500;
        letter-spacing: -1px;
        text-align: left;
        border: 1px solid var(--man-color-02);
        position: relative;
        }
    .search_box .select_btn::after {content: ''; display: inline-block; width: 8px; height: 8px; transition: all .2s;
      position: absolute; right: 20px; top: 50%;  border: 1px solid var(--black-color-950);border-top: none;border-left: none;transform: rotate(45deg) translate(-50%, -50%);transition: all .1s;}
    .search_box .select_btn.on::after {transform: rotate(-495deg);}
    .search_box .tab_box.pc_ver {display: none;}
    .search_box .tab_box.mo_ver {
        width: 100%;
        padding: 8px 7.5px;
        box-sizing: border-box;
        background: #fff;
        border: 1px solid var(--man-color-02);
        border-radius: 10px;
        position: absolute;
        top: 62px;
        left: 0;
        z-index: 3;
        display: none;
        }
    .search_box .tab_box.mo_ver li a {
        display: block;
        height: 50px;
        line-height: 50px;
        font-weight: 500;
        font-size: 18px;
        color: var(--man-color-02);
        border: none;
        border-radius: 8px;
        padding: 0 16px;
        }
    .search_box .tab_box.mo_ver li a.on {background-color: var(--man-color-05);color: var(--man-color-02);}

    .btn_write {display: none;}

    .list_box {padding: 80px 5%;}
    .list_box > .img_box {margin-bottom: 40px;}
    .list_box > ul {grid-template-columns: repeat(2, 2fr); gap: 12px;}
    .list_box > ul > li .text_box > span {margin-bottom: 4px;}
    .list_box > ul > li .text_box > p {font-size: 20px; letter-spacing: -.2px;}
}

/* 모바일 가로, 모바일 세로 (해상도 375px ~ 768px)*/
@media screen and (max-width:768px) {
    .wrap { min-width: 375px; }
    #content {position: relative;}
    /* content */
    .sub_visual h1 {font-size: 34px;}
     .search_box{padding: 32px 5% 0;}
    .search_box .select_btn_box {width: 100%;}
    .search_box .select_btn {line-height: 40px; line-height: 40px;}
    .search_box .tab_box.mo_ver {padding: 5.5px 7.5px; top: 50px; left: 0;}
    .search_box .tab_box.mo_ver li a {height: 40px;line-height: 40px;font-size:  16px;}


    .list_box {padding: 50px 5%;}
    .list_box > .img_box {margin-bottom: 30px;}
    .list_box > ul {grid-template-columns: repeat(1, 3fr); gap: 12px;}
    .list_box > ul > li {padding: 12px 4% 24px; border-radius: 8px;}
    .list_box > ul > li .img_box {margin-bottom: 12px;}
    .list_box > ul > li .img_box img {border-radius: 8px;}
    .list_box > ul > li .img_box .badge {height: 22px; line-height: 20px; padding: 0 8px; top: 12px; left: 4%;}
    .list_box > ul > li .text_box > span {margin-bottom: 8px;}
    .list_box > ul > li .text_box .more_btn {font-size: 16px; line-height: 15px; padding: 12.5px 0; margin-top: 12px;}
}