/**
 * Racing Grand ― 部品
 */

/* ===== ボタン・リンク・タグ ===== */
.rgd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 30px;
	border: 1px solid transparent;
	border-radius: var(--rgd-r-pill);
	font-size: var(--rgd-fs-sm);
	font-weight: 500;
	letter-spacing: 0.08em;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.25s var(--rgd-ease), color 0.25s var(--rgd-ease), border-color 0.25s var(--rgd-ease);
}

.rgd-btn--primary {
	background: var(--rgd-accent);
	color: #fff;
}

.rgd-btn--primary:hover {
	background: var(--rgd-accent-hover);
	color: #fff;
}

.rgd-btn--ghost {
	border-color: var(--rgd-line-strong);
	background: transparent;
	color: var(--rgd-text);
}

.rgd-btn--ghost:hover {
	border-color: var(--rgd-text);
	color: var(--rgd-text);
}

.rgd-btn--small {
	min-height: 42px;
	padding: 0 22px;
}

.rgd-textlink {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: var(--rgd-fs-sm);
	font-weight: 500;
	letter-spacing: 0.06em;
	text-decoration: underline;
	text-decoration-color: var(--rgd-line-strong);
	text-underline-offset: 0.5em;
	white-space: nowrap;
}

.rgd-textlink:hover {
	text-decoration-color: currentColor;
}

.rgd-tag {
	display: inline-flex;
	align-items: center;
	padding: 2px 10px;
	border: 1px solid var(--rgd-line-strong);
	border-radius: var(--rgd-r-pill);
	font-size: var(--rgd-fs-xs);
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: 0.04em;
	text-decoration: none;
	white-space: nowrap;
}

a.rgd-tag:hover {
	border-color: var(--rgd-accent);
}

.rgd-number {
	font-family: var(--rgd-font-en);
	font-weight: 500;
	color: var(--rgd-accent);
}

.rgd-status {
	display: inline-flex;
	padding: 2px 10px;
	border-radius: var(--rgd-r-pill);
	font-size: var(--rgd-fs-xs);
	font-weight: 500;
	background: var(--rgd-bg-2);
	color: var(--rgd-sub);
	white-space: nowrap;
}

.rgd-status--upcoming {
	background: var(--rgd-accent-soft);
	color: var(--rgd-accent);
}

.rgd-status--cancelled {
	text-decoration: line-through;
}

.rgd-note,
.rgd-empty {
	margin-top: 20px;
	color: var(--rgd-sub);
	font-size: var(--rgd-fs-sm);
}

/* ===== 見出し ===== */
.rgd-heading {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 32px;
	margin-bottom: clamp(36px, 5vw, 64px);
}

.rgd-heading__title {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.rgd-heading__en {
	font-size: var(--rgd-fs-section);
	font-weight: 300;
	line-height: 1;
	letter-spacing: -0.005em;
}

.rgd-heading__ja {
	color: var(--rgd-sub);
	font-size: var(--rgd-fs-sm);
	font-weight: 500;
	letter-spacing: 0.14em;
}

/* ===== 定義リスト ===== */
.rgd-deflist > div {
	display: grid;
	grid-template-columns: 8em minmax(0, 1fr);
	gap: 16px;
	padding-block: 14px;
	border-bottom: 1px solid var(--rgd-line);
}

.rgd-deflist > div:first-child {
	border-top: 1px solid var(--rgd-line);
}

.rgd-deflist dt {
	color: var(--rgd-sub);
	font-size: var(--rgd-fs-sm);
}

.rgd-deflist dd {
	margin: 0;
	font-size: var(--rgd-fs-sm);
}

.rgd-deflist--grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 32px;
}

.rgd-deflist--grid > div:nth-child(2) {
	border-top: 1px solid var(--rgd-line);
}

.rgd-deflist--grid > div {
	grid-template-columns: 6.5em minmax(0, 1fr);
}

/* ===== メインビジュアル ===== */
.rgd-hero {
	padding-top: clamp(28px, 4vw, 64px);
	padding-bottom: clamp(72px, 8vw, 128px);
	overflow-x: clip;
}

.rgd-hero__intro {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 27em);
	gap: 24px clamp(32px, 5vw, 80px);
	align-items: end;
}

.rgd-hero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 18px;
	margin-bottom: clamp(16px, 2vw, 28px);
	color: var(--rgd-sub);
	font-size: var(--rgd-fs-sm);
	letter-spacing: 0.08em;
}

.rgd-hero__meta .rgd-number {
	font-size: var(--rgd-fs-md);
}

.rgd-hero__meta span + span:not(.rgd-number)::before {
	content: "";
	display: inline-block;
	width: 18px;
	height: 1px;
	margin-right: 18px;
	vertical-align: middle;
	background: var(--rgd-line-strong);
}

.rgd-hero__title {
	display: flex;
	flex-direction: column;
	gap: clamp(10px, 1.4vw, 18px);
}

