@charset "utf-8";
.sub {
    font-family: 'BMJUA';
    padding-top: 22.5rem;
    background: var(--bg-color);
}
.sub-wrap {
    margin: 0 4%;
    background: #fff;
    padding-bottom: 11rem;
}
.sub-container {
    width: min(1100px,100%);
    margin:13rem auto 0;
    position: relative;
}
.sub-container::before {
    content: '';
    position: absolute;
    top:0;
    left:50%;
    transform: translate(-50%, -60%);
    width: calc(100vw - 16%);
    height: 51rem;
}
.sub-container > div {
    position: relative;
}
@media (max-width:1280px) {
    .sub-container {
        padding-inline: 4%;
        margin-top: 10rem;
    }
}
@media (max-width:800px) {
    .sub-container {
        margin-top: 9rem;
    }
    .sub-container::before  {
        display: none;
    }
}

/* 서브 탑 공통 */
.sub-clip {
    width: 17.3rem;
    transform: translateY(-60%);
    margin: 0 auto;
}
.sub-top {
    width: min(1410px,100%);
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    margin-inline: auto;
}
.sub .tag {
    padding-inline: 4%;
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-end;
    gap: 0 2.5rem;
    margin-bottom: 5rem;
}   
.sub .tag li {
    font-family: 'GangwonEdu_OTFBoldA';
    font-size: 2.5rem;
}
.sub-top .img {
    max-width: 33%;
    justify-content: flex-end;
}
.sub-top .title {
    padding-left: 6rem;
    max-width: 67%;
}
.sub-top .title h2 {
    font-size: 6.7rem;
    line-height: 1.3;
    color: var(--tit-color);
}
.sub-top .title h4 {
    font-size: 5rem;
    margin-top: 1.5rem;
    /* display: none; */
}
.sub-top .title .highlight span {
    display: inline;
    
    position: relative;
    z-index: 2;
    box-shadow: inset 0 -2.6rem 0 var(--hl-color);
    color: var(--tit-color);
}
@media (max-width:1700px) {
    .sub-top {
        padding-inline: 4%;
    }
}
@media (max-width:1080px) {
    .sub-top .title {
        padding-left: 4rem;
    }
    .sub-top .title h2 {
        font-size: 6rem;
    }
    .sub-top .title h4 {
        font-size: 4.5rem;
    }
}
@media (max-width:800px) {
    .sub-top {
        flex-flow: column wrap;
    }
    .sub-top .img {
        width: 80%;
        max-width: 100%;
        justify-content: center;
    }
    .sub-top .title {
        max-width: 100%;
        padding-left: 0;
        text-align: center;
        margin-top: 3rem;
    }
}

/* 서브하단 네비 */
.sub-navi {
    width: 92%;
    max-width: 1280px;
    margin: 7rem auto 0;
    padding-block: 2.5rem 6.5rem;
    border-top: 1px solid #9a9a9a;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
}
.sub-navi ul,
.sub-navi ul li a  {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
}
.sub-navi .sub-navi-page {
    font-family: 'GangwonEdu_OTFBoldA';
    font-size: 2.3rem;
    position: relative;
}
.sub-navi .sub-navi-page p{
    margin-top: 0.5rem;
    padding-inline: 2rem;
    color: #9a9a9a;
    transition: all .2s;
}
.sub-navi .sub-navi-page::before {
    content: '';
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    width: 1px;
    height: 60%;
    background: #9a9a9a;
}
.sub-navi .sub-navi-page img {
    width: 2.1rem;
    filter: invert(66%) sepia(0%) saturate(0%) hue-rotate(199deg) brightness(93%) contrast(94%);
    transition: all .2s;
}
.sub-navi .sub-navi-page .prev img{
    transform: scale(-1,1);
}
.sub-navi .sub-navi-page a:hover p {
    color: #000;
}
.sub-navi .sub-navi-page a:hover img {
    filter: none;
}
.sub-navi-btn {
    gap: 1rem;
}
.sub-navi-btn li a {
    width: 4.5rem;
    height: 4.5rem;
    background: #000;
    border-radius: 50%;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
}
.sub-navi-btn li a img {
    filter: invert(100%) sepia(10%) saturate(7472%) hue-rotate(222deg) brightness(112%) contrast(108%);
    width: 65%;
}

