/* 商品詳細専用CSS：ec.cssから移管した基本定義 */
@media (max-width:768px) {
#store.productdetail_aspx .btn_pagetop {
    bottom: 70px;
  }
}

#store.productdetail_aspx aside {
  display: none;
}

#store.productdetail_aspx #ProductDetail .slick-prev,
#store.productdetail_aspx #ProductDetail .slick-next {
  z-index: 1;
  width: 40px;
  height: 40px;
  background-color: rgba(204, 204, 204, 0.8);
  border-radius: 30px;
}

#store.productdetail_aspx #ProductDetail .slick-prev {
  left: 10px;
}

#store.productdetail_aspx #ProductDetail .slick-next {
  right: 10px;
}

#store.productdetail_aspx section.product {
  margin: 0 0px 0 0px;
  padding-bottom: 40px;
  
  position: relative;
  box-sizing: border-box;
  /*fix*/
}

@media (max-width:1000px) {
#store.productdetail_aspx section.product {
    padding-right: 16px;
    padding-left: 16px;
  }
}

@media (max-width:768px) {
#store.productdetail_aspx section.product {
    padding: 0 10px 40px 10px;
    margin: 0;
    overflow: hidden;
  }
}

@media (min-width:1000px) {
#store.productdetail_aspx section.product #ProductDetail {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
}

#store.productdetail_aspx section.product #ProductDetail .ErrorMessage {
  width: 100%;
}

#store.productdetail_aspx section.product .box_slider {
  margin: 20px 40px 0px 0;
  position: relative;
  background-color: #ffffff;
}

@media (min-width:1000px) {
#store.productdetail_aspx section.product .box_slider {
    width: 50%;
    max-width: 500px;
  }
}

@media (max-width:999px) {
#store.productdetail_aspx section.product .box_slider {
    width: 100%;
  }
}

#store.productdetail_aspx section.product .box_slider .list_product {
  margin-bottom: 20px;
}

#store.productdetail_aspx section.product .box_slider .list_product,
#store.productdetail_aspx section.product .box_slider .thumblist_product li {
border:1px solid #eee;
}

#store.productdetail_aspx section.product .box_slider .list_product li img,
#store.productdetail_aspx section.product .box_slider .thumblist_product li img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

#store.productdetail_aspx section.product .box_slider .thumblist_product {
  margin: 0 0px 40px 0px;
}

@media (max-width:767px) {
#store.productdetail_aspx section.product .box_slider .thumblist_product {
  margin: 0 -5px 0px -5px;
}
}

@media (min-width:800px) {
#store.productdetail_aspx section.product .box_slider .thumblist_product {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
	}

#store.productdetail_aspx section.product .box_slider .thumblist_product li {
		width: calc((100% - 32px) / 5);
		box-sizing: border-box;
	}
}

#store.productdetail_aspx section.product .box_slider .thumblist_product.thumbSlideMin .slick-track {
  transform: unset !important;
}

#store.productdetail_aspx section.product .btn_catalog {
  position: relative;
}

#store.productdetail_aspx section.product .btn_catalog a {
  position: relative;
  text-decoration: none;
  text-align: center;
  color: #333;
  background: #eeeeee;
  width: 100%;
  max-width: none;
  padding: 8px 15px 8px 15px;
  border: 1px solid #a6a6a6;
  border-radius: 0px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 1px 2px 2px 0px #ccc;
  transition: background-color 0.2s 0s;
  margin: 0 auto;
  font-weight: 400;
}

#store.productdetail_aspx section.product .btn_catalog a:hover {
  background: #fff;
}

#store.productdetail_aspx section.product .btn_catalog a span.ico_catalog {
  display: inline-block;
  
  width: 76px;
  height: 53px;
  top: 0;
  bottom: 0;
  margin: 0 10px 0 0;
  left: 50px;
}

@media (max-width:768px) {
#store.productdetail_aspx section.product .btn_catalog a span.ico_catalog {
    width: 56px;
    height: 40px;
  }
}

#store.productdetail_aspx section.product .btn_catalog a span.ico_catalog:before {
  width: 76px;
  height: 53px;
  content: "";
  display: inline-block;
  vertical-align: middle;
  background-image: url("/store/images/common/img_catalogBtn.png");
  background-repeat: no-repeat;
  background-size: contain;
  margin-right: 0.5em;
}

@media (max-width:768px) {
#store.productdetail_aspx section.product .btn_catalog a span.ico_catalog:before {
    width: 56px;
    height: 40px;
  }
}

#store.productdetail_aspx section.product .btn_catalog a:after {
  content: '';
  width: 16px;
  height: 16px;
  display: inline-block;
  background-image: url(/store/u_page/img/assets/images/icon/ico_targetBlank_b.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  margin-left: 10px;
  vertical-align: middle;
}

@media (max-width:768px) {
#store.productdetail_aspx section.product .btn_catalog a:after {
    width: 16px;
    height: 16px;
  }
}

#store.productdetail_aspx section.product .box_text {
  width: 100%;
  box-sizing: border-box;
  text-align: left;
}

@media (min-width:1000px) {
#store.productdetail_aspx section.product .box_text {
    max-width: calc((100% - 50%) - 40px);
  }
}

@media (max-width:999px) {
#store.productdetail_aspx section.product .box_text {
    padding-top: 0px;
  }
}

@media (max-width:768px) {
#store.productdetail_aspx section.product .box_text {
    max-width: none;
    width: 100%;
    margin-top: 30px;
  }
}

#store.productdetail_aspx section.product .box_text .ico_list {
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  margin-bottom: 20px;
}

#store.productdetail_aspx section.product .box_text .box_textDetail {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

#store.productdetail_aspx section.product .box_text .itemnum {
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  text-align: center;
  margin-bottom: 20px;
}

#store.productdetail_aspx section.product .box_text .itemnum dt {
  border: 1px solid #888;
  background-color: #F7F7F7;
  color: #888888;
  min-width: 80px;
  padding: 1px 4px;
  box-sizing: border-box;
  margin-right: 20px;
}

#store.productdetail_aspx section.product .box_text .copy {
  margin-bottom: 10px;
  font-weight: bold;
}

#store.productdetail_aspx section.product .box_text h3,
#store.productdetail_aspx section.product .box_text h1 {
  width: 100%;
  font-weight: 400;
}

@media (min-width:769px) {
#store.productdetail_aspx section.product .box_text h3,
#store.productdetail_aspx section.product .box_text h1 {
    font-size: 28px;
    line-height: 38px;
  }
}

@media (max-width:768px) {
#store.productdetail_aspx section.product .box_text h3,
#store.productdetail_aspx section.product .box_text h1 {
    font-size: 24px;
    line-height: 36px;
  }
}

@media (min-width:769px) {
#store.productdetail_aspx section.product .box_text h3,
#store.productdetail_aspx section.product .box_text h1 {
    margin-bottom: 20px;
  }
}

@media (max-width:768px) {
#store.productdetail_aspx section.product .box_text h3,
#store.productdetail_aspx section.product .box_text h1 {
    margin-bottom: 10px;
  }
}

#store.productdetail_aspx section.product .box_text .box_addTobookmark {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

#store.productdetail_aspx section.product .box_text .bookmark {
  margin-left: auto;
  margin-bottom: 20px;
}

#store.productdetail_aspx section.product .box_text .bookmark .IconBookMark {
  border: 1px solid #888;
  padding: 4px 20px;
  border-radius: 30px;
  display: inline-block;
}

#store.productdetail_aspx section.product .box_text .bookmark .IconBookMark i {
  width: 27px;
  height: 24px;
  background-image: url("../images/icon/Ico_bookmark.svg");
  background-size: contain;
  margin-right: 10px;
  display: inline-block;
  vertical-align: middle;
}

#store.productdetail_aspx section.product .box_text .bookmark .Bookmarked i {
  background-image: url("../images/icon/Ico_bookmarked.svg");
}

#store.productdetail_aspx section.product .box_text .box_openday {
  margin-bottom: 10px;
}

#store.productdetail_aspx section.product .box_text .box_openday .openday {
  color: #FD6533;
  text-decoration: underline;
}

#store.productdetail_aspx section.product .box_text .box_openday+div {
  width: 100%;
}

#store.productdetail_aspx section.product .box_text .freeshippingitemLink {
  max-width: none;
  width: auto;
  display: inline-block;
  padding: 6px 30px 4px 10px;
  font-weight: normal;
  margin-bottom: 20px;
}

#store.productdetail_aspx section.product .box_text .box_cart {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 24px;
}

@media (min-width:768px) {
#store.productdetail_aspx section.product .box_text .box_cart {
    background-color: transparent;
  }
}

@media (min-width:768px) {
#store.productdetail_aspx section.product .box_text .box_cart .box_cartInner {
    border-radius: 10px;
border: 1px solid #1c18141f;
    padding: 0px;

    background-color: #FFFAF2;
    margin-top: 0px;
    width: 100%;
  }
}

@media (max-width:768px) {
#store.productdetail_aspx section.product.naireItem .box_text .box_cart {
    background-color: transparent;
  }

#store.productdetail_aspx section.product.naireItem .box_text .box_cart .box_cartInner {
    border-radius: 10px;
    padding: 20px;
    background-color: #FFFAF2;
    margin-top: 40px;
    width: 100%;
  }

#store.productdetail_aspx section.product.naireItem .box_text .box_cart .cartBtn>.display_pc {
    display: block;
  }
}

#store.productdetail_aspx section.product .box_text .box_cart .cartBtn {
  margin-top: 0px;
}

#store.productdetail_aspx section.product .box_text .box_cart .cartBtn span.display_pc {
  width: 100%;
  margin-bottom: 10px;
  font-weight: 400;
}

#store.productdetail_aspx section.product .box_text .box_cart .cartBtn span.display_pc .fontmin {
  font-size: 11px;
  line-height: 1.2;
  color: #666;
}

#store.productdetail_aspx section.product .box_text .box_cart .cartBtn span.display_pc:nth-of-type(2) {
  border-top: 1px solid #ccc;
  padding-top: 24px;
  margin-top: 14px;
}

#store.productdetail_aspx section.product .box_text .box_cart .itemCount {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
}

#store.productdetail_aspx section.product #ProductDetail.unavailable .box_text .box_cart .cartBtn {
  margin-top: 10px;
  margin-bottom: 10px;
}

#store.productdetail_aspx section.product #ProductDetail.unavailable .box_text .box_cart .itemCount {
  display: none;
}

#store.productdetail_aspx section.product .box_text .box_cart .itemCount dt {
  margin-right: 20px;
  font-size: 13px;
}

#store.productdetail_aspx section.product .box_text .box_cart .itemCount dd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

#store.productdetail_aspx section.product .box_text .box_cart .itemCount dd .btn_plus,
#store.productdetail_aspx section.product .box_text .box_cart .itemCount dd .btn_minus {
  background-color: #eaeaea;
  color: #222;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#store.productdetail_aspx #ProductDetail .itemCount dd button.btn_plus,
#store.productdetail_aspx #ProductDetail .itemCount dd button.btn_minus {
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  border-radius: 0;
  margin: 0;
  font-family: inherit;
  cursor: pointer;
  touch-action: manipulation;
  width: 42px;
  height: 42px;
}

@media (min-width:769px) {
#store.productdetail_aspx section.product .box_text .box_cart .itemCount dd .btn_minus {
    font-size: 28px;
    line-height: 38px;
  }

#store.productdetail_aspx section.product .box_text .box_cart .itemCount dd .btn_plus {
    font-size: 22px;
    display: flex;
    align-items: flex-start;
  }
}

@media (max-width:768px) {
#store.productdetail_aspx section.product .box_text .box_cart .itemCount dd .btn_plus,
#store.productdetail_aspx section.product .box_text .box_cart .itemCount dd .btn_minus {
    font-size: 24px;
    line-height: 36px;
  }
}

#store.productdetail_aspx section.product .box_text .box_cart .itemCount dd .itemCountinput {
  margin: 0 10px;
  padding: 10px;
}

@media (min-width:769px) {
#store.productdetail_aspx section.product .box_text .box_cart .itemCount dd .itemCountinput {
    font-size: 28px;
    line-height: 38px;
  }
}

@media (max-width:768px) {
#store.productdetail_aspx section.product .box_text .box_cart .itemCount dd .itemCountinput {
    font-size: 24px;
    line-height: 36px;
  }
}

#store.productdetail_aspx section.product .box_text .box_cart .itemCount dd select {
  margin: 0 10px;
  padding: 5px 9px;
  background-color: #ffffff;
  width: 3em;
  -webkit-appearance: none;
  /* Google Chrome、Safari */
  -moz-appearance: none;
  /* Firefox */
  appearance: none;
  /* 標準のスタイルを無効に */
}

@media (min-width:769px) {
#store.productdetail_aspx section.product .box_text .box_cart .itemCount dd select {
    font-size: 24px;
    line-height: 36px;
  }
}

@media (max-width:768px) {
#store.productdetail_aspx section.product .box_text .box_cart .itemCount dd select {
    font-size: 20px;
    line-height: 30px;
  }
}

#store.productdetail_aspx section.product .box_text .box_cart .itemCount dd select::-ms-expand {
  display: none;
}

#store.productdetail_aspx section.product .box_text .box_cart .cartBtn {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

@media (min-width:768px) {
#store.productdetail_aspx section.product .box_text .box_cart .cartBtn {
    display: block;
    max-width: 100%;
    margin: 0 auto;
  }
}

@media (max-width:768px) {
#store.productdetail_aspx section.product.naireItem .box_text .box_cart .cartBtn {
    display: block;
  }
}

#store.productdetail_aspx section.product .box_text .box_cart .cartBtn .btnCart {
  
  background: linear-gradient(#fd6533 0%, #e3592c 100%);
  border-radius: 10px;
  position: relative;
  width: 100%;
  max-width: 210px;
  text-align: center;
}

@media (min-width:768px) {
#store.productdetail_aspx section.product .box_text .box_cart .cartBtn .btnCart {
    max-width: none;
  }
}

@media (min-width:1000px) {
#store.productdetail_aspx section.product .box_text .box_cart .cartBtn .btnCart {
    width: 100%;
    margin-bottom: 20px;
    max-width: 550px;
  }
}

@media (max-width:768px) {
#store.productdetail_aspx section.product .box_text .box_cart .cartBtn .btnCart {
    max-width: none;
  }
}

#store.productdetail_aspx section.product .box_text .box_cart .cartBtn .btnCart a {
  padding: 14px 10px 10px 50px;
  display: block;
  color: #ffffff;
  line-height: 1.4em;
  box-shadow: 0px 7px 0px -4px #f0cec2;
  border-radius: 10px;
  font-weight: 400
}

#store.productdetail_aspx section.product .box_text .box_cart .cartBtn .btnCart a:before {
  width: 32px;
  height: 28px;
  content: "";
  display: block;
  top: 5px;
  bottom: 0;
  left: 24px;
  margin-right: 0.5em;
  background-repeat: no-repeat;
  background-size: contain;
}

@media (min-width:768px) {
#store.productdetail_aspx section.product .box_text .box_cart .cartBtn .btnCart a:after {
    content: '';
    width: 8px;
    height: 8px;
    margin-top: -5px;
    display: block;
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    right: 20px;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
  }
}

#store.productdetail_aspx section.product .box_text .box_cart .cartBtn .btnCart.gift {
  order: 1;
}

@media (max-width:768px) {
#store.productdetail_aspx section.product .box_text .box_cart .cartBtn .btnCart.gift {
    margin-right: 0;
    margin-bottom: 50px;
  }
}

#store.productdetail_aspx section.product .box_text .box_cart .cartBtn .btnCart.gift a:before {
  background-image: url("../images/icon/ico_gift.svg");
}

#store.productdetail_aspx section.product .box_text .box_cart .cartBtn .btnCart.nogift {
  order: 2;
}

#store.productdetail_aspx section.product .box_text .box_cart .cartBtn .btnCart.nogift a:before {
  background-image: url("../images/icon/ico_headCart.svg");
}

#store.productdetail_aspx section.product .box_text .box_cart .cartBtn .btnCart span {
  position: absolute;
  background-color: #ffffff;
  border-radius: 20px;
  border: 2px solid #FD6533;
  display: inline-block;
  width: 100%;
  max-width: 220px;
  left: 0;
  right: 0;
  margin: auto;
  top: -34px;
  padding: 6px 8px;
  box-sizing: border-box;
  color: #FD6533;
}

@media (min-width:769px) {
#store.productdetail_aspx section.product .box_text .box_cart .cartBtn .btnCart span {
    font-size: 12px;
    line-height: 14px;
  }
}

@media (max-width:768px) {
#store.productdetail_aspx section.product .box_text .box_cart .cartBtn .btnCart span {
    font-size: 10px;
    line-height: 12px;
  }
}