.rgd-hero__en {
	font-size: var(--rgd-fs-display);
	font-weight: 300;
	line-height: 0.92;
	letter-spacing: -0.02em;
}

.rgd-hero__ja {
	font-size: var(--rgd-fs-md);
	font-weight: 500;
	letter-spacing: 0.32em;
}

.rgd-hero__aside {
	padding-bottom: 6px;
}

.rgd-hero__lead {
	font-size: var(--rgd-fs-md);
	line-height: 2;
	letter-spacing: 0.06em;
}

.rgd-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.rgd-hero__stage {
	position: relative;
	margin-top: clamp(36px, 5vw, 72px);
}

.rgd-hero__media {
	position: relative;
	overflow: hidden;
	margin: 0;
	border-radius: var(--rgd-r-xl);
	background: var(--rgd-bg-2);
	aspect-ratio: 16 / 7.4;
}

.rgd-hero__img,
.rgd-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--rgd-fx, 50%) var(--rgd-fy, 50%);
}

.rgd-hero__video {
	opacity: 0;
	transition: opacity 0.8s var(--rgd-ease);
}

.rgd-hero__video.is-playing {
	opacity: 1;
}

/* 実績カード：写真の右下に重ねる（このテーマの顔） */
.rgd-hero__card {
	position: relative;
	z-index: 2;
	width: min(820px, calc(100% - clamp(32px, 6vw, 96px)));
	margin: calc(clamp(72px, 9vw, 132px) * -1) clamp(16px, 3vw, 48px) 0 auto;
	padding: clamp(24px, 2.6vw, 36px) clamp(24px, 3vw, 44px) clamp(22px, 2.4vw, 32px);
	border-radius: var(--rgd-r-lg);
	background: var(--rgd-bg);
	box-shadow: var(--rgd-shadow-float);
}

.rgd-hero--no-image .rgd-hero__card {
	margin-top: 0;
	margin-inline: 0;
	width: 100%;
	box-shadow: none;
	border: 1px solid var(--rgd-line);
}

.rgd-hero__card-title {
	margin-bottom: 18px;
	color: var(--rgd-sub);
	font-size: var(--rgd-fs-xs);
	font-weight: 500;
	letter-spacing: 0.16em;
}

.rgd-hero__card-note {
	margin-top: 16px;
	color: var(--rgd-sub);
	font-size: var(--rgd-fs-xs);
	text-align: right;
}

.rgd-hero__caption {
	margin-top: 14px;
	color: var(--rgd-sub);
	font-size: var(--rgd-fs-xs);
}

/* 実績数値 */
.rgd-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
}

.rgd-stats__item {
	display: flex;
	flex-direction: column-reverse;
	justify-content: flex-end;
	gap: 6px;
	padding: 4px 20px 2px;
	border-left: 1px solid var(--rgd-line);
}

.rgd-stats__item:first-child {
	padding-left: 0;
	border-left: 0;
}

.rgd-stats dt {
	color: var(--rgd-sub);
	font-size: var(--rgd-fs-xs);
	font-weight: 500;
	letter-spacing: 0.06em;
	line-height: 1.5;
}

.rgd-stats dd {
	margin: 0;
}

.rgd-stats__num {
	display: block;
	font-family: var(--rgd-font-en);
	font-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.5rem);
	font-weight: 300;
	line-height: 1;
	letter-spacing: -0.01em;
	font-variant-numeric: tabular-nums;
}

.rgd-stats--panel {
	padding: clamp(28px, 3vw, 44px);
	border-radius: var(--rgd-r-lg);
	background: var(--rgd-bg);
	row-gap: 28px;
}

/* ===== 次戦 ===== */
.rgd-next {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(16px, 2vw, 24px);
}

.rgd-next--no-image {
	grid-template-columns: minmax(0, 1fr);
}

.rgd-next__body {
	display: flex;
	flex-direction: column;
	padding: clamp(28px, 3.6vw, 52px);
	border-radius: var(--rgd-r-xl);
	background: var(--rgd-bg-2);
}

.rgd-next__round {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	color: var(--rgd-sub);
	font-size: var(--rgd-fs-sm);
}

.rgd-next__date {
	margin-top: 22px;
	font-size: clamp(2.25rem, 1.5rem + 2.2vw, 3.5rem);
	white-space: nowrap;
	font-weight: 300;
	line-height: 1;
	letter-spacing: -0.01em;
	font-variant-numeric: tabular-nums;
}

.rgd-next__title {
	margin-top: 16px;
	font-size: var(--rgd-fs-lg);
	line-height: 1.6;
}

.rgd-next__title a {
	text-decoration: none;
}

.rgd-next__list {
	margin-top: 24px;
}

.rgd-next__list > div {
	grid-template-columns: 7em minmax(0, 1fr);
	border-color: var(--rgd-line-strong);
}

.rgd-next__list > div:first-child {
	border-top-color: var(--rgd-line-strong);
}

.rgd-countdown {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 16px;
	margin-top: auto;
	padding-top: 28px;
}

