.trecasel {
  width: 100px;
  border: 1px solid;
}

.subtotal_base {
  padding: 6px;
  background: rgba(255, 000, 051, 0.6);
  border-radius: 15px;
}

.subtotal_base .subtotal {
  width: 100%;
  overflow: hidden;
  background: rgba(255, 255, 255, 1);
  border-radius: 7px;
  box-shadow: 0px 0px 10px rgba(255, 000, 051, 0.75);
}

.subtotal_base .subtotal p {
  width: 90%;
  margin: 0 0 0 5%;
  font-family: 'Roboto', 'Noto Sans' !important;
  font-size: 14px;
  font-weight: 900;
  color: #ff124c;
}
.subtotal_base .subtotal p.celltitle {
  display: inline-block;
  width: auto;
  margin-bottom: 10px;
}
.subtotal_base .itemnum {
  position: relative;
  display: inline-block;
  padding: 4px 30px 4px 10px;
  margin: 15px 3% 0 6px;
  font-family: 'Noto Sans' !important;
  font-size: 15px;
  font-weight: 600;
  color: #000;
  text-align: center;
  background: transparent;
  border: 2px solid #000;
  border-radius: 50px;
}
.subtotal_base .itemnum::before {
  position: absolute;
  top: 0px;
  right: 10px;
  width: 16px;
  height: 16px;
  font-family: 'Font Awesome 5 Free';
  font-size: 132%;
  content: '\f055';
}

.subtotal_base .subtotal span.totalprice {
  font-size: 40px;
  font-weight: 900;
}

.subtotal_base .subtotal hr {
  width: 100%;
  margin: 15px 0 10px;
  border: 0;
  border-bottom: 2px solid rgba(255, 000, 051, 0.75);
}

.innercaption {
  font-size: 16px !important;
  color: #000 !important;
}

.totalprice_info {
  width: 90%;
  margin: 10px 5%;
  font-family: 'Noto Sans' !important;
  font-size: 11px;
}

.totalprice_info tbody tr {
  border-top: 1px solid #999;
}
.totalprice_info tbody tr th,
.totalprice_info tbody tr td {
  padding: 5px 0;
}
.totalprice_info tbody tr th {
  width: 50%;
  font-weight: bold;
  text-align: left;
}
.totalprice_info tbody tr td {
  width: 17.5%;
  text-align: right;
}
.totalprice_info tbody tr td:last-child {
  width: 40%;
  padding-right: 10px;
  font-weight: bold;
  text-align: right;
}
.totalprice_info .love {
  float: right;
  /* width:65.5%; */
  padding-right: 5px;
  color: #ff0000;
  text-decoration: underline;
}

.subtotal_base .view_cart {
  position: relative;
  box-sizing: border-box;
  width: 90%;
  padding: 10px 35px 10px 10px;
  margin: 6px 5% 0;
  font-family: 'Noto Sans';
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  text-align: center;
  background: transparent;
  border: 2px solid #fff;
  border-radius: 30px;
}

.subtotal_base .view_cart::before {
  position: absolute;
  top: 18%;
  right: 8px;
  width: 25px;
  height: 25px;
  content: '';
  background-color: #fff;
  border-radius: 50%;
}
.subtotal_base .view_cart::after {
  position: absolute;
  top: 20%;
  right: 16px;
  width: 10px;
  height: 10px;
  font-size: 21px;
  color: rgba(255, 000, 051, 1);
  content: '+';
  border: 0;
}

