@charset "UTF-8";
/* ==========================================================
   抽選参加方法
   ========================================================== */
.prize {
  background-color: #fff;
  background-image: url(../img/bg_pattern.png);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}
.prize__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1312px;
  padding: calc(120 * var(--u)) 24px;
}
.prize__chip-wrap { display: flex; align-items: center; height: calc(70.6 * var(--u)); margin-bottom: calc(8 * var(--u)); }
.prize__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(18 * var(--u));
}
.prize__sparkle { flex-shrink: 0; width: calc(30 * var(--u)); }
.prize__title {
  isolation: isolate;
  color: var(--c-pink);
  font-family: var(--f-pop);
  font-size: calc(40 * var(--u));
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
}
.prize__num {
  position: relative;
  color: var(--c-purple);
}
.prize__num b {
  margin-right: .02em;
  font-family: var(--f-dela);
  font-size: 1.6em;
  font-weight: 400;
}
/* 「160名様」下の黄色マーカー */
.prize__num::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: .1em;
  bottom: .12em;
  height: .4em;
  background: var(--c-marker);
  transform: rotate(-3deg);
}
.prize__topfive {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: calc(14 * var(--u));
  width: 100%;
  max-width: calc(1034 * var(--u));
  min-height: calc(151 * var(--u));
  margin-top: calc(36 * var(--u));
  padding: calc(16 * var(--u)) calc(32 * var(--u));
  border-radius: calc(18 * var(--u));
  background: var(--c-yellow);
}
.prize__topfive-title {
  color: var(--c-pink);
  font-family: var(--f-pop);
  font-size: calc(32 * var(--u));
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
}
.prize__topfive-title img {
  position: absolute;
  top: calc(23.36 * var(--u));
  left: calc(17.5 * var(--u));
  width: calc(30 * var(--u));
}
.prize__topfive-title img:last-child { left: auto; right: calc(8.5 * var(--u)); }
.prize__topfive-text { font-size: calc(20 * var(--u)); line-height: 1.5; text-align: center; white-space: nowrap; }

.prize-box {
  width: 100%;
  margin-top: calc(35 * var(--u));
  padding: clamp(16px, calc(24 * var(--u)), 24px);
  border-radius: 20px;
  background: var(--c-pink);
}
.prize-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, calc(24 * var(--u)), 24px);
}
.prize-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: calc(420 * var(--u));
  padding: clamp(14px, calc(24 * var(--u)), 24px) clamp(10px, calc(12 * var(--u)), 12px);
  border-radius: 20px;
  background: #fff;
  filter: drop-shadow(0 8px 0 rgba(158, 0, 69, .25));
}
.prize-illust {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 300 / 170;
  container-type: inline-size;
  background: url(../img/prize_bg.svg) center / 100% 100% no-repeat;
}
.prize-illust__clip { position: absolute; inset: 0; overflow: hidden; }
.prize-illust img { position: absolute; max-width: none; }
.prize-illust__book { left: 20.44%; top: 21.36%; width: 32.67%; }
.prize-illust__key { width: 35%; }
/* .prize-illust__quo { left: 18.56%; top: 23.71%; width: 62.99%; } */
.prize-illust__quo { 
  left: 22%; 
  top: 0%; 
  width: 58%; 
}
.prize-card__tag {
  position: absolute;
  top: -5.9%;
  left: -2.67%;
  padding: 1.33cqw 5.33cqw;
  border-radius: 6px;
  background: var(--c-yellow);
  box-shadow: 2px 3px 0 rgba(31, 37, 87, .2);
  color: var(--c-purple);
  font-family: var(--f-dela);
  font-size: 11.33cqw;
  font-weight: 400;
  line-height: 1.3;
  white-space: nowrap;
  transform: rotate(-6deg);
}
.prize-card__name {
  display: grid;
  align-content: center;
  min-height: 4.2em;
  font-size: clamp(13px, calc(24 * var(--u)), 24px);
  line-height: 1.4;
  text-align: center;
}
.prize-card__name em { color: var(--c-pink); font-style: normal; }
.prize-card__count {
  color: var(--c-navy);
  font-family: var(--f-pop);
  font-size: clamp(13px, calc(22 * var(--u)), 22px);
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
}
.prize-card__count b {
  margin-right: .19em;
  background: linear-gradient(transparent 70%, var(--c-marker) 70%, var(--c-marker) 90%);
  color: var(--c-purple);
  font-family: var(--f-dela);
  font-size: 2.9em;
  font-weight: 400;
}
/* C賞の注意書き（「・」の2行目以降を字下げ） */
.prize-card__notes {
  width: 100%;
  max-width: 380px;
  margin-top: 4px;
  font-size: clamp(11px, calc(13 * var(--u)), 13px);
  font-weight: 500;
  line-height: 1.6;
}
.prize-card__notes li { padding-left: 1em; text-indent: -1em; }
.prize-card__notes li + li { margin-top: 2px; }

