/*
Theme Name: Hazakura Relaxation
Theme URI: https://lesson.t-raku.work/
Author: T-Raku Works
Description: 葉桜リラクゼーションのモバイルファースト専用テーマ。画像・料金・地図・色をWordPress管理画面から変更できます。
Version: 2.0.6
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: kaori-relaxation
*/

:root {
	--kaori-ink: #7f1321;
	--kaori-ink-soft: #a73a49;
	--kaori-paper: #fffdfb;
	--kaori-paper-deep: #faeff0;
	--kaori-gold: #b68a3a;
	--kaori-gold-light: #d9b96f;
	--kaori-text: #3e2a2d;
	--kaori-muted: #6f6b64;
	--kaori-line: rgba(184, 154, 92, 0.42);
	--kaori-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
	--kaori-gutter: clamp(1rem, 4vw, 2rem);
	--kaori-section: clamp(3.5rem, 9vw, 7rem);
	--kaori-content: 1160px;
}

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

html {
	scroll-behavior: smooth;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--kaori-paper);
	color: var(--kaori-text);
	font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
	font-size: 16px;
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header {
	top: 32px;
}

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

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.22em;
}

button,
input,
select,
textarea {
	font: inherit;
}

:focus-visible {
	outline: 2px solid var(--kaori-gold-light);
	outline-offset: 3px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	clip: auto;
	padding: 0.75rem 1rem;
	background: #fff;
	color: #111;
	z-index: 9999;
}

.site-shell {
	min-height: 100vh;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(18, 18, 20, 0.97);
	color: var(--kaori-paper);
	border-bottom: 1px solid var(--kaori-line);
	backdrop-filter: blur(14px);
}

.header-inner {
	width: min(100% - (var(--kaori-gutter) * 2), var(--kaori-content));
	min-height: 72px;
	margin-inline: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.site-brand {
	display: inline-flex;
	align-items: baseline;
	gap: 0.55rem;
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	text-decoration: none;
	letter-spacing: 0.08em;
}

.site-brand strong {
	font-size: 1.8rem;
	font-weight: 500;
	color: var(--kaori-gold-light);
}

.site-brand span {
	font-size: 0.94rem;
	color: var(--kaori-paper);
}

.custom-logo-link,
.default-logo-link {
	display: inline-flex;
	align-items: center;
	max-width: min(240px, 50vw);
}

.custom-logo,
.default-logo {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 54px;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.header-tel,
.menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	width: 48px;
	padding: 0;
	border: 1px solid var(--kaori-line);
	background: transparent;
	color: var(--kaori-gold-light);
	font-size: 0.82rem;
	letter-spacing: 0.08em;
	text-decoration: none;
	cursor: pointer;
}

.header-tel svg {
	width: 23px;
	height: 23px;
	fill: currentColor;
}

.menu-icon {
	display: grid;
	width: 25px;
	gap: 5px;
}

.menu-icon span {
	display: block;
	height: 2px;
	background: currentColor;
	transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-icon span:first-child {
	transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-icon span:last-child {
	transform: translateY(-7px) rotate(-45deg);
}

.primary-navigation {
	position: fixed;
	inset: 72px 0 auto;
	visibility: hidden;
	opacity: 0;
	transform: translateY(-8px);
	background: var(--kaori-ink);
	border-bottom: 1px solid var(--kaori-line);
	transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
}

.primary-navigation.is-open {
	visibility: visible;
	opacity: 1;
	transform: translateY(0);
}

.primary-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0.7rem var(--kaori-gutter) 1rem;
}

.primary-navigation a {
	display: block;
	padding: 0.85rem 0;
	border-bottom: 1px solid rgba(184, 154, 92, 0.18);
	color: var(--kaori-paper);
	text-decoration: none;
}

.hero {
	position: relative;
	background: var(--kaori-ink);
	color: var(--kaori-paper);
}

.hero-media img {
	width: 100%;
	height: clamp(520px, 126vw, 760px);
	object-fit: cover;
	object-position: center;
}

.hero-content {
	position: absolute;
	inset: auto 0 0;
	padding: 8rem var(--kaori-gutter) 2rem;
	background: linear-gradient(to bottom, transparent, rgba(18, 18, 20, 0.96));
}

.hero-copy {
	width: min(100%, 720px);
	margin-inline: auto;
}

.hero h1 {
	margin: 0;
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(1.55rem, 6vw, 3.6rem);
	font-weight: 500;
	line-height: 1.45;
	letter-spacing: 0.05em;
}

.hero-meta {
	margin: 0.8rem 0 0;
	color: #e7dfd1;
	font-size: 0.92rem;
}

.button,
.wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0.75rem 1.35rem;
	border: 1px solid var(--kaori-gold);
	border-radius: 2px;
	background: var(--kaori-gold);
	color: var(--kaori-ink);
	font-weight: 700;
	letter-spacing: 0.05em;
	text-decoration: none;
	transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
	background: var(--kaori-gold-light);
	transform: translateY(-1px);
}

.button-outline {
	background: transparent;
	color: var(--kaori-gold-light);
}

.hero .button {
	width: min(100%, 310px);
	margin-top: 1.25rem;
}

.facts-rail {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	background: var(--kaori-ink);
	color: var(--kaori-gold-light);
	border-block: 1px solid var(--kaori-line);
}

.facts-rail a {
	padding: 1rem 0.35rem;
	text-align: center;
	font-size: 1rem;
	letter-spacing: 0.04em;
	color: inherit;
	text-decoration: none;
}

.facts-rail a + a {
	border-left: 1px solid var(--kaori-line);
}

.facts-rail a:hover,
.facts-rail a:focus-visible {
	background: rgba(182, 138, 58, 0.12);
}

.section {
	padding: var(--kaori-section) var(--kaori-gutter);
}

.section-dark {
	background: var(--kaori-ink);
	color: var(--kaori-paper);
}

.section-soft {
	background: var(--kaori-paper-deep);
}

.section-inner {
	width: min(100%, var(--kaori-content));
	margin-inline: auto;
}

.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.6rem;
	border-bottom: 1px solid var(--kaori-line);
}