/* 서브 탭 */
.sub-tab {
    width: min(1000px,100%);
    margin:0 auto 6rem;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 4rem;
    position: relative;
}
.sub-tab li a {
    display: block;
    font-size: max(19px,2.7rem);
    text-align: center;
    padding:8px 1.5rem;
    border-radius: 10rem;
    border:1px solid #000;
    background: #d1d1d1;
    letter-spacing: -0.025em;
}
.sub-tab li.on a {
    background: var(--tab-color);
}
@media (max-width:1080px) {
    .sub-tab {
        grid-template-columns: repeat(1,1fr);
        max-width: fit-content;
    }
    .sub-tab li a {
        padding:1.5rem 2.5rem;
    }
}

/* 서브 내용 공통 */
.sub .cont:not(:nth-of-type(1)) {
    margin-top: 14rem;
}
.cont-tit {
    font-size: 5.4rem;
    text-align: center;
    margin-block:14rem 7rem;
}
.content p {
    font-family: 'Pretendard';
    font-size: max(15px,2rem);
    line-height: 1.85;
    letter-spacing: -0.01em;
}
.content p:not(:first-child) {
    margin-top: 4rem;
}

.caption {
    font-size: max(16px,2rem);
    text-align: center;
    width: 100%;
}
.caption span {
    color: var(--point);
}
img + .caption,
table + .caption  {
    margin-top: 2rem;
}
strong.hl {
    box-shadow: inset 0 -1.2em 0 var(--bg-color);
}
.img-box {
    position: relative;
}
.img-box .source {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    padding: .5rem 1rem;
    background: #fff;
    border: 1px solid #000;
    line-height: 1.85;
    font-size: max(16px, 1.9rem);
}


/* 팁아이콘 */
.tip-icon {
    position: relative;
    padding-left: max(34px,5.5rem);
}
.tip-icon::before {
    content: '';
    position: absolute;
    top:0;
    left:0;
    width: max(28px,4.5rem);
    height: max(28px,4.5rem);
    border-radius: 50%;
    background: url(../images/sub/icon_tip.svg) var(--tip-bg) no-repeat center center / 60%;
    transform: translateY(-20%);
}

/* 테이블 */
.table-wrap {
    margin-block: 6rem;
}
.table-wrap table {
    width: 100%;
    font-family: 'Pretendard';
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
}
.table-wrap thead tr:not(:first-child){
    border-top: 1px solid #bdbdbd;
}
.table-wrap thead th {
    font-size: max(16px,2rem);
    text-align: center;
    padding-block: 1.35rem;
    background: var(--th-bg);
    border-left: 1px solid #bdbdbd;
}
.table-wrap tbody {
    border-top: 1px solid #bdbdbd;
}
.table-wrap tbody td {
    font-size: 2rem;
    padding: 1.35rem 1rem;
    border-left: 1px solid #bdbdbd;
    border-top: 1px solid #bdbdbd;
    text-align: center;
}
.table-wrap thead th:first-child,
.table-wrap tbody td:first-child {
    border-left: 0;
}
@media (max-width:1080px) {
    .cont-tit {
        font-size: 4.8rem;
    }
}

