@charset "UTF-8";
.ec-cartRole__main__subscription__list figure {
  border-radius: 0px !important;
}
/* ===================================
   フォーム要素の共通スタイル
   =================================== */
/* フォーム要素でキャレットを表示 */
input[type=text],
input[type=email],
input[type=password],
input[type=number],
input[type=tel],
input[type=url],
input[type=search],
textarea {
  caret-color: auto !important;
}
/* ---- Errors ---- */
.ec-input .ec-errorMessage,
.ec-birth .ec-errorMessage,
.ec-select .ec-errorMessage,
.ec-halfInput .ec-errorMessage,
.ec-numberInput .ec-errorMessage,
.ec-zipInput .ec-errorMessage,
.ec-telInput .ec-errorMessage,
.ec-checkbox .ec-errorMessage,
.ec-radio .ec-errorMessage,
.ec-errorMessage {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  margin-bottom: 15px;
  font-weight: 500;
}
/* ---- Required / Optional Badges ---- */
.ec-optional {
  display: inline-block;
  padding: 2px 6px;
  margin-right: 10px;
  font-size: 12px;
  font-weight: 500;
  color: #111111;
  border: 1px solid;
  border-radius: 3px;
  text-wrap-mode: nowrap;
}
.ec-required,
.pet-form-label .required,
.pet-info-container dt .required {
  display: inline-block;
  padding: 2px 6px;
  margin-right: 10px;
  margin-left: 0;
  font-size: 12px;
  font-weight: 500;
  color: #DE5D50;
  border: 1px solid;
  border-radius: 3px;
  text-wrap-mode: nowrap;
}
.ec-progress .ec-progress__item.is-complete:after {
  background: #D9A755;
}
.ec-progress .is-active .ec-progress__label {
  color: #C3976F;
}
.ec-progress .is-active .ec-progress__number {
  background: #9f7620;
}
/* 基本スタイル - input, textarea, select */
input[type=text],
input[type=email],
input[type=password],
input[type=number],
input[type=tel],
input[type=url],
input[type=search],
textarea,
select,
body main select,
.ec-select select,
.ec-input select,
.ec-birth select,
.ec-halfInput select,
.ec-numberInput select,
.ec-zipInput select,
.ec-telInput select {
  background-color: #ffffff !important;
  border: 1px solid #cccccc !important;
  border-radius: 0.4rem !important;
  outline: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease !important;
  cursor: text !important;
  font-weight: 500 !important;
}
/* selectのカーソルをポインターに変更 */
select,
body main select,
.ec-select select,
.ec-input select,
.ec-birth select,
.ec-halfInput select,
.ec-numberInput select,
.ec-zipInput select,
.ec-telInput select {
  cursor: pointer !important;
  min-height: 40px !important;
  height: auto !important;
  padding: 8px 35px 8px 12px !important;
  line-height: 1.5 !important;
}
/* セレクトボックスの矢印アイコン位置調整 */
body main select {
  background-position: top 50% right 12px !important;
}
/* ホバー時のスタイル */
input[type=text]:hover:not(:disabled):not(.error),
input[type=email]:hover:not(:disabled):not(.error),
input[type=password]:hover:not(:disabled):not(.error),
input[type=number]:hover:not(:disabled):not(.error),
input[type=tel]:hover:not(:disabled):not(.error),
input[type=url]:hover:not(:disabled):not(.error),
input[type=search]:hover:not(:disabled):not(.error),
textarea:hover:not(:disabled):not(.error),
select:hover:not(:disabled):not(.error),
body main select:hover:not(:disabled):not(.error) {
  background-color: #f7f7f7 !important;
  border-color: #aaaaaa !important;
}
/* フォーカス時のスタイル（ブラウン色） */
input[type=text]:focus:not(:disabled):not(.error),
input[type=email]:focus:not(:disabled):not(.error),
input[type=password]:focus:not(:disabled):not(.error),
input[type=number]:focus:not(:disabled):not(.error),
input[type=tel]:focus:not(:disabled):not(.error),
input[type=url]:focus:not(:disabled):not(.error),
input[type=search]:focus:not(:disabled):not(.error),
textarea:focus:not(:disabled):not(.error),
select:focus:not(:disabled):not(.error),
body main select:focus:not(:disabled):not(.error),
input[type=text]:focus-visible:not(:disabled):not(.error),
input[type=email]:focus-visible:not(:disabled):not(.error),
input[type=password]:focus-visible:not(:disabled):not(.error),
input[type=number]:focus-visible:not(:disabled):not(.error),
input[type=tel]:focus-visible:not(:disabled):not(.error),
input[type=url]:focus-visible:not(:disabled):not(.error),
input[type=search]:focus-visible:not(:disabled):not(.error),
textarea:focus-visible:not(:disabled):not(.error),
select:focus-visible:not(:disabled):not(.error) {
  background-color: #ffffff !important;
  border-color: #C4A57B !important;
  box-shadow: inset 0 0 0 0.5px #C4A57B !important;
  transform: scale(1) !important;
  outline: none !important;
}
/* アクティブ時（クリック時） - 押している間だけ */
input[type=text]:active:not(:disabled):not(.error),
input[type=email]:active:not(:disabled):not(.error),
input[type=password]:active:not(:disabled):not(.error),
input[type=number]:active:not(:disabled):not(.error),
input[type=tel]:active:not(:disabled):not(.error),
input[type=url]:active:not(:disabled):not(.error),
input[type=search]:active:not(:disabled):not(.error),
textarea:active:not(:disabled):not(.error),
select:active:not(:disabled):not(.error),
body main select:active:not(:disabled):not(.error) {
  transform: scale(0.998) !important;
}
/* 無効化された要素 */
input:disabled,
textarea:disabled,
select:disabled {
  background-color: #f7f7f7 !important;
  cursor: not-allowed !important;
  opacity: 0.6 !important;
}
/* 注文手続きフォームスタイル　*/
/* 注文確認画面の内容テキストにfont-weight: 500を適用 */
.ec-orderOrder__inner p,
.ec-orderOrder__inner span:not(.ec-price__label):not(.ec-price__symbol):not(.ec-price__tax),
.ec-orderOrder__inner .customer-edit,
.ec-imageGrid__content p,
.ec-cartRole__side__price .price,
.ec-cartRole__side__price .yen,
.ec-cartRole__side__price .total,
.shopping-sticky-detail-content .detail-value,
.shopping-sticky-header-row .ec-price__amount,
.purchase-type-text {
  font-weight: 500 !important;
}
.ec-orderOrder__inner label {
  font-weight: 600;
}
/* ===================================
   ラジオボタン・チェックボックスのスタイル
   =================================== */
