.container {
    position: relative;
}
.sw-design {
    padding: 100px 0;
    overflow: hidden;
    max-width: 1628px;
    margin: 0 auto;
    position: relative;
}
.sw-design .swiper-slide {
    width: 675px;
    height: 830px;
    box-shadow: 4px 4px 20px 5px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    background-color: #fff;
}
.sw-design .swiper-slide .profile-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}
.sw-design .swiper-slide .profile-wrap img {
    width: 50px;
}
.sw-design .swiper-slide .profile-wrap p {}
.sw-design .swiper-slide .profile-wrap span {
    flex-basis: 70%;
    text-align: right;
}
.sw-design .swiper-slide .design-img-wrap {
    width: 600px;
    height: 600px;
    /* background-color: #E6E6E6; */
    background: url('../img/layer.png') no-repeat center;
    background-size: cover;
    margin: 0 auto;
    /* border: 1px solid #8c8c8c; */
    border-radius: 5px;
    overflow: hidden;
}
.sw-design .swiper-slide .design-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all .3s linear;
}
.sw-design .swiper-slide .design-img-wrap:hover img {
    transform: scale(1.1);
}
.sw-design .swiper-slide .comment-btn {
    display: flex;
    justify-content: space-between;
    padding: 15px 40px;
}
.sw-design .swiper-slide .comment-btn span {
    font-size: 24px;
}
.sw-design .swiper-slide .comment-btn img {
    width: 18px;
}
.sw-design .swiper-slide .comment-btn span.send img {
    width: 22px;
}
.sw-design .swiper-slide .comment-btn span:last-child {
    flex-basis: 80%;
    text-align: right;
}
.sw-design .swiper-slide .comment-txt {
    display: flex;
    justify-content: left;
    gap: 20px;
    padding: 0 40px;
}
.sw-design .swiper-slide .comment-txt p {}
.sw-design .swiper-slide .comment-txt p:last-child {}

/* swiper pagination */
.swiper-pagination {
    position: absolute;
    bottom: 11% !important;
}
 .swiper-pagination-bullet {
    width: 110px;
    height: 4px;
    margin: 0 !important;
    background-color: #eee;
    position: relative;
    border-radius: 2px;
    opacity: 1 !important;
}
.swiper-pagination-bullet .bar-fill {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background-color: #838eff;
    transition: width 0.4s linear;
}
.swiper-pagination-bullet-active .bar-fill {
    width: 100%;
    border-radius: 2px;
}

/* swiper navigaiton btn */
.swiper-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: #fff;
    border-radius: 27px;
}
.swiper-btn a {
    display: block;
    width: 54px;
    height: 54px;
    border-radius: 27px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15);
    background: url('../img/keyboard_arrow_right_24dp_A9A9A9_FILL0_wght400_GRAD0_opsz24.png') no-repeat center;
}
.swiper-btn.prev-btn {
    left: calc(50% - 675px / 2 - 27px);
}
.swiper-btn.prev-btn a {
    transform: rotate(180deg);
}
.swiper-btn.next-btn {
    right: calc(50% - 675px / 2 - 27px);
}
.swiper-btn.next-btn a {}
.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* modal */
.design-contents {
    position: fixed;
    /* top: 50%; */
    top: 100%;
    left: 50%;
    /* transform: translate(-50%,-50%); */
    transform: translateX(-50%);
    z-index: 100;
    width: 900px;
    height: 890px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(233,233,233,0.7);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid #8C8C8C;
    overflow: hidden;
    /* display: none; */
    transition: all .5s linear;
}
.design-contents.active {
    top: 50%;
    transform: translate(-50%,-50%);
}
.design-contents.down {
    top: 95%;
}
.design-contents .index-btn {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    padding: 20px 25px;
    z-index: 100;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(249,249,249,0.8);
}
.design-contents .index-btn span {
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: .3s;
    position: relative;
}
.design-contents .index-btn span img {
    width: 8px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    opacity: 0;
    transition: all .2s linear;
}

.design-contents .index-btn span:hover img {
    opacity: 0.8;
}
.design-contents .index-btn span:nth-child(1) {
    background-color: #FF5F57;
}
.design-contents .index-btn span:nth-child(2) {
    background-color: #FEBC2E;
}
.design-contents .index-btn span:nth-child(3) {
    background-color: #28C840;
}
.design-contents a.close {
    position: absolute;
    display: block;
    top: 20px;
    right: 25px;
    z-index: 100;
    transition: all .3s linear;
}
.design-contents a.close:hover {
    opacity: 0.5;
}
.design-contents .design-img {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: calc(100% - 56px);
    overflow-y: auto;
}
.design-contents .design-img img {
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
}

/* footer */
footer {
    position: relative;
}

