#popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 반투명 배경 */
  justify-content: center;
  align-items: center;
  z-index: 10;
}

/* 팝업 콘텐츠 스타일 */
#popup .popup-content {
  position: relative;
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

/* 이미지 스타일 */
#popup .popup-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 10px;
}

/* 닫기 버튼 스타일 */
.close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #888;
  color: white;
  font-size: 18px;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  cursor: pointer;
}

.close:hover {
  background: darkred;
}

main .m1 {
  width: 100%;
  height: 700px;
  margin: auto;
}
main .m1 .banner .bannerimg {
  width: 1920px;
  height: 700px;
  position: relative;
  margin: auto;
}
main .m1 .banner .txt {
  width: 520px;
  height: 200px;
  position: absolute;
  bottom: 350px;
  left: 320px;
  text-align: right;
}
main .m1 .banner .txt h1 {
  font-family: sans-serif;
  font-size: 100px;
  font-weight: lighter;
  color: #c55377;
}
main .m1 .banner .txt p {
  font-size: 32px;
  font-weight: bold;
  color: #666;
}
main .m2 .container {
  width: 1200px;
  height: 600px;
  margin: auto;
  position: relative;
  overflow: hidden;
}
main .m2 .container .m2box {
  width: 1920px;
  height: 600px;
  position: absolute;
  display: flex;
  justify-content: space-between;
  align-items: center;
  left: -362px;
  cursor: pointer;
}
main .m2 .container article {
  width: 340px;
  height: 490px;
  text-align: center;
}
main .m2 .container article img {
  margin-bottom: 60px;
}

main .m2 h2 {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin: 18px 0 40px 0;
  box-sizing: border-box;
}

main .m2 h4,
p {
  color: #333;
  line-height: 2;
}
main .m2 .container article p {
  font-size: 18px;
  font-weight: bold;
}
main .m2 .container article p:first-of-type {
  font-size: 12px;
  font-weight: lighter;
}
main .m3 {
  min-width: 1280px;
  width: 100%;
  height: 600px;
  position: relative;
  overflow: hidden;
}
main .m3 .new {
  width: 300%;
  position: relative;
  display: flex;
  transition: margin 0.5s;
}
main .m3 .new .container:nth-child(1) {
  background-color: #fbdaa4;
  width: 33.3333%;
  height: 600px;
  padding-top: 50px;
}
main .m3 .new .container:nth-child(2) {
  background-color: #e2cec7;
  width: 33.3333%;
  height: 600px;
  padding-top: 50px;
}
main .m3 .new .container:nth-child(3) {
  background-color: #fec5cc;
  width: 33.3333%;
  height: 600px;
  padding-top: 50px;
}
main .m3 .new .container .m3-wrap {
  width: 1190px;
  height: 500px;
  margin: auto;
  gap: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

main .m3 .new .container .m3Img img {
  display: block;
}

main .m3 .new .container .slide {
  width: 500px;
  height: 280px;
  color: #333;
  position: relative;
}
main .m3 .new .container .slide img {
  margin-bottom: 50px;
}
main .m3 .new .container .slide h2 {
  font-size: 32px;
  font-weight: bold;
}
main .m3 .new .container .slide h3 {
  font-size: 20px;
  font-weight: normal;
  margin-bottom: 40px;
}
main .m3 .new .container .slide p {
  font-size: 16px;
  font-weight: lighter;
  color: #888;
  margin-bottom: 30px;
}
main .m3 .new .container .slide a {
  color: #333;
  position: absolute;
  font-weight: bold;
  right: 0;
}

main .m3 .arrow-btn {
  position: absolute;
  left: 50%;
  bottom: 50px;
  color: #333;
  display: flex;
  gap: 30px;
  margin-left: 535px;
}
main .m3 .arrow-btn i {
  cursor: pointer;
}

main .m4 {
  width: 100%;
  height: 880px;
  margin: auto;
  position: relative;
  display: flex;
}

main .m4 .m4box {
  width: 1190px;
  height: 810px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
main .m4 .m4box img,
.m4t {
  width: 230px;
  height: 300px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
main .m4 .m4box .m4Container {
  width: 230px;
  height: 400px;
  text-align: center;
  cursor: pointer;
}
main .m4 .m4box .m4Container:hover {
  opacity: 0.6;
  transition: all 0.3s;
}
main .m4 .m4box .m4Container .m4t p {
  position: absolute;
  font-size: 32px;
  font-weight: bold;
}

main .m4 .m4box .m4Container img {
  display: block;
}
main .m4 .m4box .m4Container p {
  color: #4e4e4e;
  font-size: 16px;
  font-weight: bold;
}
main .m4 .m4box .m4Container .m4txt p {
  font-weight: lighter;
  font-size: 12px;
  color: #888;
  text-decoration: line-through;
}
main .m4 .m4box .m4Container .m4txt h4 {
  font-size: 20px;
  font-weight: bold;
  color: #333;
}
main .m5 {
  width: 100%;
  height: 820px;
  margin: auto;
}
main .m5 .m5box {
  width: 1190px;
  height: 720px;
  margin: 75px auto;
}
main .m5 .m5box .m5btn {
  display: flex;
  align-items: center;
  width: 700px;
  height: 50px;
  font-size: 32px;
  font-weight: bold;
  gap: 8px;
  margin-bottom: 20px;
}
main .m5 .m5box .m5btn p {
  margin-right: 40px;
  margin-bottom: 4px;
}
main .m5 .m5box .m5btn img:hover {
  background-color: #f8d5e1;
  border-radius: 10px;
  cursor: pointer;
}
main .m5 .m5box .m5img a {
  min-width: 1190px;
  height: 650px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
main .m5 .m5box .m5img a img:hover {
  opacity: 0.6;
  transition: all 0.3s;
}
main .m6 {
  width: 100%;
  height: 820px;
  margin: auto;
}
main .m6 .m6Container {
  width: 1200px;
  height: 820px;
  margin: auto;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
main .m6 .m6Container .m6box {
  width: 830px;
  height: 740px;
  margin-top: 50px;
}

main .m6 .m6Container .m6box .m6btn {
  width: 830px;
  height: 40px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
main .m6 .m6Container .m6box .m6btn > i {
  color: #333;
  margin-bottom: 4px;
}
main .m6 .m6Container .m6box .m6btn img:hover {
  background-color: #f8d5e1;
  border-radius: 10px;
  cursor: pointer;
}
main .m6 .m6Container .m6box .m6btn p {
  margin: 0 40px 4px 0;
  font-size: 32px;
  font-weight: bold;
}
main .m6 .m6Container .m6box .m6img img:hover {
  opacity: 0.6;
  transition: all 0.3s;
  cursor: pointer;
}
