.friendDiscount {
  position: relative;
  overflow: hidden;
  background: #ffdac1;
}

.friendBadge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 14px;
  border: 2px solid var(--d);
  background: var(--d);
  color: var(--y);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}

.friendDiscount > label {
  display: block;
  width: max-content;
}

.friendLead {
  max-width: 700px;
  font-size: 20px;
  font-weight: 900;
}

.friendCards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0 35px;
}

.friendCards article {
  position: relative;
  padding: 32px 24px;
  border: 2px solid var(--d);
  background: #fff;
  box-shadow: 7px 7px var(--d);
  text-align: center;
}

.friendCards article:nth-child(2) {
  background: var(--y);
}

.friendCards article:nth-child(3) {
  background: var(--m);
}

.friendCards h3 {
  margin: 0 0 18px;
  font-size: 22px;
}

.friendCards span {
  display: block;
  font-size: 13px;
  font-weight: 900;
}

.friendCards b {
  display: block;
  margin-top: 4px;
  font: 900 54px Arial Black, sans-serif;
}

.friendCards b small {
  margin-left: 4px;
  font: 900 16px "Noto Sans JP", sans-serif;
}

.friendCards em {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  border: 2px solid var(--d);
  background: var(--p);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.friendNotice {
  padding: 26px 30px;
  border: 2px solid var(--d);
  background: #fff;
  box-shadow: 5px 5px var(--d);
}

.friendNotice h3 {
  margin-top: 0;
}

.friendNotice ul {
  margin-bottom: 0;
  padding-left: 1.4em;
}

.friendNotice li {
  margin: 10px 0;
  line-height: 1.75;
  font-weight: 700;
}

@media (max-width: 800px) {
  .friendLead {
    font-size: 17px;
  }

  .friendCards {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .friendNotice {
    padding: 22px 20px;
  }
}
