* {
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
    border-collapse: collapse;
    padding: 0;
    margin: 0;
    margin-block: 0;
    scroll-behavior: smooth;
}

section h1,
h2,
h3,
h4,
h5,
p,
span {
    color: #001f25;
}

p {
    margin: 0;
    padding: 0;
}

/* 스와이퍼 */
#header {
    position: fixed;
    background-color: white;
    transition: all 0.5s ease;
}

#header.scrolled {
    box-shadow: 0px 5px 20px 0 rgba(0, 0, 0, 0.1);

}

main {
    margin-top: 100px;
}

.swiper {
    width: 100%;
    height: 65vh;
    margin: 0 !important;
    border-radius: 0;
    background-color: #ebebeb;
}

.swiper img {
    pointer-events: none;
}

.swiper::before {
    display: none;
}

.swiper-scrollbar {
    display: none;
}

.swiper-wrapper {
    margin: 0;
}





/* 섹션1 */
#section_1 {
    padding: 68px 20px;
    border-radius: 22px;
    margin: 40px auto;
    text-align: center;
    display: flex;
    padding-right: 0;
    gap: 1rem;
}

#section_1 .line {
    display: block;
    width: 3em;
    height: 5px;
    background: #645bff;
    margin-bottom: 3px;
}

#section_1 h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.8;
    padding-top: 10px;
    margin-bottom: 24px;
}

#section_1 .sub_p {
    font-size: 16.8px;
    line-height: 1.6;
    letter-spacing: -0.5px;
    width: 268px;
}

#section_1 .swiper_2 {
    height: 500px;
    border-radius: 550px 0px 0px 550px;
}

.section_text {
    width: 23%;
    text-align: left;
}

.list_item {
    height: 400px;
    background-color: #ebebeb;
    border-radius: 8px;
    flex-basis: 23%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.list_item img {
    width: 100%;
    object-fit: cover;
}

.detail {
    background-color: #000;
    width: 100%;
    height: 100%;
    padding: 20px;
    text-align: left;
    color: white;
}

.detail div p,
.detail div span {
    color: white;
}



/* 섹션2 */
#section_2 {
    padding-top: 16px;
    padding-bottom: 0;
}

.lecture_list {
    display: flex;
    gap: 2rem;
}

.lecture_list a {
    position: relative;
    width: 100%/3;
    border: 1px solid #eee;
    height: 160px;
    flex: 1;
    border-radius: 16px;
    object-fit: cover;
    padding: 24px;
    cursor: pointer;
    transition: 0.5s;
}

.lecture_list a::after {
    position: absolute;
    width: 63px;
    height: 63px;
    content: '';
    bottom: 24px;
    right: 24px;
    display: inline;
}

.lecture_list a:nth-of-type(1) {
    background-color: rgb(239, 243, 254);
    ;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    ;
}

.lecture_list a:nth-of-type(2) {
    /* background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url(../image/U1.jpg); */
    background-color: rgb(239, 243, 254);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.8s;
}

.lecture_list a:nth-of-type(3) {
    /* background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url(../image/L2.jpg); */
    background-color: rgb(239, 243, 254);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.lecture_list a:nth-of-type(4) {
    /* background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url(../image/D1.jpg); */
    background-color: rgb(239, 243, 254);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.lecture_list a p {
    display: inline-block;
    padding: 0.7rem 1rem;
    background-color: rgb(255, 255, 255);
    border-radius: 50px;
    font-weight: 700;
    color: #121212;
    line-height: 1.2;
    font-size: 18px;
    letter-spacing: -0.2px;
}

.lecture_list a:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, .1607843137254902);
    transition: .3s !important;
    background-color: #fff;
    transform: translateY(-15px) !important;
}

.lecture_list a:nth-of-type(1)::after {
    background-image: url(../image/list1.png);
    background-repeat: no-repeat;
    background-position: center;
    width: 50px;
    height: 50px;
    background-size: cover;
}

.lecture_list a:nth-of-type(2)::after {
    background-image: url(../image/necktie_3d.png);
    background-position: center;
    background-size: cover;
}

.lecture_list a:nth-of-type(3)::after {
    background-image: url(../image/rescue_workers_helmet_3d.png);
    width: 68px;
    height: 68px;
    background-position: center;
    background-size: cover;
}

.lecture_list a:nth-of-type(4)::after {
    background-image: url(../image/balance_scale_3d.png);
    background-position: center;
    width: 68px;
    height: 68px;
    background-size: cover;
}




/* 섹션3 */
#section_3 {
    margin: 24px auto;
    height: auto;
    width: 100%;
    padding-bottom: 30vh;
    /* background-color: #fafbfe; */
    border-top: 1px solid rgba(0, 0, 0, .07);
}

#section_3 .s3 {
    width: 100%;
    margin-top: 24px;
    padding-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#section_3 .s3_cont {
    display: flex;
    align-items: center;
}

#section_3 .s3 .job {
    display: none;
}

#section_3 .s3 .onclass {
    background-color: #303030;
    color: white;
    font-size: 15px;
    font-weight: 700;
}

#section_3 .s3 ul {
    display: flex;
    gap: 0.5rem;
}

#section_3 .s3 ul li a {
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.5rem 0.8rem;
    border-radius: 500px;
    font-size: 14px;
    letter-spacing: -0.7px;
    transition: all 0.2s linear;
    box-shadow: 0px 4px 6px rgba(189, 190, 194, 0.15);
}

#section_3 .s3 ul li a:hover {
    border: 1px solid rgba(0, 0, 0, 0.5);
    background-color: #fafbfe;
}

.grid_item {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(12, minmax(24px, 1fr));
    gap: 2rem;
    padding: 40px 20px 64px;
}

