.gsp-stampcard {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  box-sizing: border-box;
  border-radius: 8px;
  padding: 32px 16px;
  background-size: 115%;
  background-position: top -1px center;
  background-repeat: no-repeat;
}

.gsp-stampcard--green {
  background-color: rgb(245, 248, 217);
  background-image: url('https://r.r10s.jp/evt/event/genre/store-pointup/202510/_cmn/img/stampcard/bg_green.svg');
  border-bottom: 5px solid rgb(155, 173, 53);
  border-top: 5px solid rgb(155, 173, 53);
}

.gsp-stampcard--green.gsp-stampcard--simple {
  background-image: url('https://r.r10s.jp/evt/event/genre/store-pointup/202510/_cmn/img/stampcard/bg_green_simple.svg');
}

.gsp-stampcard--blue {
  background-color: #e4f9f8;
  background-image: url('https://r.r10s.jp/evt/event/genre/store-pointup/202510/_cmn/img/stampcard/bg_blue.svg');
  border-bottom: 5px solid #3caabe;
  border-top: 5px solid #3caabe;
}

.gsp-stampcard--blue .gsp-stampcard__text {
  font-size: 18px;
  color: #005ba9;
}

.gsp-stampcard--blue.gsp-stampcard--simple {
  background-image: url('https://r.r10s.jp/evt/event/genre/store-pointup/202510/_cmn/img/stampcard/bg_blue_simple.svg');
}

.gsp-stampcard--yellow {
  background-color: #fff7d2;
  background-image: url('https://r.r10s.jp/evt/event/genre/store-pointup/202510/_cmn/img/stampcard/bg_yellow.svg');
  border-bottom: 5px solid #d9ae00;
  border-top: 5px solid #d9ae00;
}

.gsp-stampcard--yellow .gsp-stampcard__multi {
  background-image: url('https://r.r10s.jp/evt/event/genre/store-pointup/202510/_cmn/img/stampcard/bg_multi_yellow.png');
}

.gsp-stampcard--yellow.gsp-stampcard--simple {
  background-image: url('https://r.r10s.jp/evt/event/genre/store-pointup/202510/_cmn/img/stampcard/bg_yellow_simple.svg');
}

.gsp-stampcard--orange {
  background-color: #ffedcf;
  background-image: url('https://r.r10s.jp/evt/event/genre/store-pointup/202510/_cmn/img/stampcard/bg_orange.svg');
  border-bottom: 5px solid #f4a221;
  border-top: 5px solid #f4a221;
}

.gsp-stampcard--orange .gsp-stampcard__multi {
  background-image: url('https://r.r10s.jp/evt/event/genre/store-pointup/202510/_cmn/img/stampcard/bg_multi_orange.png');
}

.gsp-stampcard--orange.gsp-stampcard--simple {
  background-image: url('https://r.r10s.jp/evt/event/genre/store-pointup/202510/_cmn/img/stampcard/bg_orange_simple.svg');
}

.gsp-stampcard--pink {
  background-color: #ffeae7;
  background-image: url('https://r.r10s.jp/evt/event/genre/store-pointup/202510/_cmn/img/stampcard/bg_pink.svg');
  border-bottom: 5px solid #ef8e8e;
  border-top: 5px solid #ef8e8e;
}

.gsp-stampcard--pink .gsp-stampcard__text {
  font-size: 18px;
  color: #ed412d;
}

.gsp-stampcard--pink.gsp-stampcard--simple {
  background-image: url('https://r.r10s.jp/evt/event/genre/store-pointup/202510/_cmn/img/stampcard/bg_pink_simple.svg');
}

.gsp-stampcard--simple {
  padding: 32px 8px 0px 8px;
  box-shadow: 0px 10px 9.3px 0.7px rgba(0, 0, 0, 0.1);
  border-bottom: 15px solid rgb(205, 189, 165);
  background-size: 100%;
  border-top-width: 10px;
}
@media screen and (min-width: 768px) {
  .gsp-stampcard--simple {
    padding: 42px 8px 0px 8px;
  }
}

.gsp-stampcard__logoarea {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.gsp-stampcard__logo {
  max-width: 100%;
  height: auto;
  display: block;
}

.gsp-stampcard__image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 16px auto;
}

.gsp-stampcard__info {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  font-size: 14px;
  margin: 12px 0px;
}

.gsp-stampcard--simple .gsp-stampcard__text .sm {
  font-size: 12px;
}
.gsp-stampcard--simple .gsp-stampcard__text {
  font-size: 14px;
}

