/* ==========================================================
   Lions theme  — blue / sky / pink
   ========================================================== */
:root {
	--navy: #0b3a86;
	--blue: #1b5fc9;
	--sky: #6ec6f2;
	--sky-pale: #eaf6fd;
	--pink: #ef5a97;
	--pink-pale: #fde9f1;
	--ink: #1d2733;
	--muted: #5f6b7a;
	--line: #d9e2ec;
	--bg: #ffffff;
	--radius: 10px;
	--shadow: 0 4px 16px rgba(11, 58, 134, .10);
	--font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.8;
	color: var(--ink);
	background: var(--bg);
	word-break: break-word;
}
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--blue); }
a:hover { color: var(--pink); }
h1, h2, h3, h4 { line-height: 1.4; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(860px, 100% - 32px); }

.skip-link {
	position: absolute; left: -9999px; top: 0; background: #fff; color: var(--navy); padding: 8px 14px; z-index: 1000;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 100; background: #fff; box-shadow: 0 2px 8px rgba(11, 58, 134, .08); }
.site-header::before {
	content: ""; display: block; height: 5px;
	background: linear-gradient(90deg, var(--navy), var(--blue) 40%, var(--sky) 75%, var(--pink));
}
.header-top-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); min-width: 0; }
.brand-logo { width: 64px; height: 64px; object-fit: contain; flex: none; }
.brand-name { font-size: 22px; font-weight: 800; line-height: 1.3; letter-spacing: .02em; }

.header-info { display: flex; align-items: center; gap: 18px; font-size: 13px; }
.info-list { display: flex; flex-direction: column; gap: 2px; }
.info-list li { display: flex; align-items: center; gap: 6px; line-height: 1.5; }
.info-list svg { width: 14px; height: 14px; color: var(--blue); flex: none; }
.info-list a { color: var(--ink); text-decoration: none; }
.info-list a:hover { color: var(--pink); }

