@charset "utf-8";

/* ==========================================================================
   横浜エクセレンスアカデミー
   1. 変数 / 2. リセット / 3. 汎用 / 4. レイアウト / 5. コンポーネント / 6. ページ
   ブレークポイント: PC >=1025px / Tablet 768-1024px / SP <=767px
   ========================================================================== */

/* ==========================================================================
   1. 変数
   ========================================================================== */
:root {
	/* カラー */
	--c-primary: #004700;
	--c-accent: #c6e3c5;
	--c-gold: #af933c;
	--c-bg: #f4f4f4;
	--c-white: #fff;
	--c-text: #000;
	--c-text-invert: #f4f4f4;
	--c-border: #ddd;
	--c-muted: #767676;
	--c-ink: #333;        /* Figma のテキスト色 */
	--c-ink-sub: #6d6d6d; /* Figma のサブテキスト色 */
	--c-chip: #f0f0f0;    /* Figma のチップ背景 */
	--c-bar: #b2b2b2;     /* Figma のグレーバー */
	--c-primary-dark: #002d00; /* --c-primary を濃くした色 */

	/* セクション見出しの背景（フライヤー準拠のグラデーション＋斜めストライプ） */
	--c-grad-dark: #0b5c33;
	--c-grad-mid: #2f9247;
	--c-grad-light: #7cc242;
	--grad-angle: 115deg;
	--stripe-a: rgba(255, 255, 255, .10);
	--stripe-b: rgba(255, 255, 255, .05);

	/* レイアウト */
	--w-container: 1200px; /* Figma のコンテンツ幅 */
	--h-header-logo: 60px;
	--h-header: 140px; /* sticky ヘッダーの高さ（アンカー位置補正用） */
	--gap-col: 20px;
	--gap-sec: 100px;

	/* セクション見出し */
	--sec-body-pt: 48px;  /* 見出しと本文の間隔 */
	--hero-ratio: 12 / 5;  /* ヒーロー画像 1920x800 */

	/* フォント */
	--ff-base: "Noto Sans JP", "Yu Gothic", "游ゴシック", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
	--ff-en: "Pathway Gothic One", var(--ff-base);

	/* その他 */
	--radius: 4px;
	--shadow-card: 0 1px 4px rgba(0, 0, 0, .12);
	--z-drawer: 100;
	--z-fixed: 90;
}

/* ==========================================================================
   2. リセット
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-size: 62.5%; /* 1rem = 10px */
	scroll-padding-top: var(--h-header);
}

body {
	margin: 0;
	background-color: var(--c-white);
	color: var(--c-text);
	font-family: var(--ff-base);
	font-feature-settings: "palt";
	font-size: 1.4rem;
	line-height: 1.8;
	overflow-x: clip;
}

h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, dl, dd {
	margin: 0;
	padding: 0;
}

ul, ol {
	list-style: none;
}

a {
	color: inherit;
	text-decoration: none;
	transition: opacity .2s ease;
}

a:hover {
	opacity: .8;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}

button {
	appearance: none;
	border: 0;
	background: none;
	padding: 0;
	font: inherit;
	color: inherit;
	cursor: pointer;
}

/* ==========================================================================
   3. 汎用ユーティリティ
   ========================================================================== */
.u-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.c-skip {
	position: absolute;
	top: -100px;
	left: 0;
	z-index: 999;
	padding: 10px 20px;
	background: var(--c-primary);
	color: var(--c-text-invert);
}

.c-skip:focus {
	top: 0;
}

.c-icon {
	display: block;
	width: 24px;
	height: 24px;
	fill: currentColor;
}

/* ==========================================================================
   4. レイアウト
   ========================================================================== */

/* ---- 上部固定ヘッダー ---- */
.l-header {
	position: sticky;
	top: 0;
	z-index: calc(var(--z-drawer) + 2);
	width: 100%;
	background-color: var(--c-white);
	box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
}

.l-header::before {
	content: "";
	display: block;
	width: 100%;
	height: 4px;
	background-color: var(--c-primary);
}

.l-header__top {
	display: flex;
	align-items: center;
	gap: 16px;
	position: relative;
	max-width: var(--w-container);
	margin: 0 auto;
	padding: 8px var(--gap-col);
}

.l-header__logo {
	flex: 0 0 auto;
}

.l-header__logo img {
	display: block;
	width: auto;
	height: var(--h-header-logo);
}

.l-header__name {
	flex: 1 1 auto;
	min-width: 0;
	color: var(--c-primary);
	line-height: 1.3;
}

.l-header__name-sub {
	display: block;
	/*
	 * 折り返さないように幅から逆算する。
	 * 利用できる幅 = 100vw - (左右余白12+68 + ロゴ40 + gap10) = 100vw - 130px
	 * それを文字数(24字)+余裕ぶんで割り、PC では 1.1rem で頭打ちにする。
	 */
	font-size: clamp(.8rem, calc((100vw - 130px) / 25), 1.1rem);
	font-weight: 500;
	white-space: nowrap;
}

.l-header__name-main {
	display: block;
	/* サブ社名と同じ考え方。13文字ぶんで割り、PC では 1.8rem で頭打ち */
	font-size: clamp(1.2rem, calc((100vw - 130px) / 13.5), 1.8rem);
	font-weight: 700;
	white-space: nowrap;
}

/* サイズはお問い合わせアイコン（.l-header__contact-icon）と揃える */
.l-header__sns {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background-color: var(--c-primary);
	color: var(--c-white);
}

.l-header__sns-icon {
	display: block;
	width: 16px;
	height: 16px;
	/* fill を指定しないと SVG 既定の黒で描画されるので明示する */
	fill: currentColor;
	color: var(--c-white);
}

.l-header__contact {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 8px;
	color: var(--c-primary);
	font-size: 1.4rem;
	font-weight: 500;
}

.l-header__contact-icon {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background-color: var(--c-primary);
	color: var(--c-white);
}

.l-header__contact-icon .c-icon {
	width: 16px;
	height: 16px;
}

/* ---- グローバルナビ（横並び） ---- */
.l-header__menu {
	border-top: 1px solid var(--c-border);
}

.l-nav__list {
	display: flex;
	align-items: stretch;
	max-width: var(--w-container);
	margin: 0 auto;
	padding: 0 var(--gap-col);
}

