
/* DETAIL */
/* ============================================ */

#sec-item-detail {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 120px auto 0;
    padding: 0 40px;
    max-width: 1280px;
}

#sec-item-detail .box-L {
    max-width: 640px;
}

#sec-item-detail .box-R {
    max-width: 440px;
    width: calc(100% - 680px);
}

#sec-item-detail .img img {
    width: 640px;
    height: 640px;

    object-fit: contain;
}

#sec-item-detail .li-thumb {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 25px 0 0 0;
}

#sec-item-detail .li-thumb li {
    margin: 5px 5px 0 0;
    width: 59px;
    cursor: pointer;
}

#sec-item-detail .li-thumb li img {
    width: 59px;
    height: 59px;

    object-fit: cover;
}

#sec-item-detail .box-main {
    margin: 120px auto;
}

#sec-item-detail .box-main .name {
    font-size: 30px;
}

#sec-item-detail .box-main .txt {
    margin: 30px auto;
    line-height: 2;
}
#sec-item-detail .box-main .price span {
    font-size: 30px;
}

#sec-item-detail .box-main .box-cart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin: 30px 0 0 0;
    text-align: center;
}

#sec-item-detail .box-main .box-cart input[type="text"] {
    margin: 10px 10px 0 10px;
    width: 60px;
    height: 40px;
    border: 1px solid #8b8078;
    text-align: center;
    font-size: 20px;
}

#sec-item-detail .box-main .box-cart button {
    padding: 20px;
    max-width: 240px;
    width: 100%;
    background: #ef6f66;
    color: #fff;
    text-align: center;
}

#sec-item-detail .box-main .box-cart button:hover {
    background-color: red;
    transition: 0.2s;
}

#sec-item-detail .box-sub {
    margin-top: 60px;
}

#sec-item-detail .box-sub .ttl {
    font-weight: bold;
}

#sec-item-detail .box-sub .txt {
    margin: 10px auto 0;
    line-height: 2;
}

#sec-item-detail .c-breadcrumbs {
    width: 100%;
}

#sec-item-detail .c-breadcrumbs-list {
    display: flex;
    margin: 0 auto 10px;
    width: 100%;
}

#sec-item-detail .c-breadcrumbs-list .c-breadcrumbs-list__item::after {
    margin: 0 5px;
    content: "＞";
}

#sec-item-detail .c-breadcrumbs-list .c-breadcrumbs-list__item:last-child::after {
    display: none;
}

#sec-item-detail .p-product-option {
    padding: 0 0 30px;
    line-height: 2;
}

#sec-item-detail .p-product-option .p-product-option-select__ttl {
    font-weight: bold;
}

@media screen and (max-width: 896px) {
    #sec-item-detail {
        flex-direction: column;
        margin: 60px auto 0;
        padding: 0 20px;
    }

    #sec-item-detail .box-L {
        max-width: inherit;
    }

    #sec-item-detail .box-R {
        max-width: inherit;
        width: auto;
    }

    #sec-item-detail .img img {
        width: calc(100vw - 40px);
        height: calc(100vw - 40px);
    }

    #sec-item-detail .li-thumb {
        margin: 20px 0 0 0;
    }

    #sec-item-detail .li-thumb li {
        margin: 1px 1px 0 0;
        width: 29px;
    }

    #sec-item-detail .li-thumb li img {
        width: 29px;
        height: 29px;
    }

    #sec-item-detail .box-main {
        margin: 30px auto;
    }

    #sec-item-detail .c-breadcrumbs-list {
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        font-size: 12px;
    }
}
