/* 業種別LP「操作できるデモ」。文字は大きめ（本文 17px）。 */
.idemo { margin-top: 28px; }
.idemo-lead { font-size: 18px; line-height: 1.8; color: var(--industry-ink); margin: 0 0 18px; }
.idemo-win { position: relative; background: #fff; border: 1px solid var(--industry-line); border-radius: 20px; box-shadow: 0 18px 40px rgba(16, 38, 76, .10); overflow: hidden; }
.idemo-bar { display: flex; align-items: center; gap: 8px; padding: 12px 18px; background: var(--industry-navy); color: #fff; }
.idemo-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .35); }
.idemo-bar b { margin-left: 8px; font-size: 16px; letter-spacing: .02em; }
.idemo-bar span { margin-left: auto; font-size: 14px; opacity: .8; }
.idemo-main { display: grid; grid-template-columns: 210px 1fr; min-height: 430px; }
.idemo-nav { display: flex; flex-direction: column; gap: 6px; padding: 18px 12px; background: var(--industry-pale); border-right: 1px solid var(--industry-line); }
.idemo-nav__btn { appearance: none; border: 0; background: transparent; text-align: left; font: inherit; font-size: 17px; font-weight: 700; color: var(--industry-ink); padding: 12px 14px; border-radius: 12px; cursor: pointer; }
.idemo-nav__btn:hover { background: rgba(37, 99, 168, .08); }
.idemo-nav__btn.is-on { background: var(--industry-navy); color: #fff; }
.idemo-body { padding: 20px 24px 26px; min-width: 0; }
.idemo-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 14px; }
.idemo-title { font-size: 22px; font-weight: 800; color: var(--industry-navy); margin: 0; }
.idemo-count { font-size: 16px; color: var(--industry-sub); }
.idemo-add { margin-left: auto; appearance: none; border: 0; border-radius: 999px; background: var(--industry-yellow); color: var(--industry-navy); font: inherit; font-size: 17px; font-weight: 800; padding: 10px 22px; cursor: pointer; }
.idemo-add:hover { filter: brightness(.96); }
.idemo-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.idemo-search { flex: 1 1 220px; min-width: 0; font: inherit; font-size: 17px; padding: 10px 14px; border: 1px solid var(--industry-line); border-radius: 12px; }
.idemo-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.idemo-filter { appearance: none; font: inherit; font-size: 16px; font-weight: 700; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--industry-line); background: #fff; color: var(--industry-ink); cursor: pointer; }
.idemo-filter.is-on { background: var(--industry-blue); border-color: var(--industry-blue); color: #fff; }
.idemo-tbl { width: 100%; border-collapse: collapse; font-size: 17px; }
.idemo-tbl th { text-align: left; font-size: 15px; font-weight: 700; color: var(--industry-sub); padding: 10px 10px; border-bottom: 2px solid var(--industry-line); }
.idemo-tbl td { padding: 14px 10px; border-bottom: 1px solid var(--industry-line); color: var(--industry-ink); word-break: keep-all; overflow-wrap: anywhere; vertical-align: middle; }
.idemo-tbl tr.is-new td { background: #fff8d6; animation: idemo-in .6s ease; }
.idemo-empty { text-align: center; color: var(--industry-sub); }
.idemo-chip { display: inline-block; font-size: 15px; font-weight: 700; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.idemo-chip--green { background: #e3f4e9; color: #1f7a45; }
.idemo-chip--blue { background: #e4eefb; color: #1d4f8f; }
.idemo-chip--yellow { background: #fff1c2; color: #7a5a00; }
.idemo-chip--gray { background: #eef1f5; color: #4b5563; }
.idemo-chip--red { background: #fde7e7; color: #b42318; }
.idemo-note { margin: 14px 0 0; font-size: 16px; color: var(--industry-sub); }
.idemo-toast { margin: 0; max-height: 0; overflow: hidden; opacity: 0; background: #eaf2fc; color: var(--industry-navy); font-size: 16px; font-weight: 700; border-radius: 12px; padding: 0 16px; transition: opacity .25s, max-height .25s, padding .25s, margin .25s; }
.idemo-toast.is-show { opacity: 1; max-height: 120px; padding: 12px 16px; margin: 0 0 14px; }
.idemo-cap { margin: 12px 0 0; font-size: 15px; color: var(--industry-sub); }
.idemo-noscript { padding: 18px; font-size: 16px; }
@keyframes idemo-in { from { background: #ffe680; } to { background: #fff8d6; } }
@media (prefers-reduced-motion: reduce) { .idemo-tbl tr.is-new td { animation: none; } .idemo-toast { transition: none; } }
@media (max-width: 1023px) {
  .idemo-main { grid-template-columns: 1fr; min-height: 0; }
  .idemo-nav { flex-direction: row; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid var(--industry-line); padding: 12px; }
  .idemo-nav__btn { font-size: 16px; padding: 9px 14px; background: #fff; border: 1px solid var(--industry-line); }
  .idemo-nav__btn.is-on { border-color: var(--industry-navy); }
}
@media (max-width: 600px) {
  .idemo-lead { font-size: 17px; }
  .idemo-body { padding: 16px 14px 22px; }
  .idemo-title { font-size: 20px; }
  .idemo-add { margin-left: 0; width: 100%; }
  .idemo-sp-hide { display: none; }
  .idemo-tbl { font-size: 16px; }
  .idemo-tbl td { padding: 12px 6px; }
  .idemo-tbl th { padding: 8px 6px; }
  .idemo-bar span { display: none; }
}
/* 詳細・編集画面（デモ）。保存はページ内だけ。 */
.idemo-tbl tr.idemo-row { cursor: pointer; }
.idemo-tbl tr.idemo-row:hover td { background: #f3f7fd; }
.idemo-rowlink { appearance: none; border: 0; background: none; padding: 0; font: inherit; color: var(--industry-blue); font-weight: 700; text-align: left; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.idemo-rowlink:focus-visible { outline: 3px solid var(--industry-blue); outline-offset: 2px; border-radius: 4px; }
.idemo-dtitle:focus { outline: none; }
.idemo-err { font-size: 14px; font-weight: 700; color: #b42318; }
.idemo-input [aria-invalid="true"] { border-color: #b42318; }
.idemo.is-detail .idemo-tools, .idemo.is-detail .idemo-count, .idemo.is-detail .idemo-add { display: none; }
.idemo-dbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 10px; }
.idemo-back, .idemo-cancel { appearance: none; font: inherit; font-size: 16px; font-weight: 700; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--industry-line); background: #fff; color: var(--industry-ink); cursor: pointer; }
.idemo-edit, .idemo-save { appearance: none; border: 0; font: inherit; font-size: 17px; font-weight: 800; padding: 10px 24px; border-radius: 999px; background: var(--industry-navy); color: #fff; cursor: pointer; }
.idemo-edit { margin-left: auto; }
.idemo-mode { margin: 0; font-size: 15px; font-weight: 800; color: #7a5a00; background: #fff1c2; padding: 4px 12px; border-radius: 999px; }
.idemo-dtitle { margin: 4px 0 14px; line-height: 1.4; font-size: 24px; font-weight: 800; color: var(--industry-navy); }
.idemo-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin: 0; }
.idemo-field { padding: 12px 0; border-bottom: 1px solid var(--industry-line); min-width: 0; }
.idemo-field dt { font-size: 15px; font-weight: 700; color: var(--industry-sub); margin-bottom: 4px; }
.idemo-field dd { margin: 0; font-size: 18px; color: var(--industry-ink); overflow-wrap: anywhere; }
.idemo-field.is-changed { background: #fff8d6; box-shadow: inset 4px 0 0 #f2c200; padding-left: 12px; }
.idemo-log { margin-top: 18px; background: var(--industry-pale); border-radius: 14px; padding: 14px 16px; }
.idemo-log__h { margin: 0 0 8px; font-size: 15px; font-weight: 800; color: var(--industry-sub); }
.idemo-log ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 16px; color: var(--industry-ink); }
.idemo-log__when { display: inline-block; min-width: 5.5em; margin-right: 10px; color: var(--industry-sub); font-size: 15px; }
.idemo-demo-note { margin: 0 0 14px; font-size: 15px; color: var(--industry-sub); }
.idemo-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.idemo-input { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.idemo-input label { font-size: 15px; font-weight: 700; color: var(--industry-sub); }
.idemo-input input, .idemo-input select { font: inherit; font-size: 17px; padding: 10px 12px; border: 1px solid var(--industry-line); border-radius: 12px; background: #fff; color: var(--industry-ink); min-width: 0; width: 100%; box-sizing: border-box; }
.idemo-input input:focus, .idemo-input select:focus { outline: 3px solid rgba(37, 99, 168, .35); border-color: var(--industry-blue); }
.idemo-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
@media (max-width: 600px) {
  .idemo-fields, .idemo-inputs { grid-template-columns: 1fr; }
  .idemo-dtitle { font-size: 21px; }
  .idemo-actions { flex-direction: column-reverse; }
  .idemo-actions button { width: 100%; }
}
.idemo-date, .idemo-short { white-space: nowrap; }
@media (max-width: 374px) { .idemo-tbl { font-size: 14px; } .idemo-chip { font-size: 13px; padding: 3px 8px; } }
