.service-container {
    display: flex;
    max-width: 1200px;
    margin: 40px auto;
    font-family: 'Pretendard', sans-serif;
    gap: 30px;
    align-items: flex-start;  /* ✅ 핵심 */
  }
  
  .service-sidebar {
    width: 200px;          /* 기존: 220px → ✅ 더 좁게 */
    min-width: 180px;      /* ⬅️ 선택적으로 추가 가능 */
    background-color: #f8f9fa;
    padding: 20px;         /* 기존: 24px → ✅ 줄이기 */
    border-radius: 12px;
    border: 1px solid #ddd;
    box-sizing: border-box;  /* ✅ 여백 계산 정확하게 하기 위해 추가 */
  }
  
  .service-sidebar h3 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #222;
  }
  
  .service-menu {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .service-menu li {
    margin-bottom: 14px;
  }
  
  .service-menu a {
    color: #333;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 8px;
    display: block;
    transition: background 0.2s;
  }
  
  .service-menu a:hover,
  .service-menu a.active {
    background-color: #eef5ff;
    color: #007bff;
    font-weight: 600;
  }
  
  .service-content {
    flex-grow: 1;
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #ddd;
    min-height: 600px;  /* ✔️ 이 줄만 추가 */
  }
  
  .service-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    border-left: 4px solid #007bff;
    padding-left: 10px;
    color: #333;
  }
  
  .service-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    table-layout: fixed; 
  }
  
  .service-table th,
  .service-table td {
    border: 1px solid #ddd;
    padding: 14px;
    text-align: center;
    word-wrap: break-word; 
  }
  
  .service-table th {
    background-color: #f1f5f9;
    color: #333;
  }
  
  .inquiry-form .form-group {
    margin-bottom: 20px;
  }
  
  .inquiry-form label {
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
  }
  
  .inquiry-form input,
  .inquiry-form select,
  .inquiry-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    background-color: #f9f9f9;
  }
  
  .inquiry-form input:focus,
  .inquiry-form textarea:focus,
  .inquiry-form select:focus {
    border-color: #007bff;
    background-color: #fff;
    outline: none;
  }
  
  .inquiry-form .submit-button {
    width: 100%;
    padding: 14px;
    font-weight: 600;
    font-size: 15px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .inquiry-form .submit-button:hover {
    background-color: #0056b3;
  }
  
  .notice-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    table-layout: fixed;
  }
  
  .notice-table th,
  .notice-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    word-wrap: break-word;
  }
  
  .notice-table th {
    background-color: #f8f9fa;
    color: #333;
    font-weight: bold;
  }
  
  .notice-table tr:hover {
    background-color: #f1f1f1;
  }
  
  .notice-table a {
    text-decoration: none;
    color: #007bff;
  }
  
  .notice-table td.text-left {
    text-align: left;
    padding-left: 10px;
  }
  

  @media (max-width: 768px) {
    .service-container {
      flex-direction: column;
      padding: 0 16px;
    }
  
    .service-sidebar {
      width: 100%;
      min-width: 100%;
      padding: 16px;
      margin-bottom: 20px;
      border-radius: 10px;
    }
  
    .service-content {
      padding: 20px;
      min-height: 500px;
    }
  
    .service-table,
    .notice-table {
      font-size: 14px;
    }
  
    .service-table th,
    .service-table td,
    .notice-table th,
    .notice-table td {
      padding: 10px;
    }
  
    .service-section h2 {
      font-size: 20px;
    }
  
    .inquiry-form input,
    .inquiry-form select,
    .inquiry-form textarea {
      font-size: 14px;
      padding: 10px;
    }
  
    .inquiry-form .submit-button {
      padding: 12px;
      font-size: 14px;
    }
  }
  
  @media (max-width: 480px) {
    .service-table th,
    .service-table td,
    .notice-table th,
    .notice-table td {
      font-size: 13px;
      padding: 8px;
    }
  
    .service-section h2 {
      font-size: 18px;
    }
  }
  