@charset "utf-8";
/*
Theme Name: アカシア動物病院
Template: mhs-asura
Version: 0.3.2
Description: mhs-asura の子テーマ（ポートフォリオの作品「アカシア動物病院」）。ページの中身はテーマサポートのウェブパーツ
*/

:root {
	--paper: #FFFCF5;
	--panel: #F6F0E1;
	--rule: #E3DAC6;
	--ink-2: #5A5F55;
	--ink: #1F3A2E;
	--accent: #E8B419;
	--wrap: 1120px;
	--text: 720px;
	--gutter: 20px;
	--header-h: 64px;
	--bar-h: 56px;
	--round: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
	--sans: "Noto Sans JP", sans-serif;
	--serif: "Cormorant Garamond", serif;
	--num: "Inter", "Noto Sans JP", sans-serif;
	--radius: 24px;
}
@media (min-width: 960px) {
	:root { --gutter: 40px; --header-h: 80px; --bar-h: 0px; }
}

/* ---- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	padding-bottom: var(--bar-h);
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 15px;
	line-height: 1.85;
	letter-spacing: .04em;
	overflow-wrap: anywhere;
	line-break: strict;
}
/* the support plugin's style sets body { word-break: break-all } (it split "11:45" and "日曜"); html body outranks it.
   normal first for browsers without auto-phrase; Chrome and Edge then break Japanese at phrases */
html body { word-break: normal; word-break: auto-phrase; }
@media (min-width: 960px) { body { font-size: 16px; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
	outline: 2px solid var(--ink);
	outline-offset: 3px;
}
h1, h2, h3 { margin: 0; font-family: var(--round); line-height: 1.45; letter-spacing: .06em; word-break: keep-all; overflow-wrap: anywhere; }
h1 { font-size: clamp(28px, 4.2vw, 44px); font-weight: 500; }
h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 500; }
h3 { font-size: clamp(18px, 2vw, 21px); font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 8px 16px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip:focus { top: 8px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(var(--text) + var(--gutter) * 2); }
.label { margin: 0 0 6px; font-family: var(--serif); font-size: 16px; line-height: 1.2; letter-spacing: .16em; color: var(--ink-2); }
.section { padding-block: 72px; }
.section--panel { background: var(--panel); }
@media (min-width: 960px) { .section { padding-block: 120px; } }
.section-head { margin-bottom: 32px; }
.section-head h2::after, .page-head h1::after {
	content: "";
	display: block;
	width: 40px;
	height: 3px;
	margin-top: 14px;
	border-radius: 2px;
	background: var(--accent);
}
.grid-2 { display: grid; gap: 56px; }
@media (min-width: 960px) {
	.grid-2 { grid-template-columns: 1fr 1fr; gap: 64px; }
	.grid-2--media { align-items: center; }
}
.rounded { border-radius: var(--radius); }
img.rounded { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.more-wrap { margin-top: 24px; }
.more-wrap--center { text-align: center; margin-top: 48px; }
.more {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--round);
	font-weight: 700;
	text-decoration: none;
	border-bottom: 2px solid var(--accent);
	padding-bottom: 2px;
}
.more::after {
	content: "";
	width: 7px;
	height: 7px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform .2s;
}
.more:hover::after { transform: translateX(3px) rotate(45deg); }

/* ---- buttons */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 12px 28px;
	border: 2px solid var(--ink);
	border-radius: 999px;
	background: var(--ink);
	color: #fff;
	font-family: var(--round);
	font-weight: 700;
	font-size: 16px;
	letter-spacing: .06em;
	text-decoration: none;
	cursor: pointer;
	transition: box-shadow .2s, transform .2s;
}
.button::after {
	content: "";
	width: 7px;
	height: 7px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform .2s;
}
.button:hover { box-shadow: 0 6px 18px rgba(31, 58, 46, .18); }
.button:hover::after { transform: translateX(3px) rotate(45deg); }
.button--ghost { background: transparent; color: var(--ink); }

