@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100&display=swap');
@import url('http://fonts.googleapis.com/earlyaccess/notosanskr.css');
/* @charset "utf-8"; */
* {
  transition: all 0.3s;
}

/*************************/
/* COMMON
/************************/
.wrap_sub_intro {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 3.25rem 0 6.5rem;
}

.sub_page {
  width: 100%;
  height: 100vh;
  background-image: url('../images/bg_subpage.jpg');
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.cont_1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  height: 20%;
}

.deco_sub_ttl {
  position: relative;
}

.deco_sub_ttl::before,
.deco_sub_ttl::after {
  content: '';
  position: absolute;
  top: 45%;
  width: 60px;
  height: 1px;
  background: url('../images/bar_pop_1.png') no-repeat 0 center / contain;
}

.deco_sub_ttl::before {
  right: 110%;
}

.deco_sub_ttl::after {
  left: 110%;
  transform: rotate(180deg);
}

.cont_2 {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  height: 100%;
  max-height: 510px;
}

#btn_commu,
#btn_barotem,
#btn_world,
#btn_ifl,
#btn_contents {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  max-width: 580px;
  height: 65px;
  background: url(../images/btn_advance_default.jpg) no-repeat center / 100%
    100%;
  margin-top: 1rem;
}

#btn_commu::after,
#btn_barotem::after,
#btn_world::after,
#btn_ifl::after,
#btn_contents::after {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url('../images/btn_advance_hover.jpg') no-repeat center / 100%
    100%;
  opacity: 0;
  transition: 0.3s all;
}

#btn_commu::after {
  content: '공식 커뮤니티 가입하기';
}

#btn_barotem::after {
  content: '바로템 가입하기';
}

#btn_world::after {
  content: '查看更多';/* 더 많은 정보 확인하기 */
}

#btn_ifl::after {
  content: '이벤트 참여하기';
}

#btn_contents::after {
  content: '더 많은 정보 확인하기';
}

#btn_commu:hover::after,
#btn_barotem:hover::after,
#btn_world:hover::after,
#btn_ifl:hover::after,
#btn_contents:hover::after {
  opacity: 1;
  transition: 0.3s all;
}

.cont_btn {
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 20%;
}

@media screen and (max-width: 1280px) {
}

@media screen and (max-width: 520px) {
  /* .wrap {
        padding: 0 10px;
    }

    .pc{
        display: none;
    }

    .mobile{
        display: block;
    } */
}

@media screen and (max-width: 1024px) {
  .ttl_intro img {
    width: 100%;
  }
}

@media screen and (max-width: 520px) {
  .sub_page {
    background-image: url(../images/m/m_bg_subpage.jpg);
  }

  .wrap {
    padding: 1.5rem 1rem;
  }

  .ttl_intro {
    display: flex;
    justify-content: center;
  }

  #event_1 .ttl_intro img,
  #world .ttl_intro img,
  #contents .ttl_intro img {
    max-height: 50px;
  }

  .cont_1 {
    height: 20%;
    text-align: center;
  }

  #footer .wrap {
    padding: 0;
  }

  .wrap_sub_intro{
    padding: 0;
  }
}

/* 모바일 가로 모드 */
@media screen and (max-width: 934px) and (orientation: landscape) {
  .sub_page {
    height: 100%;
  }
}
/* //모바일 가로 모드 */