/* ラジオボタン本体を完全に非表示 */
input[type=radio] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}
/* チェックボックスの基本スタイル（そのまま維持） */
input[type=checkbox] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #cccccc;
  background-color: #ffffff;
  cursor: pointer;
  position: relative;
  transition: all 0.15s ease;
  vertical-align: middle;
  margin-right: 8px;
  gap: 5px;
  border-radius: 4px;
}
.agree-area a {
  color: #111111;
  font-weight: 600;
  text-decoration: underline;
}
.password-check-item .check-icon::before {
  content: "\f00c" !important; /* fa-check */
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-size: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.ec-cartCompleteRole__title {
  font-size: 18px;
  font-weight: 600;
  margin: 68px 0px 28px 0px;
}
.cartCompleteRole__id {
  width: -moz-fit-content;
  width: fit-content;
  padding: 10px 25px;
  margin: 0 auto;
  background: #f2f2f2;
  font-weight: 500;
}
.ec-reportDescription {
  margin: 38px auto 68px auto;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
}
.pet-info-header {
  background: #f6f2e8;
  padding: 15px 20px;
  font-weight: 500;
  font-size: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* チェックボックスのホバー時 */
input[type=checkbox]:hover:not(:disabled) {
  background-color: #f7f7f7;
}
/* チェックボックスのフォーカス時 */
input[type=checkbox]:focus {
  outline: none;
  border-color: #b88b2d;
  box-shadow: 0 0 0 3px rgba(184, 139, 45, 0.2);
}
input[type=checkbox]:focus-visible {
  outline: none !important;
}
/* チェックボックスのチェック済み状態 */
input[type=checkbox]:checked {
  background-color: #C4A57B;
  border-color: #C4A57B;
}
/* チェックボックスのチェックマーク - 確実に中央配置 */
input[type=checkbox]:checked::before {
  content: "✓";
  position: absolute;
  inset: 0;
  width: 14px;
  height: 14px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
}
/* チェックアニメーション */
@keyframes checkboxCheck {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
/* 無効化状態 */
input[type=checkbox]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
/* ラベル内のradio/checkboxにマージン */
label input[type=checkbox] {
  margin-right: 8px;
}
/* ===================================
   ラジオボタン - SVG背景スタイル（ズレない方法）
   =================================== */
/* ラベルのスタイル（基本） */
label {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
  position: relative;
}
/* ラジオボタンの次に来るラベル - inputとlabelが兄弟要素の場合 */
input[type=radio] + label {
  padding-left: 32px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="white" stroke="%23cccccc" stroke-width="2"/></svg>') no-repeat left center !important;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 24px 24px;
  transition: all 0.2s ease;
}
/* ホバー時 - inputとlabelが兄弟要素の場合 */
input[type=radio]:hover + label {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="%23f7f7f7" stroke="%23aaaaaa" stroke-width="2"/></svg>') no-repeat left center !important;
}
/* 選択状態（チェック済み） - inputとlabelが兄弟要素の場合 */
input[type=radio]:checked + label {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="white" stroke="%23b88b2d" stroke-width="2"/><circle cx="12" cy="12" r="5" fill="%23b88b2d"/></svg>') no-repeat left center !important;
}
/* フォーカス時 - inputとlabelが兄弟要素の場合 */
input[type=radio]:focus-visible + label {
  outline: 2px solid rgba(184, 139, 45, 0.35);
  outline-offset: 3px;
  border-radius: 4px;
}
/* 無効化状態 - inputとlabelが兄弟要素の場合 */
input[type=radio]:disabled + label {
  opacity: 0.6;
  cursor: not-allowed;
}
/* ラベルの中にinputが入っている場合（後方互換性のため維持） */
label:has(input[type=radio]) {
  padding-left: 32px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="white" stroke="%23cccccc" stroke-width="2"/></svg>') no-repeat left center !important;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 24px 24px;
  transition: all 0.2s ease;
}
label:has(input[type=radio]):hover {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="%23f7f7f7" stroke="%23aaaaaa" stroke-width="2"/></svg>') no-repeat left center !important;
}
label:has(input[type=radio]:checked) {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="white" stroke="%23b88b2d" stroke-width="2"/><circle cx="12" cy="12" r="5" fill="%23b88b2d"/></svg>') no-repeat left center !important;
}
label:has(input[type=radio]:focus-visible) {
  outline: 2px solid rgba(184, 139, 45, 0.35);
  outline-offset: 3px;
  border-radius: 4px;
}
label:has(input[type=radio]:disabled) {
  opacity: 0.6;
  cursor: not-allowed;
}
/* ===================================
   .pet-name-with-suffix 横並びレイアウト
   =================================== */
.pet-name-with-suffix {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pet-name-suffix {
  white-space: nowrap;
}
/* ===================================
   .ec-radioクラス専用のラジオボタンスタイル
   =================================== */
:root {
  --accent: #b88b2d;
  --gap: 5px;
  --nudge: 3px;
}
/* .ec-radioおよび.pet-name-with-suffix内のラジオボタン本体を非表示 */
.ec-radio input[type=radio],
.pet-name-with-suffix input[type=radio] {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
}
/* .ec-radioのラベルスタイル - inputとlabelが兄弟要素の場合 */
.ec-radio input[type=radio] + label,
.pet-name-with-suffix input[type=radio] + label {
  display: inline-flex !important;
  align-items: center !important;
  padding-left: 32px !important;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="white" stroke="%23cccccc" stroke-width="2"/></svg>') no-repeat left center !important;
  background-repeat: no-repeat !important;
  background-position: left center !important;
  background-size: 24px 24px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  line-height: 1 !important;
}
/* ホバー時 - inputとlabelが兄弟要素の場合 */
.ec-radio input[type=radio]:hover + label,
.pet-name-with-suffix input[type=radio]:hover + label {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="%23f7f7f7" stroke="%23aaaaaa" stroke-width="2"/></svg>') no-repeat left center !important;
}
/* 選択状態 - inputとlabelが兄弟要素の場合 */
.ec-radio input[type=radio]:checked + label,
.pet-name-with-suffix input[type=radio]:checked + label {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="white" stroke="%23b88b2d" stroke-width="2"/><circle cx="12" cy="12" r="5" fill="%23b88b2d"/></svg>') no-repeat left center !important;
}
/* フォーカス表示 - inputとlabelが兄弟要素の場合 */
.ec-radio input[type=radio]:focus-visible + label,
.pet-name-with-suffix input[type=radio]:focus-visible + label {
  outline: 2px solid rgba(184, 139, 45, 0.35) !important;
  outline-offset: 3px !important;
  border-radius: 8px !important;
}
/* 無効化状態 - inputとlabelが兄弟要素の場合 */
.ec-radio input[type=radio]:disabled + label,
.pet-name-with-suffix input[type=radio]:disabled + label {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
}
/* .ec-radioのラベルスタイル - ラベルの中にinputが入っている場合（後方互換性） */
.ec-radio label:has(input[type=radio]),
.pet-name-with-suffix label:has(input[type=radio]) {
  display: inline-flex !important;
  align-items: center !important;
  padding-left: 32px !important;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="white" stroke="%23cccccc" stroke-width="2"/></svg>') no-repeat left center !important;
  background-repeat: no-repeat !important;
  background-position: left center !important;
  background-size: 24px 24px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
.ec-radio label:has(input[type=radio]):hover,
.pet-name-with-suffix label:has(input[type=radio]):hover {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="%23f7f7f7" stroke="%23aaaaaa" stroke-width="2"/></svg>') no-repeat left center !important;
}
.ec-radio label:has(input[type=radio]:checked),
.pet-name-with-suffix label:has(input[type=radio]:checked) {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="white" stroke="%23b88b2d" stroke-width="2"/><circle cx="12" cy="12" r="5" fill="%23b88b2d"/></svg>') no-repeat left center !important;
}
.ec-radio label:has(input[type=radio]:focus-visible),
.pet-name-with-suffix label:has(input[type=radio]:focus-visible) {
  outline: 2px solid rgba(184, 139, 45, 0.35) !important;
  outline-offset: 3px !important;
  border-radius: 8px !important;
}
.ec-radio label:has(input[type=radio]:disabled),
.pet-name-with-suffix label:has(input[type=radio]:disabled) {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
}
/* ラベルのスタイル（クリック範囲を拡張） */
.ec-radio input[type=radio] + label,
.pet-name-with-suffix label {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  margin-left: calc(-1 * var(--gap));
  padding: 0.32rem 0.6rem 0.32rem var(--gap);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.12s ease, box-shadow 0.12s ease;
}
.ec-radio input[type=radio] + label:hover,
.pet-name-with-suffix label:hover {
  /*background-color: #f7f7f7 !important;*/
}
/* キーボード操作時のフォーカス表示（アクセシビリティ対応） */
.ec-radio input[type=radio]:focus-visible + label,
.pet-name-with-suffix input[type=radio]:focus-visible {
  /*outline: 2px solid #b88b2d;
  outline-offset: 2px;*/
  border-radius: 8px;
}
/* translate未対応ブラウザのフォールバック */
@supports not (translate: 0 0) {
  .ec-radio input[type=radio],
  .pet-name-with-suffix input[type=radio] {
    top: var(--nudge);
  }
}
/* ===================================
   クーポン入力フィールド
   =================================== */
.ec-cartRole__side__coupon__input {
  border-radius: 0.4rem !important;
  border: none !important;
  background: none !important;
  display: flex !important;
  padding: 0 !important;
  justify-content: space-between !important;
  align-items: stretch !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  overflow: hidden !important;
  min-height: 40px !important;
}
.ec-cartRole__side__coupon__input input[type=text] {
  width: 100%;
  border-top-right-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
  /*  border: none !important;
    background-color: transparent !important;
    outline: none !important;
    flex: 1 !important;
    padding: 10px 12px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    height: 100% !important;*/
}
.ec-cartRole__side__coupon__input button,
.ec-cartRole__side__coupon__input .ec-blockBtn--action {
  border-radius: 0 !important;
  padding: 10px 15px !important;
  border: none !important;
  background-color: #b88b2d !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
  white-space: nowrap !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
/* ===================================
   エラー状態のスタイル
   =================================== */
.ec-input.error input,
.ec-input.error textarea,
.ec-input.error select,
.ec-select.error select,
.ec-halfInput.error input,
.ec-halfInput.error textarea,
.ec-halfInput.error select,
.ec-numberInput.error input,
.ec-zipInput.error input,
.ec-telInput.error input,
.ec-birth.error select {
  border-color: #de5d50 !important;
  background-color: #fff5f5 !important;
}
.ec-input.error input:focus,
.ec-input.error textarea:focus,
.ec-input.error select:focus,
.ec-select.error select:focus,
.ec-halfInput.error input:focus,
.ec-halfInput.error textarea:focus,
.ec-halfInput.error select:focus,
.ec-numberInput.error input:focus,
.ec-zipInput.error input:focus,
.ec-telInput.error input:focus,
.ec-birth.error select:focus {
  border-color: #de5d50 !important;
  box-shadow: inset 0 0 0 0.5px #de5d50, 0 0 0 2px rgba(222, 93, 80, 0.2) !important;
  background-color: #ffffff !important;
}
input.error,
textarea.error,
select.error,
input[style*="border-color: rgb(222, 93, 80)"],
input[style*="border-color: rgb(222,93,80)"],
input[style*="border-color:#de5d50"],
textarea[style*="border-color: rgb(222, 93, 80)"],
select[style*="border-color: rgb(222, 93, 80)"] {
  border-color: #de5d50 !important;
  background-color: #fff5f5 !important;
}
input.error:hover,
textarea.error:hover,
select.error:hover {
  border-color: #de5d50 !important;
  background-color: #fff5f5 !important;
}
input.error:focus,
textarea.error:focus,
select.error:focus,
input[style*="border-color: rgb(222, 93, 80)"]:focus,
textarea[style*="border-color: rgb(222, 93, 80)"]:focus,
select[style*="border-color: rgb(222, 93, 80)"]:focus {
  border-color: #de5d50 !important;
  box-shadow: inset 0 0 0 0.5px #de5d50, 0 0 0 2px rgba(222, 93, 80, 0.2) !important;
  background-color: #ffffff !important;
}
/* ===================================
   .ec-checkboxクラス専用のチェックボックススタイル
   背景: 白、枠: オレンジ (#db5331)、チェックマーク: オレンジ (#db5331)
   =================================== */
/* .ec-checkbox内のチェックボックスに強制的にスタイルを適用 */
.ec-checkbox input[type=checkbox] {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  width: 20px !important;
  height: 20px !important;
  border: 2px solid #cccccc !important;
  background-color: #ffffff !important;
  cursor: pointer !important;
  position: relative !important;
  transition: all 0.15s ease !important;
  vertical-align: middle !important;
  margin-right: 8px !important;
  border-radius: 4px !important;
  flex-shrink: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
/* ホバー時（未チェック状態） */
.ec-checkbox input[type=checkbox]:hover:not(:disabled):not(:checked) {
  background-color: #f7f7f7 !important;
}
/* ホバー時（チェック済み状態）- 背景を白に維持 */
.ec-checkbox input[type=checkbox]:checked:hover:not(:disabled) {
  background-color: #ffffff !important;
}
/* フォーカス時 */
.ec-checkbox input[type=checkbox]:focus {
  outline: none !important;
}
.ec-checkbox input[type=checkbox]:focus-visible {
  outline: none !important;
}
/* アクティブ時（押下時） */
/* チェック済み状態 - 背景白、枠オレンジ */
.ec-checkbox input[type=checkbox]:checked {
  background-color: #ffffff !important;
  border-color: #b88b2d !important;
}
/* チェックボックスのチェックマーク - オレンジ色（SVG風の太いチェック） */
.ec-checkbox input[type=checkbox]:checked::before {
  content: "" !important;
  position: absolute !important;
  top: 25% !important;
  left: 50% !important;
  width: 12px !important;
  height: 6px !important;
  border-left: 2.5px solid #b88b2d !important;
  border-bottom: 2.5px solid #b88b2d !important;
  transform: translate(-50%, -60%) rotate(-45deg) !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 1 !important;
}
/* Bootstrapの背景画像を無効化（二重チェックマーク防止） */
.ec-checkbox .form-check-input:checked[type=checkbox] {
  --bs-form-check-bg-image: none !important;
  background-color: #ffffff !important;
  border-color: #b88b2d !important;
}
/* 無効化された状態 */
.ec-checkbox input[type=checkbox]:disabled {
  background-color: #f7f7f7 !important;
  border-color: #e0e0e0 !important;
  cursor: not-allowed !important;
  opacity: 0.6 !important;
}
/* ラベルのスタイル */
.ec-checkbox label {
  cursor: pointer !important;
  -webkit-user-select: none !important;
     -moz-user-select: none !important;
          user-select: none !important;
  display: inline-flex !important;
  align-items: center !important;
  transition: color 0.2s ease !important;
  line-height: 1.4 !important;
}
.ec-checkbox label input[type=checkbox] {
  margin-right: 8px !important;
  flex-shrink: 0 !important;
}
/* .ec-checkbox内のアクセント色も統一（オプション） */
.ec-checkbox input {
  accent-color: #b88b2d !important;
}
/* deleteを含むクラス、remove-pet-button、ec-btn-outline-dangerに×アイコンを追加 */
button[class*=delete]::before,
button.remove-pet-button::before,
.ec-btn-outline-danger::before,
button[class*=remove]::before,
a[class*=delete]::before,
a.remove-pet-button::before,
a[class*=remove]::before {
  content: "\f00d" !important;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  margin-right: 6px !important;
  display: inline-block !important;
}
/* addを含むクラス、add-pet-buttonに＋アイコンを追加 */
button[class*=add]::before,
button.add-pet-button::before,
a[class*=add]::before,
a.add-pet-button::before {
  content: "\f067" !important;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  margin-right: 6px !important;
  display: inline-block !important;
  position: relative !important;
  top: 0px !important;
}
/* ボトムシートのカート追加ボタンは除外 */
button.footer-btn-add::before,
button#addToCartBtn::before {
  content: none !important;
  display: none !important;
}
/* upload系ボタンに写真アイコンを付与 */
button.btn-upload::before,
button[class*=upload]::before,
a.btn-upload::before,
a[class*=upload]::before {
  content: "\f03e" !important; /* fa-image */
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important; /* solid */
  margin-right: 6px !important;
  display: inline-block !important;
  line-height: 1 !important;
  position: relative !important;
  color: #111111;
}
/* ===================================
   画像アップロード関連
   =================================== */
.image-upload-input,
.pet-image-upload-input {
  display: none !important;
}
.pet-image-section {
  display: flex;
  align-items: center;
  padding: 8px 0;
  gap: 16px;
}
.pet-image-preview {
  width: 120px;
  height: 120px;
  border: 2px dashed #ddd;
  border-radius: 60px;
  overflow: hidden;
  background: #fff;
  display: inline-block;
  flex-shrink: 0;
}
.pet-image-preview img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.pet-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #999;
  font-size: 32px;
}
.pet-image-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
/* ===================================
   アコーディオンスタイル
   =================================== */
/* アコーディオンアイテム */
.pet-accordion-item,
.ec-accordion-item {
  background: #ffffff;
  border: 1px solid #d2cec8;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
/* アコーディオンヘッダー */
.pet-accordion-header,
.ec-accordion-header {
  background: #f8f5ed;
  padding: 15px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s ease, transform 0.1s ease;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
/* アコーディオンヘッダーのホバー時 */
.pet-accordion-header:hover,
.ec-accordion-header:hover {
  background: #f0e9d8;
}
/* アコーディオンヘッダーのアクティブ時（展開中） */
.pet-accordion-header.active,
.ec-accordion-header.active {
  background: #f8f5ed;
}
/* アコーディオンヘッダーの押下時 */
.pet-accordion-header:active,
.ec-accordion-header:active {
  transform: scale(0.998);
}
/* アコーディオン矢印アイコン */
.pet-accordion-arrow,
.ec-accordion-arrow {
  transition: transform 0.3s ease;
  font-size: 18px;
  font-weight: bold;
}
/* アコーディオンが展開中の矢印 */
.pet-accordion-header.active .pet-accordion-arrow,
.ec-accordion-header.active .ec-accordion-arrow {
  transform: rotate(180deg);
}
/* アコーディオン本体 */
.pet-accordion-body,
.ec-accordion-body {
  display: none;
  padding: 20px;
  background: #ffffff;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.2s ease, padding 0.3s ease;
}
/* アコーディオン本体が表示中 */
.pet-accordion-body.show,
.ec-accordion-body.show {
  display: block;
  opacity: 1;
  max-height: 5000px;
  padding: 20px;
  animation: accordionSlideDown 0.3s ease;
}
/* アコーディオン展開アニメーション */
@keyframes accordionSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* アコーディオンフォーカス時（アクセシビリティ対応） */
.pet-accordion-header:focus,
.ec-accordion-header:focus {
  outline: none;
}
.pet-accordion-header:focus-visible,
.ec-accordion-header:focus-visible {
  outline: none;
}
/* アコーディオンが削除予定の場合のスタイル */
.pet-accordion-item.marked-for-deletion,
.ec-accordion-item.marked-for-deletion {
  opacity: 0.6;
  background: #f8f8f8;
  border-color: #dddddd !important;
  position: relative;
}
.pet-accordion-item.marked-for-deletion::before,
.ec-accordion-item.marked-for-deletion::before {
  content: "削除予定";
  position: absolute;
  top: 10px;
  right: 10px;
  background: #dc3545;
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
  z-index: 1;
  pointer-events: none;
}
/* レスポンシブ対応 */
@media only screen and (max-width: 767px) {
  .pet-accordion-header,
  .ec-accordion-header {
    padding: 12px 15px;
    font-size: 14px;
  }
  .pet-accordion-body.show,
  .ec-accordion-body.show {
    padding: 15px;
  }
}
/* ===================================
   フォームレイアウト (.ec-borderedDefs)
   =================================== */
.ec-borderedDefs {
  margin-bottom: 16px;
}
.ec-borderedDefs dl {
  display: flex;
  align-items: center;
  border-bottom: 1px dotted #ccc;
  margin: 0;
  padding: 10px 0;
}
.ec-borderedDefs dl:last-child {
  border-bottom: none;
}
.ec-borderedDefs dt {
  width: 30%;
  min-width: 120px;
  padding-right: 16px;
  padding-top: 0px;
  font-weight: bold;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ec-borderedDefs dd {
  flex: 1;
  margin: 0;
  padding: 0;
}
.agree-area {
  margin-top: 48px;
  padding: 0px;
}
.agree-area .ec-checkbox {
  margin-bottom: 38px;
}
.pet-input-add-area {
  background: #f6f2e8;
  padding: 20px 0px;
  display: flex;
  justify-content: center;
  border-radius: 8px;
}
@media only screen and (max-width: 767px) {
  .ec-borderedDefs dl {
    flex-direction: column;
    align-items: flex-start;
  }
  .ec-borderedDefs dt {
    width: 100%;
    padding-right: 0;
    margin-bottom: 8px;
  }
}
/* ===================================
   セレクトボックスのエラー時スタイル
   =================================== */
body main select.error,
body main .ec-select.error select,
body main .error.ec-select select,
.ec-select.error select,
.error.ec-select select,
.error.ec-birth select,
.error.ec-input select,
.error.ec-halfInput select,
.error.ec-numberInput select,
.error.ec-zipInput select,
.error.ec-telInput select {
  background: #fdf1f0 !important;
  background-image: none !important;
  background-repeat: no-repeat !important;
  background-position: 0 0 !important;
}
.ec-select.error select,
.ec-birth.error select,
.ec-input.error select,
.ec-halfInput.error select {
  background: #fff5f5 !important;
  background-image: none !important;
}
/* ===================================
   共通モーダルスタイル
   =================================== */
/* モーダル表示時のbodyスクロールロック */
body.modal-open {
  overflow: hidden !important;
  width: 100% !important;
}
/* モーダルオーバーレイ - 全モーダル共通 */
.modal-overlay,
.ec-modal {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.5) !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  z-index: 9999 !important;
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
}
/* モーダルが表示されているとき */
.modal-overlay.show,
.ec-modal.show {
  display: flex !important;
}
/* モーダルコンテンツ - 全モーダル共通（18px radius） */
.modal-overlay .modal-content,
.ec-modal .modal-content,
.ec-modal .ec-modal__content {
  background: #ffffff !important;
  border-radius: 18px !important;
  padding: 0 !important;
  position: relative !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
  animation: modalFadeIn 0.2s ease;
  border: none !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}
/* モーダルフェードインアニメーション */
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* モーダルヘッダー - 全モーダル共通（削除・再開確認モーダルを除く） */
.modal-overlay .modal-header:not(#confirmDeleteModal .modal-header):not(#confirmResumeModal .modal-header),
.ec-modal .modal-header:not(#confirmDeleteModal .modal-header):not(#confirmResumeModal .modal-header),
.ec-modal .ec-modal__header {
  padding: 24px 30px !important;
  border-bottom: 1px solid #e0e0e0 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  background: #f8f5ed;
  z-index: 10 !important;
}
/* モーダルタイトル */
.modal-overlay .modal-title,
.ec-modal .modal-title,
.ec-modal .ec-modal__header h3 {
  font-size: 18px;
  font-weight: 600 !important;
  color: #111111 !important;
  margin: 0 !important;
}
/* 閉じるボタン - 全モーダル共通 */
.modal-overlay .modal-close,
.ec-modal .modal-close,
.ec-modal .ec-modal__close {
  background: none !important;
  border: none !important;
  font-size: 24px !important;
  color: #999 !important;
  cursor: pointer !important;
  padding: 0 !important;
  width: 30px !important;
  height: 30px !important;
  line-height: 1 !important;
  transition: color 0.2s ease !important;
}
.modal-overlay .modal-close:hover,
.ec-modal .modal-close:hover,
.ec-modal .ec-modal__close:hover {
  color: #666 !important;
}
/* モーダルボディ - 全モーダル共通（削除・再開確認モーダルを除く） */
.modal-overlay .modal-body:not(#confirmDeleteModal .modal-body):not(#confirmResumeModal .modal-body),
.ec-modal .modal-body:not(#confirmDeleteModal .modal-body):not(#confirmResumeModal .modal-body),
.ec-modal .ec-modal__body {
  padding: 30px !important;
  overflow-y: auto !important;
  flex: 1 !important;
  min-height: 0 !important;
}
/* モーダルメッセージ */
.modal-overlay .modal-message {
  font-size: 14px;
  color: #111111;
  font-weight: 500;
  line-height: 1.6;
  margin: 0 0 24px 0;
  text-align: center;
}
/* モーダルフッター - 全モーダル共通（削除・再開確認モーダルを除く） */
.modal-overlay .modal-footer:not(#confirmDeleteModal .modal-footer):not(#confirmResumeModal .modal-footer),
.ec-modal .modal-footer:not(#confirmDeleteModal .modal-footer):not(#confirmResumeModal .modal-footer),
.ec-modal .ec-modal__footer {
  display: flex !important;
  gap: 12px !important;
  justify-content: flex-end !important;
  align-items: center !important;
  padding: 20px 30px !important;
  border-top: 1px solid #e0e0e0 !important;
  margin-top: 0 !important;
  flex-shrink: 0 !important;
}
/* ===================================
   個別モーダルの特殊スタイル
   =================================== */
/* 画像アップロードモーダル */
#imageUploadModal .modal-content {
  width: 90% !important;
  max-width: 500px !important;
  padding: 24px !important;
}
/* ドロップゾーン */
.drop-zone {
  border: 2px dashed #cccccc;
  border-radius: 8px;
  padding: 60px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fafafa;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.drop-zone:hover {
  border-color: #999999;
  background: #eeeeee;
}
.drop-zone.drag-over {
  border-color: #999999;
  background: #eeeeee;
  border-style: solid;
}
.drop-zone-text {
  color: #111111;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
  margin: 0;
}
/* モーダルプレビュー */
.modal-preview {
  text-align: center;
}
.modal-preview img {
  max-width: 100%;
  max-height: 400px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
/* 削除・再開・停止・解約・破棄確認モーダル・通知モーダル */
#confirmDeleteModal .modal-content,
#confirmResumeModal .modal-content,
#confirmSuspendModal .modal-content,
#confirmCancelModal .modal-content,
#confirmDiscardModal .modal-content,
#alertModal .modal-content {
  width: 90% !important;
  max-width: 400px !important;
  padding: 30px !important;
}
/* 削除・再開・停止・解約・破棄確認モーダル・通知モーダルのタイトルとメッセージ */
#confirmDeleteModal .modal-title,
#confirmResumeModal .modal-title,
#confirmSuspendModal .modal-title,
#confirmCancelModal .modal-title,
#confirmDiscardModal .modal-title,
#alertModal .modal-title {
  font-size: 18px;
  font-weight: 700;
  color: #111111;
  margin: 0 0 16px 0;
  text-align: center;
}
#confirmDeleteModal .modal-message,
#confirmResumeModal .modal-message,
#confirmSuspendModal .modal-message,
#confirmCancelModal .modal-message,
#confirmDiscardModal .modal-message,
#alertModal .modal-message {
  font-size: 14px;
  color: #111111;
  font-weight: 500;
  line-height: 1.6;
  margin: 24px 0 0 0;
  text-align: center;
}
/* 削除・再開・停止・破棄確認モーダル・通知モーダルのボタンコンテナ */
#confirmDeleteModal .modal-buttons,
#confirmResumeModal .modal-buttons,
#confirmSuspendModal .modal-buttons,
#confirmCancelModal .modal-buttons,
#confirmDiscardModal .modal-buttons,
#alertModal .modal-buttons {
  display: flex !important;
  gap: 16px !important;
  justify-content: center !important;
  margin-top: 28px !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}
/* 確認モーダルのボタン共通スタイル */
#confirmDeleteModal .modal-btn,
#confirmResumeModal .modal-btn,
#confirmSuspendModal .modal-btn,
#confirmCancelModal .modal-btn,
#confirmDiscardModal .modal-btn,
#alertModal .modal-btn {
  flex: 1;
  padding: 14px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
  max-width: 200px;
}
#confirmDeleteModal .modal-btn:hover,
#confirmResumeModal .modal-btn:hover,
#confirmSuspendModal .modal-btn:hover,
#confirmCancelModal .modal-btn:hover,
#confirmDiscardModal .modal-btn:hover,
#alertModal .modal-btn:hover {
  opacity: 0.85;
}
/* キャンセルボタン（グレー） */
#confirmDeleteModal .modal-btn-cancel,
#confirmResumeModal .modal-btn-cancel,
#confirmSuspendModal .modal-btn-cancel,
#confirmCancelModal .modal-btn-cancel,
#confirmDiscardModal .modal-btn-cancel {
  background: #747474 !important;
  color: #fff !important;
}
/* アクションボタン（紺/メインCTA） */
#confirmDeleteModal .modal-btn-action,
#confirmDeleteModal .modal-btn-complete,
#confirmResumeModal .modal-btn-action,
#confirmResumeModal .modal-btn-complete,
#confirmSuspendModal .modal-btn-action,
#confirmSuspendModal .modal-btn-complete,
#confirmCancelModal .modal-btn-action,
#confirmCancelModal .modal-btn-complete,
#confirmDiscardModal .modal-btn-action,
#confirmDiscardModal .modal-btn-complete,
#alertModal .modal-btn-complete {
  background: #b88b2d !important;
  color: #fff !important;
  color: #fff !important;
}
/* PC: キャンセルを左、アクションを右 */
@media (min-width: 768px) {
  #confirmDeleteModal .modal-btn-cancel,
  #confirmResumeModal .modal-btn-cancel,
  #confirmSuspendModal .modal-btn-cancel,
  #confirmCancelModal .modal-btn-cancel,
  #confirmDiscardModal .modal-btn-cancel {
    order: -1;
  }
}
/* お届け先変更・間隔変更モーダル */
#shippingModal .ec-modal__content,
#deliveryModal .ec-modal__content {
  width: 90% !important;
  max-width: 600px !important;
  max-height: 80vh !important;
}
#shippingModal .ec-shipping__item {
  background-position: 16px center !important;
}
#shippingModal .ec-shipping__item .ec-shipping__info {
  padding-left: 16px;
}
@media only screen and (max-width: 767px) {
  #shippingModal .ec-shipping__item {
    background-position: 12px center !important;
  }
  #shippingModal .ec-shipping__item .ec-shipping__info {
    padding-left: 12px;
  }
}
/* 配送先リスト */
.ec-shipping__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ec-shipping__item {
  display: flex;
  align-items: flex-start;
  padding: 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #ffffff;
}
.ec-shipping__item:hover {
  border-color: #C4A57B;
  background: #fafafa;
}
.ec-shipping__item input[type=radio] {
  margin-right: 12px;
  margin-top: 4px;
  flex-shrink: 0;
}
.ec-shipping__item input[type=radio]:checked + .ec-shipping__info {
  font-weight: 500;
}
.ec-shipping__info {
  flex: 1;
}
.ec-shipping__name {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 15px;
  color: #111111;
}
.ec-shipping__address {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
}
/* お届け先を新しく追加 */
.ec-modal__add-address {
  margin-top: 20px;
  margin-bottom: 20px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}
