/* ---------- 流れ・沿革・年表 ---------- */
.is-style-wtc-l-tl{border-left:2px solid var(--wtc-accent-3);margin-left:8px!important}
.is-style-wtc-l-tl>li{padding:0 0 14px 22px!important;margin:0!important}
.is-style-wtc-l-tl>li::before{content:"";position:absolute;left:-9px;top:.35em;width:12px;height:12px;border-radius:50%;background:var(--wtc-card);border:2px solid var(--wtc-accent)}
.is-style-wtc-l-tl>li>strong:first-child{display:block;color:var(--wtc-accent)}
:is(.is-style-wtc-l-year,.is-style-wtc-l-date,.is-style-wtc-l-hist)>li{display:grid;grid-template-columns:5.5em 1fr;gap:12px;margin:0!important;padding:8px 0;border-bottom:1px dotted var(--wtc-line)}
.is-style-wtc-l-year>li>strong:first-child{font-size:1.5em;color:var(--wtc-accent);line-height:1.2}
.is-style-wtc-l-date>li>strong:first-child{color:var(--wtc-accent)}
.is-style-wtc-l-hist>li>strong:first-child{font-weight:400;color:var(--wtc-sub);font-size:.9em}
/* 横のステップ（矢じりの形。スマホで縦） */
ol.is-style-wtc-o-chev{display:flex;gap:4px}
ol.is-style-wtc-o-chev>li{flex:1;margin:0!important;padding:12px 14px 12px 24px!important;background:var(--wtc-accent-soft);text-align:center;font-weight:700;font-size:.92em;clip-path:polygon(0 0,calc(100% - 14px) 0,100% 50%,calc(100% - 14px) 100%,0 100%,14px 50%)}
ol.is-style-wtc-o-chev>li:first-child{clip-path:polygon(0 0,calc(100% - 14px) 0,100% 50%,calc(100% - 14px) 100%,0 100%)}
ol.is-style-wtc-o-chev>li::before{content:"STEP" counter(wtc-o);display:block;font-size:10px;color:var(--wtc-accent);letter-spacing:.08em}
/* 矢印のフロー（箱と箱の間に矢印） */
ol.is-style-wtc-o-arrow{display:flex;gap:26px;flex-wrap:wrap}
ol.is-style-wtc-o-arrow>li{margin:0!important;padding:6px 16px!important;background:var(--wtc-accent);color:var(--wtc-on-accent);border-radius:6px;font-weight:700;font-size:.92em}
ol.is-style-wtc-o-arrow>li:not(:last-child)::after{content:"→";position:absolute;right:-20px;top:50%;transform:translateY(-50%);color:var(--wtc-accent)}
/* 横にスクロールする流れ */
ol.is-style-wtc-o-hscroll{display:flex;gap:10px;overflow-x:auto;padding-bottom:6px!important}
ol.is-style-wtc-o-hscroll>li{flex:0 0 120px;margin:0!important;padding:10px!important;background:var(--wtc-accent-soft);border-radius:var(--wtc-r);text-align:center;font-size:.92em}
ol.is-style-wtc-o-hscroll>li::before{content:counter(wtc-o);display:block;color:var(--wtc-accent);font-size:1.4em;font-weight:700}
/* ランキング（1〜3位の色） */
ol.is-style-wtc-o-rank>li{display:grid;grid-template-columns:auto 1fr;gap:0 10px;align-items:center;border:1px solid var(--wtc-line);border-radius:var(--wtc-r);padding:10px 14px 10px 54px!important;margin:6px 0!important;background:var(--wtc-card)}
ol.is-style-wtc-o-rank>li::before{content:counter(wtc-o);position:absolute;left:12px;top:50%;transform:translateY(-50%);width:30px;height:30px;border-radius:50%;background:var(--wtc-sub);color:#fff;font-weight:700;display:flex;align-items:center;justify-content:center}
ol.is-style-wtc-o-rank>li:nth-child(1)::before{background:#d4a017}ol.is-style-wtc-o-rank>li:nth-child(2)::before{background:#9ea7ad}ol.is-style-wtc-o-rank>li:nth-child(3)::before{background:#b0703b}
ol.is-style-wtc-o-rank>li>strong:first-child{grid-column:1/-1}
ol.is-style-wtc-o-rank>li{font-size:.92em}
/* モデルコース（行の最初の斜体が時刻、太字が場所） */
ol.is-style-wtc-o-course>li{padding:0 0 14px 70px!important;margin:0!important}
ol.is-style-wtc-o-course>li>em:first-child{position:absolute;left:0;top:0;font-style:normal;font-weight:700;color:var(--wtc-accent)}
ol.is-style-wtc-o-course>li>strong{display:block}
ol.is-style-wtc-o-course>li:not(:last-child)::after{content:"";position:absolute;left:58px;top:.6em;bottom:0;border-left:2px dotted var(--wtc-accent-3)}
ol.is-style-wtc-o-course>li{font-size:.94em;color:var(--wtc-sub)}ol.is-style-wtc-o-course>li>strong{color:var(--wtc-ink);font-size:1.06em}
/* 棒（行に wtc-v-（数）。数は 0〜100 を5きざみ） */
.is-style-wtc-l-bars>li{display:grid;grid-template-columns:7em 1fr 3em;gap:10px;align-items:center;margin:6px 0!important}
.is-style-wtc-l-bars>li::after{content:"";grid-column:2;grid-row:1;height:14px;border-radius:3px;background:linear-gradient(90deg,var(--wtc-accent-2) calc(var(--v,0)*1%),var(--wtc-line) 0)}
.is-style-wtc-l-bars>li>strong:last-child{grid-column:3;text-align:right}
/* オプション・お品書き・距離（右に値） */
:is(.is-style-wtc-l-opt,.is-style-wtc-l-dist)>li{display:flex;justify-content:space-between;gap:10px;margin:0!important;padding:8px 2px;border-bottom:1px dotted var(--wtc-line)}
:is(.is-style-wtc-l-opt)>li>strong:last-child{color:var(--wtc-accent);white-space:nowrap}
.is-style-wtc-l-dist>li>strong:last-child{font-weight:400;color:var(--wtc-sub);font-size:.9em;white-space:nowrap}
.is-style-wtc-l-dist{--wtc-icd:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M12%2021s-6-6.2-6-11a6%206%200%200112%200c0%204.8-6%2011-6%2011z%22/%3E%3Ccircle%20cx=%2212%22%20cy=%2210%22%20r=%222.2%22/%3E%3C/svg%3E")}.is-style-wtc-l-dist>li{padding-left:28px}.is-style-wtc-l-dist>li::before{content:"";position:absolute;left:2px;top:50%;transform:translateY(-50%);width:18px;height:18px;background:var(--wtc-accent);-webkit-mask:var(--wtc-ic,var(--wtc-icd)) center/contain no-repeat;mask:var(--wtc-ic,var(--wtc-icd)) center/contain no-repeat}
.is-style-wtc-l-menu>li{display:flex;align-items:baseline;gap:6px;margin:4px 0!important}
.is-style-wtc-l-menu>li::after{content:"";order:1;flex:1;border-bottom:1px dotted #bbb}
.is-style-wtc-l-menu>li>strong:last-child{order:2;white-space:nowrap}
/* 設備（アイコンと文字の升目。行に wtc-ic-（名前）） */
.is-style-wtc-l-facil{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:6px}
.is-style-wtc-l-facil>li{margin:0!important;border:1px solid var(--wtc-line);border-radius:6px;padding:40px 4px 8px!important;text-align:center;font-size:12px;background:var(--wtc-card)}
.is-style-wtc-l-facil>li::before{content:"";position:absolute;left:50%;top:10px;transform:translateX(-50%);width:24px;height:24px;background:var(--wtc-accent);-webkit-mask:var(--wtc-ic,var(--wtc-icd)) center/contain no-repeat;mask:var(--wtc-ic,var(--wtc-icd)) center/contain no-repeat}
.is-style-wtc-l-facil{--wtc-icd:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Ccircle%20cx=%2212%22%20cy=%2212%22%20r=%229%22/%3E%3Cpath%20d=%22M8%2012l3%203%205-6%22/%3E%3C/svg%3E")}
/* アイコンのリンク集（行に wtc-ic-（名前）。中はリンク） */
.is-style-wtc-l-links{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}
.is-style-wtc-l-links{--wtc-icd:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M5%203h10l4%204v14H5z%22/%3E%3Cpath%20d=%22M9%2011h6M9%2015h6%22/%3E%3C/svg%3E")}
.is-style-wtc-l-links>li{margin:0!important;border:1px solid var(--wtc-line);border-radius:8px;background:var(--wtc-card);padding:12px 12px 12px 44px!important;font-weight:700;font-size:.92em}
.is-style-wtc-l-links>li::before{content:"";position:absolute;left:14px;top:50%;transform:translateY(-50%);width:20px;height:20px;background:var(--wtc-accent);-webkit-mask:var(--wtc-ic,var(--wtc-icd)) center/contain no-repeat;mask:var(--wtc-ic,var(--wtc-icd)) center/contain no-repeat}
.is-style-wtc-l-links>li a{color:var(--wtc-ink);text-decoration:none}
@media (max-width:600px){ol.is-style-wtc-o-chev{flex-direction:column}ol.is-style-wtc-o-chev>li{clip-path:none!important;border-radius:6px}}
/* ---------- リスト（3回目。bin/parts4.py が作る） ---------- */
/* 項目と説明（枠で囲む。各行の最初の太字が項目） */
.is-style-wtc-l-defbox>li{margin:0 0 8px!important;border:1px solid var(--wtc-line);border-left:5px solid var(--wtc-accent);border-radius:var(--wtc-r);padding:8px 14px;background:var(--wtc-card)}
.is-style-wtc-l-defbox>li>strong:first-child{display:block}
/* ○・△・×の印（行に 追加 CSS クラス wtc-m-o・wtc-m-t・wtc-m-x。書かない行は ○） */
.is-style-wtc-l-mark>li{padding-left:30px}
.is-style-wtc-l-mark>li::before{content:"";position:absolute;left:2px;top:.42em;width:18px;height:18px;background:var(--wtc-ok);-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222.6%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Ccircle%20cx=%2212%22%20cy=%2212%22%20r=%228%22/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222.6%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Ccircle%20cx=%2212%22%20cy=%2212%22%20r=%228%22/%3E%3C/svg%3E") center/contain no-repeat}
.is-style-wtc-l-mark>li.wtc-m-t::before{background:var(--wtc-warn);-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222.6%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M12%204.5l8.5%2015h-17z%22/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222.6%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M12%204.5l8.5%2015h-17z%22/%3E%3C/svg%3E")}
.is-style-wtc-l-mark>li.wtc-m-x::before{background:#c0392b;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222.6%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M5.5%205.5l13%2013M18.5%205.5l-13%2013%22/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222.6%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M5.5%205.5l13%2013M18.5%205.5l-13%2013%22/%3E%3C/svg%3E")}
/* ボックスメニュー（色の地のタイル。行に wtc-ic-（名前）。中はリンク。地の色は3つの色が順にくり返す） */
.is-style-wtc-l-boxmenu{--wtc-icd:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M5%203h10l4%204v14H5z%22/%3E%3Cpath%20d=%22M9%2011h6M9%2015h6%22/%3E%3C/svg%3E");display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.is-style-wtc-l-boxmenu>li{margin:0!important;border-radius:var(--wtc-r);padding:50px 6px 14px!important;text-align:center;font-weight:700;font-size:.92em;background:var(--wtc-accent-soft)}
.is-style-wtc-l-boxmenu>li:nth-child(3n+2){background:color-mix(in srgb,var(--wtc-accent-2) 18%,var(--wtc-card))}
.is-style-wtc-l-boxmenu>li:nth-child(3n){background:color-mix(in srgb,var(--wtc-accent-3) 22%,var(--wtc-card))}
.is-style-wtc-l-boxmenu>li::before{content:"";position:absolute;left:50%;top:14px;transform:translateX(-50%);width:28px;height:28px;background:var(--wtc-accent);-webkit-mask:var(--wtc-ic,var(--wtc-icd)) center/contain no-repeat;mask:var(--wtc-ic,var(--wtc-icd)) center/contain no-repeat}
.is-style-wtc-l-boxmenu>li a{color:var(--wtc-ink);text-decoration:none}
.is-style-wtc-l-boxmenu>li a::after{content:"";position:absolute;inset:0}
/* 上に線の小さな項目（各行の最初の太字が題。2列にするときは 追加 CSS クラス wtc-col2） */
.is-style-wtc-l-top>li{margin:0 0 10px!important;border-top:2px solid var(--wtc-accent);padding-top:6px;font-size:.92em}
.is-style-wtc-l-top>li>strong:first-child{display:block;font-size:1.06em}
/* 番号と縦の線 */
.is-style-wtc-o-vbar>li{padding-left:52px}
.is-style-wtc-o-vbar>li::before{content:counter(wtc-o);position:absolute;left:0;top:0;bottom:0;box-sizing:border-box;width:38px;padding-right:10px;border-right:3px solid var(--wtc-accent);color:var(--wtc-accent);font-weight:700;font-size:1.25em;line-height:1.5;text-align:right}
@media (max-width:600px){.is-style-wtc-l-boxmenu{grid-template-columns:1fr 1fr}}
