@charset "UTF-8";
.nav--mo{display: none;}
.nav .btn-close{
  position: absolute;
  top: 10px;
  right: 20px;
}
/* 서브 내비게이션 */
.sub-header{width: 100%;}
.sub__top{
  position: relative;
  display: flex;
  width: 100%;
  height: 300px;
  align-items: center;
  justify-content: center;
}
.sub__bg{
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  -webkit-animation: sub_bg 1s linear;
  animation: sub_bg 1s linear;
  z-index: -1;
}
.sub__bg::before{
  content: "";
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: url(../img/bg_sub1.svg) no-repeat left bottom, url(../img/bg_sub2.svg) no-repeat right center rgba(0, 0, 0, .4);
}
.sub__bg.about{background-image: url(../img/sub_about.jpg);}
.sub__bg.what-we-do{background-image: url(../img/sub_whatwedo.jpg);}
.sub__bg.board{background-image: url(../img/sub_board.jpg);}
.sub__bg.idolbom{background-image: url(../img/sub_idolbom.jpg);}
.sub__bg.hour{background-image: url(../img/sub_idolbom_hour.jpg);}
.sub__bg.allday{background-image: url(../img/sub_idolbom_allday.jpg);}
.sub__bg.sick{background-image: url(../img/sub_idolbom_sick.jpg);}
.sub__bg.agency{background-image: url(../img/sub_idolbom_agency.jpg);}
.sub__bg.urgent{background-image: url(../img/sub_idolbom_urgent.jpg);}
.sub__bg.urgent2{background-image: url(../img/gu/sub_idolbom_urgent2.jpg);}
.sub__bg.archive{background-image: url(../img/gu/sub_gu_archive.jpg);}
.sub__bg.gallery{background-image: url(../img/gu/sub_gu_gallery.jpg);}
.sub__bg.career{background-image: url(../img/gu/sub_gu_career.jpg);}
.sub__bg.education{background-image: url(../img/gu/sub_gu_education.jpg);}

.sub-nav{
  position: relative;
  display: flex;
  width: 100%;
  height: 45px;
}
.sub-nav::before{
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  display: inline-block;
  width: 100%;
  height: 1px;
  background-color: var(--color-gray3);
}
.sub-nav__ul{display: flex;}
.sub-nav__ul,
.sub-nav__li,
.sub-dropdown__wrapper{height: 100%;}
.btn-home{
  display: flex;
  width: 45px;
  min-width: 45px;
  height: 45px;
  aspect-ratio: 1/1;
  align-items: center;
  justify-content: center;
  background-color: #FF543F;
}
.btn-home > img{
  width: 24px;
  min-width: 24px;
  height: 24px;
}
.sub-dropdown{
  position: relative;
  width: max-content;
  min-width: 200px;
  height: 100%;
  padding: 12.5px 2rem;
  border-bottom: 1px solid var(--color-gray3);
  background: url(../img/ic_arrow_down_bk.svg) no-repeat calc(100% - 20px) center #fff;
}
.sub-dropdown .item-wrapper{
  position: absolute;
  top: 45px;
  left: 0;
  display: none;
  width: 100%;
  box-shadow: 0px 5px 10px rgba(56, 85, 94, 0.15);
  background-color: #fff;
  z-index: 2;
}
.sub-dropdown:hover .item-wrapper{display: block;}
.sub-lev2{
  min-width: 14.375em;
  padding-right: 4rem;
}
.sub-dropdown .lev-item{
  display: block;
  height: 45px;
  line-height: 45px;
  padding-left: 2rem;
  padding-right: 1rem;
}
.sub-dropdown .lev-item:hover,
.sub-dropdown .lev-item:active,
.sub-dropdown .lev-item:focus-visible,
.sub-dropdown .lev-item:focus-within{
  background-color: var(--color-orange);
  color: #fff;
}
.bar--ver{
  display: inline-block;
  width: 1px;
  height: 23px;
  vertical-align: middle;
  background-color: var(--color-gray3);
}
/************** 헤더 끝 **************/

/************** 통합검색 **************/
.common-search__contents{max-width: 94%;}
.common-search{
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  width: 100vw;
  height: 100vh;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, .8);
  z-index: 99;
}
.common-search.on{display: grid;}
.search__tit{word-break: keep-all;}
.search__tit > img{
  max-width: 40px;
  margin-right: 20px;
}
.common-search__box{
  width: 780px;
  width: clamp(300px, 40vw, 800px);
  border: 2px solid var(--color-red);
  background-color: #fff;
}
.common-search__box .btn-search{margin-right: 1.8em;}
.search__input{
  width: 100%;
  padding: 1em 1em 1em 2em;
}
/************** 통합검색 끝 **************/

