.sub1 {
    --txt_color: #07599c; 
    --point_color: #4885c2; 
    --bg_color: #edf6ff; 
    --top_btn:#1272bf;
    --slide_color:#2480cb;
    --slide_border:#58a7e7;
    --slide_bg: #8ee3ff;
}
.sub2,
.sub3 {
    --txt_color: #5d3f2e; 
    --point_color: #5d3f2e; 
    --bg_color: #ffefe2; 
    --top_btn:#5d3f2e;
    --slide_color:#5d3f2e;
    --slide_border:#c07a53;
    --slide_bg: #ffd2a6;
}
.sub4 {
    --txt_color: #0096ad; 
    --point_color: #0096ad; 
    --bg_color: #eefffe; 
    --top_btn:#1cbbd4;
    --slide_color:#0096ad;
    --slide_border:#1cbbd4;
    --slide_bg: #9ee3df;
}

.sub .header-wrap {
    background-color: var(--top_btn);
}
.sub .sub-container {
    background: var(--bg_color);
}

.sub1 .sub-tab li:nth-child(1) a {
    background: #58a7e7;
}
.sub1 .sub-tab li:nth-child(2) a {
    background: #3388cd;
}
.sub1 .sub-tab li:nth-child(3) a {
    background: #1272bf;
}
.sub1 .sub-tab li:nth-child(4) a {
    background: #07599c;
}

.sub2 .sub-tab li:nth-child(1) a {
    background: #ffa861;
}
.sub2 .sub-tab li:nth-child(2) a {
    background: #ff9a47;
}
.sub2 .sub-tab li:nth-child(3) a {
    background: #f38429;
}
.sub2 .sub-tab li:nth-child(4) a {
    background: #ed6b00;
}

.sub3 .sub-tab li:nth-child(1) a {
    background: #ffa861;
}
.sub3 .sub-tab li:nth-child(2) a {
    background: #ff9a47;
}
.sub3 .sub-tab li:nth-child(3) a {
    background: #f38429;
}
.sub3 .sub-tab li:nth-child(4) a {
    background: #ed6b00;
}


.sub4 .sub-tab li:nth-child(1) a {
    background: #78d1df;
}
.sub4 .sub-tab li:nth-child(2) a {
    background: #57c9db;
}
.sub4 .sub-tab li:nth-child(3) a {
    background: #1cbbd4;
}
.sub4 .sub-tab li:nth-child(4) a {
    background: #07a4bc;
}

@media (max-width:500px) {
    .sub2 .sub-tab li:nth-child(2) a {
        font-size: 2rem;
        letter-spacing: -1px;
    }
}




/* 서브 탑 */
.sub-visual {
    position: relative;
    font-family: 'Mbc1961GLM';
    height: 62.5rem;
    background: url(../images/sub/sub1_visual.png) no-repeat center center / cover;
}
.sub-visual .txt {
    position: absolute;
    top: 25%;
    left: 0;
    transform: translateY(50%);
    z-index: 9;
    text-align: center;
    width: 100%;
    color: var(--txt_color);
}
.sub-visual .txt h5 {
    display: inline-block;
    font-size: 2.2rem;
    padding-block: 1.2rem 0.8rem;
    border-top: 3px solid;
    border-bottom: 3px solid;
}
.sub-visual .txt h1 {
    font-size: 8rem;
    line-height: 1.2;
    margin-top: 2.5rem;
}
.sub-visual .txt h4 {
    font-size: 3.2rem;
}
.sub-visual .deco-img {
    position: absolute;
    bottom: -1.5%;
    left: 4%;
    width: 96%;
    z-index: 4;
}

.sub2 .sub-visual,
.sub3 .sub-visual {
    background-image: url(../images/sub/sub2_visual.jpg);
}
.sub2 .sub-visual .deco-img,
.sub3 .sub-visual .deco-img,
.sub4 .sub-visual .deco-img {
    bottom: -1%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}
.sub4 .sub-visual {
    background-image: url(../images/sub/sub4_visual.jpg);
}


