/* Opaque yellow, slow color movement, no ornamental patterns or shadows. */
.event-section h2 {
  font-size: clamp(48px, 6vw, 78px);
  letter-spacing: -.035em;
}
.event-section .section-description { color: #c6c6bc; }
.event-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #101008;
  background: linear-gradient(115deg, #f2b91f 0%, #ffdf00 23%, #fff5ae 48%, #ffe000 72%, #f6c82c 100%);
  background-color: #ffe000;
  background-size: 220% 220%;
  background-position: 15% 50%;
  animation: event-yellow-flow 12s ease-in-out infinite alternate;
  margin-top: 45px;
  border: 1px solid #fff2a0;
  border-radius: 16px;
  padding: 34px 44px 35px;
}
.event-card:before, .event-card:after { content: none; }
.event-top { display: flex; justify-content: center; }
.event-card .tag {
  padding: 6px 16px;
  border: 1px solid #34330980;
  border-radius: 50px;
  font-size: 11px;
  letter-spacing: .04em;
}
.event-number {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 3vw, 44px);
  font-family: var(--title);
  font-size: clamp(62px, 7.8vw, 112px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.035em;
  margin: 50px auto 28px;
  white-space: nowrap;
}
.event-number .event-term,
.event-number .event-term b,
.event-number .event-term>span {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin: 0;
}
.event-number .event-term {
  position: relative;
  display: inline-flex;
  align-items: baseline;
}
.event-number i {
  font-family: var(--body);
  font-size: .52em;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0;
}
.event-number small {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 10px;
  border-radius: 4px;
  background: #151509;
  color: #fff3a3;
  font-family: var(--body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 1.4;
}
.event-card h3 {
  font-family: var(--title);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 13px;
  line-height: 1.45;
}
.event-card h3 em { font-style: normal; }
.event-description { font-size: 14px; line-height: 1.8; }
.event-card .button {
  position: relative;
  margin-top: 26px;
  border-radius: 6px;
  gap: 36px;
  padding-inline: 26px;
}
.event-note {
  color: #37330e;
  font-size: 11px;
  line-height: 1.8;
  margin: 24px auto 0;
  max-width: 880px;
}
@keyframes event-yellow-flow {
  from { background-position: 15% 50%; }
  to { background-position: 85% 50%; }
}
@media(max-width:1000px) {
  .event-card { padding: 30px 28px; }
  .event-number { font-size: clamp(60px, 8.2vw, 82px); gap: 25px; }
}
@media(max-width:640px) {
  .event-section h2 { font-size: 48px; }
  .event-section .section-description { font-size: 13px; }
  .event-card { padding: 25px 16px 27px; margin-top: 30px; border-radius: 12px; }
  .event-card .tag { font-size: 10px; padding: 5px 13px; }
  .event-number { font-size: clamp(33px, 9.8vw, 59px); gap: 12px; margin: 49px auto 24px; }
  .event-number small { font-size: 8px; padding: 3px 7px; top: -22px; }
  .event-card h3 { font-size: 21px; margin-bottom: 12px; }
  .event-description { font-size: 12px; }
  .event-card .button { margin-top: 23px; font-size: 12px; }
  .event-note { font-size: 10px; margin-top: 22px; }
  .event-note br { display: none; }
}
@media(max-width:360px) {
  .event-number { font-size: 9.4vw; gap: 9px; }
  .event-card h3 { font-size: 19px; }
  .event-description { font-size: 11px; }
}
@media(prefers-reduced-motion:reduce) {
  .event-card { animation: none; background-position: 50% 50%; }
}