.l-nav__item {
	flex: 1 1 auto;
	min-width: 0;
}

.l-nav__item + .l-nav__item {
	border-left: 1px solid var(--c-border);
}

/* お問い合わせはヘッダー上段に出しているのでナビからは隠す */
.l-nav__item--contact {
	display: none;
}

.l-nav__link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 100%;
	padding: 12px 10px;
	font-size: 1.3rem;
	font-weight: 500;
	text-align: center;
	white-space: nowrap;
}

.l-nav__icon {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	fill: var(--c-primary);
	color: var(--c-primary);
}

.l-nav__label {
	min-width: 0;
}

.l-nav__arrow {
	display: none;
}

/* ---- ドロワー開閉ボタン（SP/Tablet のみ表示） ---- */
.l-drawer-toggle {
	display: none;
	position: absolute;
	top: 50%;
	right: var(--gap-col);
	z-index: calc(var(--z-drawer) + 2); /* ドロワーパネル(+1)より前面 */
	width: 48px;
	height: 48px;
	background-color: var(--c-primary);
	transform: translateY(-50%);
}

.l-drawer-toggle__bar,
.l-drawer-toggle__bar::before,
.l-drawer-toggle__bar::after {
	display: block;
	width: 22px;
	height: 2px;
	background-color: var(--c-white);
	transition: transform .25s ease, opacity .25s ease;
}

.l-drawer-toggle__bar {
	margin: 0 auto;
	position: relative;
}

.l-drawer-toggle__bar::before,
.l-drawer-toggle__bar::after {
	content: "";
	position: absolute;
	left: 0;
}

.l-drawer-toggle__bar::before {
	top: -7px;
}

.l-drawer-toggle__bar::after {
	top: 7px;
}

.is-drawer-open .l-drawer-toggle__bar {
	background-color: transparent;
}

.is-drawer-open .l-drawer-toggle__bar::before {
	transform: translateY(7px) rotate(45deg);
}

.is-drawer-open .l-drawer-toggle__bar::after {
	transform: translateY(-7px) rotate(-45deg);
}

.l-drawer-overlay {
	position: fixed;
	inset: 0;
	z-index: var(--z-drawer);
	background-color: rgba(0, 0, 0, .5);
}

/* ---- コンテナ ---- */
.l-container {
	max-width: var(--w-container);
	margin: 0 auto var(--gap-sec);
	padding: 20px var(--gap-col) 0;
}

.l-main {
	min-width: 0;
}

/* ---- フッター ---- */
.l-footer {
	background-color: var(--c-primary);
	color: var(--c-text-invert);
}

.l-footer__inner {
	max-width: var(--w-container);
	margin: 0 auto;
	padding: 40px var(--gap-col);
	text-align: center;
}

.l-footer__nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px 28px;
	margin-bottom: 24px;
}

.l-footer__nav-item a {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 1.3rem;
}

.l-footer__nav-icon {
	width: 18px;
	height: 18px;
	fill: var(--c-accent);
	color: var(--c-accent);
}

.l-footer__sub {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	margin-bottom: 20px;
	font-size: 1.3rem;
}

.l-footer__sns {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 1px solid var(--c-white);
	color: var(--c-white);
}

.l-footer__sns-icon {
	display: block;
	width: 18px;
	height: 18px;
	fill: currentColor;
	color: var(--c-white);
}

.l-footer__org {
	font-size: 1.3rem;
}

.l-footer__copy {
	font-size: 1.2rem;
}

/* ==========================================================================
   5. コンポーネント
   ========================================================================== */

/* ---- セクション見出し（斜め帯） ---- */
.p-sec,
.l-page {
	position: relative;
}

.c-sec-head {
	position: relative;
	z-index: 1;
	padding: 55px 0;
	/* 濃緑→黄緑のグラデーションに、太さの違う斜めストライプを重ねる */
	background-image:
		repeating-linear-gradient(
			var(--grad-angle),
			var(--stripe-a) 0 22px,
			transparent 22px 58px,
			var(--stripe-b) 58px 76px,
			transparent 76px 94px,
			var(--stripe-a) 94px 104px,
			transparent 104px 168px
		),
		linear-gradient(
			var(--grad-angle),
			var(--c-grad-dark) 0%,
			var(--c-grad-dark) 16%,
			var(--c-grad-mid) 56%,
			var(--c-grad-light) 100%
		);
	color: var(--c-white);
	font-size: 2.4rem;
	font-weight: 700;
	letter-spacing: .4rem;
	text-align: center;
	text-shadow: 0 1px 6px rgba(0, 0, 0, .25);
}

.c-sec-head__icon {
	display: block;
	width: 44px;
	height: 44px;
	margin: 0 auto 6px;
	fill: var(--c-white);
	color: var(--c-white);
}

/* letter-spacing の末尾余白ぶんを打ち消して光学的に中央へ */
.c-sec-head__text {
	display: inline-block;
	margin-right: -.4rem;
}

/* ---- ボタン ---- */
.c-btn-wrap {
	margin: 40px 0 var(--gap-sec);
	text-align: center;
}

/* Figma 1:1347 / 1:117 準拠 */
.c-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: min(402px, 100%);
	min-height: 72px;
	padding: 24px 57px; /* 24 + アイコン24 + gap9 */
	background-color: var(--c-primary);
	color: var(--c-white);
	font-size: 1.4rem;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
}

.c-btn__label {
	display: block;
}

.c-btn__arrow {
	position: absolute;
	top: 50%;
	right: 24px;
	width: 24px;
	height: 24px;
	transform: translateY(-50%) rotate(90deg);
}

/* ---- カードグリッド ---- */
.c-card-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px 20px;
}

.c-card__thumb {
	margin-bottom: 10px;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background-color: var(--c-accent);
}

.c-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.c-card__date {
	color: var(--c-muted);
	font-size: 1.2rem;
	line-height: 1.6;
}

.c-card__title {
	font-size: 1.4rem;
	font-weight: 500;
	line-height: 1.6;
}

.c-card__excerpt {
	margin-top: 6px;
	font-size: 1.3rem;
	line-height: 1.7;
}

/* ---- ページネーション ---- */
.c-pagination {
	margin: 40px 0;
	text-align: center;
}

.c-pagination .page-numbers {
	display: inline-block;
	min-width: 34px;
	padding: 4px 8px;
	font-size: 1.4rem;
}

