.service-top {
	--st-header-h: 72px;
	/* Brand */
	--service-accent: #2f7d32;
	--service-accent-dark: #185a1f;
	--service-bg: #f7fbf5;
	--service-text: #203126;
	--service-muted: #5d6d63;
	--service-border: rgba(32, 49, 38, 0.14);
	/* Text links */
	--service-link: var(--service-muted);
	--service-link-hover: var(--service-accent);
	/* Buttons: filled (primary) */
	--service-btn-fill: var(--service-accent);
	--service-btn-fill-hover: var(--service-accent-dark);
	--service-btn-on-fill: #fff;
	/* Buttons: surface (white background) */
	--service-btn-surface: #fff;
	--service-btn-on-surface: var(--service-accent);
	--service-btn-surface-border: var(--service-accent);
	/* Hero on photo (aligned with integrated top) */
	--service-hero-overlay: rgba(15, 16, 17, 0.82);
	--service-hero-fallback: #0f1011;
	--service-hero-text: #fff;
	--service-hero-text-muted: rgba(255, 255, 255, 0.84);
	--service-hero-eyebrow-bg: rgba(255, 255, 255, 0.12);
	--service-hero-eyebrow-border: rgba(255, 255, 255, 0.28);
	--service-hero-panel-bg: rgba(255, 255, 255, 0.1);
	--service-hero-panel-border: rgba(255, 255, 255, 0.22);
	margin: 0;
	background: var(--service-bg);
	color: var(--service-text);
	font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.service-top * {
	box-sizing: border-box;
}

.service-top--athlete {
	--service-accent: #d85b24;
	--service-accent-dark: #9f3511;
	--service-bg: #fff8f2;
	--service-text: #2f241f;
	--service-muted: #735d52;
	--service-border: rgba(47, 36, 31, 0.14);
}

.st-site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid var(--service-border);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.st-header__inner,
.st-section__inner {
	width: min(1120px, calc(100% - 32px));
	margin: 0 auto;
}

.st-site-header .st-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--st-header-h);
	gap: 24px;
}

@media (min-width: 768px) {
	.st-site-header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 24px;
		width: 100%;
		margin: 0;
		padding-inline: max(16px, calc((100% - 1120px) / 2));
	}

	.st-site-header .st-header__inner {
		width: auto;
		flex: 0 0 auto;
		margin: 0;
	}

	.st-site-header .st-header__nav {
		flex: 1 1 auto;
		display: flex;
		justify-content: flex-end;
	}
}

.st-brand {
	display: grid;
	gap: 2px;
	font-weight: 700;
}

.st-brand__label {
	color: var(--service-accent);
	font-size: 0.78rem;
	letter-spacing: 0;
}

.st-brand__name {
	font-size: clamp(1.05rem, 2vw, 1.35rem);
}

/* --------------------------------------------------------------------------
   Text links（ボタン以外）
   -------------------------------------------------------------------------- */
.st-text-link,
.st-nav__links > a {
	color: var(--service-link);
	text-decoration: none;
	transition: color 0.2s ease;
}

.st-text-link:hover,
.st-text-link:focus-visible,
.st-nav__links > a:hover,
.st-nav__links > a:focus-visible {
	color: var(--service-link-hover);
}

.st-nav__logout {
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--service-link);
	white-space: nowrap;
	text-decoration: none;
	transition: color 0.2s ease;
}

.st-nav__logout:hover,
.st-nav__logout:focus-visible {
	color: var(--service-link-hover);
}

.st-header__nav {
	flex-shrink: 0;
}

.st-nav__inner {
	display: flex;
	align-items: center;
	gap: 18px;
	font-size: 0.94rem;
}

.st-nav__links {
	display: flex;
	align-items: center;
	gap: 18px;
}

.st-nav__actions {
	display: flex;
	align-items: center;
}

.st-nav__auth {
	display: flex;
	align-items: center;
	gap: 14px;
}

.st-hamburger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-left: auto;
	padding: 6px;
	border: none;
	border-radius: 4px;
	background: transparent;
	cursor: pointer;
}

.st-hamburger:hover,
.st-hamburger:focus,
.st-hamburger:focus-visible,
.st-hamburger:active {
	background: transparent;
	background-color: transparent;
	box-shadow: none;
	outline: none;
}

.st-hamburger__icon {
	display: block;
	position: relative;
	width: 100%;
	height: 18px;
}

.st-hamburger__bar {
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	border-radius: 2px;
	background-color: var(--service-text);
	transform-origin: center center;
	transition:
		top 0.4s cubic-bezier(0.4, 0, 0.2, 1),
		transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
		opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
		background-color 0.2s ease;
}

.st-hamburger__bar:nth-child(1) {
	top: 0;
}

.st-hamburger__bar:nth-child(2) {
	top: 8px;
}

