:root {
  --color-primary: #ec0037;
  --color-crimson: #bf0000;
  --color-crimson-light: #d70000;
  --color-link: #0078b5;
}

.fes__kanban {
  background: linear-gradient(180deg, #ff7559 0%, #ec0037 43.27%, #fff 53.85%);
}

.fes__kanban-title {
  width: 400px;
  padding: 25px 0 14px;
  margin: 0 auto;
}

.fes__kanban-subtitle {
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  font-family: 'RakutenSansJP2_W-Bold', sans-serif;
  text-align: center;
  margin-bottom: 8px;
}

/* Swiper */
.fes__kanban-swiper {
  width: 750px;
  padding-bottom: 34px;
}

.fes__kanban-swiper-wrapper {
  transition-timing-function: linear;
}

.fes__kanban-swiper-slide {
  width: calc((100% - 64px) / 5);
}

.fes__kanban-swiper:not(.swiper-initialized):not(.fes__kanban-swiper--static) {
  visibility: hidden;
}

.fes__kanban-swiper--static .fes__kanban-swiper-wrapper {
  justify-content: center;
  width: 100%;
  gap: 16px;
  transform: none !important;
  transition: none !important;
  animation: none;
}

.fes__kanban-swiper--static .fes__kanban-swiper-slide {
  width: auto !important;
  margin-right: 0;
}

.fes__kanban-swiper-image {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4.5px 11.25px rgba(236, 59, 44, 0.5));
}

.fes__kanban-swiper--static .fes__kanban-swiper-image {
  max-width: 140px;
}

.fes__kanban-text {
  width: 960px;
  background: url('https://r.r10s.jp/evt/event/genre/festival/_cmn/img/20261004/kanban-coin-pc.png') center bottom / 100% no-repeat;
  text-align: center;
  padding-top: 34px;
  margin: -34px auto 0;
}

.fes__toggle {
  display: flex;
  flex-direction: column;
  align-items: end;
  margin-top: 16px;
}

.fes__toggle-btn {
  border: none;
  border-radius: 4px;
  background-color: #fff;
  cursor: pointer;
  padding: 0 7px;
  box-shadow: 1.361px 1.361px 10.884px 0 rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.fes__toggle-btn:hover {
  opacity: 0.8;
}

.fes__toggle-btn[aria-expanded='true'] .fes__toggle-chevron {
  transform: rotate(180deg);
}

.fes__toggle-text {
  position: relative;
  width: 284px;
  padding: 12px;
  margin-top: 14px;
  font-size: 14px;
  border-radius: 6px;
  background-color: #fff;
  box-shadow: 1.351px 1.351px 10.808px 0 rgba(0, 0, 0, 0.1);
}

.fes__toggle-text::before {
  content: '';
  position: absolute;
  top: -10px;
  right: 74px;
  width: 0;
  height: 0;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #fff;
  border-left: 10px solid transparent;
  filter: drop-shadow(1.801px 1.801px 14.411px rgba(0, 0, 0, 0.1));
}

.fes__toggle-link {
  display: inline-block;
  text-decoration: underline;
  margin-top: 4px;
}

.fes__entry {
  width: 720px;
  margin: 48px auto 32px;
  text-align: center;
}

.fes__entry-title {
  display: inline-flex;
  align-items: center;
  height: 40px;
  font-size: 20px;
  font-family: 'RakutenSansJP2_W-Bold', sans-serif;
  font-weight: bold;
  margin-bottom: 16px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 38px;
  padding-right: 38px;
  background-image: url('https://r.r10s.jp/evt/event/genre/festival/_cmn/img/20261004/entry-title-left.png'), url('https://r.r10s.jp/evt/event/genre/festival/_cmn/img/20261004/entry-title-right.png');
  background-position:
    left center,
    right center;
  background-repeat: no-repeat;
  background-size:
    30px 40px,
    30px 40px;
}

.fes__entry-button {
  width: 480px;
  margin: 0 auto;
}

.fes__entry-button button {
  width: 100%;
  height: 72px;
  background-color: #e20827;
  border: 1px solid #e20827;
}

.fes__entry-period {
  font-size: 14px;
  margin: 16px 0;
  color: #333;
}

.fes__entry-note {
  font-size: 12px;
  color: #333;
  margin-bottom: 16px;
  text-align: left;
}

.fes__entry-modal {
  width: 430px;
  margin: 16px auto 0;
}

.fes__entry-modal-btn {
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  background-color: #ffdd5a;
  box-shadow: 2px 4px 8px 0 rgba(0, 0, 0, 0.1);
  width: 100%;
  height: 50px;
  padding: 0;
}

.fes__entry-modal-btn:hover {
  opacity: 0.8;
  background-color: #ffdd5a;
}

.fes__entry-modal-title {
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px;
  border-bottom: 1px solid #ebebeb;
}

.fes__entry-modal-content {
  padding: 8px 54px 56px 54px;
  font-size: 16px;
}

.fes__entry-modal-content-attention {
  margin: 17px 0 24px;
  padding: 8px;
  border-radius: 4px;
  border: 1px solid var(--color-crimson-light);
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #fff;
}

.fes__entry-modal-content-attention-label {
  font-size: 22px;
  color: #717171;
  border-radius: 4px;
  border: 1px solid #717171;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  margin: 10px 0;
  padding: 4px 9px;
}

.fes__about {
  background-color: #ffe9e5;
}

.fes__about-inner {
  width: 100%;
  padding: 24px 0;
  margin-left: auto;
  margin-right: auto;
  min-width: 1024px;
  max-width: 1024px;
}

.fes__about-title {
  font-size: 24px;
  font-weight: bold;
  border-bottom: 4px solid var(--color-crimson);
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.fes__about-logo {
  display: flex;
  justify-content: center;
}

.fes__about-desc {
  width: 720px;
  background-color: #fff;
  padding: 8px;
  margin: 16px auto 0;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fes__event {
  padding: 32px 0 8px;
}

.fes__event-title {
  font-size: 16px;
  font-weight: bold;
  padding: 4px 0 4px 8px;
  border-left: 6px solid var(--color-crimson);
}

.fes__event-note {
  font-size: 12px;
  line-height: 1.4;
  color: #333;
  margin: 16px auto;
  width: 720px;
}

.fes__event-how {
  font-size: 12px;
  text-decoration: underline;
  padding: 0;
  border: none;
  color: var(--color-link);
}

.fes__event-card-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
}

.fes__event-card {
  display: block;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.3);
  margin-bottom: 24px;
}

a.fes__event-card:hover {
  opacity: 0.8;
  text-decoration: none;
}

.fes__event-card-body {
  color: #666;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  margin-top: 8px;
}

.fes__event-card-label-wrapper {
  display: flex;
  gap: 4px;
}

.fes__event-card-label {
  color: #fff;
  font-weight: bold;
  border-radius: 32px;
  background: #717171;
  padding: 4px 8px;
}

.fes__event-card-title {
  font-size: 14px;
  font-weight: bold;
  padding: 4px 0;
}

.fes__event-card-guide {
  display: flex;
  align-items: center;
  justify-content: end;
}

.fes__list {
  padding: 24px 0;
}

.fes__list-title {
  font-size: 14px;
  font-weight: bold;
  padding: 4px 0 4px 8px;
  border-left: 6px solid var(--color-crimson);
  margin-bottom: 16px;
}

.fes__list-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  padding: 16px 24px;
  border-radius: 6px;
  background: #fff3d5;
  box-shadow: 2px 4px 8px 0 rgba(0, 0, 0, 0.1);
}

