#portfolio {
    width: 100%;
}

.title-box {
    margin: 100px 0;
    text-align: center;
}

.title1 {
    color: #333;
    font-size: 24px;
    margin-bottom: 15px;
}

.title2 {
    font-weight: 600;
    color: #333;
    font-size: 40px;
    margin-bottom: 10px;
}

.title3 {
    color: #333;
    font-size: 18px;
    font-weight: 300;
}

.package-list-wrap {
    background: #F9F9F9;
    padding: 20px 15px;
    padding-bottom: 60px;
}
.cate-box {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.cate-box a {
    border: 1px solid #A5A5A5;
    background: #FFF;
    padding: 5px 15px;
    font-size: 14px;
    color: #746F6F;
}

.cate-box a.active {
    border: 1px solid #333;
    background: #333;
    color: #fff;
}

.package-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 10px;
    margin: 0 auto;
}

.package-list a {
    width: calc(25% - 8px);
}

.package-list a img {
    width: 100%;
}

.package-list a p {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #000;
}

/* Swiper 모달 전체 스타일 */
.swiper-modal {
    display: none; /* 평소에는 숨김 */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.swiper-modal .close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1010;
}

.swiper-modal .swiper-container {
    width: 90%;
    max-width: 800px;
    height: auto;
}

/* 메인 Swiper 스타일 */
.main-swiper {
    width: 100%;
    height: 600px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.main-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 썸네일 Swiper 스타일 */
.thumbs-swiper {
    height: 120px;
}

.thumbs-swiper .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.5;
    cursor: pointer;
}

.thumbs-swiper .swiper-slide-thumb-active {
    opacity: 1;
}

.thumbs-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.inner-box {
    background: #F9F9F9;
}

.inner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    max-width: 800px;
    gap: 30px;
    margin: 0 auto;
    padding: 80px 0;
    text-align: center;
}

.inner div {
    display: flex;
    align-items: center;
    gap: 30px;
    box-sizing: border-box;
    width: 100%;
    justify-content: flex-start;
    align-items: center;
}

.inner div span:nth-child(1) {
    color: #333;
    font-size: 14px;
    font-weight: 600;
    width: 80px;
}

.inner div span:nth-child(2) {
    color: #333;
    font-size: 14px;
    font-weight: 400;
    width: calc(100% - 80px);
    text-align: left;
}

.intro {
    color: #333;
    font-size: 15px;
    font-weight: 300;
    line-height: 22px;
    width: 100%;
    margin-bottom: 20px;
}

.image-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.image-list img {
    width: 100%;
    margin-top: 20px;
}

@media (max-width: 800px) {
    .inner {
        width: calc(100% - 40px);
        padding: 40px 20px;
    }

    .inner div {
        gap: 20px;
    }
}

@media (max-width: 550px) {
    .br {
        display: block;
    }

    .title-box {
        margin-top: 80px;
        margin-bottom: 25px;
    }

    .title1 {
        font-size: 18px;
    }

    .title2 {
        font-size: 24px;
    }

    .title3 {
        font-size: 14px;
        line-height: 18px;
    }

    .cate-box {
        justify-content: center;
    }

    .package-list a {
        width: calc(50% - 5px);
    }

    .main-swiper {
        height: unset;
    }
    
    .main-swiper .swiper-slide img {
        height: unset;
    }
}