.gsp-stampcard__text {
  font-size: 18px;
  line-height: 1.2;
  font-weight: bold;
  margin: 0px 4px 0 0;
}

.gsp-stampcard__suffix {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 0 4px;
}

@media screen and (min-width: 768px) {

  .gsp-stampcard__text {
    font-size: 16px;
  }

  .gsp-stampcard__suffix {
    font-size: 16px;
  }
}

.gsp-stampcard__number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-family: 'Roboto', sans-serif;
  position: relative;
  width: 34px;
  height: 42px;
  font-size: 40px;
  font-weight: normal;
  line-height: 1;
  color: var(--mrt-sub-color);
  z-index: 1;
  padding: 1px;
  box-sizing: border-box;
}

@media screen and (min-width: 768px) {
  .gsp-stampcard__number {
    width: 37px;
    height: 45px;
  }
}

.gsp-stampcard__number::after,
.gsp-stampcard__number::before {
  content: '';
  position: absolute;
  background: white;
  width: 100%;
  height: 50%;
  display: inline-block;
  z-index: -1;
 border: solid 1px #dfdfdf;
 box-sizing: border-box;

}
.gsp-stampcard__number::before {
  background-color: #f3f3f3;
  border-bottom: none;
}


.gsp-stampcard__number::before {
  top: 0;
  left: 0;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}

.gsp-stampcard__number::after {
  bottom: 0;
  left: 0;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
}

.gsp-stampcard__num {
  width: 120%;
  height: auto;
}

.gsp-stampcard__numset {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.gsp-stampcard__footer {
  margin-top: auto;
  width: calc(100% + 16px);
  margin: 0 -8px 0 -8px;
  background-color: #e7ded1;
  position: sticky;
  top: 100%;
  left: 0;
}

.gsp-stampcard__button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: #333;
  background: none;
  padding: 5px 0;
  border: 0;
  width: 100%;
  font-size: 12px;
}

/* fake entry button styles */
.gsp-stamps {
  height: 100%;
}

.gsp-stamps--entered {
  display: none;
}

.rcEntryButton-status--entered .gsp-stamps,
.rcEntryButton-status--selected .gsp-stamps,
.rcEntryButton-status--selected .gsp-checkbox,
.rcEntryButton-status--applied .gsp-stamps {
  display: none;
}

.rcEntryButton-status--entered .gsp-stamps--entered,
.rcEntryButton-status--selected .gsp-stamps--entered,
.rcEntryButton-status--applied .gsp-stamps--entered {
  display: block;
}

/* temporary fix to match .rcEntryButton-status--entered style */
.rcEntryButton-status--selected .rcEntryButton-button {
  background: #f3f3f3 !important;
  border-color: #f3f3f3 !important;
  color: #717171 !important;
  font-style: normal;
  font-weight: normal;
  height: 48px;
  -webkit-box-shadow: none;
  box-shadow: none;
  opacity: 1;
}

.gsp-stamps .rcEntryButton-button{
  width: 100%;
}

.gsp-stampcard__multi {
  background-image: url('https://r.r10s.jp/evt/event/genre/store-pointup/202510/_cmn/img/stampcard/bg_multi_green.png');
  padding-top: 15px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  /* related to background image*/
  aspect-ratio: 601 / 213;
  max-width: 601px;
  max-height: 213px;
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0 auto;
}

.gsp-stampcard__multiplier {
  background: #d1bda2;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 8px 8px 6px;
  border-radius: 50%;
  height: 55px;
  width: 55px;
}

.gsp-stampcard__multiplier .gsp-stampcard__num {
  vertical-align: baseline;

filter: brightness(0) invert(1);
}

.gsp-stampcard__multiplier .gsp-stampcard__suffix {
  color: #fff;
  font-size: 16px;
  font-family: "RakutenSansJP_W_Bold", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "Meiryo", "メイリオ", sans-serif;
  align-self: flex-end;
  line-height: 0.6;
  margin: 0;
  height: 1.4em;
  top: -2px;
  position: relative;
}
.gsp-stampcard__multiplier .gsp-stampcard__suffix em{

  font-size: 8px;
  width: 2em;
  display: inline-block;
  font-style: normal;
}
.gsp-stampcard__multiplier.gsp-stampcard__multiplier--active .gsp-stampcard__suffix {
  font-size: 24px;
  line-height: 0.6;
  position: relative;
  left: -3px;
  top: -2px;
}
.gsp-stampcard__multiplier.gsp-stampcard__multiplier--active .gsp-stampcard__suffix em{
  font-size: 12px;
}

