@charset "utf-8";
/*--------------------------------------------------
	トップページのメインイメージ（hero）
	2026-11 改修（2026-10-13打ち合わせ〜11/20 ご確定分）。index.php のみで読み込む
	背景：障子越しの光（img/index/mainimg_bg.webp）＋人物：清水様（img/index/mainimg_staff.webp）
	ヘッダー（白背景・ナビのぼかし・ロゴ）は全ページ共通の css/header.css
--------------------------------------------------*/
/* 上はヘッダー色、下は次のセクションの和紙テクスチャへ溶かして境目をなくす */
#index .mainimg::before,
#index .mainimg::after {
	z-index: 2;
	pointer-events: none;
}
#index .mainimg::before {
	height: 48px;
	background: linear-gradient(180deg, rgba(200,216,189,1) 0%, rgba(200,216,189,0) 100%);
}
#index .mainimg::after {
	height: 56px;
	background: url(../img/img_background.jpg) left bottom;
	-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 100%);
	mask-image: linear-gradient(180deg, transparent 0%, #000 100%);
}
#index .mainimg {
	/*ヘッダーと同色（2026-10-14 ご要望）。文字は濃緑 #23322d、会員価格は朱 #b23a1c*/
	background: #c8d8bd;
	padding: 32px 16px 0px;
	box-sizing: border-box;
	/* 縦書きの後ろのもやが画面外へはみ出して横スクロールが出るのを防ぐ */
	overflow: hidden;
}
#index .mainimg .mainimg_box {
	padding: 0;
	height: auto;
	max-width: 1008px;
	width: 100%;
	display: block;
	margin: 0 auto;
}
#index .hero {
	display: flex;
	flex-direction: column;
	gap: 24px;
}
#index .hero_left {
	color: #23322d;
	text-align: center;
}
#index .hero_badge_stars {
	color: #23322d;
	letter-spacing: 0.2em;
	font-size: 1.5rem;
}
#index .hero_badge_row {
	margin-top: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
}
#index .hero_badge_maincopy {
	width: 100%;
	max-width: 340px;
	height: auto;
	filter: drop-shadow(1px 2px 3px rgba(255, 255, 255, 0.6));
}
#index .hero_catch {
	display: block;
	width: 100%;
	max-width: 340px;
	margin: 16px auto 0;
	padding: 10px 20px 6px;
	background: #fff;
	border-radius: 999px;
	box-sizing: border-box;
	overflow: visible;
}
#index .hero_catch_svg {
	display: block;
	width: 100%;
	height: auto;
	margin-top: -8px;
}
#index .hero_price_group {
	margin-top: 16px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	font-family: "游ゴシック体", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "Noto Sans JP", sans-serif;
}
#index .hero_price_kind {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 2.4rem;
	line-height: 1;
	align-self: center;
}
#index .hero_price_col {
	text-align: center;
}
#index .hero_price_col_label {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-bottom: 4px;
	min-height: 2.4rem;
	line-height: 1;
}
#index .hero_price_tax {
	background: #fff;
	color: #23322d;
	font-size: 1.3rem;
	font-weight: bold;
	padding: 3px 10px;
	border-radius: 999px;
}
#index .hero_price_label {
	background: #23322d;
	color: #fff;
	font-weight: bold;
	padding: 3px 10px;
	font-size: 1.3rem;
	border-radius: 999px;
}
#index .hero_price_member_badge {
	border: 1px solid #b23a1c;
	color: #b23a1c;
	font-weight: bold;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 1.1rem;
	white-space: nowrap;
}
#index .hero_price_general_badge {
	border: 1px solid #23322d;
	color: #23322d;
	font-weight: bold;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 1.1rem;
	white-space: nowrap;
}
#index .hero_price_num {
	font-family: "游ゴシック体","Yu Gothic",YuGothic,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,Osaka,"ＭＳ Ｐゴシック","MS P Gothic",sans-serif;
	font-weight: bold;
	line-height: 1;
	white-space: nowrap;
}
/* スマホ縦積み時は「税込」を各金額の前に付ける（上の「税込」だと金額と離れて見づらい 2026-10-13 ご要望） */
#index .hero_price_kind .hero_price_tax {
	display: none;
}
#index .hero_price_num_tax {
	display: inline-block;
	margin-right: 6px;
	padding: 3px 7px;
	border-radius: 4px;
	background: #fff;
	color: #23322d;
	font-size: 1.3rem;
	line-height: 1;
	vertical-align: 0.35em;
}
#index .hero_price_col-member .hero_price_num_tax {
	background: #b23a1c;
	color: #fff;
}
#index .hero_price_col-regular .hero_price_num {
	color: #23322d;
	font-size: 3.5rem;
}
#index .hero_price_col-regular .hero_price_num small {
	font-size: 1.4rem;
}
#index .hero_price_col-member .hero_price_num {
	color: #b23a1c;
	font-size: 5.5rem;
}
#index .hero_price_col-member .hero_price_num small {
	font-size: 2rem;
}
#index .hero_notes {
	max-width: 520px;
	margin: 8px auto 0;
	color: #23322d;
	font-size: 1.2rem;
	text-align: left;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