/* 책 타입 공통 */
.type-book .cover {
    text-align: center;
    margin-bottom: 5rem;
}
.type-book .cover p {
    margin-top: 2rem;
    font-size: max(18px,2.2rem);
    font-weight: 700;
}
.type-book .book {
    background: url(../images/sub/sub_book_bg.png) no-repeat center center / contain;
    height: 66rem;
    max-width: 938px;
    margin: 0 auto;
    align-content: center;
}
.type-book .book .top {
    padding: 9rem 2rem 0;
}
.type-book .book .top .tit {
    padding:0 0 3rem 5.5rem;
    margin-bottom: 3rem;
    background: url(../images/sub/sub_book_line.png) no-repeat center bottom / contain;
    position: relative;
}
.type-book .book .top .tit::before {
    content: '';
    position: absolute;
    top:0;
    left:0;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background: url(../images/sub/icon_tip.svg) #20499e no-repeat center center / 60%;
}
.type-book .book .top h3 {
    font-size: 2.7rem;
}
.type-book .book .top h4 {
    font-size: max(18px,2.1rem);
    margin-top: 1rem;
    color: #20499e;
}
.type-book .book ul li {
    font-size: max(15px,2rem);
    line-height: max(26px,3rem);
    margin-bottom: 0.8rem;
    display: grid;
    grid-template-columns: 8.6rem 1fr;
    gap: 2.5rem;
}
.type-book .book ul li span {
    display: inline-block;
    background: var(--point-color1);
    text-align: center;
    font-weight: 600;
    color: #fff;
    border-radius: 3rem;
}
.type-book .book ul li:last-child span {
    background: var(--point-color2);
}
.type-book .book .bt {
    font-size: 1.8rem;
    font-weight: 500;
    margin-top: 4rem;
}
.type-book .content {
    margin-top: 7rem;
}
@media (max-width:1080px) {
    .type-book .book {
        height: 62rem;
    }
    .type-book .book .top {
        padding-top: 8%;
    }
    .type-book .book .bt {
        margin-top: 3rem;
    }
}
@media (max-width:800px) {
    .type-book .book {display: none;}
}

/* 인터뷰 css */
.type-interview p {
    font-family: 'Pretendard';
}

