@charset "euc-jp";

.primary__inner {
  width: 860px;
}


/** ページ全体 **/
.stamprally {
  position: relative;
  box-sizing: border-box;
  padding: 18px 0 25px;
  background: url(https://assets.angel-live.com/common/event/img/stamprally_star_journey/bg_top.png) top no-repeat, url(https://assets.angel-live.com/common/event/img/stamprally_star_journey/bg_bottom.png) bottom no-repeat, url(https://assets.angel-live.com/common/event/img/stamprally_star_journey/bg_repeat.png) repeat-y;
}


/** タイトル部分 **/
.stamprally__title {
  text-align: center;
}

.stamprally__title-image {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0 auto;
}

/** 開催期間 **/
.stamprally__date {
  position: absolute;
  top: 294px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  text-align: center;
  color: #352f36;
  font-size: 16px;
  font-weight: bold;
  white-space: nowrap;
  min-width: 482px;
  letter-spacing: 0.05em;
}
.stamprally__date:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -2;
  border-radius: 6px;
  background: linear-gradient(to bottom, #1668c5 0%, #540adc 100%);
}
.stamprally__date:after {
  content: "";
  position: absolute;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  top: 6px;
  left: 6px;
  z-index: -1;
  border-radius: 5px;
  background: #ffe104;
}


/** スタンプラリー **/
.stamp-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 59px 15px;
  padding: 55px 0 45px;
}

/* 個別のスタンプ枠 */
.stamp-list__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stamp-list__item:nth-child(5n + 2),
.stamp-list__item:nth-child(5n + 4) {
  transform: translateY(15px);
}

/* スタンプの円形デザイン */
.stamp-list__thumbnail {
  width: 138px;
  height: 138px;
  border-radius: 50%;
  border: 4px solid #d4af37;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #444249;
  position: relative;
}
.stamp-list__thumbnail::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px #423044;
  z-index: 3;
  pointer-events: none; /
}
.stamp-list__item.is_locked .stamp-list__thumbnail::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  inset: 0;
  background-color: rgba(52, 1, 53, 0.3);
  z-index: 2;
}

.stamp-list__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.stamp-list__item.is_locked .stamp-list__image {
  width: 99px;
  height: 94px;
  object-fit: contain;
  border-radius: 0;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.5));
  position: relative;
  z-index: 1;
}

.stamp-list__badge {
  position: absolute;
  top: 0;
  left: -5px;
  width: 30px; 
  height: 30px;
  z-index: 10;       
  border-radius: 50%;
}

.stamp-list__item.is_locked .stamp-list__badge::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: rgba(52, 1, 53, 0.3); 
  z-index: 2;
}

.stamp-list__number {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  z-index: 1;
}

.stamp-list__summary {
  position: absolute;
  top: 133px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center; 
  z-index: 10;
}

.stamp-list__label {
  background-color: #270c48;
  color: #fff;
  font-size: 14px;
  margin-bottom: 3px;
  padding: 2px 4px;
  border-radius: 4px;
  z-index: 2;
  white-space: nowrap;
  border: 1px solid #d4af37;
  text-shadow: 0 0 3px rgba(255, 255, 61, 0.8);
}

.stamp-list__date {
  margin-left: 5px;
}

.stamp-list__bonus {
  position: relative;
  z-index: 1; 
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.stamp-list__bonus.is_received {
  cursor: default;
}

.stamp-list__item.is_locked .stamp-list__bonus::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(52, 1, 53, 0.3); 
  z-index: 2; 
  border-radius: 4px; 
  cursor: default;
}

.stamp-list__button {
  width: 150px; /* スタンプ枠より少し横幅を広くする */
  height: 35px;
  display: block;
}


/** イベント情報 **/
.event-detail {
  box-sizing: border-box;
  width: 783px;
  margin: 25px auto 20px;
  padding: 25px 20px;
  background: #191716;
  border-radius: 3px;
  box-shadow: 0 0 0 3px #ffffff, 0 0 0 7px #000000, 0 0 0 9px #fee52b;
  overflow: hidden;
  color: #fff;
}

.event-detail-item {
  padding: 25px 3px;
  border-top: 1px solid #666;
}
.event-detail-item:first-child {
  padding-top: 0;
  border-top: none;
}
.event-detail-item:last-child {
  padding-bottom: 0;
}

.event-detail__title {
  margin-bottom: 8px;
  line-height: 1;
  font-size: 14px;
  font-weight: bold;
  color: #fee52b;
}
.event-detail-data + .event-detail__title {
  margin-top: 25px;
}

.event-detail-data {
  font-size: 14px;
  line-height: 1.4;
}
.event-detail-data.is_term {
  font-weight: bold;
}

.event-detail-data__image {
  display: block;
  max-width: 100%;
}
.event-detail-data__image.is_price {
  margin-top: 10px;
  margin-bottom: 5px;
}

.event-detail-data-list {
  font-size: 12px;
  list-style-type: none;
  letter-spacing: 0.02em;
}

.event-detail-data-list-item {
  font-size: 14px;
  margin-top: 3px;
  padding-left: 1em;
  text-indent: -1em;
}
.event-detail-data-list-item:first-child {
  margin-top: 0;
}

.text.is_primary {
  font-weight: bold;
  color: #17d8ff;
}

.text.is_secondary {
  font-weight: bold;
  color: #ffff00;
}

.text.is_warning {
  color: #ff0000;
}


/** ポイント獲得ダイアログ **/
.stamprally-dialog-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;  
}

.stamprally-dialog__content {
  position: relative;
  width: 100%;
  background-color: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
  animation: fadeInModal 0.3s ease;
}
@keyframes fadeInModal {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.stamprally-dialog__image {
  width: 100%;
  height: auto;
  display: block;
}

.stamprally-dialog__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.stamprally-dialog__close {
  position: absolute;
  z-index: 2;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: inline-flex;
}

.stamprally-dialog__button {
  width: 376px;
  height: 58px;
  display: block;
}