/* ---- header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 252, 245, .95);
	border-bottom: 1px solid var(--rule);
}
.site-header__inner {
	display: flex;
	align-items: center;
	gap: 16px;
	max-width: calc(var(--wrap) + var(--gutter) * 2);
	height: var(--header-h);
	margin-inline: auto;
	padding-inline: var(--gutter);
	transition: height .2s;
}
.site-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; flex-shrink: 0; }
.site-logo__mark { width: 36px; height: 36px; }
.site-logo__name { font-family: var(--round); font-weight: 700; font-size: 18px; letter-spacing: .08em; white-space: nowrap; }
.site-nav ul { list-style: none; }
.site-nav a { display: block; text-decoration: none; font-family: var(--round); font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: .5em; }
.site-tel { display: none; }
.menu-button {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	margin-left: auto;
	padding: 6px 4px;
	border: 0;
	background: none;
	color: var(--ink);
	font: 700 11px/1 var(--round);
	letter-spacing: .04em;
	cursor: pointer;
}
.menu-button__bars, .menu-button__bars::before, .menu-button__bars::after {
	display: block;
	width: 26px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform .2s, opacity .2s;
}
.menu-button__bars { position: relative; margin: 8px 0 6px; }
.menu-button__bars::before, .menu-button__bars::after { content: ""; position: absolute; left: 0; }
.menu-button__bars::before { top: -8px; }
.menu-button__bars::after { top: 8px; }
.menu-open .menu-button__bars { background: transparent; }
.menu-open .menu-button__bars::before { transform: translateY(8px) rotate(45deg); }
.menu-open .menu-button__bars::after { transform: translateY(-8px) rotate(-45deg); }
/* The six links and the phone number fit on one line from 1100px; under 1200px the links go in the menu. */
@media (max-width: 1199px) {
	.site-nav {
		position: fixed;
		inset: var(--header-h) 0 var(--bar-h) 0;
		padding: 16px var(--gutter) 32px;
		background: var(--paper);
		overflow-y: auto;
		visibility: hidden;
		opacity: 0;
		transition: opacity .2s, visibility .2s;
	}
	.menu-open .site-nav { visibility: visible; opacity: 1; }
	.menu-open { overflow: hidden; }
	.site-nav a { padding: 16px 4px; border-bottom: 1px solid var(--rule); font-size: 18px; }
}
@media (min-width: 960px) {
	.site-tel {
		display: inline-flex;
		margin-left: auto;
		align-items: center;
		gap: 6px;
		font: 600 20px/1 var(--num);
		letter-spacing: .02em;
		font-variant-numeric: tabular-nums;
		text-decoration: none;
		white-space: nowrap;
	}
	.site-tel + .menu-button { margin-left: 8px; }
}
@media (min-width: 1200px) {
	.site-header.is-scrolled .site-header__inner { height: 64px; }
	.menu-button { display: none; }
	.site-nav { margin-left: auto; }
	.site-nav ul { display: flex; gap: 2px; }
	.site-nav a { padding: 8px 12px; font-size: 15px; }
	.site-tel { margin-left: 0; font-size: 24px; }
}