.prize-box__note {
  margin-top: 24px;
  color: #fff;
  font-size: clamp(12px, calc(22 * var(--u)), 22px);
  line-height: 1.5;
  text-align: center;
}

.pz-brown { --cx: 174.5; --cy: 162.5; --w: 269; }
.pz-snow { --cx: 1236.5; --cy: 146.5; --w: 265; }

@media (max-width: 767.98px) {
  .prize__inner { max-width: calc(375 * var(--u)); padding: calc(72 * var(--u)) calc(16 * var(--u)) calc(52 * var(--u)); }
  .prize__chip-wrap { height: auto; margin-bottom: calc(14 * var(--u)); }
  .prize__heading { gap: calc(4 * var(--u)); }
  .prize__sparkle { display: none; }
  .prize__heading .slash { width: calc(18 * var(--u)); }
  .prize__title { font-size: calc(20 * var(--u)); }
  .prize__num {
  position: relative;
  color: var(--c-purple);
}
.prize__num b {
  margin-right: .02em;
  font-family: var(--f-dela);
  font-size: 1.6em;
  font-weight: 400;
}
/* 「160名様」下の黄色マーカー */
.prize__num::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: .1em;
  bottom: .12em;
  height: .4em;
  background: var(--c-marker);
  transform: rotate(-3deg);
}
.prize__topfive {
    max-width: none;
    margin-top: calc(22 * var(--u));
    padding: calc(12 * var(--u));
    gap: calc(6 * var(--u));
    border-radius: 14px;
  }
  .prize__topfive-title { display: flex; align-items: center; gap: calc(3 * var(--u)); font-size: calc(16.5 * var(--u)); }
  .prize__topfive-title img,
  .prize__topfive-title img:last-child { position: static; width: calc(14 * var(--u)); }
  .prize__topfive-text { font-size: calc(14 * var(--u)); text-align: center; white-space: normal; }
  .prize-box { margin-top: calc(22 * var(--u)); padding: 16px; }
  .prize-list { grid-template-columns: 1fr; gap: 16px; }
  .prize-card { min-height: 0; padding: 18px 16px 16px; gap: 8px; }
  .prize-illust { max-width: calc(280 * var(--u)); }
  .prize-card__name { min-height: 0; font-size: calc(18 * var(--u)); line-height: 1.5; }
  .prize__topfive-text br { display: none; }
  .prize__topfive-title { text-align: center; }
  .prize-card__count { font-size: calc(18 * var(--u)); }
  .prize-card__count b { font-size: 2.8em; }
  .prize-card__notes { max-width: calc(280 * var(--u)); font-size: calc(12 * var(--u)); }
  .prize-box__note { margin-top: 16px; font-size: calc(13 * var(--u)); line-height: 1.6; text-align: left; }

  .pz-brown { --cx: 62; --cy: 44; --w: 104; }
  .pz-snow { --cx: 314; --cy: 42; --w: 104; }
}