@media (max-width: 768px) {
  .subtotal_base .subtotal hr,
  .subtotal_base .innercaption,
  .subtotal_base .totalprice_info,
  .subtotal_base .view_cart,
  .subtotal_base .subtotal p.innercaption {
    display: none;
  }

  .subtotal_base {
    width: 100%;
    letter-spacing: -0.07em;
    cursor: pointer;
  }
  .subtotal_base .subtotal {
    padding: 10px 5px;
  }
  .subtotal_base .subtotal p.celltitle {
    display: block;
    margin: 0;
    font-size: 1.6em;
  }
  .subtotal_base .itemnum {
    padding: 3px 15px 3px 5px;
    margin: 5px 0;
    font-size: 1.1em;
    vertical-align: top;
  }
  .subtotal_base .itemnum::before {
    top: 1px;
    right: 3px;
    width: 12px;
    height: 12px;
  }
  .subtotal_base .itemnum::after {
    top: 3px;
    right: 4px;
    font-size: 12px;
    font-weight: 100;
  }
  .subtotal_base .subtotal p {
    display: inline-block;
    width: auto;
    margin: 0 3px 10px;
    font-size: 14px;
    vertical-align: bottom;
  }
  .subtotal_base .subtotal span.totalprice {
    font-size: 22px;
    vertical-align: bottom;
  }
}

a.disabled img {
  text-decoration: none;
  cursor: default;
  opacity: 0.3;
}

#modal-overlay {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 1000;
  display: none;
  width: 100%;
  height: 100%;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.7);
}
#modal-overlay * {
  box-sizing: border-box;
}
#modal-overlay .wrap {
  display: table;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
}
#modal-overlay .container {
  position: relative;
  display: table-cell;
  padding: initial;
  vertical-align: middle;
}
#modalcontainer {
  position: relative;
  margin: auto;
  cursor: auto;
  background-color: #ff6685;
  border: 10px solid #ff6685;
  border-radius: 10px;
}
#modalcontainer .modal-close-button {
  position: absolute;
  top: -1.3rem;
  right: -1rem;
  display: block;
  width: 1em;
  height: 1em;
  font-size: 250%;
  line-height: 1;
  color: #ff6685;
  background: #fff;
  border-radius: 100%;
}

#modalcontainer .modal-close-button::before {
  position: absolute;
  top: -5px;
  right: -1px;
  font-family: 'Font Awesome 5 Free';
  font-size: 130%;
  font-weight: 900;
  content: '\f057';
}

#modalcontainer .subtotal_base {
  width: 100%;
  padding: 0;
  cursor: auto;
  background-color: #ff6685;
  border: none;
}
#modalcontainer .subtotal {
  visibility: hidden;
}
#modalcontainer .subtotal_base .subtotal p.celltitle {
  display: block;
  margin: 15px 15px 0;
}
#modalcontainer .subtotal_base .itemnum {
  margin: 10px 15px;
}
#modalcontainer .totalprice_info tbody tr th,
#modalcontainer .totalprice_info tbody tr td {
  font-size: 14px;
}
#modalcontainer .subtotal_base .itemnum::before {
  content: '\f056';
}
#modalcontainer .subtotal_base .subtotal p {
  display: inline-block;
  width: auto;
  margin: 0;
  vertical-align: bottom;
}
#modalcontainer .subtotal_base .subtotal p.innercaption {
  margin: 0 5%;
}
#modalcontainer .cart-items {
  background-color: #ff6685;
}
#modalcontainer .subtotal + .cart-items {
  margin-top: 10px;
}
#modalcontainer .cart-item {
  position: relative;
  width: 100%;
  padding: 10px;
  overflow: hidden;
  background: #fff;
  border-radius: 7px;
  box-shadow: 0px 0px 10px rgba(255, 000, 051, 0.75);
}
#modalcontainer .cart-item + .cart-item {
  margin-top: 10px;
}
#modalcontainer .cart-item .del {
  position: absolute;
  top: 2px;
  right: 17px;
  display: block;
  width: 1.3em;
  height: 1.3em;
  font-size: 180%;
  line-height: 1.3em;
  color: #000;
  text-align: center;
}
.del::before {
  position: absolute;
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f057';
}
#modalcontainer .cart-item .img {
  float: left;
}
#modalcontainer .cart-item .img img {
  width: 60px;
  height: 60px;
  margin: 0 10px 0 0;
}
#modalcontainer .cart-item .text {
  margin-left: 70px;
  font-size: 14px;
  line-height: 1.4em;
}

