/* ========================================
   特集ページ (special) スタイル
   ======================================== */

.tokushu-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px 60px;
}

.tokushu-page h1 {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 4px;
}

.tokushu-page .page-desc {
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 40px;
}

/* グループセクション */
.tokushu-group {
  margin-bottom: 52px;
}

.tokushu-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #881c3e;
  padding-bottom: 8px;
  margin-bottom: 20px;
}

.tokushu-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: bold;
}

.tokushu-group-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #881c3e;
  color: #fff;
  border-radius: 50%;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.tokushu-group-count {
  font-size: 0.85rem;
  color: #aaa;
}

/* カードグリッド */
.tokushu-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 16px;
}

@media (max-width: 600px) {
  .tokushu-cards {
    grid-template-columns: 1fr;
  }
}

/* カード */
.tokushu-card {
  background: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s;
}

.tokushu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(136, 28, 62, 0.45);
  text-decoration: none;
  color: inherit;
}

/* サムネエリア（オーバーレイ付き） */
.tokushu-card-thumbs {
  position: relative;
  height: 180px;
  background: #111;
}

.tokushu-card-thumbs img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.tokushu-card-thumbs .thumb-placeholder {
  width: 100%;
  height: 180px;
  background: #2a2a2a;
}

/* サムネ上のオーバーレイ（タグ名・件数） */
.tokushu-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  padding: 20px 12px 10px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.tokushu-card-overlay-name {
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
}

.tokushu-card-overlay-name .tag-hash {
  color: #e05070;
  margin-right: 2px;
}

.tokushu-card-overlay-count {
  font-size: 0.8rem;
  color: #ddd;
  white-space: nowrap;
}

/* カード下部（モデルアイコン） */
.tokushu-card-body {
  padding: 12px 12px 14px;
  background: #1a1a1a;
  border-top: 2px solid #881c3e;
}

.tokushu-card-models {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.model-icon-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.model-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: #2a2a2a;
  border: 2px solid #881c3e;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.model-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.model-icon-initial {
  font-size: 1rem;
  color: #cc4466;
  font-weight: bold;
}

.model-icon-name {
  font-size: 0.65rem;
  color: #aaa;
  text-align: center;
  line-height: 1.3;
  word-break: break-all;
}

.model-rest-text {
  font-size: 0.75rem;
  color: #888;
  align-self: center;
  white-space: nowrap;
}

/* ========================================
   特集トップページ (sptop)
   ======================================== */

.sptop-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 20px;
}

.sptop-card {
  display: flex;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.sptop-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(136, 28, 62, 0.3);
  text-decoration: none;
  color: inherit;
}

/* 左：4枚グリッド */
.sptop-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  width: 280px;
  flex-shrink: 0;
}

/* 2枚グリッド（モデル特集用） */
.sptop-card-grid--2col {
  grid-template-rows: 1fr;
  width: 280px;
  flex-shrink: 0;
}

.sptop-grid-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sptop-grid-placeholder {
  width: 100%;
  height: 100%;
  background: #ddd;
}

/* 右：テキストエリア */
.sptop-card-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #222;
}

.sptop-card-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: #881c3e;
  margin-bottom: 8px;
}

.sptop-card-desc {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 10px;
}

.sptop-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.sptop-tag {
  font-size: 0.75rem;
  background: #f5e0e5;
  color: #881c3e;
  padding: 2px 8px;
  border-radius: 20px;
}

.sptop-card-meta {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 12px;
}

.sptop-card-link {
  font-size: 0.88rem;
  color: #881c3e;
  font-weight: bold;
  text-decoration: none;
}

.sptop-card-link:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .sptop-card {
    flex-direction: column;
  }
  .sptop-card-grid {
    width: 100%;
    height: 160px;
  }
}

/* ========================================
   モデル特集ページ
   ======================================== */

.model-special-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

@media (max-width: 600px) {
  .model-special-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.model-special-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #222;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s;
}

.model-special-card:hover {
  transform: translateY(-3px);
  text-decoration: none;
  color: inherit;
}

.model-special-thumb {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}

.model-special-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.model-special-placeholder {
  width: 100%;
  height: 100%;
  background: #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #cc4466;
  font-weight: bold;
}

.model-special-info {
  padding: 10px 12px;
  border-top: 2px solid #881c3e;
}

.model-special-name {
  font-size: 0.88rem;
  font-weight: bold;
  color: #eee;
  margin-bottom: 4px;
}

.model-special-count {
  font-size: 0.75rem;
  color: #ccc;
}

.model-special-more-wrap {
  text-align: center;
  margin-bottom: 20px;
}

.model-special-more-btn {
  background: linear-gradient(135deg, #881c3e, #a82550);
  color: #fff;
  border: none;
  padding: 10px 28px;
  border-radius: 30px;
  font-size: 0.88rem;
  cursor: pointer;
  transition: opacity 0.2s;
}

.model-special-more-btn:hover {
  opacity: 0.85;
}

/* モデル特集セクション見出し */
.model-section-heading {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #881c3e;
}

.model-section-heading:first-of-type {
  margin-top: 0;
}
