@import "./reset.css";
@import "./index.css";
@import "./m_main.css";
@import "./m_detail.css";

/* 로딩 키프레임 */
@keyframes loading {
  0% {
    width: 0;
  }

  75% {
    width: 75%;
  }

  100% {
    width: 100%;
  }
}

/* 폰트 지정 */
.familyKR * {
  font-family: var(--font-lineKR);
  line-height: 1.6;
  letter-spacing: -0.01em;
}

.familyEN * {
  font-family: var(--font-lineEN);
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.familyJP * {
  font-family: var(--font-lineJP);
  line-height: 1.6;
  letter-spacing: -0.03em;
}

.familyKR{
  font-family: var(--font-lineKR);
  letter-spacing: -0.01em;
  line-height: 1.6;
}

.familyEN {
  font-family: var(--font-lineEN);
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.familyJP {
  font-family: var(--font-lineJP);
  line-height: 1.6;
  letter-spacing: -0.03em;
}
/* 폰트 지정 */

html {
  font-size: 10px;
}

body {
  -ms-overflow-style: none;
  touch-action: pan-y;
}
body::-webkit-scrollbar {
  display: none;
}

.txtBr br {
  display: block;
  content: " ";
}

#wrap {
  width: 100%;
  position: relative;
}

/* loading */
#loading {
  width: 100%;
  height: 100%;
  background: var(--color-black0);
  position: fixed;
  padding: 0 4rem;
  top: 0;
  left: 0;
  z-index: 99;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
}

.loadingLogo {
  font-size: 6rem;
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: transparent;
  font-family: var(--font-lineEN);
  -webkit-text-stroke: 1px var(--color-white);
  text-transform: uppercase;
  position: relative;
}

.loadingLogo::before {
  content: "ground";
  text-transform: uppercase;
  position: absolute;
  top: 0;
  left: 0;
  font-size: 6rem;
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--color-white);
  font-family: var(--font-lineEN);
  overflow: hidden;
  width: 0;
  animation: loading 2s ease-in-out;
  animation-fill-mode: forwards;
}

/* loading */

/* intro */

#intro {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  overflow: hidden;
}

.introBg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: var(--color-white);
  position: absolute;
  transform: translateY(100%);
}

.introTextBox {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  opacity: 0;
  padding: 0 4rem;
  text-align: center;
}

.introLogo {
  font-size: 6rem;
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 800;
  font-family: var(--font-lineEN);
  color: var(--color-black0);
  text-transform: uppercase;
}

.introDesc {
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  font-weight: 400;
  color: var(--color-black0);
  display: block;
  text-align: center;
  transform: translateY(10px);
  opacity: 0;
  height: 0;
}

.familyKR .introDesc,
.familyJP .introDesc {
  line-height: 1.6;
}

.familyEN .introDesc {
  line-height: 1.5;
}

/* intro */

/* header */
#header {
  top: 0;
  left: 0;
  width: 100%;
  position: fixed;
  z-index: 1000;
  background: var(--color-white);
  opacity: 0;
  transform: translateY(-50px);
}

#header .headCont {
  height: 5rem;
  padding: 1.5rem 2rem 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#header .logo {
  position: relative;
  font-size: 0;
}

#header .logo a {
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.01em;
  font-weight: 800;
  color: var(--color-black0);
  font-family: var(--font-lineEN);
  display: inline-block;
  vertical-align: top;
  text-transform: uppercase;
}

#header .menu {
  width: 2.4rem;
  height: 1.2rem;
  position: relative;
}

#header .menu a {
  width: 100%;
  height: 100%;
  display: block;
}

#header .menu a img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
/* header */

/* view all product */
#viewAllPrd {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 1000;
}

.viewAllPrdCont {
  width: 100%;
  height: 100%;
  position: relative;
}

.viewAllPrdClose {
  top: 1.7rem;
  right: 2.2rem;
  width: 1.8rem;
  height: 1.8rem;
  position: fixed;
  opacity: 0;
  transform: scale(0);
}

.viewAllPrdClose a {
  width: 100%;
  display: block;
}

.viewAllPrdClose a img {
  width: 100%;
  height: 100%;
  display: block;
}

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