.st-hamburger__bar:nth-child(3) {
	top: 16px;
}

/* 閉じているとき：ホバーで上下の線間隔を広げる */
.st-hamburger:not(.is-open):hover .st-hamburger__bar:nth-child(1),
.st-hamburger:not(.is-open):focus-visible .st-hamburger__bar:nth-child(1) {
	top: -2px;
}

.st-hamburger:not(.is-open):hover .st-hamburger__bar:nth-child(3),
.st-hamburger:not(.is-open):focus-visible .st-hamburger__bar:nth-child(3) {
	top: 18px;
}

/* 開いたとき：中央で交わる × */
.st-hamburger.is-open .st-hamburger__bar:nth-child(1),
.st-hamburger.is-open .st-hamburger__bar:nth-child(3) {
	top: 8px;
}

.st-hamburger.is-open .st-hamburger__bar:nth-child(1) {
	transform: rotate(45deg);
}

.st-hamburger.is-open .st-hamburger__bar:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}

.st-hamburger.is-open .st-hamburger__bar:nth-child(3) {
	transform: rotate(-45deg);
}

.st-nav-overlay {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 998;
	background-color: rgba(0, 0, 0, 0.4);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.st-nav-overlay.is-open {
	opacity: 1;
	pointer-events: auto;
}

/* --------------------------------------------------------------------------
   Buttons（.st-button = filled primary / --secondary = white surface）
   -------------------------------------------------------------------------- */
.st-button,
a.st-button,
button.st-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid var(--service-btn-fill);
	border-radius: 999px;
	background: var(--service-btn-fill);
	color: var(--service-btn-on-fill);
	font-weight: 700;
	text-decoration: none;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		background 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease;
}

.st-button:hover,
.st-button:focus-visible,
a.st-button:hover,
a.st-button:focus-visible {
	background: var(--service-btn-fill-hover);
	border-color: var(--service-btn-fill-hover);
	color: var(--service-btn-on-fill);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
	transform: translateY(-1px);
}

.st-button--secondary,
a.st-button.st-button--secondary {
	background: var(--service-btn-surface);
	border-color: var(--service-btn-surface-border);
	color: var(--service-btn-on-surface);
}

.st-button--secondary:hover,
.st-button--secondary:focus-visible,
a.st-button.st-button--secondary:hover,
a.st-button.st-button--secondary:focus-visible {
	background: rgba(255, 255, 255, 0.88);
	border-color: var(--service-btn-surface-border);
	color: var(--service-accent-dark);
}

.st-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(72px, 10vw, 128px) 0 clamp(56px, 8vw, 96px);
	color: var(--service-hero-text);
	background-color: var(--service-hero-fallback);
	background-image: var(--service-hero-image, none);
	background-position: center;
	background-size: cover;
}

.st-hero::before {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: var(--service-hero-overlay);
	content: "";
}

.st-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
	align-items: end;
	gap: clamp(32px, 6vw, 72px);
}

.st-hero__copy {
	max-width: 720px;
	text-align: center;
}

.st-eyebrow {
	display: inline-flex;
	align-items: center;
	margin-bottom: 16px;
	padding: 7px 12px;
	border: 1px solid var(--service-hero-eyebrow-border);
	border-radius: 999px;
	background: var(--service-hero-eyebrow-bg);
	color: #fff;
	font-size: 0.86rem;
	font-weight: 700;
	backdrop-filter: blur(6px);
}

.st-hero h1 {
	margin: 0;
	color: var(--service-hero-text);
	font-size: clamp(2.35rem, 6vw, 4.8rem);
	line-height: 1.08;
	letter-spacing: 0;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.st-hero__lead {
	max-width: 640px;
	margin: 22px auto 0;
	color: var(--service-hero-text-muted);
	font-size: clamp(1.02rem, 2vw, 1.22rem);
	line-height: 1.9;
}

.st-hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 30px;
}

.st-hero__panel {
	padding: 28px;
	border: 1px solid var(--service-hero-panel-border);
	border-radius: 8px;
	background: var(--service-hero-panel-bg);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
	backdrop-filter: blur(10px);
}

.st-hero__panel-title {
	margin: 0 0 18px;
	color: var(--service-hero-text);
	font-size: 1.05rem;
}

.st-checklist {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.st-checklist li {
	display: grid;
	grid-template-columns: 22px 1fr;
	gap: 10px;
	color: var(--service-hero-text-muted);
	line-height: 1.7;
}

.st-checklist li::before {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--service-accent);
	color: #fff;
	content: "✓";
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 22px;
	text-align: center;
}

.st-quick-links {
	padding: 34px 0;
	background: #fff;
}

