@charset "utf-8";
/* CSS Document */
/*予告ページ固有*/
.wrapper{
	margin: 0px 0;
	padding: 0px 0 0 0;
	/*background-image: url("../images/pc_top_bg.jpg");
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;*/
	/*width: auto;*/
	position: relative;
}
.wrapper .logo_box{
	/*width: 290px;*/
	width: 200px;
}


/* ビジュアルなし */
.visual_area05{
        margin: 0 auto;
        padding: 0;
        position: relative;
        /*height: calc(100vh);*/
	width:86%;
	display:flex;
	align-items: flex-start;
	justify-content: center;
        /*background: url(../images/pc_bk_image01.jpg?v=1) no-repeat 0 0 / cover;
        margin-left: calc(-50vw + 50%);*/
}
.visual_area05 .areabox{
	width: 50%;
}
.visual_area05 .areabox_left{
	width: 50%;
	padding: 0 11px;
	position: relative;
}

.top_left_img {
    display: block;
    width: 100%; /* 必要なら固定幅でもOK */
    height: auto;
}

.top_left_text {
/*
    position: absolute;
    top: 46%;
    left: 33%;
    transform: translate(-50%, -50%);
    width: 40%;
    height:17%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ff1a00;
    transform: translateY(0) scaleY(1.3); 
    font-stretch: condensed; 
    z-index: 10;
    pointer-events: none;
    border: 4px solid black;

    font-family: 'Anton', sans-serif;
    font-size: clamp(40px, 8vw, 100px);
    font-weight: 900;
*/
/*
    border: 3px solid black;
    position: absolute;
    top: 55%;
    left: 53%;
    width: 35%;
    height: 17%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Anton', sans-serif;
    font-size: clamp(40px, 8vw, 100px);
    font-weight: 900;
    transform: translate(-50%, -50%) scaleY(1.35) scaleX(1.15);
    transform: translate(-50%, -50%) scaleY(1.25) scaleX(1.15);
*/

/*
    border: 0;
    position: absolute;
    top: 60%;
    left: 38%;
    width: 55%;
    height: 17%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Anton', sans-serif;
    font-size: clamp(40px, 8vw, 100px);
    font-weight: 900;
    transform: translate(-50%, -50%) scaleY(1.35) scaleX(1.15);
    transform: translate(-50%, -50%) scaleY(1.25) scaleX(1.15);

    font-stretch: condensed;
    color: #d7c561;
    pointer-events: none;
    z-index: 10;
*/


  position: absolute;
  top: 57%;
  left: 39%;
  width: 56%;
  height: 17%;
  display: flex;
  flex-direction: column; /* ← 縦並びにする */
  justify-content: flex-start;
  align-items: flex-start;
  font-family: 'Anton', sans-serif;
  color: #d7c561;
  pointer-events: none;
  z-index: 10;
  transform: translate(-50%, -50%) scaleY(1.25) scaleX(1.15);
}
/* 「開催まで…」 */
.label {
  font-size: 1.1rem;
  line-height: 1;
  margin-bottom: 0.2em;
  font-weight:600;
}

/* 数字と DAYS を横並びにする */
.count_row {
  width:100%;
  display: flex;
  align-items: flex-end; /* DAYS を数字の下寄せに見せる */
  justify-content: center;
  gap: 0.2em; /* 数字と DAYS の間の余白 */
}

/* 数字 */
.number {
  font-size: clamp(40px, 8vw, 100px);
  font-weight: 900;
  line-height: 1;
}

/* DAYS */
.days {
  font-size: 1.5rem;
  line-height: 1;
  /*padding-bottom: 0.2em;*/ /* 下寄せの微調整 */
  font-weight:bold;
}

@media (min-width: 1600px) {
  .label {
    font-size: 1.3rem;
    line-height: 1.5;
    margin-top: 0.2em;
    font-weight:600;
  }
  .number {
    font-size: clamp(60px, 8vw, 160px);
  }
  .days {
    font-size: 2rem;
    font-weight:bold;
  }
  .top_left_text {
    width: 46%;
    height: 20%;
    transform: translate(-50%, -50%) scaleY(1.35) scaleX(1.25);
  }
}

.visual_area05 .areabox_right{
	width: 48%;
}
.visual_area05 .areabox_left img{
	width: 100%;
}
.visual_area05 .areabox_right img{
	width: 100%;
}

.prize_ranking {
  position: relative;
  /*width: fit-content;*/ /* 画像の横幅に合わせる */
}

