@charset "utf-8";
@import './font.css';
@import './reset.css';

/****************
 variable
 ****************/
:root {
  --black: #000;
  --white: #fff;
  --primary: #2e6aff;
  --secondary: #885efc;
  --dark-200: #222;
  --dark-300: #333;
  --gray: #ddd;
}

/****************
 common
 ****************/
body,
html {
  scroll-behavior: smooth;
}
.sr-only {
  overflow: hidden;
  position: absolute;
  margin: -1px 0 0 -1px;
  width: 1px;
  height: 1px;
  clip: rect(0, 0, 0, 0) !important;
}
.clearfix::after {
  content: '';
  clear: both;
  display: table;
}

/****************
 layout
 ****************/
#wrap {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  width: 100%;
}
.inner {
  width: 100%;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* header */
#header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 6.8rem;
  margin: 0 auto;
  padding: 1.6rem 0;
  background: rgba(255,255,255,1);
  backdrop-filter: blur(5px);
  box-shadow: -3px 3px 6px rgba(0,0,0,.3);
  z-index: 3;
}
#header .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
#header .logo a {
  display: block;
  width: 9.2rem;
  height: 2.2rem;
  background: url(../images/logo_default.svg) no-repeat center center/100%;
}
#header .btn-menu {
  display: block;
}
#header .btn-menu {
  position: relative;
  width: 3.6rem;
  height: 3.6rem;
}
#header .btn-menu:before,
#header .btn-menu:after {
  content: '';
  position: absolute;
  left: 2px;
  width: calc(100% - 4px);
  height: 3px;
  border-radius: 2px;
  background: var(--dark-200);
  transition: all .3s ease;
}
#header .btn-menu:before {
  top: 6px;
}
#header .btn-menu:after {
  bottom: 6px;
}
#header .btn-menu .icon-menu {
  position: absolute;
  width: 100%;
  height: 3px;
  left: 2px;
  width: calc(100% - 4px);
  top: calc(50% - (3px / 2));
  border-radius: 2px;
  background: var(--dark-200);
  opacity: 1;
  transition: opacity .3s ease;
}
#header .btn-menu.is-open:before {
  top: 50%;
  transform: rotate(45deg);
}
#header .btn-menu.is-open:after {
  bottom: auto;
  top: 50%;
  transform: rotate(-45deg);
}
#header .btn-menu.is-open .icon-menu {
  opacity: 0;
}

/* nav */
#nav {
  position: absolute;
  right: 0;
  left: 0;
  top: 100%;
  flex: 1;
  opacity: 0;
  visibility: hidden;
  background: rgba(255,255,255,.7);
  box-shadow: -.4rem .4rem .6rem .4rem rgba(0,0,0,.1);
  transition: all .3s ease;
  z-index: 0;
}
#nav.is-open {
  opacity: 1;
  visibility: visible;
  background: rgba(255,255,255,.7);
  box-shadow: -.4rem .4rem .6rem .4rem rgba(0,0,0,.1);
  z-index: 5;
}
.nav-items {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: .8rem;
  padding: 1.6rem;
  font-family: 'nanumSquare';
  color: #353535;
}
.nav-items .item {
  display: block;
  padding: .5rem;
  font-size: 1.8rem;
  font-weight: 800;
}

/* footer */
#footer {
  padding: 3rem 0;
  background: var(--dark-300);
}
#footer .inner {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
#footer .logo {
  display: block;
  width: 9rem;
  height: 2.1rem;
  background: url(../images/h_logo.svg) no-repeat center center/100%;
}
#footer .addr {
  display: flex;
  flex-direction: column;
  padding-top: 1.4rem;
  color: var(--gray);
  font-size: 1.2rem;
  border-top: 1px solid #aaa;
}
#footer .addr span {
  width: 100%;
  line-height: 1.8;
}
#footer .addr .copyright {
  width: 100%;
}
#footer .addr .copyright {
  font-size: 1.2rem;
}

.to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 10px;
  background: rgba(0,0,0,.3);
  transition: all .3s ease;
  z-index: 3;
}
.to-top .icon {
  width: 3rem;
  height: 3rem;
  background: #fff;
  mask: url(../images/icon_top.svg) no-repeat center center;
}