.c-pagination .current {
	background-color: var(--c-primary);
	color: var(--c-text-invert);
}

/* ---- 無料体験バナー（右下固定）Figma 1:123 準拠 ---- */
.c-trial {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: var(--z-fixed);
	width: 334px;
	max-width: calc(100% - 32px);
	padding: 14px 15px;
	border-radius: 10px;
	background-color: var(--c-primary);
	color: var(--c-white);
}

.c-trial[hidden] {
	display: none;
}

.c-trial__close {
	position: absolute;
	top: -12px;
	right: -12px;
	width: 24px;
	height: 24px;
	background: url("../img/banner-close.svg") no-repeat center / contain;
}

.c-trial__head {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-bottom: 8px;
}

.c-trial__logo {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background-color: var(--c-white);
}

.c-trial__logo img {
	width: 66px;
	height: 67px;
	object-fit: contain;
}

.c-trial__title {
	width: 182px;
	font-size: 4rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
}

.c-trial__title span {
	display: block;
	margin-bottom: 2px;
	font-size: 1.4rem;
	font-weight: 700;
	line-height: 1.4;
	text-align: left;
}

.c-trial__btns {
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.c-trial__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
	background-color: var(--c-gold);
	color: var(--c-white);
	font-size: 1.4rem;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
}

/* ---- ページトップ ---- */
.c-pagetop {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: var(--z-fixed);
	width: 46px;
	height: 46px;
	background-color: var(--c-primary);
	opacity: 0;
	pointer-events: none;
	transition: opacity .3s ease;
}

.c-pagetop.is-visible {
	opacity: 1;
	pointer-events: auto;
}

.c-pagetop::before {
	content: "";
	position: absolute;
	top: 55%;
	left: 50%;
	width: 12px;
	height: 12px;
	border-top: 2px solid var(--c-white);
	border-left: 2px solid var(--c-white);
	transform: translate(-50%, -50%) rotate(45deg);
}

.c-empty {
	padding: 40px 0;
	text-align: center;
}

/* ---- ユース：チームカード（集合写真＋緑の透過＋白文字） ---- */
.c-team-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-bottom: 40px;
}

.c-team-card {
	--team-ratio: 5 / 4;
	/* --c-primary-dark の透過。画像の上に敷いて白文字を読ませる */
	--team-overlay-alpha: .55; /* 下げるほど写真が見える */
	--team-overlay: rgb(0 45 0 / var(--team-overlay-alpha));

	overflow: clip;
	border-radius: 8px;
	background-color: var(--c-primary-dark);
}

.c-team-card__link {
	display: grid;
	aspect-ratio: var(--team-ratio);
	min-height: 0; /* grid の min-height:auto で aspect-ratio が無視されるのを防ぐ */
}

/* 画像と文字は同じセルに重ねる */
.c-team-card__img,
.c-team-card__body {
	grid-area: 1 / 1;
}

.c-team-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.c-team-card__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background-color: var(--team-overlay);
	color: var(--c-white);
	text-align: center;
	text-shadow: 0 1px 4px rgba(0, 0, 0, .5);
}

.c-team-card__title {
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.5;
}

.c-team-card__text {
	font-size: 1.3rem;
	line-height: 1.8;
}

/* ---- 新着情報カード（Figma 1:12 準拠 / 300x224 サムネ・p16・gap8） ---- */
.c-news-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 25px 16px;
}

.c-news-card {
	overflow: clip;
	border-radius: 8px;
	background-color: var(--c-white);
	box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
}

.c-news-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.c-news-card__thumb {
	aspect-ratio: 300 / 224;
	min-height: 0; /* flex の min-height:auto で aspect-ratio が無視されるのを防ぐ */
	background-color: var(--c-accent);
}

.c-news-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.c-news-card__thumb--placeholder {
	display: grid;
	place-items: center;
}

.c-news-card__thumb--placeholder img {
	width: 35%;
	height: auto;
	object-fit: contain;
}

.c-news-card__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px;
}

.c-news-card__date {
	color: var(--c-ink-sub);
	font-size: 1.2rem;
	line-height: 1.4;
}

.c-news-card__title {
	color: var(--c-ink);
	font-size: 1.4rem;
	font-weight: 700;
	line-height: 1.5;
}

.c-news-card__excerpt {
	color: var(--c-ink);
	font-size: 1.2rem;
	line-height: 1.6;
}

/* ---- ユース選手リスト（背番号＋氏名の一覧） ---- */
.c-player-grid {
	/* grid だと左右に折り返すため、名簿として上から読める段組みにする */
	columns: 2;
	column-gap: 48px;
}

.c-player {
	display: flex;
	break-inside: avoid;
	gap: 14px;
	align-items: baseline;
	padding: 13px 4px;
	border-bottom: 1px solid var(--c-border);
}

/* 背番号は桁がそろうよう等幅数字＋右寄せ */
.c-player__num {
	flex: 0 0 2.4em;
	color: var(--c-gold);
	font-size: 2.2rem;
	font-weight: 700;
	line-height: 1.3;
	font-variant-numeric: tabular-nums;
	text-align: right;
}

.c-player__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.c-player__name {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 10px;
	align-items: baseline;
}

.c-player__name-ja {
	color: var(--c-ink);
	font-size: 1.7rem;
	font-weight: 700;
	line-height: 1.4;
}

.c-player__name-kana {
	color: var(--c-ink-sub);
	font-size: 1.2rem;
	line-height: 1.4;
}

.c-player__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
}

.c-player__chip {
	padding: 0 6px;
	border-radius: 4px;
	background-color: var(--c-chip);
	color: var(--c-ink);
	font-size: 1.2rem;
	line-height: 1.6;
	white-space: nowrap;
}

.c-player__grade {
	padding: 0 6px;
	border-radius: 4px;
	background-color: var(--c-primary);
	color: var(--c-white);
	font-size: 1.2rem;
	line-height: 1.6;
	white-space: nowrap;
}

.c-player__pos {
	color: var(--c-primary);
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1.6;
	white-space: nowrap;
}

/* ---- ユース：チームブロック（Figma 1:145 準拠） ---- */
.p-youth-team + .p-youth-team,
.p-youth-team + .c-btn-wrap {
	margin-top: 80px;
}