#index .hero_notes li {
	display: flex;
	align-items: center;
	gap: 6px;
}
#index .hero_notes li.hero_notes_plain::before {
	content: none;
}
#index .hero_notes li.hero_notes_plain {
	opacity: 0.85;
	font-size: 0.95em;
}
#index .hero_notes li::before {
	content: '+';
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 1.4em;
	height: 1.4em;
	border-radius: 50%;
	background: #23322d;
	color: #fff;
	font-weight: bold;
	font-size: 0.9em;
	line-height: 1;
}
#index .hero_right {
	position: relative;
}
#index .hero_message {
	color: #23322d;
	text-align: center;
	font-size: 1.5rem;
	line-height: 1.6;
	text-shadow: none;
}
#index .hero_message_strong {
	color: #b23a1c;
}
#index .hero_person {
	position: relative;
	margin: 16px auto 0;
	width: fit-content;
}
#index .hero_person img {
	width: auto;
	height: 320px;
	display: block;
}
/* スマホの縦書き専用の改行（PC・横書きでは使わない） */
#index .hero_message br.br_sp_vertical {
	display: none;
}
/* スマホ・タブレット（人物あり）：人物の目線の先に縦書きメッセージを置く */
@media screen and (max-width: 1023px) {
	#index:not(.no-person) .hero_right {
		display: flex;
		align-items: flex-end;
		justify-content: center;
		gap: 12px;
	}
	#index:not(.no-person) .hero_message {
		position: relative;
		align-self: center;
		writing-mode: vertical-rl;
		white-space: nowrap;
		text-align: left;
		font-size: 1.6rem;
		font-weight: 600;
		line-height: 1.9;
		letter-spacing: 0.12em;
		color: #1b2723;
		text-shadow:
			0 0 3px rgba(255,255,255,1),
			0 0 10px rgba(255,255,255,0.9);
	}
	#index:not(.no-person) .hero_message::before {
		content: '';
		position: absolute;
		top: 50%;
		left: 50%;
		z-index: -1;
		width: 200px;
		height: 120%;
		transform: translate(-50%, -50%);
		background: radial-gradient(ellipse closest-side, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0.5) 55%, rgba(255,255,255,0) 100%);
		pointer-events: none;
	}
	/* 縦書きを4行にして人物の高さ以内に収める */
	#index:not(.no-person) .hero_message br.br_sp_vertical {
		display: inline;
	}
	/* ヒーローがスマホ1画面に収まるよう人物は280pxまで */
	#index:not(.no-person) .hero_message {
		margin-bottom: 16px;
	}
	#index:not(.no-person) .hero_person {
		margin: 0;
		flex-shrink: 0;
	}
	#index:not(.no-person) .hero_person img {
		height: 280px;
		/* 下端を背景に溶かし、その上に料金を重ねる */
		-webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 96%);
		mask-image: linear-gradient(to bottom, #000 62%, transparent 96%);
	}
	/* 並び順：見出し → 人物＋メッセージ → 料金 → 注記（hero_left を解いて並べ替え） */
	/* 下端のぼかし（56px）に注記がかからないよう余白を取る */
	#index:not(.no-person) .mainimg {
		padding-bottom: 48px;
	}
	#index:not(.no-person) .hero {
		gap: 0;
		color: #23322d;
		text-align: center;
	}
	#index:not(.no-person) .hero_left {
		display: contents;
	}
	#index:not(.no-person) .hero_right {
		order: 1;
		margin-top: 8px;
	}
	#index:not(.no-person) .hero_price_group {
		order: 2;
		position: relative;
		z-index: 1;
		margin-top: -36px;
	}
	#index:not(.no-person) .hero_notes {
		order: 3;
		width: 100%;
	}
	/* 料金は会員・一般を横並び。「税込」は縦書きの小札にして幅を詰める */
	#index:not(.no-person) .hero_price_group {
		display: grid;
		grid-template-columns: auto auto;
		justify-content: center;
		align-items: end;
		column-gap: 14px;
		row-gap: 6px;
	}
	#index:not(.no-person) .hero_price_kind {
		grid-column: 1 / -1;
		min-height: 0;
	}
	#index:not(.no-person) .hero_price_col_label {
		min-height: 0;
	}
	#index:not(.no-person) .hero_price_num_tax {
		writing-mode: vertical-rl;
		margin-right: 3px;
		padding: 4px 2px;
		font-size: 1.1rem;
		letter-spacing: 0.1em;
		vertical-align: 0.15em;
	}
	#index:not(.no-person) .hero_price_col-member .hero_price_num {
		font-size: 3.4rem;
	}
	#index:not(.no-person) .hero_price_col-member .hero_price_num small {
		font-size: 1.4rem;
	}
	#index:not(.no-person) .hero_price_col-regular .hero_price_num {
		font-size: 2.6rem;
	}
	#index:not(.no-person) .hero_price_col-regular .hero_price_num small {
		font-size: 1.2rem;
	}
	#index:not(.no-person) .hero_price_member_badge,
	#index:not(.no-person) .hero_price_general_badge {
		font-size: 1rem;
		padding: 2px 8px;
	}
}
/* 左右2カラムは1024px以上。600〜1023pxは人物と料金が重なるため縦積みのまま */
@media print, screen and (min-width: 1024px) {
	#index .mainimg {
		padding: 56px 40px;
	}
	#index .hero {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 40px;
	}
	#index .hero_left {
		text-align: left;
		flex: 0 0 68%;
	}
	#index .hero_notes {
		max-width: none;
		margin: 8px 0 0;
		text-align: left;
		font-size: 1.3rem;
	}
	#index .hero_badge_stars {
		text-align: center;
		font-size: 1.7rem;
	}
	#index .hero_badge_row {
		width: 100%;
		justify-content: flex-start;
	}
	#index .hero_badge_maincopy {
		max-width: 655px;
	}
	#index .hero_catch {
		width: 100%;
		max-width: 605px;
		margin: 16px 0 0;
		padding: 14px 28px 8px;
	}
	#index .hero_catch_svg {
		margin-top: -16px;
	}
	#index .hero_price_label {
		font-size: 1.6rem;
	}
	#index .hero_price_group {
		flex-direction: row;
		align-items: flex-end;
		gap: 28px;
	}
	#index .hero_price_col {
		text-align: left;
	}
	#index .hero_price_col_label {
		justify-content: flex-start;
	}
	#index .hero_price_kind {
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		gap: 3px;
		min-height: 0;
		align-self: center;
	}
	#index .hero_price_kind .hero_price_tax {
		display: inline;
		font-size: 1.2rem;
		padding: 2px 8px;
	}
	#index .hero_price_num_tax {
		display: none;
	}
	#index .hero_price_member_badge,
	#index .hero_price_general_badge {
		font-size: 1.3rem;
	}
	#index .hero_price_col-regular .hero_price_num {
		font-size: 5rem;
	}
	#index .hero_price_col-regular .hero_price_num small {
		font-size: 1.4rem;
	}
	#index .hero_price_col-member .hero_price_num {
		font-size: 7rem;
	}
	#index .hero_price_col-member .hero_price_num small {
		font-size: 2rem;
	}
	/* 右側：縦書きメッセージ＋腰上の人物。人物は下端で切って地面に立って見せる */
	#index .hero {
		align-items: stretch;
	}
	#index .hero_left {
		flex: 0 0 64%;
		align-self: center;
	}
	#index .hero_badge_maincopy {
		max-width: 100%;
	}
	#index .hero_right {
		position: relative;
		flex: 1;
		display: flex;
		align-items: flex-end;
		justify-content: flex-end;
		gap: 4px;
		margin-bottom: -56px;
	}
	#index .hero_message {
		position: relative;
		/* 人物の右側に置く */
		order: 2;
		align-self: center;
		margin-bottom: 56px;
		writing-mode: vertical-rl;
		white-space: nowrap;
		text-align: left;
		/* 游明朝は標準だと細いので Demibold を使う */
		font-size: 1.9rem;
		font-weight: 600;
		line-height: 1.9;
		letter-spacing: 0.16em;
		color: #1b2723;
		text-shadow:
			0 0 3px rgba(255,255,255,1),
			0 0 10px rgba(255,255,255,0.9);
	}
	/* 写真の上でも読めるよう、縁の見えない白いもやを文字の後ろに敷く */
	#index .hero_message::before {
		content: '';
		position: absolute;
		top: 50%;
		left: 50%;
		z-index: -1;
		width: 260px;
		height: 130%;
		transform: translate(-50%, -50%);
		background: radial-gradient(ellipse closest-side, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0.5) 55%, rgba(255,255,255,0) 100%);
		pointer-events: none;
	}
	#index .hero_message br.br_vertical {
		display: inline;
	}
	#index .hero_person {
		margin: 0;
		flex-shrink: 0;
	}
	#index .hero_person img {
		height: 440px;
	}
}
/* 1024〜1279px：右側が狭いので人物・メッセージ・料金を小さく */
@media screen and (min-width: 1024px) and (max-width: 1279px) {
	#index .hero_left {
		flex-basis: 62%;
	}
	#index .hero_price_col-member .hero_price_num {
		font-size: 6rem;
	}
	#index .hero_price_col-regular .hero_price_num {
		font-size: 4.2rem;
	}
	#index .hero_message {
		font-size: 1.7rem;
	}
	#index .hero_person img {
		height: 380px;
	}
}

/*--------------------------------------------------
	背景：障子越しの光。ヘッダー色に近いフィルターを重ねる
--------------------------------------------------*/
#index .mainimg {
	background:
		linear-gradient(rgba(214,226,204,0.62), rgba(214,226,204,0.62)),
		url(../img/index/mainimg_bg.webp) 70% center/cover no-repeat;
}
@media print, screen and (min-width: 1024px) {
	/* PC：文字のある左側はフィルターを濃く、人物側は写真を見せる */
	#index .mainimg {
		background:
			linear-gradient(90deg, rgba(214,226,204,0.75) 0%, rgba(214,226,204,0.6) 50%, rgba(214,226,204,0.15) 100%),
			url(../img/index/mainimg_bg.webp) center/cover no-repeat;
	}
}
/* スマホはナビ帯がないため、白いヘッダーからメインイメージへなじませる */
@media screen and (max-width: 599px) {
	#index .mainimg::before {
		background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	}
}
