.input-prepend.input-append input {
  font-size: 24px;
  padding-top: 11px;
  padding-bottom: 11px;
  width: 100px;
  text-align: right;
}
.stock_error {
  color: #DB5656;
}




.itemdtl-block1{
    display: flex;
    gap: 3em;
}
.itemdtl-block1 .imagebox{
    width: 100%;
    max-width: 55%;
}
.itemdtl-block1 .textbox{
    flex: 1;
    display: flex;
    flex-direction: column;
    row-gap: 1.7em;
}
@media (max-width:1020px) and (min-width:961px){
    .itemdtl-block1{
        gap: 2em;
    }
    .itemdtl-block1 .imagebox{
        max-width: 49%;
    }
}
@media (max-width:960px){
    .itemdtl-block1{
        flex-direction: column;
    }
    .itemdtl-block1 .imagebox{
        max-width: 760px;
        margin-right: auto;
        margin-left: auto;
    }
}



.itemimage {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.itemimage .img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.itemimage .main {
  width: 100%;
  margin-bottom: 15px;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
}
.itemimage .main .img {
  position: absolute;
  top: 0; left: 0;
  transition: opacity 0.4s;
  opacity: 1;
  background-color: #fff;
}
.itemimage .main .img.fade-out {
  opacity: 0;
  z-index: 1;
}
.itemimage .main .img.fade-in {
  opacity: 1;
  z-index: 2;
}

.itemimage .subimg {
  display: flex;
  width: calc((100% - 1em * 3) / 4);
  cursor: pointer;
  aspect-ratio: 1/1;
  position: relative;
  opacity: .8;
}
.itemimage .subimg.current{
    opacity: 1;
}
.itemimage .subimg.current::before{
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: 2px solid #24418d;
}



.itemname{
    font-weight: bold;
    font-size: min(5.2vw, 130%);
    line-height: 1.6;
    color: #004478;
}


.item-data-table{
    border-top: 1px solid #adadad;
    font-size: 90%;
}
.item-data-table :is(th, td){
    border-bottom: 1px solid #adadad;
    padding: 17px 15px;
}
.item-data-table th{
    font-weight: bold;
    width: 7em;
    vertical-align: middle;
}
.item-data-table .price{
    font-weight: bold;
    font-size: min(5vw, 140%);
    color: #e10000;
}



.item-order-num-wrap{
    margin-bottom: 30px;
}
.item-order-num-wrap .item-order-block{
    display: flex;
    margin-bottom: 0;
    justify-content: center;
}
.item-order-num-wrap .item-order-block input{
    height: 46px;
    border: 1px solid #adadad;
}


.addcart-btn{
    border:2px solid #24418d;
    background: #24418d;
    width: 100%;
    max-width: 440px;
    margin-right: auto;
    margin-left: auto;
    padding: 0;
    min-height: 76px;
    display: flex;
    justify-content: center;
    align-items:center;
    gap: .6em;
    color: #fff;
    font-weight: bold;
    font-size: 120%;
    transition: background .3s, color .3s;
}
.addcart-btn .icon{
    font-size: 150%;
}
.addcart-btn:hover{
    background: #fff;
    color: #24418d;
}


.follow-cartbtn{
    position: sticky;
    z-index: 2;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(184,194,240,.9);
    margin-top: 3em;
    padding: 10px;
}
.follow-cartbtn .addcart-btn{
    min-height: 60px;
}
@media (max-width:990px){
    .follow-cartbtn{
        bottom: 75px;
    }
}



.prduct-option-wrap{
    border-bottom: 1px solid #adadad;
    padding: 0 15px 1.7em;
}
.prd-opt-inner{
    display: flex;
    align-items: center;
    gap: .6em 2em;
}
.prd-opt-inner + .prd-opt-inner{
    margin-top: 15px;
}
.prd-opt-inner .name{
    font-weight: bold;
}
.prd-opt-inner select{
    flex: 1;
    padding: 18px;
    height: auto;
    min-width: 13em;
}
@media (max-width:600px){
    .prd-opt-inner{
        flex-direction: column;
    }
    .prd-opt-inner + .prd-opt-inner{
        margin-top: 25px;
    }
}

.opt-listlink{
    line-height: 1;
    display: inline-block;
    padding: 10px;
    font-size: 90%;
}
.opt-listlink span{
    vertical-align: middle;
    transform: translate(0px, -1px);
    margin-left: 5px;
    display: inline-block;
}


.product-kanren-wrapper{
    border-top: 1px solid #24418d;
    padding-top: 4em;
}


.product-kanren-link{
    display: flex;
    flex-wrap: wrap;
    gap: .5em;
}
.product-kanren-link .block{
    width: calc((100% - .5em) / 2);
}
@media (max-width:840px){
    .product-kanren-link{
        flex-direction: column;
    }
    .product-kanren-link .block{
        width: 100%;
    }
}
.product-kanren-link .link{
    border: 1px solid #ccc;
    border-radius: 5px;
    font-weight: bold;
    height: 100%;
    display: flex;
    justify-content: space-between;
    padding: 13px 10px 13px 15px;
    gap: 10px;
    transition: background .3s;
}
.product-kanren-link .link::after{
    content: "\e5cc";
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: normal;
    font-size: 140%;
    height: 1.3em;
    width: 1.3em;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #30408c;
    background: #dee4f1;
    border-radius: 5px;
    speak: none;
    text-transform: none;
    line-height: 1;
    letter-spacing: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    transition: background .3s;
}
.product-kanren-link .link:hover{
    background: #e0e9ff;
    color: #1e39bb;
    text-decoration: none;
}
.product-kanren-link .link:hover::after{
    background: #fff;
}


.return-btn .link{
    border: 1px solid #24418d;
    margin: 40px auto 0;
    width: 100%;
    max-width: 440px;
    padding: 0;
    min-height: 80px;
    display: flex;
    justify-content: center;
    align-items:center;
    gap: .6em;
    font-weight: bold;
    font-size: 120%;
    transition: background .3s, color .3s;
}
.return-btn .link:hover{
    background: #e0e9ff;
    color: #1e39bb;
    text-decoration: none;
}



.sake-ryou-img{
    display: flex;
    gap: 1em 2em;
    padding: 1.5em;
    border: 4px solid #6e0303;
    justify-content: center;
    align-items: center;
}
.sake-ryou-img .imagebox{
    width: 100%;
    max-width: 197px;
}
.sake-ryou-img .textbox{
    font-size: 110%;
    color: #6e0303;
    font-weight: bold;
}
.sake-ryou-img .subimage{
    width: 100%;
    max-width: 140px;
}
@media (max-width:780px){
    .sake-ryou-img{
        flex-wrap: wrap;
    }
    .sake-ryou-img .imagebox{
        order: 1;
    }
    .sake-ryou-img .textbox{
        order: 3;
        flex-basis: 100%;
    }
    .sake-ryou-img .subimage{
        order: 2;
    }
}
@media (max-width:780px) and (min-width:571px){
    .sake-ryou-img .textbox{
        text-align: center;
    }
}
@media (max-width:530px){
    .sake-ryou-img{
        gap: 1em;
    }
    .sake-ryou-img .imagebox{
        width: 55%;
    }
    .sake-ryou-img .subimage{
        width: calc(45% - 1em);
    }
}