.fes__list-content {
  display: flex;
  gap: 8px;
  padding: 8px 0;
  font-size: 13px;
}

.fes__list-content-genre {
  font-weight: bold;
  width: 130px;
}

.fes__list-content-items {
  color: var(--color-link);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fes__ranking {
  padding: 32px 0;
}

.fes__ranking-title {
  font-size: 24px;
  font-weight: bold;
  padding-bottom: 8px;
  border-bottom: 4px solid var(--color-crimson);
  margin-bottom: 20px;
}

.fes__ranking-tab-wrapper {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.fes__ranking-tab {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: 20px;
  border: 1px solid #ccc;
  background-color: #fff;
  flex: 0 0 auto;
  white-space: nowrap;
}

.fes__ranking-tab[aria-selected='true'] {
  color: #fff;
  border-color: var(--color-primary);
  background-color: var(--color-primary);
}

.fes__ranking-tab-wrapper::-webkit-scrollbar {
  display: none;
}

.fes__ranking-slide {
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #d3d3d3;
}

.fes__ranking-note {
  font-size: 12px;
  color: #333;
  margin: 16px auto 0;
  width: 720px;
}

.fes__keyword {
  background-color: #ffdbd4;
  padding: 24px 16px;
}

.fes__keyword-title {
  font-size: 24px;
  font-weight: bold;
  padding-bottom: 8px;
  border-bottom: 4px solid var(--color-crimson);
  margin-bottom: 32px;
}

.fes__keyword-form {
  border: 1px solid var(--color-primary);
  margin: 0 auto 16px;
  width: 688px;
}

.fes__keyword-form-submit {
  background-color: var(--color-primary);
}

.fes__keyword-attention {
  background: rgba(255, 255, 255, 0.5);
  padding: 16px;
  color: #333;
  font-size: 12px;
  width: 720px;
  margin: 0 auto;
}

.fes__keyword-attention-title {
  color: var(--color-crimson-light);
  font-size: 14px;
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.fes__keyword-attention-icon {
  margin-right: 4px;
  font-size: 15px;
}

.fes__keyword-attention-content {
  margin: 8px 0 12px;
  padding: 8px;
  border-radius: 4px;
  border: 1px solid var(--color-crimson-light);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  background-color: #fff;
}

.fes__keyword-attention-content-label {
  font-size: 14px;
  color: #717171;
  border-radius: 2px;
  border: 1px solid #717171;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  margin: 10px 0;
  padding: 3px 6px;
}

.fes__keyword-attention-detail {
  font-size: 12px;
  text-decoration: underline;
  padding: 0;
  margin: 0 auto;
  border: none;
  color: var(--color-link);
  display: block;
  background: transparent;
}

.fes__keyword-attention-detail:hover {
  background-color: transparent;
  text-decoration: underline;
  color: var(--color-link);
}

.fes__rule {
  margin: 96px 0 48px;
  padding: 0 32px;
}
