@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: center;
  font-weight: bold;
}

.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;
}

@media (max-width: 1024px) {
  #menu-gallery .obj .item {
    flex: 1 1 calc(33.33% - 20px);
    max-width: calc(33.33% - 20px);
  }
}

@media (max-width: 768px) {
  #menu-gallery .obj .item {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

@media (max-width: 480px) {
  #menu-gallery .obj .item {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* 공지사항 QnA */
#notice, #qna {
  background-color: #fff;
  padding: 60px 20px;
  text-align: center;
}

#notice h2, #qna h2, #menu-gallery h2 {
  text-align: left;
  margin-left: 20px; /* 좌측 여백 */
}

#notice .grap, #qna .grap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center; /* 가운데 정렬 */
  max-width: 1240px; /* MENU max-width와 동일 */
  margin: 0 auto 20px; /* 가운데 정렬과 아래 마진 */
  padding: 0 20px; /* 좌우 패딩 추가 */
}

#notice .grap .item, #qna .grap .item {
  flex: 1 1 calc(25% - 20px);
  max-width: calc(25% - 20px);
  box-sizing: border-box;
  padding: 15px 20px; /* MENU 스타일과 유사하게 패딩 조정 */
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  background: #fff;
  transition: transform 0.3s;
  text-align: left;
}

#notice .gallery-wrap, #qna .gallery-wrap, #menu-gallery .gallery-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: left; /* 컨텐츠도 왼쪽 정렬 */
}

#notice .grap .item:hover, #qna .grap .item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* 폰트 통일 */
* {
  font-family: 'Noto Sans KR', sans-serif;
  box-sizing: border-box;
}