/* 基本スタイル */
* {
    margin: 0; padding: 0;
}
body {
    font-family: Arial, sans-serif;
    background-color: #2C2C2C;
}
.title{
    text-align: center;
    font-size: 14px;
    margin: 0.6em 1em;
    color: white;
}
.graph{
    height: 400px;
}
.t001{
    text-align: center;
    margin-left: 40px;
    margin-right: 40px;
    margin-top: 20px;
}
.t001 img{
    max-width: -webkit-fill-available;
}
.video-container {
    aspect-ratio: 16 / 9; /* 高さを16:9に自動調整 */
    margin: 10px;
    width: 300px;
}
.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.video-container2 {
    position: relative;
    width: 100%;
    max-width: 350px; /* 最大幅をPC用に */
    aspect-ratio: 9 / 16; /* 高さを16:9に自動調整 */
}
.video-container2 iframe {
    width: 100%;
    height: 100%;
    border: none;
}
@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}
.blinking-text {
    animation: blink 2s infinite;
}
.ff{
    text-align: center;
    color: white;
}
p.zzz {
    text-align: right;
    color: #e0e0e0;
}
span.ana_titile {
    color: goldenrod;
    font-weight: 100;
}
.ana{
    color: #e0e0e0;
    background-color: black;
    border-spacing: 6px;
    margin-left: auto;
    margin-right: auto;
}
.ana img{
    vertical-align: middle;
}
.ana2{
    color: white;
    text-align: center;
}
.ana3{
    font-size: 22px;
    font-weight: bold;
}
.ana th{
    background-color: #2C2C2C;
    padding: 5px;
    box-shadow: 1px 1px 2px wheat;
    font-weight: bold;
    text-align: left;
}
.ana td{
    background-color: #2C2C2C;
    padding: 5px 15px 5px 15px;
    box-shadow: 1px 1px 2px wheat;
}
.ana_title{
    font-size: 18px;
}
.share{
    text-align: center;
    margin-top: 25px;
}
.share img{
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 50px;
    border: 2px solid #c0c0c0;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.share img:hover{
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.share p{
    color: white;
}
input[type="number"] {
    width: 50px;
}
td.table0 {
    text-align: end;
    white-space: nowrap;
}
td.table1 {
    border-right-color: #2C2C2C;
    text-align: end;
    white-space: nowrap;
}
canvas#mixedChart {
    background-color: whitesmoke;
    padding: 15px;
    border-radius: 5px;
    margin: 30px 15px 30px 15px;
}
/* メニューボタンのスタイル */
.menu-btn {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 3;
}
#menu-btn {
    font-size: 24px;
    font-weight: bold;
    color: #fff; /* アイコンの色を白に設定 */
    background-color: #000; /* 背景を黒に設定 */
    padding: 10px;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    width: 30px;
    height: 30px;
    border: 2px solid #c0c0c0;
    line-height: 30px;
}
#menu-btn:hover {
    background-color: #444; /* ホバー時の背景色を変更 */
    color: #C0C0C0; /* ホバー時のアイコン色をシルバーに変更 */
}
.menu-btn-right {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 3;
}
/* 情報アイコンスタイル */
#menu-btn-right {
    font-size: 24px;
    font-weight: bold;
    color: #fff; /* アイコンの色を白に設定 */
    background-color: #000; /* 背景を黒に設定 */
    padding: 10px;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    width: 30px;
    height: 30px;
    border: 2px solid #c0c0c0;
}
#menu-btn-right:hover {
    background-color: #444; /* ホバー時の背景色を変更 */
    color: #C0C0C0; /* ホバー時のアイコン色をシルバーに変更 */
}
/* アイコンの文字設定 */
#menu-btn-right::before {
    content: "i"; /* アイコンとしてiを使用 */
    font-family: Arial, sans-serif;
    font-size: 24px;
}
/* 左側メニューのスタイル */
.slide-menu {
    position: fixed;
    top: 0;
    left: -250px; /* 初期状態は左側に隠れている */
    width: 250px;
    height: 100%;
    background-color: #333;
    color: white;
    overflow: hidden;
    transition: left 0.3s ease; /* スライドするアニメーション */
    z-index: 2;
}
.slide-menu ul {
    list-style: none;
    padding: 0;
    text-align: center;
}
.slide-menu ul li {
    padding: 5px;
    border-bottom: 1px solid #444;
}
.slide-menu ul li a {
    color: white;
    text-decoration: none;
}
.slide-menu ul li a:hover {
    text-decoration: underline;
}
/* 右側メニューのスタイル */
.slide-menu-right {
    position: fixed;
    top: 0;
    right: -250px; /* 初期状態は右側に隠れている */
    width: 250px;
    height: 100%;
    background-color: #333;
    color: white;
    overflow: hidden;
    transition: right 0.3s ease; /* スライドするアニメーション */
    z-index: 2;
}
.slide-menu-right ul {
    list-style-type: disclosure-closed;
    padding: 0;
    margin-left: 40px;
}
.slide-menu-right ul li {
    padding: 5px;
    border-bottom: 1px solid #444;
}
.slide-menu-right ul li a {
    color: white;
    text-decoration: none;
}
.slide-menu-right ul li a:hover {
    text-decoration: underline;
}
/* メインコンテンツのスタイル */
body.menu-open .slide-menu {
    left: 0; /* 左側メニューが表示される */
}
body.menu-open-right .slide-menu-right {
    right: 0; /* 右側メニューが表示される */
}
/* リスト全体の背景色とパディング */
ul#ranking-list {
    background-color: #1c1c1c; /* 深い黒 */
    padding: 10px;
    border-radius: 10px;
    list-style-type: none; /* リストマーカーを削除 */
    margin: 0;
}
/* 各リストアイテムのスタイル */
ul#ranking-list li {
    background-color: #2a2a2a; /* 少し明るい黒 */
    color: #f0f0f0; /* 薄いシルバー */
    /* padding: 15px; */
    margin-bottom: 10px;
    border-radius: 5px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s ease;
}
#ranking-list li {
    position: relative;
    overflow: hidden;
}
#ranking-list li::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #1DA1F2, #ffffff);
    transition: left 0.4s ease;
}
#ranking-list li:hover::before {
    left: 100%;
}
#ranking-list li:hover {
    transform: scale(1.05);
}
/* 各セルのカスタマイズ */
ul#ranking-list li .cell1 {
    font-weight: bold;
    color: #c0c0c0; /* シルバー */
    text-align: center;
    width: 45px;
    min-width: 45px;
}
ul#ranking-list li .cell2 img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #c0c0c0; /* シルバーの枠 */
    margin: 5px 5px 2px 0;
}
ul#ranking-list li .cell3 {
    margin-left: 5px;
    margin-right: 5px;
    word-break: break-all;
}
ul#ranking-list li .cell9 {
    word-break: break-all;
    margin-top: 25px;
}
ul#ranking-list li .cell4, 
ul#ranking-list li .cell5 {
    color: #e0e0e0; /* 薄いシルバー */
}
ul#ranking-list li .cell6 {
    color: #f0f0f0; /* 薄いシルバー */
    margin-left: auto;
    margin-right: 5px;
    text-align: end;
    white-space: nowrap;
}
.cell10{
    max-width: 350px;
    text-align: center;
    margin-bottom: 30px;
    width: 200px;
}
.cell10 a {
    color: #C0C0C0; /* シルバー */
    text-decoration: none;
    font-weight: bold;
}
.cell10 a:hover {
    color: #FFFFFF; /* ホバー時に白に変更 */
    text-decoration: underline;
}
.rank{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}
.rank2{
    display: flex;
    align-items: center;
}
.rank3{
    display: flex;
    justify-content: end;
    align-items: center;
}
.rank4{
    justify-content: end;
    align-items: center;
    white-space: nowrap;
}
.rank p{
    margin: 0px;
}
.cell1 p{
    font-size: 22px;
}
.cell3 a {
    color: #C0C0C0; /* シルバー */
    text-decoration: none;
    font-weight: bold;
}
.cell3 a:hover {
    color: #FFFFFF; /* ホバー時に白に変更 */
    text-decoration: underline;
}
.cell9 a {
    color: #C0C0C0; /* シルバー */
    text-decoration: none;
    font-weight: bold;
}
.cell9 a:hover {
    color: #FFFFFF; /* ホバー時に白に変更 */
    text-decoration: underline;
}
.cell4{
    text-align: end;
    margin-right: 10px;
}
.cell5{
    text-align: end;
    margin-right: 10px;
}
.cell4 p{
    font-size: 22px;
    font-weight: bold;
    text-align: end;
}
.cell5 p{
    font-size: 16px;
    font-weight: bold;
    text-align: end;
}
.cell7{
    display: flex;
    align-items: center;
    justify-content: left;
}
span.cell8{
    font-size: initial;
    font-weight: 100;
}
.aaa{
    z-index: 1;
    text-shadow: 1px 1px 1px black;
}
h1 {
    font-family: 'Kosugi Maru', sans-serif;
    font-size: 16px;
    color: #FFFFFF; /* 白でクリーンな印象 */
    text-align: center;
    margin: 15px auto 10px auto;
    padding-bottom: 10px;
}
h3{
    margin: 5px;
}
.main{
    width: auto;
}
.menu{
    font-size: 16px;
    margin-top: 25px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}
