@charset "UTF-8";
/* ------------ 購入まわり　カスタム ------------ */
.addCart.regular-purchase .supplement {
  background-color: #f8f8f8;
  font-size: 12px;
  text-align: center;
  padding: 8px 0;
  margin-top: 24px;
}
@media screen and (max-width: 768px) {
  .addCart.regular-purchase .supplement {
    font-size: 3.2vw;
    padding: 2.1333333333vw 0;
    margin-top: 6.4vw;
  }
}

#product .inner .text .supplement + .detailCartButton {
  margin-top: 0;
}

.badge-wrap {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
@media screen and (max-width: 768px) {
  .badge-wrap {
    gap: 4.2666666667vw;
  }
}

.badge--product-tag {
  background-color: #aa823a;
  color: #fff;
  display: inline-flex;
  padding: 4px 8px;
  line-height: 1;
  font-size: 14px;
}
@media screen and (max-width: 768px) {
  .badge--product-tag {
    padding: 1.0666666667vw 2.1333333333vw;
    font-size: 3.7333333333vw;
  }
}

.container-count {
  font-size: 16px;
  display: flex;
  align-items: center;
  margin: 10px 0;
}
@media screen and (max-width: 768px) {
  .container-count {
    font-size: 4.2666666667vw;
    margin: 2.6666666667vw 0;
  }
}

#btn-decrement, #btn-increment {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  background-color: #f0f0f0;
  color: #333;
  cursor: pointer;
  height: 36px;
  width: 36px;
  line-height: 1;
  border: 1px solid #ccc;
}
@media screen and (max-width: 768px) {
  #btn-decrement, #btn-increment {
    font-size: 6.4vw;
    width: 9.6vw;
    height: 9.6vw;
  }
}

#product .inner .text .detailNumberWarp .detailNumberWarp__number input[type=text].input-count-text {
  text-align: center;
  border-left: 0;
  border-right: 0;
}
@media screen and (max-width: 768px) {
  #product .inner .text .detailNumberWarp .detailNumberWarp__number input[type=text].input-count-text {
    height: 9.6vw;
    font-size: 4.8vw;
    width: 21.3333333333vw;
  }
}

/* カートイン　モーダル */
/* Basic styles for modalUser */
.modalUser {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  background-color: rgba(0, 0, 0, 0.7); /* Black with opacity */
}

.modalUser-content {
  font-family: "Noto Sans JP", serif;
  font-weight: 400;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fefefe;
  padding: 40px;
  width: 480px; /* Fixed width */
  text-align: center; /* Center text */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
@media screen and (max-width: 768px) {
  .modalUser-content {
    width: 90%;
    padding: 8.5333333333vw 6.4vw;
  }
}
.modalUser-content #addCartMessage {
  font-size: 20px;
}
@media screen and (max-width: 768px) {
  .modalUser-content #addCartMessage {
    font-size: 4.2666666667vw;
  }
}
.modalUser-content .addCartMessage-note {
  color: red;
  margin: 16px 0 24px;
  font-size: 12px;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .modalUser-content .addCartMessage-note {
    margin: 4.2666666667vw 0 6.4vw;
    font-size: 3.2vw;
  }
}

.modalUser-title {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.modalUser-footer {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 24px;
}
@media screen and (max-width: 768px) {
  .modalUser-footer {
    gap: 4.2666666667vw;
  }
}

.modalUser-footer button {
  margin: 5px;
  padding: 10px 20px;
  cursor: pointer;
}

.close-modal-btn {
  cursor: pointer;
  color: red;
}

.btn-view-cart {
  width: 160px;
  display: inline-block;
  padding: 8px 16px;
  background-color: #aa823a;
  color: #fff !important;
}
@media screen and (max-width: 768px) {
  .btn-view-cart {
    padding: 2.1333333333vw 4.2666666667vw;
    width: 42.6666666667vw;
    font-size: 3.7333333333vw;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.btn-modal-close {
  width: 160px;
  display: inline-block;
  padding: 8px 16px;
  background-color: #fff;
  border: 1px solid #adadad !important;
  color: #333;
  border: none;
  cursor: pointer;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .btn-modal-close {
    padding: 2.1333333333vw 4.2666666667vw;
    width: 42.6666666667vw;
    font-size: 3.7333333333vw;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.7;
  }
}
@media screen and (max-width: 768px) {
  #product .inner .text .detailCartButton {
    font-size: 3.7333333333vw;
  }
}

/* 定期購入の場合のボタン周囲の見た目調整 */
#product .inner .text .regular-purchase .detailCartButton.cart,
#product .inner .text .regular-purchase .detailCartButton {
  margin-top: 0;
  line-height: 1;
}

#product .inner .text .regular-purchase .btnCart {
  padding-top: 0;
}

#product .inner .text .regular-purchase .detailPrice {
  padding-top: 24px;
}

#product .inner .text .regular-purchase .detailPrice {
  padding-top: 16px;
  font-size: 12px;
}
@media screen and (max-width: 768px) {
  #product .inner .text .regular-purchase .detailPrice {
    padding-top: 4.2666666667vw;
    font-size: 3.2vw !important;
  }
}

#product .inner .text .regular-purchase .detailCartButton.cart-subscription {
  background-color: #333 !important;
}