@charset "utf-8";
.sub {
    font-family: 'BMJUA';
    padding-top: 22.5rem;
    background: var(--bg-color);
}
.sub p {
    font-family: 'Pretendard';
}
.sub-wrap {
    margin: 0 4%;
    background: #fff;
    padding-bottom: 11rem;
    position: relative;
}
.sub-wrap::before,
.sub-wrap::after {
    content: '';
    position: absolute;
    top:0;
    right:0;
    width: min(10rem, 13vw);
    height: min(10rem, 13vw);
    background: var(--bg-color);
}

.sub-wrap::after {
    background: #f5f5f5;
    clip-path: polygon(0 0, 0% 100%, 100% 100%);
}

.sub-container {
    width: min(1100px,100%);
    margin:13rem auto 0;
    position: relative;
}
.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-clip {
    width: min(22rem,30%);
    transform: translateY(-60%);
    margin: 0 auto;
}
.sub-top {
    width: min(1410px,100%);
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    margin-inline: auto;
    position: relative;
}
.sub-top::before {
    content: '';
    position: absolute;
    top:65%;
    right: 0;
    transform: translateY(-50%);
}

.sub .tag {
    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: 4.5rem;
    letter-spacing: -0.015em;
    margin-top: 1.5rem;
}
.sub-top .title h5 {
    font-size: 3.2rem;
    margin-bottom: 4rem;
}
.sub-top .title h6 {
    font-size: 3.2rem;
    margin-top: 4rem;
    /* color: var(--txt-point); */
}

.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%;
    }
    .sub-top::before {
        right: 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.2rem;
    }
}
@media (max-width:800px) {
    .sub-top {
        flex-flow: column wrap;
    }
    .sub-top::before {
        display: none;
    }
    .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-top .title h2 {
        font-size: 5.6rem;
    }
}

/* 서브하단 네비 */
.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: 2rem 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);
}
.sub-tab3 {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    /* grid-template-columns: repeat(3,1fr); */
}
.sub-tab3 li {
    width: calc(100%/3 - 8rem/3);
}
@media (max-width:1080px) {
    .sub-tab {
        grid-template-columns: 1fr;
        max-width: fit-content;
        gap: 2rem;
    }
    .sub-tab3 li {
        width: calc(50% - 1rem);
    }
    .sub-tab li a {
        padding:1.5rem 2.5rem;
    }
}
@media (max-width:500px) {
    .sub-tab3 li {
        width: 100%;
    }
}

/* 서브 내용 공통 */
.sub .cont:not(:nth-of-type(1)) {
    margin-top: 14rem;
}
.cont-tit {
    font-size: 5.4rem;
    text-align: center;
    margin-block:14rem 7rem;
}
.cont-tit2 {
    font-size: 4.8rem;
    text-align: left;
    margin-block:14rem 3rem;
}
.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(--txt-point);
}
img + .caption,
table + .caption  {
    margin-top: 2rem;
}
b.hl,
span.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(--txt-point);
}
.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;
}   
.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::before {
    content: '';
    position: absolute;
    top:12px;
    left:0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #000;
}
.type-interview .info p {
    font-family: 'Pretendard';
    font-size: max(18px,2rem);
}
.type-interview .info3  {
    justify-content: space-between;
}
.type-interview .info3 > h4 {
    width: 100%;
    text-align: center;
    font-size: 5rem;
    color: var(--txt-point);
    margin-bottom: 3rem;
}
.type-interview .info3 > div {
    width: 32%;
}
.type-interview .info3 .img,
.type-interview .info3 .txt {
    width: 100%;
    text-align: center;
}
.type-interview .info3 .txt h3 {
    font-size: 3rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}
.type-interview .info3 .txt p {
    font-family: 'Pretendard';
    font-size: max(15px,1.9rem);
}

.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),
.type-interview > h4.etc  {
    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 .num-l {
    letter-spacing: -0.1em;
}
.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 .n1 {
    background-color: var(--name-bg1);
}
.type-interview .a.name .n2 {
    background-color: var(--name-bg2);
}
.type-interview .a.name .n3 {
    background-color: var(--name-bg3);
}
.type-interview .a.name .n4 {
    background-color: var(--name-bg4);
}
.type-interview .a.name .n5 {
    background-color: var(--name-bg5);
}
.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%);
}

