> For the complete documentation index, see [llms.txt](https://help.sesami.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.sesami.co/ja/apps-integrations/shopify/online-store/customize-cart-verification-script-styles.md).

# カート確認スクリプトのスタイルをカスタマイズする

デフォルトのカート検証スクリプトのメッセージがストアの見た目に合わない場合は、CSSでカスタマイズできます。

## CSSセレクタ

検証メッセージのスタイル設定には、次のセレクタを使用します:

* `sesami-warning-list` — すべての警告メッセージのコンテナ
* `sesami-warning-item` — 各個別の警告メッセージ

## 例

### 最大幅付きの白い背景

```css
sesami-warning-list {
    background: #FFF;
    max-width: 400px;
}
```

### ダークテーマ（黒い背景、白いテキスト）

```css
sesami-warning-list {
    background: #000;
    color: #FFF;
    max-width: 400px;
}

sesami-warning-item {
    color: #FFF;
}
```

## CSSを追加する場所

カスタムCSSをShopifyテーマに追加してください:

1. Shopify Adminで **Shopify管理画面 > オンラインストア > テーマ > カスタマイズ**
2. 開く **テーマ設定** （歯車アイコン）
3. を見つけてください **カスタムCSS** セクション（またはカスタムCSSブロックを追加）
4. スタイルを貼り付けて保存してください

## サポートが必要ですか?

CSSの編集に不安がある場合は、こちらまでご連絡ください <help@sesami.co> ご希望のスタイル（説明またはデザインファイル）をお送りいただければ、当チームが追加料金なしで対応します（有料プランのみ）。

## 関連項目

* [カート検証スクリプト](/ja/apps-integrations/shopify/online-store/cart-verification-script.md) — スクリプトの仕組みと有効化方法


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.sesami.co/ja/apps-integrations/shopify/online-store/customize-cart-verification-script-styles.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
