/* 2 & 3. 「パスワードをお忘れの方」のテキスト変更と中央配置 */
.p-menu-login .__item--password {
    text-align: center; /* テキストとリンクを中央揃えにする */
    width: 100%; /* 親要素の幅全体を使う */
}

/* 擬似要素を使ってテキストを上書き */
.p-menu-login .__item--password a {
    visibility: hidden; /* 元のリンクテキストを非表示にする */
    position: relative; /* ::after擬似要素の基準位置とする */
    display: block; /* リンク全体をブロック要素にする */
    width: 100%; /* リンクが幅全体を占めるようにする */
}

.p-menu-login .__item--password a::after {
    content: "初回ご利用時はこちらからパスワードの設定をお願いいたします・パスワードをお忘れの方もこちら"; /* 新しいテキストを挿入 */
    visibility: visible; /* 新しいテキストを表示する */
    position: absolute; /* 親要素（aタグ）に対する絶対配置 */
    font-size: 20px;
    color: red !important;
　 
　 top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex; /* テキストを中央に配置するためFlexboxを使用 */
    align-items: center; /* 垂直方向の中央揃え */
    justify-content: center; /* 水平方向の中央揃え */
    white-space: nowrap; /* テキストが途中で改行されないようにする（必要に応じて調整） */
    text-decoration: underline; /* 元のリンクの下線を再現したい場合 */
    /*color: inherit;  元のリンクの色を再現したい場合 */
　 
}

/* 親のul要素にFlexboxを適用し、残ったli要素を中央に配置 */
.p-menu-login ul {
    display: flex;
    flex-direction: column; /* 縦方向のリストを維持 */
    align-items: center; /* 子要素（li）を水平方向の中央に配置 */
    justify-content: center; /* 残ったli要素を縦方向の中央に配置（コンテンツが一つなので効果は薄いかも） */
    width: 100%; /* ul要素が利用可能な幅全体を占めるようにする */
    padding: 0; /* ulのデフォルトpaddingをリセット */
    list-style: none; /* ulのデフォルトのリストスタイルをリセット */
    
}




/*ご注文の流れを非表示に*/
.__heading:has(+ .__body .__list .__item .__title) {
  display: none;
}

.__view-cart {
  display: none !important;
}

.__order  > .__body  > span {
    color: transparent; /* 元のテキストを透明に */ /* Hides the original text */
   /* Hides the original text */
}

.__order  > .__body >  span > a::before {
     color: black; /* 新しいテキストの色 */
}

/*新規会員登録を消す*/
.aside .__block--login .__menu .__regist {
    display: none !important;
}

/* 1. 「新規会員登録」を完全に非表示にし、スペースも削除 */
.p-menu-login .__item--regist {
    display: none !important;
}



/* デフォルトのカテゴリ表示を1階層目までにする*/
.aside section.__block.__block--category .__body ul.__tree > li.__item.__item--has-children > span.__js-toggle {
    display: inline-block;
}
.aside section.__block.__block--category .__body ul.__tree > li.__item.__item--has-children > ul {
    display: none;
}

/*カートに入れるボタンを消す　*/
th.__order {
    position: relative;
    color: transparent; /* 元のテキストを透明に */
}




/* 注文数　を　在庫数　に変更　*/
th.__order::before {
    content: "在庫数";
    position: absolute;
    color: black; /* 新しいテキストの色 */
    left: 50%; /* 中央寄せ */
    transform: translateX(-50%); /* 完全に中央にする */
}

.__order .__heading {
  font-size: 0; /* 元のテキストを非表示にする */
}

.__order .__heading:before {
  content: "在庫数"; /* 新しいテキストを挿入する */
  font-size: 1rem; /* フォントサイズを調整する（必要に応じて） */
}

/*カートボタンを消す　*/
.__view-cart {
  display: none;
}


div.__body > div.__input > input[placeholder="0"],
div.__body > div.__input > span.__spin.p-spin > span.__minus.__js-spin,
div.__body > div.__input > span.__spin.p-spin > span.__plus.__js-spin {
  display: none !important;
}

.__input input[placeholder="0"],
.__input input[type="number"],
.__minus,
.__plus {
    display: none !important;
}

.__button.c-button-submit.__js-add-cart {
    display: none;
}

section.__add-cart > button.__submit.c-button-submit.__js-add-cart {
  display: none !important;
}




/*商品ページ　単価×入り数の非表示*/
.main.main--product-detail section.p-product-set th.__price .__detail{display: none;}

/*（単価 × 入数）を非表示にする　*/
div.__detail {
  visibility: hidden; !important;
}

span.__detail {
  visibility: hidden; !important;
}

/*マイページ表示を消す　*/

.__mypage {
  display: none !important;
}


/*お気に入り*/
.__bookmark {
  display: none !important;
}


/*在庫数の文字フォントを大きくする*/
.__stock dt {
  font-size: 30px; /* 例：30ピクセルに設定 */
}

.__stock dd {
  font-size: 30px; /* 例：30ピクセルに設定 */


.__order  > .__body  > span {
    font-size:5; /* Hides the original text */
}

.__order  > .__body >  span > a::before {
    font-size:0; /* Hides the original text */
}