/*　マイページの購入履歴で合計金額と件数を非表示にする　*/
#fs_MyOrders .fs-c-history__infoSummary{
  display: none;
}

/* P03 ゲスト購入フォームの「次へ」が幅28pxに潰れるのを直す（2026-09-19 追加）
   原因: .fs-c-buttonContainer{display:flex} で文字幅まで縮み、「次へ」に最小幅の指定が無い */
.fs-body-customerDetails .fs-c-button--next,
.fs-body-customerDetails .fs-c-button--registerAndContinue{
  min-width:240px; width:100%; max-width:340px;
  padding:15px 0; font-size:15px; font-weight:700; text-align:center;
}

/* P04 スマホの一覧ページ送りが幅115pxに潰れるのを直す（2026-09-19 追加）
   原因: テーマの .fs-c-listControl{width:calc(100% - 240px)} はPC用(並び替え枠240pxぶん)だが、スマホにも効いている */
@media screen and (max-width:719px){
  .fs-c-productList__controller .fs-c-listControl{width:100%;flex-direction:column-reverse;gap:12px;align-items:center}
  .fs-c-productList__controller .fs-c-listControl .fs-c-pagination{flex-wrap:wrap;justify-content:center;gap:6px}
  .fs-c-productList__controller .fs-c-listControl .fs-c-pagination__item{min-width:44px;min-height:44px;line-height:44px;text-align:center}
  .fs-c-productList__controller .fs-c-listControl .fs-c-listControl__status{white-space:nowrap}
}

/* P06 検索パネルの手当て（2026-09-19 案）
   1) 色見本3番目は検索値が「グレー」なのに茶色で表示されている → 表示をグレーに合わせる
   2) 入力欄が14pxだと iPhone で入力時に画面が勝手に拡大する → 16pxに
   3) 人気ワードのボタンが高さ22px・文字10pxで押しにくい → 文字13px・高さ約36pxに */
html body .colorList li.color03 .colorTip{background-color:#9e9e9e} /* 制作会社CSSが後から読まれるため指定を強くしている */
@media screen and (max-width:719px){
  #tabSearch input.searchWordInpput{font-size:16px}
  #tabAllBox #tabSearch.tabBoxSearch .tagBox .tagList li a{font-size:13px;padding:9px 12px;line-height:1.3}
}

/* P09 ログイン・購入者情報入力のスマホ手当て（2026-09-19 追加）
   1) 入力欄が14pxだと iPhone で入力時に画面が勝手に拡大する → 16pxに（ログイン／初めての方フォーム／会員登録）
   2) 「パスワードをお忘れですか？」が文字12px・高さ12pxで押しにくい → 文字14px・高さ44pxに */
@media screen and (max-width:719px){
  html body.fs-body-login .fs-c-inputField input,
  html body.fs-body-customerDetails .fs-c-inputField input,
  html body.fs-body-customerDetails .fs-c-inputField select,
  html body.fs-body-register .fs-c-inputField input,
  html body.fs-body-register .fs-c-inputField select{font-size:16px}
  html body.fs-body-login .fs-c-fsLogin .fs-c-inputInformation__link a.fs-c-textLink{display:inline-block;font-size:14px;line-height:44px;min-height:44px;padding:0 12px;text-decoration:underline}
}

/* P15 注文画面（/p/checkout）の手当て（2026-09-19 追加・北方氏OK）
   ① 注文画面だけ、ヘッダーのサブナビと、確定ボタンの下にある SHOP INFO／FAQ等／SNS／ブランド・カテゴリの各ブロックを非表示（ロゴ・法務リンク・著作権・PAGE TOPは残す）
   ② スマホでは「お支払い金額」を先頭に出し、「注文を確定する」を画面下に固定（PCは右カラムのまま）。カード入力などのモーダル表示中は固定ボタンを隠す
   ③ 注文画面の入力欄を16pxに（iPhoneで入力時に画面が勝手に拡大しない） */
html body.fs-body-checkout header nav.sp .navList,
html body.fs-body-checkout header .headerBox nav.pc,
html body.fs-body-checkout section.sec,
html body.fs-body-checkout footer .ftBox1,
html body.fs-body-checkout footer .snsBox,
html body.fs-body-checkout footer .ftNav .ftList:not(.ftListJa){display:none !important}
html body.fs-body-checkout footer .ftBox2{border-top:1px solid #eee}
html body.fs-body-checkout input[type="text"],
html body.fs-body-checkout input[type="tel"],
html body.fs-body-checkout input[type="email"],
html body.fs-body-checkout input[type="number"],
html body.fs-body-checkout input[type="password"],
html body.fs-body-checkout select,
html body.fs-body-checkout textarea{font-size:16px}
@media screen and (max-width:719px){
  html body.fs-body-checkout{padding-bottom:96px}
  html body.fs-body-checkout .categoryTopBox{padding-top:62px} /* サブナビを隠したぶん、固定ヘッダー下の余白を詰める */
  html body.fs-body-checkout main .orderBox{display:flex;flex-direction:column}
  html body.fs-body-checkout main .orderBox #fs_orderTotalContainer{order:-1;margin:0 0 16px}
  html body.fs-body-checkout .fs-c-totalAndActions .fs-c-confirmOrder{position:fixed;left:0;right:0;bottom:0;z-index:900;margin:0;padding:10px 15px calc(10px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);box-shadow:0 -2px 10px rgba(0,0,0,.12)}
  html body.fs-body-checkout .fs-c-totalAndActions .fs-c-confirmOrder .fs-c-button--confirmOrder{display:block;width:100%;max-width:none;min-height:48px;font-size:15px;font-weight:700}
  html body.fs-body-checkout.is-modalOpen .fs-c-totalAndActions .fs-c-confirmOrder{display:none}
}