/* 반응형 */
@media screen and (max-width:1280px){
   .sw-design .swiper-slide {
        width: 550px;
        height: 730px;
    } 
    .sw-design .swiper-slide .design-img-wrap {
        width: 500px;
        height: 500px;
    }
    .swiper-pagination {
        bottom: 13% !important;
    }
    .swiper-pagination-bullet {
        width: 90px;
        height: 3px;
    }
    .swiper-btn a {
        width: 40px;
        height: 40px;
    }
    .swiper-btn.prev-btn {
        left: calc(50% - 550px / 2 - 20px);
    }
    .swiper-btn.next-btn {
        right: calc(50% - 550px / 2 - 20px);
    }
}
@media screen and (max-width:980px){
    /* modal */
    .design-contents {
        width: 600px;
        height: 620px;
        border-radius: 20px;
    }

}
@media screen and (max-width:680px){
    .sw-design .swiper-slide {
        width: 400px;
        height: 550px;
    } 
    .sw-design .swiper-slide .profile-wrap img {
        width: 35px;
    }
    .sw-design .swiper-slide .profile-wrap p {
        font-size: 13px;
    }
    .sw-design .swiper-slide .profile-wrap span {
        flex-basis: 60%;
    }
    .sw-design .swiper-slide .design-img-wrap {
        width: 360px;
        height: 360px;
    }
    .swiper-pagination {
        bottom: 15% !important;
    }
    .swiper-pagination-bullet {
        width: 70px;
        height: 3px;
    }
    .swiper-btn.prev-btn {
        top: 50%;
        left: calc(50% - 400px / 2 - 20px);
    }
    .swiper-btn.next-btn {
        top: 50%;
        right: calc(50% - 400px / 2 - 20px);
    }
    .sw-design .swiper-slide .comment-btn {
        padding: 10px 20px;
    }
    .sw-design .swiper-slide .comment-txt {
        padding: 0 20px;
    }
    .sw-design .swiper-slide .comment-txt p {
        font-size: 14px;
    }
    
    .sw-design .swiper-slide .comment-btn span {
        font-size: 19px;
    }
    .sw-design .swiper-slide .comment-btn img {
        width: 14px;
    }
    .sw-design .swiper-slide .comment-btn span.send img {
        width: 18px;
    }
   

    /* modal */
    .design-contents {
        width: 450px;
        height: 460px;
        border-radius: 10px;
    }
    .design-contents .index-btn {
        padding: 15px;
    }
    .design-contents a.close {
        display: block;
        top: 15px;
        right: 15px;
    }
    .design-contents .index-btn span {
        width: 13px;
        height: 13px;
    }
    .design-contents a.close img {
        width: 15px;
    }
    .design-contents .design-img {
        height: calc(100% - 43px);
    }
}
@media screen and (max-width:480px){
    .sw-design .swiper-slide {
        width: 280px;
        height: 450px;
    } 
    .sw-design .swiper-slide .design-img-wrap {
        width: 280px;
        height: 280px;
    }
    .swiper-pagination {
        bottom: 18% !important;
    }
    .swiper-pagination-bullet {
        width: 45px;
        height: 3px;
    }
    .swiper-btn.prev-btn {
        top: 50%;
        left: calc(50% - 280px / 2);
    }
    .swiper-btn a {
        width: 30px;
        height: 30px;
    }
    .swiper-btn.next-btn {
        top: 50%;
        right: calc(50% - 280px / 2);
    }
    .sw-design .swiper-slide .profile-wrap {
        padding: 10px;
    }
    .sw-design .swiper-slide .profile-wrap p {
        font-size: 12px;
    }
    .sw-design .swiper-slide .comment-btn span {
        font-size: 17px;
    }
    .sw-design .swiper-slide .comment-btn img {
        width: 12px;
    }
    .sw-design .swiper-slide .profile-wrap span {
        flex-basis: 50%;
    }
    .sw-design .swiper-slide .comment-btn span.send img {
        width: 16px;
    }
    .sw-design .swiper-slide .comment-btn span:last-child {
        flex-basis: 70%;
    }
    .sw-design .swiper-slide .comment-txt p {
        font-size: 10px !important;
    }

    /* modal */
    .design-contents {
        width: 400px;
        height: 600px;
        border-radius: 10px;
    }
    .design-contents .index-btn {
        padding: 10px;
    }
    .design-contents a.close {
        display: block;
        top: 10px;
        right: 10px;
    }
    .design-contents .index-btn span {
        width: 10px;
        height: 10px;
    }
    .design-contents a.close img {
        width: 10px;
    }
    .design-contents .design-img {
        height: calc(100% - 30px);
    }
}
@media screen and (max-width:380px){
    .design-contents {
        width: 300px;
        height: 330px;
    }
}