/* ---- footer and the phone bar */
.site-footer { background: var(--ink); color: #fff; padding: 64px 0 24px; }
.site-footer__inner { display: grid; gap: 40px; }
.site-footer__name { font-family: var(--round); font-weight: 700; font-size: 20px; letter-spacing: .08em; }
.site-footer__tel { font: 600 26px/1.2 var(--num); }
.site-footer__tel a { text-decoration: none; }
.site-footer__nav ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; }
.site-footer__nav a { display: block; padding: 6px 0; text-decoration: none; font-size: 14px; }
.site-footer__nav a:hover { text-decoration: underline; }
.site-footer__copy { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 48px auto 0; padding-inline: var(--gutter); color: rgba(255, 255, 255, .75); }
.site-footer a:focus-visible { outline-color: #fff; }
@media (min-width: 960px) {
	.site-footer__inner { grid-template-columns: 1fr 1fr; align-items: start; }
}
.sp-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 60;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	height: 56px;
	background: var(--ink);
	box-shadow: 0 -2px 12px rgba(31, 58, 46, .15);
}
.sp-bar a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	color: #fff;
	font: 700 14px/1 var(--round);
	letter-spacing: .04em;
	text-decoration: none;
}
.sp-bar a + a { border-left: 1px solid rgba(255, 255, 255, .25); }
.sp-bar a:focus-visible { outline-color: #fff; outline-offset: -4px; }
@media (min-width: 960px) { .sp-bar { display: none; } }

/* ---- hero (top): the photo runs the full width; from 960px the words sit on its quiet left half */
.hero { display: grid; padding-bottom: 56px; }
.hero__photo { position: relative; margin: 0; order: -1; }
.hero__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 82% 50%; }
.hero__text { padding: 32px var(--gutter) 0; }
.hero__title { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.4; margin-bottom: 20px; }
.hero__lead { max-width: 34em; }
.hero__points { list-style: none; display: grid; gap: 8px; margin: 24px 0 32px; }
.hero__points li { display: flex; align-items: center; gap: 12px; font-family: var(--round); font-weight: 700; }
.hero__points li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* phone: the two buttons share one row at 50% each; the type shrinks a little so 「電話で予約する」 stays on one line down to 320px */
@media (max-width: 959px) {
	.hero .hero__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 34em; }
	.hero .hero__actions .button { min-width: 0; padding-inline: 8px; gap: 6px; font-size: min(16px, 4.3vw); letter-spacing: .02em; }
}
@media (min-width: 960px) {
	.hero {
		/* --hero-x lines the words up with .wrap; the paper wash behind them ends before the dog in the photo */
		--hero-x: max(var(--gutter), calc((100% - var(--wrap)) / 2));
		--hero-w: 440px;
		position: relative;
		align-items: center;
		min-height: max(clamp(560px, calc(100svh - var(--header-h) - 40px), 860px), 40vw);
		padding: 64px 0 calc(var(--hill-h) + 56px);
	}
	.hero__photo { position: absolute; inset: 0; }
	.hero__photo::before {
		content: "";
		position: absolute;
		inset: 0;
		z-index: 1;
		background: linear-gradient(90deg, rgba(255, 252, 245, .9) calc(var(--hero-x) + var(--hero-w) - 40px), rgba(255, 252, 245, 0) calc(var(--hero-x) + var(--hero-w) + 120px));
	}
	.hero__photo img { height: 100%; aspect-ratio: auto; object-position: 50% 84%; }
	.hero__text { position: relative; z-index: 2; width: min(var(--hero-w), 100% - var(--gutter) * 2); margin-left: var(--hero-x); padding: 0; }
}
@media (min-width: 1200px) { .hero { --hero-w: 520px; } }
@media (prefers-reduced-motion: no-preference) {
	.hero__photo { animation: hero-open .9s cubic-bezier(.2, .7, .2, 1) both; }
	@keyframes hero-open {
		from { clip-path: inset(6% 4% 6% 4% round 160px); opacity: .4; }
		to { clip-path: inset(0 0 0 0 round 0); opacity: 1; }
	}
}

/* ---- hills: where the colour changes, the lower band rises into the one above as a low hill, and a dog or cat
   silhouette stands on one of its two crests. img/hill-*.svg has the crests at 18% and 74% of the width, 4/44 from the top;
   a silhouette is placed by its centre (--sil-p) and sinks 2px into the crest. */
:root { --hill-h: 28px; --sil-k: .58; }
@media (min-width: 960px) { :root { --hill-h: 44px; --sil-k: 1; } }
.section, .call, .site-footer { position: relative; }
.hero__photo::after,
.section--panel::before,
.section--panel + .section:not(.section--panel)::before,
.call::before,
.site-footer::before {
	--sil: none;
	--sil-a: 1;
	--sil-h: 0px;
	--sil-p: .18;
	--sil-w: calc(var(--sil-h) * var(--sil-a));
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 100%;
	height: calc(var(--hill-h) + var(--sil-h));
	pointer-events: none;
	background:
		var(--sil) left calc(var(--sil-p) * 100% + var(--sil-w) * (var(--sil-p) - .5)) bottom calc(var(--hill-h) * 40 / 44 - 2px) / var(--sil-w) var(--sil-h) no-repeat,
		var(--hill) left bottom / 100% var(--hill-h) no-repeat;
}
.hero__photo::after { --hill: url(img/hill-paper.svg); --sil: url(img/sil-cat-walk-r.svg); --sil-a: 1.164; --sil-h: calc(46px * var(--sil-k)); bottom: 0; z-index: 1; }
.section--panel::before { --hill: url(img/hill-panel.svg); --sil: url(img/sil-dog-walk-l.svg); --sil-a: 1.303; --sil-h: calc(58px * var(--sil-k)); --sil-p: .74; }
.section--panel:nth-child(even of .section--panel)::before { --sil: url(img/sil-cat-sit.svg); --sil-a: .601; --sil-h: calc(54px * var(--sil-k)); --sil-p: .18; }
/* back on the paper after a band: a plain hill, mirrored so it does not repeat the one above */
.section--panel + .section:not(.section--panel)::before { --hill: url(img/hill-paper-r.svg); }
.call::before { --hill: url(img/hill-panel.svg); --sil: url(img/sil-dog-sit.svg); --sil-a: .936; --sil-h: calc(60px * var(--sil-k)); --sil-p: .74; }
.site-footer::before { --hill: url(img/hill-ink.svg); --sil: url(img/sil-pair.svg); --sil-a: .933; --sil-h: calc(62px * var(--sil-k)); }
/* a band straight after a band of the same colour keeps a plain line */
.section--panel + .call { border-top: 1px solid var(--rule); }
.section--panel + .call::before { content: none; }
/* a page without the call band: its last section leaves room for the footer's hill and the two animals on it */
main > .section:last-child { padding-bottom: calc(32px + var(--hill-h) + 62px * var(--sil-k)); }

