body {
  color: #464646;
}
header {
  background-image: url(../img/features_header.jpg);
  background-color: rgba(255, 255, 255, 0.5);
  background-blend-mode: lighten;
  width: 100%;
  height: 40vh;
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 0;
}
header::after {
  margin-top: 95px;
  width: 100%;
  height: 300px;
  content: "";
  position: absolute;
  bottom: -300px;
  left: 0;
  z-index: -1;
  transform: skewY(-5deg);
  transform-origin: bottom left;
  background-color: #fff;
}
header span {
  /* 前面の文字エリア */
  position: absolute;
  display: inline-block;
  top: 50%;
  left: 50%;
  padding: 3px;
  color: #000;
  transform: translate(-50%, -50%);
  font-size: 36px;
  border-radius: 5px;
  font-size: 40px;
  font-weight: 600;
}
/* ナビ */
.text1 {
  width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: stretch;
  align-items: center;
  z-index: 1;
  position: relative;
}
.moji1 {
  width: 400px;
  margin: 0 auto;
}
.prgenn2 {
  position: relative;
  order: 2;
}
.kamoku7 {
  order: 3;
}
.kamoku16 {
  order: 1;
}
.prgenn2 p {
  position: absolute;
  top: 0;
  left: 0;
  margin: auto;
  right: 0;
  text-align: center;
  top: 55%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.moji2 {
  width: 1080px;
  margin: 0 auto;
}
.gragh_box {
  width: 1200px;
  margin: auto;
  display: flex;
  text-align: center;
  flex-direction: row;
}
.gragh_box ul {
  width: 380px;
}
.gragh_box ul li {
  width: 140px;
  margin: 10px;
  list-style: none;
  display: inline-block;
  background-color: #88cbac;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 2px;
}
.moji3 {
  width: 1080px;
  margin: 0 auto;
}
.moji4 {
  width: 1080px;
  margin: 0 auto;
}
.kamoku7 ul {
  width: 120px;
}
.moji_box {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}
.game_moji p {
  width: 80%;
  margin: auto;
}
.web_moji p {
  width: 80%;
  margin: auto;
}
.icon_img {
  float: left;
  margin: 10px 10px 10px 0;
  width: 2rem;
}
.crs_icon {
  padding: 15px;
}
.crs_icon2 {
  padding: 15px;
}
.web_course {
  display: flex;
  flex-direction: column;
}
.web_icon {
  display: flex;
  flex-direction: column;
  width: 80%;
  margin: auto;
}
.game_course {
  display: flex;
  flex-direction: column;
}
.game_icon {
  display: flex;
  flex-direction: column;
  width: 80%;
  margin: auto;
}
.comp ul li img {
  width: 150px;
}
.comp ul {
  display: flex;
  flex-flow: row wrap;
  width: 1080px;
  margin: auto;
  align-items: center;
}
.comp ul li {
  margin-right: 50px;
  list-style: none;
}
.topbtn a {
  transition: ease 0.6s;
}
.contents {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}
.contents:before {
  content: "";
  position: absolute;
  left: 0;
  width: 120%;
  height: 80%;
  margin: 3% -10% 0;
  background: #b9ddcd;
  -webkit-transform-origin: left center;
  -ms-transform-origin: left center;
  transform-origin: left center;
  -webkit-transform: rotate(3deg);
  -ms-transform: rotate(3deg);
  transform: rotate(3deg);
  z-index: -1;
}
.contents_inner {
  width: 100%;
  max-width: 640px;
  height: 100%;
  margin: 0 auto;
  padding: 100px 120px;
  color: #464646;
  text-align: center;
}
#first {
  padding-top: 20px;
}
#second {
  padding-top: 60px;
}
#third {
  padding-top: 60px;
}
#four {
  padding-top: 60px;
}
#five {
  padding-top: 60px;
}