.viewAllPrdBtn a {
  font-size: 0;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.viewAllPrdBtn a span {
  position: relative;
  font-size: 4rem;
  line-height: 1;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: var(--color-black0);
  font-family: var(--font-lineKR);
  text-transform: uppercase;
}

.viewAllPrdBtn a span img {
  top: 0.6rem;
  right: -2.8rem;
  width: 1.8rem;
  height: 1.8rem;
  position: absolute;
}

.language {
  margin-top: 6rem;
  font-size: 0;
}

.language a {
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: var(--color-black0);
  font-family: var(--font-lineKR);
  opacity: 0.7;
  display: inline-block;
  vertical-align: 0;
  text-transform: uppercase;
  position: relative;
}

.language a:after {
  top: 50%;
  left: -1.3rem;
  width: 1px;
  height: 1.5rem;
  background: var(--color-black0);
  opacity: 0.1;
  transform: translateY(-50%);
  position: absolute;
  content: "";
}

.language a:first-of-type:after {
  visibility: hidden;
}

.language a.active {
  color: var(--color-green0);
  opacity: 1;
}

.language a + a {
  margin-left: 2.5rem;
}
/* view all product */

/* quick */
#quick {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  width: 4rem;
  height: 4rem;
  z-index: 10;
  transform: translate(-50%, 50px);
  opacity: 0;
}

.quickBox {
  position: relative;
  width: 100%;
  height: 100%;
}

.quickBox a {
  width: 100%;
  height: 100%;
  display: block;
}

.quickBox a span {
  width: 100%;
  height: 100%;
  display: block;
}

.quickBox a svg {
  width: 100%;
  height: 100%;
  display: block;
}

.quickImg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.8rem;
  height: 0.5rem;
  transform: translate(-50%, -50%);
  font-style: normal;
  display: block;
  z-index: 1;
}

.quickImg img {
  width: 100%;
  display: block;
}

.quickCir svg {
  position: relative;
  transform: rotate(-90deg);
}

.quickCir svg circle {
  position: relative;
  z-index: 1;
}

.quickCir svg .gauge {
  position: absolute;
  top: 0;
  left: 0;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke 1s;
}
/* quick */

/* quick menu */
#quickMenu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 1000;
}

.quickMenuBox {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.quickMenuList {
  width: auto;
}

.quickMenuItem {
  display: flex;
  justify-content: center;
  align-items: center;
}

.quickMenuItem + .quickMenuItem {
  margin-top: 3rem;
}

.quickMenuBtn {
  font-size: 3.6rem;
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 700;
  font-family: var(--font-lineKR);
  color: var(--color-black0);
  display: inline-block;
  vertical-align: top;
  text-transform: uppercase;
  text-align: center;
  position: relative;
}

.quickMenuBtn.active {
  color: var(--color-green0);
}

.quickMenuClose {
  position: fixed;
  bottom: 3.1rem;
  left: 50%;
  width: 1.8rem;
  height: 1.8rem;
  z-index: 2;
  transform: translateX(-50%) scale(0);
  display: block;
}

.quickMenuClose img {
  width: 100%;
  display: block;
}
/* quick menu */

/* footer */
#footer {
  padding-bottom: 2rem;
  width: 100%;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  /* transform: translateY(20px); */
}

.footerCont {
  padding: 0 3rem;
  position: relative;
}

.footerCont p {
  font-size: 1.3rem;
  line-height: 1;
  letter-spacing: -0.01em;
  font-weight: 400;
  color: var(--color-black0);
  font-family: var(--font-lineKR);
}

.footerCont a {
  margin-top: 0.6rem;
  font-size: 1.3rem;
  line-height: 1;
  letter-spacing: -0.01em;
  font-weight: 400;
  color: var(--color-black0);
  font-family: var(--font-lineKR);
  display: inline-flex;
  position: relative;
  text-transform: uppercase;
}

.footerCont a span {
  top: 0;
  right: -1rem;
  width: 0.7rem;
  height: 0.7rem;
  position: absolute;
  display: block;
}

.footerCont a span img {
  width: 100%;
  display: block;
}
/* footer */

/* layer popup common */
.layerPopup {
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  position: fixed;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  background: var(--color-white);
}

.layerLogobg {
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: #151519;
  position: fixed;
}

.layerCont {
  width: 100%;
  height: 100%;
  position: relative;
}

.layerHead {
  top: 0;
  left: 0;
  width: 100%;
  height: 5rem;
  padding: 0 2.2rem 0 3rem;
  position: sticky;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  opacity: 0;
  transform: translateY(20px);
  z-index: 1;
}

.layerHead h4 {
  font-size: 1.4rem;
  line-height: 1;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: var(--color-black0);
  font-family: var(--font-lineKR);
  text-transform: uppercase;
}

