@charset "utf-8";

/* ----- 케이뷰티인학회 kbis ----- */

/* Local style */
:root {
  /* Main Color */
  --first-color: #0773bb;
  --second-color: #156ba5;
  --third-color: #F20505;
  --fourth-color: #000;
  --fifth-color: #000;

  /* Object Color */
  --th-bg-color: hsl(220, 22%, 92%);
}

/* header */
header .logo h1 img {max-height: 3rem;}

/* footer */
.foot-1-wrap .btn-group { display: none; }
.foot-2-wrap .sns { display: none; }

@media (max-width: 767.98px) {
  .foot-1-wrap { display: none; }
}

/* main - main-banner */
/* .main-banner {
	background-image: url(https://hakjisa-assets.s3.ap-northeast-2.amazonaws.com/ws/kbis/main-img_01.jpg);
	background-position: 40% 50%;
	background-repeat: no-repeat;
	background-size: cover;
	height: 8rem;
}

@media (min-width: 768px) {
  .main-banner {
    background-position: 40% 50%;
    height: 15rem;
  }
}

@media (min-width: 1200px) {
  .main-banner {
    background-position: 50% 50%;
    height: 22rem;
  }
}
 */



/* main - main-banner */
.carousel-item:nth-child(1) {
  background-position: 0% 0% !important;
}

.carousel-item:nth-child(2) {
  background-position: 50% 25% !important;
}

.carousel-item:nth-child(3) {
}

.main-banner .caption .top-title {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}

.main-banner .caption h1 {
  margin-bottom: 2rem;
  line-height: 1;
  padding-right: 1rem;
}

.main-banner .caption h2 {
  line-height: 1;
}

.main-banner .caption h3 {
  border-top: 1px solid #fff;
  padding-top: 2rem;
}

@media (max-width: 575.98px) {
  .main-banner .caption {
    bottom: 15%;
  }

  .main-banner .caption .top-title {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
  }

  .main-banner .caption h1 {
    margin-bottom: 1rem;
  }
}


/* main - quick-box */
.quick-box-list.box3 {background-color: #7A73D1;}
.quick-box-list.box4 {background-color: #4D55CC;}
.quick-box-list.box5 {background-color: #211C84;}

.quick-box-list h3 {
  display: none;
}

.quick-btn .quick-btn-wrap {
    background-color: #dfe1ed;
}


/* main - sitelink */
.sitelink a {margin: 1rem;}
.sitelink a img {max-height: 4rem;}

.sitelink .slick-slide img {
  background-color: #fff;
}

.sitelink .slick-track {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
}

.sitelink .slick-active  { opacity: 1; }
.sitelink .slick-current { opacity: 1; }

@media (max-width: 991.98px) { 
  section.part5 { display: none; }
}

/* main - widget_post */
.widget_post-03 .post_title span {
  display: none;
}

/* sub - lnb */
.lnb_depth .tit_box {
  background-image: linear-gradient(to bottom, hsl(215 47% 91% / 1), hsl(215 48% 79% / 1));
}

/* sub - sub-banner */
.caption-text {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
}

.caption-text span {
  padding: 0 .5rem;
}

.caption-text .text1 {
  font-size: clamp(2rem, 1.9rem + 0.5vw, 2.5rem) !important;
  line-height: 1;
}

.caption-text .text2 {
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.5rem) !important;
}

@media (max-width: 991.98px) { 
  .caption-text {
    flex-direction: column;
  }
  
}