@charset "utf-8";

/* ▼PC rayout */
/* *************top pageここから************ */

/* --------- main visualここから --------- */

.color-main {
  background-color: var(--maincolor);
}

/* サークルアニメーション */
.circle-anime {
  position: absolute;
  right: 55%;
  top: 8vh;
  margin: 0 auto;
  width: 20vh;
  height: 20vh;
  border-radius: 50%;
  font-family: var(--en-font-spacial);
  color: var(--subcolor);
  background-color: #fff2da;
  animation: spinZ 20s linear infinite;
  text-align: center;
}

span {
  position: absolute;
  display: inline-block;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  /* padding: 1vh; */
  text-transform: uppercase;
  font-size: 3vh;
  margin: 0.8vh;
  transition: all 0.5s cubic-bezier(0, 0, 0, 1);
}

@keyframes spinZ {
  0% {
    transform: rotateZ(360deg);
  }
  100% {
    transform: rotateZ(0deg);
  }
}

/* main visual */
.mv {
  width: 100%;
}

/* スクロール矢印 */
.scrolldown4 {
  position: absolute;
  bottom: 1%;
  left: 8%;
  /*矢印の動き1秒かけて永遠にループ*/
  animation: arrowmove 1s ease-in-out infinite;
}

/*下からの距離が変化して全体が下→上→下に動く*/
@keyframes arrowmove {
  0% {
    bottom: 1%;
  }
  50% {
    bottom: 3%;
  }
  100% {
    bottom: 1%;
  }
}

/*Scrollテキストの描写*/

.scrolldown4 span {
  /*描画位置*/
  position: absolute;
  left: 6px;
  top: -90px;
  /*テキストの形状*/
  color: var(--subcolor);
  font-size: 0.8rem;
  font-family: var(--en-font-normal);
  letter-spacing: 0.3rem;
  font-style: italic;
  /*縦書き設定*/
  -ms-writing-mode: tb-rl;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
}

/* 矢印の描写 */
.scrolldown4:before {
  content: url(../img/top/arrow.png);
}

.sp-mv {
  display: none;
}

/* --------- main visualここまで --------- */

/* --------- skill ここから --------- */
.skill-wrapper {
  width: 80%;
  margin: 0 auto;
}
.skill-info {
  width: 40%;
  padding: 40px;
  border-radius: 30px;
  background-color: var(--basecolor2);
  border: solid 2px var(--maincolor);
  color: var(--textcolor);
  border-right: solid 10px var(--maincolor);
  border-bottom: solid 10px var(--maincolor);
}
.skill-title {
  font-family: var(--en-font-normal);
  font-weight: bold;
  font-style: italic;
  font-size: 1.5rem;
  letter-spacing: 3px;
}

.skill-tiitle-jp {
  font-family: var(--jp-font);
  font-size: 0.7rem;
  padding-bottom: 25px;
}

.info-flex {
  display: flex;
  justify-content: space-around;
}

/* --------- skill ここまで --------- */

/* --------- about ここから --------- */
.prof-flex {
  display: flex;
  justify-content: space-around;
  width: 80%;
  margin: 0 auto;
  align-items: flex-end;
  color: var(--textcolor);
}

.prof-flex img {
  width: 35%;
}

.prof-desc {
  width: 40%;
}

.name {
  padding-bottom: 25px;
  font-family: var(--jp-font);
  font-size: 1.5rem;
  letter-spacing: 5px;
}

.icons {
  padding-top: 15px;
  font-size: 1.5rem;
  color: var(--subcolor);
}

.icons a {
  margin-right: 10px;
  color: var(--subcolor);
}

.icons a:visited {
  color: var(--subcolor);
}

/* --------- about ここまで --------- */

/* *************top pageここまで************ */

/* *************skill pageここから************ */
/* スキル一覧 */
.skill-list {
  width: 80%;
  height: 50px;
  margin: 0 auto;
}

.list-flex {
  display: flex;
  position: relative;
}

.list-flex img {
  position: absolute;
  width: 18%;
  left: 30%;
}