@media (max-width:992px) {

}
@media (max-width:768px) {
    .sub-visual {
        height: clamp(47rem, 80vw, 55rem);;
    }
    .sub-visual .deco-img {
        left: 2%;
        width: min(943px,96%);
    }
    .sub-visual .txt h5 {
        font-size: clamp(14px,3vw,2.8rem);
    }
    .sub-visual .txt h1 {
        font-size: clamp(45px,11vw,8rem);
        margin-top: 1.5rem;
    }
    .sub-visual .txt h4 {
        font-size: clamp(18px,4vw,3.6rem);
    }
    .sub-visual .txt h5 {
        border-width: 2px;
    }
}
@media (max-width:500px) {
}



/* 서브 슬라이드 메뉴 */
.sub-menu {
    padding-block: 3.5rem;
    background: var(--slide_bg);
    position: relative;
}
.sub-menu-swiper {
    padding-block: 2px;
}
.sub-menu-swiper .swiper-slide {
    padding-block: 3rem 3.7rem;
    background: #fff;
    border-top: 3.5rem solid var(--slide_border);
    opacity: 0.75;
}
.sub-menu-swiper .swiper-slide.on {
    opacity: 1;
}
.sub-menu-swiper .swiper-slide::before {
    content: '';
    position: absolute;
    top: -2rem;
    right: 1rem;
    width: 37px;
    height: 7px;
    background: url(../images/sub/sub_deco01.png) no-repeat center / contain;
}

.sub-menu-swiper .swiper-slide h3 {
    text-align: center;
    color: var(--slide_color);
    font-size: 2rem;
    font-family: 'Mbc1961GLM';
    line-height: 1.2;
    letter-spacing: -0.03em;
}
.swiper-button-next:after, 
.swiper-button-prev:after {
    display: none;
}

.swiper-button-next,
.swiper-button-prev {
    width: 2.8rem;
    height: 2.8rem;
    border-top: 2px solid var(--slide_color);
    border-right: 2px solid var(--slide_color);
    margin: 0;
    top:50%;
}
.swiper-button-prev {
    left: 5%;
    transform: rotate(225deg) translateY(50%);
}
.swiper-button-next {
    transform: rotate(45deg) translateX(-50%); 
    right: 5%;
}
@media (max-width:1200px) {
    .swiper-button-prev {
        left: 1%;
    }
    .swiper-button-next {
        right: 1%;
    }
    .sub-menu-swiper {
        margin-inline: 15px;
    }
}

/* 서브 컨테이너 */
.sub-container {
    padding-block: 6rem 10rem;
}

/* 서브 컨텐츠 메뉴 */
.sub-tab {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    align-items: end;
    width: min(100%, 650px);
    transform: translateY(1.5rem);
}
.sub-tab li {
    border: 2px solid #333;
    border-bottom:0;
    padding-bottom: 3rem;
    border-radius: 1rem 1rem 0 0;
    overflow: hidden;
    background: #fff;
    transition: all 0.2s;
}
.sub-tab li a {
    display: block;
    line-height: 5rem;
    text-align: center;
    font-size: 2.4rem;
    font-weight: 700;
    color: #fff;
    border-bottom: 2px solid #333;
}
.sub-tab li:hover {
    transform: translateY(-1.5rem);
}
@media (max-width:768px) {
    .sub-tab li a {
        font-size: 2rem;
        line-height: 5rem;
    }
}

/* 서브 컨텐츠 */
.sub-content {
    padding: 6.5rem 6rem 10rem;
    border: 2px dashed #333;
    background: #fff;
    position: relative;
    z-index: 2;
}
.sub-content .cont:not(.cont1) {
    padding-top: 9.5rem;
}

.sub-content .cont-tit {
    text-align: center;
    position: relative;
    padding-block: 5rem;
    border-top: 2px solid #aeaeae;
    border-bottom: 2px solid #aeaeae;
}
.sub-content .cont-tit::before,
.sub-content .cont-tit::after {
    content: '“';
    font-size: 14rem;
    font-family: 'MuseumCulturalFoundationClassic';
    position: absolute;
    width: 6rem;
    padding-inline: 2rem;
    height: 6rem;
    line-height: 1;
    background: #fff;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: left;
    color: var(--point_color);
}

.sub2 .sub-content .cont-tit::before,
.sub2 .sub-content .cont-tit::after,
.sub3 .sub-content .cont-tit::before,
.sub3 .sub-content .cont-tit::after {
    color: #f38429;
}