.rgd-countdown__label {
	color: var(--rgd-sub);
	font-size: var(--rgd-fs-sm);
}

.rgd-countdown__value {
	font-size: var(--rgd-fs-sm);
	color: var(--rgd-accent);
	font-weight: 500;
}

.rgd-countdown__value strong {
	font-size: clamp(2rem, 1.4rem + 1.6vw, 2.75rem);
	font-weight: 400;
	line-height: 1;
	margin-inline: 4px;
	font-variant-numeric: tabular-nums;
}

.rgd-countdown__value small {
	color: var(--rgd-sub);
	font-size: var(--rgd-fs-xs);
	margin-left: 8px;
	font-weight: 400;
}

.rgd-countdown--large {
	justify-content: flex-start;
	padding: 28px 32px;
	border-radius: var(--rgd-r-lg);
	background: var(--rgd-bg-2);
}

.rgd-next__media {
	overflow: hidden;
	border-radius: var(--rgd-r-xl);
	background: var(--rgd-bg-2);
	min-height: 320px;
}

.rgd-next__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ===== プロフィール ===== */
.rgd-profile {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: clamp(40px, 7vw, 112px);
	align-items: start;
}

.rgd-profile--no-image {
	grid-template-columns: minmax(0, 1fr);
	max-width: var(--rgd-container-narrow);
}

.rgd-profile__media {
	position: sticky;
	top: calc(var(--rgd-header-h) + 24px);
}

.rgd-profile__media .rgd-zoom {
	border-radius: var(--rgd-r-xl);
	aspect-ratio: 4 / 5;
}

.rgd-profile__name {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 18px;
	font-size: var(--rgd-fs-2xl);
	font-weight: 500;
	letter-spacing: 0.14em;
	line-height: 1.3;
}

.rgd-profile__name span {
	color: var(--rgd-sub);
	font-size: var(--rgd-fs-sm);
	font-weight: 400;
	letter-spacing: 0.2em;
}

.rgd-profile__bio {
	margin-top: 28px;
	max-width: 40em;
	line-height: 2.1;
}

.rgd-profile__bio p + p {
	margin-top: 1.2em;
}

.rgd-profile .rgd-deflist {
	margin-top: 36px;
}

.rgd-profile__goal {
	margin-top: 36px;
	padding: 24px 28px;
	border-radius: var(--rgd-r-md);
	background: var(--rgd-bg-2);
	font-size: var(--rgd-fs-md);
	line-height: 2;
}

.rgd-section--tint .rgd-profile__goal {
	background: var(--rgd-bg);
}

.rgd-profile__more {
	margin-top: 36px;
}

/* ===== 拡大リンク（写真） ===== */
.rgd-zoom {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: inherit;
	background: var(--rgd-line);
	cursor: zoom-in;
}

.rgd-zoom img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s var(--rgd-ease);
}

.rgd-zoom:hover img {
	transform: scale(1.035);
}

.rgd-zoom:focus-visible {
	outline-offset: 4px;
}

.rgd-zoom__play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--rgd-text);
	transform: translate(-50%, -50%);
}

/* ===== ハイライト（大1枚＋小4枚） ===== */
.rgd-bento {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: clamp(150px, 15vw, 230px);
	gap: clamp(10px, 1.2vw, 16px);
}

.rgd-bento__item {
	position: relative;
	overflow: hidden;
	border-radius: var(--rgd-r-md);
}

.rgd-bento__item:first-child {
	grid-column: span 2;
	grid-row: span 2;
	border-radius: var(--rgd-r-xl);
}

.rgd-bento__item .rgd-zoom {
	height: 100%;
}