/****************
 contents
 ****************/
.section {
  width: 100%;
  scroll-margin-top: 6.8rem;
  padding: 4rem 0;
}
.section-title {
  margin-bottom: 2rem;
  font-size: 2.8rem;
  font-family: 'nanumSquare';
  font-weight: 700;
  color: var(--dark-200);
  text-align: center;
}

/* visual */
.section-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100dvh;
  min-height: 65rem;
  color: var(--white);
  padding: 3rem 0;
  background: url(../images/bg_visual.jpg) no-repeat center;
  background-size: cover;
}
.section-visual strong {
  display: block;
  margin-bottom: 2rem;
  font-size: calc(12px + 4.2vw);
  font-weight: 400;
  line-height: 1.4;
  word-break: keep-all;
}
.section-visual .desc {
  display: none;
  font-size: calc(10px + 1.4vw);
  line-height: 1.6;
}
.section-visual .desc br {
  display: none;
}

/* business */
.business-items {
  display: grid;
  gap: 1.2rem;
}
.business-items .item {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.6rem 2rem;
  border: 1px solid #d2d2d2;
  border-radius: 1.6rem;
  box-shadow: 0 0 1.2rem 0 rgba(0, 0, 0, 0.08);
}
.business-items .item .text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  flex: 1;
  color: var(--dark-200);
  font-size: 1.8rem;
  font-weight: 700;
}
.business-items .item .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 7rem;
  height: 7rem;
  border-radius: 1.6rem;
  background: #5200FF;
}
.business-items .item .icon:before {
  content: '';
  display: flex;
  width: 3.5rem;
  height: 4rem;
  background: no-repeat center center / 100%;
}
.business-items .item .icon-ai:before {
  background-image: url(../images/icon_ai.svg);
}
.business-items .item .icon-llm:before {
  background-image: url(../images/icon_llm.svg);
}
.business-items .item .icon-system:before {
  background-image: url(../images/icon_system.svg);
}
.business-items .item .icon-uiux:before {
  background-image: url(../images/icon_uiux.svg);
}
.business-items .item .icon-consulting:before {
  background-image: url(../images/icon_consulting.svg);
}

/* customer */
.section-customer {
  background: #f8f9fd;
}
.customer-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  justify-content: center;
}
.customer-items .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  font-size: 1.2rem;
  word-break: keep-all;
}
.customer-items .item img {
  width: 150px;
  color: #222;
}
.customer-items .item span {
  display: flex;
  align-items: center;
  flex: 1;
}


/* history */
.tab-items {
  display: flex;
  gap: 1.2rem;
  margin: 0 -2rem 1.8rem -2rem;
  padding: 0 2rem;
  overflow: scroll;
  scrollbar-width: none;
}
.tab-items::-webkit-scrollbar {
  display: none !important;
}
.tab-items button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.6rem;
  color: var(--black);
  font-size: 1.5rem;
  font-weight: 500;
  border-radius: 6rem;
  white-space: nowrap;
  background: #f2f2f2;
}
.tab-items .active button {
  color: var(--white);
  font-weight: 600;
  background: #5200ff;
}
.tab-cont {
  position: absolute;
  top: 0;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
}
.tab-cont.active {
  position: relative;
  z-index: 2;
  opacity: 1;
  visibility: visible;
}
.history-items {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex: 1;
}
.history-items:after {
  content: '';
  position: absolute;
  left: 7.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #5200ff;
}
.history-items .item {
  display: flex;
}
.history-items .item dt {
  position: relative;
  flex: 0 0 7.5rem;
  padding-right: 2rem;
  color: #000;
  font-size: 2rem;
  line-height: 2.6rem;
  font-weight: 500;
}
.history-items .item dt:after {
  content: '';
  position: absolute;
  right: -0.7rem;
  top: .7rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 100%;
  background: #fff;
  border: 2px solid #5200ff;
  z-index: 2;
}
.history-items .item dd {
  flex: 1;
  padding: 0.5rem 0 3rem 2rem;
}
.history-items .item dd p {
  font-size: 1.4rem;
  color: #000;
  font-weight: 400;
}
.history-items .item dd p + p {
  margin-top: 1rem;
}
