@charset "utf-8";

.first-view {
  height: calc(100vh - 110px);
  background-image: url(../images/index/rose-4482544_1920.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  align-items: center;
}

.first-view-text {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-weight: bold;
}

.first-view-text h1 {
  font-family: "Playfair Display", serif;
  font-size: 56px;
  line-height: 72px;
}

.first-view-text p {
  font-size: 18px;
  margin-top: 10px;
  font-weight: 400;
}

.lead {
  max-width: 1200px;
  margin: 60px auto;
}

.lead p {
  line-height: 2;
  text-align: center;
}

.link-button-area {
  text-align: center;
  margin-top: 40px;
}

.link-button {
  background-color: #f4dd64;
  display: inline-block;
  min-width: 180px;
  line-height: 48px;
  border-radius: 24px;
  font-family: "Josefin Sans", sans-serif;
  font-size: 16px;
  font-weight: bold;
}

.link-button:hover {
  background-color: aquamarine;
}

.inner {
  width: 70%;
  margin: 0 auto;
  padding: 50px 2%;
}

#about h2::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background-color: #000000;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
}

#about .profile-flex {
  display: flex;
  justify-content: space-between;
  margin: 50px auto 0px;
  align-items: flex-start;
}

#about .profile-text {
  width: 65%;
}

#about .profile-img {
  width: 25%;
}

#about .profile-img img {
  border-radius: 50%;
  object-fit: cover;
}

#about .profile-text h2 {
  font-size: 28px;
  font-weight: bold;
  line-height: 30px;
  font-family: "Playfair Display", serif;
}

#about .profile-text h2::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background: #000000;
  margin-top: 12px;
}

#about .profile-text p {
  font-size: 1.2rem;
  line-height: 2.2;
}

#about .career {
  background-color: #f9f2f2;
  padding: 50px 50px;
  margin: 55px auto 0px;
}

#about .career h2 {
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  font-family: "Playfair Display", serif;
  color: #8a8383;
}

#about .career h2::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background: #8a8383;
  margin: 12px auto 20px;
}

.career ul {
  display: flex;
  justify-content: space-between;
}

.skill {
  width: 30%;
}

.skillIcon {
  margin-bottom: 20px;
  text-align: center;
}

.skillIcon img {
  width: 100px;
  height: 100px;
}

.skillIcon p {
  color: #8a8383;
  font-size: 0.9rem;
  margin-top: 2%;
}

.skillText {
  line-height: 1.8;
  color: #4a4949;
}

.recommended {
  background-color: #f8f8f8;
}

.recommended h2::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background-color: #000000;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
}

.designList {
  align-items: flex-end;
  display: flex;
  margin: 100px 30px;
}

.designList a {
  position: relative;
}

.designList a:after {
  content: "";
  position: absolute;
  top: 1em;
  left: 0;
  display: inline-block;
  pointer-events: none;
  opacity: 0.3;
  width: 300px;
  height: 300px;
}

.designList a:hover:after {
  background: url(/images/works/SP1.jpg); /* 表示する画像 */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center top;
  opacity: 1;
  transform: translate3d(450px, -100px, 400px) rotate(-10.1153deg);
  transition: 0.3s ease-in;
}

.work_number {
  padding-bottom: 1rem;
  padding-right: 1rem;
  font-family: "Arimo", sans-serif;
}

.work_text {
  font-size: 8rem;
  margin-left: 20px;
  font-family: "Baskervville", serif;
}

.work_text::after {
  position: absolute;
  left: 0;
  content: "";
  width: 100%;
  height: 3px;
  background: #000000;
  bottom: -5px;
  left: 25px; /*アンダーラインがaタグの下端から現れる*/
  transform: scale(0, 1); /*アンダーラインの縮尺比率。ホバー前はx方向に0*/
  transform-origin: left top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の左端*/
  transition: transform 0.3s; /*変形の時間*/
}

.work_text:hover::after {
  transform: scale(1, 1); /*ホバー後、x軸方向に1（相対値）伸長*/
}

.codingList {
  align-items: flex-end;
  display: flex;
  margin: 100px 30px;
}

.codingList a {
  position: relative;
}

.codingList a:after {
  content: "";
  position: absolute;
  top: 1em;
  left: 0;
  display: inline-block;
  opacity: 0.3;
  pointer-events: none;
  width: 300px;
  height: 300px;
}

.codingList a:hover:after {
  background: url(/images/works/hypercopyLP_thum.png); /* 表示する画像 */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center top;
  opacity: 1;
  transform: translate3d(450px, -100px, 400px) rotate(-10.1153deg);
  transition: 0.3s ease-in;
}

.webList {
  align-items: flex-end;
  display: flex;
  margin: 100px 30px;
}

.webList a {
  position: relative;
}

.webList a:after {
  content: "";
  position: absolute;
  top: 1em;
  left: 0;
  display: inline-block;
  width: 0%;
  opacity: 0.3;
  pointer-events: none;
  width: 300px;
  height: 300px;
}

.webList a:hover:after {
  background: url(/images/works/web-thum.png); /* 表示する画像 */
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 1;
  transform: translate3d(450px, -100px, 400px) rotate(-10.1153deg);
  transition: 0.3s ease-in;
}

.item-list img:hover {
  opacity: 0.7;
}

@media screen and (max-width: 767px) {
  .inner {
    width: 100%;
    margin: 0 auto;
  }

  .first-view {
    height: calc(100vh - 50px);
    background-image: url(../images/index/rose-4482544_1920.jpg);
  }

  .first-view-text h1 {
    font-size: 40px;
    line-height: 48px;
  }

  .first-view-text p {
    font-size: 16px;
    margin-top: 12px;
  }

  .lead {
    padding-left: 22px;
    padding-right: 22px;
  }

  .item-list {
    padding-left: 20px;
    padding-right: 20px;
  }

  .item-list li {
    width: 220px;
    margin-left: 25px;
  }

  #about .profile-flex {
    flex-direction: column;
  }

  #about .profile-text {
    width: 100%;
    padding: 0 5%;
    margin-bottom: 30px;
  }

  #about .profile-img {
    width: 75%;
    margin: 0 auto;
  }

  #about .profile-text p {
    font-size: 3.2vw;
  }

  #about .career {
    margin: 45px auto 0px;
  }

  .designList {
    margin: 50px 20px;
  }

  .codingList {
    margin: 50px 20px;
  }

  .webList {
    margin: 50px 20px;
  }

  .work_number {
    position: absolute;
  }

  .work_text {
    font-size: 13vw;
    margin-left: 40px;
    position: relative;
  }

  .career ul {
    flex-direction: column;
  }

  .skill {
    width: 100%;
    margin: 20px auto;
  }
}
