.collapsible-section {
    margin: 1.5rem 0;
    border: 1px solid #cccccc;
    border-radius: 6px;
    background-color: #fdfdfd;
}

.collapsible-header {
    width: 100%;
    text-align: left;
    padding: 1em;
    font-size: 1rem;
    border: none;
    background-color: #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.device-check-label {
    font-weight: normal;
    font-size: 0.95rem;
}
    
.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding:0 1em;
}

.collapsible-content.open {
    max-height: 5000px;
    padding: 1em;
}

.arrow {
    font-size: 0.85rem;
}

.back-button {
    display: inline-block;
    margin-top: 1em;
    padding: 0.4em 1em;
    border: 1px solid #bbb;
    background-color: #eee;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
}

.back-button:hover {
    background-color: #ddd;
}

.checklist-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.checklist-table th,
.checklist-table td {
    border: 1px solid #ccc;
    padding: 0.5rem 0.75rem;
    text-align: left;
    font-size: 0.75rem;
}

.checklist-table thead {
  background-color: #f5f5f5;
}

.checklist-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.checklist-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
}

/* ✅ 比較表に最小幅を指定して折り返し防止 */
.checklist-table {
  min-width: 800px; /* 表が狭くなって崩れるのを防ぐ */
}

.checklist-pro p,
.checklist-pro li {
    font-size: clamp(0.7rem, 1vw, 0.95rem);
    font-weight: 500;
  }

  @media (max-width: 768px) {
    .checklist-pro h2 {
        font-size: 0.7rem;
    }
  }
