/* テーマで足す見た目（ニゴロ）。見た目の正は prototype/ の style.css・sub.css（ビルドの前に写す）。ここには、試作に無い
   CMS だけのもの（プレビューの帯）だけを置く。色・文字・余白を足すときは松村に確かめる */
.preview-banner { position: relative; z-index: 1000; padding: 8px 16px; background: #fff3cd; color: #5c4400; text-align: center; font-size: 14px; }
/* テーマだけの足し：制作事例の一覧の script が、絞り込みで外れたカード・まだ開いていない分を hidden で隠す（試作は一覧を描き直すので要らない） */
.work[hidden] { display: none; }
/* テーマだけの足し：絵のある事例が1件も無いとき、絵の代わりに流す 256 のタイル3色（TOP の事業案内の窓・お問い合わせの面）。
   色は prototype/ の sub.css の帯のタイル（.band__tile--teal・--black・--mint）と同じ（2026-11-09 東山） */
.tile256 { display: grid; place-items: center; }
.tile256 svg { aspect-ratio: 98 / 40; }
.tile256--teal { background: var(--teal); fill: var(--white); }
.tile256--black { background: #2e3533; fill: var(--teal); }
.tile256--mint { background: var(--mint); fill: var(--teal); }
.s6m__flow .tile256 { flex: none; height: 100%; aspect-ratio: 3 / 2; }
.s6m__flow .tile256 svg { width: 34%; }
.s6m__fade .tile256 { position: absolute; inset: 0; opacity: 0; }
.s6m__fade .tile256:first-child { opacity: 1; }
.s6m__fade .tile256 svg { height: 34%; }
.contact__track .tile256 { width: 100%; aspect-ratio: 3 / 2; border-radius: calc(8 * var(--u)); }
.contact__track .tile256 svg { width: 30%; }
/* スマホでは窓の上に分類の名前（.s6m__label）が出てロゴと重なるので、窓のタイルはロゴを出さず地の色だけにする */
@media (max-width: 767px) { .s6m__win .tile256 svg { display: none; } }
/* タイルの窓では、ティールの矢印の丸がティールの地に溶けるので白黒を入れ替える */
.s6m__win:has(.is-tile) .s6m__arrow { background: var(--white); }
.s6m__win:has(.is-tile) .s6m__arrow .dot::before { background: var(--teal); }
.s6m__win:has(.is-tile) .s6m__arrow .dot::after { border-color: var(--teal); }
/* テーマだけの足し：システムの窓は試作の4枚ではなく docs/parts.md の「11枚まで」（2026-11-09 東山）。1枚の出方（4秒ごと・約5秒見せる）は
   試作の s6fade と同じで、周期を 11×4 秒にのばす。動きを減らす設定では試作のとおり止める */
@keyframes s6fade11 { 0% { opacity: 0; scale: 1.08; } 2.27%, 11.36% { opacity: 1; } 13.64% { opacity: 0; scale: 1; } 100% { opacity: 0; scale: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .s6m__fade img { animation-name: s6fade11; animation-duration: 44s; }
  .s6m__fade .tile256 { animation: s6fade11 44s linear infinite; animation-delay: calc(var(--k) * 4s - 1s); }
  .s6m__fade .tile256:first-child { opacity: 0; }
}