#store.productdetail_aspx section.product .box_text .box_cart .cartBtn .btnCart span:before,
#store.productdetail_aspx section.product .box_text .box_cart .cartBtn .btnCart span:after {
  position: absolute;
  left: calc(50% - 10px);
  content: '';
}

#store.productdetail_aspx section.product .box_text .box_cart .cartBtn .btnCart span:before {
  bottom: -10px;
  border-width: 10px 10px 0;
  border-style: solid;
  border-color: #FD6533 transparent transparent;
}

#store.productdetail_aspx section.product .box_text .box_cart .cartBtn .btnCart span:after {
  bottom: -7px;
  border-width: 10px 10px 0;
  border-style: solid;
  border-color: #fff transparent transparent;
}

#store.productdetail_aspx section.product .box_text .box_cart .cartBtn .ErrorMessage {
  order: 3;
}

#store.productdetail_aspx section.product .box_text .box_cart #AddToCartPanel {
  width: 100%;
}

#store.productdetail_aspx section.product .box_text .btnIteminq {
  border: 1px solid #707070;
  border-radius: 20px;
  background-color: #ffffff;
  font-weight: normal;
  font-size: 14px;
  display: inline-block;
  margin-right: 20px;
}

#store.productdetail_aspx section.product .box_text .btnIteminq:before {
  width: 18px;
  height: 17px;
  content: "";
  display: inline-block;
  vertical-align: middle;
  background-image: url("../images/icon/Ico_buble.svg");
  background-repeat: no-repeat;
  background-size: contain;
  margin-right: 0.5em;
}

#store.productdetail_aspx section.product .box_text .box_sns {
  width: calc(50% - 20px);
  border: 2px solid #FFEFD6;
  background-color: #ffffff;
  border-radius: 5px;
  padding: 10px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#store.productdetail_aspx section.product .box_text .box_sns a {
  width: 42%;
  margin: 0 2%;
}

#store.productdetail_aspx section.product .box_text .text {
  padding-right: 40px;
  box-sizing: border-box;
}

#store.productdetail_aspx section.product .box_text .NamePrintOptionEachFrame {
  width: 100%;
  margin-bottom: 10px;
}

@media (min-width:768px) {
#store.productdetail_aspx section.product .box_text .NamePrintOptionEachFrame {
    max-width: 400px;
    margin: 0 auto 10px auto;
  }
}

#store.productdetail_aspx section.product .box_text .box_cartInner .NamePrintOptionEachFrame+input+.ClearFloatDiv+#cartBtn {
  margin-top: 30px;
}

#store.productdetail_aspx section.product .box_text .NamePrintOptionEachFrame .NamePrintInputTitle+input.inputBase {
  width: calc(100% - 6em);
}

#store.productdetail_aspx section.product .box_text .NamePrintOptionEachFrame .InputRequired.red {
  color: #ff0000;
}

#store.productdetail_aspx section.product .box_text .NamePrintOptionEachFrame:last-child {
  margin-bottom: 0;
}

@media (min-width:768px) {
#store.productdetail_aspx section.product .fixcartBtn {
    border: 1px solid #eee;
    border-right: 0;
    }
}

@media (max-width:768px) {
#store.productdetail_aspx section.product .fixcartBtn {
    z-index: 10000;
    width: 100%;
    border-radius: 0;
    display: none;
        padding: 0;
        background-color: transparent;
        box-shadow: none;
        right: 0;
        left: auto;
        bottom: auto;
        top: 280px;
    }
}

#store.productdetail_aspx section.product .fixcartBtn .box_textDetail {
  width: 100%;
  max-width: none;
  margin-bottom: 0;
}

@media (max-width:999px) {
#store.productdetail_aspx section.product .fixcartBtn .box_textDetail {
    padding-top: 0;
  }
}

@media (max-width:768px) {
#store.productdetail_aspx section.product .fixcartBtn .box_textDetail {
    display: none;
  }
}

#store.productdetail_aspx section.product .fixcartBtn .box_textDetail .ico_list,
#store.productdetail_aspx section.product .fixcartBtn .box_textDetail .itemnum {
  display: none;
}

#store.productdetail_aspx section.product .fixcartBtn .box_textDetail .fixCartProductName {
  font-size: 14px;
  line-height: 24px;
  text-align: left;
  margin-bottom: 20px;
}

#store.productdetail_aspx section.product .fixcartBtn .box_textDetail .PriceDiv table .ListPriceTable .PriceTitleB,
#store.productdetail_aspx section.product .fixcartBtn .box_textDetail .PriceDiv table .ListPriceTable .ListPriceDiv1 {
  display: none;
}

#store.productdetail_aspx section.product .fixcartBtn .box_textDetail .taxratio {
  display: none;
}

#store.productdetail_aspx section.product .fixcartBtn .box_textDetail .box_addTobookmark {
  display: block;
}

#store.productdetail_aspx section.product .fixcartBtn .box_textDetail .box_addTobookmark>* {
  width: 100% !important;
  padding: 0px;
  background-color: #fff;
}

#store.productdetail_aspx section.product .fixcartBtn .box_textDetail .box_addTobookmark .bookmark {
  display: none;
}

#store.productdetail_aspx section.product .fixcartBtn .box_textDetail .box_addTobookmark .box_cart .itemCount {
  display: none;
}

#store.productdetail_aspx section.product .fixcartBtn .box_textDetail .box_addTobookmark .box_cart .cartBtn {
  display: block;
  margin-top: 10px;
}

#store.productdetail_aspx section.product .fixcartBtn .box_textDetail .box_addTobookmark .box_cart .cartBtn>* {
  width: 100%;
  max-width: 170px;
}

#store.productdetail_aspx section.product .fixcartBtn .box_textDetail .box_addTobookmark .box_cart .cartBtn .btnCart.gift {
  display: none;
}

#store.productdetail_aspx section.product .fixcartBtn .box_textDetail .box_addTobookmark .box_cart .cartBtn .btnCart.nogift {
  margin-top: 20px;
  display: none;
}

#store.productdetail_aspx section.product .fixcartBtn .box_textDetail .box_addTobookmark .box_cart .cartBtn .btnCart span {
  display: none;
}

#store.productdetail_aspx section.product .fixcartBtn .box_textDetail .box_addTobookmark .box_cart .cartBtn .btnCart a {
  font-size: 14px;
}

#store.productdetail_aspx section.product .fixcartBtn .box_textDetail .box_addTobookmark .box_cart .cartBtn .btnCart a#OpenGiftOptionUI {
  display: none;
}

#store.productdetail_aspx section.product .fixcartBtn .box_textDetail .box_addTobookmark .box_cart .NamePrintOptionEachFrame {
  display: none;
}

#store.productdetail_aspx section.product .fixcartBtn .box_textDetail .RelatedLink2 {
  display: none;
}

#store.productdetail_aspx section.product .fixcartBtn .btnCart.nogift2 {
  background: linear-gradient(#fd6533 0%, #e3592c 100%);
  border-radius: 10px;
  position: relative;
  text-align: center;
  margin-bottom: 20px;
  margin-top: 10px;
  width: 100%;
  max-width: 170px;
}

@media (max-width:768px) {
#store.productdetail_aspx section.product .fixcartBtn .btnCart.nogift2 {
        margin: 0 0 0 auto;
        max-width: none;
        border-radius: 10px 0 0 10px;
        width: 130px;
  }
}

#store.productdetail_aspx section.product .fixcartBtn .btnCart.nogift2 a {
  font-size: 12px;
  padding: 15px 10px 15px 45px;
  display: block;
  color: #ffffff;
  line-height: 1.4em;
  border-radius: 10px;
}

@media (min-width:768px) {
#store.productdetail_aspx section.product .fixcartBtn .btnCart.nogift2 a br {
display:none;
}

#store.productdetail_aspx section.product .fixcartBtn .btnCart.nogift2 a span {
    font-size: 15px;
}

#store.productdetail_aspx section.product:has(.NamePrintOptionEachFrame) .fixcartBtn .btnCart.nogift2 a span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    white-space: nowrap;
}

#store.productdetail_aspx section.product:has(.NamePrintOptionEachFrame) .fixcartBtn .btnCart.nogift2 a {
    padding: 10px 10px 10px 45px;
}

#store.productdetail_aspx section.product:has(.NamePrintOptionEachFrame) .fixcartBtn .btnCart.nogift2 a:after {
content:"オプション\A指定して購入";
display:block;
white-space: pre;
}
}

#store.productdetail_aspx section.product:has(.NamePrintOptionEachFrame) .fixcartBtn .btnCart.nogift2 {
    background: #fff;
    border: 1px solid #fe6634;
}

#store.productdetail_aspx section.product:has(.NamePrintOptionEachFrame) .fixcartBtn .btnCart.nogift2:hover {
    background: #fffaf3;
}

@media (max-width:768px) {
#store.productdetail_aspx section.product:has(.NamePrintOptionEachFrame) .fixcartBtn .btnCart.nogift2 {
    border-right: none;
}
}

#store.productdetail_aspx section.product:has(.NamePrintOptionEachFrame) .fixcartBtn .btnCart.nogift2 a {
color:#222;
}

@media (max-width:768px) {
#store.productdetail_aspx section.product .fixcartBtn .btnCart.nogift2 a span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    white-space: nowrap;
}

#store.productdetail_aspx section.product .fixcartBtn .btnCart.nogift2 a:after {
content:"オプション\A指定して購入";
display:block;
white-space: pre;
}
}

@media (max-width:768px) {
#store.productdetail_aspx section.product .fixcartBtn .btnCart.nogift2 a {
    padding: 12px 10px 12px 45px;
    border-radius: 10px 0 0 10px;
}
}

#store.productdetail_aspx section.product .fixcartBtn .btnCart.nogift2 a:before {
  width: 25px;
  height: 25px;
  content: "";
  display: block;
  position: absolute;
  top: 5px;
  bottom: 0;
  left: 10px;
  margin: auto;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url(../images/icon/ico_headCart.svg);
}

#store.productdetail_aspx section.product .fixcartBtn.upcart .btnCart.nogift2 a:before {
  background-image: none;
  width: auto;
  height: auto;
}

#store.productdetail_aspx section.product .fixcartBtn.downcart .btnCart.nogift2 a:before {
  background-image: url(../images/common/ico_downArrow.svg);
}

#store.productdetail_aspx section.product:has(.NamePrintOptionEachFrame) .fixcartBtn.upcart .btnCart.nogift2 a:before {
  background-image: url(../images/common/ico_upArrow_keyColor.svg);
}

#store.productdetail_aspx section.product:has(.NamePrintOptionEachFrame) .fixcartBtn.downcart .btnCart.nogift2 a:before {
  background-image: url(../images/common/ico_downArrow_keyColor.svg);
}

@media (max-width:768px) {
#store.productdetail_aspx section.product.naireItem .fixcartBtn {
    display: block;
  }
}

@media (max-width:768px) {
#store.productdetail_aspx section.product:not(.naireItem) .box_text .box_cart {
    
  }

#store.productdetail_aspx section.product:not(.naireItem) .box_text .box_cart .itemCount {
    
  }

#store.productdetail_aspx section.product:not(.naireItem) .box_text .box_cart .itemCount dt {
    
  }

#store.productdetail_aspx section.product:not(.naireItem) .box_text .box_cart .itemCount dd .btn_minus,
#store.productdetail_aspx section.product:not(.naireItem) .box_text .box_cart .itemCount dd .btn_plus {
    
  }

#store.productdetail_aspx section.product:not(.naireItem) .box_text .box_cart .itemCount dd select {
            line-height: 30px;
  }

#store.productdetail_aspx section.product #ProductDetail.unavailable .box_text .box_cart .itemCount {
    
  }

#store.productdetail_aspx section.product #ProductDetail.unavailable .box_text .box_cart .cartBtn {
    
  }

#store.productdetail_aspx section.product:not(.naireItem) .box_text .box_cartInner {
    
  }

#store.productdetail_aspx section.product:not(.naireItem) .box_text .box_cart .cartBtn .btnCart.gift {
    
    margin-bottom: 0;
  }

#store.productdetail_aspx section.product:not(.naireItem) .box_text .box_cart .cartBtn .btnCart.nogift {
    
  }

#store.productdetail_aspx section.product:not(.naireItem) .box_text .box_cart .cartBtn .btnCart:nth-of-type(2) {
    width: 100%;
    max-width: none;
  }

#store.productdetail_aspx section.product:not(.naireItem) .box_text .box_cart .cartBtn .btnCart:nth-of-type(2) a {
    font-size: 12px;
    padding: 14px 10px 12px 50px;
    display: block;
    color: #ffffff;
    line-height: 1.4em;
    box-shadow: 0px 7px 0px -4px #f0cec2;
    border-radius: 10px;
  }

#store.productdetail_aspx section.product:not(.naireItem) .box_text .box_cart .cartBtn .btnCart:nth-of-type(2) a:before {
    width: 32px;
    height: 28px;
    content: "";
    display: block;
    position: absolute;
    top: 5px;
    bottom: 0;
    left: 10px;
    margin: auto;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(../images/icon/ico_headCart.svg);
  }

#store.productdetail_aspx section.product:not(.naireItem) .box_text .box_cart .cartBtn .btnCart:nth-of-type(2) a br {
    display: none;
  }

#store.productdetail_aspx section.product:not(.naireItem) .box_text .box_cart .cartBtn .btnCart a {
    font-size: 18px;
    padding: 10px 8px 10px 30px;
  }

#store.productdetail_aspx section.product:not(.naireItem) .box_text .box_cart .cartBtn .btnCart a:before {
    
  }
}

@media (max-width:768px) and (max-width:450px) {
#store.productdetail_aspx section.product:not(.naireItem) .box_text .box_cart .cartBtn .btnCart a:before {
    left: 16px;
  }
}

@media (max-width:768px) {
#store.productdetail_aspx section.product:not(.naireItem) .box_text .box_cart .cartBtn .btnCart span {
    display: none;
  }
}

#store.productdetail_aspx section.itemInformation {
  width: 100%;
  max-width: 1000px;
  margin: 40px auto 0 auto;
  /*rambbit table*/
}

#store.productdetail_aspx section.itemInformation h2 {
  margin-bottom: 20px;
  font-weight: 700;
}

@media (min-width:769px) {
#store.productdetail_aspx section.itemInformation h2 {
    font-size: 24px;
    line-height: 38px;
  }
}

@media (max-width:768px) {
#store.productdetail_aspx section.itemInformation h2 {
    font-size: 24px;
    line-height: 36px;
  }
}

#store.productdetail_aspx section.itemInformation .itemtext,
#store.productdetail_aspx section.itemInformation .itemAttribute {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto 40px auto;
  padding: 0 16px;
  box-sizing: border-box;
}

@media (max-width:768px) {
#store.productdetail_aspx section.itemInformation .itemAttribute {
    padding: 0px;
}
}

#store.productdetail_aspx section.itemInformation .itemtext:empty,
#store.productdetail_aspx section.itemInformation .itemAttribute:empty {
  display: none;
}

#store.productdetail_aspx section.itemInformation .itemAttribute {
  display: flex;
  flex-wrap: wrap;
  border-right: 1px solid #564E58;
  border-bottom: 1px solid #564E58;
  font-size: 14px;
}

#store.productdetail_aspx section.itemInformation .itemAttribute dt,
#store.productdetail_aspx section.itemInformation .itemAttribute dd {
  border-top: 1px solid #564E58;
  border-left: 1px solid #564E58;
  
  padding: 6px 10px;
  text-align: left;
  box-sizing: border-box;
}

#store.productdetail_aspx section.itemInformation .itemAttribute dt {
  width: 25%;
  background-color: #FFFAF2;
  font-weight: 400;
}

#store.productdetail_aspx section.itemInformation .itemAttribute dd {
  width: 75%;
}

#store.productdetail_aspx section.itemInformation .ProductDetailExplain table#main {
  border-right: 1px solid #564E58;
  border-top: 1px solid #564E58;
  display: block;
  padding-bottom: 0;
}

#store.productdetail_aspx section.itemInformation .ProductDetailExplain table#main tbody {
  width: 100%;
  display: block;
}

#store.productdetail_aspx section.itemInformation .ProductDetailExplain table#main tbody tr {
  display: block;
}

#store.productdetail_aspx section.itemInformation .ProductDetailExplain table#main tbody tr td {
  border-bottom: none;
  border-left: 1px solid #564E58;
  
  padding: 6px 10px;
  text-align: left;
  box-sizing: border-box;
  width: 100%;
  display: block;
}

#store.productdetail_aspx section.itemInformation .ProductDetailExplain table#main tbody tr td p {
  line-height: 24px;
}

#store.productdetail_aspx section.itemInformation .ProductDetailExplain table#main tbody tr td img {
  width: auto;
  max-width: 100%;
}