.ranking_waku {
  display: block;
  width: 100%;
  height: auto; /* ← 高さは画像に任せる（可変） */
}

/* タイトルは通常フローで中央寄せ */
.visual_area05 .areabox_right .ranking_title {
  position: absolute;
  top: 1%;      /* ← 枠画像の内側に合わせて調整 */
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 3;  
}

.visual_area05 .areabox_right .ranking_title img {
  width: 50%;
  height: auto;
}

.ranking_inner {
  position: absolute;
  top: 160px;     /* 枠画像の内側に合わせて調整 */
  left: 20px;
  right: 20px;
  bottom: 20px;
  overflow-y: auto; /* ← 中身だけスクロール */
  padding-right: 10px; /* スクロールバーと文字の重なり防止 */
  z-index: 1;
}

@media (min-width: 1600px) {

  .visual_area05 .areabox_right .ranking_title {
    top: 1%;      /* ← 枠の高さに応じて自然に下がる */
  }

  .ranking_title img {
    width: 40%;   /* ← 大画面では少し小さめが綺麗 */
  }

  .ranking_inner {
    top: 17%;     /* ← タイトルの高さに合わせて調整 */
    left: 3%;
    right: 3%;
    bottom: 4%;
  }

/*
  .item_info img {
    width: 120px; /* ← 大画面で写真が小さく見える対策 */
  }

  .item_photo img {
    width: 160px;
  }

  .prizemoney {
    font-size: 1.4rem;
  }
*/
}

.ranking_title div.tarm{
  color:white;
  font-size:0.9rem;
  font-weight:600;
  text-align: center;
  margin-top: -8px;
}


/*
.prize_ranking_box{
	position: relative;
	margin:0 auto;
	padding: 0;
	width:80%;
	display:flex;
	background-color: #d7c561;
	margin-top: 0rem;
	border: 1px solid #d7c561;
}

.prize_ranking_box .item_info{
	position: relative;
	width:48%;
}
.prize_ranking_box .item_photo{
	position: relative;
	width:52%;
}
.prize_ranking_box .item_info img{
	position: relative;
	width:100%;
}
.prize_ranking_box .item_info div.racer_info{
	position: absolute;
	padding: 8px 8px;
	bottom: 1px;
	width:100%;
	text-align: center;
    font-size: 1rem;
    color: black;
    font-weight: 600;
}
.prize_ranking_box .item_info div.racer_info span{
    color: black;
    font-weight: bold;
    font-size: 1.5rem;
    text-align: center;
}


.prize_ranking_box .item_photo img{
	position: relative;
	width:100%;
}
.prize_ranking_box .item_photo div.prizemoney{
	position: absolute;
	bottom:6px;
	right:0px;
	width:100%;
	background-color:#000;
	color:yellow;
	font-size:1.2rem;
	padding: 2px 0;
    font-family: 'Noto Sans JP', sans-serif!important;
    font-weight: 700;
    font-stretch: condensed;
    transform: scaleY(1.2);
    text-align: center;
}
*/

.prize_ranking_box {
  display: flex;
  align-items: flex-start; /* ← stretch ではなく center に変更 →flex-startに変更 */
  justify-content: center;
  width: 80%;
  margin: 0 auto 4px auto;
  background-color: #d7c561;
  border: 1px solid #d7c561;
  transition: transform 0.3s ease;
}

