@charset "utf-8";

.main-contents {
    width: 100%;
    border-radius: 0 0 80px 80px;
}

.first-section {
    width: 100%;
    height: 1224px;
    padding-top: 104px;
    background-image: url("../img/visual_back.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.first-section-inner {
    position: relative;
    width: 100%;
    max-width: 1520px;
    margin: 0 auto;
    padding: 0 20px;
}
.first-section-inner > h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    color: #FFFFFF;
    text-align: center;
}
.first-section-inner > h2 span {
    font-size: 40px;
}
.first-section-inner > h2 p {
    font-size: 88px;
    font-weight: 700;
}
.video-container {
    width: 100%;
    max-width: 1480px;
    height: 720px;
    margin: 0 auto;
    position: relative;
}
.video-container video {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    object-fit: cover;
}
.visual-eset-01, .visual-eset-02 {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 720px;
    pointer-events: none;
    overflow: hidden;
}
.visual-eset-01 img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-5deg);
    width: 110%;
    min-width: 110%;
}
.visual-eset-02 img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    min-width: 110%;
}

.second-section {
    position: relative;
    margin-top: -295px;
    width: 100%;
    padding-top: 100px;
    border-radius: 80px;
    background-color: #FFFFFF;
}
.second-section-inner {
    width: 100%;
    max-width: 1520px;
    margin: 0 auto;
    padding: 0 20px;
}
.second-section-inner > h2 {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    margin-bottom: 30px;
}
.second-section-inner > h2 span {
    font-size: 48px;
    font-weight: 800;
    color: #111111;
}
.second-section-inner > h2 p {
    font-size: 20px;
    color: #666666;
}

/* 탭 버튼 */
.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 15px 36px;
    font-size: 18px;
    letter-spacing: -0.48px;
    border: 1px solid #DFDFDF;
    border-radius: 25px;
    background-color: transparent;
    color: #111111;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
}

.tab-btn:hover {
    background-color: #E85400;
    border-color: #E85400;
    color: #FFFFFF;
}

.tab-btn.active {
    background-color: #E85400;
    border-color: #E85400;
    color: #FFFFFF;
}