.section-heading h2,
.page-title,
.entry-title {
	margin: 0 0 0.55rem;
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(1.65rem, 5vw, 2.8rem);
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: 0.06em;
}

.section-heading a {
	margin-bottom: 0.75rem;
	font-size: 0.84rem;
	color: var(--kaori-gold);
}

.event-banner {
	display: block;
	overflow: hidden;
	border: 1px solid var(--kaori-gold);
	background: var(--kaori-ink-soft);
	box-shadow: var(--kaori-shadow);
}

.event-banner img {
	width: 100%;
	aspect-ratio: 2 / 1;
	object-fit: cover;
}

.staff-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem;
}

.staff-card {
	position: relative;
	background: #fff;
	border: 1px solid rgba(184, 154, 92, 0.35);
	box-shadow: 0 10px 30px rgba(26, 24, 21, 0.07);
}

.section-dark .staff-card {
	background: var(--kaori-ink-soft);
	border-color: var(--kaori-line);
}

.staff-card a {
	display: block;
	text-decoration: none;
}

.staff-photo {
	position: relative;
	background: #d7d2ca;
	overflow: hidden;
}

.staff-photo img,
.staff-photo-placeholder {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.staff-photo-placeholder {
	display: grid;
	place-items: center;
	color: var(--kaori-muted);
	font-size: 0.8rem;
}

.staff-status {
	position: absolute;
	top: 0.6rem;
	left: 0.6rem;
	padding: 0.28rem 0.5rem;
	background: var(--kaori-gold);
	color: var(--kaori-ink);
	font-size: 0.72rem;
	font-weight: 700;
}

.staff-body {
	padding: 0.85rem;
}

.staff-name {
	margin: 0;
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: 1.15rem;
	font-weight: 500;
}

.staff-profile,
.staff-catch,
.staff-shift {
	margin: 0.22rem 0 0;
	font-size: 0.8rem;
	color: var(--kaori-muted);
}

.section-dark .staff-profile,
.section-dark .staff-catch {
	color: #c9c2b7;
}

.staff-shift {
	color: var(--kaori-gold);
	font-weight: 700;
}

.empty-state {
	padding: 2rem;
	border: 1px solid var(--kaori-line);
	text-align: center;
	color: var(--kaori-muted);
}

.section-dark .empty-state {
	color: #c9c2b7;
}

.price-list {
	margin: 0;
	border-top: 1px solid var(--kaori-line);
}

.course-name {
	margin: 0 0 1rem;
	padding: 1rem;
	border: 1px solid var(--kaori-gold);
	background: linear-gradient(135deg, #dfcea3, #c4a663);
	color: var(--kaori-ink);
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(1.15rem, 4vw, 1.45rem);
	font-weight: 500;
	letter-spacing: 0.08em;
	text-align: center;
}

.course-name-spaced {
	margin-top: 1.5rem;
}

.price-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.9rem 0;
	border-bottom: 1px solid var(--kaori-line);
}

.price-row dt,
.price-row dd {
	margin: 0;
}

.price-row dd {
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: 1.15rem;
	font-variant-numeric: tabular-nums;
}

.room-grid {
	display: grid;
	gap: 0.75rem;
	grid-template-columns: 1fr;
}

.room-grid img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	box-shadow: var(--kaori-shadow);
}

