/*
  festival/festival.css
  フェスティバルの歴史セクション（festival/index.html と各サブフォルダの記事ページ）
  共通のモバイル対応スタイル。1カラムのレスポンシブ設計。
  配色・フォントは当サイトのブランド指定に準拠。
*/

:root {
	--f-bg: #FAF9F7;
	--f-surface: #FFFFFF;
	--f-ink: #201515;
	--f-muted: #6E6060;
	--f-line: #E4DAD9;
	--f-accent: #9E0030;
	--f-accent-dark: #6E0020;
	--f-accent-tint: #F7E7EB;
	--f-blue: #1a4fa0;
	--f-green: #2E8B2E;
	--f-font-display: 'Shippori Mincho B1', serif;
	--f-font-body: 'Zen Kaku Gothic New', sans-serif;
}

* { box-sizing: border-box; }

body {
	margin: 0;
	background: var(--f-bg);
	color: var(--f-ink);
	font-family: var(--f-font-body);
	line-height: 1.8;
	-webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }

/* ===== トップバー ===== */
.fes-topbar {
	background: var(--f-surface);
	border-bottom: 1px solid var(--f-line);
	position: sticky;
	top: 0;
	z-index: 20;
}
.fes-topbar .bar-inner {
	max-width: 980px;
	margin: 0 auto;
	padding: 10px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.fes-topbar .brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--f-font-display);
	font-weight: 800;
	font-size: 15px;
	color: var(--f-ink);
	text-decoration: none;
}
.fes-topbar .brand .brand-dot {
	width: 9px; height: 9px; border-radius: 50%;
	background: var(--f-accent); flex-shrink: 0;
}
.fes-topbar .back-link {
	font-size: 13px;
	font-weight: 700;
	color: var(--f-accent);
	text-decoration: none;
	white-space: nowrap;
}
.fes-topbar .back-link:hover { text-decoration: underline; }

/* ===== コンテナ ===== */
.fes-container {
	max-width: 860px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ===== ヒーロー ===== */
.fes-hero {
	padding: 34px 0 20px;
	text-align: center;
}
.fes-hero .eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .1em;
	color: var(--f-accent);
	margin-bottom: 12px;
}
.fes-hero .eyebrow .rec-dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--f-accent);
}
.fes-hero h1 {
	font-family: var(--f-font-display);
	font-weight: 800;
	font-size: clamp(24px, 5vw, 36px);
	line-height: 1.35;
	margin: 0 0 6px;
	color: var(--f-ink);
}
.fes-hero .hero-sub {
	font-size: 14px;
	color: var(--f-muted);
	margin: 0;
	letter-spacing: .04em;
}

/* ===== バナー（旧タイトル画像） ===== */
.banner {
	margin: 18px auto 0;
}
.single-banner {
	text-align: center;
}
.single-banner img {
	display: inline-block;
}
/* スライス画像を比率グリッドで再構成（列比はインラインstyleで指定） */
.sliced-banner {
	display: grid;
	gap: 0;
	margin: 0 auto;
	line-height: 0;
}
.sliced-banner img {
	display: block;
	width: 100%;
	height: auto;
}

/* ===== セクション ===== */
.fes-section { padding: 22px 0; }
.sec-heading {
	font-family: var(--f-font-display);
	font-weight: 800;
	font-size: clamp(18px, 2.6vw, 22px);
	color: var(--f-ink);
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--f-accent);
	display: flex;
	align-items: center;
	gap: 10px;
}

/* フィルム風の区切り */
.divider {
	height: 6px;
	margin: 6px 0 22px;
	background-image: repeating-linear-gradient(
		to right,
		var(--f-line) 0px, var(--f-line) 6px,
		transparent 6px, transparent 16px
	);
}

/* ===== 本文（記事） ===== */
.article {
	background: var(--f-surface);
	border: 1px solid var(--f-line);
	border-radius: 10px;
	padding: 22px 22px 8px;
}
.article p {
	font-size: 16px;
	line-height: 1.95;
	margin: 0 0 16px;
	color: var(--f-ink);
}
.article.two-col { }
@media (min-width: 760px) {
	.article.two-col {
		column-count: 2;
		column-gap: 34px;
	}
	.article.two-col p:first-child { margin-top: 0; }
}

/* ===== 出演アーティスト（ラインナップ） ===== */
.lineup-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
}
@media (min-width: 560px) {
	.lineup-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
	.lineup-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 820px) {
	.lineup-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}
