/*
Theme Name: nonwebs Theme
Version: 1.0
*/
html {
  font-size: 62.5%; /* 루트폰트사이즈 : 10px */
  -webkit-text-size-adjust: 100%;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  letter-spacing: -0.031em;
}

body {
  color: #222;
  overflow-x: hidden;
  word-break: keep-all;
  line-height: 1.5;
  font-family:
    Pretendard Variable,
    Pretendard,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ol,
ul,
dl,
li {
  list-style: none;
}
a,
a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none;
}

.blue {
  color: #364aff;
}

.text-gray {
  color: #717171;
}

.white {
  color: white;
}

.section-gray {
  background-color: #f8f9fa;
}

.main {
  font-size: 8rem;
  font-weight: 700;
  line-height: 1.1;
}

.sub {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.para {
  font-size: 1.8rem;
  font-weight: 500;
  margin-top: 2rem;
}

.btn {
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  padding: 0.83em 1.94em;
  border-radius: 100px;
  background-color: #364aff;
  transition-property: all;
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
}

.btn:hover {
  background-color: #1428a0;
}

.btn-center {
  align-self: center;
}

.section-inner {
  display: flex;
  width: 100%;
  max-width: 1650px;
  flex-direction: column;
  margin: 0 auto;
  padding: 12rem 15px;
}

.header-inner {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  max-width: 1830px;
  padding: 0 15px;
  height: 100%;
}

/* 텍스트애니메이션 */
.animation--box {
  overflow: hidden;
  display: block;
}
.animation--item {
  position: relative;
  display: block;
  transform: translateY(100%);
  opacity: 0;
  transition:
    opacity 1.1s cubic-bezier(0.25, 1, 0.5, 1),
    transform 1.1s cubic-bezier(0.25, 1, 0.5, 1);
}

.animation--box.active .animation--item {
  transform: translateY(0%);
  opacity: 1;
}

/* cta스타일코드 */
.cta {
  background: url(/wp-content/themes/nonwebs/assets/images/cta_bg.jpg) #000
    no-repeat center / cover;
}

.cta .section-inner {
  align-items: center;
}

.cta-main {
  font-size: 6.5rem;
  text-align: center;
  margin: 5px 0;
}

.cta-para {
  color: #d1d1d1;
  font-size: 2rem;
  text-align: center;
}

.footer-cta-btn {
  color: #0014c7;
  font-size: 2.4rem;
  padding: 1.6rem 8rem;
  background-color: white;
  border: 1px solid white;
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-cta-btn:hover {
  color: white;
  background-color: transparent;
}

/* 푸터스타일코드 */
.footer {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.footer-inner {
  max-width: 1830px;
  padding: 6rem 15px 4rem 15px;
}
.footer .logo img {
  width: 15rem;
}
.footer-wrapper {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.footer-wrapper.top {
  align-items: flex-start;
  margin-bottom: 3.5rem;
}
.footer-wrapper.bottom {
  align-items: end;
  margin-top: 7rem;
}
.footer-quick {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.footer-quick-btn {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}
.footer-quick-line {
  width: 1.5px;
  height: 13px;
  background: #888;
}
.footer-info {
  display: flex;
  width: 100%;
  gap: 10px;
  flex-direction: column;
}
.footer-info-line {
  display: flex;
  gap: 20px;
  align-items: center;
}
.footer-info-box {
  display: flex;
  gap: 10px;
  align-items: center;
}
.footer-info-txt {
  font-size: 1.6rem;
  font-weight: 500;
}
.footer-info-txt.detail {
  font-weight: 700;
}
.footer-quick-btn.privacy {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1;
}
.copyright {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1;
}

@media (max-width: 1024px) {
  html {
    font-size: 56.25%; /* 루트폰트사이즈 : 9px */
  }
}
@media (max-width: 768px) {
  html {
    font-size: 50%; /* 루트폰트사이즈 : 8px */
  }
  .main {
    font-size: 6rem;
  }

  .sub {
    font-size: 2rem;
  }

  .para {
    font-size: 1.8rem;
  }
  .footer-cta-btn {
    margin-top: 25px;
  }
  .footer-wrapper {
    flex-direction: column;
    gap: 15px;
  }
  .footer-wrapper.top {
    margin-bottom: 30px;
  }
  .footer-wrapper.bottom {
    flex-direction: column-reverse;
    align-items: flex-start;
    margin-top: 30px;
  }
  .footer-info-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