.news-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--kaori-line);
}

.news-list li {
	border-bottom: 1px solid var(--kaori-line);
}

.news-list a {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.8rem;
	padding: 1rem 0;
	text-decoration: none;
}

.news-list time {
	color: var(--kaori-muted);
	font-size: 0.82rem;
	font-variant-numeric: tabular-nums;
}

.access-layout {
	display: grid;
	gap: 1.5rem;
}

.shop-details {
	margin: 0;
}

.shop-details div {
	padding: 0.8rem 0;
	border-bottom: 1px solid var(--kaori-line);
}

.shop-details dt {
	font-size: 0.78rem;
	color: var(--kaori-muted);
}

.shop-details dd {
	margin: 0.15rem 0 0;
}

.map-placeholder {
	min-height: 260px;
	display: grid;
	place-items: center;
	background: var(--kaori-ink);
	color: var(--kaori-gold-light);
	border: 1px solid var(--kaori-gold);
}

.map-embed {
	min-height: 260px;
	border: 1px solid var(--kaori-gold);
	background: var(--kaori-ink);
	overflow: hidden;
}

.map-embed iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 320px;
	border: 0;
}

.final-cta {
	background: var(--kaori-ink);
	color: var(--kaori-paper);
	text-align: center;
}

.final-cta p {
	margin: 0 0 1.25rem;
	color: #d7cfc1;
}

.site-footer {
	padding: 2.5rem var(--kaori-gutter) 6rem;
	background: #080809;
	color: #bbb3a7;
	text-align: center;
	font-size: 0.8rem;
}

.site-footer strong {
	display: block;
	margin-bottom: 0.4rem;
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: 1.25rem;
	font-weight: 500;
	color: var(--kaori-gold-light);
}

.bottom-actions {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 120;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	background: #080809;
	border-top: 1px solid var(--kaori-gold);
	box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.22);
}

.bottom-actions a {
	min-height: 58px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--kaori-gold-light);
	font-size: 0.82rem;
	font-weight: 700;
	text-decoration: none;
}

.bottom-actions a + a {
	border-left: 1px solid var(--kaori-line);
}

.bottom-actions a:last-child {
	background: var(--kaori-gold);
	color: var(--kaori-ink);
}

.page-header {
	display: grid;
	place-items: center;
	min-height: clamp(210px, 20vw, 300px);
	padding: 2rem var(--kaori-gutter);
	background-color: var(--kaori-ink);
	background-image: url("assets/images/page-title.webp");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	color: var(--kaori-paper);
}

.page-header .page-header-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.page-header .page-title,
.page-header .entry-title {
	margin-inline: auto;
}

.page-header p {
	margin: 0.5rem auto 0;
}

.page-header-inner,
.content-area {
	width: min(100%, var(--kaori-content));
	margin-inline: auto;
}