.menu::after{
    content: '';
    display: block;
    height: 2px;
    background: goldenrod;
    border-radius: 3px;
}
form#filterForm{
    text-align: center;
}
form#filterForm1{
    margin-left: 20%;
}
form#filterForm2{
    margin-left: 35%;
}
ul#ranking-list{
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}
#load-more-btn {
    background-color: #333; /* ダークな背景色 */
    color: #fff; /* 白い文字色 */
    border: 2px solid #aaa; /* シルバーの枠線 */
    border-radius: 50%; /* 丸いボタン */
    width: 50px;
    height: 50px;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    margin: 20px auto;
}
#load-more-btn:hover {
    background-color: #555; /* ホバー時に少し明るく */
    border-color: #fff; /* ホバー時に白い枠線 */
    transform: scale(1.1); /* ホバー時に少し大きく */
}
#random-link {
    display: inline-block;
    padding: 5px 10px;
    color: #fff;
    background-color: #444;
    border: 2px solid #777;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}
#random-link:hover {
    color: #ffe252;
    background-color: #555;
    border-color: #ffe252;
}
.rand{
    display: flex;
    justify-content: center;
    margin-top: 50px;
}
.xxx{
    color: white;
    margin-bottom: 10px;
    text-align: center;
}
.ppp {
    display: inline-block;
}
.ppp::after{
    content: '';
    display: block;
    height: 2px;
    background: goldenrod;
    border-radius: 3px;
}
#registerForm{
    text-align: center;
}
/* 以下ページトップcss */
/*リンクの形状*/
#page-top a{
	display: flex;
	justify-content:center;
	align-items:center;
	background:#272727;
	border-radius: 5px;
	width: 60px;
	height: 60px;
	color: #fff;
	text-align: center;
	text-transform: uppercase; 
	text-decoration: none;
	font-size:18px;
	transition:all 0.3s;
    border: 2px solid #c0c0c0;
}
#page-top a:hover{
	background: #777;
}
/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 10px;
	bottom:10px;
	z-index: 2;
    /*はじめは非表示*/
	opacity: 0;
	transform: translateY(100px);
}
/*　上に上がる動き　*/
#page-top.UpMove{
	animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}