/* 이미지박스 */
.cont  .img-box {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap:2rem 3rem;
    margin-top: 6rem;
    position: relative;
}
.cont  .img-box:has(+p) {
    margin-bottom: 6rem;
}
.cont  .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;
}
.cont  .img-box > div {
    display: flex;
    flex-direction: column;
}
.cont  .img-box.img1 {
    grid-template-columns: 1fr;
    justify-items: center;
}
.cont  .img-box.img3 {
    grid-template-columns: repeat(3,1fr);
}
.cont  .img-box.img4 {
    grid-template-columns: repeat(4,1fr);
}
.cont  .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 0 0 1.5px #222;
}
.cont  .img-box img.no-br {
    box-shadow: none;
}

/* 말풍선 배너 */
.cont  .banner {
    margin-block: 5rem;
    text-align: center;
    font-family: 'GangwonEdu_OTFBoldA';
}
.cont  .banner img {
    width: min(48px,50%);
    margin-bottom: 1.5rem;
}
.cont  .banner h4 {
    font-size: max(20px,2.3rem);
    line-height: 1.8;
}
.cont  .banner h4 span {
    font-size: 2.9rem;
    position: relative;
    display: inline-block;
}
.cont  .banner h4 span b {
    position: relative;
    z-index: 2;
}
.cont  .banner h4 span::before {
    content: '';
    position: absolute;
    bottom:20%;
    left: 0;
    width: 100%;
    height: 1.4rem;
    border-radius: 1rem;
    background: var(--banner-color);
}



/* 팁박스 */
.cont .tip-box {
    background: var(--box-bg);
    padding: 4rem 5rem 4rem 4rem;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    margin-top: 6rem;
    position: relative;
}
.cont .tip-box .txt h4 {
    font-size: max(21px,2.5rem);
    margin-bottom: 2rem;
}
.cont .tip-box .txt p {
    font-size: max(16px,1.9rem);
    line-height: 1.7;
}
.cont .tip-box .txt b {
    font-weight: 700;
}
.cont .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;
}
.cont .tip-box2 .deco {
    position: absolute;
    top: 0;
    left: 75%;
    transform: translate(-50%, -50%);
    width: min(8rem, 16%);
    height: 6.5rem;
}
.cont .tip-box2 li {
    margin-bottom: 4rem;
    padding-left: 2.5rem;
}
.cont .tip-box2 li:last-child {
    margin-bottom: 0;
}
.cont .tip-box2 h5 {
    font-family: 'Pretendard';
    font-size: max(18px,2rem);
    margin-bottom: 1rem;
    color: var(--tip-bg);
    font-weight: 600;
    position: relative;
}
.cont .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);
}
.cont .tip-box3 .tip-icon {
    margin-bottom: 2rem;
}
.cont .tip-box3 .tip-icon::before {
    background: url(../images/sub/icon_tip_check.svg) var(--tip-bg) no-repeat center center / 50%;
}
.cont .tip-box3 .deco {
    position: absolute;
    top:0;
    left: 70%;
    transform: translate(-50%,-50%);
    width: min(6.6rem,20%);
    height: 7rem;
}
.cont .tip-box3 .txt {
    width: 100%;
}
.cont .tip-box3 ul {
    gap: 2rem;
}
.cont .tip-box3 ul li {
    display: grid;
    grid-template-columns: 4rem 1fr;
    gap: 2rem;
}
.cont .tip-box3 ul li b {
    font-size: 1.1em;
    color: var(--tip-bg);
}
.cont .tip-box4 .deco {
    position: absolute;
    top: -5%;
    right: 10%;
    transform: translateY(-50%);
    width: min(9rem, 20%);
}
.cont .tip-box4 .tip-icon::before {
    background: url(../images/sub/icon_tip_check.svg) var(--tip-bg) no-repeat center center / 50%;
}
.cont .tip-box5 .deco {
    position: absolute;
    top:0;
    right: 10%;
    transform: translateY(-29%);
    width: min(4rem,16%);
    height: 6.5rem;
}
.cont .tip-box5 .tip-icon::before {
    background: url(../images/sub/icon_tip_pen.png) var(--tip-bg) no-repeat center center / 2.5rem;
}
.cont .tip-box5::before {
    content:"";
    position: absolute;
    bottom:0;
    right:0;
    width: 5.6rem;
    height: 5.6rem;
    background: #fff;
}
.cont .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);
}
.cont .tip-box6 {
    display: block;
    padding-block: 2rem ;
    background: #f2f2f2;
}
.cont .tip-box6 p {
    text-align: right;
    font-size: max(16px, 1.9rem);
    line-height: 1.7;
}