.rgd-bento__caption {
	position: absolute;
	left: 12px;
	bottom: 12px;
	max-width: calc(100% - 24px);
	padding: 4px 12px;
	border-radius: var(--rgd-r-pill);
	background: rgba(255, 255, 255, 0.92);
	color: var(--rgd-text);
	font-size: var(--rgd-fs-xs);
	line-height: 1.6;
	pointer-events: none;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.35s var(--rgd-ease), transform 0.35s var(--rgd-ease);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.rgd-bento__item:hover .rgd-bento__caption,
.rgd-bento__item:focus-within .rgd-bento__caption {
	opacity: 1;
	transform: none;
}

.rgd-bento--1 {
	grid-template-columns: minmax(0, 1fr);
}

.rgd-bento--1 .rgd-bento__item:first-child {
	grid-column: auto;
	grid-row: span 2;
}

.rgd-bento--2 .rgd-bento__item:nth-child(2),
.rgd-bento--3 .rgd-bento__item:nth-child(3) {
	grid-column: span 2;
	grid-row: span 2;
}

.rgd-bento--4 .rgd-bento__item:nth-child(4) {
	grid-column: span 2;
}

/* ===== レース結果 ===== */
.rgd-results {
	border: 1px solid var(--rgd-line);
	border-radius: var(--rgd-r-lg);
	overflow: hidden;
	background: var(--rgd-bg);
}

.rgd-results__row + .rgd-results__row {
	border-top: 1px solid var(--rgd-line);
}

.rgd-results__link {
	display: grid;
	grid-template-columns: 9.5em minmax(0, 1fr) auto 7.5em;
	gap: 16px 32px;
	align-items: center;
	padding: clamp(20px, 2.4vw, 30px) clamp(20px, 3vw, 40px);
	text-decoration: none;
	transition: background-color 0.3s var(--rgd-ease);
}

.rgd-results__link:hover {
	background: var(--rgd-bg-2);
	color: inherit;
}

.rgd-results__date {
	font-size: var(--rgd-fs-md);
	font-weight: 400;
	font-variant-numeric: tabular-nums;
}

.rgd-results__event {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.rgd-results__series {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	color: var(--rgd-sub);
	font-size: var(--rgd-fs-xs);
}

.rgd-results__title {
	font-size: var(--rgd-fs-base);
	font-weight: 500;
	line-height: 1.6;
}

.rgd-results__circuit {
	color: var(--rgd-sub);
	font-size: var(--rgd-fs-sm);
}

.rgd-results__data {
	display: flex;
	gap: 28px;
	font-family: var(--rgd-font-en);
	font-size: var(--rgd-fs-lg);
	font-weight: 300;
}

.rgd-results__q,
.rgd-results__pts,
.rgd-results__finish {
	display: flex;
	flex-direction: column;
	gap: 2px;
	line-height: 1.2;
}

.rgd-results__label {
	color: var(--rgd-sub);
	font-family: var(--rgd-font-ja);
	font-size: var(--rgd-fs-xs);
	font-weight: 400;
	letter-spacing: 0.06em;
}

.rgd-results__finish {
	align-items: flex-end;
	text-align: right;
}

.rgd-results__pos {
	font-size: clamp(2rem, 1.5rem + 1.4vw, 2.75rem);
	font-weight: 300;
	line-height: 1;
}

.rgd-results__row.is-podium .rgd-results__pos {
	color: var(--rgd-accent);
	font-weight: 400;
}

.rgd-results__classpos {
	color: var(--rgd-sub);
	font-size: var(--rgd-fs-xs);
}

.rgd-results__row.is-podium .rgd-results__classpos {
	color: var(--rgd-accent);
}

/* ===== スポンサー ===== */
.rgd-sponsors__group + .rgd-sponsors__group {
	margin-top: clamp(40px, 5vw, 64px);
}

.rgd-sponsors__rank {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 20px;
	color: var(--rgd-sub);
	font-size: var(--rgd-fs-sm);
	font-weight: 500;
	letter-spacing: 0.14em;
}

.rgd-sponsors__rank::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--rgd-line);
}

.rgd-section--tint .rgd-sponsors__rank::after {
	background: var(--rgd-line-strong);
}

.rgd-sponsors__list {
	display: grid;
	gap: clamp(10px, 1.2vw, 16px);
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rgd-sponsors__group--tier1 .rgd-sponsors__list {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rgd-sponsors__group--tier2 .rgd-sponsors__list {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rgd-sponsors__logo {
	display: grid;
	place-items: center;
	padding: 24px;
	border-radius: var(--rgd-r-md);
	background: var(--rgd-bg-2);
	aspect-ratio: 16 / 9;
	text-decoration: none;
	transition: background-color 0.3s var(--rgd-ease);
}

.rgd-section--tint .rgd-sponsors__logo {
	background: var(--rgd-bg);
}

a.rgd-sponsors__logo:hover {
	background: var(--rgd-line);
}

.rgd-sponsors__group--tier1 .rgd-sponsors__logo {
	padding: 36px;
	border-radius: var(--rgd-r-lg);
	aspect-ratio: 2.4 / 1;
}

.rgd-sponsors__logo img {
	width: auto;
	max-width: 78%;
	max-height: 70%;
	object-fit: contain;
}

.rgd-sponsors__name {
	font-weight: 500;
	letter-spacing: 0.1em;
	text-align: center;
}

.rgd-sponsors__desc {
	margin-top: 12px;
	color: var(--rgd-sub);
	font-size: var(--rgd-fs-sm);
	line-height: 1.8;
}

.rgd-strip {
	padding-block: 32px;
	border-block: 1px solid var(--rgd-line);
}

.rgd-strip__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 24px 56px;
}

.rgd-strip__list img {
	height: 40px;
	width: auto;
	max-width: 160px;
	object-fit: contain;
}

/* ===== ニュースのカード ===== */
.rgd-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(32px, 4vw, 56px) var(--rgd-gap);
}

.rgd-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.rgd-card__media {
	overflow: hidden;
	border-radius: var(--rgd-r-md);
	background: var(--rgd-bg-2);
	aspect-ratio: 10 / 7;
}

.rgd-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s var(--rgd-ease);
}

.rgd-card:hover .rgd-card__media img {
	transform: scale(1.035);
}

.rgd-card__body {
	padding-top: 20px;
}