.app-name {
  position: absolute;
  left: 3%;
  width: 25%;
  font-family: var(--en-font-normal);
  color: var(--subcolor);
  font-size: 1.5rem;
  font-weight: bold;
  font-style: italic;
  letter-spacing: 3px;
}

.app-text {
  position: absolute;
  left: 55%;
  font-family: var(--jp-font);
  font-size: 0.8rem;
  color: var(--textcolor);
}

.skilllist-pb {
  padding-bottom: 25px;
}

/* 強み */
.strength-wrapper {
  width: 80%;
  margin: 0 auto;
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  color: var(--textcolor);
}

.number-icon {
  height: 85px;
  width: 85px;
  border-radius: 50%;
  line-height: 85px;
  text-align: center;
  background-color: var(--basecolor2);
  border: 1px solid var(--maincolor);
}

.number-icon p {
  font-size: 1.8rem;
  font-family: var(--en-font-normal);
  font-weight: bold;
  letter-spacing: 2px;
  color: var(--subcolor);
}

.strength-text {
  width: 70%;
}

.strength-title {
  padding-bottom: 12px;
  font-size: 1.7rem;
  font-family: var(--jp-font);
  font-weight: bold;
  color: var(--subcolor);
  letter-spacing: 5px;
}

/* *************skill pageここまで************ */

/* *************works pageここから************ */

.w-wrapper {
  width: 80%;
  margin: 0 auto;
}

.w-title {
  display: flex;
  width: 430px;
  height: 50px;
  margin-left: 35px;
  padding: 10px 20px;
  border-radius: 0px 20px 0px 0px;
  color: var(--subcolor);
  border-right: solid 2px var(--subcolor);
  border-left: solid 2px var(--subcolor);
  border-top: solid 2px var(--subcolor);
  background-color: var(--basecolor2);
}

.border-line {
  width: 95%;
  margin: 0 auto;
  border-top: solid 2px var(--subcolor);
  margin-left: 35px;
  padding-bottom: 50px;
}

.hidden {
  visibility: hidden;
}

/* *************works pageここまで************ */

/* ▼SPrayout */
@media screen and (max-width: 960px) {
  /* main visual */
  .mv {
    display: none;
  }

  .sp-mv {
    display: block;
    width: 100%;
  }

  .circle-anime {
    width: 16vh;
    height: 16vh;
    right: 60%;
  }

  /* .scrolldown4:before {
    height: 10px;
    top: -61px;
    right: -1px;
  } */

  .scrolldown4 {
    display: none;
  }

  /* .scrolldown4 span {
    font-size: 0.3rem;
    left: 0px;
  } */

  /* .scrolldown4:after {
    height: 40px;
    right: 3px;
    top: -90px;
  } */

  .sp-top-pt {
    padding-top: 50px;
  }

  .info-flex {
    flex-direction: column;
  }

  .skill-info {
    width: 100%;
    margin: 0 auto;
    padding: 30px;
  }

  .sp-mb {
    margin-bottom: 50px;
  }

  .prof-flex {
    flex-direction: column;
  }

  .prof-flex img {
    width: 80%;
    margin: 0 auto;
  }

  .prof-desc {
    width: 90%;
    margin: 0 auto;
  }

  .sp-mt {
    margin-top: 10px;
  }

  .name {
    text-align: center;
    padding-bottom: 5px;
  }

  .w-title {
    flex-direction: column;
    margin-left: 0px;
    width: 180px;
    line-height: 11px;
    border-right: solid 1px var(--subcolor);
    border-left: solid 1px var(--subcolor);
    border-top: solid 1px var(--subcolor);
  }

  /* works */
  .border-line {
    margin-left: 0px;
    width: 100%;
    border-top: solid 1px var(--subcolor);
  }

  .hidden {
    display: none;
  }

  .app-name {
    font-size: 1rem;
    letter-spacing: 2px;
  }

  .list-flex img {
    width: 40%;
    left: 50%;
  }

  .app-text {
    left: 3%;
    top: 25px;
  }

  .strength-wrapper {
    width: 90%;
  }

  .number-icon {
    height: 55px;
    width: 55px;
    line-height: 55px;
  }

  .number-icon p {
    font-size: 1.3rem;
  }
}