.type-interview .info:not(:first-child) {
    margin-top: 6rem;
}
.type-interview .info {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
}
.type-interview .info .img {
    width: 50%;
    text-align: right;
}
.type-interview .info .txt {
    width: 50%;
    padding-left: min(70px,8%);
} 
.type-interview .info .txt h4 {
    font-size: 3.3rem;
    color: var(--font-color);
}
.type-interview .info .txt h3 {
    font-size: 3.5rem;
    line-height: 1.4;
    margin-block: 1.5rem 2rem;
}
.type-interview .info .txt h3 span {
    font-size: 1.15em;
    color: var(--font-color);
}   
.type-interview .info .txt ul {
    font-family: 'Pretendard';
    font-size: max(17px,1.9rem);
}
.type-interview .info .txt ul li {
    padding-left: 13px;
    position: relative;
    margin-block: 0.5rem;
}
.type-interview .info .txt ul li:not(:last-child)::before {
    content: '';
    position: absolute;
    top:12px;
    left:0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #000;
}
.type-interview .q {
    align-items: center;
    justify-content: flex-end;
    margin-block: 4rem 3rem;
    padding-block:3rem 2rem;
    border-bottom: 1px solid #cecece;
    position: relative;
}
.type-interview > h4:has(+.q)  {
    text-align:right; 
    font-size:max(14px,1.8rem); 
    color:#aaa; 
    width: 100%;
    font-family: 'Pretendard';
    margin-block: 3rem -3rem;
}
.type-interview .q .num {
    font-size: 6rem;
    position: absolute;
    top:0;
    left:0;
}
.type-interview .q p {
    font-size: max(20px,2.5rem);
    font-weight: 600;
    width: calc(100% - 10rem)
}
.type-interview > p,
.type-interview .a > p,
.type-interview .a .name p {
    font-size: max(16px,2rem);
    line-height: 1.85;
}
.type-interview > p:not(:first-child),
.type-interview .a > p:not(:first-child) {
    margin-top: 3.5rem;
}
.type-interview .a.name > p {
    margin-left: 1.5rem;
    padding-left: 7rem;
    position: relative;
}
.type-interview .a.name > p > span {
    font-family: 'BMJUA';
    font-size: 2.7rem;
    width: 4.5rem;
    height: 4.5rem;
    line-height: 4.5rem;
    border-radius: 3px;
    color: #fff;
    text-align: center;
    position: absolute;
    top:0;
    left:0;
}
.type-interview .a.name > p > span::before {
    content:"";
    position: absolute;
    top:50%;
    right:0;
    background: inherit;
    transform: translate(50%,-50%);
    width: 1.5rem;
    height: 2.5rem;
    clip-path: polygon(0 0, 0% 100%, 100% 50%);
}
.type-interview .tip-box {
    background: var(--box-bg);
    padding: 4rem;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    margin-top: 6rem;
    position: relative;
}
.type-interview .tip-box .txt h4 {
    font-size: max(21px,2.5rem);
    margin-bottom: 2rem;
}
.type-interview .tip-box .txt p {
    font-size: max(16px,1.9rem);
    line-height: 1.7;
}
.type-interview .tip-box .txt b {
    font-weight: 700;
}
.type-interview .tip-box1::before {
    content:"";
    position: absolute;
    top:0;
    right: 8%;
    transform: translateY(-50%);
    width: min(196px,50%);
    height: 4rem;
    background: url(../images/sub/icon_tipDeco.png) no-repeat center center / contain;
}
.type-interview .tip-box2 .deco {
    position: absolute;
    top:0;
    left: 70%;
    transform: translate(-50%,-50%);
    width: min(11.6rem,16%);
    height: 6.5rem;
}
.type-interview .tip-box2 li {
    margin-bottom: 4rem;
    padding-left: 2.5rem;
}
.type-interview .tip-box2 li:last-child {
    margin-bottom: 0;
}
.type-interview .tip-box2 h5 {
    font-family: 'Pretendard';
    font-size: max(18px,2rem);
    margin-bottom: 1rem;
    color: var(--tip-bg);
    font-weight: 600;
    position: relative;
}
.type-interview .tip-box2 h5::before {
    content: '';
    position: absolute;
    top:0.3em;
    left:-2.5rem;
    width: 1.3rem;
    height: 1.3rem;
    border-radius: 50%;
    background: var(--tip-bg);
}
.type-interview .tip-box4 .deco {
    position: absolute;
    top:0;
    right: 10%;
    transform: translateY(-50%);
    width: min(6.4rem,16%);
    height: 6.5rem;
}
.type-interview .tip-box4 .tip-icon::before {
    background: url(../images/sub/icon_tip_check.svg) var(--tip-bg) no-repeat center center / 50%;
}
.type-interview .tip-box5 .deco {
    position: absolute;
    top:0;
    right: 10%;
    transform: translateY(-29%);
    width: min(4rem,16%);
    height: 6.5rem;
}
.type-interview .tip-box5 .tip-icon::before {
    background: url(../images/sub/icon_tip_pen.png) var(--tip-bg) no-repeat center center / 2.5rem;
}
.type-interview .tip-box5::before {
    content:"";
    position: absolute;
    bottom:0;
    right:0;
    width: 5.6rem;
    height: 5.6rem;
    background: #fff;
}
.type-interview .tip-box5::after {
    content:"";
    position: absolute;
    bottom:0;
    right:0;
    width: 5.6rem;
    height: 5.6rem;
    background: var(--deco-bg);
    clip-path: polygon(0 0, 0% 100%, 100% 0);
}

