button.btn-s {
    font-size:.75rem;
    line-height:unset !important;
    padding:0 .5rem;
}
article.stnOrderHeader {
    margin-top:2rem;
    display: flex; align-items:center; justify-content: space-between;
}

article.stnOrderHeader > div.stnOrderHeader {
    display: flex; align-items: center; justify-content: center;
    font-size:1rem;
    font-weight: 700;
    gap: 1rem;
    color: #d8d8d8;
}
article.stnOrderHeader > div.stnOrderHeader > div.on {
    color: #135eba;
}

article.stnOrderBody {
    margin-bottom:1rem;
    display: grid;
    grid-template-columns: 40px 1fr 150px 200px;
    border-top:2px solid #000;
}

article.stnOrderBody > div {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    border-bottom:1px solid #ebebeb;
}
article.stnOrderBody > div.header {
    border-bottom:1px solid #000;
    background: #f9f9f9;
    padding:.5rem 0;
}
article.stnOrderBody > div.body {
    color:#6c6c6c;
}
article.stnOrderBody > div.body > figure {
    display: flex; padding:0 0 0 0; margin:0 0 0 0; align-items: center; gap: 1rem; font-size: .875rem;
}
article.stnOrderBody > div.body > figure > img {
    width:80px;
    cursor: pointer;
    margin:1rem 1rem; border:1px solid #ccc;
}
article.stnOrderBody > div.body > figure > figcaption > p {
    padding:0 0 0 0; margin:0 0 0 0; font-weight: 600;
    color:#333;
}
article.stnOrderBody > div.body > figure > figcaption > span {
    color:#6c6c6c;
    display: block;
    word-break: break-word;
}

article.stnOrderBody > div.body > figure > figcaption > div.bodyMobile {
    display: none;
}

article.stnOrderBody > div.img {
    justify-content: flex-start;
}
.chk_box { display: block; position: relative; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; bottom:0; }
.chk_box input[type="checkbox"] { display: none; }
.chk_box > .on { width: 20px; height: 20px; background: #ddd; position: absolute; top:-10px; left: -10px;  }
.chk_box input[type="checkbox"]:checked + .on { background: #333; }
.chk_box > .on:after { content: ""; position: absolute; display: none; }
.chk_box input[type="checkbox"]:checked + .on:after { display: block; }
.chk_box > .on:after { width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; -webkit-transform: rotate(45deg); -ms-transform: rotate(45deg); transform: rotate(45deg); position: absolute; left: 6px; top: 2px; }

.chk_box2 { display: block; position: relative; pcursor: pointer; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; bottom:0; }
.chk_box2 input[type="checkbox"] { display: none; }
.chk_box2 > .on { width: 20px; height: 20px; background: #ddd; position: absolute; top:2px; left: 0;  }
.chk_box2 input[type="checkbox"]:checked + .on { background: #333; }
.chk_box2 > .on:after { content: ""; position: absolute; display: none; }
.chk_box2 input[type="checkbox"]:checked + .on:after { display: block; }
.chk_box2 > .on:after { width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; -webkit-transform: rotate(45deg); -ms-transform: rotate(45deg); transform: rotate(45deg); position: absolute; left: 6px; top: 2px; }




.dialog {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100000;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    font-family: var(--FontFamily);
}

.dialog>.tb {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}
.dialog > .tb > div.inner > div.header {
    padding:1.5rem 1rem;
    border-bottom: 1px solid #ebebeb;
    text-align: center;
    font-size:1rem;
    color:#333;
    font-weight: 500;
}

.dialog>.tb .inner {
    max-width: 500px;
    width:100%;
    background: #fff;
    border-radius: 20px 20px;
}

.dialog .ct {
    padding:1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.dialog .bottom {
    width:100%;
    display: flex; justify-content: space-between; flex-direction: row; align-items: center;
}
.dialog .bottom > button {
    width:50%;
    padding:.5rem 0;
    background: #f1f1f1;
    border:1px solid #f1f1f1;
    border-radius: 0 0 0 20px;
}
.dialog .bottom > button:last-child {
    width:50%;
    color:#FFF;
    background: #007bff;
    border:1px solid #007bff;
    border-radius: 0 0 20px 0;
}
article.stnOrderPayBtn {
    border-top:1px solid #333;
    margin:1rem 0;
    font-size:.875rem;
    color:#666;
}
article.stnOrderPayBtn > div.stnOrderPayBtn {
    background: #f4f4f4;
    margin-bottom:1rem;
    padding:1rem 1rem;
    display: flex; flex-direction: column; gap: .5rem;
    align-items: flex-end;
}
article.stnOrderPayBtn > div.stnOrderPayBtn > div#orderTitle {
    color:#333; font-weight: 500;
}
article.stnOrderPayBtn > div.stnOrderPayBtn > div#totalPrice > span {
    font-size:1.25rem; color: #135dba; font-weight: 600;
}



@media (max-width: 599px) {
    article.stnOrderHeader {
        flex-direction: column;
        align-items:flex-start;
        gap: 1rem;
    }
    article.stnOrderBody  {
        grid-template-columns:auto 1fr 1fr;
    }
    article.stnOrderBody > div.header {
        display: none;
    }
    article.stnOrderBody > div.chkbox {
        order:1;
    }
    article.stnOrderBody > div.img {
        grid-column: 2 / 4;
        order:2;
    }
    article.stnOrderBody > div.qry {
        order:3;
        flex-direction: row;
        grid-column: 1 / 3;
    }
    article.stnOrderBody > div.tamount {
        order:4;
    }

}

@media (min-width: 600px) and (max-width: 767px) {
    article.stnOrderBody  {
        grid-template-columns:auto 1fr 1fr;
    }
    article.stnOrderBody > div.header {
        display: none;
    }
    article.stnOrderBody > div.chkbox {
        order:1;
    }
    article.stnOrderBody > div.img {
        grid-column: 2 / 4;
        order:2;
    }
    article.stnOrderBody > div.qry {
        order:3;
        flex-direction: row;
        grid-column: 1 / 3;
    }
    article.stnOrderBody > div.tamount {
        order:4;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {


}