#store.productdetail_aspx section.itemInformation .ProductDetailExplain table#main tbody tr.col2 {
  display: flex;
  flex-wrap: wrap;
}

#store.productdetail_aspx section.itemInformation .ProductDetailExplain table#main tbody tr.col2 td {
  border-bottom: 1px solid #564E58;
}

#store.productdetail_aspx section.itemInformation .ProductDetailExplain table#main tbody tr.col2 td:nth-child(odd) {
  width: 25%;
  background-color: #FFFAF2;
}

#store.productdetail_aspx section.itemInformation .ProductDetailExplain table#main tbody tr.col2 td:nth-child(even) {
  width: 75%;
}

#store.productdetail_aspx section.itemInformation .ProductDetailExplain table#main+table#main {
  border-top: none;
}

#store.productdetail_aspx section.itemInformation .ProductDetailExplain table#main+table#main:last-child tbody tr td {
  border-bottom: 1px solid #564E58;
}

#store.productdetail_aspx .box_otherOrder {
  width: 100%;
  background-color: #F4F4F4;
  border-radius: 10px;
  padding: 20px 10px;
  box-sizing: border-box;
  margin-bottom: 40px;
}

#store.productdetail_aspx .box_otherOrder h3 {
  margin-bottom: 20px;
}

@media (min-width:769px) {
#store.productdetail_aspx .box_otherOrder h3 {
    font-size: 24px;
    line-height: 36px;
  }
}

@media (max-width:768px) {
#store.productdetail_aspx .box_otherOrder h3 {
    font-size: 20px;
    line-height: 30px;
  }
}

#store.productdetail_aspx .box_otherOrder h3 span {
  position: relative;
  padding: 0 1.5em;
  display: inline-block;
}

#store.productdetail_aspx .box_otherOrder h3 span:before {
  content: "＼";
  display: inline-block;
  position: absolute;
  left: 0;
  top: calc(50% - 0.5em);
}

#store.productdetail_aspx .box_otherOrder h3 span:after {
  content: "／";
  display: inline-block;
  position: absolute;
  right: 0;
  top: calc(50% - 0.5em);
}

#store.productdetail_aspx .box_otherOrder ul {
  display: flex;
  flex-wrap: wrap;
}

#store.productdetail_aspx .box_otherOrder ul li {
  margin: 0 10px 10px 10px;
  width: calc((100% / 3) - 20px);
}

@media (max-width:768px) {
#store.productdetail_aspx .box_otherOrder ul li {
    width: calc(100% - 20px);
    max-width: 400px;
    margin: 0 auto 40px auto;
  }
}

#store.productdetail_aspx .box_otherOrder .text a {
  color: #FD6533;
  text-decoration: underline;
  font-weight: 700;
}

#store.productdetail_aspx .box_rambbit {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 60px auto;
}

#store.productdetail_aspx .box_rambbit .rambbit-searvice-title {
  width: 520px;
  height: 110px;
  margin: 40px auto 20px auto;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: relative;
}

@media (max-width:768px) {
#store.productdetail_aspx .box_rambbit .rambbit-searvice-title {
    width: 100%;
    max-width: 520px;
    padding: 11% 0;
    background-size: 100%;
    height: auto;
  }
}

#store.productdetail_aspx .box_rambbit .rambbit-searvice-title.title-wrappingpaper {
  background-image: url(../images/service/tit_wrappingpaper.png);
}

#store.productdetail_aspx .box_rambbit .rambbit-searvice-title.title-noshi {
  background-image: url(../images/service/tit_noshi.png);
}

#store.productdetail_aspx .box_rambbit .rambbit-searvice-title.title-messagecard {
  background-image: url(../images/service/tit_messagecard.png);
}

#store.productdetail_aspx .box_rambbit .rambbit-searvice-title span {
  position: relative;
  top: -30px;
}

@media (max-width:768px) {
#store.productdetail_aspx .box_rambbit .rambbit-searvice-title span {
    margin-top: -17%;
    display: inline-block;
    font-size: 2vw;
    top: 0;
  }
}

#store.productdetail_aspx .box_rambbit .wrapping_paper,
#store.productdetail_aspx .box_rambbit .noshi,
#store.productdetail_aspx .box_rambbit .message-card {
  margin-bottom: 100px;
}

#store.productdetail_aspx .box_rambbit .wrapping_paper .itemList li,
#store.productdetail_aspx .box_rambbit .noshi .itemList li,
#store.productdetail_aspx .box_rambbit .message-card .itemList li {
  border: 1px solid #ccc;
  box-sizing: border-box;
  padding: 20px 20px 10px 20px;
}

@media (min-width:769px) {
#store.productdetail_aspx .box_rambbit .wrapping_paper .itemList li p,
#store.productdetail_aspx .box_rambbit .noshi .itemList li p,
#store.productdetail_aspx .box_rambbit .message-card .itemList li p {
    font-size: 16px;
    line-height: 26px;
  }
}

@media (max-width:768px) {
#store.productdetail_aspx .box_rambbit .wrapping_paper .itemList li,
#store.productdetail_aspx .box_rambbit .noshi .itemList li,
#store.productdetail_aspx .box_rambbit .message-card .itemList li {
    background-color: #fff;
}

#store.productdetail_aspx .box_rambbit .wrapping_paper .itemList li p,
#store.productdetail_aspx .box_rambbit .noshi .itemList li p,
#store.productdetail_aspx .box_rambbit .message-card .itemList li p {
    font-size: 12px;
    line-height: 22px;
  }
}

#store.productdetail_aspx .box_rambbit .wrapping_paper .itemList li p.text.min,
#store.productdetail_aspx .box_rambbit .noshi .itemList li p.text.min,
#store.productdetail_aspx .box_rambbit .message-card .itemList li p.text.min {
  font-size: 12px;
  line-height: 22px;
}

#store.productdetail_aspx .box_rambbit .message-card .bannerBox {
  width: 100%;
  margin: 0 auto;
}

@media (min-width:769px) {
#store.productdetail_aspx .box_rambbit .message-card .bannerBox {
    max-width: 800px;
  }
}

@media (max-width:768px) {
#store.productdetail_aspx .box_rambbit .message-card .bannerBox {
    max-width: 480px;
  }
}

#store.productdetail_aspx section.detail {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  box-sizing: border-box;
}

@media (min-width:769px) {
#store.productdetail_aspx section.detail {
    padding: 0 60px;
  }
}

@media (max-width:768px) {
#store.productdetail_aspx section.detail {
    padding: 0 30px;
  }
}

#store.productdetail_aspx section.detail .list_size {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid #000000;
}

#store.productdetail_aspx section.detail .list_size li {
  border-left: 1px solid #000000;
  border-bottom: 1px solid #000000;
}

@media (min-width:769px) {
#store.productdetail_aspx section.detail .list_size li {
    width: calc((100% - 6px)/5);
  }
}

@media (max-width:768px) {
#store.productdetail_aspx section.detail .list_size li {
    width: calc((100% - 3px)/2);
  }
}

@media (max-width:768px) {
#store.productdetail_aspx section.detail .list_size li:nth-child(even) {
    border-right: 1px solid #000000;
  }
}

@media (min-width:769px) {
#store.productdetail_aspx section.detail .list_size li:nth-child(5n) {
    border-right: 1px solid #000000;
  }
}

#store.productdetail_aspx section.detail .list_size li:last-child {
  border-right: 1px solid #000000;
}

#store.productdetail_aspx section.detail .list_size li h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #000000;
  background-color: #564E58;
  font-weight: bold;
}

@media (min-width:769px) {
#store.productdetail_aspx section.detail .list_size li h3 {
    height: 60px;
  }
}

@media (max-width:768px) {
#store.productdetail_aspx section.detail .list_size li h3 {
    height: 50px;
  }
}

#store.productdetail_aspx section.detail .list_size li p {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width:769px) {
#store.productdetail_aspx section.detail .list_size li p {
    height: 60px;
  }
}

@media (max-width:768px) {
#store.productdetail_aspx section.detail .list_size li p {
    height: 50px;
  }
}

#store.productdetail_aspx section.detail .list_size li p.hasStock {
  color: #FD6533;
  font-weight: bold;
}

@media (min-width:769px) {
#store.productdetail_aspx section.detail .list_size+.def_detail {
    margin-top: 100px;
  }
}

@media (max-width:768px) {
#store.productdetail_aspx section.detail .list_size+.def_detail {
    margin-top: 50px;
  }
}

#store.productdetail_aspx section.detail .def_detail {
  border-top: 1px solid #000000;
}

@media (min-width:769px) {
#store.productdetail_aspx section.detail .def_detail {
    display: flex;
    flex-wrap: wrap;
    text-align: left;
  }
}

#store.productdetail_aspx section.detail .def_detail dt {
  box-sizing: border-box;
  background-color: #564E58;
  border-left: 1px solid #000000;
  border-bottom: 1px solid #000000;
  font-weight: bold;
}

@media (min-width:769px) {
#store.productdetail_aspx section.detail .def_detail dt {
    width: 160px;
    padding: 20px;
  }
}

@media (max-width:768px) {
#store.productdetail_aspx section.detail .def_detail dt {
    border-right: 1px solid #000000;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

#store.productdetail_aspx section.detail .def_detail dd {
  box-sizing: border-box;
  border-left: 1px solid #000000;
  border-bottom: 1px solid #000000;
  border-right: 1px solid #000000;
}

@media (min-width:769px) {
#store.productdetail_aspx section.detail .def_detail dd {
    font-size: 16px;
    line-height: 30px;
  }
}

@media (max-width:768px) {
#store.productdetail_aspx section.detail .def_detail dd {
    font-size: 12px;
    line-height: 24px;
  }
}

@media (min-width:769px) {
#store.productdetail_aspx section.detail .def_detail dd {
    width: calc(100% - 160px);
    padding: 20px;
  }
}

@media (max-width:768px) {
#store.productdetail_aspx section.detail .def_detail dd {
    padding: 10px;
    text-align: left;
  }
}

#store.productdetail_aspx section.detail .table_detail {
  width: 100%;
  border: 1px solid #000000;
}

#store.productdetail_aspx section.detail .table_detail tr th,
#store.productdetail_aspx section.detail .table_detail tr td {
  padding: 20px;
  box-sizing: border-box;
  border-right: 1px solid #000000;
  border-bottom: 1px solid #000000;
}

#store.productdetail_aspx section.detail .table_detail tr th:last-child,
#store.productdetail_aspx section.detail .table_detail tr td:last-child {
  border-right: none;
}

#store.productdetail_aspx section.detail .table_detail tr th {
  background-color: #564E58;
  font-weight: bold;
}

#store.productdetail_aspx section.detail .table_detail tr th+td {
  text-align: left;
}

#store.productdetail_aspx section.detail .table_detail tr td {
  text-align: center;
}

#store.productdetail_aspx section.detail .table_detail tr td.hasStock {
  color: #FD6533;
  font-weight: bold;
}

#store.productdetail_aspx section.detail .table_detail thead tr th {
  text-align: center;
}

#store.productdetail_aspx section.detail .table_detail tbody tr th {
  min-width: 160px;
}

@media (min-width:769px) {
#store.productdetail_aspx section.detail .table_detail tbody tr td {
    font-size: 16px;
    line-height: 30px;
  }
}

@media (max-width:768px) {
#store.productdetail_aspx section.detail .table_detail tbody tr td {
    font-size: 12px;
    line-height: 24px;
  }
}

#store.productdetail_aspx section.detail .table_detail tbody tr:last-child th,
#store.productdetail_aspx section.detail .table_detail tbody tr:last-child td {
  border-bottom: none;
}

#store.productdetail_aspx section.detail .table_detail+.table_detail {
  margin-top: 100px;
}

#store.productdetail_aspx .box_modal .box_img div {
  position: relative;
}

@media (min-width:768px) {
#store.productdetail_aspx .box_modal .box_img img {
    width: 480px;
    height: 480px;
  }
}

@media (max-width:767px) {
#store.productdetail_aspx .box_modal .box_img img {
    width: 260px;
    height: 260px;
  }
}

#store.productdetail_aspx .fixanchorcartBtn {
  display: none;
  position: fixed;
  right: 0;
  top: 40%;
  width: 70px;
  z-index: 10;
  font-size: 1em;
  text-align: center;
  border-radius: 10px 0px 0 10px;
  opacity: 1;
  transition: .5s;
  color: #fff;
  background-color: #FD6533;
}

@media (max-width:768px) {
#store.productdetail_aspx .fixanchorcartBtn {
    right: 0;
    top: auto;
    width: 100%;
    font-size: 1.3em;
    text-align: center;
    border-radius: 0;
    bottom: 0;
    -moz-box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
  }
}

#store.productdetail_aspx .fixanchorcartBtn a {
  color: #fff;
  display: block;
  padding: 20px 10px;
  box-sizing: border-box;
}

@media (max-width:768px) {
#store.productdetail_aspx .fixanchorcartBtn a {
    padding: 10px;
  }
}

#store.productdetail_aspx .fixanchorcartBtn a span {
  position: relative;
}

@media (max-width:768px) {
#store.productdetail_aspx .fixanchorcartBtn a span {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

#store.productdetail_aspx .fixanchorcartBtn a span:before {
  
  display: block;
  margin-right: 0;
  margin-bottom: 10px;
  background-image: url("../images/icon/ico_headCart.svg");
  width: 32px;
  height: 28px;
  content: "";
  top: 5px;
  bottom: 0;
  left: 10px;
  background-repeat: no-repeat;
  background-size: contain;
  position: relative;
}

@media (max-width:768px) {
#store.productdetail_aspx .fixanchorcartBtn a span:before {
    margin-right: 20px;
  }
}

#store.productdetail_aspx .fixanchorcartBtn.hideBtn {
  opacity: 0;
}

#store.productdetail_aspx section.product .box_sidecheckitems .ClearHistory {
  display: none;
}

#store.productdetail_aspx section.product .box_sidecheckitems .sideTit {
  position: relative;
  margin-bottom: 20px;
}

@media (min-width:769px) {
#store.productdetail_aspx section.product .box_sidecheckitems .sideTit {
    font-size: 24px;
    line-height: 36px;
  }
}

@media (max-width:768px) {
#store.productdetail_aspx section.product .box_sidecheckitems .sideTit {
    font-size: 20px;
    line-height: 30px;
  }
}

#store.productdetail_aspx section.product .box_sidecheckitems .sideTit span {
  background-color: #ffffff;
  padding: 0 16px;
  position: relative;
  z-index: 1;
  font-weight: 700;
  display: inline-block;
}

#store.productdetail_aspx section.product .box_sidecheckitems .sideTit:after {
  content: "";
  position: absolute;
  height: 1px;
  width: 100%;
  background-color: #000000;
  top: 50%;
  left: 0;
  z-index: 0;
}

#store.productdetail_aspx section.product .box_sidecheckitems #ExternalRecentlyViewedItemList li dl dt {
  margin-bottom: 10px;
}


@media (max-width:500px) {
#store #ProductDetail .fixcartBtn .box_textDetail .price_area {
    width: calc(100% - 140px);
  }
}

#store #ProductDetail .box_text .price_area .ListPriceDiv1 .PriceTitleA,
#store #ProductDetail .fixcartBtn .box_textDetail .price_area .ListPriceDiv1 .PriceTitleA {
  width: 4em;
}

#store #ProductDetail .box_text .price_area .ListPriceDiv1 .ListPriceTextA2,
#store #ProductDetail .fixcartBtn .box_textDetail .price_area .ListPriceDiv1 .ListPriceTextA2 {
  margin-bottom: 8px;
}

#store #ProductDetail .box_text .price_area .ListPriceDiv3,
#store #ProductDetail .fixcartBtn .box_textDetail .price_area .ListPriceDiv3 {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
}

#store #ProductDetail .box_text .price_area .ListPriceDiv3 .priceB .priceArea1,
#store #ProductDetail .fixcartBtn .box_textDetail .price_area .ListPriceDiv3 .priceB .priceArea1 {
  color: #f86434;
  font-size: 28px;
}

#store #ProductDetail .box_text .price_area .ListPriceDiv3 .priceB .priceArea1 .priceUnit,
#store #ProductDetail .fixcartBtn .box_textDetail .price_area .ListPriceDiv3 .priceB .priceArea1 .priceUnit {
  font-size: 18px;
}

#store #ProductDetail .box_text .price_area .ListPriceDiv3 .DiscountRateB .discountRate,
#store #ProductDetail .fixcartBtn .box_textDetail .price_area .ListPriceDiv3 .DiscountRateB .discountRate,
#store #ProductDetail .box_text .price_area .ListPriceDiv3 .DiscountRateD .discountRate,
#store #ProductDetail .fixcartBtn .box_textDetail .price_area .ListPriceDiv3 .DiscountRateD .discountRate {
  background-color: #f86434;
  color: #fff;
  padding: 0 8px;
  box-sizing: border-box;
  font-size: 14px;
  border-radius: 20px;
}

