/* small screens */

body {
  background: #f8f8f8;
  font-size: 14px;
  font-family: Verdana, sans-serif;
  margin: 0;
  color: #333;
}

p {
  line-height: 2;
}

.container {
  width: 90%;
  margin: 0 auto;
}

body > section {
  padding: 60px 0;
}

body > section:nth-of-type(odd) {
  background: #fff;
}

.section-title {
  text-align: center;
  font-weight: normal;
  margin: 0 0 60px;
}

header h1 {
  font-size: 28px;
  font-weight: normal;
}

#menu {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, .9);
  color: #fff;
  display: none;
}

#menu.shown {
  display: block;
}

#menu ul {
  list-style: none;
  margin: 0;
  padding: 10px 20px;
}

#menu li {
  line-height: 2;
}

#menu a {
  text-decoration: none;
  color: inherit;
}

#open_menu {
  float: right;
  font-size: 24px;
  cursor: pointer;
}

#close_menu {
  padding: 15px;
  float: right;
  cursor: pointer;
}

.feature img {
  width: 100%;
}

.feature:not(:last-child) {
  margin-bottom: 60px;
}

.merit-item img {
  width: 100%;
}

.merit-item:not(:last-child) {
  margin-bottom: 60px;
}

.purchase iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.purchase .iframe-wrapper {
  padding-bottom: 56.25%;
  height: 0;
  position: relative;
}

footer {
  text-align: center;
  padding: 60px 0;
  color: #ccc;
}

/* medium screens */

@media (min-width: 570px) {

  .feature img {
    width: 50%;
  }

  .feature p {
    width: 45%;
  }

  .feature:nth-of-type(odd) p {
    float: right;
    padding-left: 5%;
  }

  .feature:nth-of-type(even) p {
    float: left;
    padding-right: 5%;
  }

  .feature {
    overflow: hidden;
  }

  .merit .flex {
    display: flex;
    justify-content: space-between;
  }

  .merit-item {
    width: 30%;
  }

}

/* large screens */

@media (min-width: 912px) {

  .container {
    width: 820px;
  }

  #open_menu {
    display: none;
  }

  #close_menu {
    display: none;
  }

  #menu {
    display: block;
    position: static;
    background: transparent;
    color: #333;
  }

  #menu ul {
    padding: 0;
    float: right;
  }

  #menu li {
    display: inline-block;
    width: 60px;
    text-align: center;
  }

}