.ec-blockBtn--add {
  display: block;
  width: 100%;
  padding: 14px 20px;
  background-color: #f8f9fa;
  border: 2px dashed #cccccc;
  border-radius: 8px;
  color: #666;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
}
.payment-notice {
  background: #f7f6f4;
  border: 1px solid #d2cec8;
  border-radius: 10px;
  padding: 16px 18px;
  color: #77736d;
  font-size: 13px;
  line-height: 1.9;
  font-weight: 500;
  margin-top: 16px;
}
.payment-notice .security-text {
  display: block;
  color: #111111;
  line-height: 1.9;
}
.payment-notice br {
  display: none;
}
.delivery-notice {
  background: none;
  border-radius: 0;
  padding: 0;
  color: #999;
  font-size: 13px;
  line-height: 1.6;
  font-weight: normal;
}
.ec-blockBtn--add:hover {
  background-color: #faf8f5;
  border-color: #C4A57B;
  color: #111111;
}
/* お届け間隔入力フィールド */
.ec-input {
  /*margin-bottom: 20px;*/
}
.ec-input label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 15px;
  color: #111111;
}
.ec-input .input-group {
  display: flex;
  align-items: stretch;
  border: 1px solid #cccccc;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ec-input .input-group:focus-within {
  border-color: #C4A57B;
  box-shadow: 0 0 0 2px rgba(196, 165, 123, 0.2);
}
.ec-input .input-group input.form-control {
  border: none !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  padding: 12px 16px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  box-shadow: none !important;
}
.ec-input .input-group input.form-control:focus {
  outline: none !important;
  box-shadow: none !important;
}
.ec-input .input-group .input-group-text {
  background: #f8f5ed;
  border: none;
  padding: 12px 16px;
  font-weight: 600;
  color: #111111;
  font-size: 15px;
}
/* ヘルプテキスト */
.form-text {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  font-weight: 500;
}
.form-text.text-success {
  color: #00695c !important;
  font-weight: 600;
}
/* バリデーションエラー */
.ec-input .is-invalid,
.ec-input input.is-invalid {
  border-color: #de5d50 !important;
  background-color: #fff5f5 !important;
}
.ec-input .invalid-feedback {
  display: block;
  margin-top: 0px;
  font-size: 12px;
  color: #de5d50;
  font-weight: 600;
}
/* 商品構成変更モーダル */
#productChangeModal .ec-modal__content {
  width: 95% !important;
  max-width: 1180px !important;
  max-height: 80vh !important;
}
#productChangeModal .ec-modal__header h3 {
  font-size: 22px;
}
/* FORMをFLEXコンテナに */
#productChangeModal form#productChangeForm {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  min-height: 0 !important;
  overflow: hidden !important;
}
/* モーダルフッター - 商品構成変更モーダル専用 */
#productChangeModal .ec-modal__footer {
  flex-direction: row !important;
  justify-content: space-between !important;
  padding: 20px 32px !important;
}
/* フッター左側 - 選択総数 */
#productChangeModal .ec-modal__footer-left {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 4px !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  color: #111111 !important;
}
#productChangeModal .ec-modal__footer-left .num {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500 !important;
  font-style: normal;
  font-size: 24px !important;
  color: #b88b2d !important;
}
#productChangeModal .ec-modal__footer-left .separator {
  color: #999 !important;
  margin: 0 2px !important;
}
#productChangeModal .ec-modal__footer-left .text {
  margin-left: 4px !important;
}
/* フッター右側 - ボタン */
#productChangeModal .ec-modal__footer-right {
  display: flex !important;
  flex-direction: row !important;
  gap: 12px !important;
  align-items: center !important;
  width: 38%;
}
/* エラーメッセージ */
#modal-error-message {
  background-color: #fff5f5 !important;
  border: 1px solid #de5d50 !important;
  border-radius: 4px !important;
  padding: 12px 16px !important;
  margin-top: 16px !important;
}
#modal-error-message #error-text {
  color: #de5d50 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}
/* 商品グリッドを5列に強制 */
#productChangeModal .ec-subscription__product-list .row {
  display: flex !important;
  flex-wrap: wrap !important;
  margin: 0 -0.5rem !important;
}
#productChangeModal .ec-subscription__product-list .col {
  flex: 0 0 auto !important;
  padding: 0 0.5rem !important;
  margin-bottom: 1rem !important;
}
/* 商品アイテム */
.ec-subscription__product-item {
  padding: 16px !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  transition: all 0.2s ease !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}
.ec-subscription__product-item:hover {
  background: #fafafa !important;
}
/* 数量コントロール */
.ec-subscription__quantity-control {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: auto !important;
}
.ec-subscription__quantity-control button {
  width: 40px !important;
  height: 40px !important;
  border: 1px solid #cccccc !important;
  border-radius: 50% !important;
  background-color: #ffffff !important;
  cursor: pointer !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  transition: all 0.15s ease !important;
  color: #111111 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  padding: 0 !important;
}
.ec-subscription__quantity-control button svg {
  pointer-events: none !important;
  flex-shrink: 0 !important;
}
.ec-subscription__quantity-control button:hover:not(:disabled) {
  background-color: #f7f7f7 !important;
  border-color: #C4A57B !important;
}
.ec-subscription__quantity-control button:active:not(:disabled) {
  transform: scale(0.95) !important;
}
.ec-subscription__quantity-control button:disabled {
  opacity: 0.3 !important;
  cursor: not-allowed !important;
}
.ec-subscription__quantity-control button:disabled svg {
  opacity: 0.5 !important;
}
.ec-subscription__quantity-control .quantity-display {
  min-width: 40px !important;
  text-align: center !important;
  font-weight: 600 !important;
  font-size: 20px !important;
  transition: transform 0.2s ease !important;
  -webkit-user-select: none !important;
     -moz-user-select: none !important;
          user-select: none !important;
}
/* ===================================
   モーダルのレスポンシブ対応
   =================================== */
