/* eventinformation */

.table tbody tr th {
  min-width: 180px;
}
.button-text {
  margin: 0 0 0.5em;
  font-size: 0.9em;
}
.button-disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}
.list-cast {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cast-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5em 1em;
  padding: 0.6em 0;
}
.cast-item:last-child {
  border-bottom: none;
}
.cast-name {
  font-weight: 500;
}
.cast-sns {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}
.cast-sns a {
  display: inline-block;
  line-height: 0;
}
.cast-sns-icon {
  display: block;
  height: 22px;
  width: auto;
  vertical-align: middle;
}
.heroimage-copy {
  line-height: 0;
}
.heroimage-copy img {
  display: block;
  max-width: 1000px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  vertical-align: top;
}
/* ボタン下・4枚：SPは2列、PCは1列 */
.fv-photos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 1.5rem;
}
.fv-photos-item {
  margin: 0;
  line-height: 0;
  flex: 0 0 calc((100% - 12px) / 2);
  box-sizing: border-box;
}
.fv-photos-item img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
@media (min-width: 769px) {
  .fv-photos-grid {
    gap: 16px;
    margin-top: 2rem;
  }
  .fv-photos-item {
    flex: 0 0 calc((100% - 48px) / 4);
  }
}
.fv-photos-grid-3-2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.fv-photos-item-3-2 {
  margin: 0;
  line-height: 0;
  flex: 0 0 calc((100% - 16px) / 2);
  box-sizing: border-box;
}
@media (min-width: 600px) {
  .fv-photos-item-3-2 {
    flex: 0 0 calc((100% - 32px) / 3);
  }
}
.fv-photos-item-3-2 img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}
/* card-img アスペクト1:1 */
.card-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* contents-img アスペクト比 300x213.75 */
.contents-img {
  aspect-ratio: 300 / 213.75;
  overflow: hidden;
}
.contents-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media screen and (max-width: 768px) {
  .contents-img {
    display: flex;
    justify-content: center;
    width: 100%;
  }
}
@media screen and (min-width: 769px) {
  .contents-img img {
    width: 380px;
    object-fit: cover;
  }
}

/* システム：1個目以外の画像に薄いピンクのオーバーレイ（1個目は元からピンクがかっているため） */
.section.system .list-system-item:not(:first-child) .contents-img {
  position: relative;
}
.section.system .list-system-item:not(:first-child) .contents-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(197, 107, 124, 0.5);
  pointer-events: none;
}

/* Organizer セクション：画像を固定幅にして文字が潰れないようにする */
.section.organizer .contents .organizer-img {
  margin: 0;
  line-height: 0;
  flex-shrink: 0;
  width: 200px;
  min-width: 200px;
}
.organizer-img img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  vertical-align: top;
}
@media screen and (min-width: 769px) {
  .section.organizer .contents .organizer-img {
    width: 380px;
    min-width: 380px;
  }
}
@media screen and (max-width: 768px) {
  .section.organizer .contents .organizer-img {
    width: 100%;
    min-width: 0;
    max-width: 280px;
    display: flex;
    justify-content: center;
    margin: 0 auto;
  }
}

/* 奇妙区のみ：アスペクト比 380:200 */
.section.organizer .organizer-img--kimyouku {
  aspect-ratio: 380 / 200;
  overflow: hidden;
}
.section.organizer .organizer-img--kimyouku img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media screen and (max-width: 768px) {
  .section.organizer .organizer-img--kimyouku {
    max-width: 280px;
    aspect-ratio: 380 / 200;
  }
}

/* 追従CTA：売り出し前はグレーアウト＋販売開始日表示 */
.cta .cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.cta-button-text {
  margin: 0;
  font-size: 0.75rem;
  color: #666;
  white-space: nowrap;
  text-shadow: 0 0 2px #fff, 0 0 4px #fff, 0 1px 2px #fff, 1px 0 2px #fff, -1px 0 2px #fff, 0 1px 2px #fff, 0 -1px 2px #fff;
}
@media screen and (max-width: 768px) {
  .cta-button-text {
    font-size: 0.7rem;
    white-space: normal;
    text-align: center;
  }
}