/* ---- facts */
.facts { border-bottom: 1px solid var(--rule); }
.facts__list { display: grid; grid-template-columns: 1fr 1fr; margin-block: 0; }
.facts__list > div { padding: 20px 8px; text-align: center; }
.facts__list > div:nth-child(odd) { border-right: 1px solid var(--rule); }
.facts__list > div:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
.facts dt { font-size: 13px; color: var(--ink-2); }
.facts dd { margin: 0; font-family: var(--round); font-weight: 700; font-size: 16px; }
.facts b { font: 600 34px/1.2 var(--num); margin-inline: 2px; }
@media (min-width: 960px) {
	.facts__list { grid-template-columns: repeat(4, 1fr); }
	.facts__list > div { padding: 28px 8px; }
	.facts__list > div:nth-child(-n+2) { border-bottom: 0; }
	.facts__list > div + div { border-left: 1px solid var(--rule); }
	.facts__list > div:nth-child(odd) { border-right: 0; }
}

/* ---- hours */
.hours table { width: 100%; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 12px 4px; border-bottom: 1px solid var(--rule); text-align: center; font-weight: 400; }
.hours thead th { font-family: var(--round); font-weight: 700; position: relative; }
.hours tbody th { text-align: left; font: 600 14px/1.4 var(--num); white-space: nowrap; padding-right: 8px; }
.hours td { color: var(--ink); font-size: 14px; }
.hours td.is-closed { color: var(--ink-2); }
.hours__holiday { font-size: 11px; }
.hours .is-today { background: var(--panel); }
.section--panel .hours .is-today { background: var(--paper); }
.hours thead th.is-today::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 4px;
	width: 6px;
	height: 6px;
	margin-left: -3px;
	border-radius: 50%;
	background: var(--accent);
}
.hours__notes { list-style: none; margin-top: 16px; font-size: 14px; color: var(--ink-2); }
.hours__notes li { padding-left: 1em; text-indent: -1em; }
.hours__notes li::before { content: "・"; }

/* ---- news list */
.news-list { list-style: none; border-top: 1px solid var(--rule); }
.news-list li { border-bottom: 1px solid var(--rule); }
.news-list a { display: grid; gap: 2px; padding: 18px 4px; text-decoration: none; }
.news-list a:hover span { text-decoration: underline; }
.news-list time { font: 600 14px/1.5 var(--num); color: var(--ink-2); letter-spacing: .04em; }
@media (min-width: 600px) { .news-list a { grid-template-columns: 7.5em 1fr; gap: 16px; } }

/* ---- promise */
.promise__inner { display: grid; gap: 48px; }
.promise__list { list-style: none; counter-reset: promise; display: grid; gap: 20px; }
.promise__list li { counter-increment: promise; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.promise__list li::before {
	content: counter(promise);
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--accent);
	color: var(--ink);
	font: 600 18px/1 var(--num);
}
.promise__photos { display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; align-items: start; }
.promise__photos img { width: 100%; object-fit: cover; border-radius: var(--radius); }
.promise__photos img:first-child { aspect-ratio: 4 / 3; margin-top: 48px; }
.promise__photos img:last-child { aspect-ratio: 2 / 3; }
@media (min-width: 960px) {
	.promise__inner { grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; }
}