.type-interview .img-box {
    align-items: flex-start;
    justify-content: center;
    gap:2rem 3rem;
    margin-top: 6rem;
    position: relative;
}
.type-interview .img-box:has(+p) {
    margin-bottom: 6rem;
}
.type-interview .img-box.deco::before {
    content: '';
    position: absolute;
    bottom:0;
    right:0;
    transform: translate(50%, 50%);
    width: 10rem;
    height: 11rem;
    background: url(../images/sub/icon_imgDeco.svg) no-repeat center center / contain;
}
.type-interview .img-box > div {
    max-width: calc(49% - 1.5rem);
    display: flex;
    flex-direction: column;
}
.type-interview .img-box.img1 {
    justify-content: center;
    align-items: center;
}
.type-interview .img-box.img1 > div {
    max-width: 100%;
}
.type-interview .img-box.img3 > div {
    max-width: calc(32% - 1.5rem);
}
.type-interview .img-box.img4 > div {
    max-width: calc(24% - 1.5rem);
}
.type-interview .banner {
    margin-block: 5rem;
    text-align: center;
    font-family: 'GangwonEdu_OTFBoldA';
}
.type-interview .banner img {
    width: min(48px,50%);
    margin-bottom: 1.5rem;
}
.type-interview .banner h4 {
    font-size: max(20px,2.3rem);
    line-height: 1.8;
}
.type-interview .banner h4 span {
    font-size: 2.9rem;
    position: relative;
    display: inline-block;
}
.type-interview .banner h4 span b {
    position: relative;
    z-index: 2;
}
.type-interview .banner h4 span::before {
    content: '';
    position: absolute;
    bottom:20%;
    left: 0;
    width: 100%;
    height: 1.4rem;
    border-radius: 1rem;
    background: var(--banner-color);
}
@media (max-width:1080px) {
    .type-interview .info {
        justify-content: center;
    }
    .type-interview .info .img {
        width: 40%;
        text-align: center;
    }
    .type-interview .info .txt {
        width: auto;
        padding-left: 6rem;
    }
    .type-interview .tip-box1 {
        gap: 2rem;
    }
    .type-interview .tip-box1 .img {
        padding-left: max(34px, 5.5rem);
    }
    .type-interview .img-box:not(.img3, .img4) {
        flex-flow: column wrap;
        align-items: center;
        gap: 3rem;
        width: fit-content;
        margin-inline: auto;
    }
    .type-interview .img-box > div {
        max-width: 100%;
    }
}
@media (max-width:800px) {
    .type-interview .info .img {
        width: 100%;
    }
    .type-interview .info .txt {
        margin-top: 4rem;
        padding-left: 0;
    }
    .type-interview .info .txt h4 {
        font-size: 3.8rem;
    }
    .type-interview .info .txt h3 {
        font-size: 4.2rem;
    }
    .type-interview .img-box::before {
        transform: translate(30%, 30%);
        width: 8rem;
        height: 9rem;
    }
    .type-interview .img-box.img3{
        flex-flow: column wrap;
        align-items: center;
        gap: 3rem;
        width: fit-content;
        margin-inline: auto;
    }
    .type-interview .img-box.img3 > div {
        max-width: 100%;
    }
    .type-interview .img-box.img4 {
        justify-content: center;
        gap: 3rem;
    }
    .type-interview .img-box.img4 > div {
        max-width: calc(49% - 1.5rem);
    }
    .type-interview .tip-box {
        padding: 3rem;
    }
    
    .type-interview .tip-box1 .img{
        /* padding-left: max(34px, 5.5rem); */
    }
    .type-interview .tip-box .txt p br {
        display: none;
    }
    .type-interview .tip-box2 ul {
        margin-left: -2.5rem;
    }
}

/* 서브1 */
.sub1 .sub-container::before {
    background: url(../images/sub/sub1_bg.png) no-repeat center center / contain;
}
.sub1 .cont2 .type-interview .tip-box1:has(.img) .txt {
    width: calc(100% - 30rem);
}
.sub1 .cont2 .type-interview .tip-box .img {
    width: 28rem;
}
@media (max-width:1080px) {
    .sub1 .cont2 .type-interview .tip-box .txt br {
        display: none;
    }
    .sub1 .cont2 .type-interview .tip-box1:has(.img) .txt {
        width: calc(100% - 26rem);
    }
    .sub1 .cont2 .type-interview .tip-box .img {
        width: 24rem;
    }
}
@media (max-width:800px) { 
    .sub1 .sub-container::before {
        display: none;
    }
    .sub1 .cont2 .type-interview .tip-box1:has(.img) .txt {
        width: 100%;
    }
    .sub1 .cont2 .type-interview .tip-box .img {
        width: 100%;
        padding:3rem 0 0 5.5rem;
    }
}

/* 서브2 */
.sub2 .sub-container::before {
    background: url(../images/sub/sub2_bg.png) no-repeat center center / contain;
}
.sub2 .type-interview .a.name .n1 {
    background: #fd6a67;
}
.sub2 .type-interview .a.name .n2 {
    background: #fab828;
}