.st-quick-links__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.st-quick-links__item {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 72px;
	padding: 18px 20px;
	border: 1px solid color-mix(in srgb, var(--service-accent) 28%, #fff);
	border-radius: 8px;
	background: #fff;
	color: var(--service-accent-dark);
	font-size: 1.05rem;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	box-shadow: 0 14px 34px rgba(47, 36, 31, 0.1);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.st-quick-links__item:hover,
.st-quick-links__item:focus-visible {
	border-color: var(--service-accent);
	color: var(--service-accent-dark);
	box-shadow: 0 18px 42px rgba(47, 36, 31, 0.14);
	transform: translateY(-2px);
}

.st-section {
	padding: clamp(54px, 8vw, 88px) 0;
	background: #fff;
}

.st-section--tinted {
	background: var(--service-bg);
}

.st-section__header {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 28px;
}

.st-section__title {
	margin: 0;
	font-size: clamp(1.55rem, 3vw, 2.2rem);
	line-height: 1.35;
}

.st-section__lead {
	max-width: 560px;
	margin: 0;
	color: var(--service-muted);
	line-height: 1.8;
}

.st-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.st-card {
	min-height: 210px;
	padding: 24px;
	border: 1px solid var(--service-border);
	border-radius: 8px;
	background: #fff;
}

.st-card__number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin-bottom: 18px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--service-accent) 14%, #fff);
	color: var(--service-accent);
	font-weight: 700;
}

.yc-notices {
	padding: 40px 0;
	background: #fff;
}

.yc-notices__inner {
	width: min(1120px, calc(100% - 32px));
	margin-inline: auto;
}

.yc-notices__header {
	margin-bottom: 18px;
	text-align: center;
}

.yc-notices__header h2 {
	margin: 0;
	font-size: 1.25rem;
	color: var(--service-ink);
}

.yc-notices__list {
	display: grid;
	width: min(760px, 66.666%);
	margin-inline: auto;
	border-top: 1px solid var(--service-border);
}

.yc-notices__item {
	display: grid;
	grid-template-columns: 104px minmax(0, 1fr);
	gap: 24px;
	align-items: center;
	padding: 18px 1em;
	border-bottom: 1px solid var(--service-border);
	background: #fff;
}

.yc-notices__item time {
	color: var(--service-muted);
	font-size: 0.86rem;
	font-weight: 700;
}

.yc-notices__item h3 {
	margin: 0;
	color: var(--service-ink);
	font-size: 1rem;
	line-height: 1.5;
}

.yc-notices__item h3 a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.yc-notices__item h3 a:hover {
	color: var(--service-accent);
}

.st-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100px;
	margin-bottom: 20px;
	font-size: 2.8rem;
	color: var(--service-text);
}

.st-card__icon img {
	width: auto;
	height: 100%;
	object-fit: contain;
}

.st-card h3 {
	margin: 0 0 10px;
	font-size: 1.12rem;
}

.st-card--center h3 {
	text-align: center;
	margin-bottom: 14px;
}

.st-card p {
	margin: 0;
	color: var(--service-muted);
	line-height: 1.8;
}

.st-link-band {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 20px;
	padding: 28px;
	border-radius: 8px;
	background: var(--service-accent);
	color: #fff;
}

.st-link-band h2 {
	margin: 0 0 8px;
	color: #fff;
	font-size: clamp(1.35rem, 3vw, 2rem);
}

.st-link-band p {
	margin: 0;
	color: rgba(255, 255, 255, 0.84);
	line-height: 1.8;
}

/* Accent band: white button on colored background */
.st-link-band .st-button {
	background: var(--service-btn-surface);
	border-color: #fff;
	color: var(--service-btn-on-surface);
}

.st-link-band .st-button:hover,
.st-link-band .st-button:focus-visible {
	background: rgba(255, 255, 255, 0.92);
	border-color: #fff;
	color: var(--service-accent-dark);
}

.st-subpage-hero {
	min-height: clamp(200px, 28vw, 345px);
	display: flex;
	align-items: center;
	padding: clamp(36px, 5vw, 64px) 0;
}

.st-subpage-hero__inner {
	position: relative;
	z-index: 1;
	width: min(1120px, calc(100% - 32px));
	margin: 0 auto;
	text-align: center;
}

.st-subpage-hero .st-hero__copy {
	width: 100%;
	max-width: none;
	margin-inline: auto;
	text-align: center;
}