.sub-content .cont-tit::after {
    content: '”';
    top:auto;
    bottom: 0;
    transform: translate(-50%, 50%);
    text-align: right;;
 }

.sub-content .cont-tit h2 {
    font-size: 4.2rem;
    font-family: 'Mbc1961GLM';
}
.sub-content .cont-tit ul {
    justify-content: center;
}
.sub-content .cont-tit li {
    font-size: 2.1rem;
    padding-inline: 1rem;
    position: relative;
    letter-spacing: -0.02em;
}
.sub-content .cont-tit li::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 70%;
    background: #333;
}
.sub-content .cont-tit li:last-child::before {
    display: none;
}
.sub-content .cont-tit .team {
    display: grid;
    grid-template-columns: 6rem 1fr;
    margin-bottom: 2rem;
}
.sub-content .cont-tit .team:last-child {
    margin-bottom: 0;
}
.sub-content .cont-tit .team h4 {
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--point_color);
}
.sub-content .cont-tit .team ul {
    justify-content: flex-start;
}
.sub-content .cont-tit + div {
    margin-top: 7rem;
}
@media (max-width:1200px) {
    .sub-content {
        padding-inline: min(6rem,6%);
    }
}

/* 서브컨텐츠 타입-책  */
.type-book {
    align-items: flex-start;
    justify-content: space-between;
    gap: 4rem;
}
.type-book .img {
    max-width: 443px;
    width: calc(50% - 4rem);
    display: flex;
    position: relative;
}
.type-book .img::before {
    content: '';
    position: absolute;
    top: 0;
    right: -2rem;
    width: 2rem;
    height: 100%;
    background: url(../images/sub/sub_deco_book01.png) round left top / contain;
}
.type-book .img.border img {
    border: 1px solid #d7d7d7;
}

.type-book .info {
    width: calc(50% - 2rem);
}
.type-book .info h2 {
    font-size: 5.4rem;
    font-family: 'Ria';
    font-weight: 700;
    color: var(--point_color);
    letter-spacing: -0.03em;
}
.type-book .info h2 b,
.type-book .info h2 span {
    position: relative;
    display: inline-block;
    text-decoration: underline;
    text-decoration-thickness: 1.7rem;
    text-underline-offset: -0.7rem;
    text-decoration-color: #ffdfe8;
}
.type-book .info h2 i {
    font-style: normal;
    font-size: 0.45em;
    font-family: "Pretendard Variable";
}
.type-book .info h2:not(.small) span {
    transform: translateY(0.5em);
}
.type-book .info h2.small {
    line-height: 1.4;
}
.type-book .info h2.small span {
    font-size: 0.7em;
}

.type-book .info > ul {
    margin-top: 4.2rem;
    display: flex;
    flex-flow: column wrap;
    gap: 1.8rem;
}
.type-book .info > ul li {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    gap: 1.8rem;
    font-size: 2rem;
    position: relative;
    padding-left: 2.5rem;
}
.type-book .info > ul li::before {
    content: '';
    position: absolute;
    top: 0.5em;
    left: 0;
    width: 1.3rem;
    height: 1.3rem;
    background: var(--point_color);
    border-radius: 50%;
}
.type-book .info > ul li h4 {
    font-size: 2.4rem;
    display: inline-block;
    width: 9.5rem;
    text-align: justify;
    font-weight: 700;
    color: var(--point_color);
}
.type-book .info .txt {
    padding: 2rem 2.5rem;
    background: var(--bg_color);
    margin-top: 2rem;
    color: var(--point_color);
}
.type-book .info .txt h4 {
    font-size: 2.2rem;
    font-weight: 700;
    display: inline-block;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}
.type-book .info .txt p {
    font-size: 2rem;
    line-height: 1.6;
    letter-spacing: -0.03em;
    margin-top: 1rem;
}
.type-book .info .txt ul {
    margin-top: 1rem;
}
.type-book .info .txt ul li {
    font-size: 2rem;
    line-height: 1.6;
    letter-spacing: -0.03em;
    padding-left: 0.6em;
    text-indent: -0.6em;
}

.type-table >  .type-book {
    padding-block: 3.5rem;
}



