@charset "UTF-8";
main{padding-top:10px;}
h2{font-size: clamp(2.6rem, calc(2.6rem + (3.0 - 2.6) * ((100vw - 740px) / (1200 - 740))), 3.0rem); color:#2e59a6;}

.kana {
  text-align: center;
  margin: 20px auto 0;
  max-width:1100px;
}
.kana ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  padding:0 15px;
}
.kana ul li{width:calc(100% / 6 - 12px);}
.kana a {
  border-radius: 4px;
  background: #eee;
  text-decoration: none;
}
.kana a.active {
  background: #333;
  color: #fff;
}

.titlelists {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; 
  padding:0 20px;
  margin-top:30px;
  justify-content:flex-start;
}
.itemtitle {font-weight: bold; font-size: 1.4rem; font-weight:800; margin-top: 3px; color: #2e59a6; text-align:left;}

.titlelists .itembox {
  width:calc(100% / 2 - 10px);
  text-align: center;
}
.titlelists .thumb img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.loadmore-btn {
  display: inline-block;
  padding: 10px 20px;
  margin: 40px auto;
  border: 1px solid #333;
  text-align: center;
}
.loadmore-btn.disabled {
  opacity: 0.4;
  pointer-events: none;
}

#titles-filter-form{padding:20px; 
  max-width:1100px; margin:0 auto;}
.cat-checklist {
  display: flex;
  max-width:1100px;
  flex-wrap: wrap;
  gap: 0.5em 20px;
  list-style: none;
  justify-content:flex-start;
  margin: 0 auto;
  padding: 0;
}

.cat-checklist label {
  cursor: pointer;
  font-size: 1.5rem;
  background: #fff;
  padding: 4px 0;
  border-radius: 4px;
}

.cat-checklist input[type="checkbox"] {
  accent-color: #2e59a6;
  margin-right: 4px;
  background:#fff !important;
  color-scheme: light !important;
}
.filter-actions{display:flex; gap:20px; justify-content:center;}
.filter-btn {
  display:inline-block;
  background:none;
  border:1px solid #2e59a6;
  color: #2e59a6;
  margin:12px 0 0 auto;
  padding: 4px 14px;
  border-radius: 4px;
  cursor: pointer;
}
a.filter-btn {background:#515e76;}

.pagination {
  text-align: center;
  margin: 30px 0;
}
.pagination .page-num {
  display: inline-block;
  padding: 6px 10px;
  margin: 0 3px;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
}
.pagination .page-num.active {
  background: #2e59a6;
  color: #fff;
  border-color: #2e59a6;
}
.pagination .page-num:hover {
  background: #2e59a6;
  color: #fff;
}

@media only screen and (min-width:740px) {
.kana ul li{width:calc(100% / 11 - 10px);}
.kana a{padding:6px 0;}
.titlelists {gap: 20px;}
.titlelists .itembox {width:calc(100% / 4 - 15px);}
}
@media only screen and (min-width:1140px) {
#titles-filter-form{padding:0;}
.titlelists {padding:0;}
.kana {margin:20px auto;}
.kana ul{padding:0;}
}