/* 左右の比率を少し調整 */
.prize_ranking_box .item_info {
  width: 45%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.prize_ranking_box .item_photo {
  width: 55%;
}

/* 画像の縦横比を自然に保つ */
.prize_ranking_box .item_info img,
.prize_ranking_box .item_photo img {
  width: 100%;
  height: auto; /* ← ここを auto に戻す */
  object-fit: cover;
}

.item_info {
  display: flex;
  flex-direction: column; /* ← 縦並びにする */
  justify-content: center; /* ← 上下中央寄せ */
  align-items: center;     /* ← 左右中央寄せ */
  text-align: center;
  width: 45%;
}

/* 順位画像を上に配置 */
.item_info img {
  width: 60%; /* ← 適度なサイズに調整 */
  height: auto;
  margin-bottom: 10px; /* ← 下に少し余白 */
}



/* 選手情報を画像の下に配置＆中央寄せ */
.item_info .racer_info {
  font-size: 1.4rem; /* ← フォントを大きく */
  font-weight: 600;
  line-height: 1.6;
  color: black;
  display: flex;
  flex-direction: column;
  justify-content: center; /* ← 上下中央寄せ */
  align-items: center;     /* ← 左右中央寄せ */
  width: 100%;
  padding-top: 1rem;
  padding-bottom: 0; /* ← 下の余白をなくす */
}

.item_info .racer_info span {
  font-size: 1.8rem; /* ← 名前をさらに強調 */
  font-weight: bold;
}

.item_photo {
  position: relative; /* ← 重ねるために必須 */
  width: 55%;
}

.item_photo img {
  display: block; /* ← これで画像下の余白が消える */
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ★ 写真の下に賞金を重ねる（顔の下に来る） */
.item_photo .prizemoney {
  position: absolute;
  bottom: 0;          /* ← 下にぴったり固定 */
  left: 0;
  width: 100%;
  background-color: rgba(0,0,0,0.75); /* ← 黒帯で目立たせる */
  color: yellow;
  font-size: 1.6rem;  /* ← 大きくして目立たせる */
  font-weight: 700;
  text-align: center;
  padding: 6px 0;
  transform: scaleY(1.2); /* ← 縦に少し強調 */
}

@media (min-width: 1600px) {

  .item_info .racer_info {
    font-size: 1.8rem;     /* ← 左側の文字を大きく */
    line-height: 1.6;      /* ← 行間を詰めて下の余白を減らす */
    padding-top: 1rem;     /* ← 上の余白は少し残す */
  }

  .item_info .racer_info span {
    font-size: 2.4rem;     /* ← 名前をさらに強調 */
    font-weight: 800;
  }

  .item_photo .prizemoney {
    font-size: 2rem;       /* ← 右側の賞金も大画面用に強調 */
    padding: 8px 0;
  }
}



@media (max-width: 1100px) and (min-width: 768px) {

  .prize_ranking_box {
    width: 85%;        /* ← 80%より少し広めにして余白を確保 */
    margin: 0 auto;
  }

  .ranking_inner {
    display: flex;
    flex-direction: column; /* ← 横並びをやめて縦並びにする */
    align-items: center;
    padding: 10px 0;
    gap: 8px;
  }

  .rank_item {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    gap: 6px;
  }

  .rank_name {
    max-width: 70%;        /* ← 長い名前でも折り返し防止 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .rank_score {
    font-size: 0.9rem;
  }
}

div.prize_ranking_box_mini{
	width:100%;
	padding:1rem;
}

div.prize_ranking_box_mini table{
	width:96%;
	margin:0 auto;
	border-spacing: 0px;
}
div.prize_ranking_box_mini table tr{
	background-color: #d7c561;
	height:auto;
}
div.prize_ranking_box_mini table td.tbl_rank{
	position: relative;
	width:10%;
	border-bottom: 2px solid black;
}
div.prize_ranking_box_mini table td.tbl_rank img{
    width: 100%;
    height: fit-content;
    display: block;
	position: relative;
}
div.prize_ranking_box_mini table td.tbl_rank div.rank{
    width: 100%;
    display: flex;
    justify-content:center;
    align-items: center;
    position: absolute;
	font-size:1.5rem;
	font-weight:bold;
    top: 30%;	
}
div.prize_ranking_box_mini table td.tbl_racer_img{
	width:12%;
}
div.prize_ranking_box_mini table td.tbl_racer_img img{
    width: 100%;
    height: fit-content;
    display: block;
}
div.prize_ranking_box_mini table td.tbl_racer_info{
	width:28%;
	color: black;
	font-weight: bold;
	font-size: 1rem;
	text-align: center;
	border-bottom: 2px solid black;
}
div.prize_ranking_box_mini table td.tbl_prizemoney{
	width:30%;
	background-color:#000;
	border: 2px solid rgb(215 197 97);
}
div.prize_ranking_box_mini table td.tbl_prizemoney div{
	background-color:#000;
	color:yellow;
	font-size:1.3rem;
	padding:0rem 0;
	font-family: 'Noto Sans JP', sans-serif!important;
	font-weight: 700;
	font-stretch: condensed;
	transform: scaleY(1.2);
	text-align: center;
}

.prize_ranking_box_mini_fl{
	margin:0 auto;
	width:80%;
	background-color: #d7c561;
	display: flex;
	justify-content:center;
	align-items: center;
}
.prize_ranking_box_mini_fl .item_rank{
	width:12%;
	display:flex;
	justify-content:center;
	align-items: center;
	background: url(../images/rank_bak.png) no-repeat 0 0 / cover
}
.prize_ranking_box_mini_fl .item_rank div.rank{
	width:100%;
	font-size:2rem;
	font-weight:bold;
}

.prize_ranking_box_mini_fl .item_racer_img{
	width:18%;
}
.prize_ranking_box_mini_fl .item_racer_info{
	width:35%;
}
.prize_ranking_box_mini_fl .item_prizemoney{
	width:35%;
}

.countdown{
	width: 400px;
	height: 160px;
	position: absolute;
	top: calc(50% - 165px);
	left: calc(50% - 200px);
	background-image: url("../images/counter.png");
	background-repeat: no-repeat;
	background-position: left top;
	background-size: contain;
}
.time{
	position: absolute;
	font-size: 60px;
	width: 3em;
	top: calc(50% - 10px);
	right: calc(50% - 145px);
	line-height: 1em;
	text-align: right;
}
.time p{
	letter-spacing: 0.4em;/*文字間調節*/
}
.syoukin{
	width: 350px;
	height: 50px;
	font-size: 25px;
	background-color: rgba(255,255,255,0.25);
	position: relative;
}
.syoukin:before{
	content: "";
	border-top: 50px solid #b2ce54;
  	border-right: 50px solid transparent;
	position: absolute;
  	width: 0;
  	height: 0;
}
.syoukin:after{
	content: "";
	border-bottom: 50px solid #b2ce54;
  	border-left: 50px solid transparent;
	position: absolute;
  	width: 0;
  	height: 0;
	top:0;
	right:0;
}
.syoukin a{
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: white;
}
.picture_area{
	background:linear-gradient(to top,black,#1d344f);
}
.movie-title{
	height: 50px;
	font-size: 25px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.movie{
	width: 1000px;
	height: 562.5px;
	position: relative;
	margin: 0 auto 30px;
}
.pre_img{
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100;
}
.iframe{
	width: 100%;
	height: 100%;
}
.movie_link_box{
	width: 1200px;
	margin: 0 auto 30px;
}
.navi_text{
	font-size: 80%;
	text-align: center;
}
.movie_link_box ul{
	list-style: none;
	display: flex;
	flex-wrap: wrap;
}
.movie_link_box ul li{
	margin: 10px;
	box-shadow: 0 0 10px lightblue,inset 0 0 10px lightblue;
	border-radius: 5px;
	border: 1px solid white;
	width: 130px;
	height: 40px;
	
}
.movie_link_box ul li a{
	width: 100%;
	height: 100%;
	text-decoration: none;
	color: lightblue;
	text-shadow: 0 0 5px #fff,0 0 10px #fff;
	font-size: 15px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.movie_link_box ul li:hover{
	box-shadow: 0 0 10px white,inset 0 0 10px white;
}
.movie_link_box ul li a:hover{
	color: white;
}
.movie_link_box .selected{
	box-shadow: 0 0 10px white,inset 0 0 10px white;
	background-color:darkslategray;
}
.movie_link_box .selected a{
	color: white;
}
/*アコーディオンメニュー---------------------------------------*/
.acd-check{
    display: none;
}
.acd-label{
    background: #333;
    color: #fff;
    display: block;
    margin-bottom: 1px;
    padding: 10px;
    width: 100%;
    height: 100%;
    text-align: center;
}
.acd-content{
    border: 1px solid #333;
    /*height: 0;*/
    opacity: 0;
    padding: 0 10px;
    transition: .5s;
    visibility: hidden;
	display: none;
	
}
.acd-check:checked + .acd-label + .acd-content{
    /*height: 40px;*/
    opacity: 1;
    padding: 10px;
	display: block;
    visibility: visible;
}
/*アコーディオンメニュー　END---------------------------------------*/
/*ハンバーガーメニュー----------------------------------------*/
.hamburger-menu{
	display: block;
	width: 75px;
	height: 75px;
	position: absolute;
	right: 0;
	top: 0;
}
.menu-btn::before{
	content: "menu";
	position:absolute;
	top:-5px;
}
/*アイコン部分*/
.menu-btn {
    position: relative;
    top: 5px;
    right: 10px;
    display: flex;
    height: 75px;
    width: 75px;
    justify-content: center;
    align-items: center;
    z-index: 9999999;
}
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
    content: '';
    display: block;
    height: 3px;
    width: 50px;
    border-radius: 3px;
    background-color: #ffffff;
    position: absolute;
}
.menu-btn span::before {
    bottom: 15px;
}
.menu-btn span::after {
    top: 15px;
}
#menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}
#menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);

}
#menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);

}
#menu-btn-check:checked ~ .menu-btn{
	position: fixed;
}
#menu-btn-check:checked ~ .menu-btn::before{
	content: "close";
}
#menu-btn-check {
    display: none;
}
/*ハンバーガーメニュー終了----------------------------------------*/

