@charset "UTF-8";

body {
  margin: 0;
  background-color: #73a3e6;
  color: #333;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

a {
  text-decoration: none;
  color: #333;
}

a.anchor {
  display: block;
  padding-top: 130px;
  margin-top: -130px;
}

.works_wrapper,.about,.skills,.contact {
  text-align: center;
  padding: 5em 0;
}

/****** ヘッダーの設定 ******/
header {
  background-color: #fce7e3;
  position: fixed;
  top: 0;
  width: 100%;
}

.header_nav_list {
  display: flex;
  justify-content: center;
  height: 70px;
  margin: 0;
  padding: .5em 0;
  border-bottom: solid 2px #333;
}

.header_nav_list li {
  list-style: none;
  margin: auto;
}

.header_nav_list a:hover {
  color: grey;
}

/****** トップの設定 ******/
.top_wrapper {
  width: 100%;
  padding: 5em 0 4em;
  margin-top: 2em;
}

h1,.top_wrapper p {
  text-align: center;
}

h1 {
  margin-top: 3em;
}

.top_wrapper [src="img/hand.svg"] {
  width: 45%;
  padding-top: 1em;
  float: right;
}

.top_wrapper [src="img/saturn.svg"] {
  width: 30%;
  padding: 2em;
  padding-bottom: 0;
  padding-right: 0;
  margin-left: 2em;
}

.works_img {
  width: 2%;
  padding: 1em;
  margin-left: 8em;
}

.about_img {
  width: 3%;
  padding: 1em;
  margin-left: 4em;
}

.skill_img {
  width: 2%;
}

.contact_img {
  width: 3%;
  padding: 1em;
  margin-bottom: 1em;
  margin-left: 1em;
}

.pen_img {
  text-align: right;
}

.top_wrapper [src="img/pen.svg"] {
  width: 32%;
  margin: 0 4em 3em 0;
}

.top_wrapper [src="img/star.svg"] {
  transition: transform .3s;
}

.top_wrapper [src="img/star.svg"]:hover {
  transform: rotate(180deg);
}

/** タブレット **/
@media (min-width: 520px) {
  .top_wrapper [src="img/pen.svg"] {
    margin: 6em 8em 0 0;
  }
}

/** パソコン（大画面） **/
@media (min-width: 1356px) {
  .pen_img {
    margin: 8em 16em 0 0;
  }

  .top_wrapper [src="img/pen.svg"] {
    margin: 0;
    width: 38%;
  }
}

/****** ポートフォリオの設定 ******/

.works_wrapper h2 {
  border-bottom: solid 3px #333;
  display: inline-block;
}

/****** プロフィールの設定 ******/
.about h2 {
  border-bottom: solid 3px #333;
  display: inline-block;
}

.about [src="img/face_photo.jpg"] {
  border: solid 3px #333;
  width: 50%;
  border-radius: 10px;
}

.profile_content {
  border: solid 3px #333;
  border-radius: 10px;
  background-color: ivory;
  padding: 1em 1.5em;
  margin: 2em auto;
  width: 60%;
  align-items: center;
  justify-content: space-around;
}

.profile {
  text-align: justify;
}

.about p {
  margin-top: .5em;
}

.about h4 {
  margin-bottom: .5em;
}

.fashion,.music,.movie,.comic {
  width: 50%;
  height: 50%;
  padding-top: .5em;
}

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

figure {
  margin: 0;
  width: 20%;
  height: 20%;
  text-align: center;
}

figcaption {
  font-size: 20%;
  text-align: center;
}

.career_content,.self-pr_content {
  background-color: ivory;
  border: solid 3px #333;
  border-radius: 10px;
  padding: 0 1.5em 0;
  margin: 2em auto;
  width: 60%;
  text-align: justify;
}

/** タブレットとパソコン **/
@media (min-width: 520px) {
  .profile_content {
    display: flex;
    width: 50%;
  }
  
  .profile {
    width: 40%;
  }
  
  .about [src="img/face_photo.jpg"] {
    width: 30%;
  }

  .career_content,.self-pr_content {
    width: 50%;
  }
}

/****** スキルの設定 ******/
.skills h2 {
  border-bottom: solid 3px #333;
  display: inline-block;
}

.skills-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

/* マーカーアニメーション */
.marker-animation {
  background-image: -webkit-linear-gradient(left, transparent 50%, #facdc8 50%);
  background-image: -moz-linear-gradient(left, transparent 50%, #facdc8 50%);
  background-image: linear-gradient(to right, transparent 50%, #facdc8 50%);
  background-repeat: repeat-x;
  background-size: 200% .8em;
  background-position: 0 .5em;
  transition: all 2s ease;
}

.marker-animation.active {
  background-position: -100% .5em;
}
/** ▲マーカーアニメーション **/

.memo {
  border: solid 3px #333;
  border-radius: 10px;
  background-color: ivory;
  padding: .5em 1.5em;
  margin: 2em;
  width: 60%;
}

.memo-list {
  background-image: linear-gradient(90deg, transparent 0%, transparent 50%, ivory 50%, ivory 100%),linear-gradient(180deg, #333 1px, transparent 1px);
  background-size: 8px 100%,100% 2.5em;
  line-height: 2.5em;
  padding: 0 75px 1px 16px;
  text-align: left;
  display: inline-block;
  margin-top: 0;
}

.memo-list li:first-child {
  list-style: none;
}

.memo-list li:nth-child(even),.memo-list li:nth-child(3),.memo-list li:nth-child(5) {
  list-style-position: inside;
}

.html-css,.javascript,.wordpress,.photoshop,.illustrator {
  border: solid 3px #333;
  border-radius: 10px;
  background-color: ivory;
  padding: .5em 1.5em 1.5em;
  margin: 2em;
  width: 60%;
}

.html-css p,.javascript p,.wordpress p,.photoshop p,.illustrator p {
  text-align: justify;
  margin: 0;
}

/** タブレット **/
@media (min-width: 520px) {
  .memo,.html-css,.javascript,.wordpress,.photoshop,.illustrator {
    width: 30%;
  }
}

/** パソコン **/
@media (min-width: 960px) {
  .memo,.html-css,.javascript,.wordpress,.photoshop,.illustrator {
    width: 20%;
  }
}

/****** お問い合わせの設定 ******/
.contact h2 {
  border-bottom: solid 3px #333;
  display: inline-block;
}

.contact p {
  margin: 3em 0;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 1em;
  background-color: ivory;
  border: solid 3px #333;
  border-radius: 10px;
  box-shadow: 5px 5px #333;
  padding: 1em;
  margin: auto;
  width: 40%;
}

.btn:active {
  box-shadow: none;
  transform: translateY(5px);
}

/** タブレットとパソコン **/
@media (min-width: 520px) {
  .btn {
    padding: 1em 0;
    font-weight: bold;
    width: 25%;  
  }
}

/****** フッターの設定 ******/
footer {
  background-color: #fce7e3;
  text-align: center;
  padding: 0 0 .5em;
  border-top: solid 2px #333;
  margin-top: 10em;
}

footer a:hover {
  color: grey;
}

small {
  color: #aaa;
}
