.table__01 {
  width: 100%;
}
.table__01 thead th {
  text-align: center;
}
.table__01 th, .table__01 td {
  padding: 0.75em 1em;
  border: 1px solid #d0d0d0;
}

@media (max-width: 767.98px) {
  .table-container.is-scroll {
    margin-right: -1.6rem;
    margin-left: -1.6rem;
    padding-right: 1.6rem;
    padding-left: 1.6rem;
    overflow: scroll;
  }
  .table-container.is-scroll table {
    width: 64rem;
    max-width: none;
  }
}
#page_margin_shop_password .one-column-area-inne .term-block {
  height: 25rem;
  padding: 1em 1.5em;
  overflow-y: auto;
  border: 1px solid #d9d9d9;
  font-size: 87.5%;
}

/* 特集のmoreボタン: MercePluginの旧デザイン(PC絶対配置)を打ち消し、新デザインの中央配置にする */
.p-home__feature .c-btn__01 {
  position: relative;
  top: auto;
  right: auto;
}

/* TOP KV: MercePluginの旧デザイン(角丸 border-radius:0.6rem)を打ち消し、長方形にする */
.p-home__hero .swiper-slide {
  border-radius: 0;
}

/* ヘッダーPCメガメニュー: MercePluginの旧デザイン(display:none/絶対配置)を打ち消し、新デザインで表示する */
@media (min-width: 768px) {
  .l-header__navi {
    display: block;
    position: static;
    top: auto;
    right: auto;
    background-color: transparent;
  }
}

/* moreボタン: MercePluginの旧デザイン(角丸 border-radius:0.5rem)を打ち消し、新デザインの直角にする */
.c-btn__01 {
  border-radius: 0;
}

/* ヘッダー: MercePluginの旧デザイン(inner固定高さ9.6rem)を打ち消し、ロゴとメガメニューの間隔を新デザインに合わせる */
@media (min-width: 768px) {
  .l-header__inner {
    height: auto;
  }
}

/* 送料無料バー金額: MercePlugin旧デザインの黄色(#f2c94c)を打ち消し */
.l-header__infoBar:not(.alert) span {
  color: inherit;
}

/*
 * ヘッダインフォバー:
 * MercePlugin旧デザインは .l-header__infoBar 自体を absolute 配置しており、
 * 2本並ぶと後勝ちで送料無料バーが隠れる。ラッパー(.l-header__infoBars)側で
 * 配置する新デザインに合わせ、各バーは通常フローで縦に積む。
 */
.l-header__infoBar {
  position: static;
  top: auto;
  left: auto;
}

