@charset "utf-8";


main {
    /* margin-top: 40px; */
    display: flex;
    flex-direction: column;
}

.hero {
    order: 1;
}

.system {
    order: 2;
}

.business {
    order: 3;
}

.notice {
    order: 4;
}

.gallary {
    order: 5;
}

.logo-banner {
    order: 6;
}

/* 모바일에서 순서 변경 */
@media screen and (max-width: 768px) {
    .hero {
        order: 1;
    }

    .system {
        order: 5;
    }

    .business {
        order: 3;
    }

    .notice {
        order: 2;
    }

    .gallary {
        order: 4;
    }

}

@media screen and (max-width: 480px) {
    main {
        margin-top: 20px;
    }
}


.box {
    box-shadow: 4px 4px 8px 3px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

/* 슬라이드 래퍼 */

.hero {
    margin: 140px 160px 80px;
    display: flex;
    gap: 40px;
}

.right-hero {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.slide-wrap {
    max-width: 70vw;
    max-height: 600px;
}

.banner-slide-wrap {
    width: 25vw;
}


.swiper-button-prev::after,
.swiper-button-next::after {
    display: none;
}

.swiper-button-prev i,
.swiper-button-next i {
    font-size: 22px;
    color: var(--primary-dark);
}

.swiper-button-prev {
    left: 10px;
}

.swiper-button-next {
    right: 10px;
}

/* 바로가기 버튼 */
.shortcut-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.shortcut {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.shortcut a {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    transition: 0.3s;
}

.shortcut img {
    width: 50px;
    height: 50px;
}

.shortcut span {
    font-size: 19px;
    font-family: "S-CoreDream-5Medium"
}

.shortcut:hover a {
    transform: scale(1.1);
}

/* 메인 배너슬라이드 */
.banner-slide-wrap {
    position: relative;
    grid-area: 2 / 2 / 3 / 4;
    background: var(--primary);
    box-shadow: none;
    overflow: hidden;
}

.banner-slides {
    display: flex;
}

.banner-slide.swiper-slide {
    width: 100%;
    flex-shrink: 0;
    height: 290px;
    overflow: hidden;
}

.banner-slide:nth-child(1) {
    background: url(../img_2025/slide-banner01.jpg);
}

.banner-slide:nth-child(2) {
    background: url(../img_2025/slide-banner02.jpg);
}

.banner-slide:nth-child(3) {
    background: url(../img_2025/slide-banner03.jpg);
}


.banner-slide.swiper-slide img {
    display: block;
    object-fit: cover;
    object-position: center;
}

.banner-pagination .swiper-pagination-bullet-active {
    background-color: var(--primary-dark);
}

/* 시스템 */
.system {
    position: relative;
    /* margin: 0 50px; */
}

.system::before {
    content: "";
    position: absolute;
    top: -40px;
    left: -50px;
    width: 90%;
    height: 120px;
    background-color: var(--primary);
    border-radius: 0 50px 50px 0;
    z-index: -1;
}

.system-list {
    padding: 0 160px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.system-list li {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25%;
    height: 220px;
    background: #fff;
    transition: 0.3s;
}


.system-list li a {
    text-align: center;
    font-family: "S-CoreDream-5Medium";
    font-size: 20px;
    transition: 0.3s;
}

.system-list li:hover a {
    transform: scale(1.1);
}

.system-list li a img {
    width: 90px;
    height: 90px;
    margin-bottom: 20px;
}

.system-list li:nth-child(2) a img {
    transform: translateX(10px)
}

/* 주요 사업 */
.business {
    position: relative;
    padding: 60px 160px;
}

.business h2 {
    position: absolute;
    top: 50px;
    left: 160px;
    font-family: 'S-CoreDream-7ExtraBold';
    font-size: 30px;
}

.tab-buttons {
    display: flex;
    justify-content: end;
    gap: 10px;
}

.tab-btn {
    padding: 10px 20px;
    background-color: var(--primary);
    border: none;
    border-radius: 5px 5px 0 0;
    cursor: pointer;
}

.tab-btn.active {
    background-color: var(--primary-dark);
    color: #fff;

}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content ul {
    display: flex;
    justify-content: space-around;
    padding: 40px;
    padding-left: 120px;
}

.tab-content ul li {
    padding: 5px 20px;
    background: var(--primary);
}

#tab1 {
    background: url(../img_2025/tab1.png) no-repeat;
    background-position: top 30px left 50px;
    background-size: 60px;
}

#tab3 {
    background: url(../img_2025/tab2.png) no-repeat;
    background-position: top 30px left 50px;
    background-size: 60px;
}

#tab4 {
    background: url(../img_2025/tab4.png) no-repeat;
    background-position: top 30px left 50px;
    background-size: 60px;
}

#tab5 {
    background: url(../img_2025/tab3.png) no-repeat;
    background-position: top 30px left 50px;
    background-size: 60px;
}

