/* 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,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video,
button {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: inherit;
  line-height: inherit;
  background: transparent;
  color: inherit;
  vertical-align: baseline;
  text-decoration: none;
}
/* 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 {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
button {
  cursor: pointer;
}

/* 변수 설정 */
:root {
  /* 색상 변수 */
  --base: rgb(236, 238, 248);
  --black100: #121619;
  --black80: #4d5358;
  --black60: #697077;
  --black40: #a2a9b0;
  --border: #e0e2e5;
  --main-s: #142c9f;
  --main-k: #ffb24d;
  --sub: #00bec5;
  --shadow: rgba(0, 10, 58, 0.2);
  /* 문자 변수 */
  --display: clamp(3.2rem, 4.6vw, 5.8rem);
  --tit: clamp(2.6rem, 3.6vw, 4.2rem);
  --subTit: clamp(2.3rem, 2.6vw, 3.2rem);
  --lead: clamp(1.9rem, 2vw, 2.2rem);
  --text: clamp(1.6rem, 1.8vw, 1.8rem);
  --subText: clamp(1.5rem, 1.6vw, 1.6rem);
  --label: 1.4rem;
  /* 크기 변수 */
  --in: min(96%, 144rem);
  --inPd: clamp(10rem, 8vw, 15rem);

  --m10: clamp(0.5rem, 0.7vw, 1rem);
  --m20: clamp(1rem, 1.5vw, 2rem);
  --m30: clamp(2rem, 2.4vw, 3rem);
  --m40: clamp(2.8rem, 3vw, 4rem);
  --m50: clamp(3.6rem, 4vw, 5rem);
  --m60: clamp(4.6rem, 5vw, 6rem);
  --m80: clamp(5rem, 6vw, 8rem);
  --m100: clamp(7rem, 8vw, 10rem);

  --border-xs: 4px;
  --border-sm: clamp(1rem, 1vw, 1.6rem);
  --border-md: clamp(1.6rem, 1.8vw, 2.4rem);
  --border-lg: clamp(2.4rem, 2.6vw, 3.2rem);
  /* 그 외 */
  --ease: all 0.3s ease;
}

/* 기본 레이아웃 및 공통 요소 */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  font-size: 62.5%;
}
body {
  min-height: 100vh;
  font-size: var(--text);
  color: var(--black100);
  word-break: keep-all;
}

.d-none {
  display: none;
}
.mbOnly {
  display: none;
}

.inner {
  width: var(--in) !important;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.inner-pd {
  padding-top: var(--inPd);
  padding-bottom: var(--inPd);
}
.inPd1 {
  padding-top: var(--inPd);
}

p {
  color: var(--black80);
  font-size: var(--text);
  line-height: 1.4;
}
.sec-hd {
  margin-bottom: var(--m60);
}
.sec-cate-s {
  font-weight: 600;
  font-size: var(--text);
  color: var(--main-s);
  text-transform: capitalize;
  margin-bottom: var(--m20);
}
.sec-cate-k {
  font-weight: 600;
  font-size: var(--text);
  color: var(--main-k);
  text-transform: capitalize;
  margin-bottom: var(--m20);
}
.sec-cate-sub {
  font-weight: 600;
  font-size: var(--text);
  color: var(--sub);
  text-transform: capitalize;
  margin-bottom: var(--m20);
}
.sec-tit {
  font-size: var(--tit);
  line-height: 1.32;
  font-weight: 700;
  color: var(--black100);
}
.sec-text {
  color: var(--black80);
  font-size: var(--subText);
  line-height: 1.4;
  opacity: 0.8;
  margin-top: var(--m20);
}
.sec-btn {
  margin-top: var(--m30);
}

.text-center {
  text-align: center;
}
.bold {
  font-weight: 700;
}
.normal {
  font-weight: normal;
}
.white {
  color: white !important;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flex,
.mb-flex {
  display: flex;
}
.align-center {
  display: flex;
  align-items: center;
  gap: var(--m10);
}
.just-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.just-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--m20);
}
.column {
  display: flex;
  flex-direction: column;
}
.flex-col2 {
  display: flex;
  gap: var(--m30);
  > * {
    width: calc((100% - var(--m30)) / 2);
  }
}

.img100 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 버튼 요소 */
.primaryBtn {
  padding: 1.4rem 3.2rem;
  color: white;
  font-size: var(--subText);
  font-weight: 600;
  border-radius: 100px;
  transition: var(--ease);
  display: flex;
  align-items: center;
  gap: 2rem;
  line-height: 1.4;
}
.primaryBtn:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.primaryBtn:active {
  filter: brightness(0.95);
  transform: translateY(0);
}
.primaryBtn.studio {
  background: var(--main-s);
}
.primaryBtn.kids {
  background: var(--main-k);
}
.primaryBtn.sub {
  background: var(--sub);
}

.lineBtn_w {
  background: none;
  padding: 1.4rem 3.2rem;
  color: white;
  font-size: var(--subText);
  font-weight: 700;
  border-radius: 100px;
  border: 1px solid white;
  transition: var(--ease);
  display: flex;
  align-items: center;
  gap: 2rem;
  line-height: 1.4;
}
.primaryBtnLine:hover {
  background: white;
  color: var(--main-s);
}
.lineBtn_b {
  background: none;
  padding: 1.4rem 3.2rem;
  font-size: var(--subText);
  font-weight: 700;
  border-radius: 100px;
  border: 1px solid var(--black100);
  transition: var(--ease);
  display: flex;
  align-items: center;
  gap: 2rem;
  line-height: 1.4;
}
.lineBtn_b:hover {
  background: var(--black100);
  color: white;
}

.prevBtn,
.nextBtn {
  width: clamp(4rem, 5rem, 7rem);
  height: clamp(4rem, 5rem, 7rem);
  background: white;
  color: var(--black60);
  font-size: var(--lead);
  border: 1px solid var(--border);
  border-radius: 100%;
  cursor: pointer;
  transition: var(--ease);
}
.prevBtn:hover,
.nextBtn:hover {
  background: var(--black100);
  color: white;
}

/* GSAP */
.fadein,
.fadeup,
.fadedown,
.fadeleft,
.faderight {
  opacity: 0;
  transition: none;
  will-change: transform, opacity;
}

/* 반응형 */
@media screen and (min-width: 1940px) {
  :root {
    /* 문자 변수 */
    --display: 76px;
    --tit: 54px;
    --subTit: 40px;
    --lead: 26px;
    --text: 22px;
    --subText: 19px;
    --label: 17px;
    /* 크기 변수 */
    --in: 192rem;
    --inPd: 16rem;
  }
}

@media screen and (max-width: 1024px) {
  html {
    font-size: 57%;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 55%;
  }
  .mbNone {
    display: none !important;
  }
  .mbOnly {
    display: block;
  }
  .flex {
    flex-direction: column;
  }
  .flex-col2 {
    flex-direction: column;
    > * {
      width: 100%;
      flex: 1;
    }
  }
  .just-between {
    flex-direction: column;
    align-items: stretch;
  }
}
