@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;
}
.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-history {
  margin: 0 auto;
  padding-bottom: 70px;
}
.section-history__main  {
  display: flex;
  justify-content: center;
  max-width: 850px;
  margin: 0 auto;
  }
.section-history__left-side {
  padding-top: 35px;
}
.section-history__left-side-1st, .section-hoby__right-side-1st {
  padding-bottom: 50px;
}
.section-history__left-side img, .section-hoby__right-side img {
  max-height: 200px;
  max-width: 100%;
}
.section-history__main-image, .section-hoby__main-image {
  max-height: 100px;
  max-width: 100%;
}

.section-history__right-side, .section-hoby__left-side {
  font-size:  1.6rem;
  line-height: 2.8rem;
  padding-top: 15px;
  max-width: 500px;
}
@media(max-width:960px) {
  .section-history {
  margin: 0 auto;
  padding:0 24px 70px;
  }
  .section-history__main {
  flex-direction: column-reverse;
  }
  .section-history__left-side img, .section-hoby__right-side img {
  max-height: 120px;
}
  .section-history__main-image, .section-hoby__main-image {
  max-height: 70px;
  }
  .section-history__right-side, .section-hoby__left-side {
  font-size:  1.4rem;
  line-height: 2.1rem;
  padding-top: 10px;
  }
  .section-history__left-side {
  display: flex;
  max-width: 260px;
  padding-top: 10px;
  }
  .section-history__left-side-1st {
    padding: 0 20px 0 0 ;
  }
}



.section-history__right-side time {
  font-weight: 600;
}

.section-history__right-side p{
  padding-bottom: 30px;
}
.section-hoby__sub-title {
  padding-bottom: 40px;
}
.section-hoby__left-side {
  padding-top: 80px;
}
 .section-hoby__title {
  font-weight: 600;
}
.section-history__left-side, .section-history__right-side, .section-hoby__left-side, .section-hoby__right-side {
  margin: 0 auto;
}
.section-hoby__right-side {
  padding-top: 30px;
}
.section-hoby__main {
  display: flex;
  justify-content: center;
  max-width: 850px;
  margin: 0 auto;
  flex-direction: row-reverse;
}
.section-hoby {
  margin: 0 auto;
  padding-bottom: 100px;
}
@media(max-width:960px) {
  .section-hoby {
  margin: 0 auto;
  padding:0 24px 50px;
  }
  .section-hoby__main {
  flex-direction: column-reverse;
  }


  .section-history__right-side, .section-hoby__left-side {
  font-size:  1.4rem;
  line-height: 2.1rem;
  padding-top: 10px;
  }
  .section-hoby__right-side {
  display: flex;
  max-width: 260px;
  padding-top: 10px;
  }
  .section-hoby__right-side-1st {
    padding: 0 20px 0 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;
  }
}