/* 1200px以上で5列表示（商品構成変更モーダル） */
@media (min-width: 1200px) {
  #productChangeModal .ec-subscription__product-list .col {
    width: 20% !important;
    max-width: 20% !important;
  }
}
/* 992px～1199pxで3列表示 */
@media (min-width: 992px) and (max-width: 1199px) {
  #productChangeModal .ec-subscription__product-list .col {
    width: 33.333333% !important;
    max-width: 33.333333% !important;
  }
}
/* 768px～991pxで2列表示 */
@media (min-width: 768px) and (max-width: 991px) {
  #productChangeModal .ec-subscription__product-list .col {
    width: 50% !important;
    max-width: 50% !important;
  }
}
/* 767px以下のレスポンシブ対応 */
@media only screen and (max-width: 767px) {
  /* 全モーダルのコンテンツサイズ調整 */
  .modal-overlay .modal-content,
  .ec-modal .modal-content,
  .ec-modal .ec-modal__content {
    width: 85% !important;
    max-width: 95% !important;
  }
  /* 削除・再開・停止・解約・破棄確認モーダル・通知モーダルの個別調整 */
  #confirmDeleteModal .modal-content,
  #confirmResumeModal .modal-content,
  #confirmSuspendModal .modal-content,
  #confirmCancelModal .modal-content,
  #confirmDiscardModal .modal-content,
  #alertModal .modal-content {
    padding: 24px !important;
    width: 85% !important;
    max-width: 95% !important;
  }
  #confirmDeleteModal .modal-title,
  #confirmResumeModal .modal-title,
  #confirmSuspendModal .modal-title,
  #confirmCancelModal .modal-title,
  #confirmDiscardModal .modal-title,
  #alertModal .modal-title {
    font-size: 18px;
  }
  #confirmDeleteModal .modal-message,
  #confirmResumeModal .modal-message,
  #confirmSuspendModal .modal-message,
  #confirmCancelModal .modal-message,
  #confirmDiscardModal .modal-message,
  #alertModal .modal-message {
    font-size: 14px;
    font-weight: 500;
  }
  /* 削除・再開・停止・解約・破棄確認モーダル・通知モーダルのボタンをモバイルで縦並び */
  /* 縦並びでは justify-content は縦方向になる。横方向は align-items が決めるので
     指定しないと、幅を持つボタンが左へ寄る（#189 ③） */
  #confirmDeleteModal .modal-buttons,
  #confirmResumeModal .modal-buttons,
  #confirmSuspendModal .modal-buttons,
  #confirmCancelModal .modal-buttons,
  #confirmDiscardModal .modal-buttons,
  #alertModal .modal-buttons {
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
  }
  #confirmDeleteModal .modal-btn-cancel,
  #confirmDeleteModal .modal-btn-action,
  #confirmDeleteModal .modal-btn-complete,
  #confirmResumeModal .modal-btn-cancel,
  #confirmResumeModal .modal-btn-action,
  #confirmSuspendModal .modal-btn-cancel,
  #confirmSuspendModal .modal-btn-complete,
  #confirmCancelModal .modal-btn-cancel,
  #confirmCancelModal .modal-btn-complete,
  #confirmDiscardModal .modal-btn-cancel,
  #confirmDiscardModal .modal-btn-complete,
  #confirmResumeModal .modal-btn-primary,
  #alertModal .modal-btn-complete {
    width: 100% !important;
    max-width: 100% !important;
    padding: 16px 20px !important;
  }
  /* ヘッダーの調整（削除・再開確認モーダルを除く） */
  .modal-overlay .modal-header:not(#confirmDeleteModal .modal-header):not(#confirmResumeModal .modal-header),
  .ec-modal .modal-header:not(#confirmDeleteModal .modal-header):not(#confirmResumeModal .modal-header),
  .ec-modal .ec-modal__header {
    padding: 20px !important;
  }
  .modal-overlay .modal-title:not(#confirmDeleteModal .modal-title):not(#confirmResumeModal .modal-title),
  .ec-modal .modal-title:not(#confirmDeleteModal .modal-title):not(#confirmResumeModal .modal-title),
  .ec-modal .ec-modal__header h3 {
    font-size: 16px !important;
  }
  /* ボディの調整（削除・再開確認モーダルを除く） */
  .modal-overlay .modal-body:not(#confirmDeleteModal .modal-body):not(#confirmResumeModal .modal-body),
  .ec-modal .modal-body:not(#confirmDeleteModal .modal-body):not(#confirmResumeModal .modal-body),
  .ec-modal .ec-modal__body {
    padding: 20px !important;
  }
  /* フッターの調整（削除・再開確認モーダルを除く） */
  .modal-overlay .modal-footer:not(#confirmDeleteModal .modal-footer):not(#confirmResumeModal .modal-footer),
  .ec-modal .modal-footer:not(#confirmDeleteModal .modal-footer):not(#confirmResumeModal .modal-footer),
  .ec-modal .ec-modal__footer {
    padding: 16px 20px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }
  /* ボタンを全幅に（削除・再開確認モーダル以外） */
  .modal-btn-cancel:not(#confirmDeleteModal .modal-btn-cancel):not(#confirmResumeModal .modal-btn-cancel),
  .modal-btn-action:not(#confirmDeleteModal .modal-btn-action):not(#confirmResumeModal .modal-btn-action),
  .modal-btn-complete:not(#confirmDeleteModal .modal-btn-complete),
  .ec-blockBtn--cancel,
  .ec-blockBtn--action {
    width: 100% !important;
  }
  /* 画像アップロードモーダル */
  #imageUploadModal .modal-content {
    padding: 24px !important;
    width: 85% !important;
    max-width: 95% !important;
  }
  .drop-zone {
    padding: 40px 16px;
    min-height: 160px;
  }
  .drop-zone-text {
    font-size: 14px;
  }
  .modal-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  /* 配送先変更・間隔変更モーダルの個別調整 */
  #shippingModal .ec-modal__content,
  #deliveryModal .ec-modal__content {
    max-height: 90vh !important;
  }
  #shippingModal .ec-modal__header h3,
  #deliveryModal .ec-modal__header h3 {
    font-size: 16px !important;
  }
  #shippingModal .ec-blockBtn--cancel,
  #deliveryModal .ec-blockBtn--cancel,
  #shippingModal .ec-blockBtn--action,
  #deliveryModal .ec-blockBtn--action {
    width: 100% !important;
  }
  /* 配送先リスト */
  .ec-shipping__item {
    padding: 12px;
  }
  .ec-shipping__name {
    font-size: 14px;
  }
  .ec-shipping__address {
    font-size: 13px;
  }
  /* 商品構成変更モーダル */
  #productChangeModal .ec-modal__content {
    max-height: 90vh !important;
  }
  #productChangeModal .ec-modal__header h3 {
    font-size: 18px !important;
  }
  #productChangeModal .ec-modal__footer {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }
  #productChangeModal .ec-modal__footer-left {
    justify-content: center !important;
  }
  #productChangeModal .ec-modal__footer-right {
    width: 100% !important;
    justify-content: center !important;
  }
  #productChangeModal .ec-subscription__product-list .col {
    width: 100% !important;
    max-width: 100% !important;
  }
  .ec-subscription__product-item {
    padding: 12px !important;
  }
  .ec-subscription__quantity-control button {
    width: 36px !important;
    height: 36px !important;
    font-size: 18px !important;
  }
  .ec-subscription__quantity-control .quantity-display {
    font-size: 18px !important;
    min-width: 35px !important;
  }
}
/* ===================================
   その他のスタイル
   =================================== */
.ec-addressCard.-credit.is-checked {
  box-shadow: 0;
}
.ec-addressList .ec-borderedDefs dl dd,
.ec-subscription__content .ec-borderedDefs dl dd {
  font-weight: 500;
}
.ec-subscription__content .ec-borderedDefs {
  padding: 0px;
}
.ec-subscription__content .ec-borderedDefs .deli-date {
  font-weight: 500;
  font-size: 16px;
}
.ec-subscription__content .ec-borderedDefs .deli-date .notice {
  display: block;
  font-size: 12px;
  font-weight: 500;
}
.ec-addressList .ec-borderedDefs dl,
.ec-order-history .ec-borderedDefs dl,
.ec-subscription__content .ec-borderedDefs dl {
  padding: 20px 0 !important;
}
.ec-mypageRole {
  color: #111111;
}
/* ===================================
   .bg-load-overlay用ローディングスピナー
   =================================== */
.bg-load-overlay {
  position: fixed !important;
  width: 100% !important;
  height: 100vh !important;
  top: 0 !important;
  left: 0 !important;
  background: rgba(255, 255, 255, 0.7) !important;
  z-index: 9999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 1 !important;
}
.bg-load-overlay .loading-spinner {
  text-align: center !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.bg-load-overlay .dots-loader {
  display: flex !important;
  flex-direction: row !important;
  gap: 8px !important;
  justify-content: center !important;
  align-items: center !important;
  margin-bottom: 20px !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.bg-load-overlay .dot {
  width: 12px !important;
  height: 12px !important;
  min-width: 12px !important;
  min-height: 12px !important;
  background: #a87d26 !important;
  border-radius: 50% !important;
  animation: bgDotBounce 1.4s ease-in-out infinite !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  flex-shrink: 0 !important;
}
.bg-load-overlay .dot:nth-child(1) {
  animation-delay: -0.32s !important;
}
.bg-load-overlay .dot:nth-child(2) {
  animation-delay: -0.16s !important;
}
.bg-load-overlay .dot:nth-child(3) {
  animation-delay: 0s !important;
}
@keyframes bgDotBounce {
  0%, 80%, 100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1.2);
    opacity: 1;
  }
}
.bg-load-overlay .loading-text {
  color: #111111 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  letter-spacing: 0.05em !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}
.ec-addressList {
  padding-top: 32px;
}
/* ステータスアイコン */
.ec-icon3 {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  background: #fff;
  color: #111111;
  border: 1px solid #ccc;
}
.ec-icon3.status-shipped {
  background: #fff;
  color: #1565c0;
  border: 1px solid #1565c0;
}
.ec-icon3.status-completed {
  background: #fff;
  color: #00695c;
  border: 1px solid #00695c;
}
.ec-icon3.status-cancelled {
  background: #fff;
  color: #888;
  border: 1px solid #ccc;
}
.ec-icon3.status-pending {
  background: #fff;
  color: #f57c00;
  border: 1px solid #f57c00;
}
.ec-icon3.status-expired {
  background: #fff;
  color: #9e9e9e;
  border: 1px solid #9e9e9e;
}
.ec-order-history .ec-borderedDefs__inner {
  padding: 0px;
}
.ec-order-history .ec-borderedDefs__inner dd {
  font-weight: 500;
}
.ec-order-history .ec-borderedDefs {
  margin-bottom: 0px;
}
.ec-orderDelivery__item {
  padding: 25px;
  background: #fff;
}
.ec-imageGrid {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  align-items: center;
}
.ec-imageGrid .ec-imageGrid__img {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  width: 128px;
  height: 128px;
}
.ec-imageGrid .ec-imageGrid__img img {
  width: 100%;
}
.ec-imageGrid__img {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border: 1px solid #ccc;
  border-radius: 8px;
}
.ec-imageGrid__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: 0px;
  padding: 10px;
}
.ec-imageGrid__content {
  flex: 1;
  min-width: 0;
  padding-left: 10px;
}
.ec-imageGrid__content .prd-tl {
  font-size: 14px !important;
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.5;
}
.ec-imageGrid__content .prd-tl a {
  text-decoration: none;
}
.ec-imageGrid__content .prd-tl a:hover {
  text-decoration: underline;
}
.ec-imageGrid__content p {
  margin-bottom: 4px;
  font-size: 14px;
}
.ec-imageGrid__content .prd-qty {
  font-weight: 500;
}
.ec-orderDelivery__item + .ec-orderDelivery__item {
  border-top: 1px solid #e0e0e0;
}
@media (max-width: 767px) {
  .ec-imageGrid {
    gap: 15px;
  }
  .ec-imageGrid__content .prd-tl {
    font-size: 14px;
  }
  .ec-orderDelivery__item {
    padding: 15px 0px;
  }
}
.ec-mypage__main.history .ec-imageGrid__img {
  padding: 0 !important;
}
.ec-input.pet-name-wrap {
  display: flex !important;
  align-items: center;
  gap: 8px;
  width: -moz-fit-content;
  width: fit-content;
}
.ec-input.pet-name-wrap input {
  max-width: 300px;
  width: 300px;
  margin: 0;
}
.ec-input.pet-name-wrap .pet-name-suffix {
  white-space: nowrap;
}
.ec-select.weight-input-wrap {
  display: flex !important;
  align-items: center;
  gap: 8px;
  width: -moz-fit-content;
  width: fit-content;
}
.ec-select.weight-input-wrap input {
  max-width: 150px;
  width: 150px;
  margin: 0;
}
.ec-select.weight-input-wrap .pet-name-suffix {
  white-space: nowrap;
}
.ec-pet-info-section p {
  font-weight: 500;
}
.cap-popover {
  position: absolute;
  z-index: 1000;
  background-color: #fff;
  border: 2px solid #e8d5c4;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
@keyframes shake-vertical {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  15% {
    transform: translateX(-50%) translateY(-4px);
  }
  30% {
    transform: translateX(-50%) translateY(0);
  }
  45% {
    transform: translateX(-50%) translateY(-4px);
  }
  60% {
    transform: translateX(-50%) translateY(0);
  }
}
.cap-popover.show {
  opacity: 1;
  visibility: visible;
  animation: shake-vertical 0.4s ease-in-out;
}
.cap-popover .cap-popover__body .tl {
  font-size: 15px;
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}
.cap-popover .cap-popover__body {
  font-weight: 400;
  line-height: 1.5;
  font-weight: 500;
}
.cap-popover__arrow {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
}
.cap-popover__arrow {
  bottom: -10px;
  border-width: 10px 10px 0 10px;
  border-color: #e8d5c4 transparent transparent transparent;
}
.cap-popover__arrow::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 8px 0 8px;
  border-color: #fff transparent transparent transparent;
}
.cap-popover.-top .cap-popover__arrow {
  top: 100%;
  bottom: auto;
  border-width: 10px 10px 0 10px;
  border-color: #e8d5c4 transparent transparent transparent;
}
.cap-popover.-top .cap-popover__arrow::after {
  content: "";
  position: absolute;
  top: -9px;
  bottom: auto;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 8px 8px 8px;
  border-color: transparent transparent #fff transparent;
}
/* トライアル商品のタブカラー調整 */
.product-extension-content[data-extension-id="6"] .ec-productRole__textBlock__tabs li a {
  border-bottom: 2px solid #f7bf18;
}
.product-extension-content[data-extension-id="6"] .ec-productRole__textBlock__tabs li a.is-active {
  border: 2px solid #f7bf18;
  border-bottom: none;
}
.product-extension-content[data-extension-id="9"] .ec-productRole__textBlock__tabs li a {
  border-bottom: 2px solid #e75383;
}
.product-extension-content[data-extension-id="9"] .ec-productRole__textBlock__tabs li a.is-active {
  border: 2px solid #e75383;
  border-bottom: none;
}
.product-extension-content[data-extension-id="7"] .ec-productRole__textBlock__tabs li a {
  border-bottom: 2px solid #c5030d;
}
.product-extension-content[data-extension-id="7"] .ec-productRole__textBlock__tabs li a.is-active {
  border: 2px solid #c5030d;
  border-bottom: none;
}
.product-extension-content[data-extension-id="8"] .ec-productRole__textBlock__tabs li a {
  border-bottom: 2px solid #b6d100;
}
.product-extension-content[data-extension-id="8"] .ec-productRole__textBlock__tabs li a.is-active {
  border: 2px solid #b6d100;
  border-bottom: none;
}
.product-extension-content[data-extension-id="10"] .ec-productRole__textBlock__tabs li a {
  border-bottom: 2px solid #0085c9;
}
.product-extension-content[data-extension-id="10"] .ec-productRole__textBlock__tabs li a.is-active {
  border: 2px solid #0085c9;
  border-bottom: none;
}
/* 商品バリエーション選択ドロップダウン */
.ec-productRole__extension-header {
  position: relative;
}
.ec-productRole__extension-header h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  margin: 0;
}
.ec-productRole__extension-header .extension-toggle-icon {
  font-size: 12px;
  color: #111111;
  transition: transform 0.25s ease;
  margin-left: 8px;
}
.ec-productRole__extension-header.is-open .extension-toggle-icon {
  transform: rotate(180deg);
}
.ec-productRole__extension-dropdown {
  display: none;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-top: 8px;
  animation: dropdownSlideDown 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.ec-productRole__extension-header.is-open .ec-productRole__extension-dropdown {
  display: block;
}
.ec-productRole__extension-dropdown .extension-option {
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #111111;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  background: #ffffff;
}
.ec-productRole__extension-dropdown .extension-option:hover {
  background: #f7f7f7;
}
.ec-productRole__extension-dropdown .extension-option.is-active {
  background: #faf8f5;
  font-weight: 600;
}
.ec-productRole__extension-dropdown .extension-option.is-active:hover {
  background: #f5f2ed;
}
.ec-productRole__extension-dropdown .extension-option:first-child {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.ec-productRole__extension-dropdown .extension-option:last-child {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}
.ec-productRole__extension-dropdown .extension-option + .extension-option {
  border-top: 1px solid #f5f5f5;
}
.ec-productRole__extension-dropdown {
  max-height: 300px;
  overflow-y: auto;
}
.ec-productRole__extension-dropdown::-webkit-scrollbar {
  width: 6px;
}
.ec-productRole__extension-dropdown::-webkit-scrollbar-track {
  background: #f7f7f7;
  border-radius: 0 8px 8px 0;
}
.ec-productRole__extension-dropdown::-webkit-scrollbar-thumb {
  background: #d0d0d0;
  border-radius: 3px;
  -webkit-transition: background 0.2s ease;
  transition: background 0.2s ease;
}
.ec-productRole__extension-dropdown::-webkit-scrollbar-thumb:hover {
  background: #C4A57B;
}
@media (max-width: 767px) {
  .ec-productRole__extension-dropdown .extension-option {
    padding: 12px 16px;
    font-size: 14px;
  }
}
@keyframes dropdownSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.ec-productRole__extension-dropdown .extension-option:focus-visible {
  outline: 2px solid #C4A57B;
  outline-offset: -2px;
  background: #faf8f5;
}
.ec-productRole__extension-trigger:focus-visible {
  outline: 2px solid #C4A57B;
  outline-offset: 2px;
}
.ec-productRole__textBlock__content__materialall,
.ec-productRole__textBlock__content__ingredients,
.ec-productRole .ec-productRole__textBlock__content.ingredients .ec-productRole__textBlock__content__wrap > div table td,
ec-productRole__textBlock__content__note {
  font-weight: 500;
  line-height: 1.8;
}
.campaign-box {
  background: #fff9f0;
  border: 2px solid #f5d5a8;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
  position: relative;
}
.campaign-tag {
  display: inline-block;
  background: #d9534f;
  color: white;
  font-weight: bold;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  margin-bottom: 10px;
}
.campaign-title {
  font-weight: bold;
  color: #333;
  font-size: 16px;
  margin-bottom: 8px;
}
.target-text {
  font-weight: bold;
  color: #333;
  font-size: 16px;
}
.product-detail {
  line-height: 1.8;
  color: #555;
  margin-bottom: 0;
}
.free-tag {
  display: inline-block;
  background: #e8f5e9;
  color: #2e7d32;
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 14px;
  margin-top: 8px;
}
.campaign-title {
  font-weight: 600;
}
.ec-productRole .ec-productRole__trial__off {
  align-items: center;
  font-weight: 600;
}
.ec-productRole .ec-productRole__trial__off__price {
  font-size: 16px;
  font-weight: 500;
}
.ec-productRole .ec-productRole__trial__cont p {
  font-size: 18px;
  font-weight: 600;
}
.ec-productRole .ec-productRole__description {
  margin-bottom: 0px;
}
.ec-productRole .ec-productRole__trial__cont {
  padding: 28px 32px 16px 32px;
}
/* お届け内容の画像。img に width/height 属性（900x780）が付いており、
   height を auto にしないと幅だけ縮んで縦に伸びる。
   2カラム化で右カラムが 418px になり、780px の高さのまま描画されていた */
.ec-productRole .ec-productRole__trial__cont figure {
  margin: 0;
}
.ec-productRole .ec-productRole__trial__cont figure img {
  width: 100%;
  height: auto;
}
/* 給与量モーダル */
#mealAmountModal .modal-content {
  width: 90% !important;
  max-width: 600px !important;
}
#mealAmountModal .modal-body {
  text-align: center !important;
}
#mealAmountModal .modal-body img {
  max-width: 480px !important;
  width: 100% !important;
  height: auto !important;
  border-radius: 8px !important;
}
#mealAmountModal .modal-body p {
  margin-top: 20px !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  font-weight: 500 !important;
}
/* レスポンシブ対応（767px以下） */
@media only screen and (max-width: 767px) {
  #mealAmountModal .modal-content {
    max-width: 85% !important;
  }
  #mealAmountModal .modal-body img {
    max-width: 280px !important;
  }
}
/* 商品リストホバー */
.front_page__product .splide__slide figure,
.ec-shelfRole .ec-shelfGrid__item figure,
.ec-productRole__others .product-image-container {
  border-radius: 24px;
  overflow: hidden;
}
.front_page__product .splide__slide figure img,
.ec-shelfRole .ec-shelfGrid__item figure img,
.ec-productRole__others .product-image-container img {
  display: block;
  width: 100%;
  transition: transform 0.4s ease;
}
.front_page__product__slide .splide__slide a:hover figure img,
.ec-shelfRole .ec-shelfGrid__item:hover figure img,
.ec-productRole__others .product-card a:hover .product-image-container img {
  transform: scale(1.05);
}
/* ニュース記事ホバー */
.ec-newsRole__listItemImage {
  border-radius: 24px;
  overflow: hidden;
}
.ec-newsRole__listItemImage img {
  display: block;
  width: 100%;
  transition: transform 0.4s ease;
}
.ec-newsRole__listItem:hover .ec-newsRole__listItemImage img {
  transform: scale(1.05);
}
/* 監修エリアホバー */
.front_page__authoritys__block a figure img {
  opacity: 0;
  transition: opacity 0.6s ease;
  display: block;
  width: 100%;
}
.front_page__authoritys__block a figure img.loaded {
  opacity: 1;
}
.front_page__authoritys__block a dl {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}
.front_page__authoritys__block a dl.loaded {
  opacity: 1;
  transform: translateY(0);
}
.front_page__authoritys__block a > p {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
}
.front_page__authoritys__block a > p.loaded {
  opacity: 1;
  transform: translateY(0);
}
.front_page__authoritys__block a figure {
  border-radius: 24px;
  overflow: hidden;
}
.front_page__authoritys__block a figure img {
  transition: transform 0.4s ease, opacity 0.6s ease;
}
.front_page__authoritys__block a:hover figure img.loaded {
  transform: scale(1.05);
}
.front_page__authoritys__block a dl dd {
  position: relative;
  padding-right: 60px;
}
.front_page__authoritys__block a dl dd::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: url(../img/top/icon_link.svg) no-repeat center;
  background-size: contain;
  opacity: 0;
  transition: opacity 0.6s ease 1s, transform 0.3s ease;
}
.front_page__authoritys__block a dl.loaded dd::after {
  opacity: 1;
}
.front_page__authoritys__block a:hover dl dd::after {
  transform: translateY(-50%) translateX(4px);
}
/* style.cssで設定されている余分な背景アイコンを無効化 */
.front_page__authoritys__block a {
  background: none !important;
}
/* ===================================
   カート側の商品リスト - グリッドレイアウト
   =================================== */
