@charset "utf-8";
/*
Theme Name: わんだふるホーム
Template: mhs-asura
Version: 0.1.0
Description: mhs-asura の子テーマ（ポートフォリオの作品「わんだふるホーム」）。ページの中身はテーマサポートのウェブパーツ
*/

/* ---------- 土台（COLOR.md の役割変数・書体・幅） ---------- */

:root {
	--paper: #FAF7F2;
	--panel: #EDF0E6;
	--rule: #E2D9CB;
	--ink-2: #6B5D55;
	--ink: #3B2F2A;
	--accent: #AD5A36;
	--terra: #C8714E;
	--sage: #9AAE8F;
	--night: #2B2C38;
	--oak: #F1E7D8;
	--wrap: 1120px;
	--text: 680px;
	--gutter: 16px;
	--gap: 80px;
	--header: 64px;
	--r-card: 20px;
	--r-photo: 24px;
	--f-head: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", sans-serif;
	--f-body: "Noto Sans JP", "Hiragino Sans", sans-serif;
	--f-num: "Quicksand", "M PLUS Rounded 1c", sans-serif;
	--ease: cubic-bezier(.22, .61, .36, 1);
}

@media (min-width: 600px) {
	:root { --gutter: 32px; --gap: 104px; }
}

@media (min-width: 960px) {
	:root { --gutter: 56px; --gap: 128px; --header: 76px; }
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 16px); }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--f-body);
	font-size: 15px;
	line-height: 1.9;
	overflow-x: clip;
	font-feature-settings: "palt" 0;
}

@media (min-width: 600px) { body { font-size: 16px; } }

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

a { color: inherit; }

h1, h2, h3, h4 {
	margin: 0;
	font-family: var(--f-head);
	font-weight: 700;
	letter-spacing: .04em;
	/* keep-all made a Japanese heading one word, so a phone broke off its last character alone */
	overflow-wrap: anywhere;
	text-wrap: balance;
}
@supports (word-break: auto-phrase) { h1, h2, h3, h4 { word-break: auto-phrase; } }

h1 { font-size: clamp(30px, 4.4vw, 58px); line-height: 1.35; } /* 30px: プライバシーポリシー fits a 360px phone */
h2 { font-size: clamp(26px, 3vw, 40px); line-height: 1.45; }
h3 { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.5; }

p { margin: 0; }

small { font-size: .82em; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip {
	position: absolute;
	left: 16px; top: -60px;
	z-index: 100;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--ink);
	color: var(--paper);
	text-decoration: none;
}

.skip:focus { top: 12px; }

.wrap {
	width: 100%;
	max-width: calc(var(--wrap) + var(--gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.num { font-family: var(--f-num); font-weight: 600; letter-spacing: .02em; }

/* ---------- ボタン ---------- */

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	min-height: 48px;
	padding: 10px 26px;
	border: 2px solid var(--ink);
	border-radius: 999px;
	background: transparent;
	color: var(--ink);
	font-family: var(--f-head);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .06em;
	line-height: 1.4;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}

.button:hover { background: var(--ink); color: var(--paper); }

.button--accent { border-color: var(--accent); background: var(--accent); color: #fff; }
.button--accent:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }

.button::after {
	content: "";
	width: 14px; height: 10px;
	background: currentColor;
	-webkit-mask: url("img/arrow.svg") center / contain no-repeat;
	mask: url("img/arrow.svg") center / contain no-repeat;
	transition: transform .25s var(--ease);
}

.button:hover::after { transform: translateX(3px); }
.button--plain::after { display: none; }

.buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- ヘッダー ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	height: var(--header);
	transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}

.is-scrolled .site-header { background: rgba(250, 247, 242, .94); box-shadow: 0 1px 0 var(--rule); }

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	height: 100%;
	max-width: calc(1280px + var(--gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.site-logo { flex: none; display: block; width: 188px; }
.site-logo img { width: 100%; }

.menu-button {
	position: relative;
	z-index: 2;
	margin-left: auto;
	width: 48px; height: 48px;
	border: 0;
	border-radius: 50%;
	background: var(--oak);
	cursor: pointer;
}

.menu-button__bars, .menu-button__bars::before, .menu-button__bars::after {
	position: absolute;
	left: 14px;
	width: 20px; height: 2px;
	border-radius: 2px;
	background: var(--ink);
	transition: transform .3s var(--ease), opacity .3s;
}

.menu-button__bars { top: 23px; }
.menu-button__bars::before, .menu-button__bars::after { content: ""; left: 0; }
.menu-button__bars::before { top: -6px; }
.menu-button__bars::after { top: 6px; }
.nav-open .menu-button__bars { background: transparent; }
.nav-open .menu-button__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-button__bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
	position: fixed;
	inset: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 96px var(--gutter) 120px;
	background: var(--paper);
	visibility: hidden;
	opacity: 0;
	transition: opacity .3s var(--ease), visibility 0s .3s;
}

.nav-open .site-nav { visibility: visible; opacity: 1; transition-delay: 0s; }
.nav-open body { overflow: hidden; }

.site-nav ul { margin: 0; padding: 0; list-style: none; }

.site-nav a {
	display: block;
	padding: 10px 0;
	font-family: var(--f-head);
	font-size: 22px;
	font-weight: 700;
	text-decoration: none;
}

.site-nav__tel { margin-top: 28px; color: var(--ink-2); }
.site-nav__tel a { display: inline; padding: 0; font-family: var(--f-num); font-size: 24px; color: var(--ink); }
.site-nav__tel small { display: block; }

.site-header__reserve { display: none; }

@media (min-width: 960px) {
	.site-logo { width: 220px; }
	.menu-button { display: none; }
	.site-nav {
		position: static;
		inset: auto;
		flex-direction: row;
		justify-content: center;
		flex: 1;
		padding: 0;
		background: none;
		visibility: visible;
		opacity: 1;
	}
	.site-nav ul { display: flex; gap: clamp(12px, 1.6vw, 26px); }
	.site-nav a { position: relative; padding: 6px 0; font-size: 14px; letter-spacing: .06em; white-space: nowrap; }
	.site-nav a::after {
		content: "";
		position: absolute;
		left: 0; right: 0; bottom: 0;
		height: 2px;
		border-radius: 2px;
		background: var(--terra);
		transform: scaleX(0);
		transform-origin: left;
		transition: transform .3s var(--ease);
	}
	.site-nav a:hover::after, .site-nav a[aria-current]::after { transform: scaleX(1); }
	.site-nav__sub, .site-nav__tel { display: none; }
	.site-header__reserve { display: inline-flex; flex: none; min-height: 44px; padding: 8px 22px; font-size: 14px; }
}

/* スマホの下の帯 */

.reserve-bar {
	position: fixed;
	left: 12px; right: 12px; bottom: 12px;
	z-index: 30;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 10px 16px;
	border-radius: 999px;
	background: var(--accent);
	box-shadow: 0 8px 24px rgba(59, 47, 42, .22);
	color: #fff;
	font-family: var(--f-head);
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
	transform: translateY(140%);
	visibility: hidden;
	transition: transform .4s var(--ease), visibility 0s .4s;
}

.reserve-bar__sub { font-size: 11px; font-weight: 700; opacity: .9; }
.is-scrolled .reserve-bar { transform: none; visibility: visible; transition-delay: 0s; }
.page-reserve .reserve-bar, .page-contact .reserve-bar, .nav-open .reserve-bar { display: none; }

@media (min-width: 960px) { .reserve-bar { display: none; } }

/* ---------- 節・見出し・丘 ---------- */

main { display: block; }

.section { padding: var(--gap) 0; }
.section:not(.band) + .section:not(.band) { padding-top: 0; }

.band { position: relative; background: var(--panel); }
.band--oak { background: var(--oak); }

.hill {
	position: absolute;
	left: 0; right: 0;
	bottom: 100%;
	height: clamp(28px, 4vw, 56px);
	background: var(--panel);
	-webkit-mask: url("img/hill.svg") center / 100% 100% no-repeat;
	mask: url("img/hill.svg") center / 100% 100% no-repeat;
	pointer-events: none;
}

.band--oak > .hill { background: var(--oak); }
.hill--night { background: var(--night); }
.hill--paper { background: var(--paper); }
.hill--flip { transform: scaleX(-1); }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	color: var(--accent);
	font-family: var(--f-num);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.section-head { margin-bottom: clamp(32px, 4vw, 56px); }
.section-head--center { text-align: center; }
.section-head .lead { max-width: var(--text); margin-top: 16px; color: var(--ink-2); }
.section-head--center .lead { margin-inline: auto; }

.lead { font-size: 16px; line-height: 2; }

@media (min-width: 960px) { .lead { font-size: 17px; } }

.line { display: inline-block; flex: none; color: var(--terra); line-height: 0; }
.line svg { width: 100%; height: auto; }
.line--sage { color: var(--sage); }
.line--s { width: 28px; }
.line--m { width: 64px; }
.line--l { width: 120px; }

.text-col { max-width: var(--text); }
.text-col p + p { margin-top: 1em; }

/* 出てくる動き（reduce では site.js がすぐ is-in を付ける） */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 下のページの題の帯 ---------- */

.page-hero { position: relative; padding: clamp(24px, 4vw, 48px) 0 clamp(56px, 7vw, 96px); }

.page-hero__inner { display: grid; gap: 32px; align-items: center; }

.page-hero__text .lead { margin-top: 20px; max-width: 34em; color: var(--ink-2); }

.crumbs { margin: 0 0 20px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--ink-2); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--rule); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.arch { overflow: hidden; border-radius: 999px 999px var(--r-photo) var(--r-photo); }
.arch img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }

.page-hero__photo { position: relative; }
.page-hero__photo .line { position: absolute; left: -12px; bottom: -20px; width: 96px; }

@media (min-width: 960px) {
	.page-hero__inner { grid-template-columns: 1fr 1fr; gap: 64px; }
	.page-hero__photo { max-width: 520px; justify-self: end; width: 100%; }
}

/* ---------- 柴犬の枠 ---------- */

.wh-dog { margin: 0; }
.wh-dog img { width: 100%; }
.wh-dog--plain img { border-radius: var(--r-photo); }

/* ---------- 写真 ---------- */

.photo { margin: 0; overflow: hidden; border-radius: var(--r-photo); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { margin-top: 10px; font-size: 13px; color: var(--ink-2); }

/* ---------- 札・タグ ---------- */

.tag {
	display: inline-block;
	padding: 1px 10px;
	border-radius: 999px;
	background: var(--oak);
	color: var(--ink);
	font-family: var(--f-head);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	line-height: 1.7;
}

.tag--senior { background: #E4EADF; }

/* ---------- 流れ（番号つきの段） ---------- */

.steps { counter-reset: step; display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }

.steps > li {
	position: relative;
	padding: 28px 24px 24px;
	border-radius: var(--r-card);
	background: var(--paper);
}

.steps > li::before {
	counter-increment: step;
	content: counter(step, decimal-leading-zero);
	display: block;
	margin-bottom: 8px;
	color: var(--terra);
	font-family: var(--f-num);
	font-size: 30px;
	font-weight: 700;
	line-height: 1;
}

.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--ink-2); line-height: 1.8; }

@media (min-width: 960px) {
	.steps { grid-template-columns: repeat(var(--cols, 4), 1fr); }
	.steps > li:not(:last-child)::after {
		content: "";
		position: absolute;
		top: 44px; right: -18px;
		width: 16px; height: 10px;
		background: var(--sage);
		-webkit-mask: url("img/arrow.svg") center / contain no-repeat;
		mask: url("img/arrow.svg") center / contain no-repeat;
	}
}

/* ---------- チェックの一覧 ---------- */

.checks { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }

.checks li { position: relative; padding-left: 34px; line-height: 1.7; }

.checks li::before {
	content: "";
	position: absolute;
	left: 0; top: 3px;
	width: 22px; height: 22px;
	border-radius: 50%;
	background: var(--sage) url("img/check.svg") center / 12px no-repeat;
}

/* ---------- よくある質問 ---------- */

.faq { display: grid; gap: 12px; }

.faq details { border-radius: 16px; background: var(--paper); }

.faq summary {
	position: relative;
	display: block;
	padding: 18px 56px 18px 52px;
	font-family: var(--f-head);
	font-weight: 700;
	line-height: 1.6;
	list-style: none;
	cursor: pointer;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::before {
	content: "Q";
	position: absolute;
	left: 20px; top: 16px;
	color: var(--terra);
	font-family: var(--f-num);
	font-size: 20px;
}

.faq summary::after {
	content: "";
	position: absolute;
	right: 22px; top: 50%;
	width: 12px; height: 12px;
	border-right: 2px solid var(--ink);
	border-bottom: 2px solid var(--ink);
	transform: translateY(-70%) rotate(45deg);
	transition: transform .3s var(--ease);
}

.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }

.faq details > div { padding: 0 24px 20px 52px; color: var(--ink-2); line-height: 1.8; }

/* ---------- 2列の組み（文と写真） ---------- */

.split { display: grid; gap: 32px; align-items: center; }

@media (min-width: 960px) {
	.split { grid-template-columns: 1fr 1fr; gap: 72px; }
	.split--wide-photo { grid-template-columns: 5fr 6fr; }
	.split--reverse > :first-child { order: 2; }
}

.split h2 { margin-bottom: 20px; }
.split p + p { margin-top: 1em; }

/* ---------- カード ---------- */

.cards { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }

@media (min-width: 600px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }

.card { padding: 28px 24px; border-radius: var(--r-card); background: var(--paper); }
.card h3 { margin: 10px 0 8px; }
.card p { color: var(--ink-2); line-height: 1.8; }
.card .line { width: 44px; }

/* ---------- 下の帯（次のページへ） ---------- */

.next-band { position: relative; padding: clamp(56px, 7vw, 96px) 0; background: var(--oak); text-align: center; }
.next-band > .hill { background: var(--oak); }
.next-band h2 { margin-bottom: 12px; }
.next-band p { color: var(--ink-2); }
.next-band .buttons { justify-content: center; margin-top: 28px; }

/* ---------- フッター ---------- */