#tab7 {
    background: url(../img_2025/tab5.png) no-repeat;
    background-position: top 30px left 50px;
    background-size: 60px;
}


/* 공지사항 */
.notice {
    position: relative;
    display: grid;
    grid-template-columns: 3fr 1fr;
    grid-template-rows: 1fr;
    grid-column-gap: 20px;
    padding: 60px 160px;
    /* background-color: #fff; */
}

.notice::before {
    content: "";
    position: absolute;
    top: 40px;
    right: 0px;
    width: 91%;
    height: 140px;
    background-color: var(--primary);
    border-radius: 70px 0 0 70px;
    z-index: -1;
}

.notice h2 {
    font-size: 24px;
    margin-bottom: 30px;
}

.notice-tab-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-dark);
}

.notice-tab-btn {
    background-color: #fff;
    padding: 10px 30px;
    border-radius: 5px 5px 0 0;
    border: none;
    cursor: pointer;
}

.notice-tab-btn.active {
    color: var(--primary-dark);
    font-family: 'S-CoreDream-7ExtraBold';
}

.notice-tab-content {
    display: none;
}

.notice-tab-content.active {
    display: block;
}

.notice-tab-content ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 20px;
}

.notice-tab-content ul li article {
    position: relative;
    background-color: #fff;
    height: 300px;
    padding: 20px;
}

.notice-tab-content ul li article a {
    display: block;
}