/* リストをグリッドコンテナに */
.ec-cartRole__main__subscription__list {
  display: flex !important;
  flex-wrap: wrap !important;
  margin: 0 -0.75rem !important;
  padding: 0 !important;
  list-style: none !important;
  gap: 0 !important; /* 既存のgapをリセット */
}
/* 各商品カード（外側の余白） */
.ec-cartRole__main__subscription__list > li {
  flex: 0 0 auto !important;
  padding: 0 0.75rem !important;
  margin-bottom: 1.5rem !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  transition: all 0.2s ease !important;
  display: flex !important;
  flex-direction: column !important;
}
.ec-cartRole__main__subscription__list > li:hover {
  background: #fafafa !important;
}
.ec-cartRole__main__subscription__controls {
  border: none !important;
}
/* ===================================
   カート側の商品リスト - グリッドレイアウト
   =================================== */
/* リストをグリッドコンテナに */
.ec-cartRole__main__subscription__list {
  display: flex !important;
  flex-wrap: wrap !important;
  margin: 0 -0.75rem !important;
  padding: 0 !important;
  list-style: none !important;
  gap: 0 !important; /* 既存のgapをリセット */
}
/* 各商品カード（外側の余白はmarginで） */
.ec-cartRole__main__subscription__list > li {
  flex: 0 0 auto !important;
  margin: 0 0.75rem 1.5rem 0.75rem !important;
  padding: 16px !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  transition: all 0.2s ease !important;
  display: flex !important;
  flex-direction: column !important;
}
.ec-cartRole__main__subscription__list > li:hover {
  background: #fafafa !important;
}
.ec-cartRole__main__subscription__controls {
  background: none !important;
}
/* ===================================
   カート側の商品カードスタイル
   =================================== */
/* 商品画像 */
.ec-cartRole__main__subscription__list > li figure {
  text-align: center !important;
  margin-bottom: 12px !important;
  padding: 0 !important;
}
.ec-cartRole__main__subscription__list > li figure img {
  max-width: 150px !important;
  width: 100% !important;
  height: auto !important;
}
/* コンテンツエリア */
.ec-cartRole__main__subscription__contents {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  padding: 0 !important;
}
.ec-cartRole__main__subscription__contents dl {
  text-align: center !important;
  margin-bottom: 16px !important;
}
.ec-cartRole__main__subscription__contents dd {
  font-weight: 600 !important;
  font-size: 15px !important;
  color: #111111 !important;
}
/* ===================================
   カート側の数量コントロール
   =================================== */
.ec-cartRole__main__subscription__controls {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: auto !important;
  justify-content: center !important;
}
/* プラス/マイナスボタン */
.ec-cartRole__main__subscription__controls button.minus,
.ec-cartRole__main__subscription__controls button.plus {
  width: 40px !important;
  height: 40px !important;
  border: 1px solid #cccccc !important;
  border-radius: 50% !important;
  background-color: #ffffff !important;
  cursor: pointer !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  transition: all 0.15s ease !important;
  color: #111111 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  padding: 0 !important;
  position: relative !important;
}
/* マイナスボタンのアイコン */
.ec-cartRole__main__subscription__controls button.minus::before {
  content: "" !important;
  position: absolute !important;
  width: 12px !important;
  height: 2px !important;
  background-color: currentColor !important;
  border-radius: 1px !important;
}
/* プラスボタンのアイコン（縦線） */
.ec-cartRole__main__subscription__controls button.plus::before {
  content: "" !important;
  position: absolute !important;
  width: 2px !important;
  height: 12px !important;
  background-color: currentColor !important;
  border-radius: 1px !important;
}
/* プラスボタンのアイコン（横線） */
.ec-cartRole__main__subscription__controls button.plus::after {
  content: "" !important;
  position: absolute !important;
  width: 12px !important;
  height: 2px !important;
  background-color: currentColor !important;
  border-radius: 1px !important;
}
/* ホバー時 */
.ec-cartRole__main__subscription__controls button.minus:hover:not(:disabled),
.ec-cartRole__main__subscription__controls button.plus:hover:not(:disabled) {
  background-color: #fff !important;
  border-color: #C4A57B !important;
}
.ec-cartRole__main__subscription__controls button.plus {
  background-image: none !important;
}
.ec-cartRole__main__subscription__controls button.minus {
  background-image: none !important;
}
/* アクティブ時（クリック時） */
.ec-cartRole__main__subscription__controls button.minus:active:not(:disabled),
.ec-cartRole__main__subscription__controls button.plus:active:not(:disabled) {
  transform: scale(0.95) !important;
}
/* 無効化状態 */
.ec-cartRole__main__subscription__controls button.minus:disabled,
.ec-cartRole__main__subscription__controls button.plus:disabled {
  opacity: 0.3 !important;
  cursor: not-allowed !important;
}
/* 数量表示 */
.ec-cartRole__main__subscription__controls .num {
  min-width: 40px !important;
  text-align: center !important;
  font-weight: 600 !important;
  font-size: 20px !important;
  transition: transform 0.2s ease !important;
  -webkit-user-select: none !important;
     -moz-user-select: none !important;
          user-select: none !important;
  color: #111111 !important;
}
/* ===================================
   カート側商品リスト - レスポンシブ対応
   =================================== */
/* 1200px以上で3列表示（上段3つ、下段2つのレイアウトになる） */
@media (min-width: 1200px) {
  .ec-cartRole__main__subscription__list > li {
    width: calc(33.333333% - 1.5rem) !important;
    max-width: calc(33.333333% - 1.5rem) !important;
  }
}
/* 992px～1199pxで3列表示 */
@media (min-width: 992px) and (max-width: 1199px) {
  .ec-cartRole__main__subscription__list > li {
    width: calc(33.333333% - 1.5rem) !important;
    max-width: calc(33.333333% - 1.5rem) !important;
  }
}
/* 768px～991pxで2列表示 */
@media (min-width: 768px) and (max-width: 991px) {
  .ec-cartRole__main__subscription__list > li {
    width: calc(50% - 1.5rem) !important;
    max-width: calc(50% - 1.5rem) !important;
  }
}
/* 767px以下で1列表示 */
@media only screen and (max-width: 767px) {
  .ec-cartRole__main__subscription__list {
    margin: 0 -0.5rem !important;
  }
  .ec-cartRole__main__subscription__list > li {
    width: calc(100% - 1rem) !important;
    max-width: calc(100% - 1rem) !important;
    margin: 0 0.5rem 1rem 0.5rem !important;
    padding: 12px !important;
  }
  .ec-cartRole__main__subscription__list > li figure img {
    max-width: 120px !important;
  }
  .ec-cartRole__main__subscription__controls button.minus,
  .ec-cartRole__main__subscription__controls button.plus {
    width: 36px !important;
    height: 36px !important;
    font-size: 18px !important;
  }
  .ec-cartRole__main__subscription__controls button.minus::before {
    width: 10px !important;
  }
  .ec-cartRole__main__subscription__controls button.plus::before {
    height: 10px !important;
  }
  .ec-cartRole__main__subscription__controls button.plus::after {
    width: 10px !important;
  }
  .ec-cartRole__main__subscription__controls .num {
    font-size: 18px !important;
    min-width: 35px !important;
  }
}
/* ===================================
   カート側商品カード - スマホ横並びレイアウト
   =================================== */
@media only screen and (max-width: 767px) {
  /* 商品カード全体を3カラムレイアウト */
  .ec-cartRole__main__subscription__list > li {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px !important;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 12px;
  }
  /* 画像エリア（左側・固定幅） */
  .ec-cartRole__main__subscription__list > li figure {
    flex-shrink: 0 !important;
    width: 60px !important;
    height: 60px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .ec-cartRole__main__subscription__list > li figure img {
    width: 100% !important;
    height: 100% !important;
    -o-object-fit: contain !important;
       object-fit: contain !important;
    border-radius: 0px !important;
  }
  /* コンテンツエリア（中央・伸縮） */
  .ec-cartRole__main__subscription__contents {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  /* 商品名エリア */
  .ec-cartRole__main__subscription__contents dl {
    text-align: left !important;
    margin: 0 0 8px 0 !important;
  }
  /* dd には種類ラベル（鹿肉ベース等）と商品名の両方が入る。
     dd ごと 2 行に clamp すると 1 行目をラベルが使い、商品名が
     1 行に押し込まれて「GOODISH ベ…」と省略される。
     clamp は商品名だけに掛け、2 行ぶん使えるようにする。 */
  .ec-cartRole__main__subscription__contents dd {
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin: 0 !important;
  }
  .ec-cartRole__main__subscription__contents dd .gd-cart-product-name {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  /* 増減ボタンエリア（右側） */
  .ec-cartRole__main__subscription__controls {
    flex-shrink: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 4px !important;
    margin: 0 !important;
  }
  /* ボタンサイズ調整 */
  .ec-cartRole__main__subscription__controls button.minus,
  .ec-cartRole__main__subscription__controls button.plus {
    width: 28px !important;
    height: 28px !important;
    flex-shrink: 0 !important;
  }
  /* 数量表示 */
  .ec-cartRole__main__subscription__controls .num {
    font-size: 15px !important;
    font-weight: 600 !important;
    min-width: 20px !important;
    text-align: center !important;
  }
}
/* ===================================
   カート トライアルBOX - レスポンシブ対応
   =================================== */
/* ベーススタイル */
.ec-cartRole__main__trial-sp {
  margin-bottom: 20px;
}
.trial-sp-container {
  background: #fff;
  padding: 0px;
}
.trial-sp-header {
  display: flex !important;
  gap: 12px;
  margin-bottom: 18px;
  align-items: flex-start;
}
.trial-sp-image {
  flex: 0 0 140px !important;
  width: 140px !important;
  height: 140px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
}
.trial-sp-image img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  -o-object-fit: cover !important;
     object-fit: cover !important;
  border-radius: 8px;
  aspect-ratio: 1/1;
}
.trial-sp-title-area {
  flex: 1 !important;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.trial-sp-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0px;
}
.ec-cartRole__main__trial-sp .ec-icon2.-subscription {
  display: inline-block;
  font-size: 11px;
  margin: 0 0 8px 0;
}
.trial-sp-products {
  width: 100%;
  padding-top: 18px;
  border-top: 1px solid #ccc;
}
.trial-sp-products-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px 0;
}
.trial-sp-products-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.trial-sp-products-list li {
  padding: 4px 0;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
}
/* タブレット専用（768px〜991px）*/
@media (min-width: 768px) and (max-width: 991px) {
  .ec-cartRole__main__trial-sp {
    margin-bottom: 30px;
  }
  .trial-sp-container {
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
  }
  .trial-sp-header {
    gap: 20px;
    margin-bottom: 24px;
  }
  /* 画像を大きく */
  .trial-sp-image {
    flex: 0 0 200px !important;
    width: 200px !important;
    height: 200px !important;
  }
  .trial-sp-image img {
    border-radius: 12px;
  }
  /* タイトルエリア */
  .trial-sp-title {
    font-size: 22px;
    line-height: 1.5;
    margin-bottom: 8px;
  }
  .ec-cartRole__main__trial-sp .ec-icon2.-subscription {
    font-size: 12px;
    margin: 0 0 12px 0;
    padding: 6px 12px;
  }
  /* 商品リスト */
  .trial-sp-products {
    padding-top: 20px;
  }
  .trial-sp-products-title {
    font-size: 18px;
    margin: 0 0 12px 0;
  }
  .trial-sp-products-list li {
    padding: 6px 0;
    font-size: 15px;
    line-height: 1.8;
  }
}
/* スマホ専用（767px以下）*/
@media (max-width: 767px) {
  .trial-sp-container {
    padding: 0;
  }
  .trial-sp-header {
    gap: 12px;
  }
  .trial-sp-image {
    flex: 0 0 140px !important;
    width: 140px !important;
    height: 140px !important;
  }
  .trial-sp-title {
    font-size: 18px;
  }
  .trial-sp-products-title {
    font-size: 16px;
  }
  .trial-sp-products-list li {
    font-size: 14px;
  }
}
/* トライアルBOX用の価格表示 */
.trial-price-container {
  width: 100%;
  text-align: center;
}
.discount-badge-area {
  margin-bottom: 8px;
}
.discount-badge-area .discount-badge {
  display: inline-block;
  background-color: #e74c3c;
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
}
.price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 4px;
}
.original-price-label {
  font-size: 12px;
  color: #666;
}
.original-price {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
}
.current-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 4px;
}
.current-price-row .total-label {
  font-size: 14px;
  color: #333;
}
.current-price-row .total-price {
  font-size: 24px;
  font-weight: bold;
  color: #e74c3c;
}
.price-notes {
  font-size: 12px;
  color: #666;
}
/* クーポン適用済みタグ - PC・SP共通 */
.applied-coupon-tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding: 5px 8px 5px 28px;
  background: #e94f2a;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%);
}
.applied-coupon-tag::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background: #fff;
  border-radius: 50%;
}
.coupon-tag-content {
  flex-shrink: 0; /* 変更: flex: 1 → flex-shrink: 0 */
  min-width: 0;
}
.coupon-details {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap; /* 変更: wrap → nowrap */
}
.coupon-name {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.coupon-discount {
  color: #ffd700;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.coupon-remove-form {
  margin: 0;
  margin-left: 8px; /* 追加: ボタンとの間隔 */
}
.coupon-close-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0;
  font-weight: bold;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.coupon-close-btn::before {
  content: "\f00d" !important;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-size: 12px !important;
  margin-right: 0 !important;
  display: inline-block !important;
}
.coupon-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}
.coupon-close-btn:active {
  transform: scale(0.95);
}
/* スマホ用進捗バースタイル */
@media (max-width: 767px) {
  .ec-progress {
    margin: 0;
    padding: 8px 16px 20px;
    display: table;
    table-layout: fixed;
    width: 100%;
    max-width: none;
    list-style: none;
  }
  .ec-progress .ec-progress__item {
    display: table-cell;
    position: relative;
    font-size: 14px;
    text-align: center;
    font-weight: bold;
    z-index: 10;
  }
  .ec-progress .ec-progress__item:after {
    height: 0.15em;
    top: 1em;
  }
  .ec-progress .ec-progress__number {
    line-height: 30px;
    width: 30px;
    height: 30px;
    margin: 0 auto 5px;
    font-size: 16px;
    background: #ddd;
    color: #fff;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    border-radius: 50%;
  }
  .ec-progress .is-complete .ec-progress__number {
    background: #9f7620;
  }
  .ec-progress .ec-progress__label {
    font-size: 12px;
    color: #111111;
  }
  .ec-progress .is-complete .ec-progress__label {
    color: #C3976F;
  }
}
/* ============================================
   1. ログインページ専用CSS
   Shopping/login.twig & Mypage/login.twig
   ============================================ */