.content-area {
	padding: var(--kaori-section) var(--kaori-gutter);
}

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

.entry-content h2,
.entry-content h3 {
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-weight: 500;
}

.staff-detail {
	display: grid;
	gap: 2rem;
}

.staff-detail-gallery {
	display: grid;
	gap: 1rem;
}

.staff-detail-gallery figure {
	margin: 0;
}

.staff-detail-gallery img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	box-shadow: var(--kaori-shadow);
}

.staff-detail-meta {
	display: flex;
	gap: 1rem;
	margin-bottom: 1rem;
	color: var(--kaori-gold);
}

.schedule-filter {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 0;
	margin-bottom: 1.5rem;
	border: 1px solid var(--kaori-line);
	background: var(--kaori-ink);
	box-shadow: var(--kaori-shadow);
}

.schedule-filter a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 62px;
	padding: 0.4rem 0.1rem;
	border-right: 1px solid rgba(112, 88, 38, 0.18);
	background: linear-gradient(to bottom, #fffdf4, #ded09d);
	color: var(--kaori-ink);
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(0.66rem, 2.8vw, 0.82rem);
	line-height: 1.35;
	white-space: nowrap;
	text-decoration: none;
}

.schedule-filter a.is-current {
	background: linear-gradient(to bottom, #e5d4a3, #ae914e);
	color: var(--kaori-ink);
	font-weight: 700;
}

.schedule-filter a:last-child {
	border-right: 0;
}

@media (min-width: 700px) {
	.schedule-filter {
		grid-template-columns: repeat(7, minmax(0, 1fr));
	}

	.schedule-filter a {
		flex-direction: row;
		gap: 0.1em;
		font-size: 1rem;
	}

	.hero-media img {
		height: min(74vw, 820px);
	}

	.hero-copy {
		width: min(100% - (var(--kaori-gutter) * 2), var(--kaori-content));
	}

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

	.room-grid {
		gap: 1.25rem;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.access-layout,
	.staff-detail {
		grid-template-columns: 1fr 1fr;
		align-items: start;
	}
}

@media (min-width: 980px) {
	.facts-rail a {
		font-size: 1.125rem;
	}

	body.admin-bar .site-header {
		top: 32px;
	}

	.header-inner {
		min-height: 84px;
	}

	.menu-toggle {
		display: none;
	}

	.primary-navigation {
		position: static;
		visibility: visible;
		opacity: 1;
		transform: none;
		background: transparent;
		border: 0;
	}

	.primary-navigation ul {
		display: flex;
		align-items: center;
		gap: 1.2rem;
		padding: 0;
	}

	.primary-navigation a {
		padding: 0.35rem 0;
		border: 0;
		font-size: 0.82rem;
	}

	.header-tel {
		display: none;
	}

	.hero-media img {
		height: min(51vw, 820px);
		object-position: center;
	}

	.hero-content {
		background: linear-gradient(to right, rgba(18, 18, 20, 0.02) 34%, rgba(18, 18, 20, 0.92) 70%);
		padding-bottom: 4rem;
	}

	.hero-copy {
		text-align: right;
	}

	.hero h1,
	.hero-meta {
		max-width: 680px;
		margin-left: auto;
	}

	.hero .button {
		width: 280px;
	}

	.staff-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.bottom-actions {
		display: none;
	}

	.site-footer {
		padding-bottom: 2.5rem;
	}
}

@media (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}
}

/* Reservation form (Contact Form 7) */
.reserve-page {
	max-width: 980px;
}

.reserve-guidance {
	margin: 0 0 2rem;
	padding: 1rem 1.25rem;
	border-left: 4px solid var(--kaori-gold);
	background: #fff;
	line-height: 1.8;
}

.kaori-reserve-form {
	margin-top: 1.5rem;
	border-top: 1px solid rgba(34, 34, 37, 0.18);
}

.kaori-reserve-row {
	display: grid;
	grid-template-columns: minmax(210px, 0.7fr) minmax(280px, 1.3fr);
	gap: 2rem;
	align-items: center;
	padding: 1.7rem 0;
	border-bottom: 1px solid rgba(34, 34, 37, 0.18);
}

.kaori-reserve-row.is-message {
	align-items: start;
}

.kaori-reserve-label {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: 1rem;
}

.kaori-field-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 3rem;
	min-height: 2.25rem;
	padding: 0.35rem 0.55rem;
	border-radius: 5px;
	background: #8e7838;
	color: #fff;
	font-size: 0.78rem;
	line-height: 1;
}

