@charset "UTF-8";
#virtual {
  background: #303a46 !important;
}

.virtual-hd {
  z-index: 2;
}

#hand-step1 {
  right: 75px;
  bottom: 75px;
  animation: handup-blink 3s infinite forwards;
}

#hand-step2 {
  left: 145px;
  top: 50px;
  animation: handup-blink 1.8s infinite forwards;
}

#hand-step3 {
  left: 285px;
  top: 50px;
  animation: handup-blink 1.8s infinite forwards;
}

@keyframes handup-blink {
  0% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  75% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.top-button-wrap {
  display: inline-flex;
  gap: 20px;
  margin: 15px 0px 20px 35px;
}

.top-button {
  width: 138px;
  height: 52px;
  color: #303a46;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  background-image: url(../img/m_s3_3_611/btn-tab.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  cursor: pointer;
}

.top-button.active {
  color: #fff;
  background-image: url(../img/m_s3_3_611/btn-tab-on.png);
}

.top-button.disabled {
  pointer-events: none;
  opacity: 0.5;
}

.bottom-button-wrap {
  position: absolute;
  bottom: 50px;
  right: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.bottom-button-wrap .btn-replay {
  position: absolute;
  right: 100px;
  bottom: 0;
  width: 42px;
  height: 42px;
  background: url(../img/m_s3_3_611/replay.png) no-repeat center/contain;
  /* display: none;
        &.show{display: block;} */
}

#virtual1-surface .bottom-button-wrap .btn-replay {
  bottom: -102px;
}

.btn-next {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 92px;
  height: 46px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  background-image: url(../img/m_s3_3_611/btn-next.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  cursor: pointer;
}

.btn-next.show {
  display: flex;
}

.icon-next {
  width: 20px;
  height: 20px;
  background-image: url(../img/m_s3_3_611/icon-next.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

.container-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.container-wrap .container-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44%;
}

.container-wrap .container-item.cell-large {
  padding-left: 220px;
}

.container-wrap .container-item.cell-large .img-wrap img {
  position: absolute;
  top: 13px;
  left: 0;
}

.container-wrap .container-item.cell-small {
  align-items: flex-start;
}

.container-wrap .container-item.cell-small .img-wrap {
  padding-left: 50px;
}

.container-wrap.tranform-cell-small .cell-small {
  /* .img-title{
            left: 50% !important;
            transform: translateX(-50%);
            transition: left 0.7s ease-in-out;
        } */
}

.container-wrap.tranform-cell-small .cell-small .img-wrap {
  width: 100%;
  height: 280px;
  background-image: url(../img/m_s3_3_611/cell-small-box.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center center;
  flex-wrap: wrap;
  gap: 10px;
}

.container-wrap.tranform-cell-small .cell-small .img-wrap img:nth-child(2) {
  left: 170px;
}

.container-wrap.tranform-cell-small .cell-small .img-wrap img:nth-child(3) {
  top: 147px;
}

.container-wrap.tranform-cell-small .cell-small .img-wrap img:nth-child(4) {
  left: 170px;
  top: 147px;
}

.container-wrap.tranform-cell-small .cell-small .img-wrap img:nth-child(5) {
  left: 290px;
  top: 29px;
}

.container-wrap.tranform-cell-small .cell-small .img-wrap img:nth-child(6) {
  left: 410px;
  top: 29px;
}

.container-wrap.tranform-cell-small .cell-small .img-wrap img:nth-child(7) {
  left: 290px;
  top: 147px;
}

.container-wrap.tranform-cell-small .cell-small .img-wrap img:nth-child(8) {
  left: 410px;
  top: 147px;
}

.container-wrap.tranform-cell-small .cell-small .img-wrap .length.cell-small-width {
  color: #fff;
}

.container-wrap.tranform-cell-small .cell-small .img-wrap .length.cell-small-width:before {
  background-image: url(../img/m_s3_3_611/dot-line-top-rear-small.png);
}

.container-wrap .container-item .img-wrap {
  display: flex;
  align-items: flex-end;
  width: 280px;
  height: 280px;
  position: relative;
}

.container-wrap .container-item.cell-small:before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-image: url(../img/m_s3_3_611/cell-small-box.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

/* 도형(세포) 이동 속도: 아래 duration(0.45s) 값을 조절하세요. 작을수록 빠름, 클수록 느림 */
.container-wrap .container-item.cell-small img {
  position: absolute;
  transition: left 0.7s ease, top 0.7s ease;
}

/* 순서 간격: transition-delay 값을 조절하면 이미지가 움직이는 타이밍 간격이 바뀝니다 */
.container-wrap .container-item.cell-small img:nth-child(2) {
  transition-delay: 0.1s;
}

.container-wrap .container-item.cell-small img:nth-child(3) {
  transition-delay: 0.2s;
}

.container-wrap .container-item.cell-small img:nth-child(4) {
  transition-delay: 0.3s;
}

.container-wrap .container-item.cell-small img:nth-child(5) {
  transition-delay: 0.4s;
}

.container-wrap .container-item.cell-small img:nth-child(6) {
  transition-delay: 0.5s;
}

.container-wrap .container-item.cell-small img:nth-child(7) {
  transition-delay: 0.6s;
}

.container-wrap .container-item.cell-small img:nth-child(8) {
  transition-delay: 0.7s;
}

.container-wrap .container-item.cell-small img:nth-child(1) {
  top: 29px;
  left: 50px;
  z-index: 4;
}

.container-wrap .container-item.cell-small img:nth-child(2) {
  top: 29px;
  left: 147px;
  z-index: 4;
}

.container-wrap .container-item.cell-small img:nth-child(3) {
  top: 125px;
  left: 50px;
  z-index: 3;
}

.container-wrap .container-item.cell-small img:nth-child(4) {
  top: 125px;
  left: 147px;
  z-index: 3;
}

.container-wrap .container-item.cell-small img:nth-child(5) {
  top: 0px;
  left: 83px;
  z-index: 2;
}

.container-wrap .container-item.cell-small img:nth-child(6) {
  top: 0px;
  left: 177px;
  z-index: 2;
}

.container-wrap .container-item.cell-small img:nth-child(7) {
  top: 97px;
  left: 83px;
  z-index: 1;
}

.container-wrap .container-item.cell-small img:nth-child(8) {
  top: 97px;
  left: 177px;
  z-index: 1;
}

.container-wrap .container-item .text-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  display: none;
}

.container-wrap .container-item .text-wrap.active {
  display: flex;
}

.container-wrap .container-item .img-title {
  position: relative;
  left: -33px;
  display: inline-block;
  padding: 8px 30px 4px;
  border-radius: 12px;
  font-size: 18px;
  color: #fff;
  text-align: center;
  background-color: #266ad4;
  transition: left 1s ease-in-out;
}

.container-wrap .container-item:nth-child(2) .img-title {
  left: 94px;
  transition: left 1s ease-in-out;
}

.container-wrap .container-item .img-subtitle {
  position: relative;
  left: -33px;
  margin-top: 30px;
  padding: 10px 30px 5px;
  border-radius: 20px;
  font-size: 20px;
  text-align: center;
  color: #266ad4;
  font-weight: 600;
  background-color: #DAD9D7;
}

.container-wrap .container-item:nth-child(2) .img-subtitle {
  left: 16px;
}

.container-wrap .container-item .length {
  position: absolute;
  font-size: 12px;
  font-weight: 400;
  color: #fff;
  z-index: 5;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.container-wrap .container-item .length.active {
  opacity: 1;
  visibility: visible;
}

.container-wrap .container-item.cell-large .length.cell-large-width {
  left: 124px;
  top: -12px;
}

.container-wrap .container-item.cell-large .length.cell-large-height {
  left: -40px;
  top: 136px;
}

.container-wrap .container-item.cell-large .length.cell-large-length {
  left: 2px;
  top: 16px;
}

.container-wrap .container-item.cell-large .length:before {
  content: '';
  position: absolute;
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

.container-wrap .container-item.cell-large .length.cell-large-width:before {
  background-image: url(../img/m_s3_3_611/dot-line-top-rear.png);
  width: 167px;
  height: 25px;
  left: -218%;
  top: 3px;
}

.container-wrap .container-item.cell-large .length.cell-large-height:before {
  background-image: url(../img/m_s3_3_611/dot-line-left.png);
  width: 32px;
  height: 175px;
  left: 10px;
  top: -75px;
}

.container-wrap .container-item.cell-large .length.cell-large-length:before {
  background-image: url(../img/m_s3_3_611/dot-line-top-left.png);
  width: 64px;
  height: 46px;
  left: -5px;
  top: -5px;
}

.container-wrap .container-item.cell-small .length.cell-small-width {
  left: 108px;
  top: 14px;
  color: #303a46;
}

.container-wrap .container-item.cell-small .length.cell-small-height {
  left: 20px;
  top: 87px;
}

.container-wrap .container-item.cell-small .length.cell-small-length {
  left: 40px;
  top: 26px;
}

.container-wrap .container-item.cell-small .length:before {
  content: '';
  position: absolute;
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

.container-wrap .container-item.cell-small .length.cell-small-width:before {
  background-image: url(../img/m_s3_3_611/dot-line-top-rear-black.png);
  width: 82px;
  height: 12px;
  top: 4px;
  left: -30px;
}

.container-wrap .container-item.cell-small .length.cell-small-height:before {
  background-image: url(../img/m_s3_3_611/dot-line-left-small.png);
  width: 13px;
  height: 86px;
  left: 16px;
  top: -34px;
}

.container-wrap .container-item.cell-small .length.cell-small-length:before {
  background-image: url(../img/m_s3_3_611/dot-line-top-left-small.png);
  width: 29px;
  height: 25px;
  left: 9px;
  top: 1px;
}

.formula-table-wrap {
  width: 70%;
  margin: 35px auto 0;
  padding: 10px 15px 10px;
  border-radius: 30px;
  background-image: -moz-linear-gradient(90deg, #808790 0%, #aab0b7 48%, #d4d8dd 100%);
  background-image: -webkit-linear-gradient(90deg, #808790 0%, #aab0b7 48%, #d4d8dd 100%);
  background-image: -ms-linear-gradient(90deg, #808790 0%, #aab0b7 48%, #d4d8dd 100%);
  box-shadow: 3.812px 5.871px 27px 0px rgba(29, 36, 46, 0.79);
}

.formula-table-wrap .table {
  margin-bottom: 5px;
}

.formula-table-wrap .table .table-head {
  display: flex;
  font-size: 18px;
  color: #272d34;
  text-align: center;
  padding: 7px 20px;
  border-bottom: none;
}

.formula-table-wrap .table .table-head:first-child {
  border-left: none;
}

.formula-table-wrap .table .table-head .table-head-item:nth-child(1) {
  width: 14%;
  border-right: 3px solid #aeb4bc;
}

.formula-table-wrap .table .table-head .table-head-item:nth-child(2) {
  width: 43%;
  border-right: 3px solid #aeb4bc;
}

.formula-table-wrap .table .table-head .table-head-item:nth-child(3) {
  width: 43%;
}

.formula-table-wrap .table .table-body {
  padding: 18px;
  border-radius: 30px;
  background-color: #161c24;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
}

.formula-table-wrap .table .table-body .table-body-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.formula-table-wrap .table .table-body .table-body-item .table-body-item-label {
  width: 14%;
  font-size: 18px;
  font-weight: 400;
  position: relative;
  border-right: 3px solid transparent;
}

.formula-table-wrap .table .table-body .table-body-item .answer-box {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 43%;
  padding: 10px 0;
  border-radius: 15px;
  background-color: #3e3f49;
}

.formula-table-wrap .table .table-body .table-body-item .answer-box.cell-large {
  margin-right: 5px;
}

.formula-table-wrap .table .table-body .table-body-item:first-child {
  margin-bottom: 5px;
}

.formula-table-wrap .table .table-body .table-body-item:first-child .table-body-item-label:before {
  content: '';
  display: block;
  width: 100%;
  height: 3px;
  background-color: #3c3d48;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -14px;
}

.formula-table-wrap .answer-box {
  position: relative;
}

.formula-table-wrap .answer-box:not(.active) {
  color: transparent;
  user-select: none;
}

.formula-table-wrap .answer-box.active {
  color: #fff;
}

.formula-table-wrap .answer-box.active:before {
  display: none;
}

.formula-table-wrap .answer-box.value.disabled {
  pointer-events: none;
  cursor: default;
}

.formula-table-wrap .answer-box.value:not(.disabled) {
  pointer-events: auto;
  cursor: pointer;
}

.formula-table-wrap .answer-box:before {
  content: '';
  display: block;
  width: 35px;
  height: 35px;
  position: absolute;
  left: 50%;
  top: 50%;
  background-image: url(../img/m_s3_3_611/check-on.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  transform: translate(-50%, -50%);
  cursor: pointer;
  pointer-events: auto;
}

.formula-table-wrap .answer-box.on:before {
  display: block;
}

.formula-table-wrap .answer-box.value.disabled:before {
  background-image: url(../img/m_s3_3_611/check-off.png);
  pointer-events: none;
}

.modal-goal .content > p {
  padding: 0px 0 0 40px;
}

.guide-info {
  z-index: 20;
  top: 22px;
  right: 40px;
}

.virtual-button .btn-arrange {
  top: 57%;
}

.hand {
  position: absolute;
  /* pointer-events: none; */
  width: 56px;
  height: 50px;
  background: url(../common/img/guide-hand.png) no-repeat 0 0/100% auto;
}

/* virtual1 */
@keyframes handup {
  0%, 20% {
    transform: scaleX(-1) translateY(120px);
  }
  80%, 100% {
    transform: scaleX(-1) translateY(20px);
  }
}

/*
  툴별 손가락: 시작 좌표 → 끝 좌표만 넣으면 됨
  translate(가로px, 세로px) 에서 숫자 4개만 수정하세요.
  - 시작: (45, 355)  →  끝: (25, 0)  예시
  - 손 방향을 기울이려면 앞에 rotate(75deg) 추가 (필요할 때만)
*/
@keyframes handup-tool1 {
  0%, 20% {
    transform: rotate(73deg) translate(160px, 20px);
  }
  /* 시작 좌표 (x, y) */
  80%, 100% {
    transform: rotate(73deg) translate(160px, -355px);
  }
  /* 끝 좌표 (x, y) */
}

@keyframes handup-tool2 {
  0%, 20% {
    transform: rotate(-10deg) scaleX(-1) translate(-40px, 230px);
  }
  /* 시작 좌표 (x, y) */
  80%, 100% {
    transform: rotate(-10deg) scaleX(-1) translate(-40px, 50px);
  }
  /* 끝 좌표 (x, y) */
}

@keyframes handup-tool3 {
  0%, 20% {
    transform: rotate(-22deg) scaleX(-1) translate(-10px, 270px);
  }
  /* 시작 좌표 (x, y) */
  80%, 100% {
    transform: rotate(-22deg) scaleX(-1) translate(-10px, 60px);
  }
  /* 끝 좌표 (x, y) */
}

@keyframes handup-tool5 {
  0%, 20% {
    transform: rotate(-76deg) scaleX(-1) translate(35px, 760px);
  }
  /* 시작 좌표 (x, y) */
  80%, 100% {
    transform: rotate(-76deg) scaleX(-1) translate(35px, 100px);
  }
  /* 끝 좌표 (x, y) */
}

/* virtual1과 동일한 이미지 표시 크기: HTML height="224"/"112"와 맞춤, 비율 유지 + fade */
/* #virtual1-surface .container-wrap-surface{
    .container-item{
        &.cell-large.net-visible{
            .img-title{
                left: -66px;
                transition: left 0.4s ease;
            }
        }
        &.cell-small.net-visible{
            .img-title{
                left: 177px;
                transition: left 0.4s ease;
            }
        }
    }
} */
/* 페이드아웃 시 JS에서 transition: none 적용 후 gsap/animate로 제어, 페이드인 시 JS에서 transition 시간 지정 */
#virtual1-surface .container-item.cell-large .img-wrap .cell-large-img {
  position: absolute;
  left: 0;
  height: 224px;
  width: auto;
  object-fit: contain;
  object-position: center bottom;
  transition: opacity 1s ease-in-out;
}

/* 원본(cell_large.png)만 top: 13px */
#virtual1-surface .container-item.cell-large .img-wrap .cell-large-img[src*="cell_large.png"] {
  top: 13px;
}

/* 컷 애니메이션(01~11.png)은 top: 0 */
#virtual1-surface .container-item.cell-large .img-wrap .cell-large-img[src*="cell_large-solid"] {
  top: 0;
}

/* (나) 영역: (가) width(224)의 2배 = 448px, 높이는 (가)와 동일 224px */
#virtual1-surface .container-item.cell-small .img-wrap {
  width: 448px;
}

/* (나) 8개 이미지: 페이드아웃 시 JS에서 transition: none 적용, 페이드인 시 JS에서 transition 지정 */
#virtual1-surface .container-item.cell-small .img-wrap img:not(.cut-animation-img) {
  height: 112px;
  width: auto;
  object-fit: contain;
  object-position: center center;
  transition: opacity 1s ease-in-out;
}

#virtual1-surface .container-item.cell-small .img-wrap .length {
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* (나) 컷 애니메이션·최종 결과: width (가)의 2배(448px), 비율 유지 */
#virtual1-surface .container-item.cell-small .img-wrap .cut-animation-img.cell-small-solid {
  position: absolute;
  top: 0;
  left: 0;
  width: 448px;
  height: 224px;
  object-fit: contain;
  object-position: center center;
  z-index: 10;
  display: none;
  pointer-events: none;
}

#virtual1-surface .container-item.cell-small .img-wrap .cut-animation-img.cell-small-solid.is-visible {
  display: block;
}

#virtual1-surface .formula-table-wrap-surface.d-none {
  display: none !important;
}

#virtual1-surface .bottom-button-wrap-surface {
  position: absolute;
  bottom: 152px;
  right: 35px;
  display: flex;
  gap: 15px;
  align-items: center;
}

#virtual1-surface .bottom-button-wrap-surface.animating {
  pointer-events: none;
  opacity: 0.6;
}

#virtual1-surface .bottom-button-wrap-surface .btn-development,
#virtual1-surface .bottom-button-wrap-surface .btn-solid {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  min-width: 138px;
  height: 52px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  cursor: pointer;
  padding: 0 12px;
}