.rgd-card--no-image .rgd-card__body {
	padding-top: 24px;
	border-top: 1px solid var(--rgd-text);
}

.rgd-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	color: var(--rgd-sub);
	font-size: var(--rgd-fs-sm);
}

.rgd-card__title {
	margin-top: 10px;
	font-size: var(--rgd-fs-base);
	font-weight: 500;
	line-height: 1.75;
}

.rgd-card__title a {
	text-decoration: none;
}

/* カード全体をクリックできるようにする */
.rgd-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.rgd-card .rgd-tag {
	position: relative;
	z-index: 1;
}

/* ===== 誘導エリア ===== */
.rgd-section--cta {
	padding-top: calc(var(--rgd-section) + 40px);
}

.rgd-cta {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	padding: clamp(40px, 6vw, 88px) clamp(28px, 6vw, 88px);
	border-radius: var(--rgd-r-xl);
	background: var(--rgd-bg-2);
}

.rgd-cta--image {
	grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
	gap: 32px;
}

.rgd-cta__en {
	font-family: var(--rgd-font-en);
	font-size: var(--rgd-fs-section);
	font-weight: 300;
	line-height: 1;
}

.rgd-cta__title {
	margin-top: 18px;
	font-size: var(--rgd-fs-xl);
	letter-spacing: 0.1em;
}

.rgd-cta__text {
	margin-top: 20px;
	max-width: 32em;
	color: var(--rgd-sub);
	line-height: 2;
}

.rgd-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.rgd-cta__actions .rgd-btn--ghost {
	background: var(--rgd-bg);
	border-color: var(--rgd-bg);
}

.rgd-cta__media {
	position: relative;
	align-self: end;
}

/* 切り抜き画像を枠の上と右にはみ出させる */
.rgd-cta__media img {
	position: relative;
	width: 128%;
	max-width: none;
	margin-top: -38%;
	margin-bottom: -6%;
	margin-left: -6%;
	filter: drop-shadow(0 30px 30px rgba(21, 23, 26, 0.18));
}

/* ===== スケジュール ===== */
.rgd-table-wrap {
	overflow-x: auto;
	border: 1px solid var(--rgd-line);
	border-radius: var(--rgd-r-lg);
}

.rgd-schedule th,
.rgd-schedule td {
	padding: 18px 24px;
	border-bottom: 1px solid var(--rgd-line);
	text-align: left;
	vertical-align: middle;
	font-size: var(--rgd-fs-sm);
}

.rgd-schedule thead th {
	background: var(--rgd-bg-2);
	color: var(--rgd-sub);
	font-weight: 500;
	white-space: nowrap;
}

.rgd-schedule tbody tr:last-child td {
	border-bottom: 0;
}

.rgd-schedule__date {
	font-size: var(--rgd-fs-base) !important;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.rgd-schedule__series {
	display: block;
	color: var(--rgd-sub);
	font-size: var(--rgd-fs-xs);
}

.rgd-schedule a {
	font-weight: 500;
	text-decoration: none;
}

.rgd-schedule__result {
	white-space: nowrap;
	font-size: var(--rgd-fs-md) !important;
}

/* ===== 経歴 ===== */
.rgd-timeline {
	border-top: 1px solid var(--rgd-line);
}

.rgd-timeline__item {
	display: grid;
	grid-template-columns: 8rem minmax(0, 1fr);
	gap: 16px clamp(24px, 4vw, 56px);
	padding-block: clamp(32px, 4vw, 52px);
	border-bottom: 1px solid var(--rgd-line);
}

.rgd-timeline__item.has-image {
	grid-template-columns: 8rem minmax(0, 1fr) 300px;
}

.rgd-timeline__year {
	font-size: clamp(2rem, 1.6rem + 1.2vw, 2.75rem);
	font-weight: 300;
	line-height: 1;
}

.rgd-timeline__title {
	font-size: var(--rgd-fs-lg);
	line-height: 1.6;
}

.rgd-timeline__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 18px;
	margin-top: 8px;
	color: var(--rgd-sub);
	font-size: var(--rgd-fs-sm);
}

.rgd-timeline__nums {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
}

.rgd-timeline__nums li {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	padding: 6px 14px;
	border-radius: var(--rgd-r-pill);
	background: var(--rgd-bg-2);
	font-size: var(--rgd-fs-xs);
	color: var(--rgd-sub);
}

.rgd-timeline__nums strong {
	color: var(--rgd-text);
	font-size: var(--rgd-fs-sm);
	font-weight: 500;
}

.rgd-timeline__nums .is-rank {
	background: var(--rgd-accent-soft);
}

.rgd-timeline__nums .is-rank strong {
	color: var(--rgd-accent);
}

.rgd-timeline__topics {
	margin-top: 18px;
	font-size: var(--rgd-fs-sm);
}

.rgd-timeline__topics li {
	position: relative;
	padding-left: 18px;
}

.rgd-timeline__topics li + li {
	margin-top: 4px;
}

