@CHARSET "UTF-8";

em {
   color: #c00;
  font-style: normal;
  font-weight: bold;
}

#beginner {
  color: #333;
  line-height: 1.5;
  counter-reset: flow;
}

#beginner h2 {
  margin-bottom: 40px;
}

#beginner .section {
  padding: 35px 40px 40px 40px;
}

#beginner .section h3 {
  margin-bottom: 30px;
  font-size: 30px;
  text-align: center;
}

#beginner .section p {
  font-size: 18px;
}

/* about */
#about,
#flow {
  /* background-color: #546ad945; */
}

#beginner #about {
  padding: 40px;
  position: relative;
}

#beginner #about h3 {
  margin-left: -40px;
  text-align: center;
}

#about > img {
  position: absolute;
  top: 100px;
  left: 40px;
  filter: grayscale(1);
}

#about p em {
  background: linear-gradient(to bottom, transparent 0%, transparent 39%, #ff0 40%, #ff0 84%, transparent 85%, transparent 100%);
}

#about ol {
  margin-top: 10px;
  display: flex;
  justify-content: space-around;
  margin-top: 80px;
  /* border: 1px solid #546ad9; */
  /* padding: 20px; */
  border-radius: 20px;
}

#about ol li {
  padding: 125px 20px 20px 20px;
  border-radius: 8px;
  width: 170px;
  background-color: #fff;
  background-position: center 20px;
  background-repeat: no-repeat;
  font-size: 14px;
  box-sizing: border-box;
  /* filter: grayscale(1); */
  border: 1px solid #546ad9;
  /* padding: 20px; */
  border-radius: 20px;
  background-blend-mode: luminosity;
}

#about ol li:first-child {
  background-image: url('../img/img-about02-1.png');
}

#about ol li:nth-child(2) {
  background-position: center 19px;
  background-image: url('../img/img-about02-2.png');
}

#about ol li:last-child {
  background-position: center 9px;
  background-image: url('../img/img-about02-3.png');
}

/* moshimochan */
#beginner #moshimochan {
  margin-bottom: 0;
  padding: 35px 40px 0 160px;
  background: url('../img/logo-new.png') no-repeat;
  background-size: 140px;
}

#beginner #moshimochan p {
  margin-bottom: 20px;
}

/* flow */
#flow ol li {
  margin-top: 20px;
  padding-bottom: 20px;
  border-radius: 8px;
  background-color: #fff;
}

#flow ol li h4 {
  margin-bottom: 20px;
  padding-left: 80px;
  border-top-right-radius: 8px;
  border-top-left-radius: 8px;
  position: relative;
  height: 60px;
  line-height: 60px;
  color: #fff;
  background-color: #536ad9;
  font-size: 24px;
}

#flow ol li h4::before {
  content: counter(flow);
  counter-increment: flow;
  border-top-left-radius: 8px;
  background-color: #002cff;
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 60px;
  text-align: center;
}

#beginner #flow ol li p {
  margin: 0 20px;
  padding-left: 120px;
  min-height: 100px;
  background-position: 0 0;
  background-repeat: no-repeat;
  font-size: 16px;
}

#flow ol li:first-child p {
  background-image: url('/static/img/af/www/beginner/icon-register.png');
}

#flow ol li:nth-child(2) p {
  background-image: url('/static/img/af/www/beginner/icon-alliance.png');
}

#flow ol li:nth-child(3) p {
  background-image: url('/static/img/af/www/beginner/icon-blog.png');
}

#flow ol li:last-child p {
  background-image: url('/static/img/af/www/beginner/icon-reward.png');
}

/* banner */
#beginner .banner p {
  margin-top: -20px;
  text-align: center;
}

#beginner .banner p:first-of-type {
  margin-bottom: 30px;
}

/* register */
@media all and (min-device-width: 768px) {

  p.btn-box {
    margin: 40px auto 48px;
    text-align: center;
  }

  p.btn-box a {
    margin: 0 auto;
    border-radius: 5px;
    display: inline-block;
    width: 500px;
    height: 65px;
    line-height: 65px;
    color: #fff!important;
    background-color: #536ad9;
    font-weight: bold;
    font-size: 30px;
    text-decoration: none;
    /* box-shadow: 0 8px 0 0 #c67545; */
    transition: background-color 0.3s ease-in-out;
  }

  p.btn-box a:hover {
    background-color: #002cff;
  }

  p.btn-box a:active {
    box-shadow: 0 3px 0 0 #c67545;
    position: relative;
    top: 5px;
    background-color: #ffa666;
  }

}


@media all and (max-device-width: 768px) {

  #beginner h2 {
    margin-bottom: 0;
    height: 150px;
    background: url('/static/img/af/www/beginner/title-sp.jpg') center top no-repeat;
    background-size: cover;
  }

  #beginner h2 img {
    display: none;
  }

  #beginner .section {
    padding: 20px 12px;
  }

  #beginner .section h3 {
    margin-bottom: 10px;
    font-size: 16px;
  }

  #beginner .section p {
    font-size: 12px;
  }

  #beginner p.btn-box {
    margin-bottom: 20px;
  }

  #beginner #flow + p.btn-box {
    margin: 20px 0 0;
  }

  /* about */
  #beginner #about {
    padding: 20px 22px;
    position: static;
    background-color: #fff;
  }

  #beginner #about h3 {
    margin-left: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
    text-align: center;
  }

  #about > img {
    margin: 0 auto 10px;
    position: static;
    display: block;
    width: 150px;
    height: 150px;
  }

  #about ol {
    margin: 20px -22px 0;
    padding: 20px 12px;
    display: block;
    background-color: #ebf7c7;
  }

  #about ol li {
    padding: 10px 10px 10px 70px;
    border-radius: 0;
    position: relative;
    width: auto;
    min-height: 65px;
    font-size: 12px;
    background-position: 10px 10px;
    background-size: 50px 45px;
  }

  #about ol li::before {
    content: '';
    margin: 0 10px;
    border-top: 1px solid #ccc;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 93%;
  }

  #about ol li:first-child::before {
    display: none;
  }

  #about ol li:nth-child(2) {
    background-position: 10px 10px;
  }

  #about ol li:last-child {
    background-position: 10px 10px;
    min-height: 70px;
    background-size: 50px;
  }

  /* moshimochan */
  #beginner #moshimochan {
    padding: 60px 22px 10px;
    background: url('/static/img/af/shop/common/moshimochan-r100.png') no-repeat center 0;
    background-size: 50px;
  }

  #beginner #moshimochan p {
    margin-bottom: 10px;
  }

  /* flow */
  #flow ol li {
    margin-top: 10px;
    padding-bottom: 10px;
  }

  #flow ol li h4 {
    margin-bottom: 10px;
    padding-left: 45px;
    height: 35px;
    line-height: 35px;
    font-size: 12px;
  }

  #flow ol li h4::before {
    width: 35px;
  }

  #beginner #flow ol li p {
    margin: 0 10px;
    padding-left: 60px;
    min-height: 50px;
    background-size: 50px;
    font-size: 12px;
  }

  /* banner */
  #beginner .banner p {
    margin-top: 0;
  }

  #beginner .banner p:first-of-type {
    margin-bottom: 20px;
  }

}
