LiteWord テーマ情報
保存・アップロード・公開の前には、必ず秘密情報・非公開の個人情報を出さない手順を確認してください。
{
"name": "wdl/lw-company-2",
"title": "会社概要 02",
"category": "lw-table",
"description": "項目名に薄い背景が付く定義リストの表。会社概要のほか、店舗情報・募集要項・特定商取引法に基づく表記のように「項目と内容」を並べたいところ全般に使える",
"aiHint": {
"description": "項目名に薄い背景が付く定義リストの表。会社概要のほか、店舗情報・募集要項・特定商取引法に基づく表記のように「項目と内容」を並べたいところ全般に使える",
"excludeFromAutoSelect": false,
"contentAttributes": [
"items"
],
"imageAttributes": [],
"notes": "🚨 **`spFullDt: true` は必ず入れる。** 700px 以下で「項目名が上・内容が下」の縦積みになり、スマホで読めるようになる。入れないと項目名の列が 112px に固定され、内容が細い列に押し込まれて何行にも折れる。📌 **`dtWidthClass` はどれを選んでも `spFullDt` が効く(2026-08-31 に直した)。**それ以前のテーマでは `dt_width_l` / `dt_width_s` を選ぶと CSS の詳細度が同点で後勝ちになり、縦積みが打ち消されてスマホでも2列のまま残っていた。🚨 **項目名の幅は `dt_width_m`(既定)で 180px、`dt_width_l` で 220px、`dt_width_s` で 140px。**左右1emの余白を引くと、既定では **項目名は8文字まで**。長い項目名は言い換える(「商品代金以外の費用」→「代金以外の費用」)。`items` は **[{dt, dd}]**(`lw-company-1` の `contents` とはキーが違うので取り違えやすい)。dd は RichText なので `<br>` が使える。✅ 色の罠は無い(dt背景 #f0f0f0・文字 #000・枠 #ccc の無彩色が既定なので、そのままでよい)。自前で `margin: 2em auto` を持つので前後にスペーサーを足さない。📌 **項目名の列幅は入れ物の幅で3段に変わる**(2026-08-31 に既定の段を直した): `dt_width_m`(既定)180px → 700px以下 128px → 500px以下 112px / `dt_width_l` 220 → 800以下 198 → 500以下 174 / `dt_width_s` 140 → 800以下 128 → 500以下 112。⚠️ 切り替えは `@media` ではなく **`@container`(入れ物の幅)**なので、画面幅ではなく本文カラムの幅で決まる。`spFullDt: true` を入れておけば 700px 以下は縦積みになるので、この幅の話は効かなくなる。"
},
"attributes": {
"maxWidth": {
"type": "number",
"default": 1080,
"aiHint": null
},
"fontSizeClass": {
"type": "string",
"default": "font_size_m",
"aiHint": null
},
"dtWidthClass": {
"type": "string",
"default": "dt_width_m",
"aiHint": null
},
"lineHeight": {
"type": "number",
"default": 1.600000000000000088817841970012523233890533447265625,
"aiHint": null
},
"spFullDt": {
"type": "boolean",
"default": false,
"aiHint": null
},
"dtBackgroundColor": {
"type": "string",
"default": "#f0f0f0",
"aiHint": null
},
"dtTextColor": {
"type": "string",
"default": "#000000",
"aiHint": null
},
"fontDt": {
"type": "string",
"default": "",
"aiHint": null
},
"fontWeightDt": {
"type": "string",
"default": "",
"aiHint": null
},
"ddTextColor": {
"type": "string",
"default": "#000000",
"aiHint": null
},
"fontDd": {
"type": "string",
"default": "",
"aiHint": null
},
"fontWeightDd": {
"type": "string",
"default": "",
"aiHint": null
},
"borderColor": {
"type": "string",
"default": "#cccccc",
"aiHint": null
},
"items": {
"type": "array",
"default": [
{
"dt": "会社名",
"dtPlaceholder": "会社名",
"dd": "株式会社〇〇不動産",
"ddPlaceholder": "内容"
},
{
"dt": "所在地",
"dtPlaceholder": "所在地",
"dd": "東京都〇〇区〇〇町1-1-1",
"ddPlaceholder": "内容"
},
{
"dt": "電話番号",
"dtPlaceholder": "電話番号",
"dd": "03-1234-5678",
"ddPlaceholder": "内容"
},
{
"dt": "設立",
"dtPlaceholder": "設立",
"dd": "2020年1月1日",
"ddPlaceholder": "内容"
}
],
"aiHint": null
}
}
}