@charset "UTF-8";
@import url("/css/root.css");

h3 {
  text-align: center;
  margin: 20px 0;
  font-size: 2.6rem;
  color: var(--main-text-color);
}

@media screen and (max-width: 480px) {
  h3 {
    font-size: 1.8rem;
  }
}

.ai_list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

@media screen and (max-width: 768px) {
  .ai_list {
    grid-template-columns: auto;
  }
}

.ai_item {
  padding: 15px;
  border-radius: 5px;
  width: calc(50% - 10px);
  box-sizing: border-box;
  position: relative;
  border: solid 2px #e6e6e6;
  width: 100%;
  box-sizing: border-box;
  background-color: #ededed;
}

.ai_racename{
  font-weight: bold;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px;
  margin-bottom: 10px;
}

.ai_racename span{
  display: block;
}

.ai_racename span:first-child{
  background-color: #000;
  color: #fff;
  border-radius: 5px;
  padding: 0 8px;
  display: flex;
  align-items: center;
}

.ai_racename span:last-child{
  font-size: 1.8rem;
}

.ai_memo{
  margin-bottom: 10px;
}

.ai_kaime{
  background-color: #fff;
  border-radius: 5px;
  padding: 5px 10px;
  margin-top: 10px;
}

.ai_kaime::before{
  content: "";
  background-color: var(--key-color);
  width: 0.7em;
  height: 0.7em;
  border-radius: 50%;
  display:  inline-block;
  margin-right: 0.5em;
}