.cartBox img,
.cartBox02 .cart_inner .close img {
  width: auto;
}

.cartBox p.pic img,
.cartPushDisp img,
.cartBox02 .cart_inner .cartin2 img {
  width: 100%;
}
/* new_room_common.css から index4.html で使う記述のみ抽出 */
/* PC / SP 共通で書き、差分だけメディアクエリで上書きする構成 */
.cartBox .cart_inner dl dd {
  margin: 0;
}

:root {
  --space: 8px;
  --black: #222222;
  --gray: #808080;
  --blue: #239bd9;
  --gray_border: #dadada;
  --gray_border2: #e6e6e6;
  --gray2: #f4f4f4;
  --pink: #d65072;
  --icon: "Material Symbols Outlined";
  --icon_fill: "Material Symbols Sharp";
  --fav: "\e87d";
  --close: "\e5cd";
  --search: "\e8b6";
  --arrow_down: "\e313";
  --location: "\e0c8";
  --fill: "FILL" 1, "wght" 300, "GRAD" 0, "opsz" 24;
}

/* =========================================================
   共通（PC / SP）
   ========================================================= */

.clearfix::after {
  content: "";
  clear: both;
  display: block;
}

/* ---------- モーダル背景 ---------- */
.cartBox,
.cartBox02,
.cartBox03,
.cartBox04 {
  width: 100%;
  height: 100%;
  background: rgba(51, 51, 51, 0.6);
  position: fixed;
  top: 0;
  left: 0;
  /* 未指定だとbodyのmargin分右にずれる */
  overflow-y: auto;
  z-index: 10000;
  -webkit-overflow-scrolling: touch;
}

/* ---------- モーダル本体（幅は max-width でPC、% でSPに対応） ---------- */
.cartBox .cart_inner,
.cartBox02 .cart_inner,
.cartBox04 .cart_inner {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
  padding: 10px 10px 20px;
  margin-bottom: 20px;
  background: #fff;
}

.cartBox .cart_inner {
  top: 3%;
  width: 94%;
  max-width: 620px;
}

.cartBox02 .cart_inner {
  top: 14%;
  width: 94%;
  max-width: 620px;
}

.cartBox03 .cart_inner {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
  padding: 25px 20px;
  margin-bottom: 20px;
  background: #fff;
  overflow-y: auto;
  width: 90%;
  max-width: 400px;
}

.cartBox04 .cart_inner {
  top: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 420px;
}

/* ---------- 閉じるボタン ---------- */
.cartBox .cart_inner .close,
.cartBox02 .cart_inner .close {
  text-align: right;
}

.cartBox03 .cart_inner .close_bt,
.cartBox04 .cart_inner .close_bt {
  position: absolute;
  top: 1.5%;
  right: 0;
}

.cartBox03 .cart_inner .close_bt {
  width: 18px;
  height: 18px;
  transform: rotate(45deg);
  right: 10px;
}

.cartBox03 .cart_inner .close_bt::before,
.cartBox03 .cart_inner .close_bt::after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #808080;
}

.cartBox03 .cart_inner .close_bt::before {
  width: 1px;
  height: 18px;
}

.cartBox03 .cart_inner .close_bt::after {
  width: 18px;
  height: 1px;
}

/* ---------- 商品情報（カラー） ---------- */
.cartBox .cart_inner .color_box,
.cartBox02 .cart_inner .color_box {
  border-bottom: 1px solid #ccc;
  margin-top: 7px;
  margin-bottom: 22px;
  padding-bottom: 1px;
}

.cartBox .cart_inner .color_box {
  display: flex;
  align-items: center;
}

.cartBox .cart_inner .color_box p.pic,
.cartBox02 .cart_inner .color_box p.pic {
  display: inline-block;
  width: 25%;
  vertical-align: middle;
  margin-right: 10px;
}

.cartBox .cart_inner .color_box p.txt,
.cartBox02 .cart_inner .color_box p.txt {
  display: inline-block;
  vertical-align: middle;
  font-size: 12px;
  line-height: 160%;
}

.cartBox .cart_inner .color_box .cart_pic__desc {
  flex-grow: 1;
  display: flex;
  flex-wrap: wrap;
  font-size: 16px;
}

.cartBox .cart_inner .color_box .cart_pic__desc__color {
  width: 100%;
}

/* 税込・税抜 */
.price_tax_notation {
  padding: 0 3px;
  font-size: 12px;
}

.cartBox .cart_inner .color_box .price_tax_notation {
  font-size: 12px;
}

/* ---------- サイズ選択行 ---------- */
.cartBox .cart_inner dl,
.cartBox02 .cart_inner dl {
  border-bottom: 1px solid #ccc;
  margin-top: 5px;
  margin-bottom: 22px;
  padding-bottom: 22px;
}

