.box-stamp * {
    box-sizing: border-box;
}

.box-stamp {
    padding-top: 50px;
    padding-bottom: 30px;
}

.container-stamp {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.box-stamp .image img {
    width: 100%;
}

.uploadpreview{
    width: 170px;
    height: 170px;
    display:block;
    border:1px solid #ccc;
    background-size: cover;
    background-repeat:no-repeat;
    background-position:center;
    background-image: url("/common/design/user/img/stamp/image-stamp-same.jpg");
}

.upload-wrap {
    width: 170px;
    height: 170px;
    position: relative;
}

.upload-wrap input[type="file"] {
    color: transparent;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.box-upload {
    border: 1px solid #e5e5e5;
    background: #fbfbfb;
    padding: 40px 20px;
    margin-bottom: 20px;
}

.box-upload .common-title_s1 {
    margin-bottom: 40px;
}

.box-stamp .box-input {
    display: flex;
}

.box-stamp .box-input .item {
    width: 50%;
}

.box-stamp select, .box-stamp input[type="text"] {
    padding: 8px 10px;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
}

.box-stamp .box-input input[type="text"] {
    width: 80%;
}

.box-stamp ::-webkit-input-placeholder { /* Edge */
    color: #e1e1e1;
}

.box-stamp :-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #e1e1e1;
}

.box-stamp ::placeholder {
    color: #e1e1e1;
}

.box-stamp .box-input .title {
    display: block;
    font-weight: 700;
    margin-bottom: 15px;
}

.box-upload .list-upload {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
    position: relative;
}

.box-upload .list-upload:before {
    content: '';
    display: block;
    height: 1px;
    background: #e5e5e5;
    position: absolute;
    top: 0;
    left: 10px;
    right: 10px;
}

.box-upload .item-upload {
    width: 20%;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 25px;
}

.box-upload .item-upload .upload-wrap,
.box-upload .item-upload .uploadpreview{
    width: 100%;
}

.box-upload .item-upload .price-input {
    display: flex;
    align-items: center;
}

.box-upload .box-price {
    margin-top: 10px;
}

.box-upload .box-price .title {
    margin-bottom: 10px;
}

.box-upload .price-input input {
    width: 85%;
    margin-right: 5px;
}

.box-stamp h3 {
    font-size: 18px;
    line-height: 50px;
    font-weight: 700;
}

.choose-sale {
    margin-bottom: 30px;
}

.list-category ul {
    display: flex;
}

.list-category li {
    width: calc(100% /3);
}

.item-category .select-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.item-category .select-item .title {
    color: #404040;
    font-weight: 700;
}

.item-category .list-item li {
    border: 1px solid #e1e1e1;
    background: #f4f4f4;
}

.list-item ul {
    display: block;
    max-height: 365px;
    overflow-y: auto;
}

.list-item ul::-webkit-scrollbar {
    width: 6px;
    border-radius: 10px;
}

/* Track */
.list-item ul::-webkit-scrollbar-track {
    background: rgba(226, 226, 226, .8);
    border-radius: 10px;
}

/* Handle */
.list-item ul::-webkit-scrollbar-thumb {
    background: #4d4d4d;
    border-radius: 10px;
    border: 1px solid rgba(226, 226, 226, .8);
}

.list-item li {
    width: 100%;
    padding: 10px;
    border-bottom: 1px solid #e1e1e1;
}

.list-item .item-tshirt {
    display: flex;
    align-items: center;
    flex: 1;
}

.list-item .item {
    display: flex;
    align-items: center;
    position: relative;
}

.list-item li.active {
    background: #414141;
    color: #fff;
}

.list-item-arrow li.active .item:after {
    border-left: 10px solid #ffffff;
}
.list-item-arrow li.active .item_hide:after {
    border-left: 0px solid #ffffff;
}

.list-item li.active .title-tshirt .title {
    color: #fff;
}

.list-item li.active .title-tshirt span {
    color: #fff;
}

.list-item-arrow .item:after {
    content: '';
    display: block;
    border-left: 10px solid #414141;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    position: absolute;
    right: 0;
}
.list-item-arrow .item_hide:after {
    border-left: 0px solid #414141;

}

.btn-select-cancel {
    display: flex;
}

.btn-select-cancel .btn {
    background: #0097c8;
    color: #fff;
    border-radius: 5px;
    /*padding: 8px 15px;*/
    margin-left: 8px;
    margin-top: 0;
    height: 32px;
    width: 78px;
    font-family: "繝偵Λ繧ｮ繝手ｧ偵ざ Pro W3", "Hiragino Kaku Gothic Pro", 繝｡繧､繝ｪ繧ｪ, Meiryo, Osaka, "�ｭ�ｳ �ｰ繧ｴ繧ｷ繝�け", "MS PGothic", sans-serif;
    font-size: 16px;
    border: unset;
    cursor: pointer;
}

.list-item .image-item {
    width: 40px;
    flex-shrink: 0;
    margin-right: 10px;
}

.list-item .image-check {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.list-item .title-tshirt .title {
    color: #242424;
    font-weight: 700;
}

.list-item .title-tshirt span {
    display: block;
    color: #636363;
    font-size: 13px;
    margin-top: 5px;
}

.checkbox-custom {
    display: block;
    position: relative;
    height: 100%;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.checkbox-custom input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkbox-custom .checkmark {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background-color: #d0d0d0;
}

/* When the checkbox is checked, add a blue background */
.checkbox-custom input:checked ~ .checkmark {
    background-color: #0097c8;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkbox-custom .checkmark:after {
    content: "";
    position: absolute;
    left: 7px;
    top: 4px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.box-stamp .btn-full {
    display: block;
    width: 426px;
    border-radius: 5px;
    color: #fff;
    padding: 20px;
    font-size: 22px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    border: none;
}

.box-stamp .box-btn {
    display: flex;
    align-items: center;
}

.box-stamp .btn-3c3c3c {
    background: #3c3c3c;
    margin-top: 20px;
}

.box-stamp .btn-0097c8 {
    background: #0097c8;
}

.box-stamp .btn-c80000 {
    background: #c80000;
}

.box-radio {
    display: flex;
    flex-wrap: wrap;
    margin-top: 50px;
}

.radio-item {
    width: 50%;
}

.radio-item label {
    margin-right: 15px;
}

.radio-item input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    border: 2px solid #e4e4e4;
    transition: 0.2s all linear;
    margin-right: 5px;
    position: relative;
}

.check-hidden-show {
    margin-top: 30px;
}

.radio-item {
    margin-bottom: 20px;
    padding-bottom: 10px;
}


.radio-item input:before {
    content: "";
    position: absolute;
    background-color: #e4e4e4;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    line-height: 30px;
}

.radio-item  input:checked:before {
    background-color: #ff0000;
    width: 15px;
    height: 15px;
}

.title-radio {
    font-size: 16px;
    font-weight: 700;
}

@media (max-width: 991px) {
    .box-stamp {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .box-stamp .box-input {
        display: block;
    }

    .box-upload {
        padding: 16px;
    }

    .box-stamp .box-input .title {
        margin-bottom: 10px;
        font-size: 12px;
    }

    .box-stamp .box-input .item {
        width: 100%;
        margin-bottom: 15px;
    }

    .box-stamp .box-input input[type="text"] {
        width: 100%;
    }

    .upload-wrap,
    .uploadpreview {
        width: 100px;
        height: 100px;
    }

    .box-stamp h3 {
        font-size: 16px;
    }

    .list-category ul {
        display: block;
    }

    .list-category li {
        width: 100%;
        margin-bottom: 20px;
    }

    .item-category .list-item li {
        margin-bottom: 0;
    }

    .item-category .select-item {
        justify-content: flex-end;
    }

    .item-category .select-item .title {
        font-size: 12px;
    }

    .btn-select-cancel .btn {
        font-size: 12px;
    }

    .list-item ul::-webkit-scrollbar {
        width: 4px;
    }

    .box-upload .item-upload {
        width: calc(100% / 3);
        margin-top: 0;
        margin-bottom: 20px;
    }

    .box-upload .box-price .title {
        font-size: 12px;
    }

    .box-upload .price-input span {
        font-size: 12px;
    }

    .box-stamp .btn-3c3c3c {
        width: 60%;
    }

    .box-stamp .btn-0097c8,
    .box-stamp .btn-c80000{
        width: 50%;
    }

    .box-stamp .box-btn .btn:not(:last-child) {
        margin-right: 10px;
    }

    .box-stamp .btn-full {
        font-size: 12px;
    }

    .box-stamp input[type="text"] {
        padding: 6px 10px;
    }

    .box-upload .list-upload {
        margin-top: 15px;
        padding-top: 15px;
    }

    .list-item .title-tshirt .title {
        font-size: 12px;
    }

    .list-item .title-tshirt span {
        font-size: 10px;
    }

    .checkbox-custom .checkmark {
        width: 15px;
        height: 15px;
    }

    .checkbox-custom .checkmark:after {
        left: 5px;
        top: 2px;
        width: 4px;
        height: 7px;
        border-width: 0 2px 2px 0;
    }

    .title-radio {
        font-size: 12px;
    }

    .radio-item {
        width: 100%;
        margin-bottom: 10px
    }
}

.content-back-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.content-back-category .back-category {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    background: #414141;
    padding: 5px 10px;
    border-radius: 4px;
}

.content-back-category .back-category .image {
    width: 8px;
    margin-right: 5px;
}

.content-back-category .back-category .text {
    color: #fff;
    font-size: 12px;
}

.list-category-sp .list-category-2,
.list-category-sp .list-category-3 {
    display: none;
}

.list-category-sp .list-category-1.hide,
.list-category-sp .list-category-2.hide,
.list-category-sp .list-category-3.hide {
    display: none;
}

.list-category-sp .list-category-1.show,
.list-category-sp .list-category-2.show,
.list-category-sp .list-category-3.show {
    display: block;
}

input[type="file"] {
    cursor: pointer;
}
.btn {
    cursor: pointer;
}
.btn[disabled] {
    cursor: unset;
    background-color: #cccccc;
    color: #666666;
}
/*update list-upload*/
.item-upload-top {
    height: 24px;
}
.item-upload-top .content {
    background: #ececec;
    position: relative;
    padding: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3px;
}

.image-cursor {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.item-upload-top .image {
    width: 20px;
    display: flex;
}

@media (max-width: 991px) {
    .item-upload-top .image {
        width: 15px;
    }
    .item-upload-top {
        height: 30px;
    }

    .item-upload-top .content {
        padding: 11px 3px;
    }
}

/*end update list-upload*/
/*update icon delete*/
.box-upload .item-upload {
    position: relative;
}

.box-upload .image-delete {
    position: absolute;
    width: 25px;
    right: 10px;
}
@media (max-width: 991px) {
    .box-upload .image-delete {
        width: 15px;
        right: 5px;
    }
}
/*end icon delete*/
/*update list-upload*/
.item-upload-top {
    height: 30px;
}
.item-upload-top .content {
    background: #ececec;
    position: relative;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3px;
}

.image-cursor {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.item-upload-top .image {
    width: 20px;
    display: flex;
}

@media (max-width: 991px) {
    .item-upload-top .image {
        width: 15px;
    }
    .item-upload-top {
        height: 25px;
    }

    .item-upload-top .content {
        padding: 7px 3px;
    }
}

/*end update list-upload*/

.loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 9999;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.loader .loader-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    padding: 15px 25px;
    max-height: 600px; }

.loader-text {
    color: #ffffff;
    display: inline-block;
    margin-left: 5px;
}

.loader-bounceball {
    position: relative;
    display: inline-block;
    height: 37px;
    width: 15px;
}
.loader-bounceball:before {
    position: absolute;
    content: '';
    display: block;
    top: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #ffffff;
    -webkit-transform-origin: 50%;
    -ms-transform-origin: 50%;
    transform-origin: 50%;
    -webkit-animation: loader-bounce 500ms alternate infinite ease;
    animation: loader-bounce 500ms alternate infinite ease;
}

.hd_cate{
    display: none;
}

@-webkit-keyframes loader-bounce {
    0% {
        top: 30px;
        height: 5px;
        border-radius: 60px 60px 20px 20px;
        -webkit-transform: scaleX(2);
        transform: scaleX(2);
    }
    35% {
        height: 15px;
        border-radius: 50%;
        -webkit-transform: scaleX(1);
        transform: scaleX(1);
    }
    100% {
        top: 0;
    }
}

@keyframes loader-bounce {
    0% {
        top: 30px;
        height: 5px;
        border-radius: 60px 60px 20px 20px;
        -webkit-transform: scaleX(2);
        transform: scaleX(2);
    }
    35% {
        height: 15px;
        border-radius: 50%;
        -webkit-transform: scaleX(1);
        transform: scaleX(1);
    }
    100% {
        top: 0;
    }
}
fieldset div { display: inline-block; float: left}
fieldset div:nth-child(3) { display: block; clear: left}
.item-category .list-item .master_categories_1 li{display: none}
.item-category .list-item .master_categories_1 li.block{display: block}
.item-category .list-item .master_item_type_1 li{display: none}
.item-category .list-item .master_item_type_1 li.block{display: block}
.box-stamp input[type=checkbox]{
    width: 20px;
    height: 20px;
    background: url('/common/design/user/img/radio-form001.png') no-repeat;
    -webkit-appearance:none;
    -moz-appearance:none;
    appearance:none;
    border: 0;
    padding: 0;
    margin: 0 5px;
    outline: none;
}
.box-stamp input[type=checkbox]:checked{background-position: 0 100%;}