/* 서브3 */
.sub3 .sub-tab {
    width: min(1100px,100%);
}
.sub3 .sub-container::before {
    max-width: 1400px;
    background: url(../images/sub/sub3_bg.png) no-repeat center center / contain;
}
.sub3 .type-interview .a.name .n1 {
    background: #a43ed7;
}
.sub3 .type-interview .a.name .n2 {
    background: #7bdf34;
}
.sub3 .type-interview .img-box.show-800 > div {
    width: 100%;
}
.sub3 .table-box {
    margin-block: 6rem;
}
.sub3 .table-box .table-tit {
    font-size: max(26px,3rem);
    text-align: center;
    margin-bottom: 3.5rem;
}
.sub3 .table-box ul {
    background: #f2f2f2;
    padding: 3.5rem 9rem;
    margin-bottom: 2rem;
    position: relative;
}
.sub3 .table-box ul::before {
    content: '';
    position: absolute;
    top: 0;
    right: 10%;
    width: min(137px, 13%);
    transform: translateY(-85%);
    height: min(150px, 50%);
    background: url(../images/sub/sub3_1_img12.png) no-repeat center bottom / contain;
}
.sub3 .table-box ul li {
    display: grid;
    grid-template-columns: 1fr 2.1fr 2.1fr;
    padding-block: 1.2rem;
    border-top: 1px solid #bdbdbd;
}
.sub3 .table-box ul li:first-child {
    border-top: 0;
}
.sub3 .table-box ul li:first-child p:not(:first-child) {
    font-weight: 700;
    color: var(--point);
}
.sub3 .table-box ul li p {
    font-size: max(15px,2rem);
}
.sub3 .table-box ul li p:not(:first-child) {
    text-align: center;
}
.sub3 .table-box ul li p span {
    padding: 0.5rem 0.8rem;
    border-radius: 5px;
    background: var(--point);
    color: #fff;
    font-weight: 600;
}
@media (max-width:1080px) {
    .sub3 .table-box ul::before {
        right: 5%;
    }
    .sub3 .table-box ul {
        padding: 3rem;
    }
    .sub3 .table-box ul li {
        grid-template-columns: 90px 1fr 1fr;
        row-gap: 0 10px;
    }
}
@media (max-width:800px) {
    .sub3 .table-box ul::before {
        display: none;
    }
}

/* 서브4 */
.sub4 .sub-container::before {
    max-width: 1380px;
    background: url(../images/sub/sub4_bg.png) no-repeat center center / contain;
}
.sub4 .type-interview .a.name .n1 {
    background: #1a86b8;
}
.sub4 .type-interview .a.name .n2 {
    background: #ffaa47;
}

/* 서브5 */
.sub5 .sub-container::before {
    display: none;
}
.sub5 .sub-container {
   width: min(1410px,100%);
}
.sub5 .cont1 {
    width: min(1100px,100%);
    margin-inline: auto;
}
.sub5 .cont1 .cont-tit {
    text-align: left;
    color: var(--tit-color);
    margin-block:13rem 4rem;
    padding-top: 2rem;
    border-top: 2px solid var(--tit-color);
}
.sub5 .cont1 p {
    font-size: max(18px,2.3rem);
    font-family: "Pretendard";
    letter-spacing: -0.04em;
    line-height: 1.8;
}
.sub5 .cont1 b {
    color: var(--tit-color);
    font-weight: 600;
}
.sub5 .cont2 .cont-tit {
    margin-bottom: 5rem;
}
.sub5 .cont2 .cont-tit:has(+p) {
    margin-bottom: 0;
}
.sub5 .cont2 sup {
    color: inherit;
}
.sub5 .cont2 .cont-tit + p {
    font-size: max(15px,2rem);
    font-family: "Pretendard";
    color: #999;
    text-align: center;
    letter-spacing: -0.04em;
    line-height: 1.8;
    margin-block: 1rem 5rem;
}
.sub5 .cont2 .cont-tit span {
    display: inline-block;
    font-size: 3.2rem;
    width: 4rem;
    height: 4rem;
    line-height: 4.2rem;
    border-radius: 50%;
    background: #1c2428;
    color: #fff;
    margin-bottom: 2rem;
}
.sub5 .cont2 .cont-tit b {
    color: var(--b-color);
}
.sub5 .cont2 .cont-tit small {
    font-size: .75em;
    color: #999;
}
@media (min-width:1701px) {
    .sub5 .sub-top .title {
        max-width: 100%;
    }
}
@media (max-width:1580px) {
    .sub5 .sub-container {
        padding-inline: 4%;
    }
}
@media (max-width:1280px) {
    .sub5 .cont2 .cont-tit {
        margin-top: 10rem;
    }
}

