:root {
      --max-width: 1366px;
      --primary-color: #007bff;
      --footer-height: 50px;
    }
    body {
      margin: 0;
      font-family: 'Segoe UI', sans-serif;
      background: #f5f5f5;
    }
    .wrapper {
      max-width: var(--max-width);
      margin: 0 auto;
      background: #fff;
      position: relative;
      min-height: 100vh;
      padding-bottom: var(--footer-height);
	  display: flex;
  flex-direction: column;

    }
    .header {
      position: sticky;
      top: 0;
      z-index: 999;
      background: #1a1a1a;
      color: white;
      padding: 10px 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 15px;
    }
    .logo-area img {
      height: 38px;
      max-width: 160px;
    }
    #menuToggle {
      background: none;
      border: none;
      color: white;
      font-size: 20px;
      cursor: pointer;
    }
    .banner-slider {
  position: relative;
  width: 100%;
  height: 50px;
  overflow: hidden;
  background: linear-gradient(90deg, #ff7e5f, #feb47b);
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-text {
  position: absolute;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  width: 100%;
  text-align: center;
  color: white;
  font-weight: bold;
  font-size: 16px;
  line-height: 50px;
}

.banner-text.active {
  opacity: 1;
  z-index: 1;
}
    .menu-cards {
      display: flex;
      justify-content: space-between;
      padding: 12px;
      background: #fff;
      gap: 10px;
    }
    .menu-card {
      flex: 1;
      max-width: calc(33.333% - 7px);
      background: #f0f0f0;
      border-radius: 10px;
      padding: 18px 12px;
      font-size: 14px;
      text-align: center;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      cursor: pointer;
    }
    .main {
	  flex:1;
      padding: 0px 12px 12px;
    }
    .section-title {
      font-weight: bold;
      font-size: 16px;
      margin: 10px 0;
      border-left: 4px solid var(--primary-color);
      padding-left: 10px;
    }
    .post-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .post {
      background: white;
      margin-bottom: 10px;
      border-radius: 10px;
      padding: 12px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    .post-title {
      font-weight: bold;
      font-size: 15px;
    }


	.post-preview {
  max-height: 150px; /* 원하는 픽셀 지정 */
  overflow: hidden;
  position: relative;
  line-height: 1.6em;
  font-size: 14px;
  color: #333;
}

/* fade-out 효과용 그라데이션 오버레이 */
.post-preview::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
}
    .post-meta {
      font-size: 11px;
      color: #aaa;
      display: flex;
      justify-content: space-between;
    }
    .footer-info {
      background: #f0f0f0;
      color: #555;
      font-size: 12px;
      padding: 20px 12px 80px;
    }
    .footer-info-inner {
      max-width: var(--max-width);
      margin: 0 auto;
      line-height: 1.6;
    }
    .footer-info .copy {
      margin-top: 8px;
      font-size: 11px;
      color: #999;
    }
    .app-footer {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      height: 56px;
      background: #fff;
      display: flex;
      border-top: 1px solid #ddd;
      justify-content: space-around;
      align-items: center;
      z-index: 1000;
    }
    .footer-tab {
      display: flex;
      flex-direction: column;
      align-items: center;
      font-size: 12px;
      color: #555;
      text-decoration: none;
    }
    .footer-tab div {
      font-size: 18px;
    }
    .footer-tab:hover {
      color: var(--primary-color);
    }
    .scroll-top-btn {
      position: fixed;
      bottom: 60px;
      right: 10px;
      font-size: 20px;
      background: var(--primary-color);
      color: white;
      border-radius: 50%;
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
    }
.overlay {
      display: none;
      position: fixed;
      z-index: 1100;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0,0,0,0.4);
    }
    .overlay.show {
      display: block;
    }
    .side-menu {
      position: fixed;
      top: 0;
      left: -280px;
      width: 280px;
      height: 100%;
      background: linear-gradient(to bottom right, #ffffff, #f0f0f0);
      z-index: 1101;
      transition: left 0.3s ease;
      padding-top: 20px;
      border-top-right-radius: 12px;
      border-bottom-right-radius: 12px;
      display: flex;
      flex-direction: column;
    }
    .side-menu.open {
      left: 0;
    }
    .side-menu-header {
      display: flex;
      justify-content: flex-end;
      padding: 10px 16px;
    }
    .side-menu-close {
      font-size: 22px;
      color: #888;
      cursor: pointer;
      transition: color 0.2s ease;
    }
    .side-menu-close:hover {
      color: #333;
    }
    .side-menu-profile {
      text-align: center;
      padding: 16px 12px 8px;
    }
    .side-menu-profile img {
      width: 80%;
      height: 60px;
      border-radius: 12px;
      margin-bottom: 6px;
    }
    .side-menu-profile .brand-name {
      font-weight: bold;
      font-size: 14px;
      color: #333;
    }
    .side-menu-nav {
      display: flex;
      flex-direction: column;
      gap: 12px;
      padding: 0 16px;
    }
    .side-menu-nav a {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 16px;
      border-radius: 8px;
      color: #333;
      text-decoration: none;
      font-size: 15px;
      transition: background 0.2s;
      background-color: #f9f9f9;
      box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }
    .side-menu-nav a:hover {
      background-color: #e0e0e0;
    }
    .menu-divider {
      margin: 14px 0;
      border: none;
      border-top: 1px solid #ddd;
    }
    .side-menu-footer {
      font-size: 11px;
      color: #888;
      text-align: center;
      padding: 16px;
      border-top: 1px solid #ddd;
      margin-top: auto;
      line-height: 1.6;
    }
   .dropdown-menu {
  position: absolute;
  top: 50px;
  right: 0;
  z-index: 9999;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  min-width: 180px;
  padding: 8px 0;
  display: none; /* 기본은 숨김 */
  flex-direction: column;
  animation: fadeIn 0.2s ease;
}

.dropdown-menu.show {
  display: flex;
}

.dropdown-menu a {
  padding: 10px 16px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dropdown-menu a:hover {
  background-color: #f0f4ff;
  color: #1a73e8;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}


	.modal {
      display: none;
      position: fixed;
      z-index: 1200;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgba(0,0,0,0.4);
    }
    .modal-content {
      background-color: #fefefe;
      margin: 10% auto;
      padding: 20px;
      border: 1px solid #888;
      width: 90%;
      max-width: 400px;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }
	.modal-content input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  font-size: 14px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
    .modal-header {
      font-weight: bold;
      margin-bottom: 12px;
    }
    .modal input[type="text"],
    .modal input[type="tel"],
    .modal input[type="date"],
    .modal input[type="submit"] {
      width: 100%;
      padding: 10px;
      margin: 6px 0;
      border: 1px solid #ccc;
      border-radius: 6px;
    }
    .modal input[type="submit"] {
      background-color: var(--primary-color);
      color: white;
      cursor: pointer;
    }
    .modal input[type="submit"]:hover {
      background-color: #0056b3;
    }
    .modal-close {
      float: right;
      cursor: pointer;
      font-size: 18px;
      color: #aaa;
    }
    .modal-close:hover {
      color: black;
    }
    .dropdown-menu a:hover {
      background-color: #f2f2f2;
    }
    @media screen and (max-width: 768px) {
      .dropdown-menu {
        display: none !important;
      }
    }
    @media screen and (min-width: 769px) {
      .side-menu {
        display: none;
      }
    }

	/* 게시판용 전용 스타일 */
    .board-title {
      font-size: 18px;
      font-weight: bold;
      padding: 16px 12px;
      border-left: 4px solid var(--primary-color);
      margin-bottom: 10px;
    }
    .board-list {
      list-style: none;
      padding: 0;
      margin: 0 12px;
    }
    .board-item {
      border-bottom: 1px solid #eee;
      padding: 14px 0;
    }
    .board-item a {
      text-decoration: none;
      color: #333;
      display: block;
    }
    .board-item-title {
      font-weight: bold;
      font-size: 15px;
    }
    .board-item-meta {
      font-size: 12px;
      color: #888;
      display: flex;
      justify-content: space-between;
    }
    .board-item:hover {
      background-color: #f9f9f9;
    }


	@media screen and (min-width: 769px) {
  body {
    font-size: 16px;
  }

  .menu-card {
    font-size: 15px;
  }

  .section-title {
    font-size: 18px;
  }

  .post-title {
    font-size: 17px;
  }

  .post-preview {
    font-size: 14px;
  }

  .post-meta {
    font-size: 12px;
  }

  .footer-tab {
    font-size: 13px;
  }

  .footer-tab div {
    font-size: 20px;
  }

  .side-menu-nav a {
    font-size: 16px;
  }

  .board-title {
    font-size: 20px;
  }

  .board-item-title {
    font-size: 17px;
  }

  .board-item-meta {
    font-size: 13px;
  }

  .modal-content input,
  .modal input[type="text"],
  .modal input[type="tel"],
  .modal input[type="date"],
  .modal input[type="submit"] {
    font-size: 15px;
  }
}

.pagination {
  text-align: center;
  margin: 20px 0;
}

.pagination ul {
  display: inline-flex;
  list-style: none;
  padding: 0;
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.pagination li {
  margin: 0;
}

.pagination a,
.pagination span {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  text-decoration: none;
  color: #007bff;
  background: #fff;
  border-right: 1px solid #eee;
}

.pagination li:last-child a,
.pagination li:last-child span {
  border-right: none;
}

.pagination li.active span {
  background: #007bff;
  color: white;
  font-weight: bold;
}

.pagination li.disabled span {
  color: #ccc;
  background: #f9f9f9;
  cursor: default;
}

.write-btn {
  float: right;
  font-size: 13px;
  background-color: #007bff;
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.write-btn:hover {
  background-color: #0056b3;
}

/* 반응형에서 버튼 float 깨지는 거 방지 */
@media screen and (max-width: 768px) {
  .write-btn {
    float: none;
    display: inline-block;
    margin-top: 6px;
  }
}

.title-input {
  width: 100%;
  padding: 12px 15px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 16px;
  box-sizing: border-box;
}

.btn-group {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.btn-submit, .btn-cancel {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-submit {
  background-color: #007bff;
  color: white;
}

.btn-submit:hover {
  background-color: #0056b3;
}

.btn-cancel {
  background-color: #e0e0e0;
  color: #333;
}

.btn-cancel:hover {
  background-color: #c0c0c0;
}


.notice-view-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 24px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  font-family: 'Segoe UI', sans-serif;
}

.notice-title {
  font-size: 1.8rem;
  margin-bottom: 8px;
  font-weight: 700;
  color: #333;
}

.notice-meta {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 20px;
}

.notice-divider {
  border: none;
  border-top: 1px solid #eee;
  margin-bottom: 20px;
}

.notice-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
  word-break: break-word;
}

.notice-footer {
  margin-top: 40px;
  text-align: right;
}

.btn-back {
  display: inline-block;
  background: #007bff;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-back:hover {
  background: #0056b3;
}

@media (max-width: 600px) {
  .notice-view-container {
    margin: 20px 12px;
    padding: 16px;
  }
  .notice-title {
    font-size: 1.4rem;
  }
  .notice-content {
    font-size: 1rem;
  }
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.birth-selects {
  display: flex;
  gap: 5px;
}

.birth-selects select,
input[type="text"],
input[type="tel"],
select,
button {
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}

.address-wrap {
  display: flex;
  gap: 5px;
  margin-bottom: 5px;
}

button {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
}

button:hover {
  background-color: #0056b3;
}

input[type="submit"] {
  background-color: #28a745;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  padding: 10px;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: #218838;
}

#phone {
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.close {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 22px;
  font-weight: bold;
  color: #888;
  cursor: pointer;
  transition: color 0.2s ease;
}
.close:hover {
  color: #000;
}
@media (max-width: 600px) {
  .notice-view-container {
    margin: 20px 12px;
    padding: 16px;
  }
  .notice-title {
    font-size: 1.4rem;
  }
  .notice-content {
    font-size: 1rem;
  }
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.birth-selects {
  display: flex;
  gap: 5px;
}

.birth-selects select,
input[type="text"],
input[type="tel"],
select,
button {
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}

.address-wrap {
  display: flex;
  gap: 5px;
  margin-bottom: 5px;
}

button {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
}

button:hover {
  background-color: #0056b3;
}

input[type="submit"] {
  background-color: #28a745;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  padding: 10px;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: #218838;
}

#phone {
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.close {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 22px;
  font-weight: bold;
  color: #888;
  cursor: pointer;
  transition: color 0.2s ease;
}
.close:hover {
  color: #000;
}