@media (max-width:1200px) {
    .type-book .info > ul li::before {
        width: 1rem;
        height: 1rem;
    }
}
@media (max-width:992px) {
    .type-book .info h2 {
        font-size: 5.5rem;
    }
}
@media (max-width:768px) {
    .type-book {
        gap: 4rem;
    }
    .type-book .img,
    .type-book .info {
        width: 100%;
        max-width: 100%;
    }
    .type-book .img img {
        width: 100%;
    }
    .type-book .info h2 {
        font-size: 5rem;
    }
    .type-book .info h2.small span {
        font-size: 1em;
    }
}

/* 서브 컨텐츠 타입-테이블 */
.type-table .table-tit,
.type-table-book .table-tit {
    font-size: 2.8rem;
    font-weight: 700;
    font-family: 'Ria';
    color: var(--point_color);
    padding: 1.8rem 0;
    background: var(--bg_color);
    border-top: 4px solid;
    text-align: center;
    position: relative;
    line-height: 1.25;
}
.type-table .table-tit b {
    position: relative;
}
.type-table .table-tit span,
.type-table-book .table-tit span {
    font-size: 0.66em;  
    font-weight: 400;
}
.type-table .table-tit::before,
.type-table-book .table-tit::before {
    content: '';
    position: absolute;
    top: 0;
    right:3rem;
    width: 3rem;
    height: 5.3rem;
    background: url(../images/sub/sub_deco04.png) no-repeat center top / contain;
}

.sub1 .type-table .table-tit::before,
.sub1 .type-table-book .table-tit::before {
    background: url(../images/sub/sub_deco03.png) no-repeat center top / contain;
}
.sub4 .type-table .table-tit::before,
.sub4 .type-table-book .table-tit::before {
    background: url(../images/sub/sub_deco05.png) no-repeat center top / contain;
}

.type-table .row:not(.row-2),
.type-table .row-2 .col {
    padding: 2.5rem 2rem 2.5rem 5rem;
    border-bottom: 2px dashed #d7d7d7;
}
.type-table .row:has(.img-2, .img):not(:has(h3)) {
    padding-left: 2rem;
}
.type-table .row:not(.row-2):not(:has(h3)) {
    padding-left: 4rem;
}
.type-table .row-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.type-table .row-2 .col:first-child {
    border-right: 2px dashed #d7d7d7;
}


.type-table .row > h3,
.type-table .col > h3 {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--point_color);
    position: relative;
}
.type-table .row h3::before {
    content: '';
    position: absolute;
    top: 0.4em;
    /* left: -2.6rem; */
    left: 0;
    transform: translateX(-200%);
    width: 1.3rem;
    height: 1.3rem;
    background: var(--point_color);
    border-radius: 50%;
}
.type-table .row h3 small {
    font-size: .75em;
    font-weight: 400;
    color: #b6b6b6;
}
.type-table .row .name {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    background: var(--point_color);
    padding: 0.2rem 1.2rem ;
    display: inline-block;
    margin-top: 2.5rem;
    letter-spacing: 0.2em;
}
.type-table .row p,
.type-table .row ol,
.type-table .row ul {
    font-size: 2rem;
    line-height: 1.6;
    margin-top: 1rem;
    letter-spacing: -0.03em;
}
.type-table .row ol {
    list-style: decimal;
    padding-left: 1em;
    display: flex;
    flex-flow: column wrap;
    gap: 0.4rem;
}
.type-table .row ol li > b,
.type-table .row ol li:has( > b)::marker {
    font-weight: 600;
}
.type-table .row ol ul,
.type-table .row ul ol {
    margin-top: 0;
}
.type-table .row ul li {
    padding-left: .75em;
    text-indent: -.75em;
}
/* .type-table .row:has(.img-2) h3 {
    transform: translateX(3rem);
}  */
.type-table .row .img {
    text-align: center;
    width: 100%;
}
.type-table .row .img img {
    margin-top: 2rem;
}
.type-table .row .img-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
    gap: 2rem;
    text-align: center;
}
.type-table .row .img p,
.type-table .row .img-2 p,
.type-table .row .img-txt {
    font-size: max(14px, 2rem);
    text-align: center;
}
.type-table .row h3 + .img-2 {
    margin-top: 2.5rem;
}
.type-table .row .img-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2.5rem;
    border: 1px solid #e0e0e0;
}
.type-table .row .img img {
    object-fit: cover;
    border-radius: 2.5rem;
    border: 1px solid #e0e0e0;
}
@media (max-width:1200px) {
    .type-table .row h3::before {
        width: 1rem;
        height: 1rem;
    }
    .type-table .row:not(.row-2),
    .type-table .row-2 .col {
        padding:3rem 2rem 3rem 4rem;
    }
    .type-table .row:has(.img-2):not(.row-2):not(:has(h3)) {
        padding-left: min(3rem, 4%);
    } 
    .type-table .row:not(.row-2):not(:has(h3)) {
        padding-left: 2rem;
    }
     
    
}
@media (max-width:992px) {

}
@media (max-width:768px) {
    .type-table .row-2 {
        grid-template-columns: 1fr;
    }
    .type-table .row-2 .col:first-child {
        border-right: 0;
    }
    .type-table .row .img-2 {
        grid-template-columns: 1fr;
    }

    .type-table .row:not(.row-2),
    .type-table .row-2 .col,
    .type-table .row:has(.img-2):not(.row-2):not(:has(h3)),
    .type-table .row:not(.row-2):not(:has(h3)) {
        padding-inline: 2.5em;
    }
}


