@charset "utf-8";

html {
  font-size: 62.5%;
}

body {
  font-size: 1rem;
  font-family: "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;
  font-weight: 400;
  overflow-x: hidden;
}


html,
body,
p,
ol,
ul,
li,
dl,
dt,
dd,
blockquote,
figure,
fieldset,
legend,
textarea,
pre,
iframe,
hr,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}

ul {
  list-style: none;
}

button,
input,
select {
  margin: 0;
  /*내가추가함*/
  border: none;
  padding: 0;
  outline: none;
}

html {
  box-sizing: border-box;
}

*::before, *::after {
  box-sizing: inherit;
}

img,
video {
  height: auto;
  max-width: 100%;
  /*내가추가함*/
  vertical-align: top;
}

iframe {
  border: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

/*내가추가함*/
a {
  text-decoration: none;
  color: inherit;
}


.blind {
  overflow: hidden;
  display: block;
  position: absolute;
  margin: -1px;
  width: 1px;
  height: 1px;
}

/****** header ******/
.header {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  padding: 0 2.4rem;
  width: 100%;
  height: 10rem;
  z-index: 9999;
  border-bottom: 1px solid transparent;
  transition: height 0.5s, border 1s, background 0.5s;
  pointer-events: none;
}

.header_wrap {
  width: 100%;
  display: flex;
  align-items: center;
}



.header_logo {
  width:200px;
  height: 50px;
  background: url(/images/logo_black.svg) no-repeat 50% / contain;
  transition: width 0.5s;
  pointer-events: auto;
  margin-left: -10px;
}

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

.header p {
  align-self: flex-end;
  margin-left: 1rem;
  font-size: 1.4rem;
  font-weight: 500;
  color: #555;
  transition: opacity 0.3s;
}

/* header 높이변경 */
.header.bg {
  background-color: #fff;
  border-bottom: 1px solid #ccc;
}

.header.change {
  height: 70px;
}

.header.change p {
  opacity: 0;
}

/* header menu & icon */
.header_menu {
  position: relative;
  margin-left: auto;
  width: 24px;
  height: 24px;
  cursor: pointer;
  pointer-events: auto;
}

.header_menu em {
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 2px;
  background-color: #000;
  transition: 0.5s;
}

.header_menu em::before,
.header_menu em::after {
  content: "";
  display: block;
  position: absolute;
  /* top: 0; */
  width: 50%;
  height: 2px;
  background-color: #000;
  transition: 0.3s;
}

.header_menu em::before {
  left: 0;
  top: -8px;
}

.header_menu em::after {
  right: 0;
  bottom: -8px;
}

.header_menu.active em {
  transform: rotate(-225deg);
}

.header_menu.active em::before {
  top: 0;
  transform: translateX(100%) rotate(90deg);
  /* transform-origin: top left; */
  transform-origin: left;
}

.header_menu.active em::after {
  bottom: 0;
  transform: translateX(-100%) rotate(90deg);
  transform-origin: right;
}

/****** side menu ******/
.side {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  min-height: 600px;
  background-color: #fff;
  z-index: 9998;
  transition: right 1s;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.side_wrap {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 11rem 2.4rem 0;
  width: 100%;
  height: 100%;
}

.side.active {
  right: 0;
}

.side_gnb {
  font-size: 6rem;
  font-family: "Bebas Neue", "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;
  line-height: 6rem;
}

.side_gnb li {
  margin: 1rem 0;
  opacity: 0;
}

.side_gnb li a {
  display: inline-block;
  transition: transform 0.3s;
}

.side_info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  padding: 4rem;
  border-top: 1px solid #ccc;
  font-size: 1.6rem;
}

.side_email {
  margin-right: 5.128vw;
}

.side_email p,
.side_phone p {
  font-size: 1.4rem;
  color: #555;
}

.side_email strong,
.side_phone strong {
  display: block;
  padding-left: 2.6rem;
  margin-bottom: 1rem;
  background: no-repeat 0 50% / contain;
}

.side_email strong {
  background-image: url(/images/mail.svg);
}

.side_phone strong {
  background-image: url(/images/phone.svg);
}

/****** footer ******/
footer {
  border-top: 1px solid #ccc;
  font-size: 1.4rem;
  color: #555;
}

.footer_wrap {
  padding: 2.4rem;
}
.footer_wrap p{margin-bottom: 10px;}
.footer_link {
  margin-top: 1.4rem;
  color: #000;
  font-weight: 500;
}

.footer_link a {
  margin-right: 2rem;
}

/****** btn_wrap ******/
.btn_wrap {
  display: flex;
  flex-direction: column;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

.top_btn,
.dark_btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 6px 12px 0 rgb(63 65 80 / 30%);
  cursor: pointer;
}

/****** dark mode ******/
.dark_btn {
  margin-top: 1rem;
  transition: transform 0.3s;
}

.dark_btn em {
  display: block;
  margin: 0 auto;
  width: 26px;
  height: 26px;
  background-image: url(/images/dark_mode.svg);
  background-repeat: no-repeat;
  background-position: 0 0;
}

/****** go to up ******/
.top_btn {
  opacity: 0;
  visibility: hidden;
  /* display: none; */
  transition: visibility 0.3s, opacity 0.3s, transform 0.3s;
}

.top_btn em {
  display: block;
  margin: 0 auto;
  width: 26px;
  height: 26px;
  background-image: url(/images/top_btn.svg);
  background-repeat: no-repeat;
  background-position: 0 0;
}

.top_btn.show {
  opacity: 1;
  visibility: visible;
  /* display: block; */
}

/****** cursor ******/
.cursor1 {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  transform: translate(calc(-50% + 15px), -50%);
  border-radius: 100%;
  border: 1px solid rgba(18, 194, 233, 1);
  transition: all 200ms ease-out;
  pointer-events: none;
  z-index: 99999;
}

.cursor2 {
  display: none;
  position: fixed;
  width: 10px;
  height: 10px;
  background-color: #12c2e9;
  border-radius: 100%;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, opacity 0.3s;
  opacity: 0.3;
  pointer-events: none;
  z-index: 99999;
}

.cursor1.on {
  width: 10px;
  height: 10px;
  background-color: #12c2e9;
}

/****** dark mode ******/
/****** header ******/
html[data-dark="true"] .header_logo {
  background-image: url(/images/logo_white.svg) !important;
}

html[data-dark="true"] .header.bg {
  background-color: #111;
  border-color: #3a3b3d;
}

html[data-dark="true"] .header p {
  color: #969696;
}

html[data-dark="true"] .header_menu em,
html[data-dark="true"] .header_menu em::before,
html[data-dark="true"] .header_menu em::after {
  background-color: #fff;
}

/****** side menu ******/
html[data-dark="true"] .side {
  background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

html[data-dark="true"] .side_info {
  border-color: #3a3b3d;
}

html[data-dark="true"] .side_email p,
html[data-dark="true"] .side_phone p {
  color: #d9d9d9;
}

/****** footer ******/
html[data-dark="true"] footer {
  color: #969696;
  border-color: #3a3b3d;
}

html[data-dark="true"] .footer_link {
  color: #fff;
}

/****** btn ******/
html[data-dark="true"] .top_btn,
html[data-dark="true"] .dark_btn {
  background-color: rgba(58, 59, 61, 1);
  box-shadow: none;
}

html[data-dark="true"] .dark_btn em {
  background-position: 0 -26px;
}

html[data-dark="true"] .top_btn em {
  background-position: -26px 0;
}

@media screen and (min-width: 768px) {
  .header_logo {
    width: 480px;
    height: 60px;
    background: url(/images/logo_black.svg) no-repeat 50% / cover;
  }

  .header.bg .header_logo {width: 250px;
    height: 50px;
    background: url(/images/logo_black.svg) no-repeat 50% / contain;
  }
  .header {
    padding: 0;
    height: 170px;
  }

  /****** header ******/
  .header_wrap {
    margin: 0 auto;
    width: 90%;
    max-width: 1800px;
  }

  .header_wrap.change p {
    display: block;
  }

  /****** side menu ******/
  .side_wrap {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 0;
    width: 90%;
    max-width: 1800px;
  }

  .side_info {
    flex-direction: column;
    justify-content: flex-end;
    position: static;
    width: 40%;
    height: 100%;
    border-top: none;
    border-left: 1px solid #ccc;
  }

  .side_email {
    margin: 0 0 4rem 0;
  }

  /****** footer ******/

  .footer_wrap {
    flex-direction: row;
    align-items: center;
    margin: 0 auto;
    padding: 3rem 0;
    width: 90%;
    max-width: 1800px;
  }
}

@media screen and (min-width: 1024px) {
  /****** side menu ******/
  .side_gnb {
    font-size: 14.784vh;
    line-height: 14.784vh;
  }
}

@media (hover: hover) {
  .side_gnb li a:hover {
    background: linear-gradient(90deg, #12c2e9 0%, #c471ed 50%, #f64f59 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    transform: translateX(5%);
  }

  .footer_link a:hover {
    text-decoration: underline;
  }

  .dark_btn:hover,
  .top_btn:hover {
    background-color: #111;
    transform: translateY(-5px);
  }

  .dark_btn:hover em {
    background-position: -26px 0;
  }

  .top_btn:hover em {
    background-position: -26px 0;
  }

  /* darkmode */
  html[data-dark="true"] .dark_btn:hover {
    background-color: #53575c;
  }

  html[data-dark="true"] .dark_btn:hover em {
    background-position: -26px -26px;
  }

  html[data-dark="true"] .top_btn:hover {
    background-color: #12c2e9;
  }

  html[data-dark="true"] .contact_address:hover {
    background-color: #3a3b3d;
  }
}