.rgd-timeline__topics li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.85em;
	width: 8px;
	height: 1px;
	background: var(--rgd-accent);
}

.rgd-timeline__desc {
	margin-top: 16px;
	max-width: 40em;
	color: var(--rgd-sub);
	font-size: var(--rgd-fs-sm);
	line-height: 2;
}

.rgd-timeline__media {
	align-self: start;
}

.rgd-timeline__media .rgd-zoom {
	border-radius: var(--rgd-r-md);
	aspect-ratio: 10 / 7;
}

/* ===== 記事（ニュース詳細） ===== */
.rgd-article {
	padding-top: clamp(32px, 4vw, 56px);
	padding-bottom: var(--rgd-section);
}

.rgd-article__header {
	max-width: 52rem;
	margin-bottom: clamp(36px, 5vw, 64px);
}

.rgd-article__title {
	margin-top: 16px;
	font-size: var(--rgd-fs-2xl);
	line-height: 1.55;
	letter-spacing: 0.06em;
}

.rgd-article__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(32px, 5vw, 80px);
}

.rgd-article:not(.rgd-article--image) .rgd-article__body {
	max-width: var(--rgd-container-narrow);
}

.rgd-article--image .rgd-article__grid {
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	align-items: start;
}

.rgd-article__media {
	position: sticky;
	top: calc(var(--rgd-header-h) + 24px);
}

.rgd-article__media .rgd-zoom {
	border-radius: var(--rgd-r-xl);
}

.rgd-postnav {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	gap: 24px;
	align-items: center;
	margin-top: clamp(64px, 8vw, 104px);
	padding-top: 32px;
	border-top: 1px solid var(--rgd-line);
}

.rgd-postnav a:not(.rgd-btn) {
	display: flex;
	flex-direction: column;
	gap: 4px;
	text-decoration: none;
}

.rgd-postnav__next {
	text-align: right;
}

.rgd-postnav__label {
	color: var(--rgd-sub);
	font-size: var(--rgd-fs-xs);
}

.rgd-postnav__title {
	font-size: var(--rgd-fs-sm);
	font-weight: 500;
}

/* ===== レース詳細 ===== */
.rgd-race__header {
	padding-bottom: 0;
}

.rgd-race__header .rgd-next__round {
	margin-bottom: 16px;
}

.rgd-race__title {
	max-width: 40rem;
	margin-top: 0;
	font-size: var(--rgd-fs-2xl);
	color: var(--rgd-text);
	line-height: 1.5;
}

.rgd-section--race {
	padding-top: clamp(40px, 5vw, 64px);
}

.rgd-race__grid {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
	gap: clamp(40px, 6vw, 96px);
	align-items: start;
}

.rgd-race__result {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
	padding: clamp(24px, 3vw, 36px);
	border-radius: var(--rgd-r-lg);
	background: var(--rgd-bg-2);
	row-gap: 24px;
}

.rgd-race__result > div {
	padding-inline: 20px;
	border-left: 1px solid var(--rgd-line-strong);
}

.rgd-race__result > div:first-child {
	padding-left: 0;
	border-left: 0;
}

.rgd-race__result dt {
	color: var(--rgd-sub);
	font-size: var(--rgd-fs-xs);
}

.rgd-race__result dd {
	margin: 6px 0 0;
	font-size: clamp(1.5rem, 1.1rem + 1vw, 2.25rem);
	white-space: nowrap;
	font-weight: 300;
	line-height: 1.1;
}

.rgd-race__result.is-podium > div:nth-child(2) dd {
	color: var(--rgd-accent);
}

.rgd-race__result .is-pole {
	grid-column: 1 / -1;
	padding: 16px 0 0;
	border-left: 0;
	border-top: 1px solid var(--rgd-line-strong);
}

.rgd-race__result .is-pole dd {
	font-family: var(--rgd-font-ja);
	font-size: var(--rgd-fs-sm);
	font-weight: 500;
	color: var(--rgd-accent);
}

.rgd-race__summary {
	margin-top: 32px;
	font-size: var(--rgd-fs-md);
	font-weight: 500;
	line-height: 1.9;
}

.rgd-race__main .rgd-content {
	margin-top: 24px;
}

.rgd-race__side {
	position: sticky;
	top: calc(var(--rgd-header-h) + 24px);
}

.rgd-race__side > p {
	margin-top: 20px;
}

/* ===== 写真の並び ===== */
.rgd-photos {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(10px, 1.2vw, 16px);
}

.rgd-photos li {
	overflow: hidden;
	border-radius: var(--rgd-r-md);
}

.rgd-photos .rgd-zoom {
	aspect-ratio: 10 / 7;
}

.rgd-photos--gallery li:first-child {
	grid-column: span 2;
	grid-row: span 2;
	border-radius: var(--rgd-r-xl);
}

.rgd-photos--gallery li:first-child .rgd-zoom {
	aspect-ratio: auto;
	height: 100%;
}

.rgd-gallery-single__text {
	margin-bottom: clamp(32px, 4vw, 56px);
}

