@charset "UTF-8";
li {
  list-style: none;
  float: right;
  font-size: 30px;
  padding: 10px 20px;
}

ul {
  padding-inline-start: 0;
}

.fadein {
  opacity: 0.1;
  transform: translate(0, 50px);
  transition: all 2700ms;
}

.scrollin {
  opacity: 1;
  transform: translate(0, 0);
}

hr {
  height: 1px;
  border: none;
  border-top: 1px #000000 solid;
}

body {
  margin: 0;
}

/* font */
.main_text {
  font-family: "M PLUS Rounded 1c";
}

/* header */
.header_container {
  position: fixed;
  opacity: 0.9;
  z-index: 2;
  background-color: #F0F0F0;
  height: 70px;
  width: 100%;
}

.header_container .header_container_category {
  background-color: #F0F0F0;
  padding: 10px 0;
}

.border_bottom {
  margin-top: 30px;
  margin-left: 10%;
  width: 80%;
  border-bottom: 1px solid #c0c0c0;
}

.button {
  text-align: center;
}

.index_container {
  width: 100%;
  height: 100%;
  /*Top*/
}

.index_container .margin_color {
  clear: both;
  height: 8vh;
  background-color: #332a26;
}

.index_container .top {
  position: relative;
}

.index_container .top .header_image {
  width: 100%;
  height: 20%;
}

.main_title {
  font-family: 'Caveat', cursive;
  position: absolute;
  font-size: 6vw;
  left: 30%;
  top: 40%;
  z-index: 1;
}

/* About Me */
.about_me {
  background-color: #F0F0F0;
  padding: 30px 0;
}

.about_me .about_me_title {
  font-family: 'Alegreya Sans SC', sans-serif;
  text-align: center;
  margin-bottom: 100px;
  font-size: 5vw;
}

.about_me img {
  width: 100%;
  height: 100%;
  padding: 0 20px;
  border-radius: 20%;
}

.about_me .about_me_detail {
  padding: 0 20px;
}

.about_me .about_me_detail p {
  text-align: center;
  margin-top: 50px;
  font-size: 1.5vw;
}

/* Skills */
.skills {
  text-align: center;
  background-color: #e2f1fa;
}

.skills .skills_title {
  font-family: 'Alegreya Sans SC', sans-serif;
  font-size: 5vw;
}

.skills .skill_container {
  clear: both;
  text-align: center;
}

.skills .skill_container img {
  width: 50%;
  height: 60%;
}

.skills .skill_container .conteiner_text {
  margin-top: 30px;
  margin-bottom: 30px;
}

.skills .skill_container .conteiner_text .skill_subtitle {
  font-family: "M PLUS Rounded 1c";
  font-size: 2.5rem;
}

/*sevices*/
.services {
  text-align: center;
  background-color: #F0F0F0;
  padding: 30px 20px;
}

.services .sevices_title {
  font-family: 'Alegreya Sans SC', sans-serif;
  font-size: 5vw;
}

.services .sub_title {
  font-family: "M PLUS Rounded 1c";
  font-size: 3vw;
  margin-top: 10px;
  border-bottom: 1px solid #c0c0c0;
}

.services .price {
  font-size: 2vw;
}

.services img {
  width: 80%;
  height: 100%;
}

/* works */
.works {
  background-color: #e2f1fa;
}

.works .achievement p {
  font-family: "M PLUS Rounded 1c";
  text-align: center;
  font-size: 1.2vw;
}

.works .achievement .about_title {
  font-family: 'Alegreya Sans SC', sans-serif;
  font-size: 5vw;
}

.works .achievement .achive_work {
  font-family: "M PLUS Rounded 1c";
  font-size: 3.5vw;
  text-align: center;
}

.works .achievement img {
  width: 90%;
  height: 45%;
  padding-left: 50px;
}

.works .achievement .contents_work {
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 0 20px;
}

.works .achievement .contents_work a {
  text-decoration: none;
}

.works .achievement .link {
  margin-left: 40%;
}

.works .achievement .link2 {
  margin-left: 25%;
}

.works .achievement .image_photo img {
  width: 80%;
  height: 80%;
  padding: 10px 10px;
  margin-left: 50px;
  margin-bottom: 40px;
  box-shadow: 5px 10px 20px rgba(0, 0, 0, 0.5);
}

