@charset "utf-8";

.matsuri2024s .header {
	background: #fff;
	width: 100%;
}

#matsuri2024s-index .header-catch p {
	font-weight: 600;
}
#matsuri2024s-index .header-catch p span {
	background: #ffff00;
}

#matsuri2024s-tree .header .top-page-back a {
	font-size: 0px;
	line-height: 0px;
	text-indent: -9999px;
	text-decoration: none;
}

@media screen and (max-width: 640px) {
	#matsuri2024s-index .header {
		background: #fff url(../images/header-sp.png) no-repeat center top;
		background-size: contain;
		padding: 126.666667% 0 0;
	}
	.matsuri2024s .header-inner {
		padding: 0 0 5.8vw;
	}

	#matsuri2024s-tree .header {
		background: #fff url(../images/header-tree-sp.png) no-repeat center top;
		background-size: contain;
		padding: 50.933333% 0 0;
		position: relative;
	}
	#matsuri2024s-tree .header-inner {
		padding: 0;
	}
	#matsuri2024s-tree .header .top-page-back a {
		width: 35.066667%;
		height: 75.13089%;
		position: absolute;
		top: 18.848168%;
		left: 32.4%;
	}

	#matsuri2024s-index .header-catch {
		text-align: center;
	}
	#matsuri2024s-index .header-catch p {
		font-size: 3.2rem;
		line-height: 1.5;
		margin: 0 0 3.2vw;
	}
	#matsuri2024s-index .header-catch p:nth-child(n+2) {
		margin: 0 0 2.8vw;
	}
	#matsuri2024s-index .header-catch p span {
		font-size: 3.8rem;
		letter-spacing: -0.02em;
	}
}

@media screen and (min-width: 641px) {
	#matsuri2024s-index .header {
		background: url(../images/header-pc.png) no-repeat center top, url(../images/header-bg-pc.png) repeat-x center top;
		height: 625px;
	}
	.matsuri2024s .header-inner {
		width: 1200px;
		margin: 0 auto;
		position: relative;
	}
	#matsuri2024s-tree .header {
		background: url(../images/header-tree-pc.png) no-repeat center top;
		height: 254px;
		position: sticky;
		z-index: 2;
	}
	#matsuri2024s-tree .header .top-page-back a {
		width: 190px;
		height: 209px;
		position: absolute;
		top: 45px;
		left: 506px;
	}

	#matsuri2024s-index .header-catch {
		position: absolute;
		top: 328px;
		left: 420px;
	}
	#matsuri2024s-index .header-catch p {
		font-size: 2.0rem;
		margin: 0 0 14px;
	}
	#matsuri2024s-index .header-catch p:nth-child(n+2) {
		font-size: 2.8rem;
		margin: 0 0 8px;
	}
	#matsuri2024s-index .header-catch p span {
		font-size: 4.0rem;
	}
}
