/* カスタマイズ用CSS */

/* 非表示ユーティリティ（全ページ共通） */
.custom-hidden {
  display: none !important;
}

/* 商品ステータスバッジ（注文履歴・再発注依頼などで「欠品」「完売」を強調表示） */
.product-status-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.4;
  vertical-align: middle;
  color: #c33;
  background: #fff;
}
.product-status-badge--out-of-stock,
.product-status-badge--sold-out {
  color: #c33;
}

/* 販売停止商品の画像オーバーレイ
   画像ラッパー要素にこのクラスを付与すると、暗めの半透明レイヤーを被せ「現在は購入できない」ことを視覚的に示す。
   併せて .product-image__status-label を内部に配置すれば、画像中央に「欠品」「完売」ラベルが表示される。 */
.product-image--unavailable {
  position: relative;
}
.product-image--unavailable::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
  border-radius: inherit;
  z-index: 1;
}
.product-image__status-label {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  padding: 4px 12px;
  background: #fff;
  border: 2px solid #c33;
  color: #c33;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
  letter-spacing: 1px;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

/* 注文手続き：商品明細内 span の左余白を除去 */
.ec-imageGrid .ec-imageGrid__content span {
  margin-left: 0;
}

/* デバッグモードの表示を制限 */

.ec-debugModeAlert + * {
  margin-top: 0px;
}

/* 全体 */
.ec-maintenanceAlert, .ec-debugModeAlert {
  height: 5px;
}

.ec-maintenanceAlert + * {
    margin-top: 5px;
}

body {
    font-family:'Meiryo UI','ヒラギノ角ゴシック';
    background-color: #ffffff;
}
  
  
  /* 商品一覧ページの金額表記 */
  .custom-product-description-1 {
    margin-bottom: 8px;
  }
  
  .custom-product-description-2 {
    margin-top: auto;
    margin-bottom: 8px;
  }
  
  .unit-price {
      margin-top: 8px;
      font-size: 20px;
      font-weight: bold;
  }
  
  .unit-price-tax, .carton-price {
      font-size: 12px;
      color: black;
  }
  
  .unit-description {
      font-size: 12px;
      color: red;
  }
  
  /* カスタムブロック共通 */
  .ec-eyecatchRole__introEnTitle {
    color: black;
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 0.8em;
  }
  
  .ec-eyecatchRole__introTitle {
    color: black;
    font-size: 26px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 1em;
  }
  
  .custom-ec-eyecatchRole__image {
    width: 50%;
  }
  
  .custom-ec-eyecatchRole .custom-ec-eyecatchRole__intro,
  .custom-ec-eyecatchRole .custom-ec-eyecatchRole__image {
    margin-top: 30px;
  }
  
  .custom-ec-eyecatchRole .ec-eyecatchRole__introDescription {
    margin-bottom: 30px;
  }
  
  .custom-ec-eyecatchRole__intro .ec-eyecatchRole__introDescription {
    color: black;
    line-height: 2;
  }
  
  .custom-ec-eyecatchRole__intro ul {
    list-style-type: none;
    margin: 16px 0;
    padding-left: 20px;
  }
  
  .custom-ec-eyecatchRole__intro .custom-notice {
    color: black;
    margin-bottom: 30px;
    line-height: 2;
  }
  
  .ec-sliderRole {
    margin-bottom: 0px;
  }
  
  /* トップページ */
  .ec-sliderRole,
  .main_visual,
  .slick-list,
  .slick-track {
    margin-bottom: 0px;
    max-height: 400px;
  }
  
  .slick-slide>img {
    object-fit: contain;
  }
  
  /* フッターブロック*/
  .custom-footerSub {
    font-weight: normal;
    font-size: 12px;
  }
  
  .ec-footerTitle .ec-footerTitle__logo .custom-footerSub a {
    font-size: 14px;
    color: #0080ff;
  }

  /* 注文編集：小計～合計セクション（商品別との区切り・小計の余白） */
  #order-product-custom .custom-summary-section {
    margin-top: 4rem;
  }
  #order-product-custom .custom-subtotal-row {
    margin-right: 64px;
  }
  /* 注文編集：小計～合計テーブル（custom-calculation-table と同じ構成、背景色なし） */
  #order-product-custom .custom-summary-table tbody tr {
    background-color: transparent;
  }
  
  /* 新着商品ブロック*/
  .ec-newItemRole__listItem {
    background-color: #eee;
    padding: 12px;
  }
  
  .ec-eyecatchRole {
    margin: 0;
  }
  
  .ec-eyecatchRole__image {
    margin: 0;
  }

  /* トップ eyecatch 画像を約2/3サイズに（SPは非表示のため PC のみ） */
  @media (min-width: 769px) {
    .ec-topSection--eyecatch .ec-eyecatchRole .ec-eyecatchRole__image {
      flex: 1 1 32%;
      max-width: 35%;
    }
  }
  
  .ec-sliderRole {
    padding-bottom: 40px;
  }
  
  /* プライバシーポリシー */
  .privacy-policy-list {
    list-style: none;
    padding: 0;
  }
  
  .privacy-policy-list li {
    margin-bottom: 24px
  }
  
  .privacy-polycy-items {
    margin-bottom: 8px;
    text-decoration: underline;
  }
  
  .privacy-polycy-item3-items {
    margin: 16px 0;
  }
  
  .privacy-polycy-item3-items li {
    margin-bottom: 16px;
  }
  
  .privacy-policy-notice,
  .privacy-polycy-administrator {
    padding: 0 16px;
    margin: 16px 0;
  }
  
  /*特定商取引法, お支払い方法*/
  .ec-borderedDefs dl {
    padding-bottom: 32px;
  }
  
  .ec-borderedDefs dt {
    padding: 0;
    height: auto;
  }
  
  .ec-borderedDefs dd {
    height: auto;
    line-height: 1.6;
  }

  /* 金額明細アコーディオン（名入れ料金・オプション料金） */
  .ec-totalBox__accordion {
    margin: 0 0 8px 0;
    padding: 0;
  }
  .ec-totalBox__accordion summary.ec-totalBox__accordion-trigger {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    list-style: none;
    cursor: pointer;
    font-weight: normal;
    padding: 0;
  }
  .ec-totalBox__accordion summary::-webkit-details-marker {
    display: none;
  }
  .ec-totalBox__accordion summary::marker {
    display: none;
  }
  .ec-totalBox__accordion-dt::after {
    content: " ＋";
    font-weight: bold;
    margin-left: 4px;
  }
  .ec-totalBox__accordion[open] .ec-totalBox__accordion-dt::after {
    content: " −";
  }
  .ec-totalBox__accordion-dt {
    text-align: left;
  }
  .ec-totalBox__accordion-dd {
    text-align: right;
  }
  .ec-totalBox__accordion-body {
    padding-top: 4px;
  }