.p-youth-team__head {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.p-youth-team__bar {
	height: 30px;
	background-color: var(--c-bar);
}

.p-youth-team__title {
	color: var(--c-ink);
	font-size: 2.8rem;
	font-weight: 700;
	line-height: 1.2;
}

.p-youth-team__intro {
	display: flex;
	gap: 56px;
	align-items: flex-start;
	margin-top: 40px;
}

.p-youth-team__photo {
	flex: 0 1 560px;
	aspect-ratio: 4 / 3;
	overflow: clip;
	background-color: var(--c-accent);
}

.p-youth-team__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.p-youth-team__photo--placeholder {
	display: grid;
	place-items: center;
}

.p-youth-team__photo--placeholder img {
	width: 35%;
	height: auto;
	object-fit: contain;
}

.p-youth-team__info {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 13px;
	min-width: 0;
}

.p-youth-team__info-title {
	padding-bottom: 8px;
	border-bottom: 1px solid var(--c-primary);
	color: var(--c-ink);
	font-size: 2.4rem;
	font-weight: 700;
	line-height: 1.2;
}

.p-youth-team__info-list {
	color: var(--c-ink);
	font-size: 1.6rem;
	line-height: 32px;
}

.c-player-grid {
	margin-top: 80px;
}

/* ---- フリーブロック（画像＋見出し＋本文） ---- */
.c-block-list {
	display: flex;
	flex-direction: column;
	gap: 56px;
}

/*
 * 「◯◯一覧」ボタンがあるセクションは .c-btn-wrap の下マージンで
 * セクション間の余白が確保されるが、ボタンが無いセクション（運営会社・事業報告）は
 * 余白が 0 になるため、同じ値をここで補う。
 */
.p-sec__body > .c-block-list:last-child,
.p-sec__body > .p-fee:last-child {
	margin-bottom: var(--gap-sec);
}

/* 料金表の前に置く説明ブロック */
.c-block-list--intro {
	margin-bottom: 56px;
}

.c-block__title {
	margin-bottom: 16px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--c-primary);
	color: var(--c-ink);
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.4;
}

.c-block__inner {
	display: flex;
	gap: 32px;
	align-items: flex-start;
}

/* 支給画像の解像度がまちまちなので、枠は固定して拡大はしない */
.c-block__photo {
	flex: 0 0 320px;
	max-width: 320px;
}

.c-block__photo img {
	width: auto;
	max-width: 100%;
	height: auto;
}

.c-block__text {
	flex: 1 1 auto;
	min-width: 0;
}

.c-block__pdf a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 12px;
	padding: 8px 16px;
	border: 1px solid var(--c-primary);
	color: var(--c-primary);
	font-weight: 500;
}

/* ---- 料金表（バスケ / チア） ---- */
.p-fee + .p-fee {
	margin-top: 64px;
}

/* コース別詳細の表 */
.c-table-scroll {
	overflow-x: auto;
}

/* 横スクロールできることの案内（SP のみ） */
.c-table-hint {
	display: none;
	margin-bottom: 8px;
	color: var(--c-ink-sub);
	font-size: 1.2rem;
	line-height: 1.6;
}

.c-fee {
	/* セル同士は 2px の白い隙間で区切る（表の背景色が隙間の色になる） */
	--fee-gap: 2px;
	--fee-head: var(--c-primary);
	--fee-cell: #f7f7f7;
	--fee-name-a: #cfe3c9;
	--fee-name-b: #e3efdf;
	--fee-hl: #d8e9d4;

	width: 100%;
	border-collapse: separate;
	border-spacing: var(--fee-gap);
	background-color: var(--c-white);
	font-size: 1.3rem;
	line-height: 1.6;
}

.c-fee th,
.c-fee td {
	padding: 12px 10px;
	background-color: var(--fee-cell);
	color: var(--c-ink);
	font-weight: 500;
	text-align: center;
	vertical-align: middle;
}

.c-fee thead th {
	padding: 15px 10px;
	background-color: var(--fee-head);
	color: var(--c-white);
	font-size: 1.4rem;
	font-weight: 700;
}

/* 1 列目（コース名）は薄緑。行ごとに濃淡を交互に */
.c-fee th.c-fee__name {
	background-color: var(--fee-name-b);
	font-weight: 700;
}

.c-fee tbody tr:nth-child(odd) .c-fee__name {
	background-color: var(--fee-name-a);
}

.c-fee td.c-fee__target {
	text-align: left;
	white-space: nowrap;
}

.c-fee td.c-fee__time {
	font-weight: 700;
	white-space: nowrap;
}

/* 共通料金（縦結合したセル） */
.c-fee td.c-fee__value {
	font-size: 1.6rem;
	font-weight: 700;
}

.c-fee__value span {
	display: block;
}

.c-fee td.c-fee__value--hl {
	background-color: var(--fee-hl);
}

.c-fee td.c-fee__value--trial {
	color: var(--c-gold);
}

.c-fee-note {
	margin-top: 16px;
	color: var(--c-ink-sub);
	font-size: 1.3rem;
	line-height: 1.8;
}

.c-fee-sub {
	margin-bottom: 20px;
	padding-left: 12px;
	border-left: 5px solid var(--c-primary);
	color: var(--c-ink);
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.4;
}

/* 入会特典 */
.c-fee-bonus {
	margin-top: 32px;
	padding: 20px 24px;
	background-color: var(--c-chip);
}

.c-fee-bonus__title {
	margin-bottom: 10px;
	color: var(--c-primary);
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1.5;
}

.c-fee-bonus__list {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 1.4rem;
	line-height: 1.7;
}

.c-fee-bonus__list li {
	position: relative;
	padding-left: 18px;
}

.c-fee-bonus__list li::before {
	content: "";
	position: absolute;
	top: .6em;
	left: 3px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: var(--c-primary);
}

/* ---- 活動報告 ---- */
.c-report-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.c-report {
	overflow: clip;
	border-radius: 8px;
	background-color: var(--c-white);
	box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
}

.c-report__link {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.c-report__thumb {
	aspect-ratio: 16 / 10;
	min-height: 0;
	background-color: var(--c-accent);
}

.c-report__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.c-report__thumb--placeholder {
	display: grid;
	place-items: center;
}

.c-report__thumb--placeholder img {
	width: 30%;
	height: auto;
	object-fit: contain;
}

.c-report__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px;
}

.c-report__date {
	color: var(--c-ink-sub);
	font-size: 1.2rem;
	line-height: 1.4;
}

