/* saihouji カスタムスタイル（山茶花イメージ） */

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
:root {
	--site-content-width: 1120px;
	--page-content-width: 1000px;
	--color-text: #3a3330;
	--color-muted: #7a6f6b;
	--color-accent: #b86b77;
	--color-accent-dark: #9a5562;
	--color-accent-light: #e8b4bc;
	--color-leaf: #3d5244;
	--color-leaf-dark: #2f4235;
	--color-bg: #fffcfb;
	--color-bg-alt: #f8f0ee;
	--color-border: #e8dcd8;
	--header-height: 64px;
	--site-height: 100dvh;
	--font-family: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
	--font-tegomin: "New Tegomin", "Hiragino Mincho ProN", "Yu Mincho", serif;
	--d: 0.4s;
	--bg-main-pattern: url('../images/main_bg_pt.svg');
	--bg-main-pattern-size: 128px 110px;
	--mask-seibee-h2: url('../images/seibee_h2.svg');
	--sazanka-front-photo: url('../images/sazanka_front.jpg');
	--intro-wave-dot-fade-h: 80px;
	--intro-wave-dot-size: 10px;
	--intro-wave-dot-color: color-mix(in srgb, var(--color-accent-light) 34%, var(--color-bg-alt));
	--intro-wave-h: 1.75rem;
	--intro-wave-overlap: 1px;
	--intro-wave-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cg transform='scale(1 -1) translate(0 -40)'%3E%3Cpath fill='%23000' d='M0 20C60 0 60 0 120 20s60 20 120 0 60-20 120 0 60 20 120 0 60-20 120 0 60 20 120 0 60-20 120 0 60 20 120 0 60-20 120 0 60 20 120 0 60-20 120 0 60 20 120 0 60-20 120 0 60 20 120 0v20H0z'/%3E%3C/g%3E%3C/svg%3E");
}

.tegomin {
	font-family: var(--font-tegomin);
	font-weight: 400;
	font-style: normal;
}

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

html {
	height: 100vh;
	height: var(--site-height);
	overflow-x: clip;
	scrollbar-gutter: stable;
}

body {
	margin: 0;
	min-height: 100vh;
	min-height: var(--site-height);
	font-family: var(--font-family);
	font-size: 1rem;
	line-height: 1.7;
	color: var(--color-text);
	background: var(--color-bg);
	overflow-x: clip;
	max-width: 100%;
	padding-right: 0 !important;
}

html.nav-drawer-open,
html.nav-drawer-open body {
	overflow: hidden;
}

@media (max-width: 767.98px) {
	html {
		font-size: 90%;
	}
}

/* Bootstrap fs-1〜fs-6（fs-4 = 本文サイズ） */
.fs-1 { font-size: 1.75rem !important; }
.fs-2 { font-size: 1.5rem !important; }
.fs-3 { font-size: 1.25rem !important; }
.fs-4 { font-size: 1rem !important; }
.fs-5 { font-size: 0.875rem !important; }
.fs-6 { font-size: 0.75rem !important; }

a {
	color: var(--color-accent);
	text-decoration: none;
}

a:hover {
	color: var(--color-accent-dark);
	text-decoration: underline;
}

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

/* コンテンツ幅 1120px */
.site-container {
	width: 100%;
	max-width: var(--site-content-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
}

/* --------------------------------------------------------------------------
   Header / Global nav
   -------------------------------------------------------------------------- */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1030;
	background: none;
	border-bottom: none;
}

/* トップ／固定ページ：PCは固定表示、ヒーロー上に半透明ヘッダーを重ねる */
.home .site-header,
body.page:not(.home) .site-header {
	background: rgba(255, 252, 251, 0.94);
	border-bottom: none;
	box-shadow:
		0 4px 14px rgba(58, 45, 48, 0.32),
		0 14px 40px rgba(58, 45, 48, 0.42);
}

.home .site-logo-text,
.home .site-navbar .nav-link {
	color: var(--color-text);
	font-weight: 600;
	text-shadow: none;
}

.home .site-navbar .nav-link:hover {
	color: var(--color-accent);
	text-shadow: none;
}

.home .site-nav-toggler {
	color: #fff;
}

.site-navbar {
	padding: 0.75rem 0;
}

.site-header__inner {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-end;
	gap: 1rem;
	width: 100%;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

.site-header__logo {
	display: none;
	flex-shrink: 1;
	min-width: 0;
	line-height: 0;
	text-decoration: none;
}

.site-header__logo img {
	display: block;
	width: auto;
	height: 40px;
	max-width: 100%;
}

.site-logo {
	flex-shrink: 0;
	text-decoration: none;
}

.site-logo .custom-logo-link {
	display: block;
	line-height: 0;
}

.site-logo-text,
.footer-logo-text {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--color-text);
	letter-spacing: 0.05em;
}

.site-header .site-logo-text {
	color: var(--color-text);
}

.home .site-logo-text {
	color: var(--color-text);
}

/* 横並びグローバルメニュー（1行） */
.site-nav-panel.site-nav-panel--inline {
	display: flex !important;
	flex: 1 1 auto;
	min-width: 0;
	justify-content: flex-end;
	height: auto !important;
	visibility: visible !important;
}

.site-nav-menu {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.55rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav-menu .nav-item {
	flex-shrink: 0;
}

.site-navbar .nav-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	color: var(--color-text);
	font-weight: 500;
	padding: 0.35rem 0.2rem 0.35rem 0.8em;
	white-space: nowrap;
}

.site-navbar .nav-link-text {
	padding-bottom: 2px;
}

.site-navbar .nav-link::before {
	content: "";
	flex: 0 0 auto;
	width: 0.42em;
	height: 0.6em;
	margin-left: -0.72em;
	margin-right: 0.3em;
	background: currentColor;
	clip-path: polygon(0 0, 100% 50%, 0 100%);
	opacity: 0;
	transition: opacity 0.15s ease;
}

.site-navbar .nav-link:hover::before,
.site-navbar .nav-link:focus-visible::before {
	opacity: 1;
}

.site-header .site-navbar .nav-link {
	color: var(--color-text);
}

.site-navbar .nav-link:hover {
	color: var(--color-accent);
	text-decoration: none;
}

.site-header .site-navbar .nav-link:hover {
	color: var(--color-accent);
}

/* ハンバーガー（イカリファーム準拠：70px / 3本線↔×） */
.site-nav-toggler {
	display: none;
	position: relative;
	z-index: 1055;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 70px;
	height: 70px;
	padding: 12px;
	border: 0;
	border-radius: 0;
	background: var(--color-leaf-dark);
	color: #fff;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

.site-header .site-nav-toggler {
	color: #fff;
}

#toggle-icon-wrap {
	display: inline-block;
	width: 100%;
	height: 100%;
	cursor: pointer;
}

#toggle-icon-wrap svg,
#toggle-icon-wrap svg * {
	pointer-events: none;
}

#toggle-icon-wrap svg {
	display: block;
}

#menu-icon .a,
#menu-icon .b {
	transition: opacity 0s calc(var(--d) / 2), transform var(--d);
	transform-box: view-box;
	transform-origin: 50% 50%;
}

#menu-icon .a {
	opacity: 1;
	transform: rotate(0) scale(1);
}

#menu-icon .b {
	opacity: 0;
	transform: rotate(90deg) scale(0.6);
}

#menu-icon.state .a {
	opacity: 0;
	transform: rotate(-90deg) scale(0.6);
}

#menu-icon.state .b {
	opacity: 1;
	transform: rotate(0) scale(1);
}

/* 右ドロワー（Bootstrap Offcanvas end） */
.site-nav-drawer.offcanvas {
	--site-nav-drawer-pad-x: 1.5rem;
	--site-nav-drawer-width: min(24rem, calc(100vw - 70px));
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: auto;
	z-index: 1045;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: var(--site-nav-drawer-width);
	min-width: var(--site-nav-drawer-width);
	max-width: var(--site-nav-drawer-width);
	visibility: hidden;
	background-color: transparent;
	background-image:
		linear-gradient(
			color-mix(in srgb, var(--color-leaf-dark) 96.5%, transparent),
			color-mix(in srgb, var(--color-leaf-dark) 96.5%, transparent)
		),
		url('../images/main_bg_pt_w.svg');
	background-repeat: no-repeat, repeat;
	background-size: 100% 100%, 128px 110px;
	background-position: center top, center top;
	background-clip: padding-box;
	outline: 0;
	transform: translateX(100%);
	transition: transform 0.3s ease-in-out;
}

.site-nav-drawer.offcanvas.show:not(.hiding),
.site-nav-drawer.offcanvas.showing {
	transform: none;
}

.site-nav-drawer.offcanvas.show,
.site-nav-drawer.offcanvas.showing,
.site-nav-drawer.offcanvas.hiding {
	visibility: visible;
}

.offcanvas-backdrop {
	position: fixed;
	inset: 0;
	z-index: 1040;
	width: auto;
	height: auto;
	background-color: #000;
}

.offcanvas-backdrop.fade {
	opacity: 0;
}

.offcanvas-backdrop.show {
	opacity: 0.5;
}

.site-nav-drawer .offcanvas-header {
	display: flex;
	align-self: stretch;
	align-items: center;
	justify-content: flex-start;
	min-height: 70px;
	padding: 0;
	margin-top: 0;
}

.site-nav-drawer__close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 70px;
	height: 70px;
	padding: 12px;
	margin: 0;
	border: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
	opacity: 0.85;
	appearance: none;
	-webkit-appearance: none;
}

.site-nav-drawer__close svg {
	display: block;
	width: 100%;
	height: 100%;
}

.site-nav-drawer__close:hover {
	opacity: 1;
}

