/*----- リスト基本設定 -----*/
.record {
  display: flex;
  padding: 25px 15px;
  border-bottom: 1px solid var(--border);
  width: 100%;
  font-size: 0.9rem;
  column-gap: 20px;
}

.record li {
  align-items: center;
}

.record.heading {
  padding: 0 15px 2px;
  color: var(--gray4);
}

.record.heading li {
  font-size: 0.7rem;
}

.stat,
.btn {
  justify-content: center;
  width: 70px;
  text-align: center;
}

.rows {
  width: calc(100% - 180px);
  flex-wrap: wrap;
}

.btn img {
  display: block;
  width: 25px;
}

/*----- リストリンク -----*/
.record .btn a img {
  transition: filter 0.5s;
}

.record .btn a:hover img {
  filter: brightness(1.5);
}

/*各ステイタス基本*/
.stat::before {
  display: block;
  width: 100%;
  font-size: 0.7rem;
  text-align: center;
  line-height: 1;
  padding: 6px 0 5px;
  border-radius: 5px;
}

/*----- レコードがない時用 -----*/

.no_record {
  display: flex;
  align-items: center;
  padding: 25px 15px;
  width: 100%;
  font-size: 1rem;
  gap: 10px;
}

.no_record img {
  width: 40px;
}

@media only screen and (max-width: 768px) {
  body.top section {
    gap: 15px;
  }

  .record {
    flex-wrap: wrap;
    padding: 0;
    border-bottom: none;
    font-size: 0.85rem;
    column-gap: 0;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
  }

  .heading {
    display: none;
  }

  .stat {
    width: 100%;
  }

  .stat::before {
    border-radius: 10px 10px 0 0;
  }

  .rows {
    width: calc(100% - 50px);
    flex-wrap: wrap;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
  }

  .rows span {
    width: 100% !important;
  }

  .btn {
    width: 45px;
  }

  /*----- レコードがない時用 -----*/

  .no_record {
    flex-direction: column;
    padding: 25px 0;
    width: 100%;
    font-size: 1rem;
    gap: 10px;
  }

  .no_record img {
    width: 40px;
  }
}
