.preview {
    
}

.preview > p {
    width: 100px;
    height: 100px;
}
.preview > p > a > img {
    max-width: 100%;
    width: auto;
    height: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.item-edit-input{
    height: 45px;
    width: 98%;
    font-size: 1.2rem;
    margin: 0 0 15px 5px;
    padding: 0px 15px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background: #fff;
    line-height: 1.2;
}

.item-edit-input.big{
    height: 150px;
}
.item-edit-required{
    margin: 0 0 3px 10px;
    background-color: #ff0000;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    font-weight: 600;
    line-height: 1.4em;
}

.item-edit-optional{
    margin: 0 0 3px 10px;
    background-color: #bfbfbf;
    color: #fff;
    font-size: 12px;
    padding: 0 4px;
    border-radius: 2px;
    display: inline-block;
    font-weight: 600;
    line-height: 1.4em;
}

.item-edit-error{
    color: red;
}

.item-edit-category{
    font-size: 1.6rem;
    font-weight: 600;
}

.item-edit-button{
    text-align: center;
}

.item-edit-confirm{
    background-color: #f0a630;
    color: #fff;
    font-size: 14px;
    min-height: 40px;
    width: 100%;
    font-weight: 600;
    border-radius: 4px;
    border: 1px solid transparent;
    margin: 25px 0 40px;
}
.confirm-explain{
    text-align: center;
    color: #FF99CC;
    margin: 10px 0;
}

.confirm-image-path{
    margin: 20px 0;
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.main.confirm{
    max-height: 300%;
}

.app-wrap{
    margin: 10px;
    font-weight: bold;
    font-size: 1rem;
}

.app-confirm{
   font-size: 1rem;
   line-height: 1.3;
   padding: 10px;
}

.confirm-main{
}
.table-app{
    table-layout: fixed;
}
.table-app td{
    padding: 5px;
    font-weight: bold;
}
.table-app tr{
    border-top: 1px solid #eee;
}
.table-app th{
    font-weight: 500;
    width: 120px;
}
.tags{
    border-top: 1px solid #eee;
    padding: 10px;
}
.tags span{
    font-weight: 500;
}
.tags p{
    margin: 5px;
    padding: 10px;
    border-radius: 7px;
    background-color: #eee;
}
.confirm-explain
{
    color: #FF99CC;
    margin: 10px 0;
}


.confirm-image-path{
    margin: 20px 0;
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.confirm-comment{
    font-weight: 500;
    border-top: 1px solid #eee;
    padding: 10px;
}
.confirm-comment h2{
    font-weight: 500;
}
.confirm-comment p{
    font-weight: bold;
    margin: 5px 0;
    line-height: 1.3;
}

.confirm-comment.complete{
    text-align: center;
    margin: 20px 0;
    padding: 10px 0;
}
.confirm-comment.complete p{
    margin: 30px 0;
}
.confirm-button{
    text-align: center;
}
.confirm-margin{
    margin: 20px 0 0 0;
}
.top-link{
    background-color: #ccc;
    color: #fff;
    font-size: 16px;
    min-height: 48px;
    width: 50%;
    padding: 5px;
    font-weight: 600;
    border-radius: 3px;
    border: 1px solid transparent;
    text-decoration: none;
}

.confirm-button-input{
    background-color: #ea352d;
    color: #fff;
    font-size: 17px;
    min-height: 48px;
    width: 80%;
    font-weight: 600;
    border-radius: 4px;
    border: 1px solid transparent;
    margin: 25px 0;
}

.confirm-button-link{
    background-color: #ccc;
    color: #fff;
    font-size: 16px;
    min-height: 48px;
    width: 50%;
    padding: 3px ;
    font-weight: 600;
    border-radius: 4px;
}

.select2-selection__choice{
    font-size:16px !important;
}


.jancode {
    padding: 10px 15px;
    width: 98%;
    border: 1px solid #ccc;
    background-color: #fdfdfd;
    border-radius: 4px;
    margin: 0 0 15px 5px;
    margin-top: 3px;
}

.jancode-scanner-container {
    display: none;
    width: 100%;
    margin: 15px auto;
    border-radius: 12px;
}

.jancode-scanner-video {
    display: block;
    height: 200px;
}

.jancode-button {
    padding: 4px 8px;
    cursor: pointer;
    border-radius: 4px;
    background-color: #f0a630;
    color: #ffffff;
    font-weight: 600;
    border: none;
    display: block;
}

.jancode-button:disabled {
    background-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
}

.jancode-ratekun-wrapper {
    display: none;
    background-color: #bf0000;
    border-radius: 4px;
    text-align: center;
}

.jancode-rakuten-link {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #bf0000;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    border-radius: 4px;
    padding: 8px 16px; 
}

.jancode-button-close {
    display: none;
    background-color: #ff0000;
}

.jancode-wrapper {
    display: flex;
    gap: 10px;
    margin: 10px 0 5px 0;
}

.jancode-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.jancode-input {
    background-color: white;
    border: 1px solid #aaa;
    border-radius: 4px;
    padding: 3px 23px 3px 5px;
}

.jancode-input:disabled {
    background-color: #cccccc;
    color: #666666;
}

.jancode-error-message {
    color: #ff0000;
    white-space: pre-wrap;
    font-size: 12px;
    margin-top: 5px;
}

.form-notes p {
    font-size: 11px;
    margin-top: 5px;
}

@media screen and (max-width: 454px) {

    .jancode-button {
        font-size: 12px;
    }

    .jancode-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .jancode-ratekun-wrapper {
        width: 100%;
    }

    .jancode-button.rakuten {
        border: 4px;
    }
}