@charset "UTF-8";

@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@700;900&display=swap");

/* FOAMY MV 共通 */

main > header.page-title-picture {
	position: relative;
	background-position: center center;
	background-size: cover;
}

main > header.page-title-picture > div {
	position: absolute !important;
	top: 50% !important;
	left: 12% !important;
	right: auto !important;
	transform: translateY(-50%) !important;
	width: 44% !important;
	max-width: 850px;
	margin: 0 !important;
	padding: 0 !important;
	text-align: left !important;
	box-sizing: border-box;
	display: flex !important;
	flex-direction: column;
	align-items: flex-start;
}

main > header.page-title-picture > div > h1 {
	order: 2;
	display: block !important;
	width: 100% !important;
	max-width: 580px !important;
	aspect-ratio: 2048 / 378;
	height: auto !important;
	margin: 18px 0 0 !important;
	padding: 0 !important;
	background: url("/service/grooming/foamy/formy-petemo.png") no-repeat left center / contain;
	color: transparent !important;
	font-size: 0 !important;
	text-shadow: none !important;
}

main > header.page-title-picture > div > p {
	order: 1;
	margin: 0 !important;
	padding: 0 !important;
	color: #fff !important;
	font-family: "Noto Serif JP", "游明朝", "Yu Mincho", "Hiragino Mincho ProN", serif !important;
	font-size: clamp(15px, 1.2vw, 22px) !important;
	font-weight: 700 !important;
	line-height: 1.6 !important;
	letter-spacing: 0.05em;
	text-align: left !important;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

main > header.page-title-picture > div > p::first-line {
	font-size: clamp(26px, 2.8vw, 54px);
	font-weight: 900;
	line-height: 1.6;
}

/* SP */

@media screen and (max-width: 1023px) {

	main > header.page-title-picture {
		width: 100%;
		height: auto !important;
		min-height: 0 !important;
		aspect-ratio: 2 / 1;
	}

	main > header.page-title-picture > div {
		top: 45% !important;
		left: 5% !important;
		width: 58% !important;
		max-width: none !important;
	}

	main > header.page-title-picture > div > h1 {
		width: 85% !important;
		max-width: 420px !important;
		margin: 6px 0 0 !important;
	}

	main > header.page-title-picture > div > p {
		font-size: clamp(11px, 3vw, 20px) !important;
		line-height: 1.3 !important;
		letter-spacing: 0;
		text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
	}

	main > header.page-title-picture > div > p::first-line {
		font-size: clamp(16px, 4.8vw, 36px);
		line-height: 1.4;
	}

}