@media only screen and (min-width:768px){
.gsp-stampcard__multiplier.gsp-stampcard__multiplier--active .gsp-stampcard__suffix {
  font-size: 20px;
  line-height: 0.6;
  height:1.5em;
  top: 0px;
}
/* .gsp-stampcard__multiplier .gsp-stampcard__suffix{
  top:0px;
} */
.gsp-stampcard__multiplier.gsp-stampcard__multiplier--active .gsp-stampcard__suffix em{
  font-size: 10px;
}  
}

.gsp-stampcard__divider {
  margin: 0 8px;
  font-size: 20px;
  font-weight: bold;
  color: #d1bda2;
}

.gsp-stampcard__divider--active {
  color: #ed412d;
}

.gsp-stampcard__multiplier--active {
  padding: 7px 7px 7px 4px;
  background: #ed412d;
  height: 70px;
  width: 70px;
}

@media screen and (min-width: 768px) {
  .gsp-stampcard__multiplier {
    height: 37px;
    width: 40px;
    padding: 8px 8px 8px 4px;
  }

  .gsp-stampcard__multiplier--active {
    padding:10px;
    height: 50px;
    width: 50px;
  }
}

.gsp-stampcard__details {
  display: flex;
  flex-direction: column;
}

.gsp-notice {
  background-color: #b3e6ef;
  font-size: 18px;
  font-weight: bold;
  color: #005ba9;
  border-radius: 12px;
  padding: 16px 8px;
  text-align: center;
  margin: 15px 0 0 0;
}

.gsp-notice__subtitle {
  font-size: 16px;
  margin: 0 0 10px 0;
}

.gsp-notice__title {
  font-size: 20px;
  margin: 0;
}

.gsp-notice__description {
  margin: 10px 0 0 0;
  font-size: 14px;
  font-weight: bold;
  color: #333;
  letter-spacing: -0.6px;
}
@media screen and (min-width: 768px) {
  .gsp-notice__description {
    letter-spacing: -0.6px;
  }
}

.gsp-notice--pink {
  background-color: #ffd2d2;
  color: #ed412d;
}

.gsp-checkbox {
  display: block;
  text-align: center;
  margin: 10px 0;
}

.gsp-checkbox__label {
  /* display: inline; */
  align-items: center;
  position: relative;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  box-sizing: border-box;
  margin: 10px 0 0 0;
  text-align: left;
  display: block;
  text-indent: -3em;
  padding-left: 3em;
}

@media screen and (min-width: 768px) {
  .gsp-checkbox__label {
    text-indent: -29px;
    padding-left: 29px;
  }
}

.gsp-checkbox__input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.gsp-checkbox__input:checked ~ .gsp-checkbox__check {
  background-color: red;
  border-color: red;
}
.gsp-checkbox__input:checked ~ .gsp-checkbox__check:after {
  display: block;
}
.gsp-checkbox__label .gsp-checkbox__check {
  appearance: none;
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 0 4px 0 0;
  background-color: #fff;
  border: 2px solid #ebebeb;
  border-radius: 3px;
  vertical-align: top;
  outline: none;
}

.gsp-checkbox__label .gsp-checkbox__check:after {
  content: '';
  position: absolute;
  display: block;
  width: 5px;
  height: 10px;
  top: 3px;
  left: 6px;
  border: solid white;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
}

.gsp-checkbox__label:hover .gsp-checkbox__input:not(:checked) ~ .gsp-checkbox__check {
  background-color: #ccc;
}

@media (hover: none) {
  .gsp-checkbox__label:hover .gsp-checkbox__input:not(:checked) ~ .gsp-checkbox__check {
    background-color: #fff;
  }
}

.gsp-navigation {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
}

@media screen and (min-width: 768px) {
  .gsp-navigation {
    grid-gap: 12px;
    grid-column-gap: 14px;
  }
  .gsp-navigation__link {
    min-height: 47px;
    letter-spacing: -0.1px;
  }
}

.gsp-navigation__link {
  display: inline-flex;
  font-size: 12px;
  min-height: 65px;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-weight: bold;
  color: #333;
  background: none;
  padding: 5px;
  border: 0;
  text-decoration: none;
  border: 1px solid #333;
  border-radius: 8px;
  background: #fff;
}

.gsp-navigation__link span{
  width: 100%;
  margin-right: -12px;
}

.gsp-navigation__link:hover {
  text-decoration: none;
}

.gsp-navigation__title {
  grid-column: span 2;
  width: 100%;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  flex: 0 0 100%;
}

@media screen and (min-width: 768px) {
  .gsp-navigation__title {
    font-size: 14px;
  }

}