#store #ProductDetail .fixcartBtn .box_textDetail .price_area {
  width: 100%;
}

#store.productdetail_aspx section.product .tit-centerborder span {
  z-index: 1;
}

.productdetail_aspx .SaleIcon {
  display: none;
}

.productdetail_aspx .SalePriceTitle {
  float: left;
  padding-right: 3px;
  font-weight: 400;
}

.productdetail_aspx .ListPriceTextD {
  float: left;
  padding-right: 3px;
  font-weight: 400;
}

.productdetail_aspx .priceD {
  float: left;
  padding-right: 3px;
  font-weight: 700;
  font-size: 1.5em;
  color: #FD6533;
}

body #store.productdetail_aspx section.product .box_text .ico_list {
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  margin-bottom: 16px;
  gap: 8px;
}


body #store.productdetail_aspx section.product .box_text .box_textDetail {
  align-items: center;
}

body #store.productdetail_aspx section.product .box_text .itemnum {
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  text-align: left;
  margin-bottom: 8px;
  color: #7A6F65;
  gap: 8px;
}

body #store.productdetail_aspx section.product .box_text .goodscaption {
width:100%;
}

body #store.productdetail_aspx section.product .box_text h1 {
  font-size: 1.8em;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #111;
}

body #store.productdetail_aspx section.product .box_text .bookmark .IconBookMark {
  border: 1px solid #1c18141f;
  padding: 10px 10px;
  border-radius: 30px;
  display: inline-block;
  font-size: 14px;
}

body #store.productdetail_aspx section.product .box_text .bookmark .IconBookMark:hover {
  border: 1px solid #FD6533;
  color: #FD6533;
  cursor: pointer;
}

body #store.productdetail_aspx section.product .box_text .bookmark .IconBookMark i {
  width: 20px;
  height: 18px;
  background-repeat: no-repeat;
}

body #store #ProductDetail .box_text .price_area .taxratio {
  font-size: 14px;
}
@media (max-width:768px) {
body #store #ProductDetail .box_text .price_area .taxratio {
  font-size: 12px;
}
}
body #store.productdetail_aspx section.product .box_text .box_cart .box_cartInner {
  background-color: #FBF8F3;
}

@media (max-width:768px) {
body #store.productdetail_aspx section.product .box_text .box_cart .box_cartInner {
display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
}
}

@media (min-width:768px) {
body #store.productdetail_aspx section.product .box_text .box_cart .box_cartInner {
    border: 1px solid #1c18141f;
    margin-top: 0px;
  }
}

@media (min-width:1000px) {
body #store.productdetail_aspx section.product .box_text .box_cart .cartBtn .btnCart {
    width: 100%;
    margin-bottom: 20px;
    max-width: none;
  }
}

body #store.productdetail_aspx section.product .box_text .box_cart .cartBtn .btnCart {
  background: none;
}

body #store.productdetail_aspx section.product .box_text .box_cart .cartBtn .btnCart a {
  margin-top: 8px;
  padding: 12px;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  transition: all 300ms;
  background: linear-gradient(135deg, #FD6533 0%, #ff7a4d 100%);
  box-shadow: 0 2px 20px rgba(253, 101, 51, 0.4);
  border: 0;
  border-radius: 10px;
    min-height: 80px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

body #store.productdetail_aspx section.product .box_text .box_cart .cartBtn .btnCart a:hover {
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1),
              0 8px 10px -6px rgb(0 0 0 / 0.1);
  transform: translateY(-0.125rem);
  border: 0;
}

body #store.productdetail_aspx section.product .box_text .box_cart .cartBtn .btnCart a:active {
  transform: translateY(0);
}

@media (max-width:768px) {
body #store.productdetail_aspx section.product .box_text .box_cart .cartBtn .btnCart.gift a,
body #store.productdetail_aspx section.product .box_text .box_cart .cartBtn .btnCart a {
  margin-top:0;
min-height:72px;
}
}

@media (max-width:480px) {
#store.productdetail_aspx section.product:not(.naireItem) .box_text .box_cart .cartBtn .btnCart a:before {
  width: 16px;
  height: 16px;
}

body #store.productdetail_aspx section.product .box_text .box_cart .cartBtn .btnCart.gift a,
body #store.productdetail_aspx section.product .box_text .box_cart .cartBtn .btnCart a {
  padding: 10px 8px 10px 24px;
}
}

body #store.productdetail_aspx section.product .box_text .box_cart .cartBtn .btnCart a:before {
  width: 24px;
  height: 24px;
  top: 0;
}

body #store.productdetail_aspx section.product .box_text .box_cart .cartBtn span.display_pc:nth-of-type(2) {
  border-top: 1px solid #1c18141f;
}

body #store.productdetail_aspx section.product .VariationBlock {
  width: 100%;
}

body #store.productdetail_aspx section.product .VariationBlock .selectBase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  font-size: 1em;
}

body #store.productdetail_aspx section.product .VariationBlock .selectBase:nth-child(n+2) {
  margin-top: 16px;
}

body #store.productdetail_aspx section.product .VariationBlock .selectBase span {
  font-size: 0.8em;
  min-width: max-content;
}

body #store.productdetail_aspx section.product .VariationBlock .selectBase select {
  border: 1px solid #1c18141f;
  border-radius: 10px;
  background-color: #fff;
  font-weight: 700;
  padding: 1em;
  color: #000;
}

body #store.productdetail_aspx section.product .VariationBlock .selectBase select:hover {
  border-color: #FD6533;
}

body #store.productdetail_aspx section.product .VariationBlock .selectBase.select01:after {
  border-color: #FD6533;
  z-index:1;
}

body #store.productdetail_aspx section.product .box_text .box_cart .itemCount {
  width: auto;
  margin-bottom: 20px;
}

body #store.productdetail_aspx section.product .box_text .box_cart .itemCount dd {
  border: 1px solid #1c18141f;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  align-content: center;
  background-color: #F0EDE8;
  font-size: 1em;
}

body #store.productdetail_aspx section.product .box_text .box_cart .itemCount dd select {
  margin: 0;
  border: 1px solid #1c18141f;
  text-align: center;
  font-size: 1.2em;
  line-height: 1.6;
}

body #store.productdetail_aspx section.product .box_text .box_cart .itemCount dd .btn_plus,
body #store.productdetail_aspx section.product .box_text .box_cart .itemCount dd .btn_minus {
  background-color: transparent;
  font-weight: 700;
  padding: 6px;
  font-size: 1.2em;
  display: flex;
  align-items: center;
}

body #store.productdetail_aspx #ProductDetail .box_cart .itemCount dd .btn_plus,
body #store.productdetail_aspx #ProductDetail .box_cart .itemCount dd .btn_minus {
  cursor: pointer;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}

@media (hover: hover) and (pointer: fine) {
body #store.productdetail_aspx section.product .box_text .box_cart .itemCount dd .btn_plus:hover,
body #store.productdetail_aspx section.product .box_text .box_cart .itemCount dd .btn_minus:hover {
  cursor: pointer;
  color: #FD6533;
}}

@media (min-width:768px) {
body #store.productdetail_aspx section.product .box_text .NamePrintOptionEachFrame {
    max-width: 550px;
    margin: 0 auto 10px auto;
  }
}

body #store.productdetail_aspx section.product .box_text .NamePrintOptionEachFrame .NamePrintInputTitle {
  font-weight: 700;
  margin-bottom: 8px;
}

body #store.productdetail_aspx section.product .box_text .NamePrintOptionEachFrame .NamePrintInputTitle+input.inputBase {
  border: 1px solid #1c18141f;
  border-radius: 4px;
}

body #store.productdetail_aspx section.product .box_text .NamePrintOptionEachFrame .NamePrintInputTitle+input.inputBase:hover,
body #store.productdetail_aspx section.product .box_text .NamePrintOptionEachFrame .NamePrintInputTitle+input.inputBase:focus {
  border-color: #FD6533;
}

body #store.productdetail_aspx section.product .box_text .NamePrintOptionEachFrame .NamePrintInputTitle+input.inputBase:focus {
  outline: none;
}

body #store.productdetail_aspx section.product .box_text .NamePrintOptionEachFrame .InputRestriction {
  font-size: 12px;
  font-weight: 700;
  color: #FD6533;
}

body #store.productdetail_aspx section.product .box_text .NamePrintOptionEachFrame .NamePrintOptionDescription {
  font-size: 12px;
  margin-top: 5px;
}

body #store.productdetail_aspx section.product .relatedLink .btn_catalog a {
  display: flex;
  align-items: center;
  border: 1px solid #1c18141f;
  border-radius: 4px;
  background-color: #FFFFFF;
  overflow: hidden;
  transition: all 200ms;
}

body #store.productdetail_aspx section.product .relatedLink .btn_catalog a:hover {
  color: #FD6533;
  border-color: #FD6533;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.1);
}

body #store.productdetail_aspx section.product .relatedLink.relatedLink-R {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

body #store.productdetail_aspx section.product .relatedLink .DetailLink3,
body #store.productdetail_aspx section.product .relatedLink .DetailLink4 {
  min-width: 50%;
}

body #store.productdetail_aspx section.product .relatedLink .DetailLink3 a,
body #store.productdetail_aspx section.product .relatedLink .DetailLink4 a {
  display: block;
  border: 1px solid #fee685;
  border-radius: 8px;
  background-color: #fffbeb;
  overflow: hidden;
  transition: all 200ms;
  padding: 8px;
  position: relative;
  color: #bb4d00;
}

body #store.productdetail_aspx section.product .relatedLink .DetailLink3 a:hover,
body #store.productdetail_aspx section.product .relatedLink .DetailLink4 a:hover {
  background-color: #fef3c6;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.1);
}

body #store.productdetail_aspx section.product .relatedLink .DetailLink3 a:after,
body #store.productdetail_aspx section.product .relatedLink .DetailLink4 a:after {
  content: '';
  width: 8px;
  height: 8px;
  margin-top: -5px;
  display: block;
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  right: 20px;
  border-top: 2px solid #bb4d00;
  border-right: 2px solid #bb4d00;
}

body #store.productdetail_aspx section.itemInformation .itemAttribute {
  border-right: 1px solid #1c18141f;
  border-bottom: 1px solid #1c18141f;
}

body #store.productdetail_aspx section.itemInformation .itemAttribute dt,
body #store.productdetail_aspx section.itemInformation .itemAttribute dd {
  border-top: 1px solid #1c18141f;
  border-left: 1px solid #1c18141f;
}

body #store.productdetail_aspx section.itemInformation .itemAttribute dt {
  background-color: #FBF8F3;
}

/* 商品詳細レイアウト・タブ・固定カート */
/* rb-step1.css */
/* STEP 1 — static HTML prototype. All rules are scoped to ProductDetail. */
#store.productdetail_aspx #ProductDetail .rb-step1-layout {
  display: grid;
  grid-template-columns: minmax(0, 480fr) minmax(0, 632fr);
  column-gap: 56px;
  align-items: start;
  max-width: 1280px;
  margin: 0px;
  box-sizing: border-box;
  padding: 0 16px;
}

#store.productdetail_aspx #ProductDetail .rb-step1-layout>.rb-step1-gallery,
#store.productdetail_aspx #ProductDetail .rb-step1-layout>.rb-step1-info {
  float: none !important;
  clear: none !important;
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0;
  box-sizing: border-box
}


#store.productdetail_aspx #ProductDetail .rb-step1-gallery .relatedLink {
  
  margin-top: 16px
}

#store.productdetail_aspx #ProductDetail .rb-step1-info .box_textDetail {
  width: 100%;
  max-width: none !important;
  margin: 0;
  padding: 0
}

#store.productdetail_aspx #ProductDetail .rb-step1-info .box_textDetail h1 {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
  
  letter-spacing: .02em
}

#store.productdetail_aspx #ProductDetail .rb-step1-info .box_textDetail .goodscaption {
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 20px;
  color: #1a1714;
}


#store.productdetail_aspx #ProductDetail .rb-step1-services {
  display: flex;
  flex-wrap: wrap;
  
  align-items: center;
  justify-content: flex-start;
  margin: 0 0 20px;
  padding: 0;
  width: 100%;
  height: auto
}

#store.productdetail_aspx #ProductDetail .rb-step1-services li {
  float: none !important;
  width: auto !important;
  height: auto;


  justify-content: center;
  margin: 0;


  box-sizing: border-box
}

#store.productdetail_aspx #ProductDetail .rb-step1-info .box_addTobookmark {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0
}

@media(max-width:999px) {
  #store.productdetail_aspx #ProductDetail .rb-step1-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: auto;
    padding: 0;
    margin: 0 0px 32px;
  }

  #store.productdetail_aspx #ProductDetail .rb-step1-gallery,
  #store.productdetail_aspx #ProductDetail .rb-step1-info {
    width: 100% !important;
    max-width: none !important
  }

  #store.productdetail_aspx #ProductDetail .rb-step1-gallery .thumblist_product {
    gap: 6px
  }

  #store.productdetail_aspx #ProductDetail .rb-step1-info .box_textDetail h1 {
    font-size: 22px
  }

  #store.productdetail_aspx #ProductDetail .rb-step1-services {
    margin-bottom: 14px !important
  }
}


/* rb-step2.css */
/* Rambbit product detail STEP 2 — scoped overrides after ec.css and rb-step1.css */


#store.productdetail_aspx #ProductDetail .rb-step1-layout {
  background: transparent
}

#store.productdetail_aspx #ProductDetail .rb-step1-gallery .relatedLink {
  margin: 16px 0 0;
  width: 100%;
}

#store.productdetail_aspx #ProductDetail .rb-step1-gallery .btn_catalog {
  display: block;
  width: 100% !important;
  margin: 0;
  padding: 0;
  height: auto;
  background: transparent;
  border: 0;
  box-shadow: none
}

#store.productdetail_aspx #ProductDetail .rb-step1-gallery .btn_catalog a {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  min-height: 48px;
  padding: 12px 35px;
  background: #fff;
  border: 1px solid #E0DBD4;
  border-radius: 4px;
  color: #1A1714;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.5
}

#store.productdetail_aspx #ProductDetail .rb-step1-gallery .btn_catalog .ico_catalog {
  display: inline-block;
  flex: 0 0 20px;
  
  
  background: none;
  position: relative !important;
  margin: 0
}

#store.productdetail_aspx #ProductDetail .rb-step1-gallery .btn_catalog .ico_catalog:before {
  content: '▤';
  display: block;
  font-size: 23px;
  line-height: 20px;
  color: #4B4038
}

#store.productdetail_aspx #ProductDetail .rb-step1-services li {


  box-shadow: none;
  }

#store.productdetail_aspx #ProductDetail .rb-step1-services li:before {
  background-color: transparent
}

#store.productdetail_aspx #ProductDetail .rb-price-bookmark {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  margin: 20px 0;
  border: 1px solid rgba(253, 101, 51, .10);
  border-radius: 8px;
  background: linear-gradient(135deg, #FFF9F7 0%, #FFF8F5 33.33%, #FFF6F4 66.67%, #FFF5F2 100%);
  box-sizing: border-box
}

#store.productdetail_aspx #ProductDetail .rb-price-bookmark>.price_area {
  flex: 1 1 260px;
  margin: 0;
  background: none;
  border: 0;
  padding: 0
}

#store.productdetail_aspx #ProductDetail .rb-price-bookmark>.bookmark {
  margin: 0;
  flex: 0 0 auto
}

#store.productdetail_aspx #ProductDetail .rb-step1-info .box_cartInner {
  background: transparent;
  border: 0;
  box-shadow: none
}

#store.productdetail_aspx #ProductDetail .rb-extra-gallery {
  display: grid;
  gap: 16px;
  margin-top: 16px
}

#store.productdetail_aspx #ProductDetail .rb-info-card {
  padding: 20px;
  border: 1px solid #EEEAE5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .035)
}

#store.productdetail_aspx #ProductDetail .rb-info-card h2 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 18px;
  color: #1A1714;
  text-align: left;
}

#store.productdetail_aspx #ProductDetail .rb-reverse-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

#store.productdetail_aspx #ProductDetail .rb-reverse-links span {
  font-size: 13px;
  text-decoration: underline;
  color: #1A1714
}

#store.productdetail_aspx #ProductDetail .rb-reverse-links span:after {
  
  font-size: 12px;
  margin-left: 4px
}

#store.productdetail_aspx #ProductDetail .rb-info-card .box_reverceCategory {
  background-color: transparent;
  box-sizing: border-box;
  padding: 0;
}

