.site-body:has(.coupon-list) {
  background: #ace5d34f;
}
.coupon-wrap:not(:has(.coupon-list.--recommend)) {
  width: 80%;
  margin-inline: auto;
}
.coupon-list-title {
  margin-top: 64px;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 32px;
}
.coupon-list-title:has(+ .coupon-list.--recommend) {
  background: #d8b116;
}
.coupon-list {
  margin-block: 48px;
  margin-bottom: 128px;
  display: grid;
  grid-template-columns: 100%;
  row-gap: 54px;
  column-gap: 16px;
}
.coupon-list.--recommend {
}
.coupon-item {
  background: #fff;
  padding: 48px 32px;
  border-radius: 16px;
}
.coupon-list.--recommend .coupon-item {
  border: 3px solid #f0cf21;
}
.coupon-item-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 32px;
}
.coupon-item-microcopy {
  text-align: center;
  font-size: 18px;
  color: #d8b116;
  font-weight: bold;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.coupon-item-microcopy::before,
.coupon-item-microcopy::after {
  color: #d8b116;
}
.coupon-item-microcopy::before {
  content: "＼";
  margin-right: 8px;
}
.coupon-item-microcopy::after {
  content: "／";
  margin-left: 8px;
}
.coupon-item-img {
  margin-bottom: 32px;
  text-align: center;
  aspect-ratio: 468 / 60;
}
.coupon-item-contents {
  font-size: 26px;
  margin-bottom: 32px;
  text-align: center;
  font-weight: bold;
  color: #f1b298;
}
.coupon-item-row {
  display: grid;
  row-gap: 16px;
  padding: 32px;
  border-radius: 8px;
  border: 1px dashed #f1b298;
}
.coupon-item-code {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-align: center;
}
.coupon-item-copy {
  margin-inline: auto;
  width: fit-content;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-align: center;
  background: #f1b298;
  padding: 16px 32px 18px;
  border-radius: 8px;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.coupon-item-copy:hover {
  opacity: 0.6;
}
.coupon-item-limit {
  margin-block: 16px;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-align: center;
  color: #f04343;
}
.coupon-item-attention {
  display: grid;
  row-gap: 8px;
}
.coupon-item-attention span:first-child {
  margin-top: 32px;
  display: block;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}
.coupon-item-attention span:last-child {
  padding: 16px;
  background: #f8f8f8;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  height: 180px;
  overflow-y: auto;
}
.coupon-item-link {
  margin-top: 32px;
  margin-inline: auto;
  display: block;
  width: fit-content;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0.05em;
  background: #f1b298;
  padding: 16px 64px 18px;
  border-radius: calc(infinity * 1px);
  color: #fff;
  border: none;
  cursor: pointer;
  border: 1px solid #f1b298;
  transition: all 0.3s ease;
}
.coupon-list.--recommend .coupon-item-link {
  background: #d8b116;
  border-color: #d8b116;
}
.coupon-item-link:where(:any-link, :enabled, summary):hover {
  background: #fff;
  border-color: #f1b298;
  color: #f1b298;
}
.coupon-list.--recommend .coupon-item-link:where(:any-link, :enabled, summary):hover {
  background: #fff;
  border-color: #d8b116;
  color: #d8b116;
}
@media screen and (max-width: 1024px) {
  .coupon-list {
    grid-template-columns: 100%;
  }
}
@media screen and (max-width: 768px) {
  .coupon-wrap:not(:has(.coupon-list.--recommend)) {
    width: 90%;
  }
  .coupon-list-title {
    font-size: 24px;
  }
  .coupon-list {
    margin-top: 32px;
    margin-bottom: 64px;
    grid-template-columns: 100%;
    row-gap: 32px;
  }
  .coupon-item-title {
    font-size: 20px;
    margin-bottom: 24px;
  }
  .coupon-item {
    padding: 32px 18px;
    border-radius: 8px;
  }
  .coupon-item-microcopy {
    font-size: 14px;
  }
  .coupon-item-img {
    margin-bottom: 24px;
    aspect-ratio: 375 / 48;
  }
  .coupon-item-row {
    padding: 24px 20px;
    border-radius: 4px;
  }
  .coupon-item-contents {
    font-size: 20px;
  }
  .coupon-item-code {
    font-size: 18px;
    display: flex;
    flex-direction: column;
  }
  .coupon-item-copy {
    font-size: 16px;
    padding: 12px 16px 14px;
  }
  .coupon-item-limit {
    font-size: 12px;
  }
  .coupon-item-attention span:first-child {
    margin-top: 16px;
    font-size: 16px;
  }
  .coupon-item-attention span:last-child {
    font-size: 14px;
  }
  .coupon-item-link {
    font-size: 14px;
    padding: 12px 24px 14px;

  }
  .coupon-list.--recommend .coupon-item-link {
    font-size: 16px;
  }
}