.tousen-festival {
	--tousen-primary: #9c3c2f;
	--tousen-primary-hover: #b04435;
	--tousen-accent: #d17a22;
	--tousen-bg: #f8f5eb;
	--tousen-card: #fff;
	--tousen-text: #333;
	--tousen-muted: #666;
	--tousen-border: #e0d5c1;
	--tousen-radius: 12px;
	width: 100%;
	padding: 20px 0 60px;
	background: var(--tousen-bg);
	color: var(--tousen-text);
	font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	font-size: 16px;
	line-height: 1.7;
}

.tousen-festival,
.tousen-festival *,
.tousen-festival *::before,
.tousen-festival *::after {
	box-sizing: border-box;
}

.tousen-festival img {
	display: block;
	max-width: 100%;
	height: auto;
}

.tousen-festival__inner {
	width: min(1100px, calc(100% - 40px));
	margin-inline: auto;
}

.tousen-festival__hero img {
	width: 100%;
	border-radius: var(--tousen-radius);
	box-shadow: 0 8px 16px rgb(0 0 0 / 10%);
}

.tousen-festival .tousen-festival__stamp {
	display: block !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 20px 0 0 !important;
	padding: 18px !important;
	border: 4px solid var(--tousen-accent);
	border-radius: var(--tousen-radius);
	background: var(--tousen-card);
	box-shadow: 0 6px 15px rgb(0 0 0 / 8%);
}

.tousen-festival__stamp-title,
.tousen-festival__section-title,
.tousen-festival__poster-title,
.tousen-festival__stall-name,
.tousen-festival__day {
	font-family: inherit;
	text-transform: none;
	letter-spacing: normal;
}

.tousen-festival .tousen-festival__stamp-title {
	display: block !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 0 14px !important;
	padding: 0 0 10px !important;
	border-bottom: 2px dashed var(--tousen-accent);
	color: var(--tousen-primary);
	font-size: clamp(1.45rem, 3vw, 1.8rem);
	font-weight: 700;
	line-height: 1.35;
	text-align: center;
}

.tousen-festival .tousen-festival__stamp-title::before,
.tousen-festival .tousen-festival__stamp-title::after {
	display: none !important;
	content: none !important;
}

.tousen-festival .tousen-festival__stamp-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
	align-items: start;
	gap: 20px;
	margin: 0 !important;
	padding: 0 !important;
}

.tousen-festival .tousen-festival__stamp-copy {
	align-self: start;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

.tousen-festival .tousen-festival__stamp-subtitle {
	height: auto !important;
	min-height: 0 !important;
	margin: 0 0 10px !important;
	padding: 0 !important;
	color: var(--tousen-primary);
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.45;
}

.tousen-festival__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 12px !important;
	padding: 0 !important;
}

.tousen-festival__badge,
.tousen-festival__stall-tag {
	display: inline-block;
	border: 1px solid var(--tousen-accent);
	border-radius: 999px;
	background: #f0e9d8;
	color: var(--tousen-primary);
	font-size: .88rem;
	font-weight: 700;
}

.tousen-festival__badge {
	padding: 5px 12px;
}

.tousen-festival .tousen-festival__stamp-description {
	margin: 0 0 14px !important;
	padding: 0 !important;
	font-size: 1.03rem;
}

.tousen-festival .tousen-festival__stamp-description p {
	margin: 0 0 8px !important;
	padding: 0 !important;
}

.tousen-festival__date {
	color: var(--tousen-muted);
	font-size: .94rem;
	font-weight: 700;
}

.tousen-festival__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 12px 32px;
	border-radius: 999px;
	background: var(--tousen-primary);
	box-shadow: 0 4px 10px rgb(156 60 47 / 40%);
	color: #fff !important;
	font-size: 1.08rem;
	font-weight: 700;
	line-height: 1.35;
	text-align: center;
	text-decoration: none !important;
	transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.tousen-festival__button:hover {
	background: var(--tousen-primary-hover);
	box-shadow: 0 6px 15px rgb(156 60 47 / 50%);
	transform: translateY(-2px);
}

.tousen-festival__button:focus-visible,
.tousen-festival__poster-frame:focus-visible {
	outline: 3px solid #175cd3;
	outline-offset: 4px;
}

