* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  color: rgb(51, 51, 51);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.12em;
  line-height: 2em;
}
/* html {
  overflow-x: hidden;
}
body {
  overflow-x: hidden;
} */

ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: rgb(51, 51, 51);
}
@media screen and (min-width: 600px) {
  section {
    padding-top: 18vh;
    width: 1300px;
    margin: 0 auto;
    /* padding-left: 2%;
  padding-right: 2%; */
    /* padding-bottom: 4vh; */
  }
}
@media screen and (max-width: 1024px) {
  section {
    padding-top: 16vh;
    width: 90%;
    margin: 0 auto;
  }
}

@media screen and (max-width: 768px) {
  section {
    padding-top: 14vh;
    width: 90%;
    margin: 0 auto;
  }
}
/* -------------navi--------------- */

@media screen and (min-width: 600px) {
  header {
    position: fixed;
    width: 100%;
    top: 20px;
    /* background: white; */
    z-index: 9999;
  }
  nav {
    width: 80%;
    margin: 0 auto;
    display: flex;
    /* height: 60px; */
    justify-content: space-between;
    text-align: right;
  }
  .gnav li a {
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.1em;
  }
}

@media screen and (max-width: 768px) {
  header {
    position: fixed;
    width: 100%;
    top: 10px;
    /* background: white; */
    z-index: 9999;
  }
  nav {
    width: 100%;
    margin: 0 auto;
    display: flex;
    /* height: 60px; */
    justify-content: space-between;
    text-align: right;
  }
  .gnav li a {
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.1em;
  }
}

.gnav_logo img {
  width: 40px;
}
a.icon::before {
  font-family: "Font Awesome 6 Free";
  content: "\f0e0";
  font-weight: 500;
  /* font-size: 1.1em; */
  padding-right: 5px;
}

a:hover {
  color: rgb(255, 50, 130);
}

/* -------------main--------------- */
.main {
  text-align: center;
}

.mark {
  display: block;
  width: 350px;
  margin: auto;
  margin-bottom: 30px;
}
.logotype {
  display: block;
  width: 560px;
  margin: auto;
}
.title {
  font-size: 22px;
  font-weight: 500;
  padding: 80px 0;
  letter-spacing: 0.15em;
}
.title span {
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 4px dotted rgb(255, 50, 130);
  font-size: 22px;
  font-weight: 500;
}
@media screen and (max-width: 1024px) {
  .mark {
    width: 35%;
    margin-top: 0;
  }
  .logotype {
    width: 50%;
  }
}
@media screen and (max-width: 768px) {
  .mark {
    width: 60%;
    margin-top: 30px;
  }
  .logotype {
    width: 60%;
  }
  .title {
    font-size: 19px;
  }
  .title span {
    font-size: 19px;
    padding-bottom: 3px;
  }
}

/* -------------about--------------- */
/* .illusto_butterfly {
  width: 100px;
  position: relative;
  bottom: -80px;
  margin-top: -80px;
  right: 80px;
} */
@media screen and (min-width: 600px) {
  .container {
    display: flex;
    justify-content: space-between;
  }
}
@media screen and (max-width: 768px) {
  .container {
    display: block;
    /* flex-direction: column; */
  }
}
.tag {
  display: inline-block;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.05em;
  line-height: 0;
}
@media screen and (max-width: 768px) {
  .tag {
    margin-top: 10px;
  }
}
.tag::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: rgb(255, 50, 130);
  margin-right: 10px;
  /* vertical-align: middle; */
}
h2 {
  font-size: 32px;
  font-weight: 500;
  margin: 26px 0 52px 0;
}
.text {
  width: 510px;
}
@media screen and (max-width: 1024px) {
  h2 {
    font-size: 26px;
  }
  .text {
    width: 350px;
  }
}
@media screen and (max-width: 768px) {
  h2 {
    font-size: 26px;
  }
  .text {
    width: 100%;
    margin-bottom: 20px;
  }
}
.text_wrapper {
  margin: 0;
}
figure img {
  width: 620px;
}
@media screen and (max-width: 1024px) {
  figure img {
    width: 500px;
  }
}
@media screen and (max-width: 768px) {
  figure img {
    width: 100%;
  }
}
figcaption {
  font-size: 12px;
  font-weight: 300;
  font-style: italic;
  text-align: right;
}

