/* ********** ********** ********** */
/*         ORNN COMMON CSS          */
/* ********** ********** ********** */
*,
*::before,
*::after {
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
tr,
th,
td,
input,
label,
textarea,
.o_title,
.o_h1,
.o_h2,
.o_h3,
.o_h4,
.o_h5,
.o_h6,
.o_h7,
.o_h8 {
  font-family: Pretendard, sans-serif;
  word-break: keep-all;
  font-style: normal;
  letter-spacing: -0.025em;
  margin: 0;
}

/* ********** ********** ********** */

html.o_html {
  font-size: 15px;
}

/* 1. 와이드 스크린 (> 1800px): 폰트 확대 */
@media all and (min-width: 1800px) {
  html.o_html {
    font-size: 18px;
  }
}

/* 2. 태블릿 가로 / 큰 노트북 (<= 1280px) */
@media all and (max-width: 1280px) {
  html.o_html {
    font-size: 12px;
  }
}

/* ********** ********** ********** */

.o_hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
figure,
blockquote {
  margin: 0;
  padding: 0;
}
button {
  border: none;
}

/* .o_section */
.o_section div,
.o_section span,
.o_section article,
.o_section section,
.o_section header,
.o_section footer,
.o_section p,
.o_section ul,
.o_section li,
.o_section fieldset,
.o_section legend,
.o_section label,
.o_section a,
.o_section nav,
.o_section img {
  box-sizing: border-box;
}

.o_section a {
  text-decoration: none;
}

.o_section img {
  width: 100%;
}
.o_section strong {
  font-weight: 700;
}
.o_section em {
  font-style: normal;
}
.o_section ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.o_section figure {
  line-height: 0;
}

.imgBox,
.o_imgBox,
.o_imgItem {
  line-height: 0;
}

/* ********** ********** ********** */

.o_ready {
  --move: clamp(20px, 5vw, 60px);
  opacity: 0;
  transition:
    opacity 1s ease,
    transform 1s ease;
}

.fadeL {
  transform: translateX(var(--move));
}
.fadeR {
  transform: translateX(calc(var(--move) * -1));
}
.fadeU {
  transform: translateY(var(--move));
}
.fadeD {
  transform: translateY(calc(var(--move) * -1));
}

.o_ready.active {
  opacity: 1;
  transform: translate(0, 0);
}

/* ********** ********** ********** */