#modalcontainer .cart-item .text .item_name {
  width: 92%;
}
#modalcontainer .cart-item .text .item_maker {
  float: left;
  font-size: 0.8em;
}
#modalcontainer .cart-item .text .item_price {
  float: right;
  padding-right: 7%;
  font-family: 'Roboto', 'Noto Sans' !important;
  font-size: 1em;
  font-weight: 900;
  color: #ff124c;
}
#modalcontainer .cart-item .text .item_price span {
  font-size: 1.6em;
}
#modalcontainer .cart-item .text .unopened {
  float: left;
  height: 26px;
  clear: right;
  line-height: 28px;
}
#modalcontainer .cart-item .text .unopened::after {
  margin-left: 5px;
  content: '未開封品';
}
#modalcontainer .cart-item .text .unopened span {
  position: relative;
  display: block;
  float: left;
  width: 26px;
  height: 26px;
  margin-right: 0.5em;
  cursor: pointer;
  border: 1px solid #666;
  border-radius: 5px;
  -moz-box-shadow: 2px 3px 5px 1px rgba(0, 0, 0, 0.18) inset;
  -webkit-box-shadow: 2px 3px 5px 1px rgba(0, 0, 0, 0.18) inset;
  box-shadow: 2px 3px 5px 1px rgba(0, 0, 0, 0.18) inset;
}
#modalcontainer .cart-item .text .unopened span.check::before {
  position: absolute;
  top: 3px;
  left: 3px;
  display: block;
  width: 18px;
  height: 18px;
  content: '';
  background-color: #ff114c;
}
#modalcontainer .cart-item .text .amount {
  position: relative;
  float: left;
  height: 26px;
  margin-left: 40px;
  line-height: 28px;
}
#modalcontainer .cart-item .text .amount::before {
  position: absolute;
  left: 0;
  content: '数量';
}
#modalcontainer .cart-item .text .amount a {
  display: block;
  float: left;
  width: 60px;
  height: 26px;
  line-height: 26px;
  text-align: center;
  border: 1px solid #666;
}
#modalcontainer .cart-item .text .amount a.check {
  color: #fff;
  background-color: #ff114c;
}
#modalcontainer .cart-item .text .amount a:nth-child(1) {
  margin-left: 40px;
  border-radius: 5px 0px 0px 5px;
}
#modalcontainer .cart-item .text .amount a:nth-child(2) {
  margin-left: -1px;
  border-radius: 0px 5px 5px 0px;
}
@media (max-width: 768px) {
  #modalcontainer {
    width: 100%;
    border: 7px solid #ff6685;
    border-radius: 7px;
  }

  #modalcontainer .modal-close-button {
    top: -1.1rem;
    right: -0.8rem;
  }
  #modalcontainer .subtotal_base .subtotal p.celltitle {
    display: block;
    margin: 0;
    font-size: 1.2em;
  }
  #modalcontainer .subtotal_base .itemnum {
    padding: 3px 20px 3px 5px;
    margin: 5px 0;
    font-size: 0.8em;
    vertical-align: top;
  }
  #modalcontainer .subtotal_base .itemnum::before {
    top: 0px;
    right: 3px;
    width: 15px;
    height: 12px;
  }
  #modalcontainer .subtotal_base .itemnum::after {
    top: 2px;
    right: 4px;
    font-size: 12px;
    font-weight: 500;
  }
  #modalcontainer .subtotal_base .subtotal hr,
  #modalcontainer .subtotal_base .innercaption,
  #modalcontainer .subtotal_base .totalprice_info,
  #modalcontainer .subtotal_base .view_cart,
  #modalcontainer .subtotal_base .subtotal p.innercaption {
    display: block;
  }
  #modalcontainer .subtotal_base .subtotal hr {
    margin: 5px 0;
  }
  #modalcontainer .totalprice_info {
    margin: 5px 5%;
    font-size: 0.85em;
  }
  #modalcontainer .totalprice_info tbody tr th {
    width: auto;
    line-height: 13.65px;
    letter-spacing: -0.98px;
    white-space: nowrap;
  }
  #modalcontainer .totalprice_info tbody tr td {
    width: 37.5%;
    padding-left: 10px;
    white-space: nowrap;
  }
  #modalcontainer .totalprice_info tbody tr td:last-child {
    width: 40%;
  }

  #modalcontainer .cart-items {
    -webkit-overflow-scrolling: touch;
  }
  #modalcontainer .cart-items::-webkit-scrollbar {
    width: 4px;
    margin-left: -10px;
  }
  #modalcontainer .cart-items::-webkit-scrollbar-track {
    padding-top: 10px;
    background: rgba(0, 0, 0, 0);
  }
  #modalcontainer .cart-items::-webkit-scrollbar-thumb {
    /*    background: rgba(255,000,051,1);*/
    background: rgba(0, 0, 0, 0.5);
    -webkit-border-radius: 3px;
    border-radius: 3px;
  }
  #modalcontainer .cart-item .text .amount {
    float: right;
  }
  #modalcontainer .cart-item .del {
    right: 12px;
  }
}
#modalcontainer .mCS-autoHide > .mCustomScrollBox > .mCSB_scrollTools,
.mCS-autoHide > .mCustomScrollBox ~ .mCSB_scrollTools {
  opacity: 1;
}
#modalcontainer .mCS-minimal.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
  background-color: #ff0033;
  background-color: rgba(255, 000, 051, 0.5);
  -ms-filter: 'alpha(opacity=50)';
  filter: 'alpha(opacity=50)';
}
#modalcontainer .mCS-minimal.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
#modalcontainer .mCS-minimal.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar {
  background-color: #ff0033;
  background-color: rgba(255, 000, 051, 0.5);
  -ms-filter: 'alpha(opacity=50)';
  filter: 'alpha(opacity=50)';
}
#modalcontainer .mCSB_scrollTools {
  opacity: 1;
}