#store.productdetail_aspx #ProductDetail .rb-scene-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}
@media(max-width:999px) {
#store.productdetail_aspx #ProductDetail .rb-extra-gallery:has(.rb-scene-tags:empty) {
    margin-top: 0px;
}}
#store.productdetail_aspx #ProductDetail .rb-scene-tags span {
  padding: 7px 12px;
  background: #FBF8F3;
  border: 1px solid #EDE7DE;
  border-radius: 4px;
  color: #6F6257;
  font-size: 13px;
  line-height: 1.4
}

#store.productdetail_aspx #ProductDetail .rb-price-list {
  width: 100%;
  min-height: 52px;
  
  
  border-radius: 4px;
  
  
  font-size: 14px;
  cursor: pointer
}

#store.productdetail_aspx #ProductDetail .rb-price-list span {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px
}

#store.productdetail_aspx #ProductDetail .rb-extra-actions {
  margin-top: 20px;
  display: grid;
  gap: 20px
}

#store.productdetail_aspx #ProductDetail .rb-inquiry-actions {
  display: grid;
  gap: 8px
}

#store.productdetail_aspx #ProductDetail .rb-inquiry-actions :is(button, a) {
  
  width: 100%;
  min-height: 50px;
  padding: 10px 35px;
  
  border-radius: 4px;
  background: #fff;
  color: #332C27;
  font-size: 13px;
  cursor: pointer
}
@media(min-width:999px) {
#store.productdetail_aspx #ProductDetail .rb-inquiry-actions :is(button, a) {
  font-size: 16px;
}}
#store.productdetail_aspx #ProductDetail .rb-inquiry-actions :is(button, a) span {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px
}

#store.productdetail_aspx #ProductDetail .rb-order-alternatives {
  padding: 32px 16px 32px  16px;
  border: 1px solid #E9E3DC;
  border-radius: 8px;
  background: #fff
}

#store.productdetail_aspx #ProductDetail .rb-order-alternatives h2 {
  font-size: 16px;
  text-align: center;
  line-height: 1.5;
  margin: 0 0 18px;
  font-weight: 700;
  color: #29231E
}


#store.productdetail_aspx #ProductDetail .rb-order-alternatives-grid>* {
  min-width: 0;
  min-height: 85px;
  padding: 10px 5px;


  border: 1px solid #E0DBD4;
  border-radius: 5px;
  background: #FAF9F7;
  color: #322B25;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.5;
  
  cursor: pointer
}


#store.productdetail_aspx #ProductDetail .rb-alt-icon {
  
  color: #7A6F65
}

@media(max-width:999px) {
  #store.productdetail_aspx #ProductDetail .rb-price-bookmark {
    padding: 12px;
    gap: 8px
  }

  #store.productdetail_aspx #ProductDetail .rb-price-bookmark>.price_area {
    flex-basis: 190px
  }

  #store.productdetail_aspx #ProductDetail .rb-info-card {
    padding: 16px
  }

  #store.productdetail_aspx #ProductDetail .rb-info-card h2 {
    font-size: 16px
  }

  #store.productdetail_aspx #ProductDetail .rb-order-alternatives-grid {
    grid-template-columns: 1fr
  }

  #store.productdetail_aspx #ProductDetail .rb-order-alternatives-grid>* {
    min-height: 62px;
    flex-direction: row;
    gap: 10px
  }

  #store.productdetail_aspx #ProductDetail .rb-step1-gallery .btn_catalog a {
    min-height: 48px
  }
}


/* rb-step3.css */
/* STEP 3: conflict resolution and Figma asset styling */


#store.productdetail_aspx #ProductDetail .rb-price-bookmark {
  width: 100% !important;
  max-width: none !important;
}

#store.productdetail_aspx #ProductDetail .rb-price-bookmark .rb-bookmark-label {
  display: none;
}

#store.productdetail_aspx #ProductDetail .rb-price-bookmark .IconBookMark {
  font-size: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}

#store.productdetail_aspx #ProductDetail .rb-price-bookmark .IconBookMark i {
  margin: 0;
}

#store.productdetail_aspx #ProductDetail .rb-order-alternatives-grid>* {
  
  
  justify-content: center;
  
  text-align: left;
}

#store.productdetail_aspx #ProductDetail .rb-order-alternatives-grid .rb-alt-icon {
  flex: 0 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#store.productdetail_aspx #ProductDetail .rb-reverse-links span:after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin: 0 2px 1px 7px;
}

#store.productdetail_aspx #ProductDetail .rb-step1-gallery .btn_catalog a span.ico_catalog:before {
  content: '';
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
  background-image: url(/store/Images/Common/icon/ico_catalogDetail.svg);

}


/* rb-step4-icons.css */
/* STEP 4: provided SVG assets */


#store.productdetail_aspx #ProductDetail .rb-step1-services li::before {
  display: none
}

#store.productdetail_aspx #ProductDetail .rb-step1-services li img {
  
  
  display: block;
  object-fit: contain;
  flex: none
}

#store.productdetail_aspx #ProductDetail .rb-step1-gallery .btn_catalog .ico_catalog {
  width: 24px !important;
  height: 24px;
  flex-basis: 24px
}

#store.productdetail_aspx #ProductDetail .rb-step1-gallery .btn_catalog .ico_catalog::before {
  content: none;
  display: none
}

#store.productdetail_aspx #ProductDetail .rb-step1-gallery .btn_catalog .ico_catalog img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain
}

#store.productdetail_aspx #ProductDetail .rb-alt-icon {
  font-size: 0;
  flex: 0 0 24px
}

#store.productdetail_aspx #ProductDetail .rb-alt-icon img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain
}

#store.productdetail_aspx #ProductDetail .rb-order-alternatives-grid>* {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px
}

#store.productdetail_aspx #ProductDetail .rb-order-alternatives-grid>* img {
  max-width: none
}


/* rb-step5.css */
/* STEP 5 — Figma product header adjustments */
html body #store.productdetail_aspx section.product .box_slider.rb-step1-gallery {
  background: transparent;
  background-color: transparent;
  box-shadow: none;
}

#store.productdetail_aspx #ProductDetail .rb-step1-services {
  gap: 5px;
}

#store.productdetail_aspx #ProductDetail .rb-step1-services li {
  min-height: 38px;
  border-radius: 8px;
  padding: 6px 8px;
  background: #fff;
  border: 1px solid #E0DBD4;
  color: #1A1714;
  font-size: 13px;
  /*line-height: 1.5;*/
  gap: 4px;
  white-space: nowrap;
}

#store.productdetail_aspx #ProductDetail .rb-step1-services li img {
  width: 24px !important;
  height: 24px;
}

#store.productdetail_aspx #ProductDetail .rb-step1-info .box_textDetail h1 {
  margin: 0 0 10px;
  color: #1A1714;
}

#store.productdetail_aspx #ProductDetail .rb-step1-info .box_textDetail .itemnum {
  margin: 0 0 8px;
  color: #8B8177;
  font-size: 12px;
}

#store.productdetail_aspx #ProductDetail .rb-review-summary {
  
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  font-size: 12px;
  color: #6E645B;
}

#store.productdetail_aspx #ProductDetail .rb-review-stars {
  letter-spacing: 2px;
  color: #E9A84A;
  font-size: 15px;
  line-height: 1;
}

#store.productdetail_aspx #ProductDetail .rb-price-bookmark {
  color: #1A1714;
}

#store.productdetail_aspx #ProductDetail .rb-price-bookmark .PriceTitleA,
#store.productdetail_aspx #ProductDetail .rb-price-bookmark .PriceTitleB,
#store.productdetail_aspx #ProductDetail .rb-price-bookmark .ListPriceTextA,
#store.productdetail_aspx #ProductDetail .rb-price-bookmark .ListPriceTextB,
#store.productdetail_aspx #ProductDetail .rb-price-bookmark .priceA {
  color: #1A1714;
  padding-right: 0.5em;
}
#store.productdetail_aspx #ProductDetail .rb-price-bookmark .priceA .priceUnit{
font-size:12px;
}
#store.productdetail_aspx #ProductDetail .rb-price-bookmark .priceB,
#store.productdetail_aspx #ProductDetail .rb-price-bookmark .priceB *,
#store.productdetail_aspx #ProductDetail .rb-price-bookmark .DiscountRateB {
  color: #FD6533;
}


#store.productdetail_aspx #ProductDetail .rb-price-bookmark .taxratio {
  color: #7A6F65;
}

@media(max-width:999px) {
  #store.productdetail_aspx #ProductDetail .rb-step1-services li {
    font-size: 11px;
    min-height: 34px;
    padding: 5px 7px;
  }

  #store.productdetail_aspx #ProductDetail .rb-step1-services li img {
    width: 20px !important;
    height: 20px;
  }
}


/* rb-step6.css */
/* STEP 6: layout / modal adjustments */
#store.productdetail_aspx #ProductDetail .rb-inquiry-actions :is(button, a) {


  gap: 8px
}

#store.productdetail_aspx #ProductDetail .rb-inquiry-actions :is(button, a)>img {
  display: inline-block;
  width: 18px !important;
  height: 18px;
  min-width: 18px !important;
  max-width: 18px !important;
  max-height: 18px;
  object-fit: contain;
  position: static !important;
  flex: none
}

#store.productdetail_aspx #ProductDetail .rb-step1-services li {
  display: flex;
  align-items: center
}

#store.productdetail_aspx #ProductDetail .rb-step1-services .rb-service-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px !important;
  height: 20px;
  min-width: 20px !important;
  margin-left: 1px !important;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  cursor: pointer
}

#store.productdetail_aspx #ProductDetail .rb-step1-services .rb-service-help img {
  width: 16px !important;
  height: 16px;
  max-width: 16px !important;
  object-fit: contain
}


.rb-service-dialog[hidden] {
  display: none
}

.rb-service-dialog {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(26, 23, 20, .5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  overflow: auto
}

.rb-service-dialog__panel {
  position: relative;
  background: #fff;
  border-radius: 16px;
  width: min(800px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 64px 48px;
  box-sizing: border-box;
  box-shadow: 0 20px 70px #0002
}

.rb-service-dialog__panel h2 {
  font-size: clamp(20px, 3vw, 32px);
  line-height: 1.5;
  text-align: center;
  color: #1A1714;
  margin: 0 0 36px
}

.rb-service-dialog__close {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 38px;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: #1A1714
}

.rb-service-dialog__content {
  min-height: 160px;
  text-align: center;
  color: #7A6F65
}

@media(max-width:999px) {
  #store.productdetail_aspx #ProductDetail .rb-mobile-after-inquiry {
    display: grid;
    gap: 12px;
    margin: 16px 0
  }

  #store.productdetail_aspx #ProductDetail .rb-extra-gallery>.rb-info-card[data-rb-mobile-move] {
    display: none
  }

  .rb-service-dialog__panel {
    padding: 65px 20px 28px
  }
}


/* rb-step7.css */
/* STEP 7 — targeted overrides, loaded after previous step styles. */
#store.productdetail_aspx section.product .rb-step1-gallery .btn_catalog a span.ico_catalog,
#store.productdetail_aspx #ProductDetail .rb-step1-gallery .btn_catalog a span.ico_catalog {
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  position: static !important;
  transform: none !important;
  margin: 0;
}

#store.productdetail_aspx #ProductDetail .rb-order-alternatives-grid {
  align-items: stretch;
}

#store.productdetail_aspx #ProductDetail .rb-price-list {
  background: transparent;
  background-color: transparent;
  border: 1px solid #0E7C7B;
  color: #0E7C7B;
}

#store.productdetail_aspx #ProductDetail .rb-price-list span,
#store.productdetail_aspx #ProductDetail .rb-price-list::before,
#store.productdetail_aspx #ProductDetail .rb-price-list::after {
  color: #0E7C7B;
  border-color: #0E7C7B;
}

/* Keep item number and review on separate rows even when legacy rules float them. */
#store.productdetail_aspx #ProductDetail .rb-step1-info .box_textDetail .itemnum,
#store.productdetail_aspx #ProductDetail .rb-review-summary {
  float: none !important;
  clear: both !important;
  position: static !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}


#store.productdetail_aspx #ProductDetail .rb-review-summary {
  display: flex;
  flex-wrap: wrap;
}

/* Figma 1:1365 — discount badge */
#store.productdetail_aspx #ProductDetail .rb-price-bookmark .DiscountRateB .discountRate {


  background: #EB2914;


}

/* STEP 9: Breadcrumbs — Figma node 1:1213 */
.wrapper#store.productdetail_aspx #ProductDetail .BreadCrumbs {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  background: transparent;
  font-family: "Noto Sans JP", sans-serif;
}

.wrapper#store.productdetail_aspx #ProductDetail .BreadCrumbs nav {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 16px;
  box-sizing: border-box;
}
@media(max-width:999px) {
.wrapper#store.productdetail_aspx #ProductDetail .BreadCrumbs{
  padding:0;
}
.wrapper#store.productdetail_aspx #ProductDetail .BreadCrumbs nav {
  padding: 12px 0px;
}}
.wrapper#store.productdetail_aspx #ProductDetail .BreadCrumbs ol {
 display: block;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 16.5px;
}

.wrapper#store.productdetail_aspx #ProductDetail .BreadCrumbs li {
  display: inline;
  float: none;
  gap: 4px;
  margin: 0;
  padding: 0;
  color: #9E9590;
  font-size: 11px;
  font-weight: 400;
  line-height: 16.5px;
    overflow-wrap: anywhere;
    word-break: break-all;
}

.wrapper#store.productdetail_aspx #ProductDetail .BreadCrumbs li+li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-top: 1px solid #9E9590;
  border-right: 1px solid #9E9590;
  transform: rotate(45deg);
  margin: 0 8px 0 6px;
  flex: none;
}

.wrapper#store.productdetail_aspx #ProductDetail .BreadCrumbs lli a{
  display: inline;
  white-space: normal;
}

.wrapper#store.productdetail_aspx #ProductDetail .BreadCrumbs a,
.wrapper#store.productdetail_aspx #ProductDetail .BreadCrumbs a span {
  color: #9E9590;
  text-decoration: none;
  font-size: inherit;
  line-height: inherit;
}

.wrapper#store.productdetail_aspx #ProductDetail .BreadCrumbs li:last-child,
.wrapper#store.productdetail_aspx #ProductDetail .BreadCrumbs li:last-child a,
.wrapper#store.productdetail_aspx #ProductDetail .BreadCrumbs li:last-child span {
  color: #1A1714;
}

@media(max-width:767px) {
  .wrapper#store.productdetail_aspx #ProductDetail .BreadCrumbs nav {
    padding: 12px 0px;
  }
}

/* Remove legacy catalogue button shadow without modifying ec.css. */
#store.productdetail_aspx section.product .rb-step1-gallery .btn_catalog a {
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
}

/* Specificity exceeds the legacy ec.css ListPriceDiv3 badge declaration. */
#store.productdetail_aspx #ProductDetail .rb-step1-info .box_text .rb-price-bookmark .price_area .ListPriceDiv3 .DiscountRateB .discountRate,
#store.productdetail_aspx #ProductDetail .rb-price-bookmark .DiscountRateB .discountRate {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  padding: 6px 12px;
  border: 0;
  border-radius: 999px;
  background-color: #EB2914;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  white-space: nowrap;
}
#store.productdetail_aspx #ProductDetail .rb-price-bookmark .DiscountRateB{
    margin-bottom: 4px;
}
/* Step 10: migrated shipping service descriptions */
#store.productdetail_aspx .rb-service-dialog__content img[src*="mail_guide"] {
  display: block;
  width: 100%;
  max-width: 630px;
  height: auto;
  margin: 0 auto 16px;
}

#store.productdetail_aspx .rb-service-dialog__content table {
  width: 100%;
  border-collapse: collapse;
}

#store.productdetail_aspx .rb-service-dialog__content td {
  display: table-cell;
  padding: 12px 8px;
  vertical-align: top;
  line-height: 1.8;
}

#store.productdetail_aspx .rb-service-dialog__content .rb-express-details-toggle {
  border: 1px solid #0E7C7B;
  border-radius: 6px;
  background: #fff;
  color: #0E7C7B;
  padding: 10px 16px;
  cursor: pointer;
}

#store.productdetail_aspx .rb-service-dialog__content #rb-express-details[hidden] {
  display: none;
}

#store.productdetail_aspx .rb-service-dialog__content .quick_06 {
  border: 0;
  border-top: 1px solid #e5e1dd;
  margin: 16px 0;
}

/* Variation list — Figma 1:1785 */
#store.productdetail_aspx .rb-variation {
  max-width: 1152px;
  margin: 32px auto;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}

@media(max-width:767px) {
  #store.productdetail_aspx .rb-variation {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .04), 0 2px 12px rgba(0, 0, 0, .06)
  }
}

#store.productdetail_aspx .rb-variation-heading {
  margin: 0;
  padding: 20px 24px 0;
  font-size: 22px;
  line-height: 1.4;
  font-weight: 700;
  text-align: center;
  color: #1a1714;
  border: 0
}