/* 서브6 */
.sub6 .sub-container {
    width: min(1410px,100%);
 }
.sub6 .cont-tit {
    margin-block:0 5rem;
}
.sub6 .cont-tit span {
    display: inline-block;
    font-size: 3.2rem;
    width: 4rem;
    height: 4rem;
    line-height: 4.2rem;
    border-radius: 50%;
    background: var(--tit-color);
    color: #fff;
    margin-bottom: 2rem;
}
.sub6 .cont-tit small {
    font-size: .75em;
    color: #999;
}
.sub6 .cont::before {
    content: '';
    position: absolute;
    bottom:-2rem;
    right:-2rem;
    width: 100%;
    height: 100%;
    border:1px solid #1c2428;
    background: #f2f2f2;
    border-radius: 2rem;
}
.sub6 .cont:not(:first-child) {
    margin-top: 13rem;
}
.sub6 .cont .cont-inner {
    width: min(1100px,100%);
    margin-inline: auto;
}
.sub6 .cont .box {
    padding: 7rem 4%;
    border:1px solid #1c2428;
    background: #fff;
    border-radius: 2rem;
    position: relative;
}
.sub6 .cont .box::before {
    content: '';
    position: absolute;
    top:1px;
    left:50%;
    transform: translate(-50%,-50%);
    width: min(1281px,85%);
    height: 5rem;
    background: url(../images/sub/sub6_cont_icon.png) no-repeat center center / contain;
}
.sub6 .cont .img {
    display: flex;
    gap: 1rem;
    width: fit-content;
    position: relative;
    margin-inline: auto;
}
.sub6 .cont .img2 img {
    max-width: 49%;
}
.sub6 .cont .img3 img {
    max-width: 32%;
}
.sub6 .cont .img p {
    position: absolute;
    bottom:-1.5rem;
    right:-1.5rem;
    padding: .5rem 1rem;
    background: #fff;
    border:1px solid #000;
    font-size: max(16px,1.9rem);
}
.sub6 .cont p {
    margin-top: 8rem;
    font-family: "Pretendard";
    font-size: max(15px,2rem);
    line-height: 1.85;
    letter-spacing: -0.01em;
}
.sub6 .cont .last {
    background: #dcfdef;
    padding: 1.2rem 2rem;
    margin-top: 6rem;
    align-items: center;
    gap: 2rem;
    
}
.sub6 .cont .last .icon {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background: #3dbc84;
    align-items: center;
    justify-content: center;
}
.sub6 .cont .last .icon img {
    width: 2.5rem;
}
.sub6 .cont .last h4 {
    font-size: 2.4rem;
    max-width: calc(100% - 6.5rem);
}
@media (max-width:1720px) {
    .sub6 .sub-container {
        padding-inline: 4% calc(4% + 2rem);
    }
}
@media (max-width:1420px) {
    .sub6 .cont .img:not(.img2, .img3) {
        flex-direction: column;
    }
    .sub6 .cont .box {
        padding: 5rem 4%;
    }
}
@media (max-width:1080px) {
    .sub6 .cont-tit {
        font-size: 4rem;
    }
    .sub6 .cont p {
        margin-top: 6rem;
    }
    .sub6 .cont .img2,
    .sub6 .cont .img3 {
        flex-direction: column;
    }
    .sub6 .cont .img2 img,
    .sub6 .cont .img3 img {
        max-width: 100%;
    }
}
@media (max-width:800px) {
    .sub6 .cont .box::before {
        width: min(800px,85%);
        height: 5rem;
        background: url(../images/sub/sub6_cont_icon_mo.png) no-repeat center center / contain;
    }
}