/* main-custom */
html {
  overflow: hidden;
}

/* main 효과 */
.scroll_icon {
  transition: opacity 1s;
  transition-delay: 1s;
  opacity: 0;
  position: absolute;
  bottom: 15px;
  width: 35px;
  left: 50%;
  margin-left: -22.5px;
  cursor: pointer;
  animation: move_scroll 2s infinite;
  z-index: 2;
}

.active .scroll_icon{
  opacity: 1;
}

@keyframes move_scroll {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* main common */
.main-section{
  position: relative;
  width: 100vw;
  height: 100vh;
  flex-shrink: 0;
  color: #fff;
  background-color: #000;
  
  overflow-y: auto; 
  -webkit-overflow-scrolling: touch;
  
  padding: 0 !important;
}

.main-section::-webkit-scrollbar {
  display: none;
}

.main-section .main-section-bg{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: all 5s;
}

.main-section.active .main-section-bg{
  animation: zoomInOut 5s ease-in-out 0.75s infinite;
}

body {
    overflow: hidden; 
}


.main-section .title > p:first-of-type {
  color: #ffffff;
  margin-bottom: 20px;
}
.main-section .title h3,
.main-section .title h4 {
  font-size: 60px;
  font-weight: 700;
  color: #fff;
}
.main-section .title h3::after,
.main-section .title h4::after {
    content: '';
    display: none;
}
.main-section  .title .title-text {
  font-size: 24px;
}

/* 화면 전체를 위아래로 움직일 컨테이너 */
#main {
    width: 100vw;
    display: flex;
    flex-direction: column;
    transition: transform 0.7s ease-in-out; /* 부드러운 스크롤 애니메이션 */
}

#main .inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: stretch;

  padding-top: 120px;
}

#main .inner > *{
  width: 100%;
}

.pagination {
    position: fixed;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 100;
}

.pagination li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 15px 0;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.pagination li:before {
  content: '';
  border-radius: 999px;
  position: absolute;
  top: -5px;
  bottom: -5px;
  left: -5px;
  right: -5px;
  transition: all 0.1s;
  border: 1px solid #ff9f37;
  opacity: 0;
}

.pagination li.active:before {
  opacity: 1;
}

.pagination li.active {
    background-color: #ff9f37;
    /* transform: scale(1.5); */
}

@media(max-width:1400px) {
  #main .inner{
    padding-top: 0px;
  }
  .main-section .title h3,
  .main-section .title h4 {
    font-size: 45px;
  }
  .main-section  .title .title-text {
    font-size: 18px;
  }
}

@media(max-width:769px) {
  .main-section{
    min-height: 100vh;
    height: auto;
  }

  #main .inner{
    height: 100vh;
    padding-top: 80px;
  }
  .pagination{
    right: 10px;
  }
  .pagination li {
    width: 8px;
    height: 8px;
    margin: 10px 0;
  }
  .main-section  .title .title-text {
    font-size: 16px;
  }
}

@media(max-width:429px) {
  .main-section  .title .title-text {
    font-size: 14px;
  }
    #main .inner{
    padding-top: 30px;
  }
}

.more-btn {
  display: inline-block;
  overflow: hidden;
  position: relative;
  border: 1px solid #ff9f37;
  padding: 4px 36px;
  border-radius: 999px;
  color: #ff9f37;
  font-weight: 700;
  transition: all 0.5s;
  font-size: 24px;
}
.more-btn:after {
  z-index: -1;
  content: "";
  position: absolute;
  background-color: #ff9f37;
  top: 0;
  left: 0;
  bottom: 0;
  right: 100%;
  transition: all 0.5s;
}
.more-btn:hover {
  color: #000;
}
.more-btn:hover:after {
  right: 0;
}

@media(max-width:769px) {
  .more-btn {
    padding: 4px 18px;
    font-size: 16px;
  }
}

/* section01 */
.section01 .main-section-bg{
  opacity: 0;
  transition: opacity 2s;
  transition-delay: 0.65s;
  background: url(../img/main/section01-bg.jpg) bottom/cover no-repeat;
}

.section01.active .main-section-bg{
  opacity: 1;
}

/* section02 */
.section02 .main-section-bg{
  background: url(../img/main/section02-bg.jpg) bottom/cover no-repeat;
}

