:root {
    --vh: 100%;
}

/* Main Page */
    .section-main-intro {
        overflow: hidden;

        .section-main-intro-container {
            position: relative;
            max-width: unset;
            width: 100%;
            height: calc(var(--vh, 1vh) * 100);
            padding: 0;

            .video {
                position: relative;
                width: 100%;
                height: 100vh;
                overflow: hidden;
                pointer-events: none;

                iframe {
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                    width: 100vw;
                    height: 56.25vw;
                    min-width: 177.77vh;
                    min-height: 100vh;
                }
            }

            .content {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                z-index: 3;

                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 1rem;

                width: max-content;
                padding: 0;

                .subtitle {
                    width: fit-content;

                    font-size: min(5vw, 30px);
                    font-weight: 500;
                    text-align: center;
                    line-height: 1;
                    color: #fff;

                    padding: 10px 20px;
                    background-color: var(--BASE-COLOR);
                }

                .title {
                    font-size: min(13vw, 110px);
                    font-weight: 700;
                    text-align: center;
                    line-height: 1;
                    color: #fff;
                }

                .description {
                    font-size: min(4vw, 20px);
                    font-weight: 400;
                    text-align: center;
                    color: #fff;
                    padding-top: 1rem;
                }
            }

            &::before {
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                z-index: 2;
                background-color: rgba(0, 0, 0, 0.2);
            }
        }
    }

    .section-main {
        padding: var(--COMMON-PADDING-200) var(--COMMON-PADDING) 0;
    }

    .section-main-01 {
        display: grid;
        justify-content: center;

        .thumb {
            width: 100%;
            max-width: 1100px;
        }
    }

    .section-main-02 {
        display: grid;
        justify-content: center;

        .section-main-container {
            max-width: var(--MAX-WIDTH);

            .head {
                padding-bottom: 60px;

                .title {
                    display: flex;
                    flex-direction: column;
                    gap: 1rem;

                    font-size: min(7vw, 45px);
                    font-weight: 400;
                    line-height: 1;

                    span {
                        font-size: min(4vw, 20px);
                        padding-top: 0.5rem;
                    }
                }
            }

            .description {
                font-size: min(4vw, 20px);
                padding-top: 30px;
            }
        }
    }

    .section-main-03 {
        display: grid;
        justify-content: center;

        .section-main-container {
            display: flex;
            flex-direction: column;
            gap: 4rem;
            max-width: var(--MAX-WIDTH);

            .head {
                display: flex;
                flex-direction: column;
                gap: 1rem;

                .subtitle {
                    font-size: min(8vw, 45px);
                    font-weight: 800;
                    text-align: center;
                    line-height: 1;
                    color: var(--BASE-COLOR);
                }

                .title {
                    font-size: min(6vw, 45px);
                    font-weight: 700;
                    text-align: center;
                    line-height: 1.3;
                }
            }

            .content {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 10vw;

                padding: 0;

                .item {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    gap: 1.5rem;

                    p {
                        font-size: min(4vw, 25px);
                        font-weight: 500;
                        text-align: center;
                        line-height: 1;
                        color: var(--BASE-COLOR);
                    }
                }
            }
        }

        @media screen and (min-width: 1024px) {
            .section-main-container {
                .content {
                    grid-template-columns: repeat(4, 1fr);
                    gap: 40px;
                }
            }
        }
    }

    .section-main-04 {
        display: grid;
        justify-content: center;

        .section-main-container {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            max-width: var(--MAX-WIDTH);

            .content {
                display: flex;
                flex-direction: column;
                gap: 1.5rem;
                padding: 0;

                .description {
                    font-size: min(6vw, 42px);
                    font-weight: 500;
                }

                a {
                    display: flex;
                    align-items: center;
                    justify-content: center;

                    width: fit-content;
                    height: min(13vw, 50px);

                    font-size: min(4vw, 18px);
                    font-weight: 500;
                    text-align: center;
                    color: var(--BASE-COLOR);

                    padding: 0 2.5rem;

                    border: 1px solid var(--BASE-COLOR);
                    border-radius: 50px;
                    transition: all .35s cubic-bezier(0.33, 1, 0.68, 1);

                    &:hover {
                        background-color: var(--BASE-COLOR);
                        color: #fff;

                        .dot i, .dot::before, .dot::after {
                            background: #fff;
                        }
                    }
                }
            }
        }

        @media screen and (min-width: 1024px) {
            .section-main-container {
                flex-direction: row;
                align-items: center;
                gap: 4rem;
            }
        }
    }

    .section-main-05 {
        padding-left: 0;
        padding-right: 0;

        .section-item {
            display: flex;
            flex-direction: column;
            gap: 3rem;
            padding: 40px 0;
            border-top: 1px solid var(--COLOR-EF);

            .content {
                display: flex;
                flex-direction: column;
                gap: 1rem;
                padding: 0 var(--COMMON-PADDING);

                .subtitle {
                    font-style: italic;
                    font-size: min(3vw, 17px);
                    font-weight: 500;
                    line-height: 1;
                    color: var(--BASE-COLOR);
                }

                .title {
                    font-size: min(6vw, 50px);
                    font-weight: 900;
                    line-height: 1;
                }

                .description {
                    font-size: min(4vw, 18px);
                    font-weight: 400;
                    line-height: 1.5;
                    padding-top: var(--COMMON-PADDING);
                }

                a {
                    display: flex;
                    align-items: center;
                    justify-content: center;

                    width: fit-content;
                    height: min(13vw, 50px);

                    font-size: min(4vw, 18px);
                    font-weight: 500;
                    text-align: center;
                    color: var(--BASE-COLOR);

                    padding: 0 2.5rem;

                    border: 1px solid var(--BASE-COLOR);
                    border-radius: 50px;
                    transition: all .35s cubic-bezier(0.33, 1, 0.68, 1);

                    &:hover {
                        background-color: var(--BASE-COLOR);
                        color: #fff;

                        .dot i, .dot::before, .dot::after {
                            background: #fff;
                        }
                    }
                }
            }

            &:not(:first-of-type) {
                padding-top: 0;
            }

            &:last-of-type {
                .content {
                    gap: 2rem;

                    .description {
                        padding: 0;
                    }
                }

                border-bottom: 1px solid var(--COLOR-EF);
            }
        }

        @media screen and (min-width: 1024px) {
            .section-item {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                align-items: center;
                gap: 0;
                padding: 0;

                .thumb {
                    border-right: 1px solid var(--COLOR-EF);
                }

                .content {
                    padding-left: 70px;
                }

                &:nth-of-type(2) {
                    .thumb {
                        order: 2;
                    }

                    .content {
                        order: 1;
                    }
                }
            }
        }
    }

    .section-main-06 {
        padding: var(--COMMON-PADDING-150) var(--COMMON-PADDING);
        background-color: var(--COLOR-EF);

        .section-main-container {
            display: flex;
            flex-direction: column;
            max-width: var(--MAX-WIDTH);
            margin: 0 auto;

            .head {
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 1rem;
                padding: 0 0 4rem;

                .line {
                    display: inline-block;
                    width: 25px;
                    height: 2px;
                    background-color: var(--BASE-COLOR);
                }

                .title {
                    font-size: min(7vw, 45px);
                    font-weight: 700;
                    text-align: center;
                    line-height: 1;
                }
            }

            .swiper-container {
                width: 100%;
                height: 100%;
                cursor: pointer;

                .swiper-wrapper {
                    .swiper-slide {
                        user-select: none;

                        .thumb {
                            width: 100%;
                            height: 100%;
                            aspect-ratio: 16 / 9;
                            overflow: hidden;

                            img {
                                width: 100%;
                                height: 100%;
                                object-fit: cover;
                                pointer-events: none;
                                user-select: none;
                            }
                        }
                    }
                }

                .swiper-button-next:after,
                .swiper-button-prev:after {
                    position: relative;
                    top: 10%;
                    font-size: min(8vw, 45px);
                    color: #fff;
                }
            }

            .swiper-thumbnail {
                width: 100%;
                height: 100%;
                padding: 1rem 0 0;

                .swiper-wrapper {
                    .swiper-slide {
                        opacity: 0.4;
                        cursor: pointer;
                    }

                    .swiper-slide-thumb-active {
                        opacity: 1;
                    }
                }
            }

            .previews {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 1rem;
                padding: 4rem 0 0;

                [data-fancybox] {
                    display: block;

                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                    }
                }
            }
        }

        @media screen and (min-width: 1024px) {
            .section-main-container {
                .swiper-thumbnail {
                    width: 70%;
                }

                .previews {
                    grid-template-columns: repeat(4, 1fr);
                }
            }
        }
    }

    .section-main-07 {
        padding: var(--COMMON-PADDING-150) 0;

        .section-main-container {
            display: flex;
            flex-direction: column;
            gap: 4rem;
            max-width: var(--MAX-WIDTH);

            .head {
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 1rem;

                .line {
                    display: inline-block;
                    width: 25px;
                    height: 2px;
                    background-color: var(--BASE-COLOR);
                }

                .title {
                    font-size: min(7vw, 45px);
                    font-weight: 700;
                    text-align: center;
                    line-height: 1;
                }
            }

            .items {
                display: grid;
                grid-template-columns: repeat(2, 1fr);

                li {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    gap: 10px;

                    padding: 3rem 0;
                    border: 1px solid var(--COLOR-EF);
                    border-top-color: transparent;
                    border-left-color: transparent;
                    transition: border-color 0.3s;

                    .thumb {
                        width: 45px;
                    }

                    h5 {
                        font-size: min(2.5vw, 15px);
                        font-weight: 700;
                        text-align: center;
                        line-height: 1;
                        color: var(--BASE-COLOR);
                        padding-top: 1rem;
                    }

                    h3 {
                        font-size: min(4vw, 25px);
                        font-weight: 700;
                        text-align: center;
                        line-height: 1;
                        padding-bottom: 1rem;
                    }

                    .description {
                        font-size: min(3vw, 18px);
                        font-weight: 400;
                        text-align: center;
                        line-height: 1.5;
                    }

                    &:nth-of-type(1),
                    &:nth-of-type(2) {
                        border-top-color: var(--COLOR-EF);
                    }

                    &:nth-of-type(even) {
                        border-right-color: transparent;
                    }

                    &:hover {
                        border-color: var(--BASE-COLOR);
                    }
                }
            }
        }

        @media screen and (min-width: 1024px) {
            display: grid;
            justify-content: center;

            .section-main-container {
                .items {
                    grid-template-columns: repeat(4, 1fr);

                    li {
                        aspect-ratio: 1 / 1;

                        .thumb {
                            width: 60px;
                        }

                        &:nth-of-type(even),
                        &:nth-of-type(odd) {
                            border-color: transparent;
                            border-right-color: var(--COLOR-EF);
                            border-bottom-color: var(--COLOR-EF);
                        }

                        &:nth-of-type(1), &:nth-of-type(2), &:nth-of-type(3), &:nth-of-type(4) {
                            border-top-color: var(--COLOR-EF);
                        }

                        &:nth-of-type(1), &:nth-of-type(5) {
                            border-left-color: var(--COLOR-EF);
                        }

                        &:hover {
                            border-color: var(--BASE-COLOR);
                        }
                    }
                }
            }
        }
    }

    .section-main-08 {
        display: grid;
        justify-content: center;
        padding: var(--COMMON-PADDING-150) var(--COMMON-PADDING);
        background-color: #f7f6f1;

        .section-main-container {
            display: flex;
            flex-direction: column;
            max-width: var(--MAX-WIDTH);

            .head {
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 1rem;
                padding: 0 0 4rem;

                .line {
                    display: inline-block;
                    width: 25px;
                    height: 2px;
                    background-color: var(--BASE-COLOR);
                }

                .title {
                    font-size: min(7vw, 45px);
                    font-weight: 700;
                    text-align: center;
                    line-height: 1;
                }
            }

            .items {
                display: flex;
                flex-direction: column;
                gap: 1rem;

                .item-content {
                    display: flex;
                    flex-direction: column;

                    padding: 3rem var(--COMMON-PADDING);
                    border: 1px solid var(--COLOR-EF);
                    background-color: #fff;

                    .title {
                        font-size: min(6.5vw, 20px);
                        font-weight: 700;
                        line-height: 1;
                        color: var(--BASE-COLOR);
                        padding-bottom: 1rem;
                    }

                    .item {
                        display: flex;
                        flex-direction: column;
                        gap: 1rem;
                        padding: 1rem 0;
                        border-bottom: 1px solid var(--COLOR-EF);

                        .subtitle {
                            display: flex;
                            align-items: center;
                            gap: 5px;

                            h3 {
                                font-size: min(4vw, 16px);
                                font-weight: 500;
                                line-height: 1;
                            }

                            span {
                                font-size: min(2.9vw, 12px);
                                font-weight: 500;
                                line-height: 1;
                                color: #666;
                            }
                        }

                        .description {
                            font-size: min(3vw, 14px);
                            font-weight: 400;
                            line-height: 1.5;

                            .highlight {
                                color: var(--BASE-COLOR);
                            }

                            .subitems {
                                position: relative;
                                display: flex;
                                flex-direction: column;
                                gap: 0.25rem;
                                padding-top: 0.8rem;
                                padding-left: 10px;

                                li {
                                    &::before {
                                        content: "-";
                                        position: absolute;
                                        left: 0;
                                    }
                                }
                            }
                        }

                        &.total {
                            font-size: min(3.5vw, 18px);
                            font-weight: 700;
                            text-align: right;
                            line-height: 1;

                            padding-bottom: 0;
                            border: 0;
                        }
                    }

                    &.total-content {
                        padding: 2rem var(--COMMON-PADDING);
                        background-color: var(--BASE-COLOR);

                        .item {
                            flex-direction: row;
                            align-items: center;
                            justify-content: space-between;
                            padding: 0;
                            border: 0;

                            .subtitle {
                                h3 {
                                    font-size: min(5vw, 20px);
                                    color: #fff;
                                }
                            }

                            .total-item {
                                display: flex;
                                flex-direction: column;
                                gap: 0.5rem;

                                h4 {
                                    font-size: min(6vw, 26px);
                                    font-weight: 700;
                                    text-align: right;
                                    line-height: 1;
                                    color: #fff;
                                }

                                span {
                                    font-size: min(2.9vw, 12px);
                                    font-weight: 400;
                                    text-align: right;
                                    line-height: 1;
                                    color: #fff;
                                }
                            }
                        }
                    }
                }
            }

            .comment {
                display: flex;
                flex-direction: column;
                gap: 1rem;
                padding-top: var(--COMMON-PADDING);

                h3 {
                    font-size: min(3.5vw, 18px);
                    font-weight: 700;
                    line-height: 1;
                }

                p {
                    position: relative;
                    font-size: min(3vw, 14px);
                    font-weight: 400;
                    line-height: 1.5;
                    padding-left: 1rem;

                    &::before {
                        content: "※";
                        position: absolute;
                        left: 0;
                    }
                }
            }
        }

        @media screen and (min-width: 1024px) {
            .section-main-container {
                .items {
                    display: grid;
                    grid-template-columns: repeat(3, 1fr);

                    .item-content {
                        .item.total {
                            margin-top: auto;
                        }

                        &.total-content {
                            grid-column: 1 / span 3;
                        }
                    }
                }

                .comment {
                    gap: 0;

                    h3 {
                        margin-bottom: 0.5rem;
                    }
                }
            }
        }
    }

    .section-main-09 {
        display: grid;
        justify-content: center;
        padding: var(--COMMON-PADDING-150) var(--COMMON-PADDING);
        background-color: var(--COLOR-EF);

        .section-main-container {
            display: flex;
            flex-direction: column;
            max-width: var(--MAX-WIDTH);

            .head {
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 1rem;
                padding: 0 0 4rem;

                .line {
                    display: inline-block;
                    width: 25px;
                    height: 2px;
                    background-color: var(--BASE-COLOR);
                }

                .title {
                    font-size: min(7vw, 45px);
                    font-weight: 700;
                    text-align: center;
                    line-height: 1;
                }

                .subtitle {
                    font-size: min(3vw, 16px);
                    font-weight: 400;
                    text-align: center;
                    line-height: 1.5;
                }
            }

            .items {
                display: flex;
                flex-direction: column;
                gap: 3rem;
                padding: 3rem var(--COMMON-PADDING);
                background-color: #fff;

                .item {
                    display: flex;
                    flex-direction: column;
                    gap: 10px;

                    label {
                        font-size: min(3vw, 14px);
                        font-weight: 500;
                        line-height: 1;

                        &[required]::after {
                            content: "*";
                            color: var(--BASE-COLOR);
                            position: absolute;
                            margin-top: min(0.4vw, 3px);
                            margin-left: 3px;
                            font-size: min(2.8vw, 12px);
                            font-weight: 700;
                            line-height: 1;
                        }
                    }

                    .radio-group {
                        display: flex;
                        flex-wrap: wrap;
                        gap: 1rem;
                        padding-top: 0.5rem;
                    }
                }
            }
        }
    }

