@charset "UTF-8";

#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}
#loading .loading-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
#loading .loading-wrap.close {
  border-left: 1px solid var(--white);
  border-right: 1px solid var(--white);
  animation: close 0.75s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
#loading .loading-wrap.open-title {
  height: 60px;
  width: 0px;
  border-left: 0.5px solid var(--white);
  border-right: 0.5px solid var(--white);
  animation: open 0.85s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.25s;
}
#loading .loading-wrap.line-none {
  width: 150px;
  animation: line-none 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
#loading .loading-wrap.open-title .loading-text {
  opacity: 0;
}
#loading .loading-wrap .loading-text {
  display: flex;
  gap: 3px;
}
#loading .loading-wrap .loading-text i {
  display: inline-block;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
#loading .loading-wrap .loading-text i.on {
  opacity: 1;
}
#loading .loading-wrap .title-area {
  position: absolute;
  width: 0;
  overflow: hidden;
}
#loading .loading-wrap.open-title .title-area {
  animation: tit-width 0.85s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.25s;
}
#loading .loading-wrap .title-area p:first-child {
  font-size: 73px;
}
#loading .loading-wrap .title-area p:last-child {
  text-align: end;
}
#loading .loading-wrap .title-area.on p:first-child {
  animation: tit-first 1.5s cubic-bezier(0.32, 0, 0, 0.98) forwards 0.25s;
}
#loading .loading-wrap .title-area.on p:last-child {
  animation: tit-last 1.5s cubic-bezier(0.32, 0, 0, 0.98) forwards 0.25s;
}

/* common */
.wrapper {
  background: var(--black);
  overflow-x: hidden;
}

/* main */
main {
  background: url("/img/screen/bg_hero.jpg") 50% / cover no-repeat;
  overflow: hidden;
}
main .width-wrap {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
main .width-wrap .typing-area {
  position: relative;
}
main .width-wrap .typing-area p:first-child {
  opacity: 0;
}
main .width-wrap .typing-area .t-text {
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  mix-blend-mode: difference;
  animation: cursor 0.9s infinite;
}
@keyframes cursor {
  0% {
    border-right: 1px solid #fff;
  }
  50% {
    border-right: 1px solid #000;
  }
  100% {
    border-right: 1px solid #fff;
  }
}
main .width-wrap .b-text {
  position: absolute;
  bottom: -154px;
}

/* values */
#values .width-wrap {
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
  justify-content: center;
  text-align: center;
}
#values .width-wrap .img-area,
#values .width-wrap .m-text,
#values .width-wrap .b-text-area {
  overflow: hidden;
}
#values .width-wrap .img-area img,
#values .width-wrap .m-text i,
#values .width-wrap .b-text-area .b-text {
  transform: translateY(100%);
}
#values .width-wrap .img-area img {
  width: 50px;
}
#values .width-wrap .m-text {
  line-height: 73.25%;
}
#values .width-wrap .m-text i {
  display: inline-block;
  margin: 0 -12px;
}

/* overview */
#overview {
  background: url("/img/screen/bg_overview.jpg") top / contain no-repeat;
  height: 100vh;
}
#overview .width-wrap {
  height: 100vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
#overview .width-wrap .left-area h2 {
  margin-bottom: 111px;
}
#overview .width-wrap .left-area .info-list li {
  display: grid;
  grid-template-columns: 166px 1fr;
}
#overview .width-wrap .right-area {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-top: 187px;
}
#overview .width-wrap .right-area .level-zone {
  position: absolute;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  transform: translateY(calc(-100% - 10px));
}
#overview .width-wrap .text {
  display: flex;
  align-items: center;
  gap: 8px;
}
#overview .width-wrap .glass-box .text {
  gap: 10px;
}
#overview .width-wrap .glass-box h3 {
  position: relative;
  margin-bottom: 41px;
}
#overview .width-wrap .glass-box h3:before {
  content: "";
  position: absolute;
  width: 110px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  bottom: -50%;
  transform: translateY(-1px);
}
#overview .width-wrap .glass-box .info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#overview .width-wrap .glass-box .skill-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
}

/* portfolio */
#portfolio .width-wrap h2 {
  margin-bottom: 80px;
  text-align: center;
}
#portfolio .width-wrap .cate-area {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 40px;
}
#portfolio .width-wrap .pf-area {
  position: relative;
}
#portfolio .width-wrap .pf-area button {
  position: absolute;
  left: 0;
  top: 0;
  width: calc(20% - 32px);
  transform: translate(0, 0);
  aspect-ratio: 1/1;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}
#portfolio .width-wrap .pf-area button img {
  width: 100%;
}

/* important */
#important {
  overflow: hidden;
}
#important,
#important .width-wrap {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
#important .width-wrap .bg-text-area {
  position: absolute;
  max-width: 850px;
  width: 100%;
}
#important .width-wrap .bg-text-area p {
  width: 100%;
  text-align: start;
  background: url("/img/screen/bg_text.png") 50% / 100% no-repeat;
  background-clip: text;
  color: transparent;
}
#important .width-wrap .bg-text-area p:last-child {
  text-align: end;
  margin-top: 10px;
}
#important .width-wrap .main-text-area {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 50px;
}
#important .width-wrap .main-text-area p:nth-child(1) {
  transform: translateX(-200%);
}
#important .width-wrap .main-text-area p:nth-child(2) {
  transform: translateX(200%);
}
#important .width-wrap .main-text-area p:nth-child(3) {
  transform: translateX(-200%);
}
#important .width-wrap .main-text-area p:nth-child(4) {
  transform: translateX(200%);
}
