.title {

  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.cost-section {
  max-width: 1000px;
  margin: auto;
  padding: 20px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 15px;
  line-height: 1.6;

}

.cost-info p {
  margin-bottom: 6px;
  line-height: 1.6;
}

h3 {
  margin: 30px 0 10px;
}

/* 테이블 */
.cost-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.cost-table th {
  background: #bfbfbf;
  color: #fff;
  padding: 12px;
}

.cost-table td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: center;
}

.cost-table tr:nth-child(even) {
  background: #fff7f7;
}

.total {
  font-weight: bold;
  background: #eee;
}

/* ===== 모바일 (완전 재정의) ===== */
@media (max-width: 768px) {

  /* 1. 테이블 감싸기 */
  .table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* 2. 테이블 원래 상태로 복구 */
  .cost-table {
    display: table !important;
    width: auto !important;
    min-width: 700px; /* 핵심 */
    border-collapse: collapse;
  }

  .cost-table thead {
    display: table-header-group !important;
  }

  .cost-table tbody {
    display: table-row-group !important;
  }

  .cost-table tr {
    display: table-row !important;
  }

  .cost-table th,
  .cost-table td {
    display: table-cell !important;
  }

  /* 3. 가독성 */
  .cost-table th,
  .cost-table td {
    font-size: 13px;
    padding: 10px;
    white-space: nowrap; /* 줄깨짐 방지 */
  }

}