.bg-wave {
    background: linear-gradient(180deg, #370344,#0e2567,#660e67);
}
.jumppoint {
    scroll-margin-top: 80px;
}
@media (max-width:767px) {
    .jumppoint {
        scroll-margin-top: 48px;
    }
}
/*説明*/
.info-box {
	margin:0 auto;
	background: #000000;
	padding:20px ;
	line-height:1.7;
    width: 75%;
    border: 3px solid #0ff;
    border-radius: 10px;
    box-shadow: 
      0 0 5px #0ff,
      0 0 10px #0ff,
      0 0 20px #0ff,
      0 0 40px #0ff;
}
.midashi {
	font-size:28px;
	font-weight:700;
	margin-bottom:10px;
	color:#ffffff;
    text-shadow: 0 0 5px #fff,
     0 0 10px #e7ae32,
      0 0 20px #e732a9,
       0 0 40px #e732a9,
        0 0 80px #e732a9,
         0 0 90px #e732a9;
}
@media (max-width:767px) {
    .info-box {
        width: 90%;
    }
}


/*選手一覧画像*/
.racer-img-box {
    margin: 0 auto;
    width:75%;
    display: flex;
}
.tanzaku {
    flex: 1; /* 均等に幅を割り当てる */
    height:30vh;
    background-color: lightblue;
    border: 1px solid #333;
    text-align: center;
    font-weight: bold;
    box-sizing: border-box; /* ボーダーを含めて幅を計算 */
    transition: transform 0.3s ease;
    opacity: 0; /* 初期は非表示 */
    animation: fadeIn 0.6s ease forwards; /* forwardsで最終状態を保持 */
}
.tanzaku:hover {
    transform: scale(1.1);
    z-index: 2;
}
@media (max-width:767px) {
    .racer-img-box {
        flex-wrap: wrap; /* 折り返しを許可 */
        width:100%;
      }
    .tanzaku {
        flex: 0; /* 均等に幅を割り当てる */
        width:45%;
        height: 50vw;
        aspect-ratio: 1/1;
        margin: 2.5%;
    }
    .tanzaku img {
        height:100%;
    }
}
.tanzaku a {
    display: inline-block;
    width: 100%;
    height:100%;
}

@media (min-width:768px) {
    .tanzaku img {
        width:150%;
        position: absolute;
        top: 15%;
        left: -20%;
    }
    .tanzaku {
        overflow: hidden;
        position: relative;
    }
}
/* フェードインと Y 移動だけ */
@keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
/* 左から順に遅延を設定 */
.tanzaku:nth-child(1) { animation-delay: 0s; }
.tanzaku:nth-child(2) { animation-delay: 0.2s; }
.tanzaku:nth-child(3) { animation-delay: 0.4s; }
.tanzaku:nth-child(4) { animation-delay: 0.6s; }
.tanzaku:nth-child(5) { animation-delay: 0.8s; }
.tanzaku:nth-child(6) { animation-delay: 1s; }
.tanzaku:nth-child(7) { animation-delay: 1.2s; }


/*選手コメント*/
.img-square {
    width:100%;
}
.img-square {
    width: 100%; 
    aspect-ratio: 1/1;
    height:auto;
    overflow: hidden;
    position: relative;
    border: #ffca63 5px groove; /* 立体的な彫り込み風 */
    box-shadow: 
        0 0 5px #cdb483,
        0 0 10px #cdb483,
        0 0 20px #cdb483,
        0 0 40px #cdb483;
    background-color: #fff;
}
  
.img-square img {
    width: 100%;     /* 親の幅に合わせる */
    height: auto;    /* 高さは自動 */
    object-fit: cover; /* 画像を切り抜きつつ拡大縮小 */
    object-position: center center; /* 切り取る位置（中央） */
    display: block;
}

.racer-box-position {
    position: relative;
}
.racer-info {
    position: absolute;
    display: block;
    content: "";
    bottom: 0;
    right: 0;
    width: 45%;
    height: 45%;
}
/*選手情報*/
.racer-info {
    display: flex;
    align-items: center;
    justify-content: center;
}

.seal {
    text-align: center;
    text-decoration: none;
    color: #000000;
    border-radius: 100% 80% / 70% 100%;
    background: radial-gradient(circle at center, white 50%, transparent 60%),
    conic-gradient(from 0deg, #2d1869 0%, #f1e16e 25%, #e27925 50%, #c00065 75%, #2d1869 100%);
    box-shadow: 10px 5px 3px #ffffff;
    user-select: none;
    transition: all 0.3s;
    border: none;
    /* アニメーション追加 */
    animation: wobbleShape 3s ease-in-out infinite;
}
    
@keyframes wobbleShape {
    0% {
      border-radius: 100% 80% / 70% 100%;
    }
    25% {
      border-radius: 90% 100% / 100% 80%;
    }
    50% {
      border-radius: 80% 90% / 90% 100%;
    }
    75% {
      border-radius: 110% 70% / 80% 90%;
    }
    100% {
      border-radius: 100% 80% / 70% 100%;
    }
}

@media (max-width:767px) {
    .racer-info {
        bottom: 10vw;
        right: 5vw;
        width: 35%;
        height: 35%;
    }
}



/*コメント*/
.coment-box {
    margin: 4em auto 4em; /* 外側の余白（上下と中央配置） */
    padding: 3em 1.5em 2em; /* 内側余白（上・左右・下） */
    position: relative;
    background: #f4f3f2; /* 背景色（ノート風の淡い色） */
    color: #2c1a1a;
}
@media (max-width: 768px) {
    .coment-box {
        margin: 0; /* 外側の余白（上下と中央配置） */
    }
}
.coment-box::before {
    content: '';
    position: absolute;
    inset: 0.5em 0 0 0; /* 上から0.5em、左右と下を0に */
    margin: 0 auto; /* 水平方向中央揃え */
    width: 95%; /* ドット線の横幅 */
    border-top: dotted 10px #172060; /* ドット線（太さ10px、白） */
}

/* pタグの余白 */
.coment-box p {
    margin: 0;
}


/*keirin.jp*/
.keirin-jp a {
	font-size: 200%;
	width:100%;
    padding: 3%;
	background-color: #ffffff;
	border: 5px solid #21ccf3;
	border-radius: 5px;
	color: #00b4dd!important;
	text-align: center;
	text-decoration: none;
    display: inline-block;
}