.tousen-festival__stamp-image img {
	width: auto;
	max-height: 450px;
	margin-inline: auto;
	border-radius: 8px;
	box-shadow: 0 4px 10px rgb(0 0 0 / 10%);
}

.tousen-festival__columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 40px;
	padding-top: 20px;
}

.tousen-festival__section-title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding-bottom: 10px;
	border-bottom: 3px solid var(--tousen-accent);
	color: var(--tousen-primary);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.4;
}

.tousen-festival__day {
	margin: 30px 0 15px;
	padding: 8px 15px;
	border-radius: 6px;
	background: var(--tousen-primary);
	color: #fff;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.5;
}

.tousen-festival__event-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.tousen-festival__event {
	display: grid;
	grid-template-columns: 78px 60px minmax(0, 1fr);
	align-items: start;
	gap: 14px;
	margin-bottom: 15px;
	padding: 12px 15px;
	border: 1px solid var(--tousen-border);
	border-radius: 8px;
	background: var(--tousen-card);
	box-shadow: 0 2px 6px rgb(0 0 0 / 5%);
}

.tousen-festival__event--simple {
	grid-template-columns: 90px minmax(0, 1fr);
	align-items: center;
	min-height: 54px;
	background: rgb(255 255 255 / 58%);
	box-shadow: none;
}

.tousen-festival__event-time {
	padding-top: 2px;
	color: var(--tousen-primary);
	font-size: 1.02rem;
	font-weight: 700;
	white-space: nowrap;
}

.tousen-festival__event-image {
	width: 60px;
	height: 60px;
	border: 2px solid var(--tousen-border);
	border-radius: 50%;
	object-fit: cover;
}

.tousen-festival__event-copy {
	min-width: 0;
}