.cartBox .cart_inner dl {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

div.cart_inner dl.clearfix::after {
  content: none;
}

dl.f_wrap {
  flex-wrap: wrap;
}

.cartBox .cart_inner dt,
.cartBox02 .cart_inner dt {
  width: 50%;
  float: left;
  margin-top: 10px;
}

.cartBox .cart_inner dd {
  width: 105px;
  float: right;
  /* line-height: 140%; */
}

.cartBox .cart_inner dl dt {
  margin-top: 0 !important;
  width: 53% !important;
  max-width: 180px;
  font-size: 14px;
  line-height: 46px !important;
}

.cartBox .cart_inner dl#skuEvent {
  position: relative;
}

.cartBox .cart_inner dl#skuEvent dt {
  position: relative;
  top: 0;
  transform: translateY(0);
  line-height: 160% !important;
}

.cartBox .cart_inner dl dt span {
  font-size: 10px;
}

.cartBox .cart_inner dl dt span.search_sizeIcon {
  width: 40px;
  display: inline-block !important;
  vertical-align: middle;
  margin-right: 10px;
}

.cartBox .cart_inner dl dt span.search_sizeIcon img {
  display: block;
  width: 100%;
}

.cartBox .cart_inner dl dt p {
  line-height: 1.2;
  width: 120px;
}

.cartBox .cart_inner dl dt p span:first-child {
  margin-top: 5px;
}

.cartBox .cart_inner dl dt p span {
  font-size: 11px;
  color: #222;
  line-height: 1.2;
  display: block !important;
}

.cartBox .cart_inner dl dd {
  float: none;
  display: flex;
  align-items: center;
  width: 47%;
  max-width: 165px;
  /* line-height: 140%; */
}

/* ---------- お気に入り・カートボタン ---------- */
.cartBox .cart_inner .favorite_Push {
  width: 23px !important;
  margin: 12px 15px 12px 0;
  cursor: pointer;
}

.cartBox .cart_inner .favorite_Push .off {
  font-size: inherit !important;
}

.cartBox .cart_inner .favorite_Push img {
  width: 100%;
}

.cartBox .cart_inner dl dd div.favorite_Push {
  margin: 0 12px 0 0;
  position: relative;
  top: 0;
}

.cartBox .cart_inner dl dd div.favorite_Push p a {
  display: block;
  width: 22px;
  margin-right: 12px;
}

.cartBox .cart_inner dl dd div.cartPush05,
.cartBox .cart_inner dl dd div.cartPush02 {
  width: auto;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: 14px;
  color: #fff;
  position: relative;
}

.cartBox .cart_inner dl dd div.cartPush03 {
  position: relative;
  line-height: 40px;
}

/* 販売前 */
.cartBox .sales_before {
  font-size: 13px;
  text-align: center;
}

.cartBox .sales_before span {
  font-size: 11px;
}

/* ---------- サイズ検索案内 ---------- */
div.search_sizeBox {
  background: #f4f4f4;
  padding: 10px;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

div.search_sizeBox span.search_sizeIcon {
  display: inline-block;
  width: 40px;
  margin-right: 10px;
}

div.search_sizeBox span.search_sizeIcon img {
  display: block;
  width: 100%;
}

div.search_sizeBox p {
  font-size: 12px;
}

/* ---------- お気に入り促す ---------- */
dl#skuEvent .favorite_login {
  display: none;
}

dl#skuEvent .favorite_login p.favorite_login_p {
  margin-top: 30px;
  font-size: 14px;
  font-weight: bold;
  padding-bottom: 5px;
}

dl#skuEvent .favorite_login .favorite_login_a {
  margin-bottom: 30px;
}

dl#skuEvent .favorite_info {
  display: none;
}

dl#skuEvent .favorite_info p.favorite_info_p {
  font-size: 14px;
  font-weight: bold;
  line-height: 1.8em;
}

dl#skuEvent .favorite_info p.favorite_info_p span {
  font-size: 12px;
  font-weight: normal;
  display: block;
  padding-top: 20px;
  margin-bottom: 15px;
  line-height: 2em;
}

dl#skuEvent .favorite_info .favorite_info_a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  margin: 0 auto 30px;
}

dl#skuEvent .favorite_info .favorite_info_a a {
  width: 48%;
}

dl#skuEvent .favorite_info .favorite_info_a a.favorite_info_app,
dl#skuEvent .favorite_info .favorite_info_a a.favorite_info_line {
  color: #fff;
  font-size: 12px;
  text-decoration: none;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

dl#skuEvent .favorite_info .favorite_info_a a.favorite_info_app {
  background-color: #808080;
}

dl#skuEvent .favorite_info .favorite_info_a a.favorite_info_app img {
  width: 25px;
  height: auto;
  margin-right: 8px;
}