/*キービジュアル上のメニュー*/
.top_left_menu .menu_item{
    opacity: 0;
	animation-name: fadein_to_left;
	animation-duration: 1.5s;
	animation-fill-mode: forwards;
        /*border:solid 4px #fafafaa6;*/

}
.on-link{
/*	background-color: var(--top-link-main-color);*/
    background-image: -webkit-gradient( linear,left top,right top,from(#fafafaa6),color-stop(#d6d7d866),to(#9867ec0f));
    background-image: -webkit-linear-gradient(left, #fafafaa6, #d6d7d866, #9867ec0f);
    background-image: llinear-gradient(90deg, #fafafaa6, #d6d7d866, #9867ec0f);
    color: #fff;
}
.on-link:before {
    content: "";
    border-top: 20px solid #034d92;
    border-right: 20px solid transparent;
    position: absolute;
    width: 0;
    height: 0;
}
.on-link:hover{
    text-shadow: 1px 2px 3px #808080; 
    color: #fff;
    background-color: #fafafaa6;
}
.on-link_right{
/*	background-color: var(--top-link-main-color);*/
    background-image: -webkit-gradient( linear,left top,right top,from(#9c27b04f),color-stop(#e91e63),to(#f49ab9));
    background-image: -webkit-linear-gradient(left, #9c27b04f, #e91e63, #f49ab9);
    background-image: linear-gradient(90deg, #9c27b04f, #e91e63, #f49ab9);
    background-image: linear-gradient(90deg, #9867ec4f, #b728aa, #ff4ab7);

	color: #000000;
}

.off-link{
	background-color:#fcee21;
	color: #000000;
}
.menu_item a{
	display: block;
	width: 100%;
	height: 100%;
	position: relative;
	margin-bottom: 5px;
	text-decoration: none;
}
.top_left_menu .menu_item a{
	text-align: left;
}
.top_right_menu .menu_item a{
	text-align: right;
}
.en-text{
/*	font-size: 40px;*/
        font-size: 1.2rem;
	font-weight: bold;
	padding-top: 15px;
        line-height: 1.8rem;
}
.jp-text{
	font-size: 18px;
	font-weight: normal;
            line-height: 1rem;
}
.top_left_menu .menu_item .en-text{
	padding-left: 20px;
}
.top_left_menu .menu_item .jp-text{
	padding-left: 40px;
}
.top_right_menu .menu_item .en-text{
	padding-right: 20px;
}
.top_right_menu .menu_item .jp-text{
	padding-right: 40px;
}
.menu_item img{
	width: 100%;
	height: 100%;
}
.delay-time0{
	animation-delay: 0.25s;
}
.delay-time1{
	animation-delay: 0.50s;
}
.delay-time2{
	animation-delay: 0.75s;
}
.delay-time3{
	animation-delay: 1s;
}
.delay-time4{
	animation-delay: 1.25s;
}
.delay-time5{
	animation-delay: 1.50s;
}
.delay-time6{
	animation-delay: 1.75s;
}
.delay-time7{
	animation-delay: 2.00s;
}

/*キービジュアル上のメニューアニメーション*/
@keyframes fadein_to_left{
	from{
		opacity: 0;
		transform: translateX(100vw);
	}
	to{
		opacity: 1;
		transform: translateX(0);
	}
}
@keyframes fadein_to_right{
	from{
		opacity: 0;
		transform: translateX(-100%);
	}
	to{
		opacity: 1;
		transform: translateX(calc(100% - 300px));
	}
}
/*キービジュアル上のメニューアニメーション終了*/

.top_left_menu{
	position: absolute;
	/*top: 86px;*/
/*        top: 160px;*/
        top: 100px;
}
.menu_item{
	width: 320px;
/*	height: 110px;*/
        height: 80px;
	margin: 15px 0;
}
.menu_item img{
	width: 100%;
	height: 100%;
}


.prize_ranking_box {
  transition: transform 0.3s ease;
}

.prize_ranking_box:hover {
  transform: scale(1.04);
}

.prize_ranking_box_mini table tr {
  display: block;                /* ← transform を効かせるために必須 */
  transition: transform 0.25s ease;
}

.prize_ranking_box_mini table tr:hover {
  transform: scale(1.03);        /* ← 3% 拡大（自然で上品） */
}
