main {
    margin-top: 14.2rem;
}

main .title-wrap {
    text-align: center;
    padding-top: clamp(4rem, 5vw, 10rem);
    margin-bottom: clamp(4rem, 5vw, 10rem);
}

main .title-wrap h1 {
    font-size: clamp(3rem, 3.5vw, 5rem);
    font-weight: 700;
}

/* festival_list */
.list-container main .filter-wrap {
    display: flex;
    border: 1px solid #000;
    margin-bottom: 3rem;
}

.list-container main .filter-wrap .filter-box {
    display: flex;
    width: 100%;
}

.list-container main .filter-wrap .filter-box.date {
    width: 26.6%;
}

.list-container main .filter-wrap .filter-box.genre {
    width: 31.7%;
}

.list-container main .filter-wrap .filter-box.region {
    width: 41.7%;
}

.list-container main .filter-wrap .filter-box:not(:first-of-type) {
    border-left: 1px solid #000;
}

.list-container main .filter-wrap .filter-box p {
    font-size: 1.6rem;
    font-weight: 600;
    padding: 0 2rem;
    background: #e6eaf2;
    border-right: 1px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.list-container main .filter-wrap .filter-box .option-box {
    display: flex;
    margin: 1.5rem 2rem;
    border: 1px solid #000;
    width: 100%;
}

.list-container main .filter-wrap .filter-box .option-box a {
    width: 100%;
    padding: 1.6rem 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    text-align: center;
}

.list-container main .filter-wrap .filter-box .option-box a.active {
    background: #059eb4;
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.2);
    color: #fff;
}

.list-container main .filter-wrap .filter-box .option-box a:not(:last-child) {
    border-right: 1px solid #000;
}

.list-container main .list-wrap {
    padding-bottom: clamp(4rem, 4vw, 10rem);
}

.list-container main .list-wrap ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem 2rem;
}

.list-container main .list-wrap ul li {
    border: 1px solid #ddd;
    border-radius: 2rem;
    overflow: hidden;
}

.list-container main .list-wrap ul li .img-wrap {
    aspect-ratio: 530 / 742;
    overflow: hidden;
}

.list-container main .list-wrap ul li .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.list-container main .list-wrap ul li:hover .img-wrap img {
    transform: scale(1.1);
}

.list-container main .list-wrap ul li .text-wrap {
    padding: 3rem;
}

.list-container main .list-wrap ul li .text-wrap .title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.list-container main .list-wrap ul li .text-wrap .title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    word-break: break-all;
    line-height: 1.3;
}

.list-container main .list-wrap ul li .text-wrap .title .genre {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 700;
    padding-bottom: .8rem;
    border-bottom: 2px solid #000;
}

.list-container main .list-wrap ul li .text-wrap .info span {
    display: block;
    font-size: 1.6rem;
    line-height: 1.6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* festival_detail */
.detail-container main .contents-wrap {
    display: flex;
    gap: 10rem;
    margin-bottom: 10rem;
}

.detail-container main .contents-wrap .poster-wrap {
    flex: 1;
    position: sticky;
    top: 16rem;
    align-self: flex-start;
}

.detail-container main .contents-wrap .poster-wrap .img-wrap {
    aspect-ratio: 530 / 742;
    border-radius: 2rem;
    overflow: hidden;
}

.detail-container main .contents-wrap .poster-wrap .img-wrap .poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-container main .contents-wrap .poster-wrap .link-wrap {
    display: flex;
    justify-content: space-between;
    gap: .6rem;
    margin-top: 2rem;
}

.detail-container main .contents-wrap .poster-wrap .link-wrap a {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    background: #f0f0f0;
    padding: 2.2rem 0;
    flex: 0 0 calc((100% - 1.2rem) / 3);
    text-align: center;
    transition: all 0.4s;
    white-space: nowrap;
}

.detail-container main .contents-wrap .poster-wrap .link-wrap a img {
    width: 1.1rem;
    filter: invert(1);
}

.detail-container main .contents-wrap .poster-wrap .link-wrap a.ticket img {
    filter: invert(0);
}

.detail-container main .contents-wrap .poster-wrap .link-wrap a:hover {
    background: #dbdbdb;
}

.detail-container main .contents-wrap .poster-wrap .link-wrap a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}

.detail-container main .contents-wrap .poster-wrap .link-wrap a.ticket {
    background: #000;
    color: #fff;
}

.detail-container main .contents-wrap .poster-wrap .link-wrap a.ticket:hover {
    background: #333;
}

.detail-container main .contents-wrap .poster-wrap .link-wrap .sns-wrap {
    position: relative;
    width: 100%;
}