#store.productdetail_aspx .rb-variation-subtitle {
  margin: 0;
  padding: 4px 24px 20px;
  border-bottom: 1px solid #f0ede8;
  font-size: 12px;
  line-height: 18px;
  color: #7a7066;
  text-align: center
}

#store.productdetail_aspx .rb-variation-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px 13px;
  list-style: none;
  margin: 0;
  padding: 24px;
  max-width: none;
  overflow: visible
}

#store.productdetail_aspx .rb-variation-grid>.rb-variation-card {
  display: block;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  float: none;
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none
}

#store.productdetail_aspx .rb-variation-card__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  aspect-ratio: 1;
  min-height: 0;
  padding: 16px;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  background: #e8ddd0;
  color: #1a1714;
  transition: filter .2s, transform .2s
}

#store.productdetail_aspx .rb-variation-card:nth-child(5n+2) .rb-variation-card__link {
  background: #d0dce8
}

#store.productdetail_aspx .rb-variation-card:nth-child(5n+3) .rb-variation-card__link {
  background: #d4e8d4
}

#store.productdetail_aspx .rb-variation-card:nth-child(5n+4) .rb-variation-card__link {
  background: #e8dcd0
}

#store.productdetail_aspx .rb-variation-card:nth-child(5n+5) .rb-variation-card__link {
  background: #dcd0e8
}

#store.productdetail_aspx .rb-variation-card__link:hover {
  filter: brightness(.97);
  transform: translateY(-2px)
}

#store.productdetail_aspx .rb-variation-card__link:focus-visible {
  outline: 2px solid #0e7c7b;
  outline-offset: 2px
}

#store.productdetail_aspx .rb-variation-card__brand {
  max-width: 100%;
  font-size: 9px;
  line-height: 1.5;
  font-weight: 500;
  color: rgba(58, 53, 48, .65)
}

#store.productdetail_aspx .rb-variation-card__price {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  color: #1a1714
}

@media(max-width:767px) {
  #store.productdetail_aspx .rb-variation {
    margin: 24px 0px 60px 0;
    border-radius: 12px
  }

  #store.productdetail_aspx .rb-variation-heading {
    font-size: 18px;
    padding: 18px 12px 0
  }

  #store.productdetail_aspx .rb-variation-subtitle {
    padding: 4px 12px 18px
  }

  #store.productdetail_aspx .rb-variation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 12px
  }

  #store.productdetail_aspx .rb-variation-card__link {
    padding: 10px
  }
}


/* Variation grid: override legacy .itemList/courseList/product rules in ec.css */
#store.productdetail_aspx #ProductDetail .rb-variation .rb-variation-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px 13px;
  margin: 0;
  padding: 24px;
  list-style: none;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  align-items: stretch;
  overflow: visible;
}

#store.productdetail_aspx #ProductDetail .rb-variation .rb-variation-grid>li.rb-variation-card {
  display: block;
  float: none;
  clear: none;
  position: relative;
  box-sizing: border-box;
  width: auto;
  max-width: none;
  min-width: 0;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

#store.productdetail_aspx #ProductDetail .rb-variation .rb-variation-grid>li.rb-variation-card>a.rb-variation-card__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 1;
  gap: 4px;
  padding: 16px;
  margin: 0;
  border: 0;
  border-radius: 12px;
  background: rgba(234, 115, 59, .15);
  color: #1a1714;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Card colors: 15% opacity over white, repeated every four cards. */
#store.productdetail_aspx #ProductDetail .rb-variation .rb-variation-grid>li:nth-child(4n+1)>a.rb-variation-card__link {
  background-color: rgba(234, 115, 59, .15)
}

/* #EA733B */
#store.productdetail_aspx #ProductDetail .rb-variation .rb-variation-grid>li:nth-child(4n+2)>a.rb-variation-card__link {
  background-color: rgba(220, 153, 37, .15)
}

/* #DC9925 */
#store.productdetail_aspx #ProductDetail .rb-variation .rb-variation-grid>li:nth-child(4n+3)>a.rb-variation-card__link {
  background-color: rgba(76, 175, 147, .15)
}

/* #4CAF93 */
#store.productdetail_aspx #ProductDetail .rb-variation .rb-variation-grid>li:nth-child(4n+4)>a.rb-variation-card__link {
  background-color: rgba(134, 140, 183, .15)
}

/* #868CB7 */
#store.productdetail_aspx #ProductDetail .rb-variation-card__brand {
  display: block;
  width: 100%;
  font-size: 8px;
  font-weight: 500;
  line-height: 10px;
  color: rgba(58, 53, 48, .6);
  text-align: center;
}

#store.productdetail_aspx #ProductDetail .rb-variation-card__price {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
  color: #1a1714;
  text-align: center;
}

#store.productdetail_aspx #ProductDetail .rb-variation-card__price .rb-variation-card__yen {
  font-size: 10px;
  line-height: 15px;
}

#store.productdetail_aspx #ProductDetail .rb-variation-card__tax {
  display: block;
  font-size: 8px;
  line-height: 10px;
  color: rgba(58, 53, 48, .5);
}

#store.productdetail_aspx #ProductDetail .rb-variation-card__sale {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 700;
  line-height: 10px;
  color: #eb2914;
}

@media(max-width:767px) {
  #store.productdetail_aspx #ProductDetail .rb-variation .rb-variation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 12px
  }

  #store.productdetail_aspx #ProductDetail .rb-variation .rb-variation-grid>li.rb-variation-card>a.rb-variation-card__link {
    padding: 10px
  }
}

/* VariationListParts: real ASCX output / price card styling */
#store.productdetail_aspx #ProductDetail .rb-variation-grid>li.rb-variation-card>a.rb-variation-card__link {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  white-space: normal;
}

#store.productdetail_aspx #ProductDetail .rb-variation-grid .itemBlock {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  gap: 4px;
  text-align: center;
  box-shadow: none;
  min-width: 0;
}

#store.productdetail_aspx #ProductDetail .rb-variation-grid .giftName {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  color: rgba(58, 53, 48, .6);
  font-size: 8px;
  font-weight: 500;
  line-height: 10px;
  text-align: center;
}

#store.productdetail_aspx #ProductDetail .rb-variation-grid .giftPrice {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  color: #1a1714;
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
}

/* Display course face value, then standard tax-inclusive price, then sale price. */
#store.productdetail_aspx #ProductDetail .rb-variation-grid .giftPrice::first-letter {
  font-size: inherit
}

#store.productdetail_aspx #ProductDetail .rb-variation-grid .itemBlock table,
#store.productdetail_aspx #ProductDetail .rb-variation-grid .itemBlock tbody,
#store.productdetail_aspx #ProductDetail .rb-variation-grid .itemBlock tr,
#store.productdetail_aspx #ProductDetail .rb-variation-grid .itemBlock td {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

#store.productdetail_aspx #ProductDetail .rb-variation-grid .ListPriceTable {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

#store.productdetail_aspx #ProductDetail .rb-variation-grid .ListPriceDiv1,
#store.productdetail_aspx #ProductDetail .rb-variation-grid .ListPriceDiv3 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  margin: 0;
  padding: 0;
  float: none;
  position: static;
  border: 0;
  background: transparent;
  box-shadow: none;
}

#store.productdetail_aspx #ProductDetail .rb-variation-grid .PriceTitleA,
#store.productdetail_aspx #ProductDetail .rb-variation-grid .PriceTitleB,
#store.productdetail_aspx #ProductDetail .rb-variation-grid .ListPriceDiv2,
#store.productdetail_aspx #ProductDetail .rb-variation-grid .ListPriceTableEnd,
#store.productdetail_aspx #ProductDetail .rb-variation-grid .DiscountRateB {
  display: none
}

#store.productdetail_aspx #ProductDetail .rb-variation-grid .ListPriceDiv1 {
  font-size: 8px;
  line-height: 10px;
  color: rgba(58, 53, 48, .5);
}

#store.productdetail_aspx #ProductDetail .rb-variation-grid .ListPriceDiv1 .ListPriceTextA {
  display: inline;
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit
}

#store.productdetail_aspx #ProductDetail .rb-variation-grid .ListPriceDiv1 .taxCaption::before {
  content: '('
}

#store.productdetail_aspx #ProductDetail .rb-variation-grid .ListPriceDiv1 .taxCaption::after {
  content: ''
}

#store.productdetail_aspx #ProductDetail .rb-variation-grid .ListPriceDiv1 .priceA {
  display: inline;
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit
}

#store.productdetail_aspx #ProductDetail .rb-variation-grid .ListPriceDiv1 .priceUnit {
  display: none
}

#store.productdetail_aspx #ProductDetail .rb-variation-grid .ListPriceDiv1 .priceNumeric::after {
  content: '円コース)'
}

#store.productdetail_aspx #ProductDetail .rb-variation-grid .ListPriceDiv3 .ListPriceTextB {
  display: none
}

#store.productdetail_aspx #ProductDetail .rb-variation-grid .ListPriceDiv3 .priceB {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  font-size: 10px;
  font-weight: 700;
  line-height: 12px;
  text-align: center;
  color: #eb2914;
}

#store.productdetail_aspx #ProductDetail .rb-variation-grid .ListPriceDiv3 .priceUnit {
  display: none
}

#store.productdetail_aspx #ProductDetail .rb-variation-grid .ListPriceDiv3 .priceNumeric::after {
  content: '円'
}

@media(max-width:767px) {
  #store.productdetail_aspx #ProductDetail .rb-variation-grid .giftPrice {
    font-size: 16px;
    line-height: 21px
  }
}

/* ASCX integration: actual server-rendered selectors */
#store.productdetail_aspx #ProductDetail .rb-step1-info .rb-step1-services {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 16px
}

#store.productdetail_aspx #ProductDetail .rb-step1-info .rb-step1-services li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  float: none;
  width: auto
}

#store.productdetail_aspx #ProductDetail .rb-step1-info .rb-step1-services img {
  width: 16px;
  height: 16px;
  object-fit: contain
}

#store.productdetail_aspx #ProductDetail .rb-step1-info .rb-step1-services .rb-service-help {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer
}

#store.productdetail_aspx #ProductDetail .rb-step1-info .box_textDetail .itemnum {
  display: block;
  float: none;
  width: 100%
}

#store.productdetail_aspx #ProductDetail .rb-step1-info .box_textDetail .rb-review-summary {
  display: block;
  float: none;
  width: 100%;
  margin: 8px 0 16px
}

#store.productdetail_aspx #ProductDetail .rb-step1-info .box_textDetail .rb-review-stars {
  color: #e6a643
}

#store.productdetail_aspx #ProductDetail .rb-order-alternatives ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px
}

#store.productdetail_aspx #ProductDetail .rb-order-alternatives li {
  min-height: 69px;
  border: 0
}

#store.productdetail_aspx #ProductDetail .rb-order-alternatives li a {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0
}

#store.productdetail_aspx #ProductDetail .rb-variation .VariationListParts {
  display: block
}

#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 24px;
  margin: 0;
  list-style: none;
  width: auto;
}
@media(max-width:1000px) {
#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}}
#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList>li {
  width: auto;
  float: none;
  margin: 0;
  min-width: 0
}

#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList>li>a {
  display: flex;
  aspect-ratio: 1;
  min-width: 0;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 12px;
  text-align: center
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .04), 0 2px 12px rgba(0, 0, 0, .06);
}

#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList .itemBlock {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  min-width: 0
}

#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList .giftName {
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
  margin: 0
}

#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList .giftPrice {
  font-size: 16px;
  font-weight: 700;
  color: #1a1714;
  margin: 4px 0;
  line-height: normal;
}
@media(min-width:999px) {
#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList .giftPrice {
  font-size: 20px;
}}
#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList table {
  width: auto;
  margin: 0;
  border: 0
}

#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList td {
  border: 0;
  padding: 0
}

#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList .ListPriceTable {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px
}

#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList .ListPriceDiv1,
#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList .ListPriceDiv3 {
  display: block;
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
  text-align: center
}

#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList .PriceTitleA,
#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList .PriceTitleB,
#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList .ListPriceDiv2,
#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList .DiscountRateB,
#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList .ListPriceTableEnd {
  display: none
}


#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList .ListPriceDiv1:before {
  content: '(';
  display: inline-block;
}

#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList .ListPriceDiv1:after {
  content: ')';
  display: inline-block;
}

#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList .ListPriceDiv3 {
  font-size: 12px;
  color: #eb2914;
  font-weight: 700
}

#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList .ListPriceDiv3 .priceB {
  color: #eb2914;
  font-size: 1.6em;
}
#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList > li > a {
  transition: background-color .25s ease;
}
#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList > li > a {
  touch-action: manipulation;
}
#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList>li:nth-child(4n+1)>a {
  background: rgba(234, 115, 59, .15)
}

#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList>li:nth-child(4n+2)>a {
  background: rgba(220, 153, 37, .15)
}

#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList>li:nth-child(4n+3)>a {
  background: rgba(76, 175, 147, .15)
}

#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList>li:nth-child(4n+4)>a {
  background: rgba(134, 140, 183, .15)
}

@media (hover: hover) and (pointer: fine) {
#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList > li:nth-child(4n+1) > a:hover {
  background: rgba(234, 115, 59, .3);
}

#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList > li:nth-child(4n+2) > a:hover {
  background: rgba(220, 153, 37, .3);
}

#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList > li:nth-child(4n+3) > a:hover {
  background: rgba(76, 175, 147, .3);
}

#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList > li:nth-child(4n+4) > a:hover {
  background: rgba(134, 140, 183, .3);
}}

#store.productdetail_aspx #ProductDetail .rb-modal[hidden],
#store.productdetail_aspx #ProductDetail .rb-quick-details[hidden] {
  display: none
}

#store.productdetail_aspx #ProductDetail .rb-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center
}

#store.productdetail_aspx #ProductDetail .rb-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55)
}

#store.productdetail_aspx #ProductDetail .rb-modal__panel {
  position: relative;
  background: #fff;
  border-radius: 16px;
  width: min(800px, calc(100% - 32px));
  max-height: 85vh;
  overflow: auto;
  padding: 32px
}

#store.productdetail_aspx #ProductDetail .rb-modal__close {
  position: absolute;
  right: 12px;
  top: 12px;
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer
}

#store.productdetail_aspx #ProductDetail .rb-modal__body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 12px auto
}

@media(max-width:767px) {
  #store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0px;
    gap: 8px
  }

  #store.productdetail_aspx #ProductDetail .rb-order-alternatives ul {
    grid-template-columns: 1fr
  }
}

/* STEP 16: Button arrows are CSS pseudo-elements, not text spans. */
#store.productdetail_aspx #ProductDetail .rb-price-list,
#store.productdetail_aspx #ProductDetail .rb-inquiry-actions :is(button, a) {
  position: relative;
  padding-right: 42px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}
#store.productdetail_aspx #ProductDetail .rb-inquiry-actions :is(button, a){
    background-color: #F1F5F9;
    border: 1px solid #CBD5E1;
}
#store.productdetail_aspx #ProductDetail .rb-price-list::after,
#store.productdetail_aspx #ProductDetail .rb-inquiry-actions :is(button, a)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 19px;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}

/* Hide any legacy arrow span still emitted by ASCX. */
#store.productdetail_aspx #ProductDetail .rb-price-list>span[aria-hidden="true"],
#store.productdetail_aspx #ProductDetail .rb-inquiry-actions :is(button, a)>span[aria-hidden="true"] {
  display: none !important;
}

/* ========================================
   商品詳細ページ：背景色の調整
======================================== */

/* ページ全体の基本背景 */
html body #store.productdetail_aspx {
  background: #FAF9F7;
}

/* メインコンテンツ */
html body #store.productdetail_aspx #main {
  background-color: #FAF9F7;
}

/* ========================================
   header_inner の背景を画面幅いっぱいに
======================================== */

html body #store.productdetail_aspx header .header_inner {
  position: relative;
  isolation: isolate;
  background-color: #fff;
}

html body #store.productdetail_aspx header .header_inner::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background-color: #fff;
  z-index: -1;
  pointer-events: none;
}


@media (hover: hover) and (pointer: fine) {
  #store.productdetail_aspx #ProductDetail .rb-inquiry-actions :is(button, a):hover {
    background-color: #e7eff7;
    border-color: #bbcadb;
  }

  #store.productdetail_aspx #ProductDetail .rb-reverse-links span a:hover {
    color: #0E7C7B;
    text-decoration-color: currentColor;
  }

  #store.productdetail_aspx #ProductDetail .rb-step1-gallery .btn_catalog a:hover {
    background-color: #F6F2EC;
    border-color: #B9AFA5;
  }

  #store.productdetail_aspx #ProductDetail .rb-price-list:hover {
    background-color: rgba(14, 124, 123, .07);
    border-color: #096C6B;
    color: #096C6B;
  }

  #store.productdetail_aspx #ProductDetail .rb-order-alternatives-grid>a:hover {
    background-color: #F1ECE5;
    border-color: #B9AFA5;
  }
}

