
.scratch {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.scratch__body {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin: 0 auto;
  background: #2BD172;
}

.scratch__lead {
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 125%;
  color: #042C42;
  text-align: center;
  border-top: 6px solid #2CD373;
  background: #FDEC14;
  margin: 0;
}

@media (max-width: 767px) {
  .scratch__lead {
    font-size: 1.8rem;
  }
}

.scratch__mainWrapper {
  position: relative;
}

.scratch__background {
  width: 100%;
}

.scratch__main {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 0 17%;
}

.scratch__mark {
  position: relative;
  cursor: pointer;
}

.scratch__mark img {
  width: 100%;
}

.scratch__coin {
  position: absolute;
  left: 0;
  top: 0;
  width: 30%;
}

.scratch__coin img {
  width: 100%;
  height: auto;
}

/*------------------------------
  ルール
------------------------------*/

.scratchRule {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 15px 10px 10px 10px;
  background: #2BD172;
}

.scratchRule__head {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 2.4rem;
  font-weight: bold;
  margin: 0;
}

.scratchRule__head span {
  display: flex;
  justify-content: center;
  padding: 5px 10px;
  font-size: 1.6rem;
  border-radius: 20px;
  background: #CDFCE1;
}

@media (max-width: 767px) {
  .scratchRule__head {
    flex-direction: column;
    gap: 5px;
    font-size: 2.0rem;
  }

  .scratchRule__head span {
    width: 100%;
    font-size: 1.4rem;
    box-sizing: border-box;
  }
}

.scratchRule__list {
  display: flex;
  gap: 10px;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.scratchRule__list {
  flex: 1;
}

.scratchRule__list img {
  width: 100%;
}