/* 뉴스 콘텐츠 */
.news-content {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 25px;
    margin-bottom: 26px;
}
.card {
    width: 332px;
    min-width: 332px;
    padding: 20px;
    border-radius: 17px;
    border: 1px solid #DFDFDF;
    background-color: #fff;
}
.card.gallery-card {
    position: relative;
    padding: 0;
    overflow: hidden;
}
.card.gallery-card > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.card.gallery-card .gallery-overlay {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 20px;
}
.card.gallery-card:not(.active) {
    height: 200px;
}
.card.gallery-card.active {
    height: 300px;
}
.card.gallery-card .gallery-overlay > span {
    display: inline-block;
    width: fit-content;
    margin-bottom: 16px;
    padding: 8px 11px;
    font-size: 16px;
    color: #E85400;
    border-radius: 7px;
    border: 1px solid #FF5C00;
    background-color: #fff;
}
.card.gallery-card .date-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.card.gallery-card .date-link > p {
    font-size: 14px;
    letter-spacing: -0.42px;
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.card.gallery-card .date-link > a {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    letter-spacing: -0.42px;
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.card.gallery-card.active .date-link {
    position: relative;
    bottom: auto;
    left: auto;
    width: auto;
    padding: 0;
}
.card:not(.active) {
    width: calc(33.3% - 12.5px);
    min-width: unset;
}
.card > span {
    display: inline-block;
    margin-bottom: 16px;
    padding: 8px 11px;
    font-size: 16px;
    color: #E85400;
    border-radius: 7px;
    border: 1px solid #FF5C00;
    background-color: #fff;
}
.card > p {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 500;
    color: #111111;
    letter-spacing: -0.72px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card > .desc {
    font-size: 16px;
    color: #666666;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card > .date-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.card > .date-link > p {
    font-size: 14px;
    letter-spacing: -0.42px;
    color: #C4C4C4;
}
.card > .date-link > a {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    letter-spacing: -0.42px;
    color: #E85400;
}

.card.active {
    position: relative;
    width: 332px;
    height: 320px;
    border: 1px solid #E85400;
    background-color: #FFEFE6;
}
.card.active .date-link {
    position: absolute;
    bottom: 25px;
    left: 0;
    width: 100%;
    padding: 0 20px;
}

.news-content-arrow {
    position: absolute;
    top: 0;
    left: 357px;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 44px;
}
.news-content-arrow button {
    width: 44px;
    height: 44px;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.news-content-arrow button:hover {
    transform: scale(1.1);
}
.news-content-arrow button.prev {
    transform: rotate(180deg);
}
.news-content-arrow button.prev:hover {
    transform: rotate(180deg) scale(1.1);
}
.news-content-arrow button img {
    width: 100%;
}

.bottom-cards {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 40px;
}
.bottom-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    width: calc(50% - 12px);
    height: 200px;
    padding-left: 40px;
    border-radius: 17px;
    overflow: hidden;
}
.bottom-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s ease;
    z-index: 0;
}
.bottom-card:hover::before {
    transform: scale(1.1);
}
.bottom-card > * {
    position: relative;
    z-index: 1;
}
.bottom-card:first-of-type::before {
    background-image: url("../img/program_back01.png");
}
.bottom-card:last-of-type::before {
    background-image: url("../img/program_back02.png");
}
.bottom-card > p {
    font-size: 28px;
    font-weight: 700;
    color: #111111;
}
.bottom-card > span {
    font-size: 20px;
    letter-spacing: -0.6px;
    line-height: 1.2;
    color: #111111;
}
.bottom-card:last-of-type > p {
    color: #FFFFFF;
}
.bottom-card:last-of-type > span {
    color: #FFFFFF;
}
.bottom-card > .card-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
}
.bottom-card > .card-arrow > img:last-of-type {
    display: none;
}
.bottom-card:hover > .card-arrow > img:last-of-type {
    display: block;
}
.bottom-card:hover > .card-arrow > img:first-of-type {
    display: none;
}

/* 반응형 - Tablet */
@media (max-width: 1024px) {
    /* First Section */
    .first-section {
        height: 900px;
        padding-top: 80px;
    }
    .first-section-inner > h2 span {
        font-size: 32px;
    }
    .first-section-inner > h2 p {
        font-size: 68px;
    }
    .video-container {
        height: 550px;
    }
    .visual-eset-01, .visual-eset-02 {
        height: 750px;
    }
    
    .second-section {
        margin-top: -200px;
        padding-top: 80px;
    }

    /* 탭 버튼 */
    .tab-btn {
        padding: 12px 30px;
        font-size: 16px;
    }

    /* 뉴스 콘텐츠 */
    .news-content {
        position: relative;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        gap: 0;
    }
    
    /* 화살표를 맨 위로 */
    .news-content-arrow {
        position: relative;
        left: 0;
        width: 100%;
        top: auto;
        transform: none;
        justify-content: center;
        margin-bottom: 20px;
        z-index: 1;
        order: -1;
    }
    .news-content-arrow button {
        width: 40px;
        height: 40px;
    }
    
    .card {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        min-width: unset;
        padding: 18px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    .card.active {
        position: relative;
        top: auto;
        width: 100%;
        height: auto;
        opacity: 1;
        visibility: visible;
    }
    .card:not(.active) {
        width: 100%;
    }
    .card > span {
        font-size: 15px;
        padding: 7px 10px;
    }
    .card > p {
        font-size: 20px;
        margin-bottom: 16px;
    }
    .card > .desc {
        font-size: 14px;
        margin-bottom: 12px;
    }
    .card > .date-link > p {
        font-size: 13px;
    }
    .card > .date-link > a {
        font-size: 14px;
    }
    .card.active .date-link {
        position: relative;
        bottom: auto;
        left: auto;
        width: auto;
        padding: 0;
        margin-top: 14px;
    }

    /* 하단 카드 */
    .bottom-card {
        height: 180px;
        padding-left: 20px;
        gap: 16px;
    }
    .bottom-card > p {
        font-size: 20px;
    }
    .bottom-card > span {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    /* First Section */
    .first-section {
        height: 700px;
        padding-top: 60px;
    }
    .first-section-inner > h2 span {
        font-size: 20px;
    }
    .first-section-inner > h2 p {
        font-size: 40px;
    }
    .video-container {
        height: 400px;
        border-radius: 20px;
    }
    .video-container video {
        border-radius: 20px;
    }
    .visual-eset-01, .visual-eset-02 {
        height: 500px;
    }
    
    .second-section {
        margin-top: -150px;
        padding-top: 60px;
        border-radius: 50px;
    }
    .second-section-inner > h2 {
        margin-bottom: 30px;
    }
    .second-section-inner > h2 span {
        font-size: 36px;
    }
    .second-section-inner > h2 p {
        font-size: 16px;
    }

    /* 탭 버튼 */
    .tab-buttons {
        gap: 8px;
        margin-bottom: 20px;
    }
    .tab-btn {
        padding: 10px 24px;
        font-size: 15px;
    }

    /* 뉴스 콘텐츠 */
    .card {
        top: 56px;
        padding: 20px;
    }
    .card.active {
        min-height: 250px;
    }
    .card > p {
        font-size: 22px;
    }
    .card > .desc {
        font-size: 15px;
    }

    /* 하단 카드 */
    .bottom-cards {
        flex-direction: column;
        gap: 16px;
        margin-top: 16px;
    }
    .bottom-card {
        width: 100%;
        height: 160px;
        padding-left: 30px;
    }
    .bottom-card > p {
        font-size: 22px;
    }
    .bottom-card > span {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    /* First Section */
    .first-section {
        height: 550px;
        padding-top: 70px;
    }
    .first-section-inner > h2 {
        gap: 6px;
    }
    .first-section-inner > h2 span {
        display: block;
        font-size: 16px;
    }
    .first-section-inner > h2 p {
        font-size: 28px;
    }
    .video-container {
        height: 320px;
        border-radius: 16px;
    }
    .video-container video {
        border-radius: 16px;
    }
    .visual-eset-01, .visual-eset-02 {
        height: 420px;
    }
    
    .second-section {
        margin-top: -100px;
        padding-top: 40px;
        border-radius: 40px;
    }
    .second-section-inner > h2 {
        margin-bottom: 24px;
    }
    .second-section-inner > h2 span {
        font-size: 28px;
    }
    .second-section-inner > h2 p {
        font-size: 14px;
    }

    /* 탭 버튼 */
    .tab-buttons {
        gap: 6px;
        flex-wrap: wrap;
    }
    .tab-btn {
        padding: 8px 20px;
        font-size: 14px;
    }

    /* 뉴스 콘텐츠 */
    .card {
        padding: 16px;
        top: 52px;
    }
    .card > span {
        font-size: 14px;
        padding: 6px 9px;
        margin-bottom: 12px;
    }
    .card > p {
        font-size: 18px;
        margin-bottom: 14px;
    }
    .card > .desc {
        font-size: 14px;
        margin-bottom: 10px;
    }
    .card > .date-link > p {
        font-size: 12px;
    }
    .card > .date-link > a {
        font-size: 13px;
    }
    .card.active {
        min-height: unset;
    }

    .news-content-arrow button {
        width: 36px;
        height: 36px;
    }

    /* 하단 카드 */
    .bottom-card {
        height: 140px;
        padding-left: 20px;
        gap: 12px;
    }
    .bottom-card > p {
        font-size: 20px;
    }
    .bottom-card > span {
        font-size: 14px;
        line-height: 1.3;
    }
    .bottom-card > .card-arrow {
        right: 16px;
    }
    .bottom-card > .card-arrow img {
        width: 32px;
    }
}

.second-section-inner.process-container {
    width: 100%;
    padding-top: 100px;
}
.second-section-inner.process-container > h2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    margin-bottom: 40px;
}
.second-section-inner.process-container > h2 img {
    width: 105px;
}
.second-section-inner.process-container > h2 span {
    font-size: 48px;
    font-weight: 800;
    color: #111111;
}
.second-section-inner.process-container > h2 p {
    font-size: 20px;
    color: #555555;
}
.process {
    display: flex;
    justify-content: center;
    gap: 22px;
}
.process-item {
    position: relative;
    width: 256px;
    height: 457px;
    background-image: url("../img/process01.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 17px;
    overflow: hidden;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.process-item:nth-of-type(2) {
    background-image: url("../img/process03.png");
}
.process-item:last-of-type {
    background-image: url("../img/process02.png");
}
.process-item-inner {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.process-item p {
    display: flex;
    flex-direction: column;
    gap: 22px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.6px;
    color: #fff;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.process-item p span{
    position: relative;
    font-size: 20px;
    letter-spacing: -0.6px;
    color: #FF5C00;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.process-item p span::after{
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #ffffff;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.process-item a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 24px;
    letter-spacing: -0.72px;
    color: #FFFFFF;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.process-item > img {
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 1;
    transform: translateY(-50%);
    opacity: 1;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-item.active {
    position: relative;
    width: 845px;
}
.process-item.active .process-item-inner{
    width: 332px;
    padding: 40px 0 40px 40px;
    background-color: rgba(255, 92, 0, 0.5); 
    backdrop-filter: blur(11px);
    -webkit-backdrop-filter: blur(11px);
    border-radius: 15px 0px 0px 15px;
}
.process-item.active p {
    gap: 28px;
    font-size: 32px;
    letter-spacing: -0.96px;
}
.process-item.active p span{
    font-size: 28px;
    color: #ffffff;
}
.process-item.active p span::after{
    width: 95px;
}
.process-item.active a {
    opacity: 1;
}
.process-item.active > img {
    opacity: 0;
}

/* Process Section - Responsive */
@media (max-width: 1024px) {
    .second-section-inner.process-container {
        padding-top: 80px;
    }
    .second-section-inner.process-container > h2 {
        margin-bottom: 30px;
    }
    .second-section-inner.process-container > h2 img {
        width: 90px;
    }
    .second-section-inner.process-container > h2 span {
        font-size: 40px;
    }
    .second-section-inner.process-container > h2 p {
        font-size: 18px;
    }
    .process {
        gap: 18px;
    }
    .process-item {
        width: 220px;
        height: 400px;
    }
    .process-item-inner {
        padding: 20px;
    }
    .process-item p {
        font-size: 18px;
    }
    .process-item p span {
        font-size: 18px;
    }
    .process-item.active a {
        font-size: 16px;
    }
    .process-item.active {
        width: 700px;
    }
    .process-item.active .process-item-inner {
        width: 280px;
        padding: 20px;
    }
    .process-item.active p {
        font-size: 20px;
    }
    .process-item.active p span {
        font-size: 18px;
    }
    .process-item.active p span::after {
        width: 62px;
    }
    .process-item.active a {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .second-section-inner.process-container {
        padding: 60px 0 0 0;
    }
    .second-section-inner.process-container > h2 {
        margin-bottom: 30px;
        padding: 0 20px;
    }
    .second-section-inner.process-container > h2 img {
        width: 80px;
    }
    .second-section-inner.process-container > h2 span {
        font-size: 32px;
    }
    .second-section-inner.process-container > h2 p {
        font-size: 16px;
    }
    .process {
        flex-direction: column;
        gap: 16px;
        padding: 0 20px;
    }
    .process-item {
        width: 100%;
        height: 250px;
    }
    .process-item p {
        gap: 16px;
        font-size: 18px;
    }
    .process-item p span {
        font-size: 18px;
    }
    .process-item.active {
        width: 100%;
    }
    .process-item.active .process-item-inner {
        width: 100%;
        background-color: rgba(255, 92, 0, 0.5);
        backdrop-filter: unset;
        -webkit-backdrop-filter: unset;
    }
    .process-item.active p {
        gap: 20px;
        font-size: 24px;
    }
    .process-item.active p span {
        font-size: 22px;
    }
    .process-item.active p span::after {
        width: 75px;
    }
    .process-item.active a {
        font-size: 18px;
    }
    .process-item > img {
        display: none;
    }
}

@media (max-width: 480px) {
    .second-section-inner.process-container {
        padding: 40px 0 0 0;
    }
    .second-section-inner.process-container > h2 {
        margin-bottom: 24px;
    }
    .second-section-inner.process-container > h2 img {
        width: 70px;
    }
    .second-section-inner.process-container > h2 span {
        font-size: 24px;
    }
    .second-section-inner.process-container > h2 p {
        font-size: 14px;
    }
    .process {
        gap: 12px;
    }
    .process-item-inner {
        padding: 24px;
    }
    .process-item p {
        gap: 12px;
        font-size: 16px;
    }
    .process-item p span {
        font-size: 16px;
    }
    .process-item.active .process-item-inner {
        border-radius: 15px;
    }
    .process-item.active p {
        gap: 16px;
        font-size: 20px;
    }
    .process-item.active p span {
        font-size: 18px;
    }
    .process-item.active p span::after {
        width: 62px;
    }
    .process-item.active a {
        font-size: 16px;
    }
}

.process-container > img {
    width: 100%;
    margin: 50px 0 -70px 0;
}