.site-footer {
	position: relative;
	padding: 56px 0 96px;
	background: var(--night);
	color: #E9E2D8;
}

.site-footer a { color: #FAF7F2; }

.site-footer__inner { display: grid; gap: 40px; }

.site-footer__lead { margin-top: 16px; line-height: 1.8; }
.site-footer__tel { margin-top: 20px; }
.site-footer__tel a { font-family: var(--f-num); font-size: 26px; font-weight: 700; text-decoration: none; }
.site-footer__tel small { display: block; color: #BDB3A8; }
.site-footer__hours { margin-top: 8px; color: #BDB3A8; font-size: 13px; line-height: 1.8; }

.site-footer__nav ul { display: grid; grid-template-columns: repeat(2, max-content); gap: 4px 28px; margin: 0; padding: 0; list-style: none; }
.site-footer__nav a { display: inline-block; padding: 4px 0; font-size: 14px; text-decoration: none; }
.site-footer__nav a:hover { text-decoration: underline; }

.license { padding: 20px 22px; border: 1px solid rgba(233, 226, 216, .22); border-radius: 16px; }
.license__title { margin-bottom: 10px; font-size: 14px; letter-spacing: .06em; }
.license__list { margin: 0; font-size: 12.5px; line-height: 1.6; }
.license__list div { display: grid; grid-template-columns: 9.5em 1fr; gap: 8px; padding: 5px 0; border-top: 1px solid rgba(233, 226, 216, .14); }
.license__list dt { color: #BDB3A8; }
.license__list dd { margin: 0; }

.site-footer__copy { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 48px; color: #BDB3A8; }
.site-footer__copy .line { width: 64px; color: var(--terra); }

@media (min-width: 960px) {
	.site-footer { padding-bottom: 40px; }
	.site-footer__inner { grid-template-columns: 1.1fr .9fr 1.2fr; gap: 56px; }
}

/* ---------- はじめての方へ ---------- */

.note { margin-top: 18px; color: var(--ink-2); font-size: 14px; }

.hours {
	display: grid;
	gap: 20px;
	padding: clamp(28px, 4vw, 48px);
	border: 2px dashed var(--rule);
	border-radius: 28px;
}

.hours__times { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0; padding: 0; list-style: none; }
.hours__times li { display: flex; align-items: baseline; gap: 6px; font-size: clamp(34px, 5vw, 56px); line-height: 1.1; }
.hours__dash { font-size: .5em; color: var(--ink-2); }
.hours__closed { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--ink-2); }

@media (min-width: 960px) {
	.hours { grid-template-columns: auto 1fr; align-items: center; column-gap: 64px; }
	.hours__head { grid-row: span 2; }
}

.faq-wrap { max-width: calc(880px + var(--gutter) * 2); }

.next-band__line { display: block; margin: 0 auto 16px; color: var(--terra); }
/* ---------- 金額・小さな札 ---------- */

.yen { white-space: nowrap; }
.yen__n { font-family: var(--f-num); font-weight: 700; font-size: 1.3em; letter-spacing: .01em; }
.yen__u { margin-left: 1px; font-size: .78em; }

.chip {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
	margin-top: 20px;
	padding: 10px 20px;
	border-radius: 999px;
	background: var(--oak);
	font-family: var(--f-head);
	font-weight: 700;
}

.chip small { color: var(--ink-2); }

.page-hero__buttons { margin-top: 28px; }

/* ---------- お部屋 ---------- */

.rooms { display: grid; gap: 24px; margin: 0; padding: 0; list-style: none; }

@media (min-width: 960px) { .rooms { grid-template-columns: 1fr 1fr; gap: 32px; } }

.room { overflow: hidden; border-radius: var(--r-photo); background: var(--paper); }
.room__photo { margin: 0; }
.room__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.room__body { padding: 24px 26px 28px; }
.room__size { display: flex; align-items: baseline; gap: 4px; color: var(--ink-2); font-size: 14px; }
.room__size .num { color: var(--ink); font-size: 26px; }
.room__count { margin-left: auto; padding: 0 12px; border-radius: 999px; background: var(--oak); color: var(--ink); font-family: var(--f-head); font-size: 13px; font-weight: 700; }
.room h3 { margin: 6px 0 8px; }
.room p { color: var(--ink-2); }
.room .room__price { margin-top: 14px; color: var(--ink); font-family: var(--f-head); font-weight: 700; }

/* ---------- お泊まりの1日（scenes.js が --p と data-step を書く） ---------- */

.stay-day { position: relative; padding: var(--gap) 0; }
.stay-day__pin { position: relative; }
.stay-day__head { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto 36px; padding: 0 var(--gutter); }
.stay-day__head .lead { margin-top: 12px; color: var(--ink-2); }

/* スマホでは時計が写真の列の上に止まって回る（文には重ならない） */
.clock {
	position: sticky;
	top: calc(var(--header) + 10px);
	z-index: 3;
	width: 64px;
	margin: 0 0 -64px calc(var(--gutter) + 24px);
	border-radius: 50%;
	background: var(--paper);
	box-shadow: 0 6px 20px rgba(59, 47, 42, .14);
}

.clock svg { width: 100%; }
.clock__face { fill: var(--paper); stroke: var(--rule); stroke-width: 3; }
.clock__ticks path { stroke: var(--ink-2); stroke-width: 3; stroke-linecap: round; }
.clock__hour, .clock__min { stroke-linecap: round; transform-box: view-box; transform-origin: 60px 60px; }
.clock__hour { stroke: var(--ink); stroke-width: 7; transform: rotate(calc(var(--t, 7) * 30deg)); }
.clock__min { stroke: var(--accent); stroke-width: 4; transform: rotate(calc(var(--t, 7) * 360deg)); }
.clock__pin { fill: var(--ink); }

.stay-day__track { display: grid; gap: 24px; margin: 0 auto; padding: 0 var(--gutter); max-width: calc(var(--wrap) + var(--gutter) * 2); list-style: none; }

.stay-day__item { display: grid; grid-template-columns: 112px 1fr; grid-template-rows: auto auto 1fr; gap: 2px 18px; align-items: start; }
.stay-day__photo { grid-row: span 3; margin: 0; overflow: hidden; border-radius: 16px; }
.stay-day__photo img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.stay-day__time { color: var(--terra); font-size: 24px; line-height: 1.3; }
.stay-day__item h3 { font-size: 18px; }
.stay-day__item h3 + p { margin-top: 4px; color: var(--ink-2); font-size: 14px; line-height: 1.8; }

html:not(.has-scenes) .stay-day .clock { display: none; }

@media (min-width: 960px) {
	/* 見出しと時計は同じ升に重ね、時計を右下へ寄せる */
	.stay-day__pin { display: grid; grid-template-columns: 1fr min(var(--wrap), calc(100% - var(--gutter) * 2)) 1fr; }
	.stay-day__head { grid-area: 1 / 2; max-width: none; margin: 0 0 36px; padding: 0; }
	.stay-day .clock { grid-area: 1 / 2; justify-self: end; align-self: end; position: static; width: 112px; margin: 0 0 36px; box-shadow: none; background: none; }
	.stay-day__viewport { grid-column: 1 / -1; }
	.stay-day__item { grid-template-columns: 1fr; grid-template-rows: none; }
	.stay-day__photo { grid-row: auto; margin-bottom: 14px; }
	html:not(.has-scenes) .stay-day__track { grid-template-columns: repeat(4, 1fr); gap: 32px 24px; }

	/* 画面を止めて横に送る（高さは scenes.js が track の幅から決める） */
	.has-scenes .stay-day[data-wh-pin] { padding: 0; }
	.has-scenes .stay-day[data-wh-pin] .stay-day__pin {
		position: sticky;
		top: 0;
		align-content: center;
		height: 100vh;
		padding-top: var(--header);
		overflow: hidden;
	}
	.has-scenes .stay-day[data-wh-pin] :is(.stay-day__head, .clock) { margin-bottom: 24px; }
	.has-scenes .stay-day[data-wh-pin] .clock { width: 96px; }
	.has-scenes .stay-day[data-wh-pin] .stay-day__head .eyebrow { margin-bottom: 4px; }
	.has-scenes .stay-day[data-wh-pin] .stay-day__head .lead { margin-top: 6px; line-height: 1.8; }
	.has-scenes .stay-day[data-wh-pin] .stay-day__track {
		display: flex;
		gap: 28px;
		width: max-content;
		max-width: none;
		margin: 0;
		padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2));
		transform: translateX(calc(var(--p, 0) * var(--shift, 0) * -1px));
		will-change: transform;
	}
	.has-scenes .stay-day[data-wh-pin] .stay-day__item { width: calc(clamp(220px, 36vh, 380px) * 2 / 3); opacity: calc(.45 + var(--on, 0) * .55); transition: opacity .4s var(--ease); }
	.has-scenes .stay-day[data-wh-pin] .stay-day__photo img { height: clamp(220px, 36vh, 380px); }
	.stay-day[data-step="0"] .stay-day__item:nth-child(1), .stay-day[data-step="1"] .stay-day__item:nth-child(2),
	.stay-day[data-step="2"] .stay-day__item:nth-child(3), .stay-day[data-step="3"] .stay-day__item:nth-child(4),
	.stay-day[data-step="4"] .stay-day__item:nth-child(5), .stay-day[data-step="5"] .stay-day__item:nth-child(6),
	.stay-day[data-step="6"] .stay-day__item:nth-child(7) { --on: 1; }
}

/* ---------- 夜の帯 ---------- */

.night { position: relative; padding: var(--gap) 0; background: var(--night); color: #E9E2D8; }
.night h2 { margin-bottom: 20px; color: #FAF7F2; }
.night .eyebrow { color: #E8A27F; }

.night-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }

.night-tags li {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 16px 6px 6px;
	border: 1px solid rgba(250, 247, 242, .18);
	border-radius: 999px;
	background: rgba(250, 247, 242, .06);
	font-family: var(--f-head);
	font-size: 14px;
	font-weight: 700;
}

.night-tags .num { padding: 2px 12px; border-radius: 999px; background: #F2C46D; color: var(--night); }
.stay-day + .section { padding-top: 0; }
.has-scenes .stay-day[data-wh-pin] + .section { padding-top: var(--gap); }

/* ---------- 老犬ホーム ---------- */

@media (min-width: 960px) { .cards--4 { grid-template-columns: repeat(4, 1fr); } }

.steps--panel > li { background: var(--panel); }
.steps--5 { --cols: 5; }

.senior-plans { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }

@media (min-width: 600px) { .senior-plans { grid-template-columns: repeat(3, 1fr); } }

.senior-plans li { padding: 24px 26px; border: 1px solid var(--rule); border-radius: var(--r-card); background: var(--paper); }
.senior-plans__weight { font-family: var(--f-head); font-size: 18px; font-weight: 700; }
.senior-plans__weight small { margin-left: 8px; color: var(--ink-2); font-family: var(--f-body); font-weight: 400; }
.senior-plans__price { margin-top: 6px; font-size: 22px; }
.senior-plans__price small { display: block; color: var(--ink-2); font-size: 12px; }

.included { display: grid; gap: 20px; margin-top: 24px; }

@media (min-width: 960px) { .included { grid-template-columns: 3fr 2fr; } }

.included__col { padding: 28px; border-radius: var(--r-card); background: var(--paper); }
.included__col h3 { margin-bottom: 16px; }

.dashes { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.dashes li { position: relative; padding-left: 30px; line-height: 1.7; }
.dashes li::before { content: ""; position: absolute; left: 4px; top: .85em; width: 14px; height: 2px; border-radius: 2px; background: var(--ink-2); }

.farewell__inner { display: grid; gap: 32px; align-items: end; }
.farewell__photo { margin: 0; overflow: hidden; border-radius: var(--r-photo); }
.farewell__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.farewell__text h2 { margin-bottom: 18px; }
.farewell__hands { width: 62%; margin: 28px 0 0; overflow: hidden; border-radius: var(--r-photo); }

@media (min-width: 960px) { .farewell__inner { grid-template-columns: 7fr 5fr; gap: 56px; } }

/* ---------- 年を重ねる一枚（scenes.js が data-step を書く） ---------- */

.ages { position: relative; padding: var(--gap) 0; }
.ages__inner { display: flex; flex-direction: column; }
.ages__text { display: contents; }
.ages__text .lead { margin-top: 14px; color: var(--ink-2); }
.ages__frame { order: 1; width: min(300px, 70vw); margin: 28px auto 0; }
.ages__list { order: 2; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--rule); list-style: none; }
.ages__list li { display: grid; grid-template-columns: 5em 1fr; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.ages__age { color: var(--terra); font-family: var(--f-head); font-size: 20px; font-weight: 800; }
.ages__caption { color: var(--ink-2); line-height: 1.7; }

/* 動きのないとき：4枚を2列に並べる */
html:not(.has-scenes) .ages__frame { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: min(440px, 100%); }

.has-scenes .ages__frame { display: grid; }
.has-scenes .ages__frame img { grid-area: 1 / 1; opacity: 0; transition: opacity .7s var(--ease); }
.has-scenes .ages:not([data-step]) .ages__frame img:first-child,
.ages[data-step="0"] .ages__frame img:nth-child(1), .ages[data-step="1"] .ages__frame img:nth-child(2),
.ages[data-step="2"] .ages__frame img:nth-child(3), .ages[data-step="3"] .ages__frame img:nth-child(4) { opacity: 1; }
.has-scenes .ages .ages__list li { opacity: .35; transition: opacity .4s var(--ease); }
.has-scenes .ages:not([data-step]) .ages__list li:first-child,
.ages[data-step="0"] .ages__list li:nth-child(1), .ages[data-step="1"] .ages__list li:nth-child(2),
.ages[data-step="2"] .ages__list li:nth-child(3), .ages[data-step="3"] .ages__list li:nth-child(4) { opacity: 1; }

/* 画面を止めて、スクロールで年を進める */
.has-scenes .ages[data-wh-pin] { height: 340vh; padding: 0; }
.has-scenes .ages[data-wh-pin] .ages__pin { position: sticky; top: 0; display: grid; align-content: center; height: 100vh; padding-top: var(--header); }

@media (max-width: 959px) {
	/* スマホで止めるときは、いまの年の1行だけを見せる */
	.has-scenes .ages[data-wh-pin] .ages__frame { width: min(240px, 58vw); margin-top: 16px; }
	.has-scenes .ages[data-wh-pin] .ages__list { display: grid; margin-top: 16px; border: 0; }
	.has-scenes .ages[data-wh-pin] .ages__list li { grid-area: 1 / 1; border: 0; text-align: center; grid-template-columns: 1fr; gap: 0; opacity: 0; }
	.has-scenes .ages[data-wh-pin]:not([data-step]) .ages__list li:first-child,
	.ages[data-wh-pin][data-step="0"] .ages__list li:nth-child(1), .ages[data-wh-pin][data-step="1"] .ages__list li:nth-child(2),
	.ages[data-wh-pin][data-step="2"] .ages__list li:nth-child(3), .ages[data-wh-pin][data-step="3"] .ages__list li:nth-child(4) { opacity: 1; }
	.has-scenes .ages[data-wh-pin] .ages__text .lead { font-size: 14px; line-height: 1.8; }
}

@media (min-width: 960px) {
	.ages__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
	.ages__text { display: block; }
	.ages__frame { width: min(460px, 100%); margin: 0 0 0 auto; }
}
/* ---------- 料金 ---------- */

.price-tables { display: grid; gap: 24px; }

@media (min-width: 960px) { .price-tables { grid-template-columns: 1fr 1fr; gap: 32px; } }

.price-table { width: 100%; overflow: hidden; border-collapse: separate; border-spacing: 0; border-radius: 16px; background: var(--paper); }
.price-table caption { padding: 0 4px 12px; text-align: left; caption-side: top; }
.price-table__note { margin-left: 12px; }
.price-table__room { font-family: var(--f-head); font-size: 20px; font-weight: 700; }
.price-table__note { color: var(--ink-2); font-size: 13px; }
.price-table th, .price-table td { padding: 14px 18px; border-bottom: 1px solid var(--rule); text-align: left; }
.price-table tr:last-child > * { border-bottom: 0; }
.price-table thead th { background: var(--oak); color: var(--ink-2); font-size: 13px; font-weight: 700; }
.price-table tbody th { font-family: var(--f-head); font-weight: 700; }
.price-table tbody th small { display: block; color: var(--ink-2); font-family: var(--f-body); font-weight: 400; }
.price-table td { text-align: right; }
.price-table thead th:not(:first-child) { text-align: right; }
.price-table td:last-child { color: var(--accent); }
.price-table--small th, .price-table--small td { padding: 10px 14px; }

.year-band { margin-bottom: 32px; }
.year-band__months { display: grid; grid-template-columns: repeat(12, 1fr); margin: 0 0 8px; padding: 0; color: var(--ink-2); font-family: var(--f-num); font-size: 12px; list-style: none; }
.year-band__track { position: relative; height: 44px; border-radius: 999px; background: repeating-linear-gradient(90deg, var(--panel) 0 calc(100% / 12 - 2px), var(--paper) 0 calc(100% / 12)); }
.year-band__busy { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: var(--terra); }
.year-band__tag { position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%); color: var(--accent); font-family: var(--f-head); font-size: 11px; font-weight: 700; white-space: nowrap; }

@media (max-width: 599px) { .year-band__tag { display: none; } .year-band__months li:nth-child(even) { visibility: hidden; } }

.busy-info { display: grid; gap: 24px; margin-top: 40px; }

@media (min-width: 960px) { .busy-info { grid-template-columns: 1fr 1fr; gap: 48px; } }

.busy-list { margin: 0; padding: 0; border-top: 1px solid var(--rule); list-style: none; }
.busy-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 4px; border-bottom: 1px solid var(--rule); }
.busy-list__label { font-family: var(--f-head); font-weight: 700; }
.busy-list__range { font-family: var(--f-num); font-weight: 700; }

.closed-note { padding: 24px 26px; border-radius: var(--r-card); background: var(--panel); }
.closed-note__title { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-family: var(--f-head); font-size: 18px; font-weight: 700; }
.closed-note p + p { color: var(--ink-2); }

.option-list { display: grid; gap: 12px; margin: 0; }

@media (min-width: 600px) { .option-list { grid-template-columns: 1fr 1fr; } }

.option-list__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; padding: 18px 22px; border-radius: 16px; background: var(--paper); }
.option-list dt { font-family: var(--f-head); font-weight: 700; }
.option-list dd { margin: 0; }
.option-list dd small { margin-left: 8px; color: var(--ink-2); }

.pay-list { display: grid; gap: 12px; margin: 0; }
.pay-list div { display: grid; gap: 4px 24px; padding: 18px 22px; border-radius: 16px; background: var(--paper); }

@media (min-width: 600px) { .pay-list div { grid-template-columns: 9em 1fr; } }

.pay-list dt { font-family: var(--f-head); font-weight: 700; }
.pay-list dd { margin: 0; color: var(--ink-2); }
@media (min-width: 600px) { .pay-list--wide div { grid-template-columns: 12em 1fr; } }

/* ---------- 施設とスタッフ ---------- */

.staff { display: grid; gap: 48px 40px; margin: 0; padding: 0; list-style: none; }

@media (min-width: 600px) { .staff { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .staff { grid-template-columns: repeat(3, 1fr); } }

.staff__item .wh-dog { margin-bottom: 18px; }
.staff__role { color: var(--accent); font-family: var(--f-head); font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.staff__item h3 small { margin-left: 10px; color: var(--ink-2); font-family: var(--f-body); font-size: 13px; font-weight: 400; letter-spacing: .02em; }
.staff__career { margin-top: 10px; color: var(--ink-2); font-size: 14px; line-height: 1.8; }
.staff__words { margin-top: 14px; padding: 14px 18px; border-radius: 16px; background: var(--panel); font-family: var(--f-head); font-weight: 700; line-height: 1.7; }

.gallery-2 { display: grid; gap: 24px; }

@media (min-width: 600px) { .gallery-2 { grid-template-columns: 1fr 1fr; gap: 28px; } }

.gallery-2 .photo { overflow: visible; border-radius: 0; }
.gallery-2 .photo img { border-radius: var(--r-photo); aspect-ratio: 3 / 2; }
.pay-list div { box-shadow: inset 0 0 0 1px var(--rule); }
.band .pay-list div { box-shadow: none; }

/* ---------- 送信しないフォーム（予約・見学） ---------- */

[hidden] { display: none !important; }

.page-hero--compact { padding-bottom: clamp(48px, 6vw, 80px); }

@media (min-width: 960px) { .page-hero--compact .page-hero__photo { max-width: 400px; } }

.button--block { width: 100%; }
.button:disabled { border-color: var(--rule); background: var(--rule); color: var(--ink-2); cursor: not-allowed; }
.button:disabled::after { display: none; }

.form-bar { display: flex; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; counter-reset: none; }
.form-bar li { display: flex; flex: 1; align-items: center; justify-content: center; gap: 8px; padding: 10px; border-radius: 999px; background: var(--paper); color: var(--ink-2); font-family: var(--f-head); font-size: 14px; font-weight: 700; }
.form-bar .num { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--panel); font-size: 13px; }
[data-step="input"] .form-bar [data-for="input"], [data-step="confirm"] .form-bar [data-for="confirm"], [data-step="done"] .form-bar [data-for="done"] { background: var(--ink); color: var(--paper); }
[data-step="input"] .form-bar [data-for="input"] .num, [data-step="confirm"] .form-bar [data-for="confirm"] .num, [data-step="done"] .form-bar [data-for="done"] .num { background: var(--accent); color: #fff; }

.panel { margin: 0 0 20px; padding: 24px 20px 26px; border: 0; border-radius: var(--r-card); background: var(--paper); }

@media (min-width: 600px) { .panel { padding: 28px 30px 30px; } }

.panel__title { display: flex; align-items: center; gap: 12px; float: none; width: 100%; margin: 0 0 18px; padding: 0; font-family: var(--f-head); font-size: 20px; font-weight: 700; }
.panel__title .num { color: var(--terra); font-size: 18px; }
.panel__title:focus { outline: none; }
.panel__note { margin: -8px 0 14px; color: var(--ink-2); font-size: 14px; }

.reserve__grid { display: grid; gap: 4px; }
.reserve__side { align-self: start; }

@media (min-width: 960px) {
	.reserve__grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
	.reserve__side { position: sticky; top: calc(var(--header) + 20px); }
}

.picks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pick { position: relative; display: grid; gap: 2px; padding: 14px 18px; border: 2px solid var(--rule); border-radius: 16px; cursor: pointer; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick__label { font-family: var(--f-head); font-size: 17px; font-weight: 700; }
.pick__note { color: var(--ink-2); font-size: 13px; }
.pick:has(input:checked) { border-color: var(--accent); background: #FBEFE8; }
.pick:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }

.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 16px; padding: 0; color: var(--ink-2); font-size: 13px; list-style: none; }
.cal-legend li { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend .mark { color: var(--ink); font-weight: 700; }
.mark--closed { color: var(--ink-2) !important; }
.cal-legend__busy { width: 18px; height: 6px; border-radius: 3px; background: var(--terra); }

.cal { display: grid; gap: 24px; }

@media (min-width: 600px) { .cal { grid-template-columns: repeat(2, 1fr); gap: 28px; } }

.cal__title { margin-bottom: 8px; font-family: var(--f-head); font-weight: 700; }
.cal__title .num { font-size: 22px; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__wd { padding: 2px 0; color: var(--ink-2); font-size: 12px; text-align: center; }
.cal__wd.is-sun { color: #B5533A; }
.cal__wd.is-sat { color: #4F6F8F; }

.cal__day {
	position: relative;
	display: grid;
	justify-items: center;
	gap: 0;
	min-height: 48px;
	padding: 5px 0 7px;
	border: 0;
	border-radius: 10px;
	background: var(--panel);
	color: var(--ink);
	font: inherit;
	line-height: 1.2;
	cursor: pointer;
}

.cal__n { font-family: var(--f-num); font-size: 13px; font-weight: 700; }
.cal__mark { font-size: 15px; font-weight: 700; }
.cal__day.is-busy::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 3px; height: 3px; border-radius: 2px; background: var(--terra); }
.cal__day.is-closed { background: transparent; box-shadow: inset 0 0 0 1px var(--rule); color: var(--ink-2); }
.cal__day.is-full { background: #EFE7DD; color: #9C8E84; }
.cal__day.is-range { background: #F6DCCD; }
.cal__day.is-in, .cal__day.is-out { background: var(--accent); color: #fff; }
.cal__day.is-in::after, .cal__day.is-out::after { background: #fff; }
.cal__day:hover { box-shadow: inset 0 0 0 2px var(--ink); }

.fields { display: grid; gap: 16px 20px; }

@media (min-width: 600px) { .fields { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 6px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field__label { font-family: var(--f-head); font-size: 14px; font-weight: 700; }
.field em, .check em { margin-left: 8px; padding: 0 8px; border-radius: 999px; background: #FBEFE8; color: var(--accent); font-size: 11px; font-style: normal; font-weight: 700; vertical-align: 1px; }

.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	border: 1.5px solid var(--rule);
	border-radius: 12px;
	background: #fff;
	color: var(--ink);
	font: inherit;
	font-size: 16px;
}

.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 2px solid transparent; }
.field input:user-invalid, .field select:user-invalid { border-color: #B5533A; }

.checks-row { display: flex; flex-wrap: wrap; gap: 10px; }

.check { display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; border: 1.5px solid var(--rule); border-radius: 12px; line-height: 1.6; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.check small { display: block; color: var(--ink-2); font-size: 12px; }
.check:has(input:checked) { border-color: var(--accent); background: #FBEFE8; }

.estimate { margin-bottom: 14px; padding: 22px 22px 20px; border-radius: var(--r-card); background: var(--paper); box-shadow: 0 10px 30px rgba(59, 47, 42, .08); }
.estimate__title { font-family: var(--f-head); font-weight: 700; }
.estimate__reason { margin-top: 8px; padding: 12px 14px; border-radius: 12px; background: #FBEFE8; color: #8A3F22; font-size: 14px; line-height: 1.7; }
.estimate__dates { display: flex; justify-content: space-between; gap: 8px; font-family: var(--f-head); font-weight: 700; }
.estimate__dates span { padding: 0 10px; border-radius: 999px; background: var(--oak); font-size: 13px; }
.estimate__lines { margin: 14px 0; padding: 0; border-top: 1px solid var(--rule); list-style: none; font-size: 14px; }
.estimate__lines li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.estimate__lines li span:last-child { flex: none; font-family: var(--f-num); font-weight: 700; }
.estimate__total { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--f-head); font-weight: 700; }
.estimate__total .num { font-size: 30px; color: var(--accent); }
.estimate__foot { margin-top: 10px; color: var(--ink-2); font-size: 12.5px; text-align: center; }
.estimate--confirm { margin-top: 24px; box-shadow: none; background: var(--panel); }

.confirm { max-width: 760px; margin-inline: auto; }
.confirm__list { margin: 0; border-top: 1px solid var(--rule); }
.confirm__list div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.confirm__list dt { color: var(--ink-2); font-size: 14px; }
.confirm__list dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.confirm__buttons, .done__buttons { justify-content: center; margin-top: 24px; }

.done { max-width: 640px; margin-inline: auto; padding: 48px 28px; text-align: center; }
.done .panel__title { justify-content: center; font-size: 26px; }
.done p { color: var(--ink-2); }
.done__line { display: block; margin: 0 auto 16px; }
/* a fieldset's legend sits on the border unless it floats */
legend.panel__title { float: left; }
legend.panel__title + * { clear: both; }

/* ---------- 見学・相談 ---------- */

.contact { max-width: calc(880px + var(--gutter) * 2); }
.contact__go { width: 100%; margin-top: 28px; }

@media (min-width: 600px) { .contact__go { width: auto; min-width: 280px; } }

.section:not(.band) .faq details { background: var(--panel); }
/* ---------- 文だけの題の帯・プライバシー・404 ---------- */

.page-hero--text { padding-bottom: clamp(56px, 7vw, 96px); }
.page-hero--text .lead { max-width: 40em; margin-top: 18px; color: var(--ink-2); }

.policy { max-width: 760px; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-card); background: var(--paper); }
.policy h2 { margin: 36px 0 10px; font-size: clamp(19px, 1.7vw, 22px); }
.policy p { color: var(--ink-2); }
.policy__date { margin-top: 32px; font-size: 14px; text-align: right; }

.not-found__inner { max-width: 640px; text-align: center; }
.not-found__line { width: 160px; margin-bottom: 20px; }
.not-found .lead { margin-top: 16px; color: var(--ink-2); }
.not-found__buttons { justify-content: center; margin-top: 28px; }

/* ---------- お預かり日記・お知らせ ---------- */

.diary-cards { display: grid; gap: 36px 28px; margin: 0; padding: 0; list-style: none; }

@media (min-width: 600px) { .diary-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .diary-cards { grid-template-columns: repeat(3, 1fr); } }

.diary-card a { display: block; text-decoration: none; }
.diary-card .wh-dog { margin-bottom: 14px; transition: transform .4s var(--ease); }
.diary-card a:hover .wh-dog { transform: translateY(-4px); }
.diary-card__meta { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-family: var(--f-num); font-size: 13px; font-weight: 700; }
.diary-card__title { margin-top: 6px; font-size: 18px; line-height: 1.55; }
.diary-card a:hover .diary-card__title { text-decoration: underline; text-decoration-color: var(--terra); text-underline-offset: 4px; }
.diary-card__dog { margin-top: 4px; color: var(--ink-2); font-size: 14px; }
.diary-card__dog small { margin-left: 8px; }

.news-wrap { max-width: calc(880px + var(--gutter) * 2); }

.news-rows { margin: 0; padding: 0; border-top: 1px solid var(--rule); list-style: none; }
.news-rows a { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--rule); text-decoration: none; }
.news-rows img { width: 96px; aspect-ratio: 1; border-radius: 16px; object-fit: cover; }
.news-rows__text { display: grid; gap: 4px; }
.news-rows time { color: var(--ink-2); font-family: var(--f-num); font-size: 13px; font-weight: 700; }
.news-rows__title { font-family: var(--f-head); font-weight: 700; line-height: 1.6; }
.news-rows a:hover .news-rows__title { text-decoration: underline; text-decoration-color: var(--terra); text-underline-offset: 4px; }

@media (min-width: 600px) { .news-rows a { grid-template-columns: 140px 1fr; gap: 28px; } .news-rows img { width: 140px; aspect-ratio: 3 / 2; } }

.entry__head { padding-top: clamp(24px, 4vw, 48px); padding-bottom: 32px; max-width: calc(880px + var(--gutter) * 2); }
.entry__meta { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-family: var(--f-num); font-weight: 700; }
.entry__title { margin-top: 10px; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.45; }
.entry__dog { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-family: var(--f-head); font-size: 18px; font-weight: 700; }
.entry__dog small { color: var(--ink-2); font-family: var(--f-body); font-size: 14px; font-weight: 400; }
.entry__body { max-width: calc(880px + var(--gutter) * 2); padding-bottom: var(--gap); }
.entry__photos { display: grid; gap: 16px; margin-bottom: 36px; }

@media (min-width: 600px) { .entry__photos--2 { grid-template-columns: 1fr 1fr; } .entry__photos--3 { grid-template-columns: 2fr 1fr; } .entry__photos--3 .photo:first-child { grid-row: span 2; } }

.entry__photos .photo img { aspect-ratio: 3 / 2; }
.entry__content { font-size: 16px; line-height: 2; }
.entry__content p + p { margin-top: 1.2em; }
.entry__back { margin-top: 40px; }
/* ---------- トップ：ヒーロー ---------- */

.hero { position: relative; padding: clamp(20px, 4vw, 40px) 0 clamp(72px, 8vw, 112px); }
.hero__inner { display: grid; gap: 32px; align-items: center; }
.hero__title { font-size: clamp(38px, 5vw, 72px); line-height: 1.28; letter-spacing: .05em; }
.hero__title em { color: var(--terra); font-style: normal; }
.hero__text .lead { max-width: 30em; margin-top: 22px; color: var(--ink-2); }
.hero__buttons { margin-top: 28px; }
.hero__photo { position: relative; justify-self: center; width: min(100%, 560px); }
.hero__frame { display: grid; }
.hero__frame img { grid-area: 1 / 1; }
/* the awake shiba and the sleeping one take turns, slowly */
.hero__frame img + img { animation: wh-doze 16s var(--ease) infinite; }

@keyframes wh-doze { 0%, 42% { opacity: 0; } 50%, 92% { opacity: 1; } 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) { .hero__frame img + img { animation: none; opacity: 0; } }

.hero__tag {
	position: absolute;
	right: 2%;
	bottom: 6%;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 18px 8px 8px;
	border-radius: 999px;
	background: var(--paper);
	box-shadow: 0 14px 34px rgba(59, 47, 42, .16);
	font-family: var(--f-head);
	font-size: 14px;
	font-weight: 700;
}

.hero__tag .num { padding: 2px 12px; border-radius: 999px; background: var(--night); color: #F2C46D; }
.hero__leaf { position: absolute; left: -6px; bottom: -22px; width: 88px; }

@media (min-width: 960px) {
	.hero__inner { grid-template-columns: 1.1fr 1fr; gap: 48px; }
	.hero__photo { justify-self: end; }
}

/* ---------- トップ：2つの入口（同じ重さ） ---------- */

.gates__list { display: grid; gap: 24px; }

@media (min-width: 960px) { .gates__list { grid-template-columns: 1fr 1fr; gap: 28px; } }

/* the dog sits on top of each card and its head looks over the card's edge */
.gate {
	display: grid;
	gap: 8px;
	margin-top: 48px;
	padding: 0 24px 30px;
	border-radius: var(--r-card);
	background: var(--paper);
	text-decoration: none;
	transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

.gate--senior { background: #F4EEE4; }
.gate:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(59, 47, 42, .12); }
.gate__frame { order: -1; justify-self: end; width: 86%; margin: -48px -8px 4px 0; transition: transform .5s var(--ease); }
.gate:hover .gate__frame { transform: translateY(-8px); }
.gate__title { font-size: clamp(28px, 2.8vw, 38px); }
.gate__text p:not(.eyebrow) { margin-top: 10px; color: var(--ink-2); }
.gate__text .gate__price { color: var(--ink); font-family: var(--f-head); font-size: 17px; font-weight: 700; }
.gate__more { display: inline-block; margin-top: 16px; border-bottom: 2px solid var(--terra); font-family: var(--f-head); font-weight: 700; }
.gate:hover .gate__more { color: var(--accent); }

@media (min-width: 600px) {
	.gate { margin-top: 72px; padding: 0 40px 40px; }
	.gate__frame { width: 78%; margin: -72px -16px 8px 0; }
}
/* ---------- トップ：昼から夜へ ---------- */

.day-night { position: relative; padding: var(--gap) 0; transition: background-color .9s var(--ease), color .9s var(--ease); }
.day-night__inner { display: grid; gap: 28px; align-items: center; }
.day-night__times { margin: 24px 0 0; padding: 0; border-top: 1px solid var(--rule); list-style: none; }
.day-night__times li { display: grid; grid-template-columns: 4.5em 1fr; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--rule); transition: opacity .5s var(--ease); }
.day-night__times .num { color: var(--terra); font-size: 18px; font-weight: 700; }
.day-night__photo { position: relative; }
.day-night__frame { display: grid; gap: 12px; overflow: visible; border-radius: 0; }
.day-night__frame img { aspect-ratio: 3 / 2; border-radius: var(--r-photo); }
.day-night__tags { margin-top: 16px; }
.day-night__tags li { border-color: var(--rule); background: var(--paper); color: var(--ink); }
.day-night__tags .num { padding: 2px 12px; border-radius: 999px; background: var(--night); color: #F2C46D; }

html:not(.has-scenes) .day-night__frame { grid-template-columns: 1fr 1fr; }

@media (min-width: 960px) { .day-night__inner { grid-template-columns: 5fr 7fr; gap: 64px; } }

.has-scenes .day-night[data-wh-pin] { height: 400vh; padding: 0; }
.has-scenes .day-night[data-wh-pin] .day-night__pin { position: sticky; top: 0; display: grid; align-content: center; height: 100vh; padding-top: var(--header); overflow: hidden; }
.has-scenes .day-night__frame { gap: 0; }
.has-scenes .day-night__frame img { grid-area: 1 / 1; opacity: 0; transition: opacity 1s var(--ease); }
.has-scenes .day-night:not([data-step]) .day-night__frame img:first-child,
.day-night[data-step="0"] .day-night__frame img:nth-child(1), .day-night[data-step="1"] .day-night__frame img:nth-child(2),
.day-night[data-step="2"] .day-night__frame img:nth-child(3), .day-night[data-step="3"] .day-night__frame img:nth-child(4) { opacity: 1; }
.has-scenes .day-night .day-night__times li { opacity: .35; }
.has-scenes .day-night:not([data-step]) .day-night__times li:first-child,
.day-night[data-step="0"] .day-night__times li:nth-child(1), .day-night[data-step="1"] .day-night__times li:nth-child(2),
.day-night[data-step="2"] .day-night__times li:nth-child(3), .day-night[data-step="3"] .day-night__times li:nth-child(4) { opacity: 1; }

/* the ground goes from the paper to the night with the photos */
.day-night[data-step="1"] { background: var(--oak); }
.day-night[data-step="2"] { background: #4B3E48; color: #F3ECE3; }
.day-night[data-step="3"] { background: var(--night); color: #E9E2D8; }
.day-night:is([data-step="2"], [data-step="3"]) .eyebrow { color: #E8A27F; }
.day-night:is([data-step="2"], [data-step="3"]) .day-night__times, .day-night:is([data-step="2"], [data-step="3"]) .day-night__times li { border-color: rgba(250, 247, 242, .18); }
.day-night:is([data-step="2"], [data-step="3"]) .day-night__times .num { color: #F2C46D; }

/* the night's tags float onto the photo, one after another */
.has-scenes .day-night__tags { position: absolute; left: 16px; bottom: 16px; flex-direction: column; align-items: flex-start; gap: 8px; margin: 0; }
.has-scenes .day-night__tags li { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); box-shadow: 0 10px 26px rgba(20, 18, 30, .3); }
.day-night[data-step="3"] .day-night__tags li { opacity: 1; transform: none; }
.day-night[data-step="3"] .day-night__tags li:nth-child(2) { transition-delay: .25s; }
.day-night[data-step="3"] .day-night__tags li:nth-child(3) { transition-delay: .5s; }

@media (max-width: 959px) {
	.has-scenes .day-night[data-wh-pin] .day-night__inner { gap: 16px; }
	.has-scenes .day-night[data-wh-pin] .day-night__times { margin-top: 12px; }
	.has-scenes .day-night[data-wh-pin] .day-night__times li { padding: 8px 0; }
	.has-scenes .day-night__tags { left: 10px; bottom: 10px; gap: 6px; }
	.has-scenes .day-night__tags li { padding: 4px 12px 4px 4px; font-size: 13px; }
}

/* ---------- トップ：料金の目安・2週間の空き ---------- */

.top-price { display: grid; gap: 32px; align-items: center; }
.top-price__text .lead { margin-top: 16px; color: var(--ink-2); }
.top-price .buttons { margin-top: 24px; }

@media (min-width: 960px) { .top-price { grid-template-columns: 1fr 1fr; gap: 72px; } }

.section-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; }

.cal-strip { overflow-x: auto; padding-bottom: 6px; }
.cal-strip__table { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 4px; }
.cal-strip__table thead th { padding: 0 0 4px; font-weight: 400; text-align: center; }
.cal-strip__table tbody th { position: sticky; left: 0; z-index: 1; padding: 0 12px 0 0; background: var(--paper); font-family: var(--f-head); font-size: 14px; font-weight: 700; text-align: left; white-space: nowrap; }
.cal-strip__date { display: block; font-family: var(--f-num); font-size: 14px; font-weight: 700; }
.cal-strip__wd { display: block; color: var(--ink-2); font-size: 12px; }
.cal-strip__day.is-sun .cal-strip__wd { color: #B5533A; }
.cal-strip__day.is-sat .cal-strip__wd { color: #4F6F8F; }
.cal-strip__cell { height: 46px; border-radius: 10px; background: var(--panel); font-size: 16px; font-weight: 700; text-align: center; }
.cal-strip__cell[data-mark="×"] { background: #EFE7DD; color: #9C8E84; }
.cal-strip__cell.is-closed { background: transparent; box-shadow: inset 0 0 0 1px var(--rule); color: var(--ink-2); font-size: 14px; }
/* a trail of paw prints walks from the two doors into the house (drawn as it comes up the screen) */
.trail { display: flex; justify-content: flex-end; margin-top: clamp(32px, 5vw, 64px); margin-bottom: calc(var(--gap) * -.5); }
.trail__paws { width: min(460px, 72vw); transform: rotate(-4deg); }
/* 見学・相談 joins the wide nav where it fits */
@media (min-width: 1200px) { .site-nav .site-nav__visit { display: block; } }

/* two stories side by side, the second set lower (breaks the run of text-and-photo rows) */
.duo { display: grid; gap: 56px; }
.duo__photo { margin-bottom: 24px; }
.duo__photo img { aspect-ratio: 3 / 2; }
.duo__title { margin-bottom: 14px; font-size: clamp(24px, 2.4vw, 32px); }
.duo__item > p:not(.eyebrow) { color: var(--ink-2); }
.duo__item .chip { margin-top: 18px; }

@media (min-width: 960px) {
	.duo { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
	.duo__item--low { margin-top: 120px; }
}

/* phones: the two weeks' table scrolls sideways; its right edge fades to say so */
.cal-strip__hint { display: none; margin: -6px 0 10px; color: var(--ink-2); font-size: 13px; }

@media (max-width: 959px) {
	.cal-strip__hint { display: block; }
	.cal-strip { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent); }
	.cal-strip__table { border-right: 48px solid transparent; }
}