@media (min-width:1081px) {
    .cont  .img-box > p.caption {
        grid-column: 1 / 3;
    }
    .cont  .img-box.img1 > p.caption {
        grid-column: 1 / 2;
    }
    .cont  .img-box.img3 > p.caption {
        grid-column: 1 / 4;
    }
    .cont  .img-box.img4 > p.caption {
        grid-column: 1 / 5;
    }
}
@media (max-width:1080px) {
    .type-interview .info {
        justify-content: center;
    }
    .type-interview .info3 {
        align-items: flex-start;
        justify-content: space-between;
    }
    .type-interview .info:not(.info3) .img {
        width: 40%;
        text-align: center;
    }
    .type-interview .info .txt {
        width: auto;
        padding-left: 6rem;
    }

    .cont  .img-box:not(.img4) {
        display: flex;
        flex-flow: column wrap;
        align-items: center;
        gap: 3rem;
        width: fit-content;
        margin-inline: auto;
    }
    .cont  .img-box > div {
        max-width: 100%;
    }
    .cont  .img-box.img4 {
        grid-template-columns: repeat(2,1fr);
    }
  
    .cont  .img-box.img4 > p.caption {
        grid-column: 1 / 3;
    }

    .cont .tip-box1 {
        gap: 2rem;
    }
    .cont .tip-box1 .img {
        padding-left: max(34px, 5.5rem);
    }
}
@media (max-width:800px) {
    .type-interview .info .img {
        width: 100%;
    }
    .type-interview .info .txt {
        margin-top: 4rem;
        padding-left: 0;
    }
    .type-interview .info:not(.info3) .txt h4 {
        font-size: 3.8rem;
    }
    .type-interview .info:not(.info3) .txt h3 {
        font-size: 4.2rem;
    }

    .type-interview .info3 > div {
        width: 100%;
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2rem;
    }
    .type-interview .info3 .img {
        width: 48%;
    }
    .type-interview .info3 .txt {
        width: 48%;
        text-align: left;
    }

    .cont .img-box::before {
        transform: translate(30%, 30%);
        width: 8rem;
        height: 9rem;
    }
    .cont  .img-box.img4{
        display: flex;
        flex-flow: row wrap;
        align-items: center;
        justify-content: center;
        gap: 3rem;
        width: fit-content;
        margin-inline: auto;
    }
    .cont  .img-box.img3 > div {
        max-width: 100%;
    }
    .cont  .img-box.img4 > div {
        max-width: calc(49% - 1.5rem);
    }
    .cont .tip-box {
        padding: 3rem;
    }
    .cont .tip-box1 .img{
        /* padding-left: max(34px, 5.5rem); */
    }
    .cont .tip-box .txt p br {
        display: none;
    }
    .cont .tip-box2 ul {
        margin-left: -2.5rem;
    }
}
@media (max-width:500px) {
    .cont  .img-box.img4 > div {
        max-width: 100%;
    }
}



/* 명함 레이아웃 */
.nameCard {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    background: #f2f2f2;
    margin-top: 6rem;
    padding: 3.5rem 3rem;
    font-family: 'Pretendard';
    font-size: max(16px, 1.9rem);
}
.nameCard .nameInfo {
    padding-left: 2.5rem;
    border-left: max(4px,0.7rem) solid var(--txt-point);
}
.nameCard .nameInfo p {
    font-size: .95em;
}
.nameCard .nameInfo h3 {
    font-size: 1.05em;
}
.nameCard .nameInfo h3 b {
    font-size: 1.8em;
    letter-spacing: .1em;
}
.nameCard .nameTxt {
    padding-left: 2rem;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    height: stretch;
    border-left: 2px solid #b2b2b2;
}
.nameCard .nameTxt p {
    line-height: 1.5;
}
@media (max-width:1080px) {
    .nameCard .nameTxt {
        width: 100%;
        padding: 1.5rem 0 0 2.5rem;
        border-left: max(4px,0.7rem) solid var(--txt-point);
    }
}

/* 서브1 */
.sub1 .sub-container::before {
    background: url(../images/sub/sub1_bg.png) no-repeat center center / contain;
}
@media (max-width:800px) { 
    .sub1 .sub-container::before {
        display: none;
    }
}

/* 서브2 */
.sub2 .sub-container::before {
    background: url(../images/sub/sub2_bg.png) no-repeat center center / contain;
}