/* フッター（落ち着いた淡いグレー背景。白カードを乗せたときに優しいコントラストになるよう調整） */
.ec-footerRole {
  background: linear-gradient(180deg, #f7f7f7 0%, #ececec 100%);
  border: none;
}
.ec-footerNavi .ec-footerNavi__link a {
  border-bottom-color: rgba(0, 0, 0, 0.12);
}

/* FAX注文用紙PDF（商品詳細・ご注文の流れ など） */
a.custom-fax-download__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: #6b7280;
  background: transparent;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
  vertical-align: baseline;
}
a.custom-fax-download__link::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  background: currentColor;
  opacity: 0.5;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z'/%3E%3C/svg%3E") center / contain no-repeat;
  flex-shrink: 0;
}
a.custom-fax-download__link:hover {
  color: #374151;
  border-color: #d1d5db;
  background-color: #f9fafb;
}

/* ご注文の流れ（トップブロック: ec-topSection / FAQ カードと同系統） */
.ec-topSection--purchaseFlow {
  padding: 28px 0 48px;
  background: transparent;
}

/* 注意喚起カラーアウト（名入れ商品など、通常導線と異なる注文方法を強調する） */
.ec-purchaseFlow-callout {
  margin: 0 0 24px;
  padding: 16px 18px;
  background: #fff7ec;
  border-left: 4px solid #ff8000;
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(26, 26, 31, 0.06);
}

.ec-purchaseFlow-callout__title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: #c55a00;
  line-height: 1.5;
}

.ec-purchaseFlow-callout__body {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #525263;
}

.ec-purchaseFlow-callout__body strong {
  color: #c55a00;
}

.ec-purchaseFlow-callout__body .ec-purchaseFlow-toggle.detail-link {
  display: inline;
}

@media (min-width: 768px) {
  .ec-purchaseFlow-callout {
    margin: 0 0 32px;
    padding: 20px 26px;
  }

  .ec-purchaseFlow-callout__title {
    font-size: 17px;
  }
}

@media (min-width: 768px) {
  .ec-topSection--purchaseFlow {
    padding: 36px 0 64px;
  }
}

.ec-topSection--purchaseFlow .ec-topSection__header--purchaseFlow {
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .ec-topSection--purchaseFlow .ec-topSection__header--purchaseFlow {
    margin-bottom: 24px;
  }
}

