/* 整個容器 */
.my-accordion details {
  background-color: #f9f9f9;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* 標題欄位 */
.my-accordion summary {
  padding: 15px;
  font-weight: bold;
  cursor: pointer;
  list-style: none; /* 隱藏 Safari/Chrome 預設箭頭 */
  position: relative;
}

/* 隱藏 Firefox 預設箭頭 */
.my-accordion summary::-webkit-details-marker {
  display: none;
}

/* 自訂右側的 + 號 */
.my-accordion summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
}

/* 當展開時，把 + 變成 - */
.my-accordion details[open] summary::after {
  content: '-';
}

/* 內文區塊 */
.my-accordion .content {
  padding: 15px;
  background-color: #fff;
  border-top: 1px solid #ddd;
}
