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

デフォルトのカート検証スクリプトのメッセージがストアの見た目に合わない場合は、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: 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:

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

The question should be specific, self-contained, and written in natural language.
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.