.detail-container main .contents-wrap .poster-wrap .link-wrap .sns-wrap .sns-toggle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    background: #f0f0f0;
    padding: 2.2rem 0;
    width: 100%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    white-space: nowrap;
    transition: all 0.4s;
}

.detail-container main .contents-wrap .poster-wrap .link-wrap .sns-wrap .sns-toggle img {
    width: 1.1rem;
    filter: invert(1);
    transition: transform 0.3s;
}

.detail-container main .contents-wrap .poster-wrap .link-wrap .sns-wrap .sns-toggle:hover {
    background: #dbdbdb;
}

.detail-container main .contents-wrap .poster-wrap .link-wrap .sns-wrap .sns-toggle.open img {
    transform: rotate(90deg);
}

.detail-container main .contents-wrap .poster-wrap .link-wrap .sns-wrap .sns-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #f0f0f0;
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    z-index: 10;
}

.detail-container main .contents-wrap .poster-wrap .link-wrap .sns-wrap .sns-list.open {
    max-height: 30rem;
}

.detail-container main .contents-wrap .poster-wrap .link-wrap .sns-wrap .sns-list li a {
    display: block;
    padding: 1.2rem 2rem;
    font-size: 1.4rem;
    font-weight: 500;
    color: #000;
    text-align: left;
    background: transparent;
    width: auto;
    transition: background 0.2s;
    text-align: center;
}

.detail-container main .contents-wrap .poster-wrap .link-wrap .sns-wrap .sns-list li a:hover {
    background: #dbdbdb;
}

.detail-container main .contents-wrap .poster-wrap .link-wrap .sns-wrap .sns-list li {
    border-top: 1px solid #ddd;
}

.detail-container main .contents-wrap .info-wrap {
    width: 72%;
}

.detail-container main .contents-wrap .info-wrap .title-section {
    margin-bottom: clamp(4rem, 4vw, 7rem);
}

.detail-container main .contents-wrap .info-wrap .title-section .title-box .genre {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 700;
    padding-bottom: .8rem;
    border-bottom: 2px solid #000;
}

.detail-container main .contents-wrap .info-wrap .title-section .title-box h2 {
    font-size: clamp(3.6rem, 3.6vw, 5rem);
    font-weight: 700;
    margin: 2rem 0;
}

.detail-container main .contents-wrap .info-wrap .title-section .title-box p {
    font-size: clamp(2.4rem, 2.4vw, 3rem);
    font-weight: 700;
}

.detail-container main .contents-wrap .info-wrap .title-section .title-box .sub {
    display: block;
    font-size: clamp(1.8rem, 1.8vw, 2.2rem);
    line-height: 1.4;
    margin: 3rem 0;
}

.detail-container main .contents-wrap .info-wrap .title-section .info-box ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
}

.detail-container main .contents-wrap .info-wrap .title-section .info-box ul li {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.detail-container main .contents-wrap .info-wrap .title-section .info-box ul li:nth-of-type(-n + 4) {
    border-bottom: 1px solid #ccc;
    padding-bottom: 1.5rem;
}

.detail-container main .contents-wrap .info-wrap .title-section .info-box ul li span {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 12rem;
    height: 5rem;
    text-align: center;
    border: 1px solid #000;
    font-size: 1.8rem;
    font-weight: 600;
}

.detail-container main .contents-wrap .info-wrap .title-section .info-box ul li p {
    font-size: 1.8rem;
}

.detail-container main .contents-wrap .info-wrap .info-section:not(:last-child) {
    margin-bottom: clamp(3rem, 3vw, 5rem);
}

.detail-container main .contents-wrap .info-wrap .info-section .title-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 2rem;
}

.detail-container main .contents-wrap .info-wrap .info-section .title-box h3 {
    font-size: clamp(2.2rem, 2.2vw, 2.6rem);
    font-weight: 700;
}

.detail-container main .contents-wrap .info-wrap .info-section .title-box i {
    position: relative;
    display: block;
    width: 1.8rem;
    height: .3rem;
    background: #000;
    border-radius: 1rem;
}

.detail-container main .contents-wrap .info-wrap .info-section .title-box i::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: .3rem;
    height: 1.7rem;
    background: #000;
    transform: translate(-50%, -50%) scaleY(1);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 1rem;
}

.detail-container main .contents-wrap .info-wrap .info-section .title-box i.open::after {
    transform: translate(-50%, -50%) scaleY(0);
}

.detail-container main .contents-wrap .info-wrap .info-section .title-box {
    cursor: pointer;
}

