@import url(./reset.css);
@import url(./header.css);
@import url(./footer.css);

:root {
  --max-width: 1920px;
  --header-padding: calc((100% - 1780px) / 2);
  --common-padding: calc((100% - 1320px) / 2);
  --common-padding-inner: calc((100% - 1320px) / 2);
  --button-height: 55px;
  --common-radius: 40px;
  --common-inputHeight: 45px;
}

@media (min-width: 1921px) {
  :root {
    --common-padding: calc((1920px - 1320px) / 2);
  }
}

@media (max-width: 1850px) {
  :root {
    --header-padding: 4%;
  }
}

@media (max-width: 1536px) {
  :root {
    --common-padding-inner: 4%;
  }
}
@media (max-width: 1400px) {
  :root {
    --common-padding: 4%;
    --common-radius: 26px;
  }
}
@media (max-width: 1024px) {
  :root {
    --button-height: 45px;
    --common-radius: 16px;
  }
}
@media (max-width: 768px) {
  :root {
    --common-inputHeight: 46px;
  }
}
@media (max-width: 500px) {
  :root {
    --button-height: 40px;
    --common-inputHeight: 40px;
  }
}

body.scroll_locked {
  overflow: hidden;
}

/* 스크롤트리거 */
[data-trigger] .inner {
  opacity: 0;
  transform: translateY(50px);
  transition: 0.5s ease;
}

[data-trigger].visible .inner {
  opacity: 1;
  transform: translateY(0);
}

section {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  /* padding: 0 var(--common-padding); */
  padding-left: var(--common-padding) !important;
  padding-right: var(--common-padding) !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* overflow: hidden; */
}

section .inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.txt_sub {
  text-align: center;
  font-size: 3.6rem;
  font-weight: 600;
  letter-spacing: -1.8px;
  display: block;
}

.txt_tit {
  text-align: center;
  font-size: 7rem;
  font-weight: 500;
  letter-spacing: -3.2px;
}

.txt_tit strong {
  font-weight: 700;
}

.txt_lead {
  text-align: center;
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 165%; /* 42.9px */
}

.btn_direct {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1.12px;
  border-radius: 50px;
  box-shadow: 0 8px 24px 0 rgba(28, 60, 94, 0.1);
  height: var(--button-height);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 0 20px 0 30px;
}

.btn_direct.yellow {
  color: #000;
  background: #ff9b00;
}

.btn_direct.white {
  color: #000;
  background: #fff;
}
.btn_direct > img {
  max-height: 70%;
}

@keyframes opacity_to {
  100% {
    opacity: 1;
  }
}
@keyframes transform_to {
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .btn_direct {
    font-size: 2.8rem;
    height: 45px;
    gap: 15px;
    padding: 0 7.5px 0 15px;
  }

  .btn_direct img {
    width: 25px;
  }
}

.br_550 {
  display: none;
}

@media (max-width: 550px) {
  .br_550 {
    display: block;
  }
}