/* 서브3 */
.sub3 .sub-container::before {
    max-width: 1400px;
    background: url(../images/sub/sub3_bg.png) no-repeat center center / contain;
}

/* 서브4 */
.sub4 .sub-container::before {
    max-width: 1380px;
    background: url(../images/sub/sub4_bg.png) no-repeat center center / contain;
}

/* 서브5 */
.sub5 .sub-container::before {
    display: none;
}
.sub5 .cont-tit2 {
    text-align: center;
}
.sub5 .color {
    color: var(--txt-point);
}

.sub5 .type-interview .a.name > p > span {
    width: 15rem;
    letter-spacing: -0.03em;
}
.sub5 .type-interview .a.name > p {
    padding-left: 17rem;
}
@media (max-width:800px) {
    .sub5 .type-interview .a.name > p {
        padding-left: 0;
        padding-top: 6rem;
    }
    .sub5 .type-interview .a.name > p > span::before {
        top: 100%;
        right: 50%;
        background: inherit;
        transform: translate(50%, -50%) rotate(90deg);
    }
}





/* 서브6 */
.sub6 .sub-container {
    width: min(1410px,100%);
 }
.sub6 .cont-tit {
    font-size: 5.2rem;
    margin-block:0 5rem;
    letter-spacing: -0.03em;
}
.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: grid;
    gap: 1rem;
    grid-template-columns: repeat(2,1fr);
    position: relative;
    margin-inline: auto;
}
.sub6 .cont .img img {
    box-shadow: 0 0 0 1px #222;
}
.sub6 .cont .img1 {
    grid-template-columns: 1fr;
}
.sub6 .cont .img3 {
    grid-template-columns: repeat(3,1fr);
}

.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 .img:not(:has(p)) + p {
    margin-top: 6rem;
}

.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);
}

.sub6 .table-box {
    margin-block: 6rem;
}
.sub6 .table-tit {
    font-size: max(26px,3rem);
    text-align: center;
    margin-block: 6rem 3rem;
}
.sub6 .table-box {
    background: #f2f2f2;
    border-radius: 3rem;
    border:1px solid #222;
    padding: 4rem;
    position: relative;
    margin-top: 0;
}
.sub6 .table-box .th,
.sub6 .table-box .td {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    text-align: center;
    padding:2rem; 
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #222;
}
.sub6 .table-box .th h4 {
    color: var(--point-color1);
    font-size: max(18px, 2.2rem);
    font-family: 'Pretendard';
    font-weight: 700;
}
.sub6 .table-box .td {
    padding-block: .5rem;
    margin-top: 1rem;
}
.sub6 .table-box .td p{
   margin-top: 0;
   padding-block: 1.5rem;
   border-bottom: 1px solid #222;
}
.sub6 .table-box .td p:nth-of-type(27) ~ p  {
    border-bottom: 0;
}
.sub6 .table-box .td p span {
    padding: 0.5rem 0.8rem;
    border-radius: .75rem;
    background: var(--point-color1);
    color: #fff;
    font-weight: 600;
}

@media (max-width:1720px) {
    .sub6 .sub-container {
        padding-inline: 4% calc(4% + 2rem);
    }
}
@media (max-width:1420px) {
    .sub6 .cont .box {
        padding: 5rem 4%;
    }
}
@media (max-width:1080px) {
    .sub6 .cont-tit {
        font-size: 4rem;
    }
    .sub6 .cont p {
        margin-top: 6rem;
    }
    .sub6 .cont .img:not(:has(p)) + p {
        margin-top: 4.5rem;
    }
    .sub6 .cont .img3 {
        grid-template-columns: repeat(2,1fr);
    }
    
}
@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;
    }
    .sub6 .cont .img {
        display: flex;
        flex-flow: row wrap;
    }
    .sub6 .table-box-wrap {
        overflow-x: scroll;
        margin-bottom: 6rem;
    }
    .sub6 .table-box  {
        min-width: 500px;
        margin-bottom: 1rem;
    }

    .sub6 .table-box-wrap::-webkit-scrollbar {
        height: 10px;  
    }
    
    .sub6 .table-box-wrap::-webkit-scrollbar-thumb {
        background: var(--txt-point); /* 스크롤바 색상 */
        border-radius: 10px; /* 스크롤바 둥근 테두리 */
    }
    
    .sub6 .table-box-wrap::-webkit-scrollbar-track {
        background: var(--bg-color);  /*스크롤바 뒷 배경 색상*/
    }
}