@charset "UTF-8";
.image_posts_includes_image_post_list_multi_files_mark {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 1;
  display: flex;
  gap: 2px;
  align-items: center;
  padding: 0 6px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}
.image_posts_includes_image_post_list_multi_files_mark_icon {
  width: 10px;
  height: 10px;
  margin-top: 1px;
}
.image_posts_includes_image_post_list_multi_files_mark_count {
  font-size: 10px;
  font-weight: bold;
  color: #ffffff;
}

.events_ai_fantasy_country_header {
  max-width: 1440px;
  margin: auto;
  background: #000;
}
.events_ai_fantasy_country_video_wrapper {
  position: relative;
  width: 100%; /* 親要素の幅いっぱいに広げる */
  padding-top: 50%; /* 縦横比を1:2に保つためのトリック */
  overflow: hidden;
}
.events_ai_fantasy_country_video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.events_ai_fantasy_country_header_image {
  display: block;
  width: 100%;
}
.events_ai_fantasy_country_header_text {
  position: absolute;
  right: 1rem;
  bottom: 3rem;
  display: flex;
  align-items: center;
  font-family: Lora, serif;
  color: #ffffff;
  text-shadow: 0 0 10px rgb(0, 0, 0);
}
.events_ai_fantasy_country_header_text_catchphrase {
  font-size: 1.5rem;
}
.events_ai_fantasy_country_header_text_country_name {
  font-size: 2.5rem;
}
.events_ai_fantasy_country_top_section {
  color: #ffffff;
  background: #171717;
}
.events_ai_fantasy_country_top_section_bgm {
  display: flex;
  gap: 24px;
  align-items: center;
  font-family: Lora, serif;
}
.events_ai_fantasy_country_top_section_bgm_audio {
  max-height: 40px;
}
.events_ai_fantasy_country_top_section_bgm_name {
  display: flex;
  gap: 16px;
}
.events_ai_fantasy_country_description {
  font-family: Lora, serif;
}
.events_ai_fantasy_country_stats_block_list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.events_ai_fantasy_country_stats_block_list_item {
  padding: 2rem;
  text-align: center;
  border: 1px solid #dbdbdb;
}
.events_ai_fantasy_country_stats_block_list_item_title {
  font-size: 1rem;
  white-space: nowrap;
}
.events_ai_fantasy_country_stats_block_list_item_value {
  font-size: 1.2rem;
  font-weight: bold;
  white-space: nowrap;
}
.events_ai_fantasy_country_stats_block_list_item_points {
  display: flex;
}
.events_ai_fantasy_country_stats_block_point {
  min-width: 160px;
}
.events_ai_fantasy_country_stats_block_point--center {
  min-width: 208px;
  padding: 0 24px;
  margin: 0 24px;
  border-right: 1px solid #dbdbdb;
  border-left: 1px solid #dbdbdb;
}
.events_ai_fantasy_country_stats_block_list_item_topics_link {
  display: block;
  padding: 24px 32px;
  color: #ffffff;
  text-align: center;
  text-decoration: underline;
  border: 3px solid #ffffff;
}
.events_ai_fantasy_country_stats_block_list_item_topics_link:hover {
  color: #ffffff;
  opacity: 0.8;
}
.events_ai_fantasy_country_stats_block_list_discord_icon {
  display: block;
  width: 3rem;
  margin: auto auto 0.5rem;
}
.events_ai_fantasy_country_mission_list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #ffffff;
  list-style: none;
}
.events_ai_fantasy_country_mission {
  display: flex;
}
.events_ai_fantasy_country_mission_number {
  flex-shrink: 0;
  margin-right: 16px;
}
.events_ai_fantasy_country_mission_link {
  color: #ffffff;
  text-decoration: underline;
}
.events_ai_fantasy_country_mission_link:hover {
  color: #ffffff;
  opacity: 0.8;
}
.events_ai_fantasy_country_mission_tips {
  flex-shrink: 0;
  margin-left: 16px;
  font-size: 16px;
  font-weight: bold;
  color: #ffffff;
  text-decoration: underline;
}
.events_ai_fantasy_country_story_list {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}
.events_ai_fantasy_country_story_list_item {
  display: flex;
  gap: 1rem;
  align-items: start;
  width: calc(50% - 1.5rem);
}
.events_ai_fantasy_country_story_list_item_image {
  max-width: 180px;
  object-fit: contain;
}
.events_ai_fantasy_country_story_list_item_caption {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.events_ai_fantasy_country_ranking_list_item {
  position: relative;
  display: block;
}
.events_ai_fantasy_country_ranking_list_item_num {
  position: absolute;
  z-index: 10;
  width: 35px;
  height: 35px;
  font-weight: bold;
  line-height: 35px;
  color: #ffffff;
  text-align: center;
  background-color: #646464;
  border-top-left-radius: 2px;
}
.events_ai_fantasy_country_ranking_list_item_num_first {
  background-color: #e6b422;
}
.events_ai_fantasy_country_ranking_list_item_num_second {
  background-color: #c9caca;
}
.events_ai_fantasy_country_ranking_list_item_num_third {
  background-color: #b87333;
}
.events_ai_fantasy_country_tips_modal {
  display: none;
  font-family: Lora, serif;
}
.events_ai_fantasy_country_tips_modal.is-open {
  display: flex;
}
.events_ai_fantasy_country_tips_modal_overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 11;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
}
.events_ai_fantasy_country_tips_modal_container {
  width: 500px;
  max-width: 90%;
}
.events_ai_fantasy_country_tips_modal_heading {
  margin-bottom: 8px;
  font-weight: bold;
}

@media screen and (max-width: 1024px) {
  .events_ai_fantasy_country_stats_block_list {
    flex-direction: column;
    gap: 0;
    align-items: normal;
  }
  .events_ai_fantasy_country_stats_block_list_item {
    padding: 1rem;
  }
  .events_ai_fantasy_country_stats_block_list_item_title, .events_ai_fantasy_country_stats_block_list_item_value {
    font-size: 1rem;
  }
  .events_ai_fantasy_country_stats_block_list_item_points {
    justify-content: center;
    border-top: none;
  }
  .events_ai_fantasy_country_stats_block_point {
    min-width: unset;
  }
  .events_ai_fantasy_country_stats_block_point--center {
    padding-right: 1rem;
    padding-left: 1rem;
    margin: auto 0.5rem;
  }
  .events_ai_fantasy_country_stats_block_list_item_topics_link {
    width: fit-content;
    padding: 16px 24px;
    margin: 24px auto 0;
    text-decoration: unset;
  }
  .events_ai_fantasy_country_story_list_item {
    width: 100%;
  }
  .events_ai_fantasy_country_story_list_item_image {
    max-width: 120px;
  }
}
@media screen and (max-width: 768px) {
  .events_ai_fantasy_country_header_text {
    right: 0.4rem;
    bottom: 2rem;
  }
  .events_ai_fantasy_country_header_text_catchphrase {
    font-size: 1rem;
  }
  .events_ai_fantasy_country_header_text_country_name {
    font-size: 1.2rem;
  }
  .events_ai_fantasy_country_top_section_bgm {
    flex-direction: column;
  }
  .events_ai_fantasy_country_stats_block_list_item_title--total {
    font-weight: bold;
  }
  .events_ai_fantasy_country_stats_block_list_item_points {
    flex-direction: column;
    gap: 8px;
  }
  .events_ai_fantasy_country_stats_block_point--center {
    padding: unset;
    margin: unset;
    border: unset;
  }
}
