* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

html {
	height: 100%;
}

body {
	font-family: "Noto Sans JP", sans-serif;
	font-style: normal;
	color: #fff;
	min-width: 1200px;
	background-color: #000;
	display: flex;
	flex-direction: column;
	height: 100%;
}

main {
	flex: 1;
}

.main-contents {
	position: relative;
	background: linear-gradient(135deg, #000000 0%, #5e5e5e 100%);
	min-height: calc(100dvh - 230px);
}

.main-contents::before {
	content: "";
	background-image: url(../img/border_l.png);
	position: absolute;
	left: 0;
	top: 0;
	display: block;
	width: 200px;
	height: 100%;
	background-size: 100%;
}

.main-contents::after {
	content: "";
	background-image: url(../img/border_r.png);
	position: absolute;
	right: 0;
	top: 0;
	display: block;
	width: 200px;
	height: 100%;
	background-size: 100%;
}

.sub-page .main-contents {
	padding: 40px 0;
}

img {
	max-width: 100%;
	vertical-align: middle;
}

a:hover {
	opacity: 0.8;
}

.sp-only {
	display: none;
}

.container {
	width: 1000px;
	margin: auto;
	position: relative;
	z-index: 2;
}

.heading {
	font-size: 2em;
	text-align: center;
	margin-bottom: 30px;
	letter-spacing: 2px;
}

.heading span {
	background: linear-gradient(to bottom, #f6f3c4 0%, #ce8928 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	display: inline-block;
}

header {
	display: none;
}

.breadcrumb {
	position: relative;
	margin-bottom: 20px;
}

.breadcrumb ol {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
}

.breadcrumb ol li {
	position: relative;
	margin-right: 15px;
}

.breadcrumb ol li a {
	text-decoration: none;
	color: #fff;
}

.breadcrumb ol li a:hover {
	text-decoration: underline;
}

.breadcrumb li:not(:first-child)::before {
	content: "▶︎";
	margin-right: 8px;
}

/* フッター */

footer {
	background: rgb(255 255 255 / 10%);
	color: #fff;
	text-align: center;
}

footer .foot-contents {
	display: flex;
	justify-content: space-between;
	padding: 32px 0;
}

footer .sns {
	list-style: none;
	display: inline-flex;
	align-items: center;
	gap: 20px;
}

footer .sns li img {
	max-height: 40px;
	max-width: 40px;
}

footer .logo img {
	width: 240px;
}

footer .copyright {
	font-size: 0.9em;
	border-top: 1px solid #fff;
	padding: 12px 0;
}

/* メニュー */

#gnav {
	position: sticky;
	z-index: 99;
	top: 0;
}

#gnav ul {
	list-style: none;
	display: flex;
}

#gnav ul li {
	width: 100%;
	text-align: center;
}

#gnav ul li a {
	text-decoration: none;
	color: #000;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #f1b90a;
	height: 72px;
	font-size: 1.2em;
	padding: 12px 0;
	position: relative;
	z-index: 2;
	line-height: 1.2;
	font-weight: bold;
}

#gnav ul li a.disabled {
	pointer-events: none;
	opacity: 0.6;
}

#gnav ul li:nth-child(odd) a {
	background-color: #CC191D;
	color: #fff;
}

#gnav ul li a img {
	position: absolute;
	bottom: -18px;
	left: 50%;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	width: 28px;
}

/* トップ */

#kv {
	position: relative;
	background-image: url(../img/kv_bg.webp);
	background-size: cover;
	height: calc(100dvh - 72px);
}

.kv-title {
	position: absolute;
	bottom: 5%;
	left: 50%;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	height: 35dvh;
}

.kv-pisuke {
	position: absolute;
	bottom: 20%;
	left: 50%;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	height: 60dvh;
}

#kv .logo {
	width: 200px;
	position: absolute;
	right: 2%;
	top: 2%;
}

#top-news {
	padding-top: 60px;
}

#top-news .contents {
	background-color: #fff;
	padding: 40px;
	position: relative;
	border: 1px solid #ca8a27;
	color: #080403;
}

#top-news .contents::after {
	content: "";
	position: absolute;
	top: 6px;
	left: 6px;
	width: calc(100% - 14px);
	height: calc(100% - 14px);
	border: 1px solid #ca8a27;
}

.news-list {
	list-style: none;
	position: relative;
	z-index: 2;
	overflow-y: scroll;
	max-height: 238px;
}

.news-list li {
	border-bottom: 1px solid #ca8a27;
	padding: 15px 0;
	display: flex;
}

.news-list li:first-child {
	padding-top: 0;
}

.news-list li a {
	text-decoration: none;
	color: #080403;
	display: flex;
}

.news-list li .date {
	flex-shrink: 0;
	margin-right: 16px;
}

#top-player {
	padding-top: 60px;
}

#top-player .player-list {
	display: flex;
	list-style: none;
	justify-content: space-between;
	gap: 16px;
}

#top-player .player-list li a {
	text-decoration: none;
	padding: 12px;
	display: block;
	background: linear-gradient(225deg, #f6d244 0%, #ca8a27 100%);
	color: #fff;
}

#top-player .player-item {
	width: 100%;
}

#top-player .player-item img {
	width: 100%;
}

#top-player .player-text {
	text-align: center;
	margin-top: 8px;
}

#top-player .player-text .name {
	font-size: 1em;
}

#top-player .player-text p {
	font-size: 0.8em;
}