/* --- スマホ用（767px以下）--- */
@media (max-width: 767px) {
  .ec-cartCompleteRole__title {
    font-size: 18px;
    font-weight: 600;
    margin: 78px 0px 48px 0px;
  }
  .cartCompleteRole__id {
    width: -moz-fit-content;
    width: fit-content;
    padding: 10px 25px;
    margin: 0 auto;
    background: #f2f2f2;
    font-weight: 500;
  }
  .ec-reportDescription {
    margin: 38px auto;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.8;
  }
  /* ログインページの親要素を最大幅に */
  .ec-role:has(.ec-loginBlock) {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 auto !important;
  }
  /* ログインフォーム自体を最大幅に（両方対応） */
  form#shopping_login,
  form#login_mypage {
    width: 100% !important;
    max-width: 100% !important;
  }
  /* ログインページ用の上下中央配置 */
  .ec-loginBlock {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
    padding: 0 16px !important;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .ec-login {
    width: 100% !important;
    max-width: 100% !important;
    margin: 20px 0;
    padding: 32px 20px;
    border-radius: 16px;
  }
  .ec-login .ec-login__header__logo {
    width: 180px;
    margin: 0 auto 24px;
  }
  .ec-login .ec-login__header h1,
  .ec-login .ec-login__header .h1 {
    font-size: 20px;
    margin-bottom: 24px;
  }
  /* 🔧 重要：アイコンとテキストの重なり防止 */
  .ec-login .ec-login__input input[type=email],
  .ec-login .ec-login__input input[type=password],
  .ec-login .ec-login__input input[type=text] {
    font-size: 16px !important;
    height: 48px !important;
    padding-left: 50px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }
  /* 入力エリアの親要素を相対位置に */
  .ec-login .ec-login__mailInput,
  .ec-login .ec-login__passInput {
    position: relative !important;
  }
  /* アイコンのサイズと位置 */
  .ec-login .ec-login__mailInput::before,
  .ec-login .ec-login__passInput::before {
    width: 20px !important;
    height: 20px !important;
    left: 14px !important;
    top: 14px !important;
    position: absolute !important;
  }
  .ec-login .ec-login__block {
    margin: 24px 0;
    flex-direction: column;
    gap: 16px;
  }
  .ec-login .ec-flex__cell {
    width: 100%;
  }
  .ec-login .ec-login__link a.ec-link {
    font-size: 13px;
  }
  .ec-login .ec-login__actions {
    margin-bottom: 12px;
  }
  .ec-login .ec-checkbox label {
    font-size: 14px;
  }
  .ec-login .ec-checkbox .form-check-label {
    font-size: 14px;
  }
  .agree-area {
    padding: 0px;
    margin-top: 48px;
  }
  .agree-area .ec-checkbox {
    margin-bottom: 28px;
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 8px;
  }
  .ec-off4Grid {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .ec-off4Grid__cell {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    grid-column: auto !important;
    grid-column-start: auto !important;
    grid-column-end: auto !important;
  }
  /* ボタンを全幅に */
  .ec-off4Grid__cell .ec-blockBtn--action {
    width: 100% !important;
    margin: 0 !important;
  }
}
/* --- タブレット用（768px〜1024px）--- */
@media (min-width: 768px) and (max-width: 1024px) {
  /* ログインページの親要素 */
  .ec-role:has(.ec-loginBlock) {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 auto !important;
  }
  /* ログインフォーム自体を適度な幅に */
  form#shopping_login,
  form#login_mypage {
    width: 100% !important;
    max-width: 500px !important;
    margin: 0 auto;
  }
  /* ログインページ用の上下中央配置 */
  .ec-loginBlock {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
    padding: 0 32px !important;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .ec-login {
    width: 100% !important;
    max-width: 500px !important;
    margin: 0 auto;
    padding: 48px 40px;
    border-radius: 20px;
  }
  .ec-login .ec-login__header__logo {
    width: 220px;
    margin: 0 auto 32px;
  }
  .ec-login .ec-login__header h1,
  .ec-login .ec-login__header .h1 {
    font-size: 24px;
    margin-bottom: 32px;
  }
  /* 🔧 重要：アイコンとテキストの重なり防止 */
  .ec-login .ec-login__input input[type=email],
  .ec-login .ec-login__input input[type=password],
  .ec-login .ec-login__input input[type=text] {
    font-size: 16px !important;
    height: 52px !important;
    padding-left: 54px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }
  /* 入力エリアの親要素を相対位置に */
  .ec-login .ec-login__mailInput,
  .ec-login .ec-login__passInput {
    position: relative !important;
  }
  /* アイコンのサイズと位置 */
  .ec-login .ec-login__mailInput::before,
  .ec-login .ec-login__passInput::before {
    width: 22px !important;
    height: 22px !important;
    left: 16px !important;
    top: 15px !important;
    position: absolute !important;
  }
  .ec-login .ec-login__block {
    margin: 28px 0;
    flex-direction: row;
    gap: 0;
  }
  .ec-login .ec-flex__cell {
    width: auto;
  }
  .ec-login .ec-login__link a.ec-link {
    font-size: 14px;
  }
  .ec-login .ec-login__actions {
    margin-bottom: 16px;
  }
  .ec-login .ec-checkbox label {
    font-size: 14px;
  }
  .ec-login .ec-checkbox .form-check-label {
    font-size: 14px;
  }
}
/* ============================================
   2. パスワード忘れ画面専用CSS
   forgot（パスワード再発行）
   ============================================ */
/* --- スマホ用（767px以下）--- */
@media (max-width: 767px) {
  /* パスワード忘れページの親要素を最大幅に */
  .ec-role:has(.ec-loginBlock) form[action*=forgot] {
    width: 100% !important;
    max-width: 100% !important;
  }
  /* パスワード忘れページ用の上下中央配置 */
  .ec-loginBlock:has(form[action*=forgot]) {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
    padding: 0 16px !important;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .ec-loginBlock:has(form[action*=forgot]) .ec-login {
    width: 100% !important;
    max-width: 100% !important;
    margin: 20px 0;
    padding: 32px 20px;
    border-radius: 16px;
  }
  /* ヘッダー部分 */
  .ec-loginBlock:has(form[action*=forgot]) .ec-login__header {
    text-align: center;
    margin-bottom: 24px;
  }
  /* タイトル */
  .ec-loginBlock:has(form[action*=forgot]) .ec-login__header h1,
  .ec-loginBlock:has(form[action*=forgot]) .ec-login__header .ec-login__titile {
    font-size: 20px !important;
    font-weight: 600 !important;
    margin-bottom: 16px !important;
    color: #111111 !important;
  }
  /* サブタイトル */
  .ec-loginBlock:has(form[action*=forgot]) .ec-login__header .ec-login__subtitle,
  .ec-loginBlock:has(form[action*=forgot]) .ec-login__header p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #666 !important;
    margin: 0 !important;
    font-weight: 500 !important;
  }
  /* 🔧 重要：アイコンとテキストの重なり防止 */
  .ec-loginBlock:has(form[action*=forgot]) .ec-login__input input[type=email] {
    font-size: 16px !important;
    height: 48px !important;
    padding-left: 50px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }
  /* 入力エリアの親要素を相対位置に */
  .ec-loginBlock:has(form[action*=forgot]) .ec-login__mailInput {
    position: relative !important;
  }
  /* アイコンのサイズと位置 */
  .ec-loginBlock:has(form[action*=forgot]) .ec-login__mailInput::before {
    width: 20px !important;
    height: 20px !important;
    left: 14px !important;
    top: 14px !important;
    position: absolute !important;
  }
  /* ボタン */
  .ec-loginBlock:has(form[action*=forgot]) .ec-login__actions {
    margin-top: 24px !important;
    margin-bottom: 16px !important;
  }
  .ec-loginBlock:has(form[action*=forgot]) .ec-login__actions button,
  .ec-loginBlock:has(form[action*=forgot]) .ec-login__actions .ec-blockBtn--action {
    width: 100% !important;
    height: 48px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
  }
  /* リンク */
  .ec-loginBlock:has(form[action*=forgot]) .ec-login__link {
    text-align: center !important;
    margin-top: 16px !important;
  }
  .ec-loginBlock:has(form[action*=forgot]) .ec-login__link a.ec-link {
    font-size: 13px !important;
    color: #666 !important;
    text-decoration: underline !important;
    font-weight: 500 !important;
  }
}
/* --- タブレット用（768px〜1024px）--- */
@media (min-width: 768px) and (max-width: 1024px) {
  /* パスワード忘れページの親要素 */
  .ec-role:has(.ec-loginBlock) form[action*=forgot] {
    width: 100% !important;
    max-width: 500px !important;
    margin: 0 auto;
  }
  /* パスワード忘れページ用の上下中央配置 */
  .ec-loginBlock:has(form[action*=forgot]) {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
    padding: 0 32px !important;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .ec-loginBlock:has(form[action*=forgot]) .ec-login {
    width: 100% !important;
    max-width: 500px !important;
    margin: 0 auto;
    padding: 48px 40px;
    border-radius: 20px;
  }
  /* ヘッダー部分 */
  .ec-loginBlock:has(form[action*=forgot]) .ec-login__header {
    text-align: center;
    margin-bottom: 32px;
  }
  /* タイトル */
  .ec-loginBlock:has(form[action*=forgot]) .ec-login__header h1,
  .ec-loginBlock:has(form[action*=forgot]) .ec-login__header .ec-login__titile {
    font-size: 24px !important;
    font-weight: 600 !important;
    margin-bottom: 16px !important;
    color: #111111 !important;
  }
  /* サブタイトル */
  .ec-loginBlock:has(form[action*=forgot]) .ec-login__header .ec-login__subtitle,
  .ec-loginBlock:has(form[action*=forgot]) .ec-login__header p {
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: #666 !important;
    margin: 0 !important;
    font-weight: 500 !important;
  }
  /* 🔧 重要：アイコンとテキストの重なり防止 */
  .ec-loginBlock:has(form[action*=forgot]) .ec-login__input input[type=email] {
    font-size: 16px !important;
    height: 52px !important;
    padding-left: 54px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }
  /* 入力エリアの親要素を相対位置に */
  .ec-loginBlock:has(form[action*=forgot]) .ec-login__mailInput {
    position: relative !important;
  }
  /* アイコンのサイズと位置 */
  .ec-loginBlock:has(form[action*=forgot]) .ec-login__mailInput::before {
    width: 22px !important;
    height: 22px !important;
    left: 16px !important;
    top: 15px !important;
    position: absolute !important;
  }
  /* ボタン */
  .ec-loginBlock:has(form[action*=forgot]) .ec-login__actions {
    margin-top: 32px !important;
    margin-bottom: 20px !important;
  }
  .ec-loginBlock:has(form[action*=forgot]) .ec-login__actions button,
  .ec-loginBlock:has(form[action*=forgot]) .ec-login__actions .ec-blockBtn--action {
    width: 100% !important;
    height: 52px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
  }
  /* リンク */
  .ec-loginBlock:has(form[action*=forgot]) .ec-login__link {
    text-align: center !important;
    margin-top: 20px !important;
  }
  .ec-loginBlock:has(form[action*=forgot]) .ec-login__link a.ec-link {
    font-size: 14px !important;
    color: #666 !important;
    text-decoration: underline !important;
    font-weight: 500 !important;
  }
}
/* ============================================
   3. 会員登録・フォーム共通CSS
   会員登録、住所登録、各種フォームページ
   ============================================ */
/* --- スマホ用フォームスタイル（767px以下）--- */
@media (max-width: 767px) {
  .ec-input {
    margin-bottom: 10px;
  }
  /* 全ての入力要素とセレクトボックスを48pxに統一 */
  input[type=text],
  input[type=email],
  input[type=password],
  input[type=tel],
  input[type=number],
  input[type=url],
  input[type=search],
  select,
  body main select,
  .ec-select select,
  .ec-input select,
  .ec-birth select,
  .ec-halfInput select,
  .ec-numberInput select,
  .ec-zipInput select,
  .ec-telInput select,
  .ec-input input[type=text],
  .ec-input input[type=email],
  .ec-input input[type=password],
  .ec-input input[type=tel],
  .ec-input input[type=number],
  .ec-halfInput input,
  .ec-zipInput input,
  .ec-telInput input,
  input.form-control,
  select.form-control,
  .pet-form-control {
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    padding: 12px 16px !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    border-radius: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
  }
  /* セレクトボックスの右側padding（矢印アイコンのスペース） */
  select,
  body main select,
  .ec-select select,
  .ec-input select,
  .ec-birth select,
  .ec-halfInput select,
  .ec-numberInput select,
  .ec-zipInput select,
  .ec-telInput select,
  select.form-control {
    padding-right: 40px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%23666' d='M6 8L0 0h12z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    background-size: 12px 8px !important;
  }
  /* セレクトボックスのフォントサイズを16pxに上書き */
  select,
  body main select,
  .ec-select select,
  .ec-input select,
  .ec-birth select,
  .ec-halfInput select,
  .ec-numberInput select,
  .ec-zipInput select,
  .ec-telInput select,
  select.form-control,
  select.pet-form-control {
    font-size: 16px !important;
  }
  /* テキストエリアは高さ制限なし */
  textarea,
  .ec-input textarea,
  textarea.form-control {
    height: auto !important;
    min-height: 120px !important;
    max-height: none !important;
    padding: 12px 16px !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    border-radius: 8px !important;
  }
  /* プレースホルダースタイル */
  input[type=text]::-moz-placeholder, input[type=email]::-moz-placeholder, input[type=password]::-moz-placeholder, input[type=tel]::-moz-placeholder, input[type=number]::-moz-placeholder, input[type=url]::-moz-placeholder, input[type=search]::-moz-placeholder, textarea::-moz-placeholder, textarea.pet-form-control::-moz-placeholder, select::-moz-placeholder, .ec-input input::-moz-placeholder, .ec-halfInput input::-moz-placeholder, .ec-zipInput input::-moz-placeholder, .ec-telInput input::-moz-placeholder, input.form-control::-moz-placeholder, textarea.form-control::-moz-placeholder {
    font-size: 15px !important;
    color: #999 !important;
    font-weight: 400 !important;
    opacity: 1 !important;
  }
  input[type=text]::placeholder,
  input[type=email]::placeholder,
  input[type=password]::placeholder,
  input[type=tel]::placeholder,
  input[type=number]::placeholder,
  input[type=url]::placeholder,
  input[type=search]::placeholder,
  textarea::placeholder,
  textarea.pet-form-control::placeholder,
  select::placeholder,
  .ec-input input::placeholder,
  .ec-halfInput input::placeholder,
  .ec-zipInput input::placeholder,
  .ec-telInput input::placeholder,
  input.form-control::placeholder,
  textarea.form-control::placeholder {
    font-size: 15px !important;
    color: #999 !important;
    font-weight: 400 !important;
    opacity: 1 !important;
  }
  /* Webkit系ブラウザ用 */
  input::-webkit-input-placeholder,
  textarea::-webkit-input-placeholder,
  textarea.pet-form-control::-webkit-input-placeholder {
    font-size: 15px !important;
    color: #999 !important;
    font-weight: 400 !important;
    opacity: 1 !important;
  }
  /* Firefox用 */
  input::-moz-placeholder,
  textarea::-moz-placeholder,
  textarea.pet-form-control::-moz-placeholder {
    font-size: 15px !important;
    color: #999 !important;
    font-weight: 400 !important;
    opacity: 1 !important;
  }
  /* IE用 */
  input:-ms-input-placeholder,
  textarea:-ms-input-placeholder,
  textarea.pet-form-control:-ms-input-placeholder {
    font-size: 15px !important;
    color: #999 !important;
    font-weight: 400 !important;
    opacity: 1 !important;
  }
  /* ラジオボタン・チェックボックス */
  .ec-registerRole input[type=radio] + span,
  .ec-checkbox input[type=radio] + span {
    font-size: 15px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 8px 0;
  }
  .ec-registerRole input[type=radio],
  .ec-checkbox input[type=radio] {
    width: 22px;
    height: 22px;
    margin-right: 8px;
  }
  .ec-registerRole .form-check,
  .ec-checkbox .form-check {
    margin-bottom: 12px;
  }
  /* 郵便番号検索ボタン */
  .ec-zipInput {
    display: flex !important;
    gap: 0px !important;
    align-items: center !important;
    margin-bottom: 10px;
  }
  .ec-zipInput input {
    flex: 1 !important;
  }
  .ec-zipInput button,
  .ec-zipInput .ec-inlineBtn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }
  /* 生年月日セレクト */
  .ec-birth {
    display: flex !important;
    gap: 8px !important;
    align-items: center !important;
  }
  .ec-birth select {
    flex: 1 !important;
  }
  .ec-birth span {
    flex-shrink: 0 !important;
    line-height: 48px !important;
    font-size: 14px !important;
  }
  /* 2カラムフィールド（姓名） */
  .ec-halfInput {
    display: flex !important;
    gap: 12px !important;
  }
  .ec-halfInput input {
    flex: 1 !important;
  }
  /* クーポン入力フィールド */
  .ec-cartRole__side__coupon__input {
    min-height: 48px !important;
    height: 48px !important;
  }
  .ec-cartRole__side__coupon__input input[type=text] {
    height: 100% !important;
    padding: 12px 16px !important;
  }
  .ec-cartRole__side__coupon__input button {
    height: 100% !important;
    padding: 0 16px !important;
  }
  /* ペット情報フォーム */
  .pet-name-wrap input,
  .weight-input-wrap input {
    height: 48px !important;
    min-height: 48px !important;
    padding: 12px 16px !important;
  }
  /* リアルタイムバリデーション用ラッパー */
  .input-wrapper input,
  .input-wrapper select {
    height: 48px !important;
    min-height: 48px !important;
  }
  /* お届け間隔入力 */
  .ec-input .input-group input.form-control {
    height: 48px !important;
    min-height: 48px !important;
  }
  .ec-input .input-group .input-group-text {
    height: 48px !important;
    min-height: 48px !important;
    padding: 12px 16px !important;
    line-height: 1.5 !important;
  }
  /* フォームセクション内部のpadding調整 */
  .ec-original__layout__inner {
    padding: 0px !important;
  }
  /* セクション */
  .ec-borderedDefs,
  .ec-orderOrder__inner {
    margin-bottom: 0px;
    padding: 20px 16px !important;
    border-radius: 12px;
  }
  .ec-orderOrder__inner.ec-orderPayment {
    margin-bottom: 0px;
    padding: 0px;
    border-radius: 12px;
  }
  .ec-orderOrder__inner p,
  .ec-orderDeliveryShipping .ec-orderDelivery__shipping__address p {
    font-size: 15px !important;
    font-weight: 500 !important;
  }
  .ec-borderedDefs dt {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0px;
    padding: 15px 0px 15px 0px;
    gap: 0;
  }
  .ec-borderedDefs dd {
    margin-bottom: 16px;
  }
  .ec-borderedDefs dd:last-child {
    margin-bottom: 0;
  }
  /* ラベル */
  .ec-label,
  .ec-borderedDefs .ec-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0px;
    display: flex;
    align-items: center;
    line-height: 1.6;
  }
  /* 必須バッジ */
  .ec-required {
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 4px;
    margin-right: 8px;
    font-weight: 600;
    flex-shrink: 0;
  }
  /* フォーカス時 */
  .ec-input input:focus,
  .ec-input textarea:focus,
  .ec-select select:focus,
  input.form-control:focus,
  select.form-control:focus,
  textarea.form-control:focus {
    outline: none !important;
  }
  .ec-checkbox label,
  .ec-radio label {
    font-size: 15px;
    line-height: 1.8;
    display: flex;
    align-items: flex-start;
    cursor: pointer;
  }
  .ec-checkbox input[type=checkbox],
  .ec-radio input[type=radio] {
    margin-top: 4px;
    margin-right: 8px;
    flex-shrink: 0;
  }
  /* ラジオボタンのラベルスタイル */
  .ec-radio label,
  .ec-radio input[type=radio] + label {
    line-height: 1.6 !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 8px 16px 8px 32px !important;
    font-size: 15px !important;
  }
  /* ラジオボタンの親コンテナ */
  .ec-radio {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding-left: 10px;
  }
  /* エラーメッセージ */
  .ec-errorMessage,
  .text-danger,
  .invalid-feedback {
    font-size: 13px !important;
    margin-top: 8px !important;
    padding: 8px 12px !important;
    border-radius: 4px !important;
    line-height: 1.6 !important;
  }
  #interval-preview.text-danger {
    font-size: 12px !important;
    margin-top: 4px !important;
    padding: unset !important;
    border-radius: unset !important;
    line-height: 1.6 !important;
    font-weight: 600 !important;
  }
  /* ヘルプテキスト */
  .ec-input .form-text,
  .form-text,
  small.text-muted {
    font-size: 12px;
    margin-top: 6px;
    display: block;
    line-height: 1.6;
  }
  .ec-registerRole__actions .ec-blockBtn--action {
    height: 56px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 28px !important;
  }
  /* 注意事項・説明文 */
  .ec-registerRole .ec-registerRole__info,
  .ec-off4Grid .ec-off4Grid__cell {
    font-size: 13px;
    line-height: 1.8;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
  }
  /* 住所入力の調整 */
  .ec-borderedDefs .ec-zipInput + .ec-select,
  .ec-borderedDefs .ec-zipInput ~ .ec-input {
    margin-top: 0px;
  }
  .ec-registerRole__actions .ec-checkbox label {
    align-items: flex-start !important;
  }
  .ec-registerRole__actions .ec-checkbox label input[type=checkbox] {
    margin-top: 4px;
  }
  .mb-sp-10 {
    margin-bottom: 10px !important;
  }
  .mb-sp-20 {
    margin-bottom: 20px !important;
  }
}
/* --- タブレット用フォームスタイル（768px〜1024px）--- */
@media (min-width: 768px) and (max-width: 1024px) {
  /* フォームセクション内部のpadding調整 */
  .ec-original__layout__inner {
    padding: 0px !important;
  }
  /* 登録フォーム全体 */
  .ec-registerRole {
    max-width: 680px;
    margin: 0 auto;
    padding: 0;
  }
  /* セクション */
  /* セレクタが不正（.ec-borderedDefs., ）で、ブラウザはこのルールごと破棄している。
     挙動を変えないためコメントのまま残す。有効化したい場合は要デザイン確認。
     .ec-borderedDefs., {
     margin-bottom: 32px;
     padding: 32px 28px;
     border-radius: 16px;
     }
  */
  .ec-borderedDefs dt {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
    padding-bottom: 16px;
  }
  .ec-borderedDefs dd {
    margin-bottom: 28px;
  }
  .ec-borderedDefs dd:last-child {
    margin-bottom: 0;
  }
  /* ラベル */
  .ec-label,
  .ec-borderedDefs .ec-label {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    line-height: 1.6;
  }
  /* 必須バッジ */
  .ec-required {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 4px;
    margin-right: 10px;
    font-weight: 600;
    flex-shrink: 0;
  }
  /* 入力フィールド共通 */
  .ec-input input[type=text],
  .ec-input input[type=email],
  .ec-input input[type=password],
  .ec-input input[type=tel],
  .ec-input input[type=number],
  .ec-select select,
  .ec-birth select,
  .ec-zipInput input,
  input.form-control,
  select.form-control {
    font-size: 16px !important;
    height: 52px !important;
    padding: 0 18px !important;
    border-radius: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  /* テキストエリア */
  .ec-input textarea,
  textarea.form-control {
    font-size: 16px !important;
    padding: 14px 18px !important;
    border-radius: 10px !important;
    width: 100% !important;
    min-height: 140px !important;
    box-sizing: border-box !important;
    line-height: 1.6 !important;
  }
  /* 2カラムフィールド（姓名、フリガナ） */
  .ec-halfInput {
    display: flex;
    gap: 16px;
    width: 100%;
  }
  .ec-halfInput > div,
  .ec-halfInput .ec-input {
    flex: 1;
    min-width: 0;
  }
  .ec-halfInput input {
    width: 100% !important;
  }
  /* 郵便番号フィールド */
  .ec-zipInput {
    display: flex;
    gap: 12px;
    align-items: flex-start;
  }
  .ec-zipInput input {
    flex: 1;
    max-width: 200px;
  }
  .ec-zipInput .ec-inlineBtn,
  .ec-zipInput button {
    flex-shrink: 0;
    height: 52px !important;
    padding: 0 20px !important;
    font-size: 15px !important;
    white-space: nowrap;
    border-radius: 10px !important;
    font-weight: 600;
  }
  /* 生年月日セレクト */
  .ec-birth {
    display: flex;
    gap: 12px;
    align-items: center;
  }
  .ec-birth select {
    flex: 1;
    max-width: 150px;
  }
  .ec-birth .ec-birth__divider {
    flex-shrink: 0;
    font-size: 15px;
  }
  /* セレクトボックス */
  .ec-select,
  .ec-select select {
    width: 100%;
  }
  .ec-select select {
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%23666' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 45px !important;
  }
  /* チェックボックス・ラジオボタン */
  .ec-checkbox {
    margin: 18px 0;
  }
  .ec-checkbox label,
  .ec-radio label {
    font-size: 15px;
    line-height: 1.8;
    display: flex;
    align-items: flex-start;
    cursor: pointer;
  }
  .ec-checkbox input[type=checkbox],
  .ec-radio input[type=radio] {
    margin-top: 4px;
    margin-right: 10px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
  }
  /* エラーメッセージ */
  .ec-errorMessage,
  .text-danger,
  .invalid-feedback {
    font-size: 14px !important;
    margin-top: 10px !important;
    padding: 10px 14px !important;
    border-radius: 6px !important;
    line-height: 1.6 !important;
  }
  /* ヘルプテキスト */
  .ec-input .form-text,
  .form-text,
  small.text-muted {
    font-size: 13px;
    margin-top: 8px;
    display: block;
    line-height: 1.6;
  }
  /* 送信ボタン */
  .ec-registerRole__actions {
    padding: 40px 32px;
  }
  .ec-registerRole__actions .ec-blockBtn--action {
    height: 60px !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    border-radius: 30px !important;
    max-width: 400px !important;
    margin: 0 auto !important;
    display: block !important;
  }
  /* 注意事項・説明文 */
  .ec-registerRole .ec-registerRole__info,
  .ec-off4Grid .ec-off4Grid__cell {
    font-size: 14px;
    line-height: 1.8;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 28px;
  }
  /* 住所入力の調整 */
  .ec-borderedDefs .ec-zipInput + .ec-select,
  .ec-borderedDefs .ec-zipInput ~ .ec-input {
    margin-top: 16px;
  }
}
/* ============================================
   4. 商品詳細ページ・ペット情報CSS
   商品詳細ページ、ペット情報登録ページ
   ============================================ */
/* --- スマホ用（767px以下）--- */
@media (max-width: 767px) {
  body {
    padding-top: 98px;
  }
  /* 商品詳細ページ */
  .ec-sliderItemRole {
    border-bottom: 0px;
  }
  .ec-productRole .ec-productRole__textBlock__title {
    margin-top: 8px;
    margin-bottom: 8px;
    font-weight: 700;
  }
  .ec-productRole .ec-productRole__description {
    font-size: 16px;
    line-height: 1.6;
  }
  .ec-productRole .ec-productRole__textBlock__content.feature p {
    font-size: 14px;
    line-height: 1.8;
    font-weight: 500;
  }
  .ec-productRole .net {
    font-size: 14px;
    line-height: 1.6;
    font-weight: 500;
    margin-top: 20px;
  }
  .ec-productRole .ec-productRole__tag {
    font-size: 12px;
    padding: 5px 10px;
  }
  .ec-productRole .net span {
    font-size: 12px;
  }
  .ec-productRole__modal {
    font-size: 12px;
    padding: 8px 10px;
  }
  /* 価格表示 */
  .cart-sticky-total .ec-price,
  .ec-productRole .ec-price {
    display: flex;
    align-items: baseline;
    font-size: 24px;
    font-weight: 700;
    color: #000;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    justify-content: flex-end;
  }
  .ec-productRole .ec-productRole__trial__price .ec-price__symbol,
  .ec-productRole .ec-productRole__trial__price .ec-price__amount {
    color: #e94f2a !important;
  }
  .cart-sticky-total .ec-price .ec-price__symbol,
  .ec-productRole .ec-price .ec-price__symbol {
    font-size: 18px;
    margin-right: 2px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 500;
  }
  .cart-sticky-total .ec-price .ec-price__amount,
  .ec-productRole .ec-price .ec-price__amount {
    display: flex;
    align-items: baseline;
    font-size: 22px;
    color: #000;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
  }
  .cart-sticky-total .ec-price .ec-price__label {
    font-size: 13px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    margin-right: 5px;
  }
  .cart-sticky-total .ec-price .ec-price__tax,
  .ec-productRole .ec-price .ec-price__tax {
    font-size: 13px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    margin-left: 5px;
  }
  .ec-productRole .ec-productRole__trial__off {
    gap: 5px;
    justify-content: flex-end;
    margin-bottom: 0px;
  }
  .ec-productRole .ec-productRole__buyTab__price {
    margin-top: 0px;
  }
  .campaign-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 0px;
  }
  .ec-productRole .ec-productRole__buyTab__point li {
    margin-bottom: 10px;
    font-size: 14px;
  }
  .ec-productRole .ec-productRole__buyTab__point li::before {
    width: 20px;
    height: 20px;
  }
  .ec-productRole .ec-productRole__trial__cont {
    padding: 25px;
    background: #f6f2e8;
  }
  .ec-productRole .ec-productRole__trial__cont p {
    font-size: 16px;
    font-weight: 600;
  }
  .ec-productRole .ec-productRole__trial__cont p span {
    font-size: 14px;
    font-weight: 700;
  }
  /* ペット情報 */
  .pet-image-section {
    flex-direction: column;
  }
  .pet-image-preview {
    width: 180px;
    height: 180px;
    border-radius: 50%;
  }
  .pet-name-with-suffix {
    justify-content: center;
  }
  .pet-image-placeholder {
    font-size: 48px;
  }
  .pet-image-actions {
    margin-top: 10px;
  }
  .pet-name-suffix {
    font-size: 15px;
    font-weight: 500;
  }
  .pet-info-header {
    padding: 10px 20px;
  }
  .pet-input-add-area {
    margin: -28px 16px 28px 16px;
    padding: 20px 0px;
  }
  .pet-input-add-area .add-pet-button {
    width: 90%;
  }
  pet-info-header {
    padding: 10px 10px;
  }
}
/* ============================================
   5. リアルタイムバリデーション用CSS
   全フォームページ（デバイス共通）
   ============================================ */
