/* Main */

main .wrapper {
  width: 100%;
  background: #f5f5f5;
}

#title {
  width: 100%;
  max-width: 960px;
  height: 300px;
  margin: 0 auto;
  background: #f5f5f5;
}

/* main .wrapper #title .name {
  position: absolute; 
  top: 25%;
  left: 10%;
  transform: translate(-25%, -10%);
} */

main .wrapper #title .name {
  padding-top: 180px;
  padding-left: 5px;
}

@media screen and (max-width: 820px) {
  main .wrapper #title .name {
    padding-top: 160px;
    text-align: center;
  }
}

main #title .name h2 {
  font-size: 35px;
  font-weight: 100;
  letter-spacing: 0.1rem;
  font-family: "Roboto Flex", sans-serif;
  margin-bottom: 5px;
}

/* About */

#About {
  width: 100%;
  max-width: 960px;
  padding: 100px 0 30px 0;
  margin: 0 auto;
}

@media screen and (max-width: 820px) {
  #About {
    padding: 30px 0 30px 0;
  }
}

#About .profile {
  width: 100%;
  max-width: 960px;
  margin: 0px auto 70px auto;
  padding-left: 120px;
  background-image: url(/img/myphoto.png);
  background-position: left 6%;
  position: relative;
  overflow: hidden;
}

@media screen and (max-width: 820px) {
  #About .profile {
    width: 80%;
    background-image: none;
    padding: 0 0 0 0;
    margin: 0px auto 5px auto;
  }
}

#About .profile h3 {
  font-size: 1.6rem;
  letter-spacing: 0.06rem;
  font-weight: 300;
  margin-bottom: 5px;
}

#About .profile p {
  font-size: 0.9rem;
  letter-spacing: 0.05rem;
  line-height: 1.7rem;
  font-family: Helvetica, "游ゴシック", "Yu Gothic", YuGothic, HiraKakuProN-W3,
    "メイリオ", Meiryo, sans-serif;
}

#About .profile .me {
  margin-bottom: 20px;
}

#About .profile .history {
  margin-bottom: 30px;
}

#About .profile .message1 {
  margin-bottom: 30px;
}

#About .profile .myjob {
  font-family: "Roboto Flex", sans-serif;
  font-size: 1rem;
  font-weight: 200;
  letter-spacing: 0.05rem;
  margin-bottom: 30px;
}

@media screen and (max-width: 820px) {
  #About .profile .text1 {
    margin-bottom: 5px;
    background: #f5f5f5;
  }
}

/* Skill */

.wrap {
  width: 100%;
  margin-bottom: 50px;
}

.wrap .name2 {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding-left: 120px;
  /* background: #bbe4ff; */
}

@media screen and (max-width: 820px) {
  .wrap .name2 {
    text-align: center;
    padding-left: 0px;
  }
}

.wrap .name2 h4 {
  font-size: 35px;
  font-weight: 100;
  letter-spacing: 0.1rem;
  font-family: "Roboto Flex", sans-serif;
}

.wrap .name2 .hr {
  background: #c6d3e0;
  height: 1px;
  margin: 5px 12px 0px 0px;
  width: 50px;
}

@media screen and (max-width: 820px) {
  .wrap .name2 .hr {
    background: #c6d3e0;
    height: 1px;
    margin: 10px auto;
    width: 50px;
  }
}

section #skill {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
}

section .myskill {
  width: 100%;
  max-width: 960px;
  /* background: #ffc1c1; */
  padding-left: 120px;
  padding-bottom: 70px;
  margin: 0 auto;
}

@media screen and (max-width: 820px) {
  section .myskill {
    padding-left: 10%;
  }
}

#skill .myskill p {
  font-size: 1rem;
  line-height: 1.7rem;
}

/* Contact */

#contact {
  width: 100%;
  background: #f5f5f5;
}

#contact .cont {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

@media screen and (max-width: 820px) {
  #contact .cont {
    width: 80%;
    margin: 0 auto;
  }
}

#contact .cont .tit2 {
  font-size: 35px;
  font-weight: 100;
  letter-spacing: 0.1rem;
  background: #f5f5f5;
  font-family: "Roboto Flex", sans-serif;
  margin-bottom: 80px;
  padding-top: 80px;
}

@media screen and (max-width: 820px) {
  #contact .cont .tit2 {
    margin-bottom: 40px;
    padding-top: 80px;
    text-align: center;
  }
}

#contact .cont .text2 {
  font-size: 1rem;
  background: #f5f5f5;
}

#contact .cont ul {
  display: flex;
  justify-content: right;
  align-items: center;
  margin-top: 80px;
  padding-bottom: 80px;
}

#contact .cont ul li {
  margin-left: 30px;
}

#contact .cont ul li img {
  width: 30px;
}

#contact .cont ul li a {
  transition: all 0.3s;
  color: #000;
}

#contact .cont ul li a:hover {
  color: #1962ff;
  background: #ffffff;
}

#contact .cont ul li .link {
  display: block;
  background: #9fc5ff;
  padding: 20px 100px;
  border: 1px solid #9fc5ff;
  border-radius: 10px;
}

.btn {
  display: none;
}

@media screen and (max-width: 820px) {
  .btn {
    display: block;
    background: #9fc5ff;
    padding: 20px 100px;
    border: 1px solid #9fc5ff;
    border-radius: 10px;
    margin: 50px 0 50px 0;
    text-align: center;
  }

  .btn a {
    color: #000;
  }
}

.sp-contact {
  display: none;
}

@media screen and (max-width: 820px) {
  #contact .cont ul {
    display: none;
  }

  .sp-contact {
    display: block;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 50px;
  }

  .sp-contact img {
    width: 30px;
  }
}
