@charset "utf-8";



/* ------------------------------
 カート（style_cart）
------------------------------ */
.cart_wrap {
  margin: 30% auto auto;
  padding: 10% 0 20%;
  position: relative;
  background-color: var(--white);
  color: var(--black);
}

/* --- cart-LOGO --- */
.cart-LOGO {
  margin: auto;
  width: fit-content;
  max-width: 40%;
}

.mh100 {
  height: min(100px, max(13.333333vw, 48px));
}

.mh130 {
  height: min(130px, max(17.333333vw, 62.4px));
}

.mh160 {
  height: min(160px, max(21.333333vw, 76.8px));
}


/* --- SPEC（仕様・内訳） --- */
.cart-SPEC {
  margin: 15% auto auto;
  width: 90%;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* 品名 */
.cart-SPEC h2 {
  margin: auto;
  width: 70%;
  font-family: "ShipporiMin", serif;
  font-weight: 500;
  font-size: var(--fs_20);
  line-height: 3;
  letter-spacing: 0.05em;
  text-align: center;
  white-space: nowrap;
}

/* (括弧（）スタイル 1行) */
.cart-SPEC h2 span.f1 {
  font-size: 75%;
  display: inline-block;
  margin-left: 0.5em;
  white-space: nowrap;
}

/* (括弧（）スタイル 複数行) */
/* h2に「.multi」を要追加 */
.cart-SPEC h2.multi span.f1 {  /* spanで要改行 */
  display: inline-block;
  line-height: 1;
  margin: 0;
}

/* 仕様 */
.cart-SPEC_box {
  margin: auto;
  width: 100%;
  position: relative;
}

.cart-SPEC_box::before {
  content: "";
  width: 100%;
  height: 1px;
  background-color: var(--black);
  position: absolute;
  top: 0%;
  left: 0;
  transform: scale(1,0.5);
}

.cart-SPEC_box::after {
  content: "";
  width: 100%;
  height: 1px;
  background-color: var(--black);
  position: absolute;
  bottom: 0%;
  left: 0;
  transform: scale(1,0.5);
}


.cart-SPEC__table {
  margin: auto;
  padding: 5% 0;
  width: fit-content;
  position: relative;
}


.cart-SPEC__table table {
  width: 100%;
}

.cart-SPEC__table table th,
.cart-SPEC__table table td {
  font-family: "GenjyuuGLP", sans-serif;
  font-weight: 300;
  font-size: var(--fs_13);
  line-height: 2;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.cart-SPEC__table table th {
  width: fit-content;
  text-align: left;
}

.cart-SPEC__table table tr td:nth-of-type(1) {
  padding: 0 0.25em;
}

.cart-SPEC__table table th.view,
.cart-SPEC__table table td.view {
  visibility: hidden;
}

.cart-SPEC__table table td span.H-MAG {
  display: inline-block;
  transform: scale(3,1);
  transform-origin: 0% 50%;
}

/* TEXT */
.cart-SPEC__table > p {
  font-family: "GenjyuuGLP", sans-serif;
  font-weight: 300;
  font-size: var(--fs_11);
  line-height: 1;
  letter-spacing: 0.05em;
  white-space: nowrap;
  position: absolute;
  top: auto;
  left: 50%;
  bottom: -1.3em;
  transform: translate(-50%,0);
}



/* --- emsカート --- */
.cart_wrap .cartbox {
  margin-top: 8%;
  position: relative;
  padding: 3% 0;
  width: 100%;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
} 

.cart_wrap .cartbox .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  margin: auto;
  width: 90%;
}

.cart_wrap .cartbox .row form {
  width: 100%;
}

.cart_wrap .cart_button.soldout {
  width: 100% !important;
}

.cart_wrap .item_stock,
.cart_wrap .item_soldout,
.cart_wrap .item_count,
.cart_wrap .item_count select {
  font-family: "GenjyuuGLP", sans-serif;
  font-weight: 300;
  font-size: var(--fs_15);
}

.cart_wrap .item_count span {
  margin-right: 0.5em;  
}

.cart_wrap .item_stock span.item_stock_text,
.cart_wrap .item_soldout span.item_stock_text {
  font-weight: 900;
}

/* 黒 */
.cart_wrap.color_black .item_stock span.item_stock_text,
.cart_wrap.color_black .item_soldout span.item_stock_text {
  color: var(--black);
}

.cart_wrap .cart_button.in,
.cart_wrap .cart_button.soldout {
  margin: 1.5em auto auto;
  width: 100%;
  max-width: none;
  padding: 0.5em 0 0.75em;
  font-size: var(--fs_15);
}

/* ---------------------------
 ルビ（ふりがな）設定 cart
--------------------------- */
.cart-SPEC h2 ruby[data-ruby] {
  position: relative;
}

.cart-SPEC h2 ruby[data-ruby]::before {
  content: attr(data-ruby);
  position: absolute;
  top: -1em;
  left: 0;
  right: 0;
  margin: auto;
  font-size: 0.5em;
  line-height: 1;
  letter-spacing: 0.1em;
  text-align: center;
  white-space: nowrap;
}

.cart-SPEC h2 ruby rt {
  display: none;
}


/*-------------------------
 emsカートボタン
--------------------------*/

/* 在庫 */
.cartbox .item_stock {
  display: none;
}

/* 数量 */
.cartbox .item_count {
  margin-bottom: 5%;
}

/* カートに入れる */
.cartbox .cart_button.in {
  display: block;
  margin: auto;
  width: 100%;
}

.cartbox .cart_button.in img {
  width: 100%;
}

/* 再販売リクエスト（SOLD OUT） */
.cartbox .cart_button.resale {
  display: block;
  margin: auto;
  width: 100%;
}

.cartbox .cart_button.resale img {
  width: 100%;
}

/* --- link対策(PC・SP)@media制御 --- */
/* for PC */
@media (hover: hover) {
  .cartbox .cart_button.in:hover,
  .cartbox .cart_button.resale:hover {
    opacity: 0.6;
  }

}

/* for SP */
@media (hover: none) {
  .cartbox .cart_button.in:active,
  .cartbox .cart_button.resale:active {
    opacity: 0.6;
  }

}