/* 활동사진 책 */
.type-table .book-box {
    gap: 4rem;
    margin-top: 6rem;
    justify-content: center;
}
.type-table .book-box .box {
    width: calc(100%/3 - 8rem/3);
}
.type-table .book-box .box img {
    border-radius: 0 2rem 2rem 0;
}
.type-table .book-box .txt h3 {
    margin-block: 3rem 1rem;
    padding-block: 1rem;
    font-size: max(15px,1.8rem);
    font-family: 'Ria';
    border-top: 3px solid #e3e3e3;
    border-bottom: 3px solid #e3e3e3;
    text-align: center;
}
.type-table .book-box .txt p {
    font-size: max(13px,1.6rem);
    line-height: 1.5;
    color: #7f7f7f;
}
@media (max-width:1200px) {

}
@media (max-width:992px) {
    .type-table .book-box { 
        gap: 6rem 4rem;
    }
    .type-table .book-box .box {
        width: calc(50% - 2rem);
    }
    .type-table .book-box .img img {
        width: 100%;
    }
}
@media (max-width:768px) {
   
}
@media (max-width:500px) {
    .type-table .book-box .box {
        width: 100%;
    }
}

/* 테이블, 책소개 혼합 */
.type-table-book .row {
    padding: 3.5rem 4rem;
    border-bottom: 2px dashed #d7d7d7;
}
.type-table-book .row:last-child {
    border-bottom: 2px dashed #d7d7d7;
}
.type-table-book .row:has(+ .row.name) {
    border-bottom: 2px solid var(--point_color);
}
.type-table-book .row:has(h3) {
    padding-left: 6.5rem;
}
/* .type-table-book .type-book {
    margin-top: 3.5rem;
} */
.type-table-book .row.name {
    text-align: center;
    padding-block: 2rem;
    border-bottom: 2px dashed #d7d7d7;
}
.type-table-book .row.name h4 {
    font-size: 2.6rem;
    color: var(--point_color);
    font-weight: 800;
}
.type-table-book .row > h3 {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--point_color);
    position: relative;
    margin-top: 3.5rem;
}
.type-table-book .row > h3:first-child {
    margin-top: 0;
}
.type-table-book .row h3::before {
    content: '';
    position: absolute;
    top: 0.4em;
    left: 0;
    transform: translateX(-200%);
    width: 1.3rem;
    height: 1.3rem;
    background: var(--point_color);
    border-radius: 50%;
}
.type-table-book .row > p {
    font-size: 2rem;
    line-height: 1.6;
    margin-top: 1rem;
    letter-spacing: -0.03em;
}
.type-table-book  .row ol {
    font-size: 2rem;
    line-height: 1.6;
    margin-top: 1rem;
    letter-spacing: -0.03em;
    list-style: decimal;
    padding-left: 1em;
    display: flex;
    flex-flow: column wrap;
    gap: 0.4rem;
}
@media (max-width:1200px) {
    .type-table-book .row {
        padding: 3rem 2rem;
    }
    .type-table-book .row:has(h3) {
        padding: 3rem 2rem 3rem 4rem;
    }
    .type-table-book .row h3::before {
        width: 1rem;
        height: 1rem;
    }
}