
section.main-block {
  padding-top: 29.7%;
  overflow: hidden;
  top: 80px;
  background: url(../img/price/price-main.png) no-repeat right top;
  background-size: cover;
}
section.main-block h1 {
  position: absolute;
  bottom: 0;
  transform: translateX(120px);
  background-color: #fff;
  color: #1e2182;
  width: 100%;
  padding: 32px 40px;
}

.container {
  max-width: 960px;
  width: 96%;
  margin: 80px auto 120px;
}

#price .inner {
  margin-bottom: 50px;
}

#price .inner.price-01 h2,
#price .inner.price-02 h2,
#price .inner.price-03 h2 {
  font-size: 2rem;
  font-weight: 400;
  position: relative;
  padding-bottom: 8px;
  margin-bottom: 24px;
}

#price .inner.price-01 h2 {
  color: #86a83b;
}

#price .inner.price-02 h2 {
  color: #2f6db2;
}

#price .inner.price-03 h2 {
  color: #da1e28;
}

#price .inner.price-01 h2::before,
#price .inner.price-02 h2::before,
#price .inner.price-03 h2::before {
  content: "";
  display: block;
  width: 240px;
  height: 3px;
  position: absolute;
  left: 0;
  bottom: 0;
}

#price .inner.price-01 h2::before {
  background: #86a83b;
}

#price .inner.price-02 h2::before {
  background: #2f6db2;
}

#price .inner.price-03 h2::before {
  background: #da1e28;
}

#price .inner.price-01 .box-01,
#price .inner.price-02 .box-01,
#price .inner.price-03 .box-01 {
  justify-content: flex-start;
  align-items: center;
}

#price .inner.price-01 .box-01 .box-01-item,
#price .inner.price-02 .box-01 .box-01-item,
#price .inner.price-03 .box-01 .box-01-item {
  position: relative;
  display: flex;
  align-items: center;
  width: 48.75%;
  height: 104px;
  border-radius: 2px;
  box-sizing: border-box;
  text-decoration: none;
  color: #ffffff;
  padding: 0px 24px 0 16px;
  margin: 0px 24px 24px 0px;
  font-size: 0.95rem;
  transition: .3s;
}
#price .inner.price-01 .box-01 .box-01-item:hover,
#price .inner.price-02 .box-01 .box-01-item:hover,
#price .inner.price-03 .box-01 .box-01-item:hover{
  opacity: 0.75;
}
#price .inner.price-01 .box-01 .box-01-item {
  background: #85a83b;
}

#price .inner.price-02 .box-01 .box-01-item {
  background: #2f6db2;
}

#price .inner.price-03 .box-01 .box-01-item {
  background: #c52853;
}
#price .inner.price-03 .box-01 .box-01-item p{
  display: flex;
  align-items: center;
}
#price .inner.price-03 .box-01 .box-01-item span{
  white-space: nowrap;
  margin-right: 8px;
  border: solid 1px #fff;
  padding: 2px 8px;
}
#price .inner.price-01 .box-01 .box-01-item::after,
#price .inner.price-02 .box-01 .box-01-item::after,
#price .inner.price-03 .box-01 .box-01-item::after {
  content: "";
  width: 8px;
  height: 8px;
  border: 0px;
  border-top: solid 2px #ffffff;
  border-right: solid 2px #ffffff;
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  position: absolute;
  top: 48%;
  right: 20px;
}

#price .inner.price-01 .box-01 .box-01-item:nth-child(2n),
#price .inner.price-02 .box-01 .box-01-item:nth-child(2n),
#price .inner.price-03 .box-01 .box-01-item:nth-child(2n) {
  margin: 0px 0px 24px 0px;
}