.lineup-col {
	background: var(--f-surface);
	border: 1px solid var(--f-line);
	border-top: 3px solid var(--f-accent);
	border-radius: 8px;
	padding: 14px 16px 16px;
}
.lineup-col .day {
	font-family: var(--f-font-display);
	font-weight: 800;
	font-size: 15px;
	color: var(--f-accent);
	margin: 0 0 10px;
	text-align: center;
	border-bottom: 1px dashed var(--f-line);
	padding-bottom: 8px;
}
.lineup-col .stage {
	display: block;
	font-weight: 700;
	font-size: 13px;
	margin: 10px 0 4px;
	color: var(--f-green);
}
.lineup-col .stage.blue { color: var(--f-blue); }
.lineup-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 14.5px;
	line-height: 1.85;
	color: var(--f-ink);
}
.lineup-col ul li { padding: 1px 0; }
.lineup-single {
	background: var(--f-surface);
	border: 1px solid var(--f-line);
	border-top: 3px solid var(--f-accent);
	border-radius: 8px;
	padding: 16px 18px;
	max-width: 420px;
	margin: 0 auto;
	text-align: center;
	font-size: 15px;
	line-height: 1.95;
}
.fes-note {
	font-size: 13px;
	color: var(--f-muted);
	margin: 12px 0 0;
	text-align: center;
}

/* ===== グッズ ===== */
.goods-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
}
@media (min-width: 620px) {
	.goods-grid { grid-template-columns: repeat(3, 1fr); }
	.goods-grid.g2 { grid-template-columns: repeat(2, 1fr); }
}
.goods-card {
	background: var(--f-surface);
	border: 1px solid var(--f-line);
	border-radius: 8px;
	padding: 16px;
	text-align: center;
}
.goods-card img {
	margin: 0 auto 10px;
	display: block;
}
.goods-card .goods-text {
	font-size: 13.5px;
	line-height: 1.75;
	color: var(--f-muted);
	text-align: left;
}

/* ===== フッター ===== */
.fes-footer {
	border-top: 1px solid var(--f-line);
	margin-top: 20px;
	padding: 22px 20px 32px;
	text-align: center;
	font-size: 12px;
	color: var(--f-muted);
	line-height: 1.8;
}
.fes-footer .foot-links {
	margin: 0 0 12px;
}
.fes-footer .foot-links a {
	color: var(--f-accent);
	font-weight: 700;
	text-decoration: none;
	font-size: 13px;
}

/* =========================================================================
   トップページ（ポータル：フェスティバル一覧）
   ========================================================================= */
.portal-lead {
	text-align: center;
	font-size: 15px;
	color: var(--f-ink);
	line-height: 1.9;
	margin: 0 auto 8px;
	max-width: 640px;
}
.portal-group { padding: 10px 0 6px; }
.portal-group .group-title {
	font-family: var(--f-font-display);
	font-weight: 800;
	font-size: clamp(17px, 2.4vw, 20px);
	color: var(--f-ink);
	margin: 18px 0 14px;
	padding-left: 12px;
	border-left: 5px solid var(--f-accent);
}
.portal-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}
@media (min-width: 560px) {
	.portal-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
	.portal-grid { grid-template-columns: repeat(3, 1fr); }
}
.portal-card {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	background: var(--f-surface);
	border: 1px solid var(--f-line);
	border-radius: 10px;
	padding: 14px;
	text-decoration: none;
	color: var(--f-ink);
	transition: border-color .15s ease, box-shadow .15s ease, transform .1s ease;
}
.portal-card:hover {
	border-color: var(--f-accent);
	box-shadow: 0 4px 14px rgba(158,0,48,.08);
	transform: translateY(-1px);
}
.portal-card .icon {
	flex: 0 0 54px;
	height: 54px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--f-accent-tint);
	border-radius: 8px;
	overflow: hidden;
}
.portal-card .icon img { max-width: 46px; max-height: 46px; width: auto; height: auto; }
.portal-card .pc-body { flex: 1 1 auto; min-width: 0; }
.portal-card .pc-name {
	font-weight: 700;
	font-size: 15px;
	color: var(--f-accent);
	margin: 0 0 4px;
	line-height: 1.35;
}
.portal-card .pc-desc {
	font-size: 13px;
	line-height: 1.7;
	color: var(--f-muted);
	margin: 0;
}
