> For the complete documentation index, see [llms.txt](https://docs.opusbooster.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.opusbooster.com/platform/widgets/accordion-widget.md).

# アコーディオンウィジェット

アコーディオンウィジェットは、よくある質問や、より多くのテキストを追加したいものの、ページ上のスペースが少ない場合に最適です。

アコーディオンウィジェットに移動し、ページにドラッグ＆ドロップします。

![](https://1369750374-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWQDl1MvGQxbiNyVOzW8v%2Fuploads%2FFPxDgzkPMggGays0gFb0%2Fsendly%20accordion.PNG?alt=media\&token=4c2abd14-153c-4287-8b7d-836877c0c0e5)

現在、4種類のレイアウトデザインから選択することができます。スタイリングタブで確認できます

![](https://1369750374-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWQDl1MvGQxbiNyVOzW8v%2Fuploads%2FtNCUfl3fVQgtxXIhSgkH%2Faccordion%20styling.PNG?alt=media\&token=e5f0824a-0f7e-4a63-b1be-ea2df010367e)

どの要素でも同じように、好みのデザインに仕上げることができます。アコーディオンのスタイリングを編集するには、アコーディオン設定タブを選択するだけです。すると、新しいウィンドウが表示されます：

![](https://1369750374-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWQDl1MvGQxbiNyVOzW8v%2Fuploads%2FcyJBFLCIb8Ats1nYDZXw%2Faccordion%20settings.PNG?alt=media\&token=3f11fe42-7038-45d2-93b0-61a5a95029e3)

ここから、設定歯車アイコンをクリックし、フォント、フォントサイズ、コールトゥアクションリンクの追加、ボックスのカラーリングなどのスタイルを設定することができます。

![](https://1369750374-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWQDl1MvGQxbiNyVOzW8v%2Fuploads%2F7Xl4VbrsWAM2WXW1CfJW%2Fsendly%20accordian%20stly.PNG?alt=media\&token=6c14332a-ba2e-4ce0-a692-27ef073781bd)

AIライティング機能が有効なプランでは、ページの内容に合ったQ\&Aを自動生成することも可能です。


---

# 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://docs.opusbooster.com/platform/widgets/accordion-widget.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.
