> 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> ご希望のスタイル（説明またはデザインファイル）をお送りいただければ、当チームが追加料金なしで対応します（有料プランのみ）。

## 関連項目

* [カート検証スクリプト](https://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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