/* -------------skills--------------- */
/* .illusto_birds {
  width: 76px;
  position: relative;
  top: 80px;
  left: 1070px;
} */
.skills_text {
  width: 580px;
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.15em;
  line-height: 1.5em;
  margin-bottom: 26px;
}
@media screen and (max-width: 1024px) {
  .skills_text {
    width: 350px;
  }
}
@media screen and (max-width: 768px) {
  .skills_text {
    width: 100%;
  }
}
/* .skills_list {
  display: flex;
  flex-direction: column;
} */
.skills_list li {
  display: block;
  width: 226px;
  padding: 8px;
  margin: 12px 0;
  border: 1px solid rgb(51, 51, 51);
  border-radius: 1.5em;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
}

/* -------------works--------------- */
#works {
  /* border-top: 1px solid rgb(170, 170, 170); */
  margin-top: 50px;
  /* width: 100%; */
  /* margin-bottom: 50px; */
}
@media screen and (max-width: 768px) {
  #works {
    margin-top: 50px;
    margin-bottom: 50px;
  }
}
/* .illusto_tree {
  width: 80px;
  position: relative;
  margin-bottom: -120px;
  left: 700px;
} */
.works_title {
  text-align: center;
  margin-bottom: 100px;
}
@media screen and (min-width: 600px) {
  .item_list {
    width: 100%;
    /* margin-left: -50px; */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
}
@media screen and (max-width: 768px) {
  .item_list {
    /* width: 100%; */
    /* margin-left: -50px; */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
}
.item {
  width: 220px;
  vertical-align: middle;
  margin: 0 30px;
}
.hover_text {
  position: relative;
  bottom: 220px;
  width: 220px;
  height: 220px;
  margin: 0 20px;
  background-color: pink;
  border-radius: 50%; /* ←円を作る */
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7em;
  color: #fff;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 10px;
  z-index: 999;
  display: block;
  margin: auto;
  margin-bottom: -100px;
  padding-top: 83px;
}
@media screen and (max-width: 768px) {
  .hover_text {
    margin-bottom: -150px;
  }
}

.hover_text:hover {
  opacity: 1;
  transition: all 0.6s ease;
}

/* -------------profile--------------- */
#profile {
  border-top: 1px solid rgb(170, 170, 170);
}
/* .illusto_flower {
  width: 70px;
  position: relative;
  bottom: -130px;
  right: 100px;
  margin-top: -230px;
} */
h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
@media screen and (min-width: 600px) {
  .portrait {
    width: 220px;
    position: relative;
    top: 140px;
    right: 200px;
  }
}
.illusto_butterfly {
  width: 100px;
  transform: scaleX(-1);
  position: relative;
  bottom: -60px;
  right: 450px;
}

@media screen and (max-width: 1024px) {
  .portrait {
    width: 200px;
    position: relative;
    top: 120px;
    right: 0;
  }
  .illusto_butterfly {
    width: 100px;
    transform: scaleX(-1);
    position: relative;
    bottom: -60px;
    right: 50px;
  }
}
@media screen and (max-width: 768px) {
  .portrait {
    width: 180px;
    position: relative;
    top: 70px;
    right: 0;
  }
  .illusto_butterfly {
    width: 80px;
    transform: scaleX(-1);
    position: relative;
    bottom: 80px;
    right: -230px;
  }
}
.profile-text {
  font-size: 14px;
  /* line-height: 0.5em; */
}

/* -------------footer--------------- */

footer {
  text-align: center;
  width: 100%;
  background-color: #ece9e2;
  padding-top: 50px;
  margin-top: 90px;
}
footer .wrapper {
  display: flex;
  justify-content: center;
}
.wrapper .container {
  display: inline-block;
}
.container span {
  /* font-size: 24px;
  font-weight: 500; */
}
.btn a {
  display: block;
  width: 300px;
  margin: 30px 0 70px 0;
  padding: 0.3em;
  text-align: center;
  background-color: rgb(51, 51, 51);
  color: rgb(255, 255, 255);
  font-size: 30px;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  border-radius: 8px;
}
@media screen and (max-width: 768px) {
  .btn a {
    width: 200px;
    font-size: 20px;
  }
}
.btn a::after {
  font-family: "Font Awesome 6 Free";
  content: "\f0e0";
  font-weight: 500;
  /* font-size: 1.1em; */
  padding-left: 5px;
}
.btn a:hover {
  opacity: 0.7;
}
/* .illusto_left img {
  width: 130px;
}
.illusto_right img {
  width: 110px;
} */
small {
  display: inline-block;
  padding: 10px;
  font-size: 12px;
}

/* アニメーション設定 */
.scr-target {
  opacity: 0.1;
  transform: translate3d(0, 40px, 0);
}
.scr-target.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: 1s;
}
