body {
    font-family: Arial, sans-serif;
    line-height: 1.5;
}

.container {
    width: 90%;
    margin: auto;
}

/* 既存のスタイルの下に追加 */

ul {
    border: 1px solid #333;
    border-radius: 0px; /* 角を丸くする */
    padding: 0;
    list-style-type: none; /* リストマークを消す */
    background-color: #f7f7f7; /* 背景色を薄いグレーに */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 少し影を付ける */
}

li {
    border-bottom: 1px solid #ddd;
    padding: 10px;
}

.ranking_header img{
    margin-top: 10px;
    width: 100%;
}

.rank_wrap{
    display: flex;
    align-items: stretch; 
}

.increase_wrap{
    display: flex;
    align-items: stretch; 
    margin-top: 7px;
}

.rank{
    margin-right: 5px;
    font-size: 24px;
    font-weight: bold;
    min-width: 90px;
    text-align: center;
}
.name{
    white-space: nowrap;          /* テキストを折り返さないようにする */
    overflow: hidden;             /* はみ出る内容を隠す */
    text-overflow: ellipsis;      /* はみ出るテキストを3点リーダーにする */
    max-width: 100%;              /* 必要に応じて最大幅を設定。100% は親要素の幅に合わせる場合 */
    display: block;
    font-size: 24px;
    font-weight: bold;
    margin-left: 15px;
}
.increase {
    font-size: 22px;
    margin-left: 20px;
    margin-top: 2px;
}

.crown {
    font-size: 24px;
    font-weight: bold;
}

.crown img{
  width: 70px;
  margin-bottom: -5px;
}

.increase_chip {
    display: inline-block; /* インライン要素にして周りのテキストと並べられるように */
    background-color: #f59000;
    padding: 5px 10px; /* 上下左右に余白を追加。数値はお好みで調整してください */
    color: white; /* テキストの色を白にして読みやすく */
    border-radius: 4px; /* 四角形にやや丸みをつける場合はこれを使用。不要なら削除 */
    text-align: center; /* テキストを中央寄せに */
    font-size:14px;
    line-height: 1.8;
    font-weight: bold;
}

.accordion-header .whatprize {
    border: 1px solid #333;
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
.accordion-header1 .whatprize {
    border: 1px solid #333;
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    border: 1px solid #ddd;
    background-color: #f6f6f6;
  }
  
  .content-inner {
    padding: 10px;  /* ここにpaddingを適用 */
  }
  
  .accordion.open .accordion-content {
    max-height: 1000px;
  }
  
  .accordion.open .indicator {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
  }

  .month{
    font-weight: bold;
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: -10px;
    text-align: center;
  }

  .update{
    font-size: 16px;
    margin-top: 5px;
    margin-bottom: -10px;
 }
  
 @media (min-width: 768px) {
  .container {
      width: 510px;
      margin-left: auto;
      margin-right: auto;
  }
}

.top_return {
  text-align: center;
  margin-top: 20px; /* 画面の上部からの距離 */
}

.top_return a {
  display: inline-block; /* ブロック要素として表示 */
  background-color: #676767;
  color: #ffffff; /* テキスト色 */
  padding: 10px 20px; /* 内側の余白 */
  text-decoration: none; /* 下線を消す */
  font-weight: bold; /* フォントの太さ */
  border-radius: 5px; /* 角の丸み */
  transition: background-color 0.3s; /* 背景色の変化を滑らかに */
}

.custom-list {
  list-style-type: none; /* デフォルトのリストマーカーを非表示にする */
  padding-left: 0; /* 左側のパディングを削除して、リストを左揃えにする */
}

.custom-list li:before {
  content: "◆"; /* 各リスト項目の前に表示する内容 */
  padding-right: 10px; /* 記号とテキストの間にスペースを追加 */
  color: #5f5f5f;/* 記号の色をカスタマイズ */
}

.custom-list {
  border: 0px solid #333;
  border-radius: 0px;
  padding: 0;
  list-style-type: none;
  background-color: #f7f7f7;
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.0);
  margin-top: 0px;
}

.custom-list li {
  border-bottom: 0px solid #ddd;
  padding: 3px;
  margin-top: 5px;
}

/* 追加を知らせるバッジのスタイル */
.new-badge {
  display: inline-block;
  background-color: #ff4500; /* 目立つオレンジレッド */
  color: #ffffff;
  font-size: 0.75em;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: 10px;
  vertical-align: middle;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  /* アニメーションの指定: 1.5秒かけて無限に繰り返す */
  animation: pulse-badge 1.5s infinite;
}
