@import "../reset.css";

/* wrapper */
.wrapper {
  width: 100%;
  height: calc(100% - 5.208vw); /* 100px */
  max-width: 79.167vw; /* 1520px */
  margin: 0 auto;
  padding-top: 2.083vw; /* 40px */
}

/* 탭메뉴 */
.tab-menu {
  width: 100%;
  height: 5.208vw; /* 100px */
  color: #fff;
  border-radius: 0.469vw; /* 9px */
  background-color: #002451;
  padding: 0 1.927vw 0 2.24vw; /* 0 37px 0 43px */
  display: flex;
  align-items: center;
}

.tab-title {
  font-size: 1.25vw; /* 24px */
  font-weight: 700;
  letter-spacing: -0.05em;
}

.tab-list {
  width: 51.25vw; /* 984px */
  height: 100%;
  display: flex;
  align-items: center;
  margin-left: auto;
}

.tab-item {
  height: 100%;
  color: #a7b3c2;
  font-size: 1.042vw; /* 20px */
  letter-spacing: -0.025em;
  padding: 0 1.354vw; /* 0 26px */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  cursor: pointer;
}

.tab-item:after {
  content: "";
  width: 100%;
  height: 0.208vw; /* 4px */
  background-color: transparent;
  display: inline-block;
  position: relative;
  top: 0.729vw; /* 14px */
}

.tab-item:not(:disabled).active,
.tab-item:not(:disabled):hover {
  color: #fff;
  cursor: pointer;
}

.tab-item:not(:disabled).active:after,
.tab-item:not(:disabled):hover:after {
  background-color: #00baff;
}

/* 카드 */
.card-list {
  display: flex;
}