.ec-purchaseFlow-pageTitle {
  max-width: 100%;
}

.ec-purchaseFlow-pageTitle .ec-secHeading__jp {
  font-size: clamp(16px, 4vw, 18px);
}

.ec-purchaseFlow-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 768px) {
  .ec-purchaseFlow-steps {
    gap: 16px;
  }
}

.ec-purchaseFlow-stepCard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 18px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(26, 26, 31, 0.06);
  border: 1px solid rgba(26, 26, 31, 0.08);
}

@media (min-width: 768px) {
  .ec-purchaseFlow-stepCard {
    flex-direction: row;
    align-items: flex-start;
    gap: 28px;
    padding: 28px 32px;
    box-shadow: 0 10px 32px rgba(26, 26, 31, 0.06);
  }
}

.ec-purchaseFlow-stepIcon {
  flex-shrink: 0;
  text-align: center;
}

.ec-purchaseFlow-stepIcon img {
  width: 120px;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .ec-purchaseFlow-stepIcon img {
    width: 140px;
  }
}

.ec-purchaseFlow-stepBody {
  flex: 1;
  min-width: 0;
}

.ec-purchaseFlow-stepHead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  margin-bottom: 14px;
}

.ec-purchaseFlow-stepNum {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ff8000;
}

.ec-purchaseFlow-stepTitle {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: #333;
}

@media (min-width: 768px) {
  .ec-purchaseFlow-stepTitle {
    font-size: 20px;
  }
}

.ec-purchaseFlow-lead {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.75;
  color: #525263;
}

.ec-purchaseFlow-lead:last-child {
  margin-bottom: 0;
}

.ec-purchaseFlow-lead--note {
  font-size: 13px;
  color: #6b6b76;
}

.ec-purchaseFlow-lead--tight {
  margin-bottom: 0;
  margin-top: 4px;
}

.ec-purchaseFlow-subHeading {
  margin: 20px 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: #333;
}

.ec-topSection--purchaseFlow .ec-purchaseFlow-lead a {
  color: #c55a00;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ec-topSection--purchaseFlow .ec-purchaseFlow-lead a:hover {
  color: #ff8000;
}

.ec-purchaseFlow-toggle.detail-link {
  font: inherit;
  font-size: inherit;
  line-height: inherit;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  color: #c55a00;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  vertical-align: baseline;
}

.ec-purchaseFlow-toggle.detail-link:hover {
  color: #ff8000;
}

.ec-purchaseFlow-toggle.detail-link:focus-visible {
  outline: 2px solid #ff8000;
  outline-offset: 2px;
  border-radius: 2px;
}

.ec-purchaseFlow-orderList {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ec-purchaseFlow-orderList > li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(26, 26, 31, 0.08);
}

.ec-purchaseFlow-orderList > li:first-child {
  padding-top: 0;
}

.ec-purchaseFlow-orderList > li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ec-purchaseFlow-orderLabel {
  font-weight: 700;
  color: #333;
  margin-right: 4px;
}

.ec-purchaseFlow-orderHint {
  font-size: 14px;
  color: #525263;
}

.ec-topSection--purchaseFlow .ec-purchaseFlow-detail {
  display: none;
  margin-top: 12px;
  /* 左は border 3px + 本文余白を多めに（テーマの 16px 継承もここで上書き） */
  padding: 20px 22px 24px 36px;
  background: #f4f4f6;
  border-radius: 8px;
  border-left: 3px solid #ff8000;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-wrap: break-word;
  font-size: 14px;
  line-height: 1.75;
  color: #525263;
}

.ec-topSection--purchaseFlow .ec-purchaseFlow-detail.appear {
  display: block;
  animation: ec-purchaseFlow-fadeIn 0.35s ease;
}

/* テーマ側の li/dd などが 16px になるのを防ぐ */
.ec-topSection--purchaseFlow .ec-purchaseFlow-detail li,
.ec-topSection--purchaseFlow .ec-purchaseFlow-detail p,
.ec-topSection--purchaseFlow .ec-purchaseFlow-detail dd,
.ec-topSection--purchaseFlow .ec-purchaseFlow-detail dt {
  font-size: 14px;
  line-height: 1.75;
}

.ec-topSection--purchaseFlow .ec-purchaseFlow-detail dt {
  font-weight: 700;
  color: #333;
}

/* 番号が枠外にはみ出さないよう inside。字サイズは親の 14px に合わせる */
.ec-purchaseFlow-detail ol {
  margin: 14px 0 0;
  padding: 0;
  padding-inline-start: 0;
  list-style-position: inside;
  font-size: 14px;
  line-height: 1.75;
  color: #525263;
}

