@charset "UTF-8";
:root {
  font-family: "Yu Gothic UI", "Meiryo", sans-serif;
  color: #222b42;
  background: #f4f6fa;
  font-size: 16px;
  --pink: #d82060;
  --line: #dde2ed;
  --muted: #616b80;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--pink);
}
button,
input,
select {
  font: inherit;
}
button,
select {
  cursor: pointer;
}
button {
  background: #232d45;
  color: white;
  border: 0;
  padding: 10px 18px;
  border-radius: 8px;
}
button:hover {
  background: #d82060;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #276de0;
  outline-offset: 4px;
}
header {
  background: #fff;
  border-top: 5px solid var(--pink);
  border-bottom: 1px solid var(--line);
  padding: 23px max(5vw, 20px);
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.site-nav,
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
}
.site-nav a,
footer nav a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 26px;
  font-weight: 800;
  color: var(--pink);
  flex-shrink: 0;
}
.brand span {
  color: #222b42;
  font-size: 20px;
}
.brand small {
  display: block;
  font-size: 11px;
  letter-spacing: 3px;
  margin-top: 4px;
  color: var(--muted);
}
header form {
  display: flex;
  gap: 10px;
  align-items: center;
  width: min(530px, 100%);
  background: #f4f6fa;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 5px 6px 5px 14px;
}
header form span {
  font-size: 28px;
}
header input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  padding: 9px 0;
  outline-offset: 0;
}
main {
  max-width: 1340px;
  padding: 38px 36px 64px;
  margin: auto;
}
main:has(> .ad-slot:not([hidden])) {
  max-width: 1640px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
}
.ad-slot:not([hidden]) {
  min-width: 300px;
  min-height: 250px;
}
@media (max-width: 900px) {
  main:has(> .ad-slot:not([hidden])) {
    display: block;
  }
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--pink);
  font-weight: 800;
  margin: 0 0 8px;
}
h1 {
  font-size: 32px;
  margin: 0;
  letter-spacing: 0.03em;
}
h2 {
  font-size: 21px;
  margin: 0 0 20px;
}
.intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 27px;
}
.intro p {
  color: var(--muted);
  margin: 10px 0 0;
}
.count {
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
}
.count small {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 8px;
}
.toolbar {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
label {
  font-size: 14px;
  color: var(--muted);
}
select {
  border: 1px solid #cbd2df;
  border-radius: 7px;
  background: white;
  padding: 10px 34px 10px 12px;
  margin-left: 10px;
  color: #222b42;
  max-width: 100%;
}
.meta {
  font-size: 13px;
  color: var(--muted);
}
.table-wrap {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  white-space: nowrap;
  text-align: left;
}
th {
  font-size: 12px;
  letter-spacing: 0.04em;
  background: #f9fafc;
  color: var(--muted);
  padding: 17px 14px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 19px 14px;
  border-bottom: 1px solid #edf0f5;
}
th:first-child,
td:first-child {
  padding-left: 24px;
}
tr:last-child td {
  border-bottom: 0;
}
.song-title {
  display: block;
  font-weight: 700;
  font-size: 16px;
  white-space: normal;
  min-width: 200px;
  line-height: 1.6;
}
.song-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.band {
  font-size: 13px;
  white-space: normal;
  min-width: 155px;
  max-width: 210px;
  border-left: 3px solid var(--band, #d82060);
  padding-left: 10px;
}
.tag {
  display: inline-block;
  font-size: 12px;
  border-radius: 5px;
  padding: 4px 8px;
  background: #fce7ef;
  color: #a41449;
  white-space: nowrap;
}
.tag.anime {
  background: #eaf0fd;
  color: #315ca6;
}
.tag.tie_up {
  background: #eee9fc;
  color: #7347aa;
}
.lv {
  font-size: 18px;
  font-weight: 750;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.diff-0 {
  color: #20784f;
}
.diff-1 {
  color: #2667a8;
}
.diff-2 {
  color: #926200;
}
.diff-3 {
  color: #c53550;
}
.diff-4 {
  color: #8654b6;
}
.blank {
  color: #a1a9b8;
}
.pagination {
  flex-wrap: wrap;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 25px;
}
.page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}
.page-numbers a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 4px;
  border: 1px solid #c5cbd8;
  border-radius: 6px;
  text-decoration: none;
}
.page-numbers a[aria-current="page"] {
  background: #8d2854;
  color: white;
  font-weight: bold;
}
.page-gap {
  align-self: center;
  padding: 4px;
}
.sort-controls {
  min-width: 0;
  flex: 1;
}
.sort-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.sort-buttons .sort-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 8px;
  background: white;
  color: #222b42;
  border: 1px solid #c5cbd8;
  min-height: 44px;
}
.sort-buttons .sort-link[aria-current="true"] {
  background: #8d2854;
  border-color: #8d2854;
  color: white;
}
.filters {
  display: block;
  width: 100%;
  padding: 18px;
  margin: 20px 0;
  border: 1px solid #d7dce5;
  border-radius: 12px;
  background: white;
}
.filters fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 14px;
  min-width: 0;
}
.filter-options {
  display: grid;
  gap: 8px;
}
.filter-types {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.filter-bands {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.filters legend {
  font-weight: bold;
  margin-bottom: 8px;
}
.filters label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  min-width: 0;
  padding: 10px;
  border: 1px solid #c5cbd8;
  border-radius: 8px;
  font-size: 14px;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.filters label:has(input:checked) {
  background: #fceaf2;
  border-color: #8d2854;
  color: #702043;
}
.filters label:focus-within {
  outline: 2px solid #8d2854;
  outline-offset: 2px;
}
.filters input {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  accent-color: #8d2854;
}
.simple-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
}
.simple-filters label {
  flex-direction: column;
  align-items: start;
  font-weight: 600;
}
.simple-filters input[type="search"],
.simple-filters select {
  flex: 1 1 auto;
  width: min(240px, 100%);
  min-height: 32px;
  padding: 4px 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.pagination [aria-disabled="true"] {
  opacity: 0.35;
  cursor: default;
}
.pagination > a,
.pagination > span,
.control-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid #c5cbd8;
}
.breadcrumbs {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.breadcrumbs li + li::before {
  content: "›";
  margin-right: 7px;
}
.breadcrumbs a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.game-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.game-cards .panel a {
  color: #8d2854;
  text-decoration: underline;
}
.detail-game {
  color: #c9d1e1;
  margin: 0 0 10px;
}
.panel p {
  line-height: 1.8;
}
.empty {
  padding: 65px 20px;
  text-align: center;
}
.back {
  display: inline-block;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 14px;
}
.detail-top {
  background: #222d46;
  color: white;
  border-radius: 14px;
  padding: 35px;
  border-left: 7px solid var(--band);
  margin-bottom: 25px;
}
.detail-top h1 {
  margin: 14px 0;
  font-size: 34px;
}
.detail-top .meta {
  color: #c9d1e1;
}
.detail-band {
  color: #e3e8f1;
  line-height: 1.7;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
}
.related-songs {
  margin-top: 24px;
}
.related-songs ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.related-songs li {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.related-songs li:last-child {
  border-bottom: 0;
}
.related-songs a {
  color: #3269b5;
  font-weight: 700;
}
.related-songs span {
  color: var(--muted);
  font-size: 13px;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
}
.panel table {
  white-space: normal;
}
.panel td,
.panel th {
  padding: 16px;
}
.panel h2 {
  border-bottom: 1px solid var(--line);
  padding-bottom: 17px;
}
dl {
  margin: 0;
}
dt {
  font-size: 13px;
  color: var(--muted);
  margin: 22px 0 7px;
}
dd {
  margin: 0;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
dd a,
.data-note a {
  color: #3269b5;
  text-decoration: underline;
}
.data-note {
  font-size: 13px;
  line-height: 1.9;
  margin-top: 25px;
  color: var(--muted);
}
.notice {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  margin: 16px 0;
}
.pill {
  display: inline-block;
  background: #e8f5ef;
  color: #21724e;
  border-radius: 6px;
  padding: 4px 9px;
  font-size: 13px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
footer {
  padding: 28px 25px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  font-size: 12px;
  line-height: 1.9;
}
@media (max-width: 800px) {
  .filter-bands {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .filters {
    padding: 12px;
  }
  .filter-types label {
    padding: 8px 4px;
    gap: 4px;
    font-size: 12px;
  }
  header {
    flex-direction: column;
    gap: 18px;
    padding: 18px 20px;
    align-items: stretch;
  }
  .brand {
    justify-content: center;
  }
  header form {
    width: 100%;
  }
  main {
    padding: 25px 16px 45px;
  }
  h1 {
    font-size: 26px;
  }
  .intro {
    align-items: start;
  }
  .intro p {
    font-size: 13px;
    line-height: 1.8;
  }
  .count {
    font-size: 30px;
    white-space: nowrap;
  }
  .toolbar {
    align-items: stretch;
    flex-direction: column;
    padding: 16px;
  }
  .toolbar label {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  select {
    margin: 0;
    width: 100%;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-top {
    padding: 24px;
  }
  .detail-top h1 {
    font-size: 27px;
  }
  .panel {
    padding: 20px;
  }
  td {
    padding: 15px 11px;
  }
  .song-title {
    min-width: 180px;
  }
  .table-wrap {
    border-radius: 8px;
  }
}
