@charset "UTF-8";
/* =============================================
   컨테이너
   ============================================= */
#qwerty_container {
  max-width: 1920px;
  margin: auto;
}

/* =============================================
   섹션 스타일
   ============================================= */
.section-wrapper {
  width: 100%;
}

/* =============================================
   이미지 + 링크 블록 (응모하기 버튼 오버레이)
   ============================================= */
.img-link-block {
  position: relative;
  width: 100%;
}

.img-link-block > img {
  width: 100%;
  display: block;
}

/* PC: 응모하기 버튼 클릭 영역 */
/* PC section1: 1920x5432px */
/* 버튼 위치: x=693~1227, y=3127~3190 */
/* top%: 3127/5432*100 = 57.57% */
/* height%: 63/5432*100 = 1.16% */
/* left%: 693/1920*100 = 36.1% */
/* width%: (1227-693)/1920*100 = 27.8% */
.link-evnt-pc {
  position: absolute;
  top: 57.4%;
  left: 28.2%;
  width: 43.5%;
  height: 1.25%;
  cursor: pointer;
  display: block;
}

/* MO: 응모하기 버튼 클릭 영역 */
/* MO section1: 1080x8635px */
/* 실측: y=3378~3479 (height=101px) */
/* top%: 3378/8635*100 = 39.12% */
/* height%: 101/8635*100 = 1.17% */
/* 버튼 좌우 여백 약 6% */
.link-evnt-mo {
  position: absolute;
  top: 39.0%;
  left: 6%;
  width: 88%;
  height: 1.3%;
  cursor: pointer;
  display: block;
}

/* =============================================
   정적 푸터 영역 (검은색 주소)
   ============================================= */
#qwerty_footer {
  position: relative;
  width: 100%;
  background-color: #2a2a2c; /* 검은색 배경색 추가하여 흰색 틈새 방지 */
  padding-bottom: 5.21vw; /* margin 대신 padding을 사용하여 배경색 영역 확장 */
}

#qwerty_footer > img {
  width: 100%;
  display: block; /* 이미지 하단 틈새 방지 */
}

#qwerty_footer > img.is-pc {
  display: block;
}

#qwerty_footer > img.is-mo {
  display: none;
}

@media (max-width: 767px) {
  #qwerty_footer {
    padding-bottom: 19.44vw; /* MO 반응형 패딩 적용 */
    margin-bottom: 0;
  }
  
  #qwerty_footer > img.is-pc {
    display: none;
  }
  
  #qwerty_footer > img.is-mo {
    display: block;
  }
}

/* =============================================
   콘텐츠 섹션 (섹션1 + 하단버튼 wrapper)
   ============================================= */
#qwerty_contents_section > .detail-button-wrapper {
  position: relative;
}

/* =============================================
   하단 스티키 버튼 (플로팅)
   ============================================= */
#qwerty_contents_section > .detail-button-wrapper > .detail-button {
  z-index: 100;
  position: sticky;
  bottom: 0;
  height: 0;
  transform-origin: bottom;
  
  /* 스크롤 제어를 위한 투명도 및 위치 트랜지션 추가 */
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

#qwerty_contents_section > .detail-button-wrapper > .detail-button.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#qwerty_contents_section > .detail-button-wrapper > .detail-button > img {
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
}

#qwerty_contents_section > .detail-button-wrapper > .detail-button > .link-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
}

/* PC 하단 버튼: 1920x100px */
/* 버튼 전체가 하나의 링크 (자세히 보기) */
/* padding-bottom = 100/1920 * 100 = 5.21% */
#qwerty_contents_section > .detail-button-wrapper > .detail-button.is-pc > .link-wrapper > .link {
  display: block;
  width: 100%;
  padding-bottom: 5.21%;
  cursor: pointer;
}

/* MO 하단 버튼: 1080x210px */
/* 버튼 전체가 하나의 링크 (자세히 보기) */
/* padding-bottom = 210/1080 * 100 = 19.44% */
#qwerty_contents_section > .detail-button-wrapper > .detail-button.is-mo > .link-wrapper > .link {
  display: block;
  width: 100%;
  padding-bottom: 19.44%;
  cursor: pointer;
}