/* リアルタイムエラーメッセージ */
.realtime-error {
  font-size: 12px;
  color: #de5d50;
  font-weight: 600;
  margin-top: 8px !important;
  display: none !important;
  line-height: 1.4 !important;
  clear: both !important;
  width: 100% !important;
}
.realtime-error.show {
  display: block !important;
}
/* 入力フィールドラッパー */
.input-wrapper {
  position: relative;
  display: inline-block !important;
}
.input-wrapper.field-valid input {
  border-color: #4caf50 !important;
}
.input-wrapper.field-invalid input {
  border-color: #c62828 !important;
}
/* 名前フィールド用の調整 */
.ec-halfInput > .input-wrapper {
  display: inline-block !important;
  width: 35% !important;
  max-width: 280px !important;
  vertical-align: top !important;
  margin-left: 0 !important;
}
.ec-halfInput > .input-wrapper:first-child {
  margin-right: 10px !important;
}
.ec-halfInput > .input-wrapper:last-child {
  margin-left: 0 !important;
}
.ec-halfInput > .input-wrapper input {
  width: 100% !important;
  margin-left: 0 !important;
}
/* 電話番号フィールド用の調整 */
.ec-telInput .input-wrapper {
  width: 100% !important;
  max-width: 400px !important;
}
.ec-telInput .input-wrapper input {
  width: 100% !important;
}
/* 郵便番号フィールド用の調整 */
.ec-zipInput {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  max-width: 350px;
}
.ec-zipInput > span {
  margin-right: 0px;
}
.ec-zipInput .input-wrapper {
  flex: 1;
  min-width: 0;
}
.ec-zipInput .input-wrapper input {
  width: 100% !important;
}
/* 住所選択フィールド用の調整 */
.ec-select .input-wrapper {
  width: 100% !important;
  max-width: 350px !important;
}
.ec-select .input-wrapper select {
  width: 100% !important;
}
/* メールアドレスフィールド用の調整 */
.ec-input .input-wrapper {
  width: 100% !important;
  max-width: 500px !important;
}
.ec-input .input-wrapper input {
  width: 100% !important;
}
/* パスワードチェックリスト用スタイル */
.password-checklist {
  margin-top: 12px !important;
  padding: 12px !important;
  background-color: #f5f5f5 !important;
  border-radius: 4px !important;
  max-width: 500px !important;
  margin-bottom: 10px;
}
.password-check-item {
  display: flex !important;
  align-items: center !important;
  padding: 6px 0 !important;
  font-size: 13px !important;
  color: #666 !important;
  transition: color 0.3s ease !important;
}
.password-check-item .check-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 20px !important;
  height: 20px !important;
  margin-right: 8px !important;
  border-radius: 50% !important;
  background-color: #ddd !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: bold !important;
  transition: all 0.3s ease !important;
}
.password-check-item.valid {
  color: #b88b2d !important;
}
.password-check-item.valid .check-icon {
  background-color: #b88b2d !important;
}
.password-check-item .check-text {
  line-height: 1.4 !important;
}
/* レスポンシブ対応 */
@media (max-width: 767px) {
  .ec-halfInput > .input-wrapper {
    width: 48% !important;
    max-width: none !important;
  }
  .ec-input .input-wrapper,
  .ec-telInput .input-wrapper,
  .ec-select .input-wrapper {
    width: 100% !important;
    max-width: none !important;
  }
  .ec-zipInput {
    max-width: none;
  }
  .password-checklist {
    max-width: none !important;
  }
}
/* ============================================
   5. アラート共通CSS（全ページ対応）
   ============================================ */
/* --- スマホ用（767px以下）--- */
@media (max-width: 767px) {
  .alert,
  .ec-login__alerts .alert,
  .ec-loginBlock .alert,
  .ec-registerRole .alert,
  .ec-off4Grid .alert {
    padding: 12px 36px 12px 12px !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin-bottom: 16px !important;
    border-radius: 8px !important;
    position: relative;
  }
  .alert-danger {
    background-color: #ffe6e6 !important;
    border: 1px solid #ffcccc !important;
    color: #c62828 !important;
  }
  .alert-success {
    background-color: #e8f5e9 !important;
    border: 1px solid #c8e6c9 !important;
    color: #2e7d32 !important;
  }
  .alert-info {
    background-color: #e3f2fd !important;
    border: 1px solid #bbdefb !important;
    color: #1565c0 !important;
  }
  .alert-warning {
    background-color: #fff8e1 !important;
    border: 1px solid #ffecb3 !important;
    color: #f57f17 !important;
  }
  .alert br {
    display: block;
    content: "";
    margin: 4px 0;
  }
  .alert .btn-close,
  .alert .close {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 8px;
    font-size: 12px;
    opacity: 0.5;
    background: transparent;
    border: none;
    cursor: pointer;
  }
  .alert .btn-close:hover,
  .alert .close:hover {
    opacity: 1;
  }
  .alert a {
    text-decoration: underline;
    font-weight: 600;
  }
  .alert-danger a {
    color: #c62828 !important;
  }
  .alert-success a {
    color: #2e7d32 !important;
  }
  .alert-info a {
    color: #1565c0 !important;
  }
  .alert-warning a {
    color: #f57f17 !important;
  }
  .ec-login__alerts,
  .ec-registerRole__alerts,
  .alert-container {
    margin-top: 0 !important;
    margin-bottom: 16px !important;
  }
}
/* --- タブレット用（768px〜1024px）--- */
@media (min-width: 768px) and (max-width: 1024px) {
  .alert,
  .ec-login__alerts .alert,
  .ec-loginBlock .alert,
  .ec-registerRole .alert,
  .ec-off4Grid .alert {
    padding: 14px 40px 14px 14px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
    border-radius: 10px !important;
    position: relative;
  }
  .alert-danger {
    background-color: #ffe6e6 !important;
    border: 1px solid #ffcccc !important;
    color: #c62828 !important;
  }
  .alert-success {
    background-color: #e8f5e9 !important;
    border: 1px solid #c8e6c9 !important;
    color: #2e7d32 !important;
  }
  .alert-info {
    background-color: #e3f2fd !important;
    border: 1px solid #bbdefb !important;
    color: #1565c0 !important;
  }
  .alert-warning {
    background-color: #fff8e1 !important;
    border: 1px solid #ffecb3 !important;
    color: #f57f17 !important;
  }
  .alert br {
    display: block;
    content: "";
    margin: 6px 0;
  }
  .alert .btn-close,
  .alert .close {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 10px;
    font-size: 14px;
    opacity: 0.5;
    background: transparent;
    border: none;
    cursor: pointer;
  }
  .alert .btn-close:hover,
  .alert .close:hover {
    opacity: 1;
  }
  .alert a {
    text-decoration: underline;
    font-weight: 600;
  }
  .alert-danger a {
    color: #c62828 !important;
  }
  .alert-success a {
    color: #2e7d32 !important;
  }
  .alert-info a {
    color: #1565c0 !important;
  }
  .alert-warning a {
    color: #f57f17 !important;
  }
  .ec-login__alerts,
  .ec-registerRole__alerts,
  .alert-container {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
  }
}
/* ============================================
   注文手続き画面のフォームレイアウト統一
   ============================================ */