#store.productdetail_aspx #ProductDetail .rb-inquiry-actions :is(button, a),
#store.productdetail_aspx #ProductDetail .rb-reverse-links span a,
#store.productdetail_aspx #ProductDetail .rb-step1-gallery .btn_catalog a,
#store.productdetail_aspx #ProductDetail .rb-price-list,
#store.productdetail_aspx #ProductDetail .rb-order-alternatives-grid>a {
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, text-decoration-color .2s ease;
}

#store.productdetail_aspx #ProductDetail .rb-inquiry-actions :is(button, a):focus-visible,
#store.productdetail_aspx #ProductDetail .rb-reverse-links span a:focus-visible,
#store.productdetail_aspx #ProductDetail .rb-step1-gallery .btn_catalog a:focus-visible,
#store.productdetail_aspx #ProductDetail .rb-price-list:focus-visible,
#store.productdetail_aspx #ProductDetail .rb-order-alternatives-grid>a:focus-visible {
  outline: 2px solid #0E7C7B;
  outline-offset: 3px;
}

/* Anchor is the sole interactive element. Restore button-like inner layout. */
#store.productdetail_aspx #ProductDetail .rb-order-alternatives-grid>a {


  align-self: stretch;


}

#store.productdetail_aspx #ProductDetail .rb-order-alternatives-grid>a>.rb-alt-content {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  min-height: 69px;
  padding: 10px 8px;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-align: left;
  cursor: inherit;
}

/* Third (telephone) card has no inner wrapper; retain its original padding. */
#store.productdetail_aspx #ProductDetail .rb-order-alternatives-grid>a:last-child {
  padding: 10px 5px;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

@media (prefers-reduced-motion: reduce) {

  #store.productdetail_aspx #ProductDetail .rb-inquiry-actions :is(button, a),
  #store.productdetail_aspx #ProductDetail .rb-reverse-links span a,
  #store.productdetail_aspx #ProductDetail .rb-step1-gallery .btn_catalog a,
  #store.productdetail_aspx #ProductDetail .rb-price-list,
  #store.productdetail_aspx #ProductDetail .rb-order-alternatives-grid>a {
    transition: none;
  }
}

/* ========================================
   別の注文方法：カードレイアウト修正
======================================== */

#store.productdetail_aspx #ProductDetail .rb-order-alternatives-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

/* カード本体 */
#store.productdetail_aspx #ProductDetail .rb-order-alternatives-grid>a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  width: 100%;
  min-width: 0;
  min-height: 90px;
  box-sizing: border-box;

  padding: 10px 8px;
  border: 1px solid #e0dbd4;
  border-radius: 5px;
  background: #faf9f7;

  color: #1a1714;
  text-decoration: none;
  text-align: left;
}

/* アイコン */
#store.productdetail_aspx #ProductDetail .rb-order-alternatives-grid>a .rb-alt-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
}

/* アイコン画像 */
#store.productdetail_aspx #ProductDetail .rb-order-alternatives-grid>a .rb-alt-icon img {
  display: block;
  width: 24px;
  height: 24px;
  max-width: none;
}

/* テキスト */
#store.productdetail_aspx #ProductDetail .rb-order-alternatives-grid>a>span:last-child {
  display: block;
  min-width: 0;
  font-size: 13px;
  line-height: 1.5;
}
@media (min-width: 999px) {
#store.productdetail_aspx #ProductDetail .rb-order-alternatives-grid>a>span:last-child {
  font-size: 15px;
}}
/* 補足テキスト */
#store.productdetail_aspx #ProductDetail .rb-order-alternatives-grid small {
  display: block;
  font-size: 10px;
  line-height: 1.5;
}

/* 電話番号 */
#store.productdetail_aspx #ProductDetail .rb-order-alternatives-grid strong {
  display: block;
  font-size: 12px;
  font-weight: 400;
}

/* ホバー */
@media (hover: hover) and (pointer: fine) {
  #store.productdetail_aspx #ProductDetail .rb-order-alternatives-grid>a:hover {
    background: #f2ede7;
    border-color: #bfb4a8;
  }
}

/* SP */
@media (max-width: 767px) {
  #store.productdetail_aspx #ProductDetail .rb-order-alternatives-grid {
    grid-template-columns: 1fr;
  }

  #store.productdetail_aspx #ProductDetail .rb-order-alternatives-grid>a {
    min-height: 64px;
  }
}

#store.productdetail_aspx #ProductDetail .rb-step1-info .box_textDetail .GetPointWrap {
  width: 100%;
  color: #7A6F65;
  font-size: 17px;
  line-height: 1.5;
  margin-top: 8px;
}
@media (max-width: 767px) {
#store.productdetail_aspx #ProductDetail .rb-step1-info .box_textDetail .GetPointWrap {
  font-size: 13px;
}}
/* ========================================
   商品レビュー：星・平均評価・レビュー件数
======================================== */

#store.productdetail_aspx #ProductDetail .rb-review-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
}

/* 星＋平均評価 */
#store.productdetail_aspx #ProductDetail .rb-review-rating__score {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f39800;
}

/* 星表示 */
#store.productdetail_aspx #ProductDetail .rb-review-rating__stars {
  position: relative;
  display: inline-block;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 2px;
  white-space: nowrap;
}

/* 未評価部分 */
#store.productdetail_aspx #ProductDetail .rb-review-rating__stars-bg {
  color: #ddd;
}

/* 評価部分 */
#store.productdetail_aspx #ProductDetail .rb-review-rating__stars-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  overflow: hidden;
  color: #f39800;
  white-space: nowrap;
}

/* 平均評価 */
#store.productdetail_aspx #ProductDetail .reviewAverage {
  color: #f39800;
  font-size: 13px;
  font-weight: 500;
}

/* レビュー件数リンク */
#store.productdetail_aspx #ProductDetail .rb-review-rating__link {
  color: #0066cc;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 12px;
}

@media (hover: hover) and (pointer: fine) {
  #store.productdetail_aspx #ProductDetail .rb-review-rating__link:hover {
    color: #004b99;
    text-decoration: none;
  }
}

/* STEP 19: dynamically rendered service tags (class-only markup). */
#store.productdetail_aspx #ProductDetail .rb-step1-services>li.SearchTagIcon {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  position: relative;
  list-style: none;
}

#store.productdetail_aspx #ProductDetail .rb-step1-services>li.SearchTagIcon::before {
  content: "";
  display: inline-block;
  position: static;
  width: 24px;
  height: 24px;
  min-width: 24px;
  flex: 0 0 24px;
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

#store.productdetail_aspx #ProductDetail .rb-step1-services>li.SearchTagIcon.ram_tag001::before {
  background-image: url('/store/Images/Common/icon/ico_oisogi.svg');
}

#store.productdetail_aspx #ProductDetail .rb-step1-services>li.SearchTagIcon.ram_tag002::before {
  background-image: url('/store/Images/Common/icon/ico_yupacket.svg');
}

#store.productdetail_aspx #ProductDetail .rb-step1-services>li.SearchTagIcon.ram_tag003::before {
  background-image: url('/store/Images/Common/icon/ico_naire.svg');
}

#store.productdetail_aspx #ProductDetail .rb-step1-services>li.SearchTagIcon.ram_tag004::before {
  background-image: url('/store/Images/Common/icon/ico_freeShippng.svg');
}

#store.productdetail_aspx #ProductDetail .rb-step1-services>li.SearchTagIcon.ram_tag005::before {
  background-image: url('/store/Images/Common/icon/ico_noshi.svg');
}

#store.productdetail_aspx #ProductDetail .rb-step1-services>li.SearchTagIcon.ram_tag006::before {
  background-image: url('/store/Images/Common/icon/ico_useGift.svg');
}

#store.productdetail_aspx #ProductDetail .rb-step1-services>li.SearchTagIcon.ram_tag007::before {
  background-image: url('/store/Images/Common/icon/ico_useGift.svg');
}

#store.productdetail_aspx #ProductDetail .rb-step1-services>li.SearchTagIcon.ram_tag008::before {
  background-image: url('/store/Images/Common/icon/ico_message.svg');
}

#store.productdetail_aspx #ProductDetail .rb-step1-services>li.SearchTagIcon.ram_tag009::before {
  background-image: url('/store/Images/Common/icon/ico_social.svg');
}

#store.productdetail_aspx #ProductDetail .rb-step1-services>li.SearchTagIcon.ram_tag010::before {
  background-image: url('/store/Images/Common/icon/ico_directShipping.svg');
}

#store.productdetail_aspx #ProductDetail .rb-step1-services>li.SearchTagIcon.ram_tag011::before {
  background-image: url('/store/Images/Common/icon/ico_reitou.svg');
}

#store.productdetail_aspx #ProductDetail .rb-step1-services>li.SearchTagIcon.ram_tag012::before {
  background-image: url('/store/Images/Common/icon/ico_reizou.svg');
}

#store.productdetail_aspx #ProductDetail .rb-step1-services>li.SearchTagIcon.ram_tag013::before {
  background-image: url('/store/Images/Common/icon/ico_noNoshi.svg');
}

#store.productdetail_aspx #ProductDetail .rb-step1-services>li.SearchTagIcon.ram_tag014::before {
  background-image: url('/store/Images/Common/icon/ico_noWrapping.svg');
}

#store.productdetail_aspx #ProductDetail .rb-step1-services>li.SearchTagIcon.ram_tag015::before {
  background-image: url('/store/Images/Common/icon/ico_noMessage.svg');
}

#store.productdetail_aspx #ProductDetail .rb-step1-services>li.SearchTagIcon.ram_tag016::before {
  background-image: url('/store/Images/Common/icon/ico_cardtype.svg');
}

#store.productdetail_aspx #ProductDetail .rb-step1-services>li:is(.ram_tag001, .ram_tag002, .ram_tag004)::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-left: 1px;
  background: transparent url('/store/Images/Common/icon/ico_help.svg') center / contain no-repeat;
}

#store.productdetail_aspx #ProductDetail .rb-step1-services>li.rb-service-trigger {
  cursor: pointer;
  transition: background-color .2s, border-color .2s;
}

@media (hover:hover) and (pointer:fine) {
  #store.productdetail_aspx #ProductDetail .rb-step1-services>li.rb-service-trigger:hover {
    background-color: #f2ede7;
    border-color: #bfb4a8;
  }
}

#store.productdetail_aspx #ProductDetail .rb-step1-services>li.rb-service-trigger:focus-visible {
  outline: 2px solid #0e7c7b;
  outline-offset: 3px;
}

@media (max-width:999px) {
  #store.productdetail_aspx #ProductDetail .rb-step1-services>li.SearchTagIcon::before {
    width: 20px;
    height: 20px;
    min-width: 20px;
    flex-basis: 20px;
  }
}

@media (prefers-reduced-motion:reduce) {
  #store.productdetail_aspx #ProductDetail .rb-step1-services>li.rb-service-trigger {
    transition: none;
  }
}


/* STEP20: itemInformation adaptive tabs and purchase bar */
#store.productdetail_aspx #ProductDetail .rb-info-tabs {
  display: flex;
  align-items: stretch;
  width: 100%;
  border: 1px solid #e4dfd8;
  border-radius: 9px 9px 0 0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
  box-sizing: border-box;
}

#store.productdetail_aspx #ProductDetail .rb-info-tabs__button {
  appearance: none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
  min-height: 54px;
  padding: 10px 7px;
  border: 0;
  border-right: 1px solid #e4dfd8;
  border-radius: 0;
  background: #fff;
  color: #252525;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}

#store.productdetail_aspx #ProductDetail .rb-info-tabs__button:last-child {
  border-right: 0;
}

#store.productdetail_aspx #ProductDetail .rb-info-tabs__button[aria-selected="true"] {
  background: #333;
  color: #fff;
}

#store.productdetail_aspx #ProductDetail .rb-info-tabs__button:focus-visible,
#store.productdetail_aspx #ProductDetail .rb-fixcart-purchase:focus-visible {
  outline: 3px solid #268a6b;
  outline-offset: -3px;
}

@media (hover:hover) and (pointer:fine) {
  #store.productdetail_aspx #ProductDetail .rb-info-tabs__button:hover:not([aria-selected="true"]) {
    background: #f4f1ed;
  }
}

#store.productdetail_aspx #ProductDetail .rb-info-target {
  scroll-margin-top: 105px;

}
@media (min-width:768px) {
#store.productdetail_aspx #ProductDetail .rb-info-target {
  padding: 0 24px 24px 24px;
  box-sizing: border-box;
}}
@media (max-width:768px) {
#store.productdetail_aspx #ProductDetail .rb-info-target {
  padding: 0 0 24px 0px;
  box-sizing: border-box;
  box-shadow: none;
  background-color: transparent;
}}
#store.productdetail_aspx #ProductDetail .rb-info-target.RelatedProductOneSideParts .itemList{
padding-right:0;
padding-left:0;
}
#store.productdetail_aspx #ProductDetail .rb-info-target.RelatedProductOneSideParts .itemList li{
    margin: 20px 10px 0px 10px;
    padding:0;
}
@media (max-width:768px) {
#store.productdetail_aspx #ProductDetail .rb-info-target.RelatedProductOneSideParts .itemList{
padding-right:10px;
padding-left:10px;
    gap: 20px 8px;
}
#store.productdetail_aspx #ProductDetail .rb-info-target.RelatedProductOneSideParts .itemList li{
    margin: 0px 0px 0px 0px;
    width: calc((100% / 3) - (16px / 3));
}
}
#store.productdetail_aspx #ProductDetail .rb-info-target.RelatedProductOneSideParts .itemList li>a {
    background-color: #fff;
    display: block;
    padding: 16px;
    box-sizing: border-box;
    border-radius: 8px;
    border: 1px solid #E9E3DC;
    height: 100%;
}

@media (max-width: 500px) {
#store.productdetail_aspx #ProductDetail .rb-info-target.RelatedProductOneSideParts .itemList>*,
#store.productdetail_aspx #ProductDetail .rb-info-target.RelatedProductOneSideParts .itemList li{
    padding:0;
}
#store.productdetail_aspx #ProductDetail .rb-info-target.RelatedProductOneSideParts .itemList li{
    width: calc((100% / 2) - (8px / 2));
}
}
@media (min-width:769px) {
  #store.productdetail_aspx #ProductDetail .itemInformation.rb-info-ready {
    max-width: 1280px;
    background-color: #fff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .04), 0 2px 12px rgba(0, 0, 0, .06);
    border-radius: 16px;
    margin-bottom: 60px;
    box-sizing: border-box;
  }

  #store.productdetail_aspx #ProductDetail .itemInformation.rb-info-ready .rb-info-target[hidden] {
    display: none !important;
  }

  #store.productdetail_aspx #ProductDetail .itemInformation.rb-info-ready .rb-info-tabs {
    margin: 0 auto 24px;
  }

  #store.productdetail_aspx section.product .fixcartBtn.rb-fixcart-ready {
    position: fixed !important;
    top: auto !important;
    right: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: none !important;
    padding: 10px max(18px, calc((100vw - 1152px)/2)) !important;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    box-sizing: border-box;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, .13) !important;
    z-index: 1100 !important;
    background: rgba(0, 0, 0, 0.50);
    backdrop-filter: blur(12.5px);
    -webkit-backdrop-filter: blur(12.5px);
  }

  body:has(#store.productdetail_aspx .rb-fixcart-ready) {
    padding-bottom: 66px;
  }
}
@media (min-width:1000px) {
  #store.productdetail_aspx #ProductDetail .itemInformation.rb-info-ready {
        width: calc(100% - 32px);
}}
@media (max-width:768px) {
  #store.productdetail_aspx #ProductDetail .itemInformation.rb-info-ready .rb-info-tabs {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    width: 100%;
    border-radius: 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, .12);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  #store.productdetail_aspx #ProductDetail .rb-info-tabs__button {
    min-height: 54px;
    padding: 8px 3px;
    font-size: 10px;
    word-break: normal;
    background-color: #fff7f5;
  }

  #store.productdetail_aspx #ProductDetail .rb-info-tabs__button[aria-selected="true"] {
    background: #fff;
    color: #252525;
  }

  #store.productdetail_aspx #ProductDetail .itemInformation.rb-info-ready .rb-info-target[hidden] {
    display: block !important;
  }

  #store.productdetail_aspx section.product .fixcartBtn.rb-fixcart-ready {
    display: none !important;
  }

  body:has(#store.productdetail_aspx .rb-info-tabs) {
    padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
  }
}