.st-subpage-hero h1 {
	color: var(--service-hero-text);
	font-size: clamp(1.55rem, 4vw, 3.2rem);
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.st-page-content :where(a:not(.st-button)) {
	color: var(--service-accent);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.st-page-content :where(a:not(.st-button)):hover,
.st-page-content :where(a:not(.st-button)):focus-visible {
	color: var(--service-accent-dark);
}

.st-page-content {
	max-width: 820px;
	margin: 0 auto;
	color: var(--service-text);
	font-size: 1rem;
	line-height: 2;
}

.st-membership-notice {
	max-width: 900px;
	margin: 0 auto 28px;
	padding: 20px 24px;
	border: 1px solid var(--service-border);
	border-radius: 8px;
	background: #fff;
	color: var(--service-muted);
	font-size: 0.95rem;
	line-height: 1.9;
	text-align: left;
}

.st-membership-notice p {
	margin: 0 0 0.85em;
}

.st-membership-notice p:last-child {
	margin-bottom: 0;
}

.st-membership-notice a {
	color: var(--service-accent);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.st-membership-notice a:hover,
.st-membership-notice a:focus-visible {
	color: var(--service-accent-dark);
}

.st-membership-signup-actions {
	display: flex;
	justify-content: center;
	margin: 0 auto 40px;
}

.st-page-content > *:first-child {
	margin-top: 0;
}

.st-page-content > *:last-child {
	margin-bottom: 0;
}

.st-page-content h2,
.st-page-content h3,
.st-page-content h4 {
	margin: 2.2em 0 0.8em;
	line-height: 1.45;
}

.st-page-content h2 {
	padding-bottom: 0.45em;
	border-bottom: 2px solid var(--service-border);
	font-size: clamp(1.45rem, 3vw, 2rem);
}

.st-page-content h3 {
	font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.st-page-content p,
.st-page-content ul,
.st-page-content ol,
.st-page-content figure {
	margin: 0 0 1.35em;
}

.st-page-content ul,
.st-page-content ol {
	padding-left: 1.5em;
}

.st-page-content li + li {
	margin-top: 0.35em;
}

.st-page-content img {
	height: auto;
	border-radius: 8px;
}

.st-footer {
	padding-block: 48px 32px;
	background: #1f3b23;
	color: rgba(255, 255, 255, 0.85);
}

.st-footer__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	width: min(1160px, calc(100% - 40px));
	margin: 0 auto;
	text-align: center;
}

.st-footer__logo img {
	filter: brightness(0) invert(1);
}

.st-footer__site-name {
	color: #fff;
	font-size: 1.2rem;
	font-weight: 700;
	text-decoration: none;
}

.st-footer__nav {
	display: grid;
	gap: 12px;
}

.st-footer-nav__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.st-footer-nav__list a {
	display: inline-flex;
	padding: 4px 8px;
	border-radius: 4px;
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.85rem;
	text-decoration: none;
	transition: color 0.2s ease;
}

.st-footer-nav__list a:hover,
.st-footer-nav__list a:focus-visible {
	color: #fff;
}

.st-footer__copy {
	margin: 8px 0 0;
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.78rem;
}

@media (max-width: 767px) {
	.st-site-header .st-header__inner {
		width: 100%;
		padding-inline: 16px;
	}

	.st-header__nav {
		position: fixed;
		top: 0;
		right: -100%;
		left: auto;
		z-index: 999;
		width: min(80vw, 320px);
		max-width: 320px;
		height: 100%;
		height: 100dvh;
		margin: 0;
		padding: calc(var(--st-header-h) + 16px) 24px 40px;
		overflow-x: hidden;
		overflow-y: auto;
		background-color: #fff;
		box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
		transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	}

	.st-header__nav.is-open {
		right: 0;
	}

	.st-nav__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 24px;
	}

	.st-nav__links {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		width: 100%;
	}

	.st-nav__links > a {
		padding: 14px 16px;
		border-bottom: 1px solid var(--service-border);
		border-radius: 4px;
		font-size: 0.95rem;
		transition: background-color 0.3s ease, padding-left 0.3s ease, color 0.3s ease;
	}

	.st-nav__links > a:hover,
	.st-nav__links > a:focus-visible {
		padding-left: 24px;
		background-color: rgba(0, 0, 0, 0.04);
		color: var(--service-text);
	}

	.st-nav__actions {
		width: 100%;
	}

	.st-nav__auth {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		gap: 10px;
	}

	.st-nav__logout {
		padding: 8px 0;
	}

	.st-nav__actions .st-button {
		width: 100%;
		justify-content: center;
	}

	.st-hamburger {
		display: flex;
		position: relative;
		z-index: 1001;
		flex-shrink: 0;
	}

	.st-nav-overlay {
		display: block;
	}
}

@media (max-width: 840px) {
	.st-hero__inner,
	.st-link-band {
		grid-template-columns: 1fr;
	}

	.st-card-grid {
		grid-template-columns: 1fr;
	}

	.st-quick-links {
		padding: 24px 0;
	}

	.st-quick-links__grid {
		grid-template-columns: 1fr;
	}

	.st-section__header {
		align-items: start;
		flex-direction: column;
	}

	.yc-notices__item {
		grid-template-columns: 1fr;
		gap: 6px;
		padding: 16px 1em;
	}

	.yc-notices__list {
		width: 100%;
	}
}