.c-report__title {
	color: var(--c-ink);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.5;
}

.c-report__excerpt {
	color: var(--c-ink);
	font-size: 1.3rem;
	line-height: 1.7;
}

/* ---- スタッフ紹介 ---- */
.c-staff-list {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.c-staff {
	display: flex;
	gap: 28px;
	align-items: flex-start;
}

.c-staff__photo {
	flex: 0 0 200px;
	aspect-ratio: 1;
	overflow: clip;
	border-radius: 8px;
	background-color: var(--c-accent);
}

.c-staff__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 20%;
}

.c-staff__photo--placeholder {
	display: grid;
	place-items: center;
}

.c-staff__photo--placeholder img {
	width: 55%;
	height: auto;
	object-fit: contain;
}

.c-staff__body {
	flex: 1 1 auto;
	min-width: 0;
}

.c-staff__name {
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--c-primary);
	color: var(--c-ink);
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.4;
}

.c-staff__kana {
	margin-left: 12px;
	color: var(--c-ink-sub);
	font-size: 1.2rem;
	font-weight: 400;
}

.c-staff__role {
	margin-left: 16px;
	font-size: 1.4rem;
	font-weight: 500;
}

/* ---- スタッフ紹介：分類グループ ---- */
.p-staff-group + .p-staff-group {
	margin-top: 72px;
}

.p-staff-group__head {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 32px;
}

.p-staff-group__bar {
	height: 30px;
	background-color: var(--c-bar);
}

.p-staff-group__title {
	color: var(--c-ink);
	font-size: 2.4rem;
	font-weight: 700;
	line-height: 1.2;
}

.p-staff-detail__kana {
	margin-left: 12px;
	color: var(--c-ink-sub);
	font-size: 1.3rem;
	font-weight: 400;
}

.c-staff__profile {
	font-size: 1.4rem;
}

/* ---- スケジュール（外部システム埋め込み） ---- */
.p-schedule {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
}

.p-schedule__frame {
	width: 100%;
	height: 100%;
	border: 0;
}

/* ---- 詳細ページ共通 ---- */
.c-entry__date {
	color: var(--c-ink-sub);
	font-size: 1.3rem;
	line-height: 1.6;
}

.c-entry__title {
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--c-primary);
	color: var(--c-ink);
	font-size: 2.6rem;
	font-weight: 700;
	line-height: 1.4;
}

.c-entry__thumb {
	margin-bottom: 28px;
}

.c-entry__thumb img {
	width: 100%;
	height: auto;
}

/* ---- スタッフ詳細 ---- */
.p-staff-detail {
	display: flex;
	gap: 40px;
	align-items: flex-start;
}

.p-staff-detail__photo {
	flex: 0 0 320px;
	aspect-ratio: 1;
	overflow: clip;
	border-radius: 8px;
	background-color: var(--c-accent);
}

.p-staff-detail__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 20%;
}

.p-staff-detail__photo--placeholder {
	display: grid;
	place-items: center;
}

.p-staff-detail__photo--placeholder img {
	width: 55%;
	height: auto;
	object-fit: contain;
}

.p-staff-detail__body {
	flex: 1 1 auto;
	min-width: 0;
}

.p-staff-detail__role {
	margin-left: 16px;
	font-size: 1.5rem;
	font-weight: 500;
}

/* ---- 検索フォーム ---- */
.c-searchform {
	display: flex;
	gap: 8px;
	max-width: 520px;
	margin: 0 auto 32px;
}

.c-searchform__input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 12px 14px;
	border: 1px solid var(--c-border);
	border-radius: 4px;
	background-color: var(--c-white);
	font-family: inherit;
	font-size: 1.5rem;
}

.c-searchform__input:focus-visible {
	outline: 2px solid var(--c-primary);
	outline-offset: 1px;
}

.c-searchform__submit {
	flex: 0 0 auto;
	padding: 12px 24px;
	border-radius: 4px;
	background-color: var(--c-primary);
	color: var(--c-white);
	font-size: 1.4rem;
	font-weight: 700;
}

/* ---- 検索結果 ---- */
.p-search__count {
	margin-bottom: 20px;
	font-size: 1.4rem;
}

.c-result-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.c-result {
	border-bottom: 1px solid var(--c-border);
	padding-bottom: 20px;
}

.c-result__link {
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

.c-result__thumb {
	flex: 0 0 160px;
	aspect-ratio: 16 / 10;
	min-height: 0;
	overflow: clip;
	border-radius: 4px;
	background-color: var(--c-accent);
}

.c-result__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.c-result__thumb--placeholder {
	display: grid;
	place-items: center;
}

.c-result__thumb--placeholder img {
	width: 40%;
	height: auto;
	object-fit: contain;
}

.c-result__body {
	flex: 1 1 auto;
	min-width: 0;
}

.c-result__meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 4px;
	font-size: 1.2rem;
}

.c-result__type {
	padding: 1px 8px;
	border-radius: 4px;
	background-color: var(--c-primary);
	color: var(--c-white);
	font-weight: 500;
}

.c-result__date {
	color: var(--c-ink-sub);
}

.c-result__title {
	margin-bottom: 6px;
	color: var(--c-ink);
	font-size: 1.7rem;
	font-weight: 700;
	line-height: 1.5;
}

.c-result__excerpt {
	color: var(--c-ink);
	font-size: 1.3rem;
	line-height: 1.7;
}

/* ---- 404 ---- */
.p-error__lead {
	margin-bottom: 28px;
	font-size: 1.5rem;
	line-height: 1.9;
	text-align: center;
}

.p-error__nav {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 0 20px;
	max-width: 760px;
	margin: 0 auto;
}

.p-error__nav a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 4px;
	border-bottom: 1px solid var(--c-border);
	font-size: 1.4rem;
	font-weight: 500;
}

.p-error__nav-icon {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	fill: var(--c-primary);
	color: var(--c-primary);
}

/* ---- パンくずリスト ---- */
.c-breadcrumb {
	margin-bottom: 28px;
}

.c-breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 0;
	font-size: 1.2rem;
	line-height: 1.6;
}

.c-breadcrumb__item + .c-breadcrumb__item::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin: 0 10px;
	border-top: 1px solid var(--c-muted);
	border-right: 1px solid var(--c-muted);
	transform: rotate(45deg);
	vertical-align: middle;
}

