/*-----------------------------------------------
* 01. Archive
* 02. Detail
-------------------------------------------------*/
/*-----------------------------------------------
* 01. Archive
-------------------------------------------------*/

/**
* goods list
*/
.goodsLists {
    display: flex;
    flex-wrap: wrap;
    max-width: 720px;
    margin: 0 auto;
    justify-content: flex-start;
}

.goodsLists__item {
    width: 230px;
    margin-bottom:15px;
    margin-right: 15px;
}
.goodsLists__item:nth-of-type(3n) {
    margin-right: 0;
}

.goodsLists__item a {
    background: #5cb0ab;
    display: block;
    height: 100%;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #000;
    transition: all .3s;
}

.goodsLists__item a:hover {
    background: #fff;
}

.goodsLists__item__thumb {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 273px;
    overflow: hidden;
    background: #FFF;
}

.goodsLists__item__thumb img {
    object-fit: fill;
    height: auto;
    max-height: 100%;
    max-width: 100%;
    width: auto;
}

.goodsLists__item__title,
.goodsLists__item__price {
    font-size: 16px;
    font-weight: 600;
    color: #030000;
    padding: 0 12px;
}

.goodsLists__item__title {
    border-top: 2px solid #5cb0ab;
    padding-top: 6px;
}

.goodsLists__item__price {
    padding-bottom: 6px;

}

/*-----------------------------------------------
* 03. Modal
-------------------------------------------------*/
.modalBox {
    -webkit-overflow-scrolling: touch;
    background-color: rgba(0, 0, 0, .8);
    background-image: inherit !important;
    display: none;
    width: 100%;
    height: 100%;
    overflow: auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

/* #goodsModal.oneModal {
    display: block !important;
} */

#goodsModal .oneModalIn {
    align-items: flex-start;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    min-height: 100%;
    padding: 80px 0;
    width: 800px;
    position: relative;
    z-index: 3;
}

#goodsModal .oneModalIn__cont {
    width: 800px;
}

.goods__article {
    width: 100%;
    padding-right: 10px;
}

.goods__article--title {
    border: 2px solid #57aca7;
    color: #57aca7;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.65;
    margin-bottom: 40px;
    padding: 10px 20px;
    text-align: center;
}

.goods__article--img {
    margin-bottom: 1px;
    width: 311px;
    order: 1;
}

.goods__article--img img {
    max-width: 311px;
    height: auto;
}

.goods__article--imglists {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    order: 2;
}

.goods__article--imglist {
    margin-bottom: 1px;
    margin-right: 1px;
    width: 51px;
}

.goods__article--imglist img {
    cursor: pointer;
    width: 51px;
    height: auto;
}

.goods__article--imglist img:hover,
.goods__article--imglist img.is__current {
    opacity: 0.8;
}

.goods__article--description {
    width: 460px;
    color: #FFF;
    font-size: 16px;
    line-height: 2.5;
    word-break: break-all;
    max-height: 560px;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.goods__article--description::-webkit-scrollbar {
    display: none;
}

.goods__article--description a {
    color: #FFF;
}

.goods__article--back {
    height: 42px;
    width: 230px;
    margin: 0 auto;
}

.goods__article--backlink {
    border: 2px solid #57aca7;
    color: #57aca7;
    display: block;
    height: 42px;
    line-height: 2;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.goods__article--backlink:hover {
    background: #57aca7;
    color: #000;
}

.goods__closelayer {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}

.goods__article--description h4 {
    color: #57aca7;
    border-bottom: 2px solid #57aca7;
    font-size: 18px;
    font-weight: bold;
    padding-top: 30px;
    margin-bottom: 15px;
}

@media screen and (min-width:767px) {
    .goods__article--inner {
        display: flex;
        justify-content: space-between;
        margin-bottom: 50px;
    }

    .goods__article--imgs {
        display: flex;
        flex-wrap: wrap;
        align-content: flex-start;
        width: 312px;
    }
}

@media screen and (max-width:768px) {
    .modalBox {
        width: 101.5%;
        background-color: rgba(0, 0, 0, .8);
        background-image: none;
    }

    .oneModalIn {
        min-width: 100%;
    }

    .oneModalIn__cont {
        width: 100%;
        padding: 30px 0;
    }

    .goods__article--imgs {
        display: flex;
        flex-direction: column;
        margin-bottom: 20px;
    }

    .goods__article--description {
        width: 100%;
    }

}

/* closeBtn */
.closeBtn {
    width: 74px;
    height: 98px;
    position: absolute;
    top: 22px;
    right: 22px;
    z-index: 2;
}

.closeBtn a {
    background: url(../img/common/icon_close.png) no-repeat 0 0 / 100%;
    display: block;
    width: 100%;
    height: 100%;
}

@media screen and (max-width:768px) {
    .closeBtn {
        width: 40px;
        height: 53px;
        top: 20px;
        right: 20px;
    }
}

/* common */
.commonIframe_goods {
    width: 100%;
    min-height: 80vh;
    display: block;
    overflow-y: scroll;
}

body {
    background-color: inherit !important;
}

@media screen and (max-width:768px) {
    .goodsLists {
        display: flex;
        flex-wrap: wrap;
        max-width: 94%;
        margin: 0 auto;
        justify-content: space-between;
    }

    .goodsLists__item {
        width: 48%;
        margin: 0 0 20px;
    }

    .goodsLists__item__title,
    .goodsLists__item__price {
        font-size: 14px;
    }

    #goodsModal .oneModalIn,
    #goodsModal .oneModalIn__cont {
        width: 90%;
    }

    .goods__article {
        width: 80%;
        margin: 0 auto;
    }

    .goods__article--title {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 30px;
        padding: 8px 16px;
    }

    .goods__article--img {
        width: 100%;
        margin-bottom: 30px;
    }

    .goods__article--img img {
        max-width: 100%;
        height: auto;
    }

    .goods__article--description {
        width: 100%;
        margin-bottom: 40px;
        line-height: 1.85;
        font-size: 14px;
    }

    .goods__article--back {
        margin: 40px auto 0;
    }

    .goods__article--backlink {
        height: 40px;
        font-size: 16px;
    }

    .oneModalIn__cont {
        padding: 0;
    }

    .goodsLists__item__thumb {
        height: 200px;
    }

    .commonIframe_goods {
        /* min-height: 120vh; */
    }

    .closeBtn {
        position: fixed;
    }

}