.detail-container main .contents-wrap .info-wrap .info-section .content-box {
    padding: 3rem 2rem 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.detail-container main .contents-wrap .info-wrap .info-section .content-box p {
    font-size: clamp(1.6rem, 1.6vw, 1.8rem);
    line-height: 1.8;
}

.detail-container main .contents-wrap .info-wrap .info-section .content-box p b {
    font-weight: 700;
}

.detail-container main .contents-wrap .info-wrap .info-section .content-box .slides-wrap {
    margin-top: clamp(3rem, 3vw, 5rem);
}

.detail-container main .contents-wrap .info-wrap .info-section .content-box .slides-wrap .slides {
    position: relative;
}

.detail-container main .contents-wrap .info-wrap .info-section .content-box .slides-wrap .slides .swiper-slide img {
    width: 100%;
    aspect-ratio: 290 / 220;
    border-radius: 2rem;
}

.detail-container main .contents-wrap .info-wrap .info-section .content-box .slides-wrap .slides .arrow-wrap button {
    width: 5rem;
    aspect-ratio: 1 / 1;
    border-radius: 100%;
    background: #059eb4;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

.detail-container main .contents-wrap .info-wrap .info-section .content-box .slides-wrap .slides .arrow-wrap button {
    background: #fff;
    border: 1px solid #000;
    transition: all 0.4s;
}

.detail-container main .contents-wrap .info-wrap .info-section .content-box .slides-wrap .slides .arrow-wrap button:hover {
    background: #000;
}

.detail-container main .contents-wrap .info-wrap .info-section .content-box .slides-wrap .slides .arrow-wrap button:hover img {
    filter: brightness(1);
}

.detail-container main .contents-wrap .info-wrap .info-section .content-box .slides-wrap .slides .arrow-wrap button img {
    filter: brightness(0);
}

.detail-container main .contents-wrap .info-wrap .info-section .content-box .slides-wrap .slides .arrow-wrap button.prev-btn {
    left: -1.5rem;
}

.detail-container main .contents-wrap .info-wrap .info-section .content-box .slides-wrap .slides .arrow-wrap button.next-btn {
    right: -1.5rem;
}

.detail-container main .contents-wrap .info-wrap .info-section .map-wrap {
    margin-bottom: 3rem;
}

.detail-container main .contents-wrap .info-wrap .info-section .map-wrap .map {
    width: 100%;
    height: auto;
    aspect-ratio: 930 / 500;
}

.detail-container main .contents-wrap .info-wrap .info-section .find-wrap {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 2rem 0;
}

.detail-container main .contents-wrap .info-wrap .info-section .find-wrap ul {
    display: flex;
    gap: 2rem;
}

.detail-container main .contents-wrap .info-wrap .info-section .find-wrap ul li {
    padding: 3rem 2rem;
    width: 25%;
}

.detail-container main .contents-wrap .info-wrap .info-section .find-wrap ul li:last-child {
    flex: 1;
}

.detail-container main .contents-wrap .info-wrap .info-section .find-wrap ul li:not(:last-child) {
    border-right: 1px solid #000;
}

.detail-container main .contents-wrap .info-wrap .info-section .find-wrap ul li h4 {
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: clamp(1.8rem, 1.8vw, 3rem);
}

.detail-container main .contents-wrap .info-wrap .info-section .find-wrap ul li .item-box {
    margin-top: clamp(1.8rem, 1.8vw, 3rem);
}

.detail-container main .contents-wrap .info-wrap .info-section .find-wrap ul li .item-box span {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 600;
    padding-bottom: .7rem;
    border-bottom: 2px solid #000;
    margin-bottom: 1rem;
}

.detail-container main .contents-wrap .info-wrap .info-section .find-wrap ul li .item-box p {
    font-size: 1.8rem;
    line-height: 1.6;
    padding-right: 3rem;
}

@media (max-width: 1600px) {
    .detail-container main .contents-wrap {
        gap: 4rem;
    }
}

@media (max-width: 1200px) {
    .detail-container main .contents-wrap .info-wrap .title-section .info-box ul {
        grid-template-columns: 1fr;
    }

    .detail-container main .contents-wrap .info-wrap .title-section .info-box ul li:nth-of-type(-n + 5) {
        border-bottom: 1px solid #ccc;
        padding-bottom: 1.5rem;
    }

    .detail-container main .contents-wrap .info-wrap {
        width: 55%;
    }

    .detail-container main .contents-wrap .poster-wrap .link-wrap a {
        font-size: 1.5rem;
    }

    .detail-container main .contents-wrap .poster-wrap .link-wrap a img {
        width: 1.1rem;
    }

    .detail-container main .contents-wrap .info-wrap .info-section .find-wrap ul {
        flex-direction: column;
        gap: 0;
    }

    .detail-container main .contents-wrap .info-wrap .info-section .find-wrap ul li {
        width: 100%;
    }

    .detail-container main .contents-wrap .info-wrap .info-section .find-wrap ul li:first-child {
        border-bottom: 1px solid #000;
    }

    .detail-container main .contents-wrap .info-wrap .info-section .find-wrap ul li:not(:last-child) {
        border-right: 0;
    }

    .detail-container main .contents-wrap .info-wrap .info-section .find-wrap ul li:last-child {
        border-top: 1px solid #000;
    }

    .detail-container main .contents-wrap .info-wrap .info-section .content-box .slides-wrap .slides .arrow-wrap button {
        width: 3.8rem;
    }
}

@media (max-width: 992px) {
    .detail-container main .contents-wrap .poster-wrap .link-wrap {
        flex-direction: column;
    }

    .detail-container main .contents-wrap .poster-wrap .link-wrap a {
        flex: 0 0 auto;
        width: 100%;
        padding: 2rem 0;
    }

    .detail-container main .contents-wrap .info-wrap .info-section .content-box .slides-wrap .slides .arrow-wrap button {
        width: 4rem;
    }

    main {
        margin-top: 13.3rem;
    }

    .list-container main .filter-wrap {
        flex-direction: column;
    }

    .list-container main .filter-wrap .filter-box {
        width: 100% !important;
    }

    .list-container main .filter-wrap .filter-box:not(:first-of-type) {
        border-left: 0;
    }

    .list-container main .filter-wrap .filter-box:not(:last-of-type) {
        border-bottom: 1px solid #000;
    }

    .list-container main .list-wrap ul {
        grid-template-columns: repeat(2, 1fr);
    }

    .detail-container main .contents-wrap .info-wrap .info-section .find-wrap ul li {
        padding: 2rem 1.5rem;
    }

    .list-container main .filter-wrap .filter-box .option-box a {
        padding: 1.2rem 0;
    }

    .list-container main .filter-wrap .filter-box .option-box {
        margin: 1.3rem 1.8rem;
    }
}

@media (max-width: 768px) {
    .detail-container main .contents-wrap {
        flex-direction: column;
        gap: 5rem;
    }

    .detail-container main .contents-wrap .info-wrap {
        width: 100%;
    }

    .detail-container main .contents-wrap .info-wrap .info-section .title-box {
        padding: 1.8rem 1.5rem;
    }

    .detail-container main .contents-wrap .info-wrap .title-section .info-box ul li {
        gap: 2rem;
    }

    .detail-container main .contents-wrap .info-wrap .title-section .info-box ul li span {
        width: 9rem;
        min-width: 9rem;
        height: 4rem;
        font-size: 1.6rem;
    }

    .detail-container main .contents-wrap .info-wrap .info-section .content-box {
        padding: 3rem 0 0;
    }

    .detail-container main .contents-wrap .poster-wrap {
        width: 100%;
        position: static;
    }

    .detail-container main .contents-wrap .info-wrap .info-section .content-box .slides-wrap {
        padding: 0 1.5rem;
    }

    main {
        margin-top: 12rem;
    }

    .list-container main .list-wrap ul {
        gap: 2.5rem 1.5rem;
    }
}

@media (max-width: 580px) {
    .detail-container main .contents-wrap .info-wrap .info-section .content-box {
        padding: 2.5rem 0 0;
    }

    .list-container main .list-wrap ul {
        grid-template-columns: 1fr;
    }

    .list-container main .filter-wrap .filter-box p {
        padding: 0 1rem;
    }

    .list-container main .filter-wrap .filter-box .option-box {
        margin: 1rem;
    }

    .list-container main .filter-wrap .filter-box .option-box a {
        padding: 1rem 0;
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    main {
        margin-top: 10rem;
    }

    .list-container main .filter-wrap .filter-box .option-box {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .list-container main .filter-wrap .filter-box .option-box a:not(:last-child) {
        border-right: 0;
    }

    .list-container main .filter-wrap .filter-box .option-box a:nth-of-type(2n - 1) {
        border-right: 1px solid #000;
    }

    .list-container main .filter-wrap .filter-box .option-box a {
        border-bottom: 1px solid #000;
        padding: .8rem 0;
    }

    .list-container main .filter-wrap .filter-box .option-box a:nth-last-child(-n+2):nth-child(odd),
    .list-container main .filter-wrap .filter-box .option-box a:last-child {
        border-bottom: 0;
    }
}