/* ===== デモプレビュー ===== */
.demo-preview-link {
  display: block;
  margin-bottom: 16px;
}

.demo-preview-img {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  border: 1px solid #D0D7E0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.demo-open-btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  color: #2B7FE8;
  background: #fff;
  border: 1.5px solid #2B7FE8;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.demo-open-btn:hover {
  background: #2B7FE8;
  color: #fff;
}

/* ===== 操作ヒント ===== */
.demo-try {
  margin-top: 20px;
  padding: 16px 20px;
  background: #F8FAFC;
  border: 1px solid #D0D7E0;
  border-radius: 8px;
  max-width: 720px;
}

.demo-try-label {
  font-size: 12px;
  font-weight: 700;
  color: #5A6A7A;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.demo-try-list {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
}

.demo-try-list li {
  font-size: 14px;
  color: #3A4A5A;
  padding: 4px 0 4px 20px;
  position: relative;
}

.demo-try-list li::before {
  content: '▶';
  position: absolute;
  left: 0;
  font-size: 10px;
  color: #2B7FE8;
  top: 6px;
}

.demo-try-note {
  font-size: 12px;
  color: #6B7A8E;
}

/* ===== 場面リスト ===== */
.use-case-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 20px;
}

.use-case-list li {
  font-size: 14px;
  color: #3A4A5A;
  padding: 6px 0 6px 20px;
  position: relative;
  border-bottom: 1px solid #EEF0F4;
}

.use-case-list li:last-child { border-bottom: none; }

.use-case-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #22C55E;
  font-weight: 700;
}

/* ===== 構成テーブル ===== */
.parts-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 20px;
  font-size: 14px;
}

.parts-table th,
.parts-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #D0D7E0;
}

.parts-table th {
  background: #F4F6F9;
  font-size: 12px;
  font-weight: 700;
  color: #5A6A7A;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.parts-table td:first-child {
  width: 36px;
  color: #9AA5B4;
  font-size: 12px;
}

.parts-table a {
  color: #2B7FE8;
  text-decoration: none;
}

.parts-table a:hover { text-decoration: underline; }

/* ===== 実装メモ ===== */
.impl-notes {
  margin: 20px 0;
  padding: 16px 20px;
  background: #FAFBFD;
  border-left: 3px solid #2B7FE8;
  border-radius: 0 6px 6px 0;
}

.impl-notes h3 {
  font-size: 14px;
  font-weight: 700;
  color: #1A2333;
  margin-bottom: 8px;
}

.impl-notes p {
  font-size: 14px;
  color: #3A4A5A;
  line-height: 1.7;
  margin-bottom: 8px;
}

.impl-notes p:last-child { margin-bottom: 0; }

/* ===== コードタブの高さ制限 ===== */
.tab-content pre {
  max-height: 480px;
  overflow-y: auto;
}
