@charset "UTF-8";
main {
  margin-top: 10rem;
}

.title {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14rem 0;
}
.title h2 {
  font-size: 6rem;
}

.gal .select option {
  background: var(--background-color);
  color: var(--point-color);
}
.gal .sel-wrap {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5rem;
}
.gal .sel-wrap .select_cus {
  position: relative;
  cursor: pointer;
}
.gal .sel-wrap .select_cus .trigger::after {
  content: "";
  position: absolute;
  background: url(../../images/arrow_down.png) center center no-repeat;
  background-size: cover;
  width: 2.4rem;
  height: 2.4rem;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  transition: transform 0.3s;
}
.gal .sel-wrap .select_cus.active .trigger::after {
  transform: rotate(180deg) translateY(50%);
}
.gal .sel-wrap .select_cus div {
  display: flex;
  width: 18rem;
  padding: 1rem;
  border-radius: 0.4rem;
  background: var(--background-color);
  color: var(--point-color);
  font-size: 1.4rem;
  border: 1px solid var(--point-color);
  position: relative;
}
.gal .sel-wrap .select_cus ul {
  position: absolute;
  background-color: var(--background-color);
  width: 100%;
  border: 1px solid var(--point-color);
  border-top: none;
  border-radius: 0.4rem;
  max-height: 20rem;
  overflow-y: auto;
  display: none;
}
.gal .sel-wrap .select_cus ul li {
  font-size: 1.4rem;
  padding: 0 1rem;
  height: 4rem;
  line-height: 4rem;
  transition: color 0.3s;
}
.gal .sel-wrap .select_cus ul li:hover {
  color: var(--point-color);
}
.gal .sel-wrap .left {
  display: flex;
  gap: 1rem;
}
.gal .sel-wrap .right div {
  width: 9rem;
}
.gal .img-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 10rem;
}
.gal .img-list li {
  width: 33%;
  height: 0;
  padding-bottom: 21%;
  cursor: pointer;
  transition: 0.3s;
  margin-bottom: 0.4%;
}
.gal .img-list li:hover {
  background-size: 110%;
}

.img1 {
  background: url(../../images/img1.jpg) no-repeat center;
  background-size: 100%;
}

.img2 {
  background: url(../../images/img2.jpg) no-repeat center;
  background-size: 100%;
}

.img3 {
  background: url(../../images/img3.jpg) no-repeat center;
  background-size: 100%;
}

.img4 {
  background: url(../../images/img4.jpg) no-repeat center;
  background-size: 100%;
}

.img5 {
  background: url(../../images/img5.jpg) no-repeat center;
  background-size: 100%;
}

.img6 {
  background: url(../../images/img6.jpg) no-repeat center;
  background-size: 100%;
}

.img7 {
  background: url(../../images/img7.jpg) no-repeat center;
  background-size: 100%;
}

.img8 {
  background: url(../../images/img8.jpg) no-repeat center;
  background-size: 100%;
}

.img9 {
  background: url(../../images/img9.jpg) no-repeat center;
  background-size: 100%;
}

.img10 {
  background: url(../../images/img10.jpg) no-repeat center;
  background-size: 100%;
}

.img11 {
  background: url(../../images/img11.jpg) no-repeat center;
  background-size: 100%;
}

.img12 {
  background: url(../../images/img12.jpg) no-repeat center;
  background-size: 100%;
}

.img13 {
  background: url(../../images/img13.jpg) no-repeat center;
  background-size: 100%;
}

.img14 {
  background: url(../../images/img14.jpg) no-repeat center;
  background-size: 100%;
}

.img15 {
  background: url(../../images/img15.jpg) no-repeat center;
  background-size: 100%;
}

.page-nation {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  gap: 3rem;
}
.page-nation span, .page-nation div {
  cursor: pointer;
  transition: 0.3s;
}
.page-nation span:hover, .page-nation div:hover {
  opacity: 1;
  color: var(--point-color);
}
.page-nation div {
  opacity: 0.7;
}
.page-nation div.active {
  opacity: 1;
  color: var(--point-color);
}
.page-nation div:hover {
  opacity: 1;
  color: var(--point-color);
}

.modal {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
}
.modal .bg {
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.6;
}
.modal .box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fcfcfc;
  color: #202020;
  padding: 6rem;
  width: 90%;
  max-width: 120rem;
  border-radius: 4rem;
}
.modal .box .content {
  display: flex;
  align-items: flex-end;
  gap: 4%;
}
.modal .box .content img {
  width: 78%;
}
.modal .box .content ul {
  width: 18%;
}
.modal .box .content ul li {
  width: 100%;
  font-size: 1.4rem;
  border-bottom: 0.1rem solid var(--border-gray-color);
  padding: 0.6rem 0;
}
.modal .box .close {
  position: absolute;
  right: 6rem;
  top: 6rem;
  font-size: 4rem;
  cursor: pointer;
  color: #949494;
}

/* 노트북 & 테블릿 가로 (해상도 1024px ~ 1400px)*/
@media all and (min-width: 1024px) and (max-width: 1400px) {
  .title {
    padding: 12rem 0;
  }
}
/* 테블릿 가로 (해상도 768px ~ 1023px)*/
@media all and (min-width: 768px) and (max-width: 1023px) {
  .title {
    padding: 10rem 0;
  }
  .title h2 {
    font-size: 5rem;
  }
  .gal .img-list li {
    width: 49%;
    padding-bottom: 33%;
    margin-bottom: 1.8%;
  }
  .modal .box {
    padding: 4rem;
  }
  .modal .box .content {
    flex-direction: column;
    align-items: flex-start;
  }
  .modal .box .content img {
    width: 100%;
    margin-bottom: 2rem;
  }
  .modal .box .content ul {
    display: flex;
    gap: 5%;
    width: 100%;
  }
}
/* 모바일 가로 & 테블릿 세로 (해상도  ~ 767px)*/
@media all and (max-width: 767px) {
  .title {
    padding: 6rem 0;
  }
  .title h2 {
    font-size: 4rem;
  }
  .gal .sel-wrap {
    display: block;
    margin-bottom: 2rem;
  }
  .gal .sel-wrap .left {
    display: block;
  }
  .gal .sel-wrap .left .select_cus {
    margin-bottom: 1rem;
  }
  .gal .sel-wrap .left .select_cus div {
    width: 100%;
  }
  .gal .sel-wrap .left .select_cus .option1 {
    z-index: 30;
  }
  .gal .sel-wrap .left .select_cus .option2 {
    z-index: 20;
  }
  .gal .sel-wrap .left .select_cus .option3 {
    z-index: 10;
  }
  .gal .sel-wrap .right {
    display: block;
  }
  .gal .sel-wrap .right div {
    width: 100%;
  }
  .gal .img-list li {
    width: 49%;
    padding-bottom: 33%;
    margin-bottom: 1.8%;
  }
  .modal .box {
    padding: 2rem;
    border-radius: 2rem;
  }
  .modal .box .content {
    flex-direction: column;
    align-items: flex-start;
  }
  .modal .box .content img {
    width: 100%;
    margin-bottom: 2rem;
  }
  .modal .box .content ul {
    width: 100%;
  }
  .modal .box .close {
    right: 3rem;
    top: 3rem;
    font-size: 3rem;
  }
}