dl#skuEvent .favorite_info .favorite_info_a a.favorite_info_line {
  background-color: #22ba4f;
}

dl#skuEvent .favorite_info .favorite_info_a a.favorite_info_line img {
  width: 40px;
  height: auto;
  margin-left: -15px;
}

/* ---------- カート追加完了（cartBox02） ---------- */
.cartBox02 .tl_txt {
  font-size: 16px;
  padding: 50px 0;
  text-align: center;
}

.cartBox02 .bt {
  padding: 10px 0 80px;
}

.cartBox02 .cartin,
.cartBox02 .close.bt {
  width: 60%;
  margin: 0 auto;
}

/* ---------- 再入荷通知（cartBox03） ---------- */
.cartBox03 .tl_txt {
  font-size: 18px;
  text-align: center;
  margin-bottom: 27px;
}

.cartBox03 .item_detail {
  background: #f4f4f4;
  box-sizing: border-box;
  padding: 20px;
  font-size: 12px;
  margin-bottom: 10px;
}

.cartBox03 .item_detail #restock_targetinfo_brand_id,
.cartBox03 .item_detail #restock_targetinfo_colorsize_id {
  font-size: 10px;
}

div.cartBox03 div.cart_inner p.restock_message {
  font-size: 12px;
  margin-bottom: 10px;
}

.cartBox03 .restock_attention {
  margin-bottom: 20px;
  color: #239bd9;
  font-size: 10px;
}

.cartBox03 dl.line_not dt,
.cartBox03 dl.mail_not dt {
  font-size: 16px;
  font-weight: bold;
  border-bottom: 1px solid #dadada;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.cartBox03 dl.line_not dd {
  font-size: 11px;
}

.cartBox03 dl.line_not dd a {
  width: 100%;
  height: 50px;
  border-radius: 5px;
  background: #06c755;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-top: 13px;
  margin-bottom: 30px;
  font-size: 14px;
}

.cartBox03 dl.line_not dd a button {
  background: #06c755;
  border: none;
}

.cartBox03 dl.mail_not dd p.address_t {
  font-size: 12px;
  font-weight: bold;
}

.cartBox03 dl.mail_not p.address_t2 {
  margin-top: 20px;
}

.cartBox03 dl.mail_not dd p.address_t2 span.indent-1-blue {
  color: #239bd9;
  font-size: 11px;
}

.cartBox03 dl.mail_not dd p.address_t2 span.indent-1 {
  font-size: 11px;
}

.cartBox03 dl.mail_not dd p.address_bt a {
  height: 50px;
  background: #707070;
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  text-decoration: none;
}

.cartBox03 dl.mail_not p input {
  border: 1px solid #dadada;
  border-radius: 3px;
  width: 100%;
  height: 40px;
  font-size: 14px;
}

.cartBox03 .address_t {
  margin-top: 15px;
  margin-bottom: 5px;
}

.cartBox03 input[type="text"] {
  border: 1px solid #ccc;
  width: 100%;
  font-size: 16px;
  /* iOSのズーム防止のため16px以上 */
  color: #999;
  border-radius: 3px;
  box-sizing: border-box;
  cursor: pointer;
  padding: 10px 5px 8px;
}

.cartBox03 .address_t2 {
  margin: 10px 0 20px;
  font-size: 90%;
}

.cartBox03 .address_t3 {
  font-size: 95%;
  text-align: center;
}

.cartBox03 .address_bt {
  text-align: center;
  margin-top: 20px;
}

/* チェックボックス（丸型） */
.cartBox03 input[type="checkbox"] {
  opacity: 0;
  position: absolute;
  display: none;
  margin: 0;
}

.cartBox03 input[type="checkbox"] + label {
  position: relative;
  display: inline-block;
  margin-right: 12px;
  padding: 0 0 0 30px;
  font-size: 105%;
  line-height: 30px;
  cursor: pointer;
}

.cartBox03 input[type="checkbox"] + label::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  box-sizing: border-box;
  display: block;
  width: 25px;
  height: 25px;
  margin-top: -12px;
  background: #fff;
  border: 2px solid #ccc;
  border-radius: 30px;
}

.cartBox03 input[type="checkbox"]:checked + label::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 4px;
  box-sizing: border-box;
  display: block;
  width: 17px;
  height: 17px;
  margin-top: -8px;
  background: #262626;
  border-radius: 8px;
}

/* ---------- 登録完了（cartBox04） ---------- */
.cartBox04 .tl_txt {
  font-size: 16px;
  text-align: center;
  margin-bottom: 15px;
  border-bottom: 1px solid #000;
  padding-bottom: 10px;
}

.cartBox04 .tl_txt2 {
  margin: 4% 0 10%;
  text-align: center;
}

.cartBox04 .tl_txt3 {
  text-align: center;
}

.cartBox04 .address_bt {
  text-align: center;
  margin-top: 40px;
}