/* contact */
.footer_container {
  text-align: center;
  background-color: #F0F0F0;
  padding: 5px 0;
}

.footer_container p {
  margin-top: 10px;
}

/* フォーム */
.contact_form {
  text-align: center;
  background-color: #F0F0F0;
  padding: 40px 0;
}

.contact_form .contact_title {
  font-family: 'Alegreya Sans SC', sans-serif;
  font-size: 4rem;
}

.contact_form a {
  padding: 0 40px;
  text-decoration: none;
}

.form_container {
  margin-top: 40px;
}

@media (max-width: 992px) {
  .main_title {
    top: 45%;
  }
  .index_container .margin_color {
    clear: both;
    height: 5vh;
    background-color: #332a26;
  }
  /* header */
  .header_container {
    height: 60px;
    width: 100%;
  }
  .header_container .header_container_category {
    background-color: #F0F0F0;
    padding: 10px 0;
  }
  .header_container .header_container_category li {
    font-size: 23px;
  }
  /* About Me */
  .about_me .about_me_title {
    text-align: center;
    margin-bottom: 100px;
    font-size: 60px;
    background-color: #F0F0F0;
  }
  .about_me .about_me_detail p {
    text-align: center;
    margin-top: 50px;
    font-size: 30px;
  }
  /* Skills */
  .skills .skills_title {
    font-size: 60px;
  }
  .skills .comment {
    font-size: 25px;
  }
  .skills .skill_container .conteiner_text .skill_subtitle {
    font-size: 40px;
  }
  .skills .skill_container .conteiner_text .main_text {
    font-size: 25px;
  }
  /*sevices*/
  .services .sevices_title {
    font-size: 60px;
    background-color: #F0F0F0;
  }
  .services .services_container {
    margin-bottom: 20px;
  }
  .services .sub_title {
    font-size: 30px;
  }
  .services .price {
    font-size: 30px;
    font-family: "M PLUS Rounded 1c";
  }
  .services .main_text {
    font-size: 25px;
  }
  /* works */
  .works .achievement p {
    font-size: 30px;
  }
  .works .achievement .about_title {
    font-size: 60px;
  }
  .works .achievement .achive_work {
    font-size: 30px;
  }
  .works .achievement .main_text {
    font-size: 25px;
  }
  .works .achievement img {
    width: 100%;
    height: 45%;
    padding: 0 30px;
  }
  .works .achievement .link {
    margin-left: 45%;
  }
  .works .achievement .link2 {
    margin-left: 35%;
  }
  .works .achievement .image_photo img {
    width: 90%;
    height: 80%;
    padding: 10px 10px;
  }
  .contact_form {
    text-align: center;
    background-color: #F0F0F0;
    padding: 40px 0;
  }
  .contact_form .contact_title {
    font-size: 60px;
  }
  .contact_form .main_text {
    font-size: 25px;
  }
}

@media (max-width: 668px) {
  /* header */
  .header_container {
    height: 60px;
    width: 100%;
  }
  .header_container .header_container_category {
    background-color: #F0F0F0;
    padding: 10px 0;
  }
  .header_container .header_container_category li {
    font-size: 12px;
  }
  /* About Me */
  .about_me .about_me_detail p {
    text-align: center;
    margin-top: 50px;
    font-size: 16px;
  }
  /* Skills */
  .skills .comment {
    font-size: 20px;
  }
  .skills .skill_container .conteiner_text .skill_subtitle {
    font-size: 40px;
  }
  .skills .skill_container .conteiner_text .main_text {
    font-size: 16px;
  }
  /*sevices*/
  .services .price {
    font-size: 30px;
    font-family: "M PLUS Rounded 1c";
  }
  .services .main_text {
    font-size: 18px;
  }
  /* works */
  .works .achievement p {
    font-size: 18px;
  }
  .works .achievement .main_text {
    font-size: 18px;
  }
  .works .achievement .link {
    margin-left: 40%;
  }
  .works .achievement .link2 {
    margin-left: 25%;
  }
  .works .achievement .image_photo img {
    width: 90%;
    height: 80%;
    padding: 10px 10px;
    margin-left: 20px;
  }
  .contact_form .main_text {
    font-size: 18px;
  }
}