.site-nav-drawer .offcanvas-body {
	flex-grow: 1;
	align-self: stretch;
	box-sizing: border-box;
	overflow-y: auto;
	padding: 1rem var(--site-nav-drawer-pad-x) 1.5rem;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.site-nav-drawer .offcanvas-body::-webkit-scrollbar {
	display: none;
}

.site-nav-drawer .site-nav-menu {
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	width: 100%;
	max-width: 100%;
	gap: 0;
}

.site-nav-drawer .nav-link {
	display: block;
	width: 100%;
	max-width: 100%;
	color: #fff;
	font-weight: 500;
	font-size: 1.25rem;
	padding: 0.35rem 0;
	white-space: normal;
}

.site-nav-drawer .nav-link::before {
	display: none;
}

.site-nav-drawer .nav-link:hover,
.site-nav-drawer .nav-link:focus-visible {
	color: #fff;
	padding-left: 8px;
	border-bottom: 1px solid #fff;
	text-decoration: none;
	transition: 0.8s;
}

@media (max-width: 920px) {
	:root {
		--header-height: 70px;
	}

	.site-navbar {
		padding: 0;
	}

	.site-header__inner {
		justify-content: flex-start;
		padding-right: 0;
		min-height: 70px;
	}

	.site-nav-toggler {
		display: flex;
		position: fixed;
		top: 0;
		right: 0;
	}

	.site-nav-panel.site-nav-panel--inline {
		display: none !important;
	}

	.home .site-header {
		position: absolute;
		background: none;
		box-shadow: none;
	}

	body.page:not(.home) .site-header {
		position: fixed;
	}

	body.page:not(.home) .site-header__logo {
		display: block;
		max-width: calc(100% - 86px);
	}

	.hero-slider__logo img {
		width: 76px;
	}
}

@media (min-width: 921px) {
	.site-nav-toggler {
		display: none !important;
	}

	.site-nav-drawer.offcanvas {
		display: none !important;
	}
}

.site-main {
	padding-top: var(--header-height);
	max-width: 100%;
	overflow-x: clip;
}

/* --------------------------------------------------------------------------
   Hero slider (fullscreen)
   -------------------------------------------------------------------------- */
.hero-slider {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	position: relative;
}

.hero-slider__logo {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 3;
	margin: 0;
	padding: 0;
	font-size: inherit;
	font-weight: inherit;
	line-height: 0;
	pointer-events: none;
	transform: translate(-50%, -50%);
}

.hero-slider__logo::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 0;
	width: 26rem;
	height: 42rem;
	transform: translate(-50%, -50%);
	background: radial-gradient(
		ellipse at center,
		rgba(15, 14, 12, 0.45) 0%,
		rgba(15, 14, 12, 0.18) 40%,
		transparent 68%
	);
	filter: blur(26px);
}

.hero-slider__logo img {
	position: relative;
	z-index: 1;
	display: block;
	width: 100px;
	height: auto;
}

.hero-splide,
.hero-splide .splide__track,
.hero-splide .splide__list,
.hero-splide .splide__slide {
	height: 100vh;
	height: var(--site-height);
	min-height: 480px;
}

.hero-slide {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	position: relative;
}

/* スライド全体は薄く抑え、写真を背景として見せる */
.hero-slide::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: rgba(0, 0, 0, 0.18);
}

