@charset "utf-8";
/* CSS Document */
body {
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  font-weight: 500;
  font-size: 1.6em;
  line-height: 2.4rem;
  text-align: center;
  background-color: #FAF5E5;
}



header {
  background-color: #FAF5E5;
  height: 40px;
}
.portfolio-header ul {
  margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 900px;
}
.portfolio-header li {
  font-size: 2.4rem;
  padding-left: 50px;
  padding-top: 25px;
  margin: 0 auto;
  font-weight: 500;
}
.portfolio-header-menu li:first-child {
  padding-left: 0;
  padding-top: 25px;
}
.portfolio-header-menu li:last-child {
  padding-top: 22px;
}
.portfolio-header-menu img {
  height: 30px;
  padding-top: 0px;
}

@media(max-width:960px) {
  header {
    height: 100px;
  }
  .portfolio-header ul {
    max-width: 264px; 
  }
  .portfolio-header-menu li {
    font-size: 1.8rem;
    padding-left: 10px;
    padding-top: 25px;
  }
}



.section-main {
  background-color: #FAF5E5;
  padding-top: 25px;
  padding-bottom: 60px;
  margin: 0 auto;
}
.section-main img {
  max-width: 100%;
  max-height: 360px;
}

@media(max-width:960px) {
  .section-main {
    padding-top: 15px;
    padding-bottom: 10px;
  }
  .section-main img {
    max-height: 240px;
  }
}


.section-profile {
  padding-bottom: 60px;
  margin: 0 auto;
}
.section-profile__main {
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 700px;
  margin: 0 auto;
  }
.section-profile__left-side, .section-profile__right-side {
  margin: 0 auto;
}
.section-profile__right-side {
  padding-right: 20px;
}
.section-profile h2 {
  font-size: 2.8rem;
  line-height: 3.6rem;
  padding-top: 50px;
  padding-bottom: 20px;
}
.button {
  font-size: 2.0rem;
  color: #FAF5E5;
  background-color: #BE3420;
  padding: 6px 20px;
  border-radius: 50px;
}
.section-profile img, .section-design img, .section-website img {
  max-height: 200px;
  width:  auto;
  object-fit: cover;
}


@media(max-width:960px){
  .section-profile {
  padding-bottom: 40px;
  }
  .section-profile__main {
    max-width: 327px;
  }
  .section-profile__right-side {
    padding-right: 0px;
  }
  .section-profile h2 {
    font-size: 1.6rem;
    line-height: 2.4rem;
  }
  .button {
    font-size: 1.6rem;
    padding: 6px 18px;
  }
  .section-profile img, .section-design img, .section-website img {
    max-height: 150px;
  }
}


.section-design {
  padding-bottom: 60px;
  margin: 0 auto;
}
.section-design__main {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 700px;
  margin: 0 auto;
  }
.section-design__left-side, .section-design__right-side {
  margin: 0 auto;
}
.section-design__left-side {
  padding-left: 33px;
}
.section-design h2 {
  font-size: 2.8rem;
  line-height: 3.6rem;
  padding-top: 50px;
  padding-bottom: 20px;
}

@media(max-width:960px) {
  .section-design {
  padding-bottom: 40px;
  }
  .section-design__main {
    max-width: 327px;
    padding-left: 10px;
  }
 .section-design__left-side {
  padding-left: 40px;
}
  .section-design__right-side {
    padding-left: 54px;
  }
  .section-design h2 {
    font-size: 1.6rem;
    line-height: 2.4rem;
  }
  .button {
    font-size: 1.4rem;
    padding: 4px 16px;
  }
}






.section-website {
  padding-bottom: 70px;
  margin: 0 auto;
}
.section-website__main {
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 700px;
  margin: 0 auto;
  }
.section-website__left-side, .section-website__right-side {
  margin: 0 auto;
}
.section-website__right-side {
  padding-right: 10px;
}
.section-website__right-side__discription {
  padding-top: 10px;
}
.section-website h2 {
  font-size: 2.8rem;
  line-height: 3.6rem;
  padding-bottom: 20px;
  padding-top: 50px;
}
@media(max-width:960px) {
  .section-website {
  padding-bottom: 40px;
  }
  .section-website__main {
    max-width: 327px;
  }
  .section-website__right-side {
    padding-right: 0px;
  }
  .section-website__right-side__discription {
    padding-top: 10px;
    font-size: 1.2rem;
}
  .section-website h2 {
    font-size: 1.6rem;
    line-height: 2.4rem;
  }
}

@media(max-width:333px){
  .section-profile__right-side, .section-design__left-side, .section-website__right-side  {
    margin-bottom: 30px;
  }
  .section-design__left-side, .section-design__right-side {
    padding: 0; 
  }
} 



footer {
  height: 100px;
  background-color: #FAF5E5;
}
.portfolio-footer ul{
  margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 900px;
}
.portfolio-footer li {
  font-size: 2.4rem;
  padding-left: 50px;
  padding-top: 25px;
  margin: 0 auto;
}
.portfolio-footer-menu li:first-child {
  padding: 0;
}
.portfolio-footer-menu li:first-child {
  padding-left: 0;
  padding-top: 25px;
}
.portfolio-footer-menu li:last-child {
  padding-top: 22px;
}
.portfolio-footer-menu img {
  height: 30px;
  padding-top: 0px;
}

@media(max-width:960px) {
  footer {
    height: 150px;
  }
  .portfolio-footer ul {
    max-width: 264px; 
  }
  .portfolio-footer-menu li {
    font-size: 1.8rem;
    padding-left: 10px;
    padding-top: 25px;
  }
}