/* ===== ギャラリー一覧 ===== */
.rgd-gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(32px, 4vw, 48px) var(--rgd-gap);
}

.rgd-gtile__link {
	display: block;
	text-decoration: none;
}

.rgd-gtile__media {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--rgd-r-md);
	background: var(--rgd-bg-2);
	aspect-ratio: 10 / 7;
}

.rgd-gtile__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s var(--rgd-ease);
}

.rgd-gtile__link:hover img {
	transform: scale(1.035);
}

.rgd-gtile__count {
	position: absolute;
	right: 12px;
	bottom: 12px;
	padding: 2px 12px;
	border-radius: var(--rgd-r-pill);
	background: rgba(255, 255, 255, 0.92);
	color: var(--rgd-text);
	font-size: var(--rgd-fs-xs);
}

.rgd-gtile__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-top: 16px;
}

.rgd-gtile__date {
	color: var(--rgd-sub);
	font-size: var(--rgd-fs-sm);
}

.rgd-gtile__title {
	font-weight: 500;
	line-height: 1.7;
}

/* ===== 絞り込み ===== */
.rgd-filter {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 16px 20px;
	margin-bottom: clamp(28px, 3vw, 40px);
	padding: 20px 24px;
	border-radius: var(--rgd-r-lg);
	background: var(--rgd-bg-2);
}

.rgd-filter__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 180px;
}

.rgd-filter__field label {
	color: var(--rgd-sub);
	font-size: var(--rgd-fs-xs);
	font-weight: 500;
}

.rgd-filter select {
	height: 42px;
	padding: 0 40px 0 16px;
	border: 1px solid var(--rgd-line-strong);
	border-radius: var(--rgd-r-sm);
	background: var(--rgd-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2315171a' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 16px center;
	-webkit-appearance: none;
	appearance: none;
	font-size: var(--rgd-fs-sm);
}

.rgd-filter__actions {
	display: flex;
	align-items: center;
	gap: 20px;
}

/* ===== フォーム ===== */
.rgd-contact-layout {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
	gap: clamp(40px, 6vw, 96px);
	align-items: start;
}

.rgd-contact-layout__info .rgd-deflist,
.rgd-contact-layout__info > p {
	margin-top: 28px;
}

.rgd-form {
	padding: clamp(28px, 4vw, 52px);
	border-radius: var(--rgd-r-xl);
	background: var(--rgd-bg-2);
}

.rgd-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 20px;
}

.rgd-form__row {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0 0 24px;
	padding: 0;
	border: 0;
	min-width: 0;
}

.rgd-form__label {
	padding: 0;
	font-size: var(--rgd-fs-sm);
	font-weight: 500;
}

.rgd-form__req {
	margin-left: 6px;
	color: var(--rgd-accent);
	font-size: var(--rgd-fs-xs);
}

.rgd-form input[type="text"],
.rgd-form input[type="email"],
.rgd-form input[type="tel"],
.rgd-form textarea,
.search-form input[type="search"] {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid var(--rgd-line-strong);
	border-radius: var(--rgd-r-sm);
	background: var(--rgd-bg);
	font-size: var(--rgd-fs-base);
	line-height: 1.6;
	transition: border-color 0.2s var(--rgd-ease), box-shadow 0.2s var(--rgd-ease);
}

.rgd-form input:focus,
.rgd-form textarea:focus,
.search-form input[type="search"]:focus {
	border-color: var(--rgd-accent);
	box-shadow: 0 0 0 3px var(--rgd-accent-soft);
	outline: none;
}

.rgd-form [aria-invalid="true"] {
	border-color: var(--rgd-accent);
}

.rgd-form__choices {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.rgd-choice {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: var(--rgd-fs-sm);
	cursor: pointer;
}

.rgd-form__choices .rgd-choice {
	padding: 10px 16px;
	border: 1px solid var(--rgd-line-strong);
	border-radius: var(--rgd-r-pill);
	background: var(--rgd-bg);
	transition: border-color 0.2s var(--rgd-ease);
}

.rgd-form__choices .rgd-choice:has(input:checked) {
	border-color: var(--rgd-accent);
	color: var(--rgd-accent);
}

.rgd-choice input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--rgd-accent);
}

.rgd-choice a {
	color: var(--rgd-accent);
}

.rgd-form__error {
	color: var(--rgd-accent);
	font-size: var(--rgd-fs-xs);
	font-weight: 500;
}

.rgd-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.rgd-form__submit {
	margin-top: 8px;
}

.rgd-form__submit .rgd-btn {
	min-width: 220px;
}

.rgd-notice {
	margin-bottom: 24px;
	padding: 20px 24px;
	border-radius: var(--rgd-r-md);
	font-size: var(--rgd-fs-sm);
}

.rgd-notice--success {
	background: var(--rgd-bg-2);
	border-left: 2px solid var(--rgd-text);
}

.rgd-notice--error {
	background: var(--rgd-accent-soft);
	border-left: 2px solid var(--rgd-accent);
	color: var(--rgd-accent);
}