.c-breadcrumb__item a {
	color: var(--c-primary);
	text-decoration: underline;
}

.c-breadcrumb__item span {
	color: var(--c-muted);
}

/* ---- ギャラリー ---- */
.c-gallery {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px 16px;
}

.c-gallery__link {
	display: block;
	position: relative;
	aspect-ratio: 4 / 3;
	min-height: 0;
	overflow: clip;
	border-radius: 8px;
	background-color: var(--c-accent);
}

.c-gallery__link img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s ease;
}

.c-gallery__link:hover img {
	transform: scale(1.04);
}

.c-gallery__link--empty {
	display: grid;
	place-items: center;
}

.c-gallery__link--empty img {
	width: 35%;
	height: auto;
	object-fit: contain;
}

.c-gallery__caption {
	margin-top: 8px;
	color: var(--c-ink);
	font-size: 1.2rem;
	line-height: 1.6;
}

/* ---- ライトボックス ---- */
.is-lightbox-open {
	overflow: hidden;
}

.c-lightbox {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	position: fixed;
	inset: 0;
	z-index: 200;
	padding: 56px 16px;
	background-color: rgba(0, 0, 0, .85);
}

.c-lightbox[hidden] {
	display: none;
}

.c-lightbox__figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	max-width: min(1100px, 100%);
	max-height: 100%;
}

.c-lightbox__img {
	max-width: 100%;
	max-height: calc(100vh - 140px);
	width: auto;
	height: auto;
	object-fit: contain;
}

.c-lightbox__caption {
	color: var(--c-white);
	font-size: 1.3rem;
	text-align: center;
}

.c-lightbox__caption[hidden] {
	display: none;
}

.c-lightbox__close,
.c-lightbox__nav {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, .15);
	transition: background-color .2s ease;
}

.c-lightbox__close:hover,
.c-lightbox__nav:hover {
	background-color: rgba(255, 255, 255, .3);
	opacity: 1;
}

.c-lightbox__close {
	position: absolute;
	top: 12px;
	right: 12px;
}

.c-lightbox__close::before,
.c-lightbox__close::after {
	content: "";
	position: absolute;
	width: 18px;
	height: 2px;
	background-color: var(--c-white);
}

.c-lightbox__close::before {
	transform: rotate(45deg);
}

.c-lightbox__close::after {
	transform: rotate(-45deg);
}

.c-lightbox__nav::before {
	content: "";
	width: 12px;
	height: 12px;
	border-top: 2px solid var(--c-white);
	border-right: 2px solid var(--c-white);
}

.c-lightbox__nav--prev::before {
	transform: translateX(3px) rotate(-135deg);
}

.c-lightbox__nav--next::before {
	transform: translateX(-3px) rotate(45deg);
}

/* ---- 本文（WYSIWYG） ---- */
.c-wysiwyg {
	font-size: 1.5rem;
	line-height: 1.9;
}

.c-wysiwyg p + p,
.c-wysiwyg ul,
.c-wysiwyg ol {
	margin-top: 1.5em;
}

.c-wysiwyg h2 {
	margin: 2.4em 0 .8em;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--c-primary);
	color: var(--c-ink);
	font-size: 2.2rem;
	font-weight: 700;
	line-height: 1.5;
}

.c-wysiwyg h2:first-child {
	margin-top: 0;
}

.c-wysiwyg h3 {
	margin: 2em 0 .6em;
	padding-left: 12px;
	border-left: 4px solid var(--c-primary);
	color: var(--c-ink);
	font-size: 1.8rem;
	font-weight: 700;
	line-height: 1.5;
}

.c-wysiwyg h4 {
	margin: 1.6em 0 .4em;
	color: var(--c-primary);
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1.5;
}

.c-wysiwyg a {
	color: var(--c-primary);
	text-decoration: underline;
	overflow-wrap: anywhere;
}

.c-wysiwyg img {
	height: auto;
}

/* 本文中の表（運営会社概要など）。WordPress のテーブルブロックにも効かせる */
.c-wysiwyg .wp-block-table {
	margin-top: 1.5em;
	overflow-x: auto;
}

.c-wysiwyg .wp-block-table:first-child {
	margin-top: 0;
}

.c-wysiwyg table,
.c-wysiwyg .wp-block-table table {
	/* 見出し列の色。セル同士は 2px の白い隙間で区切る */
	--info-label: #e3efdf;
	--info-cell: #f7f7f7;

	width: 100%;
	border-collapse: separate;
	border-spacing: 2px;
	background-color: var(--c-white);
	/* ブロックの has-fixed-layout（左右均等）を打ち消して、見出し列を細くする */
	table-layout: auto;
	font-size: 1.4rem;
	line-height: 1.9;
}

.c-wysiwyg table th,
.c-wysiwyg table td {
	padding: 14px 18px;
	border: 0;
	background-color: var(--info-cell);
	color: var(--c-ink);
	font-weight: 400;
	text-align: left;
	vertical-align: top;
}

/* 1 列目は項目名として扱う */
.c-wysiwyg table tr > :first-child {
	width: 180px;
	background-color: var(--info-label);
	color: var(--c-primary);
	font-weight: 700;
	white-space: nowrap;
}

.c-wysiwyg table strong {
	color: var(--c-primary);
	font-size: 1.6rem;
}

/* 記号を本文に含む箇条書き（①、(i) など）。マーカーは出さず字下げのみ */
.c-wysiwyg .c-list-plain {
	padding-left: 1em;
	list-style: none;
}

.c-wysiwyg .c-list-plain > li + li {
	margin-top: .3em;
}

.c-wysiwyg .c-list-plain .c-list-plain {
	margin-top: .3em;
}

/* ==========================================================================
   6. ページ
   ========================================================================== */
/* ---- ヒーロー（全幅スライダー・元画像 1920x800 = 12:5） ---- */
.p-hero {
	position: relative;
	width: 100%;
}

.p-hero__viewport {
	display: grid; /* 全スライドを同じセルに重ねる */
	position: relative;
	width: 100%;
	aspect-ratio: var(--hero-ratio);
	overflow: clip;
	background-color: var(--c-accent);
}

.p-hero__slide {
	grid-area: 1 / 1;
	min-width: 0;
	min-height: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity .8s ease, visibility .8s ease;
}

