.container {
    max-width: 890px;
    margin: 0 auto;
    padding: 20px;
    font-family: sans-serif;
}

.back-button {
    margin: 20px 0;
    text-align: left;
    font-size: 12px;
}

.back-button .btn {
    display: inline-block;
    background-color: #f0f0f0;
    padding: 8px 16px;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s;
}

.back-button .btn:hover {
    background-color: #e0e0e0;
}

h2 {
font-size: 20px;
  padding: 5px 10px;
  color: #fff;
  background: #5D8AC1;
  -webkit-box-shadow: 5px 5px 0 #666666;
  box-shadow: 5px 5px 0 #666666;
}

.vtuber-list {
    display: flex;
    flex-wrap: wrap;
}

.vtuber-item {
    width: 150px;
    margin: 10px;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center; /* アイコンを中央揃え */
}

.icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 8px;
    object-fit: cover;
}

/* テキストを左揃えにしたい場合は text-align を個別に指定 */
.name, .count {
    font-size: 14px;
    color: #666;
    text-align: left;        /* ← ここが必須 */
    width: 100%;             /* ← 左揃えを成立させるために必要 */
    padding-left: 50px;
}

.count {
    font-size: 12px;
}

.name a {
    text-decoration: none;
    color: #666;
}

.name a:hover {
    text-decoration: none;
    color: #000;
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
  /* 共通の調整 */
  body {
    padding: 0 10px;
    font-size: 14px;
  }

  .container {
    padding: 0px;
  }

  .back-button {
    margin: 0px 0px 15px 0px;
  }

  h2 {
    margin: 0px;
  }

  .vtuber-list {
    justify-content: space-evenly;
  }

  .vtuber-item {
    padding-bottom: 5px;
    width: 130px;
    margin: 5px;
  }

  .icon {
    width: 130px;
    height: 130px;
    margin-bottom: 0px;
  }

}