/* ヘッダお知らせバー: a要素でもデザインどおりに表示 */
a.l-header__infoBar {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* メガメニューPC: MercePluginの旧デザイン(li+li margin-top)を打ち消す。新デザインはgapで間隔を取る */
@media (min-width: 768px) {
  .l-header__menu li + li {
    margin-top: 0;
  }
}

/* SPヘッダー / ハンバーガー展開メニュー: MercePlugin旧デザインを打ち消し、new_design0715(brand.html)に合わせる */
@media (max-width: 767.98px) {
  .l-header {
    padding: 0 1.6rem;
  }

  .l-header__inner {
    height: 6.4rem;
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
  }

  .l-header__hamburger {
    position: static;
    top: auto;
    left: auto;
    margin-left: 0;
  }

  .l-header__left {
    display: flex;
    gap: 0 1.8rem;
    align-items: center;
    flex-shrink: 0;
    justify-self: start;
  }

  /* ロゴ: 中央（旧: margin-left: 3.6rem で右寄りの原因） */
  .l-header__title {
    width: 8rem;
    margin: 0;
    margin-left: 0; /* MercePlugin SPの 3.6rem を打ち消し */
    justify-self: center;
    text-align: center;
  }

  /* 右アイコン群: 通常フロー（旧: position absolute + 小さいアイコン） */
  .l-header__shopNavi {
    position: static;
    top: auto;
    right: auto;
    margin-left: 0;
    justify-self: end;
    display: flex;
    gap: 1.2rem;
    align-items: center;
    line-height: 1;
  }

  .l-header__shopNavi > a {
    position: relative;
    display: inline-flex;
    align-items: center;
  }

  .l-header__shopNavi .icon {
    width: 3.2rem;
    height: 3.2rem;
  }

  .l-header__shopNavi .icon-favorite {
    width: 3rem;
    height: 2.6rem;
  }

  .l-header__shopNavi .icon-cart {
    width: 2.5rem;
    height: 2.3rem;
  }

  .l-header__shopNavi .cart-count {
    width: 1.6rem;
    height: 1.6rem;
    top: -5px;
    right: -0.8rem;
    font-size: 0.8rem;
  }

  .l-header__search-btn--sp .icon {
    width: 2rem;
    height: 2rem;
  }

  /* 開いたメニューの縦幅・余白（旧: padding 4.8rem 2.4rem / width calc(100% + 4.8rem)） */
  .l-header__navi {
    width: auto;
    height: calc(100dvh - 6.4rem);
    padding: 2.4rem 0;
    position: absolute;
    top: calc(6.4rem + 1px);
    right: 0;
    left: 0;
    overflow-y: scroll;
    background-color: #fff;
    font-size: 1.5rem;
  }

  .l-header__navi--inner {
    gap: 3.2rem;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  .l-header__menu {
    width: 100%;
    display: block;
    text-align: left;
    font-size: 1.5rem;
  }

  .l-header__menu > li {
    padding: 0 1.6rem;
  }

  /* 項目間隔（旧: 1em / customの margin-top:0 打ち消し） */
  .l-header__menu > li + li,
  .l-header__menu li + li {
    margin-top: 1.6rem;
  }

  /* アコーディオンの＋アイコン */
  .l-header__menu--parent > p {
    position: relative;
    font-weight: 500;
    font-size: 1.8rem;
  }

  .l-header__menu--parent > p::before,
  .l-header__menu--parent > p::after {
    content: "";
    width: 1.4rem;
    height: 1px;
    position: absolute;
    top: 50%;
    right: 1.6rem;
    background-color: #0a0f22;
    transition: all 0.3s;
    transform: translateY(-50%);
  }

  .l-header__menu--parent > p::before {
    transform: rotate(90deg);
  }

  .l-header__menu--parent > p span {
    display: none;
  }

  .l-header__menu--parent > p.is-open::before {
    transform: rotate(0);
  }

  .l-header__menu--parent > p.is-open::after {
    opacity: 0;
    transform: rotate(0);
  }

  .l-header__menu--parent > .l-header__menu--child {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    padding: 0;
    position: static;
    box-shadow: none;
  }

  .l-header__menu--child {
    margin-top: 1.6rem;
  }

  .l-header__menu + * {
    padding-top: 3.2rem;
    border-top: 1px solid #dcdee3;
  }

  .l-header__child--title {
    display: none;
  }

  .l-header__child--list {
    gap: 0.8rem;
    flex-direction: column;
  }

  .l-header__child--list > li > a::after {
    display: none;
  }
}

/* 商品一覧: 「○件の商品が見つかりました」を折り返さず1行で表示する */
.ec-searchnavRole__counter {
  white-space: nowrap;
}

/* ランキング王冠バッジは1〜3位のみ（4位以降は非表示） */
.ranking .c-card__01:nth-child(n+4) .c-card__01--thumb::before {
  content: none;
  display: none;
  counter-increment: none;
}

/*
 * 二重価格の矢印:
 * style.css(0715) は .c-card__01--doublePrice .c-card__01--price::before で常時表示するが、
 * 参照価格がない場合は矢印を出さない
 */
.c-card__01--doublePrice:not(.is-price-double) .c-card__01--price::before {
  content: none;
}

/*
 * カード売価の色:
 * - 基本は黒（単価・会員割引対象外）
 * - 二重価格かつ会員割引対象の売価のみ赤
 */
.c-card__01--doublePrice .c-card__01--price {
  color: #0a0f22;
}
.c-card__01--doublePrice.is-price-double:not(.is-member-excluded) .c-card__01--price {
  color: #dc0404;
}

.c-card__01--serial-discount {
  margin-top: 0.8rem;
  color: #dc0404;
  font-weight: 500;
  font-size: 1.4rem;
}

.product-prices__serial-discount {
  margin: 0.8rem 0 0;
  color: #dc0404;
  font-weight: 500;
  font-size: 1.6rem;
}

/* 商品詳細 販売価格: 本番と同じ黒にする */
.p-product__detail .product-prices .sale {
  color: #000000;
}

/* カート追加モーダル: .l-main { overflow: hidden } 配下だと fixed が効かず画面外に出るため、body 直下で viewport 基準に表示する */
.ec-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  width: 100%;
  height: 100%;
}
.ec-modal .ec-modal-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}