.p-hero__slide.is-active {
	opacity: 1;
	visibility: visible;
}

.p-hero__slide picture,
.p-hero__link {
	display: block;
	width: 100%;
	height: 100%;
}

.p-hero__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.p-hero__placeholder {
	display: grid;
	place-items: center;
	height: 100%;
	background-color: var(--c-accent);
	color: var(--c-primary);
	font-family: var(--ff-en);
	font-size: 2.4rem;
	letter-spacing: .2rem;
}

/* 前後ボタン */
.p-hero__nav {
	display: grid;
	place-items: center;
	position: absolute;
	top: 50%;
	z-index: 2;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background-color: rgba(0, 71, 0, .6);
	transform: translateY(-50%);
	transition: background-color .2s ease;
}

.p-hero__nav:hover {
	background-color: var(--c-primary);
	opacity: 1;
}

.p-hero__nav::before {
	content: "";
	width: 12px;
	height: 12px;
	border-top: 2px solid var(--c-white);
	border-right: 2px solid var(--c-white);
}

.p-hero__nav--prev {
	left: 16px;
}

.p-hero__nav--prev::before {
	transform: translateX(3px) rotate(-135deg);
}

.p-hero__nav--next {
	right: 16px;
}

.p-hero__nav--next::before {
	transform: translateX(-3px) rotate(45deg);
}

/* ページネーション */
.p-hero__dots {
	display: flex;
	justify-content: center;
	gap: 10px;
	position: absolute;
	right: 0;
	bottom: 16px;
	left: 0;
	z-index: 2;
}

.p-hero__dot {
	width: 12px;
	height: 12px;
	border: 2px solid var(--c-white);
	border-radius: 50%;
	background-color: transparent;
	transition: background-color .2s ease;
}

.p-hero__dot.is-current {
	background-color: var(--c-white);
}

@media (prefers-reduced-motion: reduce) {
	.p-hero__slide {
		transition: none;
	}
}

/* 斜め帯（skewY）は見出しの下にはみ出すため、本文はその分だけ下げる */
.p-sec__body,
.l-page__body {
	padding-top: var(--sec-body-pt);
}

.p-sec__placeholder {
	padding: 60px 0;
	color: var(--c-muted);
	text-align: center;
}

/* ---- アクセス（メインカラム末尾） ---- */
.p-access__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px 24px;
}

.p-access__name {
	margin-bottom: 4px;
	padding-bottom: 6px;
	border-bottom: 1px solid var(--c-primary);
	font-size: 1.6rem;
	font-weight: 700;
}

.p-access__addr {
	font-size: 1.4rem;
	line-height: 1.7;
}

.p-access__map {
	margin-top: 12px;
	aspect-ratio: 4 / 3;
	overflow: clip;
	border: 1px solid var(--c-border);
	background-color: var(--c-chip);
}

.p-access__map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.p-access__maplink {
	margin-top: 8px;
	font-size: 1.3rem;
}

.p-access__maplink a {
	color: var(--c-primary);
	font-weight: 500;
	text-decoration: underline;
}

/* ==========================================================================
   7. レスポンシブ（Tablet + SP: <=1024px）
   ========================================================================== */