/* 버튼 */
.list_search {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
}

.list_search__input {
    font-family: inherit;
    font-size: inherit;
    background-color: #f4f2f2;
    border: none;
    color: #646464;
    padding: 0.7rem 1rem;
    border-radius: 30px;
    width: 12em;
    transition: all ease-in-out .5s;
    margin-right: -2rem;
}

.list_search__input:hover,
.list_search__input:focus {
    /* box-shadow: 0 0 1em #00000013; */
    /* outline: 1px solid #ebebeb; */
}

.list_search__input:focus {
    outline: none;
    background-color: #f0eeee;
}

.list_search__input::-webkit-input-placeholder {
    font-weight: 100;
    color: #ccc;
}

.list_search__input:focus {
    background-color: #f0eeee;
}

.list_search__button {
    border-left: 2px solid white;
    background-color: #f4f2f2;
    margin-top: .1em;
    margin: 0;
    border-radius: 5000px;
    background-color: #303030;
}

.list_search__button:hover {
    cursor: pointer;
}

.list_search__icon {
    height: 1.3em;
    width: 1.3em;
    fill: #b4b4b4;
}

.listchange {
    font-size: 26.3px;
    letter-spacing: -0.25px;
}


.card {
    width: 100%;
    border-radius: 0.5rem;
    background-color: #fff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid #fafbfe;
    grid-column: span 2;
    transition: 0.3s;
    cursor: pointer;
}

.card:hover {
    box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.1);
}

.card a {
    text-decoration: none
}

.card .content {
    padding: 1.1rem;
}

.card .image {
    object-fit: cover;
    width: 100%;
    height: 150px;
    background-color: #ebebeb;
    position: relative;
    transition: all .3s;
    overflow: hidden;
}

.card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card:hover .image::after {
    display: flex;
    transition: all 0.3s;
}

.card .image::after {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.52);
    content: '미리보기';
    text-align: center;
    justify-content: center;
    align-items: center;
    color: white;
    transition: all 0.3s;
}

.card .title {
    color: #111827;
    font-size: 17px;
    line-height: 1.75rem;
    font-weight: 600;
    display: block;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    overflow: hidden;


    display: block;
    display: -webkit-box;
    transition: 0.3s all ease;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 52px;
    max-height: 52px;
}

.card .desc {
    margin-top: 0.5rem;
    color: #6B7280;
    font-size: 0.875rem;
    line-height: 1.25rem;
    /* min-height: 100px; */
}

.card .action {
    display: inline-flex;
    justify-content: space-between;
    margin-top: 1rem;
    color: #ffffff;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    align-items: center;
    gap: 0.25rem;
    background-color: #685fff;
    padding: 4px 8px;
    border-radius: 4px;
}

.card .action span {
    transition: .3s ease;
    color: white;
}

.card .action:hover span {
    transform: translateX(4px);
}

.more {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.more button {
    display: flex;
    border-radius: 3px;
    width: 10.5em;
    background-color: white;
    border: 1px solid #2563EB;
    color: #2563EB;
    transition: all 0.2s;
    align-items: center;
    justify-content: center;
}

.more i {
    color: #2563EB;
    width: auto;
}

.more button:hover {
    background-color: #2563EB;
    color: white;
}

.more button:hover i {
    color: white;
}

.js-load {
    display: none;
}

.js-load.active {
    display: block;
}

.is_comp.js-load:after {
    display: none;
}



.btn-wrap,
.lists,
.main {
    display: block;
}

.golist {
    right: 5%;
    bottom: 5%;
    position: fixed;
    width: 72px;
    height: 72px;
    background-color: #2563EB;
    color: white;
    display: flex;
    z-index: 999;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    cursor: pointer;
}

.golist i {
    font-size: 1.78rem;
}

.hidden {
    display: none;
}

.golist:hover {
    filter: brightness(1.05);
}

@media(max-width:1440px) {
    .grid_item {
        grid-template-columns: repeat(8, minmax(24px, 1fr))
    }
}


@media(max-width:1024px) {
    #section_1 br {
        display: none;
    }

    main {
        margin-top: 4rem;
    }

    #section_1 {
        flex-direction: column-reverse;
        padding: 0;
        margin: 0 auto;
        gap: 2rem;
    }

    #section_1 h1 {
        margin-bottom: 1.1rem;
        font-size: 26px;
    }

    #section_1 .swiper_2 {
        height: 100px;
    }

    #section_1 .sub_p {
        width: 89%;
        font-size: 0.9rem;
    }

    .section_text {
        width: 100%;
    }

    .lecture_list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin-top: 20px;
    }

    #section_3 .s3 {
        flex-direction: column;
        gap: 20px;
    }

    #section_3 .s3_cont {
        flex-direction: column;
    }

    #section_3 .s3 .job {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 20px;
    }

    .grid_item {
        grid-template-columns: repeat(4, minmax(24px, 1fr));
    }
}


/* 모바일 크기 */
@media(max-width:767px) {
    .lecture_list a p {
        font-size: 0.875rem;
    }

    .lecture_list a {
        padding: 1rem;
    }

    .lecture_list a::after {
        bottom: 1rem;
        right: 1rem;
    }

    .listchange {
        font-size: 1.5rem;
    }

    .card .title {
        font-size: 0.9rem;
        font-weight: 500;
    }

    .card .desc {
        min-height: auto;
    }

    .grid_item {
        display: flex;
        flex-wrap: wrap;
        padding: 0;
        margin-top: 50px;
        margin-bottom: 64px;
    }

    .golist {
        right: 20px;
        bottom: 20px;
        width: 60px;
        height: 60px;
    }
}