/* ===== DxCheckList スコープ ===== */
/* すべてのスタイルは .dx-checklist 内にスコープを限定しています */

.dx-checklist {
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  background: #f5f7fa;
  color: #2d2d2d;
  line-height: 1.7;
  box-sizing: border-box;
  max-width: 100%;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

.dx-checklist *,
.dx-checklist *::before,
.dx-checklist *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ===== Header ===== */
.dx-checklist .dx-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.dx-checklist .dx-header h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a3a5c;
}

.dx-checklist .dx-subtitle {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #666;
}

.dx-checklist .dx-discription {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #7c0505;
}

/* ===== Category Section ===== */
.dx-checklist .dx-category {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem 1.5rem 1rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.dx-checklist .dx-category h2 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a3a5c;
  background: #e2eaf3;
  margin: -1.5rem -1.5rem 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px 8px 0 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dx-checklist .dx-category-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  background: #1a3a5c;
  color: #fff;
  border-radius: 50%;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ===== Checklist ===== */
.dx-checklist .dx-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dx-checklist .dx-check-list li label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  padding: 0.5rem 0.6rem;
  border-radius: 6px;
  transition: background 0.15s;
}

.dx-checklist .dx-check-list li label:hover {
  background: #f0f4f8;
}

.dx-checklist .dx-check-list input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  accent-color: #1a3a5c;
  flex-shrink: 0;
  cursor: pointer;
}

.dx-checklist .dx-check-list span {
  font-size: 0.93rem;
}

/* ===== Submit Button ===== */
.dx-checklist .dx-submit-area {
  text-align: center;
  margin-top: 2rem;
}

.dx-checklist .dx-submit-btn {
  background: #1a3a5c;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.85rem 2.5rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.dx-checklist .dx-submit-btn:hover {
  background: #245283;
}

.dx-checklist .dx-submit-btn:active {
  transform: scale(0.97);
}

.dx-checklist .dx-submit-btn:disabled {
  background: #999;
  cursor: not-allowed;
}

/* ===== Result ===== */
.dx-checklist .dx-result {
  margin-top: 2rem;
  background: #e8f4ff;
  border-left: 4px solid #1a3a5c;
  border-radius: 6px;
  padding: 1.2rem 1.5rem;
}

.dx-checklist .dx-result[hidden] {
  display: none;
}

.dx-checklist .dx-result-message {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a3a5c;
}

/* ===== Responsive ===== */
@media (max-width: 480px) {
  .dx-checklist .dx-header h1 {
    font-size: 1.25rem;
  }

  .dx-checklist .dx-category {
    padding: 1.2rem 1rem 0.8rem;
  }

  .dx-checklist .dx-submit-btn {
    width: 100%;
  }
}

/* ===== Action Button (問い合わせ等) ===== */
.dx-checklist .dx-action-btn-wrap {
  text-align: center;
  margin-top: 1rem;
}

.dx-checklist .dx-action-btn {
  display: inline-block;
  background: #fff;
  color: #1a3a5c;
  border: 2px solid #1a3a5c;
  border-radius: 6px;
  padding: 0.85rem 2.5rem;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.1s;
}

.dx-checklist .dx-action-btn:hover,
.dx-checklist .dx-action-btn:focus {
  background: #1a3a5c;
  color: #fff;
  border-color: #1a3a5c;
  text-decoration: none;
  outline: none;
}

.dx-checklist .dx-action-btn:active {
  transform: scale(0.97);
}