@media screen and (min-width: 992px){
  .nav,
  .nav__ul,
  .nav__li{
    height: 100%;
  }
  .nav{
    height: var(--header--pc);
    background-color: #fff;
  }
  .nav__ul{
    display: flex;
    padding-left: 24.48vw;
  }
  .nav__li{
    position: relative;
    width: 10.7vw;
  }
  .nav__li > .nav__menu{
    display: flex;
    width: 100%;
    height: 100%;
    padding: 39px 0;
    justify-content: center;
  }
  .nav__menu___arrow{display: none;}
  .lev2-wrapper{
    position: absolute;
    top: var(--header--pc);
    left: 0;
    display: none;
    width: 100%;
    /* height: 0; */
    min-height: 305px;
    padding: 20px 0.9em;
    transition: left .2s;
    z-index: 10;
  }
  .lev2__li{padding: 5px 0;}
  .lev2__li .lev-item{
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0 .5rem;
    letter-spacing: -1.28px;
    white-space: nowrap;
  }
  .lev2__li .lev-item::before{
    content:"·";
    position: absolute;
    top: 50%;
    left: -2px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  .nav:hover{
    height: 403px;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.15);
  }
  .nav.line{box-shadow: 0px 1px 0 var(--color-gray3);}
  .nav:hover::before{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24.48vw;
    height: calc(100% - 98px);
    background: url(../img/bg_gnb.svg) no-repeat left center/cover, url(../img/bg_gnb_text.svg) no-repeat center calc(100% - 40px);
  }
  .nav:hover::after{
    content:"";
    position: absolute;
    top: var(--header--pc);
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--color-gray3);
  }
  .nav:hover .lev2-wrapper{
    display: block;
    /* height: 305px; */
  }
  .nav__li:hover .nav__menu{color: var(--color-orange);}
  .nav__li:hover .lev2-wrapper{
    background: var(--color-orange);
    color: #fff;
  }
  .nav:hover .lev2__li{padding: 10px 0;}
  .lev2__li:hover .lev-item{
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  @media screen and (max-width: 1536px){
    .nav:hover::before{width: 30.48vw;}
    .nav__ul{padding-left: 30.48vw;}
    .nav__li{width: 11.5vw;}
  }
  @media screen and (max-width: 1366px){
    .nav:hover::before{background: url(../img/bg_gnb.svg) no-repeat left bottom/contain, url(../img/bg_gnb_text.svg) no-repeat center/275px}
  }
}
@media screen and (max-width: 992px){
  .nav{
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--color-blue);
    transition: all .75s;
    z-index: 99;
  }
  .nav--mo{
    display: block;
    height: var(--header--mo);
    background-color: #fff;
  }
  .nav__ul{
    padding: 20px;
  }
  .nav__li{
    position: relative;
    border-bottom: 1px solid var(--color-gray3);
  }
  .nav__menu{
    display: block;
    width: 100%;
    height: 100%;
    padding: 0.97em 1.25em;
    font-family: 'Cafe24Ssurround', 'Pretendard', 'Noto Sans KR', sans-serif;
    color: #fff;
  }
  .nav__menu___arrow{
    position: absolute;
    top: 14px;
    right: 22px;
    display: block;
    width: 15px;
    height: 9px;
  }
  .nav__menu___arrow.on {
    top: 28px;
    right: 22px;
    transform: rotate(180deg);
  }
  .lev2-wrapper{
    display: none;
    text-align: left;
    background-color: #fff;
  }
  .lev2-wrapper .lev-item{
    display: block;
    width: 100%;
    height: 100%;
    padding: 0.81em 1.25em;
    border-top: 1px solid var(--color-gray3);
    font-weight: 700;
    color: var(--color-blue);
  }
  .lev2-wrapper .lev-item::before{
    content: "-";
    padding-right: 5px;
  }
}
@media screen and (max-width: 768px){
  .search__tit{
    display: flex;
    width: 77%;
    margin: 0 auto 20px;
    line-height: 1.5;
  }
  .search__tit>img{
    margin-top: -3rem;
    margin-right: 0;
  }
}
@media screen and (max-width: 576px){
  .sub__bg::before{
    background: url(../img/bg_sub1.svg) no-repeat -20% bottom, url(../img/bg_sub2.svg) no-repeat 120% center rgba(0, 0, 0, .4);
    background-size: 180px;
  }
  .sub-nav > .container__inner{margin: unset;}
  .sub-nav__li:last-of-type,
  .sub-dropdown__wrapper,
  .sub-lev2,
  .sub-dropdown{width: 100%;}
  .sub-lev1,
  .sub-nav .bar--ver{display: none;}
  .sub__top{height: 200px;}
}