@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Lato:900|Noto+Sans|Open+Sans:400,600,800");
.api {
  margin: auto;
  max-width: 960px;
}

.api__tit {
  margin-bottom: 20px;
  padding: 20px 0;
  font-size: 2rem;
  text-align: center;
  border-bottom: 3px solid #e60012;
}

.api__list {
  display: flex;
  display: -webkit-flex;
  flex-flow: row wrap;
  -webkit-flex-flow: row wrap;
  -js-display: flex;
}
.api__list img {
  display: block;
  width: 100%;
  height: auto;
}
@media screen and (min-width: 768px) {
  .api__list li {
    position: relative;
    width: calc(97% / 4);
    margin: 0 1% 1% 0;
  }
  .api__list li:nth-of-type(4n) {
    margin-right: 0;
  }
  .api__list li:nth-of-type(n+5) {
    margin-bottom: 0;
  }
  .api__list li:nth-of-type(n+5) {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  .api__list {
    width: 98%;
    margin: 0 auto;
  }
  .api__list li {
    position: relative;
    width: calc(98% / 3);
    margin: 0 1% 1% 0;
  }
  .api__list li:nth-of-type(3n) {
    margin-right: 0;
  }
  .api__list li:nth-of-type(n+3) {
    margin-bottom: 0;
  }
  .api__list li:nth-of-type(n+7) {
    display: none;
  }
}

.api__price {
  font-size: 1.4rem;
  font-weight: bold;
  color: #000;
  text-align: center;
  bottom: 6%;
  left: 0;
  line-height: 1;
  padding: 4% 4%;
  letter-spacing: 0.5px;
}
@media screen and (max-width: 767px) {
  .api__price {
    line-height: 1.7;
    font-size: 1.4rem;
    text-align: center;
    font-family: 'Lato', sans-serif;
  }
}
.api__price::before {
  content: "￥";
}
