/* Reset */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

img {
  display: block;
}

:root {
  --color-point-main: #bf9155;
  --color-point-sub: #c9a96e;
}

/* Base */
html {
  overflow-x: hidden;
  background-color: #262626;
  scroll-behavior: smooth;
  font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  -webkit-overflow-scrolling: touch;
  overflow: hidden;
  background-color: #fef9f1;
}

.center {
  width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 200px;
  padding: 100px 0;
}

.viewSection {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  padding: 100px 0 200px;
}

.point {
  padding: 100px 0px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.portfolioSlide {
  max-width: 955px;
  margin: 50px auto 200px;
}

.wideSlide {
  width: 100%;
  display: block;
  position: relative;
}
.wideSlideText {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

.wideSlideText img:nth-child(2) {
  margin: -40px 0;
}

.infoSection {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  text-align: center;
  background-image: url('../img/02_bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 0;
  color: #fff;
  font-size: 25px;
}

.infoSection h3 {
  font-size: 35px;
  font-weight: bold;
}

.infoSection .counting {
  display: flex;
  gap: 40px;
}

.infoSection .counting .countingItem {
  min-width: 220px;
}

.infoSection .counting .countingNum {
  font-size: 100px;
  font-family: 'Bebas Neue', cursive;
  color: var(--color-point-sub);
}

.storySection {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.reviewSlide {
  width: 100%;
  max-width: 800px;
  display: block;
  position: relative;
}

/* Footer */
footer {
  position: relative;
  width: 100%;
}

footer .scrollTopBtn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  cursor: pointer;
  z-index: 100;
}

footer > img {
  width: 100%;
  display: block;
}

footer .scrollTopBtn img {
  width: 100%;
  display: block;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 25px;
  color: #fff;
}

/* Swiper Pagination */
.swiper-pagination {
  position: relative;
  margin-top: 20px;
  display: none;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ccc;
  opacity: 1;
  margin: 0 5px;
}

.swiper-pagination-bullet-active {
  background: #000;
}

.fixedBtn {
  width: 250px;
  position: fixed;
  bottom: 0%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-point-main);
  color: #fff;
  padding: 10px;
  border: none;
  border-radius: 5px 5px 0 0;
  cursor: pointer;
  z-index: 1000;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 20px;
}

.fixedBtn img {
  width: 100%;
  display: block;
}

.fixedBtn.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Media Queries */
@media screen and (max-width: 768px) {
  img {
    width: 100%;
  }
  .container {
    width: 100%;
  }

  .mainVisual {
    width: 150%;
    margin-left: -25%;
  }
  .portfolioSlide {
    width: 90%;
    margin: 0 auto 40px;
  }
  .wideSlideText > img:nth-child(1) {
    width: 40%;
  }
  .wideSlideText img:nth-child(2) {
    width: 180%;
    /* margin: -20px 0; */
  }
  .wideSlide .swiper-slide img {
    width: 200%;
  }

  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 15px;
  }

  .infoSection h3 {
    font-size: 25px;
  }

  .infoSection p {
    font-size: 15px;
    line-height: 1.4;
  }

  .infoSection .infoIcon {
    width: 90%;
  }

  .infoSection .counting {
    flex-direction: column;
  }

  /* .infoSection .counting .countingNum {
    font-size: 50px;
  } */

  .center {
    width: 90%;
    padding: 50px 0;
    gap: 70px;
  }
  .center img {
    width: 100%;
  }

  .viewSection {
    padding: 50px 20px 100px;
    gap: 30px;
  }

  .storySection {
    padding: 0 20px;
  }
  .point {
    padding: 50px 20px;
  }

  footer .scrollTopBtn {
    width: 10%;
    top: -100%;
  }
}