@media (max-width: 1024px) {
	:root {
		--gap-sec: 60px;
		--sec-body-pt: 36px;
		--h-header: 80px;
		--h-header-logo: 48px;
	}

	/* 上部ヘッダー → ロゴ＋サイト名のみ、ナビはドロワーへ */
	.l-header::before {
		display: none;
	}

	.l-header__top {
		padding-right: 68px;
	}

	.l-header__logo img {
		height: var(--h-header-logo);
	}

	.l-header__contact,
	.l-header__sns {
		display: none;
	}

	.l-header__menu {
		position: fixed;
		top: 0;
		right: 0;
		z-index: calc(var(--z-drawer) + 1);
		width: min(320px, 86vw);
		height: 100%;
		padding: 70px 0 40px;
		overflow-y: auto;
		border-top: 0;
		background-color: var(--c-white);
		transform: translateX(100%);
		transition: transform .3s ease;
	}

	.is-drawer-open .l-header__menu {
		transform: translateX(0);
	}

	.l-drawer-toggle {
		display: block;
	}

	.l-nav__list {
		display: block;
		padding: 0 16px;
		border-top: 1px solid var(--c-border);
		border-bottom: 1px solid var(--c-border);
	}

	.l-nav__item + .l-nav__item {
		border-left: 0;
		border-top: 1px solid var(--c-border);
	}

	.l-nav__item--contact {
		display: block;
	}

	.l-nav__link {
		justify-content: flex-start;
		gap: 10px;
		padding: 14px 4px;
		font-size: 1.5rem;
		text-align: left;
	}

	.l-nav__icon {
		width: 22px;
		height: 22px;
	}

	.l-nav__label {
		flex: 1 1 auto;
	}

	.l-nav__arrow {
		display: block;
		flex: 0 0 auto;
		width: 8px;
		height: 8px;
		border-top: 1px solid var(--c-muted);
		border-right: 1px solid var(--c-muted);
		transform: rotate(45deg);
	}

	.l-container {
		padding-top: 0;
	}

	/* カードグリッド */
	.c-card-grid,
	.c-news-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	/* 選手リストは grid ではなく段組み */
	.c-player-grid {
		column-gap: 32px;
	}

	.p-access__list,
	.c-report-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.c-gallery {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.c-block-list {
		gap: 40px;
	}

	.c-team-grid {
		gap: 12px;
		margin-bottom: 32px;
	}

	.c-team-card__title {
		font-size: 1.7rem;
	}

	.c-team-card__body {
		padding: 16px;
	}

	/* 料金表：列が多いのでタブレットでは文字と余白を詰める */
	.c-fee {
		font-size: 1.2rem;
	}

	.c-fee th,
	.c-fee td {
		padding: 10px 6px;
	}

	.c-fee thead th {
		padding: 12px 6px;
		font-size: 1.2rem;
	}

	.c-fee td.c-fee__value {
		font-size: 1.4rem;
	}

	.c-staff__photo {
		flex-basis: 150px;
	}

	.p-staff-detail__photo {
		flex-basis: 240px;
	}

	/* ユース：チームブロック */
	.p-youth-team__intro {
		gap: 32px;
		margin-top: 32px;
	}

	.p-youth-team__photo {
		flex: 0 1 50%;
	}

	.p-youth-team__title {
		font-size: 2.4rem;
	}

	.c-player-grid {
		margin-top: 48px;
	}

	.p-youth-team + .p-youth-team,
	.p-youth-team + .c-btn-wrap {
		margin-top: 56px;
	}
}

/* ==========================================================================
   8. SP のみ（<=767px）
   ========================================================================== */
@media (max-width: 767px) {
	/* ヒーローと本文の間隔（PC はコンテナの padding-top で確保している） */
	.p-hero {
		margin-bottom: 40px;
	}

	/* ユース：チームカードは 1 カラム */
	.c-team-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
		margin-bottom: 28px;
	}

	.c-team-card {
		--team-ratio: 3 / 2;
	}

	.c-team-card__title {
		font-size: 1.8rem;
	}

	/* 料金表：列が多いので、表はそのまま横スクロールで見せる */
	.c-table-hint {
		display: block;
	}

	/* 幅を詰めすぎると列が潰れるため、最低幅を確保してはみ出した分をスクロールさせる */
	.c-fee--courses {
		min-width: 780px;
	}

	.c-fee--partners {
		min-width: 560px;
	}

	/* 本文中の表：項目名を上、内容を下に積む */
	.c-wysiwyg table,
	.c-wysiwyg table tbody,
	.c-wysiwyg table tr,
	.c-wysiwyg table th,
	.c-wysiwyg table td {
		display: block;
	}

	.c-wysiwyg table,
	.c-wysiwyg .wp-block-table table {
		border-spacing: 0;
		font-size: 1.3rem;
	}

	.c-wysiwyg table tr + tr {
		margin-top: 8px;
	}

	.c-wysiwyg table th,
	.c-wysiwyg table td {
		padding: 12px 14px;
	}

	.c-wysiwyg table tr > :first-child {
		width: auto;
		padding: 8px 14px;
	}

	.c-fee-sub {
		font-size: 1.7rem;
	}

	.c-fee-bonus {
		padding: 16px;
	}

	.p-fee + .p-fee {
		margin-top: 40px;
	}

	:root {
		--gap-col: 12px;
		--gap-sec: 48px;
		--sec-body-pt: 28px;
		--h-header-logo: 40px;
	}

	.l-header__top {
		gap: 10px;
	}

	.c-sec-head {
		padding: 40px 0;
		font-size: 2rem;
	}

	.c-sec-head__icon {
		width: 34px;
		height: 34px;
	}

	.c-card-grid,
	.c-news-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px 12px;
	}

	.c-player-grid {
		columns: 1;
	}

	.c-btn {
		min-height: 64px;
		padding: 20px 48px;
	}

	.c-btn__arrow {
		right: 16px;
	}

	.p-access__list,
	.c-report-list {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.p-access__map {
		aspect-ratio: 3 / 2;
	}

	.c-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px 10px;
	}

	.c-lightbox {
		padding: 56px 8px;
		gap: 4px;
	}

	.c-lightbox__close,
	.c-lightbox__nav {
		width: 36px;
		height: 36px;
	}


	/* フリーブロック・スタッフ・検索結果は縦積み */
	.c-block__inner,
	.c-staff,
	.p-staff-detail,
	.c-result__link {
		flex-direction: column;
		gap: 16px;
	}

	.p-staff-detail__photo,
	.c-result__thumb {
		flex: 1 1 auto;
		width: 100%;
	}

	.p-staff-detail__photo {
		aspect-ratio: 1;
	}

	.p-staff-detail__role {
		display: block;
		margin-left: 0;
		font-size: 1.3rem;
	}

	.c-entry__title {
		font-size: 2rem;
	}

	.c-wysiwyg {
		font-size: 1.4rem;
	}

	.c-wysiwyg h2 {
		font-size: 1.8rem;
	}

	.c-wysiwyg h3 {
		font-size: 1.6rem;
	}

	.c-wysiwyg h4 {
		font-size: 1.5rem;
	}

	.c-result__title {
		font-size: 1.5rem;
	}

	.c-block__photo,
	.c-staff__photo {
		flex: 1 1 auto;
		width: 100%;
	}

	.c-block__title,
	.c-staff__name {
		font-size: 1.7rem;
	}

	.c-staff__role {
		display: block;
		margin-left: 0;
		font-size: 1.3rem;
	}

	.c-staff__kana,
	.p-staff-detail__kana {
		display: block;
		margin-left: 0;
	}

	.p-staff-group__title {
		font-size: 1.8rem;
	}

	.p-staff-group + .p-staff-group {
		margin-top: 48px;
	}

	.c-staff__photo {
		aspect-ratio: 1;
	}

	/* ユース：チームブロックは縦積み */
	.p-youth-team__intro {
		flex-direction: column;
		gap: 20px;
	}

	.p-youth-team__photo {
		flex: 1 1 auto;
		width: 100%;
	}

	.p-youth-team__title {
		font-size: 2rem;
	}

	.p-youth-team__info-title {
		font-size: 1.8rem;
	}

	.p-youth-team__info-list {
		font-size: 1.4rem;
		line-height: 2;
	}

	.c-player__num {
		font-size: 2rem;
	}

	.c-news-card__body {
		padding: 12px;
	}

	.c-trial {
		width: calc(100% - 24px);
		right: 12px;
		bottom: 12px;
		padding: 12px;
	}

	.c-trial__title {
		width: auto;
		flex: 1 1 auto;
		font-size: 3.2rem;
	}

	.c-trial__logo {
		width: 64px;
		height: 64px;
	}

	.c-trial__logo img {
		width: 52px;
		height: 53px;
	}

	.p-hero__nav {
		width: 36px;
		height: 36px;
	}

	.p-hero__nav--prev {
		left: 8px;
	}

	.p-hero__nav--next {
		right: 8px;
	}

	.p-hero__dots {
		bottom: 8px;
		gap: 8px;
	}

	.p-hero__dot {
		width: 9px;
		height: 9px;
		border-width: 1px;
	}

	.c-pagetop {
		right: 12px;
		bottom: 72px;
	}
}

/* ==========================================================================
   9. Tablet のみ（768-1024px）※ max-width:1024px の後ろに置いて後勝ちさせる
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1024px) {
	.c-card-grid,
	.c-news-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.c-player-grid {
		columns: 2;
	}
}