.search-form {
	display: flex;
	gap: 10px;
	margin-bottom: 40px;
}

.search-form label {
	flex: 1;
}

.search-form .search-submit {
	padding: 0 24px;
	border: 0;
	border-radius: var(--rgd-r-pill);
	background: var(--rgd-accent);
	color: #fff;
	cursor: pointer;
}

.rgd-search-list li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	padding-block: 18px;
	border-bottom: 1px solid var(--rgd-line);
}

.rgd-search-list a {
	font-weight: 500;
	text-decoration: none;
}

/* ===== SNS ===== */
.rgd-sns {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.rgd-sns a {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--rgd-line-strong);
	border-radius: 50%;
	transition: border-color 0.2s var(--rgd-ease), color 0.2s var(--rgd-ease);
}

.rgd-sns a:hover {
	border-color: currentColor;
}

.rgd-sns .rgd-icon {
	width: 18px;
	height: 18px;
}

/* ===== ページ送り ===== */
.rgd-pagination {
	margin-top: clamp(48px, 6vw, 72px);
}

.rgd-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.rgd-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--rgd-line);
	border-radius: var(--rgd-r-pill);
	font-family: var(--rgd-font-en);
	text-decoration: none;
}

.rgd-pagination .page-numbers.current {
	border-color: var(--rgd-text);
	background: var(--rgd-text);
	color: #fff;
}

.rgd-pagination .rgd-icon {
	width: 18px;
	height: 18px;
}

.rgd-empty-state {
	padding: clamp(40px, 6vw, 72px);
	border-radius: var(--rgd-r-xl);
	background: var(--rgd-bg-2);
	text-align: center;
}

.rgd-empty-state p + p {
	margin-top: 24px;
}

/* ===== コメント ===== */
.rgd-comments__title {
	margin-bottom: 24px;
	font-size: var(--rgd-fs-lg);
}

.rgd-comments__list li {
	padding-block: 20px;
	border-bottom: 1px solid var(--rgd-line);
}

/* ===== ライトボックス ===== */
.rgd-lightbox {
	width: 100vw;
	max-width: 100vw;
	height: 100vh;
	height: 100dvh;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(21, 23, 26, 0.94);
	color: #fff;
}

.rgd-lightbox::backdrop {
	background: transparent;
}

.rgd-lightbox[open] {
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto;
	animation: rgd-fade 0.3s var(--rgd-ease);
}

.rgd-lightbox__bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 20px;
	font-family: var(--rgd-font-en);
	font-size: var(--rgd-fs-sm);
	color: var(--rgd-on-ink-sub);
}

.rgd-lightbox__stage {
	display: grid;
	place-items: center;
	padding: 0 clamp(16px, 7vw, 96px);
	min-height: 0;
}

.rgd-lightbox__stage img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: var(--rgd-r-sm);
}

.rgd-lightbox__stage iframe {
	width: min(1200px, 100%);
	aspect-ratio: 16 / 9;
	height: auto;
	border: 0;
	border-radius: var(--rgd-r-sm);
}

.rgd-lightbox__caption {
	min-height: 56px;
	padding: 12px 20px 24px;
	color: var(--rgd-on-ink-sub);
	font-size: var(--rgd-fs-sm);
	text-align: center;
}

.rgd-lightbox__btn {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 50%;
	background: transparent;
	color: #fff;
	cursor: pointer;
	transition: border-color 0.2s var(--rgd-ease);
}

.rgd-lightbox__btn:hover {
	border-color: #fff;
}

.rgd-lightbox__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.rgd-lightbox__nav--prev {
	left: 16px;
}

.rgd-lightbox__nav--next {
	right: 16px;
}

.rgd-lightbox__btn[hidden] {
	display: none;
}

@keyframes rgd-fade {
	from {
		opacity: 0;
	}
}

/* ===== 動き（JavaScript が有効で、動きを減らす設定でないときだけ） ===== */
.rgd-js .rgd-hero__media img {
	animation: rgd-hero-settle 1.8s var(--rgd-ease) both;
}

.rgd-js .rgd-hero__card {
	animation: rgd-card-rise 1s var(--rgd-ease) 0.35s both;
}

@keyframes rgd-hero-settle {
	from {
		transform: scale(1.06);
	}
}

@keyframes rgd-card-rise {
	from {
		opacity: 0;
		transform: translateY(28px);
	}
}

.rgd-js [data-rgd-reveal] {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.9s var(--rgd-ease), transform 0.9s var(--rgd-ease);
}

.rgd-js [data-rgd-reveal].is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.rgd-js .rgd-hero__media img,
	.rgd-js .rgd-hero__card {
		animation: none;
	}

	.rgd-js [data-rgd-reveal] {
		opacity: 1;
		transform: none;
	}

	.rgd-zoom:hover img,
	.rgd-card:hover .rgd-card__media img,
	.rgd-gtile__link:hover img {
		transform: none;
	}
}