/* STEP21: fixed purchase summary (desktop only, after cart scrolls out above viewport) */
@media (min-width:769px) {
  #store.productdetail_aspx section.product .fixcartBtn.rb-fixcart-ready {
    display: flex !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(100%);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    padding: 12px max(18px, calc((100% - 1152px)/2)) !important;
  }

  #store.productdetail_aspx section.product .fixcartBtn.rb-fixcart-ready.rb-fixcart-visible {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0);
  }

  /* ASPX-rendered fixed cart: product image/name on left, purchase link on right. */
  #store.productdetail_aspx section.product .fixcartBtn.rb-fixcart-ready {
    justify-content: space-between;
    gap: 24px;
  }

  #store.productdetail_aspx section.product .fixcartBtn.rb-fixcart-ready > .box_textDetail {
    display: flex !important;
    flex: 1 1 auto;
    align-items: center;
    gap: 16px;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    background: transparent;
  }

  #store.productdetail_aspx section.product .fixcartBtn.rb-fixcart-ready .fixCartProductImage {
    display: block;
    flex: 0 0 56px;
    width: 56px !important;
    height: 56px !important;
    max-width: 56px !important;
    object-fit: contain;
    background: #fff;
    border-radius: 4px;
  }

  #store.productdetail_aspx section.product .fixcartBtn.rb-fixcart-ready .fixCartProductName {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
  }

  #store.productdetail_aspx section.product .fixcartBtn.rb-fixcart-ready .fixCartProductName span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: inherit;
  }
  #store.productdetail_aspx section.product .fixcartBtn.rb-fixcart-ready > .box_textDetail .GetPointWrap{display:none;}

  #store.productdetail_aspx section.product .fixcartBtn.rb-fixcart-ready > .box_textDetail .price_area .ListPriceTextB{color: #fff;}

  #store.productdetail_aspx section.product .fixcartBtn.rb-fixcart-ready > .btnCart {
    display: block !important;
    flex: 0 0 auto;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    background: transparent;
    max-width: none;
  }

  #store.productdetail_aspx section.product .fixcartBtn.rb-fixcart-ready .btnCart .right_cart {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    min-height: 48px;
    box-sizing: border-box;
    padding: 8px 24px;
    border: 0;
    border-radius: 999px;
    background: #FD6533;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
  }

#store #ProductDetail .fixcartBtn .box_textDetail .price_area .ListPriceDiv3 .priceB{
    padding-right: 8px;
}
#store #ProductDetail .fixcartBtn .box_textDetail .price_area .ListPriceDiv3 .priceB .priceArea1{
    font-size: 20px;
    color: #fff;
}
  #store.productdetail_aspx section.product .fixcartBtn.rb-fixcart-ready .btnCart .right_cart:hover {
    background: #e45426;
  }

  #store.productdetail_aspx section.product .fixcartBtn.rb-fixcart-ready .btnCart .right_cart:focus-visible {
    outline: 3px solid #268a6b;
    outline-offset: 3px;
  }

}

@media (max-width:768px) {
  #store.productdetail_aspx section.product .fixcartBtn.rb-fixcart-ready {
    display: none !important;
  }
}

@media (prefers-reduced-motion:reduce) {
  #store.productdetail_aspx section.product .fixcartBtn.rb-fixcart-ready {
    transition: none;
  }
}
/* STEP27: Empty mobile placeholders must not create CSS grid tracks/gaps. */
#store.productdetail_aspx #ProductDetail .rb-extra-actions > .rb-mobile-after-inquiry:empty,
#store.productdetail_aspx #ProductDetail .rb-extra-actions > .rb-mobile-after-inquiry[hidden] {
  display: none !important;
}
@media (max-width: 999px) {
  #store.productdetail_aspx #ProductDetail .rb-extra-actions > .rb-mobile-after-inquiry:not(:empty) {
    margin: 0;
  }
}

#store .itemList#ExternalRecentlyViewedItemList>li{
    background-color: #fff;
    padding: 16px;
    box-sizing: border-box;
    border-radius: 8px;
    border: 1px solid #E9E3DC;
}
@media (max-width: 768px) {
#store .itemList#ExternalRecentlyViewedItemList>li{
     margin: 0px 0px 0px 0px;
     width: calc((100% / 3) - (16px / 3));
}}
@media (max-width: 500px) {
#store .itemList#ExternalRecentlyViewedItemList>li{
     width: calc((100% / 2) - (8px / 2));
}}
 #store.wrapper.productdetail_aspx footer .btn_pagetop{
    bottom: 80px;
}
@media (min-width: 768px) {
 #store.wrapper.productdetail_aspx #ExternalRecentlyViewedItems h2.mainTit{
    font-size: 24px;
    line-height: 38px;
}}

 #store.wrapper.productdetail_aspx .ExternalRecentlyViewedItemsWrap{
    padding-top:60px;
}
@media (min-width: 1000px) {
 #store.wrapper.productdetail_aspx .ExternalRecentlyViewedItemsWrap .itemList{
    padding-right:16px;
    padding-left:16px;
}}
@media (max-width: 1000px) and (min-width: 768px) {
 #store.wrapper.productdetail_aspx .ExternalRecentlyViewedItemsWrap .itemList{
    padding-right:0px;
    padding-left:0px;
}}
@media (max-width: 768px) {
 #store.wrapper.productdetail_aspx .ExternalRecentlyViewedItemsWrap .itemList{
    gap:20px 8px;
}
}
 #store.wrapper.productdetail_aspx #ExternalRecentlyViewedItems h2.mainTit{
    font-size: 22px;
    line-height: 1.4;
    font-weight: 700;
    margin-bottom: 20px;
}


/* Reverse-category accordion: no extra spacing when fewer than five rows. */
#store.productdetail_aspx #ProductDetail .rb-reverse .rb-reverse-links.rb-reverse-collapsed {
  display: none;
}
#store.productdetail_aspx #ProductDetail .rb-reverse .rb-reverse-toggle {
  display: block;
  width: fit-content;
  margin: 18px auto 0;
  padding: 9px 24px;
  border: 1px solid #0E7C7B;
  border-radius: 999px;
  background: #fff;
  color: #0E7C7B;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
#store.productdetail_aspx #ProductDetail .rb-reverse .rb-reverse-toggle:hover {
  background: #EAF5F3;
}
#store.productdetail_aspx #ProductDetail .rb-reverse .rb-reverse-toggle:focus-visible {
  outline: 2px solid #0E7C7B;
  outline-offset: 3px;
}

/* HTML比較用：安心サポート案内（既存の画像バナーは維持） */
#store.productdetail_aspx #ProductDetail .rb-support {
  box-sizing: border-box; width: 100%; margin: 24px auto 56px; padding: 48px 32px;
  background: #fffdfb; color: #572b35; border: 1px solid #eee6e2;
  border-radius: 12px; font-family: "Noto Sans JP", sans-serif; text-align: center;
}
#store.productdetail_aspx #ProductDetail .rb-support *,
#store.productdetail_aspx #ProductDetail .rb-support *::before,
#store.productdetail_aspx #ProductDetail .rb-support *::after { box-sizing: border-box; }
#store.productdetail_aspx #ProductDetail .rb-support__badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
#store.productdetail_aspx #ProductDetail .rb-support__badges span { display: inline-block; padding: 7px 20px; border-radius: 100px; background: #ff9037; color: #fff; font-size: 14px; font-weight: 700; line-height: 1.5; }
#store.productdetail_aspx #ProductDetail .rb-support__heading { position: relative; margin: 0 0 20px; font-size: clamp(24px, 3vw, 36px); line-height: 1.5; font-weight: 700; color: #612c38; }
#store.productdetail_aspx #ProductDetail .rb-support__heading::before,
#store.productdetail_aspx #ProductDetail .rb-support__heading::after { content: ''; display: inline-block; width: 22px; height: 3px; background: #ff8731; vertical-align: middle; margin: 0 20px; transform: rotate(35deg); }
#store.productdetail_aspx #ProductDetail .rb-support__heading::after { transform: rotate(-35deg); }
#store.productdetail_aspx #ProductDetail .rb-support__lead { margin: 0 auto 42px; font-size: 15px; line-height: 2.1; }
#store.productdetail_aspx #ProductDetail .rb-support__subheading { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 0 0 30px; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.5; color: #612c38; font-weight: 700; }
#store.productdetail_aspx #ProductDetail .rb-support__subheading::before,
#store.productdetail_aspx #ProductDetail .rb-support__subheading::after { content: ''; flex: 0 1 100px; max-width: 100px; height: 1px; background: #b68e8e; }
#store.productdetail_aspx #ProductDetail .rb-support__cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 12px; list-style: none; margin: 0; padding: 0; }
#store.productdetail_aspx #ProductDetail .rb-support__card { display: flex; align-items: center; justify-content: center; gap: 12px; flex: 0 1 calc((100% - 48px) / 4); min-width: 0; min-height: 140px; padding: 20px 12px; border: 1px solid #eadfdb; border-radius: 12px; background: #fff; box-shadow: 0 3px 8px rgba(72, 43, 36, .06); text-align: left; }
#store.productdetail_aspx #ProductDetail .rb-support__icon { width: 44px; height: 44px; flex: 0 0 44px; color: #8d5c4a; }
#store.productdetail_aspx #ProductDetail .rb-support__card p { margin: 0; color: #542c32; font-size: 14px; line-height: 1.7; }
#store.productdetail_aspx #ProductDetail .rb-support__card strong { color: #e85b28; font-weight: 700; }
#store.productdetail_aspx #ProductDetail .rb-support__card img{width:40px; height:40px;}
#store.productdetail_aspx #ProductDetail .rb-support__footer { margin: 34px 0 0; font-size: 17px; line-height: 1.8; }
@media (max-width: 999px) {
  #store.productdetail_aspx #ProductDetail .rb-support { padding: 36px 20px; }
  #store.productdetail_aspx #ProductDetail .rb-support__card { flex-basis: calc((100% - 16px) / 2); }
}
@media (max-width: 768px) {
  #store.productdetail_aspx #ProductDetail .rb-support { margin: 20px auto 36px; padding: 32px 16px; }
  #store.productdetail_aspx #ProductDetail .rb-support__heading::before,
  #store.productdetail_aspx #ProductDetail .rb-support__heading::after { display: none; }
  #store.productdetail_aspx #ProductDetail .rb-support__lead { font-size: 13px; line-height: 1.9; margin-bottom: 30px; }
  #store.productdetail_aspx #ProductDetail .rb-support__lead br { display: none; }
  #store.productdetail_aspx #ProductDetail .rb-support__subheading { gap: 10px; }
  #store.productdetail_aspx #ProductDetail .rb-support__subheading::before,
  #store.productdetail_aspx #ProductDetail .rb-support__subheading::after { flex-basis: 24px; }
  #store.productdetail_aspx #ProductDetail .rb-support__card { flex: 1 1 100%; min-height: 86px; justify-content: flex-start; padding: 16px 20px; }
  #store.productdetail_aspx #ProductDetail .rb-support__card p { font-size: 14px; }
  #store.productdetail_aspx #ProductDetail .rb-support__footer { font-size: 14px; }
}

/* Cart tab belongs to the mobile navigation only. */
@media (min-width: 769px) {
  #store.productdetail_aspx #ProductDetail .rb-info-tabs__button[data-rb-tab="cart"] { display: none; }
}


/* A-2 course cards: bottom-aligned number + 円, with コース centered below both. */
#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList .giftPrice.rb-course-title--split {
  display: grid;
  grid-template-columns: max-content max-content;
  align-items: end;
  justify-content: center;
  column-gap: 4px;
  row-gap: 4px;
  width: 100%;
  min-width: 0;
  margin: 6px 0 10px;
  padding: 0;
  color: #1a1714;
  line-height: 1;
  white-space: nowrap;
  font-weight: 700;
}
#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList .rb-course-title__number {
  grid-column: 1;
  grid-row: 1;
  font-size: clamp(24px, 2.65vw, 38px);
  font-weight: 700;
  letter-spacing: -.055em;
  font-variant-numeric: tabular-nums;
}
#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList .rb-course-title__suffix {
  /* Let the existing 円 and コース spans participate in the title grid. */
  display: contents;
  font-size: clamp(9px, 1vw, 13px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
}
#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList .rb-course-title__suffix span:first-child{
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    line-height: 1;
    font-size: clamp(20px, 2vw, 26px);
}
#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList .rb-course-title__suffix span:last-child{
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    text-align: center;
    font-size: clamp(9px, 2vw, 12px);
}
/* Remove legacy parentheses; strike through the actual standard-price amount only. */
#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList .ListPriceDiv1::before,
#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList .ListPriceDiv1::after,
#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList .ListPriceDiv1 .taxCaption::before,
#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList .ListPriceDiv1 .priceNumeric::after {
  content: none !important;
  display: none !important;
}
#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList .ListPriceDiv1 {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 5px;
  flex-wrap: wrap;
  width: 100%;
  color: #746c65;
  font-size: 11px;
  line-height: 1.4;
}
#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList .ListPriceDiv1 .PriceTitleA {
  display: inline;
  font-size: 10px;
  color: #746c65;
}
#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList .ListPriceDiv1 .ListPriceTextA {
  display: none;
}
#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList .ListPriceDiv1 .priceA {
  display: inline;
  color: inherit;
}
#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList .ListPriceDiv1 .priceArea1 {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: #8b8177;
}
#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList .ListPriceDiv1 .priceUnit {
  display: inline;
}
#store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList .ListPriceDiv3 {
  margin-top: 10px;
}
@media (max-width: 999px) {
  #store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList .rb-course-title__number {
    font-size: clamp(23px, 3.5vw, 34px);
  }
}
@media (max-width: 767px) {
  #store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList .rb-course-title__number {
    font-size: clamp(22px, 6vw, 32px);
  }
  #store.productdetail_aspx #ProductDetail .rb-variation .itemList.courseList .rb-course-title__suffix {
    font-size: 10px;
  }
}

/* Only the wrapping label breaks onto two lines on SP. */
@media (max-width: 768px) {
  #store.productdetail_aspx #ProductDetail .rb-info-tabs__button[data-rb-tab="notice"] { flex-direction: column; }
  #store.productdetail_aspx #ProductDetail .rb-info-tabs__wrapping { display: block; }
}

/* Inquiry links share the existing button layout during markup migration. */
#store.productdetail_aspx #ProductDetail .rb-inquiry-actions > a {
  font-family: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-align: center;
  text-decoration: none;
}

#store.productdetail_aspx #ProductDetail .rb-info-target.RelatedProductOneSideParts .itemList li .giftName,
#store .itemList#ExternalRecentlyViewedItemList>li .ProductName{
margin-bottom:10px;
}
/* Free-shipping details use the existing service-dialog shell and site colours. */
#store.productdetail_aspx .rb-shipping-lead { margin: 0 0 16px; color: #0e7c7b; font-size: clamp(24px, 5vw, 36px); font-weight: 700; line-height: 1.5; }
#store.productdetail_aspx .rb-shipping-description { margin: 0 0 24px; line-height: 1.8; }
#store.productdetail_aspx .rb-shipping-table { width: 100%; border-collapse: collapse; color: #1a1714; text-align: left; margin: 0 0 16px; }
#store.productdetail_aspx .rb-shipping-table th,
#store.productdetail_aspx .rb-shipping-table td { border: 1px solid #e4dfd8; padding: 14px 20px; line-height: 1.6; }
#store.productdetail_aspx .rb-shipping-table thead th { background: #f2ede7; font-weight: 700; }
#store.productdetail_aspx .rb-shipping-table tbody th { background: #faf8f5; width: 40%; }
#store.productdetail_aspx .rb-shipping-table td strong { color: #0e7c7b; font-size: 20px; }
#store.productdetail_aspx .rb-shipping-note { text-align: left; font-size: 13px; line-height: 1.8; margin: 0; }
@media (max-width: 767px) {
  #store.productdetail_aspx .rb-shipping-table th,
  #store.productdetail_aspx .rb-shipping-table td { padding: 12px 10px; }
  #store.productdetail_aspx .rb-shipping-table td small { display: block; }
}

#store.productdetail_aspx #ProductDetail .rb-info-target .read-more span{
    margin: 18px auto 0;
    padding: 9px 24px;
    border: 1px solid #0E7C7B;
    border-radius: 999px;
    background: #fff;
    color: #0E7C7B;
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}
/* Break the variation heading after its prefix on mobile only. */
@media (max-width: 768px) {
  #store.productdetail_aspx .rb-variation-heading__prefix { display: block; }
}

/* Keep product-detail select text consistent on iOS as well. */
body #store.productdetail_aspx #ProductDetail select:not(:disabled) {
  color: #1a1714;
  -webkit-text-fill-color: currentColor;
}

/* These variation fields already have a custom orange arrow. */
body #store.productdetail_aspx #ProductDetail .VariationBlock .selectBase select {
  -webkit-appearance: none;
  appearance: none;
}