.ec-purchaseFlow-detail ol > li {
  margin: 0;
  padding: 10px 0;
}

.ec-purchaseFlow-detail ol > li:first-child {
  padding-top: 0;
}

.ec-purchaseFlow-detail ol > li > ul,
.ec-purchaseFlow-detail ol > li > ol {
  margin-top: 10px;
}

.ec-purchaseFlow-nestedList {
  margin: 10px 0 0;
  padding-left: 0;
  padding-inline-start: 2em;
  list-style-position: outside;
  font-size: 14px;
  line-height: 1.75;
  color: #525263;
}

.ec-purchaseFlow-noteList {
  margin: 10px 0 0;
  list-style: none;
  padding-left: 0;
  padding-inline-start: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #525263;
}

@media (max-width: 767px) {
  .ec-purchaseFlow-nestedList {
    padding-inline-start: 1.75em;
  }

  .ec-topSection--purchaseFlow .ec-purchaseFlow-detail {
    padding: 16px 18px 20px 28px;
  }

  .ec-topSection--purchaseFlow .ec-purchaseFlow-detail li,
  .ec-topSection--purchaseFlow .ec-purchaseFlow-detail p,
  .ec-topSection--purchaseFlow .ec-purchaseFlow-detail dd,
  .ec-topSection--purchaseFlow .ec-purchaseFlow-detail dt,
  .ec-purchaseFlow-detail ol {
    font-size: 14px;
    line-height: 1.75;
  }
}

.ec-purchaseFlow-noteList > li {
  position: relative;
  padding-left: 1.1em;
  margin-top: 6px;
}

.ec-purchaseFlow-noteList > li::before {
  content: "※";
  position: absolute;
  left: 0;
  color: #ff8000;
  font-weight: 700;
  font-size: 12px;
}

.ec-purchaseFlow-noteList--plain > li::before {
  content: "・";
  color: #525263;
  font-weight: 400;
}

.ec-purchaseFlow-detail--payment {
  border-left-color: #ff8000;
}

.ec-purchaseFlow-paymentItem {
  margin: 0 0 12px;
  padding: 14px 16px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(26, 26, 31, 0.06);
  border: 1px solid rgba(26, 26, 31, 0.06);
}

.ec-purchaseFlow-paymentItem:last-of-type {
  margin-bottom: 0;
}

.ec-purchaseFlow-paymentItem dt {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: #333;
}

.ec-purchaseFlow-paymentItem dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #525263;
}

@keyframes ec-purchaseFlow-fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-6px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

/* お届け先の複数指定（shipping_multiple） */
.ec-AddAddress .ec-AddAddress__select {
  margin-bottom: 12px;
}

/* お届け先＋数量＋削除の各組み合わせの区切り */
.ec-AddAddress .ec-AddAddress__select.shipping_item + .ec-AddAddress__select.shipping_item {
  border-top: 1px dashed #ccc;
  padding-top: 14px;
  margin-top: 2px;
}

.ec-AddAddress .ec-AddAddress__selectRow--address {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  min-width: 0;
}

.ec-AddAddress .ec-AddAddress__selectRow--address .ec-AddAddress__selectAddress {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  width: 100%;
}

.ec-AddAddress .ec-AddAddress__selectRow--address .ec-select {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  margin-bottom: 0;
}

.ec-AddAddress .ec-AddAddress__selectRow--address label {
  flex-shrink: 0;
  margin-bottom: 0;
  white-space: nowrap;
}