.kaori-field-badge.is-optional {
	background: #77736b;
}

.kaori-reserve-control,
.kaori-reserve-control .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

.kaori-reserve-control input:not([type="checkbox"]):not([type="submit"]),
.kaori-reserve-control select,
.kaori-reserve-control textarea {
	display: block;
	width: 100%;
	min-height: 3.25rem;
	padding: 0.75rem 1rem;
	border: 1px solid rgba(34, 34, 37, 0.2);
	border-radius: 7px;
	background: #fff;
	color: var(--kaori-text);
	font: inherit;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.kaori-reserve-control textarea {
	min-height: 12rem;
	resize: vertical;
}

.kaori-reserve-control input:focus,
.kaori-reserve-control select:focus,
.kaori-reserve-control textarea:focus {
	border-color: var(--kaori-gold);
	box-shadow: 0 0 0 3px rgba(184, 154, 92, 0.16);
	outline: 0;
}

.kaori-reserve-form .wpcf7-not-valid {
	border-color: #a83b3b !important;
}

.kaori-reserve-form .wpcf7-not-valid-tip {
	margin-top: 0.45rem;
	font-size: 0.85rem;
}

.kaori-reserve-submit {
	margin: 2rem 0 0;
	text-align: center;
}

.kaori-reserve-submit .wpcf7-submit {
	min-width: min(100%, 320px);
	padding: 1rem 2rem;
	border: 1px solid var(--kaori-gold);
	border-radius: 0;
	background: var(--kaori-gold);
	color: var(--kaori-ink);
	font-weight: 700;
	letter-spacing: 0.12em;
	cursor: pointer;
}

.kaori-reserve-submit .wpcf7-submit:hover {
	background: var(--kaori-gold-light);
}

.kaori-reserve-form .wpcf7-response-output {
	margin: 1.5rem 0 0 !important;
	padding: 1rem 1.25rem !important;
}

.kaori-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.reserve-alt {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--kaori-line);
	text-align: center;
}