#virtual1-surface .bottom-button-wrap-surface .btn-development {
  background-image: url(../img/m_s3_3_611/btn-net.png);
}

#virtual1-surface .bottom-button-wrap-surface .btn-solid {
  background-image: url(../img/m_s3_3_611/btn-3d.png);
}

#virtual1-surface .bottom-button-wrap-surface .btn-solid.d-none {
  display: none !important;
}

#virtual1-surface .bottom-button-wrap-surface .btn-development.d-none {
  display: none !important;
}

#virtual1-surface .virtual-button-surface:not(.show) {
  display: none;
}

#virtual1-surface .virtual-button-surface.show {
  display: block;
}

#virtual1-surface #hand-step3 {
  left: 285px;
  top: 50px;
  animation: handup-blink 1.8s infinite forwards;
}

.modal-arrange .arrange-title {
  align-self: self-start;
  color: #fff;
  padding: 10px 20px 2px;
  border-radius: 15px;
  font-size: 32px;
  font-weight: 700;
  list-style: 1;
  margin-bottom: 20px;
  background-color: #4f52d5;
}

.modal-arrange .arrange-table-wrap {
  width: 80%;
}

.modal-arrange .arrange-table-wrap .table {
  border-collapse: collapse;
}

.modal-arrange .arrange-table-wrap .table th {
  background-color: #456abe;
  color: #fff;
  text-align: center;
  padding: 10px 20px 2px;
  border-left: 2px solid #fff;
  border-bottom: none;
}

.modal-arrange .arrange-table-wrap .table th:first-child {
  border-left: none;
}

.modal-arrange .arrange-table-wrap .table tbody td {
  vertical-align: middle;
  text-align: center;
  padding: 10px 20px 2px;
  border-left: 2px solid #456abe;
  border-bottom: 2px solid #456abe;
}

.modal-arrange .arrange-table-wrap .table tbody td:first-child {
  border-left: none;
}

.modal-arrange .arrange-table-wrap .table tbody td .fraction {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
}

.modal-arrange .arrange-table-wrap .table tbody td .fraction .numerator {
  border-bottom: 2px solid #000;
}

.modal-arrange .arrange-table-wrap .table tbody td .fraction .denominator {
  padding-top: 5px;
}

.modal-arrange .arrange-table-wrap .table tbody td .d-flex {
  justify-content: center;
  align-items: center;
  gap: 8px;
}
