@charset "UTF-8";

.page-reveal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #43a8d6;
  z-index: 9999;
  pointer-events: none;

  /* アニメーション初期状態 */
  clip-path: circle(0% at 50% 50%);
  opacity: 1;

  animation-name: circleReveal;
  animation-duration: 2s;
  animation-timing-function: cubic-bezier(0.7, 0, 0, 0.85);
  animation-fill-mode: forwards;
}

@keyframes circleReveal {
  0% {
    clip-path: circle(0% at 50% 50%);
  }

  33% {
    clip-path: circle(100% at 50% 50%);
  }

  66% {
    clip-path: circle(65% at 50% 50%);
  }

  100% {
    clip-path: circle(0% at 50% 50%);
  }
}

/*

開いた時のアニメーションのロゴ

*/
.op-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -5%);
}

.op-logo img {
  width: 251px;
  height: 14px;
}

/* ==========index.htmlの設定========== */

.index-main {
  width: 100%;
  height: 100vh;
  gap: 0px;
}

.center {
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.go-portfolio__link {
  font-size: 3.6rem;
  color: #fff;
  padding: 10px 50px;
}

.go-portfolio__link:hover {
  box-shadow: none;
}

.go-portfolio__link--transform {
  transform: translate(5%, -5%);
}

.go-mypage__link {
  color: #fff;
  padding: 10px;
}

.go-mypage__link.btn {
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}

.go-mypage__link:hover {
  box-shadow: none;
}

/* ==========portfolio.htmlの設定========== */

/*

フェードインの設定

*/
/* フェードイン */
.inview {
  opacity: 0;
  transform: translateY(100px);
  transition: 1s;
}

.inview.in-late {
  opacity: 0;
  transform: translateY(100px);
  transition: 2s;
}

.mainimage.inview {
  opacity: 0;
  transform: translateY(300px);
  transition: 2s;
}

.inview.fade-in {
  opacity: 1;
  transform: translateY(0px);
}

/*

キャッチコピーの設定

*/
.maincatch {
  position: relative;
  justify-content: space-between;
  padding: 5rem 4rem;
  pointer-events: none;
}

.maincatch_name {
  font-size: 100%;
  margin-bottom: 0;
  pointer-events: none;
}

.maincatch_name_first {
  font-size: 6.54rem;
  pointer-events: none;
}

.maincatch_name_middle {
  font-size: 3.6rem;
  pointer-events: none;
}

.maincatch_text {
  font-size: 2rem;
  font-weight: bold;
  pointer-events: none;
}

.maincatch_text-wrap {
  align-items: center;
}

/*

メイン画像の設定

*/
.mainimage {
  width: 100%;
  height: auto;
  position: relative;
}

/*

技術を紹介の設定

*/

.skill__maintext-wrap {
  justify-content: center;
}

.bg-img-universe {
  background-image: url(../../img/MIYAKO85_amanogawatentai20140725_TP_V.jpg);
}

.skill__maintext {
  color: #fff;
}

.skill__canvas-container {
  width: 100%;
  height: 500px;
  aspect-ratio: 3/4;
  justify-content: center;
  align-items: center;
}

.skill-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/*

私についての設定

*/
.about {
  width: 100%;
  min-height: 350px;
  margin-top: 60px;
  position: relative;
  z-index: 100;
  padding: 80px 20px;
  padding-bottom: 20px;
  height: 100%;
  margin-right: 0.2%;
  margin-left: 0.2%;
  aspect-ratio: 1 / 1.6;
}

.icon-position {
  position: absolute;
  top: 0%;
  left: 50%;
  transform: translate(-22%, -8%);
}

.icon {
  width: 45%;
  background-color: #fff;
  border-radius: 50%;
  padding: 10px;
}

.icon img {
  width: 100%;
  height: auto;
}

.formgap {
  gap: 10px;
  border-bottom: 1px dotted #43a8d6;
  padding-bottom: 10px;
}

.form {
  margin: 0 auto;
  margin-bottom: 5rem;
}

label {
  width: 20%;
}

input[type="text"],
textarea {
  width: 80%;
}

input[type="text"] {
  border: none;
  border-radius: 20px;
  padding: 5px 20px;
  background-color: #dae2ec;
}

textarea {
  border: none;
  border-radius: 20px;
  padding: 5px 20px;
  background-color: #dae2ec;
}

input[type="submit"] {
  border: none;
  border-radius: 20px;
  padding: 5px 20px;
}

fieldset {
  display: grid;
  gap: 10px;
  border: none;
  background-color: #fff;
  border-radius: 40px;
  padding: 0 15% 20px;
}

legend {
  text-align: center;
  font-size: 3.2rem;
  margin-bottom: 30px;
}

.cat-image {
  position: absolute;
  pointer-events: none;
  /* 背景扱いにする */
  z-index: -1;
}

@media (max-width: 800px) {
  .margin-top {
    margin-top: 300px;
  }

  .maincatch {
    margin-top: 50px;
  }

  .mainimage img {
    height: 70vh;
    object-fit: cover;
  }

  section {
    margin-bottom: 300px;
  }
}

@media (max-width: 600px) {
  .about {
    width: 1.2%;
    min-height: 400px;
    margin-top: 60px;
    margin-left: 1rem;
    position: relative;
    z-index: -1;
    padding: 40px 20px;
    padding-bottom: 20px;
  }

  .icon-position {
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translate(-22%, -7%);
  }
}

/*

wroks

*/

.title {
  color: #000;
  font-size: 24px;
  text-align: center;
}

.works__card {
  width: 100%;
  height: auto;
  margin-right: 0.2%;
  margin-left: 0.2%;
  aspect-ratio: 1 / 2;
  background-color: #fff;
  border-radius: 30px;
}

.works__card img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 30px 30px 0 0;
}
.works__card div {
  object-fit: cover;
  border-radius: 30px 30px 0 0;
  background-color: #777;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}

.works__card h3 {
  margin-top: 1em;
}
.works__card p {
  color: #000;
  margin: 0.5em 0.5em;
}