/* ---------- クーポン ---------- */
dl.targetCoupon .cartPush02::before,
dl.targetCoupon .cartPush03::before,
dl.targetCoupon .cartPush05::before {
  content: "クーポン対象";
  display: block;
  background: #219bd9;
  color: #fff;
  font-size: 10px;
  width: 80px;
  text-align: center;
  position: absolute;
  top: -10px;
  left: -10px;
  border-radius: 2px;
  line-height: 2;
}

.coupon_announce {
  margin: 40px auto;
  background: #f3fafd;
  padding: 35px 30px;
  width: 90%;
  box-sizing: border-box;
}

.coupon_announce .just_more {
  font-weight: bold;
  margin-bottom: 15px;
  color: #219bd9;
  font-size: 15px;
  border-bottom: dotted 1px #219bd9;
  padding-bottom: 5px;
}

.coupon_announce .coupon_detail {
  width: 80%;
  margin: 0 auto;
}

.coupon_announce .coupon_detail .coupon_name {
  font-weight: bold;
  margin-bottom: 15px;
  color: #219bd9;
}

.coupon_announce .coupon_detail .coupon_limit {
  font-size: 11px;
  margin-bottom: 30px;
}

.coupon_announce .coupon_detail .coupon_limit a {
  display: inline-block;
  text-decoration: underline;
  color: #222;
  font-size: 11px;
  margin-left: 10px;
}

.couponItemArea {
  margin-top: 20px;
  position: relative;
}

.couponItemArea .couponItemTitle {
  margin-bottom: 10px;
}

.couponItemArea ul {
  overflow-x: scroll;
  font-size: 0;
  white-space: nowrap;
  box-sizing: border-box;
  margin-bottom: 20px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* 元は ul:-webkit-scrollbar（コロン1つ）で効いていなかったので修正 */
.couponItemArea ul::-webkit-scrollbar {
  display: none;
}

.couponItemArea ul li {
  vertical-align: top;
  display: inline-block;
  width: 142px;
  position: relative;
}

.couponItemArea ul li div.textOverflow p.label::after,
.couponItemArea ul li div.textOverflow p.label::before {
  display: none;
}

.couponItemArea ul li p {
  font-size: 12px;
  text-align: left;
  box-sizing: border-box;
  padding: 0 6px;
  white-space: wrap;
}

.couponItemArea ul li p.photo,
.couponItemArea ul li p.photo img {
  display: block;
  width: 100%;
}

.couponItemArea ul li p.photo {
  margin-bottom: 10px;
  padding: 0;
}

.couponItemArea ul li p.price::before {
  content: "¥";
}

.couponAllItem {
  width: 60%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  background: #219bd9;
  border-radius: 5px;
  color: #fff !important;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
}

.couponItemArea a.coupon-scroll-left,
.couponItemArea a.coupon-scroll-right {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 1px solid #dadada;
  background: #fff;
  top: 100px;
  z-index: 3;
  transform: translate(0, 0);
  transition: 1s;
}

.couponItemArea a.coupon-scroll-left {
  left: 0;
  opacity: 0;
}

.couponItemArea a.coupon-scroll-right {
  right: 0;
}

.couponItemArea a.coupon-scroll-left::before,
.couponItemArea a.coupon-scroll-right::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-top: 1px solid #575757;
  position: absolute;
  top: 50%;
  left: 50%;
}

.couponItemArea a.coupon-scroll-left::before {
  border-left: 1px solid #575757;
  transform: rotate(-45deg) translate(1px, -3px);
}

.couponItemArea a.coupon-scroll-right::before {
  border-right: 1px solid #575757;
  transform: rotate(45deg) translate(-5px, 0);
}

/* =========================================================
   SP（750px以下）の差分
   ========================================================= */
@media screen and (max-width: 750px) {
  dt img,
  dd img {
    vertical-align: bottom;
  }

  a:link {
    color: #333;
  }

  p.close img {
    width: 8%;
  }

  p.close.bt img {
    width: 100%;
  }

  span.cartPushDisp.sales_before {
    display: inline-block;
    width: 100%;
  }

  span.cartPushDisp.sales_before div {
    font-size: 13px;
    text-align: center;
    width: 100%;
    color: #222 !important;
  }

  /* カート追加完了：ボタンを広めに */
  .cartBox02 .cartin,
  .cartBox02 .close.bt {
    width: 80%;
  }

  /* クーポン：余白を詰めて横幅を確保 */
  .coupon_announce {
    margin: 30px auto;
    padding: 25px 16px;
  }

  .coupon_announce .coupon_detail {
    width: 100%;
  }

  .couponAllItem {
    width: 80%;
  }

  .cartBox .cart_inner dl dd {
    float: none;
    display: flex;
    width: 47%;
    max-width: 165px;
  }
}