.ec-AddAddress .ec-AddAddress__selectRow--address select.shipping {
  flex: 1;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ec-AddAddress .ec-AddAddress__selectRow--quantity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ec-AddAddress .ec-AddAddress__selectRow--quantity .ec-AddAddress__selectNumber {
  display: flex;
  align-items: center;
  margin-left: 0;
}

.ec-AddAddress .ec-AddAddress__selectRow--quantity .ec-input {
  display: block;
  margin-bottom: 0;
}

.ec-AddAddress .ec-AddAddress__selectRow--quantity .ec-AddAddress__qtyInput {
  flex: 1;
  min-width: 0;
}

.ec-AddAddress .ec-AddAddress__selectRow--quantity .order-quantity-selector--shopping table {
  width: auto;
  max-width: 100%;
  border-collapse: collapse;
}

.ec-AddAddress .ec-AddAddress__selectRow--quantity .order-quantity-selector--shopping td {
  padding: 4px 0;
  border: none;
  vertical-align: middle;
}

.ec-AddAddress .ec-AddAddress__selectRow--quantity .order-quantity-selector--shopping .table-left {
  padding-left: 0;
  padding-right: 8px;
  font-size: 0.9em;
  color: #666;
  white-space: nowrap;
}

.ec-AddAddress .ec-AddAddress__selectRow--quantity .order-quantity-selector--shopping td:not(.table-left) {
  width: 100px;
}

.ec-AddAddress .ec-AddAddress__selectRow--quantity .order-quantity-selector--shopping select {
  display: block;
  width: 100px;
  max-width: 100%;
  height: 40px;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 0.9em;
  text-align: right;
  box-sizing: border-box;
}

.ec-AddAddress .ec-AddAddress__selectRow--quantity .order-quantity-total-line {
  margin: 6px 0 0;
  font-size: 0.9em;
  color: #333;
}

.ec-AddAddress .ec-AddAddress__itemtNotices {
  margin-top: 6px;
}

.ec-AddAddress .ec-AddAddress__qtyNotice {
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.5;
}

.ec-AddAddress .ec-AddAddress__deleteBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 40px;
  min-height: 40px;
  padding: 0 16px;
  margin: 0;
  line-height: 1;
  box-sizing: border-box;
}

@media only screen and (min-width: 768px) {
  .ec-AddAddress .ec-AddAddress__selectRow--address .ec-AddAddress__selectAddress {
    display: flex;
  }

  .ec-AddAddress .ec-AddAddress__selectRow--quantity .ec-AddAddress__selectNumber {
    display: flex;
  }

  .ec-AddAddress .ec-AddAddress__selectRow--address select.shipping {
    min-width: 0;
  }
}

/* トップページのカルーセル を SP のみ変更 */
@media (max-width: 768px) {
  .ec-topProductSlick {
    padding: 0;
  }

  .ec-sliderRole {
    padding: 0 0 20px;
  }

  /* Slick のページネーション(dots)を非表示
     ※ slick-theme.css の .slick-dotted.slick-slider { margin-bottom: 30px; } も
        合わせて 0 にしないと、dot を消した分の下余白だけが残る */
  .ec-topProductSlick .slick-dots,
  .ec-sliderRole .slick-dots {
    display: none !important;
  }

  .ec-topProductSlick .slick-dotted.slick-slider,
  .ec-sliderRole .slick-dotted.slick-slider {
    margin-bottom: 0;
  }
}

/* パスワード表示切替（会員登録・会員情報編集・パスワード再発行） */
.ec-passwordField {
  position: relative;
}

.ec-passwordField input {
  width: 100%;
  padding-right: 2.75em;
  box-sizing: border-box;
}

.ec-passwordField__toggle {
  position: absolute;
  top: 50%;
  right: 0.5em;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2em;
  height: 2em;
  padding: 0;
  border: 0;
  background: transparent;
  color: #666;
  cursor: pointer;
  line-height: 1;
}

.ec-passwordField__toggle:hover,
.ec-passwordField__toggle:focus {
  color: #333;
}

.ec-passwordField__toggle:focus-visible {
  outline: 2px solid #5cb1b1;
  outline-offset: 2px;
}

/* 商品カード：名入れ対応バッジ（画像直下・左寄せ） */
.product-nameprint-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  margin-top: 4px;
  margin-bottom: 2px;
}
.product-nameprint-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  box-sizing: border-box;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}
.product-nameprint-badge--header {
  background: #e60012;
  color: #fff;
  border: 1px solid #e60012;
}
.product-nameprint-badge--method {
  background: #fff;
  color: #e60012;
  border: 1px solid #e60012;
}
.ec-topProductCard__link .product-nameprint-badges {
  padding: 0 2px;
}
.product-list-card__link .product-nameprint-badges {
  margin-top: 6px;
  margin-bottom: 0;
}

/* 電話番号: スマホのみ tel リンク、PC はプレーンテキスト */
.responsive-tel__link {
  display: none;
}

.responsive-tel__text {
  display: inline;
}

@media (max-width: 767px) {
  .responsive-tel__link {
    display: inline;
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .responsive-tel__text {
    display: none;
  }
}

.custom-footer__table .responsive-tel__link {
  color: #c55a00;
}

.custom-footer__table a.responsive-tel__link:hover {
  color: #ff8000;
}

.custom-free_dial .responsive-tel__link {
  display: none;
}

@media (max-width: 767px) {
  .custom-free_dial .responsive-tel__link {
    display: block;
  }

  .custom-free_dial .responsive-tel__text {
    display: none;
  }
}