.hero-slide--1 {
	background-color: #e8b4bc;
	background-image: linear-gradient(135deg, #f5e0e4 0%, #d4a0a8 45%, #b86b77 100%);
}

.hero-slide--2 {
	background-color: #c97886;
	background-image: linear-gradient(135deg, #e8b4bc 0%, #b86b77 50%, #9a5562 100%);
}

.hero-slide--3 {
	background-color: #3d5244;
	background-image: linear-gradient(135deg, #5a7562 0%, #3d5244 40%, #9a5562 100%);
}

.hero-slide--image picture,
.hero-slide--image img {
	display: block;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-splide .splide__pagination {
	bottom: 1.25rem;
	z-index: 4;
}

.hero-splide .splide__pagination__page {
	background: rgba(255, 252, 251, 0.55);
	opacity: 1;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.hero-splide .splide__pagination__page.is-active {
	background: #fffcfb;
	transform: scale(1.2);
}

.hero-splide .splide__arrow {
	background: rgba(255, 252, 251, 0.88);
	color: var(--color-accent-dark);
	opacity: 1;
}

.hero-splide .splide__arrow:hover {
	background: #fffcfb;
}

.hero-slider__social {
	position: absolute;
	right: 1.25rem;
	bottom: 1.5rem;
	z-index: 5;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

html.nav-drawer-open .hero-slider__social {
	visibility: hidden;
	pointer-events: none;
}

.site-nav-drawer__social {
	display: flex;
	justify-content: center;
	align-items: center;
	align-self: stretch;
	flex-shrink: 0;
	box-sizing: border-box;
	width: 100%;
	gap: 0.75rem;
	padding: 1rem var(--site-nav-drawer-pad-x) 1.5rem;
	margin-top: auto;
}

.hero-slider__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	background: #fff;
	border-radius: 8px;
	color: var(--color-text);
	line-height: 0;
	text-decoration: none;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
	perspective: 480px;
}

.hero-slider__social-icon {
	display: block;
	width: 1.55rem;
	height: 1.55rem;
	overflow: visible;
	transform-origin: center center;
}

/* トップ／固定ページ：ヘッダーはヒーローに重ね表示 */
.home .site-main,
body.page:not(.home) .site-main {
	padding-top: 0;
}

.home .site-main,
body.page:not(.home):not(:has(.eitaikuyou-page)) .site-main,
.site-copyright {
	background-color: var(--color-bg);
	background-image: var(--bg-main-pattern);
	background-repeat: repeat;
	background-size: var(--bg-main-pattern-size);
	background-position: center top;
}

/* --------------------------------------------------------------------------
   Top notice
   -------------------------------------------------------------------------- */
.top-notice-section {
	position: relative;
	isolation: isolate;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 2.5rem 0 calc(2.5rem + var(--intro-wave-h, 1.75rem));
}

.top-notice-section .site-container {
	position: relative;
	z-index: 3;
}

.top-notice-card {
	padding: 0;
	margin-bottom: 1.25rem;
	background: transparent;
}

.top-notice-card:last-child {
	margin-bottom: 0;
}

.top-notice-card__title {
	margin: 0 0 0.75rem;
	padding-left: 1.5rem;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--color-leaf-dark);
	text-align: left;
}

.top-notice-card__date-tab {
	margin: 0 0 1.25rem;
	padding: 0 0 0 1.5rem;
	border-bottom: 2px solid var(--color-accent);
}

.top-notice-card__published-date {
	display: inline-block;
	margin: 0;
	padding: 0.4rem 1rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--color-text);
	background: #fff;
	border-radius: 4px 4px 0 0;
	box-shadow: 0 2px 8px rgba(58, 51, 48, 0.1);
	line-height: 1.4;
}

.top-notice-card__body {
	padding-left: 1.5rem;
	color: var(--color-text);
}

.top-notice-card__body > *:last-child {
	margin-bottom: 0;
}

.top-notice-card__links {
	list-style: none;
	margin: 1rem 0 0;
	padding: 0 0 0 1.5rem;
}

.top-notice-card__links li {
	position: relative;
	padding-left: 1em;
	line-height: 1.45;
}

.top-notice-card__links li + li {
	margin-top: 0.15rem;
}

.top-notice-card__links li::before {
	content: "・";
	position: absolute;
	left: 0;
	color: var(--color-accent);
	font-weight: 700;
}

.top-notice-card__links a {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-weight: 500;
	text-decoration: none;
}

.top-notice-card__links a:hover {
	text-decoration: underline;
}

.top-notice-card__pdfs {
	list-style: none;
	margin: 1.25rem 0 0;
	padding: 0 1.5rem;
	display: grid;
	gap: 0.75rem;
}

.top-notice-card__pdfs--count-1 {
	grid-template-columns: 1fr;
	justify-items: center;
}

.top-notice-card__pdfs--count-2 {
	grid-template-columns: repeat(2, 1fr);
}

.top-notice-card__pdfs li {
	min-width: 0;
}

.top-notice-card__pdfs--count-1 li {
	width: auto;
	max-width: 100%;
}

.top-notice-card__pdfs--count-1 a {
	width: auto;
	white-space: nowrap;
}

.top-notice-card__pdfs a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	padding: 0.75rem 1.5rem;
	font-weight: 500;
	text-align: center;
	text-decoration: none;
	color: #fff;
	background: var(--color-accent);
	border-radius: 8px;
	transition: background 0.2s ease, color 0.2s ease;
}

.top-notice-card__pdfs a:hover {
	color: #fff;
	background: var(--color-accent-dark);
	text-decoration: none;
}

.top-notice-card__pdfs .fa-file-pdf {
	flex-shrink: 0;
	color: #fff;
}

/* --------------------------------------------------------------------------
   Seibei Matsuri gallery
   -------------------------------------------------------------------------- */
.page-content--seibei {
	--seibei-content-edge: calc((100% - min(var(--page-content-width), 100% - 2rem)) / 2);
	position: relative;
	isolation: isolate;
	overflow-x: clip;
	padding: 3rem 0 4rem;
}

.page-content--seibei:has(.about-intro) {
	padding-top: 0;
}

.page-content--seibei .site-container {
	position: relative;
	z-index: 1;
}

.seibei-page-below-wave {
	position: relative;
	isolation: isolate;
	z-index: 0;
}

.seibei-page-below-wave > :not(.seibei-page-accents) {
	position: relative;
	z-index: 1;
}

.seibei-page-accents {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.seibei-page-accent {
	position: absolute;
	display: block;
	width: auto;
	max-width: none;
	height: auto;
	opacity: 1;
	mix-blend-mode: normal;
	filter: drop-shadow(0 10px 28px rgba(58, 51, 48, 0.07));
}

.seibei-page-accent--01 {
	top: calc(18rem + clamp(0.5rem, 2vw, 2rem));
	left: calc(100% - var(--seibei-content-edge) - clamp(1.5rem, 3vw, 3rem));
	width: clamp(300px, 35vw, 500px);
	transform: translateX(8%);
}

.seibei-page-accent--02 {
	top: calc(90rem + clamp(16rem, 34vw, 26rem));
	left: calc(var(--seibei-content-edge) - clamp(9rem, 15vw, 13rem));
	width: clamp(195px, 24vw, 315px);
	transform: translateX(-38%);
}

.seibei-page-accent--03 {
	display: none;
}

.seibei-page-below-wave--gallery {
	position: relative;
	isolation: isolate;
	z-index: 0;
	margin-top: 0;
}

.seibei-page-below-wave--gallery > :not(.seibei-page-accents) {
	position: relative;
	z-index: 1;
}

.seibei-page-accents--gallery .seibei-page-accent--03 {
	display: block;
	top: clamp(-2rem, -4vw, -0.5rem);
	left: calc(100% - var(--seibei-content-edge) - clamp(0.5rem, 2vw, 1.5rem));
	width: clamp(180px, 21vw, 280px);
	transform: translateX(10%);
}

@media (max-width: 991px) {
	.seibei-page-accent {
		opacity: 0.72;
	}

	.seibei-page-accent--01 {
		width: clamp(240px, 36vw, 350px);
	}

	.seibei-page-accent--02 {
		width: clamp(155px, 26vw, 220px);
	}

	.seibei-page-accent--03 {
		width: clamp(150px, 26vw, 220px);
	}
}

@media (max-width: 767px) {
	.seibei-page-accent {
		opacity: 0.45;
		filter: none;
	}

	.seibei-page-accent--01 {
		top: calc(18rem + clamp(0.25rem, 2vw, 1rem));
		left: calc(100% - var(--seibei-content-edge) + 0.5rem);
		width: clamp(175px, 46vw, 265px);
		transform: translateX(12%);
	}

	.seibei-page-accent--02 {
		top: calc(90rem + clamp(14rem, 42vw, 20rem));
		left: calc(var(--seibei-content-edge) - 5.5rem);
		width: clamp(120px, 34vw, 165px);
		transform: translateX(-32%);
	}

	.seibei-page-accents--gallery .seibei-page-accent--03 {
		display: none;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.seibei-page-accent {
		transition: opacity 0.3s ease;
	}
}

.seibei-gallery-section {
	margin-top: 3rem;
	padding-top: 2.5rem;
	border-top: 1px solid var(--color-border);
}

.seibei-gallery-archive {
	margin-bottom: 2rem;
}

.seibei-page-h2,
body.page .entry-content h2.seibei-page-h2 {
	margin: 0 0 1rem;
	color: var(--color-leaf-dark);
	display: flex;
	align-items: center;
	gap: 0.65rem;
	line-height: 1;
}

.seibei-page-h2::after,
body.page .entry-content h2.seibei-page-h2::after {
	content: "";
	flex: 0 0 1.85em;
	order: -1;
	width: 1.85em;
	height: 1.85em;
	margin-top: 0;
	background-color: var(--color-accent);
	background-image: none;
	-webkit-mask: var(--mask-seibee-h2) no-repeat center / contain;
	mask: var(--mask-seibee-h2) no-repeat center / contain;
	pointer-events: none;
}

.seibei-gallery-archive__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.seibei-gallery-archive__link {
	display: inline-block;
	padding: 0.4rem 0.9rem;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	color: var(--color-text);
	background: var(--color-bg);
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.seibei-gallery-archive__link:hover,
.seibei-gallery-archive__link.is-active {
	color: #fff;
	background: var(--color-accent);
	border-color: var(--color-accent);
	text-decoration: none;
}

.seibei-gallery__title {
	margin: 0 0 1rem;
	font-size: 1.375rem;
	font-weight: 700;
	color: var(--color-leaf-dark);
}

.seibei-gallery__year {
	display: inline-block;
	margin-right: 0.5rem;
	padding: 0.15rem 0.55rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--color-accent-dark);
	background: var(--color-bg-alt);
	border-radius: 4px;
}

.seibei-gallery__description {
	margin-bottom: 1.5rem;
	color: var(--color-text);
	font-family: var(--font-tegomin);
	font-weight: 400;
	font-style: normal;
}

.seibei-gallery__pdfs .top-notice-card__pdfs {
	padding: 0;
	margin: 0 0 1.5rem;
}

.seibei-gallery__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

@media (max-width: 767.98px) {
	.seibei-gallery__grid {
		gap: 0.5rem;
	}
}

@media (min-width: 768px) {
	.seibei-gallery__grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

.seibei-gallery__wrap {
	position: relative;
}

.seibei-gallery__item {
	margin: 0;
}

.seibei-gallery__item.is-collapsed {
	display: none;
}

.seibei-gallery__more {
	position: relative;
	margin-top: 1rem;
}

.seibei-gallery__more-peek {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	pointer-events: none;
}

@media (max-width: 767.98px) {
	.seibei-gallery__more-peek {
		gap: 0.5rem;
	}

	.seibei-gallery__more {
		margin-top: 0.5rem;
	}
}

@media (min-width: 768px) {
	.seibei-gallery__more-peek {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

.seibei-gallery__more-peek-item {
	overflow: visible;
	aspect-ratio: 2 / 1;
}

.seibei-gallery__thumb--peek {
	cursor: default;
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
}

.seibei-gallery__thumb--peek:hover {
	box-shadow: none;
	transform: none;
}

.seibei-gallery__more-peek-item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}

.seibei-gallery__more-overlay {
	position: absolute;
	inset: 0;
	height: 100%;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 0 1rem 0.5rem;
	background: linear-gradient(
		to bottom,
		rgba(255, 252, 251, 0) 0%,
		rgba(255, 252, 251, 0.35) 22%,
		rgba(255, 252, 251, 0.78) 52%,
		var(--color-bg) 78%,
		var(--color-bg) 100%
	);
	pointer-events: none;
}

.seibei-gallery__more-button {
	pointer-events: auto;
	margin: 0;
	padding: 0.55rem 1.35rem;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	background: var(--color-bg);
	color: var(--color-text);
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.seibei-gallery__more-button:hover,
.seibei-gallery__more-button:focus {
	color: #fff;
	background: var(--color-accent);
	border-color: var(--color-accent);
	outline: none;
	box-shadow: 0 6px 18px rgba(184, 107, 119, 0.2);
}

.seibei-gallery__thumb {
	display: block;
	overflow: hidden;
	padding: 0;
	border: 2px solid var(--color-accent);
	border-radius: 12px;
	background: #fff;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
	cursor: zoom-in;
	aspect-ratio: 1 / 1;
}

.seibei-gallery__thumb:hover {
	box-shadow: 0 8px 24px rgba(184, 107, 119, 0.15);
	transform: translateY(-2px);
}

.seibei-gallery__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
}

/* 画像ライトボックス（hobbyhouse 同様） */
body.post-lightbox-open {
	overflow: hidden;
}

.post-lightbox {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 200000;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	box-sizing: border-box;
	background: rgba(0, 0, 0, 0.82);
}

.post-lightbox.is-open {
	display: flex;
}

.post-lightbox__inner {
	position: relative;
	width: 100%;
	max-width: min(98vw, 1520px);
	max-height: 94vh;
	max-height: 94dvh;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: clamp(0.1rem, 0.75vw, 0.45rem);
}

.post-lightbox__stage-wrap {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	max-width: min(1400px, 100%);
	overflow: visible;
}

.post-lightbox__stage {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: visible;
}

.post-lightbox__img-frame {
	position: relative;
	display: inline-block;
	max-width: 100%;
	line-height: 0;
	overflow: visible;
}

.post-lightbox__img {
	display: block;
	max-width: 100%;
	max-height: 90vh;
	max-height: 90dvh;
	width: auto;
	height: auto;
	object-fit: contain;
}

.post-lightbox.is-svg .post-lightbox__img-frame {
	width: 100%;
	max-width: min(1400px, 100%);
}

.post-lightbox.is-svg .post-lightbox__img {
	width: 100%;
	height: min(86vh, 86dvh);
	max-height: min(86vh, 86dvh);
	background: #fffcfb;
	border-radius: 4px;
	padding: 0.75rem;
	box-sizing: border-box;
}

.post-lightbox__close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	z-index: 4;
	width: 2.25rem;
	height: 2.25rem;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	color: #fff;
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s ease;
}

.post-lightbox__close:hover,
.post-lightbox__close:focus {
	background: rgba(255, 255, 255, 0.32);
	color: #fff;
	outline: none;
}

.post-lightbox__close .fa-solid {
	display: block;
}

.post-lightbox__nav {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.1rem;
	border: none;
	background: transparent;
	color: rgba(255, 255, 255, 0.92);
	cursor: pointer;
}

.post-lightbox__nav:hover {
	color: #fff;
}

.post-lightbox__nav-icon {
	display: block;
	width: clamp(1.25rem, 3vw, 2rem);
	height: clamp(4.5rem, 18vh, 7rem);
}

.post-lightbox__nav[hidden] {
	display: none;
}

/* --------------------------------------------------------------------------
   Feature sections
   -------------------------------------------------------------------------- */
.feature-section {
	padding: 3rem 0 2rem;
	overflow-x: clip;
}

@media (max-width: 767.98px) {
	.feature-section {
		padding: 3rem 0 0 1rem;
	}
}

.feature-link-divider {
	margin: 0;
	border: 0;
	height: 1px;
	background: var(--color-border);
	opacity: 1;
}

.feature-link-divider + .feature-link-divider {
	display: none;
}
.feature-section--sazanka {
	padding-bottom: 0;
}

.feature-section--sazanka .sazanka-spotlight {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.sazanka-spotlight {
	--sazanka-tint: 232, 180, 188;
	--sazanka-bg: rgba(var(--sazanka-tint), 0.35);
	--sazanka-overlay-x: linear-gradient(
		to right,
		rgba(var(--sazanka-tint), 0) 0%,
		rgba(var(--sazanka-tint), 0.08) 32%,
		rgba(var(--sazanka-tint), 0.22) 48%,
		rgba(var(--sazanka-tint), 0.38) 58%,
		rgba(var(--sazanka-tint), 0.48) 68%,
		rgba(var(--sazanka-tint), 0.45) 78%,
		rgba(var(--sazanka-tint), 0.4) 100%
	);
	--sazanka-wave-h: 1.75rem;
	--sazanka-wave-overlap: 1px;
	--sazanka-wave-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0 20C60 0 60 0 120 20s60 20 120 0 60-20 120 0 60 20 120 0 60-20 120 0 60 20 120 0 60-20 120 0 60 20 120 0 60-20 120 0 60 20 120 0 60-20 120 0 60 20 120 0v20H0z'/%3E%3C/svg%3E");
	position: relative;
	min-height: clamp(22rem, 48vw, 28rem);
	padding: calc(var(--sazanka-wave-h) + 2.75rem) 0 3.5rem;
	background-color: var(--sazanka-bg);
	border-radius: 0;
	overflow: hidden;
	-webkit-mask-image: var(--sazanka-wave-top), linear-gradient(#000 0 0);
	mask-image: var(--sazanka-wave-top), linear-gradient(#000 0 0);
	-webkit-mask-size: 100% calc(var(--sazanka-wave-h) + var(--sazanka-wave-overlap)), 100% calc(100% - var(--sazanka-wave-h) + var(--sazanka-wave-overlap));
	mask-size: 100% calc(var(--sazanka-wave-h) + var(--sazanka-wave-overlap)), 100% calc(100% - var(--sazanka-wave-h) + var(--sazanka-wave-overlap));
	-webkit-mask-position: top, bottom;
	mask-position: top, bottom;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
}

@media (max-width: 991px) {
	.sazanka-spotlight {
		--sazanka-wave-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 720 40' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0 20C60 0 60 0 120 20s60 20 120 0 60-20 120 0 60 20 120 0 60-20 120 0 60 20 120 0v20H0z'/%3E%3C/svg%3E");
	}
}

@media (max-width: 575px) {
	.sazanka-spotlight {
		--sazanka-wave-h: 1.35rem;
		--sazanka-wave-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 40' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0 20C60 0 60 0 120 20s60 20 120 0 60-20 120 0 60 20 120 0 60-20 120 0v20H0z'/%3E%3C/svg%3E");
	}
}

.sazanka-spotlight::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 72%;
	height: 100%;
	background-image: var(--sazanka-front-photo);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: left center;
	-webkit-mask-image: linear-gradient(to right, #000 0%, #000 42%, transparent 88%);
	mask-image: linear-gradient(to right, #000 0%, #000 42%, transparent 88%);
	z-index: 0;
}

.sazanka-spotlight::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--sazanka-overlay-x);
	z-index: 1;
}

.sazanka-spotlight__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: row;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	width: 100%;
	max-width: var(--site-content-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
	box-sizing: border-box;
}

.sazanka-spotlight__body {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
	align-items: flex-end;
	width: 100%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.sazanka-spotlight__title {
	flex-shrink: 0;
	margin: 0;
	max-width: 100%;
}

.sazanka-spotlight__title-img {
	display: block;
	width: auto;
	height: clamp(18rem, 36vw, 23.5rem);
	max-width: 100%;
	object-fit: contain;
	object-position: right bottom;
}

@media (max-width: 683.98px) {
	.sazanka-spotlight {
		--sazanka-wave-gap: clamp(1.25rem, 4vw, 1.75rem);
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto auto;
		min-height: auto;
		padding: calc(var(--sazanka-wave-h) + var(--sazanka-wave-gap)) 0 0;
		background-color: var(--sazanka-bg);
	}

	.sazanka-spotlight::before {
		position: absolute;
		inset: 0;
		width: auto;
		height: auto;
		display: block;
		background:
			linear-gradient(
				to bottom,
				rgba(var(--sazanka-tint), 0) 0%,
				rgba(var(--sazanka-tint), 0) 38%,
				rgba(var(--sazanka-tint), 0.03) 52%,
				rgba(var(--sazanka-tint), 0.08) 64%,
				rgba(var(--sazanka-tint), 0.05) 76%,
				rgba(var(--sazanka-tint), 0) 100%
			),
			var(--sazanka-overlay-x);
		z-index: 1;
		pointer-events: none;
	}

	.sazanka-spotlight::after {
		grid-row: 2;
		grid-column: 1;
		position: relative;
		top: auto;
		left: auto;
		z-index: 0;
		width: 100%;
		height: clamp(14rem, 52vw, 22rem);
		margin-top: clamp(-3rem, -10vw, -2rem);
		flex-shrink: 0;
		-webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 28%);
		mask-image: linear-gradient(to bottom, transparent 0%, #000 28%);
		background-size: cover;
		background-position: center;
	}

	.sazanka-spotlight__content {
		display: contents;
	}

	.sazanka-spotlight__body {
		grid-row: 1;
		grid-column: 1;
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
		width: 100%;
		max-width: none;
		margin: 0;
		padding: clamp(1.25rem, 4vw, 2rem) 1rem clamp(0.75rem, 2.5vw, 1.25rem);
		background-color: transparent;
		box-sizing: border-box;
		position: relative;
		z-index: 2;
	}

	.sazanka-spotlight__title {
		width: auto;
		max-width: 100%;
		margin: 0;
	}

	.sazanka-spotlight__title-img {
		display: block;
		width: auto;
		height: clamp(16rem, 50vw, 22rem);
		max-width: 100%;
		margin: 0;
		object-fit: contain;
		object-position: center;
	}

	.sazanka-spotlight .sazanka-banner {
		grid-row: 2;
		grid-column: 1;
		align-self: end;
		justify-self: start;
		z-index: 3;
		width: fit-content;
		max-width: calc(100% - 1.25rem);
		margin: 0 0 10px 10px;
		padding: 0.45rem 0.6rem;
	}

	.sazanka-spotlight .sazanka-banner__labels {
		gap: 0.1rem;
	}

	.sazanka-spotlight .sazanka-banner__title {
		margin: 0 0 0.1rem;
		font-size: clamp(0.6875rem, 2.9vw, 0.8125rem);
		letter-spacing: 0.04em;
	}

	.sazanka-spotlight .sazanka-banner__label {
		font-size: clamp(0.5625rem, 2.4vw, 0.6875rem);
		line-height: 1.35;
	}
}

.btn-more {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.7rem 2.5rem;
	font-weight: 600;
	color: var(--color-accent-dark);
	text-decoration: none;
	background: #fff;
	border: 1px solid transparent;
	border-radius: 4px;
	transition:
		background 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

.btn-more::after {
	content: "\f105";
	font-family: "Font Awesome 7 Free";
	font-weight: 900;
	font-style: normal;
	font-size: 0.85em;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	transition: transform 0.2s ease;
}

.btn-more:hover,
.btn-more:focus-visible {
	color: #fff;
	text-decoration: none;
	background: var(--color-accent);
	border-color: var(--color-accent);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.btn-more:hover::after,
.btn-more:focus-visible::after {
	transform: translateX(0.2rem);
}

.sazanka-banner {
	position: relative;
	z-index: 2;
	order: -1;
	display: block;
	width: fit-content;
	max-width: calc(100% - 2rem);
	margin: 0;
	padding: 0.75rem 1rem;
	background: rgba(255, 255, 255, 0.75);
	border-radius: 4px;
	box-sizing: border-box;
	align-self: flex-end;
}

.sazanka-banner__labels {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.2rem;
	text-align: left;
}

.sazanka-banner__label {
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--color-text);
	line-height: 1.45;
	white-space: nowrap;
}

.sazanka-banner__title {
	margin: 0 0 0.15rem;
	font-size: clamp(1rem, 2vw, 1.2rem);
	font-weight: 700;
	color: var(--color-accent-dark);
	line-height: 1.3;
	text-align: left;
	letter-spacing: 0.06em;
	white-space: nowrap;
}

@media (max-width: 767.98px) {
	.sazanka-banner {
		width: fit-content;
		max-width: calc(100% - 2rem);
		padding: 0.75rem 1rem;
	}

	.sazanka-banner__title {
		font-size: 1.0625rem;
	}
}

.section-title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.35rem, 3vw, 1.75rem);
	font-weight: 700;
	color: var(--color-leaf-dark);
}

.section-lead {
	margin: 0 auto;
	max-width: 40rem;
	color: var(--color-muted);
}

.sitemap-page__intro {
	margin-bottom: 2rem;
	text-align: left;
}

.sitemap-page__intro .section-lead {
	margin: 0;
	max-width: none;
}

.sitemap-page__grid {
	margin-bottom: 1rem;
}

.sitemap-group {
	height: 100%;
	padding: 1.35rem 1.25rem 1.25rem;
	background: color-mix(in srgb, var(--color-bg-alt) 55%, #fff);
	border: 1px solid color-mix(in srgb, var(--color-border) 85%, var(--color-accent-light));
	border-radius: 12px;
	box-shadow: 0 6px 20px rgba(58, 51, 48, 0.05);
}

.sitemap-group__title {
	margin: 0 0 0.85rem;
	padding-bottom: 0.55rem;
	border-bottom: 2px solid color-mix(in srgb, var(--color-accent) 35%, var(--color-border));
	font-size: clamp(1rem, 2.2vw, 1.125rem);
	font-weight: 700;
	line-height: 1.4;
	color: var(--color-leaf-dark);
}

.sitemap-group__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sitemap-group__list li + li {
	margin-top: 0.45rem;
}

.sitemap-group__list a {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	color: var(--color-text);
	font-size: 0.9375rem;
	line-height: 1.5;
	text-decoration: none;
	transition: color 0.2s ease, padding-left 0.2s ease;
}

.sitemap-group__list a::before {
	content: "";
	flex: 0 0 0.45rem;
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 50%;
	background: var(--color-accent);
	opacity: 0.75;
}

.sitemap-group__list a:hover,
.sitemap-group__list a:focus-visible {
	color: var(--color-accent-dark);
	padding-left: 0.2rem;
	text-decoration: none;
}

.sitemap-group__list a[aria-current="page"] {
	color: var(--color-muted);
	pointer-events: none;
}

@media (min-width: 768px) {
	.sitemap-group {
		padding: 1.5rem 1.35rem 1.35rem;
	}
}

.feature-link-tile {
	--feature-link-media-width: clamp(12rem, 42%, 28rem);
	--feature-link-media-min-height: max(20rem, calc(var(--feature-link-media-width) * 0.65));
	--feature-link-gap: clamp(1rem, 4vw, 2.5rem);
	--feature-link-media-span: calc((50vw - 50%) + var(--feature-link-media-width));
	--feature-link-fade-overlap: calc((100% - var(--feature-link-media-span) - var(--feature-link-gap)) / 2);
	--feature-link-fade-tint: 232, 180, 188;
	--feature-link-fade-text: linear-gradient(
		to right,
		color-mix(in srgb, color-mix(in srgb, var(--color-accent-light) 52%, var(--color-bg-alt)) 75%, transparent) 0%,
		rgba(var(--feature-link-fade-tint), 0.34) 52%,
		rgba(var(--feature-link-fade-tint), 0.14) 80%,
		rgba(var(--feature-link-fade-tint), 0) 100%
	);
	--feature-link-fade-text-reverse: linear-gradient(
		to left,
		color-mix(in srgb, color-mix(in srgb, var(--color-accent-light) 52%, var(--color-bg-alt)) 75%, transparent) 0%,
		rgba(var(--feature-link-fade-tint), 0.34) 52%,
		rgba(var(--feature-link-fade-tint), 0.14) 80%,
		rgba(var(--feature-link-fade-tint), 0) 100%
	);
	display: flex;
	align-items: stretch;
	gap: var(--feature-link-gap);
	width: 100%;
	max-width: 100%;
	min-height: 0;
	margin: 0;
	padding: 1.5rem 0;
	background: transparent;
	border-radius: 0;
	overflow: visible;
	position: relative;
}

.feature-link-tile::before {
	content: none;
}

.feature-link-tile__media {
	position: relative;
	flex: 0 0 var(--feature-link-media-width);
	width: var(--feature-link-media-width);
	min-height: var(--feature-link-media-min-height);
	flex-shrink: 0;
	overflow: hidden;
}

.feature-link-tile__body {
	flex: 1 1 auto;
	align-self: stretch;
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	width: 100%;
	min-width: 0;
	min-height: var(--feature-link-media-min-height);
	max-width: none;
	padding: 0;
}

.feature-link-tile__body-inner {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: flex-start;
	gap: 0.625rem;
	width: 100%;
	min-height: 100%;
	box-sizing: border-box;
	padding: 0;
}

.feature-link-tile__pad {
	display: block;
	flex: 1 0 1.5rem;
	width: 100%;
	height: 1.5rem;
	min-height: 1.5rem;
	margin: 0;
	padding: 0;
	border: 0;
	pointer-events: none;
}

.feature-link-tile__content {
	position: relative;
	z-index: 1;
	max-width: 92%;
}

.feature-link-tile__title {
	position: relative;
	z-index: 1;
	margin: 0 0 0.5rem;
	font-size: clamp(1.125rem, 2.5vw, 1.375rem);
	font-weight: 700;
	color: #fff;
	text-align: center;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.feature-link-tile__desc {
	margin: 0;
	font-family: var(--font-tegomin);
	font-weight: 400;
	font-style: normal;
	font-size: clamp(0.8125rem, 2vw, 0.9375rem);
	line-height: 1.7;
	color: var(--color-text);
	text-align: left;
}

.feature-link-tile__action {
	display: flex;
	justify-content: center;
	margin-top: 0.25rem;
}

.feature-link-tile__link {
	flex-shrink: 0;
}

.feature-link-tile__picture {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.feature-link-tile__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	pointer-events: none;
}

.feature-link-tile__title-img {
	position: static;
	display: block;
	width: auto;
	height: auto;
	max-width: min(100%, 13rem);
	max-height: 2.4rem;
	transform: none;
	filter: brightness(0);
	pointer-events: none;
}

.feature-link-tile--about .feature-link-tile__title-img,
.feature-link-tile--grounds .feature-link-tile__title-img {
	max-width: min(100%, 15rem);
	max-height: 2.65rem;
}

@media (max-width: 767.98px) {
	.feature-link-tile {
		--feature-link-media-min-height: max(15rem, calc(var(--feature-link-media-width) * 0.65));
		padding: 1.5rem 0;
		gap: 1rem;
	}

	.feature-link-tile__body-inner {
		gap: 0.5rem;
	}

	.feature-link-tile__action {
		margin-top: 0;
	}

	.feature-link-tile__title-img {
		max-width: min(100%, 10rem);
		max-height: 1.85rem;
	}

	.feature-link-tile--about .feature-link-tile__title-img,
	.feature-link-tile--grounds .feature-link-tile__title-img {
		max-width: min(100%, 11rem);
		max-height: 2.05rem;
	}
}

.feature-link-tile--about,
.feature-link-tile--grounds,
.feature-link-tile--eitai-kudai,
.feature-link-tile--seibei-matsuri {
	background: transparent;
	isolation: auto;
}

.feature-link-tile--grounds,
.feature-link-tile--seibei-matsuri {
	flex-direction: row-reverse;
}

.feature-link-tile--about::before,
.feature-link-tile--grounds::before,
.feature-link-tile--eitai-kudai::before,
.feature-link-tile--seibei-matsuri::before,
.feature-link-tile--about:hover::before,
.feature-link-tile--grounds:hover::before,
.feature-link-tile--eitai-kudai:hover::before,
.feature-link-tile--seibei-matsuri:hover::before {
	content: none;
	background: none;
}

.feature-link-tile--about .feature-link-tile__media,
.feature-link-tile--eitai-kudai .feature-link-tile__media {
	margin-left: calc(50% - 50vw);
	width: var(--feature-link-media-span);
	flex: 0 0 var(--feature-link-media-span);
}

.feature-link-tile--grounds .feature-link-tile__media,
.feature-link-tile--seibei-matsuri .feature-link-tile__media {
	margin-right: calc(50% - 50vw);
	width: var(--feature-link-media-span);
	flex: 0 0 var(--feature-link-media-span);
}

.feature-link-tile--about::after,
.feature-link-tile--eitai-kudai::after,
.feature-link-tile--grounds::after,
.feature-link-tile--seibei-matsuri::after {
	content: none;
	background: none;
}

.feature-link-tile--about .feature-link-tile__media::after,
.feature-link-tile--eitai-kudai .feature-link-tile__media::after,
.feature-link-tile--grounds .feature-link-tile__media::after,
.feature-link-tile--seibei-matsuri .feature-link-tile__media::after {
	content: none;
	background: none;
}

.feature-link-tile--about .feature-link-tile__body::before,
.feature-link-tile--eitai-kudai .feature-link-tile__body::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: calc(-1 * var(--feature-link-gap));
	right: 0;
	z-index: -1;
	pointer-events: none;
	background: var(--feature-link-fade-text);
}

.feature-link-tile--grounds .feature-link-tile__body::before,
.feature-link-tile--seibei-matsuri .feature-link-tile__body::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: calc(-1 * var(--feature-link-gap));
	z-index: -1;
	pointer-events: none;
	background: var(--feature-link-fade-text-reverse);
}

.btn-accent {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.7rem 2.5rem;
	background: var(--color-accent);
	color: #fff;
	border: 1px solid var(--color-accent);
	border-radius: 4px;
	font-weight: 600;
	transition:
		background 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

.btn-accent:hover,
.btn-accent:focus-visible {
	background: var(--color-accent-dark);
	color: #fff;
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.btn-accent:hover::after,
.btn-accent:focus-visible::after {
	transform: translateX(0.2rem);
}

.feature-link-tile__link.btn-more.btn-accent {
	border-radius: 9999px;
}

@media (max-width: 767.98px) {
	.feature-link-tile__link.btn-more.btn-accent {
		padding: 0.7rem 1.25rem;
	}
}

/* --------------------------------------------------------------------------
   Google Map + brand (70% / 30%)
   -------------------------------------------------------------------------- */
.map-area {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

.map-area__row {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	width: 100%;
	min-width: 0;
}

.map-area__embed {
	flex: 7 1 0;
	width: auto;
	max-width: none;
	min-width: 0;
	line-height: 0;
}

.map-area__embed iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 400px;
}

.map-area__brand {
	flex: 3 1 0;
	width: auto;
	max-width: none;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 1rem;
	padding: 1.75rem 1.25rem;
	box-sizing: border-box;
	background: var(--color-leaf-dark);
	color: #f0e8e6;
	overflow: hidden;
	text-align: center;
}

.map-area__brand .footer-logo {
	display: flex;
	justify-content: center;
	width: 100%;
}

.map-area__brand .footer-logo-text {
	color: #fffcfb;
}

.map-area__brand .footer-address {
	margin-top: 0;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.85rem;
	color: #f0e8e6;
}

.map-area__brand .footer-address__place,
.map-area__brand .footer-address__contacts {
	width: fit-content;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.map-area__brand .footer-address__place {
	text-align: left;
}

.map-area__brand .footer-address__contacts {
	text-align: left;
}

.map-area__more {
	margin-top: 0.25rem;
	width: 100%;
	display: flex;
	justify-content: center;
	text-align: center;
}

.map-area__brand .btn-more {
	max-width: 100%;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
	box-sizing: border-box;
	justify-content: center;
}

.map-area__brand .custom-logo,
.map-area__brand .footer-logo__img,
.footer-logo__img {
	display: block;
	width: 100%;
	max-width: 240px;
	height: auto;
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 767.98px) {
	.map-area__row {
		flex-direction: column;
	}

	.map-area__embed,
	.map-area__brand {
		flex: 0 0 auto;
		width: 100%;
		max-width: 100%;
	}

	.map-area__embed iframe {
		min-height: 280px;
		height: 280px;
	}
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
	padding-top: 0;
	background-color: var(--color-bg);
	background-image: var(--bg-main-pattern);
	background-repeat: repeat;
	background-size: var(--bg-main-pattern-size);
	background-position: center top;
}

.footer-address {
	font-style: normal;
	margin-top: 1rem;
	font-size: 1.0625rem;
	line-height: 1.45;
}

.footer-address__item {
	display: block;
	margin: 0;
}

.footer-address__item--place {
	margin-bottom: 0;
	text-align: left;
}

.footer-address__contacts .footer-address__item {
	margin-top: 0.1rem;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
}

.footer-address__contacts .footer-address__item + .footer-address__item {
	margin-top: 0.15rem;
}

.footer-address__item span {
	display: block;
	min-width: 0;
}

.footer-menu-logo {
	display: flex;
	justify-content: center;
	margin-bottom: 1rem;
}

.footer-menu-logo__img {
	display: block;
	width: auto;
	max-width: 280px;
	height: auto;
}

.footer-social {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1rem;
	margin: 0.75rem 0 0.75rem;
}

.footer-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 2.4rem;
	height: 2.4rem;
	color: var(--color-text);
	line-height: 0;
	text-decoration: none;
	perspective: 480px;
}

.footer-social__icon {
	display: block;
	width: 2.4rem;
	height: 2.4rem;
	overflow: visible;
	vertical-align: middle;
	transform-origin: center center;
}

@keyframes footer-social-flip {
	to {
		transform: rotateY(1turn);
	}
}

:is(.hero-slider__social-link, .footer-social__link):hover,
:is(.hero-slider__social-link, .footer-social__link):focus-visible {
	color: var(--color-text);
	text-decoration: none;
}

:is(.hero-slider__social-link:hover, .footer-social__link:hover) :is(.hero-slider__social-icon, .footer-social__icon),
:is(.hero-slider__social-link:focus-visible, .footer-social__link:focus-visible) :is(.hero-slider__social-icon, .footer-social__icon) {
	animation: footer-social-flip 0.7s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
	:is(.hero-slider__social-link:hover, .footer-social__link:hover) :is(.hero-slider__social-icon, .footer-social__icon),
	:is(.hero-slider__social-link:focus-visible, .footer-social__link:focus-visible) :is(.hero-slider__social-icon, .footer-social__icon) {
		animation: none;
	}
}

.footer-contact-cta {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	margin: 0 0 1.25rem;
	text-align: center;
}

.footer-contact-cta .section-lead {
	margin: 0;
}

.footer-sns-info {
	font-style: normal;
	text-align: center;
	margin: 0 0 1.25rem;
	color: var(--color-text);
	font-size: 0.9375rem;
	line-height: 1.7;
}

.footer-sns-info__line {
	margin: 0;
}

.footer-banners {
	margin: 2rem 0 1.75rem;
}

.footer-banners__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 1rem 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-banners__item {
	flex: 0 0 calc((100% - 1.25rem) / 2);
	max-width: calc((100% - 1.25rem) / 2);
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-banners__item::marker,
.footer-banners__item::before {
	content: none;
	display: none;
}

.footer-banners__link {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100%;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.footer-banners__link:hover {
	opacity: 0.82;
}

.footer-banners__link--static {
	cursor: default;
}

.footer-banners__img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 7.5rem;
	object-fit: contain;
	object-position: center;
}

@media (min-width: 768px) {
	.footer-banners__item {
		flex: 0 0 calc((100% - 3.75rem) / 4);
		max-width: calc((100% - 3.75rem) / 4);
	}
}

.footer-nav {
	margin-top: 0.5rem;
}

.footer-menu {
	gap: 1em;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-menu li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-menu li::marker,
.footer-menu li::before {
	content: none;
	display: none;
}

.footer-menu a {
	color: var(--color-text);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.footer-menu a:hover {
	color: var(--color-text);
	text-decoration: underline;
}

.footer-legal {
	margin-top: 2em;
	text-align: right;
}

.footer-legal__list {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 1em;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-legal__list li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-legal__list a {
	color: var(--color-text);
}

.footer-legal__list a::before {
	content: "\f105";
	font-family: "Font Awesome 7 Free";
	font-weight: 900;
	font-style: normal;
	margin-right: 0.35em;
	-webkit-font-smoothing: antialiased;
}

.footer-legal__list a:hover {
	color: var(--color-text);
}

@media (min-width: 768px) {
	.footer-nav {
		margin-top: 0;
		display: flex;
		justify-content: center;
	}
}

.site-footer__meta {
	margin-top: 0;
	padding: 0 0 0 1.2rem;
	background: color-mix(in srgb, var(--color-bg-alt) 60%, transparent);
}

.site-footer__inner {
	margin-top: 0;
	padding-top: 0;
	border-top: none;
}

.site-copyright {
	margin-top: 0;
	min-height: 3rem;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 0.85rem;
}

.site-copyright p {
	margin: 0;
}

/* --------------------------------------------------------------------------
   Inner pages
   -------------------------------------------------------------------------- */
.page-hero {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	min-height: clamp(14rem, 28vw, 20rem);
	padding: 0;
	background-color: var(--color-leaf-dark);
	background-image: var(--sazanka-front-photo);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	overflow: visible;
}

.page-hero::after {
	content: "";
	position: absolute;
	bottom: 0;
	right: max(
		0.5rem,
		calc(
			(100% - min(var(--page-content-width), 100% - 2rem)) / 2 + 1rem - 3rem
		)
	);
	z-index: 2;
	width: clamp(9rem, 22vw, 14rem);
	aspect-ratio: 245.5 / 184.05;
	background: url('../images/flower.svg') no-repeat right bottom / contain;
	transform: translateY(42%);
	pointer-events: none;
	filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.18));
}

@media (max-width: 767.98px) {
	.page-hero::after {
		right: 0.15rem;
		width: 7.5rem;
	}
}

@media (max-width: 920px) {
	.page-hero {
		background-position: center 32%;
	}
}

.page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to right,
		rgba(15, 14, 12, 0.62) 0%,
		rgba(15, 14, 12, 0.32) 42%,
		rgba(15, 14, 12, 0.08) 100%
	);
	pointer-events: none;
}

.page-hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	width: 100%;
	padding-top: var(--header-height);
}

.page-hero__title {
	margin: 0;
	color: #fff;
	font-size: clamp(1.5rem, 3.2vw, 2.1rem);
	font-weight: 500;
	letter-spacing: 0.08em;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.pill-card {
	position: relative;
	width: 100%;
	padding: 1rem;
	background-color: #fff;
	border: 2px solid var(--color-accent);
	border-radius: 12px;
}

@media (max-width: 767.98px) {
	.pill-card {
		padding: 0.65rem;
		padding-top: 1.15rem;
	}

	.about-intro .pill-card {
		padding: 0.65rem;
		padding-top: 0.85rem;
	}
}

@media (min-width: 768px) {
	.pill-card {
		padding: 1.5rem;
	}
}

.pill-card__label {
	position: absolute;
	top: 0;
	left: 1.25rem;
	transform: translateY(-50%);
	margin: 0;
	padding: 0.45rem 1.25rem;
	background-color: var(--color-accent);
	color: #fff;
	font-size: clamp(0.9rem, 1.8vw, 1rem);
	font-weight: 600;
	line-height: 1.4;
	border-radius: 999px;
}

@media (max-width: 767.98px) {
	.pill-card__label {
		left: 0.45rem;
		padding: 0.45rem 0.85rem;
		font-size: 0.8125rem;
	}
}

.pill-card > :not(.pill-card__label) {
	margin: 0;
}

.pill-card p {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	min-width: 0;
}

.pill-card .theme-image {
	overflow: hidden;
	width: 100%;
	max-width: 100%;
	margin-bottom: 0;
	border-radius: 8px;
}

.pill-card .theme-image picture {
	display: block;
	width: 100%;
}

.pill-card .theme-image__img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

.designation-plates {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.pill-card--with-designation .designation-plates {
	position: absolute;
	right: 15px;
	bottom: 15px;
	z-index: 2;
	align-items: stretch;
	width: max-content;
	max-width: calc(100% - 30px);
}

@media (max-width: 767.98px) {
	.sazanka-page .pill-card--with-designation .designation-plates {
		right: 8px;
		bottom: 6px;
	}
}

.pill-card--with-designation .designation-plate {
	width: 100%;
	box-sizing: border-box;
}

.designation-plate {
	position: relative;
	margin: 0;
	padding: 0.55rem 1.25rem;
	min-width: auto;
	max-width: 100%;
	text-align: center;
	white-space: nowrap;
	font-size: clamp(0.72rem, 1.8vw, 0.95rem);
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: 0.1em;
	color: #4a3f2f;
	background: linear-gradient(
		180deg,
		#f7efdf 0%,
		#ead9b8 42%,
		#dcc9a3 100%
	);
	border: 1px solid #c9ad78;
	border-radius: 3px;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.65),
		inset 0 -1px 0 rgba(74, 63, 47, 0.12),
		0 2px 8px rgba(58, 51, 48, 0.1);
}

.designation-plate::before,
.designation-plate::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 0.35rem;
	height: 0.35rem;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, #f0e2c8, #a88852 70%);
	box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.45);
	transform: translateY(-50%);
}

.designation-plate::before {
	left: 0.65rem;
}

.designation-plate::after {
	right: 0.65rem;
}

.about-page .pill-card,
.sazanka-page .pill-card,
.seibeematsuri-page .pill-card,
.eitaikuyou-page .about-intro .pill-card {
	margin: 0;
}

.seibei-supplement {
	position: relative;
	margin: 0 0 2.75rem;
	padding: 1.5rem 1.35rem 1.35rem;
	background: color-mix(in srgb, var(--color-bg-alt) 60%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-accent) 28%, var(--color-border));
	border-left: 4px solid var(--color-accent);
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(58, 51, 48, 0.06);
	font-size: 0.9375rem;
	line-height: 1.55;
}

.seibei-supplement .text-indent {
	font-family: inherit;
	font-weight: inherit;
	font-size: 0.875rem;
}

.seibei-supplement__title {
	margin: 0 0 0.75rem;
	font-size: clamp(0.98rem, 2vw, 1.08rem);
	font-weight: 700;
	line-height: 1.35;
	color: var(--color-leaf-dark);
}

.seibei-supplement__body {
	font-size: 0.9375rem;
	line-height: 1.55;
}

.seibei-supplement__body > .text-indent + .text-indent {
	margin-top: 0.55rem;
}

.seibei-supplement__photos {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.4rem;
	margin: 1.25rem 0 0;
}

.seibei-supplement__photos .theme-image {
	margin: 0;
	padding: 0.4rem 0.4rem 0.5rem;
	background: #fff;
	border: none;
	border-radius: 8px;
	box-shadow: 0 3px 14px rgba(58, 51, 48, 0.07);
	overflow: hidden;
}

.seibei-supplement__photos .theme-image__img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 5px;
}

@media (max-width: 767.98px) {
	.seibei-supplement__photos {
		gap: 0.2rem;
	}
}

.seibei-supplement__credit {
	margin: 1rem 0 0;
	padding-top: 0.85rem;
	border-top: 1px solid var(--color-border);
	font-size: 0.75rem;
	line-height: 1.45;
	color: var(--color-muted);
	text-align: right;
}

.seibei-supplement__refs {
	margin-top: 0.85rem;
	padding-top: 0.75rem;
	border-top: 1px dashed color-mix(in srgb, var(--color-border) 80%, var(--color-accent-light));
}

.seibei-supplement__refs-title {
	margin: 0 0 0.35rem;
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.4;
	color: var(--color-leaf);
}

.seibei-supplement__refs-list {
	margin: 0;
	padding-left: 1.2rem;
	font-size: 0.75rem;
	line-height: 1.25;
	color: var(--color-muted);
}

.seibei-supplement__refs-list li + li {
	margin-top: 0.1rem;
}

@media (min-width: 768px) {
	.seibei-supplement {
		padding: 1.75rem 1.75rem 1.5rem;
	}
}

@media (min-width: 992px) {
	.seibei-supplement__photos {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 0.55rem;
		margin-top: 1.5rem;
	}

	.seibei-supplement__photos .theme-image {
		padding: 0.6rem 0.6rem 0.75rem;
		border-radius: 12px;
	}

	.seibei-supplement__photos .theme-image__img {
		border-radius: 8px;
	}
}

.about-intro {
	position: relative;
	isolation: isolate;
	container-type: inline-size;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	margin-bottom: 2.5rem;
	padding-top: 3rem;
	--intro-heading-top: -3rem;
	--intro-heading-left: 1rem;
	--intro-heading-flow: 3.5rem;
	--intro-heading-bg-width: 20rem;
	--intro-heading-bg-left: -6.2rem;
	--intro-heading-bg-top: 50%;
	--intro-heading-bg-min-height: 13rem;
}

.about-intro::before,
.top-notice-section::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background-color: var(--color-bg-alt);
	-webkit-mask-image: linear-gradient(#000 0 0), var(--intro-wave-bottom);
	mask-image: linear-gradient(#000 0 0), var(--intro-wave-bottom);
	-webkit-mask-size: 100% calc(100% - var(--intro-wave-h) + var(--intro-wave-overlap)), 100% calc(var(--intro-wave-h) + var(--intro-wave-overlap));
	mask-size: 100% calc(100% - var(--intro-wave-h) + var(--intro-wave-overlap)), 100% calc(var(--intro-wave-h) + var(--intro-wave-overlap));
	-webkit-mask-position: top, bottom;
	mask-position: top, bottom;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	pointer-events: none;
}

.about-intro::after,
.top-notice-section::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	background-image:
		radial-gradient(circle, var(--intro-wave-dot-color) 0.9px, transparent 0.9px),
		linear-gradient(
			to top,
			transparent 0%,
			color-mix(in srgb, var(--color-bg-alt) 55%, var(--color-bg)) 55%,
			var(--color-bg-alt) 100%
		);
	background-size:
		var(--intro-wave-dot-size) var(--intro-wave-dot-size),
		100% var(--intro-wave-dot-fade-h);
	background-position: left bottom, left bottom;
	background-repeat: repeat, no-repeat;
	-webkit-mask-image: linear-gradient(#000 0 0), var(--intro-wave-bottom);
	mask-image: linear-gradient(#000 0 0), var(--intro-wave-bottom);
	-webkit-mask-size: 100% calc(100% - var(--intro-wave-h) + var(--intro-wave-overlap)), 100% calc(var(--intro-wave-h) + var(--intro-wave-overlap));
	mask-size: 100% calc(100% - var(--intro-wave-h) + var(--intro-wave-overlap)), 100% calc(var(--intro-wave-h) + var(--intro-wave-overlap));
	-webkit-mask-position: top, bottom;
	mask-position: top, bottom;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	pointer-events: none;
}

@media (max-width: 991px) {
	.about-intro,
	.top-notice-section {
		--intro-wave-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 720 40' preserveAspectRatio='none'%3E%3Cg transform='scale(1 -1) translate(0 -40)'%3E%3Cpath fill='%23000' d='M0 20C60 0 60 0 120 20s60 20 120 0 60-20 120 0 60 20 120 0 60-20 120 0 60 20 120 0v20H0z'/%3E%3C/g%3E%3C/svg%3E");
	}
}

@media (max-width: 575px) {
	.about-intro,
	.top-notice-section {
		--intro-wave-h: 1.35rem;
		--intro-wave-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 40' preserveAspectRatio='none'%3E%3Cg transform='scale(1 -1) translate(0 -40)'%3E%3Cpath fill='%23000' d='M0 20C60 0 60 0 120 20s60 20 120 0 60-20 120 0 60 20 120 0 60-20 120 0v20H0z'/%3E%3C/g%3E%3C/svg%3E");
	}
}

@media (min-width: 769px) and (max-width: 991.98px) {
	.about-intro {
		--intro-heading-top: -3.8rem;
		--intro-heading-flow: 1.75rem;
		--intro-heading-bg-width: 18rem;
		--intro-heading-bg-left: -5.15rem;
		--intro-heading-bg-min-height: 11.5rem;
	}

	body.page .entry-content .about-intro__band-inner > h2.mb-4 {
		font-size: 1.5rem;
	}
}

@media (max-width: 768px) {
	.about-intro {
		--intro-heading-top: 4.8rem;
		--intro-heading-left: 50%;
		--intro-heading-flow: 10.3rem;
		--intro-heading-bg-width: 16rem;
		--intro-heading-bg-left: 50%;
		--intro-heading-bg-min-height: 11.5rem;
	}

	.about-intro__band {
		margin-top: -5.5rem;
		padding: 5.5rem 0 calc(2.5rem + var(--intro-wave-h));
	}

	body.page .entry-content .about-intro__band-inner > h2.mb-4 {
		font-size: 1.35rem;
	}
}

.about-intro__hero {
	position: relative;
	z-index: 3;
	width: 100%;
	max-width: var(--page-content-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
}

.about-intro__hero .row {
	margin-bottom: 0;
}

.about-intro__band {
	position: relative;
	z-index: 4;
	width: 100%;
	margin-top: calc(-1 * clamp(3.5rem, 22cqw, 13rem));
	padding: clamp(3.5rem, 22cqw, 13rem) 0 calc(2.5rem + var(--intro-wave-h));
}

.page-content:has(.about-intro) {
	padding-top: 0;
	overflow-x: clip;
}

.about-intro__band-inner {
	position: relative;
	width: 100%;
	max-width: var(--page-content-width);
	margin: 0 auto;
	padding-left: 1rem;
	padding-right: 1rem;
	padding-top: var(--intro-heading-flow);
}

.about-intro__band-inner > .history-text {
	position: relative;
	z-index: 1;
	padding-top: 0;
}

.about-intro__band-inner > h2.mb-4 {
	position: absolute;
	top: var(--intro-heading-top);
	left: var(--intro-heading-left);
	z-index: 2;
	display: block;
	isolation: isolate;
	width: fit-content;
	max-width: 100%;
	margin-top: 0;
	padding-top: 0;
	line-height: 1.25;
	color: #fff;
}

.about-intro__band-inner > h2.mb-4::before {
	content: "";
	position: absolute;
	left: var(--intro-heading-bg-left);
	top: var(--intro-heading-bg-top);
	z-index: -1;
	width: var(--intro-heading-bg-width);
	height: calc(100% * 2.15);
	min-height: var(--intro-heading-bg-min-height);
	transform: translateY(-50%);
	background-image: url('../images/h2_bg_01.svg');
	background-repeat: no-repeat;
	background-position: left center;
	background-size: 100% 100%;
	pointer-events: none;
}

@media (max-width: 768px) {
	.about-intro__band-inner > h2.mb-4 {
		transform: translateX(-50%);
		text-align: center;
	}

	.about-intro__band-inner > h2.mb-4::before {
		transform: translate(-50%, -50%);
		background-position: center center;
	}
}

.text-indent {
	text-indent: 1em;
	font-family: var(--font-tegomin);
	font-weight: 400;
	font-style: normal;
}

/* 固定ページ：intro 以外のテキスト h2 先頭に flower 飾り */
body.page .entry-content h2:not(.kuyou-concern-box__title):not(.seibei-gallery__title):not(.seibei-page-h2):not(:has(img, picture, .theme-image)) {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
}

body.page .entry-content h2:not(.kuyou-concern-box__title):not(.seibei-gallery__title):not(.seibei-page-h2):not(:has(img, picture, .theme-image))::after {
	content: "";
	flex: 0 0 clamp(2.25rem, 5.5vw, 3rem);
	order: -1;
	width: clamp(2.25rem, 5.5vw, 3rem);
	aspect-ratio: 140.26 / 111.35;
	margin-top: 0.12em;
	background: url('../images/flower_h2.svg') no-repeat center / contain;
	pointer-events: none;
}

body.page .page-content--seibei .entry-content h2:not(.kuyou-concern-box__title):not(.seibei-gallery__title):not(.seibei-page-h2):not(:has(img, picture, .theme-image))::after {
	background-color: var(--color-accent);
	background-image: none;
	-webkit-mask: var(--mask-seibee-h2) no-repeat center / contain;
	mask: var(--mask-seibee-h2) no-repeat center / contain;
	aspect-ratio: 430.22 / 431.03;
}

body.page .entry-content h2.text-center {
	justify-content: center;
}

body.page .entry-content .about-intro h2,
body.page .entry-content .about-intro__band-inner > h2.mb-4 {
	display: block;
	gap: unset;
	align-items: unset;
	justify-content: unset;
}

body.page .entry-content .about-intro h2::after,
body.page .entry-content .about-intro__band-inner > h2.mb-4::after {
	content: none;
	display: none;
	flex: unset;
	width: 0;
	height: 0;
	margin: 0;
	background: none;
}

/* 固定ページ：h3 先頭にさざんか色グラデーション縦マーク */
body.page .entry-content h3:not(.pill-card__label):not(.accordion-header) {
	position: relative;
	padding-left: calc(var(--h3-mark-width) + 0.6rem);
	--h3-mark-width: 0.7em;
}

body.page .entry-content h3:not(.pill-card__label):not(.accordion-header)::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: var(--h3-mark-width);
	height: auto;
	background: linear-gradient(
		135deg,
		#f5e0e4 0%,
		var(--color-accent-light) 42%,
		var(--color-accent) 72%,
		var(--color-accent-dark) 100%
	);
	pointer-events: none;
}

.eitaikuyou-page .pill-card {
	margin: 2.25rem 0 2.5rem;
}

.page-content {
	position: relative;
	z-index: 1;
	padding: 3rem 0 4rem;
}

body.page:not(.home) .page-hero .site-container,
body.page:not(.home) .page-content .site-container {
	max-width: var(--page-content-width);
}

.content-article .entry-content > *:first-child {
	margin-top: 0;
}

.page-content .text-center {
	text-align: center;
}

.entry-content :where(.wp-block-image, .wp-block-gallery, .wp-block-embed) {
	margin-bottom: 1.5rem;
}

.theme-image {
	margin: 0 0 1.5rem;
}

.theme-image__img {
	display: block;
	max-width: 100%;
	height: auto;
}

.theme-image--size-limit {
	display: block;
	width: 100%;
	max-width: min(var(--theme-image-max-width, 100%), 100%);
}

.theme-image--size-limit .theme-image__img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
}

.theme-image--center {
	display: flex;
	justify-content: center;
}

.theme-image--left {
	float: left;
	margin-right: 1.25rem;
	margin-bottom: 1rem;
}

.theme-image--right {
	float: right;
	margin-left: 1.25rem;
	margin-bottom: 1rem;
}

.theme-image--lightbox {
	cursor: zoom-in;
}

/* --------------------------------------------------------------------------
   Eitaikuyou page
   -------------------------------------------------------------------------- */
.page-content:has(.eitaikuyou-page) {
	background-image: url('../images/kuyou_bg.jpg');
	background-repeat: repeat;
	background-size: 1320px auto;
	background-position: center center;
}

.eitaikuyou-page {
	position: relative;
	overflow: visible;
	padding-bottom: 4rem;
}

.eitaikuyou-page > :not(.eitaikuyou-page__tennyo) {
	position: relative;
	z-index: 1;
}

.eitaikuyou-page__tennyo {
	position: absolute;
	z-index: 0;
	left: calc(50% - 1rem);
	bottom: -5rem;
	width: calc(50% + 12rem);
	height: min(26rem, 50vw);
	background: url('../images/tennyo.png') no-repeat left top / contain;
	pointer-events: none;
}

@media (min-width: 768px) and (max-width: 991.98px) {
	.eitaikuyou-page {
		padding-bottom: 6rem;
	}

	.eitaikuyou-page__tennyo {
		left: calc(50% - 5rem);
		bottom: -8rem;
	}
}

@media (max-width: 767.98px) {
	.page-content:has(.eitaikuyou-page) {
		padding-bottom: 7.5rem;
	}

	body.page:has(.eitaikuyou-page) .map-area {
		position: relative;
		z-index: 2;
		margin-top: 0;
	}

	.eitaikuyou-page {
		padding-bottom: 3.75rem;
	}

	.eitaikuyou-page__tennyo {
		left: auto;
		right: -3rem;
		bottom: -12.5rem;
		width: min(22rem, 108vw);
		height: min(18.5rem, 72vw);
		background-position: right top;
	}
}

.eitaikuyou-page .kuyou-altar-block__gallery .theme-image {
	box-shadow: 3px 3px 0 0 rgba(184, 107, 119, 0.28);
}

.kuyou-concern-box {
	position: relative;
	margin: 2.75rem 0 3rem;
	padding: 2.5rem 2rem 2rem;
	background-color: #fff;
	border: 4px solid #dcdcdc;
}

.kuyou-concern-box__title {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
	margin: 0;
	padding: 0.5rem 1.75rem;
	background-color: #dcdcdc;
	color: #2a2a2a;
	font-size: clamp(0.95rem, 2vw, 1.1rem);
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	white-space: nowrap;
}

.kuyou-concern-box__body {
	padding-top: 0.25rem;
}

.kuyou-concern-box .kuyou-list li {
	color: var(--color-text);
}

.kuyou-concern-box--accent {
	background-color: #fff;
	border-color: var(--color-accent);
}

.kuyou-concern-box--accent .kuyou-concern-box__title {
	background-color: var(--color-accent);
	color: #fff;
}

.kuyou-concern-box .text-media-row {
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
}

.kuyou-concern-box .text-media-row__text {
	flex: 0 1 auto;
}

.kuyou-concern-box .text-media-row__media {
	flex: 0 0 auto;
}

@media (min-width: 768px) and (max-width: 991.98px) {
	.kuyou-concern-box .text-media-row__media .theme-image__img {
		max-height: 230px !important;
	}
}

@media (max-width: 767.98px) {
	.kuyou-concern-box .text-media-row {
		flex-direction: column;
		align-items: center;
	}

	.kuyou-concern-box .text-media-row__media {
		width: 100%;
		display: flex;
		justify-content: center;
	}
}

.kuyou-altar-block {
	margin: 0 0 3rem;
	padding-bottom: 3rem;
	border-bottom: 1px solid var(--color-border);
}

.kuyou-altar-block:last-of-type {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.kuyou-altar-block__head {
	margin-bottom: 1.25rem;
}

.kuyou-altar-block__title {
	margin: 0 0 0.5rem;
	font-size: clamp(1rem, 2vw, 1.15rem);
	font-weight: 600;
	line-height: 1.5;
}

.kuyou-altar-block__price {
	margin: 0 0 0.25rem;
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--color-accent-dark);
}

.kuyou-altar-block__price--placeholder {
	min-height: calc(1.1rem * 1.5);
	visibility: hidden;
}

.kuyou-altar-block__note {
	margin: 0;
	color: var(--color-muted);
	font-size: 0.95rem;
}

.kuyou-altar-block__gallery {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

.kuyou-altar-block__gallery:empty {
	display: none;
}

.kuyou-altar-block__gallery .theme-image {
	margin: 0;
	overflow: hidden;
	border-radius: 8px;
	border: 1px solid var(--color-border);
	background-color: var(--color-bg-alt);
}

.kuyou-altar-block__gallery .theme-image__img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.kuyou-altar-list {
	position: relative;
	margin-bottom: 3rem;
	overflow: visible;
}

.kuyou-altar-list > .col-md-6 {
	position: relative;
	z-index: 1;
}

.kuyou-altar-list .kuyou-altar-block {
	margin-bottom: 0;
	padding: 0;
	border-bottom: none;
	background-color: #fff;
	border: 2px solid var(--color-accent);
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.kuyou-altar-list .kuyou-altar-block__head {
	margin-bottom: 0;
	padding: 1.35rem 1.25rem 1rem;
	background-color: rgba(232, 180, 188, 0.22);
	border-bottom: 2px solid var(--color-accent-light);
}

.kuyou-altar-list .kuyou-altar-block__gallery {
	padding: 1rem 1.25rem 1.25rem;
	flex: 1;
}

.kuyou-altar-list .kuyou-altar-block--single {
	height: auto;
	align-self: flex-start;
}

.kuyou-altar-list .kuyou-altar-block--single .kuyou-altar-block__gallery {
	flex: 0 0 auto;
}

.kuyou-altar-list .kuyou-altar-block--single .kuyou-altar-block__gallery,
.kuyou-altar-list .kuyou-altar-block--goushi .kuyou-altar-block__gallery {
	grid-template-columns: 1fr;
}

@media (min-width: 768px) {
	.kuyou-altar-block__gallery {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 1rem;
	}

	.kuyou-altar-list .kuyou-altar-block__gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.collapse:not(.show) {
	display: none;
}

.collapsing {
	height: 0;
	overflow: hidden;
	transition: height 0.35s ease;
}

.kuyou-concern-box .kuyou-faq {
	margin-bottom: 0;
}

.kuyou-concern-box .kuyou-faq .accordion-item {
	border: 0;
	border-bottom: 2px solid #fff;
}

.kuyou-concern-box .kuyou-faq .accordion-item:last-of-type {
	border-bottom: 0;
}

.kuyou-concern-box .kuyou-faq .accordion-body {
	background-color: #f8f9fa;
}

.kuyou-faq {
	--bs-accordion-border-color: var(--color-border);
	--bs-accordion-btn-focus-box-shadow: none;
	margin-bottom: 3rem;
}

.kuyou-faq .accordion-item {
	border-color: var(--color-border);
}

.kuyou-faq .accordion-header {
	margin: 0;
}

.kuyou-faq .accordion-button {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	min-height: 4rem;
	padding: 0 1.25rem;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
	text-align: left;
	color: var(--color-accent-dark);
	background-color: var(--color-bg-alt);
	border: 0;
	box-shadow: none;
}

.kuyou-faq .accordion-button.collapsed,
.kuyou-faq .accordion-button:not(.collapsed) {
	color: var(--color-accent-dark);
	background-color: var(--color-bg-alt);
}

.kuyou-faq .accordion-button:focus {
	border-color: var(--color-border);
	box-shadow: none;
}

.kuyou-faq .accordion-button::after {
	flex-shrink: 0;
	width: 0.95rem;
	height: 3rem;
	margin-left: auto;
	content: "";
	background: url('../images/faq_icon.svg') no-repeat center / contain;
	transition: transform 0.2s ease-in-out;
}

.kuyou-faq .accordion-button:not(.collapsed)::after {
	transform: rotate(-180deg);
}

.kuyou-faq .accordion-body {
	padding: 1rem 1.25rem 1.25rem;
	color: var(--color-text);
}

.kuyou-faq .accordion-body p:last-child {
	margin-bottom: 0;
}

@media (max-width: 767.98px) {
	.kuyou-faq .accordion-button {
		padding: 0 0.65rem;
	}

	.kuyou-faq .accordion-body {
		display: flex;
		align-items: center;
		padding: 1rem 0.65rem;
		min-height: 2lh;
	}
}

.entry-content ruby rt {
	font-size: 0.55em;
	font-weight: 400;
}

.kuyou-list {
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.kuyou-list li {
	position: relative;
	padding-left: 1.75em;
}

.kuyou-list li + li {
	margin-top: 0.35rem;
}

.kuyou-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.3em;
	width: 1.15em;
	height: 1.15em;
	background: url('../images/kuyou_02.png') no-repeat center / contain;
}

.text-media-row {
	display: flex;
	align-items: center;
	gap: 0;
}

.text-media-row__media {
	flex-shrink: 0;
}

.text-media-row__media .theme-image {
	margin: 0;
}

@media (max-width: 767.98px) {
	.kuyou-concern-box__title {
		width: calc(100% - 3rem);
		max-width: calc(100% - 3rem);
		padding: 0.5rem 1.5rem;
		font-size: clamp(0.875rem, 3.4vw, 1.05rem);
		white-space: normal;
		box-sizing: border-box;
	}
}

@media (max-width: 575px) {
	.kuyou-concern-box {
		padding: 2.25rem 1.25rem 1.5rem;
	}

	.kuyou-concern-box__title {
		width: calc(100% - 2.5rem);
		max-width: calc(100% - 2.5rem);
	}
}

.theme-image--lightbox .theme-image__img {
	cursor: zoom-in;
}

/* --------------------------------------------------------------------------
   Contact form（イカリファーム準拠）
   -------------------------------------------------------------------------- */
.v-center {
	display: flex;
	align-items: center;
}

.w290 {
	min-width: 290px;
}

.form50 {
	width: 49.3%;
}

.form100 {
	width: 100%;
}

.form-section:first-child {
	border-top: 1px solid var(--color-border);
}

.form-section {
	background: var(--color-bg-alt);
	border-bottom: 1px solid var(--color-border);
}

.form-section .error {
	display: block !important;
}

.req {
	font-size: 0.6rem;
	padding: 3px 5px;
	background: #c0392b;
	color: #fff;
	border-radius: 4px;
	margin-left: 6px;
	vertical-align: middle;
}

.form-head {
	padding: 0.8rem;
}

.form-body {
	background: #fff;
	padding: 1.2rem 0.8rem;
}

.form-head p,
.form-body p {
	margin: 0;
}

.form-control {
	display: block;
	max-width: 100%;
	padding: 0.5rem 0.75rem;
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.5;
	color: var(--color-text);
	background-color: #fff;
	border: 2px solid #c0c0c0;
	border-radius: 4px;
	appearance: none;
}

.form-control::placeholder {
	color: #a9a9a9;
}

.form-control:focus {
	outline: none;
	border-color: var(--color-accent);
}

textarea.form-control {
	min-height: 8rem;
	resize: vertical;
}

.wpcf7-spinner {
	display: none;
}

.wpcf7-not-valid-tip {
	display: block;
	padding-left: 0.25em;
	margin-top: 0.4rem;
	font-size: 0.875rem;
	color: #c0392b;
}

.wpcf7-checkbox .wpcf7-list-item {
	margin: 0;
}

.wpcf7-list-item-label {
	margin-left: 0.35rem;
}

.send-bt {
	color: #fff;
	background: var(--color-accent-dark);
	padding: 1rem;
	margin-top: 1rem;
	border: none;
	border-radius: 6px;
	font-size: 1rem;
	cursor: pointer;
}

.send-bt:hover {
	background: var(--color-accent-light);
	color: var(--color-accent-dark);
	transition: 0.8s;
}

@media screen and (max-width: 767.98px) {
	.form50 {
		width: 100%;
	}

	.w290 {
		min-width: 0;
		width: 100%;
	}
}

/* reCAPTCHA v3 バッジ: お問い合わせページのみ表示 */
.grecaptcha-badge {
	visibility: hidden !important;
	pointer-events: none;
}

body.saihouji-inquiry-page .grecaptcha-badge {
	visibility: visible !important;
	pointer-events: auto;
}