/*　下に下がる動き　*/
#page-top.DownMove{
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 1;
	transform: translateY(0);
  }
  to {
  	opacity: 1;
	transform: translateY(100px);
  }
}

@media (min-width: 1024px) {
.main{
    margin-left: 300px;
    margin-right: 300px;
}
.menu-btn{
    left: 310px;
}
.menu-btn-right{
    right: 310px;
}
.cell4 p{
    font-size: 28px;
}
.cell5 p{
    font-size: 28px;
}
#page-top {
	right: 310px;
}
.ana3{
    font-size: 28px;
}
p.zzz {
    margin-right: 10%;
}
.graph{
    height: 600px;
}
.yyy{
    display: flex;
}
.footer{
  width: 100vw;
  height: 120px;
  background-color: #1c1c1c;
      color: white;
      font-size: 14px;
      margin-top: 24px;
}
.footer2{
  display: flex;
  justify-content:space-between;
  width: 1216px;
  margin: 0 auto;
      padding: 50px 0 10px 0;
}
.footer2 img{
  height: 50px;
}
.footer3{
  display: flex;
  margin-bottom: 15px;
}
.footer3 a{
      text-decoration: none;
    color: white;
    border-left: solid 1px;
    padding: 5px 10px;
    transition: background-color 0.3s ease;
}
.footer3 a:hover{
    background-color: #666;
}
.footer4{
  text-align: end;
}
.footer5{
    border-right: solid 1px;
}
ul#ranking-list li .cell9 {
    width: 400px;
}
}
@media (max-width: 1023px) {
#menu-btn-right{
    width: 20px;
    height: 20px;
    line-height: 20px;
}
.menu-btn-right{
    top: 5px;
    right: 5px;
}
#menu-btn{
    width: 20px;
    height: 20px;
    line-height: 20px;
}
.menu-btn{
    top: 5px;
    left: 5px;
}
.ana_title{
    font-size: 14px;
}
.ana th{
    padding: 0px 5px 0px 5px;
}.ana td{
    padding: 0px 5px 0px 5px;
}
.zzz{
    font-size: 12px;
    margin-right: 5px;
}
.cell5{
    margin-right: 5px;
}
.footer{
  width: 100vw;
  background-color: #1c1c1c;
      color: white;
      font-size: 12px;
      margin-top: 24px;
}
.footer2{
  text-align: center;
  width: 100vw;
  margin: 0 auto;
      padding: 50px 0 10px 0;
}
.footer2 img{
  height: 50px;
  margin-bottom: 10px;
}
.footer3{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
.footer3 a{
      text-decoration: none;
    color: white;
    width: 45%;
    padding: 5px 0;
    transition: background-color 0.3s ease;
}
.footer3 a:hover{
    background-color: #666;
}
.footer4{
  margin-bottom: 10px;
}
}