/* --- スマホ用（767px以下）の調整 --- */
@media (max-width: 767px) {
  /* ラベルと入力フィールドの間に適度な余白を確保 */
  .ec-label,
  .ec-borderedDefs .ec-label {
    margin-bottom: 8px !important;
  }
  .ec-imageGrid__img {
    width: 90px;
    height: 90px;
  }
  .ec-imageGrid .ec-imageGrid__content {
    padding-left: 0px;
  }
  /* dt要素（ラベル部分）の下部余白を統一 */
  .ec-borderedDefs dt {
    margin-bottom: 8px !important;
    padding-bottom: 0 !important;
  }
  /* セレクトボックスの見た目を統一 */
  .ec-select,
  .ec-input.ec-select {
    width: 100% !important;
    margin: 0px;
  }
  /* ご注文確認：各セクション内部の左右余白 */
  .ec-orderOrder__inner {
    padding: 20px 16px !important;
  }
}
/* --- タブレット用（768px〜991px）の調整 --- */
@media (min-width: 768px) and (max-width: 991px) {
  /* ラベルと入力フィールドの間の余白をSPと統一 */
  .ec-label,
  .ec-borderedDefs .ec-label {
    margin-bottom: 8px !important;
  }
  /* dt要素のスタイルを調整（padding-bottomを削除） */
  .ec-borderedDefs dt {
    margin-bottom: 8px !important;
    padding-bottom: 0 !important;
  }
  /* セレクトボックスの見た目を統一 */
  .ec-select,
  .ec-input.ec-select {
    width: 100% !important;
    padding-bottom: 15px !important;
  }
  /* お届け情報のラベルとセレクトの間に縦余白 */
  .ec-select.row .col-lg-4,
  .ec-select__delivery .col-lg-4,
  .ec-select__time .col-lg-4 {
    margin-bottom: 10px !important;
  }
  .delivery-notice {
    margin-top: 0px;
  }
  /* ご注文確認：各セクション内部の左右余白 */
  .ec-orderOrder__inner {
    padding: 20px 24px !important;
  }
}
/* --- PC用（992px以上）の調整 --- */
@media (min-width: 992px) {
  /* お届け情報のラベルとセレクトは横並びなので縦余白不要 */
  .ec-select.row .col-lg-4 {
    margin-bottom: 0 !important;
  }
}
/* ============================================
   商品リスト表示 - SP・タブレット・PC最適化
   ec-borderedList配下のec-imageGrid共通スタイル
   ============================================ */
/* --- 基本スタイル（全デバイス共通） --- */
.ec-borderedList {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ec-borderedList > li {
  padding: 16px;
  border-bottom: 1px solid #e0e0e0;
  background: #fff;
}
.ec-borderedList > li:last-child {
  border-bottom: none;
}
/* 既存のtable-cellスタイルを上書き */
.ec-borderedList .ec-imageGrid {
  display: flex !important;
  gap: 16px;
  align-items: center;
}
.ec-borderedList .ec-imageGrid__img {
  display: block !important;
  flex-shrink: 0;
  width: 100px !important;
  height: 100px !important;
  padding: 0 !important;
  border-radius: 8px;
  overflow: hidden;
}
.ec-borderedList .ec-imageGrid__img img {
  width: 100% !important;
  height: 100% !important;
  -o-object-fit: contain !important;
     object-fit: contain !important;
  display: block !important;
}
.ec-borderedList .ec-imageGrid__content {
  flex: 1;
  min-width: 0;
  display: table-cell;
  vertical-align: middle;
}
.ec-borderedList .ec-imageGrid__content .prd-tl {
  font-size: 16px !important;
  font-weight: 500 !important;
  margin-bottom: 6px !important;
  line-height: 1.4 !important;
  color: #111111 !important;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.ec-borderedList .ec-imageGrid__content .prd-tl a {
  text-decoration: none;
  color: inherit;
}
.ec-borderedList .ec-imageGrid__content .prd-tl a:hover {
  text-decoration: underline;
}
.ec-borderedList .ec-imageGrid__content p {
  margin-bottom: 4px;
  font-size: 14px;
  line-height: 1.5;
}
.ec-borderedList .ec-imageGrid__content .prd-qty {
  font-weight: 500;
  color: #666;
}
/* --- スマホ用（767px以下） --- */
@media (max-width: 767px) {
  .ec-borderedList > li {
    padding: 12px;
  }
  .ec-borderedList .ec-imageGrid {
    gap: 12px;
  }
  .ec-borderedList .ec-imageGrid__img {
    width: 70px !important;
    height: 70px !important;
  }
  .ec-borderedList .ec-imageGrid__content .prd-tl {
    font-size: 14px !important;
  }
  .ec-borderedList .ec-imageGrid__content p {
    font-size: 13px;
  }
}
/* --- タブレット用（768px〜991px） --- */
@media (min-width: 768px) and (max-width: 991px) {
  .ec-borderedList > li {
    padding: 16px;
  }
  .ec-borderedList .ec-imageGrid {
    gap: 16px;
  }
  .ec-borderedList .ec-imageGrid__img {
    width: 90px !important;
    height: 90px !important;
  }
  .ec-borderedList .ec-imageGrid__content .prd-tl {
    font-size: 16px !important;
  }
  .ec-borderedList .ec-imageGrid__content p {
    font-size: 15px;
  }
}
/* --- PC用（992px以上） --- */
@media (min-width: 992px) {
  .ec-borderedList > li {
    padding: 20px;
  }
  .ec-borderedList .ec-imageGrid {
    gap: 20px;
  }
  .ec-borderedList .ec-imageGrid__img {
    width: 100px !important;
    height: 100px !important;
  }
}
/* ============================================
   マイページ - 両サイド余白の統一
   ============================================ */
/* --- スマホ用（767px以下）--- */
@media (max-width: 767px) {
  .ec-pageHeader h1 span.sub, .ec-pageHeader .h1 span.sub {
    font-weight: 500;
    font-size: 14px;
  }
  /* マイページ全体の左右余白 */
  .ec-layoutRole__main .ec-mypageRole {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .ec-mypage__main .ec-borderedDefs__inner {
    padding: 0px;
  }
  .ec-addressList {
    padding-top: 0px;
  }
  .ec-mypage__main .ec-addressList {
    padding-top: 0px;
  }
  .ec-mypage__main .ec-borderedDefs__title {
    padding: 10px;
  }
  .ec-mypage__main .ec-borderedDefs__title h5 {
    font-size: 15px;
  }
  .ec-icon3 {
    font-size: 11px;
    padding: 5px 10px;
  }
  .ec-mypage__main .ec-borderedDefs__inner dl {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: 100% !important;
    border-bottom: 1px dotted #ccc !important;
    margin: 0px !important;
    padding: 10px 0 !important;
  }
  .ec-mypage__main .ec-borderedDefs__inner dl:last-child {
    border-bottom: none;
  }
  .ec-mypage__main .ec-borderedDefs__inner dt {
    width: 30% !important; /* 明示的に幅指定 */
    min-width: 100px !important;
    max-width: 120px !important; /* 最大幅も指定 */
    padding-right: 12px;
    padding-top: 8px !important;
    font-weight: bold;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    flex-shrink: 0 !important; /* 縮まないように */
  }
  .ec-mypage__main .ec-borderedDefs__inner dd {
    flex: 1 !important;
    width: auto !important;
    margin: 0;
    padding: 0;
    font-size: 15px;
    line-height: 1.6;
  }
  /* お届け内容の画像タイル用 */
  .ec-mypage__main .ec-borderedDefs__inner .product-tiles-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
  .ec-mypage__main .ec-borderedDefs__inner .product-tile-item {
    position: relative;
  }
  .ec-mypage__main .ec-borderedDefs__inner .product-tile-image {
    position: relative;
    width: 50px;
    height: 50px;
  }
  .ec-mypage__main .ec-borderedDefs__inner .product-tile-image img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
       object-fit: contain;
    border-radius: 0px;
  }
  .ec-mypage__main .ec-borderedDefs__inner .product-quantity-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    background: #b88b2d;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
  }
}
/* --- タブレット用（768px〜991px）--- */
@media (min-width: 768px) and (max-width: 991px) {
  .ec-pageHeader h1 span.sub, .ec-pageHeader .h1 span.sub {
    font-weight: 500;
    font-size: 16px;
  }
  /* マイページ全体の左右余白 */
  .ec-layoutRole__main .ec-mypageRole {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  .ec-mypage__main .ec-borderedDefs__inner {
    padding: 0px;
  }
  .ec-mypage__main .ec-addressList {
    padding-top: 0px;
  }
  .ec-mypage__main .ec-borderedDefs__title {
    padding: 15px;
  }
}
/* ============================================
   マイページ - アコーディオンメニュー
   ============================================ */
/* PC（992px以上）- 常時表示 */
@media (min-width: 992px) {
  .ec-navlistRole__header {
    display: none !important;
  }
  .ec-navlistRole__content {
    display: block !important;
  }
}
/* スマホ・タブレット（991px以下）- アコーディオン */
@media (max-width: 991px) {
  .ec-mypageBlock {
    display: flex !important;
    flex-direction: column !important;
  }
  .ec-navlistRole .ec-navlistRole__item a {
    padding: 18px 10px;
  }
  .ec-mypage__side {
    order: -1 !important;
    margin-bottom: 38px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #f8f5ed;
    padding: 0px;
    width: 100%;
    border: 1px solid #d2cec8;
  }
  .ec-mypage__main {
    order: 1 !important;
    width: 100%;
  }
  /* ヘッダー */
  .ec-navlistRole__header {
    display: block !important;
    cursor: pointer !important;
    -webkit-user-select: none !important;
       -moz-user-select: none !important;
            user-select: none !important;
    background: #fff !important;
    border-radius: 8px !important;
  }
  /* 開いている時はヘッダーの下側の角丸を0に */
  .ec-mypage__side.is-open .ec-navlistRole__header {
    border-radius: 8px 8px 0 0 !important;
  }
  .ec-navlistRole__header h3 {
    display: flex !important;
    align-items: center !important;
    -moz-column-gap: 8px !important;
         column-gap: 8px !important;
    font-size: 16px !important;
    line-height: 1 !important;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-weight: 400 !important;
    margin: 0 !important;
  }
  .ec-navlistRole__header h3::before {
    content: "" !important;
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    background: url(../icon/icon_mypage.svg) no-repeat !important;
    background-size: contain !important;
    flex-shrink: 0 !important;
  }
  /* トグルアイコン（FontAwesome矢印） */
  .ec-navlistRole__header h3::after {
    content: "\f078" !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-size: 14px !important;
    color: #666 !important;
    margin-left: auto !important;
    transition: transform 0.3s ease !important;
    line-height: 1 !important;
    display: inline-block !important;
  }
  .ec-mypage__side.is-open .ec-navlistRole__header h3::after {
    transform: rotate(180deg) !important;
  }
  /* コンテンツ - 最初は非表示 */
  .ec-navlistRole__content {
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.4s ease !important;
  }
  .ec-mypage__side.is-open .ec-navlistRole__content {
    max-height: 2000px !important;
    transition: max-height 0.4s ease !important;
  }
  /* navi.twig内のスタイル調整 */
  .ec-navlistRole__content .ec-navlistRole {
    padding: 0 20px 16px 20px !important;
    transform: translateY(0) !important;
    opacity: 1 !important;
    transition: transform 0.3s ease, opacity 0.3s ease !important;
    background: #fff;
    border-radius: 0 0 8px 8px !important;
  }
  .ec-navlistRole__content .ec-navlistRole > h3 {
    display: none !important;
  }
}
.yamato-tracking-box {
  padding: 16px;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  background: #f8f9fa;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.tracking-carrier {
  font-size: 14px;
  display: flex;
  align-items: center;
}
.tracking-info {
  font-size: 14px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}
.tracking-num {
  font-size: 14px;
  color: #888;
}
.tracking-info strong {
  color: #000;
}
.tracking-link {
  color: #007bff;
  text-decoration: underline;
  font-size: 14px;
}
.tracking-link:hover {
  color: #0056b3;
  text-decoration: underline;
}
.product-quantity-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background-color: #fff;
  border: 1px solid #b88b2d;
  color: #b88b2d;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  z-index: 10;
}
/* レスポンシブ対応 */
@media (max-width: 767px) {
  .product-quantity-badge {
    width: 24px;
    height: 24px;
    font-size: 11px;
    top: -4px;
    right: -4px;
  }
}
.tl_order_id {
  font-size: 13px;
  color: #888;
}
/* --- PC用（1025px以上）---
   SP(13px)/タブレット(14px)の指定はあるがPCが無く、
   継承で本文より大きく表示されていた。 */
@media (min-width: 1025px) {
  .alert,
  .ec-login__alerts .alert,
  .ec-loginBlock .alert,
  .ec-registerRole .alert,
  .ec-off4Grid .alert {
    padding: 14px 40px 14px 16px !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
    margin-bottom: 20px !important;
    border-radius: 10px !important;
  }
}
#page_cart .ec-cartRole__side__coupon__input {
  display: flex !important;
  gap: 0 !important;
  border: 1px solid #ccc !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  background: #fff !important;
  align-items: stretch !important;
  padding: 0 !important;
}
#page_cart .ec-cartRole__side__coupon__input input[type=text] {
  flex: 1 1 auto !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 12px !important;
  height: 44px !important;
}
#page_cart .ec-cartRole__side__coupon__input .coupon-apply-button,
#page_cart .ec-cartRole__side__coupon__input button {
  flex: 0 0 auto !important;
  border: none !important;
  border-left: 1px solid #ccc !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #111111 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 0 18px !important;
  height: 44px !important;
  white-space: nowrap !important;
  cursor: pointer !important;
}
#page_cart .ec-cartRole__side__coupon__input .coupon-apply-button:hover,
#page_cart .ec-cartRole__side__coupon__input button:hover {
  background: #f7f6f4 !important;
}
.gd-discount-badge {
  display: inline-block;
  margin-right: 6px;
  color: #df4545;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.gd-cart-summary__discount {
  display: flex;
  align-items: baseline;
  color: #df4545 !important;
  font-weight: 700 !important;
}
.gd-cart-summary__discount .yen,
.gd-cart-summary__discount .price {
  color: #df4545 !important;
}
.gd-cart-summary__row .gd-cart-summary__label:has(.gd-discount-badge) {
  display: inline-flex;
  align-items: center;
}
#page_cart .applied-coupon-box {
  background: #fbf8f1 !important;
  border: 1.5px dashed #b88b2d !important;
  border-radius: 8px !important;
  padding: 12px 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
#page_cart .applied-coupon-info {
  gap: 8px !important;
}
#page_cart .applied-coupon-label {
  background: transparent !important;
  color: #b88b2d !important;
  width: auto !important;
  height: auto !important;
  display: inline-flex !important;
  align-items: center !important;
}
#page_cart .applied-coupon-label svg {
  stroke: #b88b2d !important;
}
#page_cart .applied-coupon-name {
  color: #111111 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}
#page_cart .applied-coupon-remove {
  color: #8a857e !important;
  background: none !important;
  border: none !important;
  font-size: 18px !important;
  cursor: pointer !important;
}
#page_cart .applied-coupon-remove:hover {
  color: #111 !important;
}