@media screen and (max-width: 1015px) {
  section.main-block {
    padding-top: 29.7%;
    overflow: hidden;
    top: 50px;
    background: url(../img/price/price-main.png) no-repeat right top;
    background-size: cover;
  }
  section.main-block h1 {
    position: absolute;
    bottom: 0;
    transform: translateX(90px);
    background-color: #fff;
    color: #1e2182;
    width: 100%;
    padding: 25px 40px;
    font-size: 1.25rem;
  }
  .container {
    max-width: 960px;
    width: 96%;
    margin: 80px auto 0px;
  }

  #course .inner {
    margin-bottom: 100px;
  }

  #price .inner.price-01 h2,
  #price .inner.price-02 h2,
  #price .inner.price-03 h2 {
    font-size: 2rem;
    font-weight: 400;
    position: relative;
    padding-bottom: 8px;
    margin-bottom: 24px;
  }

  #price .inner.price-01 h2 {
    color: #86a83b;
  }

  #price .inner.price-02 h2 {
    color: #2f6db2;
  }

  #price .inner.price-03 h2 {
    color: #da1e28;
  }

  #price .inner.price-01 h2::before,
  #price .inner.price-02 h2::before,
  #price .inner.price-03 h2::before {
    content: "";
    display: block;
    width: 240px;
    height: 3px;
    position: absolute;
    left: 0;
    bottom: 0;
  }

  #price .inner.price-01 h2::before {
    background: #86a83b;
  }

  #price .inner.price-02 h2::before {
    background: #2f6db2;
  }

  #price .inner.price-03 h2::before {
    background: #da1e28;
  }

  #price .inner.price-01 .box-01,
  #price .inner.price-02 .box-01,
  #price .inner.price-03 .box-01 {
    justify-content: flex-start;
    align-items: center;
  }

  #price .inner.price-01 .box-01 .box-01-item,
  #price .inner.price-02 .box-01 .box-01-item,
  #price .inner.price-03 .box-01 .box-01-item {
    position: relative;
    display: flex;
    align-items: center;
    width: 48.75%;
    height: 104px;
    border-radius: 2px;
    box-sizing: border-box;
    text-decoration: none;
    color: #ffffff;
    padding: 0px 40px 0px 15px;
    margin: 0px 1.25% 1.25% 0px;
    font-size: 0.875rem;
  }

  #price .inner.price-01 .box-01 .box-01-item {
    background: #85a83b;
  }

  #price .inner.price-02 .box-01 .box-01-item {
    background: #2f6db2;
  }

  #price .inner.price-03 .box-01 .box-01-item {
    background: #c52853;
  }

  #price .inner.price-01 .box-01 .box-01-item::after,
  #price .inner.price-02 .box-01 .box-01-item::after,
  #price .inner.price-03 .box-01 .box-01-item::after {
    content: "";
    width: 8px;
    height: 8px;
    border: 0px;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    top: 48%;
    right: 25px;
  }

  #price .inner.price-01 .box-01 .box-01-item:nth-child(2n),
  #price .inner.price-02 .box-01 .box-01-item:nth-child(2n),
  #price .inner.price-03 .box-01 .box-01-item:nth-child(2n) {
    margin: 0px 0% 1.25% 0px;
  }
}

@media screen and (max-width: 768px) {
  #price .inner.price-03 .box-01 .box-01-item p{
    display: block;
  }

}

@media screen and (max-width: 500px) {
  section.main-block {
    padding-top: 45%;
    overflow: hidden;
    top: 50px;
    background: url(../img/price/price-main.png) no-repeat center center;
    background-size: cover;
  }
  section.main-block h1 {
    position: absolute;
    bottom: 0;
    transform: translateX(40px);
    background-color: #fff;
    color: #1e2182;
    width: 100%;
    padding: 20px 20px;
    font-size: 1rem;
  }
  .container {
    max-width: 960px;
    width: 96%;
    margin: 80px auto 0px;
  }

  #course .inner {
    margin-bottom: 80px;
  }

  #price .inner.price-01 h2,
  #price .inner.price-02 h2,
  #price .inner.price-03 h2 {
    font-size: 2rem;
    font-weight: 400;
    position: relative;
    padding-bottom: 8px;
    margin-bottom: 24px;
  }

  #price .inner.price-01 h2 {
    color: #86a83b;
  }

  #price .inner.price-02 h2 {
    color: #2f6db2;
  }

  #price .inner.price-03 h2 {
    color: #da1e28;
  }

  #price .inner.price-01 h2::before,
  #price .inner.price-02 h2::before,
  #price .inner.price-03 h2::before {
    content: "";
    display: block;
    width: 240px;
    height: 3px;
    position: absolute;
    left: 0;
    bottom: 0;
  }

  #price .inner.price-01 h2::before {
    background: #86a83b;
  }

  #price .inner.price-02 h2::before {
    background: #2f6db2;
  }

  #price .inner.price-03 h2::before {
    background: #da1e28;
  }

  #price .inner.price-01 .box-01,
  #price .inner.price-02 .box-01,
  #price .inner.price-03 .box-01 {
    display: block;
  }

  #price .inner.price-01 .box-01 .box-01-item,
  #price .inner.price-02 .box-01 .box-01-item,
  #price .inner.price-03 .box-01 .box-01-item {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 90px;
    border-radius: 2px;
    box-sizing: border-box;
    text-decoration: none;
    color: #ffffff;
    padding: 0px 40px 0px 15px;
    margin: 0px 1.25% 1.25% 0px;
    font-size: 0.875rem;
  }

  #price .inner.price-01 .box-01 .box-01-item {
    background: #85a83b;
  }

  #price .inner.price-02 .box-01 .box-01-item {
    background: #2f6db2;
  }

  #price .inner.price-03 .box-01 .box-01-item {
    background: #c52853;
  }

  #price .inner.price-01 .box-01 .box-01-item::after,
  #price .inner.price-02 .box-01 .box-01-item::after,
  #price .inner.price-03 .box-01 .box-01-item::after {
    content: "";
    width: 8px;
    height: 8px;
    border: 0px;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    top: 48%;
    right: 25px;
  }

  #price .inner.price-01 .box-01 .box-01-item:nth-child(2n),
  #price .inner.price-02 .box-01 .box-01-item:nth-child(2n),
  #price .inner.price-03 .box-01 .box-01-item:nth-child(2n) {
    margin: 0px 0% 1.25% 0px;
  }
  #price .inner.price-03 .box-01 .box-01-item p{
    display: flex;
  }
}
