.main {
  position: relative;
}

/* visual */
.visual {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.main-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide-wrapper {
  z-index: 1;
  position: relative;
  display: flex;
  width: 300%;
  height: 100%;
}

.slide-item {
  width: 100%;
  height: 100%;
  position: relative;
  flex: 1;
}

.slide-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.5);
}

.slide-text {
  z-index: 10;
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  text-align: center;
  color: #fff;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.slide-text .keyword {
  font-size: 2.4rem;
  font-weight: 600;
  color: #fff;
}

.slide-text a,
.slide-text button {
  pointer-events: auto;
}

.slide-text span {
  font-size: 2rem;
  margin-bottom: 20px;
  display: block;
}

.slide-text h2 {
  font-size: clamp(3.2rem, 5vw, 6.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 40px;
  color: #fff;
}

.slide-text a {
  display: flex;
  align-items: center;
  gap: 4.8rem;
  width: fit-content;
  padding: 2rem 4rem;
  border-radius: 10rem;
  border: .2rem solid #fff;
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  scale: .8;
  transition: all .3s ease;
}

.slide-text a ion-icon {
  color: #fff;
  transition: all .3s ease;
}

.slide-text a:hover {
  background-color: #fff;
  color: #3251A1;
}

.slide-text a:hover ion-icon {
  color: #3251A1;
}

.slider-controls {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 30px;
  z-index: 100;
  color: #fff;
}

.pager {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 2.4rem;
  font-weight: 600;
  color: #fff;
}

.pager span {
  font-size: 2.4rem;
  font-weight: 600;
  color: #fff;
}

.btn-toggle,
.btn-prev,
.btn-next {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.4rem;
  cursor: pointer;
  color: #fff;
  transition: opacity 0.3s;
}

.btn-toggle ion-icon,
.btn-prev ion-icon,
.btn-next ion-icon {
  color: #fff;
}

@media all and (min-width: 80em) {
  .slide-text .keyword {
    font-size: 3.2rem;
  }

  .slide-text a {
    scale: 1;
  }
}

/* 공통 */
.section {
  position: relative;
}

.section .inner {
  position: relative;
  width: 100%;
  padding: 1.6rem;
  margin: 0 auto;
  max-width: 158rem;
}

.section .inner>a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6.4rem;
  width: fit-content;
  height: fit-content;
  padding: 1.6rem 2.4rem;
  margin: 8rem auto 0;
  border-radius: 6rem;
  text-align: center;
  text-decoration: none;
  font-size: 2rem;
  background: linear-gradient(to right, #5EAAAD, #3251A1);
  color: #fff;
  transition: all .3s ease;
}

.section .inner>a:hover {
  background: linear-gradient(to right, #217a7d, #0c2b79);
}

.section .inner>a ion-icon {
  color: #fff;
}

@media all and (min-width: 80em) {
  .section .inner {
    padding: 0 max(2.9167vw, 3.2rem);
  }
}

/* =========================
   service
========================= */
/* .service {
  background: radial-gradient(78.01% 67.15% at 88.31% 115.6%, rgba(50, 81, 161, 0.36) 0%, rgba(94, 170, 173, 0.19) 57.24%, rgba(255, 255, 255, 0.19) 100%);
} */

.service .section-tit {
  margin-bottom: 14rem;
}

.service .section-tit div {
  text-align: center;
  font-size: 6.4rem;
}

.service .section-tit span {
  word-break: keep-all;
  font-size: 5.6rem;
  font-weight: 600;
}

/* grid */

.service .grid {
  display: flex;
  flex-direction: column;
  gap: clamp(1.3rem, 1.25vw, 3rem);
  width: 100%;
}

.service .grid .row {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1rem;
  height: 16rem;
  padding: 2.4rem;
  border-radius: .8rem;
  overflow: hidden;
  background-color: #ededed;
  transition:
    height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    flex 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.3s;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}

.service .row:nth-child(1) {
  background:
    linear-gradient(to bottom,
      rgba(0, 0, 0, 0.3),
      rgba(0, 0, 0, 0.9)),
    url(../source/images/service_1.jpg) no-repeat center / cover;
}

.service .row:nth-child(2) {
  background:
    linear-gradient(to bottom,
      rgba(0, 0, 0, 0.3),
      rgba(0, 0, 0, 0.9)),
    url(../source/images/service_2.jpg) no-repeat center / cover;
}

.service .row:nth-child(3) {
  background:
    linear-gradient(to bottom,
      rgba(0, 0, 0, 0.3),
      rgba(0, 0, 0, 0.9)),
    url(../source/images/service_3.jpg) no-repeat center / cover;
}

.service .row:nth-child(4) {
  background:
    linear-gradient(to bottom,
      rgba(0, 0, 0, 0.3),
      rgba(0, 0, 0, 0.9)),
    url(../source/images/service_4.jpg) no-repeat center / cover;
}

.service .row div {
  font-size: 2.6rem;
  font-weight: 700;
  color: #fff;
}

.service .row span,
.service .row p {
  font-size: 2rem;
  font-weight: 400;
  color: #fff;

  /* 핵심 */
  max-height: 0;
  opacity: 0;
  transform: translateY(20px);

  overflow: hidden;

  transition:
    max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease,
    transform 0.4s ease;
}

/* wide 상태 */
.service .grid .row.wide {
  height: 32rem;
}

.service .row.wide span,
.service .row.wide p {
  max-height: 200px;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

@media all and (min-width: 80em) {

  .service .section-tit span {
    font-size: 6.4rem;
  }

  .service .grid {
    flex-direction: row;
  }

  .service .grid .row {
    flex: 2;
    height: 48rem;
  }

  .service .grid .row.wide {
    flex: 6;
    height: 48rem;
  }
}



@media all and (min-width: 64em) {
  .feature .section-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 1.6rem;
  }

  .feature-item {
    height: 100%;
  }

  .feature-item img {
    display: block;
  }
}

@media all and (min-width: 80em) {

  .feature .section-tit,
  .case .section-tit,
  .inquiry .section-tit {
    font-size: 4rem;
  }

  .feature-item {
    display: flex;
    align-items: center;
    gap: 1.6rem;
  }


  .feature-item>div {
    width: calc(100% - 11.6rem);
  }
}

@media all and (min-width: 120em) {

  .feature .section-tit,
  .case .section-tit,
  .inquiry .section-tit {
    font-size: 4.8rem;
  }
}

.case .section-content {
  overflow-x: auto;
  display: flex;
  gap: 1.6rem;
  padding: 1.6rem;
}

.case .case-item {
  width: 100%;
  min-width: 32rem;
  max-width: 40rem;
  min-height: 36rem;
  padding: 1.6rem;
  border-radius: 2.4rem;
  border: .1rem solid rgba(0, 0, 0, .2);
}

.case .case-item:hover {
  box-shadow: 0 0 1.6rem rgba(0, 0, 0, .1);
}

.case .case-item .brand-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 22rem;
  margin-bottom: 2.4rem;
  border-bottom: .1rem solid rgba(0, 0, 0, .3);
}

.case .case-item .brand-logo img {
  display: block;
  width: 80%;
}

.case .case-item .category {
  font-size: 1.8rem;
  font-weight: 600;
  color: #3251A1;
}

.case .case-item .client {
  font-size: 2.4rem;
  font-weight: 700;
  color: #000;
}

.case .case-item .desc {
  margin-top: 1.6rem;
  font-size: 1.6rem;
}

.section.inquiry {
  background-color: #EBEEF4;
}

.inquiry .wrapper {
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
}

.inquiry .section-tit {
  text-align: center;
}

.inquiry .section-tit span {
  font-size: 2rem;
  font-weight: 400;
}

.inquiry .section-tit div {
  font-size: 3.6rem;
  font-weight: 700;
}

.inquiry .section-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.inquiry .section-content>div {
  position: relative;
  width: 100%;
  height: 24rem;
  border-radius: 2.4rem;
  background-color: #fff;
  transition: all .3s ease;
}

.inquiry .section-content>div:hover {
  box-shadow: 0 0 1.6rem rgba(0, 0, 0, .2);
}

.inquiry a {
  cursor: pointer;
}

.inquiry .icon {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  width: 10rem;
}

.inquiry .icon img {
  display: block;
  width: 100%;
}

.inquiry .section-content>div p {
  font-size: 3.2rem;
  font-weight: 700;
}

.inquiry .section-content .icon+div {
  position: absolute;
  left: 2.4rem;
  bottom: 2.4rem;
}

.inquiry .section-content>div span {
  font-size: 1.6rem;
}

@media all and (min-width: 48em) {
  .case .case-item {
    padding: 2.4rem;
  }

  .inquiry .section-content {
    flex-direction: row;
    gap: 2.4rem;
  }
}

@media all and (min-width: 96em) {
  .case .case-item {
    padding: 3.6rem;
  }

  .inquiry .wrapper {
    flex-direction: row;
    justify-content: space-between;
  }

  .inquiry .section-tit {
    text-align: left;
  }

  .inquiry .section-content {
    flex: 1;
    justify-content: flex-end;
  }

  .inquiry .section-content>div {
    width: 100%;
    max-width: 40rem;
  }

  .inquiry .section-content .icon {
    top: 2.4rem;
    right: 2.4rem;
    width: 16rem;
  }

  .inquiry .section-content .icon+div {
    left: 2.4rem;
    bottom: 2.4rem;
  }
}