.camp-bonus {
  padding: 2px 8px;
  margin: 0 5px 0 8px;
  margin-bottom: 8px;
  font-weight: normal;
  color: #ffffff;
  background-color: #ff124c;
  border-radius: 5px;
}

.square_btn {
  position: relative;
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 2px;
  color: white;
  background: #ff124c; /* ボタンの背景色 */
  border: 2px solid #ff124c; /* 枠の調整 */
  border-radius: 4px;
}
.square_btn:hover {
  color: white;
  background: #ff124c; /* ボタンの背景色 */
}

@font-face {
  font-family: 'Roboto';
  src: url('/fonts/Roboto-Light.woff') format('woff');
}

@font-face {
  font-family: 'Noto Sans';
  src: url('/fonts/NotoSans-Medium.woff') format('woff');
}

@font-face {
  font-family: 'Font Awesome 5 Free';
  src: url('/fonts/fontawesome-webfont.woff') format('woff');
}

.mat5 {
  margin-top: 5px !important;
}
.mat20 {
  margin-top: 20px !important;
}
.pat5 {
  padding-top: 5px !important;
}
.pat30 {
  padding-top: 30px !important;
}
.pab5 {
  padding-bottom: 5px !important;
}
.fzs {
  font-size: 75% !important;
}
.fzm {
  font-size: 87% !important;
}
.bn_kaiyu img:hover {
  -ms-filter: 'alpha(opacity=70)';
  filter: alpha(opacity=70);
  opacity: 0.7;
}
.tac {
  text-align: center !important;
}
.tar {
  text-align: right !important;
}
.pc {
  display: block;
}
.sp {
  display: none;
}
@media (max-width: 768px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
}

@media (max-width: 768px) {
  *,
  *::before,
  *::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
  }
}
