/* 
   초기화
   http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
hgroup,
menu,
nav,
output,
ruby,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul,
dl,
dt,
dd {
  list-style: none;
  margin: 0;
  padding: 0;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
h1,
h2,
h3,
h4,
h5,
h6,
form,
fieldset,
img {
  margin: 0;
  padding: 0;
  border: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
input[type="submit"] {
  cursor: pointer;
}
button {
  cursor: pointer;
}
*,
:after,
:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  word-break: keep-all;
}
input[type="text"],
input[type="password"],
textarea {
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  outline: none;
}
/* input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  -webkit-box-shadow: 0 0 5px var(--base);
  -moz-box-shadow: 0 0 5px #9ed4ff;
  box-shadow: 0 0 5px #9ed4ff;
  border: 1px solid #558ab7 !important;
} */

/* 커스텀 필요 */
html {
  font-size: 62.5%;
  scroll-behavior: auto;
}
:root {
  --main: #328df5;
  --main-light: #81c7eb;
  --main-dark: #2b4ca0;
  --dark: #122449;
  --base: #eff8ff;
  --black80: #333;
  --black60: #666;
  --black40: #999;
  --lightG: #fbfbfc;
  --shadow: rgba(43, 76, 160, 0.16);
  --border: #dbdbdb;
  --point: #fa4e2c;
}
body {
  color: var(--black80);
  font-size: 1.6rem;
  line-height: 1.4;
  font-family: "Pretendard Variable", Pretendard, -apple-system,
    BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI",
    "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

/* 배경 스크롤 확실히 잠금 */
html.is-menu-open,
html.is-menu-open body {
  overscroll-behavior: none;
}
body.no-scroll {
  position: fixed;
  width: 100%;
  top: var(--scroll-lock-top, 0);
  left: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
.inner {
  width: min(1440px, 96%);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.pd-sec-y {
  padding-top: clamp(10rem, 12vw, 16rem);
  padding-bottom: clamp(10rem, 12vw, 16rem);
}
.flex {
  display: flex;
}
.center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.grid {
  display: grid;
}
.d-none {
  display: none;
}
.bd-r {
  border-radius: 2rem;
}
.text-b {
  font-weight: bold;
}
.text-r {
    font-weight: 400;
}
.text-ct {
  text-align: center;
}
.p-color {
  color: var(--main);
}
.p-color2 {
  color: var(--point);
}

header,
footer {
  padding: 0 4%;
  width: 100%;
}

.sec-title {
  margin-bottom: 6rem;
  h2 {
    font-size: clamp(28px, 4vw, 46px);
    font-weight: bold;
    margin-bottom: 1.2rem;
  }
  p {
    color: var(--black60);
    font-size: clamp(16px, 2vw, 2rem);
    span {
      color: var(--black80);
    }
  }
}

.primary-btn {
  position: relative;
  overflow: hidden;
  z-index: 0;
  border: 0;
  padding: 1.6rem 3.2rem;
  font-size: 1.6rem;
  font-weight: 600;
  color: white;
  border-radius: 100px;
  transition: all .3s ease-in-out;
}
.primary-btn::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to right, var(--main-light), var(--main), var(--main-dark));
  transition: opacity 0.5s ease-in-out;
  z-index: -1;
}
.primary-btn:hover::before {
  opacity: 0;
}
.primary-btn:hover {
  background: linear-gradient(to right, var(--main-dark), var(--main), var(--main-light));
  padding: 1.6rem 4.6rem;
}

.primary-btn-line {
  background: white;
  padding: 1.2rem 3rem;
  font-size: 1.6rem;
  font-weight: 500;
  border: 1px solid var(--border);
  color: var(--black40);
  margin: 3rem auto 0;
  width: fit-content;
  transition: all 0.3s ease-in-out;
  i {
    font-size: 1.8rem;
    margin-left: 1rem;
  }
}
.primary-btn-line:hover {
  border: 1px solid var(--black80);
  color: var(--black80);
}

/* GSAP 설정용 */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
}
.fade-down {
  opacity: 0;
  transform: translateY(-40px);
}
.fade-left {
  opacity: 0;
  transform: translateX(40px);
}
.fade-right {
  opacity: 0;
  transform: translateX(-40px);
}
.char {
  display: inline-block;
  will-change: transform;
}