.notice-title {
    margin-bottom: 20px;
    font-size: 20px;
    font-family: "S-CoreDream-5Medium";
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.notice-content {
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    line-height: 30px;
}

.notice-date {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.notice-slide-wrap {
    width: 100%;
    display: flex;
    background-color: #ccc;
    overflow: hidden;
    border-radius: 13px;
}

.notice-slides {
    width: 100%;
    height: 100%;
}

.notice-slide:nth-child(1) {
    background: url(../img_2025/notice-banner01.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.notice-slide:nth-child(2) {
    background: url(../img_2025/notice-banner02.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover
}

.notice-slide:nth-child(3) {
    background: url(../img_2025/notice-banner03.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover
}

.notice-slide-wrap .btn-wrap {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

/* 갤러리 */

.gallary {
    position: relative;
    margin: 60px 160px 0;
    padding: 40px;
    background: #fff;
}

.gallary::before {
    content: "";
    position: absolute;
    top: -50px;
    left: -160px;
    width: 90%;
    height: 120px;
    background-color: var(--primary);
    border-radius: 0 50px 50px 0;
    z-index: -1;
}

.gallary h2 {
    font-family: 'S-CoreDream-7ExtraBold';
    font-size: 24px;
    margin-bottom: 20px;
}

.gallary .mySwiper {
    overflow: hidden;
}

.gallary img {
    width: 480px;
    height: 300px;
    object-fit: cover;
}

/* 로고 배너 */
.logo-banner {
    margin-top: 20px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    height: 100px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    background-color: #fff;
}

.logo-banner-track {
    display: flex;
    width: max-content;
    animation: scroll-logos 40s linear infinite;
}

.rolling-list {
    display: flex;
    gap: 40px;
}

.rolling-item {
    flex: 0 0 auto;
    width: 150px;
}

.rolling-item img {
    width: 100%;
    height: auto;
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media screen and (max-width:1908px) {

    .shortcut span {
        font-size: 17px;
    }

}

@media screen and (max-width:1858px) {

    .shortcut span {
        font-size: 16px;
    }

    .shortcut-wrap {
        gap: 15px;
    }

}

@media screen and (max-width:1788px) {
    .shortcut img {
        width: 40px;
        height: 40px;
    }
}


@media screen and (max-width:1659px) {
    .shortcut a {
        gap: 15px;
    }
}

@media screen and (max-width:1618px) {
    .shortcut a {
        gap: 15px;
    }

    .shortcut {
        padding:15px
    }
}

@media screen and (max-width: 1800px) {

    .slide-wrap,
    .right-hero {
        max-height: 500px;
    }

}

@media screen and (max-width: 1600px) {
    .hero {
        margin: 140px 40px 80px;
    }

    .tab-buttons {
        padding-left: 160px;
        gap: 10px;
    }

    .shortcut {
        padding: 15px;
    }

    .shortcut a {
        flex-direction: column;
    }

    .shortcut span {
        font-size: 16px;
    }

    .shortcut img {
        width: 35px;
        height: 35px;
    }

    .business h2 {
        top: 40px;
    }

    .system-list {
        padding: 0 40px;
    }

    .business {
        padding: 0 40px;
    }

    .notice {
        padding: 60px 40px;
    }

    .gallary {
        margin: 60px 40px 0;
    }

}


@media screen and (max-width: 1440px) {

    .slide-wrap,
    .right-hero {
        max-height: 480px;
    }

    .business h2 {
        position: relative;
        left: 0;
    }

    .tab-buttons {
        justify-content: space-between;
    }

    .tab-btn {
        font-size: 14px;
    }

    .tab-content ul {
        padding-left: 40px;
        font-size: 14px;
    }
}

/* 반응형 */
@media screen and (max-width: 1280px) {

    /* 메인 슬라이드 */
    .hero {
        margin: 140px 20px 0px;
        display: flex;
        flex-wrap: wrap;
    }

    .slide-wrap {
        max-height: 500px;
    }

    .banner-slide.swiper-slide {
        height: 250px;
    }

    .right-hero {
        margin: 0 auto;
    }

    .shortcut-wrap {
        grid-template-columns: repeat(4, 1fr);
        margin-bottom: 20px;
    }

    .shortcut a {
        flex-direction: row;
    }

    .shortcut img {
        width: 70px;
        height: 70px;
        margin-bottom: 10px;
    }

    .banner-slide-wrap {
        display: none;
        width: 47%;
    }

    .shortcut span {
        font-size: 17px;
    }

    /* 시스템 */
    .system {
        margin: 0 20px;
    }

    .system-list {
        padding: 0px;
    }

    .system-list li {
        height: 180px;
    }

    .system-list li a {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 18px;
    }

    .system-list li a img {
        width: 70px;
        height: 70px;
        margin-bottom: 10px;
    }

    /* 비즈니스 */

    .business {
        padding: 40px 20px;
    }

    .business h2 {
        top: 0;
    }

    .tab-buttons {
        display: flex;
        padding-left: 0;
        margin-bottom: 10px;
        flex-wrap: wrap;
        justify-content: start;
    }

    .tab-btn {
        padding: 10px 35px;
        border-radius: 5px;
    }

    .tab-content ul {
        flex-direction: column;
        gap: 10px;
        padding-left: 200px;
    }

    /* 공지사항 */
    .notice {
        padding: 60px 20px;
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-row-gap: 20px;
    }

    .notice-tab-btn {
        white-space: nowrap;
    }

    /* 갤러리 */
    .gallary {
        margin: 60px 20px;
    }

    .gallary img {
        width: auto;
        height: 200px;
    }

    .gallary .swiper-wrapper {
        overflow: scroll;
        gap: 20px;
        scrollbar-width: none;
    }

    /* 로고배너 */
    .logo-banner {
        height: 70px;
    }
}

@media screen and (max-width: 820px) {
    .shortcut img {
        width: 50px;
        height: 50px;
    }
}


@media screen and (max-width: 767px) {
    .hero {
        margin: 100px 0px -20px;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .slide-wrap {
        max-width: 96vw;
    }

    .right-hero {
        margin: 0 15px;
    }

    .shortcut1,
    .shortcut2 {
        display: none;
    }

    .shortcut-wrap {
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .shortcut img {
        width: 40px;
        height: 40px;
    }

    .shortcut span {
        font-size: 15px;
    }

    .banner-slide-wrap {
        width: 100%;
        height: 200px;
    }

    /* system */
    .system {
        margin: 0 15px;
    }

    .system::before {
        top: -20px;
    }

    .system-list {
        padding: 0;
        flex-wrap: wrap;
        gap: 10px;
    }

    .system-list li {
        width: 48%;
        height: 140px;
    }

    .system-list li a {
        font-size: 15px;
    }

    .system-list li a img {
        width: 50px;
        height: 50px;
    }

    /* business */
    .business {
        padding: 30px 15px;
    }

    .business h2 {
        top: 0;
        font-size: 24px;
    }

    .tab-buttons {
        flex-wrap: nowrap;
        white-space: nowrap;
        gap: 5px;
        overflow: scroll;
    }

    .tab-content ul {
        padding-left: 40px;
    }

    #tab1 {
        background: none;
    }

    #tab3 {
        background: none;
    }

    #tab4 {
        background: none;
    }

    #tab5 {
        background: none;
    }

    #tab7 {
        background: none;
    }

    /* 공지사항 */

    .notice {
        display: flex;
        flex-direction: column;
        padding: 40px 15px;
    }

    .notice-tab-buttons {
        gap: 5px;
        font-size: 15px;
        /* justify-content: space-between; */
    }

    .notice-tab-btn {
        white-space: normal;
        padding: 10px 6px;
    }

    .notice::before {
        top: 10px;
    }

    .notice-tab-content ul {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(3, 1fr);
        grid-row-gap: 10px;
    }

    .notice-slide-wrap {
        height: 200px;
    }

    /* 갤러리 */
    .gallary {
        margin: 20px 15px;
    }
}