@media (max-width: 700px) {
	.kaori-reserve-row {
		grid-template-columns: 1fr;
		gap: 0.85rem;
		padding: 1.35rem 0;
	}

	.kaori-reserve-control textarea {
		min-height: 10rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* Hazakura visual system -------------------------------------------------- */
body {
	background-color: var(--kaori-paper);
	background-image: url("assets/images/paper-floral.webp");
	background-attachment: fixed;
	background-position: center top;
	background-size: 1200px auto;
}

.site-header {
	background: rgba(255, 253, 251, 0.96);
	color: var(--kaori-text);
	border-bottom-color: rgba(182, 138, 58, 0.34);
	box-shadow: 0 6px 24px rgba(109, 27, 43, 0.06);
}

.header-inner {
	min-height: 74px;
}

.custom-logo-link,
.default-logo-link {
	width: 190px;
	max-width: 46vw;
}

.custom-logo,
.default-logo {
	width: 100%;
	max-height: 62px;
	object-fit: contain;
}

.header-tel,
.menu-toggle {
	border-color: rgba(127, 19, 33, 0.28);
	color: var(--kaori-ink);
}

.primary-navigation {
	background: rgba(255, 253, 251, 0.99);
	border-bottom-color: rgba(182, 138, 58, 0.32);
}

.primary-navigation a {
	color: var(--kaori-text);
	border-bottom-color: rgba(182, 138, 58, 0.2);
}

.hero {
	background: #f6e6e7;
	color: var(--kaori-text);
}

.hero-media img {
	height: clamp(540px, 133vw, 760px);
	object-position: 62% center;
}

.hero-content {
	inset: 0;
	display: flex;
	align-items: end;
	padding: 12rem var(--kaori-gutter) 2.3rem;
	background: linear-gradient(to top, rgba(255, 249, 248, 0.96), rgba(255, 249, 248, 0.14) 58%, transparent 78%);
}

.hero-copy {
	color: var(--kaori-text);
}

.hero-kicker,
.section-eyebrow {
	margin: 0 0 0.5rem;
	color: var(--kaori-gold);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.18em;
}

.hero h1 {
	color: var(--kaori-ink);
	font-size: clamp(2rem, 7.4vw, 4.3rem);
	text-shadow: 0 2px 18px rgba(255, 255, 255, 0.92);
}

.hero h1 span {
	display: block;
	font-size: 0.48em;
	letter-spacing: 0.13em;
}

.hero-meta {
	max-width: 38em;
	color: var(--kaori-text);
	font-weight: 600;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.25rem;
}

.hero .button,
.hero-actions .button {
	width: auto;
	min-width: min(100%, 168px);
	margin-top: 0;
}

.button,
.wp-element-button {
	border-color: var(--kaori-gold);
	background: linear-gradient(135deg, #c7a354, #a97927);
	color: #fff;
	box-shadow: 0 8px 18px rgba(146, 99, 29, 0.15);
}

.button-accent {
	border-color: var(--kaori-ink);
	background: linear-gradient(135deg, #a52739, #78101e);
	color: #fff;
}

.button-outline {
	background: transparent;
	color: var(--kaori-ink);
}

.facts-rail {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	background: #fffaf8;
	color: var(--kaori-ink);
	border-color: rgba(182, 138, 58, 0.32);
}

.facts-rail a {
	padding: 0.8rem 0.25rem;
	font-size: clamp(0.72rem, 2.7vw, 1rem);
}

.section-dark {
	background: rgba(253, 241, 242, 0.94);
	color: var(--kaori-text);
}

.section-soft {
	background: rgba(255, 248, 247, 0.92);
}

.section-heading {
	justify-content: center;
	position: relative;
	border-bottom: 0;
	text-align: center;
}

.section-heading::before,
.section-heading::after {
	content: "";
	width: min(11vw, 95px);
	height: 1px;
	background: linear-gradient(to right, transparent, var(--kaori-gold));
}

.section-heading::after {
	transform: scaleX(-1);
}

.section-heading h2,
.page-title,
.entry-title {
	color: var(--kaori-ink);
}

.section-heading a {
	position: absolute;
	right: 0;
	bottom: 0;
	color: var(--kaori-ink);
}

.event-banner {
	position: relative;
	min-height: 210px;
	display: grid;
	place-items: center;
	border-color: rgba(182, 138, 58, 0.58);
	background: #fff;
	box-shadow: 0 12px 34px rgba(127, 19, 33, 0.08);
	text-decoration: none;
}

.event-banner img {
	position: absolute;
	inset: 0;
	height: 100%;
	aspect-ratio: auto;
	opacity: 0.74;
}

.event-copy {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 0.4rem;
	width: min(88%, 720px);
	padding: 1.4rem;
	border: 1px solid rgba(182, 138, 58, 0.55);
	background: rgba(255, 253, 251, 0.82);
	text-align: center;
	backdrop-filter: blur(4px);
}

.event-copy small {
	color: var(--kaori-gold);
	font-family: Georgia, serif;
	letter-spacing: 0.18em;
}

.event-copy strong {
	color: var(--kaori-ink);
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(1.35rem, 4vw, 2.25rem);
	font-weight: 500;
}

.event-copy em {
	font-size: 0.84rem;
	font-style: normal;
}

.staff-card,
.section-dark .staff-card {
	background: rgba(255, 255, 255, 0.96);
	border-color: rgba(182, 138, 58, 0.38);
	box-shadow: 0 10px 30px rgba(112, 35, 47, 0.08);
}

.section-dark .staff-profile,
.section-dark .staff-catch,
.section-dark .empty-state {
	color: var(--kaori-muted);
}

.staff-photo {
	background: #f2dedf;
}

.staff-name,
.staff-shift {
	color: var(--kaori-ink);
}

.staff-status {
	background: rgba(127, 19, 33, 0.92);
	color: #fff;
}

.concept-section {
	background: rgba(255, 253, 251, 0.96);
}

.concept-layout {
	display: grid;
	gap: 1.8rem;
	align-items: center;
}

.concept-layout h2 {
	margin: 0.2rem 0 1rem;
	color: var(--kaori-ink);
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(1.7rem, 5vw, 2.8rem);
	font-weight: 500;
}

.concept-layout img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	box-shadow: 18px 18px 0 rgba(213, 180, 186, 0.28);
}

.course-name {
	border-color: rgba(182, 138, 58, 0.65);
	background: linear-gradient(135deg, #fff9ed, #ead5a4);
	color: var(--kaori-ink);
}

.price-list {
	border-top-color: rgba(182, 138, 58, 0.4);
}

.price-row {
	border-bottom-color: rgba(182, 138, 58, 0.35);
}

.price-row dd {
	color: var(--kaori-ink);
}

.room-grid img {
	border: 5px solid #fff;
	box-shadow: 0 12px 32px rgba(79, 31, 38, 0.14);
}

.map-placeholder,
.map-embed {
	background: #f7e8e8;
	border-color: rgba(182, 138, 58, 0.65);
}

.final-cta {
	display: grid;
	gap: 1px;
	padding: var(--kaori-section) var(--kaori-gutter);
	background: rgba(182, 138, 58, 0.3);
	color: var(--kaori-text);
	text-align: center;
}

.final-cta > div {
	padding: clamp(2rem, 5vw, 4rem);
	background: rgba(255, 248, 247, 0.97);
}

.final-cta-image {
	display: block;
	min-width: 0;
	overflow: hidden;
	background: rgba(255, 248, 247, 0.97);
}

.final-cta-image img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 240px;
	aspect-ratio: 12 / 7;
	object-fit: cover;
	transition: transform 180ms ease;
}

.final-cta-image:hover img,
.final-cta-image:focus-visible img {
	transform: scale(1.015);
}

.final-cta h2 {
	margin: 0.25rem 0 0.65rem;
	color: var(--kaori-ink);
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-weight: 500;
}

.final-cta p {
	color: var(--kaori-text);
}

.final-cta .hero-actions {
	justify-content: center;
}

.site-footer {
	background: #4b0d17;
	color: #f2dfe1;
}

.site-footer a {
	color: inherit;
}

.footer-logo {
	width: min(300px, 78vw);
	max-height: 120px;
	margin: 0 auto 0.7rem;
	object-fit: contain;
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.18));
}

.bottom-actions {
	background: #fffaf8;
	border-top-color: var(--kaori-gold);
}

.bottom-actions a {
	color: var(--kaori-ink);
}

.bottom-actions a:last-child {
	background: var(--kaori-ink);
	color: #fff;
}

.page-header {
	min-height: clamp(180px, 20vw, 280px);
	color: #171314;
}

.page-header .page-title,
.page-header .entry-title {
	color: #72111f;
	text-shadow: 0 1px 2px rgba(255, 255, 255, 0.72);
}

.page-header p {
	color: #171314;
	text-shadow: 0 1px 2px rgba(255, 255, 255, 0.72);
}

@media (min-width: 700px) {
	.hero-media img {
		height: min(65vw, 760px);
	}

	.hero-content {
		align-items: center;
		background: linear-gradient(to right, rgba(255, 250, 248, 0.93), rgba(255, 250, 248, 0.56) 42%, transparent 68%);
	}

	.hero-copy {
		margin-left: max(var(--kaori-gutter), calc((100vw - var(--kaori-content)) / 2));
		margin-right: auto;
	}

	.concept-layout,
	.final-cta {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 980px) {
	.header-inner {
		min-height: 88px;
	}

	.custom-logo-link,
	.default-logo-link {
		width: 220px;
	}

	.primary-navigation a {
		color: var(--kaori-text);
		font-size: 0.8rem;
		white-space: nowrap;
	}

	.primary-navigation a:hover {
		color: var(--kaori-ink);
	}

	.hero-media img {
		height: min(45vw, 720px);
		object-position: center;
	}

	.hero-content {
		padding-bottom: 3rem;
		background: linear-gradient(to right, rgba(255, 250, 248, 0.94), rgba(255, 250, 248, 0.46) 48%, transparent 72%);
	}

	.hero-copy {
		width: min(52%, 650px);
		text-align: left;
	}

	.hero h1,
	.hero-meta {
		margin-left: 0;
	}

	.hero .button {
		width: auto;
	}

	.room-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	#system .price-list {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 1rem;
		border-top: 0;
	}

	#system .price-row {
		display: grid;
		place-items: center;
		gap: 0.15rem;
		padding: 1.35rem 0.8rem;
		border: 1px solid rgba(182, 138, 58, 0.52);
		background: rgba(255, 255, 255, 0.78);
		text-align: center;
	}
}

