@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR&display=swap');

body {
  font-family: 'Noto Sans KR', sans-serif;
  margin: 0;
}

#header #logo em {
  position: relative;
  top: -13px;
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  user-select: none;
}

/* 공통 섹션 스타일 */
section {
  width: 100%;
  padding: 60px 20px;
}

section h2 {
  font-size: 28px;
  color: #333;
  margin-bottom: 20px;
  text-align: left;
  font-weight: bold;
  margin-left: 20px;
}

.divider-1 {
  width: 50px;
  height: 3px;
  background: #c49b63;
  margin: 1px 22px 40px;
}

.more {
  text-align: center;
  margin-top: 20px;
}

.more a {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid #c49b63;
  background: #fff;
  color: #c49b63;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.more a:hover {
  background: #c49b63;
  color: #fff;
}

/* 갤러리 영역 */
.row { display: block; }

#menu-gallery {
  margin: 0 auto;
  padding: 60px 20px;
  background: #fff;
}

#menu-gallery .divider-1 {
  margin-bottom: 40px;
}

#menu-gallery .obj {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  justify-content: center;
}

#menu-gallery .obj .item {
  flex: 1 1 calc(25% - 20px);
  max-width: calc(25% - 20px);
  display: flex;
  flex-direction: column;
  background: #fff;
  overflow: hidden;
  transition: transform 0.3s;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
}

#menu-gallery .obj .item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#menu-gallery .obj .item a {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

#menu-gallery .obj .item .img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f9f9f9;
  overflow: hidden;
}

#menu-gallery .obj .item .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease-in-out;
}

#menu-gallery .obj .item:hover .img img {
  transform: scale(1.05);
}

#menu-gallery .obj .item .info {
  padding: 15px;
  background: #fff;
  text-align: center;
}

#menu-gallery .obj .item .info .tit {
  font-family: 'nsr';
  font-size: 16px;
  color: #222;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#menu-gallery .obj .item .info .text {
  color: #555;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 10px;
}

#menu-gallery .obj .item .info .date {
	display: none;
}

/* 공지사항, Q&A */
#notice, #qna {
  background-color: #fff;
  padding: 60px 20px;
  text-align: center;
}

#notice .gallery-wrap,
#qna .gallery-wrap,
#menu-gallery .gallery-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: left;
}

#notice h2, #qna h2, #menu-gallery h2 {
  text-align: left;
  margin-left: 20px;
}

/* ✅ NOTICE 스타일 - ul.inner에 적용 */
#notice .inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 0;
  margin: 0 auto 20px;
  list-style: none;
  max-width: 1240px;
}

#notice .inner li {
  flex: 1 1 calc(20% - 20px); /* 가로 5개씩 */
  max-width: calc(20% - 20px);
  height: 163px;
  background-color: #fff;
  border-radius: 10px;
  padding: 20px 20px 0 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s;
  border: 1px solid #e5e5e5;
  text-align: left;
}

#notice .inner li:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#notice .inner li a {
  color: #000;
  text-decoration: none;
  font-size: 18px;
  margin: 20px 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#notice .inner li span {
  font-size: 16px;
  color: #767676;
  text-align: left;
}

/* 반응형 조절 */
@media (max-width: 1024px) {
  #menu-gallery .obj .item,
  #notice .inner li {
    flex: 1 1 calc(33.33% - 20px);
    max-width: calc(33.33% - 20px);
  }
}

@media (max-width: 768px) {
  #menu-gallery .obj .item,
  #notice .inner li {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

@media (max-width: 480px) {
  #menu-gallery .obj .item,
  #notice .inner li {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* 폰트 통일 */
* {
  font-family: 'Noto Sans KR', sans-serif;
  box-sizing: border-box;
}