/* ---- cards */
.cards { list-style: none; display: grid; gap: 24px; }
.card a { display: block; height: 100%; text-decoration: none; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius) var(--radius) var(--radius) 4px; margin-bottom: 14px; transition: box-shadow .2s, transform .2s; }
.card h3 { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.card h3::after { content: ""; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); flex-shrink: 0; margin-right: 6px; transition: transform .2s; }
.card p { font-size: 14px; color: var(--ink-2); }
.card a:hover img { box-shadow: 0 10px 24px rgba(31, 58, 46, .16); transform: translateY(-2px); }
.card a:hover h3::after { transform: translateX(3px) rotate(45deg); }
@media (min-width: 600px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
	.cards--5 { grid-template-columns: repeat(5, 1fr); gap: 20px; }
	.cards--3 { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

/* ---- vets (top) */
.vets { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 32px 16px; text-align: center; }
.vets img { width: 100%; max-width: 200px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; margin: 0 auto 14px; }
.vets__role { margin: 0; font-size: 13px; color: var(--ink-2); }
.vets__name { margin: 0; font-family: var(--round); font-weight: 700; font-size: 18px; letter-spacing: .08em; }
.vets__field { margin: 0; font-size: 13px; }
@media (min-width: 960px) { .vets { grid-template-columns: repeat(4, 1fr); gap: 32px; } }

/* ---- definition rows */
.info { display: grid; margin: 0; border-top: 1px solid var(--rule); }
.info > div { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.info dt { font-family: var(--round); font-weight: 700; font-size: 14px; color: var(--ink-2); }
.info dd { margin: 0; }
@media (min-width: 600px) { .info > div { grid-template-columns: 9em 1fr; gap: 16px; } }

/* ---- call band */
/* the bottom padding keeps the words clear of the footer's hill and the two animals on it */
.call { background: var(--panel); padding: 56px 0 calc(24px + var(--hill-h) + 62px * var(--sil-k)); }
.call__inner { display: grid; gap: 20px; align-items: center; }
.call__tel {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
	font: 600 clamp(30px, 4vw, 40px)/1.2 var(--num);
	letter-spacing: .02em;
	text-decoration: none;
	font-variant-numeric: tabular-nums;
}
.call__body p { color: var(--ink-2); }
@media (min-width: 960px) { .call__inner { grid-template-columns: 1fr 1.3fr; gap: 64px; } }

/* ---- lower page head */
.page-head { display: grid; }
.page-head__photo { margin: 0; order: -1; }
.page-head__photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom-left-radius: 72px; }
.page-head__text { padding: 32px var(--gutter) 8px; }
.page-head--plain .page-head__text { padding-top: 56px; }
@media (min-width: 960px) {
	.page-head { grid-template-columns: max(var(--gutter), calc((100% - var(--wrap)) / 2)) minmax(0, 5fr) minmax(0, 7fr); align-items: center; padding-top: 40px; }
	.page-head__text { grid-column: 2; padding: 0 40px 0 0; }
	.page-head__photo { grid-column: 3; order: 0; }
	.page-head__photo img { aspect-ratio: auto; height: 380px; border-radius: 120px 0 0 0; }
	.page-head--plain { grid-template-columns: 1fr; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding: 80px var(--gutter) 0; }
	.page-head--plain .page-head__text { grid-column: 1; padding: 0; }
}

/* ---- prose (privacy, news) */
.prose h2 { font-size: clamp(20px, 2.4vw, 24px); margin: 48px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.4em; margin-bottom: 1em; }
.prose a { color: var(--ink); }

/* ---- about */
.greeting { display: grid; gap: 40px; }
.greeting img { width: 100%; max-width: 420px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.greeting__sign { margin-top: 24px; font-family: var(--round); font-weight: 700; text-align: right; }
@media (min-width: 960px) { .greeting { grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; } }
.policy { list-style: none; counter-reset: policy; display: grid; gap: 20px; }
.policy li { counter-increment: policy; padding: 28px; border-radius: var(--radius); background: var(--paper); }
.policy h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.policy h3::before {
	content: counter(policy);
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--accent);
	font: 600 16px/1 var(--num);
	flex-shrink: 0;
}
@media (min-width: 960px) { .policy { grid-template-columns: repeat(3, 1fr); } }
.vet-list { display: grid; gap: 48px; }
.vet { display: grid; gap: 20px; }
.vet img { width: 160px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.vet__role { margin: 0 0 2px; font-size: 14px; color: var(--ink-2); }
.vet h3 { font-size: clamp(20px, 2.2vw, 24px); }
.vet__kana { display: block; font: 400 13px/1.6 var(--sans); color: var(--ink-2); letter-spacing: .1em; }
.vet .info { margin-top: 16px; }
.vet__word { margin-top: 16px; padding: 16px 20px; border-radius: 4px var(--radius) var(--radius) var(--radius); background: var(--panel); font-family: var(--round); font-weight: 500; }
@media (min-width: 960px) {
	.vet-list { grid-template-columns: 1fr 1fr; gap: 64px 56px; }
	.vet { grid-template-columns: 140px 1fr; gap: 24px; align-items: start; }
	.vet img { width: 140px; }
}
.staff { list-style: none; display: grid; gap: 24px; margin-top: 32px; }
.staff li { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; }
.staff img { width: 96px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.staff p { margin: 0; }
.staff__name { font-family: var(--round); font-weight: 700; font-size: 17px; }
@media (min-width: 960px) { .staff { grid-template-columns: 1fr 1fr; gap: 40px; } }
.rooms .card img { aspect-ratio: 3 / 2; }
.rooms .card h3::after { content: none; }
.rooms .card p { color: var(--ink); font-size: 15px; }
.equip { list-style: none; display: grid; gap: 0 32px; border-top: 1px solid var(--rule); }
.equip li { padding: 12px 0 12px 20px; border-bottom: 1px solid var(--rule); position: relative; }
.equip li::before { content: ""; position: absolute; left: 2px; top: 1.45em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
@media (min-width: 600px) { .equip { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .equip { grid-template-columns: repeat(3, 1fr); } }

/* ---- services */
.toc { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.toc a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-height: 56px;
	padding: 10px 18px;
	border: 2px solid var(--ink);
	border-radius: 999px;
	font-family: var(--round);
	font-weight: 700;
	text-decoration: none;
	transition: box-shadow .2s;
}
.toc a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -4px; }
.toc a:hover { box-shadow: 0 6px 18px rgba(31, 58, 46, .15); }
@media (min-width: 960px) { .toc { grid-template-columns: repeat(5, 1fr); } }
.toc-wrap { padding-bottom: 0; }
.service + .service, .service + .notice { margin-top: 96px; }
.notice h2 + p { margin-top: 12px; }
.service__head { display: grid; gap: 28px; margin-bottom: 32px; }
.service__head img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 960px) {
	.service__head { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
	.service:nth-of-type(even) .service__head img { order: 2; }
}
.treat { padding: 28px 24px; border-radius: var(--radius); background: var(--panel); }
.treat + .treat { margin-top: 20px; }
.treat h3 { margin-bottom: 12px; }
.treat__body { display: grid; gap: 20px; }
.treat__body img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; }
.treat .info { border-top-color: var(--rule); }
@media (min-width: 960px) {
	.treat { padding: 36px 40px; }
	.treat__body--photo { grid-template-columns: 1fr 2fr; gap: 32px; align-items: start; }
}
.course { width: 100%; margin: 8px 0 4px; }
.course th, .course td { padding: 12px 8px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.course th { font-family: var(--round); font-weight: 700; white-space: nowrap; }
.course td:last-child { font: 600 15px/1.6 var(--num); white-space: nowrap; text-align: right; }
.notice { display: grid; gap: 24px; padding: 32px 28px; border: 2px solid var(--ink); border-radius: var(--radius); }
.notice img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; }
@media (min-width: 960px) { .notice { grid-template-columns: 2fr 1fr; gap: 40px; align-items: center; padding: 40px; } }

/* ---- first visit */
.flow-wrap { display: grid; gap: 40px; }
.flow { list-style: none; counter-reset: flow; }
.flow li { counter-increment: flow; position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding-bottom: 28px; }
.flow li::before {
	content: counter(flow);
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--ink);
	color: var(--accent);
	font: 600 18px/1 var(--num);
}
.flow li:not(:last-child)::after { content: ""; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: var(--rule); }
.flow h3 { margin: 8px 0 6px; }
.flow-photos { display: grid; gap: 16px; align-content: start; }
.flow-photos img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 960px) { .flow-wrap { grid-template-columns: 7fr 5fr; gap: 64px; } .flow-photos { position: sticky; top: calc(var(--header-h) + 24px); } }
.price { width: 100%; font-variant-numeric: tabular-nums; }
.price th, .price td { padding: 14px 8px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; font-weight: 400; }
.price td { font: 600 15px/1.6 var(--num); text-align: right; white-space: nowrap; }
.price tr:first-child th, .price tr:first-child td { border-top: 1px solid var(--rule); }
.price__note { margin-top: 16px; font-size: 14px; color: var(--ink-2); }
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
	display: grid;
	grid-template-columns: 28px 1fr 20px;
	gap: 12px;
	align-items: center;
	padding: 20px 4px;
	font-family: var(--round);
	font-weight: 700;
	font-size: 17px;
	list-style: none;
	cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font: 600 18px/1 var(--num); color: var(--ink); }
.faq summary::after {
	content: "";
	width: 14px;
	height: 14px;
	background: linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat;
	transition: transform .2s;
}
.faq details[open] summary::after { background: linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat; }
.faq__a { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 0 4px 24px; }
.faq__a::before { content: "A"; font: 600 18px/1.6 var(--num); color: var(--ink-2); }

/* ---- access */
.map { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius); background: var(--panel); }
.night { margin-top: 48px; padding: 28px; border: 2px solid var(--ink); border-radius: var(--radius); }
.night h3 { margin-bottom: 8px; }

