@charset "UTF-8";




/* first-view */
.first-view {
  width: 100%;
  height: 100vh;
  position: relative;
}

.first-view-inner {
  position: absolute;
  width: 95%;
  max-width: 1200px;
  aspect-ratio: 3/2;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -53%);
  background: linear-gradient(70deg, #13A9BD 30%, #5de0f1 50%, #13A9BD 55%);
  background-size: 500% 100%;
  animation: header-shine 4s infinite;
  animation-delay: 4s;
}

@keyframes header-shine {
  0% {
    background-position: 100% 50%;
  }

  70% {
    background-position: 0% 50%;
  }
}


canvas {
  display: block;
  vertical-align: bottom;
}

.first-view-anim-back,
.first-view-anim-front {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.first-view-anim-back {
  z-index: 5;
}

.first-view-anim-front {
  z-index: 6;
}

.first-view-clip-img {
  position: absolute;
  z-index: 7;
  width: 102%;
  height: 102%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* .first-view-clip-img > color-action */
.first-view-clip-img:nth-of-type(1).color-anim {
  display: none;
}

.first-view-clip-img:nth-of-type(2) {
  display: none;
}

.first-view-clip-img:nth-of-type(2).color-anim {
  display: block;
}


/* top-page-explain */
.top-page-explain {
  display: flex;
  justify-content: right;
  margin-bottom: 12vw;
  padding-left: 7%;
  overflow: hidden;
}

.top-page-explain-inner {
  max-width: 770px;
  width: 100%;
  padding: 3% 6% 3% 4%;
  background: linear-gradient(to bottom right, #13aabe, #0C8393);
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
  transform: translateX(100%);
  opacity: 0;
}

/* top-page-explain > scroll-action*/
.top-page-explain-inner.scroll-action {
  transform: translateX(0);
  opacity: 1;
  transition: transform 1s ease-in-out;
}


.top-page-explain-text {
  color: #FCFCFC;
}

.top-page-explain-text p:nth-of-type(1) {
  font-size: clamp(14px, 2.5vw, 24px);
  font-weight: 600;
}

.top-page-explain-text p:nth-of-type(2) {
  font-size: clamp(11px, 1.8vw, 16px);
  margin: 4% 0 6%;
}


/* top-page-explain > btn*/
.common-btn {
  background-color: #FCFCFC;
  width: 145px;
  height: 50px;
  border-radius: 25px;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
  transition: background-color .3s ease, transform .3s ease;
}

.common-btn.anim-action {
  background-color: #eeeeee;
}


.common-btn a {
  display: block;
  width: 100%;
  height: 100%;
  color: #13A9BD;
  position: relative;
}

.common-btn a p {
  font-weight: 700;
  font-size: 16px;
  width: max-content;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


.common-btn a span {
  margin-left: 20px;
}

.common-btn:hover {
  background-color: #eeeeee;
  transform: scale(0.97);
}


.common-btn.color-anim {
  background-color: #e2e2e2;
}


/* top-page-explain > scroll-top-btn*/
.scroll-to-top {
  width: 50px;
  height: 50px;
  background: linear-gradient(to bottom right, #646464, #909090);
  opacity: 0.5;
  box-shadow: 0px 0px 8px #00000001;
  border-radius: 30px;
  position: sticky;
  z-index: 20;
  margin: 0 3% 0 auto;
  top: 87vh;
  transition: opacity .3s ease, transform .3s ease;
}

.scroll-to-top:hover {
  opacity: 1;
  transform: scale(1.05);
}

.scroll-to-top a {
  display: block;
  width: 100%;
  height: 100%;
}

.scroll-icon {
  width: 15px;
  height: 15px;
  border-right: #FCFCFC solid 2px;
  border-top: #FCFCFC solid 2px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -30%) rotate(-45deg);
}


/* service */
.service-inner {
  height: 1000px;
  position: relative;
}

.service-text {
  font-size: clamp(35px, 7vw, 70px);
  font-weight: 900;
  color: #FCFCFC;
  text-shadow:
    0px 0px 5px #555555;
  line-height: 1.1;
  position: absolute;
  top: -6%;
  right: 7%;
}


/* .service-text > color-anim */
.service-text.color-anim {
  color: #d3d3d3;
}


.service-text span {
  padding-left: 7%;
}


/* service > group */
.service-group {
  position: absolute;
  width: clamp(130px, 27vw, 270px);
  height: clamp(130px, 27vw, 270px);
  ;
  border-radius: 150px;
  padding: 6% 5%;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  background: linear-gradient(70deg, #13A9BD 30%, #45c4d5 35%, #13A9BD 45%);
  background-size: 500% 100%;
  transition: opacity .5s ease-in, transform .5s ease-out;
  animation: shine 3s infinite;
  cursor: pointer;
}

.service-group:hover {
  transform: scale(1.1);
}

@keyframes shine {
  0% {
    background-position: 100% 50%;
    scale: 1;
  }

  50% {
    background-position: 0% 50%;
    scale: 1.1;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.003);
  }
}

.service-design {
  top: 7%;
  left: 10%;
}

.service-coding {
  top: 35%;
  right: 10%;
}

.service-support {
  top: 70%;
  left: 20%;
}

.service-group-inner {
  width: 100%;
  height: 100%;
  position: relative;
}

.service-group-inner dt {
  color: #FCFCFC;
  font-weight: 700;
  font-size: clamp(20px, 3.7vw, 35px);
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-53%, -50%);
}

.service-group-inner dt span {
  font-weight: 500;
  font-size: 0.6em;
  margin-right: 5px;
}

.service-coding-inner dt {
  display: flex;
  column-gap: 3%;
  justify-content: center;

}

.service-coding-inner img {
  width: clamp(13px, 2vw, 23px);
  transform: translateY(15%);
}


.service-group-inner dd {
  display: none;
  color: #FCFCFC;
}

.service-group-inner dd:nth-of-type(1) {
  font-size: clamp(9px, 1.6vw, 15px);
  font-weight: 600;
  margin: 6% 0 4%;
}

.service-group-inner dd:nth-of-type(2) {
  font-size: clamp(8px, 1.4vw, 14px);
}

/* service > finger-icon */
.fin-icon {
  width: clamp(35px, 7vw, 70px);
  height: clamp(35px, 7vw, 70px);
  position: absolute;
  bottom: -65%;
  right: -30%;
  animation: finger 3s infinite;
  background-color: #0c83936f;
  -webkit-mask-image: url("../images/index/service-fin-icon.webp");
  -webkit-mask-size: 100%;
}

@keyframes finger {
  0% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-100%, -100%);
    background-color: #FCFCFC;
  }

  100% {
    transform: translate(0, 0);
  }
}

.fin-icon.service-active {
  display: none;
}


/* service-line */
.leader-line {
  z-index: -5;
}

/* service > group > service-active */
.service-group.service-active {
  width: clamp(200px, 36vw, 370px);
  height: clamp(200px, 36vw, 370px);
  border-radius: 200px;
  animation: service-active-anim .7s ease-out forwards, active-shine 5s infinite;
}

@keyframes service-active-anim {
  from {
    opacity: 0;
    scale: 0.8;
  }

  to {
    opacity: 1;
    scale: 1;
  }
}

@keyframes active-shine {
  0% {
    background-position: 100% 50%;
  }

  50% {
    background-position: 0% 50%;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.003);
  }
}


.service-design.service-active {
  transform: translate(-15%, -20%);
}

.service-coding.service-active {
  transform: translate(15%, -10%);
}

.service-support.service-active {
  transform: translate(-25%, -20%);
}

.service-group-inner.service-active {
  display: block;
}

.service-group-inner dt.service-active {
  position: static;
  transform: translate(-10px, 0);
}

.service-group-inner dd.service-active {
  display: block;
}


/* service > scroll-action */
.service-group.scroll-action {
  opacity: 1;
}


/* works */
.works-inner {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  max-width: 1200px;
  margin-bottom: 0;
}

.works-content {
  width: calc(50% - 10%);
  margin: 0 5% 15%;
  aspect-ratio: 16/9;
  position: relative;
}

.works-content-back{
  width: 100%;
  height: 100%;
}

.works-content a {
  transform: translate(1.5%,-3%);
  display: block;
  width: 100%;
  height: 100%;
}


.works-content:hover {
  background-color: #00000008;
}


.works-content img {
  width: 100%;
  height: 100%;
  box-shadow:
    0px 0px 5px rgba(0, 0, 0, 0.1);
  transition: transform .3s ease, scale .3s ease, brightness .3s ease;
  filter: brightness(97%)
}

.works-content img:hover {
  scale: 1.02;
  transform: translate(2%, -3%);
  filter: brightness(100%);
}

.works-title {
  position: absolute;
  bottom: -17%;
  font-size: clamp(13px, 1.7vw, 22px);
  font-weight: 600;
  width: 100%;
  text-align: center;
  filter: saturate(80%);
  white-space: nowrap;
}


/* works > color-anim */
.works-content.color-anim:hover {
  background-color: #57575781;
}

.works-content.color-anim img {
  filter: brightness(90%);
}


/* about */
.about-inner {
  display: flex;
  align-items: center;
  margin: clamp(50px, 10vw, 100px) auto 0;
  padding-bottom: 10vw;
}

.about-img {
  width: 30%;
  min-width: 200px;
}

.about-img-back {
  width: 80%;
  aspect-ratio: 1/1;
  background-color: #13A9BD;
  border-radius: 200px;
}


.about-img img {
  width: 100%;
  transition: transform 1s ease;
}

/* about-img img > scroll-action */
.about-img img.scroll-action {
  transform: translate(12%, -10%);
}

.about-text {
  width: 70%;
  font-size: 16px;
  padding-left: 5%;
}

.about-text.color-anim {
  color: #b8b8b8;
}

.about-text span {
  display: inline-block;
  margin-bottom: 1.5%;
}


/* works-img-back > color-anim */
.about-img-back.color-anim {
  background-color: #d4bc09b5;
}




@media(max-width: 770px) {

  /* top-page-explain */
  .top-page-explain-inner {
    max-width: 770px;
    width: 100%;
    padding: 3% 4% 3% 4%;
    background: linear-gradient(to bottom right, #13aabe, #0C8393);
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
  }


  /* top-page-explain > btn*/
  .common-btn {
    width: 120px;
    height: 40px;
  }

  .common-btn a p {
    font-weight: 600;
    font-size: 14px;
  }

  .common-btn a p span {
    margin-left: 10px;
  }


  /* top-page-explain > scroll-top-btn*/
  .scroll-to-top {
    width: 35px;
    height: 35px;
  }

  .scroll-to-top:hover {
  opacity: 0.5;
  transform: scale(1);
}

  .scroll-icon {
    width: 10px;
    height: 10px;
  }


  /* service */
  .service {
    scroll-margin-top: 90px;
  }

  .service-inner {
    height: 650px;
  }


  /* service > group */
  .service-design {
    top: 11%;
    left: 5%;
  }

  .service-coding {
    top: 40%;
    right: 5%;
  }

  .service-support {
    top: 74%;
    left: 15%;
  }


  .fin-icon {
    bottom: -55%;
    right: -20%;
  }

  @keyframes finger {
    0% {
      transform: translate(20%, 25%);
    }

    50% {
      transform: translate(-90%, -90%);
      background-color: #FCFCFC;
    }

    100% {
      transform: translate(20%, 25%);
    }
  }



  /* service > group > service-active */
  .service-design.service-active {
    transform: translate(0, -12%);
  }

  .service-coding.service-active {
    transform: translate(5%, -7%);
  }

  .service-support.service-active {
    transform: translate(-18%, -22%);
  }

  /* works */
  .works {
    scroll-margin-top: 90px;
  }

  .works-inner {
    flex-wrap: nowrap;
    flex-direction: column;
    width: 70%;
    max-width: 400px;
  }

  .works-content {
    width: 100%;
    margin: 0 0 40% 0;
    aspect-ratio: 16/9;
    position: relative;
  }

  .works-title {
    font-size: clamp(11px, 2.7vw, 20px);
  }


  /* about */
  .about {
    scroll-margin-top: 90px;
  }

  .about-img {
    width: 25%;
    min-width: 120px;
  }

  .about-text {
    width: 75%;
    font-size: clamp(10px, 2vw, 13px);
    padding-left: 3%;
  }


  /* footer */
  .footer {
    margin-left: 0;
    width: 100%;
  }
}