@media (max-width: 699px) {
	.section-heading {
		justify-content: flex-start;
		padding-right: 4.8rem;
		text-align: left;
	}

	.section-heading::before,
	.section-heading::after {
		display: none;
	}

	.event-copy {
		padding: 1rem 0.7rem;
	}
}

/* Top-page campaign slider. Images contain their own campaign copy. */
.home .event-slider {
	width: 100%;
	margin-inline: auto;
}

.home .event-slider-viewport {
	position: relative;
	overflow: hidden;
	aspect-ratio: 2 / 1;
	border: 1px solid rgba(182, 138, 58, 0.58);
	background: #fff;
	box-shadow: 0 12px 34px rgba(127, 19, 33, 0.08);
}

.home .event-slide {
	position: absolute;
	inset: 0;
	display: block;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 600ms ease, visibility 600ms ease;
}

.home .event-slide.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.home .event-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.home .event-slider-dots {
	display: flex;
	justify-content: center;
	gap: 0.55rem;
	min-height: 1.5rem;
	padding-top: 0.65rem;
}

.home .event-slider-dots button {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #efb6c7;
	box-shadow: none;
	cursor: pointer;
}

.home .event-slider-dots button[aria-current="true"] {
	background: #e56f95;
}

.home .event-slider-dots button:focus-visible {
	outline: 2px solid var(--kaori-ink);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.home .event-slide {
		transition: none;
	}
}