.card-item {
  width: 100%;
  border: 1px solid #d7dadd;
  border-radius: 0.417vw; /* 8px */
  box-shadow: 0 0 0.625vw 0 rgba(50, 59, 67, 0.15); /* 12px */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-title {
  color: #002451;
  font-size: 1.146vw; /* 22px */
  font-weight: 500;
  letter-spacing: -0.05em;
}

.card-desc {
  color: #333;
  font-size: 0.938vw; /* 18px */
  letter-spacing: -0.05em;
  line-height: 1.354vw;
}

/* 수정시작 */
/*------------------- 역량진단 서비스 소개 */
.service-contents {
  height: calc(100% - 5.051vw); /* 100px */
  padding-top: 3.182vw; /* 63px */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.service-contents .slide .title {
  color: #002451;
  font-size: 1.515vw; /* 30px */
  font-weight: 700;
  letter-spacing: -0.05em;
  text-align: center;
  margin: 0 0 0.808vw; /* 0 0 0 16px */
}

.service-contents .slide .desc {
  color: #333;
  font-size: 0.808vw; /* 16px */
  letter-spacing: -0.05em;
  line-height: 1.563vw;
  text-align: center;
}

.service-contents .slide .img-desc {
  color: #002451;
  font-size: 1.111vw; /* 22px */
  letter-spacing: -0.05em;
  text-align: center;
  margin-top: 3.131vw; /* 62px */
}

/* 주요서비스 */
.slide.main-service .title,
.slide.main-service .desc {
  text-align: left;
  padding-left: 1.616vw; /* 32px */
}

.main-service-list {
  margin-top: 2.424vw; /* 48px */
  display: flex;
  gap: 2.020vw; /* 40px */
  padding: 0 1.515vw; /* 0 30px */
}

.main-service-item {
  width: 100%;
}

.main-service-item .img-wrap {
  width: 100%;
}

.main-service-item .img-wrap img {
  height: auto;
}

.main-service-title {
  color: #002451;
  font-size: 1.111vw; /* 22px */
  font-weight: 500;
  letter-spacing: -0.05em;
  margin: 1.414vw 0 1.212vw; /* 28px 0 24px */
}

.main-service-desc {
  color: #2d2d2d;
  font-size: 0.808vw; /* 16px */
  letter-spacing: -0.05em;
  line-height: 1.354vw;
  word-break: keep-all;
}

/* 진단모델 체계 */
.slide.system .img-wrap {
  width: 42.929vw; /* 850px */
  height: 20.354vw; /* 403px */
  margin: 2.525vw auto 0; /* 50px */
}

.slide.system .img-wrap img {
  object-fit: cover;
}

/* 역량지표 구성 */
.slide.composition .table-title-wrap {
  width: calc(100% - 1.515vw); /* 30px */
  margin: 1.515vw auto 0; /* 30px */
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.slide.composition .table-title-wrap .table-title-left {
  display: flex;
  align-items: baseline;
}

.slide.composition .table-title-wrap .out-bullet {
  position: relative;
  width: 0.606vw; /* 12px */
  height: 0.606vw; /* 12px */
  background-color: #00a9ff;
  border-radius: 50%;
}

.slide.composition .table-title-wrap .in-bullet {
  position: absolute;
  top: 0.152vw; /* 3px */
  left: 0.152vw; /* 3px */
  width: 0.303vw; /* 6px */
  height: 0.303vw; /* 6px */
  background-color: #fff;
  border-radius: 50%;
}

.slide.composition .table-title-wrap .table-title {
  color: #333;
  font-size: 1.010vw; /* 20px */
  letter-spacing: -0.05em;
  margin-left: 0.404vw; /* 8px */
}

.slide.composition .table-title-wrap .table-desc {
  color: #999;
  font-size: 0.606vw; /* 12px */
  letter-spacing: -0.05em;
}

.slide.composition .scroll-wrap {
  width: calc(100% - 1.515vw); /* 30px */
  overflow-y: auto;
  max-height: 26.263vw; /* 530px */
  margin: 1.010vw auto 0; /* 20px */
  border: 1px solid #e4e4e4;
}

.table_cnt {
  width: 100%;
  font-weight: 500;
  font-size: 0.808vw; /* 16px */
  line-height: 1.010vw; /* 20px */
  letter-spacing: -0.025em;
  text-align: center;
}

.table_cnt th,
.table_cnt td {
  display: table-cell;
  vertical-align: middle;
}

.table_cnt td {
  height: 3.030vw; /* 60px */
  border-top: 1px solid #ccc;
  border-right: 1px solid #ccc;
}

.table_cnt tbody {
  border-bottom: 1px solid #667c97;
}

.table_cnt tbody td:nth-last-child(1) {
  padding: 0.455vw 3.283vw; /* 9px 65px */
  font-weight: 300;
  border-right: none;
  word-break: keep-all;
  text-align: left;
}

.table_cnt tbody td:nth-last-child(2) {
  font-weight: 400;
}

.table_cnt tbody td > sup {
  vertical-align: text-top;
  font-size: x-small;
}

.table_cnt tbody td > .sup {
  font-weight: 300;
  font-size: 0.606vw; /* 12px */
}

.table_cnt tbody .weight {
  font-weight: 600;
  font-size: 1.010vw; /* 20px */
}

.table_cnt tbody .weight .span_weight {
  font-weight: 400;
  font-size: 0.808vw; /* 16px */
}

.table_cnt tbody > .bg_grey {
  background: #fafafa;
}

.table_cnt thead tr > th {
  height: 2.172vw; /* 43px */
  border-top: 2px solid #002451;
  border-bottom: 1px solid #667c97;
}

/* 진단모델 설계 */
.slide.plan .guide-wrap {
  margin-top: 4.293vw; /* 85px */
  padding: 0 1.515vw; /* 30px */
}
.slide.plan .guide-desc {
  color: #333;
  font-size: 0.707vw; /* 14px */
  letter-spacing: -0.05em;
}

.slide.plan .guide-desc:not(:last-child) {
  margin-bottom: 0.808vw; /* 16px */
}

.slide.plan .card-list {
  gap: 1.010vw; /* 20px */
  margin-top: 0.808vw; /* 16px */
  padding: 0 1.515vw; /* 30px */
}

.slide.plan .card-item {
  height: 17.172vw; /* 340px */
  padding: 1.414vw 1.919vw; /* 28px 38px */
  justify-content: flex-start;
}

.slide.plan .card-desc {
  font-size: 0.808vw; /* 16px */
  font-weight: 500;
}

.slide.plan .calc-wrap {
  width: calc(100% - 4.394vw); /* 87px */
  margin: 2.727vw auto 0; /* 54px */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rest-list {
  padding: 0.606vw; /* 12px */
  border: 1px solid #939393;
  border-radius: 0.505vw; /* 10px */
  display: flex;
  align-items: center;
  gap: 0.758vw; /* 15px */
}

.rest-item {
  width: 4.040vw; /* 80px */
  height: 4.040vw; /* 80px */
  border-radius: 0.202vw; /* 4px */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.404vw; /* 8px */
}

.rest-item:first-child {
  background: linear-gradient(to right, #2488e6, #1c76cb);
}

.rest-item:nth-child(2) {
  background: linear-gradient(to right, #1b73c7, #125fa9);
}

.rest-item:nth-child(3) {
  background: linear-gradient(to right, #115ca5, #084987);
}

.rest-item:nth-child(4) {
  background: linear-gradient(to right, #084584, #02356b);
}

.rest-item.res {
  background: #333;
}

.rest-item.res .name {
  color: #fff;
}

.rest-item .name {
  color: #89c2f9;
  font-size: 0.909vw; /* 18px */
  font-weight: 500;
  letter-spacing: -0.05em;
}

.rest-item .num {
  color: #fff;
  font-size: 0.808vw; /* 16px */
  font-weight: 500;
  letter-spacing: -0.05em;
}

/* 역량점수 산출 */
.slide.score .img-wrap {
  width: 70.455vw; /* 1395px */
  height: 17.172vw; /* 340px */
  margin: 4.141vw auto 0; /* 82px */
}

.slide.score .img-wrap img {
  object-fit: cover;
}

/* 역량진단 활용 */
.slide.using .card-list {
  width: calc(100% - 4.040vw); /* 80px */
  gap: 2.020vw; /* 40px */
  margin: 5.556vw auto 0; /* 110px */
}

.slide.using .card-item {
  height: 18.990vw; /* 376px */
  align-items: center;
  text-align: center;
}

.slide.using .card-title {
  margin-bottom: 1.515vw; /* 30px */
}

.slide.using .card-desc:not(:last-child) {
  margin-bottom: 1.313vw; /* 26px */
}

/*------------------- 역량진단 서비스 소개 */
.statistics-contents {
  width: 100%;
  height: calc(100% - 5.208vw); /* 100px */
  padding-top: 2.5vw; /* 48px */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.statistics-contents .field-wrap {
  display: flex;
}

.statistics-contents .field-wrap .left {
  width: 26.042vw; /* 500px */
  padding: 3.49vw 1.563vw 0; /* 67px 0 0 30px*/
}

.statistics-contents .field-wrap .left .field-title {
  font-size: 1.563vw; /* 30px */
  font-weight: 700;
  letter-spacing: -0.05em;
}

.statistics-contents .field-wrap .left .field-desc {
  color: #333;
  font-size: 0.833vw; /* 16px */
  letter-spacing: -0.05em;
  line-height: 1.563vw;
  margin: 1.042vw 0 1.25vw; /* 20px 0 24px */
}

.statistics-contents .field-wrap .left .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.313vw; /* 6px */
}

.statistics-contents .field-wrap .left .tag-item {
  color: #666;
  font-size: 0.833vw; /* 16px */
  letter-spacing: -0.05em;
  padding: 0.521vw 0.729vw; /* 10px 14px */
  border: 1px solid #666;
}

.statistics-contents .field-wrap .field-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.042vw; /* 20px */
  flex: 1;
}

.statistics-contents .field-wrap .field-item {
  width: calc(50% - 0.521vw); /* 10px */
  height: calc(18.75vw - 0.521vw); /* 360px */
  border-radius: 0.521vw; /* 10px */
  background: #fff;
  padding: 1.042vw; /* 20px */
}

.statistics-contents .field-wrap .field-item .title {
  font-size: 1.042vw; /* 20px */
  font-weight: 500;
  letter-spacing: -0.05em;
  /*margin-bottom: 0.833vw; !* 16px *!*/
  display: inline-block;
}

.statistics-contents .field-wrap .field-item .gragh-wrap {
  width: 23.958vw; /* 460px */
  height: calc(16.162vw - 0.833vw); /* 286px - 16px */
}

.statistics-contents .field-wrap .field-item .gragh-wrap img {
  object-fit: contain;
}

.statistics-contents .field-wrap .field-item.score .row {
  height: 50%;
  display: flex;
  align-items: center;
}

.statistics-contents .field-wrap .field-item.score .row.line {
  border-bottom: 1px solid #ebecee;
}

.statistics-contents .field-wrap .field-item.score .row li {
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.statistics-contents .field-wrap .field-item.score .row li .img-wrap {
  width: 3.646vw; /* 70px */
  height: 3.646vw; /* 70px */
  padding: 0.521vw; /* 10px */
}

.statistics-contents .field-wrap .field-item.score .row li .img-wrap img {
  object-fit: contain;
}

.statistics-contents .field-wrap .field-item.score .row li .score-title {
  font-size: 1.042vw; /* 20px */
  letter-spacing: -0.05em;
  padding: 0.156vw 0; /* 3px */
  color: #000;
}

.statistics-contents .field-wrap .field-item.score .row li .score {
  margin-top: 0.625vw; /* 12px */
  font-weight: 700;
  font-size: 1.458vw; /* 28px */
  font-family: "jost", sans-serif !important;
}

.statistics-contents .field-wrap .field-item.score .row li .score .unit {
  font-weight: 400;
  font-size: 0.677vw; /* 13px */
  letter-spacing: -0.025em;
  font-family: "Noto Sans KR", sans-serif !important;
}

.statistics-contents .field-wrap .field-item.score .row li.type01 {
  border-right: 1px solid #ebecee;
  color: #67b7dc;
}

.statistics-contents .field-wrap .field-item.score .row li.type02 {
  color: #6794dc;
}

.statistics-contents .field-wrap .field-item.score .row li.type03 {
  border-right: 1px solid #ebecee;
  color: #6771dc;
}

.statistics-contents .field-wrap .field-item.score .row li.type04 {
  color: #8067dc;
}

/* -----------------------------*/
.main-inner .servicegrid {
  width: 100%;
  padding-top: 18.8rem;
  display: flex;
  justify-content: space-between;
}

.main-inner .servicegrid .service-tit {
  width: 50rem;
  padding-left: 3.2rem;
}

.main-inner .servicegrid .service-tit p {
  padding: 2.7rem 0 3.2rem 0;
}

.main-inner .card-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.main-inner .card-wrap .card-item {
  width: 50rem;
  height: 36rem;
  gap: 2rem;
}

.main-inner .item-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2rem;
}

.home .home-wrap {
  width: 100%;
  height: 100vh;
  position: relative;
  /*display: grid;*/
  /*grid-template-columns: repeat(4, 1fr);*/
}

.home .home-wrap .main-video {
  width: 100%;
  height: 100%;
}

.home .home-wrap .main-video  video{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home .home-wrap .main-visual {
  overflow: hidden;
}

.home .home-wrap .main-visual:hover img {
  transform: scale(1.1);
}

.home .home-wrap .main-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.home .title-wrap {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  left: 4.167vw; /* 80px */
  bottom: 4.167vw; /* 80px */
}

.home .title-wrap .title {
  font-size: clamp(32px, 3.125vw, 72px);
  line-height: clamp(44px, 3.75vw, 80px);
  color: #fff;
}

.home .title-wrap .title em {
  font-weight: 700;
  font-style: normal;
}

.home .title-wrap .description {
  font-size: clamp(15px, 1.1vw, 24px);
  margin: clamp(16px, 1.6vw, 30px) 0;
  color: #fff;
  line-height: clamp(24px, 1.7vw, 38px);
  word-break: keep-all;
}

.home .title-wrap a {
  width: fit-content;
  padding: 0 clamp(14px, 1.25vw, 30px);
  display: flex;
  line-height: clamp(48px, 3.125vw, 70px);
  text-align: center;
  background-color: #0098ff;
  border-radius: 4px;
  color: #e7e7e7;
  font-size: clamp(14px, 0.95vw, 24px);
}

/* 애니메이션 효과를 정의합니다 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* 기본 상태에서는 항목들이 보이지 않도록 설정 */
.score-list .row li {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
}

/* 애니메이션 효과를 정의합니다 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* 애니메이션을 적용할 클래스 */
.animated-item {
  animation: fadeInUp 0.5s ease forwards;
}

