.list-header {
  background: #fff;
}

.page-trackrecord .page-hero__bg {
  background-position: center 70%;
}

.tr-archive {
  background: #fff;
  font-family: "Noto Sans JP", "Noto Sans", system-ui, sans-serif;
}

.tr-archive__inner {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 80px;
}

.tr-tabs {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin: 0 0 42px;
}

.tr-tab {
  width: 225px;
  height: 60px;
  border: 1px solid #8b1e1e;
  background: #8b1e1e;
  color: #fff;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 0.04em;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.tr-tab:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.tr-tab.is-active {
  opacity: 1;
}

.tr-note {
  font-size: 20px;
  color: #333;
  margin: 0 0 34px;
}

.tr-grid {
  display: grid;
  grid-template-columns: repeat(3, 400px);
  gap: 40px;
  justify-content: center;
}

.tr-card2 {
  width: 380px;
  height: 420px;
}

.tr-card2__link {
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid #bfbfbf;
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.tr-card2__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
}

.tr-card2__media {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #eee;
}

.tr-card2__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tr-card2__body {
  padding: 10px 18px 16px;
  display: flex;
  flex-direction: column;
}

.tr-card2__name {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #222;
  line-height: 1.5;
  height: calc(1.5em * 2); /* 2行固定 */

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;

  overflow: hidden;
}

.tr-card2__line {
  width: 340px;
  height: 1px;
  background: #8b1e1e;
  margin: 0 0 8px;
}

.tr-card2__tags {
  display: flex;
  gap: 10px;
  margin: 0 0 12px;
  flex-wrap: wrap;
  margin-top: auto;
}

.tr-tag {
  height: 32px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #8b1e1e;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  border-radius: 2px;
  white-space: nowrap;
}

.tr-card2__meta {
  margin: 0;
  font-size: 16px;
  color: #222;
}

.tr-meta {
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 10px;
  align-items: start;
  margin: 0 0 6px;
}

.tr-meta:last-child {
  margin-bottom: 0;
}

.tr-meta__dt {
  margin: 0;
  font-weight: 700;
}

.tr-meta__dd {
  margin: 0;
}

.tr-url {
  word-break: break-all;
}

.tr-pager {
  padding: 30px;
  margin-top: 34px;
}

.tr-card2.is-hidden {
  display: none;
}

.tr-tab,
.tr-tab:visited,
.tr-tab:hover,
.tr-tab:focus,
.tr-tab:active {
  color: #fff;
  text-decoration: none;
}

@media (max-width: 767px) {
  .list-header {
    display: none;
  }

  .tr-archive__inner {
    width: calc(100% - 32px);
    margin: 0 auto;
    padding: 28px 0 56px;
  }

  .tr-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: min(360px, 100%);
    margin: 0 auto 18px;
  }

  .tr-tab {
    width: 100%;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    line-height: 1;
    border-radius: 0;
  }

  .tr-note {
    font-size: 10px;
    line-height: 1.6;
    margin: 0 0 16px;
    text-align: center;
  }

  .tr-grid {
    grid-template-columns: 1fr;
    justify-content: center;
    gap: 16px;
  }

  .tr-card2 {
    width: 220px;
    height: 230px;
    margin: 0 auto;
  }

  .tr-card2__link {
    width: 100%;
    height: 100%;
  }

  .tr-card2__media {
    height: 98px;
  }

  .tr-card2__body {
    padding: 5px 10px 5px;
  }

  .tr-card2__name {
    font-size: 11px;
    margin: 0 0 6px;
  }

  .tr-card2__line {
    width: 100%;
    margin: 0;
  }

  .tr-card2__tags {
    gap: 6px;
    margin: 5px 0 6px;
  }

  .tr-tag {
    width: auto;
    height: 17px;
    padding: 0;
    font-size: 10px;
    font-weight: 400;
    border-radius: 0;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    color: #fff;
    background: #8b1e1e;
    border-radius: 2px;
    width: auto;
    white-space: nowrap;
    padding: 2px;
  }

  .tr-card2__meta {
    font-size: 11px;
  }

  .tr-meta {
    grid-template-columns: 40px 1fr;
    column-gap: 6px;
    margin: 0 0 3px;
  }

  .tr-url {
    display: inline-block;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
  }

  .tr-pager {
    padding: 16px 0 0;
    margin-top: 10px;
    text-align: center;
  }
}