/* Top-page section titles: supplied gold ornaments and centered Mincho text. */
.home .section-heading {
	display: grid;
	grid-template-columns: clamp(68px, 13vw, 150px) minmax(0, max-content) clamp(68px, 13vw, 150px);
	align-items: center;
	justify-content: center;
	column-gap: clamp(0.45rem, 1.8vw, 1rem);
	min-height: 54px;
	padding: 0 0 0.25rem;
	margin-bottom: 2rem;
	text-align: center;
}

.home .section-heading:has(a) {
	margin-bottom: 2.75rem;
}

.home .section-heading::before,
.home .section-heading::after {
	display: block;
	width: 100%;
	height: clamp(28px, 4.5vw, 44px);
	background-color: transparent;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	transform: none;
}

.home .section-heading::before {
	background-image: url("assets/images/contents-title-left.webp");
}

.home .section-heading::after {
	background-image: url("assets/images/contents-title-right.webp");
}

.home .section-heading h2 {
	grid-column: 2;
	margin: 0;
	color: var(--kaori-ink);
	font-size: clamp(1.45rem, 4.6vw, 2.35rem);
	line-height: 1.25;
	white-space: nowrap;
}

.home .section-heading a {
	right: 0;
	bottom: -1.65rem;
	margin: 0;
	font-size: 0.78rem;
}

@media (max-width: 699px) {
	.home .section-heading {
		grid-template-columns: minmax(52px, 1fr) auto minmax(52px, 1fr);
		column-gap: 0.35rem;
		padding-right: 0;
		text-align: center;
	}

	.home .section-heading h2 {
		font-size: clamp(1.32rem, 5.8vw, 1.65rem);
	}

	.home .section-heading a {
		bottom: -1.55rem;
	}
}