/* Board List Page */
    .section-board-list {
        position: relative;
        width: 100%;
        padding: 120px 0 !important;
        margin: 0;

        .section-header {
            display: flex;
            flex-direction: column;
            gap: 50px;

            width: 100%;
            max-width: var(--MAX-WIDTH);
            padding: 50px 0;
            margin: 0 auto;

            .board_title {
                font-size: min(8vw, 40px);
                font-weight: 700;
                text-align: center;
                line-height: 1;
            }

            #form-category {
                .div-cate {
                    display: flex;
                    gap: 4rem;
                    padding: 0 !important;
                    margin: 0 !important;

                    button {
                        position: relative;
                        font-size: min(5vw, 24px);
                        font-weight: 500;
                        color: #000;
                        text-decoration: none;

                        padding-bottom: 4px;
                        border-bottom: 4px solid transparent;
                        border-radius: 0;
                        transition: border-color .35s cubic-bezier(0.33, 1, 0.68, 1);

                        /* ALL 버튼 숨기기 */
                        &:first-of-type {
                            display: none;
                        }

                        &:not(:last-of-type)::after {
                            content: "";
                            position: absolute;
                            top: 50%;
                            right: -30px;
                            transform: translateY(calc(-50% + -2px));

                            display: inline-block;
                            width: 1px;
                            height: 50%;
                            background-color: var(--COLOR-E0);
                        }

                        &:hover, &:focus {
                            border-bottom-color: var(--BASE-COLOR);
                        }
                    }
                }
            }
        }

        .section-content {
            position: relative;
            display: flex;
            flex-direction: column;
            gap: 1rem;
            max-width: var(--MAX-WIDTH);
            padding: 0 10px;
            margin: 0 auto;

            .comment {
                font-size: min(2.9vw, 12px);
                font-weight: 400;
                text-align: right;
                line-height: 1;
                color: #666;
                padding: 0 10px;
            }

            #postList {
                .gal-item {
                    .link {
                        position: relative;
                        display: flex;
                        flex-direction: column;
                        justify-content: space-between;
                        gap: 1rem;

                        width: 100%;
                        height: 100%;

                        padding: var(--COMMON-PADDING);
                        border: 1px solid var(--COLOR-EF);
                        transition: border-color .35s cubic-bezier(0.33, 1, 0.68, 1);

                        .thm {
                            img {
                                filter: none !important;
                            }
                        }

                        .subject {
                            position: relative;
                            top: unset;
                            left: unset;
                            right: unset;
                            bottom: unset;

                            display: flex;
                            flex-direction: column;
                            gap: 0.5rem;
                            width: 100%;
                            height: auto;

                            text-shadow: none;
                            white-space: unset;
                            overflow: unset;
                            text-overflow: unset;
                            background-color: transparent;

                            .title {
                                font-size: min(3.5vw, 16px);
                                font-weight: 400;
                                text-align: center;
                                color: #000;
                            }

                            .content {
                                flex: unset;
                                font-size: min(3vw, 14px);
                                font-weight: 400;
                                text-align: center;
                                color: #979797;
                            }

                            .category {
                                display: none;
                            }
                        }

                        &::after {
                            content: none;
                        }

                        &:hover {
                            border-color: var(--BASE-COLOR);
                        }
                    }
                }
            }

            .board-noresult-section {
                padding: 0 10px;

                .board-noresult {
                    font-size: 14px;
                    font-weight: 400;
                    text-align: center;
                    line-height: 1;

                    margin: 0;
                    border: 1px solid var(--COLOR-EF);
                    border-radius: 0;
                    background-color: transparent;
                }
            }

            .paging-wrap {
                display: none !important;
            }
        }

        .paging-wrap {
            .aui-paging {
                .prev, .next, .first, .last {
                    color: transparent !important;
                }
            }
        }

        .aui-flex.board-btn.wrap {
            display: flex;
            gap: 0.5rem;
            justify-content: end;

            width: 100%;
            max-width: var(--MAX-WIDTH);
            margin: 0 auto;
            padding: var(--COMMON-PADDING) var(--COMMON-PADDING) 0;

            .mui-button {
                width: 100%;
                font-size: min(3.5vw, 16px);
                font-weight: 500;
                text-align: center;
            }
        }

        @media screen and (min-width: 1024px) {
            .aui-flex.board-btn.wrap {
                .mui-button {
                    width: fit-content;
                    padding: 0 var(--COMMON-PADDING);
                }
            }
        }
    }

    .section-board-write {
        position: relative;
        padding: 80px 10px 50px;

        .board-header {
            display: none;
        }

        .div-tbl {
            border: 0;

            .ctf-wrap {
                border: 0;
            }
        }

        .aui-flex.board-btn {
            display: flex;
            gap: 0.5rem;
            justify-content: center;

            width: 100%;
            max-width: var(--MAX-WIDTH);
            margin: 0 auto;
            padding: 0 10px;

            .mui-button {
                width: 100%;
                font-size: min(3.5vw, 16px);
                font-weight: 500;
                text-align: center;
            }
        }

        @media screen and (min-width: 1024px) {
            padding: 130px 0 70px;

            .aui-flex.board-btn {
                .mui-button {
                    width: fit-content;
                    padding: 0 50px;
                }
            }
        }
    }