@media screen and (max-width: 559px) {
  body {
    padding: 0;
    width: 100vw;
    overflow-x: hidden;
  }
  header {
    background-image: url(../img/features_header.jpg);
    background-color: rgba(255, 255, 255, 0.5);
    background-blend-mode: lighten;
    width: 100%;
    height: 40vh;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 0;
  }
  header::after {
    margin-top: 95px;
    width: 100%;
    height: 300px;
    content: "";
    position: absolute;
    bottom: -300px;
    left: 0;
    z-index: -1;
    transform: skewY(-5deg);
    transform-origin: bottom left;
    background-color: #fff;
  }
  header span {
    /* 前面の文字エリア */
    position: absolute;
    display: inline-block;
    top: 50%;
    left: 50%;
    padding: 3px;
    color: #000;
    transform: translate(-50%, -50%);
    font-size: 36px;
    border-radius: 5px;
    font-size: 30px;
    font-weight: 600;
  }
  .text1 {
    width: 90%;
    margin: auto;
    display: block;
    position: relative;
    z-index: 1;
  }
  .moji1 {
    width: 90%;
    margin: 0 auto;
  }
  .prgenn2 {
    position: relative;
  }
  .prgenn2 p {
    position: absolute;
    top: 0;
    left: 0;
    margin: auto;
    right: 0;
    text-align: center;
    top: 60%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  .moji2 {
    width: 90%;
    margin: 0 auto;
  }
  .gragh_box {
    width: 100%;
    margin: 0 auto;
    display: block;
    text-align: center;
    flex-direction: initial;
  }
  .gragh_box ul {
    width: 100%;
  }
  .gragh_box ul li {
    width: 15%;
    margin: 10px;
    list-style: none;
    display: inline-block;
    background-color: #88cbac;
    padding: 5px 10px;
    font-size: 15px;
    border-radius: 2px;
  }
  .kamoku16 {
    width: 100%;
    overflow-x: scroll;
  }
  .kamoku16 ul {
    width: 1600px;
  }
  .moji3 {
    width: 90%;
    margin: 0 auto;
  }
  .moji_box {
    display: block;
    flex-direction: row;
    justify-content: space-around;
    align-items: stretch;
    align-items: center;
  }
  .moji4 {
    width: 90%;
    margin: 0 auto;
  }
  .kamoku7 {
    width: 100%;
    overflow-x: scroll;
  }
  .kamoku7 ul {
    width: 1000px;
  }
  .icon_img {
    float: left;
    margin: 10px 10px 10px 0;
    width: 2rem;
  }
  .crs_icon {
    padding: 15px;
  }
  .crs_icon2 {
    padding: 15px;
  }
  .web_course {
    display: flex;
    flex-direction: column;
  }
  .web_icon {
    display: flex;
    flex-direction: column;
  }
  .game_course {
    display: flex;
    flex-direction: column;
  }
  .game_icon {
    display: flex;
    flex-direction: column;
  }
  .comp ul li img {
    width: 70px;
  }
  .game_moji p {
    width: 90%;
    margin: auto;
  }
  .web_moji p {
    width: 90%;
    margin: auto;
  }
  .comp ul {
    display: flex;
    flex-flow: row wrap;
    width: 100%;
    margin: auto;
    align-items: center;
    justify-content: center;
  }
  .comp ul li {
    margin: 0 50px 20px 10px;
    list-style: none;
  }
  .topbtn a {
    transition: ease 0.6s;
  }

  .contents {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
  }
  .contents:before {
    height: 100%;
  }
  .contents_inner {
    padding: 50px 0 50px;
    position: relative;
    width: 375px;
  }
  .icon {
    display: flex;
    height: 50px;
    padding: 0 120px 0;
  }
  .icon-box {
    display: block;
    height: 50px;
  }
  .icon-box img {
    width: 25px;
    height: 25px;
  }
  .icon-box:nth-child(1) {
    margin-right: 25px;
  }
  .icon-box:nth-child(2) {
    margin-left: 25px;
  }
  .footerp p {
    text-align: center;
    margin-bottom: 20px;
  }
  #first {
    padding-top: 20px;
  }
  #second {
    padding-top: 60px;
  }
  #third {
    padding-top: 60px;
  }
  #four {
    padding-top: 60px;
  }
  #five {
    padding-top: 60px;
  }
}