.sns { display: flex; gap: 8px; }
.sns a {
	display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
	background: var(--blue); color: #fff; transition: background .2s, transform .2s;
}
.sns a:hover { background: var(--pink); color: #fff; transform: translateY(-2px); }
.sns svg { width: 20px; height: 20px; }

/* Global nav */
.gnav { background: var(--navy); }
.gnav-list { display: flex; flex-wrap: wrap; justify-content: center; }
.gnav-list a {
	display: block; padding: 13px 14px; color: #fff; text-decoration: none; font-size: 14px; font-weight: 700;
	position: relative; white-space: nowrap;
}
.gnav-list a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 3px; border-radius: 2px;
	background: var(--pink); transform: scaleX(0); transition: transform .2s;
}
.gnav-list a:hover::after,
.gnav-list .current-menu-item > a::after,
.gnav-list .current_page_item > a::after { transform: scaleX(1); }
.gnav-list a:hover { color: #fff; }
.drawer-info { display: none; }

/* Hamburger */
.nav-toggle {
	display: none; flex: none; width: 54px; height: 54px; padding: 8px 6px 4px; border: 0; border-radius: 8px;
	background: var(--blue); color: #fff; cursor: pointer; text-align: center;
}
.nav-toggle-bar { display: block; width: 26px; height: 3px; margin: 5px auto; background: #fff; border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle-text { display: block; font-size: 9px; font-weight: 700; letter-spacing: .08em; line-height: 1; margin-top: 2px; }
.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 960px) {
	.header-info { display: none; }
	.brand-logo { width: 48px; height: 48px; }
	.brand-name { font-size: 16px; }
	.nav-toggle { display: block; }
	.gnav { display: none; }
	.nav-open .gnav { display: block; }
	.gnav-list { display: block; }
	.gnav-list a { padding: 15px 8px; border-bottom: 1px solid rgba(255, 255, 255, .18); font-size: 15px; }
	.gnav-list a::after { display: none; }
	.gnav-list a::before { content: "›"; color: var(--sky); margin-right: 10px; font-weight: 800; }
	.drawer-info { display: block; padding: 18px 0 22px; text-align: center; color: #fff; }
	.drawer-info p { margin: 0 0 6px; }
	.drawer-info a { color: #fff; text-decoration: none; }
	.drawer-info .sns { justify-content: center; margin-top: 12px; }
	.drawer-info .sns a { background: var(--pink); }
}

/* ---------- Hero slider ---------- */
.hero-slider { position: relative; overflow: hidden; background: var(--navy); }
.slides { position: relative; aspect-ratio: 16 / 6; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide a, .slide img { display: block; width: 100%; height: 100%; }
.slide img { object-fit: cover; }
.slide--ph { background: linear-gradient(120deg, var(--navy), var(--blue) 55%, var(--sky)); display: grid; place-items: center; color: #fff; text-align: center; }
.slide--ph2 { background: linear-gradient(120deg, var(--blue), var(--sky) 60%, var(--pink)); }
.slide-ph-text span { display: block; letter-spacing: .3em; font-size: 14px; font-weight: 700; opacity: .9; }
.slide-ph-text strong { display: block; font-size: clamp(26px, 5vw, 56px); font-weight: 900; line-height: 1.3; margin-top: 8px; text-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 10px; z-index: 3; }
.slider-dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.slider-dots button.is-active { background: var(--pink); border-color: var(--pink); }
.slider-arrow {
	position: absolute; top: 50%; z-index: 3; width: 44px; height: 44px; margin-top: -22px; border: 0; border-radius: 50%;
	background: rgba(11, 58, 134, .55); color: #fff; cursor: pointer;
}
.slider-arrow::before { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 11px; border-top: 3px solid #fff; border-right: 3px solid #fff; }
.slider-prev { left: 14px; }
.slider-prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.slider-next { right: 14px; }
.slider-next::before { transform: translate(-70%, -50%) rotate(45deg); }
.slider-arrow:hover { background: var(--pink); }
@media (max-width: 700px) {
	.slides { aspect-ratio: 4 / 3; }
	.slider-arrow { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section--tint { background: var(--sky-pale); }
.section--games { background: var(--sky-pale); }
.section--sns { background: linear-gradient(180deg, #fff, var(--pink-pale)); }
@media (max-width: 700px) { .section { padding: 44px 0; } }

.section-title {
	position: relative; text-align: center; font-size: 28px; font-weight: 800; color: var(--navy);
	margin-bottom: 36px; padding-bottom: 18px;
}
.section-title-en { display: block; font-size: 13px; letter-spacing: .3em; color: var(--pink); font-weight: 700; margin-bottom: 4px; }
.section-title::after {
	content: ""; position: absolute; left: 50%; bottom: 0; width: 64px; height: 4px; margin-left: -32px; border-radius: 2px;
	background: linear-gradient(90deg, var(--blue), var(--sky) 60%, var(--pink));
}
.more-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 32px 0 0; }
.empty { text-align: center; color: var(--muted); padding: 24px 0; }

/* Buttons */
.btn {
	display: inline-block; padding: 12px 32px; border-radius: 999px; border: 2px solid var(--blue);
	background: var(--blue); color: #fff; font-weight: 700; text-decoration: none; text-align: center; cursor: pointer;
	font-family: inherit; font-size: 15px; transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--ghost { background: #fff; color: var(--blue); }
.btn--ghost:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn--pink { background: var(--pink); border-color: var(--pink); }
.btn--pink:hover { background: #d63f80; border-color: #d63f80; }
.btn--lg { padding: 16px 48px; font-size: 17px; }
.btn--insta { background: linear-gradient(45deg, #f09433, #dc2743 55%, #bc1888); border-color: transparent; }
.btn--x { background: #111; border-color: #111; }

/* ---------- Page hero ---------- */
.page-hero {
	color: #fff; text-align: center; padding: 44px 0 34px;
	background: linear-gradient(120deg, var(--navy), var(--blue) 60%, var(--sky));
	position: relative; overflow: hidden;
}
.page-hero::after {
	content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
	background: var(--pink); opacity: .35;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-en { margin: 0; font-size: 13px; letter-spacing: .35em; font-weight: 700; color: var(--sky); }
.page-hero-title { font-size: 32px; font-weight: 800; margin: 4px 0 10px; color: #fff; }
.breadcrumb { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; font-size: 12px; }
.breadcrumb li + li::before { content: ">"; margin-right: 6px; opacity: .7; }
.breadcrumb a { color: #fff; text-decoration: none; opacity: .85; }
.breadcrumb a:hover { opacity: 1; color: #fff; }
@media (max-width: 700px) { .page-hero-title { font-size: 26px; } }

/* ---------- Game rows ---------- */
.game-list { display: grid; gap: 12px; }
.game-row {
	display: grid; grid-template-columns: 170px 1fr auto; gap: 16px; align-items: center;
	background: #fff; border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow);
	border-left: 6px solid var(--line);
}
.game-row.is-win { border-left-color: var(--pink); }
.game-row.is-lose { border-left-color: #8a97a8; }
.game-row.is-draw { border-left-color: var(--sky); }
.game-row.is-schedule { border-left-color: var(--blue); }
.game-date-ymd { display: block; font-weight: 800; color: var(--navy); font-size: 17px; letter-spacing: .02em; }
.game-time { display: block; font-size: 13px; color: var(--muted); }
.game-event { margin: 0; font-size: 12px; color: var(--blue); font-weight: 700; }
.game-vs { margin: 0; font-size: 18px; line-height: 1.5; }
.game-vs-mark { font-size: 12px; font-weight: 800; color: #fff; background: var(--blue); border-radius: 4px; padding: 1px 6px; margin-right: 6px; vertical-align: 2px; }
.game-venue, .game-note { margin: 0; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 4px; line-height: 1.6; }
.game-venue svg { width: 13px; height: 13px; color: var(--pink); flex: none; }
.game-score { display: flex; align-items: center; gap: 8px; justify-content: flex-end; min-width: 150px; }
.score-num { font-size: 30px; font-weight: 900; color: var(--navy); line-height: 1; min-width: 1ch; text-align: center; }
.score-dash { color: var(--muted); font-weight: 700; }
.score-badge { font-size: 12px; font-weight: 800; letter-spacing: .08em; color: #fff; background: #8a97a8; border-radius: 999px; padding: 3px 12px; }
.is-win .score-badge { background: var(--pink); }
.is-draw .score-badge { background: var(--sky); color: var(--navy); }
.score-badge--plan { background: var(--blue); }
.score-none { color: var(--muted); }
.next-game { margin-bottom: 28px; }
.next-game-label { display: inline-block; margin: 0 0 8px; padding: 2px 14px; background: var(--pink); color: #fff; font-weight: 800; letter-spacing: .15em; font-size: 12px; border-radius: 999px; }
.month-title { font-size: 22px; color: var(--navy); border-bottom: 3px solid var(--sky); padding-bottom: 6px; margin: 36px 0 16px; }
.month-title:first-child { margin-top: 0; }
.record { text-align: center; font-size: 17px; margin-bottom: 20px; }
.record strong { color: var(--pink); font-size: 22px; }
@media (max-width: 700px) {
	.game-row { grid-template-columns: 1fr; gap: 6px; padding: 14px 16px; }
	.game-score { justify-content: flex-start; min-width: 0; }
	.game-date { display: flex; gap: 10px; align-items: baseline; }
}

/* Year select */
.year-select { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-bottom: 22px; }
.year-select label { font-weight: 700; color: var(--navy); font-size: 14px; }
.year-select select {
	font: inherit; padding: 8px 40px 8px 16px; border: 2px solid var(--blue); border-radius: 999px; color: var(--navy); font-weight: 700;
	background: #fff; appearance: none; -webkit-appearance: none; cursor: pointer;
	background-image: linear-gradient(45deg, transparent 50%, var(--blue) 50%), linear-gradient(135deg, var(--blue) 50%, transparent 50%);
	background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat;
}

/* ---------- News ---------- */
.news-list { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.news-list li + li { border-top: 1px solid var(--line); }
.news-list a { display: flex; gap: 20px; padding: 16px 22px; text-decoration: none; color: var(--ink); align-items: baseline; transition: background .2s; }
.news-list a:hover { background: var(--sky-pale); color: var(--ink); }
.news-list time { flex: none; font-weight: 800; color: var(--blue); font-size: 14px; letter-spacing: .03em; }
.news-title { font-weight: 500; }
@media (max-width: 700px) { .news-list a { flex-direction: column; gap: 2px; padding: 14px 16px; } }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 28px; flex-wrap: wrap; }
.pagination .page-numbers, .navigation.pagination .page-numbers {
	min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; text-decoration: none; font-weight: 700;
	background: #fff; border: 2px solid var(--line); color: var(--blue);
}
.pagination .page-numbers.current { background: var(--pink); border-color: var(--pink); color: #fff; }
.pagination .nav-links { display: flex; gap: 6px; }

.single-date { display: block; color: var(--blue); font-weight: 800; }
.single-title { font-size: 26px; color: var(--navy); border-bottom: 3px solid var(--sky); padding-bottom: 10px; margin-bottom: 24px; }
.single-thumb { margin-bottom: 24px; }
.entry > * + * { margin-top: 1em; }
.entry img { border-radius: 6px; }
.entry h2 { font-size: 24px; color: var(--navy); margin-top: 2em; }
.entry h3 { font-size: 19px; color: var(--navy); margin-top: 1.6em; }
.entry--lead { margin-bottom: 36px; }

/* ---------- Team ---------- */
.slogan-box { text-align: center; background: #fff; border: 3px solid var(--sky); border-radius: 16px; padding: 36px 24px; box-shadow: var(--shadow); }
.slogan-img img { border-radius: 8px; margin-bottom: 18px; }
.slogan-main { font-size: clamp(26px, 5vw, 42px); font-weight: 900; color: var(--navy); line-height: 1.4; margin-bottom: 14px; }
.slogan-main::first-letter { color: var(--pink); }
.slogan-text { margin: 0; color: var(--muted); }
.venue-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.venue { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.venue-name { font-size: 20px; color: var(--navy); padding-left: 12px; border-left: 5px solid var(--pink); margin-bottom: 8px; }
.venue-addr { display: flex; gap: 6px; align-items: center; font-size: 14px; color: var(--muted); }
.venue-addr svg { width: 15px; height: 15px; color: var(--pink); flex: none; }
.venue-map { position: relative; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--sky-pale); }
.venue-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.venue-link { margin: 10px 0 0; text-align: right; font-size: 14px; }
@media (max-width: 800px) { .venue-grid { grid-template-columns: 1fr; } }

/* ---------- Member ---------- */
.member-group-title {
	font-size: 22px; color: #fff; background: linear-gradient(90deg, var(--blue), var(--sky)); padding: 8px 20px; border-radius: 999px; display: inline-block; margin: 40px 0 20px;
}
.member-group-title:first-child { margin-top: 0; }
.member-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.member-photo { aspect-ratio: 3 / 4; background: var(--sky-pale); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.member-photo-ph { display: grid; place-items: center; height: 100%; color: var(--sky); font-weight: 800; letter-spacing: .15em; font-size: 13px; }
.member-body { padding: 12px 14px 14px; position: relative; flex: 1; }
.member-name { font-size: 17px; margin: 0 0 6px; color: var(--navy); }
.member-num { display: inline-block; min-width: 1.8em; text-align: center; margin-right: 8px; padding: 0 6px; border-radius: 6px; background: var(--pink); color: #fff; font-weight: 800; }
.member-meta { margin: 0; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.member-meta div { display: flex; gap: 6px; }
.member-meta dt { flex: none; font-weight: 700; color: var(--blue); }
.member-meta dd { margin: 0; }
.member-ig { position: absolute; right: 10px; bottom: 10px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; }
.member-ig:hover { background: var(--pink); color: #fff; }
.member-ig svg { width: 16px; height: 16px; }
@media (max-width: 960px) { .member-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .member-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .member-name { font-size: 15px; } }

/* ---------- Schedule ---------- */
.schedule-item + .schedule-item { margin-top: 48px; }
.schedule-img { display: block; border: 3px solid var(--sky); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.schedule-img img { width: 100%; display: block; }
.schedule-hint { text-align: right; font-size: 12px; color: var(--muted); margin: 6px 0 0; }

/* ---------- School ---------- */
.info-table { width: 100%; border-collapse: collapse; background: #fff; box-shadow: var(--shadow); border-radius: var(--radius); overflow: hidden; }
.info-table th, .info-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info-table th { width: 28%; background: var(--sky-pale); color: var(--navy); font-weight: 700; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
@media (max-width: 600px) {
	.info-table th, .info-table td { display: block; width: 100%; }
	.info-table th { border-bottom: 0; padding-bottom: 6px; }
}
.cta-box { text-align: center; margin-top: 40px; padding: 32px 20px; border-radius: 16px; background: var(--pink-pale); }
.cta-lead { font-weight: 700; color: var(--navy); }

/* ---------- Hometown ---------- */
.goods-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: center; font-weight: 700; color: var(--navy); }
.goods-list li { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 12px 16px; }
.goods-ph { display: grid; place-items: center; aspect-ratio: 1; margin-bottom: 8px; background: var(--sky-pale); color: var(--sky); border-radius: 8px; font-size: 13px; }
.site-links { display: grid; gap: 12px; }
.site-links a, .site-links span {
	display: block; padding: 16px 22px; border-radius: 999px; border: 2px solid var(--blue); font-weight: 700; text-align: center; text-decoration: none; color: var(--blue); background: #fff; transition: background .2s, color .2s;
}
.site-links a:hover { background: var(--blue); color: #fff; }
@media (max-width: 600px) { .goods-list { grid-template-columns: 1fr; } }

/* ---------- Sponsor ---------- */
.sponsor-logo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.sponsor { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: center; display: flex; flex-direction: column; }
.sponsor-name { font-size: 16px; color: var(--navy); margin-bottom: 12px; }
.sponsor-logo { flex: 1; display: grid; place-items: center; min-height: 110px; }
.sponsor-logo img { max-height: 150px; width: auto; object-fit: contain; }
.sponsor-text-list { margin-top: 40px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; padding-top: 28px; border-top: 3px dotted var(--sky); }
.sponsor-text-list li { font-size: 14px; padding-left: 14px; position: relative; }
.sponsor-text-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); }
.sponsor-text-list a { color: var(--ink); }
@media (max-width: 640px) { .sponsor-logo-grid, .sponsor-text-list { grid-template-columns: 1fr; } }

/* ---------- Promotion (野球復興活動) ---------- */
.promo .promo-heading {
	display: block; position: relative; font-size: 26px; font-weight: 800; color: var(--navy);
	margin: 56px 0 22px; padding: 6px 0 12px 18px; border-bottom: 3px solid var(--sky);
}
.promo .promo-heading::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 14px; width: 6px; border-radius: 3px; background: linear-gradient(180deg, var(--pink), var(--blue)); }
.promo .promo-heading-en { display: block; font-size: 12px; letter-spacing: .3em; color: var(--pink); font-weight: 700; }
.promo-lead { background: var(--sky-pale); border-radius: 16px; padding: 28px 28px 14px; }
.promo-lead .promo-heading { margin-top: 0; }
.promo-card { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; box-shadow: var(--shadow); }
.promo-card h3 { font-size: 20px; margin: 4px 0 10px; color: var(--navy); }
.promo-tag { display: inline-block; margin: 0; padding: 2px 14px; border-radius: 999px; background: var(--pink); color: #fff; font-size: 13px; font-weight: 800; }
.promo-photo { margin: 14px 0 0; }
.promo-photo span { display: grid; place-items: center; aspect-ratio: 16 / 9; background: var(--sky-pale); color: var(--blue); border-radius: 8px; font-size: 13px; }
.promo-photo img { width: 100%; border-radius: 8px; }
.promo-sponsor { text-align: center; background: var(--pink-pale); border-radius: 16px; padding: 28px 20px 12px; }
.promo-sponsor-logo span { display: inline-grid; place-items: center; width: 240px; max-width: 100%; aspect-ratio: 16 / 9; background: #fff; color: var(--muted); border-radius: 8px; font-size: 13px; }
.promo-sponsor-logo img { max-height: 120px; width: auto; }
.promo-sponsor-name { font-weight: 800; font-size: 18px; }

/* ---------- Contact form ---------- */
.contact-form { background: #fff; border-radius: 16px; padding: 28px; box-shadow: var(--shadow); }
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
.req { display: inline-block; margin-left: 6px; padding: 0 8px; border-radius: 4px; background: var(--pink); color: #fff; font-size: 11px; vertical-align: 1px; }
.form-row input, .form-row select, .form-row textarea {
	width: 100%; font: inherit; padding: 12px 14px; border: 2px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(110, 198, 242, .4); }
.form-submit { text-align: center; margin: 28px 0 0; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.notice { padding: 14px 18px; border-radius: 8px; font-weight: 700; margin-bottom: 20px; }
.notice--ok { background: var(--sky-pale); color: var(--navy); border: 2px solid var(--sky); }
.notice--ng { background: var(--pink-pale); color: #b02863; border: 2px solid var(--pink); }

/* ---------- SNS (top) ---------- */
.sns-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; align-items: start; }
.sns-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.sns-box-title { display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px 18px; background: var(--navy); color: #fff; font-size: 17px; }
.sns-box-title svg { width: 20px; height: 20px; }
.sns-box-body { padding: 18px; text-align: center; }
.sns-note { color: var(--muted); }
@media (max-width: 800px) { .sns-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #fff; margin-top: 0; position: relative; }
.site-footer::before { content: ""; display: block; height: 5px; background: linear-gradient(90deg, var(--pink), var(--sky) 40%, var(--blue)); }
.footer-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; padding: 48px 0 32px; align-items: start; }
.footer-logo-img { width: 96px; height: 96px; object-fit: contain; }
.footer-name { font-size: 20px; font-weight: 800; margin: 10px 0 8px; }
.footer-line { margin: 0 0 2px; font-size: 14px; color: #d6e6fb; }
.footer-line a { color: #fff; text-decoration: none; }
.site-footer .sns { margin-top: 14px; }
.site-footer .sns a { background: rgba(255, 255, 255, .15); }
.site-footer .sns a:hover { background: var(--pink); }
.footer-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 24px; }
.footer-list a { display: block; padding: 8px 0; color: #fff; text-decoration: none; font-size: 14px; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.footer-list a::before { content: "›"; color: var(--sky); margin-right: 8px; font-weight: 800; }
.footer-list a:hover { color: var(--sky); }
.copyright { margin: 0; padding: 16px; text-align: center; font-size: 12px; background: rgba(0, 0, 0, .2); color: #b9cdea; }
@media (max-width: 800px) {
	.footer-inner { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; }
	.footer-brand { text-align: center; }
	.site-footer .sns { justify-content: center; }
}
@media (max-width: 480px) { .footer-list { grid-template-columns: 1fr; } }

/* WordPress core alignment */
.alignleft { float: left; margin: 0 1em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.screen-reader-text { position: absolute; left: -9999px; }

/* ==========================================================
   v1.1 追加・変更
   ========================================================== */

/* 赤文字など(アカデミースクールの開催概要) */
.text-red { color: #e0242b; font-weight: 700; }
.text-blue { color: var(--blue); font-weight: 700; }
.info-table td, .info-table th { line-height: 1.8; }

/* ふるさと納税 */
.page-slug-hometown .section-title { margin-top: 30px; }

/* 野球復興活動: 活動内容(カード)をPCで2つ横並び */
@media (min-width: 761px) {
	.promo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
	.promo > * { grid-column: 1 / -1; margin-top: 0; }
	.promo > .promo-card { grid-column: auto; margin: 0; }
	.promo > .promo-card:nth-of-type(n) { margin: 0; }
	.promo > .promo-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
	.promo > .promo-cards > .promo-card { margin: 0; }
}
.promo > .promo-heading { margin-bottom: 0; }

/* トップバナー: PC・SPとも同じ画像(1280×500)。高さは画面幅に合わせて変わる */
.slides { aspect-ratio: 1280 / 500; }
.slide img { object-fit: cover; }
@media (max-width: 700px) {
	.slides { aspect-ratio: 1280 / 500; }
	.slider-dots { bottom: 6px; gap: 8px; }
	.slider-dots button { width: 9px; height: 9px; }
}

/* ヘッダーメニュー: PCでは1行 */
@media (min-width: 961px) {
	.gnav .container { width: min(1320px, 100% - 16px); }
	.gnav-list { flex-wrap: nowrap; justify-content: center; }
	.gnav-list a { padding: 13px clamp(6px, .85vw, 13px); font-size: clamp(11.5px, 1.1vw, 14px); }
	.gnav-list a::after { left: clamp(6px, .85vw, 13px); right: clamp(6px, .85vw, 13px); }
}

/* TOP: 試合情報(結果と予定を2列) */
.games-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.games-col-title { font-size: 17px; color: #fff; background: var(--blue); border-radius: 999px; padding: 6px 18px; display: inline-block; margin-bottom: 14px; }
.games-col-title--plan { background: var(--pink); }
.games-more { text-align: center; margin: 18px 0 0; }
.btn--sm { padding: 9px 24px; font-size: 14px; }
.game-list--compact .game-row { grid-template-columns: 1fr auto; gap: 6px 12px; padding: 12px 14px; }
.game-list--compact .game-date { grid-column: 1 / -1; display: flex; gap: 10px; align-items: baseline; }
.game-list--compact .game-date-ymd { font-size: 15px; }
.game-list--compact .game-vs { font-size: 16px; }
.game-list--compact .score-num { font-size: 26px; }
.game-list--compact .game-score { min-width: 0; }
@media (max-width: 860px) { .games-grid { grid-template-columns: 1fr; } }

/* お知らせ: カテゴリーを色分け */
.news-list a { align-items: center; }
.cat {
	display: inline-block; flex: none; min-width: 92px; padding: 2px 12px; border-radius: 999px; text-align: center;
	font-size: 12px; font-weight: 800; line-height: 1.7; color: #fff; background: #8a97a8; letter-spacing: .03em;
}
.cat--0 { background: var(--pink); }
.cat--1 { background: var(--blue); }
.cat--2 { background: #1aa392; }
.cat--3 { background: #f08a24; }
.cat--4 { background: #7a5cc7; }
.cat--5 { background: #2fa3d9; }
.single-meta { display: flex; align-items: center; gap: 12px; margin: 0 0 6px; }
.single-meta .single-date { margin: 0; }
@media (max-width: 700px) {
	.news-list a { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
	.news-list .news-title { flex-basis: 100%; }
	.cat { min-width: 0; }
}

/* メンバー: 区分ボタン / 画像 596×638 / 役職 */
.member-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 8px; }
.member-nav a {
	display: block; padding: 10px 26px; border-radius: 999px; background: #fff; border: 2px solid var(--blue);
	color: var(--blue); font-weight: 800; text-decoration: none; transition: background .2s, color .2s;
}
.member-nav a:hover { background: var(--blue); color: #fff; }
.member-nav li:nth-child(even) a { border-color: var(--pink); color: var(--pink); }
.member-nav li:nth-child(even) a:hover { background: var(--pink); color: #fff; }
html { scroll-behavior: smooth; }
.member-group-title { scroll-margin-top: 20px; }
.member-nav + .member-group-title { margin-top: 28px; }
.member-photo { aspect-ratio: 596 / 638; }
.member-role { margin: 0 0 4px; font-size: 12px; font-weight: 800; color: var(--pink); letter-spacing: .05em; }
@media (max-width: 640px) { .member-nav a { padding: 8px 16px; font-size: 14px; } }

/* スポンサー: ロゴあり PC3列/SP2列、社名のみ PC4列/SP2列。社名は1行(JSで縮小) */
.sponsor-logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.sponsor { padding: 14px; min-width: 0; }
.sponsor-name { white-space: nowrap; overflow: hidden; margin-bottom: 10px; font-size: 16px; }
.sponsor-text-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 18px; }
.sponsor-text-list li { min-width: 0; font-size: 14px; white-space: nowrap; overflow: hidden; }
.sponsor-text-list li > * { white-space: nowrap; display: inline-block; }
.sponsor-logo img { max-width: 100%; }
@media (max-width: 640px) {
	.sponsor-logo-grid, .sponsor-text-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sponsor-logo-grid { gap: 10px; }
	.sponsor { padding: 10px; }
	.sponsor-name { font-size: 13px; }
	.sponsor-text-list { gap: 8px 12px; }
	.sponsor-text-list li { font-size: 12px; }
}

/* スケジュール: 矢印で切り替え / 画像タップで拡大 */
.schedule-item { display: none; margin: 0; }
.schedule-item.is-current { display: block; }
.schedule:not(.is-js) .schedule-item { display: block; }
.schedule:not(.is-js) .schedule-item + .schedule-item { margin-top: 40px; }
.schedule-item .month-title { display: none; }
.schedule-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 16px; }
.schedule:not(.is-js) .schedule-nav { display: none; }
.schedule:not(.is-js) .schedule-item .month-title { display: block; }
.schedule-label { margin: 0; min-width: 9em; text-align: center; font-size: 22px; font-weight: 800; color: var(--navy); }
.schedule-arrow, .lightbox-arrow {
	position: relative; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--blue); cursor: pointer; flex: none;
}
.schedule-arrow:hover, .lightbox-arrow:hover { background: var(--pink); }
.schedule-arrow::before, .lightbox-arrow::before {
	content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 11px; border-top: 3px solid #fff; border-right: 3px solid #fff;
}
.schedule-arrow--prev::before, .lightbox-arrow--prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.schedule-arrow--next::before, .lightbox-arrow--next::before { transform: translate(-70%, -50%) rotate(45deg); }
.schedule-arrow[disabled] { opacity: .3; cursor: default; background: var(--blue); }
.schedule-img { cursor: zoom-in; }
.lightbox {
	position: fixed; inset: 0; z-index: 2000; background: rgba(8, 24, 56, .92); display: grid; place-items: center; padding: 16px; cursor: zoom-out;
}
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 6px; background: #fff; }
.lightbox-arrow { position: absolute; top: 50%; margin-top: -23px; background: rgba(255, 255, 255, .25); }
.lightbox-arrow--prev { left: 10px; }
.lightbox-arrow--next { right: 10px; }
.lightbox-label { position: absolute; top: 14px; left: 0; right: 0; text-align: center; color: #fff; font-weight: 800; pointer-events: none; }
.lightbox-hint { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; color: #cfe1fb; font-size: 12px; pointer-events: none; }
body.lightbox-open { overflow: hidden; }

/* Instagram埋め込み(PC・SPともサイズ調整) */
.sns-box-body { padding: 14px; }
.sns-box-body iframe.instagram-media,
.sns-box-body .instagram-media {
	width: 100% !important; min-width: 0 !important; max-width: 100% !important; margin: 0 auto 12px !important; display: block;
}
.sns-box-body iframe.instagram-media { height: 520px !important; }
.sns-box-body iframe[src*="instagram.com"] { width: 100% !important; min-width: 0 !important; max-width: 100% !important; }
.sns-box-body .twitter-timeline, .sns-box-body iframe[id^="twitter-widget"] { max-width: 100% !important; }
@media (max-width: 800px) {
	.sns-box-body iframe.instagram-media { height: 460px !important; }
}

/* トップスライダー: 比率(1280:500)はそのまま、PCでは幅を絞って高さを小さく */
@media (min-width: 961px) {
	.hero-slider { max-width: 1000px; margin-inline: auto; }
}

/* ==========================================================
   v1.2
   ========================================================== */

/* ① トップスライダー: 中央1枚+左右にうっすら前後の画像 */
.hero-slider { max-width: none !important; margin: 0 !important; overflow: hidden; background: linear-gradient(180deg, var(--sky-pale), #fff); padding: 22px 0 16px; }
.hero-slider .slides {
	--w: min(1000px, 88vw); --gap: 16px;
	position: relative; width: var(--w); margin: 0 auto; aspect-ratio: 1280 / 500; overflow: visible;
}
.hero-slider .slide {
	position: absolute; inset: 0; opacity: 0; visibility: visible; border-radius: 10px; overflow: hidden;
	box-shadow: 0 6px 20px rgba(11, 58, 134, .18);
	transition: transform .6s ease, opacity .6s ease;
}
.hero-slider .slide.is-active { opacity: 1; }
.hero-slider.is-js .slide[data-pos="0"] { opacity: 1; transform: none; z-index: 2; }
.hero-slider.is-js .slide[data-pos="-1"] { opacity: .35; transform: translateX(calc(-100% - var(--gap))); z-index: 1; cursor: pointer; }
.hero-slider.is-js .slide[data-pos="1"] { opacity: .35; transform: translateX(calc(100% + var(--gap))); z-index: 1; cursor: pointer; }
.hero-slider.is-js .slide[data-pos="far-l"] { opacity: 0; transform: translateX(calc(-200% - 2 * var(--gap))); pointer-events: none; }
.hero-slider.is-js .slide[data-pos="far-r"] { opacity: 0; transform: translateX(calc(200% + 2 * var(--gap))); pointer-events: none; }
.hero-slider.is-js .slide.no-anim { transition: none; }
.hero-slider .slider-arrow { z-index: 5; }
.hero-slider .slider-dots { position: static; margin-top: 14px; }
.hero-slider .slider-dots button { border-color: var(--blue); }
.hero-slider .slider-dots button.is-active { background: var(--pink); border-color: var(--pink); }
@media (max-width: 700px) {
	.hero-slider { padding: 12px 0 10px; }
	.hero-slider .slides { --w: 88vw; --gap: 8px; }
	.hero-slider .slide { border-radius: 6px; }
	.hero-slider .slider-dots { margin-top: 10px; }
}

/* ② スローガンの頭文字をピンクにしない */
.slogan-main::first-letter { color: inherit; }

/* ③ 基本の見出し・本文・リスト・表(エディタで書いた内容の共通スタイル) */
.entry { line-height: 1.9; }
.entry > :first-child { margin-top: 0; }
.entry h1, .entry h2, .entry h3, .entry h4, .entry h5 { color: var(--navy); font-weight: 800; line-height: 1.5; margin: 2em 0 .8em; }
.entry h1 { font-size: 30px; padding-bottom: 12px; border-bottom: 4px solid var(--sky); }
.entry h2 { font-size: 25px; padding: 4px 0 8px 16px; border-left: 6px solid var(--pink); border-bottom: 2px solid var(--sky); }
.entry h3 { font-size: 21px; padding-left: 14px; border-left: 5px solid var(--blue); }
.entry h4 { font-size: 18px; padding-bottom: 4px; border-bottom: 2px dotted var(--sky); }
.entry h5 { font-size: 16px; color: var(--blue); }
.entry h5::before { content: "■"; color: var(--pink); font-size: .8em; margin-right: 6px; }
.entry p { margin: 0 0 1.2em; }
.entry a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.entry a:hover { color: var(--pink); }
.entry strong, .entry b { font-weight: 800; }
.entry ul, .entry ol { margin: 0 0 1.4em; padding-left: 0; }
.entry ul > li { position: relative; padding-left: 1.4em; margin-bottom: .4em; }
.entry ul > li::before { content: ""; position: absolute; left: .3em; top: .85em; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }
.entry ol { counter-reset: lions-ol; }
.entry ol > li { position: relative; padding-left: 2.2em; margin-bottom: .5em; counter-increment: lions-ol; }
.entry ol > li::before {
	content: counter(lions-ol); position: absolute; left: 0; top: .35em; width: 1.6em; height: 1.6em; line-height: 1.6em; border-radius: 50%;
	background: var(--blue); color: #fff; font-size: .85em; font-weight: 800; text-align: center;
}
.entry li > ul, .entry li > ol { margin: .5em 0 0; }
.entry table, .entry .wp-block-table table { width: 100%; border-collapse: collapse; margin: 0 0 1.6em; background: #fff; font-size: 15px; }
.entry th, .entry td { padding: 12px 16px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry th { background: var(--sky-pale); color: var(--navy); font-weight: 700; }
.entry thead th { background: var(--blue); color: #fff; border-color: var(--blue); }
.entry tbody tr:nth-child(even) td { background: #f8fbfe; }
.entry .wp-block-table { overflow-x: auto; margin: 0 0 1.6em; }
.entry blockquote { margin: 0 0 1.6em; padding: 16px 20px; background: var(--sky-pale); border-left: 5px solid var(--sky); border-radius: 0 8px 8px 0; color: var(--ink); }
.entry blockquote p:last-child { margin-bottom: 0; }
.entry hr { border: 0; height: 3px; margin: 2.4em 0; background: linear-gradient(90deg, var(--blue), var(--sky), var(--pink)); border-radius: 2px; }
.entry figure { margin: 0 0 1.6em; }
.entry figcaption { text-align: center; font-size: 13px; color: var(--muted); margin-top: 6px; }
.entry img { max-width: 100%; height: auto; }
.entry pre, .entry code { font-family: Consolas, "Courier New", monospace; font-size: 14px; background: #f1f5f9; border-radius: 4px; }
.entry code { padding: 1px 6px; }
.entry pre { padding: 14px 16px; overflow-x: auto; margin: 0 0 1.4em; }
.entry pre code { padding: 0; background: none; }
.entry .wp-block-button__link, .entry .btn { text-decoration: none; }
@media (max-width: 700px) {
	.entry h1 { font-size: 25px; }
	.entry h2 { font-size: 21px; }
	.entry h3 { font-size: 18px; }
	.entry th, .entry td { padding: 10px 12px; }
}
/* 野球復興活動の専用見出し・リストは上の共通スタイルの影響を受けない */
.promo .promo-heading { border-left: 0; padding-left: 18px; }
.promo ul > li::before, .promo ol > li::before { content: none; }
.promo ul > li, .promo ol > li { padding-left: 0; }
.goods-list > li::before { content: none; }
.goods-list > li { padding-left: 12px; }

/* ④ お知らせ一覧 */
.cat-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 26px; }
.cat-filter a {
	display: inline-block; min-width: 0; padding: 6px 18px; border-radius: 999px; font-size: 13px; font-weight: 800; text-decoration: none;
	border: 2px solid var(--line); background: #fff; color: var(--muted); line-height: 1.6;
}
.cat-filter a:hover { border-color: var(--blue); color: var(--blue); }
.cat-filter a.is-current { background: var(--navy); border-color: var(--navy); color: #fff; }
.cat-filter a.cat { color: #fff; border-color: transparent; opacity: .65; min-width: 0; }
.cat-filter a.cat:hover { opacity: 1; color: #fff; }
.cat-filter a.cat.is-current { opacity: 1; box-shadow: 0 0 0 3px rgba(11, 58, 134, .2); }

.news-list { border-radius: 12px; border: 1px solid var(--line); box-shadow: none; }
.news-list li + li { border-top: 1px solid var(--line); }
.news-list a {
	position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 52px 18px 24px; background: #fff;
}
.news-list a::after {
	content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; margin-top: -6px;
	border-top: 2px solid var(--sky); border-right: 2px solid var(--sky); transform: rotate(45deg); transition: transform .2s, border-color .2s;
}
.news-list a:hover { background: var(--sky-pale); }
.news-list a:hover::after { border-color: var(--pink); transform: translateX(4px) rotate(45deg); }
.news-list time { flex: none; width: 5.8em; font-size: 14px; font-weight: 800; color: var(--muted); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.news-list .cat { flex: none; width: 108px; min-width: 0; padding: 2px 8px; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-list .news-title { flex: 1; min-width: 0; font-weight: 700; line-height: 1.6; color: var(--ink); }
.news-list a:hover .news-title { color: var(--blue); }
@media (max-width: 700px) {
	.news-list a { flex-wrap: wrap; gap: 6px 10px; padding: 14px 40px 14px 16px; }
	.news-list time { width: auto; font-size: 13px; }
	.news-list .cat { width: auto; max-width: 60%; padding: 1px 10px; }
	.news-list .news-title { flex-basis: 100%; }
	.news-list a::after { right: 16px; }
}

/* ⑤ TOPの試合情報: 試合終了・本日開催・シーズンオフ */
.score-badge--end { background: #8a97a8; }
.score-badge--today { background: var(--pink); animation: lions-pulse 1.8s ease-in-out infinite; }
@keyframes lions-pulse { 50% { opacity: .7; } }
.game-list--compact .next-game-label { margin: 0 0 -2px; justify-self: start; }
.offseason { text-align: center; background: #fff; border: 3px dashed var(--sky); border-radius: 14px; padding: 28px 20px; }
.offseason-title { margin: 0 0 8px; font-size: 22px; font-weight: 900; letter-spacing: .25em; color: var(--blue); }
.offseason-text { margin: 0 0 14px; color: var(--muted); }
.offseason-record { margin: 0; font-weight: 700; color: var(--navy); }
.offseason-record strong { display: block; font-size: 24px; color: var(--pink); }

/* ---------- v1.3 ---------- */
/* お知らせ一覧: カテゴリー絞り込みボタンの色(白背景に白文字になっていた不具合の修正) */
.cat-filter a.cat { color: #fff; opacity: .7; border-color: transparent; }
.cat-filter a.cat:hover, .cat-filter a.cat.is-current { opacity: 1; color: #fff; }
.cat-filter a.cat.cat--0 { background: var(--pink); }
.cat-filter a.cat.cat--1 { background: var(--blue); }
.cat-filter a.cat.cat--2 { background: #1aa392; }
.cat-filter a.cat.cat--3 { background: #f08a24; }
.cat-filter a.cat.cat--4 { background: #7a5cc7; }
.cat-filter a.cat.cat--5 { background: #2fa3d9; }
.cat-filter a.cat.cat--none { background: #8a97a8; }
.news-list .cat { color: #fff; }

/* TOP: 成績カード(シーズンオフ時) */
.record-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 5px solid var(--pink); padding: 20px 22px 22px; }
.record-card-title { margin: 0 0 14px; font-size: 18px; font-weight: 800; color: var(--navy); }
.record-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 18px; }
.record-stat { background: var(--sky-pale); border-radius: 8px; padding: 12px 14px; text-align: center; }
.record-stat-label { display: block; font-size: 12px; font-weight: 700; color: var(--blue); }
.record-stat strong { display: block; font-size: 22px; line-height: 1.4; color: var(--navy); }
.record-sub { margin: 0 0 6px; font-size: 13px; font-weight: 800; color: var(--pink); letter-spacing: .08em; }
.record-list { border-top: 1px solid var(--line); }
.record-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 2px; border-bottom: 1px solid var(--line); font-size: 14px; }
.record-event { font-weight: 700; min-width: 0; }
.record-result { flex: none; padding: 1px 12px; border-radius: 999px; background: var(--pink); color: #fff; font-size: 12px; font-weight: 800; }
.record-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }

/* オフシーズン(成績データ未入力でも成立する表示) */
.games-grid--single { grid-template-columns: minmax(0, 720px); justify-content: center; }
.record-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
.record-links a {
	display: block; padding: 10px 6px; border-radius: 999px; border: 2px solid var(--blue); color: var(--blue);
	font-size: 13px; font-weight: 800; text-align: center; text-decoration: none; background: #fff;
}
.record-links a:hover { background: var(--blue); color: #fff; }
@media (max-width: 600px) { .record-links { grid-template-columns: repeat(2, 1fr); } }

/* ---------- v1.4 ---------- */
/* TOP: シーズン終了のご挨拶とご報告 */
.season-end {
	position: relative; color: #fff; text-align: center; padding: 64px 0;
	background: var(--navy) center / cover no-repeat;
}
.season-end::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 58, 134, .82), rgba(11, 40, 100, .9)); }
.season-end-inner { position: relative; width: min(760px, 100% - 32px); margin: 0 auto; }
.season-end-title { display: inline-block; font-size: clamp(22px, 4vw, 34px); font-weight: 800; color: #fff; margin: 0 0 22px; padding-bottom: 10px; border-bottom: 4px solid var(--pink); }
.season-end-text { margin: 0 0 34px; line-height: 2; }
.season-end-sub { display: inline-block; font-size: clamp(18px, 3vw, 24px); font-weight: 800; color: #fff; margin: 0 0 20px; padding-bottom: 8px; border-bottom: 3px dashed var(--sky); }
.season-end-list { text-align: left; margin: 0 auto 30px; max-width: 640px; }
.season-end-list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 14px; margin-bottom: 8px; border-left: 5px solid var(--pink); background: rgba(255, 255, 255, .08); font-weight: 700; }
.se-result { flex: none; text-align: right; letter-spacing: .15em; }
.se-result.is-champ { color: #ffd54a; font-size: 1.1em; }
.season-end-closing { margin: 0; font-weight: 700; }
@media (max-width: 600px) {
	.season-end { padding: 44px 0; }
	.season-end-list li { flex-direction: column; align-items: flex-start; gap: 2px; }
	.se-result { text-align: left; }
}

/* X タイムライン */
.x-timeline .x-fallback { display: none; color: var(--muted); font-size: 14px; }
.x-timeline.is-failed .x-fallback { display: block; }
.x-timeline.is-failed .twitter-timeline { display: none; }

/* ふるさと納税: 返礼品の写真 */
.goods-list img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; margin: 0 0 8px; }

/* ---------- v1.5 試合の詳細(ポップアップ) ---------- */
.game-detail-btn {
	margin-top: 8px; padding: 4px 18px; border: 2px solid var(--blue); border-radius: 999px; background: #fff; color: var(--blue);
	font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; transition: background .2s, color .2s;
}
.game-detail-btn:hover { background: var(--blue); color: #fff; }
.game-detail[hidden] { display: none; }
.gd-modal { position: fixed; inset: 0; z-index: 3000; background: rgba(8, 24, 56, .7); display: grid; place-items: center; padding: 16px; }
.gd-dialog { position: relative; width: min(640px, 100%); max-height: 100%; overflow-y: auto; background: #fff; border-radius: 16px; padding: 28px 22px 24px; }
.gd-dialog .game-detail { display: block; }
.gd-close { position: absolute; top: 8px; right: 10px; width: 40px; height: 40px; border: 0; background: none; font-size: 30px; line-height: 1; color: var(--ink); cursor: pointer; }
.gd-close:hover { color: var(--pink); }
.gd-head { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center; gap: 0; margin: 0 28px 6px; }
.gd-date { background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 12px; }
.gd-title { background: var(--blue); color: #fff; font-weight: 800; padding: 4px 14px; text-align: center; line-height: 1.5; }
.gd-vs { text-align: center; color: var(--muted); font-size: 13px; margin: 6px 0 14px; }
.gd-board-wrap { overflow-x: auto; margin-bottom: 16px; }
.gd-board { border-collapse: collapse; margin: 0 auto; background: #0e3a1f; color: #fff; font-variant-numeric: tabular-nums; }
.gd-board th, .gd-board td { border: 2px solid #fff3; padding: 6px 0; min-width: 34px; text-align: center; font-weight: 700; font-size: 18px; }
.gd-board thead th { background: #2c5a3c; font-weight: 800; }
.gd-board .gd-team { min-width: 92px; padding: 6px 10px; font-size: 14px; background: #2c5a3c; white-space: nowrap; }
.gd-board .gd-logo { display: block; height: 34px; width: auto; max-width: 84px; margin: 0 auto; background: #fff; border-radius: 3px; padding: 2px; }
.gd-board .gd-r { background: #174b2a; }
.gd-image img { width: 100%; border-radius: 8px; }
.gd-lines { margin: 0; padding: 0 6px; }
.gd-lines li { display: flex; gap: 4px; align-items: baseline; padding: 6px 0 6px 28px; position: relative; font-size: 16px; }
.gd-lines li::before { content: ""; position: absolute; left: 4px; top: .8em; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px var(--sky-pale); }
.gd-lines li:first-child::before { background: #c8702a; box-shadow: 0 0 0 3px #fbeadb; }
.gd-label { font-weight: 800; color: var(--navy); }
@media (max-width: 600px) {
	.gd-board th, .gd-board td { min-width: 28px; font-size: 16px; }
	.gd-board .gd-team { min-width: 70px; font-size: 12px; }
}
@media (max-width: 600px) {
	.gd-dialog { padding: 26px 12px 20px; }
	.gd-board th, .gd-board td { min-width: 22px; padding: 5px 0; font-size: 14px; border-width: 1px; }
	.gd-board .gd-team { min-width: 58px; max-width: 76px; padding: 5px 4px; font-size: 11px; white-space: normal; line-height: 1.3; }
	.gd-board .gd-logo { height: 26px; max-width: 56px; }
}

/* スコア表示: 先攻(左)→後攻(右)。ホームチーム=ロゴ */
.game-score { gap: 10px; }
.score-side { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 56px; }
.score-team { display: block; max-width: 96px; font-size: 11px; line-height: 1.3; color: var(--muted); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.score-logo { display: block; height: 22px; width: auto; max-width: 72px; }
.score-side .score-num { font-size: 30px; }
.game-score .score-dash { align-self: flex-start; margin-top: 8px; }
.game-list--compact .score-side .score-num { font-size: 26px; }
@media (max-width: 700px) { .game-score { flex-wrap: wrap; } }

/* スコア下のチーム名・ロゴは非表示にしたので、ハイフンの位置を戻す */
.game-score .score-dash { align-self: center; margin-top: 0; }
.score-side { min-width: 0; }
