/* ********** ********** ********** */
/*           CUSTOM CSS             */
/* ********** ********** ********** */

:root {
  --m-color: #e8340d;
  --t-color: #000000;
  --b-color: #000000;
  --w-color: #ffffff;
  --g1-color: #1f1f1f;
  --g2-color: #4c4c4c;
  --g3-color: #797979;
  --g4-color: #a5a5a5;
  --g5-color: #d2d2d2;
  --g6-color: #e9e9e9;
  --g7-color: #f4f4f4;
  --g8-color: #f4f4f4;
}

/* o_btnBox */
.o_btnBox a {
  color: #fff;
  background-color: #000;
  border-radius: 0.7rem;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  width: 17.8rem;
  padding: 1em 0 0.9em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.o_btnBox a:hover {
  background-color: var(--m-color);
}

@media all and (max-width: 767px) {
  .o_btnBox a {
    border-radius: 0.7rem;
    font-size: 4.6vmin;
    width: 70vmin;
  }
}

/* o_text */
.o_text_1 {
  font-size: 1.4rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.o_text_2 {
  font-size: 1.6rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

@media all and (max-width: 767px) {
  .o_text_1 {
    font-size: 3.8vmin;
  }
  .o_text_2 {
    font-size: 4.6vmin;
  }
}

/* floatBtn */
.floatBtn {
  position: fixed;
  z-index: 10;
  opacity: 0;
  transition: all 1s;
  line-height: 0;
}
.floatBtn a {
  display: inline-block;
}
.floatBtn img {
  width: 100%;
}

.floatBtn._pc {
  bottom: 11%;
  right: 0;
  max-width: 10.7rem;
  width: 20%;
  transform: translate(100%, 0);
}
.floatBtn._pc:hover {
  transform: translate(0, -10%);
}

.floatBtn.active {
  right: 1%;
  opacity: 1;
  transform: translate(0, 0);
}

.floatBtn._mo {
  display: none;
}

/* toTopBtn */
#toTopBtn {
  position: fixed;
  bottom: 5%;
  right: 0;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  transition: 1s;
  transform: translateX(100%);
  background-color: rgba(0, 0, 0, 0.25);
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
#toTopBtn .imgBox {
  width: 80%;
}
#toTopBtn .imgBox img {
  width: 100%;
}

#toTopBtn.active {
  right: 1%;
  opacity: 1;
  transform: translateX(0);
}

@media all and (max-width: 600px) {
  /* floatBtn */

  .floatBtn._mo {
    display: block;
    bottom: 3vmin;
    right: 50%;
    width: 90vmin;
    transform: translate(50%, 100%);
  }
  .floatBtn.active {
    opacity: 1;
    transform: translate(50%, 0);
  }

  .floatBtn._pc {
    display: none;
  }

  /* toTopBtn */
  #toTopBtn {
    bottom: 20vmin;
    width: 10vmin;
    height: 10vmin;
  }
}

/* o_highlight */
.o_highlight {
  position: relative;
  z-index: 1;
  padding: 0 0.2em;
}
.o_highlight::after {
  content: "";
  position: absolute;
  bottom: 50%;
  transform: translate3d(0, 50%, 0);
  left: 0;
  width: 0;
  height: 1.1em;
  z-index: -1;
  transition: 1s;
  transition-delay: 0.3s;
}
.o_highlight.active::after {
  width: 100%;
}

/* 그림자 */
.o_shadowBox {
  box-shadow: 0.3rem 0.3rem 0.3rem 0 rgba(0, 0, 0, 25%);
}