.section02-txt{
  font-size: 1.2em;
}

@media(max-width:1400px) {
  .section02-txt{
    padding-top: 100px;
  }
}

@media(max-width:768px) {
  .section02-txt{
    font-size: 1em;
    line-height: 1.6rem;
  }
  .section02-txt{
    padding-top: 0px;
  }
}

@media(max-width:425px) {
  .section02-txt{
    font-size: 1em;
    line-height: 1.4rem;
  }
}

/* section03 */
.section03 .main-section-bg{
  background: url(../img/main/section03-bg.jpg) bottom/cover no-repeat;
}


/* main 버튼섹션 */
.main-quick-btn {
  margin: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 40px;
  color: #fff;
}
.main-quick-btn strong {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}
.main-quick-btn p{
  white-space: normal !important;
  font-size: 14px;
}
.main-quick-btn div:nth-child(3) {
  height: stretch;
}
.main-quick-btn .more-btn:hover {
  color: #fff;
}
.main-quick-btn .more-btn:hover:after {
  right: 0;
}

.main-num::before {
  content: attr(data-num);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  line-height: 0;
  margin-right: 8px;
  background-color: #e9a53f;
  color: #000;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
}

@media(max-width:1200px) {
  .main-quick-btn strong{
    font-size: 16px;
  }
  .main-quick-btn{
    padding-bottom: 40px;
  }
}
@media(max-width:769px) {
  .main-quick-btn img{
    display: none;
  }
  .main-quick-btn p{
    font-size: 12px;
  }
  .main-quick-btn{
    min-height: auto;
    height: stretch;
    border: 1px solid #e9a53f;
    background-color: #ffffff36;
    border-radius: 20px;
    padding: 20px;
    padding-bottom: 40px;
  }
  .main-quick-btn strong {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 10px;
  }
}

@media(max-width:530px) {
  .main-quick-btn{
    padding: 10px;
    border-radius: 14px;
  }
  .main-num::before {
    flex-shrink: 0;
    margin-right: 0;
    width: 18px;
    height: 18px;
    font-size: 14px;
  }
  .main-quick-btn p{
    font-size: 10px;
  }
  .main-quick-btn strong{
    font-size: 12px;
    display: flex;
    line-height: 1.6;
    gap: 4px;
    margin-bottom: 4px;
  }
}

/* section04 */
.section04 .main-section-bg{
  background: url(../img/main/section04-bg.jpg) bottom/cover no-repeat;
}

/* section05 */
.section05 .main-section-bg{
  background: url(../img/main/section05-bg.jpg) bottom/cover no-repeat;
}

/* section06 */
.section06 .main-section-bg{
  background: url(../img/main/section06-bg.jpg) bottom/cover no-repeat;
}

/* section07 */
.section07 .main-section-bg{
  background: url(../img/main/section07-bg.jpg) bottom/cover no-repeat;
}

/* section08 */
.section08 .main-section-bg{
  background: url(../img/main/section08-bg.jpg) bottom/cover no-repeat;
}

/* section09 */
.section09 .main-section-bg{
  background: url(../img/main/section09-bg.jpg) bottom/cover no-repeat;
}


/* info-map */
.info-map h4.info-map-title-con {
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.info-map p {
  font-size: 18px;
}

.info-map h4.info-map-title-con img {
  height: 35px;
}
.info-map .info-map-sub {
  font-size: 24px;
  line-height: 1.6;
  font-weight: 700;
}
.info-map-sub .info-time {
  display: flex;
  gap: 30px;
}
.info-map-sub .info-time li:nth-child(1) {
  width: 20%;
}
.info-map-btn {
  display: flex;
  gap: 8px;
}
.info-map-btn a {
  border: 2px solid #b6b6b6;
  border-radius: 999px;
  background-color: #fff;
  padding: 8px 30px;
  font-size: 24px;
  font-weight: 700;
  transition: all 0.2s;
}
.info-map-btn a:hover {
  border: 2px solid #757575;
  background-color: #757575;
  color: #fff;
}

@media(max-width:769px) {
  .info-map p{
    font-size: 14px;
  }
  .info-map .info-map-sub{
    font-size: 16px;
  }
  .root_daum_roughmap{
    display: none;
  }
}

#top_btn {
  display: none !important;
}