.layerHead a {
  width: 1.8rem;
  height: 1.8rem;
  display: block;
}

.layerHead a img {
  width: 100%;
  height: 100%;
  display: block;
}

.layerInner {
  padding: 7rem 0 6rem;
  opacity: 0;
  transform: translateY(20px);
}

.layerTitle {
  padding: 0 3rem;
}

.layerTitle h4 {
  font-size: 3.6rem;
  line-height: 1.4;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--color-black0);
}

.enBody .layerTitle h4 {
  line-height: 1.3;
}

.layerLogo {
  margin-top: 3rem;
}

.layerLogo img {
  width: auto;
  height: 2.4rem;
  display: inline-flex;
}

.layerHistory {
  margin-top: 3rem;
}

.layerHistory p {
  font-size: 1.4rem;
  line-height: 1.5;
  font-weight: 400;
  color: var(--color-black0);
  opacity: 0.6;
}

.layerHistory p + p {
  margin-top: 0.4rem;
}

.layerBigimg {
  margin-top: 3rem;
  width: 100%;
}

.layerBigimg img {
  width: 100%;
  display: block;
}

.layerBox {
  padding: 3rem 3rem 0 3rem;
}

.layerInfo {
  padding-bottom: 6rem;
  margin-bottom: 6rem;
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.layerInfo b {
  font-size: 1.6rem;
  line-height: 1.6;
  font-weight: 700;
  color: var(--color-green0);
  font-family: var(--font-lineKR);
  display: block;
}

.layerInfo p {
  margin-top: 1rem;
  font-size: 1.6rem;
  line-height: 1.8;
  font-weight: 400;
  color: var(--color-black0);
}

.enBody .layerInfo p {
  line-height: 1.7;
}

.layerText {
  padding-bottom: 6rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  word-break: break-word;
}

.layerText b {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-black0);
  display: block;
}

.enBody .layerText b{
  line-height: 1.4;
}

.layerText span {
  margin-top: 3rem;
  font-size: 1.6rem;
  line-height: 1.8;
  font-weight: 700;
  color: var(--color-black0);
  display: block;
}

.layerText sub {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-black0);
  display: block;
}

.enBody .layerText span,
.enBody .layerText sub{
  line-height: 1.7;
}

.layerText img {
  margin-top: 3rem;
  width: 100%;
  display: block;
}

.layerText img.mt0 {
  margin-top: 0;
}
.layerText img.mb3 {
  margin-bottom: 3rem;
}

.layerBtnBox {
  padding: 6rem 3rem 0;
}

.layerBtnBox.pt0 {
  padding-top: 0;
}

.layerBtnBox a {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.layerBtnBox a > img {
  width: 7.5rem;
  height: 10rem;
  display: inline-flex;
}

.layerBtnBox a sub {
  width: calc(100% - 7.5rem);
  height: 10rem;
  padding: 0 2rem;
  background: var(--color-black0);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.layerBtnBox a sub span {
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
  font-weight: 800;
  color: var(--color-white);
  font-family: var(--font-lineEN);
  display: inline-flex;
}

.layerBtnBox a sub img {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
}

/* layer popup green, yellow */
.layerPopup.greenBg,
.layerPopup.greenBg .layerHead {
  background: var(--color-green0);
}

.layerPopup.greenBg .layerBox {
  padding-top: 0;
}

.layerPopup.greenBg .layerInfo b {
  color: var(--color-white);
}

.layerPopup.greenBg .layerInfo p {
  margin-top: 5rem;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
}

.layerPopup.yellowBg,
.layerPopup.yellowBg .layerHead {
  background: #ffe71a;
}

.layerPopup.yellowBg .layerBox {
  padding-top: 0;
}

.layerPopup.yellowBg .layerInfo b {
  color: #00b76f;
}

.layerPopup.yellowBg .layerInfo sub {
  margin-top: 5rem;
  font-size: 2.8rem;
  line-height: 1.4;
  letter-spacing: -0.03em;
  font-weight: 700;
  font-family: var(--font-lineKR);
  color: #00b76f;
  display: block;
}

.layerPopup.yellowBg .layerInfo p {
  margin-top: 3rem;
  font-weight: 700;
  color: #00b76f;
}
/* layer popup green, yellow */

/* layer popup common */

@media all and (min-width: 375px) {
  html {
    font-size: 2.67vw;
  }
}