/* ---- contact */
.tel-box { padding: 32px 28px; border-radius: var(--radius); background: var(--panel); text-align: center; }
.tel-box .call__tel { justify-content: center; }
.form { display: grid; gap: 24px; margin-top: 32px; }
.form__row { display: grid; gap: 24px; }
@media (min-width: 600px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; align-content: start; }
.field > label, .field legend { font-family: var(--round); font-weight: 700; padding: 0; }
.field__req { margin-left: 8px; font: 700 12px/1 var(--sans); color: var(--ink-2); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
	width: 100%;
	min-height: 52px;
	padding: 12px 14px;
	border: 1px solid var(--ink);
	border-radius: 10px;
	background: #fff;
	color: var(--ink);
	font: inherit;
	letter-spacing: .02em;
}
.field textarea { min-height: 180px; resize: vertical; }
.field fieldset { border: 0; margin: 0; padding: 0; }
.field__error { margin: 0; font-size: 14px; font-weight: 700; }
.field__error:not(:empty)::before { content: "※ "; }
[aria-invalid="true"] { border-width: 2px !important; }
.check { display: flex; align-items: center; gap: 10px; }
.check input { width: 22px; height: 22px; accent-color: var(--ink); }
.form__submit { justify-self: start; min-width: 240px; }
.done { padding: 40px 28px; border: 2px solid var(--ink); border-radius: var(--radius); margin-top: 32px; }
.done h2 { margin-bottom: 12px; }
.done h2:focus { outline: none; }

/* ---- news */
.post__date { display: block; margin-top: 4px; font: 600 15px/1.5 var(--num); color: var(--ink-2); }
.post__title { margin: 8px 0 40px; font-size: clamp(24px, 3.2vw, 34px); }
.post__body { padding-bottom: 32px; border-bottom: 1px solid var(--rule); }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--ink); border-radius: 999px; text-decoration: none; font: 600 15px/1 var(--num); }
.pagination .page-numbers.current { background: var(--ink); color: #fff; }
.pagination .page-numbers.dots { border: 0; }

/* ---- 404 */
.lost { padding-block: 96px calc(32px + var(--hill-h) + 62px * var(--sil-k)); text-align: center; }
.lost h1 { margin-bottom: 16px; }
.lost .hero__actions { justify-content: center; margin-top: 32px; }

/* ---- reveal on scroll (only when the script runs and motion is allowed) */
.js-reveal .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease-out, transform .6s ease-out; }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