.tousen-festival__event-title {
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

.tousen-festival__event-link {
	color: var(--tousen-primary);
	text-decoration: underline;
	text-decoration-color: rgb(156 60 47 / 35%);
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.tousen-festival__event-link:hover {
	color: var(--tousen-primary-hover);
	text-decoration-color: currentcolor;
}

.tousen-festival__event-link:focus-visible {
	border-radius: 3px;
	outline: 3px solid #175cd3;
	outline-offset: 3px;
}

.tousen-festival__event-subtitle {
	margin-top: 2px;
	color: var(--tousen-muted);
	font-size: .84rem;
	line-height: 1.5;
}

.tousen-festival__event-description {
	margin: 6px 0 0;
	color: #555;
	font-size: .86rem;
	line-height: 1.55;
}

.tousen-festival .tousen-festival__stall {
	height: auto !important;
	min-height: 0 !important;
	margin: 14px 0 !important;
	overflow: hidden;
	border-top: 4px solid var(--tousen-accent);
	border-radius: 10px;
	background: var(--tousen-card);
	box-shadow: 0 4px 10px rgb(0 0 0 / 5%);
}

.tousen-festival__stall--muted {
	border-top-color: #aaa;
}

.tousen-festival__stall-image {
	width: 100%;
	aspect-ratio: 53 / 18;
	border-bottom: 1px solid var(--tousen-border);
	object-fit: cover;
}

.tousen-festival .tousen-festival__stall-copy {
	display: block !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 14px 16px 16px !important;
}

.tousen-festival .tousen-festival__stall-copy > * {
	margin-top: 0 !important;
}

.tousen-festival .tousen-festival__stall-tag {
	margin: 0 0 6px !important;
	padding: 3px 9px;
	border-radius: 4px;
	color: #76551e;
}

.tousen-festival .tousen-festival__stall-name {
	display: flex;
	align-items: center;
	gap: 8px;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 0 6px !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent;
	color: var(--tousen-primary);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.4;
}

.tousen-festival .tousen-festival__stall-name::before,
.tousen-festival .tousen-festival__stall-name::after {
	display: none !important;
	content: none !important;
}

.tousen-festival .tousen-festival__stall-description {
	margin: 0 !important;
	padding: 0 !important;
	color: #444;
	font-size: .95rem;
	line-height: 1.7;
}

.tousen-festival__poster {
	margin-top: 30px;
}

.tousen-festival__poster-title {
	margin: 0 0 15px;
	color: var(--tousen-primary);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
}

.tousen-festival__poster-frame {
	display: block;
	padding: 20px;
	border: 1px solid var(--tousen-border);
	border-radius: var(--tousen-radius);
	background: var(--tousen-card);
	box-shadow: 0 4px 15px rgb(0 0 0 / 8%);
}

.tousen-festival__poster-frame img {
	width: auto;
	max-height: 1200px;
	margin-inline: auto;
	border-radius: 6px;
}

@media (max-width: 780px) {
	.tousen-festival__inner {
		width: min(100% - 30px, 680px);
	}

	.tousen-festival__stamp {
		padding: 16px !important;
	}

	.tousen-festival__stamp-grid {
		grid-template-columns: 1fr;
	}

	.tousen-festival__stamp-image {
		grid-row: 1;
	}

	.tousen-festival__columns {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.tousen-festival {
		padding: 10px 0 30px;
		line-height: 1.45;
	}

	.tousen-festival__inner {
		width: calc(100% - 20px);
	}

	.tousen-festival__stamp {
		margin: 12px 0 0 !important;
		padding: 12px !important;
	}

	.tousen-festival__stamp-subtitle {
		font-size: 1.16rem;
	}

	.tousen-festival__button {
		width: 100%;
		padding-inline: 18px;
	}

	.tousen-festival__columns {
		gap: 18px;
		padding-top: 18px;
	}

	.tousen-festival__section-title {
		gap: 7px;
		padding-bottom: 7px;
		font-size: 1.28rem;
		line-height: 1.3;
	}

	.tousen-festival__event {
		grid-template-columns: 70px 52px minmax(0, 1fr);
		gap: 9px;
		padding: 10px;
	}

	.tousen-festival__event--simple {
		grid-template-columns: 78px minmax(0, 1fr);
	}

	.tousen-festival__event-image {
		width: 52px;
		height: 52px;
	}

	.tousen-festival__event-time,
	.tousen-festival__event-title {
		font-size: .94rem;
	}

	.tousen-festival__event-description {
		margin-top: 4px;
		font-size: .82rem;
		line-height: 1.45;
	}

	.tousen-festival__stall {
		height: auto !important;
		min-height: 0 !important;
		margin: 10px 0 !important;
	}

	.tousen-festival__stall-copy {
		display: block !important;
		height: auto !important;
		min-height: 0 !important;
		padding: 12px 14px 14px !important;
	}

	.tousen-festival__stall-copy > * {
		margin-top: 0 !important;
	}

	.tousen-festival__stall-tag {
		margin: 0 0 6px !important;
		padding: 2px 8px;
		font-size: .78rem;
		line-height: 1.35;
	}

	.tousen-festival__stall-name {
		height: auto !important;
		min-height: 0 !important;
		margin: 0 0 6px !important;
		padding: 0 !important;
		border: 0 !important;
		font-size: 1.08rem;
		line-height: 1.3;
	}

	.tousen-festival__stall-name::before,
	.tousen-festival__stall-name::after {
		display: none !important;
		content: none !important;
	}

	.tousen-festival__stall-description {
		margin: 0 !important;
		padding: 0 !important;
		font-size: .9rem;
		line-height: 1.45;
	}

	.tousen-festival__poster-frame {
		padding: 15px;
	}
}

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

@media print {
	.tousen-festival {
		padding: 0;
		background: #fff;
	}

	.tousen-festival__button {
		box-shadow: none;
	}
}

/* 出演者紹介固定ページ */
.tousen-performers {
	--tousen-primary: #9c3c2f;
	--tousen-primary-hover: #b04435;
	--tousen-accent: #d17a22;
	--tousen-bg: #f8f5eb;
	--tousen-card: #fff;
	--tousen-text: #333;
	--tousen-muted: #666;
	--tousen-border: #e0d5c1;
	--tousen-radius: 12px;
	width: 100%;
	padding: 38px 0 60px;
	background: var(--tousen-bg);
	color: var(--tousen-text);
	font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	font-size: 16px;
	line-height: 1.75;
}

.tousen-performers,
.tousen-performers *,
.tousen-performers *::before,
.tousen-performers *::after {
	box-sizing: border-box;
}

.tousen-performers__inner {
	width: min(960px, calc(100% - 40px));
	margin-inline: auto;
}

.tousen-performers__header {
	margin-bottom: 26px;
	text-align: center;
}

.tousen-performers__eyebrow {
	margin: 0 0 4px;
	color: var(--tousen-accent);
	font-size: .9rem;
	font-weight: 700;
	letter-spacing: .12em;
}

.tousen-performers__title {
	margin: 0;
	padding: 0;
	background: transparent;
	color: var(--tousen-primary);
	font-family: inherit;
	font-size: clamp(1.9rem, 5vw, 2.8rem);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: .02em;
}

.tousen-performers__lead {
	max-width: 720px;
	margin: 16px auto 0;
	color: #4a4a4a;
}

.tousen-performers__nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0 0 34px;
	padding: 18px;
	border: 1px solid var(--tousen-border);
	border-radius: var(--tousen-radius);
	background: rgb(255 255 255 / 72%);
}

.tousen-performers__nav a {
	padding: 6px 12px;
	border: 1px solid var(--tousen-border);
	border-radius: 999px;
	background: var(--tousen-card);
	color: var(--tousen-primary);
	font-size: .9rem;
	font-weight: 700;
	text-decoration: none;
}

.tousen-performers__nav a:hover {
	border-color: var(--tousen-primary);
	background: var(--tousen-primary);
	color: #fff;
}

.tousen-performers__list {
	display: grid;
	gap: 24px;
}

.tousen-performers__card {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 28px;
	padding: 28px;
	border-top: 5px solid var(--tousen-accent);
	border-radius: var(--tousen-radius);
	background: var(--tousen-card);
	box-shadow: 0 5px 16px rgb(0 0 0 / 7%);
	scroll-margin-top: 96px;
}

.tousen-performers__image img {
	width: 220px;
	aspect-ratio: 1;
	border-radius: 50%;
	box-shadow: 0 0 0 5px #f1e8d8;
	object-fit: cover;
}

.tousen-performers__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin-bottom: 8px;
}

.tousen-performers__category {
	padding: 3px 10px;
	border: 1px solid var(--tousen-accent);
	border-radius: 999px;
	background: #f0e9d8;
	color: var(--tousen-primary);
	font-size: .82rem;
	font-weight: 700;
}

.tousen-performers__schedule {
	color: var(--tousen-primary);
	font-size: .94rem;
	font-weight: 700;
}

.tousen-performers__name {
	margin: 0 0 12px;
	padding: 0 0 8px;
	border-bottom: 2px solid var(--tousen-border);
	background: transparent;
	color: var(--tousen-primary);
	font-family: inherit;
	font-size: clamp(1.35rem, 3vw, 1.75rem);
	font-weight: 700;
	line-height: 1.4;
}

.tousen-performers__description,
.tousen-performers__profile p {
	margin: 0;
}

.tousen-performers__profiles {
	display: grid;
	gap: 12px;
	margin-top: 18px;
}

.tousen-performers__profile {
	padding: 14px 16px;
	border-left: 4px solid var(--tousen-accent);
	background: #fbf8f0;
}

.tousen-performers__profile h3 {
	margin: 0 0 5px;
	padding: 0;
	background: transparent;
	color: var(--tousen-primary);
	font-family: inherit;
	font-size: 1rem;
	font-weight: 700;
}

.tousen-performers__links {
	margin: 18px 0 0;
	padding-left: 1.25em;
	font-size: .9rem;
}

.tousen-performers__links a,
.tousen-performers__back a {
	color: var(--tousen-primary);
	font-weight: 700;
	text-underline-offset: 3px;
}

.tousen-performers__nav a:focus-visible,
.tousen-performers__links a:focus-visible,
.tousen-performers__back a:focus-visible {
	border-radius: 3px;
	outline: 3px solid #175cd3;
	outline-offset: 3px;
}

.tousen-performers__back {
	margin: 32px 0 0;
	text-align: center;
}

@media (max-width: 700px) {
	.tousen-performers {
		padding-top: 24px;
	}

	.tousen-performers__inner {
		width: calc(100% - 24px);
	}

	.tousen-performers__nav {
		justify-content: flex-start;
		padding: 14px;
	}

	.tousen-performers__card {
		grid-template-columns: 1fr;
		gap: 20px;
		padding: 22px;
	}

	.tousen-performers__image img {
		width: min(190px, 58vw);
		margin-inline: auto;
	}
}

@media print {
	.tousen-performers {
		padding: 0;
		background: #fff;
	}

	.tousen-performers__nav,
	.tousen-performers__back {
		display: none;
	}

	.tousen-performers__card {
		break-inside: avoid;
		box-shadow: none;
	}
}
