/* HTMLデモだけの操作案内。製品のCSSは assets/css にそのまま取り込む。 */
.demo-bar__inner { display:flex; flex-wrap:wrap; align-items:center; gap:6px 18px; padding-block:12px; }
.demo-bar__inner>strong { white-space:normal; }
.demo-options { position:relative; margin-left:auto; }
.demo-options summary { cursor:pointer; text-decoration:underline; text-underline-offset:4px; }
.demo-options>div { position:absolute; right:0; top:calc(100% + 12px); z-index:30; width:360px; max-width:calc(100vw - 40px); padding:20px; color:#403c37; background:#fffefb; border:1px solid #d6c9b9; border-radius:12px; box-shadow:0 10px 30px #46372b20; }
.demo-options label { display:grid; gap:8px; font-weight:600; }
.demo-options select { width:100%; padding:10px; font:inherit; border:1px solid #b5a394; border-radius:6px; background:white; }
.demo-options button { margin-top:14px; padding:8px 12px; font:inherit; cursor:pointer; background:#f5f0e9; border:1px solid #b5a394; border-radius:6px; }
.demo-options p { font-size:13px; line-height:1.7; }
.demo-note,.demo-video-note { color:#756754; font-size:14px; line-height:1.8; }
.demo-dialog { max-width:460px; width:calc(100% - 40px); padding:28px; border:1px solid #d6c9b9; border-radius:16px; color:#403c37; background:#fffefb; }
.demo-dialog::backdrop { background:#28211b66; }
.demo-dialog h2 { font-size:20px; margin-top:0; }
.demo-dialog p { line-height:1.8; }
.demo-link-button { font:inherit; color:inherit; cursor:pointer; }
.demo-link-button:not(.btn) { border:0; background:transparent; padding:0; text-decoration:underline; text-align:left; }
.demo-work-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin:28px 0; }
.demo-work { margin:0; }
.demo-work img { width:100%; height:auto; border-radius:10px; }
.demo-work figcaption { margin-top:8px; font-size:14px; color:#756754; }
.demo-pattern { width:100%; max-width:600px; height:auto; }
button:focus-visible,summary:focus-visible,select:focus-visible { outline:3px solid #8f4b39; outline-offset:4px; }
.btn:disabled { opacity:.65; cursor:default; }
@media(max-width:600px) { .demo-options { margin-left:0; } .demo-options>div { left:0; right:auto; } .demo-work-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; } .demo-next { overflow-wrap:anywhere; } }
@media print { .demo-bar,.site-header,.gnav,.site-footer,button,.breadcrumb { display:none!important; } .section { border:0; box-shadow:none; } }
@media(max-width:600px) { .status__item:has(.status__value--text) { grid-column:1 / -1; flex-basis:100%; box-shadow:none; padding-left:0; } .status__value--text.demo-next { font-size:18px; line-height:1.7; } }
/* デモの状態選択は、製品の固定ヘッダーより手前で操作できるようにする。 */
.demo-bar { position:relative; z-index:60; }
