.library .s2 .inner .list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.library .s2 .inner .list .item {
    font-size: 30px;
    padding: calc(50/30*1em);
    background: #f3f3f3;
    box-sizing: border-box;
    border-radius: calc(22/30*1em);
    min-width: 0;
}
.library .s2 .inner .list .item .flx {
    display: flex; flex-direction: column;
}
.library .s2 .inner .list .item .flx .txtBx {
    display: flex; flex-direction: column;
    gap: calc(30/30*1em);
}
.library .s2 .inner .list .item .flx .txtBx .tit {
    font-size: inherit;
    font-family: 'Pretendard';
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #222222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.library .s2 .inner .list .item .flx .txtBx .desc {
    font-family: 'Pretendard';
    font-size: 18px;
    letter-spacing: -0.03em;
    line-height: calc(30/18*1em);
    color: #555555;
    word-break: keep-all;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}
.library .s2 .inner .list .item .flx .download {
    align-self: flex-end;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: 'Pretendard';
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: #fff;
    padding: calc(16/16*1em) calc(28/16*1em);
    border-radius: calc(28/16*1em);
    /* background-image: linear-gradient(to right, #7095f3 0%, #63aef4 100%); */
    background: #007ff9;
    margin-top: calc(70/16*1em);
    transition: .4s;
}
.library .s2 .inner .list .item .flx .download i {
    font-size: calc(20/16*1em);
    margin-left: calc(15/16*1em);
}

@media screen and (min-width: 821px) {
    .library .s2 .inner .list .item .flx .download:hover {
        background: #3688f7;
    }
}
@media screen and (max-width: 1440px) {
    .library .s2 .inner .list .item {
        font-size: clamp(25px, 30/1440*100vw, 30px);
    }
    .library .s2 .inner .list .item .flx .txtBx .desc {
        font-size: clamp(16px, 18/1440*100vw, 18px);
    }
    .library .s2 .inner .list .item .flx .download {
        font-size: clamp(14px, 16/1440*100vw, 16px);
        margin-top: calc(50/16*1em);
    }
}
@media screen and (max-width: 1280px) {
    .library .s2 .inner .list .item {
        padding: calc(40/30*1em) calc(30/30*1em);
    }
}
@media screen and (max-width: 1024px) {
    .library .s2 .inner .list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 820px) {
    .library .s2 .inner .list {
        gap: 20px 10px;
    }
    .library .s2 .inner .list .item {
        font-size: clamp(18px, 25/820*100vw, 25px);
    }
    .library .s2 .inner .list .item .flx .txtBx .desc {
        font-size: clamp(14px, 16/820*100vw, 16px);
    }
    .library .s2 .inner .list .item .flx .download {
        font-size: clamp(12px, 14/820*100vw, 14px);
    }
}
@media screen and (max-width: 500px) {
    .library .s2 .inner .list {
        width: 100%;
        grid-template-columns: repeat(1, 1fr);
    }
}


.layer{ position: fixed; width: 100%; height: 100%; top: 0; left: 0; z-index: 99997; display: none; }
.layer .inn{ position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 20px; padding: 45px; box-sizing: border-box; z-index: 1; background-color: #fff; width: 90%; max-width: 640px; max-height: 80vh; box-sizing: border-box; display: flex; flex-direction: column; }
.layer .bg{ background-color: rgba(0,0,0,0.8); width: 100%; height: 100%; position: absolute; top: 0; left: 0; z-index: 0; }
.layer .flx{ display: flex; }
.layer.contact .form{ max-width: unset; width: 100%; height: 100%; overflow: auto; }
.layer .inn > strong{ font-size: 30px; letter-spacing: -0.03em; line-height: 1.4; font-weight: 700; color: #222; display: block; padding-bottom: 20px; border-bottom:  1px solid #dddddd; box-sizing: border-box; margin-bottom: 25px; flex-shrink: 0; }
.layer .inn > strong span{
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(to right, #7095f3 0%, #63aef4 100%);
}
.layer.contact .formBx .submitBx{ justify-content: center; }
.layer.contact .formBx .submitBx .btn{ background: #007ff9; }

.layer .close{ position: absolute; left: 50%; top: calc(100% + 8px); padding: 10px; box-sizing: border-box; text-align: center; font-size: 16px; letter-spacing: -0.03em; color: #fff; font-weight: 600; font-family: 'Poppins'; transform: translateX(-50%); cursor: pointer; }

@media screen and (max-width: 1280px){
    .layer .inn{ padding: 30px; }
    .layer .inn > strong{ font-size: 26px; padding-bottom: 20px; margin-bottom: 20px; }
}

@media screen and (max-width: 820px){
    .layer .inn{ padding: 20px; }
    .layer .inn > strong{ font-size: 22px; padding-bottom: 15px; margin-bottom: 15px; }
}