#pickup {
	padding-top: 60px;
	padding-bottom: 80px;
}

#pickup .slider img {
	width: 100%;
}

/*レース情報*/

#race h2 {
	text-align: center;
}

.race-main-cts>div {
	margin-bottom: 40px;
}

.race-info>div:not(:last-child) {
	margin-bottom: 35px;
}

.race-info h2 {
	margin-bottom: 0;
	background-color: #F1B90A;
	color: #000;
}

.race-info .detail {
	padding: 20px 30px;
	overflow: hidden;
	background-color: #fff;
	text-align: center;
	color: #000;
}

.release .detail table {
	width: 100%;
	margin-top: -2px;
}

.release .detail table thead th {
	background-color: #F1B90A;
	color: #000;
	font-weight: normal;
	padding: 10px;
}

.release .detail table tbody th {
	background-color: #fff;
	padding: 10px;
	text-align: center;
}

.release .detail table td {
	background-color: #fff;
	padding: 10px;
	width: 15%;
	text-align: center;
}

.release .detail {
	padding: 25px 0 0 0;
	background: unset;
}

.release .detail table th {
	border-top: none;
}

.release .detail table tbody th {
	background-color: #eaeaea;
	color: #333;
}

.release .detail table td {
	border-top: none;
	padding: 5px;
	width: 15%;
}

.release table .place {
	width: 25%;
}

.release table td .soldtime {
	display: block;
	color: #e41d17;
	font-weight: bold;
}

.release table td .allday {
	display: block;
	color: #005ca7;
	font-weight: bold;
}

.release .guide {
	margin-top: 10px;
	font-size: 0.9em;
	text-align: left;
}

.release .guide .soldtime {
	color: #e41d17;
	font-weight: bold;
}

.release .guide .alltime {
	color: #005ca7;
	font-weight: bold;
}

#race .time .detail {
	padding: 20px 0 0 0;
	background: unset;
}

#race .time table {
	width: 100%;
	table-layout: fixed;
	margin-bottom: 20px;
}

#race .time table th {
	background-color: #F1B90A;
	color: #000;
	font-weight: normal;
	padding: 10px;
}

#race .time table td {
	background-color: #fff;
	padding: 10px;
	text-align: center;
}

#race .time table td a {
	color: #1e120d;
}

#race .program .detail {
	background: unset;
	padding: 0;
}

#race .program img {
	padding: 20px 30px;
	background-color: #fff;
}

#race .program .btn-area {
	margin-top: 20px;
}

.download-btn {
	text-decoration: none;
	color: #fff;
	background: #cc191d;
	padding: 8px 20px;
	display: inline-block;
}

/* 出場選手 */

#player .date {
	text-align: right;
}

#player table {
	width: 100%;
}

#player table th {
	background-color: #CC191D;
	color: #fff;
	padding: 8px;
}

#player table td {
	background-color: #fff;
	color: #080403;
	text-align: center;
	padding: 8px;
}

#player table tr:nth-child(even) td {
	background-color: #eaeaea;
}

#player table td a {
	color: #080403;
}

#rainbow-cup {
	margin-top: 40px;
}

#player h2 {
	text-align: center;
	margin-bottom: 10px;
}

/* アクセス*/
#access .access-title {
	font-weight: bold;
	font-size: 1.4em;
	text-align: center;
	display: block;
	background-color: #e41d17;
	margin-bottom: 40px;
	color: #fff;
	padding: 5px;
}

#access .img-area {
	display: flex;
}

#access .img-area>div {
	width: 50%;
}

#access .img-area>div:first-child {
	margin-right: 30px;
}

.access-detail {
	margin-top: 30px;
	position: relative;
}

.access-time {
	background-color: #fff;
}

.access-detail table {
	width: 100%;
}

.access-detail table th {
	background-color: #e41d17;
	color: #fff;
	padding: 10px;
	width: 200px;
	font-weight: normal;
}

.access-detail table td {
	background-color: #fff;
	color: #000;
	padding: 10px;
}

.access-detail table td a {
	color: #015da7;
}

.access-detail table td dl:not(:last-child) {
	margin-bottom: 5px;
}

.access-detail table td dt {
	font-weight: bold;
}

#access .access-pisuke {
	position: absolute;
	top: 60%;
	right: 0;
	transform: translate(-50%, -50%);
	width: 120px;
}

#access .access-title .tanamo {
	margin-top: 30px;
}

#access .access-tamano {
	text-align: center;
}

#access .access-tamano img {
	max-height: 370px;
}

#access .map {
	margin-top: 30px;
}

.map iframe {
	width: 100%;
	height: 300px;
}

#access .time-table {
	text-align: center;
	margin-top: 20px;
}

#access .bus {
	margin-bottom: 20px;
}

#access .time-table .date {
	margin-bottom: 10px;
}

#access .taxi .detail {
	display: flex;
}

#access .taxi .detail>div {
	width: 50%;
}

#access .taxi .detail .going {
	margin-right: 10px;
}

#access .time-table table {
	width: 100%;
}

#access .bus table {
	table-layout: fixed;
}

#access .time-table table th {
	background-color: #1e120d;
	color: #fff;
	padding: 7px;
}

#access .time-table table td {
	padding: 7px;
	background-color: #fff;
	letter-spacing: 1px;
}

#access .taxi table thead th:first-child,
#access .taxi table thead th:last-child {
	width: 40%;
}
